Commit Graph

200 Commits

Author SHA1 Message Date
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Jacek Caban 961627d344 shlwapi: Fix handling mk URLs. 2007-02-12 12:40:01 +01:00
Mikołaj Zalewski 2270cc2994 shlwapi: Test string functions when buffer is too small. 2007-02-05 14:03:59 +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
Francois Gouget 052104b9e4 shlwapi/tests: Print GetLastError() in decimal with '%u'. 2007-01-09 12:48:44 +01:00
Jacek Caban d159b33228 shlwapi: Forward CLSIDFromProgIDWrap to ole32 (with test). 2007-01-08 11:46:05 +01:00
Louis Lenders dff271df3e shlwapi: Fix a failing test. 2006-12-24 15:12:48 +01:00
Paul Vriens bed868c681 shlwapi/tests: Fix typos. 2006-12-15 12:18:20 +01:00
Francois Gouget c1e7d16f40 shlwapi/tests: Replace some '#if 0's with 'if (0)'s. 2006-12-14 20:24:44 +01:00
Alexandre Julliard f662e2548b shlwapi: Fixed string tests for non-English locales. 2006-12-08 12:55:43 +01:00
Francois Gouget 26b2cdf8a0 shlwapi/tests: Remove unneeded NONAMELESS* macros. 2006-11-24 11:49:00 +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
Andrey Turkin 5151c81a23 shlwapi: Implement GetShellSecurityDescriptor and test for it. 2006-11-08 15:49:33 +01:00
Mikołaj Zalewski 7b170df2ee shlwapi: Test and fix StrRStrI[AW]. 2006-10-23 15:16:05 +02:00
Mikołaj Zalewski ef8151b379 shlwapi/tests: Disable the StrFromTimeInterval tests as they are language-dependent. 2006-10-23 15:15:02 +02:00
Mikołaj Zalewski 5f5c662a67 shlwapi/tests: Enable the locale-dependent tests if the delimiters are correct. 2006-10-23 15:14:39 +02:00
Mikołaj Zalewski bd35b0a122 shlwapi/tests: Make the string.c tests compile in Visual C++. 2006-10-23 15:14:29 +02:00
Alexandre Julliard 6a9222fc39 Fixed some printf warnings caused by using sizeof. 2006-10-12 14:58:25 +02:00
Ge van Geldorp d642e11438 winapi_test: Regenerate tests.
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Paul Vriens b5728948d5 shlwapi: Cast-qual warnings fix. 2006-10-10 17:00:07 +02:00
Hans Leidekker a8ccd5816a shlwapi/tests: Win64 printf format warning fixes. 2006-10-07 18:05:16 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Paul Vriens 2ade49bf08 url: Fixed wrong argument (Coverity). 2006-09-20 12:25:29 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Louis. Lenders 531ee64e79 shlwapi: Simple test for UrlCanonicalizeA. 2006-09-07 13:44:24 +02:00
Huw Davies 0476397387 shlwapi: Add tests for PathUnquoteSpaces. 2006-08-09 17:12:21 +02:00
Andrew Talbot 5f2558f506 shlwapi/tests: Write-strings warnings fix. 2006-08-09 11:20:12 +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
James Hawkins c70bf5aaab shlwapi: Add tests for PathCommonPrefixA. 2006-07-13 13:48:27 +02:00
James Hawkins a6f4ede255 shlwapi: Add tests for PathBuildRootA. 2006-07-13 13:48:19 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
James Hawkins ad064915c9 shlwapi: Add tests for PathFindExtensionA. 2006-06-30 20:43:18 +02:00
James Hawkins b333f0c4d2 shlwapi: Add tests for PathCanonicalize. 2006-06-30 20:43:09 +02:00
James Hawkins 3a1a607a00 shlwapi: Add tests for PathAppendA. 2006-06-28 15:40:38 +02:00
Andrey Turkin a7d008f51b shlwapi: Test for UrlGetPart in case of file name. 2006-06-27 11:50:21 +02:00
James Hawkins 251d76888d shlwapi: Add tests for PathAddBackslash. 2006-06-27 11:14:58 +02:00
James Hawkins 7412bddd36 shlwapi: Add tests for PathCombineA. 2006-06-27 11:14:43 +02:00
Paul Vriens a796b8a3f7 shlwapi: PathCombineW should return NULL on invalid parameters. 2006-06-26 12:56:47 +02:00
Alexandre Julliard 0cbd0a367d shlwapi/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:59 +02:00
Alexandre Julliard 23f9e358ad Tests should not use wine/unicode.h. 2006-05-24 18:05:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Peter Oberndorfer ac0bee4bf2 shlwapi: Ignore leading spaces in PathMatchSpec. 2006-04-12 11:17:12 +02:00
Peter Oberndorfer 759324a20c shlwapi: Add tests for PathMatchSpec. 2006-04-12 11:16:58 +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
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Stefan Leichter e1cf3392cb Stop PathIsValidCharW tests after 100 failing tests. 2005-10-31 10:02:24 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Richard Cohen 3ca45f8e89 Blame ExpandEnvironmentStringsA for the failing NT4 test. 2005-08-12 15:51:22 +00:00
Huw Davies 34f36f662b Implement and add tests for the FDSA functions. 2005-08-09 10:21:35 +00:00
Mike McCormack 82434be6a9 gcc 4.0 warning fixes. 2005-07-29 14:15:31 +00:00
Mike McCormack bda7ace2e9 Interlocked LONG* gcc warning fixes. 2005-07-13 11:59:15 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Stefan Huehner ffe53258aa Fix some -Wstrict-prototypes warnings. 2005-06-27 09:57:28 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack 9f92ead47f Fixes for -Wmissing-declaration and -Wwrite-string warnings. 2005-06-14 17:21:18 +00:00
Uwe Bonnes 3655187fd0 Test cases for URL_UNESCAPE and small fix. 2005-05-23 16:23:02 +00:00
Pierre d'Herbemont 342da59b0c Remove stdlib.h inclusion if winsock.h is included. 2005-05-18 15:33:20 +00:00
Jakob Eriksson 461c830745 Eliminate HeapAlloc casts. 2005-03-22 18:26:06 +00:00
Jakob Eriksson a4fe0d6003 More trace info. 2005-03-22 18:18:14 +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
Jon Griffiths 86ad22bf9b Fix two failures and (hopefully) a crash with early versions. 2005-03-16 19:47:37 +00:00
Jon Griffiths db66ec0e55 Tests and small fix for PathMakePretty().
Fix a crash and test failure with early native dlls.
2005-03-14 10:09:53 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Paul Vriens 0543774845 Use aliases for calls to ordinals. 2005-02-10 17:10:43 +00:00
Paul Vriens 89330709b7 More verbosity of errors. 2005-02-03 19:38:58 +00:00
Hans Leidekker 80829db067 Implement and test PathIsValidChar{A,W}. 2005-02-03 13:34:05 +00:00
Paul Vriens a3d0eeb9f6 - new test
- changed test to reflect windows results
2005-01-31 11:29:59 +00:00
Hans Leidekker aaa5921ff8 StrIsIntlEqual and IntlStrEqWorker may be absent. 2005-01-25 10:56:23 +00:00
Paul Vriens 14b96358f8 - More verbose output of errors.
- Bail out if first test fails (produce one error only).
2005-01-21 16:18:00 +00:00
Paul Vriens 361ee299ac Use a registry key for copying, that's known on every system. 2005-01-17 15:45:44 +00:00
Paul Vriens 7e8c096a26 Change the order of Src and Dst in CopyKey calls/functions. 2005-01-17 15:33:00 +00:00
Paul Vriens 4064e74fc3 Use Interlocked* functions in AddRef and Release. 2005-01-17 13:42:13 +00:00
Hans Leidekker 8310bd5328 Implement and test URLIS_URL flag in UrlIs(). 2005-01-03 17:08:40 +00:00
Jon Griffiths bcf439261a Use Ascii functions explicitly. 2005-01-03 14:36:47 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Jon Griffiths 49e13df700 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-17 19:09:29 +00:00
Stefan Leichter 64b4d5a40f Fixed tests of GetAcceptLanguagesA for win98. 2004-12-15 10:50:21 +00:00
Jon Griffiths 1f79d57d3a Use the A version of calls when passing ASCII strings. 2004-12-15 10:50:01 +00:00
Stefan Leichter 77928370a5 Fixed tests of GetAcceptLanguagesA for win9x/ME. 2004-12-08 13:52:02 +00:00
James Hawkins 0bd19bb11d Make four shreg tests pass on XP. 2004-11-19 17:56:08 +00:00
James Hawkins 0fec65d6a7 Use SHDeleteKey to remove leftover keys from the shreg tests. 2004-11-10 01:30:59 +00:00
Stefan Leichter 092c965444 Fixed tests of GetAcceptLanguagesA for platfoms 98,ME,NT4. 2004-11-09 20:11:18 +00:00
Stefan Leichter 4408b91174 Fixed GetAcceptLanguagesA tests for Win98. 2004-10-27 21:18:21 +00:00
Stefan Leichter 97f4a203b2 Fixed GetAcceptLanguagesA tests for WinXP. 2004-10-22 19:54:28 +00:00
Bill Medland 3f3e29254b Fix SHDeleteKey so that it will handle deleting a key with more than
one subkey.  Also includes test.
2004-10-14 00:25:29 +00:00
Huw Davies f3a56591ec Tests for PathCreateFromUrl, PathIsURL, UrlCreateFromPath and
UrlUnescape.
2004-10-05 18:31:58 +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 91704df4f3 Implement PathSearchAndQualify. 2004-09-25 00:29:47 +00:00
Jon Griffiths 68ddf16a1c Implement SHSimulateDrop, MIME_GetExtensionA/W, StrCpyNXA/W,
SHAnsiToAnsi, SHUnicodeToUnicode.
2004-09-13 18:11:56 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Stefan Leichter d3a1480f6b Fixed test of GetAcceptLanguagesA on NT4. 2004-09-03 17:28:09 +00:00