Commit Graph

515 Commits

Author SHA1 Message Date
Michael Stefaniuc
10ebc51fa4 urlmon/tests: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:42:15 +02:00
Rob Shearman
ee2281d370 urlmon: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison. 2008-10-01 11:43:25 -05:00
Jacek Caban
ec34ad38ef urlmon: Fixed potential null dereference. 2008-09-30 10:56:22 -05:00
Jacek Caban
9b81945aeb urlmon: Fixed file protocol tests on win9x. 2008-09-29 17:26:11 -05:00
Rob Shearman
601b3b2732 urlmon: Fix race in protocol tests.
The value of *called is set asynchronously and so the callback
function could be called after IInternetProtocol_Read returns
E_PENDING. The value of *called is only predictable after the
WaitForSingleObject call returns. Therefore, remove the checks on
*called before this call.
2008-09-29 17:23:11 -05:00
Rob Shearman
d5614bfff4 urlmon: Add explicit "!= S_OK" to expressions that use HRESULTs as booleans. 2008-09-12 16:50:03 +02:00
James Hawkins
7518781904 urlmon: Fix several failing tests with IE7. 2008-09-09 11:46:17 +02:00
James Hawkins
1c010e77cf urlmon: Fix a failing test with IE7. 2008-09-09 11:46:17 +02:00
Paul Vriens
bdde87f04a urlmon/tests: Fix timeouts for win9x tests. 2008-09-08 12:49:12 +02:00
Paul Vriens
f0bed78455 urlmon/tests: Fix test on win98. 2008-09-05 13:46:12 +02:00
Rob Shearman
5dd6d798a4 urlmon: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Alexandre Julliard
79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
James Hawkins
9ac630e058 urlmon: Fix a few test failures. 2008-07-01 11:06:43 +02:00
Jacek Caban
c42d937402 urlmon: Make file protocol invalid URL handling behave like IE7. 2008-06-26 12:49:08 +02:00
James Hawkins
75a10719ac urlmon: Fix a few test failures in IE7. 2008-06-25 10:42:53 +02:00
Alistair Leslie-Hughes
031e1ae441 urlmon: Check pointer before use. 2008-06-20 12:39:38 +02:00
Jacek Caban
1aac23d89e urlmon: Make mk protocol behave like IE7. 2008-06-20 12:14:29 +02:00
Jacek Caban
5fb656f958 urlmon/tests: Always clear expect_* variables. 2008-06-09 12:38:48 +02:00
James Hawkins
6fc9d7e59d urlmon: Fix a few failing tests in win2k3. 2008-06-02 12:32:57 +02:00
Jacek Caban
02bf65a752 urlmon: Better error handling in file protocol. 2008-05-12 13:59:13 +02:00
Jacek Caban
3efe4e6837 urlmon: Correctly handle file URLs with '|' instead of ':' after drive letter. 2008-05-12 13:59:13 +02:00
Alexandre Julliard
a8007f0db1 urlmon: Avoid sizeof in traces. 2008-05-02 13:59:14 +02:00
Paul Vriens
3a3246527a urlmon/tests: Fix timeout for tests on win9x. 2008-05-01 18:11:26 +02:00
James Hawkins
edacd984ef urlmon: Fix a test that fails in win2k3. 2008-05-01 12:35:30 +02:00
Alexandre Julliard
dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Jacek Caban
8dddd89500 urlmon: Ignore query and hash part in file protocol URL. 2008-04-24 11:58:54 +02:00
Louis Lenders
dd66542011 urlmon: Add stub for CoInternetSetFeatureEnabled. 2008-04-17 12:25:17 +02:00
Jacek Caban
d43de316c3 urlmon: Don't use -1 length in WideCharToMultiByte call. 2008-03-26 23:38:36 +01:00
Andrew Talbot
dbe7718e2b urlmon: Assign to structs instead of using memcpy. 2008-03-19 11:21:46 +01:00
Jacek Caban
8ef6713acb urlmon: Added special URLACTION_SCRIPT_OVERRIDE_SAFETY handling. 2008-03-14 13:52:04 +01:00
Jacek Caban
3a736c6677 urlmon: Added more policy tests. 2008-03-14 13:52:01 +01:00
Jacek Caban
15feb50d42 urlmon: Added ProcessUrlAction implementation. 2008-03-14 13:51:57 +01:00
Jacek Caban
dfb1089a45 urlmon: Fixed URLZONEREG_DEFAULT handling in GetZoneActionPolicy. 2008-03-14 13:41:26 +01:00
Jacek Caban
de1816f9e3 urlmon: Remove tests that fail on IE7 and make Wine behave like IE7. 2008-03-14 13:41:15 +01:00
Jacek Caban
cc159d832d urlmon: Move InternetParseUrl(PARSE_SECURITY_URL) call to map_url_to_zone and fix buffer size. 2008-03-14 13:29:50 +01:00
Rob Shearman
503b1bc107 urlmon: Initialise the cache_file field of DownloadBSC on creation. 2008-03-10 20:38:40 +01:00
Jacek Caban
bbfae3deff urlmon: Fixed MapUrlToZone test on IE7. 2008-03-10 11:23:52 +01:00
Rob Shearman
48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Jacek Caban
a78727d73b urlmon: Don't call ReportProgress(BINDSTATUS_DIRECTBIND) in MkProtocol::Start (current IE doesn't call it). 2008-02-29 20:07:13 +01:00
Rob Shearman
4e5c1bf6fd urlmon: Don't use typeof as it's not portable. 2008-02-27 14:52:24 +01:00
Jacek Caban
be1e2080b3 urlmon: 0x800c0008 is INET_E_DOWNLOAD_FAILURE. 2008-02-22 12:09:37 +01:00
Jacek Caban
f7371871df urlmon: Correctly handle creating object failure. 2008-02-22 12:09:31 +01:00
Jacek Caban
a821cc34f6 urlmon: Make session object thread safe. 2008-02-21 13:52:18 +01:00
Jacek Caban
a23a36077c urlmon: Optimize get_protocol_info for urlmon protocols. 2008-02-21 13:52:15 +01:00
Jacek Caban
2b90a7d6d5 urlmon: Optimize registering urlmon protocols. 2008-02-21 13:52:13 +01:00
Jacek Caban
9de210a037 urlmon: Fixed crash on old IE. 2008-02-21 12:53:00 +01:00
Jacek Caban
746ffa651a urlmon: Use BindToStorage hack only for binding to IStream. 2008-02-18 12:57:06 +01:00
Jacek Caban
5321c7154a urlmon: Added audio/basic MIME filter. 2008-02-18 12:57:00 +01:00
Jacek Caban
374007985a urlmon: E_PENGING returned by Start is not an error. 2008-02-18 12:56:53 +01:00
Jacek Caban
1b79f4dbee urlmon: Added URLDownloadToFile tests. 2008-02-18 12:56:47 +01:00