Commit Graph

151 Commits

Author SHA1 Message Date
Alexandre Julliard c9205f1761 shlwapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Alexandre Julliard 7ac3acaa07 shlwapi: Import URL functions from kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Alexandre Julliard c9940d631b shlwapi: Import path functions from kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Alexandre Julliard 388a3ef908 shlwapi: Use strncmpiW instead of memicmpW for strings without embedded nulls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:34:56 -05:00
Alex Henrie 94f08b1019 shlwapi: Turn several constants and variables into static constants.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:53:49 +01:00
Michael Stefaniuc 9713e68a55 shlwapi: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:45 +02:00
Michael Stefaniuc 923cb0a957 shlwapi: Avoid ARRAY_SIZE-like macros.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:40 +02:00
Zebediah Figura 3559c261c1 shlwapi: URL schemes may contain hyphen, plus, or period.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 08:31:45 +02:00
Akihiro Sagawa 98d0fa99da shlwapi: Use isalnumW() instead of isalnum() for WCHARs.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 16:11:21 +02:00
Fabian Maurer 101edb1f6d shlwapi: Changed UrlEscapeW error paths and add tests.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-14 17:32:44 +01:00
Daniel Lehman 4eac6e84ba shlwapi: Remove dot segments for URLs starting with /.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-30 13:23:04 +01:00
Daniel Lehman 6cbcc76e41 shlwapi: Make ParseURL case-insensitive.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:21:50 -06:00
Nikolay Sivov 817302b568 shlwapi: Fix its vs it's typo.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 09:07:57 -05:00
Nikolay Sivov 568b08047b shlwapi: Fix a string leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 11:34:14 +09:00
Alexandre Julliard 262a41ca4a shlwapi: Use the standard WideCharToMultiByte instead of wine_utf8_wcstombs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:24:59 +09:00
Daniel Lehman 74e71b6643 shlwapi: Implement URL_ESCAPE_AS_UTF8.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 08:06:43 +01:00
Michael Stefaniuc a0e28403d4 shlwapi: Remove two unused assignments (PVS-Studio). 2015-03-04 21:50:44 +09:00
Nikolay Sivov 462b2feb35 shlwapi: Fix UrlEscapeW() for non-ASCII range. 2014-04-18 10:47:57 +02:00
Sebastian Lackner 7ee2c24a8c shlwapi: Fix UrlCombineW for URLs containing a quotation mark. 2013-11-07 13:14:42 +01:00
Austin English b8f072e910 shlwapi: Add a stub for IsInternetESCEnabled. 2013-02-12 10:16:00 +01:00
Francois Gouget 7c42bfe107 shlwapi: UrlIs()'s check for the 'file:' protocol is case insensitive. 2012-09-26 10:59:45 +02:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Piotr Caban 3f6142e00d shlwapi: Lowercase schemes in UrlCombine function. 2012-03-08 18:55:04 +01:00
Marcus Meissner c9b6994648 shlwapi: Fixed bad pointer arithmentic by removing sizeof() (Coverity). 2011-10-18 15:18:04 +02:00
Jacek Caban 4a39433eae shlwapi: Make sure we don't write anything to output buffer if its size is too small to store the whole result. 2011-10-14 20:26:44 +02:00
Sergey Khodych 26541471ab shlwapi: Implement URL_APPLY_GUESSFILE in UrlApplyScheme. 2011-05-17 11:45:49 +02:00
Sergey Khodych 2e1bec528f shlwapi: Don't copy valid scheme in UrlApplySchemeW. 2011-05-17 11:45:47 +02:00
Thomas Mullaly 65d3eab864 shlwapi: Improved UrlGetPart support when parsing host names. 2011-03-28 17:21:56 +02:00
Nikolay Sivov d6c0752913 shlwapi: Keep pointer to allocated block to free it later (Valgrind). 2011-01-17 12:50:49 +01:00
Jacek Caban 2b99331e93 shlwapi: Fixed handling A->W buffer in UrlCanonicalizeA (valgrind). 2011-01-13 15:22:00 +01:00
Piotr Caban 5024a05780 shlwapi: Improved UrlCombineW implementation. 2010-11-08 13:30:23 +01:00
David Hedberg 6b897513ff shlwapi: Fix UrlGetPart to also return unknown schemes. 2010-10-26 15:25:19 +02:00
Andrew Eikum 6525d89c95 shlwapi: Handle URL_WININET_COMPATIBILITY flag in UrlCanonicalize. 2010-10-12 12:17:38 +02:00
Piotr Caban f0bc60324a shlwapi: Improved UrlEscapeW implementation. 2010-09-07 11:29:55 +02:00
Piotr Caban 8b7fae35e4 shlwapi: Improved UrlCanonicalize implementation. 2010-09-07 11:29:33 +02:00
Piotr Caban b7c68573ae shlwapi: Improved UrlCanonicalizeW implementation. 2010-07-22 13:54:57 +02:00
Aric Stewart d9d6e49f36 shlwapi: Correct slash/backslashs in UrlCanonicalize. 2010-07-08 17:33:37 +02:00
Aric Stewart ea029bd2fb shlwapi: URL_FILE_USE_PATHURL flag only unescapes file urls in UrlCanonicalize. 2010-06-23 15:26:48 +02:00
Piotr Caban 40119690b8 shlwapi: Make UrlCanonicalizeA working with long urls (>INTERNET_MAX_URL_LENGTH). 2010-05-08 18:14:43 +02:00
Piotr Caban fc543890d1 shlwapi: Make UrlCanonicalizeW working with long urls (>INTERNET_MAX_URL_LENGTH). 2010-05-08 18:14:37 +02:00
Andrew Eikum 4811167410 shlwapi: Check for NULL string in UrlIs. 2010-04-12 11:29:16 +02:00
Mikhail Maroukhine 95100a6e92 shlwapi: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:16:43 +02:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Andrew Eikum 594a19645e shlwapi: Only skip 'localhost' in file URLs in UrlCanonicalize. 2010-03-19 17:10:10 +01:00
Andrew Eikum e60b2ec907 shlwapi: Improve error handling in UrlGetPart. 2010-03-15 15:08:26 +01:00
Andrew Eikum 386cb659df shlwapi: Ignore the hash of HTML URLs in UrlCombine. 2010-03-01 14:27:27 +01:00
Vincent Povirk 90b7ccc36a shlwapi: GetUrlPart can get the scheme of url's without a ://. 2010-02-16 10:45:10 +01:00
Aric Stewart e0b23217fe shlwapi: Account for trailing NULL in UrlFixupW. 2010-02-10 11:33:22 +01:00
Michael Stefaniuc 36d269ac22 shlwapi: Don't print the function name twice in an ERR. 2010-02-04 13:39:28 +01:00
Andrew Nguyen 6c6088078d shlwapi: Only check for NULL pointers in HashData. 2010-01-26 12:08:47 +01:00