1. 24 Jul, 2020 1 commit
  2. 06 Apr, 2020 2 commits
  3. 09 Feb, 2020 1 commit
  4. 27 Nov, 2019 1 commit
    • Emmanuele Bassi's avatar
      Use a single compilation symbol · def70073
      Emmanuele Bassi authored
      We use a compilation symbol in our build to allow the inclusion of
      specific headers while building GTK, to avoid the need to include only
      the global header.
      
      Each namespace has its own compilation symbol because we used to have
      different libraries, and strict symbol visibility between libraries;
      now that we have a single library, and we can use private symbols across
      namespaces while building GTK, we should have a single compilation
      symbol, and simplify the build rules.
      def70073
  5. 06 Feb, 2018 1 commit
    • Matthias Clasen's avatar
      The big versioning cleanup · 4c150d8e
      Matthias Clasen authored
      Remove all the old 2.x and 3.x version annotations.
      GTK+ 4 is a new start, and from the perspective of a
      GTK+ 4 developer all these APIs have been around since
      the beginning.
      4c150d8e
  6. 14 Jan, 2018 1 commit
  7. 15 Dec, 2017 2 commits
  8. 27 Apr, 2015 1 commit
  9. 12 Jun, 2014 1 commit
    • Matthias Clasen's avatar
      Drop GDK_MULTIHEAD_SAFE · 5334fb89
      Matthias Clasen authored
      We don't support multiple screens anymore, so there is no need
      for marking API as multihead safe any longer.
      5334fb89
  10. 05 Feb, 2014 1 commit
  11. 05 May, 2013 1 commit
  12. 28 Dec, 2012 1 commit
  13. 27 Feb, 2012 2 commits
  14. 21 Feb, 2012 1 commit
  15. 27 Sep, 2011 1 commit
    • Michael Natterer's avatar
      Bug 659602 - Provide an abstraction for the platform's use of modifier keys · 4a7a6733
      Michael Natterer authored and Michael Natterer's avatar Michael Natterer committed
      Add enum GdkModifierIntent which identifies use cases for modifier masks
      and GdkKeyMap::get_modifier_mask(). Add a default implementation which returns
      what is currently hardcoded all over GTK+, and an implementation in the
      quartz backend. Also add gtk_widget_get_modifier_mask() which simplifies
      things by doing widget->display->keymap->get_modifier_mask().
      4a7a6733
  16. 16 Sep, 2011 1 commit
  17. 24 Dec, 2010 1 commit
  18. 21 Dec, 2010 2 commits
  19. 16 Nov, 2010 1 commit
  20. 15 Nov, 2010 1 commit
  21. 02 Jul, 2010 1 commit
  22. 25 May, 2010 1 commit
    • Matthias Clasen's avatar
      Seal gdk · 50a72eda
      Matthias Clasen authored
      Add G_SEAL annotation for struct members, and add accessors for
      the (useful) fields. Patch based on work by Garrett Regier,
      see bug #592580.
      50a72eda
  23. 02 May, 2010 1 commit
  24. 04 Apr, 2010 2 commits
    • Matthias Clasen's avatar
      Fix a compatibility problem · 29efd9a7
      Matthias Clasen authored
      It turns out that my attempt at handling Super, Hyper and Meta better
      is causing problems, mostly because Alt and Meta are commonly colocated
      in the modmap, and apps do a check for the Alt modifier regularly.
      
      See e.g bug 607697.
      29efd9a7
    • Matthias Clasen's avatar
      Try harder to handle accelerators involving virtual modifiers · d1c3745b
      Matthias Clasen authored
      This patch changes GDK to add all matching virtual modifiers in
      the state field of the key event. The corresponding GTK+ change makes
      use of a new GdkKeymap function to map virtual modifiers back to
      real modifiers and detect conflicts while doing so.
      
      This should fix bug 603190 and bug 427409.
      d1c3745b
  25. 12 Feb, 2010 1 commit
    • Matthias Clasen's avatar
      Fix a compatibility problem · 13d69e55
      Matthias Clasen authored
      It turns out that my attempt at handling Super, Hyper and Meta better
      is causing problems, mostly because Alt and Meta are commonly colocated
      in the modmap, and apps do a check for the Alt modifier regularly.
      
      See e.g bug 607697.
      13d69e55
  26. 21 Dec, 2009 1 commit
    • Matthias Clasen's avatar
      Try harder to handle accelerators involving virtual modifiers · 03b179c5
      Matthias Clasen authored
      This patch changes GDK to add all matching virtual modifiers in
      the state field of the key event. The corresponding GTK+ change makes
      use of a new GdkKeymap function to map virtual modifiers back to
      real modifiers and detect conflicts while doing so.
      
      This should fix bug 603190 and bug 427409.
      03b179c5
  27. 29 Sep, 2008 1 commit
    • 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
  28. 01 Jul, 2008 1 commit
  29. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  30. 28 May, 2008 1 commit
    • Michael Natterer's avatar
      define __GDK_H_INSIDE__ around including all other headers. · 791ac426
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
      	headers.
      
      	* gdk/gdkenumtypes.h.template
      	* gdk/gdk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually. Also removed some redundant includes and
      	did some tiny trailing whitespace removal that's not worth to
      	commit separately.
      
      	* gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
      	files.
      
      	* gdk/win32/gdkwin32.h
      	* gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
      	other includes.
      
      
      svn path=/trunk/; revision=20217
      791ac426
  31. 30 Jun, 2007 1 commit
    • Matthias Clasen's avatar
      New function to determine if keyboard layouts for both LTR and LTR · 436a34e3
      Matthias Clasen authored
      2007-06-29  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/gdk.symbols:
              * gdk/gdkkeys.h:
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
              function to determine if keyboard layouts for both LTR and LTR
              languages are in use. Refactor the direction caching code to
              make this information available.  (#451575, Behnam Esfahbod)
      
      
      
      svn path=/trunk/; revision=18301
      436a34e3
  32. 12 Jun, 2005 1 commit
  33. 23 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Add a keys_changed signal emitted when the keymap changes. (#72148) · a16b63eb
      Owen Taylor authored
      Mon Sep 23 16:48:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkkeys.[ch] gdk/x11/gdkkeys-x11.c gdk/x11/gdkevents-x11.c:
              Add a keys_changed signal emitted when the keymap changes.
              (#72148)
      
              * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry):
              Hook up code to handle keymap changes, change to keep
              a linked list of keymap entries so that we can reinsert
              them in the same order on a keymap change.
      a16b63eb
  34. 25 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Start of integration of Erwann Chenede's multihead work from the · 425b9886
      Owen Taylor authored
      Thu Apr 25 16:51:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              Start of integration of Erwann Chenede's multihead work
              from the gtk-multihead branch.
      
              * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]
              gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch]
              New classes representing a set of screens with attached
              input devices and a single contiguous area, respectively.
      
              * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c:
              gdk/x11/gdkprivate-x11.h: Make the initialization interface
              simple _gdk_windowing_init() and do the rest in
              gdk_open_display() calls.
      
              * gdk/gdk.[ch]: Add gdk_parse_args() which can be used
              to do the display-independent part of initialization
              instead of gdk_init_[check].
      
              * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h
              gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h:
              Add multihead variants (_for_display(), for_screen()) of functions
              getting information specific to a particular screen screen or
              display.
      
              * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
              like gdk_rgb_get_colormap() that used to get/list global
              objects.
      
              * gdk/x11/gdkx.h: Add functions for converting GdkScreen
              and GdkDisplay into the X equivalents.
      
              * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords()
              not in the headers and unused.
      
              * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}:
              Remove gxid support ... has not been tested for a long time...
              "xfree" support is more portable to non XFree86.
      
              * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be
              used to turn off functions that are inherently non-multihead
              safe.
      
              * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions
              are used in non-multihead-safe ways.
      
              * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK
              multihead safe.
      425b9886
  35. 21 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Implement "fuzzy" key binding lookups; allow matches on key and level but · 708e1a95
      Owen Taylor authored
      Wed Feb 20 14:26:47 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
              allow matches on key and level but not group. Also, implement
              ignoring "consumed modifiers correctly."
      
              * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using
              GtkKeyHash.
      
              * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings
      
              * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in
              the group for key release events as well as key press events.
      
              * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Rename unused_modifiers to consumed_modifiers, make the docs and
              non-Xkb implementation match the Xkb implementation.
      
              * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate
              doc and parameter name changes.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              XkbTranslateKeyCode doesn't handle LockMask, we need to handle
              it ourselves.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force
              <Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency
              to allow dealing with ISO_Left_Tab.
      
              * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c
              gtk/gtkpaned.c gtk/gtkcombo.c  gtk/gtknotebook.c:
              Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab
              or <Shift>Tab both are equivalent as a binding specifier.)
      
              * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate
              GTK_RUN_ACTION, so you can bind an accelerator to it.
      
              * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call
              gdk_unicode_to_keyval on the mnemonic character.
      
              * tests/testgtk.c: Add a test for the new fuzzy key binding matching.
      708e1a95