Re: [PATCH 1/2] shell32: Add a semi-stub for SHGetStockIconInfo

2013-04-24 Thread Nikolay Sivov
On Wed, Apr 24, 2013 at 6:38 PM, Detlef Riekenberg wrote: > -- > By by ... Detlef > --- > dlls/shell32/iconcache.c | 42 > ++ > dlls/shell32/shell32.spec |1 + > 2 files changed, 43 insertions(+), 0 deletions(-) > >

Re: Re: [PATCH 1/2] shell32: Add a basic implementation for SHGetStockIconInfo

2013-02-08 Thread Henri Verbeet
On 8 February 2013 11:11, Detlef Riekenberg wrote: > I prefer typedef to reduce a bit of typing. > Typedefs aren't meant to be a tool for obfuscation. (Though if you're into that, there are some interesting things you can make the preprocessor do as well.)

Aw: Re: [PATCH 1/2] shell32: Add a basic implementation for SHGetStockIconInfo

2013-02-08 Thread Detlef Riekenberg
7;t cast away 'const'. Fixed. Thanks >> +HRESULT WINAPI SHGetStockIconInfo(SHSTOCKICONID id, UINT flags, >> SHSTOCKICONINFO *sii) ... >> + GetModuleFileNameW(shell32_hInstance, sii->szPath, MAX_PATH); > GetModuleFileNameW can fail, so filling 'sii' may be a bit

Re: [PATCH 1/2] shell32: Add a basic implementation for SHGetStockIconInfo

2013-01-30 Thread Dmitry Timoshkov
Detlef Riekenberg wrote: > +/ > + * helper for SHGetStockIconInfo > + */ > +typedef struct stockiconentry_t { > +SHSTOCKICONID id; > +DWORD iconid; > +} stockiconentry; Why bother with a typedef? > +static stock

Re: [PATCH 3/3] shell32/tests: Add tests for DoEnvironmentSubstA/W

