Commit Graph

74 Commits

Author SHA1 Message Date
Alexandre Julliard 0b18409cfc regedit: Use C runtime wchar functions instead of wine/unicode.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 11:48:30 +02:00
Alistair Leslie-Hughes 75d8081dc6 regedit: Grow the buffer when modifying a DWORD value.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=19098
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 08:23:57 +01:00
Hugh McMaster 6b620e6d61 regedit: Do not overwrite a hex data type with REG_BINARY when modifying a value.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Hugh McMaster a131cff7a8 regedit: Replace Hungarian notation used with struct edit_params members.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Hugh McMaster 32f487bdb2 regedit: Always display DWORD values in hexadecimal when initializing the editor dialog.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Hugh McMaster 1291c6ded4 regedit: Don't check if heap_xalloc() succeeded in the caller.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:44 +02:00
Hugh McMaster c7718d31c7 regedit: Pass NULL instead of the address of an empty WCHAR.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-28 22:08:23 +02:00
Hugh McMaster cc200d0a50 regedit: Confirm whether to delete a registry value from framewnd.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-28 22:08:23 +02:00
Hugh McMaster 5bc81188fe regedit: Do not directly include resource.h anymore.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-23 17:33:57 +02:00
Hugh McMaster a926e05446 regedit: Do not directly include stdio.h any longer.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:28:07 +02:00
Hugh McMaster 20e5b9e82f regedit: Simplify boolean comparisons in edit.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:27:58 +02:00
Hugh McMaster b24ee836bd regedit: Simplify the detection of existing registry values.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:27:19 +02:00
Hugh McMaster 73220a3d6f regedit: Remove regproc.h.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:26:01 +02:00
Hugh McMaster 78732a6d46 regedit: Replace the COUNT_OF macro with ARRAY_SIZE.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:22:34 +02:00
Zebediah Figura 31e41a942e regedit: Use monospace font for hex edit dialog.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 18:02:45 +01:00
Michael Stefaniuc 505a9e0283 regedit: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 10:06:12 +01:00
Alexandre Julliard 7344ac9b72 regedit: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:21:53 +01: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 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 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 b25337e6d6 regedit: Free the binary data buffer after saving the new value (Coverity).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 18:23:04 +02:00
Hugh McMaster cb563dbac6 regedit: Re-insert the default value item after deleting its data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-16 15:25:38 +02:00
Hugh McMaster b1e48fb469 regedit: Free the stringValueData buffer before using it again (Coverity).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 15:02:14 +02:00
Hugh McMaster 9cd1fc3fc4 regedit: Update the data in a listview subitem without refreshing the listview.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:50 +02:00
Hugh McMaster f3c4cca7bf regedit: Add listview entries without refreshing the listview.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:50 +02:00
Nikolay Sivov 71a6eeb732 regedit: Make it clear whether it is a key or a value that is about to be removed.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:05 +01:00
Hugh McMaster 8ce48b9fcd regedit: Update some comments in edit.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:40:17 +01:00
Hugh McMaster 93b08c6289 regedit: Update dialog messages related to key and value renaming.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:40:12 +01:00
Hugh McMaster ed5d1f2618 regedit: Update search completion message handling.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:39:09 +01:00
Hugh McMaster 6a8aea20ac regedit: Combine error() and error_code_messagebox().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:35:13 +01:00
Hugh McMaster e0ab47ce87 regedit: Display custom error messages instead of strings from the system table.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:32:45 +01:00
Hugh McMaster e31a0cc241 regedit: Use FormatMessage() for optimal memory usage.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:30:16 +01:00
Hugh McMaster 6350cfd8c7 regedit: Remove unnecessary error handling from message box functions in edit.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:55 +01:00
Alexandre Julliard 65dfc51b2e regedit: Don't use tchar.h. 2012-01-23 16:07:34 +01:00
Andrew Nguyen 8f0bc1e2ed regedit: Convert the edit code to Unicode. 2011-04-18 11:50:16 +02:00
Mikołaj Zalewski f2235ef30d regedit: Don't pass an ANSI string to vsprintfW. 2009-01-21 13:26:48 +01:00
Alexandre Julliard 4be4b19ee7 regedit: Convert error box display to Unicode. 2009-01-07 11:10:26 +01:00
Alexander Nicolaysen Sørnes d67986b9dd regedit: Some minor unicode conversions. 2008-09-03 13:14:52 +02:00
Alexander Nicolaysen Sørnes ba093c6dc0 regedit: Fix some references to TCHARs. 2008-09-03 13:14:51 +02:00
Alexander Nicolaysen Sørnes d2664e0fbb regedit: Set the unicode flag for the listview. 2008-09-02 13:26:57 +02:00
Alexander Nicolaysen Sørnes 6b7ebf0881 regedit: Convert key renaming to unicode. 2008-09-02 12:53:35 +02:00
Alexander Nicolaysen Sørnes 4a3d8d8cb0 regedit: Convert value renaming to unicode. 2008-09-02 12:53:01 +02:00
Alexander Nicolaysen Sørnes 1e56f94945 regedit: Convert value editing to unicode. 2008-09-02 12:51:34 +02:00
Alexander Nicolaysen Sørnes 9d6b80b121 regedit: Convert value creation to unicode. 2008-08-29 12:26:43 +02:00
Alexander Nicolaysen Sørnes a6a4109dd4 regedit: Convert key creation to unicode. 2008-08-22 11:32:09 +02:00
Alexander Nicolaysen Sørnes 04929756e7 regedit: Convert deletion to unicode. 2008-08-20 12:20:28 +02:00
Andre Wisplinghoff a7f84cc035 regedit: Implement deleting multiple values. 2008-07-11 14:49:44 +02:00
Ted Percival 0674e61955 regedit: Interpret REG_DWORD as unsigned in editor. 2008-06-23 12:46:52 +02:00
Alexandre Julliard e568580447 regedit: Fix editing and exporting of zero-size strings. 2008-05-13 20:27:11 +02:00
Byeong-Sik Jeon f225297a5f regedit: Support REG_MULTI_SZ creation and editing. 2007-04-03 13:13:35 +02:00