Re: gethostbyname call with 0 length arg

2006-02-08 Thread Detlef Riekenberg
Am Freitag, den 03.02.2006, 19:23 +0100 schrieb Christer Palm: if((!name) (name[0])) { Do you really mean that? if name is 0, then dereference name? No. the code is: if name is not NULL, then dereference name -- By By ... ... Detlef

Re: gethostbyname call with 0 length arg

2006-02-08 Thread Detlef Riekenberg
Am Samstag, den 04.02.2006, 00:59 +0100 schrieb Phil Goss: This is what seems to have worked for me if(!name || !strlen(name)) { strlen() is overkill here, because you do not need the real length of the string. So !name[0] (or !*name) instead of !strlen(name) is more efficient, when you want

[wined3d] better warn/fixme for query handling

2006-02-08 Thread Christoph Frick
hiho, this is one of three patches i still have in my cvs-tree that are not supplied. like the following i tired to submit several times - except for this one i never got a feedback, whats wrong. Licence: LGPL ChangeLog: 2006-02-08 Christoph Frick [EMAIL PROTECTED] -

[wined3d] support for WINED3DFMT_A8B8G8R8

2006-02-08 Thread Christoph Frick
attempt #3: this patch fixes several texture bugs with the demos of OGRE. License: LGPL ChangeLog: 2006-02-08 Christoph Frick [EMAIL PROTECTED] - dlls/wined3d/utils.c support for WINED3DFMT_A8B8G8R8 -- cu Index: dlls/wined3d/utils.c

Re: VC++ demangling tool

2006-02-08 Thread Detlef Riekenberg
Am Dienstag, den 07.02.2006, 22:48 +0100 schrieb Michael Stefaniuc: Why not make winedump a Wine app Please do not do that. winedump now works on windows without an wine-specific dll. -- By By ... ... Detlef

[dinput] dynamic handling of buttons of a device

2006-02-08 Thread Christoph Frick
attempt #2: this patch detects and maps the buttons dynamically instead of the hardcoded way it was before. this fixes the problems with devices, that report events in the joystick _and_ gamepad range of button events License: LGPL ChangeLog: 2006-02-08 Christoph Frick [EMAIL PROTECTED]

Re: USER32: Hide cursor when calling SetCursor with NULL HCURSOR

2006-02-08 Thread Andreas Mohr
Hi, On Fri, Feb 03, 2006 at 07:50:51PM -0500, Justin Chevrier wrote: Changelog: Hide cursor if SetCursor is called with a NULL HCURSOR Which obviously implies the question: What if the program does a SetCursor(something) later? Should it then re-show a cursor previously hidden by a NULL handle?

Re: Add missing LANG_xxx and SUBLANG_xxx macros

2006-02-08 Thread Alexandre Julliard
Francois Gouget [EMAIL PROTECTED] writes: On Tue, 7 Feb 2006, Huw D M Davies wrote: [...] Why is WELSH in between TIBETAN and TIGRIGNA ? No idea. Must be a bug in the sort algorithm ;-) Here's a corrected patch. ... +#define LANG_YORUBA 0x6a +#define LANG_WELSH 0x52

Re: Implement DVD_ReadStructure

2006-02-08 Thread Detlef Riekenberg
Am Sonntag, den 05.02.2006, 22:01 +1100 schrieb Troy Rollo: ChangeLog: Implement DVD_ReadStructure --- /dev/null 2006-02-03 18:20:42.451563144 +1100 +++ wine-git/include/ntddcdvd.h 2006-02-05 21:50:39.0 +1100 Please use include/ddk/ -- By By ... ... Detlef

Re: VC++ demangling tool

2006-02-08 Thread Michael Stefaniuc
Andreas Mohr wrote: On Wed, Feb 08, 2006 at 01:31:23PM +0100, Detlef Riekenberg wrote: Am Dienstag, den 07.02.2006, 22:48 +0100 schrieb Michael Stefaniuc: Why not make winedump a Wine app Please do not do that. winedump now works on windows without an wine-specific dll. Huh? Who said

Re: VC++ demangling tool

2006-02-08 Thread Molle Bestefich
Andreas Mohr wrote: Detlef Riekenberg wrote: schrieb Michael Stefaniuc: Why not make winedump a Wine app Please do not do that. winedump now works on windows without an wine-specific dll. I second that. winedump has the potential to become a very powerful yet small universally

Re: VC++ demangling tool

2006-02-08 Thread Michael Stefaniuc
Molle Bestefich wrote: Andreas Mohr wrote: Detlef Riekenberg wrote: schrieb Michael Stefaniuc: Why not make winedump a Wine app Please do not do that. winedump now works on windows without an wine-specific dll. I second that. winedump has the potential to become a very powerful yet

Re: MSACM: winemp3 codec crashes on seek, reimplement with libmad?

2006-02-08 Thread Alex Villací­s Lasso
Eric Pouech wrote: Are there any issues I should take into account before trying this? first of all, are we sure that the issue comes from the decoder itself (and not some wine wrapper around it) ? I performed the following test: with the sample VB application, I modified the winemp3 code to

Re: Fwd: game Knights and Merchants deadlocks

2006-02-08 Thread Andreas Mohr
Hi, On Sat, Feb 04, 2006 at 01:47:42PM +0100, James Trotter wrote: On 2/4/06, Joris Huizer [EMAIL PROTECTED] wrote: I have this question: I have a game called Knights and Merchants which I sometimes play; I find it deadlocks each time after playing for an hour or so it seems it isn't a

Wine with multiple threads on Dual processor - any suggestions please

2006-02-08 Thread Ananth M
Hi, I am having an application with the processing can be done paralally using multiple threads. If I compile (with one thread ) and execute this application in Linux , on a Dual processor machine , I am getting execution time ~600 sec. If I compile ( with 2 threads ),and execute this

Re: gethostbyname call with 0 length arg

2006-02-08 Thread James Hawkins
On 2/8/06, Detlef Riekenberg [EMAIL PROTECTED] wrote: Am Freitag, den 03.02.2006, 19:23 +0100 schrieb Christer Palm: if((!name) (name[0])) { Do you really mean that? if name is 0, then dereference name? No. the code is: if name is not NULL, then dereference name Consider the case

Re: Regression problems in Easy-PC - UPDATE: Have conformance test that triggers reference counting bug in ole32.dll

2006-02-08 Thread Dr J A Gow
Hello All, I wrote this some time ago: Dr J A Gow wrote: Hello All, I have some regression problems relating to Wine in a commercial ECAD app 'Easy-PC' version 9.0, available from http://www.numberone.com Since then I have been doing some more digging into the problem and have come up

Re: MSACM: winemp3 codec crashes on seek, reimplement with libmad?

2006-02-08 Thread Eric Pouech
Alex Villací­s Lasso wrote: Eric Pouech wrote: Are there any issues I should take into account before trying this? first of all, are we sure that the issue comes from the decoder itself (and not some wine wrapper around it) ? I performed the following test: with the sample VB

Re: Regression problems in Easy-PC - UPDATE: Have conformance test that triggers reference counting bug in ole32.dll

2006-02-08 Thread Dr J A Gow
Dr J A Gow wrote: It is as I thought that there is some issue with the object destructor for the storage object being called and not actually releasing the object. I have attached the complete patch to the tests for storage32 to I have just had another thought on this and wonder if anyone

Re: Implement DVD_ReadStructure

2006-02-08 Thread James Courtier-Dutton
Detlef Riekenberg wrote: Am Sonntag, den 05.02.2006, 22:01 +1100 schrieb Troy Rollo: ChangeLog: Implement DVD_ReadStructure --- /dev/null 2006-02-03 18:20:42.451563144 +1100 +++ wine-git/include/ntddcdvd.h 2006-02-05 21:50:39.0 +1100 Please use

Re: Implement DVD_ReadStructure

2006-02-08 Thread James Courtier-Dutton
Detlef Riekenberg wrote: Am Sonntag, den 05.02.2006, 22:01 +1100 schrieb Troy Rollo: ChangeLog: Implement DVD_ReadStructure --- /dev/null 2006-02-03 18:20:42.451563144 +1100 +++ wine-git/include/ntddcdvd.h 2006-02-05 21:50:39.0 +1100 Please use

Re: Fwd: game Knights and Merchants deadlocks

2006-02-08 Thread Joris Huizer
Andreas Mohr wrote: Hi, On Sat, Feb 04, 2006 at 01:47:42PM +0100, James Trotter wrote: On 2/4/06, Joris Huizer [EMAIL PROTECTED] wrote: I have this question: I have a game called Knights and Merchants which I sometimes play; I find it deadlocks each time after playing for an hour or so it

Re: Implement DVD_ReadStructure

2006-02-08 Thread Dmitry Timoshkov
On Thu, 2006-02-09 at 08:23 +1100, Troy Rollo wrote: Regardless, I'm not revisiting patches anymore. If they get in, fine, but if not I'll just keep them on my branch - I work on more than one OSS project and I'm not sacrificing time on others to jump through hoops for Wine. Why to bother

Re: Implement DVD_ReadStructure

2006-02-08 Thread Troy Rollo
On Thursday 09 February 2006 08:38, Dmitry Timoshkov wrote: Why to bother sending patches at all then if you are not planning to improve them into an acceptable state? You seem to be under the mistaken impression that I place even the slightest value on what you, Dmitry, consider to be an

Re: Implement DVD_ReadStructure

2006-02-08 Thread Dmitry Timoshkov
On Thu, 2006-02-09 at 08:48 +1100, Troy Rollo wrote: Why to bother sending patches at all then if you are not planning to improve them into an acceptable state? You seem to be under the mistaken impression that I place even the slightest value on what you, Dmitry, consider to be an

Wine and Intel Macs

2006-02-08 Thread Eric W. Triplett
Does Wine work with the new Macs that contain Intel processors? If so, which distribution should I download and install? Thanks, Eric -- ___ Professor Eric W. Triplett, Chair Department of Microbiology and Cell Science Institute of Food and Agricultural

Re: Somewhat disappointing experiences with Winelib and WTL

2006-02-08 Thread Mike Hearn
On Mon, 06 Feb 2006 05:08:28 +0100, Claus Fischer wrote: Over the last few days, I have been trying to find out whether the combination of WTL and Winelib could be a promising inter-platform GUI solution. It's not - Win32 in general could never be described as promising no matter what

Re: [wined3d] support for WINED3DFMT_A8B8G8R8

2006-02-08 Thread Karsten Elfenbein
The patch looks more like repeated code to me. FMT_TO_STR(WINED3DFMT_A8B8G8R8); then add a second FMT_TO_STR(WINED3DFMT_A8B8G8R8); Doesn't make sense for me. Same for the other changes in this diff. Karsten -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: dx9 and shaders

2006-02-08 Thread H. Verbeet
On 03/02/06, Stefan Dösinger [EMAIL PROTECTED] wrote: If you have any ideas why GetDC fails, please tell me trace:d3d_surface:IWineD3DSurfaceImpl_LockRect returning memory at 0x7dfa0020, pitch(4096) dirtyfied(1) First chance exception: page fault on read access to 0x7dfa in 32-bit code

Re: [wined3d] support for WINED3DFMT_A8B8G8R8

2006-02-08 Thread H. Verbeet
On 08/02/06, Karsten Elfenbein [EMAIL PROTECTED] wrote: The patch looks more like repeated code to me. FMT_TO_STR(WINED3DFMT_A8B8G8R8); then add a second FMT_TO_STR(WINED3DFMT_A8B8G8R8); Doesn't make sense for me. Same for the other changes in this diff. Karsten Unless I'm

Re: MSACM: winemp3 codec crashes on seek, (no longer) reimplement with libmad?

2006-02-08 Thread Alex Villací­s Lasso
Eric Pouech wrote: Alex Villací­s Lasso wrote: Eric Pouech wrote: Are there any issues I should take into account before trying this? first of all, are we sure that the issue comes from the decoder itself (and not some wine wrapper around it) ? I performed the following test: with the

Re: Implement DVD_ReadStructure

2006-02-08 Thread Mike McCormack
Troy Rollo wrote: Regardless, I'm not revisiting patches anymore. If they get in, fine, but if not I'll just keep them on my branch - I work on more than one OSS project and I'm not sacrificing time on others to jump through hoops for Wine. It will probably save you time in the long run to