Re: Fix for MoveFileExA

2002-01-31 Thread Aric Stewart
My turn to chime in, I have done a fair bit of reboot processing stuff.. first here is what msdn says If the dwFlags parameter specifies MOVEFILE_DELAY_UNTIL_REBOOT, MoveFileEx stores the locations of the files to be renamed at reboot in the following registry value:

Compilation errors for Freetype support

2002-01-31 Thread Andriy Palamarchuk
Trying to compile today's Wine I get errors: freetype.c: In function `WineEngGetGlyphOutline': freetype.c:947: `FT_Angle' undeclared (first use in this function) freetype.c:947: (Each undeclared identifier is reported only once freetype.c:947: for each function it appears in.) freetype.c:947:

Re: Compilation errors for Freetype support

2002-01-31 Thread Bill Medland
Andriy Palamarchuk [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Trying to compile today's Wine I get errors: freetype.c: In function `WineEngGetGlyphOutline': freetype.c:947: `FT_Angle' undeclared (first use in this function) freetype.c:947: (Each

Re: Compilation errors for Freetype support

2002-01-31 Thread Marcus Meissner
So what ought to be done in the code? 1. #else #error This requires freetype 2.0.3 or later 2. #else Here are some definitions that will compile but assume an angle of zero degrees #endif 3. ifdefs around the use of FT_Angle etc to provide an alternative method of achieving it or not

Re: CreateProcess API - undocumented use

2002-01-31 Thread Andreas Mohr
Hi ! On Wed, Jan 30, 2002 at 04:35:56PM -0200, Ricardo wrote: hi, I have a program that use the CreateProcess API with dwFileAttribute as a parameter. But not to use in the command line. It's used to write some data into a file and then another program read that file. But this isn't working.

Re: Compilation errors for Freetype support

2002-01-31 Thread Huw D M Davies
On Thu, Jan 31, 2002 at 07:32:53AM -0800, Bill Medland wrote: So what ought to be done in the code? 1. #else #error This requires freetype 2.0.3 or later 2. #else Here are some definitions that will compile but assume an angle of zero degrees #endif 3. ifdefs around the use of FT_Angle etc

Re: Pajama Sam's unmanaged window

2002-01-31 Thread Ori Pessach
On Wednesday 30 January 2002 17:39, Ove Kaaven wrote: On Mon, 28 Jan 2002, Ori Pessach wrote: - Changed is_window_managed()'s default return value to TRUE Perhaps remove the cruft this leaves behind, then. Of course. - In tooltips.c, TOOLTIPS_NCCreate(), I set the WS_EX_TOOLWINDOW bit

Re: CreateProcess API - undocumented use

2002-01-31 Thread Ricardo
Run with debugmsg and show us what you think is going on. Bye -- Uwe Bonnes[EMAIL PROTECTED] Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt - Tel. 06151 162516 Fax. 06151 164321 -- Sorry, I've attached it now. There's 2 fies -

Re: treeview.c

2002-01-31 Thread Uwe Bonnes
Aric == Aric Stewart [EMAIL PROTECTED] writes: Aric This is a bit of a cover to help find other problems, but we would Aric crash if trying to sort a treeview with null strings in it. This Aric prevents this crash so that one can try to figure out why we have Aric empty strings.

Re: Pajama Sam's unmanaged window

2002-01-31 Thread Dmitry Timoshkov
Ori Pessach [EMAIL PROTECTED] wrote: Since this is probably not the case, perhaps it's better to check for the popup menu class in is_window_managed(), something like if (GetClassLongA(win-hwndSelf, GCW_ATOM) == POPUPMENU_CLASS_ATOM) return FALSE; Ah ha! Exactly what I had in mind.

Re: Fix for MoveFileExA

2002-01-31 Thread Gerhard W . Gruber
On Thu, 31 Jan 2002 07:52:55 -0600, Aric Stewart [EMAIL PROTECTED] wrote: Windows 95 and Windows 98: The MoveFileEx function is not supported. To rename or delete a file at reboot, use the following procedure. To rename or delete a file on Windows 95 and Windows 98 Check for the existence

Re: Fix for MoveFileExA

2002-01-31 Thread Andreas Mohr
On Thu, Jan 31, 2002 at 07:50:53PM +0100, Gerhard W. Gruber wrote: On Thu, 31 Jan 2002 07:52:55 -0600, Aric Stewart [EMAIL PROTECTED] wrote: This i have seen alot, andreas (and others) are working on a utility that will process this wininit file. I have talked to alexandre and we both agree

Re: Pajama Sam's unmanaged window

2002-01-31 Thread Ove Kaaven
On Fri, 1 Feb 2002, Dmitry Timoshkov wrote: Ori Pessach [EMAIL PROTECTED] wrote: Since this is probably not the case, perhaps it's better to check for the popup menu class in is_window_managed(), something like if (GetClassLongA(win-hwndSelf, GCW_ATOM) == POPUPMENU_CLASS_ATOM)

Re: mingw32 port and cygwin

2002-01-31 Thread Alexandre Julliard
Steven Edwards [EMAIL PROTECTED] writes: The last major thing will be the spec and def differences. Because we are compiling with mingw and making windows dlls using dlltool, we need to easily convert from specs to defs. I was going to write a shell script or a simple c program that did this

Re: SetupAPI (dll)

2002-01-31 Thread Stefan Görling
Dear Andreas, So just go ahead immediately :) I'm right on it. A Simple stupid question. Is there a simple way to read a line from a HANDLE or a unixhandle? I've looked a bit at ReadFile (file/file.c) but I'm lazy, so if there is a better way :) /Stefan

