Re: Extension to XIM support (2)

2003-07-21 Thread Adam Fedor
Kazunobu Kuriyama wrote: Hi all, The attached are a modified version of the patches I previously sent. At user level, the following is an only change: The input method style specification which was done through the environmental variable GNUSTEP_INPUT_METHOD_STYLE are now done through the use

Extension to XIM support (2)

2003-07-13 Thread Kazunobu Kuriyama
Hi all, The attached are a modified version of the patches I previously sent. At user level, the following is an only change: The input method style specification which was done through the environmental variable GNUSTEP_INPUT_METHOD_STYLE are now done through the user default GSXIMInputMethodS

Re: Extension to XIM support

2003-07-12 Thread Alexander Malmberg
Kazunobu Kuriyama wrote: [snip] > This makes things clearner. I'll try to modify the code as soon as you > implement the methods mentioned above. They're added in latest cvs of -gui. [snip] > I would be happy if you could also cooperate with me in the "proper" > implementaion in near future. Su

Re: Extension to XIM support

2003-07-11 Thread Kazunobu Kuriyama
Alexander Malmberg wrote: > [snip] > The default is XIM-specific, and this should be reflected in its name > (by including X or XIM or something). _-gui_ is not XIM- or X-specific, > and this should be reflected in its implementation (by not including X- > or XIM-specific code in it). I understand

Re: Extension to XIM support

2003-07-11 Thread Kazunobu Kuriyama
Alexander Malmberg wrote: Adam Fedor wrote: [snip] Plus I think after a reasonable amount of testing, providing it doesn't slow things down too much, we could make it the default (= YES), at least on systems where we know the user is using non-European languages (e.g. based on GNUSTEP_STRING_ENCOD

Re: Extension to XIM support

2003-07-11 Thread Alexander Malmberg
Adam Fedor wrote: [snip] > Plus I think after a reasonable amount of testing, providing it doesn't > slow things down too much, we could make it the default (= YES), at > least on systems where we know the user is using non-European languages > (e.g. based on GNUSTEP_STRING_ENCODING or LANG). Then

Re: Extension to XIM support

2003-07-11 Thread Adam Fedor
On Friday, July 11, 2003, at 02:54 PM, Alexander Malmberg wrote: Kazunobu Kuriyama wrote: [snip] In that case, replace back-xlib with "back-x11". :) It'd still be X- and XIM-specific, though, so I think my comment still applies. I've already finished modifying that part of the code, which now us

Re: Extension to XIM support

2003-07-11 Thread Alexander Malmberg
Kazunobu Kuriyama wrote: [snip] > >In that case, replace back-xlib with "back-x11". :) It'd still be X- and > >XIM-specific, though, so I think my comment still applies. > > > I've already finished modifying that part of the code, which now uses a > tentative default name. Once the name is given,

Re: Extension to XIM support

2003-07-11 Thread Kazunobu Kuriyama
Alexander Malmberg wrote: Before making final decision to modify the code, I'd like ask you some points to confirm. Kazunobu Kuriyama wrote: Alexander Malmberg wrote: Adam Fedor wrote: [snip] Since the default (or at least its value) is effectively back-xlib specific, I'd suggest reflecting

Re: Extension to XIM support

2003-07-11 Thread Alexander Malmberg
Kazunobu Kuriyama wrote: > Alexander Malmberg wrote: > > Adam Fedor wrote: [snip] > > Since the default (or at least its value) is effectively back-xlib > > specific, I'd suggest reflecting this in the name, eg. > > GSXIMInputMethodStyle. > > What if the extended XIM also works fine for back-art?

Re: Extension to XIM support

2003-07-11 Thread Kazunobu Kuriyama
Alexander Malmberg wrote: Adam Fedor wrote: [snip] Just a quick note: I'd rather this be a user default value that we get from NSUserDefaults. Perhaps GSInputMethodStyle or something similar. Since the default (or at least its value) is effectively back-xlib specific, I'd suggest reflecting this

Re: Extension to XIM support

2003-07-11 Thread Kazunobu Kuriyama
Alexander Malmberg wrote: > Kazunobu Kuriyama wrote: > [snip] > >> Because off-the-spot and over-the-spot need to interact with a text >> drawing >> object, I have to put some code in -gui. > > > This sound useful, but I think you've added this code in the wrong > place, which is bad (it can only

Re: Extension to XIM support

2003-07-10 Thread Alexander Malmberg
Adam Fedor wrote: [snip] > Just a quick note: I'd rather this be a user default value that we get > from NSUserDefaults. Perhaps GSInputMethodStyle or something similar. Since the default (or at least its value) is effectively back-xlib specific, I'd suggest reflecting this in the name, eg. GSXIMI

Re: Extension to XIM support

2003-07-10 Thread Alexander Malmberg
Kazunobu Kuriyama wrote: [snip] > Because off-the-spot and over-the-spot need to interact with a text drawing > object, I have to put some code in -gui. This sound useful, but I think you've added this code in the wrong place, which is bad (it can only be used from NSTextView, it adds backend-spec

Re: Extension to XIM support

2003-07-10 Thread Kazunobu Kuriyama
Adam Fedor wrote: On Thursday, July 10, 2003, at 12:34 PM, Kazunobu Kuriyama wrote: To allow the user to switch an input style to another, the new environmental variable GNUSTEP_INPUT_METHOD_STYLE is introduced. The valid values of the variable are OffTheSpot, OverTheSpot and RootWindow. The

Re: Extension to XIM support

2003-07-10 Thread Adam Fedor
On Thursday, July 10, 2003, at 12:34 PM, Kazunobu Kuriyama wrote: To allow the user to switch an input style to another, the new environmental variable GNUSTEP_INPUT_METHOD_STYLE is introduced. The valid values of the variable are OffTheSpot, OverTheSpot and RootWindow. The default value is Roo

Extension to XIM support

2003-07-10 Thread Kazunobu Kuriyama
Hi, Attached are the patches which make the GNUstep's input method support better. According to the X library manual, preediting styles which are supported by the X library are on-the-spot, off-the-spot, over-the-spot and root-window. At present, GNUstep supports root-window alone. The patches a