2012-12-03 Thread Alexandre Julliard
Detlef Riekenberg writes: > +/* Not all variables are supported before vista */ > +if (broken(*bufferA == '%')) > +trace("%d: %s not supported\n", i, bufferA); > +else > +{ > +if (i < 3) todo_wine > +ok(HIWORD(res) && (LOWORD(res

Re: shell32: Increase dde_connect res value

2012-11-08 Thread Vincent Povirk
> http://bugs.winehq.org/show_bug.cgi?id=26830 is easily solved by > http://bugs.winehq.org/attachment.cgi?id=34184 but I don't know if this will > break anything. I cannot find a reference as to why it needs to be set to > 256, but there must be a reason for this. The correct solution would be to

shell32: Increase dde_connect res value

2012-11-07 Thread Ken Sharp
Evening all, http://bugs.winehq.org/show_bug.cgi?id=26830 is easily solved by http://bugs.winehq.org/attachment.cgi?id=34184 but I don't know if this will break anything. I cannot find a reference as to why it needs to be set to 256, but there must be a reason for this. Anyone any ideas? Th

Re: shell32: initialize fAnyOperationsAborted in SHFileOperation (try 2)

2012-11-06 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22786 Your paranoid android

Re: shell32: initialize fAnyOperationsAborted in SHFileOperation

2012-11-06 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22785 Your paranoid android

Re: shell32/tests: Test ShellExecute()'s URL handling.

2012-10-17 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22302 Your paranoid android

Re: shell32/tests: Test ShellExecute()'s URL handling.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22103 Your paranoid android

Re: shell32: Standardize on the ShellExecuteEx() terminology.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22104 Your paranoid android

Re: shell32/tests: Simplify shlexec's test_directory() and add some more tests.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22078 Your paranoid android

Re: shell32: Fix ShellExecute()'s handling of file URLs.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22079 Your paranoid android

Re: [2/4] shell32/tests: Improve the shell_execute{_ex}() tracing.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22055 Your paranoid android

Re: [4/4] shell32/tests: Some more type consistency fixes for the ShellExecute() return value checks.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22057 Your paranoid android

Re: [3/4] shell32/tests: Simplify shlexec's test_argify() and test_lpFile_parsed() and avoid numeric literals.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22056 Your paranoid android

Re: [1/4] shell32/tests: Fix test_one_cmdline() and add a few more tests.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22054 Your paranoid android

Re: [3/3] shell32/tests: Greatly expand the test_argify() tests.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22024 Your paranoid android

Re: [2/3] shell32/tests: Merge shlexec's test_exes_long() with the other parameter passing tests.

2012-10-10 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22023 Your paranoid android

Re: shell32/tests: Write proper tests for CommandLineToArgvW(). (try2)

2012-10-03 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=21999 Your paranoid android

Re: shell32/tests: Write proper tests for CommandLineToArgvW(). (try2)

2012-10-03 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=22000 Your paranoid android

Re: shell32/tests: Simplify shlexec's test_argify() and test_lpFile_parsed() and avoid numeric literals.

2012-10-03 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=21998 Your paranoid android

Re: shell32/tests: Write proper tests for CommandLineToArgvW().

2012-10-02 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=21949 Your paranoid android

Re: shell32/tests: Write proper tests for CommandLineToArgvW().

2012-10-02 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=21950 Your paranoid android

Re: shell32: Add tests for ShellExecute()'s handling of file URLs. (try2)

2012-09-19 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=21655 Your paranoid android

Re: shell32: Add tests for ShellExecute()'s handling of file URLs.

2012-09-19 Thread Juan Lang
Hi Francois, pretty sure you didn't mean to leave this hunk in: @@ -2296,9 +2406,13 @@ START_TEST(shlexec) init_test(); +#if 0 test_argify(); test_lpFile_parsed(); test_filename(); +#endif +test_fileurl(); +#if 0 test_find_executable(); test_lnks(); test_ex

Re: shell32: Add tests for ShellExecute()'s handling of file URLs.

2012-09-19 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=21649 Your paranoid android

Re: shell32: Make ShellExecute use native file association databases as fallback path (resend)

2012-08-28 Thread Alexandre Julliard
Erik van Pienbroek writes: > +#if defined(HAVE_FORK) && defined(HAVE_WAITPID) > +static UINT_PTR SHELL_try_native_execute ( const char *openCmd, const char > *unixName ) > +{ > +UINT_PTR retval = SE_ERR_NOASSOC; > +pid_t cpid; > +struct stat st; > + > +if (stat(openCmd, &st) == -

Re: [PATCH] shell32/tests: Fix a failure on w2k

2012-07-25 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://winetestbot.dolphin/JobDetails.pl?Key=138 Your paranoid android.

Re: shell32: Make ShellExecute use native file association databases as fallback path (try 2)

2012-06-20 Thread Francois Gouget
On Tue, 19 Jun 2012, Erik van Pienbroek wrote: [...] > Additionally a check is added to make sure no recursive loop is > triggered when the native file association database points back to > wine and the fallback path is triggered again This looks much better. [...] > @@ -1911,6 +1944,44 @@ sta

Re: shell32: add some tests for the Progman DDE interface

2012-06-19 Thread Alexandre Julliard
Damjan Jovanovic writes: > Changelog: > * shell32: add some tests for the Progman DDE interface Please merge that with the existing tests, assuming that what you are testing is not already covered. -- Alexandre Julliard julli...@winehq.org

Re: [PATCH 1/1] shell32: Fix FindExecutable search path when a default directory is supplied.

2012-06-07 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=18869 Your paranoid android

Re: [PATCH] shell32: do not crash "wine control.exe nonexisting"

2012-06-06 Thread Alexandre Julliard
Marcus Meissner writes: > On Wed, Jun 06, 2012 at 11:56:06AM +0200, Jacek Caban wrote: >> On 06/06/12 11:52, Alexandre Julliard wrote: >> > Jacek Caban writes: >> > >> >> This usage of list is broken here as well. list_init should be called >> >> before list_add_head (so calling it early in init

Re: [PATCH] shell32: do not crash "wine control.exe nonexisting"

2012-06-06 Thread Marcus Meissner
On Wed, Jun 06, 2012 at 11:56:06AM +0200, Jacek Caban wrote: > On 06/06/12 11:52, Alexandre Julliard wrote: > > Jacek Caban writes: > > > >> This usage of list is broken here as well. list_init should be called > >> before list_add_head (so calling it early in initialization code will > >> fix bot

Re: [PATCH] shell32: do not crash "wine control.exe nonexisting"

2012-06-06 Thread Jacek Caban
On 06/06/12 11:52, Alexandre Julliard wrote: > Jacek Caban writes: > >> This usage of list is broken here as well. list_init should be called >> before list_add_head (so calling it early in initialization code will >> fix both problems). > There's no reason to call list_init on list entries, it sh

Re: [PATCH] shell32: do not crash "wine control.exe nonexisting"

2012-06-06 Thread Alexandre Julliard
Jacek Caban writes: > This usage of list is broken here as well. list_init should be called > before list_add_head (so calling it early in initialization code will > fix both problems). There's no reason to call list_init on list entries, it should only be called on the actual list. -- Alexand

Re: [PATCH] shell32: do not crash "wine control.exe nonexisting"

2012-06-06 Thread Jacek Caban
ne >>> control.exe joy.cpl. >>> >>> The list is just not setup yet as we fail... >>> >>> Ciao, Marcus >>> --- >>> dlls/shell32/control.c | 2 +- >>> 1 files changed, 1 insertions(+), 1 deletions(-) >>> >>>

Re: [PATCH] shell32: do not crash "wine control.exe nonexisting"

2012-06-06 Thread Marcus Meissner
just not setup yet as we fail... > > > > Ciao, Marcus > > --- > > dlls/shell32/control.c |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/dlls/shell32/control.c b/dlls/shell32/control.c > > index cb080d5..b3eddb6 100644

Re: [PATCH] shell32: do not crash "wine control.exe nonexisting"

2012-06-06 Thread Jacek Caban
Hi Marcus, On 06/06/12 10:17, Marcus Meissner wrote: > Hi, > > wine control.exe joy crashed in this line, as it should be wine control.exe > joy.cpl. > > The list is just not setup yet as we fail... > > Ciao, Marcus > --- > dlls/shell32/control.c |2 +- &g

Re: shell32: fix compilation error with strcpy_chk: buffer overflow detected

2012-06-02 Thread Nikolay Sivov
A static string constant would be better here. On Sat, Jun 2, 2012 at 12:42 PM, Vitaly Lipatov wrote: > --- >  dlls/shell32/pidl.c |    5 +++-- >  1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c > index c394e5b..5906

Re: shell32: Make ShellExecute use native file association databases as fallback path

2012-06-02 Thread Francois Gouget
On Thu, 31 May 2012, Erik van Pienbroek wrote: [...] > Tested successfully on a Fedora 17 environment using the start.exe > command and Outlook 2007 by trying to open a .pdf file (where there > is no file association registered inside the wine prefix) There are two issues with this patch: * In so

Re: [PATCH 3/3] shell32: Move the pidl handling to the ExtractIcon_Constructor

2012-05-20 Thread Nikolay Sivov
On 5/20/2012 18:47, Detlef Riekenberg wrote: } else if (IsEqualIID(riid,&IID_IExtractIconA)&&(cidl == 1)) { - pidl = ILCombine(This->pidlRoot, apidl[0]); - pObj = (LPUNKNOWN) IExtractIconA_Constructor(pidl); - SHFree(pidl); - hr = S_OK; +

Re: [PATCH 1/3] shell32: Add IQueryInfo in ShellFolder2_GetUIObjectOf [try 2]

2012-05-20 Thread Nikolay Sivov
On 5/20/2012 18:47, Detlef Riekenberg wrote: +HRESULT IQueryInfo_Constructor(LPCITEMIDLIST root, LPCITEMIDLIST item, void ** ppvOut) +{ +IQueryInfoImpl *qi = HeapAlloc(GetProcessHeap(), 0, sizeof(IQueryInfoImpl)); +LPITEMIDLIST pidl = ILCombine(root, item); + +if (!pidl || !qi) { +

Re: [PATCH 3/4] shell32: Add IQueryInfo to more shellfolder

2012-05-18 Thread Nikolay Sivov
On 5/18/2012 14:06, Detlef Riekenberg wrote: +} else if (IsEqualIID(riid,&IID_IQueryInfo)&& (cidl == 1)) { +pidl = ILCombine (This->pidlRoot, apidl[0]); +pObj = (IUnknown *) IQueryInfo_Constructor (pidl); +SHFree (pidl); +hr = S_OK;

Re: [PATCH 1/4] shell32: Add IQueryInfo in ShellFolder2_GetUIObjectOf

2012-05-18 Thread Nikolay Sivov
On 5/18/2012 14:06, Detlef Riekenberg wrote: +if (ppv == NULL) +return E_POINTER; This is usually redundant. + +if (IsEqualGUID(&IID_IUnknown, riid) || +IsEqualGUID(&IID_IQueryInfo, riid)) { +*ppv =&This->IQueryInfo_iface; +IUnknown_AddRef((IUnknown*)*ppv

Re: [1/3] shell32: Add test for GetCurrentProcessExplicitAppUserModelID.

2012-04-09 Thread Vincent Povirk
> I don't think you need a new file for that. Probably true. I guess I was just making room for myself because I'm not sure yet how extensive the tests will have to be (or WHERE most of them will have to be).

Re: [1/3] shell32: Add test for GetCurrentProcessExplicitAppUserModelID.

2012-04-09 Thread Alexandre Julliard
Vincent Povirk writes: > @@ -3,6 +3,7 @@ IMPORTS = shell32 ole32 oleaut32 user32 advapi32 > > C_SRCS = \ > appbar.c \ > + appusermodel.c \ > assoc.c \ > autocomplete.c \ > brsfolder.c \ I don't think you need a new file for that.

Re: [3/3] shell32: Add test for STARTF_TITLEISAPPID flag.

2012-04-05 Thread Vincent Povirk
Whoops, meant to send this to wine-patches. Sorry for the noise. On Thu, Apr 5, 2012 at 4:52 PM, Vincent Povirk wrote: >

[3/3] shell32: Add test for STARTF_TITLEISAPPID flag.

2012-04-05 Thread Vincent Povirk
From 83736b323bf173aaa9803ff7ddf1cb16d5fb7fb2 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Thu, 5 Apr 2012 13:47:11 -0500 Subject: [PATCH 3/4] shell32: Add test for STARTF_TITLEISAPPID flag. --- dlls/shell32/tests/appusermodel.c | 104 + 1 files

Re: shell32: Added stubs for IMarshal interface (resend)

2012-04-01 Thread Gaurav Jain
Hi Jacek, First I'd like to put a disclaimer, that I'm extremely new to this, so please forgive me if I don't understand most of the behaviours and dependancies. That being said, I will try my very best to dig as much as I can to find out more. On 2012-04-01, at 7:08 AM, Jacek Caban wrote: > t

Re: shell32: Added stubs for IMarshal interface (resend)

2012-04-01 Thread Jacek Caban
Hi Gaurav, On 3/31/12 9:22 PM, Gaurav Jain wrote: shell32: Added stubs for IMarshal interface (resend) Resending due to previous code freeze. ShellLink_QueryInterface() did not have a lookup for the IMarshal Interface. This resulted in an error message popping up in the Quest for Glory II

Re: [PATCH 1/2] shell32: Prepare ASSOC_GetValue and ASSOC_ReturnData to work on non WCHAR* data

2012-03-26 Thread Alexandre Julliard
Piotr Caban writes: > --- > dlls/shell32/assoc.c | 49 > + > 1 files changed, 25 insertions(+), 24 deletions(-) It doesn't work here: ../../../tools/runtest -q -P wine -M shlwapi.dll -T ../../.. -p shlwapi_test.exe.so

Re: shell32: Use simple helper for case insensitive strstr()

2012-01-25 Thread Nikolay Sivov
On 1/25/2012 13:36, Alexandre Julliard wrote: Nikolay Sivov writes: Fix for http://bugs.winehq.org/show_bug.cgi?id=28087 You shouldn't need anything of the kind. If StrStrIW doesn't work right it should be fixed (plus of course there's no reason to even use strstr() here at all). When I debug

Re: shell32: Use simple helper for case insensitive strstr()

2012-01-25 Thread Alexandre Julliard
Nikolay Sivov writes: > Fix for http://bugs.winehq.org/show_bug.cgi?id=28087 You shouldn't need anything of the kind. If StrStrIW doesn't work right it should be fixed (plus of course there's no reason to even use strstr() here at all). -- Alexandre Julliard julli...@winehq.org

Re: [2/2] shell32: Don't translate the shell folder paths.

2012-01-23 Thread Alexandre Julliard
Francois Gouget writes: > Some are not meant to be translated anyway (e.g. 'Program Files') and others > only partially (e.g. 'Program Files\Common Files'). For rest the path forward > is to only translate them in the GUI using desktop.ini files. > The execptions are the folders that we usually

Re: [4/4] shell32: Fix SHLoadInProc() return value

2012-01-08 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=16325 Your paranoid android

Re: shell32/tests: Initialize all fields of SHFILEOPSTRUCT variables (Coverity)

2011-12-01 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=15738 Your paranoid android

Re: [PATCH] shell32: IShellDispatch_NameSpace: Special-folder argument shouldn't be negative.

2011-11-03 Thread Octavian Voicu
On Thu, Nov 3, 2011 at 8:00 PM, Christian Inci wrote: > But my C is a bit rusty, so I don't know a clean way to enumerating an enum. You cannot enumerate an enum. An enum is just a way to define a bunch of related constants. If you don't set explicit values, they will get consecutive values (firs

Re: [PATCH] shell32: IShellDispatch_NameSpace: Special-folder argument shouldn't be negative.

2011-11-03 Thread Christian Inci
Hello, I've tested it now with a value of 0x75 (hex) and it fails. But my C is a bit rusty, so I don't know a clean way to enumerating an enum. Greetings, Christian On 11/03/2011 02:35 PM, Alexander Morozov wrote: -1 in this test is only a sample of a bad constant. Do you sure that S_OK

Re: [PATCH] shell32: IShellDispatch_NameSpace: Special-folder argument shouldn't be negative.

2011-11-03 Thread Alexander Morozov
-1 in this test is only a sample of a bad constant. Do you sure that S_OK should be returned for any positive argument?

Re: shell32/tests: Better check the result of SHGetDesktopFolder

2011-10-12 Thread Austin English
2011/10/12 André Hentschel : > Might fix the crash in some NT4 systems > --- >  dlls/shell32/tests/brsfolder.c |    3 ++- >  1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/dlls/shell32/tests/brsfolder.c b/dlls/shell32/tests/brsfolder.c > index 7b87967..6

Re: shell32: Add definitions for the IEnumACString interface.

2011-09-26 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=14562 Your paranoid android

Re: [PATCH 1/3] shell32: Don't call SendMessage inside critical section

2011-09-20 Thread Alexandre Julliard
Piotr Caban writes: > @@ -355,24 +351,34 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, > LPCVOID dwItem1, LPCVOID > if( !notify ) > continue; > > -ptr->pidlSignaled = ILClone(Pidls[0]); > +item = SHAlloc(sizeof(struct notification_recipients));

Re: [2/2] shell32: Be safe against removal of entries in SHChangeNotify

2011-09-20 Thread Piotr Caban
Hi, On 09/19/11 20:52, André Hentschel wrote: @@ -325,7 +325,7 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID EnterCriticalSection(&SHELL32_ChangenotifyCS); /* loop through the list */ -LIST_FOR_EACH_ENTRY( ptr,¬ifications, NOTIFICATIONLIST,

Re: shell32: Don't dereference NULL pointers when tracing.

2011-09-18 Thread Octavian Voicu
On Sun, Sep 18, 2011 at 8:37 PM, Francois Gouget wrote: > +    TRACE("-- vmode %#x, flags %#x", view_params->pfs->ViewMode, > view_params->pfs->fFlags); > +    if (view_params->prcView) > +        TRACE(", left %d, top %d, right %d, bottom %d", > view_params->prcView->left, > +              view

Re: [2/2] shell32: Handle the directory parameter in ShellExecute functions (try 2 resend)

2011-09-13 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=14201 Your paranoid android

Re: [1/2] shell32/tests: Fix path comparison (try 2)

2011-09-13 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=14200 Your paranoid android

Re: shell32/tests: Make test explicit about return pointer

2011-09-11 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=14136 Your paranoid android

Re: [1/2] shell32/tests: Fix path comparison

2011-09-06 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=14016 Your paranoid android

Re: shell32: add ICDBurn interface stub

2011-08-26 Thread Alexandre Julliard
Aric Stewart writes: > --- > dlls/shell32/Makefile.in |1 + > dlls/shell32/cdburn.c| 180 > ++++++ > dlls/shell32/shell32_classes.idl | 6 ++ > dlls/shell32/shell32_main.h |1 + > dlls/shell32/shell

Re: [PATCH 2/4] shell32: Register standard known folders on initialization.

2011-08-23 Thread Alexandre Julliard
Mariusz Pluciński writes: > +for(i=0; i < sizeof(CSIDL_Data)/sizeof(CSIDL_Data[0]); ++i) > +{ > +if(!CSIDL_Data[i].szValueName) > +{ > +FIXME("known folder %d has no value name, ignoring\n", i); > +continue; > +}

Re: [PATCH 5/5] shell32: Implement a default property sheet for file system objects

2011-08-22 Thread Nikolay Sivov
On 8/21/2011 19:21, Jay Yang wrote: +LoadStringA(shell32_hInstance,IDS_PROPSHEET_VARIOUS, +various_str,sizeof(various_str)); +LoadStringW(shell32_hInstance,IDS_PROPSHEET_COUNT_FORMAT, +count_format,sizeof(count_format)/sizeof(WCHAR)); Why -A call here? +

Re: [PATCH 3/5] shell32: Implement SHOpenPropSheet

2011-08-22 Thread Nikolay Sivov
On 8/21/2011 19:20, Jay Yang wrote: --- dlls/shell32/shell32.spec |3 ++ dlls/shell32/shellord.c | 88 + include/shlobj.h |4 ++ 3 files changed, 95 insertions(+), 0 deletions(-) It's not clear for me why you placed th

Re: [PATCH 2/5] shell32: Use SHCreateDefaultContextMenu to create context menus (try 2)

2011-08-22 Thread Nikolay Sivov
On 8/21/2011 19:20, Jay Yang wrote: Changes from last time: Factored out the code to find the registry keys for the extensions. --- dlls/shell32/classes.c| 47 + dlls/shell32/shell32_main.h |1 + dlls/shell32/shfldr.h |9

Re: [PATCH 1/5] shell32: Implement loading of context menu shell extensions (try 3)

2011-08-22 Thread Nikolay Sivov
(for this file): cleaned up the code. --- dlls/shell32/shlmenu.c | 170 ++- 1 files changed, 166 insertions(+), 4 deletions(-) +HKEY *new_keys=NULL; +new_keys = HeapAlloc(GetProcessHeap(),0,sizeof(HKEY)*cKeys); No need to initialize that expli

Re: [PATCH 1/3] shell32/tests: Add verification of known folders parsing names.

2011-08-02 Thread Alexandre Julliard
Mariusz Pluciński writes: > +KNOWN_FOLDER(FOLDERID_AddNewPrograms, NO_CSIDL, >"AddNewProgramsFolder", KF_CATEGORY_VIRTUAL, > GUID_NULL,NULL, > > "::{21EC2020-3AEA-1069-A

Re: [PATCH 4/6] shell32: Implement SHCreateDefaultContextMenu and CDefFolderMenu_Create2 (try 2)

2011-08-02 Thread Alexandre Julliard
Jay Yang writes: > Added TRACE statements and removed some stray comments > --- > dlls/shell32/Makefile.in |1 + > dlls/shell32/composite_cmenu.c | 275 > Please put that in some existing files, there are already way too many f

Re: [PATCH] shell32: Disable WOW64 redirection when converting pidls to UNIX paths. (try 2, resend)

2011-07-29 Thread Octavian Voicu
On Fri, Jul 29, 2011 at 9:55 AM, Paul Vriens wrote: >> +        win_skip("Not on WOW64, skipping test.\n"); > > Why a win_skip()? Isn't a normal skip() more appropriate? Year, you're right, win_skip didn't make much sense. I was only thinking at GetSystemWow64DirectoryW when I wrote that (which,

Re: [PATCH] shell32: Disable WOW64 redirection when converting pidls to UNIX paths. (try 2, resend)

2011-07-28 Thread Paul Vriens
On 07/29/2011 01:29 AM, Octavian Voicu wrote: +else +win_skip("Not on WOW64, skipping test.\n"); Why a win_skip()? Isn't a normal skip() more appropriate? -- Cheers, Paul.

Re: [PATCH] shell32: Disable WOW64 redirection when converting pidls to UNIX paths. (try 2)

2011-07-28 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=12984 Your paranoid android

Re: [PATCH] shell32: Disable WOW64 redirection when converting pidls to UNIX paths.

2011-07-28 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=12975 Your paranoid android

Re: [PATCH 4/4] shell32/tests: Add verification of known folders relative paths.

2011-07-25 Thread Alexandre Julliard
Mariusz Pluciński writes: > Checks relative path for each known folder. This one crashes here: ../../../../wine/tools/runtest -q -P wine -M shell32.dll -T ../../.. -p shell32_test.exe.so ../../../../wine/dlls/shell32/tests/shellpath.c && touch shellpath.ok fixme:shell:_SHGetUser

Re: shell32: Fix cast in RecycleBinMenu_InvokeCommand

2011-07-14 Thread Jay Yang
On 07/14/2011 09:50 AM, Alexandre Julliard wrote: > Jay Yang writes: > >> @@ -240,7 +240,7 @@ static HRESULT WINAPI >> RecycleBinMenu_InvokeCommand(IContextMenu2 *iface, >> LPCSTR verb = pici->lpVerb; >> if(!HIWORD(verb)) >> { >> -switch((UINT)verb) >> +switch((UINT

Re: shell32: Make ISFHelper_fnCopyItems actually copy the items (try 2)

2011-07-14 Thread Alexandre Julliard
Jay Yang writes: > Removed an unused variable. Still failing ("ret may be used uninitialized"). -- Alexandre Julliard julli...@winehq.org

Re: shell32: Fix cast in RecycleBinMenu_InvokeCommand

2011-07-14 Thread Alexandre Julliard
Jay Yang writes: > @@ -240,7 +240,7 @@ static HRESULT WINAPI > RecycleBinMenu_InvokeCommand(IContextMenu2 *iface, > LPCSTR verb = pici->lpVerb; > if(!HIWORD(verb)) > { > -switch((UINT)verb) > +switch((UINT_PTR)verb) Actually the HIWORD() is more problematic. --

Re: [PATCH 1/6] shell32/tests: Add tests for SHQueryRecycleBin (try 2)

2011-07-08 Thread Alexandre Julliard
Jay Yang writes: > +static void test_query_recyclebin(void) > +{ > +SHQUERYRBINFO > info1={sizeof(info1),0xdeadbeefdeadbeefLL,0xdeadbeefdeadbeefLL}; > +SHQUERYRBINFO > info2={sizeof(info2),0xdeadbeefdeadbeefLL,0xdeadbeefdeadbeefLL}; You can't use LL constants. -- Alexandre Julliard j

Re: [PATCH 1/6] shell32/tests: Add tests for SHQueryRecycleBin

2011-07-07 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=12300 Your paranoid android

Re: [PATCH 2/6] shell32: Implement SHQueryRecycleBin (try 3)

2011-07-07 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=12302 Your paranoid android

Re: [PATCH 2/6] shell32: Implement SHQueryRecycleBin (try 3)

2011-07-07 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=12302 Your paranoid android

Re: shell32: Remove dead assignments (Clang)

2011-07-06 Thread Nikolay Sivov
2011/7/6 Frédéric Delanoy : > --- >  dlls/shell32/shelllink.c |   16 >  1 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c > index 07fe7aa..fff0e79 100644 > --- a/dlls/shell32/shelllink.c

Re: [PATCH 1/4] shell32: Implement erasing and restoring items from the trash

2011-06-30 Thread Juan Lang
Hi Jay, +HRESULT TRASH_RestoreItem(LPCITEMIDLIST pidl){ Nit: the brace should be on its own line. +HRESULT TRASH_RestoreItem(LPCITEMIDLIST pidl) DECLSPEC_HIDDEN; +HRESULT TRASH_EraseItem(LPCITEMIDLIST pidl) DECLSPEC_HIDDEN; These two functions are never called in this patch, so you're introduci

Re: [PATCH 3/4] shell32: Add IKnownFolder::SetPath() implementation

2011-06-23 Thread Mariusz Pluciński
Please, ignore this single patch. This function should be implemented in other way (using redirection feature, the thing I am working on but did not submit yet). W dniu 23.06.2011 18:50, Mariusz Pluciński pisze: --- dlls/shell32/shellpath.c | 32 ++-- dlls

Re: [PATCH 1/5] shell32: Add IKnownFolderManager::RegisterFolder implementation (resend)

2011-06-22 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=11886 Your paranoid android

Re: [PATCH 1/5] shell32: Add IKnownFolderManager::RegisterFolder implementation

2011-06-21 Thread Alexandre Julliard
Mariusz Pluciński writes: > Would you explain me, what is wrong with this patches series? I've > submitted it last week and for some reason it's status is > untouched. (the "failed" status seems to be temporal testbot's problem > rather than my patch's, so this is not the reason). I have no idea

Re: [PATCH 1/5] shell32: Add IKnownFolderManager::RegisterFolder implementation

2011-06-21 Thread Mariusz Pluciński
king CSIDL-based way. New code is used only for folders registered using RegisterFolder(). For all others, the older code using CSIDL_Data array is used. 2. move all folders from CSIDL_Data array to registry and remove old way of accessing them. --- dlls/sh

Re: [PATCH 1/5] shell32: Add IKnownFolderManager::RegisterFolder implementation

2011-06-15 Thread Vincent Povirk
t; working CSIDL-based way. New code is used only for  folders registered using > RegisterFolder(). For all others, the older code using CSIDL_Data array is > used. >  2. move all folders from CSIDL_Data array to registry and remove old way of > accessing them. > --- >

Re: [PATCH 3/5] shell32: Add support of registry-registered folders to IKnownFolderManager::GetFolder

2011-06-15 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=11756 Your paranoid android

Re: [PATCH 2/5] shell32: Add IKnownFolderManager::UnregisterFolder implementation

2011-06-15 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=11755 Your paranoid android

Re: [PATCH 1/5] shell32: Add IKnownFolderManager::RegisterFolder implementation

2011-06-15 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=11754 Your paranoid android

  1   2   3   4   5   6   7   8   9   10   >