Re: Pajama Sam's unmanaged window

2002-01-31 Thread Ove Kaaven
On 31 Jan 2002, Alexandre Julliard wrote: Ove Kaaven [EMAIL PROTECTED] writes: Do you have any examples where it might not work... window subclassing is the act of using SetWindowLong to replace the window procedure, which does not change the class atom, as far as I know? That's if

Re: Pajama Sam's unmanaged window

2002-01-31 Thread Alexandre Julliard
Ove Kaaven [EMAIL PROTECTED] writes: Hmm. I thought SetWindowLong worked differently than SetClassLong. Weird stuff... Yes it does, you are right my explanation was more for SetClassLong than SetWindowLong. Basically SetClassLong will affect all windows created with a given class,

ROTD (Rant Of The Day): patches

2002-01-31 Thread Dimitrie O. Paun
Guys, I've come to _hate_ diffs attached as Application/OCTET-STREAM. Can you please, Please, PLEASE, attach them as Text/PLAIN? I use Pine over a ssh connection to read wine-{devel,patches}, and I can simply view the Text/PLAIN attachments, whereas I have to: -- press V to view the list of

Re: Microsoft Visual C (MSVC) compabillity

2002-01-31 Thread Alexandre Julliard
Patrik Stridvall [EMAIL PROTECTED] writes: All of the forms: (1) void WINAPI (*foo)(void); (2) void (* WINAPI foo)(void); (3) void (WINAPI *foo)(void); Seems to work with gcc. Even with gcc 2.7.x. I believe the problems were rather with g++. In my 2.95.4 version, case (2) still doesn't

Re: DESTDIR support for make install

2002-01-31 Thread Alexandre Julliard
Bernhard Rosenkraenzer [EMAIL PROTECTED] writes: wine currently doesn't support the DESTDIR flag commonly used by packagers. The patch I've attached fixes this. Could you explain this a bit more? Why can't you use the existing $prefix to do the same thing? -- Alexandre Julliard [EMAIL

Re: Fix for MoveFileExA

2002-01-31 Thread Aric Stewart
Gerhard W. Gruber wrote: On Thu, 31 Jan 2002 07:52:55 -0600, Aric Stewart [EMAIL PROTECTED] wrote: Windows 95 and Windows 98: The MoveFileEx function is not supported. To rename or delete a file at reboot, use the following procedure. To rename or delete a file on Windows 95 and

Re: Microsoft Visual C (MSVC) compabillity

2002-01-31 Thread Francois Gouget
On 31 Jan 2002, Alexandre Julliard wrote: Patrik Stridvall [EMAIL PROTECTED] writes: All of the forms: (1) void WINAPI (*foo)(void); (2) void (* WINAPI foo)(void); (3) void (WINAPI *foo)(void); Seems to work with gcc. Even with gcc 2.7.x. I believe the problems were rather with

