Re: [2/3] kernel32/tests: test CopyFileEx callback and cancellation (resend)

2013-09-29 Thread Daniel Jeliński
2013/9/30 Nikolay Sivov > On 9/30/2013 00:51, Daniel Jeliński wrote: > > > +struct progress_list { >> +const DWORD progress_retval_init; /* value to return from progress >> routine */ >> +const BOOL cancel_init;/* value to set Cancel

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-15 Thread Daniel Jeliński
2013/9/15 Nikolay Sivov > You could add CopyFile2 style callback function in our code, pass > everything you need as 'pvCallbackContext', that could be CopyFileEx > callback pointer or pointer to a structure that contains > pointer to user callback (and anything else you might need). > > I didn't

Re: [2/2] kernel32: implement callback and cancellation in CopyFileEx

2013-09-14 Thread Daniel Jeliński
2013/9/14 Nikolay Sivov > Could you implement necessary part of CopyFile2 instead, and use it in > CopyFileEx? I think CopyFile2 has everything to do that. > > I suppose I could, but then, CopyFile2 uses a different callback than CopyFileEx: CopyFile2: http://msdn.microsoft.com/en-us/library/wind

Re: mscoree: Attempt to load the assembly from the application directory

2013-08-14 Thread Daniel Jeliński
Hi Vincent, there's no more info in the registry. At this point we have the assembly name and we know that it is not in GAC, so either it is in current directory or it's absent. That being said, I think this is the wrong place for this change. Method get_file_from_strongname [1] is better suited f

Re: Need help with a rsaenh bug

2013-06-28 Thread Daniel Jeliński
yptDecrypt with Final=FALSE before your test. Could you add such test? Regards, Daniel 2013/6/28, Qian Hong : > Hi Daniel, > > On Fri, Jun 28, 2013 at 3:43 AM, Daniel Jeliński > wrote: >> It is definitely valid to call CryptDecrypt multiple times with the same >> key. C

Re: Need help with a rsaenh bug

2013-06-27 Thread Daniel Jeliński
It is definitely valid to call CryptDecrypt multiple times with the same key. Calls with Final = FALSE change the internal state of the key, calls with Final = TRUE restore the initial state. Subsequent calls with Final = TRUE should return the same result. Your testcase fails because CryptDecrypt

Re: comctl32: Use default GUI font as a fallback instead of a (non-existent) Arial.

2013-06-17 Thread Daniel Jeliński
Hi Dmitry, After this patch got applied, the code looks like this: ( http://source.winehq.org/git/wine.git/blob/cc086f09ae46c77e6eb4a817ae567294d3f795ec:/dlls/comctl32/tab.c#l1914 ) 1914 if (!GetObjectW((infoPtr->hFont) ? 1915 infoPtr->hFont : GetStockObject(DEFAULT_GUI_FONT), 1916 sizeof(LOGFONTW)

Re: Making SetThreadPriorityBoost claim success

2013-05-27 Thread Daniel Jeliński
I guess the only way to find out is sending a patch to wine-patches. It would probably be acceptable, SetThreadStackGuarantee also returns true while doing nothing. By the way, this page might be more related to the function in question: http://bugs.sun.com/view_bug.do?bug_id=4985566 (search for 'b

Re: IID mess

2013-05-03 Thread Daniel Jeliński
gt; Never both, or you'll get those multiple definitions. > > Damjan > > > On Fri, May 3, 2013 at 11:31 AM, Daniel Jeliński wrote: > >> Additional info: >> after my patches amstream fails to link complaining about duplicate >> IID_IResourceManager: >&g

Re: IID mess

2013-05-03 Thread Daniel Jeliński
ed reference to `IID_ITransactionDispenser' /usr/bin/ld: xolehlp.o: relocation R_386_GOTOFF against undefined hidden symbol `IID_ITransactionDispenser' can not be used when making a shared object /usr/bin/ld: final link failed: Bad value How do I know which dll should export these IIDs? 2013/5/2 Daniel Jeliński

IID mess

2013-05-02 Thread Daniel Jeliński
Hello, I just tried compiling all of Wine with my patch series applied and, to my surprise, compilation failed. The reason was that IID_IResourceManager was already declared elsewhere. Now, according to this page: http://mikolajapp.appspot.com/uuid/query?q={56a868ac-0ad4-11ce-b03a-0020af0ba770} Wi

Re: [2/6] uuid: add transact.h and txdtc.h

2013-05-02 Thread Daniel Jeliński
dding interfaces in the same series, might as well merge the patches. Thanks for the review, Daniel 2013/5/2 Frédéric Delanoy > On Wed, May 1, 2013 at 11:19 PM, Daniel Jeliński wrote: > >> #include "msdasc.h" >> >> +#include "transact.h" >> +#includ

wine-patches

2013-05-01 Thread Daniel Jeliński
Hello, I sent a ~200KB patch to wine-patches last night and it disappeared without a trace. I'm wondering if it got lost or just went to moderation. Regards, Daniel PS.I just resent it, still no luck.

Re: [2/4] include: added transact.idl (resend)

2013-05-01 Thread Daniel Jeliński
> Type it yourself. Refer to MSDN, public descriptions, and publicly > available headers, but don't copy/paste from any of them. > --Juan > > > On Wed, May 1, 2013 at 3:56 AM, Daniel Jeliński wrote: > >> It probably is, I downloaded it somewhere. Had to remove some

Re: [2/4] include: added transact.idl (resend)

2013-05-01 Thread Daniel Jeliński
like the right idea. Well I could remove comments, but that's hardly innovative. What's the usual way to do it? 2013/5/1 Alexandre Julliard > Daniel Jeliński writes: > > > +import "unknwn.idl"; > > + > > +interface ITransaction; > > +interface ITr

Re: [1/4] xolehlp: fix calling convention

2013-05-01 Thread Daniel Jeliński
Ack, done. By the way, I'm looking for txdtc.idl (SQL Server wants IResourceManagerFactory, which is declared there), but Google only finds txdtc.h. Do we have any tool to generate IDL back from header? Thanks, Daniel 2013/5/1 Nikolay Sivov > On 5/1/2013 01:43, Daniel Jelińs

Re: comctl32: Make an attempt to update notification handle

2013-03-26 Thread Daniel Jeliński
2013/3/26 Nikolay Sivov : > Is there any reliable way to test send mouse messages? Cause it looks like > if I send WM_LBUTTONDOWN directly it doesn't trigger tab selection code on > windows, but works in wine. Do you want to figure out the correct sequence of messages or write tests for wine's tes

Re: wined3d: add NVidia GeForce 315M

2013-03-18 Thread Daniel Jeliński
2013/3/18, Stefan Dösinger : > *) The upcoming GLX_MESA_query_renderer extension will provide a good way to > query this info. If this extension will be adopted by the binary drivers is > an open question. > > *) The X.org log would be an extremely ugly way to read this info. The log > is at an unk

Regression testing

2012-04-12 Thread Daniel Jeliński
Hello all, I am trying to get Microsoft SQL Server Management Studio to work flawlessly under Wine. For the most part I create and triage related bug reports, but recently I also started tinkering with code, specifically with comctl library, which I am most familiar with. Back on subject.

Re: [1/2] comctl32/tests: Added tests for mouse events handling (try 3)

2012-04-09 Thread Daniel Jeliński
Dnia 09-04-2012 o 04:13:44 Vitaliy Margolen napisał(a): On 04/08/2012 01:44 PM, Daniel Jelinski wrote: Hardware messages are an alternative, but I couldn't find any relevant examples, so I followed the path of least resistance. These tests you wrote won't work. Emulating mouse up/down events w