1. 23 Jan, 2014 1 commit
  2. 05 Nov, 2013 1 commit
  3. 17 Jul, 2012 1 commit
  4. 18 Mar, 2011 1 commit
  5. 09 Mar, 2011 1 commit
    • Colin Walters's avatar
      gsm-process-helper: Give useful error data · c0840a76
      Colin Walters authored
      In order for engineers to be able to extract why a tool
      like gnome-session-check-accelerated failed, we should print
      something to ~/.xsession-errors.
      gsm_process_helper() only returned the exit code, unless the process
      was killed by a signal, in which case it returned -1.  However
      the only consumer of the code never checked the exit code, just
      So fix this by having gsm_process_helper return a normal
      gboolean/GError pair.  As part of this, clean up the code so that it
      also handles the WIFSIGNALED and WIFSTOPPED cases (See "man 2 waitpid").
      Also, the exit_child_simple() function was lame; we don't
      need to call g_spawn_close_pid() on Unix, so don't do it.
  6. 29 Nov, 2010 1 commit
    • Vincent Untz's avatar
      gsm: Make it possible for a .session file to define a fallback session · 8e6713f1
      Vincent Untz authored
      Two new keys are introduced: IsRunnableHelper and FallbackSession.
      The first one defines a helper that is run to know if the session can be
      used (only if the helper returns 0). The second defines the fallback
      session to use if the helper doesn't return 0.
      The helper cannot run for more than 500 ms.
      There is a test program to make sure that our helper process management
      works okay.