Re: Trying to build rc4 for MacOS, having problems with libpng, libjpeg, etc.

2008-06-09 Thread Thomas Kho
On Mon, Jun 9, 2008 at 12:38 PM, Timothy Normand Miller <[EMAIL PROTECTED]> wrote: > Hi. I'm trying to build rc4 for MacOS (Leopard), > and I'm running into some problems, and I hope I'm not a bother to ask > for some help. > > When I do ./configure, I get the following messages: > > onfigure: WAR

Re: Wine Profiling

2008-06-08 Thread Thomas Kho
On Sun, Jun 8, 2008 at 11:23 AM, Stephen Eilert <[EMAIL PROTECTED]> wrote: > Are there any specific procedures or utilities to instrument and > generate profiling reports? This is indirectly related to your question, but I'd really love to see better DTrace support for Windows applications running

Re: no test structure in place for wine programs

2008-04-23 Thread Thomas Kho
On Wed, Apr 23, 2008 at 3:11 PM, Dan Kegel <[EMAIL PROTECTED]> wrote: > Darren wrote: > > Should I try to take the dll test structure (mainly just the > > dlls/Maketest.rules.in file) and port this into the programs area? > > > > or is that overboard for that area? > > It's something we need e

Re: Executing wine over make segfaults.

2006-10-29 Thread Thomas Kho
On 10/29/06, Jimmy W <[EMAIL PROTECTED]> wrote: I got a simple problem, that got really hard to fix. I am trying to cross-compile stuff over a Makefile with ms compiler. Problem is that when make are executing wine as a command, wine segfaults. An example: # wine --version Works! But: Mak

Re: Possible fix idea for NtProtectVirtualMemory

