RE: user32: Problem using SetClassLongW to subclass built-in control (Edit)

2008-07-12 Thread Hongbo Ni
Hi Everyone, It turns out my previous patch was not right to solve the problem. After writing a win32 application for debuging the impact of SetClassLongW, I found out that something is abnormal in windows. After a built-in class (which has procA and procW) is subclassed by SetClassLong(Ptr)

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread Nikolay Sivov
Michael Karcher wrote: > Am Samstag, den 12.07.2008, 16:55 -0500 schrieb James Hawkins: > > -GdipCreateMatrix2(1.0/9.0, 2.0/9.0, 4.0/9.0, -1.0/9.0, -2.0, -1.0, > >>> Of course there's only one value of inverted matrix. >>> > Which is not representable as a finite bi

RE: CUDA wrapper

2008-07-12 Thread Stefan Dösinger
I have no idea regarding that crash, but from the rest of the log it seems that the app is initializing a d3d device; This means you'll probably have to implement cuda<->d3d communication From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seth Shelnutt Sent: Saturday, July 12, 20

Re: CUDA wrapper

2008-07-12 Thread Seth Shelnutt
OK, I've fixed a few mistakes in the .spec file and we are getting further, but I tried debugging the output but I am not sure what it all means. [EMAIL PROTECTED]:~/.wine/drive_c/Program Files/[EMAIL PROTECTED] /[EMAIL PROTECTED] winedbg [EMAIL PROTECTED] WineDbg starting on pid 0024 start_proces

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread Dan Kegel
On Sat, Jul 12, 2008 at 4:16 PM, Dan Kegel <[EMAIL PROTECTED]> wrote: > Floating point equality comparisons need an error tolerance. > See e.g. > > http://teaching.idallen.com/cst8110/97s/floating_point.html > http://docs.hp.com/en/B3906-90006/ch03s05.html > http://en.wikipedia.org/wiki/Floating_po

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread Michael Karcher
Am Sonntag, den 13.07.2008, 01:14 +0200 schrieb Michael Karcher: > Am Samstag, den 12.07.2008, 23:56 +0100 schrieb Reece Dunn: > If you are brave enough to really find out what happens (might be > different depending on Windows version, instruction sets available and > things like that), also try t

re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread Dan Kegel
James wrote: > > GDI+ uses floating point values for matrix elements so >> don't you think the result could be slightly different... > > No I don't think the results will be slightly different. > Higher-precision arithmetic doesn't mean more slop. Floating point equality comparisons need an error

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread Michael Karcher
Am Samstag, den 12.07.2008, 23:56 +0100 schrieb Reece Dunn: > > Nikolay: Please write a test whether the matrix > > 1.0/131072, 2.0/131072, 4.0/131072, -1/131072, 0, 0 > > is invertible. According to your criterion, it is *not* invertible, as > > the determinant will be 9.0/17179869184, which is w

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread Michael Karcher
Am Samstag, den 12.07.2008, 16:55 -0500 schrieb James Hawkins: > >>> -GdipCreateMatrix2(1.0/9.0, 2.0/9.0, 4.0/9.0, -1.0/9.0, -2.0, -1.0, > > Of course there's only one value of inverted matrix. Which is not representable as a finite binary fraction. > > GDI+ uses floating > > point values for

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread Nikolay Sivov
James Hawkins wrote: > On Sat, Jul 12, 2008 at 4:35 PM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > >> James Hawkins wrote: >> >>> On Sat, Jul 12, 2008 at 4:12 PM, Nikolay Sivov <[EMAIL PROTECTED]> >>> wrote: >>> >>> Changelog: - Make GdipInvertMatrix test pass on native >

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 4:35 PM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > James Hawkins wrote: >> >> On Sat, Jul 12, 2008 at 4:12 PM, Nikolay Sivov <[EMAIL PROTECTED]> >> wrote: >> >>> >>> Changelog: >>> - Make GdipInvertMatrix test pass on native >>> >>> --- >>> dlls/gdiplus/tests/matrix.c |

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread Nikolay Sivov
James Hawkins wrote: > On Sat, Jul 12, 2008 at 4:12 PM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > >> Changelog: >>- Make GdipInvertMatrix test pass on native >> >> --- >> dlls/gdiplus/tests/matrix.c | 23 +-- >> 1 files changed, 17 insertions(+), 6 deletions(-) >> >>

Re: [3/3] gdiplus: Make GdipInvertMatrix test pass on native

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 4:12 PM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > Changelog: >- Make GdipInvertMatrix test pass on native > > --- > dlls/gdiplus/tests/matrix.c | 23 +-- > 1 files changed, 17 insertions(+), 6 deletions(-) > > diff --git a/dlls/gdiplus/tests/matr

Re: [2/3] gdiplus: Fix test for PathIterator + make it pass on native and Wine (try2)

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 4:11 PM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > Changelog: >- Fix test for PathIterator + make it pass on native and Wine > --- > dlls/gdiplus/pathiterator.c |3 ++- > dlls/gdiplus/tests/pathiterator.c |5 +++-- > 2 files changed, 5 insertions(+), 3 de

Re: [2/3] gdiplus: fix GdipPathIterNextMarker behaviour on path without markers. fix tests.

2008-07-12 Thread Nikolay Sivov
James Hawkins wrote: > On Sat, Jul 12, 2008 at 12:37 PM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > >> James Hawkins wrote: >> >>> On Sat, Jul 12, 2008 at 11:56 AM, Nikolay Sivov <[EMAIL PROTECTED]> >>> wrote: >>> >>> Changelog: - Fix GdipPathIterNextMarker behaviour on

Re: [dplayx] New library dpwsockx, needed by dplayx

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 2:21 PM, Michael Karcher <[EMAIL PROTECTED]> wrote: > Am Samstag, den 12.07.2008, 12:40 -0500 schrieb James Hawkins: >> On Sat, Jul 12, 2008 at 12:25 PM, Ismael Barros <[EMAIL PROTECTED]> wrote: >> > but AFAIK wine doesn't want to put in include files that are not >> > origi

Re: [dplayx] New library dpwsockx, needed by dplayx

2008-07-12 Thread Michael Karcher
Am Samstag, den 12.07.2008, 12:40 -0500 schrieb James Hawkins: > On Sat, Jul 12, 2008 at 12:25 PM, Ismael Barros <[EMAIL PROTECTED]> wrote: > > but AFAIK wine doesn't want to put in include files that are not > > originally present in Windows. > If it's not in the SDK, it can't go into include. Al

Re: [2/3] gdiplus: fix GdipPathIterNextMarker behaviour on path without markers. fix tests.

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 12:37 PM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > James Hawkins wrote: >> >> On Sat, Jul 12, 2008 at 11:56 AM, Nikolay Sivov <[EMAIL PROTECTED]> >> wrote: >> >>> >>> Changelog: >>> - Fix GdipPathIterNextMarker behaviour on path without markers. Make >>> tests pass on n

Re: [dplayx] New library dpwsockx, needed by dplayx

2008-07-12 Thread Ismael Barros
On 7/12/08, James Hawkins <[EMAIL PROTECTED]> wrote: > On Sat, Jul 12, 2008 at 12:25 PM, Ismael Barros <[EMAIL PROTECTED]> > wrote: >> Nop, actually I also thought the best solution would be to move that >> file to include, because in fact it's just copied from dlls/dplayx, >> but AFAIK wine doesn'

Re: [dplayx] New library dpwsockx, needed by dplayx

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 12:25 PM, Ismael Barros <[EMAIL PROTECTED]> wrote: > Nop, actually I also thought the best solution would be to move that > file to include, because in fact it's just copied from dlls/dplayx, > but AFAIK wine doesn't want to put in include files that are not > originally pre

Re: [2/3] gdiplus: fix GdipPathIterNextMarker behaviour on path without markers. fix tests.

2008-07-12 Thread Nikolay Sivov
James Hawkins wrote: > On Sat, Jul 12, 2008 at 11:56 AM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > >> Changelog: >>- Fix GdipPathIterNextMarker behaviour on path without markers. Make >> tests pass on native. >> >> --- >> dlls/gdiplus/pathiterator.c |3 ++- >> dlls/gdiplus/test

Re: [dplayx] New library dpwsockx, needed by dplayx

2008-07-12 Thread Ismael Barros
Nop, actually I also thought the best solution would be to move that file to include, because in fact it's just copied from dlls/dplayx, but AFAIK wine doesn't want to put in include files that are not originally present in Windows. However, if it's okay I'll move it, much better. I will also have

Re: [2/3] gdiplus: fix GdipPathIterNextMarker behaviour on path without markers. fix tests.

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 11:56 AM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > Changelog: >- Fix GdipPathIterNextMarker behaviour on path without markers. Make > tests pass on native. > > --- > dlls/gdiplus/pathiterator.c |3 ++- > dlls/gdiplus/tests/pathiterator.c |6 +++--- > 2

Re: [dplayx] New library dpwsockx, needed by dplayx

2008-07-12 Thread Michael Karcher
Am Samstag, den 12.07.2008, 18:46 +0300 schrieb Ismael Barros: > I'm sorry, that patch lacked a header file, this is the fixed patch. I would put the dplaysp.h file into include, not dlls/dpwsockx. It contains definitions for all DirectPlay service providers, so it might be useful if a modem provi

Re: winhttp: tests/winhttp.c[new]: Add test for WinHttpOpenRequest

2008-07-12 Thread Francois Gouget
On Thu, 10 Jul 2008, Zac Brown wrote: > Zac Brown wrote: > > Add test for WinHttpOpenRequest. This test is modeled after > > wininet/tests/http.c's InternetOpenRequest_test function. > > > > This is the first of many tests for getting Bug 14381 > > (http://bugs.winehq.org/show_bug.cgi?id=14381)

Re: Installing Wine's fonts system-wide: which ones are worthwhile?

2008-07-12 Thread Francois Gouget
On Fri, 11 Jul 2008, Scott Ritchie wrote: [...] > On Ubuntu, the > liberation fonts also not installed by default. Which brings up a > related question: should the Wine package depend on them? It seems like > having liberation fonts available would be helpful to Wine, and > therefore they should

Re: Question about crosstest build

2008-07-12 Thread Nikolay Sivov
Michael Karcher wrote: > Am Samstag, den 12.07.2008, 18:13 +0400 schrieb Nikolay Sivov: > >> Hi. >> >> Could someone explain me in details how could I build crosstest binaries >> on Linux (Debian) to run them on WinXP? >> Now I've done the following: >> - clean up my wine tree with 'make cl

Re: Question about crosstest build

2008-07-12 Thread Michael Karcher
Am Samstag, den 12.07.2008, 18:13 +0400 schrieb Nikolay Sivov: > Hi. > > Could someone explain me in details how could I build crosstest binaries > on Linux (Debian) to run them on WinXP? > Now I've done the following: > - clean up my wine tree with 'make clean'; > - installed mingw32 pac

Question about crosstest build

2008-07-12 Thread Nikolay Sivov
Hi. Could someone explain me in details how could I build crosstest binaries on Linux (Debian) to run them on WinXP? Now I've done the following: - clean up my wine tree with 'make clean'; - installed mingw32 package - use configure parameters from http://wiki.winehq.org/CompilingDLL

Re: failing gdiplus:matrix tests

2008-07-12 Thread Alexandre Julliard
Nikolay Sivov <[EMAIL PROTECTED]> writes: > Alexandre Julliard wrote: >> You no longer need a patched mingw, crosstest uses the Wine import libs now. > So this page http://wiki.winehq.org/CompilingDLLsUsingMingw will be > enough to build crosstest binaries? You don't need any of that, just do a '

Re: failing gdiplus:matrix tests

2008-07-12 Thread Nikolay Sivov
Alexandre Julliard wrote: > "James Hawkins" <[EMAIL PROTECTED]> writes: > > >> 'make crosstest' works if you have a patched mingw. You can get the patches >> at: >> >> http://www.astro.gla.ac.uk/users/paulm/Cross/ >> > > You no longer need a patched mingw, crosstest uses the Wine import l

Re: failing gdiplus:matrix tests

2008-07-12 Thread Alexandre Julliard
"James Hawkins" <[EMAIL PROTECTED]> writes: > 'make crosstest' works if you have a patched mingw. You can get the patches > at: > > http://www.astro.gla.ac.uk/users/paulm/Cross/ You no longer need a patched mingw, crosstest uses the Wine import libs now. -- Alexandre Julliard [EMAIL PROTECTED

Re: [winehq] broken link

2008-07-12 Thread Jeff Latimer
Stefan Leichter wrote: > when i click on the "Development" link in the "Development" section i get an > 404 error. Can someone please fix this. > Its been in bugzilla for a while, [Bug 13898] Busted Development link.

Re: failing gdiplus:matrix tests

2008-07-12 Thread Nikolay Sivov
James Hawkins wrote: > On Sat, Jul 12, 2008 at 1:58 AM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > >> James Hawkins wrote: >> >>> Hi Nikolay, >>> >>> Tests you added in the following commit fail on all platforms. Did >>> you run the tests in Windows? >>> >>> commit d7999a008be5d7e95fcd8601

[winehq] broken link

2008-07-12 Thread Stefan Leichter
Hi, when i click on the "Development" link in the "Development" section i get an 404 error. Can someone please fix this. Thanks Stefan

Re: failing gdiplus:matrix tests

2008-07-12 Thread Nikolay Sivov
James Hawkins wrote: > On Sat, Jul 12, 2008 at 1:58 AM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > >> James Hawkins wrote: >> >>> Hi Nikolay, >>> >>> Tests you added in the following commit fail on all platforms. Did >>> you run the tests in Windows? >>> >>> commit d7999a008be5d7e95fcd8601

Re: failing gdiplus:matrix tests

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 1:58 AM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > James Hawkins wrote: >> >> Hi Nikolay, >> >> Tests you added in the following commit fail on all platforms. Did >> you run the tests in Windows? >> >> commit d7999a008be5d7e95fcd86019adc79b0359ae8d4 >> Author: Nikolay Sivo

Re: failing gdiplus:matrix tests

2008-07-12 Thread James Hawkins
On Sat, Jul 12, 2008 at 1:58 AM, Nikolay Sivov <[EMAIL PROTECTED]> wrote: > James Hawkins wrote: >> >> Hi Nikolay, >> >> Tests you added in the following commit fail on all platforms. Did >> you run the tests in Windows? >> >> commit d7999a008be5d7e95fcd86019adc79b0359ae8d4 >> Author: Nikolay Sivo