Commit Graph

789 Commits

Author SHA1 Message Date
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Alexandre Julliard 5f36d0239f kernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:51 +01:00
Alexandre Julliard 55e4c7f14e shlwapi: Convert SHPackDispParams to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:42 +01:00
Alexandre Julliard b9f0ee96fb shlwapi: Convert wvnsprintfA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:38 +01:00
Paul Vriens 05988f4fbc shlwapi/tests: Fix some test failures on Vista. 2008-12-17 15:29:26 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Paul Vriens 8fc42993a1 shlwapi/tests: Use a codepage that is supported on all platforms. 2008-12-05 12:36:49 +01:00
Francois Gouget a3973e0c47 shlwapi: Remove WINAPI on static functions where not needed. 2008-11-25 11:49:54 +01:00
Francois Gouget 9c5e97aa71 Assorted spelling fixes. 2008-11-24 14:25:10 +01:00
Andrew Talbot ba1e2660e8 shlwapi: Sign-compare warnings fix. 2008-11-13 11:48:55 +01:00
Detlef Riekenberg 4621210b59 shlwapi/tests: Add more entries for PathIsURL. 2008-11-10 11:07:38 +01:00
Michael Stefaniuc 5f55f154bf shlwapi: Remove superfluous casts of/to void pointers. 2008-11-06 11:09:56 +01:00
Paul Vriens d64f8a887f shlwapi/tests: Fix a failure on Win9x and NT4. 2008-11-05 10:54:45 +01:00
Paul Vriens 6fd4c62802 shlwapi/tests: Fix some failures on XP and W2K3. 2008-11-04 14:08:47 +01:00
Francois Gouget 88a883dfc3 shlwapi/tests: AssocQueryStringA/W() are missing on Windows 98. 2008-11-03 13:34:12 +01:00
Paul Vriens c5866d3696 shlwapi/tests: Fix failures on multiple platforms. 2008-10-24 14:24:59 +02:00
Detlef Riekenberg 40d7448895 shlwapi/tests: Replace RegDeleteTreeW to run the tests again. 2008-10-20 13:43:49 +02:00
Detlef Riekenberg 78c75e20ae shlwapi: Fix pointer and size in AssocQueryStringA. 2008-10-20 13:43:26 +02:00
Alexandre Julliard 7f327237bf Convert remaining source files to utf-8. 2008-10-18 19:23:08 +02:00
Joris Huizer 8ed05aeb32 shlwapi: Fix ASSOC_GetExecutable not to use uninitialised variable. 2008-10-17 11:43:05 +02:00
Lei Zhang dc9eeb75ba shlwapi: Properly handle pszExtra in IQueryAssociations_GetString. 2008-10-15 14:02:01 +02:00
Michael Stefaniuc d6359edd3c shlwapi: Remove break after return (Smatch). 2008-10-15 12:21:42 +02:00
Detlef Riekenberg 680b5df5cf shlwapi: Implement SHSendMessageBroadcastA/W. 2008-10-14 14:01:22 +02:00
Lei Zhang 57122e4daa shlwapi: Handle ASSOCSTR_FRIENDLYAPPNAME in IQueryAssociations_GetString. 2008-10-14 13:41:57 +02:00
Lei Zhang 58797fc54c shlwapi: Refactor data return code in IQueryAssociations_fnGetString. 2008-10-14 13:41:57 +02:00
Lei Zhang 4e0c0ec157 shlwapi: Refactor get executable code in IQueryAssociations_fnGetString. 2008-10-14 13:41:57 +02:00
Lei Zhang c08ec04d41 shlwapi: Close registry handles when destroying IQueryAssociations. 2008-10-13 11:50:00 +02:00
Lei Zhang 3684009b6e shlwapi: Handle ASSOCSTR_EXECUTABLE in IQueryAssociations_GetString. 2008-10-13 11:49:53 +02:00
Lei Zhang db08d6e807 shlwapi: Fix AssocQueryStringW parameter checking. 2008-10-13 11:49:06 +02:00
Lei Zhang 0c568c2ae8 shlwapi: Add some tests for AssocQueryStringW. 2008-10-13 11:48:36 +02:00
Muneyuki Noguchi 6f88b4f2a7 shlwapi: Convert Japanese resource to UTF-8. 2008-10-13 11:41:36 +02:00
Paul Vriens b1105d49f6 shlwapi/tests: Don't crash on NT4. 2008-10-09 12:14:33 +02:00
Michael Stefaniuc 0312b96474 shlwapi: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:42:29 +02: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
Hans Leidekker a14e967135 shlwapi: Fix PathIsValidChar tests that fail on some versions of Windows. 2008-09-29 17:25:42 -05:00
Muneyuki Noguchi 7ddd48da2d shlwapi: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-29 17:17:47 -05:00
Michael Stefaniuc b562a512eb shlwapi/tests: Remove redundant NULL check before SysFreeString (Smatch). 2008-09-25 11:19:01 +02:00
Alexandre Julliard a3dd2967ca shlwapi/tests: SHLWAPI.23 apparently returns an HRESULT on Vista. 2008-09-17 16:23:49 +02:00
Detlef Riekenberg 3a2dfbd4e4 shlwapi: Add a stub for SHSetDefaultDialogFont. 2008-09-10 11:08:20 +02:00
Reece Dunn 261a39a008 shlwapi: Fixed the url tests on Vista. 2008-09-08 14:09:09 +02:00
Alexandre Julliard b63c648656 shlwapi/tests: Avoid sizeof in traces. 2008-09-05 11:25:21 +02:00
Hongbo Ni 7d35b15539 shlwapi: Add simplified and traditional Chinese resources. 2008-09-04 11:42:38 +02:00
James Hawkins 3e76eacbfd shlwapi: Fix a few failing tests in Vista. 2008-09-03 13:14:51 +02:00
Paul Vriens cea45c5339 shlwapi/tests: Don't test unimplemented functions. 2008-09-02 13:28:39 +02: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
Louis Lenders d571636dbc shlwapi: Add test showing UrlUnEscape should convert the url in place when URL_UNESCAPE_INPLACE is set. 2008-08-28 13:12:53 +02:00
Detlef Riekenberg a34f4ae848 shlwapi/tests: Add tests for UrlApplyScheme. 2008-08-27 13:21:23 +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
Paul Vriens 0bafb78755 shlwapi/tests: Fix a test on Vista. 2008-08-27 13:21:20 +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
Reece Dunn aa584f146a shlwapi: Fixed the string tests on Vista. 2008-08-05 14:09:34 +02:00
Detlef Riekenberg 139c214661 shlwapi/tests: Fix istream tests on win9x (GetTempPathW). 2008-08-04 14:21:54 +02:00
Detlef Riekenberg 63b8624a05 shlwapi/tests: Fix a buffer overflow that results in a crash on Win9x. 2008-07-28 14:27:28 +02:00
Juan Lang 87c3df1578 shlwapi: Use CharNextA to iterate through characters in PathAddBackslashA. Fixes problems with MBCS paths. 2008-07-28 11:32:08 +02:00
Andrew Talbot dd0a22420a shlwapi: Remove unneeded address-of operator from array name. 2008-07-14 11:50:15 +02:00
Alistair Leslie-Hughes d2cce3284a shlwapi: Fix tests under w2k8. 2008-07-10 20:21:21 +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
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Jon Griffiths 938ab8a633 Fix minor comment typos. 2008-07-07 14:26:08 +02:00
Hans Leidekker 96b89623af shlwapi: Add a couple of tests for UrlUnescape. 2008-06-30 15:09:20 +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
Francois Gouget e0338be2d4 shlwapi: Don't use Unix functions for case sensitive string comparisons. 2008-06-26 21:08:32 +02:00
Paul Vriens 99deb5ca2c shlwapi/tests: Fix another test on Vista. 2008-06-25 10:39:35 +02:00
Paul Vriens f88a3c569e shlwapi/tests: Fix a test on Vista. 2008-06-25 10:39:31 +02:00
Petr Dlouhý 283012cc95 shlwapi: UrlCanonicalize will canonize address in format "file://localhost/c:/" correctly. 2008-06-21 11:36:29 +02:00
Paul Vriens c81c11f72d shlwapi/tests: Don't create testfile at a fixed location. 2008-06-11 11:27:39 +02:00
Paul Vriens 6689994362 shlwapi/tests: Don't create testfile at a fixed location. 2008-06-06 15:27:01 +02:00
Paul Vriens 64444ebe94 janitorial: Close COM after tests. 2008-05-19 23:10:01 +02:00
Mikołaj Zalewski 14a42f802d Make Swedish use SUBLANG_NEUTRAL. 2008-05-19 16:09:13 +02:00
Jens Albretsen 67afde8504 shlwapi: Added Danish translation. 2008-05-05 13:35:50 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Andrew Talbot af3055e2e1 shlwapi: Remove unused variables. 2008-04-29 12:37:54 +02:00
Reece Dunn 48f39dc995 shlwapi/tests: Add 'res:' protocol tests for UrlCanonicalize. 2008-04-24 11:49:26 +02:00
Reece Dunn eb139e44a7 shlwapi/tests: Improve the way that the UrlCanonicalize tests report failure. 2008-04-23 14:32:16 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Reece Dunn cd16e22252 shlwapi/tests: Fix the return codes for Windows 2000 (without IE6 installed). 2008-04-21 12:10:36 +02:00
Reece Dunn fa7f16562e shlwapi/tests: Enumerate the STGM sharing modes in the SHCreateStreamOnFile tests. 2008-04-17 13:13:06 +02:00
Reece Dunn 8ea25acd73 shlwapi: Fixed the todo blocks in the SHCreateStreamOnFile tests. 2008-04-17 13:13:06 +02:00
Rok Mandeljc 406507423b shlwapi: Added Slovenian translation. 2008-04-08 11:57:10 +02:00
Reece Dunn 33f788f7cb shlwapi/tests: Fixed the wide-character strings. 2008-04-04 11:04:49 +02:00
Paul Vriens 428543d9ea shlwapi/tests: Turn printf into trace or skip. 2008-04-02 19:54:56 +02:00
Reece Dunn 47abba0257 shlwapi/tests: Loop over the STGM access modes when testing the SHCreateStreamOnFile methods. 2008-04-01 13:16:17 +02:00
Vitaliy Margolen 2dddbe2f18 shlwapi: Add Russian translation. 2008-03-28 09:53:32 +01:00
Reece Dunn de3c19c2f0 shlwapi: Added basic tests for the SHCreateStreamOnFile IStream implementation. 2008-03-27 17:47:38 +01:00
Reece Dunn 2679453f04 shlwapi: Added STGM_TRANSACTED tests for SHCreateStreamOnFileA/W/Ex. 2008-03-27 17:47:31 +01:00
Reece Dunn 404a51b455 shlwapi: Added SHCreateStreamOnFileEx tests. 2008-03-25 11:20:51 +01:00
Reece Dunn fe829db189 shlwapi: Added SHCreateStreamOnFileW tests. 2008-03-25 11:20:38 +01:00
Reece Dunn d2e1e5bfaf shlwapi: Added SHCreateStreamOnFileA tests. 2008-03-25 11:20:22 +01:00
Michael Stefaniuc 20c91aba94 shlwapi: Add the Romanian translation. 2008-03-24 11:37:55 +01:00
Francois Gouget bd4dcad02f shlwapi/tests: Skip the string tests for the functions that are not available on Win9x. 2008-03-05 12:17:54 +01:00
Francois Gouget d573ca8332 shlwapi/tests: The function pointers are global so initialize them on startup, before they are used. 2008-03-05 12:17:38 +01:00
Francois Gouget 34b5e424e0 shlwapi/tests: Add skip statements for missing functions to the string tests. 2008-03-05 12:17:26 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Marcus Meissner 088a33729a shlwapi: Handle buffer overflow on A->W converter. 2008-03-03 11:59:11 +01:00
Jacek Caban d1ae63b0d6 shlwapi: Added more tests. 2008-02-28 10:45:03 +01: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
Rob Shearman 151cc8bd05 shlwapi: IID_IInternetSecurityMgrSite is now defined so remove the local definition from IUnknown_GetWindow. 2008-02-15 11:04:18 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +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
Lei Zhang 0da7c8f444 shlwapi: Additional UrlEscapeA tests. 2008-01-10 11:37:24 +01:00
Alistair Leslie-Hughes 6dd046a61d shlwapi: Fix memory leak in test. 2007-12-11 12:09:14 +01:00
Jacek Caban 5f3dd23f10 shlwapi: Uncomment IUnknown_EnableModeless code. 2007-12-05 12:07:05 +01:00
Jacek Caban 9771c7393a shlwapi: Fixed SHPackDispParamsV spec declaration. 2007-11-13 13:29:20 +01:00
Jacek Caban f58d9a94fa shlwapi: Reimplement IUnknown_CPContainerInvokeParam on top of SHPackDispParams. 2007-11-12 12:15:38 +01:00
Jacek Caban 114e8485de shlwapi: Added SHPackDispParams test. 2007-11-12 12:15:29 +01:00
Jacek Caban dabbe5c55b shlwapi: Added SHPackDispParams implementation. 2007-11-12 12:15:24 +01:00
Jacek Caban 54292f7da6 shlwapi: Added SHPackDispParamsV implementation. 2007-11-12 12:15:12 +01:00
Gerald Pfeifer e3b8e2f2dd shlwapi/tests: Remove overly aggressive const declaration for TEST_URL_UNESCAPE. 2007-10-29 13:06:38 +01:00
Dmitry Timoshkov 656a11b152 shlwapi: Fix a typo in the previous patch. Spotted by Francois Gouget. 2007-10-29 12:05:23 +01:00
Francois Gouget 5b58407271 shlwapi: Fix the DeleteMenuWrap() forward. 2007-10-29 12:04:52 +01:00
Dmitry Timoshkov c20bf6931a shlwapi: Update exported API entries according to the info published by Geoff Chappell. 2007-10-26 14:03:47 +02:00
Hwang YunSong(황윤성) f18fc0f50c shlwapi: Updated Korean resource. 2007-10-25 13:59:21 +02:00
Dmitry Timoshkov ae89239cde shlwapi: Forward GetStringType3ExW to GetStringTypeW. 2007-10-25 12:48:53 +02:00
Dmitry Timoshkov f7a7e6d9f9 shlwapi: Forward SetDlgItemTextWrapW to user32.SetDlgItemTextW. 2007-10-25 12:48:48 +02:00
Dmitry Timoshkov fd9774cef6 shlwapi: Forward more entries to user32 exports. 2007-10-24 14:12:17 +02:00
Dmitry Timoshkov 54c83b388c shlwapi: Use existing shlwapi/Win32 APIs to compare strings in Windows encoding. 2007-10-24 14:12:09 +02:00
Alexandre Julliard 6d6b9a381a shlwapi/tests: Make local variables static and const. 2007-10-16 13:58:09 +02:00
Detlef Riekenberg f05b840ac4 shlwapi/test: Test dwSize for UrlCanonicalizeA/W. 2007-10-16 13:55:48 +02:00
Detlef Riekenberg d9a33f3c17 shlwapi/tests: Move URL testing functions from path.c to url.c. 2007-10-16 13:55:41 +02:00
Detlef Riekenberg 1d87649f3c shlwapi: Fix returned result code and size in UrlCanonicalizeA. 2007-10-16 13:54:56 +02:00
Daniel Nylander e463e5d7c4 shlwapi: Add Swedish translation. 2007-10-16 12:39:30 +02:00
Alexandre Julliard 3ee3058677 shlwapi: Fix GetAcceptLanguagesA to not read past the end of the buffer. 2007-10-01 18:09:11 +02:00
Americo Jose Melo c5ba90131e Update the Portuguese translation. 2007-09-13 13:28:26 +02:00
Rob Shearman 5440889645 shlwapi: Fix IUnknown_OnFocusOCS to call OnFocus instead of GetExtendedControl. 2007-09-10 16:13:47 +02:00
Dmitry Timoshkov 572e803654 shlwapi: Duplicate shell32.ShellMessageBoxW implementation in shlwapi.ShellMessageBoxWrapW. 2007-09-10 15:29:46 +02:00
Francois Gouget 6dbf9c1932 shlwapi: Update win32.api to fix the winapi_check warnings. 2007-08-30 17:02:49 +02:00
Francois Gouget b25fdbb23e shlwapi: Move SHAddDataBlock() to the front and remove the forward declaration. 2007-08-30 17:02:49 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +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
Paul Vriens 3de1c55dc6 shlwapi/tests: Use GetModuleHandleA instead of LoadLibraryA. 2007-08-08 15:31:59 +02:00
Dmitry Timoshkov f27e5299c9 shlwapi: Fix parameter types of SHGetIniStringW. 2007-07-16 14:53:42 +02:00
Dmitry Timoshkov 929be93411 shlwapi: Fix some spec entry definitions. 2007-07-13 12:29:54 +02:00
Thomas Weidenmueller c15245d9cc shlwapi: Use publicly defined structure DATABLOCK_HEADER instead of redefining it locally. 2007-07-12 12:57:35 +02:00
Michael Stefaniuc 0152ec0375 janitorial: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:50 +02:00
Alexandre Julliard ae0c24fd06 shlwapi: Get rid of CharNextW/CharPrevW. Simplify some string functions. 2007-06-25 14:01:28 +02:00
Michael Stefaniuc 14077f67c8 shlwapi: Remove more wide character constants. 2007-06-22 12:18:35 +02:00
Michael Stefaniuc 9acd67ec5b shlwapi: Do not use wide character constants. 2007-06-21 13:11:25 +02:00
Francois Gouget 56c841ced0 shlwapi: Update win32.api to fix the winapi_check warnings. 2007-06-18 12:14:30 +02:00