1. 26 Dec, 2008 1 commit
  2. 13 Dec, 2008 3 commits
  3. 09 Dec, 2008 1 commit
  4. 08 Dec, 2008 2 commits
  5. 30 Nov, 2008 3 commits
    • Christian Dywan's avatar
      Bug 559622 – GdkDevice test segfaults · d494aa72
      Christian Dywan authored
      2008-11-30  Christian Dywan  <christian@imendio.com>
      
      	Bug 559622 – GdkDevice test segfaults
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
      	* gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
      	Free and reset device in dispose. Patch by Michael Natterer and myself.
      
      svn path=/trunk/; revision=21834
      d494aa72
    • Christian Dywan's avatar
      Bug 554076 – eventually release g_new-ed supported_atoms · e0ce0916
      Christian Dywan authored
      2008-11-30  Christian Dywan  <christian@imendio.com>
      
      	Bug 554076 – eventually release g_new-ed supported_atoms
      
      	* gdk/x11/gdkevents-x11.c (cleanup_atoms),
      	(gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
              Patch by Caolan McNamara.
      
      svn path=/trunk/; revision=21833
      e0ce0916
    • Christian Dywan's avatar
      Bug 539263 – Deprecate gdk_window_get_toplevels · c8392add
      Christian Dywan authored
      2008-11-30  Christian Dywan  <christian@imendio.com>
      
      	Bug 539263 – Deprecate gdk_window_get_toplevels
      
      	* gdk/gdkwindow.c:
      	* gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels
      
      svn path=/trunk/; revision=21831
      c8392add
  6. 12 Nov, 2008 2 commits
    • Richard Hult's avatar
      Bug 550942 – [patch] Rework of gdkeventloop-quartz.c · b81b9094
      Richard Hult authored
      2008-11-12  Richard Hult  <richard@imendio.com>
      
      	Bug 550942 – [patch] Rework of gdkeventloop-quartz.c
      
      	* gdk/gdk.c:
      	* gdk/gdkinternals.h: Add eventloop debug facility.
      	* gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
      	mainloop integration, patch from Owen Taylor. See bug #550942 for
      	the details.
      
      svn path=/trunk/; revision=21783
      b81b9094
    • Richard Hult's avatar
      Bug 558586 – handling of keyboard under darwin (quartz) · 2c3590b4
      Richard Hult authored
      2008-11-12  Richard Hult  <richard@imendio.com>
      
      	Bug 558586 – handling of keyboard under darwin (quartz)
      
      	* gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
      	new API when building on 64-bit, since there are still old non-xml
      	layouts used out there we don't want to break them. (For 64-bit
      	those layouts doesn't work so we don't have a choice there.)
      
      svn path=/trunk/; revision=21782
      2c3590b4
  7. 06 Nov, 2008 1 commit
    • Richard Hult's avatar
      Bug 558586 – handling of keyboard under darwin (quartz) · a4088461
      Richard Hult authored
      2008-11-06  Richard Hult  <richard@imendio.com>
      
      	Bug 558586 – handling of keyboard under darwin (quartz)
      
      	* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
      	Arnaud Charlet to replace use of deprecated keyboard layout API
      	with the new TIS API available in 10.5. The old code is still used
      	when building for 10.4.
      
      svn path=/trunk/; revision=21763
      a4088461
  8. 05 Nov, 2008 2 commits
    • Richard Hult's avatar
      Revert (at least for now) the alt/cmd switching since it breaks the · 31357d3c
      Richard Hult authored
      2008-11-05  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c:
      	(get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
      	(at least for now) the alt/cmd switching since it breaks the
      	"alt-gr" functionality of alt which makes it impossible to input
      	lots of characters.
      
      svn path=/trunk/; revision=21761
      31357d3c
    • Richard Hult's avatar
      Set the fill color outside the loop. · a641e8fb
      Richard Hult authored
      2008-11-05  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(gdk_window_impl_quartz_begin_paint_region): Set the fill color
      	outside the loop.
      
      svn path=/trunk/; revision=21759
      a641e8fb
  9. 03 Nov, 2008 1 commit
    • Tor Lillqvist's avatar
      Bug 557212 - Problem with which window gains focus and is visible · 74aeac9e
      Tor Lillqvist authored
      2008-11-04  Tor Lillqvist  <tml@novell.com>
      
      	Bug 557212 - Problem with which window gains focus and is visible
      
      	* gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
      	Only do the restacking for the active window of the
      	application. Seems to fix the problem.
      
      	(gdk_event_translate): Only call ensure_stacking_on_activate_app()
      	when the application is being activated, not deactivated.
      
      
      svn path=/trunk/; revision=21756
      74aeac9e
  10. 01 Nov, 2008 1 commit
    • Tor Lillqvist's avatar
      Bug 558278 - Crash when calling a callback set by · c2129d07
      Tor Lillqvist authored
      2008-11-01  Tor Lillqvist  <tml@novell.com>
      
      	Bug 558278 - Crash when calling a callback set by
      	gdk_add_client_message_filter()
      
      	* gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
      	apply_filters() so that it is clear that this function is for
      	GdkEventFilters only.
      
      	(print_event): Print more information for GDK_CLIENT_EVENT events.
      
      	(gdk_event_translate): When handling client filters, don't use
      	apply_event_filters(). Use similar code as in the X11 backend,
      	although not exactly, as the parameter list and return value
      	semantics of gdk_event_translate() is different.
      
      
      svn path=/trunk/; revision=21748
      c2129d07
  11. 29 Oct, 2008 1 commit
  12. 28 Oct, 2008 1 commit
    • Michael Natterer's avatar
      fix small typo. · 1e28e51c
      Michael Natterer authored
      2008-10-28  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/keyname-table.h: fix small typo.
      
      
      svn path=/trunk/; revision=21724
      1e28e51c
  13. 27 Oct, 2008 2 commits
  14. 22 Oct, 2008 1 commit
  15. 21 Oct, 2008 3 commits
    • Michael Natterer's avatar
      gdk/gdkdraw.c gdk/gdkimage.c gdk/gdkscreen.c replace assertions for obj != · 6df89b0a
      Michael Natterer authored
      2008-10-21  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkdraw.c
      	* gdk/gdkimage.c
      	* gdk/gdkscreen.c
      	* gdk/gdkwindow.c: replace assertions for obj != NULL by
      	GDK_IS_OBJ(), remove redundant != NULL checks when there is
      	already a type check, add some g_return_if_fail() that were
      	missing entirely, fix some broken indentation and spacing.
      
      
      svn path=/trunk/; revision=21695
      6df89b0a
    • Tor Lillqvist's avatar
      Bug 557266 - Window Management Problem · c103cbec
      Tor Lillqvist authored
      2008-10-21  Tor Lillqvist  <tml@novell.com>
      
      	Bug 557266 - Window Management Problem
      
      	Also reported in mail to gtk-list, and of course it has been well
      	known in general that window state management is messy and buggy
      	in various ways in gdk/win32.
      
      	* gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
      	handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
      	the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
      	must call SetWindowPos() on the window using HWND_TOPMOST
      	instead. The description for WS_EX_TOPMOST in the documentation
      	for CreateWindowEx() even implies that if you read it carefully.
      
      
      svn path=/trunk/; revision=21694
      c103cbec
    • Michael Natterer's avatar
      reorder functions to be in standard order, add prototypes and namespace to · def00e88
      Michael Natterer authored
      2008-10-21  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkapplaunchcontext.c: reorder functions to be in standard
      	order, add prototypes and namespace to static functions, add
      	g_return_if_fail()s which were missing all over the place.
      
      
      svn path=/trunk/; revision=21692
      def00e88
  16. 17 Oct, 2008 1 commit
    • Tor Lillqvist's avatar
      On WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging · a7dd7474
      Tor Lillqvist authored
      2008-10-18  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
      	WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
      	output without setting it first.
      
      2008-10-18  Tor Lillqvist  <tml@novell.com>
      
      	Bug 556578 - GIMP windows stay on top of other windows
      
      	* gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
      	(ensure_stacking_on_window_pos_changing)
      	(ensure_stacking_on_activate_app): Ignore unmapped windows in the
      	loops where we look for the lowest "transient-type" window.
      
      	(gdk_event_translate): Don't call
      	ensure_stacking_on_window_pos_changing() or
      	ensure_stacking_on_activate_app() for unmapped windows.
      
      
      svn path=/trunk/; revision=21676
      a7dd7474
  17. 15 Oct, 2008 1 commit
  18. 10 Oct, 2008 1 commit
    • Richard Hult's avatar
      Add empty stub to fix linking. · 4dbea21c
      Richard Hult authored
      2008-10-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
      	Add empty stub to fix linking.
      
      svn path=/trunk/; revision=21629
      4dbea21c
  19. 09 Oct, 2008 1 commit
    • Richard Hult's avatar
      Bug 550342 – Splash screens have a caption · db0ad1ff
      Richard Hult authored
      2008-10-09  Richard Hult  <richard@imendio.com>
      
      	Bug 550342 – Splash screens have a caption
      
      	* gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
      	(gdk_window_set_decorations): Patch from Marianne Gagnon to make
      	splash windows borderless.
      
      svn path=/trunk/; revision=21617
      db0ad1ff
  20. 05 Oct, 2008 1 commit
    • Tor Lillqvist's avatar
      Bug 132501 - Make utility window translate to tool window in win32 · 55d7d50e
      Tor Lillqvist authored
      2008-10-04  Tor Lillqvist  <tml@novell.com>
      
      	Bug 132501 - Make utility window translate to tool window in win32
      
      	Implement the utility window type hint. Such windows are kept on
      	top of other windows. Makes GIMP's toolbox and dock windows behave
      	more like in GNOME under metacity. Apply the same logic also to
      	windows marked with the dialog window type hint, and windows that
      	are transient for some other window. I'll call such windows
      	"transient-type" below.
      
      	* gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
      	variables.
      
      	(ensure_stacking_on_unminimize)
      	(ensure_stacking_on_window_pos_changing)
      	(ensure_stacking_on_activate_app): New functions to implement the
      	desired stacking order. Make sure that a window that is not
      	transient-type stays below any transient-type windows of the
      	application. When activating a non-transient-type window make sure
      	it rises as high as possible.
      
      	(gdk_event_translate): Call above functions on
      	WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
      	unminimizing. Improve debugging printout.
      
      	* gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
      	Handle utility windows like toolbar windows.
      
      	(gdk_window_new_internal) (update_style_bits): Give utility
      	windows the WS_EX_TOOLWINDOW extended style.
      
      	(gdk_window_set_title): If debugging "misc" or "events", make the
      	handle of top-level windows show up in their title bars. Very
      	useful when looking at debugging output.
      
      	(gdk_window_set_keep_above) (gdk_window_set_keep_below)
      	(gdk_window_set_modal_hint) (gdk_window_set_skip_taskbar_hint)
      	(gdk_window_set_skip_pager_hint): Add and improve debugging
      	printout.
      
      	(gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
      
      2008-10-04  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
      	(_gdk_win32_window_pos_bits_to_string): New debugging printout
      	functions. Decode the WS_EX_* and SWP_* bits.
      
      	* gdk/win32/gdkprivate-win32.h: Declare them. Define
      	GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
      	"misc" or "events".
      
      
      svn path=/trunk/; revision=21587
      55d7d50e
  21. 01 Oct, 2008 2 commits
    • Matthias Clasen's avatar
      remove debug spew · d6350143
      Matthias Clasen authored
      svn path=/trunk/; revision=21561
      d6350143
    • Tor Lillqvist's avatar
      Implement trivially on Windows. Not sure if something more complex is · 13996512
      Tor Lillqvist authored
      2008-10-01  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
      	Implement trivially on Windows. Not sure if something more complex
      	is actually needed, more specifically whether the function needs
      	to differentiate between "Caps Lock" and "Shift Lock" semantics?
      
      
      svn path=/trunk/; revision=21558
      13996512
  22. 29 Sep, 2008 2 commits
    • Matthias Clasen's avatar
      Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. · 859aaf90
      Matthias Clasen authored
      2008-09-29  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
      
              * gdk/gdk.symbols:
              * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
              a gdk_keymap_get_caps_lock_state function.
      
              * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
              state-changed when caps lock lockedness changes.
      
              * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
              changes in the XkbSelectEventDetails call.
      
      
      svn path=/trunk/; revision=21545
      859aaf90
    • Emmanuele Bassi's avatar
      Correctly chain up the finalize implementation. · 2b23dc99
      Emmanuele Bassi authored
      2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
      
      	* gdk/x11/gdkinput.c:
      	(gdk_device_class_init), (gdk_device_finalize): Correctly chain
      	up the finalize implementation.
      
      svn path=/trunk/; revision=21542
      2b23dc99
  23. 27 Sep, 2008 2 commits
  24. 26 Sep, 2008 1 commit
    • Cody Russell's avatar
      Bug 553917 – Typo in gdkwindow-win32.c · 7e8ebe06
      Cody Russell authored
      2008-09-26  Cody Russell  <bratsche@gnome.org>
      
              Bug 553917 – Typo in gdkwindow-win32.c
      
              * gdk/win32/gdkwindow-win32.c: Fixed a typo in 
              update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
      
              Reported by Richard Hult
      
      
      svn path=/trunk/; revision=21522
      7e8ebe06
  25. 23 Sep, 2008 1 commit
  26. 10 Sep, 2008 1 commit
  27. 07 Sep, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 550062 – Small update in gdk/gdkkeysyms.h · 6d64db66
      Matthias Clasen authored
      2008-09-06  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 550062 – Small update in gdk/gdkkeysyms.h
      
              * gdk/gdkkeysyms.h: Add dead_perspomeni and fix dead_dasia.
              Patch by Simos Xenitellis
      
      
      svn path=/trunk/; revision=21308
      6d64db66