==== 2.15.3 ==== 2006-06-12 William Jon McCann * NEWS: Update for 2.15.3 release. 2006-06-12 William Jon McCann * src/gs-auth-helper.c: (gs_auth_verify_user): * src/gs-auth-pwent.c: (gs_auth_priv_init), (gs_auth_verify_user): Don't try to unlock screen with root's password. 2006-06-12 William Jon McCann * data/lock-dialog-default.glade: Use Password as default label for prompt since it is the most likely one. * savers/gste-slideshow.c: Reduce minimum fps to 3. 2006-06-09 William Jon McCann * savers/gste-slideshow.c: (start_fade), (update_display), (draw_iter), (gste_slideshow_real_show), (gste_slideshow_real_configure), (gste_slideshow_finalize): Don't use CAIRO_OPERATOR_OVER. Don't use alpha in buffer surface. Add fps computation. Disable fade below 5 fps. 2006-06-08 William Jon McCann * savers/gste-slideshow.c: (update_display), (set_colormap), (gste_slideshow_init): Use CAIRO_OPERATOR_OVER. Explicitly set the colormap. 2006-06-08 William Jon McCann * savers/gste-slideshow.c: (gste_slideshow_real_configure): Use a similar surface to the target as the buffer. Seems to improve performance. 2006-06-08 William Jon McCann * savers/floaters.c: (path_new), (screen_saver_floater_should_come_on_screen), (screen_saver_floater_get_position_from_time), (screen_saver_floater_update_state), (gamma_correct), (screen_saver_floater_do_draw), (screen_saver_new), (screen_saver_destroy_floaters), (screen_saver_update_state), (screen_saver_do_update_state), (screen_saver_do_update_stats), (do_print_screen_saver_stats), (main): * savers/gs-theme-window.c: (gs_theme_window_real_realize), (gs_theme_window_new): * savers/gs-theme-window.h: * savers/gste-popsquares.c: (draw_iter): * savers/gste-slideshow.c: (get_exif_orientation), (pixbuf_copy_rotate_90), (pixbuf_copy_mirror), (add_files_to_list), (load_threadfunc): * savers/popsquares.c: (main): * savers/slideshow.c: (main): Eliminate trailing whitespace. 2006-06-08 William Jon McCann * data/gnome-screensaver.schemas.in: Remove the try_auth_first key. * data/lock-dialog-default.glade: Rename the auth_password_* widgets to auth_prompt_* * src/gnome-screensaver-dialog.c: (quit_response_ok), (quit_response_cancel), (request_response), (auth_message_handler), (reset_idle_cb), (do_auth_check), (response_cb), (auth_check_idle), (popup_dialog_idle): * src/gs-lock-plug.c: (gs_lock_plug_style_set), (set_status_text), (set_dialog_sensitive), (gs_lock_plug_response), (gs_lock_plug_get_text), (shutdown_loop), (run_unmap_handler), (run_response_handler), (run_delete_handler), (run_destroy_handler), (gs_lock_plug_run), (gs_lock_plug_show), (gs_lock_plug_hide), (gs_lock_plug_size_request), (gs_lock_plug_class_init), (gs_lock_plug_show_prompt), (gs_lock_plug_show_message), (create_page_one), (load_theme), (gs_lock_plug_init), (gs_lock_plug_finalize): * src/gs-lock-plug.h: Don't do authentication from within the lock plug. Allow the authentication to drive the GUI. 2006-06-08 William Jon McCann * src/Makefile.am: * src/gnome-screensaver-dialog.c: (print_id), (popup_dialog_idle), (privileged_initialization), (lock_initialization), (main): * src/gs-auth-pam.c: (pam_conversation): * src/gs-debug.c: (gs_debug_enabled), (gs_debug_shutdown), (_gs_profile_log): * src/gs-debug.h: * src/gs-lock-plug.c: (response_cancel_idle_cb), (response_ok_idle_cb), (monitor_progress), (request_password), (auth_message_handler), (do_initial_auth_check), (gs_lock_plug_show), (auth_check_idle_cb), (populate_model), (setup_treeview), (create_page_one_buttons), (create_page_two_buttons), (create_page_one), (create_page_two), (gs_lock_plug_init): * src/gs-window-x11.c: (popup_dialog_idle): Share the profiling code. Add a verbose option to gnome-screensaver-dialog. Do the initial auth check at start. Interrupt the PAM stack if there is no response. The dialog can now be profiled like so: strace -ttt -f -o /tmp/logfile.strace /usr/libexec/gnome-screensaver-dialog --verbose python plot-timeline.py -o prettygraph.png /tmp/logfile.strace 2006-06-08 William Jon McCann * configure.ac: Turn off docbook generation by default. Patch from Richard Hughes Fixes #344207 2006-06-07 William Jon McCann * src/gnome-screensaver-command.c: (main): * src/gnome-screensaver-dialog.c: (main): * src/gnome-screensaver-preferences.c: (preview_set_theme), (populate_model), (separator_func), (theme_installer_run), (fullscreen_preview_previous_cb), (fullscreen_preview_next_cb), (fullscreen_preview_cancelled_cb), (fullscreen_preview_start_cb), (check_is_root_user), (main): * src/gnome-screensaver.c: (main): * src/gs-auth-helper.c: * src/gs-auth-pam.c: (auth_message_handler), (pam_conversation), (gs_auth_verify_user): * src/gs-auth-pwent.c: (passwds_match): * src/gs-debug.c: (gs_debug_real): * src/gs-fade.c: (check_gamma_extension), (gamma_info_init): * src/gs-grab-x11.c: (gs_grab_move_mouse): * src/gs-job.c: (gs_job_died): * src/gs-listener-dbus.c: (do_introspect), (listener_dbus_filter_handle_methods), (gs_listener_message_handler), (listener_dbus_filter_function), (screensaver_is_running): * src/gs-lock-plug.c: (gs_lock_plug_close), (gs_lock_plug_class_init), (get_user_display_label), (populate_model), (separator_func), (expand_string): * src/gs-manager.c: (window_deactivated_cb): * src/gs-prefs.c: (key_changed_cb): * src/gs-watcher-x11.c: (disable_builtin_screensaver), (schedule_wakeup_event): * src/gs-window-x11.c: (gs_window_override_user_time), (gs_window_dialog_finish): * src/test-fade.c: (main): * src/test-passwd.c: (main): * src/test-watcher.c: (main): * src/test-window.c: (main): Eliminate trailing whitespace found using (setq-default show-trailing-whitespace t) in ~/.emacs. 2006-06-07 William Jon McCann * doc/.cvsignore: * doc/gnome-screensaver.html: Check in generated html documentation so it can be read from CVS. 2006-06-07 William Jon McCann * doc/dbus-interface.xml: Fix description. 2006-06-06 William Jon McCann * doc/dbus-interface.xml: * src/gnome-screensaver-command.c: (do_command): * src/gs-listener-dbus.c: (do_introspect), (listener_dbus_filter_handle_methods): Add introspection after learning how to do it from hal. Change setActive and others to use the DBUS naming convention. 2006-06-06 William Jon McCann * configure.ac: Add missing DOCDIR stuff. 2006-06-06 William Jon McCann * configure.ac: * doc/.cvsignore: * doc/DBUS-API.txt: * doc/Makefile.am: * doc/config.xsl: * doc/dbus-interface.xml: * doc/docbook.css: * doc/gnome-screensaver.xml.in: Convert API documentation to docbook. Patch from Richard Hughes. 2006-06-06 William Jon McCann * src/Makefile.am: Fix filenames. Fixes distcheck. 2006-06-06 William Jon McCann * savers/gste-slideshow.c (N_FADE_TICKS): Reduce the number of fade ticks. 2006-06-06 William Jon McCann * savers/gs-theme-engine.c: (_gs_theme_engine_profile_log): * savers/gs-theme-engine.h: * savers/gste-slideshow.c: (update_display): Add a couple more profile points. 2006-06-06 William Jon McCann * doc/DBUS-API.txt: Rename poke and add some more descriptions. * src/gnome-screensaver-command.c: (do_command): * src/gs-listener-dbus.c: (listener_dbus_filter_handle_methods), (gs_listener_class_init): * src/gs-listener-dbus.h: * src/gs-monitor.c: (listener_simulate_user_activity_cb), (disconnect_listener_signals), (connect_listener_signals): Rename Poke to SimulateUserActivity since that seems to be preferred from feedback on XDG list. How boring. 2006-06-06 William Jon McCann * src/gs-auth-pam.c: (set_pam_error), (gs_auth_verify_user): * src/gs-auth.h: Cover a few more error cases even though they don't ever seem to occur. 2006-06-05 William Jon McCann * src/Makefile.am: * src/gs-auth-pam.c: (pam_style_to_gs_style), (auth_message_handler), (pam_conversation), (set_pam_error), (gs_auth_verify_user): * src/gs-lock-plug.c: (auth_check_idle_cb): * src/test-passwd.c: (main): More auth tweaking. 2006-06-05 William Jon McCann * data/gnome-screensaver.schemas.in: * src/gs-lock-plug.c: (get_try_lock_first), (gs_lock_plug_show): Add a try_auth_first gconf key to enable trying authentication before a password has been entered. Fixes #338635. 2006-06-05 William Jon McCann * configure.ac: * data/lock-dialog-default.glade: * src/Makefile.am: * src/gnome-screensaver-dialog.c: (privileged_initialization), (lock_initialization): * src/gs-auth-helper.c: (gs_auth_error_quark), (gs_auth_set_verbose), (gs_auth_get_verbose), (ext_run), (gs_auth_verify_user), (gs_auth_init), (gs_auth_priv_init): * src/gs-auth-pam.c: (gs_auth_error_quark), (gs_auth_set_verbose), (gs_auth_get_verbose), (pam_conversation), (close_pam_handle), (create_pam_handle), (gs_auth_verify_user), (gs_auth_init), (gs_auth_priv_init): * src/gs-auth-pwent.c: (gs_auth_error_quark), (gs_auth_set_verbose), (gs_auth_get_verbose), (passwd_known), (get_encrypted_passwd), (gs_auth_priv_init), (gs_auth_init), (passwds_match), (gs_auth_verify_user): * src/gs-auth.h: * src/gs-lock-plug.c: (remove_auth_check_idle), (gs_lock_plug_response), (gs_lock_plug_show), (request_password), (auth_message_handler), (auth_check_idle_cb), (load_theme), (gs_lock_plug_finalize): * src/gs-lock-plug.h: * src/passwd-helper.c: * src/passwd-helper.h: * src/passwd-pam.c: * src/passwd-pam.h: * src/passwd-pwent.c: * src/passwd-pwent.h: * src/passwd.c: * src/passwd.h: Removed files. * src/test-passwd.c: (privileged_initialization), (lock_initialization), (request_password), (auth_message_handler), (main): Refactor the authentication process so it can drive the GUI better. No longer support authentication scheme fallbacks. 2006-06-01 William Jon McCann * src/gs-listener-dbus.c: (gs_listener_send_signal_active_changed): * src/gs-manager.c: (gs_manager_activate): Make activation wait for fade to complete. Fixes #343608 2006-06-01 William Jon McCann * src/gs-monitor.c (release_grab_timeout): Only release grabs if the manager isn't active. 2006-06-01 William Jon McCann * src/gs-grab-x11.c: (xorg_lock_smasher_set_active), (gs_grab_get_keyboard), (gs_grab_get_mouse), (gs_grab_keyboard_reset), (gs_grab_release_keyboard), (gs_grab_mouse_reset), (gs_grab_release_mouse), (gs_grab_move_mouse), (gs_grab_move_keyboard), (gs_grab_release), (gs_grab_grab_window), (gs_grab_grab_root), (gs_grab_grab_offscreen), (gs_grab_move_to_window), (gs_grab_class_init), (gs_grab_init), (gs_grab_finalize), (gs_grab_new): * src/gs-grab.h: Turn grab stuff into a singleton class. * src/gs-manager.c: (gs_manager_init), (gs_manager_finalize), (window_dialog_up_cb), (window_dialog_down_cb), (manager_maybe_grab_window), (window_grab_broken_cb), (gs_manager_activate), (gs_manager_deactivate): * src/test-window.c: (window_show_cb), (window_destroyed_cb), (main): Update for grab API. * src/gs-monitor.c: (release_grab_timeout), (watcher_idle_notice_cb), (gs_monitor_init), (gs_monitor_finalize): Try to do a grab before the idle notice fade-out. There are two reasons for this. First, this prevents the user from thinking that the screen is locked and typing a password which will go into an underlying window. Second, if the grab doesn't succeed then there is an excellent chance that locking will not succeed either - so we shouldn't fade at all. This prevents fade-outs while playing games. Also delay releasing the grab for a second to help even more with typing passwords. 2006-06-01 William Jon McCann * src/gs-manager.c: (gs_manager_get_lock_active): * src/gs-manager.h: Add get_lock_active to API. * src/gs-monitor.c: (listener_lock_cb): Set lock flag before activing screensaver to avoid problems when something reacts to the ActiveChanged signal. Patch from Rodrigo Moya 2006-05-31 William Jon McCann * configure.ac (themesdir): Fix typo. Patch from Paul Blazejowski Fixes #343497 2006-05-31 William Jon McCann * src/gs-manager.c (gs_manager_deactivate): Don't set throttle to FALSE when deactivating. 2006-05-31 William Jon McCann * src/gs-lock-plug.c: (row_activated_cb), (setup_treeview): Switch user on row activation. Fixes #343045 2006-05-30 William Jon McCann * savers/gste-slideshow.c: (start_fade), (update_display), (gste_slideshow_real_configure), (gste_slideshow_finalize): Use an image buffer to fix performance problem. Patch from L. David Baron Fixes #339090 2006-05-28 William Jon McCann * configure.ac: * data/gnome-screensaver-preferences.glade: * src/gnome-screensaver-preferences.c: (config_get_activate_delay), (check_is_root_user), (setup_for_root_user), (init_capplet): If the preferences dialog is run as root then disable the lock checkbox and print a warning. Fixes #343118. 2006-05-24 William Jon McCann * savers/gste-slideshow.c: (gste_slideshow_real_configure): Add profile message for configure events. 2006-05-24 William Jon McCann * savers/gs-theme-engine.[ch]: (_gs_theme_engine_profile_log): Add some profiling API. * savers/gste-slideshow.c: (push_load_image_func), (start_new_load), (start_fade), (finish_fade), (update_display), (process_new_pixbuf): Use profiling API. Can be used by: strace -ttt -f -o /tmp/logfile.strace ./slideshow python plot-timeline.py -o prettygraph.png /tmp/logfile.strace 2006-05-24 William Jon McCann * savers/gste-slideshow.c: Cache the result of gdk_cairo_set_source_pixbuf as a pattern to avoid calling it for each iteration of a fade. Fixes #339090 * savers/gste-slideshow.c (draw_iter): Make the fade effect linear by computing delta to use for alpha2. Patch from L. David Baron * savers/gste-slideshow.c: Fix conditionals to test for NULL explicitly. Add braces. 2006-05-18 William Jon McCann * src/gs-window-x11.c (gs_window_real_motion_notify_event): Increase minimum distance the mouse must move to detect the motion from 10 to 50 pixels. 2006-05-18 William Jon McCann * src/gs-window-x11.c (get_env_vars): Add RUNNING_UNDER_GDM to env var whitelist. Found in downstream Ubuntu patches. 2006-05-18 William Jon McCann * data/lock-dialog-default.glade: * src/gs-lock-plug.c: (expand_string), (expand_string_for_label), (create_page_one), (load_theme), (gs_lock_plug_init): Use tokens in the lock dialog theme glade file to be replaced with actual values. This allows one to format the label (including size) in the glade file. The replacement tokens are mostly compatible with the GDM ones. For now we support: %d DISPLAY %h hostname %m machine hardware name %n node name %r kernel release %R user's real name %s system name %U username The default lock dialog theme uses: auth_realname_label = "%R" auth_username_label = "%U on %h" Fixes #341408 2006-05-16 William Jon McCann * doc/DBUS-API.txt: Use session idle in examples. 2006-05-15 William Jon McCann * configure.ac: Post release version bump