gtk2/gdk
Suyuan Chang cfad43b80d macOS: Fix bug that entry cannot press and hold a key to input accented character.
There're two issues in GdkQuartzView's NSTextInputClient implementation
causes this bug.

1. The -(NSRange)selectedRange should not return [NSNotFound, 0] if
   there's no selection. The accented character window will not show
   if returned NSRange's location is NSNotFound. Instead of that, the
   NSRange's location should be the caret position in the text input
   buffer.

2. The accented character window will invoke
   -(void)insertText:replacementRange: with non-empty replacement
   range, to replace non-accented character with accented character
   after user select it from accented character window. This case is
   not implemented in original code. Here I use another gobject data
   to pass the information to input module and convert it into
   'delete-surrounding' event.

Besides these, there's another bug cause gtk_im_context_filter_keypress()
return wrong value while user press and hold a key. When user press
and hold a key, the accented character window will consume the
repeating key down event. Is this case, gtk_im_context_filter_keypress()
should return TRUE, indicate the key press is filtered by input
method module. But it will return FALSE because
gtk_im_context_filter_keypress() assume that every key press event
will generate some text from input method module.

Fixes #1618
2019-01-30 22:07:23 -08:00
..
broadway broadway: Cast g_object_ref() to the right type 2018-02-11 23:28:50 +00:00
deprecated
mir mir: clean up an ugly function 2017-04-03 13:29:59 -04:00
quartz macOS: Fix bug that entry cannot press and hold a key to input accented character. 2019-01-30 22:07:23 -08:00
resources/glsl Use GLSL version 110 for OpenGL 2 shaders. 2016-11-01 11:58:16 -03:00
wayland wayland/window: Don't remap when handling xdg_popu.configure 2019-01-17 16:17:32 +01:00
win32 gdkevents-win32.c: Fix GDK_SETTING event notification on IME change 2018-12-17 12:43:24 +08:00
x11 Revert "gdk: deactivate/activate surface on keyboard grabs" 2019-01-04 17:07:18 +01:00
COPYING
fallback-c89.c fallback-c89: Include config.h 2017-05-22 14:26:32 +01:00
gdk-autocleanup.h
gdk-private.c gdk: Make gdk_window_move_to_rect public 2018-06-05 15:01:52 +02:00
gdk-private.h Add a gdk_should_use_portal helper 2018-11-04 08:20:52 -05:00
gdk.c Add a gdk_should_use_portal helper 2018-11-04 08:20:52 -05:00
gdk.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkapplaunchcontext.c Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkapplaunchcontext.h
gdkapplaunchcontextprivate.h
gdkcairo.c
gdkcairo.h gdk: Deprecate gdk_cairo_create() 2016-06-09 17:45:40 +01:00
gdkconfig.h.win32
gdkconfig.h.win32_broadway
gdkcursor.c Update cursor docs 2016-05-17 14:16:39 -04:00
gdkcursor.h gdk: Add deprecated for macro for gdk_cursor_new 2018-11-17 21:23:40 +13:00
gdkcursorprivate.h
gdkdeprecated.c
gdkdevice.c Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkdevice.h gdkdevice: Add GDK_SOURCE_TABLET_PAD input source type for GdkDevices 2016-08-23 21:01:44 +02:00
gdkdevicemanager.c doc: Replace uses of #NULL with %NULL 2017-11-22 20:58:00 +00:00
gdkdevicemanager.h
gdkdevicemanagerprivate.h
gdkdevicepad.c gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdevicepad.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdevicepadprivate.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdeviceprivate.h gdk: Add a private getter for GdkDevice::input-mode 2016-04-30 20:52:23 -04:00
gdkdevicetool.c gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdevicetool.h gdk: Add a getter for the hardware id of a GdkDeviceTool 2016-08-23 21:01:44 +02:00
gdkdevicetoolprivate.h gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdisplay.c Prevent crash if display->touch_implicit_grabs is NULL. 2018-12-07 16:59:45 -08:00
gdkdisplay.h gdk: Fix parameter name mismatch 2016-05-08 15:34:28 +02:00
gdkdisplaymanager.c mir: try mir before x11 2017-03-13 03:52:06 -04:00
gdkdisplaymanager.h
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h display: Add vfunc for get_monitor_at_window 2016-05-18 19:07:27 +02:00
gdkdnd.c gdkdnd: Fix 2 typos in docs 2018-05-27 18:10:16 +01:00
gdkdnd.h gdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel 2016-02-15 18:35:51 +01:00
gdkdndprivate.h gdk/dnd: Don't use default display when getting cursor 2016-04-26 23:03:24 +08:00
gdkdrawingcontext.c gdk: Unset the DrawingContext <-> cairo_t link on dispose 2016-06-12 18:55:34 +01:00
gdkdrawingcontext.h Add GdkDrawingContext 2016-06-09 17:45:40 +01:00
gdkdrawingcontextprivate.h Add GdkDrawingContext 2016-06-09 17:45:40 +01:00
gdkenumtypes.c.template
gdkenumtypes.h.template
gdkevents.c gdk: Add pad event structs, enum values, and event mask bit 2016-08-23 21:01:44 +02:00
gdkevents.h Annotate values of PRIORITY constants 2018-12-22 13:17:58 +01:00
gdkframeclock.c Add proper annotation for gdk_frame_clock_get_refresh_info 2018-03-12 16:06:46 +01:00
gdkframeclock.h
gdkframeclockidle.c Fix irregular gdk_frame_clock_get_frame_time 2018-02-14 08:02:52 -05:00
gdkframeclockidle.h
gdkframeclockprivate.h frametimings: reuse previous frame timing in common case 2016-04-26 09:06:07 -04:00
gdkframetimings.c frametimings: reuse previous frame timing in common case 2016-04-26 09:06:07 -04:00
gdkframetimings.h
gdkgl.c Add a EGL renderer (via ANGLE) for Windows 2018-06-28 15:33:42 +08:00
gdkglcontext.c Add a EGL renderer (via ANGLE) for Windows 2018-06-28 15:33:42 +08:00
gdkglcontext.h gdk/gl: Allow autodetection for GL/GLES 2016-10-21 11:41:43 -04:00
gdkglcontextprivate.h gl: Use a uniform to flip R and B colors on GLES 2016-04-25 14:33:36 +01:00
gdkglobals.c
gdkinternals.h gdkwindow: Avoid re-setting the opaque region if it doesn't change 2017-08-18 18:58:19 +02:00
gdkintl.h
gdkkeynames.c
gdkkeys.c docs: Properly deprecate gdk_keymap_get_default() 2018-02-11 23:28:50 +00:00
gdkkeys.h Add some deprecation annotations 2017-12-25 23:00:30 -05:00
gdkkeysprivate.h
gdkkeysyms-compat.h
gdkkeysyms-update.pl
gdkkeysyms.h
gdkkeyuni.c GDK W32: Cache multiple keyboard layouts simultaneously 2016-08-04 16:37:18 +00:00
gdkmain.h Add some deprecation annotations 2017-12-25 23:00:30 -05:00
gdkmarshalers.list gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdkmonitor.c GdkMonitor: Fix link to nonexistent Display method 2018-01-13 20:03:37 +00:00
gdkmonitor.h gdk: Fix parameter name mismatch 2016-05-08 15:34:28 +02:00
gdkmonitorprivate.h Add GdkMonitor 2016-04-27 23:18:16 -04:00
gdkoffscreenwindow.c
gdkpango.c Add docs for new API 2016-04-18 11:46:58 -04:00
gdkpango.h Add gdk_pango_context_get_for_display 2016-04-18 07:04:44 -04:00
gdkpixbuf-drawable.c Fix the fix to the last commit 2015-12-16 12:42:27 +00:00
gdkpixbuf.h
gdkprivate.h Make gdk_event_get_pointer_emulated public 2016-05-10 15:16:45 -04:00
gdkproperty.c
gdkproperty.h
gdkrectangle.c Clarify docs for gdk_rectangle_union 2016-01-20 13:44:34 -05:00
gdkrectangle.h
gdkrgba.c RGBA: tiny grammar improvements in to_string doc 2018-12-17 20:16:42 +00:00
gdkrgba.h
gdkscreen.c gdk: Fix gdk_screen_get_monitor_workarea not returning work area 2017-10-12 09:03:13 +13:00
gdkscreen.h Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkscreenprivate.h
gdkseat.c x11: make the tool lookup dependent on the hw id as well 2018-12-18 10:48:03 +10:00
gdkseat.h GdkSeat: Add G_BEGIN_DECLS and G_END_DECLS 2015-12-22 10:33:41 +01:00
gdkseatdefault.c x11: make the tool lookup dependent on the hw id as well 2018-12-18 10:48:03 +10:00
gdkseatdefaultprivate.h GdkSeatDefault: Add functions to add/remove tools 2016-04-06 15:43:29 +02:00
gdkseatprivate.h x11: make the tool lookup dependent on the hw id as well 2018-12-18 10:48:03 +10:00
gdkselection.c gdkselection: Clarify that X is only a design base 2018-04-22 16:11:01 +01:00
gdkselection.h
gdktestutils.h
gdkthreads.h
gdktypes.h gdk: Fix GDK_ALL_EVENTS_MASK 2017-11-13 23:42:51 +01:00
gdkversionmacros.h.in gdk: Add GDK_DEPRECATED_IN_3_24() macros 2018-07-24 20:32:26 +02:00
gdkvisual.c visual: Deprecate querying APIs 2016-10-28 06:04:58 +02:00
gdkvisual.h visual: Deprecate querying APIs 2016-10-28 06:04:58 +02:00
gdkvisualprivate.h gdk: calculate pixel color shift and precision lazily 2016-02-27 12:27:54 +01:00
gdkwindow.c Add gdk_x11_display_get_parent_relative_pattern(). 2018-12-12 02:56:35 +01:00
gdkwindow.h gdk: Make gdk_window_move_to_rect public 2018-06-05 15:01:52 +02:00
gdkwindowimpl.c gdkwindow: Use toplevel for getting root cords in move_to_rect() 2016-08-18 04:51:57 -04:00
gdkwindowimpl.h gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdkx.h
gen-keyname-table.pl
keyname-table.h gdk: Translate some more key names 2017-10-09 20:31:58 +02:00
keynames-translate.txt gdk: Translate some more key names 2017-10-09 20:31:58 +02:00
keynames.txt
Makefile.am MSVC builds: Improve introspection build process 2019-01-18 16:25:49 +08:00
makefile.msc