Commit Graph

6961 Commits

Author SHA1 Message Date
Marcus Meissner 0d06ebf5fb manpages: Markup fixes.
Reported by Eric S. Raymond.

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 01:38:23 +09:00
Michael Müller 183e8cf14e shutdown: Add stub implementation.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:32:46 +09:00
Hugh McMaster 8220a32e0a reg: Display the default value name when ask_confirm() is passed "" for reg_info.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:31:47 +09:00
Hugh McMaster 81a030b934 reg: Delete the default registry value instead of overwriting it.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:31:44 +09:00
Sebastian Lackner 6780c20342 services: Fix calculation of service timeout.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:29:02 +09:00
Sebastian Lackner 4931f5fbe9 services: Get rid of unnecessary locks.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:29:00 +09:00
Sebastian Lackner 34fd639801 services: Do not distinguish between shared/exclusive lock.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:28:58 +09:00
Sebastian Lackner 0819c739ec services: Remove pipe argument from service_send_command function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:28:55 +09:00
Sebastian Lackner 20633b292b services: Consistently use InterlockedIncrement to increment refcount.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:28:53 +09:00
Hugh McMaster a573f237d0 reg: Fail if the data for REG_MULTI_SZ begins with a separator.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 17:45:01 +09:00
Hugh McMaster afa5251b10 reg: Fail if the data for REG_MULTI_SZ contains two adjacent separators.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 17:44:59 +09:00
Daniel Lehman 26b37c40e7 winedbg: Handle the 4th parameter for 64-bit C++ exceptions.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 19:54:17 +09:00
Sebastian Lackner e931f0e83d winedevice: Get rid of global driver_hkey variable and fix some leaks.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 18:41:38 +09:00
Sebastian Lackner 4bed3d231e winedevice: Use LdrFindEntryForAddress to find LDR_MODULE address.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 18:40:21 +09:00
Hugh McMaster b57b998354 reg: Ignore the slash zero character sequence if a custom separator is specified.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 21:59:42 +09:00
Hugh McMaster 3cd90a43bb reg/tests: Test handling of null and user-specified separators.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 21:59:42 +09:00
Hugh McMaster 47b2238b3d reg: Add support for REG_MULTI_SZ.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Hugh McMaster 786eb1a70e reg/tests: Add two more tests for REG_MULTI_SZ.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Hugh McMaster 965dee67c1 reg/tests: Add a test for REG_NONE with no data argument.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:22 +09:00
Hugh McMaster 7c50e34efe reg/tests: Add a test for base 10 overflow.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:22 +09:00
Hugh McMaster 3c7b7ece37 reg: Fail if the data value passed with REG_DWORD will cause an overflow.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:21 +09:00
Hugh McMaster 99f2cebe86 reg/tests: Add more tests for REG_MULTI_SZ.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:21 +09:00
Hugh McMaster 5e6429520b reg: Allow either lowercase or uppercase 'x' when used with REG_DWORD.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:21 +09:00
Hugh McMaster 8a902f3761 reg: Fail if the separator for REG_MULTI_SZ is not one character in length.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:05 +09:00
Hugh McMaster 5a2ddc8d25 reg/tests: Add a test for /s with no separator character.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:04 +09:00
Hugh McMaster 46bdc153f1 reg: Fail if /s is used without an accompanying argument.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:04 +09:00
Hugh McMaster acb4e3f63a reg: Explicitly use base 10 or base 16 with strtoulW.
All Windows versions, except XP, parse the number 0123 as decimal.
(XP parses 0123 as octal).

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:29 +09:00
Hugh McMaster 474361ecb4 reg: Fail if the data argument for REG_DWORD begins with a minus sign.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:29 +09:00
Hugh McMaster 948888b950 reg: Use strtoulW during conversion so we can set any value in the DWORD range.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:29 +09:00
Hugh McMaster 2fd010110a reg: Fail if strtolW cannot convert the entire data string into a DWORD.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:28 +09:00
Hugh McMaster 0f42948bf1 reg/tests: Add two more tests for REG_DWORD.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:28 +09:00
Sebastian Lackner 94fb7c3b8b services: Start SERVICE_FILE_SYSTEM_DRIVER services with winedevice.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 14:46:26 +09:00
André Hentschel d15a807c3c reg/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 12:09:39 +09:00
Hugh McMaster aa9d2a7c17 reg: Abort the process if get_regdata returns NULL.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:32:26 +09:00
Hugh McMaster 07c6b1392f reg: Add case for REG_MULTI_SZ.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:32:01 +09:00
Hugh McMaster b14e1ba801 reg: Handle data for REG_DWORD_LITTLE_ENDIAN and REG_DWORD_BIG_ENDIAN.
REG_DWORD_LITTLE_ENDIAN is #define'd as REG_DWORD, so the LITTLE_ENDIAN
case is just a comment added for clarity.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:31:20 +09:00
Hugh McMaster 03afd26eb1 reg: Handle data for REG_EXPAND_SZ.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:31:09 +09:00
Hugh McMaster f1d45b5f44 reg: Handle data from REG_NONE.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:31:03 +09:00
Hugh McMaster 5061899c46 reg: Fail if REG_DWORD is passed with no data argument.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:19 +09:00
Hugh McMaster e0492b27ac reg: Call RegCloseKey before exiting if the user chooses to cancel the overwriting operation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:17 +09:00
Hugh McMaster 3c340fda68 reg: Fail when /d is used without an accompanying argument.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 22:13:28 +09:00
Hugh McMaster 2c0359fb3c reg/tests: Fix incorrect expected value.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 22:13:25 +09:00
Hugh McMaster acf0c92943 reg/tests: Add tests for /d with no data argument.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:45 +09:00
Hugh McMaster 20a41d0339 reg: Ask the user if they want to delete the subkey, value, default value or all values.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:44 +09:00
Hugh McMaster a365418ae2 reg: Add support for the default registry value in ask_confirm().
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 a2bdfbae39 reg/tests: Add tests for /v* flags.
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 c0b26a649e reg: Do not allow /v and /ve to be used together in the 'add' 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 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
Bernhard Übelacker 9a08714c02 include: Implement todo_wine_if for usage in wine tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:09:27 +09:00
Charles Davis 48737f0e68 icacls: New stub program.
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:14:31 +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 bb29a9bf5b wineconsole: Improve a user dialog resource string.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 01:25:49 +09:00
Hugh McMaster 969151755a wineconsole: Apply the selected background colour to the entire font preview dialog.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:28:45 +09:00
Hugh McMaster 1948104cc9 wineconsole: Apply the new background colour to the visible screen buffer.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:28:32 +09:00
Jactry Zeng f80a3f6c25 winecfg: Use better shortcut keys.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 23:56:07 +09:00
Alexandre Julliard 91a394a616 explorer: Support a quoted /desktop option.
Workaround for Worms Armageddon which uses an invalid but previously
supported syntax.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-14 19:41:49 +09:00
Sebastian Lackner c634f34aae cmd: Fix sharing permissions of piped output files.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 00:45:49 +09:00
Jared Smudde 4b4288f869 winefile: Set MDI child icon.
Signed-off-by: Jared Smudde <computerwhiz02@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:12:35 +01:00
Hugh McMaster 8ac323f61b wineconsole: Send the largest console window size information to the server.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:07:34 +01:00
Jared Smudde 6a9b4d1667 winefile: Use own icon in run dialog.
Signed-off-by: Jared Smudde <computerwhiz02@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 08:14:04 +01:00
Nikolay Sivov ff94fc1daf oleview: Use proper pointer type when allocating names array (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 22:38:29 +01:00
André Hentschel 4f1ed54c7d winedbg: Remove a dead assignment (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-25 14:07:16 +01:00
André Hentschel 054ca8f3c7 wineboot: Remove dead code (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-25 14:06:52 +01:00
André Hentschel 67e5e8edf6 services: Fix access adjustment by reordering code (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:59:20 +01:00
Austin English bda46cc6fd iexplore: Sync registry and program resource values.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 10:46:49 +01:00
Nikolay Sivov f2538c6e26 winemenubuilder: Simplify MIME types list management.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 10:42:34 +01:00
Nikolay Sivov c9fb3b7f8f regedit: Fix potential buffer leak, simplify error handling (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 09:51:30 +01:00
Nikolay Sivov a11b8ded1d winecfg: Fix a crash on empty size field in Desktop Integration.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-12 05:28:16 +01:00
Hugh McMaster 05bc632add cmd: Do not overwrite a user-specified Prompt variable.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-09 00:53:40 +09:00
Alex Henrie 7e5cb21540 winecfg: Widen "Folder" column to accommodate Catalan translation.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-08 16:20:01 +09:00
Francois Gouget 9d90c897ce winecfg: Tweak sizes and alignments so the 'Font' button does not clip in Portuguese (Portugal).
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:30:56 +09:00
Piotr Caban 0722a25dcd msiexec: Avoid broken pipe error caused by setting SERVICE_STOPPED state twice.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 21:56:20 +09:00
Sebastian Lackner d38b334bab wineboot: Remove unused declaration for __wine_make_process_system.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:46:35 +09:00
Austin English 0e40a9bed7 iexplore: Add 'HKCR\Applications\iexplore.exe\shell\open\command' key.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-03 20:05:15 +09:00
Michael Müller a78efe16f7 winedbg: Print windows version in system info.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-03 16:21:15 +09:00
Francois Gouget 413c6f60cf Assorted spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 12:59:52 +09:00
Alexandre Julliard 6e6a0e2a2c winoldapp: Grab the Win16 lock again before exiting.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:53 +09:00
Andrey Gusev 95baccdf7e progman: Fix GROUP_AddGroup() declaration.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 15:38:54 +09:00
Jiaxing Wang ebacf05258 regedit: Need 3 bytes of room at end of buffer for \r\n\0 to avoid endless loop.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 23:58:28 +09:00
Nikolay Sivov 0a3e54480a sc: Fix service handle leak on error path (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 01:28:31 +09:00
Alexandre Julliard 9db3444e40 explorer: Treat unrecognized options as a file to open.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-24 22:58:44 +09:00
Francois Gouget 46e94c8d19 cmd/tests: Fix the builtin tests when the current directory contains a space.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:11 +09:00
Francois Gouget 50cb282c8c cmd/tests: Fix the %~a check on Windows >= 8.
Starting with Windows 8 %~a reports two new attributes, most likely to
match the new +X and +V attrib options (integrity and no_scrub_data
respectively).

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 12:25:44 +09:00
Francois Gouget 9dee791516 cmd/tests: Use net session to verify we have sufficient privileges.
Modifying the associations requires holding administrator+elevated privileges.
'net session' is the standard way of checking that in batch files.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 00:21:45 +09:00
Francois Gouget a9513cf446 cmd/tests: Fix handling of synchronization line mismatches.
If the synchronization line does not match assume that we skipped some tests.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 00:21:37 +09:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Hugh McMaster 16cb9c4cb7 cmd: 'del' should set %errorlevel% to zero, not one, on error.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Hugh McMaster ca8b3843ab cmd: Set colour attributes when clearing the screen with 'cls'.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:51:25 +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
Alexandre Julliard fc5739411d makefiles: Expand the test resource list through a makefile variable.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:53 +09:00
Nikolay Sivov 136d6755de winemine: Fix loading program state from registry.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 16:43:25 +09:00
Austin English b871ebdc77 wmplayer: Add stub program.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 18:39:49 +09:00
Hugh McMaster 313e064a44 wineconsole: Pass font size information to wineserver.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:24 +09:00
Hugh McMaster 9096373048 wineconsole: Add if check to determine whether a font attribute has changed.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:23 +09:00
Alexandre Julliard 17ac5ba7f9 makefiles: Specify whether to install program binaries in the individual makefiles.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 14:58:50 +09:00
Francois Gouget a96f7f13ce oleview: Remove an unneeded NONAMELESSUNION define.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 21:44:57 +09:00
Alexandre Julliard 90d66cc874 makefiles: Only define the dummy target in makefiles that need it.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 21:36:15 +09:00
Alexandre Julliard 8e77d6a24d wineconsole: Accept a too large font if we can't find one that fits the screen. 2015-10-21 00:25:33 +09:00
Alexandre Julliard 15f8b01223 wineconsole: Deal with fonts that don't have a uniform character width.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Bernhard Übelacker 74c2989db3 taskmgr: Fix changing of debug channels.
Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 13:26:26 +09:00
Frédéric Delanoy e6042cf6a6 cmd/tests: Simplify boolean expressions (PVS-Studio).
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:51:23 +09:00
Frédéric Delanoy 23e7b5a6b0 cmd: Simplify boolean expressions (PVS-Studio).
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:51:17 +09:00
Michael Stefaniuc 915bdcbdca winemenubuilder: Simplify an if-condition (PVS-Studio).
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:51:01 +09:00
Nikolay Sivov 6de871c01b regsvr32: Simplify conditional expression (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:23 +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
Dmitry Timoshkov 26db80b685 oleview: Always check return value of SendMessage(TVM_GETITEM).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-07 21:28:51 +09:00
Dmitry Timoshkov 65187a0b99 oleview: Remove useless check for hPrevInst.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-07 21:28:51 +09:00
Dmitry Timoshkov e10db2f22e oleview: Correctly set window's class background and cursor.
Otherwise background of some windows doesn't match current theme, and
mouse cursor sometimes gets stuck after moving over vertical splitter.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-07 21:28:51 +09:00
Dmitry Timoshkov edb35ff096 oleview: Fix compilation with PSDK.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-07 21:28:51 +09:00
Hans Leidekker c0b3f3f2e8 msiexec: Add support for /passive.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-10-06 17:21:02 +09:00
Hans Leidekker 171a4c4154 msiexec: Fix parsing of basic UI level modifiers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-10-06 17:21:02 +09:00
André Hentschel 645ffcbdd3 wineboot: Remove unused macro.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-06 00:01:56 +09:00
André Hentschel 30c5f3bd63 wineboot: Move a function call after a possible return.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
2015-10-05 22:27:12 +09:00
Michael Müller 5d4a961789 wineconsole: Forward child process exitcode.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-01 16:27:01 +09:00
Jared Smudde 3966affe06 winemine: Load main icon in the about window. 2015-09-25 22:20:21 +02:00
Nikolay Sivov a72482fd39 regedit: When sorting by key type consistently compare types.
Otherwise when sorting by type for key with same type list get sorted by
name.
2015-09-15 16:04:22 +09:00
Nikolay Sivov e428884c0c regedit: Block sorting by key value. 2015-09-15 16:04:12 +09:00
Hugh McMaster e19a8fd706 regsvr32: Return the most recent error code, even if later DLLs succeed. 2015-09-09 19:47:33 +09:00
Hugh McMaster 07cc9a34a8 regsvr32: Process the next file in the array if an error occurs.
The Windows version stops processing the current file and moves to the
next file on the first error.
2015-09-07 20:42:04 +09:00
Hugh McMaster 48c7a3f4d7 regsvr32: Call InstallDll before UnregisterDll when using /u /i. 2015-09-07 20:42:01 +09:00
Thomas Faller 5c9526cb6c reg: Implement binary data add operation. 2015-09-07 15:04:49 +09:00
Hugh McMaster 80c3fca056 regsvr32: Do not attempt to register '/' or '-'. 2015-09-03 21:11:06 +09:00
Hugh McMaster 76162a4ea8 regsvr32: Use correct exit code when DllRegisterServer, DllUnregisterServer and DllInstall fail. 2015-09-03 19:02:21 +09:00
Hugh McMaster 99ecebe90d regsvr32: Use INVALID_ARG define instead of magic 1. 2015-09-02 22:45:51 +09:00
Hugh McMaster 4a4baf2566 regsvr32: Use correct exit code when LoadLibraryEx fails. 2015-09-02 22:45:49 +09:00
Hugh McMaster 68a5642d5c regsvr32: Use correct exit code when GetProcAddress fails. 2015-09-02 22:45:45 +09:00
Hugh McMaster b09e98da78 regsvr32: /n and /u /n should be handled as invalid flags. 2015-09-02 16:41:11 +09:00
Hugh McMaster d3b55e99e9 regsvr32: Process flags before files. 2015-08-31 20:13:26 +09:00
André Hentschel b952703a2e winedbg: Update minidump output. 2015-08-29 14:28:59 +09:00
Sebastian Lackner 8a73016819 notepad: New files should be created immediately. 2015-08-25 17:43:01 +09:00
Hugh McMaster fb01bc0428 uninstaller: Add help switch and usage information. 2015-08-21 15:52:23 +09:00
Hugh McMaster 8432e7dd30 uninstaller: Add WriteFile fallback. 2015-08-19 20:19:57 +09:00
Michael Müller 130c655e2f winecfg: Do not overwrite theme each time an item is drawn. 2015-08-19 20:19:57 +09:00
Thomas Faller 1d09a35878 cmd: Implement 'echo/'. 2015-08-19 08:39:26 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Hugh McMaster 4335c464c3 uninstaller: Output Unicode program names in CLI mode. 2015-08-18 14:39:43 +09:00
Hugh McMaster 7bde6ec4ae uninstaller: Add WriteConsoleW support. 2015-08-18 14:39:12 +09:00
Carlo Bramini 75e03c13e1 winecfg: Simplify code by using SetDlgItemInt. 2015-08-17 14:51:43 +09:00
André Hentschel 27bf278d72 ntdll: Add support for Win 10. 2015-08-13 15:04:29 +09:00
Sebastian Lackner 29b55a5cae wineconsole: Consistently return nonzero exitcode on error. 2015-07-30 23:48:39 +02:00
Hao Peng e48c3e466c regsvr32: Change regsvr32 to a GUI program. 2015-07-29 21:44:04 +02:00
André Hentschel 3549810faa winedbg: Remove dead variable (Clang). 2015-07-22 07:24:21 +02:00
André Hentschel 457c5f1977 notepad: Use character count for GetFileTitleW (Coverity). 2015-07-20 06:32:54 +02:00
André Hentschel b5c3408a5e wordpad: Copy the correct amount of data with lstrcpynW (Coverity). 2015-07-20 06:32:47 +02:00
Frédéric Delanoy 881ae8fc31 wineconsole: Leave more room for translations in resource file. 2015-07-20 06:30:07 +02:00
Huw Davies 3e7f0e685b net: Don't call CloseServiceHandle() with an invalid handle. 2015-07-16 21:20:52 +09:00
Hugh McMaster c3dd56c993 wineconsole: Allow users to enable or disable Insert Mode via the user dialog. 2015-07-13 22:22:57 +09:00
Hugh McMaster f85b46912a wineconsole: Rearrange user dialog to make room for new controls and improve resource strings. 2015-07-13 22:21:58 +09:00
Bernhard Übelacker 94c6e3af3a oleview: Call RegEnumValueW with value and val_count parameters. 2015-07-08 16:02:25 +09:00
Bernhard Übelacker cf6477ab27 regedit: Call RegEnumValueW with value and val_count parameters. 2015-07-08 16:02:24 +09:00
Alex Henrie 660021d0fc cmd: Consistently wrap lines to 75 characters.
75 characters is the maximum length of a line before gettext breaks it,
so this convention will cause each translatable string to fit snugly
into the po files. It's also about what we were doing anyway, just not
consistently.

The biggest advantage to consistent line wrapping is that translators
will no longer have to guess where they should insert line breaks.

I have rewrapped the Catalan, Czech, Danish, German, Spanish, Finnish,
French, Croatian, Hungarian, Italian, Lithuanian, Norwegian, Dutch,
Polish, Portuguese, Romanian, Russian, Slovene, Swedish, Turkish, and
Ukranian translations so as to not burden their maintainers.

The Bulgarian, Greek, Esperanto, Farsi, Hindi, Malayalam, Oriya, Punjabi,
Romansh, Slovak, Serbian, Telugu, Thai, and Walloon translations did not
need to be rewrapped.

I removed Hebrew "translations" of cmd.rc that were just copies of the
English strings, and marked cmd.rc:142 as fuzzy if the translation
mentioned wine.conf.

Single-line translations that were 80 characters long or less were not
wrapped.

The Arabic, Japanese, Korean, and Chinese translations still need to be
rewrapped.
2015-07-06 14:49:40 +09:00
Hugh McMaster ef0f0ad1d0 wineconsole: Add HKCU registry entries for Insert Mode. 2015-06-30 20:55:05 +09:00
Michael Stefaniuc 51144d6a6d explorer: Print the debug string and not the pointer to it. 2015-06-30 17:40:27 +09:00
Nikolay Sivov d11b498c81 winecfg: Fix string buffer length for override settings (Valgrind). 2015-06-29 18:51:03 +09:00
Nikolay Sivov 74c3a4a7e7 winecfg: Fix a leak when applying drive changes (Coverity). 2015-06-29 18:51:02 +09:00
Hugh McMaster db4a8bf0ec regsvr32: Clean up and update comments to reflect changes to the codebase. 2015-06-26 20:44:28 +09:00
Akihiro Sagawa c908c9c7c9 winetest: Add SystemPreferredUILanguages to the log.
A few GDI functions are affected by System account's display
language (by GetSystemPreferredUILanguages).
2015-06-25 14:29:39 +09:00
Thomas Faller 3cda870469 cmd: Fix invalid "else if" execution. 2015-06-25 13:56:40 +09:00
Jared Smudde 49b6b60e23 winhlp32: Move Always on top to Options. 2015-06-24 19:09:59 +09:00
Hugh McMaster 3f01461ddc regsvr32: Make Dll* exports WINAPI. 2015-06-24 19:07:12 +09:00
Hugh McMaster 485b8dfcf2 regsvr32: Add WriteFile fallback if WriteConsole fails. 2015-06-24 19:06:34 +09:00
Hugh McMaster fdae80d45f regsvr32: Convert codebase to Unicode. 2015-06-24 19:06:32 +09:00
Gerald Pfeifer ced33792ff winedbg: Avoid "uninitialized variable" compiler warning in types_extract_as_longlong. 2015-06-22 19:16:48 +09:00
Hugh McMaster ba7d599b6f net: WriteFile should output the number of bytes in the char array, not the length of the WCHAR array. 2015-06-19 20:17:26 +09:00
Qian Hong 2b6573ac3f winemenubuilder: Fix copy and paste error. 2015-06-17 15:45:05 +09:00
Hugh McMaster dc1b177a1a regsvr32: Convert if-else block to switch statement. 2015-06-16 20:03:56 +09:00
Hugh McMaster 00c13a20a6 regsvr32: Move /i command line code to a separate function. 2015-06-16 20:03:39 +09:00
André Hentschel bd1f7ef186 include: Rename 64-bit PState to 32-bit Cpsr on ARM64. 2015-06-15 14:51:33 +09:00
Thomas Faller 4e91fa5f6b cmd: Fix invalid memory access. 2015-06-15 14:49:54 +09:00
Nikolay Sivov 6827724e54 regedit: Make it possible for save/restore position on tree root. 2015-06-15 14:48:46 +09:00
Thomas Faller 43dfe76376 cmd: Fix access of uninitialized memory. 2015-06-12 21:22:42 +09:00
Mark Harmstone 3b9ac1b18a winecfg: Invalidate property sheet when font changed.
When you changed the font on the Desktop Integration tab, it wasn't
enabling the Apply button.
2015-06-12 21:22:41 +09:00
Sebastian Lackner 7661549755 winedbg: Also output system information to the terminal, not only to dialog. 2015-06-08 17:38:58 +09:00
André Hentschel 8e0164bd26 include: Add more ARM64 CV constants. 2015-05-28 14:20:55 +09:00
André Hentschel 48d150dc31 wineboot: Add hardware registry keys on ARM64. 2015-05-22 14:10:02 +09:00
André Hentschel b4a46dbcaa wineboot: Add environment registry keys on ARM64. 2015-05-22 14:09:50 +09:00
Jiaxing Wang a53371497f regedit: Avoid appending '\0' to string value of imported key. 2015-05-20 18:32:47 +09:00
Sebastian Lackner 2100d3e1ec wineconsole: Allocate fake hwnds for curses backend.
Based on a patch by Qian Hong.
2015-05-20 18:21:18 +09:00
Nikolay Sivov 3ec3fa5eb7 explorer: Return desktop shellview interface. 2015-05-08 18:33:51 +09:00
Hugh McMaster 27753f2ea6 cmd.exe: Remove redundant call to SetConsoleMode. 2015-05-08 15:07:24 +09:00
Marcus Meissner 92286a521f winedbg: Close filehandle on one exit branch (Coverity). 2015-05-07 22:29:22 +09:00
Marcus Meissner aa59e6744d winedbg: Initialize type.module (Coverity). 2015-05-07 22:29:22 +09:00
Nikolay Sivov d1e309abe2 explorer: Added IDispatch support for IShellWindows. 2015-05-05 10:16:45 +09:00
Sebastian Lackner c16f0644be winedevice: Do not omit mandatory argument for VirtualProtect. 2015-05-04 20:08:00 +09:00
Nikolay Sivov eeabe96abb explorer: Return IShellBrowser in response to SID_STopLevelBrowser. 2015-05-04 15:08:38 +09:00
Nikolay Sivov 3c7bf0350a explorer: Added stub IServiceProvider support for shell browser window. 2015-05-04 15:08:33 +09:00
Nikolay Sivov 68c5fed5cc explorer: Implement Application property. 2015-05-04 15:08:27 +09:00
Nikolay Sivov 58775c878a explorer: Added IDispatch support for ShellBrowserWindow instance. 2015-05-04 15:08:24 +09:00
Nikolay Sivov a74c56a3b9 explorer: Added stub IWebBrowser2 support for desktop shell window. 2015-05-01 15:17:03 +09:00
Nikolay Sivov b4769495bc explorer: Added a stub IShellWindows implementation.
Most of it was done by Andrew Eikum.
2015-04-29 12:26:32 +09:00
Hans Leidekker ae84730e34 iexplore: Update version to 9.0.8112.16421. 2015-04-21 22:21:20 +09:00
Nikolay Sivov d0c8654d10 rpcss: Fix a protseq string leak (Valgrind). 2015-04-16 15:14:04 +09:00
Andrew Eikum e17f4fd2f8 winecfg: Use a listview for speaker configuration. 2015-04-15 16:21:35 +09:00
Hugh McMaster 0516d969eb wineconsole: Do not truncate argument strings larger than 256 bytes. 2015-04-14 18:00:02 +09:00