Commit Graph

93 Commits

Author SHA1 Message Date
Michael Stefaniuc b72440fa2e propsys: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 12:33:31 +02:00
Michael Stefaniuc 2340212ee9 propsys/tests: Get rid of strcmp_wa().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 21:47:30 +01:00
Jacek Caban 6e8c2d836e propsys: Allow only ASCII digits in PSPropertyKeyFromString.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 21:40:22 +01:00
Nikolay Sivov acb2e4fc7a propsys: Add a semi-stub for PSCreatePropertyStoreFromObject().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47958
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-04 12:13:37 +01:00
Nikolay Sivov d189b55d2f propsys/tests: Merge test files.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-04 12:13:33 +01:00
Alexandre Julliard 445af46a18 propsys: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 23:51:51 +02:00
Sven Baars 7117219b3d propsys/tests: Fix some ok() messages.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 22:30:45 +02:00
Sven Baars 818838b707 propsys/tests: Fix the PropVariantToBuffer tests.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 22:30:42 +02:00
Michael Stefaniuc 44d4fb5f1e propsys: Remove useless cast to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 19:50:09 +01:00
Nikolay Sivov 398a4be306 propsys: Add support for VT_R4/VT_R8 to PropVariantCompareEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:02:43 +01:00
Nikolay Sivov 0a508e49d6 propsys: Add support for VT_CLSID in PropVariantCompareEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:02:40 +01:00
Jactry Zeng 50a4c4642a propsys: Partially implement PropVariantToBuffer().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:28 +01:00
Jactry Zeng 6d2c277a8b propsys: Add VT_CLSID support for PropVariantToGUID().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:25 +01:00
Jactry Zeng e0a829db99 propsys: Implement PropVariantToString().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:22 +01:00
Jactry Zeng 8db8c94155 propsys: Add VT_EMPTY support for PropVariantToStringAlloc().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:15 +01:00
Jactry Zeng 3fc1180623 propsys: Implement PropVariantToDouble().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Jactry Zeng 2e2fc55009 propsys/tests: Add tests of IPropertyStore interface.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Jactry Zeng 906f91db32 propsys: Implement PSCreateMemoryPropertyStore().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Sven Baars 61a1dae398 propsys/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-21 13:59:20 +01:00
Nikolay Sivov 6fbf6c330b propsys: Add InitPropVariantFromCLSID().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45347
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:41:59 +02:00
Michael Stefaniuc fddb389641 propsys/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-04 14:22:53 +02:00
Alistair Leslie-Hughes cbd9354862 propsys: Add PSGetPropertyKeyFromName stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 13:25:07 +01:00
Fabian Maurer 8f1e4097bb propsys: Add PropVariantToStringWithDefault and tests.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Nikolay Sivov 3b18054f25 propsys: Fix negative numeric source handling in PropVariantToBoolean().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-25 11:32:38 +02:00
Fabian Maurer 58ea6bddae propsys: Added PropVariantToBoolean with some tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 15:05:25 +02:00
Alexandre Julliard 7960ed9d42 propsys: Don't use the format string size as buffer size.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-28 20:21:37 +02:00
Alistair Leslie-Hughes b2f266906b propsys/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-03 15:57:45 +02:00
Dmitry Timoshkov ff9601147d propsys: Add support for VT_LPSTR and VT_LPWSTR to PropVariantCompareEx.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 10:05:06 +02:00
Dmitry Timoshkov db7e816c9c propsys: Add support for VT_LPSTR to PropVariantChangeType.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:24:21 +02:00
Dmitry Timoshkov 3a7fb75751 propsys: Make VT_FILETIME handling by PropVariantChangeType more implicit.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:24:03 +02:00
Dmitry Timoshkov aa8dc616e0 propsys: Add support for VT_BSTR to PropVariantChangeType.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:23:58 +02:00
Dmitry Timoshkov 97c512082c propsys: Add support for VT_LPWSTR and VT_BSTR to PropVariantToStringAlloc.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:23:55 +02:00
Dmitry Timoshkov 09a2547f2d propsys: Add support for VT_I1 and VT_UI1 to PropVariantChangeType.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:23:49 +02:00
André Hentschel 8e273c8f8a propsys: Fix PSGetPropertyDescriptionListFromString spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-24 09:33:53 +01:00
Gerald Pfeifer 6df21d4015 propsys: Use snprintf in PROPVAR_ConvertFILETIME.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:40:22 +01:00
Thomas Faber 60fa2d7aa5 propsys/tests: Fix build with MSVC.
VC2010 does not allow initializing a struct inside a struct with a variable.

E.g.
error C2440: 'initializing' : cannot convert from 'PROPERTYKEY' to 'unsigned long'

Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-09 16:33:45 +01:00
Alistair Leslie-Hughes 173515e733 propsys: Support VT_LPWSTR in PropVariantChangeType.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:54:31 +09:00
Alistair Leslie-Hughes 1807e5346f propsys: Add semi-stub for PropVariantToStringAlloc.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:54:27 +09:00
Gerald Pfeifer 519ad57cb5 propsys: Cast to ULONGLONG instead of LONGLONG in test_intconversions test_intconversions to avoid shift overflow. 2015-09-07 15:04:11 +09:00
Nikolay Sivov a7b848f32e propsys: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:36 +02:00
Nikolay Sivov 47de869fda propsys: Forward corresponding methods to exports. 2014-06-11 13:03:25 +02:00
Nikolay Sivov d897b32598 propsys: Implement PSGetPropertySystem(). 2014-06-11 13:03:17 +02:00
Frédéric Delanoy 5380596379 propsys/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-02-12 19:15:07 +01:00
Frédéric Delanoy 7533040cfc propsys: Use BOOL type where appropriate. 2014-02-11 19:19:13 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
André Hentschel e8ac5892e8 propsys: Add stub for PSGetPropertyDescriptionListFromString. 2013-12-02 10:57:28 +01:00
Frédéric Delanoy bb9d1986a9 propsys: Use BOOL type where appropriate. 2013-11-21 13:36:18 +01:00
Frédéric Delanoy d51e50cbaf propsys/tests: Use BOOL type where appropriate. 2013-11-21 13:36:12 +01:00