2008-10-22 Thomas Thurman * NEWS: 2.25.2 release. 2008-10-22 Thomas Thurman * NEWS: 2.25.2 release. 2008-10-22 Thomas Thurman * NEWS: 2.25.2 release. 2008-10-22 Joe Marcus Clarke * src/core/main.c (meta_finalize, sigterm_handler): new functions * src/core/main.c (main): add sigterm_handler in case we receive a SIGTERM. Closes #553980. 2008-10-22 Matthew Martin * src/core/window.c (meta_window_set_demands_attention): minimised windows are necessarily obscured. Closes #528927. 2008-10-22 Thomas Thurman Slight transformation of the x-macros used in keybindings to make them clearer: write handler names out in full because the old suffix system was confusing to people skim-reading, and switched the order of the last two parameters so more would generally fit on a screen. * src/core/keybindings.c, src/core/schema-bindings.c src/core/prefs.c: sympathy changes * src/core/window-bindings.h, src/core/screen-bindings.h: transformation as above 2008-10-21 Christian Persch * src/Makefile.am: fix build when schemas are not installed. Closes #557335. 2008-10-21 Tomas Frydrych * src/core/screen-bindings.h: Fix off-by-one error. * src/core/window-bindings.h: Fix off-by-one error. Closes #557201. 2008-10-18 Thomas Thurman During a discussion with Rodney Dawes about making life easier for the translators, he pointed out that the short and long forms of almost all the keybindings say much the same thing in different words. I believe this is an unconscionable burden to place on translators, and have therefore merged the short and long descriptions into the short description. The long is now a general explanation of the format, plus possibly a notice about reversibility. Closes #469361, and should solve the l10n issue previously mentioned. * src/core/keybindings.c: reflect changes in *-bindings.h * src/core/schema-bindings.c: reflect changes in *-bindings.h * src/core/prefs.c: reflect changes in *-bindings.h * src/core/window-bindings.h: Add flags field, always the same currently, so that it's the same as screen-bindings.h. Also, lose ONLY_BOUND_BY_DEFAULT, since we already had a rather more elegant way to perform the same effect. And merge the long and short descriptions. * src/core/screen-bindings.h (, item): Merge the long and short descriptions. 2008-10-17 Murray Cumming * configure.in: Call GNOME_DOC_INIT() so we can use the gnome-doc-utils variables in our Makefile.am: * doc/Makefile.am: * doc/creating_themes/Makefile.am * doc/creating_themes/C/creating_metacity_themes.xml: Added this new DocBook document, converted from the HTML here http://blogs.gnome.org/metacity/2008/05/30/themes/ This will be installed for yelp and can be translated and hosted on library.gnome.org. 2008-10-15 Thomas Thurman Since Patrick Niklaus's checkin of 2008-08-14 dealt with windows with no icons not using fallback icons, we don't need fallback icons. * src/ui/theme.h: remove fallback icons from struct. * src/core/iconcache.c (meta_read_icons): don't look for fallbacks. * src/*/ui.[ch] (meta_ui_get_fallback_icons): removed * src/ui/theme-parser.c (typedef, parse_toplevel_element): don't parse fallback specifications. 2008-10-13 Thomas Thurman * po/POTFILES.in: add screen-bindings.h 2008-10-13 Thomas Thurman * po/POTFILES.in: raw schemas is now .in.in * po/LINGUAS: add Latin 2008-10-12 Thomas Thurman Make the bindings in src/core/*-bindings.h generate GConf schemas too. Note that there's an i18n issue (documented in schema-bindings.c) which will be fixed next checkin. * src/core/schema-bindings.c: major fixup to make it ready for use as part of the actual build process. * src/Makefile.am: added magic to make it call schema-bindings after it builds it. * src/core/window-bindings.h: added comments; also, window menu was listed variously as alt-Space and alt-Print; it should have been alt-Space. * src/metacity.schemas.in.in: renamed from s/\.in$//, sentinel added for the generated bindings, warning at the top now untrue, and removed. 2008-10-12 Thomas Thurman Fix annoying bug where alt-tab and friends would jump backwards a space on initial movement. * src/core/screen-bindings.h: although reversed bindings are necessarily reversible, don't set both bits in the constant, or when we test for them we'll get confused. 2008-10-12 Thomas Thurman An attempt to make life a little easier for our beloved translators; this has the same behaviour as before, but removes over thirty translation strings. * src/core/session.c (start_element_handler): all "attribute not found on element" strings are identical * src/ui/theme-parser.c (locate_attributes): allow attribute names to be preceded with "!" (in the code) to show they're required. (parse_aspect_ratio, parse_distance, parse_toplevel_element, parse_style_element, parse_gradient_element, static, parse_border, parse_style_set_element, parse_draw_op_element): use the new "!" prefix for locate_attributes(), or in some cases just the identical constant, for generating this error. * src/ui/theme.c (check_state, meta_theme_validate): add translator comments * src/ui/resizepopup.c (update_size_window): add translator comments 2008-10-06 William Lachance Pass modified mouse button events down to panel windows instead of dealing with them ourselves. Closes #554428. * src/core/display.c (prefs_changed_callback): don't grab mouse buttons on panels * src/core/window.c (meta_window_new_with_attrs): ditto 2008-10-05 Thomas Thurman Second half of the switch to using x-macros for keybindings so that we don't have lots of places with the same information which must stay in the same order. This time it's screen bindings. * src/core/screen-bindings.h: New file, containing screen bindings. * src/core/schema-bindings.c: added ability to output screen bindings. * src/core/window-bindings.h: tiny tweak to comment * src/core/keybindings.c: generate function prototypes using s-b.h; several handlers modified to use ints rather than ints cast into pointers, or renamed. * src/include/prefs.h: generate names of bindings using s-b.h; generate screen_handlers using s-b.h; arguments to bindings are ints and not ints cast to pointers; several handler functions renamed to consistent names. * src/core/prefs.c (meta_prefs_set_num_workspaces, init_bindings): generate screen_handlers using s-b.h; generate screen_string_bindings using s-b.h (and add check for null bindings in init_bindings to enable this simply). 2008-10-05 Thomas Thurman * tools/ppa-magic.py: experimental tool for Launchpad upload 2008-10-05 Thomas Thurman * metacity.doap: Havoc is an author; Thomas has an email address; add a ton of release information going back to the early days, although not right to the beginning. 2008-09-26 Thomas Thurman * autogen.sh: not all versions of /bin/sh can handle this script, so specify one. Also update the error message because we don't use CVS these days. 2008-09-20 Thomas Thurman * po/POTFILES.in: fix name of window-bindings.h 2008-09-20 Thomas Thurman * po/POTFILES.in: added new files and re-sorted 2008-09-12 Vincent Untz Install desktop files in both .../share/applications and .../share/gnome/wm-properties. Copied in from the 2.23.x branch. Closes #549479. * src/metacity-wm.desktop.in: new file * src/.cvsignore: include the above * src/Makefile.am: install the above 2008-09-06 Thomas Thurman An attempt to keep all information about window bindings in the same place. Screen bindings to come. * src/core/window-bindings.h: new file, list of all window bindings * src/include/prefs.h: drop all the existing window-binding macros * src/core/schema-bindings.c (): output all the schema blocks that would appear in metacity.schema for these window bindings. This ought to become part of the build process, and hopefully will soon. When this works it will also close #469361. * src/core/keybindings.c: generate handle_* prototypes using x-macros; populate window_handlers using x-macros; rename several functions to have consistent names; do_handle_move_to_workspace(), handle_move_to_workspace_flip(), and handle_move_to_workspace() all merged into handle_move_to_workspace. * src/core/prefs.c: generate window_bindings and window_string_bindings using x-macros; (meta_prefs_set_compositing_manager) fix unrelated problem with use of GConf functions when GConf was disabled. * src/core/core.c (meta_core_get_menu_accelerator): binding names given as literals since this is the only place in the code they now appear 2008-09-03 Thomas Thurman * src/metacity.desktop.in: removed invalid "Window Manager" group at request of Matthias Clasen. 2008-09-02 Thomas Thurman Desktop file moved, according to policy change. Closes #549479. * src/metacity.desktop.in: Don't display the desktop file * src/Makefile.am: Desktop file goes in apps directory 2008-09-01 Thomas Thurman * configure.in: Post-release bump to 2.25.2.