Re: Wine Gecko 1.1.0 RC1

2010-08-23 Thread Paul "TBBle" Hampson
On 24 August 2010 05:00, Jacek Caban wrote: > The attached patch contains remaining bits. Haven't tested it, but I was having a flick through, and noticed that the second hunk for dlls/mshtml/nsembed.c has: ERR("Could not get nsIDontent interface: %08x\n", nsres); instead of ERR("Could not get n

Re: user32: Optimize the storage of default values

2010-08-23 Thread Dmitry Timoshkov
André Hentschel wrote: > -static const char * const DefSysColors[] = > +static struct { > +const char *name; > +const COLORREF rgb; > +} DefSysColors[] = It should be 'static const struct {'. -- Dmitry.

Re: RFC: test of 16 bit wine (DOS)

2010-08-23 Thread Dmitry Timoshkov
Morten Rønne wrote: > 16 bit programs require a compiler that is able to create the old style > address method in order to be able to test those parts of wine. I have > been told by Dmitry Timoshkov that I should use OpenWatcom for that. So > that is what I have done. I didn't tell you that.

Re: ddraw/tests: New visual back buffer flipping tests. (try 2)

2010-08-23 Thread Oldřich Jedlička
On Tuesday 24 August 2010 00:14:31 Octavian Voicu wrote: > 2010/8/24 Oldřich Jedlička : > > +ok((GetRValue(color) == 0xFF && GetGValue(color) == 0xFF && > > GetBValue(color) == 0xFF) || + broken(GetRValue(color) == 0xFF > > && GetGValue(color) == 0 && GetBValue(color) == 0), // b

Re: [PATCH 1/5] server: move is_removeable to fd_ops

2010-08-23 Thread Mike Kaplinskiy
On Wed, Aug 4, 2010 at 1:29 AM, Mike Kaplinskiy wrote: > --- >  server/change.c     |    2 ++ >  server/device.c     |    1 + >  server/fd.c         |   18 -- >  server/file.c       |    1 + >  server/file.h       |    3 +++ >  server/mailslot.c   |    3 +++ >  server/mapping.c    

Re: [PATCH 1/2] quartz/tests: move shareable code to a separate file

2010-08-23 Thread James McKenzie
Anton Khirnov wrote: On Sat, Aug 21, 2010 at 07:50:50PM -0700, James McKenzie wrote: Looks like you did not test the build before running it against the testbot (I've been guilty of this as well.) actually i did test it and it worked for some reason, must be magic :) in any case, after

re: RFC: test of 16 bit wine (DOS)

2010-08-23 Thread Dan Kegel
Morten Rønne wrote: > I have been working on creating tests for the 16 bit implementation of wine Great! Have you seen http://code.google.com/p/win16test/ ? That's for Win16 binaries, not DOS, but it might have some similarities. For instance, it also uses openwatcom. I had trouble back then get

Re: ddraw: SetCooperativeLevel with Full screen + exclusive + normal is authorized

2010-08-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=4696 Your paranoid android.

Re: ddraw/tests: New visual back buffer flipping tests. (try 2)

2010-08-23 Thread Octavian Voicu
2010/8/24 Oldřich Jedlička : > +        ok((GetRValue(color) == 0xFF && GetGValue(color) == 0xFF && > GetBValue(color) == 0xFF) || > +           broken(GetRValue(color) == 0xFF && GetGValue(color) == 0 && > GetBValue(color) == 0),  // broken driver > +                "got R %02X G %02X B %02X, ex

Re: gdiplus: add a stub for GdipWindingModeOutline

2010-08-23 Thread Austin English
On Mon, Aug 23, 2010 at 4:47 PM, Vincent Povirk wrote: > You need to add it to the .spec file too. Thanks. Bad cut and paste... -- -Austin

Re: gdiplus: add a stub for GdipWindingModeOutline

2010-08-23 Thread Vincent Povirk
You need to add it to the .spec file too. On Mon, Aug 23, 2010 at 4:45 PM, Austin English wrote: > -- > -Austin > > > >

Re: How managing crashing tests ?

2010-08-23 Thread Andrew Eikum
On 08/23/2010 12:59 PM, GOUJON Alexandre wrote: Anyway, I've seen mainly two approaches - if(0) - /* comment the crashing ok() */ What's the difference ? And why not #if 0 ? Using if(0) means the code in the body of the if-statement still has to compile. This can check against errors while m

Re: ddraw/tests: New visual back buffer flipping tests. (resend)

2010-08-23 Thread Oldřich Jedlička
On Monday 23 August 2010 23:00:24 Octavian Voicu wrote: > 2010/8/23 Oldřich Jedlička : > > +// Check it out > > You have a C++ style comment in this patch and I don't think it's allowed. My mistake, I've mixed up the C and C++ comments. I thought // is the C style (for a while). I will send

Re: ddraw/tests: New visual back buffer flipping tests. (resend)

2010-08-23 Thread Octavian Voicu
2010/8/23 Oldřich Jedlička : > +    // Check it out You have a C++ style comment in this patch and I don't think it's allowed. Octavian

RFC: test of 16 bit wine (DOS)

2010-08-23 Thread Morten Rønne
Hi I have been working on creating tests for the 16 bit implementation of wine, and now I have come so far that I would like some comments on the way I have chosen to do it. 16 bit programs require a compiler that is able to create the old style address method in order to be able to test tho

Wine Gecko 1.1.0 RC1

2010-08-23 Thread Jacek Caban
HI all, (If you're not interested in details, please read the last paragraph). It's been over year since the last Gecko update. A lot has happen since then. I've been planning to update our build a bit later, with Firefox 4 codebase, but plans have changed. We had some serious problems with

Re: Ongoing Debian package maintenance.

2010-08-23 Thread Lei Zhang
On Fri, Aug 20, 2010 at 4:00 PM, Ben Klein wrote: > Hello everyone, > > My health has not improved at all since my last call for help with the > Debian package management. I really need someone to take over from me, or at > least some help to devise a new set of (semi-)automated build scripts. Any

How managing crashing tests ?

2010-08-23 Thread GOUJON Alexandre
Hi guys, A patch has been committed today saying "Make .. crashing like it does on native". I know we have to follow (genuine) Windows behavior but I'm wondering how to handle these cases. For instance, how to add a test crashing on every Windows ? Is it useful ? I mean, none program can rely

Re: Re : Re : d3dx9: Implement D3DXDeclaratorFromFVF.

2010-08-23 Thread Henri Verbeet
On 23 August 2010 19:02, paulo lesgaz wrote: > Both patches work very well (they passed the todo_wine tests) > But, I think that  the second one does not answer to Julliard 's complain > about tons of if...then I'm not sure I remember reading that specific comment. I know there was one about the

Re : Re : d3dx9: Implement D3DXDeclaratorFromFVF.

2010-08-23 Thread paulo lesgaz
Both patches work very well (they passed the todo_wine tests) But, I think that the second one does not answer to Julliard 's complain about tons of if...then Or maybe there is no way to simplify the patch David De : Henri Verbeet À : paulo lesgaz Cc : wine

Re: New winetricks 20100822: new verb lucida

2010-08-23 Thread Jacek Caban
On 8/23/10 6:26 PM, Dan Kegel wrote: Jacek wrote: I still hope that gecko will be removed from winetricks at some point. It clearly doesn't belong to winetricks. That would be nice. Does every distro install wine-gecko yet? I don't know, but I think we may assume that yes. Otherwise distros

re: New winetricks 20100822: new verb lucida

2010-08-23 Thread Dan Kegel
Jacek wrote: > I still hope that gecko will be removed from winetricks at some point. > It clearly doesn't belong to winetricks. That would be nice. Does every distro install wine-gecko yet? > Also fakeie6 doesn't make sense anymore. We set these registries > by default for over 2.5 years now.

Re: configure: Enable prelink on x86_64

2010-08-23 Thread Stefan Dösinger
Am Montag 23 August 2010, 16:03:51 schrieb Alexandre Julliard: > Stefan Dösinger writes: > > From 98e8cc5d0b5b2d397c1d904d2537c326ed36d43c Mon Sep 17 00:00:00 2001 > > From: =?UTF-8?q?Stefan=20D=C3=B6singer?= > > Date: Sun, 22 Aug 2010 19:49:58 +0200 > > Subject: [PATCH 4/4] Enable prelink on x86

Re: avifil32: Removed sign comparison warning (sizeof expresions)

2010-08-23 Thread Michael Stefaniuc
Marko Nikolic wrote: > Andrey Turkin wrote: > >> On Monday 23 August 2010 13:16:07 Michael Stefaniuc wrote: >>> IMHO gcc is *wrong* in emitting a warning there. sizeof(PCMWAVEFORMAT) >>> is a compile time constant and gcc can see that sizeof(PCMWAVEFORMAT) >>> falls well inside the number range ex

Re: avifil32: Removed sign comparison warning (sizeof expresions)

2010-08-23 Thread Michael Stefaniuc
Alexandre Julliard wrote: > Marko Nikolic writes: > >> What remains is how to correctly remove warning. In this case (and there are >> many similar in the code), signed function parameter is comparing with >> values that are natively unsigned. Changing type of the parameter is not >> possible,

Re: avifil32: Removed sign comparison warning (sizeof expresions)

2010-08-23 Thread Alexandre Julliard
Marko Nikolic writes: > What remains is how to correctly remove warning. In this case (and there are > many similar in the code), signed function parameter is comparing with > values that are natively unsigned. Changing type of the parameter is not > possible, the same if with sizeof operator.

Re: [PATCH 1/3] msvcp90/tests: Added basic_string tests (try2)

2010-08-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=4681 Your paranoid android.

Re: New winetricks 20100822: new verb lucida

2010-08-23 Thread James Mckenzie
Scott Ritchie wrote: >Sent: Aug 23, 2010 6:37 AM >To: Wine Devel >Subject: Re: New winetricks 20100822: new verb lucida > >On 08/23/2010 05:01 AM, Jacek Caban wrote: >> Hi Dan, >> >> On 8/22/10 8:57 PM, Dan Kegel wrote: >>> Dan Kegel: >>> gecko: make it work even if WINE isn't set. (How did

Re: avifil32: Removed sign comparison warning (sizeof expresions)

2010-08-23 Thread Marko Nikolic
Andrey Turkin wrote: > On Monday 23 August 2010 13:16:07 Michael Stefaniuc wrote: >> IMHO gcc is *wrong* in emitting a warning there. sizeof(PCMWAVEFORMAT) >> is a compile time constant and gcc can see that sizeof(PCMWAVEFORMAT) >> falls well inside the number range expressible by a LONG. Logicall

Re: [PATCH] ntdll: set correct protection flags on sections in builtin DLLs

2010-08-23 Thread Alexandre Julliard
Marcus Meissner writes: > So a call to change the protection without calling mprotect() in the end? > like VIRTUAL_SetProtData() or something? Something like that yes (and please do it all in virtual.c, that's not the sort of function you want to make global). -- Alexandre Julliard julli...@wi

Re: New winetricks 20100822: new verb lucida

2010-08-23 Thread Marcus Meissner
On Mon, Aug 23, 2010 at 06:37:44AM -0700, Scott Ritchie wrote: > On 08/23/2010 05:01 AM, Jacek Caban wrote: > > Hi Dan, > > > > On 8/22/10 8:57 PM, Dan Kegel wrote: > >> Dan Kegel: > >> gecko: make it work even if WINE isn't set. (How did this get > >> through?) > > > > I still hope that geck

Re: [PATCH] ntdll: set correct protection flags on sections in builtin DLLs

2010-08-23 Thread Marcus Meissner
On Mon, Aug 23, 2010 at 03:43:35PM +0200, Alexandre Julliard wrote: > Marcus Meissner writes: > > > @@ -1406,7 +1409,18 @@ static void load_builtin_callback( void *module, > > const char *filename ) > > } > > virtual_create_system_view( module, nt->OptionalHeader.SizeOfImage, > >

Re: configure: Enable prelink on x86_64

2010-08-23 Thread Alexandre Julliard
Stefan Dösinger writes: > From 98e8cc5d0b5b2d397c1d904d2537c326ed36d43c Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Stefan=20D=C3=B6singer?= > Date: Sun, 22 Aug 2010 19:49:58 +0200 > Subject: [PATCH 4/4] Enable prelink on x86_64 Which app needs this? -- Alexandre Julliard julli...@winehq.org

Re: [PATCH] ntdll: set correct protection flags on sections in builtin DLLs

2010-08-23 Thread Alexandre Julliard
Marcus Meissner writes: > @@ -1406,7 +1409,18 @@ static void load_builtin_callback( void *module, const > char *filename ) > } > virtual_create_system_view( module, nt->OptionalHeader.SizeOfImage, > VPROT_SYSTEM | VPROT_IMAGE | VPROT_COMMITTED > | > -

Re: New winetricks 20100822: new verb lucida

2010-08-23 Thread Scott Ritchie
On 08/23/2010 05:01 AM, Jacek Caban wrote: > Hi Dan, > > On 8/22/10 8:57 PM, Dan Kegel wrote: >> Dan Kegel: >> gecko: make it work even if WINE isn't set. (How did this get >> through?) > > I still hope that gecko will be removed from winetricks at some point. > It clearly doesn't belong to w

Re: [PATCH 4/6] shell32: Implement IExplorerBrowser::Advise and IExplorerBrowser::Unadvise.

2010-08-23 Thread Alexandre Julliard
David Hedberg writes: > +#define EBE_IMPL(iface) \ > +((IExplorerBrowserEventsImpl*)iface) > [...] > +static ULONG WINAPI IExplorerBrowserEvents_fnAddRef(IExplorerBrowserEvents > *iface) > +{ > +return InterlockedIncrement(&(EBE_IMPL(iface)->ref)); That's ugly, d

Re: avifil32: Removed sign comparison warning (sizeof expresions)

2010-08-23 Thread Michael Stefaniuc
Andrey Turkin wrote: > On Monday 23 August 2010 13:16:07 Michael Stefaniuc wrote: >> IMHO gcc is *wrong* in emitting a warning there. sizeof(PCMWAVEFORMAT) >> is a compile time constant and gcc can see that sizeof(PCMWAVEFORMAT) >> falls well inside the number range expressible by a LONG. Logically

Re: New winetricks 20100822: new verb lucida

2010-08-23 Thread Jacek Caban
Hi Dan, On 8/22/10 8:57 PM, Dan Kegel wrote: Dan Kegel: gecko: make it work even if WINE isn't set. (How did this get through?) I still hope that gecko will be removed from winetricks at some point. It clearly doesn't belong to winetricks. Also fakeie6 doesn't make sense anymore. We set

Re: Re : d3dx9: Implement D3DXDeclaratorFromFVF.

2010-08-23 Thread Henri Verbeet
On 23 August 2010 13:49, paulo lesgaz wrote: > I already sent such a patch. Julliard did not like the gazillions of > conditions if then. > I  never found a way to avoid them. > The offset can be computed thanks to the function  D3DXGetDeclVertexSize > You know, just give the attached patches

Re : d3dx9: Implement D3DXDeclaratorFromFVF.

2010-08-23 Thread paulo lesgaz
I already sent such a patch. Julliard did not like the gazillions of conditions if then. I never found a way to avoid them. The offset can be computed thanks to the function D3DXGetDeclVertexSize A+ David De : Henri Verbeet À : wine-devel@winehq.org E

Re: [5/5] libport: Add msvc isnan and isinf implementations

2010-08-23 Thread Alexandre Julliard
Stefan Dösinger writes: > @@ -31,6 +31,14 @@ int isinf(double x) >return (!(finite(x) || isnand(x))); > } > > +#elif defined(HAVE_FLOAT_H) && defined(_MSC_VER) > +#include You should use proper configure checks instead of _MSC_VER, like we do for other similar cases. -- Alexandre Julli

Re: [PATCH 3/3] gameux/tests: verifying registry values created by GameExplorer

2010-08-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=4676 Your paranoid android.

Re: [2/6] wincodec.idl: invent an ICNS encoder CLSID

2010-08-23 Thread Alexandre Julliard
Damjan Jovanovic writes: > Changelog: > * wincodec.idl: invent an ICNS encoder CLSID If it's invented it shouldn't be in a public header. -- Alexandre Julliard julli...@winehq.org

Re: comctl32: Remove unused last parameter from TOOLTIPS_EnumToolsT.

2010-08-23 Thread Nikolay Sivov
On 8/23/2010 00:51, Gerald Pfeifer wrote: --- dlls/comctl32/tooltips.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c index 688d3b5..d17f067 100644 --- a/dlls/comctl32/tooltips.c +++ b/dlls/comctl32/tooltips.c

Re: d3dx9: Implement D3DXDeclaratorFromFVF.

2010-08-23 Thread Henri Verbeet
On 20 August 2010 21:16, Misha Koshelev wrote: > Thank you for your helpful feedback on my tests. > > This is based mostly on dlls/d3d9/vertexdeclaration.c with some > changes specific to D3DXDeclaratorFromFVF. > > Again, if there are any suggested changes please let me know. > As you already ment

Re: avifil32: Removed sign comparison warning (sizeof expresions)

2010-08-23 Thread Andrey Turkin
On Monday 23 August 2010 13:16:07 Michael Stefaniuc wrote: > IMHO gcc is *wrong* in emitting a warning there. sizeof(PCMWAVEFORMAT) > is a compile time constant and gcc can see that sizeof(PCMWAVEFORMAT) > falls well inside the number range expressible by a LONG. Logically > there is no difference

Re: avifil32: Removed sign comparison warning (sizeof expresions)

2010-08-23 Thread Michael Stefaniuc
Marko Nikolic wrote: > sizeof expresion always return unsigned type, so it is casted > when comparing with signed values. This is ugly. > --- > dlls/avifil32/wavfile.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/dlls/avifil32/wavfile.c b/dlls/avifil32/wavfile