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
|
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 |
Hugh McMaster
|
37b5607ff6
|
regedit: Export REG_SZ data via 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
|
6515837ada
|
regedit: Use a helper function to export hex data and REG_DWORD data.
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
|
bb147fbaa7
|
regedit: Export REG_DWORD data from a separate function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-19 18:52:08 +02:00 |
Hugh McMaster
|
40ce665836
|
regedit: Export value names from a separate function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-19 18:51:57 +02:00 |
Hugh McMaster
|
c189effeb3
|
regedit: Read registry value information before exporting.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-19 10:50:04 +02:00 |
Hugh McMaster
|
efe3bc87e7
|
regedit: Re-implement some parts of the export operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-19 10:47:36 +02:00 |
Nikolay Sivov
|
cbd6e05e68
|
regedit: Simplify double-click listview handler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-14 10:51:58 +02:00 |
Hugh McMaster
|
5a391e18cb
|
regedit: Use UpdateStatusBar() instead of updating the text manually.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-13 18:34:54 +02:00 |
Hugh McMaster
|
683b9992f6
|
regedit: Remove the listview's sub-class and move its messages to childwnd.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:55 +02:00 |
Hugh McMaster
|
aa42d81e6d
|
regedit: Move treeview notify messages to a separate function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:55 +02:00 |
Hugh McMaster
|
9e1278dd47
|
regedit: Remove the unused _CmdWndProc callback function from listview.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:55 +02:00 |
Hugh McMaster
|
c4a06a3034
|
regedit: Update string resources associated with key deletion.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:54 +02:00 |
Hugh McMaster
|
66dcf0a87d
|
regedit: Update some resource strings associated with key parsing.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:54 +02:00 |
Hugh McMaster
|
ae147a5bf6
|
regedit: Output an error message and exit with error code zero instead of calling exit(1).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:53 +02:00 |
Hugh McMaster
|
7d0f2deca3
|
regedit: Update the listview path when renaming a treeview node.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:53 +02:00 |
Hugh McMaster
|
182b6fb545
|
regedit: Update the status bar text when a treeview node is renamed.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-12 19:51:53 +02:00 |
Hugh McMaster
|
7f11a24fee
|
regedit: Null-terminate REG_EXPAND_SZ and REG_MULTI_SZ hex data during concatenation if we reach EOF.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-10 20:51:11 +02:00 |
Michael Stefaniuc
|
a9987fa11a
|
regedit: Remove a redundant NULL check before HeapFree().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-07 19:48:32 +02:00 |
Hugh McMaster
|
e2ae9e3c58
|
regedit: Use a function to free the parser data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-07 19:48:32 +02:00 |
Hugh McMaster
|
6f24426692
|
regedit/tests: Test the effects of EOF on hex data during concatenation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-07 19:48:32 +02:00 |
Hugh McMaster
|
3908296237
|
regedit: Null-terminate REG_EXPAND_SZ and REG_MULTI_SZ data if the parsed hex data does not end in a null-terminating character.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 18:50:48 +02:00 |
Hugh McMaster
|
7b95ddcb04
|
regedit: Hex data lines may be terminated by a semicolon.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 18:50:48 +02:00 |
Hugh McMaster
|
23c93d3026
|
regedit/tests: Add some more tests for importing hex data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 18:50:48 +02:00 |
Hugh McMaster
|
3afa0e42c8
|
regedit/tests: Add another test for "0x" prefixes in the hex data type.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 18:50:47 +02:00 |
Hugh McMaster
|
499733f400
|
regedit/tests: Check if regedit.exe has elevated privileges before starting some tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 18:50:47 +02:00 |
Hugh McMaster
|
b811b16694
|
regedit: Do not import the line if a hex data type has a "0x" prefix.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-05 18:21:37 +02:00 |
Hugh McMaster
|
1a4c3e5d28
|
regedit: Check if any hex data exists before attempting to parse it.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-05 18:21:18 +02:00 |
Hugh McMaster
|
5cc1b227b7
|
regedit: Do not remove lines beginning with a semicolon from the read buffer.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-05 18:21:10 +02:00 |
Nikolay Sivov
|
d2697467b2
|
regedit: Remove commented out block.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-05 18:21:06 +02:00 |
Hugh McMaster
|
5d8a1283f2
|
regedit: Do not remove lines beginning with '#' from the read buffer.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-04 19:49:57 +02:00 |
Hugh McMaster
|
e336c86359
|
regedit: Skip blank and whitespace-only lines during hex data concatenation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-04 19:49:49 +02:00 |
Hugh McMaster
|
6ffa89ebd3
|
regedit: Skip lines that do not begin with a hexadecimal character during hex data concatenation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-04 19:49:42 +02:00 |
Hugh McMaster
|
50caf838b6
|
regedit: Simplify a while loop for skipping whitespace.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-04 19:49:32 +02:00 |
Hugh McMaster
|
50fee455c4
|
regedit/tests: Test whether the "0x" prefix is valid when importing hex data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-04 19:49:25 +02:00 |
Hugh McMaster
|
506d4fd052
|
regedit/tests: Test whether registry keys ending with trailing backslashes are imported and created.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-04 19:49:21 +02:00 |
Hugh McMaster
|
032d32f940
|
regedit: Improve the parsing of multiline hex data during the registry import operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-03 15:57:44 +02:00 |
Hugh McMaster
|
c750c2a98d
|
regedit: Remove un-necessary parser state assignment if we are returning to the same state.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-03 15:57:44 +02:00 |
Hugh McMaster
|
2db2a7aeef
|
regedit/tests: Test the effect of whitespace-only lines during hex data concatenation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-03 15:57:44 +02:00 |
Hugh McMaster
|
55d43d13e4
|
regedit/tests: Fix another incorrectly named registry key.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-03 15:57:44 +02:00 |
Hugh McMaster
|
817cd2ac59
|
regedit/tests: Correct out of sequence test numbering.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-29 18:32:06 +02:00 |
Hugh McMaster
|
a905b4d6ba
|
regedit/tests: Test comma placement when parsing hex data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-29 18:32:06 +02:00 |
Nikolay Sivov
|
f4e98d813f
|
regedit: Remove explicit iIndent field initialization.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-28 18:24:14 +02:00 |
Nikolay Sivov
|
b84f228805
|
regedit: Use notification message to clean up item data.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-28 18:24:11 +02:00 |