Commit Graph

71 Commits

Author SHA1 Message Date
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
Huw Davies 9ed8857ffa PathIsURL should return TRUE even if a scheme is unknown. 2004-10-05 02:10:18 +00:00
Huw Davies 7458de56ce UrlEscape has different rules depending on the protocol.
Added a load of tests.
2004-10-04 19:08:50 +00:00
Huw Davies 57cb25c008 ParseURL is now documented, so move it into shlwapi.h. 2004-09-29 21:12:04 +00:00
Steven Edwards 76e00d621c Move URL_SCHEME typedef to match PSDK. 2004-09-22 19:10:11 +00:00
Mike McCormack e988fea468 Fix some -Wsigned-compare warnings. 2004-09-16 19:08:50 +00:00
Diego Pettenò 4d73e10cf8 Add support in UrlIs() for URLIS_DIRECTORY and URLIS_FILEURL flags. 2004-09-08 01:26:25 +00:00
Mike McCormack cef19de855 Fix memory allocation problems. 2004-07-04 00:06:29 +00:00
Eric Pouech df93f2eeee GetModuleFileName[AW] doesn't terminate the string if the buffer is
too small.
2004-05-19 03:22:55 +00:00
Kevin Koltzau 759aff6a23 Allow UrlCombine to calculate size of required buffer. 2004-04-27 23:29:01 +00:00
Francois Gouget 66834324b1 Assorted spelling fixes.
Remove wszRegSeparator from devenum_private.h since it's neither
exported by createdevenum.c nor used by anyone else.
2004-04-20 04:03:42 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Uwe Bonnes 69cf835ce0 UrlCanonicalizeW: Remove \r and \n at the end of lpszUrlCpy, with test
cases.
2004-03-16 01:07:28 +00:00
Kevin Koltzau 8ac9773e3b Fix UrlCanonicalize and add regression test. 2004-03-03 20:11:46 +00:00
Kevin Koltzau e6d93da700 Prevent crash with invalid args in a few URL functions. 2004-03-03 05:26:45 +00:00
Ge van Geldorp 100e11309b Fix various function prototypes to conform to PSDK. 2004-01-23 20:57:26 +00:00
Jon Griffiths a7b3fd835d Add @405/406, document URL functions.
Fix MLLoadLibraryW prototype.
2003-10-01 03:10:42 +00:00
Robert Shearman b6f34d3c3f - Convert ordinals to their real names.
- Partially implement a few Assoc* functions.
2003-09-11 02:56:15 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Maxime Bellengé 035a9e3372 Stub for SHAutoComplete. 2003-03-18 19:57:00 +00:00