Re: Fun quickfix

2004-02-24 Thread Vitaliy Margolen
I had been working on this one. Unfortunately I haven't had time lately to work on it. Here is what I found: - All rows is 2 pixels smaller than bottom most one. - Native draws raws bottom-top. We draw them 1st-last. - Native draws text first then tabs themselfs. This affects AwnerDraw since tab

Theming widgets

2004-02-24 Thread Kevin Koltzau
I'm starting to work on theming some widgets, and I've come up with a few methods of doing this: 1) Add theming code to every widget itself, static link to uxtheme.dll 2) Add theming code to every widget itself, using LoadLibrary/GetProcAddress 3) Subclass widgets when uxtheme.dll is loaded and ov

Re: Pipe tests coprrected

2004-02-24 Thread Ferenc Wagner
Uwe Bonnes <[EMAIL PROTECTED]> writes: > Changelog: > dlls/kernel/tests/pipe.c > Added tests for redirected STDIN/STDOUT > Added todo_wine test for waiting on closed pipe > > The tests now succeed on NT40(vmware) They do on XP, too. The MinGW-compiled binary now won't run from

Re: buffer too small for currency

2004-02-24 Thread Alexandre Julliard
Fabian Cenedese <[EMAIL PROTECTED]> writes: > The found value (info->Data) should only be copied to (buffer) if its length (len) > is big enough. len is given in bytes (8 for the above call with a buffer of 4 > WCHARs). > But the length of the data (ret) is in WCHAR units. So the comparison here

RE: More msvcrt scanf tests

2004-02-24 Thread Robert Shearman
Boaz Harrosh wrote: > > Kills me why we have to work extra time in the position of a compiler. > GCC does that fine a macro can fix the msvc way. What are those > supported compilers that choke? > I don't know, but any C99-compatible compiler should support the LL suffix and the ll width format sp

Re: More msvcrt scanf tests

2004-02-24 Thread Boaz Harrosh
Kills me why we have to work extra time in the position of a compiler. GCC does that fine a macro can fix the msvc way. What are those supported compilers that choke? Uwe Bonnes wrote: "Robert" == Robert Shearman <[EMAIL PROTECTED]> writes: Robert> He means constants like 0x12345

Document Crosstest

2004-02-24 Thread Uwe Bonnes
Hallo, http://www.winehq.com/site/docs/wine-devel/testing-windows 4.5.3. With MinGW should read: Have mingw installed. For an RPM package look e.g. at http://mirzam.it.vu.nl/mingw/ Run "make crosstest". Run test like "wine -- msvcrt_crosstest.exe scanf.c" on wine or "msvcrt_crosstest.exe scanf.

Re: crosstest compile fix (another)

2004-02-24 Thread Hans Leidekker
On Monday 23 February 2004 04:16, Hans Leidekker wrote: > I have been working on these RPMS already and plan on putting > up a page somewhere shortly. Initial goal is to compile all > Wine tests out of the box. As promised, a set of MinGW RPM packages for a MinGW cross compiler that can compile a

RE: More msvcrt scanf tests

2004-02-24 Thread Uwe Bonnes
> "Robert" == Robert Shearman <[EMAIL PROTECTED]> writes: Robert> Uwe Bonnes wrote: >> Alexandre> Long long constants are not portable, you need to compute Alexandre> them from long constants. >> The wine code is sprankled with LONGLONG constants, e.g.: >> >> dlls

RE: More msvcrt scanf tests

2004-02-24 Thread Robert Shearman
Uwe Bonnes wrote: > > Alexandre> Long long constants are not portable, you need to compute > Alexandre> them from long constants. > > The wine code is sprankled with LONGLONG constants, e.g.: > > dlls/oleaut32/variant.c:LONGLONG lVal = -1; > He means constants like 0x12345689LL

Re: More msvcrt scanf tests

2004-02-24 Thread Uwe Bonnes
> "Alexandre" == Alexandre Julliard <[EMAIL PROTECTED]> writes: Alexandre> Uwe Bonnes <[EMAIL PROTECTED]> writes: >> + todo_wine ok(strstr(buffer,"e+008") != 0,"Sprintf different >> \"%s\"\n",buffer); + >> sprintf(buffer,I64x,(ULONGLONG)0x); Alexandre> Long

Re: More msvcrt scanf tests