2006-10-10 Thread Thomas Kho
On 10/10/06, Segin <[EMAIL PROTECTED]> wrote: It took some good hydro from Holland and about 6 hours of trying to write a program that could syncronize multiple instances of itself using IPC and signals (so it could run on Minix 3, where pthreads sadly doesn't exist, so it was a threading hack of

Re: Time to commit remote ops for VirtualAllocEx, CreateRemoteThread

2006-08-04 Thread Thomas Kho
On 8/4/06, Alexandre Julliard <[EMAIL PROTECTED]> wrote: "Dan Kegel" <[EMAIL PROTECTED]> writes: > Tommy's APC version of his > VirtualAllocEx / CreateRemoteThread patch > seems to be safe (since APCs only run a points where threads > in well-written programs are not holding locks), Unfortunate

Re: ntdll: CreateRemoteThread and friends for remote processes, take 3, via APCs

2006-08-03 Thread Thomas Kho
On 8/3/06, Thomas Kho <[EMAIL PROTECTED]> wrote: On 8/3/06, Mike Hearn <[EMAIL PROTECTED]> wrote: > Just one thing - can you try > it with something copy protected? I think some programs rely on being able > to CreateRemoteThread into a program that runs all the time and nev

Re: ntdll: CreateRemoteThread and friends for remote processes, take 3, via APCs

2006-08-03 Thread Thomas Kho
On 8/3/06, Mike Hearn <[EMAIL PROTECTED]> wrote: Just one thing - can you try it with something copy protected? I think some programs rely on being able to CreateRemoteThread into a program that runs all the time and never sleeps (eg games that try and get the highest FPS possible). Do you know

ntdll: CreateRemoteThread and friends for remote processes, take 3, via APCs

2006-08-03 Thread Thomas Kho
5-3-421246.html Lastly, I should mention that I have two pending patches to add conformance tests for remote processes operations: http://www.winehq.org/pipermail/wine-patches/2006-July/029259.html http://www.winehq.org/pipermail/wine-patches/2006-July/029260.html Thanks, Thomas Kho --- in

ntdll: CreateRemoteThread and RtlCreateUserThread for remote processes, take 2

2006-08-01 Thread Thomas Kho
? Thomas Kho --- dlls/kernel/thread.c | 42 +- dlls/ntdll/Makefile.in |1 dlls/ntdll/loader.c|1 dlls/ntdll/ntdll.spec |4 + dlls/ntdll/ntdll_misc.h| 73 +++ dlls/ntdll/server.c|3 dlls/ntdll/service.c

Re: wcmd: strip quotes around executable and retry on error

2006-07-24 Thread Thomas Kho
On 7/21/06, Francois Gouget <[EMAIL PROTECTED]> wrote: On Tue, 11 Jul 2006, Thomas Kho wrote: [...] > A fake notepad.exe is currently created in c:\windows\system32. I > don't think there's duplication of CreateProcess because CreateProcess > considers the filename of

Re: ntdll: enable CreateRemoteThread and RtlCreateUserThread for remote processes

2006-07-17 Thread Thomas Kho
thread. Both threads continue and any contention would be handled in the already thread-safe manner. Thomas Kho

ntdll: enable CreateRemoteThread and RtlCreateUserThread for remote processes

2006-07-14 Thread Thomas Kho
ludes addressing the FIXMEs sprinkled in the patch and adding the ifdefs to make sure the code path is only turned on in Linux/x86 systems. Thomas Kho --- dlls/kernel/kernel32.spec |3 + dlls/kernel/thread.c | 168 dlls/ntdll/thr

Re: wcmd: strip quotes around executable and retry on error

2006-07-11 Thread Thomas Kho
On 7/11/06, Robert Shearman <[EMAIL PROTECTED]> wrote: Thomas Kho wrote: > On 7/6/06, Thomas Kho <[EMAIL PROTECTED]> wrote: > >> wcmd: strip quotes around executable and retry on error >> wcmd currently gives a 'File not found' error for the comma

Re: wcmd: strip quotes around executable and retry on error

2006-07-11 Thread Thomas Kho
On 7/6/06, Thomas Kho <[EMAIL PROTECTED]> wrote: wcmd: strip quotes around executable and retry on error wcmd currently gives a 'File not found' error for the command: `./wine wcmd /c "notepad test.txt"` because it only tries to execute the program "notepad t

Re: Link or rename wcmd.exe to cmd.exe?

2006-07-06 Thread Thomas Kho
On 7/1/06, Alexandre Julliard <[EMAIL PROTECTED]> wrote: "Thomas Kho" <[EMAIL PROTECTED]> writes: > I'm currently looking into what would be required for something like a > symlink to wcmd.exe, but at the same time I'm wondering the historical > reason

Re: [PATCH 10/11] server: add calls to get/set menu item info

2006-07-05 Thread Thomas Kho
On 6/30/06, H. Verbeet <[EMAIL PROTECTED]> wrote: On 30/06/06, Thomas Kho <[EMAIL PROTECTED]> wrote: > I'm not 100% clear what the problem is. My interpretation of your > first email was that there was a necessary distinction in type between > user/gdi handles as stored

Re: Link or rename wcmd.exe to cmd.exe?

2006-07-05 Thread Thomas Kho
stance of cmd.exe in Windows does not open a new console window--using an existing console, be it unix or dos, seems to be the right thing to do. Thomas Kho

Link or rename wcmd.exe to cmd.exe?

2006-06-30 Thread Thomas Kho
* interactive use (which is what most programs look in COMSPEC * for). */ I'm currently looking into what would be required for something like a symlink to wcmd.exe, but at the same time I'm wondering the historical reasons for choosing 'wcmd' and if it should be changed to just 'cmd'. Thomas Kho

Re: [PATCH 10/11] server: add calls to get/set menu item info

2006-06-30 Thread Thomas Kho
On 6/30/06, Robert Shearman <[EMAIL PROTECTED]> wrote: Thomas Kho wrote: > On 6/30/06, Robert Shearman <[EMAIL PROTECTED]> wrote: > >> Thomas, can you regenerate this patch using "void *" for bmpitem (or >> perhaps add a new gdi_handle_t type)? > >

Re: [PATCH 10/11] server: add calls to get/set menu item info

2006-06-30 Thread Thomas Kho
On 6/30/06, Robert Shearman <[EMAIL PROTECTED]> wrote: Thomas, can you regenerate this patch using "void *" for bmpitem (or perhaps add a new gdi_handle_t type)? I'll add the gdi_handle_t type and resubmit two patches (I caught another use in the menu struct). Tommy

Re: [PATCH 2/3] server: add calls to get/set menu info

2006-06-28 Thread Thomas Kho
On 6/19/06, Robert Shearman <[EMAIL PROTECTED]> wrote: This needs to be cleaned up a lot more before it will be accepted. For a start, the members of this structure need to be cleaned up. Some of the members of the POPUPMENU structure are for keeping track of the menu while it's in use (bTimeToH

Variable sized server replies

2006-06-23 Thread Thomas Kho
s the reply would be callee-allocated, caller-freed (or perhaps we could take advantage of SERVER_END_REQ?). However, it seems kind of natural to have the request process parallel the reply process. Is there another alterative? Any comments on which approach is better? Thomas Kho

Handles to unix executables exec'd with CreateProcess()

2006-04-29 Thread Thomas Kho
It seems that it is not currently possible to get the exit code of a unix program executed with _wspawnv(_P_WAIT, [unix app], [args]) because CreateProcess() does not return a handle to the new process. _wspawnv() uses the handle to WaitForSingleObject() the end of execution and also needs it to G

Re: user: Extend menu conformance test

2006-04-28 Thread Thomas Kho
On 4/27/06, Mike McCormack <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > This patch adds a test to the menu conformance test to point out some bugs. I > submitted a patch earlier that contained both this test and three fixes; I'm > redoing it piecemeal this time. I think splitting it u

Re: user: Fix disabled menu item behavior

2006-04-14 Thread Thomas Kho
On 4/14/06, Dan Kegel <[EMAIL PROTECTED]> wrote: > Tommy Kho wrote: > >This patch changes the behavior of selecting greyed out menu items via > >accelerator key. Wine currently keeps the menu open; Windows closes the menu. > > ... > > else > >+{ > > pmt->hCurrentMenu = MENU_ShowSubPop

Re: [patch] riched20 conformance test

2006-01-24 Thread Thomas Kho
On Fri, 20 Jan 2006 11:23:40 +0900, "Mike McCormack" <[EMAIL PROTECTED]> said: > If you're submitting the patch, make sure to send it to > [EMAIL PROTECTED] as that's the only place that patches will be > picked up from. Will do with this (smaller) patch! > * You linked the test with "riched20

winsock conformance test - added tests for sendto, recvfrom, and getservbyname

2005-03-15 Thread Thomas Kho
/socket.c After: 46.38% of file dlls/winsock/socket.c http://hkn.icsl.ucla.edu/~tom/socket_c_2.gcov.txt We'd also appreciate other targets to test. Thanks for your help, Thomas Kho Files available at: http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/wine4/wine/dlls/winsock/tests/ Changelog:

Addition to winsock conformance test - select() server

2005-03-09 Thread Thomas Kho
% of 1839 lines executed in file socket.c After (select() server code): 41.16% of 1839 lines executed in file socket.c http://hkn.icsl.ucla.edu/~tom/socket.c.gcov.txt We'd also appreciate other targets to test. Currently we plan to add tests for sendto, recvfrom, and getservbyname. Thanks for yo

wsock32 conformance test

2005-02-25 Thread Thomas Kho
Thanks for your help, Thomas Kho cc: Fredy Garcia, Douglas Rosenberg (group members) Files available at: http://www.geekymedia.com/viewcvs/cgi/viewcvs.cgi/wine4/wine/dlls/wsock32/tests/ wsock32_test.patch Description: Binary data