Merge branch 't/gui_sched'
authorAndre Noll <maan@systemlinux.org>
Sun, 13 Jul 2014 14:20:56 +0000 (16:20 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 13 Jul 2014 14:23:29 +0000 (16:23 +0200)
Was cooking for two months, since 2014-05-11.

* t/gui_sched: (53 commits)
  gui: Always initialize theme.
  gui: Simplify color handling.
  gui: Dont catch SIGWINCH.
  gui: Call waitpid() from exec and status task.
  Doxify para_gui.
  gui: Speed up window refresh.
  gui: Rename cmd_task to exec_task.
  gui: Move static variables of cmd_post_select() into struct cmd_task.
  gui: Move some variables into struct status_task.
  gui: Switch to the standard paraslash scheduler.
  gui: Use cpp magic to define command handlers.
  gui: Execute stat command in status_post_select().
  gui: Rename COMMAND/EXTERNAL/GETCH mode.
  gui: Get rid of do_select()'s mode parameter and call it only once.
  gui: Reorder functions.
  gui: Move signal handling code out of do_select().
  gui: Move input related code out of do_select().
  gui: Move external command handling out of do_select().
  gui: Introduce status_post_select().
  gui: Improve config reload.
  ...

1  2 
NEWS
error.h

diff --combined NEWS
index f6fca5662938ecdaaac58b21056760f25712e7d3,7cf5dca2f14925e45f906ca3890783375fb10e52..c613d672415945cdb99ec24509b832d833fe7f04
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -5,15 -5,7 +5,16 @@@ NEW
  0.5.3 (to be released) "symbolic synchronization"
  -------------------------------------------------
  
++      - para_gui has been converted to use the paraslash scheduler.
        - Various alsa-related fixes, mostly for the raspberry pi.
 +      - The test suite has been extended to include sanity checks
 +        for the generated man pages.
 +      - ao_writer fixes. This writer was in a quite bad shape. Many
 +        serious bugs have been fixed.
 +      - new audiod command: version.
 +      - Minor improvements to the bitstream API.
 +      - The cpsi command now prints a meaningful error message if
 +        none of the given patterns matched any audio file.
  
  ----------------------------------------
  0.5.2 (2014-04-11) "orthogonal interior"
diff --combined error.h
index dc9385a74e73784148c3ba79b999ffabb0139917,0f542a832cbe7cf07502ce4501749ffd72b71ba9..e91f49b4bdc1c0f37909d22bd71642798e145b63
+++ b/error.h
@@@ -16,10 -16,10 +16,9 @@@ DEFINE_ERRLIST_OBJECT_ENUM
  #define TIME_ERRORS
  #define CLOSE_ON_FORK_ERRORS
  #define DAEMON_ERRORS
- #define GUI_ERRORS
  #define GUI_THEME_ERRORS
  #define RINGBUFFER_ERRORS
  #define SCORE_ERRORS
 -#define RBTREE_ERRORS
  #define RECV_ERRORS
  #define IPC_ERRORS
  #define DCCP_SEND_ERRORS
@@@ -86,6 -86,8 +85,8 @@@ extern const char **para_errlist[]
        PARA_ERROR(FLACDEC_DECODER_INIT, "could not init stream decoder"), \
        PARA_ERROR(FLACDEC_EOF, "flacdec encountered end of file condition"), \
  
+ #define GUI_ERRORS \
+       PARA_ERROR(GUI_SIGCHLD, "received SIGCHLD"), \
  
  #define FLAC_AFH_ERRORS \
        PARA_ERROR(FLAC_CHAIN_ALLOC, "could not create metadata chain"), \
        PARA_ERROR(AO_PLAY, "ao_play() failed"), \
        PARA_ERROR(AO_BAD_SAMPLE_FORMAT, "ao: unsigned sample formats not supported"), \
        PARA_ERROR(AO_PTHREAD, "pthread error"), \
 +      PARA_ERROR(AO_EOF, "ao: end of file"), \
  
  
  #define COMPRESS_FILTER_ERRORS \