Commit Graph

129 Commits

Author SHA1 Message Date
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
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
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Robert Shearman de35ace58c Implemented UrlCreateFromPath[AW] and slightly related
PathCreateFromFileA.
2002-12-19 04:16:54 +00:00
Jon Griffiths 91ec8e14c6 Reorganise/minor tidyup of ordinal functions.
Implement StrCmpLogicalW,StrFormatByteSizeA/W,StrFormatByteSize64A,
SHCreateStreamWrapper.
Fix some output .spec parameters from str to ptr.
Fix definition of StrFormatByteSize functions.
2002-09-20 19:41:08 +00:00
Jon Griffiths 353ce51be7 Make hex digits static const & share them. 2002-09-12 18:03:11 +00:00
Jon Griffiths 41b2609903 Implement UrlHashW. 2002-08-26 21:36:31 +00:00
Andreas Mohr 7df2d9f187 Misc spelling fixes. 2002-07-24 19:02:50 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Jon Griffiths 603f20fc0e Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Guy L. Albertelli 905f04a932 - Stub routines for _164, _208, _210, _211, _239, _356, _413, _437,
ColorRGBToHLS
- Implement routines for _172, _174, _176, _199, _215, _219, _236, _377,
  _378, UrlCompare{A|W}, UrlApplyScheme{A|W}.
- Fix routines _217, _169, _240, _276, _342, _376.
2001-12-01 00:36:18 +00:00
Francois Gouget d5aebbe6b3 A few typos. 2001-11-19 02:09:49 +00:00
Guy L. Albertelli ad3815929d - Implement ordinals 7, 8, 9, 13, 14, 19, 36.
- Implement SHRegWriteUSValue{A|W}, UrlGetPart{A|W}, UrlIs...{A|W}
2001-11-13 21:28:21 +00:00
Alexandre Julliard 22c2ac7273 Implemented inline version of the iswxxx functions. 2001-11-08 19:16:34 +00:00
Guy Albertelli 8014f85dc2 - Implement URL_ESCAPE_SEGEMENT_ONLY, URL_ESCAPE_PERCENT,
and URL_DONT_ESCAPE_EXTRA_INFO in the UrlEscape{A|W} routines.
- Make UrlCanonicalizeA use UrlCanonicalizeW.
- Implement full functionality in UrlCanonicalizeW.
- Implement UrlCombine{A|W}.
2001-11-06 22:29:38 +00:00
Guy L. Albertelli 68a705cdef Stub UrlCombineA and initial implementation of UrlCombineW. 2001-10-28 21:13:54 +00:00
Guy L. Albertelli 2cf83ba009 - Implement UrlCanonicalizeW, UrlEscapeW, UrlUnescapeW.
- Stub UrlGetLocation{A|W}.
2001-10-21 15:08:01 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Andreas Mohr 792e09f6e5 - add stubs SHLWAPI_294, UrlApplySchemeW
- correct SHLWAPI_151 parameters
- implemented StrTrimA
2001-05-24 18:41:56 +00:00
Jon Griffiths 38bed0608a Implement a bunch of shlwapi functions, add some new stubs. 2001-02-13 20:17:59 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Huw D M Davies f6c7222fce Implemented a few Url* functions. 2001-01-05 22:22:57 +00:00