Re: epoll patch - status?

2004-09-09 Thread Shachar Shemesh
Mike McCormack wrote: I mean I've allocated an array of 10 struct epoll_events to receive events from epoll, and I plan to dynamically allocate it later. I have greater plans for wineserver :-) As part of those plans, I'm going to ask some kernel gurus whether that's strictly necessary. If it's

Re: epoll patch - status?

2004-09-09 Thread Shachar Shemesh
Mike McCormack wrote: Shachar Shemesh wrote: Read the comment in the appropriate section of my code. You have a race here that will crash you occasionally. Fixed. Ahmm. I'm not so sure. Did you also handle the case where 1, 2 and 3 were flagged, 1 releases 3, and 2 asks for a new fd and receives

Re: epoll patch - status?

2004-09-09 Thread Mike McCormack
Shachar Shemesh wrote: +r = epoll_ctl( epoll_fd, EPOLL_CTL_DEL, fd, eev ); +assert( 0 == r ); This assert still depends on the removal semantics. If it's ok for the users to close the Unix fd before removing it from the poll array, you may find that it's already gone and the assert

Re: Settlers 3: bug in NTDLL_get_server_timeout??

2004-09-09 Thread Stefan Dösinger
This may be a DDraw issue... A WINEDEBUG=+ddraw log enclosed in a Bugzilla bug report would be nice. It looks like wine draws the usual decorations around the game's window(Desktop mode). *The mouse always moves back to the center of the screen. And this is a DInput. Same as for the image

Re: UltimaOnLine: X11DRV_CritSection deadlock

2004-09-09 Thread Diego 'Flameeyes' Pettenò
Lionel Ulmer wrote: When you say 'idle for some time', you are sure that the screensaver does not kick in ? I've no screensaver at all, I set the monitor to dpms when I'm idle for 20 minutes. And sometimes the problem is before the monitor goes stand by. It seems that Wine crashed somewhere

Re: epoll patch - status?

2004-09-09 Thread Mike Hearn
Mike Hearn addressed the need for a repository of uncommitted patches. Sounds like the sort of thing I would have said, yes. I never set up such a list though. Maybe I should bug Jeremy for a Wiki again :)

Re: dinput axis mapping and format mapping patch

2004-09-09 Thread Mike Hearn
No, the keys will be moved, so that we can handle the transition properly. OK, but why do the keys have to be copied across. What's wrong with: if (config file is present !key exists(HKLM/Software/Wine/Wine)) { mount config at( HKLM/TempWineConfig ) copy tree( HKLM/TempWineConfig

RE: Battlefield 1942 d3d8 crash

2004-09-09 Thread Ann and Jason Edmeades
Hiya, Just an fyi - I installed it and gave it a try. The first problem (the one you mentioned) is easily solved by commenting out the hide and show calls around the setwindowpos. This may be the real fix - The problem is the app has a default window proc which is receiving a window activated

Re: dlls/winsock/socket breakage

2004-09-09 Thread Roderick Colenbrander
Hi, The problem is like this. In case of the ipx protocol you can select different ipx types of ipx packets. On linux there's an entry in the sockaddr_ipx struct in which you can change and further you can change it at the ipx socket level using that SOL_IPX stuff. I wasn't aware that this

Re: edit control

2004-09-09 Thread Robert Shearman
Ulrich Czekalla wrote: ChangeLog: Ulrich Czekalla [EMAIL PROTECTED] Allow copying selection when control is read only Index: dlls/user/edit.c

Re: Settlers 3: bug in NTDLL_get_server_timeout??

2004-09-09 Thread Vincent Béron
Le jeu 09/09/2004 à 03:49, Stefan Dösinger a écrit : This may be a DDraw issue... A WINEDEBUG=+ddraw log enclosed in a Bugzilla bug report would be nice. It looks like wine draws the usual decorations around the game's window(Desktop mode). Desktop mode puts all windows inside another

Re: edit control

2004-09-09 Thread Ulrich Czekalla
Yeah, not all of it does. This cleans it up. Thanks, /Ulrich On Thu, Sep 09, 2004 at 02:39:13PM +0100, Robert Shearman wrote: That read-only check looks completely bogus to me as the code below already checks for ES_READONLY. Index: dlls/user/edit.c

Re: dlls/winsock/socket breakage

2004-09-09 Thread Roderick Colenbrander
I made some more progress with the fix but I'm not fully sure how it works. I checked the freebsd source code to figure out how it works. Compared to the linux source the code was very complicated as in linux there's a special ipx setsockopt option and so on. We have to pass SO_DEFAULT_HEADERS

dlls/winsock/socket breakage

2004-09-09 Thread Gerald Pfeifer
The following change revision 1.155 date: 2004/09/07 20:47:03; author: julliard; state: Exp; lines: +113 -0 Roderick Colenbrander [EMAIL PROTECTED] - set ipx packet type - add support for retrieving some ipx info breaks FreeBSD 4.10 quite a bit: /sw/gcc-3.3.4/bin/gcc -c -I. -I.

RE: modal dialog: Wait until message queue runs dry before calling ShowWindow()

2004-09-09 Thread Zach Gorman
Yes, the test code is on its way. These patches are all from a few weeks ago, but Alexandre asked me to break them up into multiple smaller patches. I tested them with the latest tree and they seem to still work fine. Zach -Original Message- From: Mike McCormack [mailto:[EMAIL

Re: dinput axis mapping and format mapping patch

2004-09-09 Thread Alexandre Julliard
Mike Hearn [EMAIL PROTECTED] writes: OK, but why do the keys have to be copied across. What's wrong with: if (config file is present !key exists(HKLM/Software/Wine/Wine)) { mount config at( HKLM/TempWineConfig ) copy tree( HKLM/TempWineConfig to HKLM/Software/Wine/Wine ) }

Linking with winelib

2004-09-09 Thread Nikolay A. Liber
Hello I am using winelib with Mono hack to load windows DLL into python module. There is a dummy function wine_pthread_init_thread in libwine.so. wine_pthread_init_thread implemented in winelib.so.exe from mono shared winelib. I link module. gcc -shared mymodule.so module_code.o -lwine

Re: Linking with winelib

2004-09-09 Thread Dimitrie O. Paun
On Sat, Sep 11, 2004 at 04:13:30AM +0600, Nikolay A. Liber wrote: Hello I am using winelib with Mono hack to load windows DLL into python module. There is a dummy function wine_pthread_init_thread in libwine.so. wine_pthread_init_thread implemented in winelib.so.exe from mono shared