1. 13 Dec, 2007 1 commit
    • Matthias Clasen's avatar
      Implement GAppLaunchContext in gdk, providing startup notification. · 1397a9fd
      Matthias Clasen authored
      2007-12-12  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
              in gdk, providing startup notification.  (#503203)
      
              * gdk/x11/gdkapplaunchcontext-x11.c:
              * gdk/win32/gdkapplaunchcontext-win32.c:
              * gdk/quartz/gdkapplaunchcontext-quartz.c:
              * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
              parts. All but X11 are just empty stubs for now.
      
              * gdk/gdk.symbols:
              * gdk/gdkinternals.h:
              * gdk/Makefile.am:
              * gdk/x11/Makefile.am:
              * gdk/win32/Makefile.am:
              * gdk/quartz/Makefile.am:
              * gdk/directfb/Makefile.am: Necessary glue.
      
      
      
      svn path=/trunk/; revision=19165
      1397a9fd
  2. 12 Dec, 2007 1 commit
  3. 11 Dec, 2007 7 commits
  4. 10 Dec, 2007 8 commits
    • Stefan Kost's avatar
      Use gtk_widget_get_parent_window() instead of widget->parent->window. · 85133b2c
      Stefan Kost authored
      	* docs/tutorial/gtk-tut.sgml:
      	  Use gtk_widget_get_parent_window() instead of widget->parent->window.
      
      
      svn path=/trunk/; revision=19152
      85133b2c
    • Richard Hult's avatar
      Install backend specific header (bug #405915). Also add a getter for the · 8082fbc4
      Richard Hult authored
      2007-12-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/Makefile.am:
      	* gdk/quartz/gdkquartz.h:
      	* gdk/quartz/gdkwindow-quartz.c: Install backend specific
      	header (bug #405915). Also add a getter for the toplevel nswindow.
      
      svn path=/trunk/; revision=19151
      8082fbc4
    • Richard Hult's avatar
      Replace the autorelease pools used for each drawing context and in · d7f3ab05
      Richard Hult authored
      2007-12-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkdrawable-quartz.c:
      	(gdk_quartz_drawable_get_context),
      	(gdk_quartz_drawable_release_context):
      	* gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
      	(gdk_event_check), (gdk_event_dispatch), (poll_func):
      	* gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
      	used for each drawing context and in prepare, dispatch and poll
      	with one that exists across each main loop iteration. Fixes leaks
      	on leopard and protects against future leaks introduce when the
      	underlying system changes again (bug #492977).
      
      svn path=/trunk/; revision=19149
      d7f3ab05
    • Richard Hult's avatar
      Fix the check for no changes to position and size. · f4baa51f
      Richard Hult authored
      2007-12-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
      	Fix the check for no changes to position and size.
      
      svn path=/trunk/; revision=19147
      f4baa51f
    • Richard Hult's avatar
      Ignore drawRect calls with zero sized areas at (0, 0), patch from Paul · 7639a611
      Richard Hult authored
      2007-12-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
      	sized areas at (0, 0), patch from Paul Davis.
      
      svn path=/trunk/; revision=19145
      7639a611
    • Richard Hult's avatar
      Fix a bug where we could end up trying to handle the same event more than · fd8c2c01
      Richard Hult authored
      2007-12-10  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkprivate-quartz.h: 
      	* gdk/quartz/gdkeventloop-quartz.c:
      	(_gdk_quartz_event_loop_get_pending),
      	(_gdk_quartz_event_loop_check_pending),
      	(_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
      	(gdk_event_check), (gdk_event_dispatch):
      	* gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
      	(_gdk_events_queue): Fix a bug where we could end up trying to
      	handle the same event more than once. Based on patch from Paul
      	Davis.
      
      svn path=/trunk/; revision=19143
      fd8c2c01
    • Tor Lillqvist's avatar
      Include bin/gtk-builder-convert in the dev package. (#502850) · 9355ef9e
      Tor Lillqvist authored
      2007-12-10  Tor Lillqvist  <tml@novell.com>
      
      	* gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
      	package. (#502850)
      
      
      svn path=/trunk/; revision=19141
      9355ef9e
    • Matthias Clasen's avatar
      Another fix to avoid further fallout from the fix for bug 388321. · 2a702dcd
      Matthias Clasen authored
      2007-12-10  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
              to avoid further fallout from the fix for bug 388321.
      
      
      
      svn path=/trunk/; revision=19139
      2a702dcd
  5. 09 Dec, 2007 4 commits
  6. 08 Dec, 2007 1 commit
  7. 07 Dec, 2007 5 commits
  8. 06 Dec, 2007 7 commits
  9. 05 Dec, 2007 1 commit
    • 18:59:59  Tim Janik's avatar
      run tests in current dir after setting up the logging directory, so their · 9ba5da2f
      18:59:59 Tim Janik authored
      2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
      
              * gtk+/Makefile.decl: run tests in current dir after setting up the
              logging directory, so their results get properly merged into the
              resulting test log.
      
              * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
              tests to loop over registered Gdk/Gtk+ types.
      
              * gtk+/tests/objecttests.c: new test program, implements automated
              property tests. several properties are blacklisted because they
              seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
              can be used to test blacklisted properties and see which proprty failed.
      
      
      
      svn path=/trunk/; revision=19115
      9ba5da2f
  10. 04 Dec, 2007 2 commits
  11. 03 Dec, 2007 3 commits
    • Richard Hult's avatar
      Don't crash when dragging from a source that doesn't support uri lists · f411b93c
      Richard Hult authored
      2007-12-03  Richard Hult  <richard@imendio.com>
      
      	* gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
      	Don't crash when dragging from a source that doesn't support uri
      	lists (bug #499868, Paul Davis).
      
      svn path=/trunk/; revision=19102
      f411b93c
    • Richard Hult's avatar
      Don't crash when a parent relative bg pixmap is set, and no parent has a · 4a1478d6
      Richard Hult authored
      2007-12-03  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(gdk_window_impl_quartz_begin_paint_region): Don't crash when a
      	parent relative bg pixmap is set, and no parent has a bg
      	pixmap. Fixes bug #500804.
      
      svn path=/trunk/; revision=19100
      4a1478d6
    • Matthias Clasen's avatar
      Two optimizations for icon cache lookups. · f9e4618b
      Matthias Clasen authored
      2007-12-03  Matthias Clasen  <mclasen@redhat.com>
      
              Two optimizations for icon cache lookups.
      
              * gtk/gtkiconcache.[hc]:
              * gtk/gtkicontheme.c: Remember the directory index for
              subdirectories, instead of running over the directory list
              again and again.
      
              * gtk/gtkiconcache.c (find_image_offset): Remember the last
              chain and try it first; this helps with the the usage patterns
              in gtkicontheme.c, where the same icon is queried for a lot
              of subdirectories.
      
      
      svn path=/trunk/; revision=19099
      f9e4618b