Hugh McMaster
559086af62
reg/tests: Only pass a newly created HKEY if it is used in later tests.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 22:39:46 +02:00
Alexandre Julliard
c5c610e364
wusa: Restart 64-bit version from the system32 directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 11:15:18 +02:00
Alexandre Julliard
9dcdb90f42
winedbg: Restart 64-bit version from the system32 directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 11:15:18 +02:00
Alexandre Julliard
d30b39edbf
winecfg: Restart 64-bit version from the system32 directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 11:15:18 +02:00
Alexandre Julliard
59165212ca
wineboot: Restart 64-bit version from the system32 directory.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51006
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 11:15:14 +02:00
Alexandre Julliard
ba713a8cf0
uninstaller: Restart 64-bit version from the system32 directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 11:13:21 +02:00
Gijs Vermeulen
0bf71745f0
cmd: Use terminated strings.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48486
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-15 17:41:40 +02:00
Hugh McMaster
45b66285c3
reg/tests: Refactor 'add' tests into registry types, keys and syntax checks.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-15 17:41:40 +02:00
Hugh McMaster
f6566bf749
reg/tests: Test output of keys with a trailing backslash.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-15 17:41:40 +02:00
Hugh McMaster
f4b4398d79
reg/tests: Compare output of some 'query' recursion tests.
...
Recursively querying a registry key for a given value name produces an extra
line specifying the number of matches found.
This line is locale-specific, so we only exclude it from the comparison
on a test-by-test basis.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-15 17:41:40 +02:00
Hugh McMaster
5983247c3a
reg/tests: Compare 'query'test output with expected output.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-14 20:51:00 +02:00
Hugh McMaster
5bc2af7b1c
reg/tests: Give 'query' tests some structure.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-14 20:50:38 +02:00
Hugh McMaster
3d772fe408
reg/tests: Reorder failing 'query' tests.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-14 20:50:33 +02:00
Alexandre Julliard
c050df1250
winedbg: Use GetMappedFileNameW() as fallback when fetching module names.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-13 13:05:29 +02:00
Alexandre Julliard
39b20a2bd3
winedbg: Use QueryFullProcessImageNameW to retrieve the main image name.
...
Remove the psapi fallback that didn't work anyway.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-13 13:05:29 +02:00
Nikolay Sivov
d3ddc11864
sc: Fix typos in CLI arguments parsing.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-12 19:32:15 +02:00
Hugh McMaster
2b900e1c38
reg: Allow /reg:32 and /reg:64 switches to be passed via the command line.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44755
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-08 18:56:13 +02:00
Hugh McMaster
010cb1b405
reg: Print additional help messages when syntax is invalid.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-08 18:51:41 +02:00
Hugh McMaster
a47829e13d
reg/tests: Add tests for trailing backslashes after the system key.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-08 18:51:36 +02:00
Alexandre Julliard
7cea94349a
services: Propagate the WINEBOOTSTRAPMODE variable to spawned services.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-08 18:16:00 +02:00
Zebediah Figura
bc69e804e5
winedevice: Add a missing break statement to device_handler().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-08 12:14:31 +02:00
Hugh McMaster
fa24d458f5
reg: Remove unneeded ternary operator in RegDeleteValueW().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-06 22:46:12 +02:00
Alexandre Julliard
44f0a67ba5
regsvr32: Don't use GetBinaryType() on DLL files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-06 22:46:12 +02:00
Alexandre Julliard
8f2f59eee1
regedit: 64-bit regedit.exe is in c:\windows.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50933
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-06 12:39:28 +02:00
Gabriel Ivăncescu
8d076bc5e4
conhost: Fix line wrapping around when ENABLE_VIRTUAL_TERMINAL_PROCESSING is set.
...
Remember the fact we completed the entire line but normalize the cursor
otherwise. A newline is delayed so it wraps when writing a new character
if the cursor is outside the width.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-05 23:00:00 +02:00
Gabriel Ivăncescu
85c4adc80b
conhost: Wrap around immediately if ENABLE_VIRTUAL_TERMINAL_PROCESSING is not set.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-05 23:00:00 +02:00
Alexandre Julliard
495d9b5fb3
reg: Avoid non-portable Unicode character.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-05 22:59:56 +02:00
Hugh McMaster
07fdd5036c
reg: Only call get_long_key() when operations require it.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-05 20:14:02 +02:00
Zebediah Figura
73bfe36eab
winedevice: Introduce a custom service control to reënumerate root PnP devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-02 21:15:25 +02:00
Hugh McMaster
2c7d74594f
reg: Abort 'query' operation when parsing command-line arguments that are not switches.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-02 21:13:02 +02:00
Hugh McMaster
51e83dec29
reg: Abort 'delete' operation when parsing command-line arguments that are not switches.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-02 21:12:59 +02:00
Hugh McMaster
b2ead1ffcc
reg: Abort 'add' operation when parsing command-line arguments that are not switches.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-02 21:12:53 +02:00
Hugh McMaster
b80da20656
reg: Better indicate when a registry value is not found.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-01 18:27:16 +02:00
Hugh McMaster
fbecd56db8
reg: Prepend 'reg:' to two message strings.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-01 18:26:40 +02:00
Hugh McMaster
9b7a5cfb0e
reg: Add a new message to indicate when a registry key fails to import.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-01 18:26:02 +02:00
Hugh McMaster
fa2ed01352
reg: Add a message to better indicate when a specified registry key is not found.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-01 18:25:24 +02:00
Hugh McMaster
4df5c1641e
reg: Improve initial syntax checks during the 'export' operation.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-01 18:19:50 +02:00
Hugh McMaster
1b746c1e1c
reg: Use wide-char string literals in export.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-01 18:19:45 +02:00
Alexandre Julliard
997ae6ddc9
start: Import the correct command-line building algorithm from ntdll.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50873
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-01 18:16:24 +02:00
Jacek Caban
8ccf24ccb0
conhost: Delay window refresh on output update.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-31 19:26:09 +02:00
Hugh McMaster
1fadcf2409
reg: Use wide-char string literals in import.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Hugh McMaster
0c73f95b33
reg: Use wide-char string literals.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Hugh McMaster
aaf503e1de
reg: Use RegCreateKeyExW() instead of RegCreateKeyW().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Hugh McMaster
08976b3ee0
reg: Fail if duplicate command-line switches are passed to 'reg add'.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Hugh McMaster
9138f5893c
reg: Parse 'reg add' command-line arguments in add.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Hugh McMaster
434c345e41
reg: Parse 'reg delete' command-line arguments in delete.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Alexandre Julliard
afaf35b9e1
include: Add more SYSTEM_INFORMATION_CLASS definitions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Francois Gouget
55f648fac9
winetest: Clarify the 'version not present' error.
...
Most of the time the library is actually missing (or only available in
the wrong bitness). Show the error code to help diagnose the other
cases.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 18:42:47 +02:00
Francois Gouget
44222dc9f2
winetest: Detect and report the missing side-by-side version errors.
...
This replaces the 'load error 14001' error message with a clearer 'dll
is missing' information message.
Signed-off-by: Francois Gouget <fgouget@icodeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 18:42:47 +02:00
Hugh McMaster
cb749592e7
reg: Update a comment.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 18:42:47 +02:00
Hugh McMaster
eee0c1f8f9
reg: Use RegOpenKeyExW() instead of RegOpenKeyW().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 18:42:47 +02:00
Alexandre Julliard
d47be63fae
explorer: Store the graphics driver basename instead of the full path.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 18:42:46 +02:00
Alexandre Julliard
53ffeb67ee
winedevice: Add the drivers directory to the dll search path.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 18:42:46 +02:00
Hugh McMaster
2c84ec7ee0
reg: Fail if duplicate command-line switches are passed to 'reg query'.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-26 19:53:59 +01:00
Hugh McMaster
8e7738be92
reg: Parse 'reg query' command-line arguments in query.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-26 19:53:57 +01:00
Alexandre Julliard
15a6ee9440
start: Add a private /exec option to replicate the Wine command-line usage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-25 11:46:01 +01:00
Francois Gouget
12cfe68267
winetest: Remove the obsolete revision placeholder.
...
Back in the CVS days the start line contained the revision of the test
file. But it has been replaced by a placeholder since the switch to
Git.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:49:33 +01:00
Hugh McMaster
e319a463a2
reg: Add extended help for supported operations.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:46:23 +01:00
Hugh McMaster
cd03238dd0
reg/tests: Test whether a .reg file extension is required when exporting.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:46:23 +01:00
Hugh McMaster
89251073c7
reg/tests: Test whether overwriting a registry key modifies existing keys and values.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:46:23 +01:00
Hugh McMaster
a87a380a75
reg/tests: Add tests for duplicate command-line switches.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:46:23 +01:00
Hugh McMaster
be718697a2
reg: Use malloc(), realloc() and free() from stdlib.h instead of wine/heap.h.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:46:23 +01:00
Alexandre Julliard
1b4b4a9bb5
start: Avoid duplicate backslashes in command line.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:43:48 +01:00
Jacek Caban
8b934f03d4
winecfg: Use nameless unions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-23 09:32:45 +01:00
Jacek Caban
536de62cc6
winemenubuilder: Use nameless unions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-23 09:32:40 +01:00
Jacek Caban
a4b0732451
services: Use nameless unions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-23 09:32:34 +01:00
Jacek Caban
b39b9eea39
include: Don't default to WINE_NO_NAMELESS_EXTENSION for Wine build.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 21:48:38 +01:00
Michael Stefaniuc
55a9db677c
uninstaller: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Michael Stefaniuc
566321269d
uninstaller: Constify the string paramenter of output_array().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Hugh McMaster
42420f4d6c
reg: 'export' sorts before 'import'.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Hugh McMaster
d37375e470
reg: Use 'argvW' array naming in export.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Hugh McMaster
4cbf47054f
reg: Move 'import' syntax checks to reg_import().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Hugh McMaster
8801118e38
reg: Simplify basic syntax checks.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Hugh McMaster
7803c53cfe
reg: Merge common header #includes into reg.h.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Hugh McMaster
ab94653e8b
reg: Use is_switch() where possible.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Hugh McMaster
7e7d92d5e9
reg: Split 'add' functions from reg.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-17 20:40:14 +01:00
Hugh McMaster
81a3eecc3c
reg: Split 'delete' functions from reg.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-17 20:40:08 +01:00
Hugh McMaster
b80de87216
reg: Split 'query' functions from reg.c.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-17 20:40:02 +01:00
Francois Gouget
100b81e8a8
winetest: Don't parse the test list if 'test --list' failed.
...
Any non-zero exit code is grounds for ignoring the 'test --list'
output.
This also causes get_subtests() to return the actual process exit code
rather than a generic internal error when it fails to parse the test
list.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-16 10:47:02 +01:00
Francois Gouget
e618fb526d
winetest: Fix detecting whether a test can be run or not.
...
Rather than second-guessing the loader, run 'test.exe --list' with the
critical-error handler message box disabled and use the resulting exit
codes.
But keep the activation context and COM code to improve the chances of
getting the dll version.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45032
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50783
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-16 10:46:56 +01:00
Francois Gouget
18c12c6dbb
winetest: Show more detailed version error information.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-15 22:22:19 +01:00
Francois Gouget
21e9d51b36
winetest: Simplify the 'dll is native' error message.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-15 22:22:19 +01:00
Hugh McMaster
272d35afc6
reg: Stop parsing REG_SZ values containing NUL character sequences.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-12 12:49:42 +01:00
Hugh McMaster
b8b7979f9c
regedit: Stop parsing REG_SZ values containing NUL character sequences.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-12 12:49:39 +01:00
Hugh McMaster
7eb77bef05
regedit/tests: Add tests for escaped null characters.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-11 13:13:35 +01:00
Hugh McMaster
53fd4df85f
reg/tests: Try exporting registry values with escaped null characters.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-10 19:01:38 +01:00
Hugh McMaster
1c2b966999
reg/tests: Try importing registry files with escaped null characters.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-10 19:01:38 +01:00
Hugh McMaster
aa98e3f6da
reg/tests: Try deleting strings containing escaped null characters.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-10 19:01:38 +01:00
Francois Gouget
e9a0eeff41
winetest: Avoid duplicating the extract_test_proc() cleanup code.
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-10 19:01:38 +01:00
Rémi Bernon
6eff0342ad
winedbg: Don't dereference possibly NULL thread pointer.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-10 18:43:22 +01:00
Hugh McMaster
73f69d66b3
reg/tests: Always specify the expected exit code in error messages.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
Hugh McMaster
37ad10d92a
reg/tests: Update value names in 'add' overwrite test.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
Hugh McMaster
c5b7f04eea
reg/tests: Add some tests for strings containing the characters backslash zero.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
Hugh McMaster
f5c24e2c34
reg/tests: Group REG_SZ default value tests.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
Chao Long
7dba53a0f2
wmic: Add missing aliases.
...
Signed-off-by: Chao Long <longchao@uniontech.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 12:01:29 +01:00
Hugh McMaster
e3a738b156
reg/tests: Pass __FILE__ from the caller so the correct filename is shown in error logs.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-04 21:43:26 +01:00
Francois Gouget
e0d1bec916
conhost: Add a trailing linefeed to TRACE() and ERR() messages.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 20:42:44 +01:00
Francois Gouget
63958c1345
fsutil/tests: Add a trailing linefeed to an ok() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 20:42:38 +01:00
Hugh McMaster
17023a8100
reg/tests: Comprehensively check for elevated privileges before starting Windows 3.1 import tests.
...
The existing check fails to adequately determine the program's elevation
status on systems where the test key already exists. This can cause all
Windows 3.1 import tests to fail on systems with a standard user account.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 17:56:28 +01:00
Hugh McMaster
b369af9ac5
reg/tests: Fix copy/paste typo in reg.exe availability check.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 17:56:25 +01:00