Eric Pouech
6b2a3dcdba
regedit: Use message boxes by default for output.
...
regedit is in GUI subsystem and shouldn't interact with console.
Keeping unix I/O output in silent mode (forcing English locale for
Unix integration).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-24 16:46:57 +01:00
Alexandre Julliard
acad49573a
makefiles: Always use the global SOURCES variable for .c files.
2023-11-01 22:44:03 +01:00
Alexandre Julliard
4e9f1a41b9
makefiles: Always use the global SOURCES variable for .man.in files.
2023-10-14 13:44:07 +02:00
Alex Henrie
33ce8e046d
regedit: Use the wcsdup function instead or reimplementing it.
2023-09-25 10:23:38 +02:00
Jacek Caban
555394b79c
regedit: Use unsigned types for bitfields.
2023-09-13 22:07:19 +02:00
Ryan Hendrickson
cd3ebad1ae
regedit: Export hex(4) instead of dword if size isn't 4 bytes.
2023-09-12 20:11:31 +02:00
Alex Henrie
3d383c468b
regedit: Fix memory leak on error path in RenameKey (scan-build).
...
parentPath is allocated before parentKey.
2023-06-29 13:57:39 +02:00
Alexandre Julliard
c2d1c8dcd3
regedit: Use nameless unions/structs.
2023-06-16 17:58:16 +02:00
Alex Henrie
6c1157435a
regedit: Fix memory leak on error path in GetItemPath (scan-build).
2023-06-08 12:04:23 +02:00
Hugh McMaster
1a61a4e1a6
regedit: Append '.reg' file extension if necessary.
2023-03-09 18:12:49 +01:00
Hugh McMaster
f5fe9a6cf9
regedit: Allow export_key() to return TRUE.
...
We don't handle errors in export_registry_data() anyway.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54491
2023-03-09 18:12:47 +01:00
Jinoh Kang
36ca172e85
regedit: Clip siblings when drawing list and tree views.
2023-01-06 10:41:21 +01:00
Jinoh Kang
8242b65172
regedit: Use the default WM_PAINT implementation for REGEDIT window.
2023-01-06 10:41:21 +01:00
Rémi Bernon
4c60f67f00
regedit: Add a direct import for shcore.
...
For CommandLineToArgvW.
2022-09-30 18:34:22 +02:00
Rémi Bernon
99b3862e67
regedit: Call InitCommonControls after command-line has been processed.
...
Avoid triggering the load of comctl32 early.
2022-09-30 18:34:20 +02:00
Hugh McMaster
b8b87e55a6
regedit: Limit REG_DWORD/REG_QWORD input length by value type and format.
2022-07-28 17:34:03 +02:00
Hugh McMaster
e604f3e2ef
regedit: Use zero as a REG_DWORD/REG_QWORD default if edit control is empty.
2022-07-28 17:34:03 +02:00
Hugh McMaster
93199da8c3
regedit: Use zero as a default for REG_DWORD and REG_QWORD values.
2022-07-27 23:07:06 +02:00
Hugh McMaster
57f45013d8
regedit: Free temporary buffer when working with REG_DWORD and REG_QWORD values.
2022-07-26 22:37:48 +02:00
Hugh McMaster
6901f3ccfc
regedit: Update the listview item without reloading the value data.
2022-07-25 17:01:33 +02:00
Hugh McMaster
d1bc3623e8
regedit: Set the dlgproc value name via a function, not a global.
2022-07-25 17:01:33 +02:00
Hugh McMaster
5e2c3dd537
regedit: Update binary data via update_registry_value().
2022-07-25 17:01:33 +02:00
Hugh McMaster
97f10736db
regedit: Use 'struct edit_params' with read_value().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-21 23:03:29 +02:00
Hugh McMaster
becf11084f
regedit: Pass updated REG_MULTI_SZ data via 'struct edit_params'.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-21 23:03:29 +02:00
Hugh McMaster
72fced0236
regedit: Pass updated REG_SZ and REG_EXPAND_SZ data via 'struct edit_params'.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-21 23:03:29 +02:00
Hugh McMaster
b00a4b66b9
regedit: Use a separate dialog proc function for string data types.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-21 23:03:29 +02:00
Hugh McMaster
a6063f8367
regedit: Replace heap_x*() functions with malloc(), realloc() and free().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-07 19:11:38 +02:00
Hugh McMaster
97a3802093
regedit: Directly use RegQueryValueExW() instead of a helper function.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 20:32:39 +02:00
Hugh McMaster
101fe51b25
regedit: Correctly calculate REG_MULTI_SZ size before reading from the buffer.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-06 20:32:39 +02:00
Hugh McMaster
159f3699ec
regedit: Remove unneeded valueDataLen override for DWORD values.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-06 20:32:39 +02:00
Hugh McMaster
ab03ecf7bc
regedit: Allow renaming of values in root keys.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-30 19:02:17 +02:00
Hugh McMaster
e06a62049e
regedit: Use correct printf specifier for UINT64 (QWORD) values.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-29 23:23:41 +02:00
Hugh McMaster
9c30f3d97a
regedit: Pass correct data size when adding a new value via the GUI.
...
This bug was exposed by 3b1faf59f6
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-29 23:23:41 +02:00
Nikolay Sivov
208f631cee
regedit: Remove unnecessary string conversion when modifying REG_DWORD value.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-24 10:41:27 +02:00
Nikolay Sivov
3b1faf59f6
regedit: Add support for REG_QWORD type.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-24 10:41:27 +02:00
Eric Pouech
b111fab953
regedit: Use OEM code page for output.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 11:47:32 +02:00
Hugh McMaster
498e0da095
regedit: Remove unused WCHAR szHexEditClass from main header.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:39:37 +02:00
Hugh McMaster
4b964b8210
regedit: Mark WCHAR szTitle static.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:39:34 +02:00
Hugh McMaster
a6a92b66c7
regedit: Mark WCHAR szFrameClass static.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:39:29 +02:00
Hugh McMaster
f55131db39
regedit: Use wide character string literals in regproc.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:39:23 +02:00
Hugh McMaster
379c90a0eb
regedit: Use wide character string literals in main.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:39:17 +02:00
Hugh McMaster
85fb14ff28
regedit: Use wide character string literals in treeview.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:38:57 +02:00
Hugh McMaster
039fc87827
regedit: Use wide character string literals in regedit.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:38:50 +02:00
Hugh McMaster
49df6ad509
regedit: Use wide character string literals in listview.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:38:44 +02:00
Hugh McMaster
f0d9999581
regedit: Use wide character string literals in hexedit.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:38:39 +02:00
Hugh McMaster
5cc628e2be
regedit: Use wide character string literals in framewnd.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:38:34 +02:00
Hugh McMaster
789cf28375
regedit: Use wide character string literals in edit.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:38:29 +02:00
Hugh McMaster
6b6d084bd4
regedit: Use wide character string literals in childwnd.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-19 17:38:23 +02:00
Eric Pouech
f158558d19
regedit: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 11:20:33 +01:00
Eric Pouech
acdbe6c296
regedit/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00