1. 03 Dec, 2007 1 commit
  2. 22 Nov, 2007 1 commit
    • 15:39:40  Tim Janik's avatar
      call g_test_init() from gtk_test_init(). · 2dc08ada
      15:39:40 Tim Janik authored
      2007-11-22 15:39:40  Tim Janik  <timj@imendio.com>
      
              * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
      
              * gtk/tests/testing.c: use g_test_add_func() to register tests and use
      	g_test_run() to run the tests to integrate with the testing framework.
      
              * gtk/tests/Makefile.am: removed exemplary testing rules.
      
              * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
              * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
              * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
              * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
              * docs/reference/Makefile.am, docs/tools/Makefile.am:
              * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
              * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
              * demos/gtk-demo/Makefile.am, demos/Makefile.am:
              * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
              * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
              * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
              * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
              * modules/engines/ms-windows/Theme/Makefile.am:
              * modules/engines/ms-windows/Makefile.am:
              * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
              * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
              * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
              * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
              * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
              * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
      	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
      
      
      
      svn path=/trunk/; revision=19033
      2dc08ada
  3. 21 Nov, 2007 1 commit
  4. 13 Nov, 2007 1 commit
    • Sven Herzberg's avatar
      Reviewed by Richard: · 50f41211
      Sven Herzberg authored
      2007-11-12  Sven Herzberg  <herzi@imendio.com>
      
      	Reviewed by Richard:
      
      	* gdk/quartz/gdkquartz.h: include <gdk/gdkprivate.h> with angle
      	brackets and not with quotation marks
      
      
      svn path=/trunk/; revision=18987
      50f41211
  5. 04 Nov, 2007 1 commit
  6. 03 Nov, 2007 2 commits
  7. 01 Nov, 2007 2 commits
    • Richard Hult's avatar
      Redo the fix for bug #492117, by adding a getter for the private drag · 5cb67473
      Richard Hult authored
      2007-11-01  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzWindow.c:
      	* gdk/quartz/GdkQuartzWindow.h:
      	* gdk/quartz/gdkdnd-quartz.c:
      	* gdk/quartz/gdkquartz.h:
      	* gtk/gtkdnd-quartz.c: Redo the fix for bug #492117, by adding a
      	getter for the private drag context info so we don't need to
      	expose so much in the public quartz header file.
      
      svn path=/trunk/; revision=18959
      5cb67473
    • Richard Hult's avatar
      Fix build, bug #492117. · c6c14a3a
      Richard Hult authored
      2007-11-01  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzWindow.h: Fix build, bug #492117.
      
      svn path=/trunk/; revision=18958
      c6c14a3a
  8. 31 Oct, 2007 3 commits
    • Richard Hult's avatar
      Implement manual resize and move. · 568228de
      Richard Hult authored
      2007-10-31  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzWindow.c:
      	* gdk/quartz/GdkQuartzWindow.h:
      	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_begin_resize_drag),
      	(gdk_window_begin_move_drag): Implement manual resize and move.
      
      svn path=/trunk/; revision=18955
      568228de
    • Richard Hult's avatar
      Setup autorelease pool, plugs occasional leak on leopard. · 75aabd41
      Richard Hult authored
      2007-10-31  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(gdk_window_impl_quartz_process_updates): Setup autorelease pool,
      	plugs occasional leak on leopard.
      
      svn path=/trunk/; revision=18954
      75aabd41
    • Richard Hult's avatar
      Fix build warning (trackingRect should be 0, not nil). · 89230024
      Richard Hult authored
      2007-10-31  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzView.c: Fix build warning (trackingRect should be
      	0, not nil).
      
      svn path=/trunk/; revision=18953
      89230024
  9. 24 Oct, 2007 1 commit
    • Richard Hult's avatar
      Use an autorelease pool. · 1907d27d
      Richard Hult authored
      2007-10-24  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c: (update_toplevel_order): Use an
      	autorelease pool.
      
      svn path=/trunk/; revision=18946
      1907d27d
  10. 23 Oct, 2007 1 commit
    • Richard Hult's avatar
      Maintain a list for the stacking order of windows. Implement lower and · c42c7be0
      Richard Hult authored
      2007-10-23  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(gdk_window_raise, gdk_window_lower, gdk_window_new,
      	_gdk_windowing_window_destroy): Maintain a list for the stacking
      	order of windows. Implement lower and raise for child windows. The
      	list for toplevels is created on demand, and cleared when a window
      	gets or resigns main status and when new windows are created.
      	(find_child_window_helper): Use the sorted list to go through
      	windows from top to bottom. Take any titlebar in consideration for
      	toplevels, to stop events from sometimes punching through (bugs
      	#473813 and #489370).
      
      svn path=/trunk/; revision=18940
      c42c7be0
  11. 08 Oct, 2007 3 commits
  12. 02 Oct, 2007 1 commit
    • Richard Hult's avatar
      Don't do anything while in fullscreen mode. (gdk_window_set_decorations): · 7d66affd
      Richard Hult authored
      2007-10-02  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_move),
      	(gdk_window_resize): Don't do anything while in fullscreen mode.
      	(gdk_window_set_decorations): Update the size of the window after
      	showing/hiding the title bar so the size of the content area
      	doesn't change.
      	(gdk_window_get_decorations): NSBorderlessWindowMask is 0, so
      	don't try to check it as a bit being set.
      	(gdk_window_fullscreen), (gdk_window_unfullscreen): Implement.
      
      svn path=/trunk/; revision=18875
      7d66affd
  13. 06 Sep, 2007 1 commit
  14. 30 Aug, 2007 3 commits
  15. 31 Jul, 2007 1 commit
  16. 18 Jul, 2007 1 commit
    • Richard Hult's avatar
      Ref the cursor in the cached case. · 032b0aab
      Richard Hult authored
      2007-07-18  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
      	the cursor in the cached case.
      
      svn path=/trunk/; revision=18490
      032b0aab
  17. 14 Jul, 2007 1 commit
    • Richard Hult's avatar
      Plug leak. · eb52c4f1
      Richard Hult authored
      2007-07-14  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c:
      	(_gdk_quartz_events_update_cursor): Plug leak.
      
      svn path=/trunk/; revision=18468
      eb52c4f1
  18. 13 Jul, 2007 2 commits
    • Richard Hult's avatar
      Move from here... ...to here. (_gdk_windowing_window_destroy): Update the · ed82448b
      Richard Hult authored
      2007-07-13  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkprivate-quartz.h:
      	* gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
      	from here...
      	* gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
      	...to here.
      	(_gdk_windowing_window_destroy): Update the mouse window if the
      	destroyed window is an ancestor of the current one, not only if
      	they are the same.
      	(gdk_window_hide): Update the mouse window here too.
      
      svn path=/trunk/; revision=18467
      ed82448b
    • Richard Hult's avatar
      Add stubs. · 7f66d205
      Richard Hult authored
      2007-07-13  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
      	(gdk_colors_free): Add stubs.
      
      svn path=/trunk/; revision=18466
      7f66d205
  19. 10 Jul, 2007 1 commit
    • Richard Hult's avatar
      Add hack to workaround the broken tracking rect implementation in quartz, · 2048ec59
      Richard Hult authored
      2007-07-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
      	(show_window_internal), (gdk_window_show), (gdk_window_hide): Add
      	hack to workaround the broken tracking rect implementation in
      	quartz, that doesn't seem to produce events if the window shows up
      	under the mouse.
      
      svn path=/trunk/; revision=18440
      2048ec59
  20. 07 Jul, 2007 1 commit
    • Richard Hult's avatar
      ]) ([GdkQuartzWindow -windowDidBecomeMain:]): Keep a stack of main windows · 8b9cbdb2
      Richard Hult authored
      2007-07-07  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:]) 
      	([GdkQuartzWindow -windowDidBecomeMain:]): 
      	* gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
      	(_gdk_quartz_window_did_become_main, gdk_window_hide)
      	(_gdk_windowing_window_destroy): Keep a stack of main windows and
      	select the most recent one when hiding/closing the current one.
      
      svn path=/trunk/; revision=18396
      8b9cbdb2
  21. 06 Jul, 2007 2 commits
    • Richard Hult's avatar
      Fix (de)miniaturizing transient windows, by (un)setting the parent before · 5a4ed10f
      Richard Hult authored
      2007-07-06  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkprivate-quartz.h:
      	* gdk/quartz/gdkwindow-quartz.c:
      	* gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient
      	windows, by (un)setting the parent before and after miniaturizing.
      
      svn path=/trunk/; revision=18388
      5a4ed10f
    • Richard Hult's avatar
      Add stub. · 9ba84faa
      Richard Hult authored
      2007-07-06  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add
      	stub.
      
      svn path=/trunk/; revision=18387
      9ba84faa
  22. 03 Jul, 2007 2 commits
  23. 30 Jun, 2007 6 commits
    • Richard Hult's avatar
      Continue the event handling cleanup: · 460833b2
      Richard Hult authored
      2007-06-30  Richard Hult  <richard@imendio.com>
      
      	Continue the event handling cleanup:
      
      	* gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
      	Don't do anything if the old and new windows are the same,
      	simplifies the callers.
      	(find_mouse_window_for_ns_event): Always return a window (root
      	instead of NULL). Remove unneccessary check for the current mouse
      	window being NULL, that was a workaround for a now fixed
      	bug. Convert to root coordinates if we don't find a window.
      	(synthesize_crossing_events_for_ns_event): Simplify and add
      	comment.
      
      svn path=/trunk/; revision=18316
      460833b2
    • Richard Hult's avatar
      Simplify (get the origin directly from the window). · ee283b05
      Richard Hult authored
      2007-06-30  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c:
      	(synthesize_crossing_events_for_ns_event): Simplify (get the
      	origin directly from the window).
      
      svn path=/trunk/; revision=18315
      ee283b05
    • Richard Hult's avatar
      No need to special case the root window now that it has the right size. · a598c633
      Richard Hult authored
      2007-06-30  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c: (create_crossing_event),
      	(synthesize_crossing_events), (find_mouse_window_for_ns_event),
      	(synthesize_crossing_events_for_ns_event): No need to special case
      	the root window now that it has the right size.
      
      svn path=/trunk/; revision=18314
      a598c633
    • Richard Hult's avatar
      Improve comments in those files. Add a debugging helper to print out · 95f61d98
      Richard Hult authored
      2007-06-30  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	* gdk/quartz/gdkevents-quartz.c: Improve comments in those
      	files. Add a debugging helper to print out information about a
      	window.
      
      svn path=/trunk/; revision=18313
      95f61d98
    • Richard Hult's avatar
      Make this work properly for the root window. · d793d416
      Richard Hult authored
      2007-06-30  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_origin): Make
      	this work properly for the root window.
      
      svn path=/trunk/; revision=18311
      d793d416
    • Richard Hult's avatar
      Improve the tracking rect updating: - No need to override setFrame. - Use · 8fd51a22
      Richard Hult authored
      2007-06-30  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
      	- No need to override setFrame.
      	- Use our own size instead of the bounds from for the view as it's
      	not always updated before the tracking rect.
      	- Only reset the tracking rect if the new window is nil).
      	
      	* gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content
      	view when the window size changes.
      
      svn path=/trunk/; revision=18309
      8fd51a22
  24. 25 Jun, 2007 1 commit