Re: wininet: Don't assume that end of chunk means end of stream. (try 2)

2013-09-25 Thread Jacek Caban
Hi Hans, Sorry for the delay, I wanted to test it a bit more before answering. On 09/23/13 10:50, Hans Leidekker wrote: > On Thu, 2013-09-19 at 17:38 +0200, Jacek Caban wrote: >> I was hoping for a test like the attached one, which shows that there is >> still more work to do. But

Re: Wine Gecko 2.24-beta1

2013-09-25 Thread Jacek Caban
ed all those bugs while preparing the release, but they seem to be caused by MSHTML, not Gecko itself, so the release won't change behaviour here. Cheers, Jacek

Re: add ualapi directory (try 9

2013-09-23 Thread Jacek Caban
separated patch. And you don't need to include changes to generated files (configure, configure.ac and include/Makefile.in). Cheers, Jacek

Re: wininet: Don't assume that end of chunk means end of stream. (try 2)

2013-09-19 Thread Jacek Caban
; InternetOpenRequest_test(); > test_http_cache(); > InternetOpenUrlA_test(); I was hoping for a test like the attached one, which shows that there is still more work to do. But it's a step in the right direction, so I'm fine with your patch. Thanks, Jacek commit

Re: wininet: Don't assume that end of chunk means end of stream.

2013-09-11 Thread Jacek Caban
On 09/11/13 17:32, Hans Leidekker wrote: > On Wed, 2013-09-11 at 16:38 +0200, Jacek Caban wrote: >> Hi Hans, >> >> On 09/11/13 13:50, Hans Leidekker wrote: >>> static DWORD chunked_get_avail_data(data_stream_t *stream, http_request_t >>> *req) >>

Re: wininet: Don't assume that end of chunk means end of stream.

2013-09-11 Thread Jacek Caban
On 9/11/13 7:09 PM, Hans Leidekker wrote: On Wed, 2013-09-11 at 17:53 +0200, Jacek Caban wrote: Network traces tell me that native also performs a read on the first call to InternetQueryDataAvailable. Are you sure it's not an asynchronous read from a separated thread that is order

Re: wininet: Don't assume that end of chunk means end of stream.

2013-09-11 Thread Jacek Caban
res; > + > +if(!chunked_stream->chunk_size || chunked_stream->chunk_size == ~0u) { > +res = start_next_chunk(chunked_stream, req); > +if(res != ERROR_SUCCESS) > +return 0; > +} start_next_chunk may block and we don't want chunked_get_avail_data to block. Jacek

Re: [PATCH 2/2] d3d11.idl: Added some missing declarations.

2013-09-11 Thread Jacek Caban
On 09/11/13 14:22, Michael Stefaniuc wrote: > On 09/11/2013 02:11 PM, Henri Verbeet wrote: >> On 11 September 2013 12:09, Jacek Caban wrote: >>> +typedef enum D3D11_RESOURCE_MISC_FLAG >>> +{ >>> +D3D11_RESOURCE_MISC_GENERATE_

Re: crypt32 patch review

2013-09-06 Thread Jacek Caban
On 09/05/13 18:53, Juan Lang wrote: > [+wine-devel] > > Hi Jacek, > I've added the list so the discussion can take place in public. > > On Tue, Sep 3, 2013 at 8:50 AM, Jacek Caban <mailto:ja...@codeweavers.com>> wrote: > > I have a patch for crypt32. I&#x

Re: [2/2] rpcrt4: Clear the connection pool when closing an http connection.

2013-09-04 Thread Jacek Caban
tSetOptionW(NULL, INTERNET_OPTION_SETTINGS_CHANGED, NULL, 0); There must be a better way to do that than removing all existing wininet cached connections to all hosts. Removing INTERNET_FLAG_KEEP_CONNECTION from HttpOpenRequest call would be a good start... Jacek

Re: [2/2] rpcrt4: Clear the connection pool when closing an http connection.

2013-09-04 Thread Jacek Caban
On 09/04/13 15:36, Hans Leidekker wrote: > On Wed, 2013-09-04 at 15:28 +0200, Jacek Caban wrote: >> On 09/04/13 15:01, Hans Leidekker wrote: >>> --- >>> dlls/rpcrt4/rpc_transport.c | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>>

Re: wininet: Don't start the next chunk if the read is satisfied.

2013-09-04 Thread Jacek Caban
On 09/04/13 14:38, Hans Leidekker wrote: > On Wed, 2013-09-04 at 13:11 +0200, Jacek Caban wrote: >> On 09/04/13 09:22, Hans Leidekker wrote: >>> --- >>> dlls/wininet/http.c | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>>

Re: wininet: Don't start the next chunk if the read is satisfied.

2013-09-04 Thread Jacek Caban
that: ok(!on_async, "Returned zero size in response to request complete\n"); I think we should try harder to have a test reporting zero size data (this may be tricky to write one for Wine tests, but if we could just observe such occasional notifications, that would be enough). And this would need more testing with native IE. This all means that intention of the patch may be right, but it needs more work. Thanks, Jacek

Re: [PATCH try3] atl110: Added new DLL.

2013-09-04 Thread Jacek Caban
On 09/03/13 13:51, Qian Hong wrote: > On Tue, Sep 3, 2013 at 7:42 PM, Jacek Caban wrote: >> Not really, good catch. We should make them consistent. Honestly, I'm >> not sure which one is better. Both have their problems. Some functions >> are forwarded, others are not, s

Re: [PATCH try3] atl110: Added new DLL.

2013-09-03 Thread Jacek Caban
On 09/03/13 13:28, Qian Hong wrote: > On Tue, Sep 3, 2013 at 7:27 PM, Qian Hong wrote: >> Hi Jacek, we already have a debug channel atl100 for atl100.dll, but >> we currently use atl for both atl.dll and atl80.dll, do you think it >> is better to use atl for all, or one debug

Re: mshtml: Use winehq snapshot instead of the main page in tests.

2013-08-18 Thread Jacek Caban
http://testbot.winehq.org/JobDetails.pl?Key=26726 > > Your paranoid android These seem to be caused by different cache handling in IEs. In general, non-cached download would be more interesting, so we should probably enforce that. Jacek

Wine Gecko 2.24-beta1

2013-08-14 Thread Jacek Caban
new Gecko. Anything that uses MSHTML is worth testing. All help with testing is appreciated! Cheers, Jacek [1] https://sourceforge.net/projects/wine/files/Wine%20Gecko/2.24-beta1/ [2] http://source.winehq.org/patches/data/97881 [3] http://wiki.winehq.org/Gecko diff --git a/dlls/appwiz.cpl/addon

Wine Gecko repo

2013-08-13 Thread Jacek Caban
er ideas? I'd appreciate opinions. Thanks, Jacek [1] https://sourceforge.net/p/wine/wine-gecko/ci/master/tree/ [2] https://sourceforge.net/p/forge/site-support/4299/

Re: [PATCH 01/11] widl: New option --rt for enabling rt's specific language extensions.

2013-08-09 Thread Jacek Caban
. Patch contains one complete thing. It > introduces an new switch. I separate this switch out, as it can be > reviewed absolutely independently to the actual namespace lexer/parser > thing (which is the first user of this switch). > Jacek asked me to break things down in small log

Re: [1/2] msxml3: Implement IMXAttributes_removeAttributes()

2013-07-30 Thread Jacek Caban
Hi Nikolay, On 07/30/13 12:42, Nikolay Sivov wrote: > +dst = &This->attr[index]; > +src = &This->attr[index+1]; > + > +memmove(dst, src, This->length-index-1); *sizeof(*dst) Cheers, Jacek

Re: riched20: ITextDocument stubs for ITextServices (retry)

2013-07-30 Thread Jacek Caban
et_ITextDocument(ReTxtDoc *document) +{ + TRACE("(%p)\n", document); + return &document->iTextDocumentIface; +} Full declaration of ReTxtDoc in a header (so you don't need such helper) would be cleaner, IMO. new file mode 100644 index 000..02579b2 --- /dev/null +++ b/dlls/riched20/txtdoc.h How about using an existing header? Thanks, Jacek

Re: riched20: ITextDocument stubs for ITextServices (retry)

2013-07-29 Thread Jacek Caban
t is that ITextDocument should be supported, but there is probably a better place to put this test. + +struct tagReTxtDoc { + IUnknown *outerObj; + ME_TextEditor *editor; + ITextDocument iTextDocumentIface; +}; Do you really need a separated structure for that? Wouldn't adding ITextDocument implementation to ITextServicesImpl be enough? Thanks, Jacek

Re: Duplicate UUID in oleaut32:tmarshal test

2013-07-02 Thread Jacek Caban
s indeed a stupid mistake and after fixing it, the behaviour is more logical. I will send a patch fixing tests. Fixing todo_wine may wait until after code freeze. Current Wine behaviour shouldn't cause problems. Thanks, Jacek

Re: widl: Do not generate C structure for empty interfaces. (try 2)

2013-07-02 Thread Jacek Caban
On 06/30/13 23:14, Thomas Faber wrote: > On 2013-06-27 13:33, Jacek Caban wrote: >> That >> said, if such interfaces are just obscure special case, I would say we >> shouldn't care. We may easily avoid them (I just sent a patch avoiding >> it in mshtml). > Ah, I

Re: widl: Do not generate C structure for empty interfaces. (try 2)

2013-06-27 Thread Jacek Caban
uire some more changes in Wine. At least MSHTML already has an interface identical to IUnknown (nsISupports), which would cause the error. This should be solvable with some tricks. Thanks, Jacek

Re: [PATCH 1/2]vbscript: Implemented builtin function CInt

2013-05-21 Thread Jacek Caban
Hi Zhan, On 05/17/13 16:53, Zhan Jianyu wrote: > This patch is built based on Jaceks's newly-submitted patch: > > commit 48a862306288d69d3623d5ecdc0f5a5a40addafe > ( vbscript: Round half to even in to_int) > > Thanks, Jacek. :-) > > With his patch, CInt could

Re: msvcrt.h: Use inline function to forward hypot to _hypot.

2013-04-26 Thread Jacek Caban
On 04/26/13 16:18, Alexandre Julliard wrote: > Jacek Caban writes: > >> On 04/26/13 14:46, Alexandre Julliard wrote: >>> Jacek Caban writes: >>> >>>> This fixes compiling msvcp* DLLs with recent mingw-w64 trunk version. >>>> Previous version

Re: msvcrt.h: Use inline function to forward hypot to _hypot.

2013-04-26 Thread Jacek Caban
On 04/26/13 14:46, Alexandre Julliard wrote: > Jacek Caban writes: > >> This fixes compiling msvcp* DLLs with recent mingw-w64 trunk version. >> Previous versions had a separated library that contained forwards from >> underscored functions to non-underscored, which I bel

Re: [PATCH 1/2]vbscript: Implemented builtin function CInt(try 3)

2013-04-26 Thread Jacek Caban
On 04/26/13 12:02, Henri Verbeet wrote: > On 26 April 2013 10:27, Jacek Caban wrote: >> - round is not portable. As I mentioned you before, Wine needs to be C89 >> compatible. If we need some features that are not part of C89, we need >> to be careful about that and it often

Re: [PATCH 1/2]vbscript: Implemented builtin function CInt(try 3)

2013-04-26 Thread Jacek Caban
t that and it often requires things like configure checks. In case of round, replacing it with floor(x+0.5) does the trick pretty well. Cheers, Jacek

Wine Gecko 2.21-beta1

2013-04-25 Thread Jacek Caban
need to comfortably test the new package. Just apply the patch you the Wine tree and everything should work. All tests are appreciated. Thanks, Jacek diff --git a/dlls/appwiz.cpl/addons.c b/dlls/appwiz.cpl/addons.c index 2a47b84..a3bfd0b 100644 --- a/dlls/appwiz.cpl/addons.c +++ b/dlls/appwiz.cpl

Re: Clang static analyzer results / wine-1.5.28-66-g6899279

2013-04-24 Thread Jacek Caban
t; ./configure --disable-tests was used to reduce noise > > > > Static analyse of the tests is important as well. Over the years > I found bad tests that didn't test what they were supposed to > test. And even cases where the Wine code was bad due to that

Re: oledb32: Implement DataConvert DBTYPE_BOOL->VARIANT

2013-04-24 Thread Jacek Caban
eant to cast src to VARIANT_BOOL*. Cheers, Jacek

Re: Application for GSoC 2013

2013-04-18 Thread Jacek Caban
res touching about every part of the engine, so it's not something for the first patch. It's better to start with simpler parts, like you already do. Cheers, Jacek

Re: [PATCH 3/3]vbscript: Implemented builtin function CBool

2013-04-18 Thread Jacek Caban
(300) = 300, "CInt(300) = " & CInt(300)) > Call ok(CInt(-300) = -300, "CInt(-300) = " & CInt(-300)) > + > +Call ok(CBool(5) = "True", "CBool(5) = " & CBool(5)) > +Call ok(CBool(0) = "False", "CBool(0) = " & CBool(0)) > +Call ok(CBool(-5) = "True", "CBool(-5) = " & CBool(-5)) ...and that's why getVT(...) test would be nice here. Thanks, Jacek

Re: [PATCH 2/3]vbscript: Implemented builtin function CInt

2013-04-18 Thread Jacek Caban
ok(CInt(-36.25) = -36, "CInt(-36.25) = " & CInt(-36.25)) Please add some tests using getVT to verify underlying types. Thanks, Jacek

Re: Application for GSoC 2013

2013-04-18 Thread Jacek Caban
as much as a patch. That's a good start and I think vbscript improvement can be a good GSoC project. Cheers, Jacek

Re: [PATCH 6/6] ieframe: Added DISPID_WINDOWCLOSING tests.

2013-04-16 Thread Jacek Caban
andom unrelated failure. Here is a clean run of the same patch: https://testbot.winehq.org/JobDetails.pl?Key=25094 I will resend the patch. Cheers, Jacek

Re: secur32: Take schannel backend capabilities into account when configuring enabled protocols.

2013-04-11 Thread Jacek Caban
Hi Ken, On 04/10/13 16:16, Ken Thomases wrote: > Hi Jacek, > > On Apr 10, 2013, at 4:24 AM, Jacek Caban wrote: > >> On 3/28/13 8:31 PM, Ken Thomases wrote: >>> Mac OS X 10.8 introduced support for TLS 1.1 and 1.2. >> Can someone with Mac OS X 10.8 test the att

Re: secur32: Take schannel backend capabilities into account when configuring enabled protocols.

2013-04-10 Thread Jacek Caban
are listed as supported protocol. Thanks, Jacek commit 78f9768f8d6759af1df99c4b67b8fd6a93369da4 Author: Jacek Caban Date: Tue Apr 9 12:35:33 2013 +0200 secur32: Added support for TLS 1.1 and TLS 1.2 on Mac. diff --git a/dlls/secur32/schannel_macosx.c b/dlls/secur32/schannel_macosx.c

Re: Wine Gecko 2.20-beta1

2013-04-04 Thread Jacek Caban
On 03/07/13 12:07, Jacek Caban wrote: > Hi all, > > I've uploaded a new Gecko builds to SourceForge [1]. This one is based on > Firefox 20 beta and, other than usual update of Gecko, it should fix some > crashes like bug b*ug 32753* <http://bugs.winehq.org/show_bug.cgi?id=

Re: secur32: Take schannel backend capabilities into account when configuring enabled protocols.

2013-03-30 Thread Jacek Caban
Hi Juan, On 03/29/13 18:19, Juan Lang wrote: > Hi Jacek, > > thanks for the detailed reply. > > On Fri, Mar 29, 2013 at 3:02 AM, Jacek Caban <mailto:ja...@codeweavers.com>> wrote: > > Each protocol has two kinds of enable/disable flags: "enabled" and

Re: secur32: Take schannel backend capabilities into account when configuring enabled protocols.

2013-03-29 Thread Jacek Caban
Hi Juan, On 03/28/13 21:55, Juan Lang wrote: > On Thu, Mar 28, 2013 at 12:31 PM, Ken Thomases <mailto:k...@codeweavers.com>> wrote: > > On Mar 28, 2013, at 6:05 AM, Jacek Caban wrote: > > > --- a/dlls/secur32/schannel_macosx.c > > +++

Re: secur32: Take schannel backend capabilities into account when configuring enabled protocols.

2013-03-29 Thread Jacek Caban
Hi Ken, On 03/28/13 20:31, Ken Thomases wrote: > On Mar 28, 2013, at 6:05 AM, Jacek Caban wrote: > >> --- a/dlls/secur32/schannel_macosx.c >> +++ b/dlls/secur32/schannel_macosx.c >> @@ -630,6 +630,11 @@ static OSStatus schan_push_adapter(SSLConnectionRef >&g

Re: urlmon: Fix handling of mailto URIs in CoInternetCombineUrlEx.

2013-03-27 Thread Jacek Caban
ows doesn't allow a "//" to appear after the scheme > * of a URI, if it's an opaque URI. > */ > -if(data->scheme && *(data->path) == '/' && *(data->path+1) == '/') { > +if (is_mailto && *(data->path) == '/' && *(data->path+1) == '/') { > +if (!*(data->path+2)) uri->path_start = -1; > +offset += 2; I think this should be done in parsing phrase, not during canonicalization. Jacek

Wine Gecko 2.20-beta1

2013-03-07 Thread Jacek Caban
on with the attached patch. As usually, grab the build from SourceForge, put it in the right place [2] and run patched Wine. All help with testing is appreciated! Thanks, Jacek [1] http://sourceforge.net/projects/wine/files/Wine%20Gecko/2.20-beta1/ [2] http://wiki.winehq.org/Gecko diff --git a/dlls

Re: [1/3] wininet: Remember that headers were not received.

2013-02-27 Thread Jacek Caban
rdupW(szDefaultHeader); > +request->flags |= INTERNET_REQFLAG_NO_HEADERS; I don't think we want to maintain valid request->flags for that particular flag. Checking for request->rawHeaders should be enough. If we avoided setting rawHeaders here, we'd achieve the same behaviour. Jacek

Re: [PATCH 1/2] wininet: Address string should never be converted to UNICODE in status notifications

2013-02-18 Thread Jacek Caban
http://testbot.winehq.org/JobDetails.pl?Key=24441 > > Your paranoid android. That's because TestBot still can't update to current Wine version: http://testbot.winehq.org/JobDetails.pl?Key=24423 Jacek

Re: IE 6 related urlmon:protocol failures

2013-02-18 Thread Jacek Caban
On 02/18/13 12:49, Francois Gouget wrote: > On Sat, 16 Feb 2013, Jacek Caban wrote: > >> On 2/16/13 1:28 AM, Francois Gouget wrote: >>> However I think the test should still not fail. So I'm looking for a >>> volunteer to either get the test to succeed with urlm

Re: IE 6 related urlmon:protocol failures

2013-02-16 Thread Jacek Caban
ill send a patch. Thanks for the analyze. Cheers, Jacek

Re: [PATCH 2/2] wininet: Set available bytes in InternetQueryDataAvailable even if it ends up in async call

2013-02-14 Thread Jacek Caban
sful run: http://testbot.winehq.org/JobDetails.pl?Key=24400 Cheers, Jacek

Re: [PATCH 2/4] urlmon: Fixed QueryInfo tests during BINDSTATUS_PROXYDETECTING notification

2013-02-12 Thread Jacek Caban
oniker_BindToStorage failed: 800c0005 > url.c:3036: Test failed: unk == NULL > (...) These seem to be (random) network failure. I've got it all succeeding before sending patches: https://testbot.winehq.org/JobDetails.pl?Key=24358 Jacek

Re: Makedll.rules.in: Explicitly specify DLL name when building importlib

2013-01-31 Thread Jacek Caban
On 01/30/13 20:09, Alexandre Julliard wrote: > Jacek Caban writes: > >> --- >> dlls/Makedll.rules.in | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) > Why do you need this? My use case is not really valid as is for Wine. I was experimenting with runni

Re: [PATCH 1/8] winhttp: Use schannel in netconn_secure_connect if OpenSSL is not available

2013-01-23 Thread Jacek Caban
On 01/22/13 20:21, Alexandre Julliard wrote: > Jacek Caban writes: > >> The following patch makes winhttp use schannel instead of OpenSSL for >> SSL (HTTPS) connections. It is made to be as minimal change as possible >> (but complete enough to replace all OpenSSL fun

Re: [PATCH 6/8] winhttp: Added schannel-based netconn_get_cipher_strength implementation

2013-01-22 Thread Jacek Caban
On 01/22/13 17:22, Hans Leidekker wrote: > On Tue, 2013-01-22 at 16:49 +0100, Jacek Caban wrote: >> @@ -1460,6 +1460,13 @@ int netconn_get_cipher_strength( netconn_t *conn ) >> pSSL_CIPHER_get_bits( cipher, &bits ); >> return bits; &

Re: [PATCH 2/3] vbscript: Added VBScript.RegExp version 5.5 typelib

2013-01-18 Thread Jacek Caban
1 > +#define DISPID_MATCHCOLLECTION__NEWENUM -4 > + > +#define DISPID_MATCH_VALUE 0 Please use DISPID_VALUE and DISPID_NEWENUM instead. Jacek

Re: [PATCH (try2)] ieframe: Strip 'file://' from file URLs in BEFORENAVIGATE2 callbacks

2013-01-09 Thread Jacek Caban
tter done while constructing the URL instead of here. +test_DoVerb(webbrowser); +test_Navigate2(webbrowser, file_url); + +IWebBrowser2_Release(webbrowser); This is not enough for proper clean up. You may verify that by checking ref count here. At least setting client site to NULL is needed. Cheers, Jacek

Re: [PATCH 1/7] d3dx9: Handle invalid byte code in D3DXFindShaderComment().

2013-01-02 Thread Jacek Caban
u are at this, it may be simplified to: return token & 0xfffe == 0xfffe; Cheers, Jacek

Re: msxml3: Add custom handling for DISPID_VALUE for node map

2012-12-20 Thread Jacek Caban
Hi Nikolay, On 12/20/12 11:29, Nikolay Sivov wrote: > On 12/19/2012 17:22, Jacek Caban wrote: >> On 12/19/12 08:24, Nikolay Sivov wrote: >>> Add custom handling for DISPID_VALUE for node map >> If this has to be done for all IDispatchEx objects with DISPID_VALUE, it >

Re: msxml3: Add custom handling for DISPID_VALUE for node map

2012-12-19 Thread Jacek Caban
wFlags |= DISPATCH_PROPERTYGET; before ITypeInfo::Invoke call should do the trick and replace both this patch and already committed node list patch. Cheers, Jacek

Re: wininet: Don't perform revocation checks when verifying a certificate.

2012-12-11 Thread Jacek Caban
s prove that we should relax our verification on CERT_TRUST_IS_OFFLINE_REVOCATION or something similar. To prove that revocation checks are not made, a test with truly revoked cert would be needed. Jacek

Re: mshtml: Added support for converting (some) argument types in builtin function calls using script engine

2012-12-04 Thread Jacek Caban
Sure, there you go: https://testbot.winehq.org/JobDetails.pl?Key=23215 Jacek

Re: wshom: Basic support for REG_SZ values in RegRead() (try2)

2012-12-04 Thread Jacek Caban
27;\' in path */ > +val = strrchrW(name, '\\'); > +keyname = SysAllocStringLen(&name[len], val-&name[len]); It's better, but now if there is only one backslash, you will have val-&name[len] == -1. Thanks, Jacek

Re: wshom: Basic support for REG_SZ values in RegRead()

2012-12-03 Thread Jacek Caban
AllocStringLen(NULL, datalen-1); > +ret = RegGetValueW(root, keyname, &name[val], RRF_RT_ANY, &type, > V_BSTR(value), &datalen); > +} > +else > +FIXME("type %d not handled\n", type); This should return an error. Jacek

Re: Wine Gecko versioning

2012-11-27 Thread Jacek Caban
On 11/27/12 16:33, Nikolay Sivov wrote: > On 11/27/2012 17:26, Rosanne DiMesio wrote: >> On Tue, 27 Nov 2012 13:32:02 +0100 >> Jacek Caban wrote: >> >>> The idea is that Wine Gecko version could be just something based on >>> other versions, that are more in

Re: Wine Gecko versioning

2012-11-27 Thread Jacek Caban
On 11/27/12 14:53, André Hentschel wrote: > Am 27.11.2012 13:32, schrieb Jacek Caban: >> The idea is that Wine Gecko version could be just something based on >> other versions, that are more informative. It's not really possible to >> use Wine version, because the first

Wine Gecko versioning

2012-11-27 Thread Jacek Caban
s a minor version. So the next few release would look like: - 1.9 (that's already in beta and will be the last release using old scheme) - 2.20 (assuming the next update will be 3 months from 1.9, which means Firefox 20) - 2.22 (assuming another 3 moths for the update). Any suggestions/comments welcomed. Cheers, Jacek

Re: msvcp60: Remove superfluous semicolons

2012-11-27 Thread Jacek Caban
On 11/26/12 22:35, Andrew Talbot wrote: > Jacek Caban wrote: > >> It's probably better to change the macro to require the semicolon. >> >> Jacek > The reason I did it that way was because there are two variants of the > DEFINE_CXX_DATA macro, surrounded by a

Re: msvcp60: Remove superfluous semicolons

2012-11-26 Thread Jacek Caban
e the semicolon. Jacek

Wine Gecko 1.9-beta1

2012-11-22 Thread Jacek Caban
build from SourceForge, put it in the right place [2] and run patched Wine. All help with testing is appreciated! Thanks, Jacek [1] http://sourceforge.net/projects/wine/files/Wine%20Gecko/1.9-beta1/ [2] http://wiki.winehq.org/Gecko diff --git a/dlls/appwiz.cpl/addons.c b/dlls/appwiz.cpl/addons.c ind

Re: [PATCH 2/4] [cmd] Prevent external env vars causing tests to fail

2012-11-20 Thread Jacek Caban
On 11/20/12 16:00, Ann and Jason Edmeades wrote: > On 20 November 2012 12:15, Jacek Caban <mailto:ja...@codeweavers.com>> wrote: > > On 11/20/12 12:39 AM, Ann and Jason Edmeades wrote: > > (I'll make this change in try 2, as I need to fix the broken >

Re: [PATCH 2/4] [cmd] Prevent external env vars causing tests to fail

2012-11-20 Thread Jacek Caban
On 11/20/12 12:39 AM, Ann and Jason Edmeades wrote: (I'll make this change in try 2, as I need to fix the broken NT4 stuff from patch 1 anyway) I think it's time to consider skipping all cmd tests on NT4. Adding @or_broken@ for NT4 mostly pollutes those tests. Jacek

Re: [PATCH 7/9] ieframe: Forward more DocHost::Exec calls to embedders

2012-11-12 Thread Jacek Caban
ed: expected GetOverridesKeyPath > webbrowser.c:2601: Test failed: expected Invoke_SETSECURELOCKICON > webbrowser.c:2602: Test failed: expected Invoke_FILEDOWNLOAD > webbrowser.c:3015: Test failed: doc_disp == NULL > webbrowser: unhandled exception c005 at 00402F21 That's TestBot not skipping on platforms that should be skipped. Jacek

Re: vbscript/tests: Skip some of the weekday tests if the first day of the week is not Sunday.

2012-10-31 Thread Jacek Caban
lem is in implementation, not tests. Jacek

Re: [PATCH 4/5] include: Don't add d3d8 LP* interface typedefs for __WINESRC__.

2012-10-30 Thread Jacek Caban
lt includes. We probably need some way (command like arg or some tricky argument in IDL file) to instruct widl to generate pure headers. This may not be a big deal for Wine (and we ignored it for dwrite.h), but that's more important for mingw-w64 and they use our d3dx* headers (among others). Jacek

Re: [PATCH] Potential reference count races

2012-10-29 Thread Jacek Caban
;>> of the compilation usually removes both the save and discard operations. >> Sure, but I don't think it's enough to justify such changes all over the >> place, in existing code. >> > I agree that it is not enough to justify a separate set of patches, but > as part of another set of changes, I think it is justified. After all, > how else are examples of bad code going to be removed. This is not a bad coding. You're changing a lot of my code, which uses my coding style and this style is to use postfix incrementation. I'm not saying it's better of worse because it's not, so there is no reason to change it. Your argument about requirement for temporary storage is an example of bad way to think about the code. Jacek

Re: [PATCH 1/5] d3dx9_36: Implement D3DXFileCreate.

2012-10-22 Thread Jacek Caban
LP* types). It would be nice if you could avoid it in your patches. Jacek

Re: ntdll: Don't use strncasecmp for _strnicmp implementation

2012-10-19 Thread Jacek Caban
On 10/16/12 13:21, Jacek Caban wrote: >> How exactly? Do you know more details / urls? >> >> Does it return -n ... +n values? Like the memcmp optimization that caused >> mysql security issue? >> In that case my patch should work. > From what I know following call

Re: jscript: Don't release possible NULL pointer (coverity)

2012-10-18 Thread Jacek Caban
s a leftover after string representation change. We should use jsstr_t here to avoid allocation anyway, I will send a patch. Thanks, Jacek

Re: ntdll: Don't use strncasecmp for _strnicmp implementation

2012-10-16 Thread Jacek Caban
On 10/16/12 13:16, Marcus Meissner wrote: > On Tue, Oct 16, 2012 at 01:12:50PM +0200, Jacek Caban wrote: >> On 10/16/12 13:08, Marcus Meissner wrote: >>> On Tue, Oct 16, 2012 at 12:38:51PM +0200, Jacek Caban wrote: >>>> --- >>>> dlls/ntdll/string.c

Re: ntdll: Don't use strncasecmp for _strnicmp implementation

2012-10-16 Thread Jacek Caban
On 10/16/12 13:08, Marcus Meissner wrote: > On Tue, Oct 16, 2012 at 12:38:51PM +0200, Jacek Caban wrote: >> --- >> dlls/ntdll/string.c | 12 +++- >> dlls/ntdll/tests/string.c | 33 + >> 2 files changed, 44

Re: [PATCH 1/4] jscript: Use custom string container instead of BSTR.

2012-10-12 Thread Jacek Caban
On 10/11/12 19:12, Charles Davis wrote: > On Oct 11, 2012, at 4:16 AM, Jacek Caban wrote: >> This patch alone makes SunSpider 0.9 17x faster. > Seems to me that something is really wrong with our BSTR implementation if > replacing it with a home-grown implementation speeds this up

Re: [PATCH 1/4] jscript: Use custom string container instead of BSTR.

2012-10-11 Thread Jacek Caban
On 10/11/12 12:39, Henri Verbeet wrote: > On 11 October 2012 12:16, Jacek Caban wrote: >> +struct _jsstr_t { >> +unsigned length_flags; >> +unsigned ref; >> +WCHAR str[1]; >> +}; > It's probably much too late for jscript, and perhaps Wine i

Re: [PATCH 2/2] mshtml: Added ActiveX event binding test

2012-10-04 Thread Jacek Caban
http://testbot.winehq.org/JobDetails.pl?Key=22013 > > Your paranoid android. Can someone please clear TestBot queue? Every time I send a series of two patches, it tries to test my previous series, which usually (like in this case) is already in Git. Jacek

Re: [PATCH] reg.exe: comparing the names of registry keys

2012-10-04 Thread Jacek Caban
ount)==CSTR_EQUAL) > + && ((lpString1[cchCount] == 0) || (lpString1[cchCount] == > (WCHAR){'\\'}))) > +return TRUE; > +else > +return FALSE; This could be simplified: len = strlenW(str2); return !strncmpiW(str1, str2, len) && (!str1[len] || str1[len] == '\\'); Cheers, Jacek

Re: [PATCH] rpcrt4: wait_async_request: return error if we received an error

2012-10-03 Thread Jacek Caban
On 10/03/12 14:57, Marcus Meissner wrote: > On Tue, Oct 02, 2012 at 01:19:37PM +0200, Jacek Caban wrote: >> Hi Marcus, >> >> On 10/01/12 23:00, Marcus Meissner wrote: >>> Hi, >>> >>> Various coverity issues complain about user-after-free scenar

Re: [1/2] vbscript: Support vb* constants for message box buttons

2012-10-03 Thread Jacek Caban
Hi Nikolay, On 10/03/12 13:34, Nikolay Sivov wrote: > Support vb* constants for message box buttons How about using MB_* constants from winuser.h instead of hardcoding them here? Other than that, the patch looks good to me. Jacek

Re: [PATCH 1/3] hhctrl.ocx: Fix removing a window from the help list when window creation fails.

2012-10-03 Thread Jacek Caban
rt 2). This looks like a hack. It would be better to have always valid list entry (if this really can't be added to the list earlier, you may always initialize it by list_init) or make sure to not call ReleaseHelpViewer before HHInfo is fully initialized. Jacek

Re: [PATCH] rpcrt4: wait_async_request: return error if we received an error

2012-10-02 Thread Jacek Caban
gnalled as an error). It means that in this case we want to return RPC_S_OK. What is the exact problem? Jacek

Re: [PATCH] rpcrt4: wait_async_request: return error if we received an error

2012-10-01 Thread Jacek Caban
gt; -return RPC_S_OK; > +return call_ret; /* The Http* status codes map into the RPC_S > namespace */ Not really, Http* APIs return BOOL and GetLastError() call is needed to get error code. AFAIR, when I tested this code, most HTTP-related errors were translated to RPC_S_SERVER_UNAVAILABLE by rpcrt4. That may be a better choice here as well. Jacek

Re: mshtml: Implement IHTMLFrameBase_put_name()

2012-10-01 Thread Jacek Caban
Hi Nikolay, On 09/30/12 20:36, Nikolay Sivov wrote: > http://bugs.winehq.org/show_bug.cgi?id=31835 The code may be simple and obvious, but I'd still like to see a test. A simple call should be enough just to make sure it's executed when I test new Gecko builds. Jacek

Re: scrrun: Correct Invoke parameter

2012-09-21 Thread Jacek Caban
, puArgErr); This really should be an interface, not an object. &This->IDistionary_iface or simply iface would be the right thing to do. Jacek

Re: [PATCH 21/21] jscript: Pack jsval_t to 64-bit structure on i386

2012-09-18 Thread Jacek Caban
Hi Juan, On 09/17/12 22:42, Juan Lang wrote: > Hi Jacek, > > + * that NaN value representation has 52 (almost) free bytes. > > You mean bits, yes? Yes, of course. > While you're at it, > + * jsval_t structure is used to represent JavaScript dynamicaly-typed values.

Re: [PATCH 21/21] jscript: Pack jsval_t to 64-bit structure on i386

2012-09-17 Thread Jacek Caban
Please ignore this last patch. It has one more dependency that I didn't send yet. On 09/17/12 15:21, Jacek Caban wrote: > --- > dlls/jscript/jsutils.c |4 +- > dlls/jscript/jsval.h | 143 > +-- > 2 files changed, 114 insertions(+), 33 deletions(-) >

Re: mshtml: Added support for navigating to anchors with IDs containing '#'

2012-09-10 Thread Jacek Caban
On 09/10/12 12:19, Alexandre Julliard wrote: > Jacek Caban writes: > >> --- >> dlls/mshtml/navigate.c | 42 +++--- >> dlls/mshtml/nsiface.idl | 11 +++ >> 2 files changed, 50 insertions(+), 3 deletions(-) > It does

Re: [PATCH 6/9] mshtml: Use first script host's GUID as default script guid

2012-09-10 Thread Jacek Caban
On 09/07/12 19:15, Alexandre Julliard wrote: > Jacek Caban writes: > >> dlls/mshtml/htmlwindow.c |1 - >> dlls/mshtml/mshtml_private.h |1 - >> dlls/mshtml/script.c | 18 ++ >> dlls/mshtml/tests/vbtest.html | 15 +

Re: [PATCH 5/5] mshtml: Added VBScript as event attribute tests

2012-09-06 Thread Jacek Caban
Hi, Here is proper run: https://testbot.winehq.org/JobDetails.pl?Key=21409 Jacek

Re: [PATCH 1/6] mshtml: Moved getting frame by name to separated function

2012-09-03 Thread Jacek Caban
On 09/03/12 16:13, Alexandre Julliard wrote: > Jacek Caban writes: > >> --- >> dlls/mshtml/htmlwindow.c | 127 >> ++ >> 1 files changed, 72 insertions(+), 55 deletions(-) > gcc -m32 -c -I. -I. -I../../inclu

Re: Wine Gecko 1.8-beta1

2012-09-03 Thread Jacek Caban
t's not an option, xul.dll alone is over 700MB unstripped. Jacek

Wine Gecko 1.8-beta1

2012-09-02 Thread Jacek Caban
ess and improving my hardware, but that has its limits. And the time spent on Gecko maintenance (as in pure maintenance, not real improvements) costs Wine in terms of improvements I could make in this time. If someone has a reason to keep debug builds, let me know. Any comments are welcomed. Tha

  1   2   3   4   5   6   7   8   9   >