Commit Graph

96 Commits

Author SHA1 Message Date
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
Mikołaj Zalewski
c0e6c94ab4 shlwapi: Store the "%ld bytes" string as a resource. 2006-08-18 11:44:22 +02:00
Stefan Leichter
684b6c24a3 shlwapi: Print 64bit integers with wine_dbgstr_longlong. 2006-08-18 11:34:43 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Marcus Meissner
bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Huw Davies
554357ec62 Implement SHLoadIndirectString. 2005-08-11 18:35:15 +00:00
Peter Berg Larsen
e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Jakob Eriksson
9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Jon Griffiths
eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +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
Jacek Caban
e09e67e8a9 Get rid of W->A calls. 2005-01-03 20:09:22 +00:00
Michael Stefaniuc
1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Jon Griffiths
68ddf16a1c Implement SHSimulateDrop, MIME_GetExtensionA/W, StrCpyNXA/W,
SHAnsiToAnsi, SHUnicodeToUnicode.
2004-09-13 18:11:56 +00:00
Francois Gouget
594c42c749 Assorted spelling fixes. 2004-09-01 01:28:51 +00:00
Alexandre Julliard
400b34493c Fixed flags handling in StrIsIntlEqualA/W (spotted by James Hawkins). 2004-07-21 03:12:16 +00:00