Re: IHlink::Navigate mystery value

2010-01-07 Thread Reece Dunn
2010/1/7 Andrew Eikum : > The last call in IHlink::Navigate is to IHlinkSite::OnNavigationComplete. >  This function takes an HRESULT argument which, according to MSDN, should > contain the final result of the navigation.  Again, according to MSDN, > IHlink::Navigate should return S_OK on success,

Re: Patch feedback requested for OleCreatePropertyFrame()

2010-01-07 Thread Geoffrey Hausheer
Ok, I have reimplemented OleCreatePropertyFrame() from scratch. There is no code from Hidenori's patch in mine, nor did I use it as a reference (though of course I can't claim that I didn't learn anything from his patch during my previous cleanup) Would someone mind reviewing this for style/conte

Re: IHlink::Navigate mystery value

2010-01-07 Thread André Hentschel
Andrew Eikum schrieb: > I've been working the past few days on cleaning up low-hanging-fruit > bugs relating to MSOffice. I've run into one bug for which I have a > solution, but I have no explanation as to why the solution is correct. > It's what Windows does, but I don't know why! This email's

Re: crypt32: check for NULL target pointers (Coverity)

2010-01-07 Thread Marcus Meissner
On Thu, Jan 07, 2010 at 11:28:37AM -0800, Juan Lang wrote: > Hi Marcus, > > Ideally this patch would be accompanied by a test. Also, this change: > > @@ -212,6 +212,10 @@ static BOOL CRYPT_DecodeEnsureSpace(DWORD dwFlags, > > if (dwFlags & CRYPT_DECODE_ALLOC_FLAG) > { > +if (!

IHlink::Navigate mystery value

2010-01-07 Thread Andrew Eikum
I've been working the past few days on cleaning up low-hanging-fruit bugs relating to MSOffice. I've run into one bug for which I have a solution, but I have no explanation as to why the solution is correct. It's what Windows does, but I don't know why! This email's a bit long, but it describ

patch 57244: (try 3) msi: queue dynamically allocated strings in cond.y...

2010-01-07 Thread Nate Gallaher
Anything I can do to help move this along? ~Nate

Re: [PATCH 1/2] mmdevapi: Add code to enumerate NOTPRESENT devices

2010-01-07 Thread Maarten Lankhorst
Hi Alexandre, Alexandre Julliard schreef: Maarten Lankhorst writes: @@ -33,6 +35,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(mmdevapi); +static const WCHAR software_wine_mmdevapi[] = +{ 'S','o','f','t','w','a','r','e','\\','W','i','n','e','\\','m','m','d','e','v','a','p','i',0}; Thi

Re: crypt32: check for NULL target pointers (Coverity)

2010-01-07 Thread Juan Lang
Hi Marcus, Ideally this patch would be accompanied by a test. Also, this change: @@ -212,6 +212,10 @@ static BOOL CRYPT_DecodeEnsureSpace(DWORD dwFlags, if (dwFlags & CRYPT_DECODE_ALLOC_FLAG) { +if (!pvStructInfo) { +SetLastError(ERROR_INVALID_PARAMETER); +

Re: [PATCH 1/2] mmdevapi: Add code to enumerate NOTPRESENT devices

2010-01-07 Thread Alexandre Julliard
Maarten Lankhorst writes: > @@ -33,6 +35,13 @@ > > WINE_DEFAULT_DEBUG_CHANNEL(mmdevapi); > > +static const WCHAR software_wine_mmdevapi[] = > +{ > 'S','o','f','t','w','a','r','e','\\','W','i','n','e','\\','m','m','d','e','v','a','p','i',0}; This looks suspicious. Why do you need a Wine

Re: FIXMEs in DllCanUnloadNow and friends (and how to handle them)

2010-01-07 Thread Reece Dunn
2010/1/7 Michael Stefaniuc : > Hello Reece, > Impressive script. Not sure if you have heard of coccinelle (semantic > patcher, http://coccinelle.lip6.fr/); it sees some usage in the Linux > Kernel project. As I would like to see it used on Wine too I've have > added the corresponding cocci file for

Re: FIXMEs in DllCanUnloadNow and friends (and how to handle them)

2010-01-07 Thread Michael Stefaniuc
Hello Reece, Reece Dunn wrote: > As a result of the "Wine FIXME Report 2009 Aug - Dec" thread, I thanks for the patch. It is good to see that the FIXME report is useful and generated some Wine commits. > created the following to hunt for DllCanUnloadNow calls that were > marked as being FIXME stu