Commit Graph

391 Commits

Author SHA1 Message Date
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
Jon Griffiths 46e9210f81 Misc fixes. 2003-07-18 22:55:39 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Francois Gouget 2ec955c93f Change the #include order so the test compiles with the MSVC headers.
Fix a few signed/unsigned warnings.
2003-05-13 00:29:34 +00:00
Alexandre Julliard c2ebe1ff93 Removed uses of the non standard ICOM_VTBL macro. 2003-04-10 18:17:34 +00:00
Rolf Kalbermatter b19690bf34 Implement SHLWAPI_269 and SHLWAPI_270.
Fix a 0 reference bug in SHLWAPI_436 and change its return value to
what at least W2K does as well.
2003-04-07 23:19:04 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Vitaliy Margolen da9720c726 Unicode strings termination fixes. 2003-03-30 03:05:55 +00:00
Rolf Kalbermatter 40cfe48b7d Implemented SHLWAPI_266 and SHLWAPI_271. 2003-03-27 18:34:34 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Maxime Bellengé 035a9e3372 Stub for SHAutoComplete. 2003-03-18 19:57:00 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Alexandre Julliard a9c51cb60b Replaced forwards by normal function declarations. 2003-03-17 00:17:00 +00:00
Jon Griffiths 86098990a7 Documentation updates. 2003-03-15 19:41:19 +00:00
Jon Griffiths 6a58435217 SHCreateThread is exported by name _and_ ordinal. 2003-03-15 19:40:36 +00:00
Jon Griffiths 7bac7e8ed7 Correct behaviour for some error conditions.
Documentation updates.
2003-03-15 19:40:11 +00:00
Maxime Bellengé 84361d5a47 Implemented SHRegSetUSValueA and SHRegSetUSValueW. 2003-03-10 19:02:47 +00:00
Rolf Kalbermatter a2b7141a01 Fix endless loop in StrPBrkW. 2003-03-04 02:17:47 +00:00
Sergei Turchanov bf8237553c - _SHStrDupAA forgot about terminating '\0'.
- SHStrDupA adds extra terminator which is not needed as the length
  returned by MultiByteToWideChar(,,-1,,) already includes it.
2003-02-12 21:29:20 +00:00
Juergen Schmied d5281fd393 Give some functions real names. 2003-01-15 00:53:39 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Matthew Mastracci 4caf4bf877 Add implementation for PathCreateFromUrlW and add the start for some
URL unit tests.
2003-01-09 00:50:17 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Robert Shearman de35ace58c Implemented UrlCreateFromPath[AW] and slightly related
PathCreateFromFileA.
2002-12-19 04:16:54 +00:00
Francois Gouget 23aa0f64a2 Fix signed/unsigned warnings. 2002-12-18 20:50:49 +00:00
György 'Nog' Jeney 75edee3d55 - Implement ordinals 167 and 171.
- Add stubs for ordinals 282 and 406.
2002-12-16 22:42:01 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Rolf Kalbermatter 3390547aef Fix signature of SHLWAPI_334 as its string parameter really is an
output.
2002-12-07 23:48:10 +00:00
Rolf Kalbermatter 5bfcdc8d73 Fix some parameter types. 2002-12-06 19:50:26 +00:00
Ove Kaaven 1f5315c80f Make sure that no files except unknwn.h include wine/obj_base.h
directly.
2002-12-05 20:33:07 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Mike McCormack 2d106a5706 Fix a few GDI memory leaks. 2002-11-13 19:43:53 +00:00
Patrik Stridvall 9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Andreas Mohr 6e256c72fe - fix some pselling
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Michael Stefaniuc 79404213a2 Compile the shlwapi dll with -DSTRICT. 2002-10-25 03:12:32 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Alexandre Julliard 5cf56a3afe Removed LPxxx handle types that don't exist under Windows. 2002-10-03 19:46:27 +00:00
Jon Griffiths 91ec8e14c6 Reorganise/minor tidyup of ordinal functions.
Implement StrCmpLogicalW,StrFormatByteSizeA/W,StrFormatByteSize64A,
SHCreateStreamWrapper.
Fix some output .spec parameters from str to ptr.
Fix definition of StrFormatByteSize functions.
2002-09-20 19:41:08 +00:00
Francois Gouget bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Francois Gouget 3a8601948d NetpGetComputerName, SHCopyKeyA and SHRegGetPathA don't exist on all
Windows platforms -> use GetModuleHandle + GetProcAddress.
2002-09-16 22:45:22 +00:00
Duane Clark ffd54a9be0 Wait for app to come up before attempting DDE connection.
PathIsURL should fail on text without a proper "scheme".
2002-09-16 19:27:51 +00:00
Alexandre Julliard 3507999f3d Delete registry key at exit. 2002-09-12 22:29:58 +00:00
Alexandre Julliard ab910c5085 Fixed AssocCreate declaration. 2002-09-12 22:29:36 +00:00
Patrik Stridvall 7e252cb5ef Fixed C++ comments. 2002-09-12 20:45:22 +00:00
Jon Griffiths 353ce51be7 Make hex digits static const & share them. 2002-09-12 18:03:11 +00:00