Wed, 03 Oct 2012 20:49:16 -0700 Fixed bug 1614 - SDL for Android does not implement TextInput API
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 20:49:16 -0700] rev 6555
Fixed bug 1614 - SDL for Android does not implement TextInput API Andrey Isakov 2012-10-03 08:30:25 PDT I've found out in the process of porting one OS project to Android/SDL2 that there is no support for TextInput events/APIs on Android. So I implemented some kind of initial support of that feature, and at the very least it seems to work fine with latin chars input with soft and hardware keyboards on my Moto Milestone2. I've also tried playing around with more complex IMEs, like japanese, logging the process and it seemed to work too. I'm not sure since the app itself I am working on does not have support for non-latin input. The main point of the patch is to place a fake input view in the region specified by SDL_SetTextInputRect and create a custom InputConnection for it. The reason to make it a separate view is to support Android's pan&scan on input feature properly. For details please refer to http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html Even though the manual states that SetTextInputRect is used to determine the IME variants position, I thought this would be a proper use for this too.
Wed, 03 Oct 2012 20:22:14 -0700 Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 20:22:14 -0700] rev 6554
Fixed compiler warning
Wed, 03 Oct 2012 19:39:12 -0700 This hack doesn't work very well. I'd rather just show the problem so it can be fixed.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:39:12 -0700] rev 6553
This hack doesn't work very well. I'd rather just show the problem so it can be fixed.
Wed, 03 Oct 2012 19:26:07 -0700 Merged Ryan's changes
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:26:07 -0700] rev 6552
Merged Ryan's changes
Wed, 03 Oct 2012 19:25:08 -0700 Fixed refresh rate calculation
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:25:08 -0700] rev 6551
Fixed refresh rate calculation
Wed, 03 Oct 2012 19:24:11 -0700 Don't try to query outputs that are not hooked up to a crtc
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:24:11 -0700] rev 6550
Don't try to query outputs that are not hooked up to a crtc
Wed, 03 Oct 2012 19:02:46 -0700 Added a delay hack to let the window manager adjust to the mode change. I'm not sure if this is a good idea, but at least it works sometimes now. :)
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 19:02:46 -0700] rev 6549
Added a delay hack to let the window manager adjust to the mode change. I'm not sure if this is a good idea, but at least it works sometimes now. :)
Wed, 03 Oct 2012 18:56:29 -0700 Rewritten X11 video mode support to directly set requested modes and exactly restore the desktop mode at shutdown.
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 18:56:29 -0700] rev 6548
Rewritten X11 video mode support to directly set requested modes and exactly restore the desktop mode at shutdown.
Wed, 03 Oct 2012 18:54:31 -0700 A window being fullscreen takes precedence over coordinate checks
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Oct 2012 18:54:31 -0700] rev 6547
A window being fullscreen takes precedence over coordinate checks This fixes restoring video mode on the second display at shutdown in some circumstances.
Wed, 03 Oct 2012 20:02:13 -0400 Helps to initialize variables in the right function. :)
Ryan C. Gordon <icculus@icculus.org> [Wed, 03 Oct 2012 20:02:13 -0400] rev 6546
Helps to initialize variables in the right function. :)
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip