Re: gdi32: Add a buch of CreateScalableFontResource() tests. Resend.

2011-08-01 Thread Dmitry Timoshkov
Alexandre Julliard wrote: > > + > > +/* @makedep: wine_test.ttf */ > > +wine_test.ttf RCDATA wine_test.ttf > > How was this file created? It was created with fontforge. Here it is in a .sfd format just in case. -- Dmitry. wine_test.sfd Description: Binary data

NtQuerySystemInformation and exposing unix_pid

2011-08-01 Thread Paul Vriens
Hi, I would like to add some per-process information in NtQuerySystemInformation with respect to cpu-usage. The wine server doesn't currently expose the unix_pid so I can't use /proc//* information. Would it be ok to expose the unix_pid in some of the server calls (like next_process)? Or

Re: [PATCH] user32: GetMenuItemRect works without draw if the menu isn't a popup

2011-08-01 Thread Andy Clayton
On Aug 1, 2011 10:25 AM, "Alexandre Julliard" wrote: > > Andy Clayton writes: > > > + itemMenu = MENU_GetMenu(hMenu); > > + if (itemMenu == NULL) > > + return FALSE; > > + > > + if ((itemMenu->Height == 0 || itemMenu->Width == 0) && itemMenu->wFlags ^ MF_POPUP) > > That flag t

w9x testbot state?

2011-08-01 Thread Joerg-Cyril . Hoehle
Hi, what happened to the w9x test bots? I'd like them to run some kernel32 tests. Testbot says "offline". Thank you for your help, Jörg Höhle

Re: gdi32: Add a buch of CreateScalableFontResource() tests. Resend.

2011-08-01 Thread Alexandre Julliard
Dmitry Timoshkov writes: > + > +/* @makedep: wine_test.ttf */ > +wine_test.ttf RCDATA wine_test.ttf How was this file created? -- Alexandre Julliard julli...@winehq.org

Re: [PATCH] user32: GetMenuItemRect works without draw if the menu isn't a popup

2011-08-01 Thread Alexandre Julliard
Andy Clayton writes: > + itemMenu = MENU_GetMenu(hMenu); > + if (itemMenu == NULL) > + return FALSE; > + > + if ((itemMenu->Height == 0 || itemMenu->Width == 0) && itemMenu->wFlags > ^ MF_POPUP) That flag test doesn't make sense. What are you trying to check here? -- Alexa

Re: net: The service dependency messages take a Unicode string as a parameter.

2011-08-01 Thread Alexandre Julliard
Francois Gouget writes: > Update the corresponding translations. It would be better to use Unicode printfs everywhere. -- Alexandre Julliard julli...@winehq.org

Re: wine crashtests

2011-08-01 Thread Vitaly Perov
On Mon, 01 Aug 2011 14:05:29 +0200, Alexandre Julliard wrote: Vitaly Perov writes: Then, my second qustion is: I need a big-size pictures (jpg, png, gif, bmp) for my tests. I think I am unable to generate them in the test. Is it normal to add them as files? You should generate fake files, it

Re: wine crashtests

2011-08-01 Thread Alexandre Julliard
Vitaly Perov writes: > Then, my second qustion is: > I need a big-size pictures (jpg, png, gif, bmp) for my tests. > I think I am unable to generate them in the test. > Is it normal to add them as files? You should generate fake files, it's not hard. -- Alexandre Julliard julli...@winehq.org

Re: wine crashtests

2011-08-01 Thread Vitaly Perov
On Mon, 01 Aug 2011 12:45:12 +0200, Alexandre Julliard wrote: You should not be trying to write a test that proves that Wine crashes, that's not interesting. What you should do is demonstrate Windows behavior for various types of invalid input, and then make Wine conform to that. As I under

Re: wine crashtests

2011-08-01 Thread Alexandre Julliard
Vitaly Perov writes: > On Mon, 01 Aug 2011 14:11:31 +0400, Nikolay Sivov wrote: >> On 8/1/2011 14:04, Vitaly Perov wrote: >>> Is it possible to add a test to show that Wine crashes? >> You mean inside exception handler? Test that crashes comes with or >> after a fix that fix a crash. > > Yes, I h

Re: wine crashtests

2011-08-01 Thread Nikolay Sivov
On 8/1/2011 14:31, Vitaly Perov wrote: On Mon, 01 Aug 2011 14:11:31 +0400, Nikolay Sivov wrote: On 8/1/2011 14:04, Vitaly Perov wrote: Is it possible to add a test to show that Wine crashes? You mean inside exception handler? Test that crashes comes with or after a fix that fix a crash. Yes,

Re: wine crashtests

2011-08-01 Thread Vitaly Perov
On Mon, 01 Aug 2011 14:11:31 +0400, Nikolay Sivov wrote: On 8/1/2011 14:04, Vitaly Perov wrote: Is it possible to add a test to show that Wine crashes? You mean inside exception handler? Test that crashes comes with or after a fix that fix a crash. Yes, I have sent a patch that fix a crash. T

Re: make "bisected" a keyword in bugzilla?

2011-08-01 Thread Wolfram Sang
On 28/07/11 22:15, Austin English wrote: > On Sun, May 23, 2010 at 22:45, Wolfram Sang wrote: >>> Probably it would be better to add a field for commit id that caused >>> a regression just like there is one for url/keywords instead of inventing >>> new keywords. So a 'regression' with a commit id

Re: wine crashtests

2011-08-01 Thread Nikolay Sivov
On 8/1/2011 14:04, Vitaly Perov wrote: Is it possible to add a test to show that Wine crashes? You mean inside exception handler? Test that crashes comes with or after a fix that fix a crash.

wine crashtests

2011-08-01 Thread Vitaly Perov
Is it possible to add a test to show that Wine crashes?

Re: Wine and endianness

2011-08-01 Thread GOUJON Alexandre
On 08/01/2011 09:09 AM, David Laight wrote: If you have 'unsigned char bloc[]' and want to read a 32 bit LE value you can do: value = bloc[20 + 0]; value |= bloc[20 + 1]<< 8; value |= bloc[20 + 2]<< 16; value |= bloc[20 + 3]<< 24; *offs = value; And that is correct on

Re: GSoC: dinput8 Action Mapping

2011-08-01 Thread Marcus Meissner
On Fri, Jul 29, 2011 at 05:48:43PM -0300, Lucas Zawacki wrote: > Hello! > > Here's a lot of patches with a ConfigureDevices implementation. These > patches can be tested with this app I built that uses ConfigureDevices > to set up a joystick action mapping > (https://github.com/downloads/lfzawacki

Re: NtQuerySystemInformation needs a little bit more flesh for SystemProcessorPerformanceInformation

2011-08-01 Thread Paul Vriens
On 07/28/2011 08:31 PM, Juan Lang wrote: This Reserved1[0] is the DPC Time but I'm wondering what values from /proc/stat to use here (remainder[0] is I/O wait). We could always make up something of course but being accurate would be nicer. DPC Time has no equivalent in /proc/stat. It's an NT t

Re: Wine and endianness

2011-08-01 Thread David Laight
On Mon, Aug 01, 2011 at 08:31:50AM +0200, GOUJON Alexandre wrote: > > Sorry to disturb your conversation but the subject is worth discussing. > > I'm currently trying to add UDF support on wine based on Steven Wallace > work. > Quoting the specification : "On the media the UDF structures are sto