Re: D3D shader assembler

2009-07-20 Thread Stefan Dösinger
Am Sunday 19 July 2009 23:01:08 schrieb Henri Verbeet: +const char *debug_src(struct shader_reg *reg, BOOL vs) { +static char buffer[128]; + +memset(buffer, 0, sizeof(buffer)); This really isn't acceptable: Note that I think your mentor should have caught basic things like

Re: D3D shader assembler

2009-07-20 Thread Stefan Dösinger
Am Monday 20 July 2009 01:38:35 schrieb Matteo Bruni: 2009/7/19 Henri Verbeet hverb...@gmail.com: 2009/7/19 Matteo Bruni matteo.myst...@gmail.com: +const char *debug_src(struct shader_reg *reg, BOOL vs) { +    static char buffer[128]; + +    memset(buffer, 0, sizeof(buffer));  -

Re: Doing better than barely keeping up with bug reports - Bug Day this Monday (July 20)

2009-07-20 Thread Scott Ritchie
Scott Ritchie wrote: So, briefly: Over the past few months, users have added an average of between 12 and 14 bugs every day. Since June 1st: - 412 total bugs filed - 87 bugs resolved invalid - 227 bugs resolved fixed - 133 bugs confirmed but not resolved (status new) - 292 bugs

Re: How to expanding environmental variables?

2009-07-20 Thread Yuri Khan
On Sat, Jul 18, 2009 at 06:16, Austin Englishaustinengl...@gmail.com wrote: I need a portable way to get to the shared documents folder, e.g.,: Windows XP: C:\Documents and Settings\All Users\Shared Documents WIndows Vista: C:\users\Public\Public Documents Wine: C:\users\Public\Documents

Re: dsound: Fix some pointer conversion warnings on 64-bit

2009-07-20 Thread Alexandre Julliard
André Hentschel n...@dawncrow.de writes: --- a/dlls/dsound/propset.c +++ b/dlls/dsound/propset.c @@ -109,7 +109,7 @@ static HRESULT WINAPI IKsBufferPropertySetImpl_Get( S(prop).Set = *guidPropSet; S(prop).Id = dwPropID; S(prop).Flags = 0; /* unused */ -

Re: D3D shader assembler

2009-07-20 Thread Henri Verbeet
2009/7/20 Matteo Bruni matteo.myst...@gmail.com: That function, in particular, should really be into asmparser.c and not be visible from outside. Then the wine_dbg_sprintf() function comes really handy in this situation, I didn't know it. Note also that this debug_src function is used just to

Re: [3/3] WineD3D: Update the scissor rect on a render target change

2009-07-20 Thread Henri Verbeet
2009/7/20 Stefan Dösinger ste...@codeweavers.com: +scissor.top = 0; +scissor.left = 0; +scissor.right = viewport.Width; +scissor.bottom = viewport.Height; +IWineD3DDevice_SetScissorRect(iface, scissor); +IWineD3DDeviceImpl_MarkStateDirty(This,

Re: ws2/tests: Test AcceptEx with a deferred socket

2009-07-20 Thread Paul Vriens
Mike Kaplinskiy wrote: Paul (and anyone who can test on x86_64): Can you confirm that the new patch gives no failures? Mike. On Fri, Jul 17, 2009 at 2:02 AM, Paul Vrienspaul.vriens.w...@gmail.com wrote: Mike Kaplinskiy wrote: Paul, Does the attached fix test failures on at least NT4? The

Re: advapi32: test a combination of CreateServiceA and GetSecurityInfo

2009-07-20 Thread Alexandre Julliard
Stefan Leichter stefan.leich...@camline.com writes: +/* Wait a while. The following test also does a CreateService for the + * same servicename and this would result in an ERROR_SERVICE_MARKED_FOR_DELETE + * error if we do this to quick. Vista seems more picky then the others. +

RE: D3D shader assembler (Matteo Bruni)

2009-07-20 Thread Matteo Bruni
2009/7/20 Luis C. Busquets Pérez luis.busqu...@ilidium.com: I read several months ago that the itnetion was to create the assembler inside the wined3d and then use its functionality inside the diverse d3dx9 implementations. Has this changed? I think it was Stefan Dösinger sho proposed it:

Re: suggestions about MacOS DYLD_FALLBACK_LIBRARY_PATH patch

2009-07-20 Thread Steven Edwards
On Sun, Jul 19, 2009 at 12:23 PM, Emmanuel Maillardmaha...@free.fr wrote: But it's an external appplication, your desktop environment, that handle *.desktop file; wine just generate them... As per the private email I sent. I could see that working if we can convince Alexandre of the need of an

Re: [3/3] WineD3D: Update the scissor rect on a render target change

2009-07-20 Thread Stefan Dösinger
Am Monday 20 July 2009 12:58:16 schrieb Henri Verbeet: The MarkStateDirty() call looks redundant to me. Also, does this do the right thing when we're recording a stateblock? It's not redundant because the scissor rect needs updating on a RT switch anyway - I think it wasn't visible in this

Re: [3/3] WineD3D: Update the scissor rect on a render target change

2009-07-20 Thread Henri Verbeet
2009/7/20 Stefan Dösinger ste...@codeweavers.com: Am Monday 20 July 2009 12:58:16 schrieb Henri Verbeet: The MarkStateDirty() call looks redundant to me. Also, does this do the right thing when we're recording a stateblock? It's not redundant because the scissor rect needs updating on a RT

Re: suggestions about MacOS DYLD_FALLBACK_LIBRARY_PATH patch

2009-07-20 Thread James Mckenzie
On Sun, Jul 19, 2009 at 12:23 PM, Emmanuel Maillardmaha...@free.fr wrote: But it's an external appplication, your desktop environment, that handle *.desktop file; wine just generate them... As per the private email I sent. I could see that working if we can convince Alexandre of the need of an

Re: XkbSetDetectableAutoRepeat not working on some platforms

2009-07-20 Thread F Capela
From: Dmitry Timoshkov dmi...@codeweavers.com F Capela fabio.cap...@yahoo.com wrote: XkbSetDetectableAutoRepeat is not working correctly on some distributions, including Ubuntu 9.04. In practical terms, this means programs running under Wine on such distros are unable to ignore

Re: netapi32: Fix a pointer conversion warning on 64-bit

2009-07-20 Thread Juan Lang
Hi André, @@ -577,7 +577,7 @@ static UCHAR NetBTinetResolve(const UCHAR name[NCBNAMSZ], (*cacheEntry)-numAddresses = i; for (i = 0; i (*cacheEntry)-numAddresses; i++) (*cacheEntry)-addresses[i] = -

Re: D3D shader assembler

2009-07-20 Thread Matteo Bruni
2009/7/20 Henri Verbeet hverb...@gmail.com: 2009/7/20 Matteo Bruni matteo.myst...@gmail.com: That function, in particular, should really be into asmparser.c and not be visible from outside. Then the wine_dbg_sprintf() function comes really handy in this situation, I didn't know it. Note also

Re: D3D shader assembler

2009-07-20 Thread Henri Verbeet
2009/7/20 Matteo Bruni matteo.myst...@gmail.com: 2009/7/20 Henri Verbeet hverb...@gmail.com: Yeah, but you can treat the debug output just like another asmparser_backend. That would mean calling the parser twice when debugging, but that should be ok. You can do something similar on the

Re: suggestions about MacOS DYLD_FALLBACK_LIBRARY_PATH patch

2009-07-20 Thread Emmanuel Maillard
Le 20 juil. 09 à 15:34, Steven Edwards a écrit : On Sun, Jul 19, 2009 at 12:23 PM, Emmanuel Maillardmaha...@free.fr wrote: But it's an external appplication, your desktop environment, that handle *.desktop file; wine just generate them... As per the private email I sent. I could see that

Re: How to expanding environmental variables?

2009-07-20 Thread Lei Zhang
On Mon, Jul 20, 2009 at 2:08 AM, Yuri Khanyurivk...@gmail.com wrote: On Sat, Jul 18, 2009 at 06:16, Austin Englishaustinengl...@gmail.com wrote: I need a portable way to get to the shared documents folder, e.g.,: Windows XP: C:\Documents and Settings\All Users\Shared Documents WIndows Vista:

Re: D3D shader assembler

2009-07-20 Thread Stefan Dösinger
Am Monday 20 July 2009 20:33:44 schrieb Henri Verbeet: While in principle this is right, as many functions are indeed very similar, this won't be pretty practically, even excluding that some instructions really need special treatment. One more thing comes to my mind here: The assembler

Re: FW: Re: please reduce the four registrations on the single winehq.org site.

2009-07-20 Thread Steven Edwards
On Sun, Jul 19, 2009 at 10:35 PM, Scott Ritchiesc...@open-vote.org wrote: Mozilla are farthest on the game here, as they were working on writing some of their own custom stuff based on OpenID, however that then deals with the need of having each app support an OpenID login. I'm not sure if

Re: FW: Re: please reduce the four registrations on the single winehq.org site.

2009-07-20 Thread Sparr
On Mon, Jul 20, 2009 at 4:50 PM, Steven Edwardswinehac...@gmail.com wrote: On Sun, Jul 19, 2009 at 10:35 PM, Scott Ritchiesc...@open-vote.org wrote: I'm not sure if it's a good idea, but there may be some merit in having one of the accounts function as an OpenID Provider and then have the

Re: FW: Re: please reduce the four registrations on the single winehq.org site.

2009-07-20 Thread Steven Edwards
On Mon, Jul 20, 2009 at 5:21 PM, Sparrspa...@gmail.com wrote: Was the contempt for OpenID in general, or the idea of using an existing third party as an OpenID providers?  Although it would be against the spirit of OpenID, it would be possible for one WineHQ service to provide OpenID only to

Re: ws2/tests: Test AcceptEx with a deferred socket

2009-07-20 Thread Mike Kaplinskiy
Paul, I don't like NT4 anymore. We're breaking up. Does the attached patch fix the latest failures (not counting the build warnings)? Mike. On Mon, Jul 20, 2009 at 7:05 AM, Paul Vrienspaul.vriens.w...@gmail.com wrote: Mike Kaplinskiy wrote: Paul (and anyone who can test on x86_64): Can