Commit Graph

56 Commits (d9884c930f0ce9ca3a1cb103c700b94cfc555011)

Author SHA1 Message Date
Alexandre Julliard d9884c930f regedit: FormatMessage() now reports ERROR_NO_WORK_DONE error for empty string.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:07:31 +02:00
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
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 a20f99b548 regedit: Use the ARRAY_SIZE macro.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:26:27 +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 ff1f664d08 regedit: Move regproc.c functions from regproc.h to main.h.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-21 16:22:58 +02: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
Hugh McMaster 4339f40154 regedit: Do not abort if the /m switch is used.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-23 21:17:14 +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 0ab54e4a64 regedit: Export Unicode registry files by default.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-18 15:23:04 +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 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
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 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
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
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
Alexandre Julliard 65dfc51b2e regedit: Don't use tchar.h. 2012-01-23 16:07:34 +01:00
Bruno Jesus 8ad904c398 regedit: Allow binary files to be imported. 2011-11-21 16:16:29 +01:00
Andrew Nguyen 3e19c4ca3b regedit: Explicitly use ANSI functions in regedit helper functions. 2011-04-18 11:50:32 +02:00
Alexander Nicolaysen Sørnes c4d58a4b07 regedit: Add support for exporting unicode files. 2008-09-16 13:35:31 +02:00
Alexander Nicolaysen Sørnes 32f890939f regedit: Convert parts of export handling to unicode. 2008-09-09 11:46:14 +02:00
Alexander Nicolaysen Sørnes 6f2e3e1b1e regedit: Add support for importing Unicode files. 2008-07-10 18:09:15 +02:00
Alexandre Julliard f7f249e59b regedit: Fixed the GetWideString and GetMultiByteString functions to work with null-terminated strings. 2008-07-10 17:49:36 +02:00
Alexander Nicolaysen Sørnes f4c3e0f464 regedit: Use unicode for all key deletion. 2008-07-10 13:32:54 +02:00
Francois Gouget 09641eeddb regedit: Add support for 'regedit -' for feeding regedit from stdin. 2007-10-10 11:18:50 +02:00
Francois Gouget 0d2d994ecc regedit: Remove cruft and make functions static, reordering where necessary to avoid forward declarations.
Remove the command parameter of processRegLines() as it can only be used with processRegEntry().
2007-06-14 13:59:15 +02:00
Francois Gouget de2fc93b6b regedit: Remove setAppName() as the application name is hardcoded anyway. 2007-06-14 13:56:43 +02:00
Francois Gouget b668c52802 regedit: Move PerformRegAction() and get_file_name() around to eliminate forward references. Make them static. 2007-06-14 12:11:13 +02:00
Francois Gouget 0acb5810bf Assorted spelling fixes. 2007-05-15 18:09:16 +02:00
Thomas Spear abf204cd3c regedit: Spelling and grammar fixes. 2007-05-10 12:14:06 +02:00
Gerald Pfeifer cc5e910658 programs/regedit: Fix format specifiers for _stscanf and fprintf. 2006-10-10 13:39:06 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Steven Edwards 2dce23251b Remove an outdated comment in the command line options. 2005-06-23 09:47:17 +00:00
Mike McCormack d73dad6630 Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-04 10:01:25 +00:00
Francois Gouget fc1e5789fa Do a SearchPath before opening the file to improve compatibility with
the native regedit.
2004-01-13 05:07:07 +00:00
Dimitrie O. Paun 58c185ecf0 Reformat regedit in a consistent manner. 2003-12-08 22:48:07 +00:00
Francois Gouget 46f11eda58 Print error messages to stderr as is customary. 2003-12-05 04:42:06 +00:00
Vincent Béron ea6584d42c Fixed command line support. 2003-08-15 03:47:04 +00:00