André Hentschel
6de6939534
shlwapi: Fix some spec file entries.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:23:45 +02:00
Alexandre Julliard
388a3ef908
shlwapi: Use strncmpiW instead of memicmpW for strings without embedded nulls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:34:56 -05: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
Sebastian Lackner
7f6e109081
shlwapi: SHMapHandle should not set error when NULL is passed as hShared.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:27:25 +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
André Hentschel
8868cff257
shlwapi: Remove dead code (coverity).
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-24 14:55:08 +01:00
Nikolay Sivov
72c28cdb53
shlwapi: Remove unused fields.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-06 08:57:44 +01:00
Nikolay Sivov
47b976e693
shlwapi: Forward IsOS() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-05 09:24:07 +01:00
Nikolay Sivov
3e3ed6f431
shlwapi: Forward SHCopyKey() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-05 09:24:04 +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
Nikolay Sivov
c05b54d9a9
shlwapi: Forward SHRegGetIntW() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:01:59 +01:00
Nikolay Sivov
8bda7744e0
shlwapi: Forward SHEnumKeyEx() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:01:59 +01:00
Nikolay Sivov
9f349eb978
shlwapi: Forward SHEnumValue() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:01:59 +01:00
Nikolay Sivov
5f42d67dc5
shlwapi: Forward SHDeleteKey() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:01:59 +01:00
Nikolay Sivov
a587b7938b
shlwapi: Forward SHDeleteEmptyKey() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 10:01:59 +01:00
Nikolay Sivov
678c18b22e
shlwapi: Forward ThreadRef functions to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:57:05 +01:00
Nikolay Sivov
77a8ac3683
shlwapi: Forward IStream helpers to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:56:58 +01:00
Nikolay Sivov
cd77c562bb
shlwapi: Forward SHOpenRegStream2() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:56:50 +01:00
Nikolay Sivov
9c91ba7986
shlwapi: Forward SHOpenRegStream() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:56:45 +01:00
Nikolay Sivov
ee23518855
shlwapi: Forward SHCreateMemStream() to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:56:40 +01:00
Alex Henrie
94f08b1019
shlwapi: Turn several constants and variables into static constants.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:53:49 +01:00
Nikolay Sivov
24d5e853b2
shlwapi: Forward IUnknown_* helpers to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Nikolay Sivov
29a15a35f5
shlwapi: Forward file-base stream calls to shcore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +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
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
Michael Stefaniuc
15b17a0e4b
shlwapi: Avoid a temporary variable.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:35 +02:00
Nikolay Sivov
917b2a3641
shlwapi/tests: Add some tests for memory stream.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 18:17:28 +02:00
Nikolay Sivov
c8175e6c7a
shlwapi: Fix Stat() method for file streams.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-03 15:52:58 +02:00
Nikolay Sivov
53271d9567
shlwapi: Don't reuse a function for different methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-03 15:52:54 +02:00
Nikolay Sivov
5acf69ac79
shlwapi: Fix some trace messages.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 09:05:43 +02:00
Nikolay Sivov
3987dec9c6
shlwapi: Use wrappers to call stream methods internally.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 09:05:41 +02:00
Nikolay Sivov
16f83eb41f
shlwapi: Call actual Write() method for destination streams.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 09:05:38 +02:00
Nikolay Sivov
62c43186fc
shlwapi/tests: Add a simple QI test for file streams.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 09:05:30 +02:00
Michael Stefaniuc
8445bf3428
shlwapi/tests: Pass the correct buffer size to WideCharToMultiByte().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 10:06:00 +02:00
Michael Stefaniuc
f2f52bcb28
shlwapi/tests: Pass the correct buffer size to PathUnExpandEnvStringsW().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 10:05:56 +02:00
Michael Stefaniuc
3851d97e99
shlwapi/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 10:05:50 +02:00
Marcus Meissner
75236a636b
shlwapi: SHGetIniStringW buffer size is in characters.
...
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:40:05 +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
Zebediah Figura
ea52b552d7
shlwapi/tests: Fix link order.
...
Some functions are declared both in shell32 and in shlwapi; we want to link
to the latter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 18:39:24 +01:00
Alex Henrie
a5c6652389
shlwapi/tests: Drop ordinal test workarounds for Windows <= 2000.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:55:08 +01:00
Hermes Belusca-Maito
2c16322573
shlwapi: Make SHCreateWorkerWindowA/W 64-bit compatible.
...
Signed-off-by: Hermes Belusca-Maito <hermes.belusca@sfr.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 19:15:00 +01:00
Alex Henrie
031f2ab64f
shlwapi/tests: Add missing return value checks to istream tests (Coverity).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 19:26:54 +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
Zebediah Figura
3559c261c1
shlwapi: URL schemes may contain hyphen, plus, or period.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 08:31:45 +02:00
Alistair Leslie-Hughes
ee778749e3
shlwapi/tests: Use standard wine_dbgstr_longlong.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-04 10:47:18 +02:00
Akihiro Sagawa
98d0fa99da
shlwapi: Use isalnumW() instead of isalnum() for WCHARs.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 16:11:21 +02:00
Nikolay Sivov
e878b79549
shlwapi/tests: Remove workarounds for versions we don't test on anymore.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 13:21:32 +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
Andrey Gusev
437123b58a
shlwapi: Avoid 'else if' for IStream_fnQueryInterface.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 21:19:38 +01:00