Commit Graph

441 Commits

Author SHA1 Message Date
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
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 8fc374d8b4 Make Unicode strings 'static const'. 2004-04-20 02:14:00 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Francois Gouget 0217bfdfed Assorted spelling fixes. 2004-04-12 22:08:23 +00:00
Francois Gouget c6c109a362 Use named constants instead of magic numbers. 2004-04-09 19:03:13 +00:00
José Manuel Ferrer Ortiz 24dd96a907 Updated Spanish translations. 2004-04-06 03:24:19 +00:00
Ulrich Czekalla 4205880fd1 Implement FixSlashesAndColonW and add stub for SHGetAppCompatFlags. 2004-03-27 01:38:26 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Francois Gouget b948778660 Assorted spelling fixes. 2004-03-23 23:20:16 +00:00
Jon Griffiths 7a7be05081 Test SHSearchMapInt. 2004-03-22 20:40:03 +00:00
Jon Griffiths 00c5250a84 Implement SHMessageBoxCheck functions && add dialog resources.
Add SHWaitForSendMessageThread, SHAnsiToUnicodeCP,SHStripMneumonicW,
SHSearchMapInt.
2004-03-18 02:11:23 +00:00
Jon Griffiths 919aa96d14 Make copies of keys when creating, free them when done.
Use KEY_ALL_ACCESS when writing US reg values.
SHRegWriteUSValueW: Handle all flag combinations.
Make some A calls use the W version.
2004-03-17 20:48:03 +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
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Francois Gouget 87f223a879 Assorted spelling and case fixes. 2004-03-02 20:55:57 +00:00
Dmitry Timoshkov 88e1f4e9cb Add SHMenuIndexFromID and SHCoCreateInstanceAC. 2004-02-28 01:46:56 +00:00
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Robert Shearman 64d68b106a - Implement string functions in comctl32.
- Use CompareString in shlwapi wherever possible instead of ugly
  helpers.
2004-02-20 05:16:37 +00:00
Jon Griffiths 2e2d6ec7c9 Stub the stopwatch API.
Implement DoesStringRoundTripW,@371-3,@392.
Move a couple of string functions into string.c
2004-02-17 22:48:56 +00:00
Robert Shearman 780deecfd7 - Add IntlStrEqWorkerA/W.
- StrCmp tests.
2004-02-17 20:24:50 +00:00
Jon Griffiths 03ecb16eae Test StrRetToBSTR. 2004-02-10 02:22:53 +00:00
Jon Griffiths d015d3b98a Add some missing prototypes, fix AssocIsDangerous.
Implement StrRetToBSTR, delay-import oleaut32.
2004-02-10 02:22:17 +00:00
Juan Lang 3f789b1c92 Stub for MLIsMLHInstance. 2004-02-05 01:39:40 +00:00
Francois Gouget ce7c3b50ac Add trailing '\n's to ok() calls. 2004-01-27 20:13:03 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Ge van Geldorp 100e11309b Fix various function prototypes to conform to PSDK. 2004-01-23 20:57:26 +00:00
Francois Gouget 7494b5b980 Add trailing '\n's to ok() calls.
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Rolf Kalbermatter ed32535931 Implemented PathFileExistsAndAttributesA/W function. 2004-01-19 21:46:14 +00:00
Stefan Leichter ebdc1f46b7 Added stub for SHRegisterValidateTemplate. 2004-01-18 22:07:57 +00:00
Francois Gouget 449b92595a MSVC does not want 'extern' variables to be initialized inside
functions.
2004-01-16 02:02:03 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Alexandre Julliard 5f8223670a Porting fixes. 2003-11-28 23:19:30 +00:00
Dmitry Timoshkov 33f9dcb1f9 Move CompareString implementation to libwine_unicode, add a bunch of
CompareString tests.
2003-11-22 00:00:53 +00:00
Francois Gouget a971f54816 Don't use the data returned by RegQueryValueExW if it fails (found by
Valgrind).
A spelling fix.
2003-11-20 04:20:50 +00:00
Alexandre Julliard b83789fdc3 Updated some of the generated tests. 2003-10-24 04:45:35 +00:00
Alexandre Julliard 65f7ce21d5 Fixed cut&paste error. 2003-10-15 21:02:53 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Daniel Marmier 7e0ddbc60f Fixed warnings with gcc option "-Wwrite-strings". 2003-10-07 22:54:17 +00:00
Jon Griffiths 4c1fa161a3 Documentation updates. 2003-10-01 03:20:21 +00:00
Jon Griffiths d3863cfbf8 New tests for shlwapi string and clsid functions. 2003-10-01 03:10:56 +00:00
Jon Griffiths a7b3fd835d Add @405/406, document URL functions.
Fix MLLoadLibraryW prototype.
2003-10-01 03:10:42 +00:00
Jon Griffiths 90535ce905 Various test fixes for XP/msvc. 2003-09-25 20:29:40 +00:00
Jon Griffiths fe455456af Documentation updates. 2003-09-24 05:14:39 +00:00
Mike McCormack 7dc3ece222 Fixed a memory leak. 2003-09-22 19:46:32 +00:00
Jon Griffiths 899a4062ed MLLoadlibrary: Remove -noname and duplicate entry. 2003-09-11 23:07:29 +00:00
Alexandre Julliard 5cb96aa050 Changed ordinal functions that now have a name to use -noname instead
of nameless exports.
2003-09-11 03:51:46 +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 cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +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 96b0b34282 Converted obj_webbrowser.h to IDL and moved the definitions to
exdisp.idl where they belong.
2003-09-04 02:00:46 +00:00
Alexandre Julliard 81c31701d2 Avoid including wine/obj_*.h files directly from C files.
Removed no longer used obj_serviceprovider.h.
2003-09-03 00:16:28 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Francois Gouget 47b6d0af59 Spelling and case fixes. 2003-08-18 20:11:29 +00:00
Alexandre Julliard d7fca891e9 Avoid non-portable long long constants. 2003-08-06 22:09:11 +00:00
Jon Griffiths 2b444ed260 Implement @13, 160, 161, 173, 177, 178, 189, 192, 221, 238, 239, 257,
278, 279, 285, 287, 355, 363, 413, ColorRGBToHLS.
Stub @191,ColorAdjustLuma.
Misc cleanups and documentation updates.
2003-07-26 20:25:14 +00:00
Jon Griffiths acaaecddf8 Implement @203.
Fix a brown paper bag in StrFormatKBSizeW.
Misc cleanups and documentation updates.
2003-07-22 03:13:22 +00:00
Jon Griffiths 9acb0274e4 Implement @280,343,344.
Misc cleanups and documentation updates.
2003-07-22 00:58:09 +00:00
Jon Griffiths a9ae76826e Add a handle for urlmon.dll, fix MSVC warning. 2003-07-22 00:57:25 +00:00
Jon Griffiths 2fa7055c2f Fix MSVC warnings. 2003-07-22 00:57:12 +00:00
Mike McCormack 6b56fabeec Create stub for AssocIsDangerous. 2003-07-21 23:42:24 +00:00
Jon Griffiths 400ab3bbd4 Implemented @440, 441.
Warning fixes/documentation.
2003-07-19 03:12:36 +00:00
Jon Griffiths adc9b65022 Move IQueryAssociations into shlwapi. Docs/-W/MSVC++ fixes. 2003-07-19 03:07:41 +00:00