es via internal
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
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 de
_CYGWIN__ -D_XOPEN_SOURCE ...
So, if use 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
[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
(Bhttp://cygwin.com/cgi-bin2/package-cat.cgi?file=xorg-x11-libs-data%2Fxorg-x11-libs-data
[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
ed this previously 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
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
Hi.
In Xserver/Imakefile, you will find following line.
XWINW32 = -lgdi32 -lwsock32 $(XWINGL32) $(PTHREADLIB)
Add -lmsimg32. And make Makefile make Makefiles.
Bye
Kensuke Matsuzaki
mode.
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
> 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
(B
| XIM_COMMIT |
| | |<-|
| | | |
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
| | | |
This causes problem #1 and #2.
Any idea?
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
50104-0223.tar.bz2
http://peppermint.jp/image/2005_01_01.png
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
e program supports CTEXT or UTF_STRING, you can use any locale.
(And xterm, emacs, mozilla etc supports CTEXT)
If you use programs that use only XA_STRING in UTF-8 locale, maybe copy and
pasted multibyte text will broken. But gtk and qt supports CTEXT, so a few
program have problem.
zakki
--
Kensuke Matsuz
order.
*/
winReorderWindowsMultiWindow ();
I can't remember in detail, but someone did that to fix some problem.
zakki
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
Also a bug list at https://bugs.freedesktop.org/
zakki
> 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
ransport can
improve Cygwin/X performance.
What do you think?
zakki
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
wextwm. I have to write winshadrootless?
Thanks in advance.
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
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?
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.
--
Ke
on the code.
It seems no problem. I remember 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.1&root=xorg&sortby=date&r2=1.1.4.1.2.1&only_with_tag=CYGWIN
Thank you.
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
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 Matsuzak
ve 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
inter
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
s
Hi,
pthread mutex functions check pointer, so with -multiwindow causesinfinit segv.
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
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
Jerry and Jesper,
Is /tmp binmode or textmode?
How about "mount -b c:/cygwin/tmp /tmp"?
Kensuke Matsuzaki
se use online translation :)
http://www.d1.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
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
tested off-by-one 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
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
Ø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
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
How about LANG=no_NO.UTF-8 ?
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
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
Ø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
t seems that letter vanish
when winclipboardxevents.c/SelectionNotify/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
t; save it.
This is different problme that I said, and other version
XWin have same problem.
Maybe no problem with -nounicodeclipboard option.
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
unicode(Meadow, Hidemaru etc)
Either of those two fail in my environment(Windows XP).
With -nounicodeclipboard, unicode apps fail. And without it, non-unicode apps
fail.
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
pound text, UTF-8, 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
to remove these
> two dependencies, so I am 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
). So 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
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
&only_with_tag=CYGWIN&sortby=date
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp
-display localhost:0.0
> > but I find that after "XWin ..." the console loses focus and I 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
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
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
Hi,
Even if I use X-Win32 and eXcursion trial version, I can't input using
keyboard when mouse cursor is not on xterm.
And remote xterm is all right.
So perhaps this problem depends on client side.
Kensuke Matsuzaki
Gerrit,
By the way, _Xsetlocale works only when category is LC_CTYPE or LC_ALL.
Otherwise it do nothing but return NULL.
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
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
ke skin.
Their site say new v0.9 have many new 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
hat window 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
;t know his mail address.
At Sun, 12 Oct 2003 23:05:57 -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.f
e is "".
Xutf8* use UTF-8 encoding so they work without LANG/LC_CTYPE.
Kensuke Matsuzaki
uot;, pszLanguage, pszCountry, nAcp);
Kensuke Matsuzaki
clipboard_mb.diff
Description: Binary data
X11.diff
Description: Binary data
ding and encoding 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
other CJK 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
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
f I set default
Input Language German.
If this works on non-Japenese Windows, following code do this
automatically.
LoadKeyboardLayout ("0409", KLF_ACTIVATE);
Kensuke Matsuzaki
ts in MSDN.
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
I can't reproduce that bug.
Please send /tmp/XWin.log
Kensuke Matsuzaki
vlad,
Run XWin with -multiplemonitors option.
Kensuke Matsuzaki
Paul,
Multiwindow mode uses Shadow GDI engine.
If you have same problem with "-engine 1" option, that originates in shadow
GDI engine.
Kensuke Matsuzaki
James,
Please read follow mail.
http://sources.redhat.com/ml/cygwin-xfree/2003-05/msg00197.html
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
e a mistake. It must be #ifdef out.
Kensuke Matsuzaki
you are correct. A window manager isn't needed.
Kensuke Matsuzaki
Harold,
Yes, that's correct.
Kensuke Matsuzaki
Hi,
This patch fix problems that related window focus.
The focus switching rapidly
Tweak UI X-Mouse problem
Kensuke Matsuzaki
multiwindow_focus.patch
Description: Binary data
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
Harold,
If X_LOCALE defined, "#define setlocale _Xsetlocale" in Xlocale.h,
so #ifdef X_LOCALE isn't needed. Sorry.
Kensuke Matsuzaki
Harold,
It seems that
http://sources.redhat.com/ml/cygwin/2001-12/msg00395.html
is related to the second problem.
Kensuke Matsuzaki
Geert,
Multiwindow mode connects X server as X client.
So XDMCP does'nt work.
Kensuke Matsuzaki
Harold,
My previous patch is for menu problem, not segv.
It sends ConfigureNotify event for clients when window move.
Kensuke Matsuzaki
Harold,
I see.
Sorry, I can't find what makes segv yet.
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
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
J S,
It is reply for Yadin.
I am checking code, but I have not understood what cause seg fault.
Please wait.
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.
Ke
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
Hi,
This patch solve a problem another way.
X Server move/resize window. instead of window manager.
Perhaps this patch is smarter than a previous patch.
Kensuke Matsuzaki
multiwindow.tar.bz2
Description: Binary data
In this path, 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
ied version of the XWin.exe binary and replacing my
> current "XWin -rootless" line with "XWin2 -multiwindow" in the startx
> script?
Yes.
Kensuke Matsuzaki
n and the window manager.
Kensuke Matsuzaki
rootless.patch.bz2
Description: Binary data
e rootless mode,
so those who are interested, please help.
Kensuke Matsuzaki
rootless.tar.bz2
Description: Binary data
Perhaps "XOpenDisplay" connects to X server and waits
for reply. But X server is blocked by "XOpenDisplay",
so it can't do anything, and hang up.
I integrated window manager to X server for rootless
mode at the trial. At that time I had same problem.
Creating X client t
ve code to winMapWindowPRootless/winUnmapWindowPRootless.
Kensuke Matsuzaki
89 matches
Mail list logo