1. 02 Apr, 2009 1 commit
    • Alexander Larsson's avatar
      Initial client-side-windows work · eabac453
      Alexander Larsson authored
      The history before this was kind of twisted as several different
      approaches were tested, so that was all squashed into this initial
      commit to hide the uninteresting changes and files that were later
      removed.
      eabac453
  2. 26 Dec, 2008 1 commit
  3. 04 Aug, 2008 1 commit
    • Tor Lillqvist's avatar
      Bug 544684 - Win64 issue, window handles are assumed to be 32-bit · b1e744b0
      Tor Lillqvist authored
      2008-08-05  Tor Lillqvist  <tml@novell.com>
      
      	Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
      
      	* gdk/gdkdnd.h
      	* gdk/gdkdnd.c
      	* gdk/win32/gdkdnd-win32.c
      	* gdk/x11/gdkdnd-x11.c: Change return value and type of window id
      	from guint32 to GdkNativeWindow for
      	gdk_drag_get_protocol_for_display() and
      	gdk_drag_get_protocol(). This is not an API break on existing
      	platforms, as GdkNativeWindow has been guint32 for them
      	already.
      
      
      svn path=/trunk/; revision=20988
      b1e744b0
  4. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  5. 08 Oct, 2006 1 commit
  6. 15 Aug, 2006 1 commit
    • Matthias Clasen's avatar
      Zero out some stack-allocated X structures, to avoid valgrind warnings · bb279057
      Matthias Clasen authored
      2006-08-15  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (gdk_window_register_dnd):
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_decorations):
              (gdk_window_set_functions): Zero out some stack-allocated
              X structures, to avoid valgrind warnings about uninitialized
              memory.  (#349382, David Baron)
      bb279057
  7. 25 May, 2006 1 commit
  8. 18 May, 2006 1 commit
  9. 14 May, 2006 1 commit
  10. 04 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Use G_DEFINE_TYPE. · 10f0736a
      Matthias Clasen authored
      2006-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkdisplay.c:
      	* gdk/gdkdisplaymanager.c:
      	* gdk/gdkdraw.c:
      	* gdk/gdkkeys.c:
      	* gdk/gdkpixmap.c:
      	* gdk/gdkscreen.c:
      	* gdk/gdkwindow.c:
      	* gdk/x11/gdkcolor-x11.c:
      	* gdk/x11/gdkdisplay-x11.c:
      	* gdk/x11/gdkdnd-x11.c:
      	* gdk/x11/gdkdrawable-x11.c:
      	* gdk/x11/gdkgc-x11.c:
      	* gdk/x11/gdkimage-x11.c:
      	* gdk/x11/gdkinput.c:
      	* gdk/x11/gdkpixmap-x11.c:
      	* gdk/x11/gdkscreen-x11.c:
      	* gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE.
      
      	* gdk/x11/gdkcolor-x11.c:
      	* gdk/x11/gdkdnd-x11.c:
      	* gdk/x11/gdkimage-x11.c: Use instance private data.
      10f0736a
  11. 02 Feb, 2006 1 commit
  12. 26 Oct, 2005 1 commit
  13. 13 Sep, 2005 1 commit
  14. 11 Sep, 2005 1 commit
  15. 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
  16. 19 Aug, 2005 3 commits
  17. 22 Jun, 2005 1 commit
  18. 09 Jun, 2005 1 commit
  19. 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
  20. 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
  21. 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
  22. 03 Nov, 2004 1 commit
  23. 28 Oct, 2004 1 commit
  24. 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
  25. 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
  26. 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
  27. 17 Jul, 2004 1 commit
  28. 09 Jul, 2004 1 commit
  29. 08 Jul, 2004 1 commit
  30. 06 Mar, 2004 1 commit
  31. 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
  32. 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
  33. 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
  34. 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
  35. 21 Apr, 2003 1 commit