Commit Graph

97 Commits

Author SHA1 Message Date
Hugh McMaster c59e3eae3b reg: Do not allow combinations of /v, /ve or /va in the 'delete' function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:43 +09:00
Hugh McMaster ae48fbafa8 reg: Ask the user whether they want to overwrite an existing registry value.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 21:51:10 +09:00
Hugh McMaster 2b06308fdb reg: Output program name instead of the generic 'Error'.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 21:49:42 +09:00
Hugh McMaster 5654b91f7c reg: Specify the data type that is unsupported.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 21:45:05 +09:00
Hugh McMaster 5f07f81ad1 reg: Output messages with a variable number of arguments and convert message arrays to strings.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 21:41:12 +09:00
Hugh McMaster dfe1c2b57c reg: Use FormatMessage for easier internationalization support.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 21:39:20 +09:00
Hugh McMaster bfcee1f149 reg: Split reg_printfW into separate functions.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 21:39:16 +09:00
Hugh McMaster dcd05e8e86 reg: Remove stub output from the 'add' and 'delete' functions.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:05:24 +09:00
Hugh McMaster 9e4e1cf9be reg/tests: Fix the add empty type test.
The exit code of this test will always be REG_EXIT_FAILURE,
so the return code is neither broken nor todo_wine.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:49:19 +09:00
Jonathan Vollebregt 60f599f584 reg: Simplify root key search.
Signed-off-by: Michel Zou <xantares09@hotmail.com>
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2015-10-07 21:28:54 +09:00
Thomas Faller 5c9526cb6c reg: Implement binary data add operation. 2015-09-07 15:04:49 +09:00
Jonathan Vollebregt 0898bd22bf reg: Add wchar/type conversion functions. 2015-02-23 22:07:07 +09:00
Jonathan Vollebregt 513505d6c4 reg: Add a check for multiple backslashes at the end of the key. 2015-02-23 22:05:55 +09:00
Jonathan Vollebregt 208ca071dc reg: Add sane_path function to do preliminary key validation. 2015-02-23 22:03:34 +09:00
Jonathan Vollebregt 4db1e20122 reg/tests: Test REG_NONE. 2014-12-15 14:16:08 +01:00
Jonathan Vollebregt c15e87cec4 reg/tests: Test for integer overflow. 2014-12-15 14:16:05 +01:00
Sebastian Lackner f6b552324e reg.exe: Fix incorrect usage of CompareString in get_rootkey. 2014-11-19 23:36:34 +09:00
Jonathan Vollebregt e6acf969e7 reg/tests: Test result for deleting key that doesn't exist. 2014-11-07 14:41:33 +09:00
Jonathan Vollebregt 82c6c10428 reg/tests: Test for empty type and empty binary input. 2014-11-06 23:47:13 +09:00
Jonathan Vollebregt 1256177dc2 reg/tests: Move key format test section below first key creation. 2014-11-04 13:27:41 +09:00
Jonathan Vollebregt 375f9c9905 reg/tests: Delete keys manually to prevent timeout on winxp/win2k. 2014-11-04 13:27:24 +09:00
Jonathan Vollebregt f8445249a6 reg/tests: Test key formats. 2014-10-27 14:36:09 +09:00
Jonathan Vollebregt d2e6e210ac reg/tests: Add REG_DWORD_BIG_ENDIAN tests for reg add. 2014-10-24 19:58:04 +09:00
Jonathan Vollebregt 90dcfadf9a reg/tests: Add REG_BINARY tests for reg add. 2014-10-24 19:58:04 +09:00
Jonathan Vollebregt 53a5a837d2 reg/tests: Add REG_MULTI_SZ tests for reg add. 2014-10-24 19:58:04 +09:00
Jonathan Vollebregt 6552893824 reg/tests: Add REG_EXPAND_SZ tests for reg add. 2014-10-24 19:58:04 +09:00
Jonathan Vollebregt b2c99522a6 reg/tests: Add negative DWORD tests. 2014-10-24 19:58:04 +09:00
Akihiro Sagawa a99d3c5bff reg: Add reg.exe test suite. 2014-09-11 16:55:28 +02:00
Jonathan Vollebregt b823337f65 reg.exe: Fix stack overflow on large registry keys. 2014-09-02 20:54:46 +02:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +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 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Francois Gouget f9c2e21fb1 reg: Use the CSTR_XXX macros instead of numeric literals. 2012-06-21 08:33:54 +02:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Francois Gouget 5bc1aff578 programs: Document the reason for the WriteConsole() fall back. 2011-08-24 19:07:45 +02:00
Alexandre Julliard 7ca7138b40 reg: Convert translations to po files. 2011-01-04 20:27:33 +01:00
Andrew Nguyen 060c8f0c6e reg: Accept full names of the standard registry hives. 2011-01-04 14:51:39 +01:00
Hwang YunSong 792d15562d reg: Update Korean resource. 2011-01-03 11:54:05 +01:00
Luca Bennati c12965b7e9 reg: Update Italian translation. 2010-09-23 17:50:11 +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
Anders Jonsson 41f778f50e reg: Add Swedish translation. 2010-08-16 12:58:54 +02:00
Alexandre Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Gustavo Henrique Milaré 5356e20261 reg: Update Portuguese (Brazilian) translation. 2010-07-01 10:09:40 +02:00
Igor Paliychuk 3762d1c9f8 reg: Ukrainian translation update. 2010-06-29 10:54:33 +02:00
Michael Stefaniuc c3e602c6b5 reg: Add the Romanian translation.
Translation by Claudia Cotună, reviewed by Alexandru Băluț.
2010-06-25 12:50:31 +02:00
Jose Rostagno 294f4e2ff1 reg: Add Spanish translation. 2010-06-10 13:13:46 +02:00
Łukasz Wojniłowicz da342c72cf reg: Update the Polish translation. 2010-06-07 12:54:43 +02:00
Paul Vriens 9c02314d7e reg: Update the Danish translation and convert to UTF-8.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-01 17:50:25 +02:00
Sven Baars 9ad9012fcf reg: Fix Dutch translation. 2010-06-01 11:04:07 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00