Commit Graph

110 Commits

Author SHA1 Message Date
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 47c131ebcb shlwapi: Import string functions from kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-20 09:17:06 +02:00
Michael Stefaniuc 500c5d1216 shlwapi: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:29 +01:00
Nikolay Sivov 454264f0bf shlwapi: Forward SHAnsiToAnsi() to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-05 09:24:01 +01:00
Nikolay Sivov f7c33804e3 shlwapi: Forward SHUnicodeToUnicode() to shcore.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-05 09:23:54 +01: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
Jacek Caban dfb846c214 shlwapi: Fixed error handling in StrRetToBufW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 20:12:36 +01:00
Sebastian Lackner 0198d0d56a shlwapi: Return E_NOTIMPL for unknown types in StrRetToBuf{A,W}.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:51:51 +09:00
Francois Gouget 14aa446f1d shlwapi: Remove unneeded NONAMELESSXXX directives. 2015-03-20 18:05:07 +09:00
André Hentschel e26e33fa06 shlwapi: Avoid assigning values twice (PVS-Studio). 2015-03-20 12:42:28 +09:00
Sebastian Lackner 4b33a339cc shlwapi: Add implementation for StrCatChainW.
Based on a patch by Huw Campbell.
2014-12-16 16:32:31 +01:00
Sebastian Lackner 1b672e55ce shlwapi: Fix incorrect usage of CompareString in StrRStrIW. 2014-11-19 23:36:34 +09:00
Sebastian Lackner 80d98683d0 shlwapi: Fix incorrect usage of CompareString in StrRStrIA. 2014-11-19 23:36:34 +09:00
Sebastian Lackner 5aec09e4d1 shlwapi: Fix invalid usage of CompareString in StrStr functions. 2014-11-17 17:29:14 +09:00
Nikolay Sivov 0cb52a9cfa shlwapi: Use a proper deallocator (Coverity). 2014-04-15 09:45:01 +02:00
Nikolay Sivov 16cc2b8753 shlwapi: Implement IsCharSpaceA(). 2012-12-20 12:22:54 +01:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Michael Stefaniuc c637cbc397 shlwapi: Remove gratuitous "stub" from TRACE messages. 2012-09-11 18:06:59 +02:00
Francois Gouget de049ff1ed shlwapi: Simplify the string comparison functions a bit and use the CSTR_XXX macros. 2012-06-21 08:33:44 +02:00
Carlo Bramini f6524a9f77 shlwapi: Add NULL checks to StrCpyW and StrCatW. 2012-04-19 19:28:12 +02:00
Carlo Bramini a1af839516 shlwapi: Implemented StrToInt64ExA/W. 2012-03-16 13:02:47 +01:00
Alexandre Julliard 51bba9ee07 shlwapi: Fix some printf format warnings. 2012-01-17 15:02:49 +01:00
Michael Stefaniuc 3e1ee5b8b7 include: Make "long" numeric constants LP64/LLP64 proof (shlwapi.h). 2011-11-14 11:46:40 +01:00
Francois Gouget c8ecf2c721 shlwapi: Don't use a long where an int is more than big enough. 2011-10-18 18:58:50 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Marcus Meissner e9d4ca069c shlwapi: Removed superflous NULL check (Coverity). 2011-06-15 20:04:38 +02:00
Andrew Nguyen 15c6057ce1 shlwapi: Implement StrStrNIW. 2010-07-19 16:07:05 +02:00
Andrew Nguyen 9bd13c93ab shlwapi: Implement StrStrNW. 2010-07-19 16:06:55 +02:00
Andrew Nguyen 9bcdb1c423 shlwapi: Fix handling of an empty search string in StrStrW. 2010-07-19 15:56:39 +02:00
Michael Stefaniuc f38336d82a shlwapi: Remove redundant "not NULL" checks of the len arg (coccicheck). 2010-05-20 13:47:53 +02:00
Nikolay Sivov 93b3ba76f6 shlwapi: Fix StrCpyNW to deal with null inputs better, and don't use lstrcpynW. 2010-03-18 17:06:42 +01:00
Aric Stewart 0443f2c7d1 shlwapi: Implement StrChrNW. 2009-09-24 15:13:16 +02:00
Detlef Riekenberg 2e19130976 shlwapi: Last parameter in SHUnicodeToAnsiCP is an int. 2009-07-01 14:28:34 +02:00
Michael Stefaniuc 08e3742f37 shlwapi: Remove superfluous pointer casts. 2009-01-22 12:04:57 +01:00
Michael Stefaniuc 5f55f154bf shlwapi: Remove superfluous casts of/to void pointers. 2008-11-06 11:09:56 +01:00
Rob Shearman 9dd75ea093 shlwapi: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Francois Gouget e0338be2d4 shlwapi: Don't use Unix functions for case sensitive string comparisons. 2008-06-26 21:08:32 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Alexandre Julliard ae0c24fd06 shlwapi: Get rid of CharNextW/CharPrevW. Simplify some string functions. 2007-06-25 14:01:28 +02:00
Dmitry Timoshkov 03e9e5b60d shlwapi: Match shlwapi wrappers to MSDN descriptions. 2007-03-29 21:00:11 +02:00
Andrew Talbot 0810a92353 shlwapi: Replace inline static with static inline. 2007-03-26 12:19:40 +02:00
Francois Gouget 536e738552 Assorted spelling fixes. 2007-02-14 21:03:57 +01:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Mikołaj Zalewski 7b170df2ee shlwapi: Test and fix StrRStrI[AW]. 2006-10-23 15:16:05 +02:00
Francois Gouget 58162f87fd Assorted spelling fixes. 2006-10-13 11:55:04 +02:00
Hans Leidekker e119a04a26 shlwapi: Win64 printf format warning fixes. 2006-10-06 17:26:49 +02:00
Andrew Talbot b19c98481a shlwapi: Add size parameters to function that takes array arguments. 2006-09-28 14:07:15 +02:00
Mikołaj Zalewski f108b034cb shlwapi: Move strings used by StrFromTimeInterval to resources. 2006-08-23 15:58:10 +02:00
Mikołaj Zalewski c4c00040ba shlwapi: Make StrFormatByteSize format numbers using locale settings. 2006-08-23 11:58:52 +02:00
Mikołaj Zalewski c18b0b7bd3 shlwapi: Format the kilobyte file size number using locale settings.
The code is quite complex but I haven't found any easier way to do it 
(passing NULL as NUMBERFMT results in two decimal places being appended).
2006-08-22 12:10:47 +02:00