Re: treeview.c

2002-01-31 Thread Aric Stewart
It doesn't really fail silently as one will see the visual error of the text string being empty. It does prevent the application from crashing so someone can investigate why the item is empty. Do you think there should be a warn or err message? I could add that but found it seemed to be messy.

Re: ROTD (Rant Of The Day): patches

2002-01-31 Thread Francois Gouget
On Thu, 31 Jan 2002, Dimitrie O. Paun wrote: Guys, I've come to _hate_ diffs attached as Application/OCTET-STREAM. Can you please, Please, PLEASE, attach them as Text/PLAIN? Another issue which is dear to Alexandre :-) When I send a patch with netscape and then read the email in

Re: ROTD (Rant Of The Day): patches

2002-01-31 Thread Alexandre Julliard
Dimitrie O. Paun [EMAIL PROTECTED] writes: For all these reasons (and more), I think Linus is right when he insists on: -- ONE patch per email -- ONLY Text/PLAIN attachments. I can't say I disagree with you, but I'll just note that all your patches are base64 encoded, which is not really

Re: ROTD (Rant Of The Day): patches

2002-01-31 Thread Eric Pouech
Maybe we should put an auto-rejecter of mime crap on the wine-patches list.. or an automatic converter/inliner... A+ -- --- Eric Pouech (http://perso.wanadoo.fr/eric.pouech/) The future will be better tomorrow, Vice President Dan Quayle

Re: ROTD (Rant Of The Day): patches

2002-01-31 Thread Dimitrie O. Paun
On Thu, 31 Jan 2002, Francois Gouget wrote: Another issue which is dear to Alexandre :-) I wonder why?... :) When I send a patch with netscape and then read the email in pine, I see the email and the attachement right below it. When I send a patch with pine, I have to use V, select

Re: ROTD (Rant Of The Day): patches

2002-01-31 Thread Francois Gouget
On Thu, 31 Jan 2002, Dimitrie O. Paun wrote: [...] BTW, how do you fork the external pager? I just do '', select the attachement and 'V'. I don't think I have any specific option. [...] Me too! :) That is, I would like to know as well. I guess you can insert the patch in the body of the

Re: Fix for MoveFileExA

2002-01-31 Thread Gerhard W . Gruber
On Thu, 31 Jan 2002 20:25:32 +0100, Andreas Mohr [EMAIL PROTECTED] wrote: Please, please, please not even more duplication ! I really don't want to know how many times wininit.ini stuff has been implemented/semi-implemented/... I didn't knew that there is already something. If you *really*

Bug in WritePrivateProfileSection

2002-01-31 Thread Gerhard W . Gruber
I just wrote a small up to test the behaviour of WritePrivateProfileSection. This confirmed my suspicion that the wine implementation is wrong because on Win98 I can create multiple keys with the same name when using this function, while wine always substitutes the new value if the key already

Re: Fix for MoveFileExA

2002-01-31 Thread Gerhard W . Gruber
On Thu, 31 Jan 2002 15:36:55 -0600, Aric Stewart [EMAIL PROTECTED] wrote: Ok I interpret the MSDN paragraph differently. I read it as meaning that the MoveFileEx function would FAIL. if used with that flag. And that it was the Programs responsibility to write to the WinInit.ini file. In my You

Re: DESTDIR support for make install

2002-01-31 Thread Joerg Mayer
On Thu, Jan 31, 2002 at 01:09:28PM -0800, Alexandre Julliard wrote: wine currently doesn't support the DESTDIR flag commonly used by packagers. The patch I've attached fixes this. Could you explain this a bit more? Why can't you use the existing $prefix to do the same thing? When

Re: DESTDIR support for make install

2002-01-31 Thread Alexandre Julliard
Joerg Mayer [EMAIL PROTECTED] writes: So changing prefix is not the way to go. DESTDIR allows to do the install via DESTDIR=/home/myaccount/rpms/tmp make install instead of doing all the steps from make install manually. But make install prefix=/home/myaccount/rpms/tmp should do exactly the

Re: DESTDIR support for make install

