Commit Graph

96 Commits

Author SHA1 Message Date
Jacek Caban f3c1d663a4 shlwapi: Fix PathUndecorate[AW] implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 23:04:35 +01:00
Nikolay Sivov f7392a30ec shlwapi: Remove unused function.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 20:43:37 +02:00
Alexandre Julliard c9205f1761 shlwapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Alexandre Julliard c9940d631b shlwapi: Import path functions from kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Piotr Caban 28f7e4615d shlwapi: Fix PathIsContentTypeA implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 17:24:14 +02:00
Michael Stefaniuc 9713e68a55 shlwapi: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:45 +02:00
Michael Stefaniuc 923cb0a957 shlwapi: Avoid ARRAY_SIZE-like macros.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:40 +02:00
Katayama Hirofumi MZ 7be8beab68 shlwapi: Don't attempt to un-expand ComputerName in PathUnExpandEnvStrings.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-23 20:16:59 +01:00
Jacek Caban 62c4ffb4d6 shlwapi: Support NT prefix paths in PathGetDriveNumberW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 09:26:04 +02:00
Piotr Caban 31c49c2851 shlwapi: Don't crash in PathStripPath when read-only string is passed and it's not modified.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:54:15 +09:00
Michael Müller 8758a8a671 shlwapi: Correctly treat '.' when enumerating files in PathIsDirectoryEmptyW. 2015-01-15 11:36:52 +01:00
Sebastian Lackner 1321644239 shlwapi: Fix invalid usage of CompareString in PathCreateFromUrlW. 2014-11-18 22:10:59 +09:00
Christoph von Wittich f26874c523 shlwapi: Avoid buffer overflow in PathCombineA. 2014-06-27 11:02:39 +02:00
Bruno Jesus 9dacce1b4e shlwapi: Avoid reading past the pointer in PathCreateFromUrlW (valgrind). 2014-06-11 16:11:28 +02:00
Victor Martinez Calvo c2ff8f4005 shlwapi: Check correct attributes in PathRelativePath. 2014-05-05 12:17:50 +02:00
Nikolay Sivov 14dab8ab4b shlwapi: Always close find handle (Coverity). 2014-04-10 09:12:10 +02:00
Nikolay Sivov 7513b58329 shlwapi: Implement PathUnExpandEnvStrings. 2013-11-04 11:48:06 +01:00
Francois Gouget 58c77f6156 shlwapi: Implement PathCreateFromUrlAlloc(). 2012-10-01 12:07:31 +02:00
Francois Gouget fad0bea304 shlwapi: Fix the PathCreateFromUrlW() implementation. 2012-09-26 10:59:53 +02:00
Francois Gouget 06439b303a shlwapi: PathCreateFromUrlA() should not crash when given NULL buffers.
Add NULL and insufficient buffer tests for PathCreateFromUrl().
2012-09-25 18:11:18 +02:00
Michael Stefaniuc 8d24dd49ee shlwapi: Avoid FALSE:TRUE conditional expressions. 2012-08-13 17:30:13 +02:00
Carlo Bramini f9c9ea6343 shlwapi: Don't remove nonexistent extension in PathRemoveExtension. 2012-04-13 16:29:25 +02:00
Frédéric Delanoy ce3dd89b54 shlwapi: Avoid harcoding array lengths. 2011-11-21 11:05:08 +01:00
Francois Gouget bdb65df982 shlwapi: Add parentheses to clarify the precedence between '&' and '&&'. 2011-09-12 11:01:10 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Francois Gouget a3973e0c47 shlwapi: Remove WINAPI on static functions where not needed. 2008-11-25 11:49:54 +01:00
Juan Lang 87c3df1578 shlwapi: Use CharNextA to iterate through characters in PathAddBackslashA. Fixes problems with MBCS paths. 2008-07-28 11:32:08 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Marcus Meissner 088a33729a shlwapi: Handle buffer overflow on A->W converter. 2008-03-03 11:59:11 +01:00
Alexandre Julliard ae0c24fd06 shlwapi: Get rid of CharNextW/CharPrevW. Simplify some string functions. 2007-06-25 14:01:28 +02:00
Mikołaj Zalewski 7370a93b52 shlwapi: Fix the handling of overflows in PathCombine[AW]. 2007-04-24 10:19:44 +02:00
Dmitry Timoshkov 03e9e5b60d shlwapi: Match shlwapi wrappers to MSDN descriptions. 2007-03-29 21:00:11 +02:00
Paul Vriens 20291e082c shlwapi/path: Proper use of GetProcessHeap(). 2007-03-26 12:20:53 +02:00
Mike McCormack da3d6815da shlwapi: Use HeapAlloc/Free instead of malloc/free. 2006-11-10 11:35:18 +01:00
Hans Leidekker e119a04a26 shlwapi: Win64 printf format warning fixes. 2006-10-06 17:26:49 +02:00
Francois Gouget 38520a819c Assorted spelling fixes. 2006-10-03 15:56:21 +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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Peter Oberndorfer ac0bee4bf2 shlwapi: Ignore leading spaces in PathMatchSpec. 2006-04-12 11:17:12 +02:00
Francois Gouget 6bddeb1cf7 Assorted spelling fixes. 2006-03-21 20:10:39 +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
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +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
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
Hans Leidekker 80829db067 Implement and test PathIsValidChar{A,W}. 2005-02-03 13:34:05 +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
Huw Davies 1685e8c65e Rewrite PathCreateFromUrl. 2004-10-05 18:07:14 +00:00
Huw Davies 91704df4f3 Implement PathSearchAndQualify. 2004-09-25 00:29:47 +00:00