==== 0.0.18 ==== 2005-11-03 William Jon McCann * NEWS: Update for 0.0.18 release 2005-11-03 William Jon McCann * configure.ac: Add xinerama and xext into SAVER_LIBS instead of X_EXTRA_LIBS. Should fix part of #320501. 2005-11-03 William Jon McCann * src/gs-manager.c (gs_manager_activate): Fade in two seconds instead of three. * src/gs-lock-plug.c (switch_user_response) (get_user_display_label, user_displays_changed_cb) (populate_model, compare_users, filter_out_users, setup_treeview) (create_page_one, create_page_two): Add a field to the user list model to be used as the user visible markup for the list. Rename the other columns to distinguish them. Don't make the user list heading text big. Also display the username in the user list. Based on patch from Luca Ferretti. 2005-11-03 William Jon McCann * configure.ac: Solaris requires libresolv for daemon(). 2005-11-02 William Jon McCann * configure.ac: Require gobject for gnome-screensaver-command. Add librt for sigtimedwait to AUTH_LIBS if necessary. * src/Makefile.am: Add SAVER_LIBS to dialog. Based on patch from Damien Carbery Fixes part of #320501. 2005-10-28 William Jon McCann * src/gs-watcher-x11.c (gs_watcher_init): Turn debugging off. 2005-10-28 William Jon McCann * src/gs-monitor.c (_gs_monitor_update_from_prefs): Switch order of watcher operations. * src/gs-manager.c (show_windows, gs_manager_activate): Add back a stub for not doing the fade to black. * src/gs-watcher-x11.c (notice_events_inner): Make sure kids is initialized to NULL. Print debug message. (notice_events_timer, start_notice_events_timer): Use a structure to pass information to the timeout callback so that we can pass the debug flag into the notice_events functions. Write the skeleton code for when we actually convert this to be an actual timeout callback. (_gs_watcher_notice_activity, _gs_watcher_notice_window_created): Abstract the handling of activity. (gs_watcher_xevent): New function to handle xevents. (xevent_filter): Use an event filter instead of snooping on the X11 socket. (gs_watcher_reset): Add an internal active state. (notice_events_inner, notice_events, notice_events_timer) (stop_notice_events, start_notice_events_timer) (stop_idle_watcher): Add a method to stop noticing events on all windows. (gs_watcher_get_active): Add public API to get active state. (start_pointer_poll, _gs_watcher_pointer_position_free) (_gs_watcher_set_pointer_position, stop_pointer_poll) (start_idle_watcher): Rework how pointer polling is done. (gs_watcher_set_active): Warn if trying to set active when already active (or inactive) (gs_watcher_init): Initialize active state. Move some stuff here from _new(). (gs_watcher_finalize): Invalidate active state. Free pointer poll data. (_gs_watcher_pointer_position_read) (_gs_watcher_pointer_position_compare) (_gs_watcher_check_pointer_position, check_pointer_timer): New mouse polling method. (gs_watcher_new): Removed stuff. Don't activate the idle watcher at creation. All this rework should fix problems with leaking X resources. 2005-10-28 William Jon McCann * src/gs-job.c (find_info_for_id, gs_job_get_theme_info_list): Unref the root directory. (add_known_engine_locations_to_path): Only add the the known locations to the path once or else we leak like hell. (get_themes_tree): Make the gmenu-tree a static global so that we don't have to recreate it with every job. This is more efficient and safer in case the tree leaks say, FAM fds. Also strip out all the logic for rescanning dirs. (gs_job_lookup_theme_info, gs_job_get_theme_info_list): Use get_themes_tree. (gs_job_init): Don't add the known locations to the path here. Add them the one type we instantiate a gmenu-tree. (gs_job_finalize): Removed unreffing of gmenu-tree. 2005-10-28 William Jon McCann * src/gs-window-x11.c (spawn_on_window): * src/gs-job.c (spawn_on_widget): Check for command parsing errors. 2005-10-27 William Jon McCann * src/gs-prefs.c (key_error_and_free, gs_prefs_load_from_gconf) (invalid_type_warning, key_changed_cb): Do error checking on key types just to be safe. 2005-10-27 William Jon McCann * src/gnome-screensaver-preferences.c (KEY_LOCK): Fix the name of the lock_enabled key. * src/gs-prefs.c (_gs_prefs_set_timeout) (_gs_prefs_set_lock_timeout, _gs_prefs_set_cycle_timeout) (_gs_prefs_set_mode, _gs_prefs_set_themes) (_gs_prefs_set_lock_enabled, _gs_prefs_set_dpms_enabled) (_gs_prefs_set_dpms_standby_timeout) (_gs_prefs_set_dpms_suspend_timeout) (_gs_prefs_set_dpms_off_timeout, _gs_prefs_set_logout_enabled) (_gs_prefs_set_logout_command, _gs_prefs_set_logout_timeout) (_gs_prefs_set_user_switch_enabled, gs_prefs_load_from_gconf) (key_changed_cb): Decouple changing settings. Fix up some of the bounds checking and add reasonable upper bounds. 2005-10-27 William Jon McCann * src/gs-listener-dbus.c (send_dbus_message) (gs_listener_send_signal_active_changed) (gs_listener_send_signal_throttle_enabled_changed) (gs_listener_dbus_init, reinit_dbus) (listener_dbus_filter_function, gs_listener_acquire) (gs_listener_init, gs_listener_finalize): Invalidate the bus connection if it breaks. Make a futile attempt to reconnect or at least make a lot of noise. Make sure connection is available before trying to send signals over it. Unref the connection in finalize. 2005-10-26 William Jon McCann * src/test-passwd.c (privileged_initialization): * src/gs-watcher-x11.c: * src/gs-grab-x11.c (gs_grab_get_keyboard_and_mouse): * src/gnome-screensaver-dialog.c: Don't refer to xscreensaver in comments. 2005-10-26 William Jon McCann * src/gs-window-x11.[ch] (emit_deactivated_idle, command_watch) (gs_window_request_unlock, gs_window_class_init): * src/gs-monitor.c (manager_deactivated_cb) (listener_active_changed_cb, gs_monitor_init): * src/gs-manager.[ch] (gs_manager_class_init) (window_deactivated_idle, window_deactivated_cb) (gs_manager_create_window, gs_manager_deactivate) (gs_manager_set_active): Let's stick with English words. How embarassing. Thank goodness no one noticed. 2005-10-25 William Jon McCann * src/gs-listener-dbus.c: * src/gs-lock-plug.c: * src/gs-monitor.c: * src/gs-power-x11.c: Fix more potential warnings. The Intel compiler doesn't like to see a semi-colon after G_DEFINE_TYPE. 2005-10-25 William Jon McCann * src/gs-watcher-x11.c (check_pointer_timer, reset_timers): * src/gs-window-x11.c: * src/gs-prefs.c (gs_prefs_set_property, gs_prefs_get_property): * src/gs-power-x11.c (gs_power_set_property) (gs_power_get_property): * src/gs-manager.c: * src/gs-lock-plug.c (get_face_image, create_page_one): * src/gs-listener-dbus.c (listener_property_set_bool) (listener_add_inhibitor, listener_remove_inhibitor) (listener_get_property, listener_get_idle_time): * src/gs-job.c: * src/gnome-screensaver-preferences.c (theme_installer_run): * src/gnome-screensaver-command.c: * src/file-transfer-dialog.c (file_transfer_dialog_update_num_files): * savers/slideshow.c (get_pixbuf_from_location): Fix Intel compiler warnings. Seems it doesn't like unused code. Patch from Kjartan Maraas 2005-10-24 William Jon McCann * configure.ac: Post release version bump.