Re: wine/server: removed obsolete one-iteration loop from request forming macro

2012-08-21 Thread Sergey Guralnik
On 2012-08-22 6:26, Архад wrote: #define SERVER_START_REQ(type) \ -do { \ -struct __server_request_info __req; \ ... -(void)reply; \ -do - -#define SERVER_END_REQ \ -while(0); \ -} while(0) +struct __server_request_info __req; \ ... +(void)rep

Re: [3/3] gdiplus: GdipMeasureCharacterRanges should respect device units and transformations.

2012-08-21 Thread Dmitry Timoshkov
Vincent Povirk wrote: > >> Shouldn't you be scaling range_size.cx as well? > > > > No, range_size is already in pixels. > > So is bounds. I think you need to scale both of them to world units. You are right, somehow I missed that, thanks. -- Dmitry.

Re: [3/3] gdiplus: GdipMeasureCharacterRanges should respect device units and transformations.

2012-08-21 Thread Vincent Povirk
>> Shouldn't you be scaling range_size.cx as well? > > No, range_size is already in pixels. So is bounds. I think you need to scale both of them to world units.

Re: [3/3] gdiplus: GdipMeasureCharacterRanges should respect device units and transformations.

2012-08-21 Thread Dmitry Timoshkov
Vincent Povirk wrote: > > GetTextExtentExPointW(hdc, string + index, range_start - index, > >INT_MAX, NULL, NULL, &range_size); > > -range_rect.X = bounds->X + range_size.cx; > > +range_rect.X = bounds->X / args->rel_width +

Re: [3/3] gdiplus: GdipMeasureCharacterRanges should respect device units and transformations.

2012-08-21 Thread Vincent Povirk
> GetTextExtentExPointW(hdc, string + index, range_start - index, >INT_MAX, NULL, NULL, &range_size); > -range_rect.X = bounds->X + range_size.cx; > +range_rect.X = bounds->X / args->rel_width + range_size.cx; > >

Re: Have there been any problems with Wine on GCC 4.7?

2012-08-21 Thread Austin English
On Mon, Aug 20, 2012 at 11:55 PM, Eric Pouech wrote: > >> >> >> http://source.winehq.org/git/wine.git/commitdiff/3f1dbaf3df0ae8ec2f0e86191eae3879fc422e2d >> >> -- >> -Austin > > > the trouble with this patch is that it enables debug info whatever the > default configuration is... > A+ > > -- > Eri

Re: user32: Don't limit time needed for WM_DDE_INITIATE processing.

2012-08-21 Thread Piotr Caban
On 08/21/12 17:40, Alexandre Julliard wrote: Piotr Caban writes: Current timeout is too small for Microsoft Office 2010 in some cases. I've checked that DdeConnect succeeds on windows when it needs to wait for 10 minutes. Are you sure that you want to remove the SMTO_ABORTIFHUNG flag? Does

Re: user32: Don't limit time needed for WM_DDE_INITIATE processing.

2012-08-21 Thread Alexandre Julliard
Piotr Caban writes: > Current timeout is too small for Microsoft Office 2010 in some cases. > I've checked that DdeConnect succeeds on windows when it needs to wait > for 10 minutes. Are you sure that you want to remove the SMTO_ABORTIFHUNG flag? Does a hung process really prevent all DDE conne

Re: [1/3] dinput: Disable linuxinput or linux joysticks based on registry key

2012-08-21 Thread Alexandre Julliard
Lucas Zawacki writes: > From: Lucas Fialho Zawacki > > In the form of "Disable Controllername"="driver" > > Examples: >Disable "Usb Controller"="js" disable linux js driver >Disable "OtherController"="event,js" disable linux js and event > drivers That's a fairly compl

Re: mountmgr.sys: For loop-mounted devices, use the backing file

2012-08-21 Thread Damjan Jovanovic
On Tue, Aug 21, 2012 at 4:25 PM, GOUJON Alexandre wrote: > I thought mounting the ISO should be the same thing than inserting the disc > in the drive. > But you seem to think that the current behaviour is the right one so in this > case, simply ignore my patch. > > Try using cdemu to load that I

Re: mountmgr.sys: For loop-mounted devices, use the backing file

2012-08-21 Thread GOUJON Alexandre
On 08/21/2012 11:49 AM, Alexandre Julliard wrote: Alexandre Goujon writes: As part of their copy protection, some games use some ioctl's to check some physical attributes. Unfortunately, when using the loop device, some ioctl fail (like IOCTL_SCSI_GET_ADDRESS). A simple fix is to use /path/t

Re: [PATCH] kernel32: add basic conditional variables support (try 2)

2012-08-21 Thread Alexandre Julliard
Marcus Meissner writes: > Hi, > > Started with patch from Austin, brought up to a point > where Adobe Lightroom 4.1 starts up. > > The synchronisation is probably not 100% correct and > not sufficiently atomic. Synchronization routines have to be 100% correct, half stubs are worse than no implem

Re: mountmgr.sys: For loop-mounted devices, use the backing file

2012-08-21 Thread Alexandre Julliard
Alexandre Goujon writes: > As part of their copy protection, some games use some ioctl's to check some > physical attributes. > Unfortunately, when using the loop device, some ioctl fail (like > IOCTL_SCSI_GET_ADDRESS). > A simple fix is to use /path/to/the/file.ISO instead of /dev/loopX. Seve