Commit Graph

91 Commits

Author SHA1 Message Date
Andrew Talbot ba1e2660e8 shlwapi: Sign-compare warnings fix. 2008-11-13 11:48:55 +01:00
Rob Shearman 80b5b74f15 shlwapi: Use an error code instead of -1 for signalling prefix not being found in URL_GuessScheme. 2008-09-30 10:20:14 -05:00
Louis Lenders 58efbe97ec shlwapi: Fix UrlUnEscape to expand URLs in-place even if the output buffer is NULL. 2008-08-28 13:15:27 +02:00
Detlef Riekenberg b331b1a3ed shlwapi: Fix results for UrlApplyScheme. 2008-08-27 13:21:23 +02:00
Detlef Riekenberg 177c2a2798 shlwapi: Fix parameters for RegQueryValueExW to read the default value. 2008-08-27 13:21:23 +02:00
Rob Shearman 9dd75ea093 shlwapi: 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
Jacek Caban c086429465 shlwapi: Fixed handling mk protocol URLs in UrlCombineW. 2008-07-10 12:17:51 +02:00
Jacek Caban a4ea1c608a shlwapi: Fixed UrlCanonicalizeW for URLs without slashes after scheme. 2008-07-10 12:17:44 +02:00
Mikołaj Zalewski 9c030d4660 shlwapi: UrlCanonicalize should strip all the characters <= 32 from the end of the string. 2008-06-30 13:26:40 +02:00
Petr Dlouhý 283012cc95 shlwapi: UrlCanonicalize will canonize address in format "file://localhost/c:/" correctly. 2008-06-21 11:36:29 +02:00
Andrew Talbot af3055e2e1 shlwapi: Remove unused variables. 2008-04-29 12:37:54 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Jacek Caban 7e255f1ac8 shlwapi: Added TRACEs to PathIsURL. 2008-02-28 10:44:59 +01:00
Jacek Caban a1f3af39b3 shlwapi: Store rekistry key name in unicode to avoid conversion. 2008-02-28 10:44:55 +01:00
Maarten Lankhorst b254b407a4 shlwapi: Don't add a trailing slash in the case that nothing has to be appended to relative, with testcase. 2008-02-27 14:52:25 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Lei Zhang ea05a257df shlwapi: Fix a return value in UrlEscapeA. 2008-01-10 11:37:57 +01:00
Lei Zhang 43bff70a22 shlwapi: Check more arguments to UrlEscapeA. 2008-01-10 11:37:48 +01:00
Lei Zhang 32fda2113d shlwapi: Check an argument to UrlEscapeA. 2008-01-10 11:37:31 +01:00
Detlef Riekenberg 1d87649f3c shlwapi: Fix returned result code and size in UrlCanonicalizeA. 2007-10-16 13:54:56 +02:00
Rob Shearman acfc1175a2 shlwapi: Fix UrlCombineW for absolute URLs without slashes. 2007-08-23 20:18:32 +02:00
Misha Koshelev 108a61f8e7 shlwapi: Take sizeof(WCHAR) into account when allocating Unicode string. 2007-08-20 11:57:24 +02:00
Michael Stefaniuc 14077f67c8 shlwapi: Remove more wide character constants. 2007-06-22 12:18:35 +02:00
Rob Shearman bc06106468 shlwapi: Add a slash to the URL if there is no path component. 2007-05-24 11:35:11 +02:00
Damjan Jovanovic 3ceaaae3d7 shlwapi: Fix UrlCanonicalizeW's handling of filesystem paths. 2007-05-11 11:19:46 +02:00
Marcus Meissner 74bb551081 shlwapi: Fix size passed to MultiByteToWideChar. 2007-02-21 10:54:07 +01:00
Jacek Caban 961627d344 shlwapi: Fix handling mk URLs. 2007-02-12 12:40:01 +01:00
Jacek Caban 557e4d308b shlwapi: Unicodified scheme detecting code. 2007-02-12 12:39:54 +01:00
Jacek Caban dae390d90b shlwapi: Don't unescape url in UrlCombineW with URL_FILE_USE_PATHURL flag. 2007-02-05 12:24:08 +01:00
Louis Lenders dff271df3e shlwapi: Fix a failing test. 2006-12-24 15:12:48 +01:00
Hans Leidekker bc2e37ba44 shlwapi: UrlEscapeA should fail with E_POINTER when querying the buffer size. 2006-11-13 12:48:15 +01:00
Francois Gouget 58162f87fd Assorted spelling fixes. 2006-10-13 11:55:04 +02:00
Hans Leidekker e119a04a26 shlwapi: Win64 printf format warning fixes. 2006-10-06 17:26:49 +02:00
Jacek Caban 5d1b0d89b4 shlwapi: Change file path to URL in UrlCanonicalize. 2006-07-31 10:49:35 +02:00
Jacek Caban fddd703b38 shlwapi: Change '/'->'\' only for file protocol in UrlCanonicalize. 2006-07-27 11:42:49 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Hans Leidekker 7c9918338a shlwapi: Fix parameter check for UrlUnescapeA.
NULL pszUnescaped is okay if URL_UNESCAPE_INPLACE is set.
Add a corresponding test for UrlUnescape{A,W}.
2006-02-16 12:08:48 +01:00
Jacek Caban 11a0c8cd39 shlwapi: UrlCanonicalize: fix URL_DONT_SIMPLIFY.
- URL_DONT_SIMPLIFY should change '/' <-> '\'
- Better '/' / '\' handling
2006-01-11 21:15:31 +01:00
Jacek Caban bb8a7478bc shlwapi: Fix UrlCanonicalize.
- Added support for URL_FILE_USE_PATHURL.
- Fix handling of '/' and '\'.
2005-12-26 12:58:28 +01:00
Uwe Bonnes 3655187fd0 Test cases for URL_UNESCAPE and small fix. 2005-05-23 16:23:02 +00:00
Peter Berg Larsen 6aefbc0934 Strncpy elimination. 2005-04-18 15:36:20 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Troy Rollo 085f95ec3a Corrections to UrlIsW and UrlIsA.
URL_IS_OPAQUE results depend only on the scheme, not on the URL.
URL_IS_FILEURL also only depends on the scheme ("file:").
2005-03-21 10:54:35 +00:00
Hans Leidekker 8310bd5328 Implement and test URLIS_URL flag in UrlIs(). 2005-01-03 17:08:40 +00:00
Jon Griffiths 0b6291644d Const correctness fix. 2005-01-03 14:37:41 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Huw Davies 10aac6c013 Rewrite UrlCreateFromPath. 2004-10-05 18:31:41 +00:00
Huw Davies 58e7f4b70c Fix UrlUnescapeW. 2004-10-05 04:11:49 +00:00