Hugh McMaster
|
b46b698e82
|
regedit/tests: Delete the test registry key before starting each test.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 16:59:49 +02:00 |
Hugh McMaster
|
d8cdafcc6f
|
regedit/tests: Add Unicode import tests and remove the WCHAR support check.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 08:42:21 +09:00 |
Hugh McMaster
|
e0a97d32e2
|
reg/tests: Free the WCHAR memory buffer if CreateFile() fails.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 08:41:58 +09:00 |
Hugh McMaster
|
c618e99475
|
reg/tests: Pass MultiByteToWideChar() the buffer size in characters.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 08:41:51 +09:00 |
Hugh McMaster
|
5266ef3bc5
|
reg/tests: Fix two copy/paste errors.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:43 +09:00 |
Hugh McMaster
|
5de883cc9f
|
reg: Use the correct return codes during the import operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:31 +09:00 |
Hugh McMaster
|
56e58e47af
|
reg: Delete registry keys via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:23 +09:00 |
Hugh McMaster
|
d90f2a55bf
|
reg: Delete registry values via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:16 +09:00 |
Hugh McMaster
|
db98cc4ced
|
reg: Handle unknown registry data types in the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:29:06 +09:00 |
Hugh McMaster
|
32d53681b9
|
reg: Import hex data via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:28:55 +09:00 |
Hugh McMaster
|
f1874c1667
|
reg: Import REG_DWORD data via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:28:44 +09:00 |
Hugh McMaster
|
038f1c6986
|
reg: Parse data types and import REG_SZ data via the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:28:34 +09:00 |
Hugh McMaster
|
05659343c1
|
reg: Parse key names and value names in the state machine.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:28:24 +09:00 |
Hugh McMaster
|
3e87a70e82
|
reg: Introduce a partial state machine for importing Windows 3.1 registry data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:27:38 +09:00 |
Hugh McMaster
|
aa386af42a
|
reg: Add initial support for the import operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:25:52 +09:00 |
Hugh McMaster
|
f2fbbec27d
|
reg: Rename reg.h to resource.h.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:24:50 +09:00 |
Hugh McMaster
|
c6c95a026b
|
reg: Compile with msvcrt.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:24:50 +09:00 |
Hugh McMaster
|
3f0ebaeebb
|
regedit: Return a valid pointer in the QUOTED_VALUE_NAME state if REGPROC_unescape_string() returns FALSE.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-20 09:24:49 +09:00 |
Hugh McMaster
|
8c253c464b
|
reg: Make some variables 'static const'.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-12 11:15:11 +09:00 |
Hugh McMaster
|
337e0f4cb2
|
reg: Avoid an uninitialized variable warning.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-12 11:15:04 +09:00 |
Hugh McMaster
|
efb8d0b497
|
regedit: Allow editing of all hex data types.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-08 20:13:56 +09:00 |
Hugh McMaster
|
8abec73530
|
reg: Dynamically allocate memory for the value name buffer when deleting all registry values in a specified key.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-08 20:13:56 +09:00 |
Hugh McMaster
|
f95f3fb1bf
|
reg/tests: Add tests for importing Windows 3.1 registry data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-08 20:13:56 +09:00 |
Hugh McMaster
|
fc5bd1b438
|
regedit: Replace a HeapAlloc() HEAP_ZERO_MEMORY call in framewnd.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-02 20:19:43 +02:00 |
Hugh McMaster
|
4c25f6497e
|
regedit: Use the heap_*() functions in hexedit.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-02 20:18:50 +02:00 |
Hugh McMaster
|
e7ea8380e0
|
reg: Use a helper function to resize a memory buffer.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-01 18:18:47 +02:00 |
Hugh McMaster
|
a1bc33ae5c
|
reg: Use a helper function to free allocated memory.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-01 18:18:36 +02:00 |
Hugh McMaster
|
a6e28cc3b4
|
reg: Use a helper function to allocate memory and die on failure.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-01 18:18:31 +02:00 |
Hugh McMaster
|
744d538509
|
regedit: Pass memcpy() the correct destination address.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-31 15:05:01 +02:00 |
Hugh McMaster
|
5d9a4c4dbd
|
regedit: Store the data from a listview subitem in a valid memory address.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-28 15:42:20 +02:00 |
Hugh McMaster
|
793ddc992c
|
regedit: Use the heap_*() functions in treeview.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-28 15:42:18 +02:00 |
Hugh McMaster
|
e0a527ab43
|
regedit: Use the heap_*() functions in listview.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-28 15:42:16 +02:00 |
Hugh McMaster
|
792e7046a6
|
regedit: Remove commented code from resize_frame_rect().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-27 17:04:05 +02:00 |
Hugh McMaster
|
9be3c53701
|
regedit: Use the heap_*() functions in regedit.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-27 17:04:04 +02:00 |
Hugh McMaster
|
a3e043b82e
|
regedit: Use the heap_*() functions in framewnd.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-27 17:04:04 +02:00 |
Hugh McMaster
|
6238cd46f2
|
regedit: Use the heap_*() functions in edit.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-27 17:04:04 +02:00 |
Hugh McMaster
|
c193bffb3e
|
regedit: Use the heap_*() functions in childwnd.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-27 17:04:04 +02:00 |
Hugh McMaster
|
1b3afb27c7
|
regedit: Use heap_xrealloc() for consistency.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-27 17:04:04 +02:00 |
Hugh McMaster
|
f7bdf34029
|
regedit: Use a helper function to free allocated memory.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-27 17:04:04 +02:00 |
Hugh McMaster
|
79ff4148c2
|
regedit: Use a helper function to allocate memory and check for a valid pointer.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-27 17:04:04 +02:00 |
Hugh McMaster
|
976c2aa649
|
regedit: Prevent out-of-bounds reads when unescaping a string (Valgrind).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-26 22:14:00 +02:00 |
Hugh McMaster
|
5bd636dc16
|
regedit: Check for a valid subkey pointer before attempting to delete a registry key (Coverity).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-24 18:58:31 +02:00 |
Hugh McMaster
|
b501b2388d
|
regedit: Free the value name buffer from the default value name parser state if necessary (Valgrind).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-24 18:58:31 +02:00 |
Hugh McMaster
|
90da210cb0
|
reg: Account for sizeof(WCHAR) when resizing the value name buffer during the query operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-21 16:40:05 +02:00 |
Hugh McMaster
|
fb22f6c416
|
reg: Avoid using RegQueryInfoKey() to enumerate subkeys and values in the query operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-20 16:27:05 +02:00 |
Hugh McMaster
|
d62fb29866
|
regedit: Re-size the data export buffer using the required size instead of doubling it.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-20 16:27:05 +02:00 |
Hugh McMaster
|
9d23db6b12
|
regedit: Remove unused header includes from regproc.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-20 16:27:04 +02:00 |
Hugh McMaster
|
cc1d2525c4
|
regedit: Remove an unused #define.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-20 16:27:04 +02:00 |
Hugh McMaster
|
6effc48365
|
regedit: Export value names from the export_data() function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-19 19:13:29 +02:00 |
Hugh McMaster
|
97383a14f7
|
regedit: Append a newline to the end of the export file.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-19 19:13:29 +02:00 |