1. 28 Feb, 2003 1 commit
    • Havoc Pennington's avatar
      add more debug spew about conditional build stuff (main): panic to · fa3de817
      Havoc Pennington authored
      2003-02-27  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (main): add more debug spew about conditional
      	build stuff
      	(main): panic to "Simple" theme
      
      	* src/window.c, src/window-props.c: move WM_NORMAL_HINTS and
      	WM_PROTOCOLS to new property system; don't queue move resize on
      	updating WM_PROTOCOLS; move WM_HINTS to new property system;
      	reload icon in an idle handler.
      
      	Changes made on plane from FOSDEM, syncing from laptop.
      fa3de817
  2. 05 Feb, 2003 1 commit
  3. 27 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      include config.h · 04c9c3e0
      Havoc Pennington authored
      2002-10-26  Havoc Pennington  <hp@pobox.com>
      
      	* src/iconcache.c: include config.h
      
      	* src/group.c: include config.h
      
      	* src/frame.c: include config.h
      
      	* src/core.c: include config.h so it doesn't crash all over the
      	place due to #ifdef HAVE_STARTUP_NOTIFICATION
      
      	* src/util.c (meta_print_backtrace): export from this file
      
      	* src/main.c (log_handler): print backtrace here
      04c9c3e0
  4. 21 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      Optimizations for managing new windows (do not all take effect if · c6b475b2
      Havoc Pennington authored
      2002-10-21  Havoc Pennington  <hp@redhat.com>
      
      	Optimizations for managing new windows (do not all take effect if
      	METACITY_DEBUG=1). Bug #96404
      
      	* src/keybindings.c (meta_change_keygrab): use error trap nesting
      	and conditionalize on meta_is_verbose() to avoid a ton of XSync
      
      	* src/display.c (meta_change_button_grab): ditto
      
      	Throughout: move to new error trap setup to save on XSync calls,
      	new setup is:
      
      	* src/errors.c (meta_error_trap_push_with_return): new function,
      	an error trap that needs to care about return value and thus
      	sync even if an outer trap still exists
      	(meta_error_trap_pop_with_return): new function
      	(meta_error_trap_pop): add "last_request_was_roundtrip"
      	argument allowing us to avoid XSync() if we just did
      	a GetProperty or whatever.
      
      	* src/util.c (meta_warning): flush the warning file descriptor
      
      	* src/Makefile.am (INCLUDES): define G_LOG_DOMAIN
      c6b475b2
  5. 27 Sep, 2002 1 commit
    • Havoc Pennington's avatar
      Try to handle Solaris Xinerama, all coded blind, someone on Solaris will · 74b3bca9
      Havoc Pennington authored
      2002-09-27  Havoc Pennington  <hp@redhat.com>
      
              Try to handle Solaris Xinerama, all coded blind, someone
      	on Solaris will need to debug the typos.
      
      	* src/display.c: updates for Solaris Xinerama
      
      	* src/screen.c: updates for Solaris Xinerama
      
      	* configure.in: make Xinerama check more complicated to catch
      	Solaris Xinerama
      74b3bca9
  6. 24 Sep, 2002 2 commits
    • Havoc Pennington's avatar
      support --version, #92796 patch from Christian Neumair · d027c27c
      Havoc Pennington authored
      2002-09-24  Havoc Pennington  <hp@redhat.com>
      
      	* src/main.c (main): support --version, #92796 patch from
      	Christian Neumair
      
      	* autogen.sh: change gettext test to be happy with
      	glib-gettextize, #81425
      
      	* src/menu.c: change mnemonics to match bug #78999
      
      	* src/theme.c (meta_theme_validate): consolidate some
      	nearly-identical themes for ease of translation, #70962
      d027c27c
    • Havoc Pennington's avatar
      re-enable the log handler, maybe it will break something, I don't remember · 94e75ba5
      Havoc Pennington authored
      2002-09-23  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (main): re-enable the log handler, maybe it will
      	break something, I don't remember why I turned it off.
      
      	* src/display.c: s/_NET_SHOW_DESKTOP/_NET_SHOWING_DESKTOP/ which
      	is what's in the spec
      94e75ba5
  7. 10 Jul, 2002 1 commit
    • Havoc Pennington's avatar
      couple of updates · eb42281f
      Havoc Pennington authored
      2002-07-10  Havoc Pennington  <hp@pobox.com>
      
      	* README: couple of updates
      
      	* src/main.c (usage): add --replace to usage, reported by Matthias
      	Clasen
      eb42281f
  8. 06 Jul, 2002 1 commit
    • Havoc Pennington's avatar
      put _NET_DESKTOP_NAMES in the array of atom names, so desktop names might · 8c3437fd
      Havoc Pennington authored
      2002-07-06  Havoc Pennington  <hp@pobox.com>
      
      	* src/display.c (meta_display_open): put _NET_DESKTOP_NAMES in the
      	array of atom names, so desktop names might work and we don't read
      	uninitialized memory.
      
      	* src/main.c (main): add VERSION/timestamp verbose message.
      
      	* src/keybindings.c: implement cycle_windows cycle_panels
      
      	* src/metacity.schemas.in: add the cycle_windows cycle_panels
      	keybindings
      
      	* src/prefs.h (META_KEYBINDING_FOCUS_PREVIOUS): replace
      	FOCUS_PREVIOUS key binding with CYCLE_WINDOWS and CYCLE_PANELS
      	(not good names really, but I don't have ideas).
      
      	* src/common.h: add a grab op for alt+esc window cycling
      8c3437fd
  9. 16 Jun, 2002 1 commit
  10. 08 Jun, 2002 2 commits
    • Havoc Pennington's avatar
      don't die on bad atom name · 31b21155
      Havoc Pennington authored
      2002-06-08  Havoc Pennington  <hp@pobox.com>
      
      	* src/xprops.c (meta_prop_get_utf8_string): don't die on bad atom
      	name
      
      	* src/display.c (meta_display_close): don't unmanage windows here,
      	do it in screen_free and then closing the display unmanages
      	windows as a side effect of unmanaging the screen
      	(meta_display_unmanage_screen): new function
      	(process_selection_clear, process_selection_request): handle
      	selection stuff
      	(meta_spew_event): don't crash on client message containing
      	invalid atom
      	(meta_spew_event): don't crash on property notify with invalid
      	atom
      
      	* src/main.c (main): add --replace option to replace existing
      	window manager.
      
      	* src/screen.c: implement holding manager selection.
      
      	* src/display.c (meta_display_open): add new selection-related
      	atoms.
      31b21155
    • Havoc Pennington's avatar
      call meta_session_shutdown when exiting cleanly · be44a1d9
      Havoc Pennington authored
      2002-06-08  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (main): call meta_session_shutdown when exiting
      	cleanly
      
      	* src/session.c (meta_session_shutdown): function to change use to
      	RestartIfRunning
      	(meta_session_init): change normal restart hint to
      	RestartImmediately
      be44a1d9
  11. 31 May, 2002 1 commit
    • Havoc Pennington's avatar
      verbose-log on startup whether we were compiled with various extensions · 3a745537
      Havoc Pennington authored
      2002-05-30  Havoc Pennington  <hp@redhat.com>
      
      	* src/main.c (main): verbose-log on startup whether we were
      	compiled with various extensions
      
      	* src/display.c (meta_display_queue_retheme_all_windows): reapply
      	shape mask when changing themes, sucks to do it here though, makes
      	theme changing slower. Needs fixing.
      
      	* src/theme-parser.c (parse_toplevel_element): parse rounded
      	corner options to frame_geometry
      
      	* src/frames.c (meta_frames_apply_shapes): apply rounded corners
      	if requested by the theme
      
      	* configure.in (HAVE_SHAPE): check for shape extension
      3a745537
  12. 12 May, 2002 1 commit
  13. 11 May, 2002 2 commits
  14. 22 Apr, 2002 1 commit
    • Havoc Pennington's avatar
      call setlocale ourselves because due to a GLib bug that sticks us in ASCII · 5fd4fb96
      Havoc Pennington authored
      2002-04-22  Havoc Pennington  <hp@redhat.com>
      
      	* src/main.c (main): call setlocale ourselves because due to a
      	GLib bug that sticks us in ASCII if you call g_print or anything
      	prior to setlocale, and print a warning if we don't set the locale
      	successfully. #79280
      
      	* src/workspace.c (meta_workspace_get_work_area): be more verbose
      	about how the work area was computed, to help find bugs here.
      
      	* src/main.c (main): put locale and codeset in the log file
      5fd4fb96
  15. 14 Mar, 2002 2 commits
  16. 06 Mar, 2002 1 commit
    • Havoc Pennington's avatar
      use hash_table_replace instead of g_hash_table_insert · 262e6fab
      Havoc Pennington authored
      2002-03-06  Havoc Pennington  <hp@redhat.com>
      
      	* src/frames.c (meta_frames_manage_window): use hash_table_replace
      	instead of g_hash_table_insert
      
      	* src/main.c (main): only enable verbose/debug if you set
      	METACITY_VERBOSE/METACITY_DEBUG
      
      	* src/util.c (ensure_logfile): only use a log file if
      	METACITY_USE_LOGFILE is set
      
      	* src/display.c (meta_display_for_x_display): add warning if
      	MetaDisplay isn't found
      
      	* src/window.c (meta_window_free): add an assertion that we
      	successfully cleared the grab window
      262e6fab
  17. 05 Mar, 2002 1 commit
  18. 16 Feb, 2002 1 commit
  19. 07 Feb, 2002 2 commits
    • Havoc Pennington's avatar
      redo window sizes/appearance when the theme changes · 84c3050a
      Havoc Pennington authored
      2002-02-06  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (prefs_changed_callback): redo window
      	sizes/appearance when the theme changes
      
      	* src/display.c (meta_display_retheme_all): new function
      
      	* src/theme-parser.c (locate_attributes): remove error handling
      	for MAX_ATTRS reached, add an assert instead, the way this code
      	ended up the attrs in the array depend on the code not the theme
      	file.
      84c3050a
    • Havoc Pennington's avatar
      disable custom log handler and fatal mask for now · 8ae714ee
      Havoc Pennington authored
      2002-02-06  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (main): disable custom log handler and fatal mask for
      	now
      
      	* src/theme.c (meta_draw_op_list_draw):
      	Add META_DRAW_CLIP
      
      	* src/main.c: load theme, monitor current theme setting
      
      	* src/prefs.c: add "current theme" setting
      
      	* src/stack.c (meta_stack_free): don't try to free
      	last_root_children_stacked if it doesn't exist
      
      	* src/themewidget.c: pluggable GtkMisc subclass to use
      	for menu icons
      
      	* src/screen.c (meta_screen_manage_all_windows): fix
      	signed/unsigned warning
      
      	* src/frames.c: port to theme system
      	(meta_frames_style_set): chain up
      
      	* theme-format.txt: new file
      
      	* configure.in: add more compiler warnings
      
      	* src/theme.c: add various stuff needed to get theme parser
      	working. Remove the "spacer" concept from FrameLayout object.
      	Add draw op that references a draw op list.
      
      	* configure.in: require GTK 1.3.13
      
      	* src/Makefile.am: add theme-parser.[hc], implement loading a
      	theme
      
      	* src/theme.c: add "draw title" and "draw window icon" operations
      	(meta_draw_op_draw): put object_width/object_height in expression
      	environment before computing x/y. Handle out-of-memory when
      	creating pixbufs. Assorted other cleanups.
      8ae714ee
  20. 28 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      move in here so util.c doesn't require display.[hc] · 8ddeb4f9
      Havoc Pennington authored
      2002-01-27  Havoc Pennington  <hp@pobox.com>
      
      	* src/display.c (meta_set_syncing): move in here so util.c doesn't
      	require display.[hc]
      
      	* src/theme.h, src/theme.c: implement coordinate expression
      	parser, write MetaShapeSpec declaration
      
      	* src/util.c (meta_exit): move in here so we can link
      	to util.c with a different main()
      
      	* src/theme.h: rename the MetaWindow* enums to MetaFrame*
      8ddeb4f9
  21. 10 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      update number of workspaces hint · 041b33c4
      Havoc Pennington authored
      2001-12-09  Havoc Pennington  <hp@pobox.com>
      
      	* src/workspace.c (meta_workspace_free): update number of
      	workspaces hint
      
      	* src/screen.c (update_num_workspaces): implement number of
      	workspaces setting
      
      	* src/window.c (meta_window_configure_request): honor configure
      	requests on windows of type NORMAL, but still be mean to those of
      	type DIALOG
      
      	* src/main.c (main): add more log domains to those we set a log
      	handler for, and only set warnings fatal in debug mode
      
      	* src/metacity.schemas: add number of workspaces setting
      041b33c4
  22. 09 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      move SM init a bit later in the process, and init prefs · 6981a819
      Havoc Pennington authored
      2001-12-09  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (main): move SM init a bit later in the process, and
      	init prefs
      
      	* src/session.c: fix no SM case (though I hardly know why I'm
      	bothering)
      
      	* src/main.c (main): call bindtextdomain
      
      	* src/util.h (_): actually call gettext
      
      	* configure.in: put in AM_GLIB_GNU_GETTEXT and gconf stuff
      
      	* src/prefs.c: Preferences - this marks the beginning of our doom.
      	None of them are actually implemented yet, but we monitor
      	some stuff from gconf.
      6981a819
  23. 15 Oct, 2001 1 commit
    • Havoc Pennington's avatar
      add a restart feature, for debugging · 1c1f4d7c
      Havoc Pennington authored
      2001-10-15  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (meta_restart): add a restart feature, for debugging
      
      	* src/tools/metacity-restart.c: little utility program to trigger
      	the restart
      1c1f4d7c
  24. 17 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      ref the returned icon, oops. · 582a80f5
      Havoc Pennington authored
      2001-09-17  Havoc Pennington  <hp@pobox.com>
      
      	* src/ui.c (meta_ui_get_default_mini_icon):
      	(meta_ui_get_default_window_icon): ref the returned icon, oops.
      
      	* src/main.c (main): get the GLib warning/error output into
      	the metacity logfile, set warnings to be always fatal
      
      	* configure.in: bump version to 2.3.13
      
      	* src/window.c (get_text_property): hrm, fix bug where we didn't
      	check errors on XGetTextProperty
      582a80f5
  25. 16 Sep, 2001 1 commit
  26. 01 Sep, 2001 1 commit
  27. 29 Jun, 2001 1 commit
    • rhp's avatar
      ... · ed2af7d2
      rhp authored
      ed2af7d2
  28. 22 Jun, 2001 1 commit
    • rhp's avatar
      ... · 043b048c
      rhp authored
      043b048c
  29. 21 Jun, 2001 1 commit
    • rhp's avatar
      ... · f845819c
      rhp authored
      f845819c
  30. 20 Jun, 2001 1 commit
    • rhp's avatar
      ... · ca69bef0
      rhp authored
      ca69bef0
  31. 18 Jun, 2001 1 commit
    • rhp's avatar
      ... · 5fd26a27
      rhp authored
      5fd26a27
  32. 17 Jun, 2001 1 commit
    • rhp's avatar
      ... · 59513231
      rhp authored
      59513231
  33. 12 Jun, 2001 1 commit
    • rhp's avatar
      ... · 29c0947f
      rhp authored
      29c0947f
  34. 11 Jun, 2001 1 commit
    • rhp's avatar
      ... · 99f53856
      rhp authored
      99f53856
  35. 03 Jun, 2001 1 commit
    • rhp's avatar
      ... · 11fde3a1
      rhp authored
      11fde3a1