Re: [PATCH 1/2] ntdll: Implement NtQuerySystemInformation class 0x37

2013-07-29 Thread James Eder
On Mon, Jul 29, 2013 at 5:29 PM, Chris Moeller wrote: > > You should add a FIXME() for the SystemNumaHighestNodeNumber case since you are not implementing the full behavior. QEMU may be able to emulate NUMA so that may be worth a look (although the man page sucks on the topic). It's been a whi

Possibility of adding a new patch status

2013-07-29 Thread Hugh McMaster
Hi everyone, Wine patches currently have a status described in http://source.winehq.org/patches, yet for patches with the status of 'New', the status becomes confusing. The legend describes 'New' status as "Patch not even looked at yet, there's still hope...". This is ideal for new patches sub

Re: windowscodecs: Workaround libtiff bug when it defines toff_t as 32-bit for 32-bit builds. Take 2.

2013-07-29 Thread Dmitry Timoshkov
Dmitry Timoshkov wrote: > > There's a TIFF_VERSION define that seems to have been renamed to > > TIFF_VERSION_CLASSIC in 4.0. > > > > It doesn't make sense to do the check at runtime, given we're only > > going to link to one of the versions. > > TIFF_VERSION_CLASSIC reflects the TIFF format it

GetNumaHighestNodeNumber tests

2013-07-29 Thread Chris Moeller
Here is a basic stand-alone test program, which I should probably learn how to implement into the standard testing array. On my test Windows 7 system with a single processor (4 cores), it outputs the following: Testing NtQuerySystemInformationSystemNumaHighestNodeNumber = 0x37, ...): ..

[PATCH 2/2] kernel32: Implement GetNumaHighestNodeNumber

2013-07-29 Thread Chris Moeller
From 750f684d6c836f287d7ddb427f12b28da844736a Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Mon, 29 Jul 2013 16:20:14 -0700 Subject: kernel32: Implement GetNumaHighestNodeNumber using correct NtQuerySystemInformation API --- dlls/kernel32/process.c | 25 ++--- 1 file

[PATCH 1/2] ntdll: Implement NtQuerySystemInformation class 0x37

2013-07-29 Thread Chris Moeller
From c0c3050e32d8d79596b6ec4dfc8a2a5b5ca76f8b Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Mon, 29 Jul 2013 16:19:19 -0700 Subject: ntdll: Implement NtQuerySystemInformation class 0x37, used by GetNumaHighestNodeNumber --- dlls/ntdll/nt.c| 14 ++ include/winternl.h |

[PATCH 0/2] Implement basic GetNumaHighestNodeNumber

2013-07-29 Thread Chris Moeller
This patch against HEAD does the following in two parts: Part 1) Implements NtQuerySystemInformation class 0x37, which I have given the name SystemNumaHighestNodeNumber, since that appears to be all it does. It currently is limited to simulating a single node system, and returns the correct err

Re: kernel32: Correct log on / logon (noun / verb)

2013-07-29 Thread Austin English
On Wed, Jul 24, 2013 at 4:37 PM, Ken Sharp wrote: > Evening Winos, > > Attached is a patch to correct some winerr messages. Specifically change a > noun to a verb, and update the .po files with it. > > Firstly, could you take a look and point out any obvious errors I may have > made? > > I have ma

Re: [1/1] kernel32: Implemented basic NUMA functions to replace the stubs

2013-07-29 Thread Matteo Bruni
2013/7/30 Chris Moeller : > > On Jul 29, 2013, at 11:22 AM, Matteo Bruni wrote: > >> 2013/7/29 Chris Moeller : >>> without looking very deeply into the CRT source code. >> >> You're talking about MS source code, right? That makes you tainted for >> contributing to Wine at >> the very least for C r

Re: [1/1] kernel32: Implemented basic NUMA functions to replace the stubs

2013-07-29 Thread Detlef Riekenberg
Hi Chris. Welcome to Wine. > Main changes from HEAD: > 1) Implements GetNumaHighestNodeNumber which simulates a typical single node > system. > 2) Implements GetNumaNodeProcessorMask which returns the global processor > affinity mask for node 0, otherwise returns an error. > 3) Implements GetNu

Re: [PATCH] Ignore MotionNotify when XI2 is handling mouse motion

2013-07-29 Thread Alexandre Julliard
Josef Schimke writes: > Hello, > > When XInput2 takes over the mouse, regular MotionNotify events continue to be > handled alongside it. This causes the cursor to erratically skip around when > the slower method (X11 input) tries to reposition the cursor while XInput2 is > already handling futur

Re: [1/1] kernel32: Implemented basic NUMA functions to replace the stubs

2013-07-29 Thread Matteo Bruni
2013/7/29 Chris Moeller : > without looking very deeply into the CRT source code. You're talking about MS source code, right? That makes you tainted for contributing to Wine at the very least for C runtime-related code :( If you haven't looked into any other source code, this patch might be okay (

Re: How to get involved in Windows Store API implement?

2013-07-29 Thread Stefan Dösinger
Hi, Am 29.07.2013 um 15:33 schrieb 中川祥 : > I do not know much about the store apps development. > What is Windows.winmd? Do I need disassemble it and create wine version ?If I > need C++,I wouldn't do. First of all, don't disassemble Windows DLLs. Wine will not accept your code if you do that.

Re: riched20: ITextDocument stubs for ITextServices (retry)

2013-07-29 Thread Caibin Chen
Hi Jacek, Thanks for your review. I really appreciate it :) 2013/7/29 Jacek Caban : > You sent the patch during code freeze, when it couldn't be committed, so > it probably didn't get enough attention. Now is the right time to resubmit. Does that means I should resend the patch to the mail list?

Re: NtCreateFile fails

2013-07-29 Thread Marcus Meissner
On Mon, Jul 29, 2013 at 04:02:03PM +0200, Mislav Blazevic wrote: > First of all, pardon my ignorance, I am new to wine and winapi. > > I am trying to implement apphelp.dll and I ran into issues with > NtCreateFile: It always returns 0xc103, STATUS_NOT_A_DIRECTORY, and I > am not sure what that

Re: NtCreateFile fails

2013-07-29 Thread Nikolay Sivov
On 7/29/2013 18:02, Mislav Blazevic wrote: First of all, pardon my ignorance, I am new to wine and winapi. I am trying to implement apphelp.dll and I ran into issues with NtCreateFile: It always returns 0xc103, STATUS_NOT_A_DIRECTORY, and I am not sure what that means. Here is code: /* T

NtCreateFile fails

2013-07-29 Thread Mislav Blazevic
First of all, pardon my ignorance, I am new to wine and winapi. I am trying to implement apphelp.dll and I ran into issues with NtCreateFile: It always returns 0xc103, STATUS_NOT_A_DIRECTORY, and I am not sure what that means. Here is code: /* This function is not in API, but written for inte

How to get involved in Windows Store API implement?

2013-07-29 Thread 中川祥
I do not know much about the store apps development. What is Windows.winmd? Do I need disassemble it and create wine version ?If I need C++,I wouldn't do. Is there any planning to support them?

Re: riched20: ITextDocument stubs for ITextServices (retry)

2013-07-29 Thread Jacek Caban
Hi Caibin, On 07/29/13 01:52, Caibin Chen wrote: > Hi, > > It has been 2 weeks since I sent this patch[1]. It's still new status > in the patches list. I'm working on following patches based on it. I > appreciate your reviews and will work on the patch to get it > submitted. You sent the patch du