Commit Graph

409 Commits

Author SHA1 Message Date
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
Diego Pettenò a33ff00133 Add support for file:/// urls in PathCreateFromUrl. 2004-09-10 21:12:11 +00:00
Hans Leidekker f0e6b58428 Dutch resource translation. 2004-09-09 19:18:57 +00:00
Diego Pettenò 4d73e10cf8 Add support in UrlIs() for URLIS_DIRECTORY and URLIS_FILEURL flags. 2004-09-08 01:26:25 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +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
Mike McCormack de8a6cb32d Don't read past end of table in PathFileExistsDefExtW. 2004-09-03 01:02:18 +00:00
Mike McCormack 67cfcfb919 Use the ACP define in MB/WC conversion functions. 2004-09-02 22:57:04 +00:00
James Hawkins fc403eb5e0 Fix buffer overflow in PathSetDlgItemPathW that led to a trashed
stack.
2004-09-02 20:08:57 +00:00
Francois Gouget 594c42c749 Assorted spelling fixes. 2004-09-01 01:28:51 +00:00
Francois Gouget 3e2868b457 Don't export the shell32 SHAllocShared functions by name.
Implement them by calling out their shlwapi equivalent (which had a
much more complete implementation anyway).
Fix the prototype of shlwapi's SHAllocShared().
Don't crash if lpvData is NULL in SHAllocShared().
Add a conformance test to shlwapi.
2004-08-31 17:38:59 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Francois Gouget 96a5c44233 Fix packing of shlwapi.h
Add a DECLSPEC_ALIGN(8) to force DLLVERSIONINFO2 to have the correct
alignment.
2004-08-19 19:59:41 +00:00
Stefan Leichter fcf16e3715 Fixed tests of GetAcceptLanguagesA for win2k and win XP. 2004-08-18 23:50:22 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Jacek Caban edd49c782d Implemented IsOS function. 2004-08-12 20:28:12 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Francois Gouget bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Hans Leidekker dbb3e14748 Fix signed/unsigned comparison warnings. 2004-08-09 18:52:18 +00:00
Ivan Leo Puoti 5dd35d2a3f Added Italian resources. 2004-07-21 21:19:42 +00:00
Alexandre Julliard 400b34493c Fixed flags handling in StrIsIntlEqualA/W (spotted by James Hawkins). 2004-07-21 03:12:16 +00:00
Marcelo Duarte 95f067d3cd Update localization for Portuguese language. 2004-07-19 20:09:00 +00:00
Stefan Leichter 2575070120 Forward shlwapi.459/460 (SHExpandEnvironmentStringsA/W) to
kernel32.ExpandEnvironmentStringsA/W.
2004-07-19 19:32:51 +00:00
Alexandre Julliard 932e8165c9 Implemented GetUIVersion (based on a patch by Stefan Leichter). 2004-07-17 00:05:23 +00:00
Stefan Leichter 3f7749a6dd Removed the crosscalls (unicode to ascii) from GetAcceptLanguagesW.
Removed todo_wine from GetAcceptLanguagesA tests.
2004-07-16 02:31:41 +00:00
Marcus Meissner 553b0fca1f Do not assign to casted values. 2004-07-15 22:07:54 +00:00
Henning Gerhardt 74cebde291 Translated some English resource files into German. 2004-07-12 19:55:59 +00:00
Mike McCormack cef19de855 Fix memory allocation problems. 2004-07-04 00:06:29 +00:00
Hajime Segawa 76e280b401 Added some Japanese translations. 2004-06-28 23:50:22 +00:00
Stefan Leichter 8d34b14f0b Skip tests of GetAcceptLanguagesA if a correct call to the function
does not return anything useful.
2004-06-28 20:29:54 +00:00
Stefan Leichter 5a86e5dc5b Add logging to the GetAcceptLanguagesA tests. 2004-06-18 19:31:25 +00:00
Stefan Leichter 1d9672ec61 Added tests for GetAcceptLanguagesA. 2004-06-17 04:24:31 +00:00
Raphael Junqueira 28d175b52c Stub for SHFlushSFCacheWrap. 2004-06-01 20:20:33 +00:00
Hans Leidekker 64e10d271d Link to ntdll. 2004-06-01 19:45:34 +00:00
Stefan Leichter 307edcca15 Moved stub of StopWatch from ascii to unicode. 2004-05-25 00:23:41 +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
Jakob Eriksson 3d38e72d89 Windows 95 has no StrRetToBSTR, add dynamic lookup to avoid blocking
dialog.
2004-05-05 01:07:41 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard a11b2bbafb Updated the auto-generated tests. 2004-05-04 00:41:11 +00:00