2004-02-24 Thread Uwe Bonnes
> "Dmitry" == Dmitry Timoshkov <[EMAIL PROTECTED]> writes: Dmitry> "Boaz Harrosh" <[EMAIL PROTECTED]> wrote: >> >Long long constants are not portable, you need to compute them from >> >long constants. >> > >> > >> > >> >> The official way to do it in GCC (any

Re: buffer too small for currency

2004-02-24 Thread Fabian Cenedese
> Fabian> If I don't hear anything I'll take the easy road and send in a >Fabian> patch :) > >As always, it is a good idea to write a testcase in dlls/kernel/tests to >document this error... Of course, but I can only write a test if I know what to test/what the results should be, that's why

Re: buffer too small for currency

2004-02-24 Thread Uwe Bonnes
> "Fabian" == Fabian Cenedese <[EMAIL PROTECTED]> writes: Fabian> If I don't hear anything I'll take the easy road and send in a Fabian> patch :) As always, it is a good idea to write a testcase in dlls/kernel/tests to document this error... Bye -- Uwe Bonnes[EMAIL P

Re: More msvcrt scanf tests

2004-02-24 Thread Dmitry Timoshkov
"Boaz Harrosh" <[EMAIL PROTECTED]> wrote: > >Long long constants are not portable, you need to compute them from > >long constants. > > > > > > > > The official way to do it in GCC (any gcc) is 0x1234567812345678LL Just > like we used to do 0x12345678L in 16 bit > In VC++ it is 0x1234567812345

Re: buffer too small for currency

2004-02-24 Thread Fabian Cenedese
>I get this warning when I try to start a basic program. This comes from the >function VARIANT_GetLocalisedNumberChars. I added some printfs and >found that my currency is apparently "SFr.", so 4 chars plus zero which >is too much for the 4 char buffer. I continued this one too (I don't like unha

Re: WineGuru

2004-02-24 Thread Dimitrie O. Paun
On February 24, 2004 06:34 am, Boaz Harrosh wrote: > I volunteer to do the collecting. Maybe Brain can help me format it and > post it on the site? All I need is a template and the procedure. Just create something (say like the Fun Projects page), and we'll comment on that one. For now, things sho

Re: Proposal: new mailing list wine-gov@winehq.org

2004-02-24 Thread Joerg Mayer
On Mon, Feb 23, 2004 at 09:16:46PM -0800, Dan Kegel wrote: > We don't really have a procedure for starting new mailing lists. > Should we have a vote (a la the old Usenet group creation rules)? IMHO, it should just be created. It will not remove any traffic from the existing lists, so why should a

Re: Fun quickfix

2004-02-24 Thread Uwe Bonnes
> "Mike" == Mike Hearn <[EMAIL PROTECTED]> writes: Mike> Hi, Here's an easy to fix bug for somebody wanting to get into Mike> Wine hacking, or who has a spare few minutes. Mike> The basic problem is with the tab control and can be seen by Mike> running Mike> http://byland

Fun quickfix

2004-02-24 Thread Mike Hearn
Hi, Here's an easy to fix bug for somebody wanting to get into Wine hacking, or who has a spare few minutes. The basic problem is with the tab control and can be seen by running http://bylands.dur.ac.uk/~mh/Tab.exe ... that (from control spy). As you can see on the bottom row, the top of the t

Mixing native and bulitin DLL (MSVCRT)

2004-02-24 Thread Uwe Bonnes
Hallo, I am trying to debug a problem with builtin MSVCRT. Is there any easy way to deviate calls from builtin msvcrt to native msvcrt. At present I have renamed native msvcrt in the wine system directory. Then in the builtin msvcrt I call a function and for that function I do a LoadLibrary()

Re: WineGuru

2004-02-24 Thread Boaz Harrosh
Dimitrie O. Paun wrote: Now, before and put in too much infrastructure, I think we can start small as follows: -- have people submit material to wine-devel -- various folks (volunteers needed) will collect them and post them in a nice, orderly manner to a special area (TBD) on WineHQ

Re: More msvcrt scanf tests

2004-02-24 Thread Boaz Harrosh
Alexandre Julliard wrote: Uwe Bonnes <[EMAIL PROTECTED]> writes: +todo_wine ok(strstr(buffer,"e+008") != 0,"Sprintf different \"%s\"\n",buffer); +sprintf(buffer,I64x,(ULONGLONG)0x); Long long constants are not portable, you need to compute them from long constan