Commit Graph

  • 5132711167 [WINESYNC] reg/tests: Update error messages. winesync 2022-01-16 21:17:19 +01:00
  • 44774b38b2 [WINESYNC] reg/tests: Add two REG_DWORD tests. winesync 2022-01-16 21:17:19 +01:00
  • a260cccef6 [WINESYNC] reg/tests: Fix a typo in a REG_DWORD test. winesync 2022-01-16 21:17:19 +01:00
  • fe627c0e6a [WINESYNC] reg/tests: Split the REG_DWORD_BIG_ENDIAN tests from the REG_DWORD tests. winesync 2022-01-16 21:17:19 +01:00
  • 6802956e33 [WINESYNC] reg/tests: Use string literals instead of a char buffer for REG_MULTI_SZ tests. winesync 2022-01-16 21:17:19 +01:00
  • 5e7302ebfd [WINESYNC] reg/tests: Add and amend tests adding a (Default) value. winesync 2022-01-16 21:17:19 +01:00
  • 123e459be5 [WINESYNC] reg: Use correct error message if RegCreateKeyExW() fails. winesync 2022-01-16 21:15:48 +01:00
  • 40d62f3c5b [WINESYNC] reg/tests: Verify that only the (Default) value is overwritten when neither /v nor /ve is specified. winesync 2022-01-16 21:15:48 +01:00
  • 1aea6bdfcf [WINESYNC] reg/tests: Rework syntax tests for the 'copy' operation. winesync 2022-01-16 21:15:48 +01:00
  • d9ac771683 [WINESYNC] reg: Don't enumerate a registry key for subkeys if we know the key does not have subkeys. winesync 2022-01-16 21:15:48 +01:00
  • 3dbd42081e [WINESYNC] reg: Print a new line when recursing and the current key has no registry values. winesync 2022-01-16 21:15:48 +01:00
  • 14b77379a7 [WINESYNC] reg: Only print the name of the registry key if it contains values or we are recursing. winesync 2022-01-16 21:15:48 +01:00
  • a3bf868efb [WINESYNC] reg: Do not print a line break after querying a registry key. winesync 2022-01-16 21:15:47 +01:00
  • f0c76942b7 [WINESYNC] reg: Consistently use 'hkey' for HKEY variables. winesync 2022-01-16 21:15:47 +01:00
  • a0060cdcee [WINESYNC] reg: Print the full key path without a trailing backslash. winesync 2022-01-16 21:10:12 +01:00
  • f42b63fd64 [WINESYNC] reg: Fail if a system key has a trailing backslash but no subkey path. winesync 2022-01-16 21:10:12 +01:00
  • f55096783d [WINESYNC] reg: Drop key output from the "Invalid system key" error message. winesync 2022-01-16 21:08:23 +01:00
  • 4771673c8f [WINESYNC] reg/tests: Add tests for querying a key only containing subkeys. winesync 2022-01-16 21:08:23 +01:00
  • d552b44ff8 [WINESYNC] reg/tests: Use 'hkey' in 'query' tests for consistency with other reg.exe tests. winesync 2022-01-16 21:08:23 +01:00
  • 2535ff3f1b [WINESYNC] reg/tests: Only try querying an invalid key once. winesync 2022-01-16 21:08:23 +01:00
  • 00ef8711f9 [WINESYNC] reg/tests: Test key creation and initialization of the Default registry value. winesync 2022-01-16 21:08:23 +01:00
  • ba10b11f88 [WINESYNC] reg/tests: Only pass a newly created HKEY if it is used in later tests. winesync 2022-01-16 21:08:23 +01:00
  • 3969dcc3de [WINESYNC] reg/tests: Refactor 'add' tests into registry types, keys and syntax checks. winesync 2022-01-16 21:08:23 +01:00
  • 16cc1ad771 [WINESYNC] reg/tests: Test output of keys with a trailing backslash. winesync 2022-01-16 21:08:23 +01:00
  • e77afe91c9 [WINESYNC] reg/tests: Compare output of some 'query' recursion tests. winesync 2022-01-16 21:08:22 +01:00
  • 5132d26c4c [WINESYNC] reg/tests: Compare 'query'test output with expected output. winesync 2022-01-16 21:08:22 +01:00
  • a12c844899 [WINESYNC] reg/tests: Give 'query' tests some structure. winesync 2022-01-16 21:08:22 +01:00
  • b12d798037 [WINESYNC] reg/tests: Reorder failing 'query' tests. winesync 2022-01-16 21:08:22 +01:00
  • b6bc8e1371 [WINESYNC] reg: Allow /reg:32 and /reg:64 switches to be passed via the command line. winesync 2022-01-16 21:06:06 +01:00
  • 9cf114d789 [WINESYNC] reg: Print additional help messages when syntax is invalid. winesync 2022-01-16 21:06:06 +01:00
  • a1330dea51 [WINESYNC] reg/tests: Add tests for trailing backslashes after the system key. winesync 2022-01-16 21:06:06 +01:00
  • b6ad4f3d27 [WINESYNC] reg: Remove unneeded ternary operator in RegDeleteValueW(). winesync 2022-01-16 21:06:06 +01:00
  • d472925c90 [WINESYNC] reg: Avoid non-portable Unicode character. winesync 2022-01-16 21:06:05 +01:00
  • a1c74056d1 [WINESYNC] reg: Only call get_long_key() when operations require it. winesync 2022-01-16 21:06:05 +01:00
  • 091880d29b [WINESYNC] reg: Abort 'query' operation when parsing command-line arguments that are not switches. winesync 2022-01-16 21:06:05 +01:00
  • fa6d473e3d [WINESYNC] reg: Abort 'delete' operation when parsing command-line arguments that are not switches. winesync 2022-01-16 21:06:05 +01:00
  • 0a5bdf825b [WINESYNC] reg: Abort 'add' operation when parsing command-line arguments that are not switches. winesync 2022-01-16 21:06:05 +01:00
  • 6c0f70db4d [WINESYNC] reg: Better indicate when a registry value is not found. winesync 2022-01-16 21:04:41 +01:00
  • 9a8e4a271a [WINESYNC] reg: Prepend 'reg:' to two message strings. winesync 2022-01-16 21:03:01 +01:00
  • 235d5af3af [WINESYNC] reg: Add a new message to indicate when a registry key fails to import. winesync 2022-01-16 21:01:12 +01:00
  • e11511da86 [WINESYNC] reg: Add a message to better indicate when a specified registry key is not found. winesync 2022-01-16 20:59:23 +01:00
  • 9b424b0080 [WINESYNC] reg: Improve initial syntax checks during the 'export' operation. winesync 2022-01-16 20:56:12 +01:00
  • ec55298764 [WINESYNC] reg: Use wide-char string literals in export.c. winesync 2022-01-16 20:51:04 +01:00
  • aae71dcb75 [WINESYNC] reg: Use wide-char string literals in import.c. winesync 2022-01-16 20:51:04 +01:00
  • 5eb878fe9c [WINESYNC] reg: Use wide-char string literals. winesync 2022-01-16 20:48:04 +01:00
  • b1bb43c991 [WINESYNC] reg: Use RegCreateKeyExW() instead of RegCreateKeyW(). winesync 2022-01-16 20:48:04 +01:00
  • cb66fe28ba [WINESYNC] reg: Fail if duplicate command-line switches are passed to 'reg add'. winesync 2022-01-16 20:48:04 +01:00
  • 65957cc65b [WINESYNC] reg: Parse 'reg add' command-line arguments in add.c. winesync 2022-01-16 20:48:04 +01:00
  • 409d7663c1 [WINESYNC] reg: Parse 'reg delete' command-line arguments in delete.c. winesync 2022-01-16 20:48:04 +01:00
  • 89f0bf94a3 [WINESYNC] reg: Update a comment. winesync 2022-01-16 20:48:04 +01:00
  • 6b9db85aaf [WINESYNC] reg: Use RegOpenKeyExW() instead of RegOpenKeyW(). winesync 2022-01-16 20:48:04 +01:00
  • 8dc46f32b0 [WINESYNC] reg: Fail if duplicate command-line switches are passed to 'reg query'. winesync 2022-01-16 20:48:04 +01:00
  • 354e15827d [WINESYNC] reg: Parse 'reg query' command-line arguments in query.c. winesync 2022-01-16 20:48:04 +01:00
  • 1b3f59f879 [WINESYNC] reg: Add extended help for supported operations. winesync 2022-01-16 20:41:28 +01:00
  • 949e2a8ccc [WINESYNC] reg/tests: Test whether a .reg file extension is required when exporting. winesync 2022-01-16 20:41:28 +01:00
  • 6d2c3a08bb [WINESYNC] reg/tests: Test whether overwriting a registry key modifies existing keys and values. winesync 2022-01-16 20:41:28 +01:00
  • 26226dc572 [WINESYNC] reg/tests: Add tests for duplicate command-line switches. winesync 2022-01-16 20:41:28 +01:00
  • 68d5548fd5 [WINESYNC] reg: Use malloc(), realloc() and free() from stdlib.h instead of wine/heap.h. winesync 2022-01-16 20:35:56 +01:00
  • 9b91b79551 [WINESYNC] reg: 'export' sorts before 'import'. winesync 2022-01-16 20:35:55 +01:00
  • fb4f651902 [WINESYNC] reg: Use 'argvW' array naming in export.c. winesync 2022-01-16 20:31:21 +01:00
  • b4d8b76a2f [WINESYNC] reg: Move 'import' syntax checks to reg_import(). winesync 2022-01-16 20:31:21 +01:00
  • f16c791548 [WINESYNC] reg: Simplify basic syntax checks. winesync 2022-01-16 20:25:19 +01:00
  • 01c1091e51 [WINESYNC] reg: Merge common header #includes into reg.h. winesync 2022-01-16 20:25:19 +01:00
  • fa84e69673 [WINESYNC] reg: Use is_switch() where possible. winesync 2022-01-16 20:25:18 +01:00
  • bcb87edb6a [WINESYNC] reg: Split 'add' functions from reg.c. winesync 2022-01-16 20:25:08 +01:00
  • 6fc87692b3 [WINESYNC] reg: Split 'delete' functions from reg.c. winesync 2022-01-16 20:22:40 +01:00
  • 761c3c9835 [WINESYNC] reg: Split 'query' functions from reg.c. winesync 2022-01-16 20:19:05 +01:00
  • 1007673889 [WINESYNC] reg: Stop parsing REG_SZ values containing NUL character sequences. winesync 2022-01-16 20:10:05 +01:00
  • 252e8fd1c7 [WINESYNC] reg/tests: Try exporting registry values with escaped null characters. winesync 2022-01-16 20:10:05 +01:00
  • 60a4a6313b [WINESYNC] reg/tests: Try importing registry files with escaped null characters. winesync 2022-01-16 20:10:05 +01:00
  • dbff9b0183 [WINESYNC] reg/tests: Try deleting strings containing escaped null characters. winesync 2022-01-16 20:10:05 +01:00
  • 2d45084d7f [WINESYNC] reg/tests: Always specify the expected exit code in error messages. winesync 2022-01-16 20:10:04 +01:00
  • bfe2251b54 [WINESYNC] reg/tests: Update value names in 'add' overwrite test. winesync 2022-01-16 20:10:04 +01:00
  • 1e0e137f14 [WINESYNC] reg/tests: Add some tests for strings containing the characters backslash zero. winesync 2022-01-16 20:10:04 +01:00
  • 8789d86699 [WINESYNC] reg/tests: Group REG_SZ default value tests. winesync 2022-01-16 20:10:04 +01:00
  • 0790755208 [WINESYNC] reg/tests: Pass __FILE__ from the caller so the correct filename is shown in error logs. winesync 2022-01-16 20:10:04 +01:00
  • 0b6ea9f2d7 [WINESYNC] reg/tests: Comprehensively check for elevated privileges before starting Windows 3.1 import tests. winesync 2022-01-16 20:10:04 +01:00
  • 2161165dca [WINESYNC] reg/tests: Fix copy/paste typo in reg.exe availability check. winesync 2022-01-16 20:10:04 +01:00
  • a09c8c41ee [WINESYNC] reg/tests: Rename reg.c to add.c. winesync 2022-01-16 20:09:36 +01:00
  • 295a04df51 [WINESYNC] reg/tests: Split 'copy' tests from reg.c. winesync 2022-01-16 20:09:11 +01:00
  • 15a1b9ab16 [WINESYNC] reg/tests: Split 'export' tests from reg.c. winesync 2022-01-16 20:07:57 +01:00
  • 22af0f3d73 [WINESYNC] reg/tests: Split Windows 3.1 'import' tests from reg.c. winesync 2022-01-16 20:07:57 +01:00
  • b3c6571866 [WINESYNC] reg/tests: Split whitespace 'import' tests from reg.c. winesync 2022-01-16 20:07:57 +01:00
  • c67c2bb20a [WINESYNC] reg/tests: Split first sequence of Unicode 'import' tests from reg.c. winesync 2022-01-16 20:07:57 +01:00
  • 6498aac70c [WINESYNC] reg/tests: Split first sequence of 'import' tests from reg.c. winesync 2022-01-16 20:03:14 +01:00
  • 7fcb8aca93 [WINESYNC] reg/tests: Split 'query' tests from reg.c. winesync 2022-01-16 19:59:50 +01:00
  • bcfd09deb7 [WINESYNC] reg/tests: Split 'delete' tests from reg.c. winesync 2022-01-16 14:51:46 +01:00
  • 1b41b722d0 [WINESYNC] reg/tests: Add tests for forward and back slashes in key and value names. winesync 2022-01-16 14:51:45 +01:00
  • d4dc3ccab1 [WINESYNC] reg/tests: Add additional tests with embedded NUL characters. winesync 2022-01-16 14:51:45 +01:00
  • f3c6b93bb6 [WINESYNC] reg/tests: Replace RegCloseKey() with the helper function close_key(). winesync 2022-01-16 14:51:45 +01:00
  • 3b511b56d7 [WINESYNC] reg/tests: Verify registry export after each empty key test. winesync 2022-01-16 14:51:45 +01:00
  • 70f06b31a9 [WINESYNC] reg/tests: Always overwrite export test file during 'export' sequence. winesync 2022-01-16 14:51:45 +01:00
  • 5b42e659ce [WINESYNC] reg/tests: Check for key non-existence with verify_key_nonexist(). winesync 2022-01-16 14:51:45 +01:00
  • 4dbcf50583 [WINESYNC] reg/tests: Move /v* syntax tests to the 'add' and 'delete' test sequences. winesync 2022-01-16 14:51:45 +01:00
  • 855cf07c70 [WINESYNC] reg/tests: Ensure test key is fully removed before each sequence begins. winesync 2022-01-16 14:51:45 +01:00
  • e163213a0f [WINESYNC] reg/tests: Check for elevated privileges before cleaning up the Windows 3.1 test key and running unit tests. winesync 2022-01-16 14:51:44 +01:00
  • ee54c25871 [WINESYNC] reg/tests: Add initial syntax tests for 'reg copy'. winesync 2022-01-16 14:51:44 +01:00
  • 7b9269fc8e [WINESYNC] reg: FormatMessage() now reports ERROR_NO_WORK_DONE error for empty string. winesync 2022-01-16 14:51:29 +01:00
  • 4a66cbb224 [DISKPART] Add help text for the FORMAT command Eric Kohl 2022-06-19 08:28:53 +02:00
  • 3ca37d6eaf [DISKPART] Support quoted options in commands Eric Kohl 2022-06-18 13:27:56 +02:00