2002-01-31 Thread Daniel Sabo
On Thu, 31 Jan 2002 13:09:28 -0800, Alexandre Julliard wrote: Bernhard Rosenkraenzer [EMAIL PROTECTED] writes: wine currently doesn't support the DESTDIR flag commonly used by packagers. The patch I've attached fixes this. Could you explain this a bit more? Why can't you use the

Re: Bug in WritePrivateProfileSection

2002-01-31 Thread Andreas Mohr
On Thu, Jan 31, 2002 at 11:23:58PM +0100, Gerhard W. Gruber wrote: I just wrote a small up to test the behaviour of WritePrivateProfileSection. This confirmed my suspicion that the wine implementation is wrong because on Win98 I can create multiple keys with the same name when using this

Re: ROTD (Rant Of The Day): patches

2002-01-31 Thread Joerg Mayer
Hmm, looks like after the failed attempt for a flame war on version numbering, you are trying to start one on mail clients 8-=) On Thu, Jan 31, 2002 at 03:52:19PM -0500, Dimitrie O. Paun wrote: I've come to _hate_ diffs attached as Application/OCTET-STREAM. Can you please, Please, PLEASE,

Re: DESTDIR support for make install

2002-01-31 Thread Joerg Mayer
On Thu, Jan 31, 2002 at 02:33:53PM -0800, Alexandre Julliard wrote: But make install prefix=/home/myaccount/rpms/tmp should do exactly the same thing, unless I missed something. You can run make with one prefix and make install with another one, that's a feature. I didn't know about this

Bug in MoveFileEx

2002-01-31 Thread Gerhard W . Gruber
I just played around with Thandor trying to install it and see what the differences are between Win98 and Wine because I noticed a slightly different behaviour. Now I discovered that MoveFileEx is not even available in Windows 98 but wine supplies it nevertheless. I suspect that the Setup doesn't

Re: Bug in WritePrivateProfileSection

2002-01-31 Thread Gerhard W . Gruber
On Thu, 31 Jan 2002 23:38:05 +0100, Andreas Mohr [EMAIL PROTECTED] wrote: On Thu, Jan 31, 2002 at 11:23:58PM +0100, Gerhard W. Gruber wrote: I just wrote a small up to test the behaviour of WritePrivateProfileSection. This confirmed my suspicion that the wine implementation is wrong because on

Re: ROTD (Rant Of The Day): patches

2002-01-31 Thread Michael Stefaniuc
On Thu, Jan 31, 2002 at 03:52:19PM -0500, Dimitrie O. Paun wrote: I've come to _hate_ diffs attached as Application/OCTET-STREAM. Can you please, Please, PLEASE, attach them as Text/PLAIN? I use Pine over a ssh connection to read wine-{devel,patches}, and I can Use a better mailer like mutt

Re: Fix for MoveFileExA

2002-01-31 Thread David Elliott
On 2002.01.31 16:02 Gerhard W. Gruber wrote: [snip] OK. I just downloaded it. I hope I know how to open bz2. :) I assume that was a joke. [snip] Why is the To: field or the Reply-To: not set to the mailinglist instead of the poster? hehehee READ THE ARCHIVES! We need to have an

Re: DESTDIR support for make install

2002-01-31 Thread David Elliott
On 2002.01.31 17:52 Joerg Mayer wrote: On Thu, Jan 31, 2002 at 02:33:53PM -0800, Alexandre Julliard wrote: But make install prefix=/home/myaccount/rpms/tmp should do exactly the same thing, unless I missed something. You can run make with one prefix and make install with another one,

Re: Bug in MoveFileEx

2002-01-31 Thread David Elliott
On 2002.01.31 18:37 Gerhard W. Gruber wrote: I just played around with Thandor trying to install it and see what the differences are between Win98 and Wine because I noticed a slightly different behaviour. Now I discovered that MoveFileEx is not even available in Windows 98 but wine

Re: Bug in MoveFileEx

2002-01-31 Thread lawson_whitney
On Fri, 1 Feb 2002, Gerhard W. Gruber wrote: I just played around with Thandor trying to install it and see what the differences are between Win98 and Wine because I noticed a slightly different behaviour. Now I discovered that MoveFileEx is not even available in Windows 98 but wine supplies