Re: Wine does not compile

2007-05-27 Thread martin pilka
I see Bryan already submitted patch for this. Going to try to install libxml-dev thing in meantime. Thanks, Martin Hello, I just tried to compile Wine on Ubuntu 6.06 and Ubuntu 7.04 (both updated). On both machines, I got following error: make[2]: Entering directory

Re: Wine does not compile

2007-05-27 Thread Marcus Meissner
On Sun, May 27, 2007 at 10:36:44AM +0200, martin pilka wrote: Hello, I just tried to compile Wine on Ubuntu 6.06 and Ubuntu 7.04 (both updated). On both machines, I got following error: make[2]: Entering directory `/home/mpilka/cxtest/wine/dlls/msxml3' gcc -c -I. -I. -I../../include

Re: wined3d: Implement support for gamma corrected (sRGB) texture loading

2007-05-27 Thread H. Verbeet
On 27/05/07, Phil Costin [EMAIL PROTECTED] wrote: Hi, This patch has been a long time in the making. The following test was used during the creation of the patch: http://ati.amd.com/developer/samples/dx9/sRGBTest.html If it's not too much trouble, a proper wine test would be nice. The

The ddraw tests don't compile with Visual C++ 2005.

2007-05-27 Thread Francois Gouget
Visual C++ 2005 does not like the way we compute the infinity and NaN values. I've tried replacing the current divisions by zero with arithmetic on FLT_MAX (at least for the infinity calculations), but it did not like that either. Does anyone know how to make these calculations portable? How

[PATCH 4/4] dpnhupnp: Implement IDirectPlayNatHelper stub

2007-05-27 Thread Vijay Kiran Kamuju
Hi, It seems there is a problem with the fake dll entry for dpnhupnp.dll in wine.inf @@ -2129,6 +2129,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,SameAreaRule,,G 11,,dmusic.dll,1 11,,dplayx.dll,1 11,,dpnet.dll,1 +11,,dpnhupnp,1 11,,dsound.dll,1 11,,dswave.dll,1 11,,dxdiagn.dll,1 The

Re: The ddraw tests don't compile with Visual C++ 2005.

2007-05-27 Thread Stefan Dösinger
Am Sonntag 27 Mai 2007 13:17 schrieb Francois Gouget: Visual C++ 2005 does not like the way we compute the infinity and NaN values. I've tried replacing the current divisions by zero with arithmetic on FLT_MAX (at least for the infinity calculations), but it did not like that either. Does

Re: wined3d: Implement support for gamma corrected (sRGB) texture loading

2007-05-27 Thread Stefan Dösinger
Appart of two things Henri already said the patch looks good to me(Use device in texture.c, break out the changes to surface_upload_data and surface_download data into seperate patches). As for a wine test, I think its not easy to test it reliably since the opengl extension gives implementors

Re: The ddraw tests don't compile with Visual C++ 2005.

2007-05-27 Thread Marcus Meissner
On Sun, May 27, 2007 at 01:17:23PM +0200, Francois Gouget wrote: Visual C++ 2005 does not like the way we compute the infinity and NaN values. I've tried replacing the current divisions by zero with arithmetic on FLT_MAX (at least for the infinity calculations), but it did not like that

Re: The ddraw tests don't compile with Visual C++ 2005.

2007-05-27 Thread Francois Gouget
On Sun, 27 May 2007, Marcus Meissner wrote: [...] Why doesn't the code try using the INFINITY and NAN #defines? Would this help with Visual C++? Do you mean the INFINITY macro defined in /usr/include/bits/inf.h? (which one gets through math.h) I have not found any macro called INFINITY in the

Re: ddraw/tests: Fix compilation with Visual C++ 2005.

2007-05-27 Thread Stefan Dösinger
-light.dvAttenuation0 = 0.0 / 0.0; /* NaN */ +light.dvAttenuation0 = zero / zero; /* NaN */ Are you sure the compiler doesn't optimize that away to 1.0 ? pgpr3Ba9vW7WV.pgp Description: PGP signature

how to compile test cases?

2007-05-27 Thread RusH
[EMAIL PROTECTED]:/media/hdc6/home/rasz/source/wine/dlls/ws2_32$ make test make: Nothing to be done for `test'. [EMAIL PROTECTED]:/media/hdc6/home/rasz/source/wine/dlls/ws2_32$ make crosstest make: Nothing to be done for `crosstest'. I want to build only ws2_32 tests, preferably using mingw. --

Re: how to compile test cases?

2007-05-27 Thread Dmitry Timoshkov
RusH [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:/media/hdc6/home/rasz/source/wine/dlls/ws2_32$ make test make: Nothing to be done for `test'. [EMAIL PROTECTED]:/media/hdc6/home/rasz/source/wine/dlls/ws2_32$ make crosstest make: Nothing to be done for `crosstest'. I want to build only ws2_32

Re: setupapi/tests: There is no strncascmp() on Windows. So we must use msvcrt's _strnicmp() function instead.

2007-05-27 Thread Dmitry Timoshkov
Francois Gouget [EMAIL PROTECTED] wrote: There are other alternatives: * we could have an #ifdef _MSC_VER to switch between strncasecmp() and _strnicmp(). * we could reimplement _strnicmp(). * or maybe the test could be modified to not need this function at all? 4. use a kernel32 export

Re: setupapi/tests: There is no strncascmp() on Windows. So we mustuse msvcrt's _strnicmp() function instead.

2007-05-27 Thread Dmitry Timoshkov
Dmitry Timoshkov [EMAIL PROTECTED] wrote: 4. use a kernel32 export lstrcmpiA s/lstrcmpiA/CompareStringA -- Dmitry.

Re: ddraw/tests: Fix compilation with Visual C++ 2005.

2007-05-27 Thread Francois Gouget
On Sun, 27 May 2007, Stefan Dösinger wrote: -light.dvAttenuation0 = 0.0 / 0.0; /* NaN */ +light.dvAttenuation0 = zero / zero; /* NaN */ Are you sure the compiler doesn't optimize that away to 1.0 ? I added a printf to see what's the value of dvAttenuation0 after the assignment and