1. 02 Feb, 2006 1 commit
  2. 26 Oct, 2005 1 commit
  3. 13 Sep, 2005 1 commit
  4. 11 Sep, 2005 1 commit
  5. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names before registering the type to avoid unnecessary copies. · 476e138d
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_type):
      	* gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type):
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_impl_x11_get_type):
      	* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_get_type):
      	* gdk/x11/gdkinput.c (gdk_device_get_type):
      	* gdk/x11/gdkimage-x11.c (gdk_image_get_type):
      	* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_type):
      	* gdk/x11/gdkdrawable-x11.c (_gdk_drawable_impl_x11_get_type):
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_context_get_type):
      	* gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type):
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_type):
      	* gdk/gdkwindow.c (gdk_window_object_get_type):
      	* gdk/gdkscreen.c (gdk_screen_get_type):
      	* gdk/gdkrectangle.c (gdk_rectangle_get_type):
      	* gdk/gdkpixmap.c (gdk_pixmap_get_type):
      	* gdk/gdkkeys.c (gdk_keymap_get_type):
      	* gdk/gdkfont.c (gdk_font_get_type):
      	* gdk/gdkevents.c (gdk_event_get_type):
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkdisplaymanager.c (gdk_display_manager_get_type):
      	* gdk/gdkdisplay.c (gdk_display_get_type):
      	* gdk/gdkcursor.c (gdk_cursor_get_type):
      	* gdk/gdkcolor.c (gdk_color_get_type): Intern type names before
      	registering the type to avoid unnecessary copies.
      476e138d
  6. 19 Aug, 2005 3 commits
  7. 22 Jun, 2005 1 commit
  8. 09 Jun, 2005 1 commit
  9. 16 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 2a2d769d
      Matthias Clasen authored
      2005-03-15  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gdk/gdk.symbols: Group symbols by header and source file.
      	* gdk/makegdkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegdkalias.pl -def
      	* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
      	file.
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
      	headers, include gdkaliasdef.c at the bottom.
      2a2d769d
  10. 01 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c · 6da29b43
      Matthias Clasen authored
      2005-03-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkkeyuni.c
      	* gdk/gdkpixbuf-drawable.c
      	* gdk/gdkrgb.c
      	* gdk/x11/gdkdnd-x11.c
      	* gdk/x11/gdkevents-x11.c
      	* gdk/x11/gdkproperty-x11.c
      	* gdk/x11/gdkvisual-x11.c
      	* gdk-pixbuf/gdk-pixbuf.c
      	* gtk/gtkaction.c
      	* gtk/gtkbindings.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkcombo.c
      	* gtk/gtkcontainer.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkgamma.c
      	* gtk/gtkiconview.c
      	* gtk/gtkinputdialog.c
      	* gtk/gtkitemfactory.c
      	* gtk/gtkmenu.c
      	* gtk/gtktextview.c
      	* gtk/gtktooltips.c
      	* gtk/gtktreedatalist.c
      	* gtk/gtkuimanager.c
      	* gtk/tree_minus.xpm
      	* gtk/tree_plus.xpm
      	* gtk/xdgmime/xdgmime.c
      	* gtk/xdgmime/xdgmime.h:
      	Move constant data to .rodata.
      6da29b43
  11. 17 Nov, 2004 1 commit
    • Owen Taylor's avatar
      Squash strict aliasing warnings. · f266788e
      Owen Taylor authored
      Tue Nov 16 19:26:30 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
              Squash strict aliasing warnings.
      f266788e
  12. 03 Nov, 2004 1 commit
  13. 28 Oct, 2004 1 commit
  14. 01 Sep, 2004 1 commit
    • Matthias Clasen's avatar
      Remove debug spew. · 6d5398cc
      Matthias Clasen authored
      Tue Aug 31 23:20:58 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
      6d5398cc
  15. 09 Aug, 2004 2 commits
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 0742ff3a
      Matthias Clasen authored
      Mon Aug  9 15:41:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gdk/Makefile.am: Add rules to generate gdk.def and
      	gdkalias.h from gdk.symbols, and make make check check
      	the abi with abicheck.sh.
      
      	* gdk/gdk.symbols: New file. Definition of the GDK ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gdk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgdk-x11.2.0.so against the symbols
      	found in gdk.symbols.
      
      	* gdk/makegdkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h
      0742ff3a
    • Morten Welinder's avatar
      Fix C99ism. · 2f7c4c1e
      Morten Welinder authored
      2004-08-09  Morten Welinder  <terra@gnome.org>
      
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
      2f7c4c1e
  16. 06 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Really fix the initialization of the target list. · 39469f8f
      Matthias Clasen authored
      2004-08-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really
      	fix the initialization of the target list.
      
      	Support XDND v5. (#10220, Owen Taylor)
      
      	* gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the
      	drop was successful in the GdkDragContextPrivateX11 struct.
      	(xdnd_finished_filter): Store the success status of the drop
      	for an XDND version 5 interaction. For other versions, always
      	assume the drop was successful.
      	(xdnd_check_dest): Return the protocol version.
      	(_gdk_drag_get_protocol_for_display): Return the protocol version.
      	(gdk_drag_find_window_for_screen): Store the used protocol version
      	in the GdkDragContext.
      	(xdnd_send_enter): Send the used protocol version from the context,
      	instead of hardwiring 3.
      	(xdnd_enter_filter): Accept protocol versions >= 3 and store the
      	used protocol version in the context.
      
      	* gdk/gdkdnd.h:
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function
      	to find out whether a drop was successful.
      39469f8f
  17. 17 Jul, 2004 1 commit
  18. 09 Jul, 2004 1 commit
  19. 08 Jul, 2004 1 commit
  20. 06 Mar, 2004 1 commit
  21. 08 Jul, 2003 1 commit
    • Owen Taylor's avatar
      Change _gdk_x11_send_xevent_async() to · 8500d945
      Owen Taylor authored
      Tue Jul  8 17:36:21 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkasync.[ch] gdk/gdkdnd-x11.c:
              Change _gdk_x11_send_xevent_async() to
              _gdk_x11_send_client_message_async() avoid using Xlib
              internals that are different on Solaris.
              (#116917, Morten Welinder)
      8500d945
  22. 05 Jul, 2003 3 commits
    • Owen Taylor's avatar
      Lookup all the atoms in the target list at once. · ba999da1
      Owen Taylor authored
      Sat Jul  5 09:55:38 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup
              all the atoms in the target list at once.
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
              Local drag short-circuit.
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the
              local case, poke the actions in directly instead of
              going through xdnd_set_actions.
      
              * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit
              the local case.
      
              * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't
              XSelectInput()/add a filter if the drag is local.
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection):
              Simplify handling of "XdndSelection".
      
              * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): Somehow,
              a WM_STATE => _NET_WM_STATE change hand been made here.
      
              * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free
              xatom_names, not atom_names.
      
              * tests/testdnd.c (target_drag_motion): Make the trashcan
              open again. (Got lost in deprecation cleanup.)
      ba999da1
    • Owen Taylor's avatar
      Function to get a range of information about all the children of a window · 58a7f9f7
      Owen Taylor authored
      Fri Jul  4 23:49:22 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkasync.[ch] (_gdk_x11_get_window_child_info):
              Function to get a range of information about all the
              children of a window in a single pass.
      
              * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse)
              gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Use
              _gdk_x11_get_window_child_info() to greatly reduce
              the number of roundtrips.
      58a7f9f7
    • Owen Taylor's avatar
      Add a function to XSendEvent() and call a calback on failure/success. · 60149b32
      Owen Taylor authored
      Fri Jul  4 22:57:18 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkasync.[ch] (_gdk_send_xevent_async): Add
              a function to XSendEvent() and call a calback on
              failure/success.
      
              * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Short-circuit
              messages to the same process, use _gdk_send_xevent_async().
      60149b32
  23. 09 Jun, 2003 1 commit
    • Owen Taylor's avatar
      Use application/x-rootwindow-drop for root window drops. (#108670, Alex · 85d8c337
      Owen Taylor authored
      Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>
      
              * tests/testdnd.c: Use application/x-rootwindow-drop for
              root window drops. (#108670, Alex Larsson)
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop):
              Accept either application/x-rootwin-drop (what GTK+ has always used)
              or application/x-rootwindow-drop (what the XDND standard specifies).
      85d8c337
  24. 20 May, 2003 1 commit
    • Owen Taylor's avatar
      Comprehensively zero all unused parts of client messages (Mainly Motif DND · ef605368
      Owen Taylor authored
      Tue May 20 15:09:29 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively
              zero all unused parts of client messages (Mainly Motif DND
              and EWMH). Also, fix a couple places where we were putting
              contents into Motif DND messages that didn't belong.
              (#113361, EWMH problem reported by Lubos Lunak)
      
              * gtk/gtkselection.c (_gtk_selection_request): Handle the
              case where the property type for the multiple atoms is
              ATOM_PAIR by doing the conversions ourselve. This is
              needed for Xt inter-operation.
      ef605368
  25. 21 Apr, 2003 1 commit
  26. 08 Mar, 2003 1 commit
  27. 06 Mar, 2003 1 commit
    • Matthias Clasen's avatar
      Return gboolean, not gint. (#107664, Morten Welinder) · 285a25da
      Matthias Clasen authored
      2003-03-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint.
      	(#107664, Morten Welinder)
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin):
      	* gdk/x11/gdkfont-x11.c (gdk_font_equal):
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
      	Fix TRUE/1 and FALSE/0 confusion.  (#107664, Morten Welinder)
      
      	* io-gif.c (gif_read): Fix 0/FALSE confusion (#107664, Morten Welinder)
      285a25da
  28. 04 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Always look up and create the Motif drag window as a child of the root · 6d5f8224
      Owen Taylor authored
      Wed Dec  4 14:31:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c: Always look up and create the
              Motif drag window as a child of the root window of screen 0
              rather than the default screen. (#100362, Erwann Chenede)
      
              * gdk/x11/gdkdnd-x11.c (motif_read_initiator_info):
              Return FALSE, not GDK_FILTER_REMOVE on failure; this
              isn't a filter function.
      
              * gdk/x11/gdkselection-x11.c gtk/gtkselection.c: Add
              some g_return_if_fail() to catch selection == None more
              gracefully than an X error.
      6d5f8224
  29. 28 Nov, 2002 1 commit
  30. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml · b1165617
      Soeren Sandmann authored
      Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gdk/tmpl/dnd.sgml
      	docs/reference/gdk/tmpl/drawing.sgml
      	docs/reference/gdk/tmpl/gdk-unused.sgml
      	docs/reference/gdk/tmpl/gdkdisplay.sgml
      	docs/reference/gdk/tmpl/general.sgml
      	docs/reference/gdk/tmpl/input_devices.sgml
      	docs/reference/gdk/tmpl/selections.sgml
      	docs/reference/gtk/tmpl/gtkcellrenderer.sgml
      	docs/reference/gtk/tmpl/gtkcurve.sgml
      	docs/reference/gtk/tmpl/gtkdnd.sgml
      	docs/reference/gtk/tmpl/gtkitemfactory.sgml
      	docs/reference/gtk/tmpl/gtkmenu.sgml
      	docs/reference/gtk/tmpl/gtkoldeditable.sgml
      	docs/reference/gtk/tmpl/gtkoptionmenu.sgml
      	docs/reference/gtk/tmpl/gtkpreview.sgml
      	docs/reference/gtk/tmpl/gtkselection.sgml
      	docs/reference/gtk/tmpl/gtksocket.sgml
      	docs/reference/gtk/tmpl/gtkstyle.sgml
      	docs/reference/gtk/tmpl/gtktextbuffer.sgml
      	docs/reference/gtk/tmpl/gtktreemodel.sgml
      	docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
      	gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
      	gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
      	gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
      	gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
      	gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
      	gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
      	gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
      	gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
      	gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
      	gtk/gtktreemodel.h gtk/gtkwidget.h
      
      	Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
      	without warnings. (#91680)
      b1165617
  31. 24 Oct, 2002 1 commit
  32. 22 Oct, 2002 1 commit
  33. 07 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add gdk_drag_find_window_for_screen(), so that we can interpret x_root / · f3f016d0
      Owen Taylor authored
      Mon Oct  7 15:48:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdnd.[ch] gdk/x11/gdkdnd-x11.c: Add
              gdk_drag_find_window_for_screen(), so that we can
              interpret x_root / y_root relative to the correct screen.
      
              * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c
              gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file.
              Move gdk_drag_find_window(), gdk_drag_get_protocol() here.
      
              * gtk/gtkdnd.c: Handle drags between screens; use
              a fallback icon for icons set as windows/pixmaps,
              move the drag icon between displays for icons set as
              pixbufs.
      
              * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix infinite
              loop from last change.
      f3f016d0
  34. 25 Sep, 2002 1 commit
    • Manish Singh's avatar
      add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile · 234e191c
      Manish Singh authored
      Wed Sep 25 00:16:53 2002  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED
              and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags
      
              * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c
              gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c
              gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c
              gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c
              gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c
              gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c
              gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c
              gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c
              gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing
              gdk_foo_{ref,unref} to g_object equivalents.
      234e191c
  35. 20 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Renames: · 28c2b0a3
      Owen Taylor authored
      Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
              tests/*.c: Renames:
      
               gdk_get_default_display => gdk_display_get_default
               gdk_get_default_screen  => gdk_screen_get_default
               gdk_open_display        => gdk_display_open
      28c2b0a3