Re: Multi-window design rationale

2005-08-30 Thread Kensuke Matsuzaki
message queue. Mwextwm enables an external wm. But it has some problem in synchronization between X and Windows. Bug fix or redesign is needed. zakki -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Chinese clipboard

2005-05-16 Thread Kensuke Matsuzaki
Hi, (B (BI received bug report that XWin fail to copy CJK text from X to Windows (Bin zh_CN.gbk locale. I found XmbTextListToTextProperty and (BXmbTextPropertyToTextList can't convert GBK text - Compound text. (BDoes anyone know why? (B (B (BOn a separate note, hw/xwin/Imakefile (B#if

Re: Does cygwin support xim?

2005-03-16 Thread Kensuke Matsuzaki
Imakefile, imake adds -DX_LOCALE. I can find vi_VN.tcvn and vi_VN.viscii in xc/nls, but not find vi_VN.UTF-8 though. I don't know about Vietnamese locale well, but maybe someone have to write vi_VN.UTF-8. zakki. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Clipbord Problems - Locale not supported by X

2005-02-15 Thread Kensuke Matsuzaki
[EMAIL PROTECTED] wrote: (B I tried setting the LANG environment variable, but I still get the same (B results. I set it in the startxwin.bat file that I use to start XWin. Is (B this the correct way to do it? (B (B The command I used was: (B set LANG=C XWin (B which strips off the so

Re: Clipbord Problems - Locale not supported by X

2005-02-15 Thread Kensuke Matsuzaki
[EMAIL PROTECTED] wrote: (B I do have the /usr/X11R6/lib/locale directory, but it's empty. Should it be, (B or should it have something in it? (B (B Also the XLOCALEDIR env variable is not set. (B

Re: Clipbord Problems - Locale not supported by X

2005-02-14 Thread Kensuke Matsuzaki
on a different machine, but I now am trying to set up the Cygwin/X on a new machine. My XWin.log file is below. What is LANG environment variable? What happen if you run XWin like this. $LANG=C XWin bye -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Need more documentation

2005-02-12 Thread Kensuke Matsuzaki
If you want to know X window system documents, there are links. http://x.cygwin.com/devel/ -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Linking with additional libraries...

2005-02-08 Thread Kensuke Matsuzaki
Hi. In Xserver/Imakefile, you will find following line. XWINW32 = -lgdi32 -lwsock32 $(XWINGL32) $(PTHREADLIB) Add -lmsimg32. And make Makefile make Makefiles. Bye Kensuke Matsuzaki

Re: IME-XIM Server status

2005-01-16 Thread Kensuke Matsuzaki
2. Another language support. (B (BBy the way, languages which need IME to input are only (Bja_JP, ko_KR, zh_CN, zh_HK, zh_SG and zh_TW? (BI tested ko_KR and zh_TW, and it seems OK. But I can't (Bunderstand both languages, so I don't know it's usable (Bor not. (B-- (BKensuke Matsuzaki

Re: IME-XIM Server status

2005-01-16 Thread Kensuke Matsuzaki
. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: IME XIM server

2005-01-04 Thread Kensuke Matsuzaki
| | | |-| | | | | I forgot to add IM server to archive. http://peppermint.jp/products/asis/xime-20050104-1109.tar.bz2 -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

IME XIM server

2005-01-03 Thread Kensuke Matsuzaki
-0223.tar.bz2 http://peppermint.jp/image/2005_01_01.png -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: IME XIM server

2005-01-03 Thread Kensuke Matsuzaki
. Any idea? -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: [Patch] Starting X on different monitors

2004-12-08 Thread Kensuke Matsuzaki
Also a bug list at https://bugs.freedesktop.org/ zakki

Re: XWin -multiwindow and XEmacs/gnuclient -- cannot get autoraise

2004-12-08 Thread Kensuke Matsuzaki
. */ winReorderWindowsMultiWindow (); I can't remember in detail, but someone did that to fix some problem. zakki -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Shared Memory Transport

2004-12-03 Thread Kensuke Matsuzaki
/X performance. What do you think? zakki -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Shared Memory Transport

2004-12-03 Thread Kensuke Matsuzaki
Cygwin does have unix domain sockets. They're probably not very fast, though. Sorry, you are right. But cygwin_socket uses inet to emulate. It always call socket(AF_INET, ...). I don't know well where are bottlenecks, whether transport is fast enough or not. zakki

Re: Internal-wm/rootless observations

2004-12-01 Thread Kensuke Matsuzaki
. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Focus patch

2004-11-25 Thread Kensuke Matsuzaki
Hi, When I'm using -rootless or -internalwm, X's window looks like it is active even if XWin isn't active. It's confusing. So I'm tring to fix that. With openbox, metacity and xfwm4, this patch works well. But don't coorperate with wmaker, twm, fvwm etc. Any idea? Kenuke Matsuzaki -- Kensuke

Re: mingw only xserver

2004-11-09 Thread Kensuke Matsuzaki
Hi, It's very interesting. I'm testing my patch that replaces cygwin BSD socket functions with winsock2 API. And that tends to improves x11perf about score 5%-150%. http://peppermint.jp/temp/winsockx-20041110-0117.diff But yours seems to be much better. I'll look at it. -- Kensuke Matsuzaki

Re: New rootless mode

2004-10-30 Thread Kensuke Matsuzaki
that I added defined(__CYGWIN__) to use miext/rootless. http://freedesktop.org/cgi-bin/viewcvs.cgi/xc/programs/Xserver/fb/fb.h?r1=1.1.4.1root=xorgsortby=dater2=1.1.4.1.2.1only_with_tag=CYGWIN Thank you. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

New rootless mode

2004-10-29 Thread Kensuke Matsuzaki
to clean-up, debug and test more. But I want to know direction of this patch before. How do you think? 1. Add -internalwm option? (more better naming?) 2. Replace -rootless and -multiwindow with this. or something else. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp internalwm

Re: re : Re: Fwd: Minimal replacement for Exceed

2004-10-29 Thread Kensuke Matsuzaki
If you don't need full Cygwin and latest version, coLinux people create minimum package. I don't use this, and I don't know well. Maybe it is worth looking at. http://www.colinux.org/wiki/index.php/XCoLinux http://www.digitalfire.co.za/index.php?page=18 -- Kensuke Matsuzaki mailto:[EMAIL

Re: Crash in when running Evolution

2004-10-18 Thread Kensuke Matsuzaki
Hi, -clipboard uses pthread, and that causes many many SEGV too. (gdb) handle SIGSEGV nostop noprint doesn't let gdb stop and print SEGV. But I'm using bit dirty workaround to ignore only IsBadWritePtr. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp segv.diff Description

Re: -clipboard xwinclip -nounicodeclipboard

2004-09-21 Thread Kensuke Matsuzaki
Hi, This patch will fix that problem. BTW, should I commit to CYGWIN branch or trunk? Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp clipboard.diff Description: Binary data

Re: Fw: 1.5.10: startx hangs intermittently

2004-06-05 Thread Kensuke Matsuzaki
Jerry and Jesper, Is /tmp binmode or textmode? How about mount -b c:/cygwin/tmp /tmp? Kensuke Matsuzaki

Re: Is it somehow possible to start Windows applications from xterm so that they remain in X-Server area?

2004-05-31 Thread Kensuke Matsuzaki
.dion.ne.jp/~sawanaka/peace/ Screenshot of 'Mine Sweeper' on X http://www.d1.dion.ne.jp/~sawanaka/peace/winmine.jpg It has not been update since March 16, 2003. Kensuke Matsuzaki

Re: QT menus don't work

2004-04-17 Thread Kensuke Matsuzaki
Hi, Because of several reasons, overridden window become active. This patch fixs that. But this confuses order of top most windows. zakki -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp x.diff Description: Binary data

Re: GDI leak fixed in multiwindow mode, thanks to Kensuke's work

2004-04-15 Thread Kensuke Matsuzaki
error and GDI leaks. MWExtWM's windows cursor and sizing/moving window improvement may be able to apply to multiwindow mode. Kensuke Matsuzaki -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Unable to hide window manager decorations.

2004-04-11 Thread Kensuke Matsuzaki
Dave, New package xwinwm-0.0.5 can understand some MWM hint and EWMH, so it can hide window manager decorations. But it's experimental and unstable. Kensuke Matsuzaki -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Copy and paste problem in 4.3.0-42

2004-01-19 Thread Kensuke Matsuzaki
Øyvind, xwinclip and -clipboard don't support INCR. Someone need to write INCR related code. http://www.cygwin.com/ml/cygwin-xfree/2003-10/msg00065.html -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Crash in xserv 4.3.0-40

2004-01-14 Thread Kensuke Matsuzaki
Hi, If you are using -rootless, please use -pseudorootless instead of -rootless. -rootless means new rootless that uses miext/rootless. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Problem copying unicode chars

2004-01-12 Thread Kensuke Matsuzaki
/Xutf8TextPropertyToTextList convert Compound text to UTF-8. Could you send Norwegian mail to me? I want to test using evelution. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Problem copying unicode chars

2004-01-12 Thread Kensuke Matsuzaki
Øyvind, Now I can reproduce your problem. Maybe you use $ LANG=C evolution So run evulution in Norwegian locale, no problem. $ LANG=no_NO evolution -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: XFree86-xserv-4.3.0-38 Request for Test Results

2004-01-12 Thread Kensuke Matsuzaki
Walter and Harold, FormatMessage translates. MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) should be MAKELANGID(LANG_ENGLISH,SUBLANG_ENGLISH_US) by the thought of sending log. I thought it is better for user to read. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Problem copying unicode chars and linefeeds in Evolution

2004-01-12 Thread Kensuke Matsuzaki
How about LANG=no_NO.UTF-8 ? -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: XFree86-xserv-4.3.0-33 release pending

2004-01-08 Thread Kensuke Matsuzaki
). With -nounicodeclipboard, unicode apps fail. And without it, non-unicode apps fail. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: XFree86-xserv-4.3.0-33 release pending

2004-01-08 Thread Kensuke Matsuzaki
, and other version XWin have same problem. Maybe no problem with -nounicodeclipboard option. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: X11 Selections

2004-01-04 Thread Kensuke Matsuzaki
going to release the solution to problem #1 in the mean time. I am not sure that we will ever deem it worth the time and effort to solve problem #2. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: X11 Selections

2004-01-04 Thread Kensuke Matsuzaki
, Unicode and locale encoding. lib/X11/lc*.c contain those code. Maybe some part of those conversion can be done by iconv. But as far as I know, gnu libiconv doesn't supprot compound text. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: window decoration for multiwindow mode

2004-01-03 Thread Kensuke Matsuzaki
now EWMH compliance's priority is not high for me. Test version is here. http://peppermint.jp/products/x/xwinwm-0.0.1.tar.gz -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: Books for development?

2003-12-26 Thread Kensuke Matsuzaki
Hello, BTW, do you know good book on X protocol and Xlib? I have some book on KDE and Qt, but I can't find book about low-level X. -- Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp

Re: XWin: losing focus; killing it

2003-12-22 Thread Kensuke Matsuzaki
need to This is a windows functionality. But you might suppress that by starting xwin minimized (maybe cygstart does this) Kensuke Matsuzaki mailto:[EMAIL PROTECTED] http://peppermint.jp x.diff Description: Binary data

Re: [Xoncygwin-cvs] CVS Update: cygwin-xfree-doc (branch: trunk)

2003-12-08 Thread Kensuke Matsuzaki
Alexander, It seems like new rootless code were partly overwritten by old code, and Neither New and old rootless mode does't work. Kensuke Matsuzaki

[PATCH] backport from integrated clipboard

2003-10-28 Thread Kensuke Matsuzaki
Hi, How about using xwinclip insted of -clipboard? This patch is backport that fix crash with large text, enable non-ascii copy and paste, and add -nounicodeclipboard. Kensuke Matsuzaki xwinclip.diff.bz2 Description: Binary data

[PATCH] Generic rootless

2003-10-21 Thread Kensuke Matsuzaki
Harold, The old rootless mode is replaced new rootless mode which use generic rootless library. And a problem that redrawing fails after window resizing is fixed. Kensuke Matsuzaki win32rootless-20031022-1414.patch.bz2 Description: Binary data

Re: Generic rootless

2003-10-20 Thread Kensuke Matsuzaki
Harold, Okay, I got it to build and run. It is very nice. Good. What you think about renaming old '-rootless'to '-oldrootless' and calling the new '-win32rootless' just '-rootess'? I think that's good, and acutually I wont to do so. Kensuke Matsuzaki

Generic rootless

2003-10-19 Thread Kensuke Matsuzaki
raise top in Windows but it stay previous position in X. I don't know how to avoid clicking Windows window raise window. Kensuke Matsuzaki rootless.tar.bz2 Description: Binary data

Re: Generic rootless

2003-10-19 Thread Kensuke Matsuzaki
features. I will read it. I want someone who is familiar with XDarwin to comment. By the way, Greg Parker's xroot.c is very useful when I use rootless mode. http://sealiesoftware.com/ Kensuke Matsuzaki Imakefile.patch Description: Binary data

[PATCH] Copy/Paste non-ascii characters

2003-10-12 Thread Kensuke Matsuzaki
. char pszCountry[128]; char pszLanguage[128]; int nAcp = GetACP (); GetLocaleInfo (LOCALE_SYSTEM_DEFAULT, LOCALE_SENGCOUNTRY, pszCountry, 128); GetLocaleInfo (LOCALE_SYSTEM_DEFAULT, LOCALE_SENGLANGUAGE, pszLanguage, 128); printf (%s_%s.%d\n, pszLanguage, pszCountry, nAcp); Kensuke

Re: Using nls/locale.alias [ago please comment]

2003-10-12 Thread Kensuke Matsuzaki
text to be encoded by current locale encoding. XmbTextPropertyToTextList's output text is encoded using current locale encoding. setlocale set those data, and it look at LC_CTYPE or LANG if second parameter of setlocale is . Xutf8* use UTF-8 encoding so they work without LANG/LC_CTYPE. Kensuke

Re: CTEXT conversion patch

2003-10-12 Thread Kensuke Matsuzaki
-0400, Harold L Hunt II wrote: Kensuke, Kensuke Matsuzaki wrote: And it seems tha libX11 has some CTEXT convertion bug, I attach patch that based on TAKABE's work. http://www.ff.iij4u.or.jp/~t-takabe/xf410_xim_fix.diff Could you send me more information on this? Please describe

[PATCH] Copy and Paste with iconv

2003-10-09 Thread Kensuke Matsuzaki
characters because of Han Unification. This patch fix this problem. For example, I use following command line option on Windows XP. LANG=ja_JP.eucJP XWin -clipboard -nounicodeclipboard -winencoding SHIFT_JIS -xencoding EUC-JP Test on other language environment and 9x platform needed. Kensuke

Re: [PATCH] Copy and Paste with iconv

2003-10-09 Thread Kensuke Matsuzaki
that is specified by locale must be same. So if there were way to get encoding from locale date,it is better. It seems that nl_langinfo dosen't work. Any other ideas? Hmm. I will dig deep into this. Kensuke Matsuzaki

Re: Weird keyboard behavior with Caps Lock key

2003-10-06 Thread Kensuke Matsuzaki
Language German. If this works on non-Japenese Windows, following code do this automatically. LoadKeyboardLayout (0409, KLF_ACTIVATE); Kensuke Matsuzaki

Re: -clipboard crash with large amount of text

2003-10-06 Thread Kensuke Matsuzaki
Harold, I misunderstod Xutf8TextPropertyToTextList return value and meaning of iCount. This attached patch will prevent crash. To transfer large amount of text they use incrementally way called INCR, so we need to support it to copy/paste large amount of text. Kensuke Matsuzaki clipboard.diff

Re: Japanese keyboard auto-detection

2003-09-22 Thread Kensuke Matsuzaki
. I inserted following workaround into end of WM_KEYDOWN handler if (iScanCode == KEY_CapsLock) winSendKeyEvent (KEY_CapsLock, FALSE); then CapsLock work well. But perhaps it is not smart. Does anyone know good solution? Kensuke Matsuzaki

Re: multiwindow + XDMCP + X0.hosts == crash

2003-06-28 Thread Kensuke Matsuzaki
I can't reproduce that bug. Please send /tmp/XWin.log Kensuke Matsuzaki

Re: two monitors

2003-06-27 Thread Kensuke Matsuzaki
vlad, Run XWin with -multiplemonitors option. Kensuke Matsuzaki

Re: Clipboard functionality under xdmcp

2003-06-13 Thread Kensuke Matsuzaki
James, Please read follow mail. http://sources.redhat.com/ml/cygwin-xfree/2003-05/msg00197.html Kensuke Matsuzaki

Re: two new -multiwindow bugs

2003-03-20 Thread Kensuke Matsuzaki
XWin set window title when that window is shown, and never update. So -T option works, PROMPT_COMMAND doesn't work. Kensuke Matsuzaki

Re: [ANNOUNCEMENT] Server Test 79

2003-03-17 Thread Kensuke Matsuzaki
Gerard, I do indeed use Alt-Tab to switch windows, with mwm I was/am using ctrl-tab. Don't start window manager. Multiwindow mode X server contains window manager. The log contains hundredths of winOrderWindowsMultiWindow lines. Sorry, I made a mistake. It must be #ifdef out. Kensuke

Re: [ANNOUNCEMENT] Server Test 79

2003-03-13 Thread Kensuke Matsuzaki
. Kensuke Matsuzaki

Re: [Patch] Multiwindow mode

2003-03-12 Thread Kensuke Matsuzaki
Harold, Yes, that's correct. Kensuke Matsuzaki

Re: [ANNOUNCEMENT] Server Test 76

2003-01-28 Thread Kensuke Matsuzaki
Hi, It seems that _Xsetlocale is not re-entrant. And I think we need to call _Xsetlocale once for each process, not each thread. Kensuke Matsuzaki

Re: Crash on startup - debugging info

2003-01-19 Thread Kensuke Matsuzaki
Harold, It seems that http://sources.redhat.com/ml/cygwin/2001-12/msg00395.html is related to the second problem. Kensuke Matsuzaki

Multiwindow mode authorization bug

2003-01-17 Thread Kensuke Matsuzaki
Geert, Multiwindow mode connects X server as X client. So XDMCP does'nt work. Kensuke Matsuzaki

Re: [ANNOUNCEMENT] Server Test 71

2003-01-15 Thread Kensuke Matsuzaki
Harold, My previous patch is for menu problem, not segv. It sends ConfigureNotify event for clients when window move. Kensuke Matsuzaki

Re: multiwindow segmentation fault

2003-01-14 Thread Kensuke Matsuzaki
Harold, I see. Sorry, I can't find what makes segv yet. Kensuke Matsuzaki

Re: [ANNOUNCEMENT] Server Test 70

2003-01-13 Thread Kensuke Matsuzaki
In multiwindow mode, don't start window manager. We must write code that behave as window manager, but I have not done yet. By the way, I made X Server move/resize window, instead of window manager. But changing z-order of window is still in X client side, that will cause problems. Kensuke

Re: [ANNOUNCEMENT] Server Test 70

2003-01-13 Thread Kensuke Matsuzaki
J S, It is reply for Yadin. I am checking code, but I have not understood what cause seg fault. Please wait. Kensuke Matsuzaki

Re: [ANNOUNCEMENT] Server Test 70

2003-01-13 Thread Kensuke Matsuzaki
J S, It seems that XWin.exe released by Harold doesn't print messages like 10104218:winCreateWindowMultiWindow. Did you compile it your self? Kensuke Matsuzaki

Re: [ANNOUNCEMENT] Server Test 70

2003-01-13 Thread Kensuke Matsuzaki
Hi, This is patch for that problem. Kensuke Matsuzaki --- ./winmultiwindowwindow.c2003-01-12 12:36:45.0 +0900 +++ ../old/winmultiwindowwindow.c 2003-01-14 10:59:18.0 +0900 @@ -17,6 +17,9 @@ static XID winGetWindowID(WindowPtr pWin); +static void

Re: Multiwindow mode

2003-01-11 Thread Kensuke Matsuzaki
Harold, I wraped debug code with #if CYGMULTIWINDOW_DEBUG out, and defined CYGMULTIWINDOW_DEBUG in winwindow.h. Kensuke Matsuzaki multiwindow.tar.bz2 Description: Binary data

Multiwindow mode

2002-12-24 Thread Kensuke Matsuzaki
, it waits a minutes to ignores continuously message and only processes move to point B when it receive WM_MOVE. Kensuke Matsuzaki multiwindow.tar.bz2 Description: Binary data

Re: Rootless mode

2002-12-04 Thread Kensuke Matsuzaki
and the window manager. Kensuke Matsuzaki rootless.patch.bz2 Description: Binary data

Re: [ANNOUNCEMENT] Server Test 68

2002-10-26 Thread Kensuke Matsuzaki
to winMapWindowPRootless/winUnmapWindowPRootless. Kensuke Matsuzaki