2010-05-18 Claes Nästén <me@pekdon.net> * src/background.c (background_set_get_now): Improve accuracy of background set timing. 2010-05-16 Claes Nästén <me@pekdon.net> * src/x11.c (x11_is_xrandr_event): Proper detection of RANDR events re-setting the background image. 2010-05-15 Claes Nästén <me@pekdon.net> * src/cfg.c (cfg_load): Plug memory leak during configuration re-load. * src/wallpaper.c (render_image): Repeat the wallpaper drawing for each available head. * src/background_xml.c (background_xml_parse): Support parsing GNOME background.xml files for providing list of background images. 2010-02-12 Claes Nästén <me@pekdon.net> * main.c (sighandler_hup_int_usr1): Added handler for USR1 causing the next random image to be selected. * main.c (main_loop): Fixed bug in reload hadnling causing the configuration to be reloaded for each event after HUP signal. * main.c (find_wallpaper_random): Improve random selection by not using the same index twice in a row, also fixed bug not selecting the first element. 2010-02-12 Claes Nästén <me@pekdon.net> * cfg.c (get_bg_select_mode): Add config.mode option to the configuration that can have values NUMBER, NAME and RANDOM (not yet implemented). * x11.c (get_desktop_names): Implement reading of desktop names. * wallpaperd.c (find_wallpaper_by_name): Add setting of wallpaper mode based on the current workspace name. * wallpaper.c (wallpaper_set): Fix bug in caused by missing validation of loaded image data. * cfg.c (read_config): Read values from configuration right after parsing to avoid duplicate work. * main.c: Renamed wallpaperd.c to main.c to avoid confusion with header file scope. * main.c (find_wallpaper_random): Implement random image selection mode. * x11.c (x11_get_xrandr_event): Add querying of XRANDR events and reset wallpaper if screen setup changes. 2010-02-11 Claes Nästén <me@pekdon.net> * LICENSE: Added MIT license and Copyright notice to source files. * wallpaper.c (wallpaper_set_x11): set _XROOTPMAP_ID to allow semi-transparent applications use the currently set wallpaper. * wallpaperd.c (do_start): Replace currently running daemon when starting. * wallpaperd.c (do_stop): Implement stopping of running daemon. * wallpaperd.c (sighandler_int, sighandler_hup): Setup signal handlers for INT (stop) and HUP (reload). * wallpaperd.c (parse_options, usage): Fix bug in parse_options letting making stop fall through and add more details to help screen. * compat.c (daemon): Implement compatibility daemon call for compilation under OpenSolaris. 2010-02-10 Claes Nästén <me@pekdon.net> * configure.ac: add check for X11 lib and ensure it compiles on OpenBSD 4.6. * wallpaperd.c (do_start): Fork off to background when starting. * cfg.c (parse_config, validate_config): Be less specific about the required spacing, add comments support and validate configuration after parsing to ensure required options are set. * wallpaper.c (render_image): Implement center, zoom, fill and tiled modes. 2010-02-08 Claes Nästén <me@pekdon.net> * wallpaperd.c (main): Create wallpaperd project