Commit graph

813 commits

Author SHA1 Message Date
Hugh McMaster
9ea9874abf regedit: Remove unused #define.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-31 14:03:56 +02:00
Hugh McMaster
9ad4152e6d regedit: Make "Unknown Type" translatable.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-30 22:06:33 +02:00
Hugh McMaster
5aaa77c9bb regedit: Do not select/highlight a listview item on refresh.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 08:47:22 +02:00
Hugh McMaster
6d89696121 regedit: Do not use REG_NONE as the default data type on import error.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 08:47:20 +02:00
Hugh McMaster
523a61da85 regedit: Remove data types that cannot be imported and clean-up data_types array.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 08:47:18 +02:00
Hugh McMaster
f8afd05d6c regedit/tests: Add mixed line concatenation and comment tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-24 12:45:11 +01:00
Hugh McMaster
0a7ff8aff7 regedit: Accept various forms of "REGEDIT" with trailing characters.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:28:50 +01:00
Hugh McMaster
5052a759b3 regedit: Return success or failure from import functions.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:28:10 +01:00
Hugh McMaster
f56d919ffe regedit: Re-implement processRegLinesA().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:25:01 +01:00
Hugh McMaster
e1e79d12b3 regedit: Parse UTF-16 file header for validation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:23:49 +01:00
Hugh McMaster
e96056a026 regedit/tests: Add missing ok() check after RegOpenKeyExA().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:04 +01:00
Hugh McMaster
6b6e2cb924 regedit: Re-implement processRegLinesW().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-20 19:42:18 +01:00
Hugh McMaster
a3c9a2682c regedit/tests: Add some line concatenation tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 19:44:18 +01:00
Hugh McMaster
00bd109e1f regedit/tests: Test import with non-standard registry file headers.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-24 13:54:17 +01:00
Nikolay Sivov
a9bae9629c regedit: Sort each of top level branches separately.
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-20 10:32:13 +01: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
7073e27fbd regedit: Sort treeview children on refresh.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 13:01:32 +01:00
Hugh McMaster
e23ca416bd regedit: Refresh listview after import.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 13:01:32 +01:00
Hugh McMaster
9e1d356d78 regedit: Display a dialog message after successful/unsuccessful file import.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 13:01:15 +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
Zebediah Figura
679cc50195 regedit: When processing 3.1 ignore any lines that don't begin with HKCR.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 22:30:38 +01:00
Nikolay Sivov
c5f26bf56d regedit: Clear value list when tree root is selected.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 10:52:03 +01:00
Nikolay Sivov
7dea6fef61 regedit: Always show treeview selection.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 10:52:03 +01:00
Zebediah Figura
da5b770453 regedit/tests: Add tests for importing Win 3.1 registry files.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:53 +01:00
Zebediah Figura
b0d475b858 regedit: Add support for importing Win 3.1 registry files.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:53 +01:00
André Hentschel
9ae26670e3 regedit: Remove dead assignment (clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-16 22:02:27 +01:00
Francois Gouget
49c30d4b8e regedit: Make output_writeconsole() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-10 19:19:15 +01:00
Hugh McMaster
1e1bfba1c4 regedit: Only allow key renaming via the Edit or Popup menus.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:09 +01:00
Hugh McMaster
061c4bce06 regedit/tests: Add tests for quotes and slashes in keys, values and data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-05 14:54:55 +01:00
Hugh McMaster
56959b1808 regedit: Import files using 'rb' mode.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-02 20:27:55 +01:00
Hugh McMaster
e7d5503347 regedit/tests: Add tests for line concatenation when importing.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-20 13:02:24 +01:00
Hugh McMaster
dc6e2eaf09 regedit: Load Binary editor from context menu.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 14:21:28 +01:00
Hugh McMaster
eb3c4f43f6 regedit/tests: Add more tests for parsing comments.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-06 15:46:15 +01:00
Hugh McMaster
ced6d4618b regedit/tests: Move existing comment tests to a separate function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-06 15:46:10 +01:00
Hugh McMaster
750358fc44 regedit/tests: Test whether comments ending in a backslash affect the next line.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-02 15:54:03 +01:00
Hugh McMaster
b897c9b13d regedit/tests: Fix line concatenation test.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-02 15:54:01 +01:00
Hugh McMaster
6cd9c7ffb5 regedit/tests: Test if the final line is imported if it doesn't end in a newline.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-23 22:36:40 +01:00
Hugh McMaster
c39ee374a7 regedit: Close the registry key handle in the read function instead of the parser.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:39:32 +02:00
Hugh McMaster
93f795950d regedit: Do not close the registy key handle when a line break is encountered.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:39:27 +02:00
Hugh McMaster
5027f01a6a regedit/tests: Add line break and complexity tests.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 14:04:17 +02:00
Hugh McMaster
4e43d76751 regedit/tests: Handle different data types with one verify_reg() function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 14:04:15 +02:00
Hugh McMaster
01590f5c35 regedit/tests: Open the registry key once in each test function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 14:04:13 +02:00
Hugh McMaster
211a5d15d7 regedit/tests: Replace the hard-coded subkey path with a define.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 14:04:12 +02:00
Hugh McMaster
4cb93f4557 regedit: Do not set s_eol to NULL when it will be re-assigned immediately.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:43 +09:00
Hugh McMaster
b4d40846dd regedit: Remove two 'continue' statements from the end of two 'while' loops.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:39 +09:00
Hugh McMaster
d8fd4bde38 regedit: Process registry input from stdin.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 23:54:41 +09:00
Alexandre Julliard
b90628c15e regedit: Don't die if we fail to open a key during exporting.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 14:19:42 +09:00
Hugh McMaster
2b74ef1006 regedit: Output the registry data type as a string when it is used in error messages.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-21 23:36:04 +09:00
Hugh McMaster
bb2c799f36 regedit: Use generic ARRAY_SIZE macro to allow for broader use.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-21 23:36:03 +09:00
Hugh McMaster
3763c7a610 regedit: Rewrite processRegLinesA into an ANSI version of processRegLinesW.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-21 23:36:03 +09:00
Hugh McMaster
fec0b697c7 regedit: Use Unicode for registry key paths.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:46:34 +09:00
Hugh McMaster
7c824cbfd4 regedit: Open export file with a wide-character stream.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:42:09 +09:00
Hugh McMaster
86ebd5eee0 regedit: Use Unicode when printing system error messages.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:41:52 +09:00
Hugh McMaster
8dfc25ea9e regedit: Use output_message() in regproc.c for better internationalization.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:41:28 +09:00
Francois Gouget
f099d0b197 regedit: Make GetwideString() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 11:16:02 +09:00
Hugh McMaster
6ad44d7a31 regedit: Process the next file, if any, on error.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:27:34 +09:00
Hugh McMaster
221bb0f769 regedit: Use WINAPI functions for better internationalization.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:27:32 +09:00
Hugh McMaster
256290f74f regedit: Parse command-line input using Unicode.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:22:06 +09:00
Francois Gouget
5da8ad93a0 regedit: Make get_token() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 11:01:29 +09:00
Nikolay Sivov
0c79028e97 regedit: Fix error message format (Coverity).
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>
2016-07-03 10:11:34 +09:00
Hugh McMaster
0df9480d2d regedit: Import multiple files in one command.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-24 18:54:21 +09:00
Hugh McMaster
1df0b0f986 regedit: Accept /C as a valid switch.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-24 18:54:14 +09:00
Hugh McMaster
d418ece9d0 regedit: Use error handling for missing arguments.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:56:16 +09:00
Hugh McMaster
53c9a78970 regedit: Tokenize command-line input.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:56:03 +09:00
Hugh McMaster
493b5aab22 regedit: Hard-code "regedit" instead of passing getAppName() as an argument.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:51:31 +09:00
Hugh McMaster
7e72247d07 regedit: Replace error_unknown_switch() with simpler error handling.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:51:23 +09:00
Kirill Smirnov
fe517f9256 regedit: Fix an out-of-bounds array access (clang).
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 14:18:03 +09:00
Hugh McMaster
5b3681f62d regedit: Display REG_NONE values.
REG_NONE values are displayed in hexadecimal.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 21:05:05 +09:00
Hugh McMaster
32714ee447 regedit: Display REG_DWORD_BIG_ENDIAN values.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 21:05:05 +09:00
Nikolay Sivov
c9fb3b7f8f regedit: Fix potential buffer leak, simplify error handling (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 09:51:30 +01:00
Jiaxing Wang
ebacf05258 regedit: Need 3 bytes of room at end of buffer for \r\n\0 to avoid endless loop.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 23:58:28 +09:00
Alexandre Julliard
17ac5ba7f9 makefiles: Specify whether to install program binaries in the individual makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 14:58:50 +09:00
Nikolay Sivov
a72482fd39 regedit: When sorting by key type consistently compare types.
Otherwise when sorting by type for key with same type list get sorted by
name.
2015-09-15 16:04:22 +09:00
Nikolay Sivov
e428884c0c regedit: Block sorting by key value. 2015-09-15 16:04:12 +09:00
Bernhard Übelacker
cf6477ab27 regedit: Call RegEnumValueW with value and val_count parameters. 2015-07-08 16:02:24 +09:00
Nikolay Sivov
6827724e54 regedit: Make it possible for save/restore position on tree root. 2015-06-15 14:48:46 +09:00
Jiaxing Wang
a53371497f regedit: Avoid appending '\0' to string value of imported key. 2015-05-20 18:32:47 +09:00
Francois Gouget
1402201cd6 regedit: Remove an unneeded NONAMELESSSTRUCT directive. 2015-04-03 00:33:30 +09:00
Sebastian Lackner
fb37d215cd regedit: Fix incorrect usage of CompareString in parseKeyName. 2014-11-19 23:36:35 +09:00
Michael Stefaniuc
a542a13a02 regedit: Simplify check for an empty string (PVS-Studio). 2014-11-18 22:11:20 +09:00
Bruno Jesus
84d7239640 regedit: Allow importing/exporting strings with '\r'. 2014-10-30 12:00:38 +09:00
Bruno Jesus
c35bca6561 regedit: Allow importing strings with escaped NULL. 2014-10-29 20:31:10 +09:00
Bruno Jesus
01b0746906 regedit: Append exported strings using the correct size. 2014-10-28 14:54:12 +09:00
Alexandre Julliard
3e40fea9d6 makefiles: Automatically add the necessary msvcrt flags to the generated rules. 2014-01-08 14:34:15 +01:00
Alexandre Julliard
99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard
86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Frédéric Delanoy
1f3c916f00 regedit: Constify a character string. 2013-12-19 17:09:26 +01:00
Alexandre Julliard
4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard
e2df0ab856 makefiles: Generate rules from makedep for building and installing man pages. 2013-11-18 11:40:00 +01:00
Alexandre Julliard
5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Frédéric Delanoy
b1ded781df regedit: Fix manpage formatting. 2013-07-17 20:30:49 +02:00
Alexandre Julliard
dcc97a186d Standardize the BUGS, AVAILABILITY and SEE ALSO sections across all man pages. 2013-07-16 20:48:05 +02:00
Alexandre Julliard
1090077e73 regedit: Add a 256x256 icon. 2013-03-27 20:12:27 +01:00
Daniel Jelinski
003622c015 regedit: Disallow editing root key names. 2012-10-16 20:46:01 +02:00
Marcus Meissner
443e196e08 regedit: FIXME() on printing. 2012-10-12 17:18:37 +02:00
Francois Gouget
8700bb86a2 regedit: Fix the spelling of multi-string. 2012-09-24 10:51:47 +02:00
Daniel Jelinski
1565def7b9 regedit: Adding new subkey to a key with no subkeys now works with native comctl32. 2012-06-04 12:17:52 +02:00
Daniel Jelinski
14d4702c1b regedit: Make key names editable also with native comctl32. 2012-06-04 10:35:11 +02:00
Bruno Jesus
0d3807dbc5 regedit: Fix qword entries export. 2012-05-17 10:18:54 +02:00
Francois Gouget
fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Francois Gouget
cc463d0bcc regedit: An English (United States) spelling fix. 2012-05-04 18:08:23 +02:00
Bruno Jesus
1fba4a6886 regedit: Allows semicolon comments. 2012-04-27 12:01:48 +02:00
Bruno Jesus
c3821f6c63 regedit: Fix item text reading in regedit. 2012-04-27 12:00:31 +02:00
Ilya Basin
f900ed1474 regedit: Fix buffer size when exporting binary values. 2012-04-12 20:38:52 +02:00
Alexandre Julliard
509e557608 regedit: Use virtkeys for all accelerators. 2012-01-30 20:44:41 +01:00
Alexandre Julliard
10fe8c61e7 regedit: Add message contexts for accelerators that can be translated. 2012-01-24 20:38:51 +01:00
Alexandre Julliard
65dfc51b2e regedit: Don't use tchar.h. 2012-01-23 16:07:34 +01:00
Alexandre Julliard
da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Alexandre Julliard
3dc628c636 regedit: Merge accelerators into the main resource file. 2011-12-19 20:15:53 +01:00
Bruno Jesus
8ad904c398 regedit: Allow binary files to be imported. 2011-11-21 16:16:29 +01:00
Alexandre Julliard
b9aed40111 regedit: Convert dialogs to po files. 2011-11-08 15:28:49 +01:00
Francois Gouget
5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Francois Gouget
d1e487f940 regedit: Fix ellipsis usage in the menu labels. 2011-05-03 19:34:27 +02:00
Alexandre Julliard
dcc9c37e97 regedit: Remove unnecessary use of class atoms. 2011-04-18 12:08:31 +02:00
Andrew Nguyen
3c0af2fcd1 regedit: Convert the treeview code to Unicode. 2011-04-18 11:50:39 +02:00
Andrew Nguyen
3e19c4ca3b regedit: Explicitly use ANSI functions in regedit helper functions. 2011-04-18 11:50:32 +02:00
Andrew Nguyen
87bd8ef6e1 regedit: Convert the listview code to Unicode. 2011-04-18 11:50:28 +02:00
Andrew Nguyen
172ce3eed8 regedit: Convert the hex edit code to Unicode. 2011-04-18 11:50:24 +02:00
Andrew Nguyen
9b586bc2ee regedit: Convert the frame window code to Unicode. 2011-04-18 11:50:21 +02:00
Andrew Nguyen
8f0bc1e2ed regedit: Convert the edit code to Unicode. 2011-04-18 11:50:16 +02:00
Andrew Nguyen
dfc0fa86d4 regedit: Convert the child window code to Unicode. 2011-04-18 11:50:12 +02:00
Andrew Nguyen
82796c565e regedit: Remove all Unicode macros in main.h. 2011-04-18 11:50:09 +02:00
Andrew Nguyen
182763f632 regedit: Convert regedit main code to Unicode. 2011-04-18 11:49:48 +02:00
Andrew Nguyen
3571ae27a2 regedit: Remove obsolete comments in InitInstance. 2011-04-18 11:49:46 +02:00
Andrew Nguyen
7369b6cf41 regedit: Refactor window class initialization to a separate function. 2011-04-18 11:49:43 +02:00
Francois Gouget
6990ecaafd programs: Standardize the Help menus. 2011-04-13 14:13:56 +02:00
Francois Gouget
d1b51d8502 programs: Standardize the About menus. 2011-04-12 13:08:14 +02:00
Francois Gouget
1ea5c7b8d9 regedit: Add support for creating expandable string values. 2011-04-01 11:45:22 +02:00
Francois Gouget
7a569851d3 regedit: Remove the unimplemented menus to connect to remote registries. 2011-03-31 13:56:00 +02:00
Akihiro Sagawa
3c6de3b348 regedit: Export a decent newline in Unicode format. 2011-03-07 15:06:04 +01:00
Marcus Meissner
62f270e269 regedit: fgetc() gets int, not char (Coverity). 2011-02-23 18:22:35 +01:00
Alexander Lakhin
43790cf374 regedit: Update Russian translation. 2011-02-14 13:33:31 +01:00
Andrew Nguyen
6c8f8a64b0 regedit: Remove an unused string array.
Spotted by Austin English with LLVM/Clang.
2011-01-21 13:40:46 +01:00
Alexandre Julliard
30b5e22def regedit: Convert menu and string tables resources to po files. 2011-01-14 18:26:06 +01:00
Alexandre Julliard
de10568061 regedit: Build the file filter by hand instead of hardcoding it in resource strings. 2011-01-13 21:09:47 +01:00
Hwang YunSong
9d3c1aa925 regedit: Update Korean resource. 2011-01-03 15:14:08 +01:00
Alexandre Julliard
15ccabc9a8 makefiles: Add common rules for installing the main man page. 2010-12-05 16:17:58 +01:00
Austin English
76725fbb68 regedit: Add a manpage. 2010-11-26 12:13:18 +01:00
Marcus Meissner
e2eb5e2348 regedit: Fixed a wrong buffer size. 2010-10-25 12:41:42 +02:00
Yaron Shahrabani
6cbb8fc200 regedit: Updated Hebrew translation. 2010-10-13 11:24:03 +02:00
Yaron Shahrabani
2f7f135f29 regedit: Hebrew translation fix. 2010-10-07 17:33:13 +02:00
Cheer Xiao
316981e5ff regedit: Update simplified Chinese translation. 2010-09-29 11:31:44 +02:00
Luca Bennati
3f8f816f1d regeedit: Update Italian translation. 2010-09-23 17:50:11 +02:00
Alexandre Julliard
bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Andrew Eikum
06f4532cf6 regedit: Don't call ungetc() twice consecutively.
Spotted by Sylvain Hitier.
2010-08-23 15:41:53 +02:00
Andrew Eikum
dcfdfbaa54 regedit: Improve importing of REG_SZ with invalid quoting. 2010-08-16 17:28:42 +02:00
Yaron Shahrabani
49eebf9557 regedit: Added Hebrew translation. 2010-08-16 13:40:54 +02:00
Andrew Eikum
8851a4eb1f regedit: Process reg files which use \r line endings. 2010-08-02 13:58:19 +02:00
Andrew Eikum
f3c6c62bcf regedit: Add regedit test suite. 2010-08-02 13:58:14 +02:00
Michael Stefaniuc
985ad92b28 regedit: Remove the ignored common resource attributes. 2010-07-22 11:41:40 +02:00
Alexandre Julliard
6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Igor Paliychuk
32e6007010 regedit: Add Ukrainian translation. 2010-07-19 14:38:17 +02:00
Michael Stefaniuc
f654ca37f0 regedit: Fix an error in a Chinese (Traditional) resource. 2010-07-13 17:04:10 +02:00
Cheer Xiao
bafb9aaa7e regedit: Update simplified Chinese translation. 2010-07-13 16:28:02 +02:00
Michael Stefaniuc
11f367f6a5 regedit: Add the Romanian translation.
Translation by Claudia Cotună.
2010-07-12 11:36:08 +02:00
Gustavo Henrique Milaré
b6cd1c4d18 regedit: Update Portuguese (Brazilian) translation. 2010-07-01 10:10:32 +02:00
Jose Rostagno
f3a1e2cf00 regedit: Fix Spanish translation. 2010-06-23 15:28:39 +02:00
Vitaly Lipatov
b974852ce1 Update Russian translations. 2010-06-18 16:22:07 +02:00
Paul Vriens
b0f32c551a regedit: Update the Danish translation. 2010-06-09 16:16:18 +02:00
Andrew Eikum
4a6ed21094 regedit: Escape the value name portion during export. 2010-06-08 16:35:22 +02:00
Luca Bennati
707ccc4fd6 regedit: Update Italian translation. 2010-06-07 13:42:23 +02:00
Łukasz Wojniłowicz
5e48bfce85 regedit: Update the Polish translation. 2010-06-07 12:54:34 +02:00
Paul Vriens
99a92bf255 regedit: Update the Danish translation and convert to UTF-8. 2010-06-01 13:36:56 +02:00
Sven Baars
ce1be8f827 regedit: Fix Dutch translation. 2010-06-01 11:04:05 +02:00
Gerald Pfeifer
8283920268 regedit: Remove variable ExportKeyPath which is not really used from ExportRegistryFile. 2010-05-03 15:35:57 +02:00
Gerald Pfeifer
d9dbfa7d7c regedit: Remove variable hdc which is not really used from OnPaint. 2010-05-03 15:35:49 +02:00
Joel Holdsworth
00b40ac447 regedit: Fixed flaws in the icon. 2010-04-25 12:16:31 -05:00
Joel Holdsworth
1339b0058b regedit: Replaced progam icon with a Tango compliant icon. 2010-04-19 16:01:23 +02:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Andrey Turkin
64d488065a programs: Update Russian translations. 2009-10-20 13:46:42 +02:00
Davide Pizzetti
46a3113a0c regedit: Italian translation update. 2009-08-26 14:34:04 +02:00
Detlef Riekenberg
69b3782a82 regedit: Do not write junk after the LastKey value. 2009-08-25 11:42:06 +02:00
Akihiro Sagawa
aa916afc9d regedit: Update Japanese translation. 2009-08-24 15:17:32 +02:00
Ricardo Filipe
c25523c7c7 regedit: Update Portuguese translation. 2009-08-06 17:28:14 +02:00
Vladimir Pankratov
b989203e35 regedit: Convert the Russian resources to UTF-8. 2009-07-22 14:42:49 +02:00
Aurimas Fišeras
d05f1d3e0a Various small Lithuanian translation fixes. 2009-07-20 12:20:46 +02:00
Ricardo Filipe
3591c44e55 regedit: Update Portuguese translation and convert to UTF8. 2009-07-08 20:11:54 +02:00
Huw Davies
ba615affa8 regedit: Update English neutral translations. 2009-07-07 14:18:45 +02:00
Vladimir Pankratov
5ce04f7ffc regedit: Implement open last key at startup. 2009-07-07 11:17:10 +02:00
Aurimas Fišeras
4e1af57b5f Various spelling fixes for Lithuanian translation. 2009-07-06 14:35:26 +02:00
Frédéric Delanoy
e2f2688356 regedit: Fix French translation & UI display. 2009-07-06 14:35:25 +02:00
Alexander Nicolaysen Sørnes
55b21c404a regedit: Update Norwegian Bokmål translation. 2009-07-03 14:28:33 +02:00
Michael Stefaniuc
13455d31ca regedit: Build language resource files separately.
Do not include them from an other rc file.
2009-07-02 11:42:03 +02:00
Matej Spindler
8d9c0ec231 regedit: Update Slovenian translation. 2009-06-26 11:59:29 +02:00
Davide Pizzetti
75b79e547a regedit: Update Italian translation. 2009-06-25 11:43:46 +02:00
Jaime Rave
b475deab3f regedit: Spanish translation updated. 2009-06-23 11:45:29 +02:00
Alexander Nicolaysen Sørnes
dcade85261 regedit: Fix reading from stdin. 2009-06-17 12:04:03 +02:00
Jonathan Ernst
0f82a1550d regedit: Updated French translation. 2009-06-09 17:01:13 +02:00
Hwang YunSong
84edc89a64 regedit: Updated Korean resource. 2009-05-25 14:25:55 +02:00
Anders Jonsson
bfcda1f912 regedit: Update Swedish translation. 2009-05-13 12:03:00 +02:00
Rein Klazes
9e8f2a7024 programs: Make some of the open file dialogs of a few programs resizable. 2009-05-06 12:20:10 +02:00
Frans Kool
1eec7ab360 regedit: Fixed Dutch translations. 2009-04-16 11:28:33 -05:00
Michael Stefaniuc
097f3ba7d3 regedit: Fix the German translation. 2009-03-23 12:37:26 +01:00
Michael Stefaniuc
1b3a781357 regedit: Convert the German translation to UTF8. 2009-03-23 12:37:22 +01:00
Michael Stefaniuc
49250a3cdb regedit: Remove commented out STRINGTABLE from the resource files.
The STRINGTABLE is commented out since mid 2003.
2009-03-23 12:37:08 +01:00
Aurimas Fischer
c95011dc5c regedit: Add missing English resource. 2009-03-12 13:09:53 +01:00
Aurimas Fischer
ddb2dc1ca9 regedit: Add Lithuanian translation. 2009-03-12 13:09:53 +01:00
Jim Cameron
5bd7e306b4 regedit: Fix crash importing large values from Unicode. 2009-03-09 14:21:26 +01:00
Michael Stefaniuc
3c80f741c2 regedit: Cast to LPARAM the 4th argument passed to SendMessage. 2009-03-03 12:35:53 +01:00
Ricardo Filipe
d904d1359a include: Fix commdlg hook procedures return type. 2009-02-09 17:17:09 +01:00
Marcus Meissner
1082779ddc regedit: Check HeapAlloc results (coverity). 2009-01-29 12:44:48 +01:00
Francois Gouget
5898a5c767 regedit: Make some functions static. 2009-01-26 15:13:21 +01:00
Francois Gouget
492304128b regedit: We don't bother unregistering window classes on exit, so remove HexEdit_Unregister(). 2009-01-26 15:13:18 +01:00
Anders Jonsson
846e361ed1 regedit: Add Swedish translation. 2009-01-22 12:04:16 +01:00
Mikołaj Zalewski
f2235ef30d regedit: Don't pass an ANSI string to vsprintfW. 2009-01-21 13:26:48 +01:00
Erich Hoover
51a04d5b65 regedit: Fix import mangling REG_EXPAND_SZ values. 2009-01-19 13:36:26 +01:00
Michael Stefaniuc
484a53574a regedit: Remove superfluous pointer casts. 2009-01-15 12:43:05 +01:00
Alexandre Julliard
4be4b19ee7 regedit: Convert error box display to Unicode. 2009-01-07 11:10:26 +01:00
Alexandre Julliard
259e8f61c8 regedit: Fix integer printf formats in resource strings. 2009-01-07 11:10:25 +01:00
ByeongSik Jeon
5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon
1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Rok Mandeljc
f54101abd3 regedit: Updated Slovenian translation. 2008-12-08 12:01:10 +01:00
Michael Stefaniuc
683c53db42 regedit: Remove some superfluous casts. 2008-12-04 12:08:27 +01:00
Francois Gouget
23e6e7be8e Make sure we have a space before the ellipses in Slovenian resources. 2008-12-04 12:06:06 +01:00
Francois Gouget
dfb823bb6f regedit: Deal with races in 'regedit /E' by resizing the buffers and retrying. 2008-12-01 12:57:39 +01:00
Michael Stefaniuc
c75a143f3d regedit: Remove NULL check before HeapFree (Smatch). 2008-11-25 11:55:59 +01:00
Francois Gouget
c880ccea1a regedit: Fix handling of zero-byte binary values for 'regedit /E'. 2008-11-24 13:43:47 +01:00
Francois Gouget
be19acfbe8 regedit: Avoid wsprintfW() so we can avoid loading user32.dll for 'regedit /E'. 2008-11-21 10:00:47 +01:00
Francois Gouget
a81bb704df regedit: Fix exporting of REG_EXPAND_SZ and other 'weird' strings.
REG_EXPAND_SZ must be exported as hexadecimal to preserve the string type.
0-byte strings and those missing a trailing '\0' or with odd sizes must 
be saved as hexadecimal too so they are restored as is.
Move the binary-value export code to the new REGPROC_export_binary() 
function.
2008-11-21 10:00:41 +01:00
Francois Gouget
3ef0b0ef2d regedit: Pass the string length to REGPROC_export_string().
We already know it in the caller so this saves us one lstrlenW() call.
2008-11-21 10:00:17 +01:00
Francois Gouget
d92c976803 regedit: Fix a buffer allocation in export_registry_key().
This fixes a major buffer overflow bug in 'regedit /E'.
2008-11-21 10:00:13 +01:00
Francois Gouget
3b140ccb0e Assorted spelling fixes. 2008-11-17 16:04:39 +01:00
Francois Gouget
e1901500ee regedit: Fix the wrapping of binary values in export_hkey().
Don't wait until the line overflows before wrapping it.
Don't wrap the last line.
2008-11-12 13:12:35 +01:00
Francois Gouget
f0f91a69b3 regedit: Fix a buffer overflow when exporting binary values in export_hkey().
We must take the indentation into account to compute the number of lines a binary value will use.
2008-11-12 13:12:31 +01:00
Francois Gouget
7df7222594 regedit: Simplify / clean up export_hkey().
Avoid unneeded/redundant calls to lstrcatW() and lstrlenW().
Tighten the scope of variables.
2008-11-12 13:12:23 +01:00
Francois Gouget
126ffb1f8a regedit: Tighten a buffer size calculation. 2008-11-12 13:12:12 +01:00
Francois Gouget
d1d3db4183 regedit: Simplify REGPROC_export_string(). 2008-11-12 13:12:09 +01:00
Francois Gouget
7f707b3037 regedit: The xxx_name_len variables track buffer sizes. That is they count the trailing '\0'. Adjust a couple of places that got this wrong and rename them to xxx_name_size. 2008-11-12 13:11:59 +01:00
Francois Gouget
5940ada80b regedit: line_size is supposed to track a string length.
That is it does not count the trailing '\0'.
Fix a few places that got this wrong and rename it to line_len.
2008-11-12 13:11:41 +01:00
Francois Gouget
f982e731c5 regedit: Check that we were able to allocate line_buf too. 2008-11-12 13:11:30 +01:00
Francois Gouget
71af3e1582 regedit: Remove unneeded variable initializations. 2008-11-12 13:11:23 +01:00
Michael Stefaniuc
4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
Andrey Esin
f0321f85a0 regedit: Corrections in Russian translation. 2008-10-17 11:42:55 +02:00
Muneyuki Noguchi
a969e0066e regedit: Convert Japanese resource to UTF-8. 2008-10-13 11:39:56 +02:00
Lei Zhang
a4ed7a1003 regedit: Pass VK_DELETE messages to Listview/Treeview child windows. 2008-10-09 14:19:50 +02:00
Lei Zhang
d3908e699b regedit: Make branch export behavior work more like native regedit. 2008-10-06 13:08:40 +02:00
Lei Zhang
86a4e99c04 regedit: Check return values, don't request unneeded value which always fails. 2008-10-02 10:29:06 -05:00
Lei Zhang
4389066754 regedit: Use W version of TreeView_GetItem. 2008-10-02 10:29:00 -05:00
Andrey Turkin
ae097646ab regedit: Ignore spaces in regedit files. 2008-09-30 11:33:14 -05:00
Muneyuki Noguchi
6461d5dc7e regedit: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-25 13:27:43 +02:00
Alexandre Julliard
700b5c6d7f regedit: Fix file exports in ASCII format. 2008-09-22 15:34:41 +02:00
Alexander Nicolaysen Sørnes
4f332e610e regedit: Fix some fprintf arguments. 2008-09-22 12:20:07 +02:00
Alexander Nicolaysen Sørnes
1e0a77622b regedit: Fix char escaping for registry export. 2008-09-22 12:19:54 +02:00