Commit Graph

45 Commits

Author SHA1 Message Date
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
Alexandre Julliard f752b1246b Authors: Robert Dickenson <robd@reactos.org>, Steven Edwards <Steven_Ed4153@yahoo.com>, Mike McCormack <mike@codeweavers.com>
Implemented GUI for regedit.
2003-08-07 03:10:13 +00:00
Gregg Mattinson b6666f93ca Avoid multi-line string constants. 2002-07-03 01:15:52 +00:00
Andriy Palamarchuk f5aad76936 Added regedit unit test, a couple minor changes to regedit. 2002-06-20 23:09:33 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Andriy Palamarchuk cff4a12bdf Fixed a problem when regedit interpreted file names, starting from '/'
as switches.
2002-05-04 18:30:27 +00:00
Andriy Palamarchuk 4e2e176c2f Created regedit replacement. Fixed some bugs. 2002-04-11 23:58:40 +00:00