1. 12 Aug, 2003 1 commit
  2. 21 May, 2003 1 commit
    • Owen Taylor's avatar
      We need to pass the unmasked state to · e1fb5367
      Owen Taylor authored
      Wed May 21 12:52:01 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need
              to pass the unmasked state to gdk_keymap_translate_keyboard_state()
              to handle the case where a modifier not in the mask
              (like Num_Lock) changes the key value, so replace
              the masked state with a state/mask pair. (#106913,
              Olivier Ripoll)
      
              * gtk/gtkwindow.c gtk/gtkbinding.c: Update to pass
              in state/mask pair to _gtk_key_hash_lookup()
      e1fb5367
  3. 10 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 28bc5303
      Manish Singh authored
      Wed Oct  9 17:40:13 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c
              gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch]
              gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup
      28bc5303
  4. 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
  5. 22 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Partial fix for problem where keypad keys acted as shift-arrows in an · 7425e428
      Owen Taylor authored
      Fri Mar 22 11:29:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              Partial fix for problem where keypad keys acted
              as shift-arrows in an entry rather than arrows (#74327)
      
              * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
              results by number of modifiers in the entry. Fixes
              problem where if a key matched both modified and unmodified
              key bindings ... e.g., the distinguishing key binding
              was consumed, then it was random which was used.
      
              * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns):
              Catch the case where there are multiple entries from the
              same bindingset (with different modifiers), and use only
              the first entry, which, with the change in _gtk_key_hash_lookup()
      7425e428
  6. 14 Mar, 2002 1 commit
  7. 26 Feb, 2002 2 commits
  8. 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