Commit Graph

549 Commits

Author SHA1 Message Date
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 eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +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 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +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
Juan Lang 8076d1cf12 shlwapi: Small cleanups.
- forward MLGetUILanguage to kernel32
- correct type of parameter to MLLoadLibrary
2006-06-20 20:36:04 +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
Michael Stefaniuc 56026299d0 Remove more redundant NULL checks before HeapFree (found by Smatch). 2006-06-07 14:20:09 +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
Mike McCormack 2b32128d42 shlwapi: Add a stub implementation for IUnknown_ProfferService. 2006-05-05 20:57:11 +02:00
Mike McCormack db8090eec2 shlwapi: Add a stub implementation for IUnknown_QueryServiceExec. 2006-05-05 20:55:12 +02:00
Jonathan Ernst 2748087e0f shlwapi: French localization. 2006-04-17 11:58:53 +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
Antonio Codazzi 4a0b6e9c11 shlwapi: Added Esperanto language. 2006-04-11 11:28:01 +02:00
Francois Gouget 6bddeb1cf7 Assorted spelling fixes. 2006-03-21 20:10:39 +01:00
András Kovács d1df8a85c1 shlwapi: Added Hungarian translation. 2006-03-15 11:33:56 +01:00
Eric Pouech 1be2e1edef shell32: Fixes for bugs found by valgrind on shell32 tests harness.
- read strings from left to right (PathGetDriveNumberW)
- don't access buffers before they are filled (SHGetPathFromIDListW)
- fill buffers & variables on all paths (SHELL_FindExecutable)
- handle error condition (unix_fs)
- don't shoot in the blind for AW APIs (tests/shelllink.c)
2006-02-22 12:04:02 +01: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
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Fatih Aşıcı a15930703b shlwapi: Turkish translation. 2006-02-06 13:06:19 +01:00
Stefan Leichter cfcc9a755d shlwapi: Added stub for ShellMessageBoxWrapW. 2006-02-02 13:20:04 +01:00
Alexandre Julliard 37ea1c4659 shlwapi: Fixed use of wrong buffer in SHCopyKeyW. 2006-01-17 13:34:52 +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
Kaj Kaloinen ee9b656edc shlwapi: Add Finnish translation. 2006-01-10 12:07:07 +01:00
Marcus Meissner 64869596cf shlwapi: Print PathCombine* strings arguments in relay debugging. 2006-01-04 14:52:55 +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
Vincent Béron 834385cad4 Add some missing includes which contain used prototypes. 2005-12-09 11:51:17 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
YunSong Hwang 58d6722e7a Add Korean translations. 2005-11-11 10:55:09 +00:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Uwe Bonnes c51e9964a3 Semi-stub implementation for SHRegGetValue(A|W). 2005-11-07 20:14:27 +00:00
Stefan Leichter e1cf3392cb Stop PathIsValidCharW tests after 100 failing tests. 2005-10-31 10:02:24 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexander N. Sørnes cd6e5bab8b Added Norwegian translations. 2005-09-26 10:56:47 +00:00
Francois Gouget 335fce9ce0 Fix .spec declarations for functinos with 64bit arguments (reported by
winapi_check).
2005-09-26 09:56:40 +00:00
Dmitry Timoshkov 12b2cf4c77 Fix the usage of COLOR_xxx constants in the place of the window's
class hbrBackground.
2005-09-20 12:02:45 +00:00
Alexandre Julliard 7a52190c03 Take into account -noname functions when checking for duplicate export
names. Fixed a couple of issues found by the stricter check.
2005-09-19 14:44:28 +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
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard 4c34d9386c Specify 64-bit integers as double instead of long long in spec files
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Stefan Leichter 00efadd93b Added version resource to shlwapi.dll. 2005-09-06 11:04:24 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Vincent Béron f1d66c008d Correct typo in format string. 2005-08-15 09:43:45 +00:00
Huw Davies bc94cbb50c Implement SHLoadRegUIStringW. 2005-08-12 15:51:44 +00:00
Richard Cohen 3ca45f8e89 Blame ExpandEnvironmentStringsA for the failing NT4 test. 2005-08-12 15:51:22 +00:00
Huw Davies 554357ec62 Implement SHLoadIndirectString. 2005-08-11 18:35:15 +00:00
Huw Davies 1c088a43f7 Partial implementation of DeleteMenuWrap. 2005-08-10 15:01:07 +00:00
Huw Davies 6b1670c7cb Implement IUnknown_EnumObjects. 2005-08-10 13:00:05 +00:00
Huw Davies 88a8ff027a _CreateAllAccessSecurityAttributes takes three parameters. 2005-08-09 20:34:57 +00:00
Huw Davies 34f36f662b Implement and add tests for the FDSA functions. 2005-08-09 10:21:35 +00:00
Huw Davies c14dbc5c1c IUnknown_SetSite calls IObjectWithSite_SetSite or
IInternetSecurityManager_SetSecuritySite.
2005-08-08 17:58:31 +00:00
Alexandre Julliard 94defee579 Don't prefix the functions DllInstall and DllGetVersion with the dll
name so that the compiler can check the prototypes.
2005-08-08 17:43:51 +00:00
Huw Davies adc317c5cc Forward ordinals 457,458 to GetLongPathNameW,A. 2005-08-08 12:14:09 +00:00
Huw Davies 91358d76c3 Fix call to GetMenuItemInfo and unicodify while we're at it. 2005-08-08 11:02:16 +00:00
Mike McCormack 82434be6a9 gcc 4.0 warning fixes. 2005-07-29 14:15:31 +00:00
Steven Edwards e14569d122 Correct RegCreateKeyEx[A/W] prototype to match the PSDK. 2005-07-28 10:18:23 +00:00
Mike McCormack bda7ace2e9 Interlocked LONG* gcc warning fixes. 2005-07-13 11:59:15 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +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
Francois Gouget 02c25a8981 Assorted spelling fixes. 2005-06-30 18:19:33 +00:00
Stefan Huehner ffe53258aa Fix some -Wstrict-prototypes warnings. 2005-06-27 09:57:28 +00:00
Alexandre Julliard f84401aa17 Sort entry points in the same order as Windows. 2005-06-23 09:57:11 +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 0a44661d6f Switch IShellLink to use shlwapi.SHCreateStreamOnFileW. 2005-06-16 09:46:05 +00:00
Mike McCormack 9f92ead47f Fixes for -Wmissing-declaration and -Wwrite-string warnings. 2005-06-14 17:21:18 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +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
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +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
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +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
Robert Shearman 77fcaa4b93 Fix SHCopyKey to treat string parameter correctly as source path
instead of destination path.
2005-03-21 10:50:55 +00:00
Jon Griffiths 6064680f71 Implement @188,190,195,200,256,478,481.
IUnknown_EnableModeless() also handles IOleInPlaceActiveObject.
2005-03-18 14:01:16 +00:00
Jon Griffiths dbf222f3aa Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc). 2005-03-17 20:53:37 +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
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Alex Villacís Lasso 18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Thomas Weidenmueller e2f07fb444 Forward to user32 when appropriate. 2005-02-16 16:27:01 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +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
Hans Leidekker a4b80ec97e Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W},
SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
2005-01-18 11:39:05 +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
James Hawkins a1e304a25f - use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
2005-01-12 19:29:43 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Mike McCormack 4a0f999859 Use CreateEventW in preference to CreateEventA for unnamed events. 2005-01-07 15:40:09 +00:00
Jacek Caban e09e67e8a9 Get rid of W->A calls. 2005-01-03 20:09:22 +00:00
Jon Griffiths 4fb777c471 Documentation fix. 2005-01-03 17:09:55 +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
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
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget ee0344a4a2 Remove unneeded NULL casts. 2004-12-22 15:13:20 +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
Jon Griffiths 25a3ff6a1a Include shlwapi.h to get prototypes, and correct 2 wrong ones. 2004-12-15 10:48:51 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Stefan Leichter 77928370a5 Fixed tests of GetAcceptLanguagesA for win9x/ME. 2004-12-08 13:52:02 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +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
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Huw Davies f3a56591ec Tests for PathCreateFromUrl, PathIsURL, UrlCreateFromPath and
UrlUnescape.
2004-10-05 18:31:58 +00:00
Huw Davies 10aac6c013 Rewrite UrlCreateFromPath. 2004-10-05 18:31:41 +00:00
Huw Davies 1685e8c65e Rewrite PathCreateFromUrl. 2004-10-05 18:07:14 +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
Huw Davies 91704df4f3 Implement PathSearchAndQualify. 2004-09-25 00:29:47 +00:00
Ge van Geldorp 707a10708f SHGetAppCompatFlags takes 4 bytes of parameters. 2004-09-25 00:29:30 +00:00
Robert Shearman 07519aa1d0 Don't define GWL_USERDATA, GWL_ID, GWL_HWNDPARENT, GWL_HINSTANCE and
GWL_WNDPROC when compiling the Wine source.
2004-09-23 22:54:58 +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
Francois Gouget c27db9b07c Assorted spelling fixes. 2004-09-14 19:31:22 +00:00
Jon Griffiths 68ddf16a1c Implement SHSimulateDrop, MIME_GetExtensionA/W, StrCpyNXA/W,
SHAnsiToAnsi, SHUnicodeToUnicode.
2004-09-13 18:11:56 +00:00