Hugh McMaster
|
3fd57fd995
|
reg/tests: Add tests for forward and back slashes in key and value names.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 14:42:07 +01:00 |
Hugh McMaster
|
6c62ffeca7
|
reg/tests: Add additional tests with embedded NUL characters.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 09:22:55 +01:00 |
Hugh McMaster
|
93fbe09ed0
|
reg/tests: Replace RegCloseKey() with the helper function close_key().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 09:22:53 +01:00 |
Hugh McMaster
|
5cacd496a1
|
reg/tests: Verify registry export after each empty key test.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 09:22:51 +01:00 |
Hugh McMaster
|
b51b969a01
|
reg/tests: Always overwrite export test file during 'export' sequence.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 09:22:49 +01:00 |
Hugh McMaster
|
597a12420b
|
reg/tests: Check for key non-existence with verify_key_nonexist().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 09:22:47 +01:00 |
Hugh McMaster
|
e6e227f21d
|
reg/tests: Move /v* syntax tests to the 'add' and 'delete' test sequences.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 09:22:45 +01:00 |
Hugh McMaster
|
405853adb5
|
reg/tests: Ensure test key is fully removed before each sequence begins.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 09:22:43 +01:00 |
Hugh McMaster
|
add814af3e
|
reg/tests: Check for elevated privileges before cleaning up the Windows 3.1 test key and running unit tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-22 09:22:40 +01:00 |
Hugh McMaster
|
6cf0e7fe85
|
reg/tests: Add initial syntax tests for 'reg copy'.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2021-02-09 21:17:05 +01:00 |
Alexandre Julliard
|
f81d15beb6
|
reg: FormatMessage() now reports ERROR_NO_WORK_DONE error for empty string.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-13 22:07:31 +02:00 |
Alexandre Julliard
|
ed6a5e97e0
|
programs: Make all program entrypoints cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-17 17:05:47 +02:00 |
Alexandre Julliard
|
a58f4abc08
|
makefiles: Allow using EXTRADLLFLAGS instead of APPMODE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-04-24 11:27:39 +02:00 |
Alexandre Julliard
|
1f38c1abf6
|
include: Add wcsicmp() inline wrapper.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-04-11 16:46:41 +02:00 |
Alexandre Julliard
|
9b63daca51
|
include: Default to the standards-compliant version of swprintf().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-04-11 16:46:41 +02:00 |
Alexandre Julliard
|
8268c47462
|
reg: Add missing null to terminate a string.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-04-03 21:47:59 +02:00 |
Alexandre Julliard
|
518a6c2d07
|
reg: Use C runtime wchar functions instead of wine/unicode.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-04-01 11:45:44 +02:00 |
Michael Stefaniuc
|
cd8eb2445e
|
reg: Remove redundant NULL check before heap_free().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-01-29 21:40:02 +01:00 |
Michael Stefaniuc
|
962b31c80b
|
include: Add a generic available ARRAY_SIZE().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-07-04 10:39:15 +02:00 |
Hugh McMaster
|
0aead094a5
|
reg: Stop exporting REG_SZ data at the first NUL character.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-08 10:41:38 +02:00 |
Hugh McMaster
|
65717d6726
|
reg: Null terminate hex-formatted REG_SZ data if necessary.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-24 00:25:15 +02:00 |
Hugh McMaster
|
448344c5e4
|
reg/tests: Add tests for values with embedded null characters.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-19 17:38:10 +02:00 |
Michael Stefaniuc
|
6542c3e860
|
reg: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-02-08 09:42:12 +01:00 |
Alexandre Julliard
|
59c47c9e2c
|
reg/tests: Get rid of version check.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-01-02 15:52:22 +01:00 |
Hugh McMaster
|
a0a12d9f41
|
reg: Allow switches to be uppercase or lowercase.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-05 20:30:04 +01:00 |
Hugh McMaster
|
1818267639
|
reg/tests: Test capitalisation of switches.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-05 20:30:04 +01:00 |
Hugh McMaster
|
8534935492
|
reg: Define MAX_SUBKEY_LEN in reg.h.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-05 20:30:04 +01:00 |
Hugh McMaster
|
ecb9ce4b2c
|
reg: Make the newline string a static global.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-05 20:30:04 +01:00 |
Hugh McMaster
|
72db61da97
|
reg: Recursively export all subkeys and data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:56:49 +01:00 |
Hugh McMaster
|
491801063f
|
reg: Export REG_DWORD values.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:56:45 +01:00 |
Hugh McMaster
|
b31f16885d
|
reg: Export hex data types.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:56:40 +01:00 |
Hugh McMaster
|
2af9d75ba5
|
reg: Export REG_SZ data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:56:32 +01:00 |
Hugh McMaster
|
879282ec14
|
reg: Export registry value names.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:56:27 +01:00 |
Hugh McMaster
|
ab3ee817c3
|
reg: Export the name of the specified registry key.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:56:11 +01:00 |
Hugh McMaster
|
fefae9ca78
|
reg: Export the registry file header.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:56:07 +01:00 |
Hugh McMaster
|
49f384727b
|
reg: Prompt the user to overwrite the export file if it already exists.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:56:00 +01:00 |
Hugh McMaster
|
17494012a0
|
reg: Validate the registry key before commencing the export operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:55:04 +01:00 |
Hugh McMaster
|
e0aadc0fc7
|
reg: Print a more informative error message if the system key is invalid.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:55:01 +01:00 |
Hugh McMaster
|
40643a43a4
|
reg: Validate the system key before commencing the export operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:54:11 +01:00 |
Hugh McMaster
|
d4255506d5
|
reg: Add basic syntax checks for the export operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:54:06 +01:00 |
Hugh McMaster
|
38954aedf5
|
reg: Add initial support for the export operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-04 11:54:03 +01:00 |
Hugh McMaster
|
7fb9cdf60f
|
reg/tests: Properly escape the backslashes in an export test.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-23 21:17:13 +01:00 |
Alexandre Julliard
|
a37358d0f5
|
reg: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-02 10:21:30 +01:00 |
Hugh McMaster
|
c02dd08f91
|
reg/tests: Correctly import hex values with no data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-16 15:26:34 +02:00 |
Hugh McMaster
|
d75e38c718
|
reg/tests: Remove write_reg_file() and rewrite associated tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-13 12:57:10 +02:00 |
Hugh McMaster
|
6f52f666e5
|
reg/tests: Add more export tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-13 12:57:07 +02:00 |
Hugh McMaster
|
50619b6ed3
|
reg/tests: Add REG_NONE to the empty hex data import tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-13 12:57:04 +02:00 |
Hugh McMaster
|
e426c353fa
|
reg/tests: Delete the export file before returning from compare_export().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-13 12:57:01 +02:00 |
Hugh McMaster
|
d3ad7b1837
|
reg/tests: Use a helper function to open registry keys.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-13 12:56:57 +02:00 |
Hugh McMaster
|
3f7f4cdc37
|
reg/tests: Print an error code when CreateFile fails.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-13 12:56:51 +02:00 |