Commit graph

20 commits

Author SHA1 Message Date
ericwa
31ff3e1ba1 * Source/x11/XIMInputServer.m: If the requested XIM style
(the GSXIMInputMethodStyle user default) is not available,
fall back to using a stlye that both the X server and
GNUstep support, if any. Also, add support for NoneStyle, which
is for simple input methods that don't have any visualization.
Problem reported and tested by Riccardo.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37065 72102866-910b-0410-8b05-ffd578937521
2013-09-10 20:00:11 +00:00
ericwa
55da790dae * Source/x11/XIMInputServer.m: Add the setlocale(LC_CTYPE, "") call
back that I removed last year (r35152).

I tested the fcitx input method, and without the setlocale call,
XOpenIM would fail. I'm not sure what the best plan is in the long
term, I wanted to avoid calling setlocale from the core frameworks
but in this case xlib seems to require it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37002 72102866-910b-0410-8b05-ffd578937521
2013-08-21 22:30:15 +00:00
ericwa
3ba33eb1b1 * Source/x11/XIMInputServer.m: Remove the locale setting code.
Use the correct #ifdef check for Xutf8LookupString, and use
that function if available; otherwise use XLookupString.
Interpret the return value of XLookupString as Latin-1.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35152 72102866-910b-0410-8b05-ffd578937521
2012-05-13 02:41:30 +00:00
fredkiefer
c5e5d1d202 Fixes warnings reported by clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32823 72102866-910b-0410-8b05-ffd578937521
2011-04-09 17:10:49 +00:00
fedor
52a046da0f Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
fredkiefer
fa6e35e2f8 Change files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25538 72102866-910b-0410-8b05-ffd578937521
2007-10-29 23:25:10 +00:00
fredkiefer
7176d7a52c Allow non-resizable windows to be resized programmatically.
Clean up compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25527 72102866-910b-0410-8b05-ffd578937521
2007-10-12 09:32:27 +00:00
fredkiefer
a5d929ce42 Small correction to adopt to base change also remove annoying warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23971 72102866-910b-0410-8b05-ffd578937521
2006-10-27 12:25:26 +00:00
fedor
6754631747 configure.in: Check for Xutf8LookupString
Source/x11/XIMInputServer.m: Use it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22172 72102866-910b-0410-8b05-ffd578937521
2005-12-17 02:45:16 +00:00
fedor
faaebcda2a Update FSF Address
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21263 72102866-910b-0410-8b05-ffd578937521
2005-05-26 22:51:53 +00:00
ayers
52d97e1721 * Source/art/GNUmakefile: Do not make headers publilc.
* Source/gsc/GNUmakefile: Ditto.
        * Source/x11/GNUmakefile: Ditto.
        * Source/xdps/GNUmakefile: Ditto.
        * Source/xlib/GNUmakefile: Ditto.

        * Headers/win32/*.h: Update includes for new header structure.
        * Headers/winlib/*.h: Ditto.
        * Headers/x11/XGServer.h: Ditto.
        * Headers/xlib/*.h: Ditto.

        * Source/art/ftfont.m: Ditto.
        * Source/gsc/*.m: Ditto.
        * Source/x11/*.m: Ditto.
        * Source/xdps/*.m: Ditto.
        * Source/xlib/*.m: Ditto.

        * Tools/gpbs.m: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17409 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:57:11 +00:00
fedor
eb1cd51d37 Add XIM Input Method, UPdate to wraster 0.80.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17286 72102866-910b-0410-8b05-ffd578937521
2003-07-22 04:28:43 +00:00
FredKiefer
2f7594910f In [lookupStringForEvent🪟keysym:] autorelease the string,
so it gets freed late on.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15073 72102866-910b-0410-8b05-ffd578937521
2002-11-24 01:44:13 +00:00
fedor
bcaafb2dd9 Use GSEncodingFromLocale
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14834 72102866-910b-0410-8b05-ffd578937521
2002-10-22 03:47:15 +00:00
alexm
7c9f5acd32 Track all XIC:s and destroy them explicitly to work around xfree86 bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14485 72102866-910b-0410-8b05-ffd578937521
2002-09-18 22:34:44 +00:00
fedor
df9e5ae1ce Don't set FocusWindow Attrib. Fixes crash on XCloseDisplay
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14153 72102866-910b-0410-8b05-ffd578937521
2002-07-15 03:11:11 +00:00
fedor
40df2f1e83 Correct define
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13596 72102866-910b-0410-8b05-ffd578937521
2002-05-06 03:17:54 +00:00
fedor
db389b0718 Fix #if defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13593 72102866-910b-0410-8b05-ffd578937521
2002-05-04 19:39:47 +00:00
fedor
6ff1a56a0a XIM fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13472 72102866-910b-0410-8b05-ffd578937521
2002-04-16 03:47:03 +00:00
fedor
685bcf200f Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13249 72102866-910b-0410-8b05-ffd578937521
2002-03-27 23:44:41 +00:00