Commit Graph

222 Commits

Author SHA1 Message Date
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
Jon Griffiths f5b34b5b69 Implementation and test for SHCopyKeyA/W. 2002-09-12 18:02:14 +00:00
Jon Griffiths 1858d5309b Implement @163,164,168,175,182,187,286,SHSkipJunction.
Stub @201,202,203, Document many functions.
@165: Fix mask and flags parameter order.
@172: Works on IInternetSecurityMgrSite and IShellView too.
@199,@268: No return value, call @169.
2002-09-10 00:32:27 +00:00
Patrik Stridvall a62a26ced0 Fixed some issues found by winapi_check. 2002-09-09 19:26:55 +00:00
Jon Griffiths 40681ff2e8 Implemented registry MIME type functions @324-329. 2002-09-06 19:35:08 +00:00
Jon Griffiths 67eaffd873 Add @138,@157,@180,@197,@204.
@151-157: Parameters are const.
@36 inserts MF_BITMAP's.
2002-09-06 18:35:39 +00:00
Jon Griffiths 4d88b6ec56 Added Assoc* funcs (but not underlying IQueryAssociations object). 2002-09-04 23:32:19 +00:00
Steven Edwards 6123951a29 Update some .cvsignore files for building on Windows. 2002-08-30 00:04:03 +00:00
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Rein Klazes 9fee50e2e4 Forward shlwapi.393 to CreateDialogIndirectParamW. 2002-08-27 18:14:43 +00:00
Dmitry Timoshkov aff3a8b371 Correct the number of parameters for StrRStrIA/W. 2002-08-27 00:31:54 +00:00
Jon Griffiths 41b2609903 Implement UrlHashW. 2002-08-26 21:36:31 +00:00
Jon Griffiths 18176e3c0c Fix existing string functions, implement a bunch of new ones. 2002-08-19 23:57:27 +00:00
Jon Griffiths c2acc92a82 Create security attributes when running as NT or later. 2002-08-19 23:56:15 +00:00
Jon Griffiths 66467f206b Free comctl32 on unload. 2002-08-19 23:55:46 +00:00
Dmitry Timoshkov cc7042f9ec Implement comctl32.417 and shlwapi.299. This avoids crash in IE's
History.
2002-08-16 01:43:11 +00:00
Alexandre Julliard edeee89c3e Create separate makefiles for tests for more flexibility. 2002-08-09 01:22:40 +00:00
Alexandre Julliard 63d29eb79b Fixed string lengths to do the right thing for all platforms. 2002-08-09 01:14:23 +00:00
Patrik Stridvall 4325554aef Fixed some issues found by winapi_check. 2002-08-09 01:07:29 +00:00
Juergen Schmied 53e5bd5000 Implement StrRetToStr in shlwapi. 2002-08-06 23:50:27 +00:00
Andreas Mohr 7df2d9f187 Misc spelling fixes. 2002-07-24 19:02:50 +00:00
Jon Griffiths fe1e3e5c73 PathAppendA/W: Don't skip '\\' if path is UNC.
PathGetCharTypeA/W: '/' is invalid, make non-ASCII compatible too.
Implement PathCompactPathExA/W.
Update docs, remove signed/unsigned warnings with -W.
2002-07-24 18:58:57 +00:00
Patrik Stridvall a50698b903 Fixed some issues found by winapi_check. 2002-07-23 01:59:46 +00:00
Jon Griffiths d84875ceaf Move thread related functions to new file.
Implement SHCreateThread,@224,@424, stub SHReleaseThreadRef.
Fix: SHGetThreadRef() calls AddRef(), @356 param count wrong.
2002-07-22 20:32:53 +00:00
Juergen Schmied 65578c03c1 - Many stubs
- Some ordinals, SHStrDupA and SHStrDupW implemented.
2002-07-20 20:04:44 +00:00
Jon Griffiths 799aa9ccde Set amounts read/written to 0, share Un/Lock code, unify ctors.
SHOpenRegStreamA/W return a dummy object on failure, not NULL.
Implement @12 using common ctor.
2002-07-19 03:13:58 +00:00
Patrik Stridvall a3868218d0 Fixed some issues found by winapi_check. 2002-07-19 00:30:16 +00:00
Jon Griffiths 964e4f9c18 Avoid winreg.h inclusion. 2002-07-19 00:25:26 +00:00
Guy L. Albertelli 65b845b053 - Remove stub for ordinal 394 and replace with forward to
CreateDialogIndirectParamA where tracing shows it going.
- Add stub for ordinal 430.
2002-07-16 01:42:26 +00:00
Jon Griffiths 9797a38b1c Implement SHCreateStreamOnFileA/W/Ex, ordinals @166,184,212-214. 2002-07-16 01:21:52 +00:00
Jon Griffiths 2d990806ec Implement/document @17,18,19,20,21,22 (Compact list API). 2002-07-09 02:01:56 +00:00
Gregg Mattinson 7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Juergen Schmied 9a7cc230dc - implementations for SHLWAPI_267, SHLWAPI_268
- small fixes
2002-07-02 02:06:19 +00:00
Alexandre Julliard 5691dea7b8 - stubs for SHLWAPI.295 (create a URL shortcut ?) and SHLWAPI.394
- minor cleanups
2002-07-01 23:21:15 +00:00
Eric Pouech f320e74c59 No longer depends on external env strings values. 2002-06-28 17:35:20 +00:00
Alexandre Julliard 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard df6fa30288 Duplicated wsprintf implementation in shlwapi. 2002-06-04 23:11:09 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Vincent Béron 6a5ba8fba2 Fixed some more missing \n in traces. 2002-05-29 19:09:54 +00:00
James Juran 32886f6b88 Add missing \n to output messages. 2002-05-24 21:17:59 +00:00
Francois Gouget 4c314000b9 Make the tests compile with Visual C++. 2002-05-23 02:40:07 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Juergen Schmied c74a791a0d Added some tests. 2002-05-09 19:48:07 +00:00
Juergen Schmied 68b6f56b32 Reimplemented SHRegGetPathA/W, SHGetValueA/W, SHRegGetPathA/W. 2002-05-09 19:43:44 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard 766957317a Avoid local WINAPI function pointers to work around gcc bug. 2002-04-03 02:43:03 +00:00
Patrik Stridvall f89d4a8673 Fixed some issues found by winapi_check. 2002-03-23 21:39:05 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Jon Griffiths 4e75d1246f Document, implement/fix and test 110+ Path functions.
Share the GET_FUNC macro, other places than ordinal.c need it.
2002-03-20 01:33:19 +00:00
Guy L. Albertelli bf73d90097 - Reimplement functions 350, 351, 352 to use appropriate W functions
(thanks Jürgen!)
- Add additional comments to functions 266, 267, 276 and adjust the
  stubbed return values.
