1. 03 Jun, 2018 1 commit
    • Matthias Clasen's avatar
      Drop Ctrl-Shift-e support · 1f37cbfb
      Matthias Clasen authored
      Now that we have Emoji completion, drop the rather limited
      Ctrl-Shift-e support in GtkIMContextSimple, and leave this
      sequence to input methods.
      1f37cbfb
  2. 26 Apr, 2018 1 commit
  3. 11 Sep, 2017 1 commit
  4. 22 Aug, 2017 1 commit
  5. 05 Aug, 2017 1 commit
    • Matthias Clasen's avatar
      Enough with the beeping! · 43195fd9
      Matthias Clasen authored
      Don't beep when modifiers are released in entries.
      This was an inadvertent change that snuck in with
      the emoji support.
      
      Also, don't beep while entering an emoji name.
      There is entirely too much beeping here.
      43195fd9
  6. 04 Aug, 2017 1 commit
    • Matthias Clasen's avatar
      Add support for entering emoji by name · a86de590
      Matthias Clasen authored
      This commit adds some basic support for entering emoji by name
      to GtkIMContextSimple. To begin an emoji sequence, use Ctrl-Shift-e
      instead of Ctrl-Shift-u that is used for hex input. Otherwise, the
      behavior is the same: you can can let go of the modifier keys and
      end the sequence with space or enter, or hold on to the modifier
      keys and end the sequence by releasing them.
      
      Only a limited, fixed set of names is supported at this time, see
      the GtkIMContextSimple docs for a full list.
      a86de590
  7. 19 Nov, 2016 1 commit
  8. 04 Aug, 2016 1 commit
    • LRN's avatar
      W32: Prefer the deadkey combinations that the OS uses · 5e6c1928
      LRN authored
      Pick the W32 API for possible deadkey+<something> combinations
      and prefer these to other sources of deadkey combos.
      Specifically, if W32 API supports at least one combo for a particular
      deadkey, only use that data and do not attempt to do other, unsupported
      combinations, even if they make sense otherwise.
      This is needed to, for example, correctly support US-International
      keyboard layout, which produces a combined character for <' + a>
      combo, but not for <' + s>, for example.
      
      This is achieved by stashing all the deadkeys that we find in
      an array, then doing extra loop through all virtual key codes and
      trying to combine them with each of these deadkeys. Any combinations
      that produce a single character are cached for later use.
      
      In GTK Simple IM context, call a new GDK W32 function to do a lookup
      on that cached combination table early on, among the "special cases"
      (which are now partially obsolete).
      
      A limitation of this code is that combinations with more than
      one deadkey are not supported, except for combinations that consist
      entirely of 2 known deadkeys. The upshot is that lookups should
      be relatively fast, as deadkey array stays small and the combination
      tree stays shallow.
      
      Note that the use of ToUnicodeEx() seems suboptimal, as it should
      be possible to just load a keyboard library (KBD*.DLL) manually
      and obtain and use its key table directly. However, that is much more
      complicated and would result in a significant rewrite of gdkkeys-win32.
      The code from this commit, though hacky, is a direct addition to
      existing code and should cover vast majority of the use-cases.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=569581
      5e6c1928
  9. 01 Mar, 2016 1 commit
  10. 29 Feb, 2016 1 commit
  11. 11 Feb, 2016 1 commit
  12. 31 Jan, 2016 1 commit
  13. 18 Jan, 2016 1 commit
  14. 16 Nov, 2015 1 commit
  15. 13 Nov, 2015 1 commit
    • Chun-wei Fan's avatar
      gtkimcontextsimple.c: Use X11_DATA_PREFIX only on X11/Wayland · d01ea18d
      Chun-wei Fan authored
      Only use the hard-coded build-time path given by X11_PREFIX on X11 and
      Wayland where a X11 package is normally available.  On other platforms,
      get the datadir of the running system and mimic the behavior by
      constructing the path dynamically.  This avoids hardcoding the path for
      searching for compose tables where we want to have relocatability.
      
      This fixes the build on Windows/MSVC as well, where we don't normally have
      any X11 packages available.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=757984
      d01ea18d
  16. 09 Oct, 2015 4 commits
  17. 01 Aug, 2015 2 commits
  18. 02 Jun, 2015 1 commit
  19. 22 Feb, 2015 1 commit
  20. 11 Sep, 2014 1 commit
  21. 28 May, 2014 1 commit
  22. 07 Feb, 2014 1 commit
  23. 14 Dec, 2013 1 commit
  24. 09 Jul, 2013 1 commit
  25. 30 Nov, 2012 2 commits
  26. 26 Aug, 2012 1 commit
  27. 10 May, 2012 1 commit
  28. 27 Feb, 2012 1 commit
  29. 14 Feb, 2012 1 commit
  30. 30 Dec, 2011 2 commits
  31. 07 Oct, 2011 1 commit
  32. 27 Sep, 2011 1 commit
  33. 26 Sep, 2011 1 commit
  34. 17 Mar, 2011 1 commit