Re: Wine automated testing update

2012-02-01 Thread Lei Zhang
On Wed, Feb 1, 2012 at 12:11 PM, Jeremy White wrote: >  1.  Test qemu/kvm with a few Windows versions to see if it'll work. I've had good luck running 32-bit Windows in qemu + kvm. You'll probably need to add -rtc=localtime. If you plan to run it headless and connect via the build in vnc, add -us

Re: dinput: Support INFINITE as number of effect iterations (try 2)

2012-02-01 Thread Vitaliy Margolen
On 02/01/2012 11:17 AM, Marcel Hasler wrote: 2012/1/30 Marcel Hasler: I've submitted a final patch. I don't think there's anything more I can do to improve it. Looks fine. Vitaliy.

Re: dinput: Support INFINITE as number of effect iterations (try 2)

2012-02-01 Thread Marcel Hasler
2012/1/30 Marcel Hasler : > > The only official documentation I can find is in > Documentation/input/ff.txt and it doesn't say anything about the max > for 'value'.  I had a look at the kernel source instead. > input_handle_event() in input.c only checks whether 'value' is >= 0 > for EV_FF (which i

Wine automated testing update

2012-02-01 Thread Jeremy White
Hi Folks, At the last Wine conference, I volunteered to find a home for the WineTestBot that Ge's brother has been hosting, and to take over the Buildbot that Dan and Austin have been so diligently maintaining. This is an update on that project, mostly to help keep my procrastinating self moving

Re: Profiing windows apps

2012-02-01 Thread Stefan Dösinger
Hi, Am Dienstag, 31. Januar 2012, 21:51:01 schrieb Ralph Little: > IDirectDraw * pDD = NULL; > IDirectDrawSurface * pDDSPrimary = NULL; > DDSURFACEDESC ddsd; Take a look at dlls/ddraw/tests/ddraw*.c > .. Make sure you use the version of the interface the game uses. There are some behavioral

Re: [PATCH] winealsa: snd_card_get_name uses strdup (Valgrind).

2012-02-01 Thread Michael Stefaniuc
Lauri Kenttä wrote: > On 2012-02-01 17:00, Christian Costa wrote: >> In that case you don't need the if (!err) condition to free the buffer >> otherwise you leak the string return by strdup. > > Yeah, I didn't think this through and screwed up. :P > > I also noticed now that Jörg Höhle already de

Re: [PATCH] winealsa: snd_card_get_name uses strdup (Valgrind).

2012-02-01 Thread Lauri Kenttä
On 2012-02-01 17:00, Christian Costa wrote: In that case you don't need the if (!err) condition to free the buffer otherwise you leak the string return by strdup. Yeah, I didn't think this through and screwed up. :P I also noticed now that Jörg Höhle already deemed this strdup solution ugly

Re: [PATCH] winealsa: snd_card_get_name uses strdup (Valgrind).

2012-02-01 Thread Christian Costa
In that case you don't need the if (!err) condition to free the buffer otherwise you leak the string return by strdup. Christian 2012/2/1 Lauri Kenttä > --- > dlls/winealsa.drv/mmdevdrv.c | 10 +++--- > 1 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/dlls/winealsa.drv/m

Re: snd_card_get_name uses strdup (Valgrind).

2012-02-01 Thread Michael Stefaniuc
Hello Joerg, On Wed, Feb 01, 2012 at 01:37:44PM +0100, joerg-cyril.hoe...@t-systems.com wrote: > there's a small memory leak in winealsa, tentatively plugged by > patches #83353, #83334 and #82900. > > It would be nice if somebody who feels like struggling with const warnings in > gcc > would g

snd_card_get_name uses strdup (Valgrind).

2012-02-01 Thread Joerg-Cyril . Hoehle
Hi there's a small memory leak in winealsa, tentatively plugged by patches #83353, #83334 and #82900. It would be nice if somebody who feels like struggling with const warnings in gcc would get a fix accepted in git. The dilemma: a literal "foo" is a const char*, free() does not want a const an

Re: [PATCH 2/3] winecoreaudio: Implement the lock-free callback design.

2012-02-01 Thread Joerg-Cyril . Hoehle
Hi, > What does that not guarantee (that you'd like to have)? Consider this scenario: Play: EnterCS-2 do some stuff, start playing state=Playing; LeaveCS-2 Stop: EnterCS-1 do stuff LeaveCS-1 ; because we want to wait for something to finish wait EnterCS-3 state=Stopped LeaveCS-3 Now issue Stop

Re: Updated clang-static-analyzer results (just in time for 1.4 ;))

2012-02-01 Thread Austin English
On Tue, Jan 31, 2012 at 08:19, Jacek Caban wrote: > Hi Austin, > > On 01/31/12 06:11, Austin English wrote: >> Enjoy: http://www.mediafire.com/?aiomfk1cr9bc61y >> Using: >> wine-1.4-rc1-34-g01947e0 >> >> LLVM commit 683d1e1d449e6e790ff4c0b6340a4bbf144ff919 / git-svn-id: >> http://llvm.org/svn/llvm