2002-03-20 00:49:36 +00:00
Sergei Turchanov 7029646708 Ordinal 342 is really named SHInterlockedCompareExchange. 2002-03-19 02:12:05 +00:00
Turchanov Sergei ae3d4261d5 Implement ordinal 342. 2002-03-11 01:14:17 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Michael Cardenas 6ec9cc2bfb More complete implementation of SHLWAPI_356. 2002-02-28 20:47:30 +00:00
Guy L. Albertelli df30690e04 - Forward ordinals 40, 41, 143, 362 to appropriate routines.
- Implement ordinals 155, 350, 351, 352, 418, 436.
- Fake implementation of SHGetInverseCMAP.
- Stub ordinal 209.
- Fix definition of ordinal 7.
- Implement SHGetThreadRef and SHSetThreadRef.
2002-02-21 20:09:17 +00:00
Lawson Whitney 8777effb78 Protect PathIsUNCServerShare from null lpszPath. 2002-02-20 18:55:06 +00:00
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Guy L. Albertelli 6f22d775e3 Partially implement SHRegWriteUSValue{A|W}. 2002-02-12 18:44:14 +00:00
Patrik Stridvall 395e8bafc4 MSVC compile fixes. 2002-02-05 18:09:29 +00:00
Guy L. Albertelli 5d93b6ede9 Fix PathCreateFromUrl{A|W} to return the corrrect error code in all
cases.
2002-01-29 02:47:46 +00:00
Guy L. Albertelli ce4f093def Fix SHRegOpenUSKey{A|W} and SHRegQueryUSValue{A|W} to actually use
previously open keys.
2002-01-29 02:47:17 +00:00
Patrik Stridvall 9ff202e65c Fixed some issues found by winapi_check. 2002-01-18 18:57:43 +00:00
Jon Griffiths b4c60f2577 Implement/document ordinals 7-11. 2001-12-24 21:11:13 +00:00
Gerard Patel d83dfd0173 Trivial fixes for shlwapi and Internet routines. 2001-12-24 20:24:36 +00:00
Jon Griffiths de51f61584 Implemented, documented or fixed SHDeleteOrphanKeyA/W, SHEnumKeyExA/W,
SHEnumValueA/W, SHQueryInfoKeyA/W. SHRegGetPathA/W, SHRegSetPathA/W,
SHGetValueA/W, SHSetValueA/W, SHQueryValueExA/W, SHDeleteKeyA/W,
SHDeleteEmptyKeyA/W, SHDeleteValueA/W, ordinals 320-323.
2001-12-17 21:21:29 +00:00
Uwe Bonnes 5825025316 PathIsURL(A|W): Check for NULL strings. 2001-12-17 20:51:27 +00:00