Commit Graph

6924 Commits

Author SHA1 Message Date
Marcus Meissner 0d4c399623 cmd: Avoid potential buffer overflow (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-20 20:06:39 +09:00
Alexandre Julliard 5e1e682a17 explorer: Fix hiding the taskbar when there are no system tray items.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 12:08:23 +09:00
Hugh McMaster ecdd3c8e84 reg: Always output the long key name when printing strings.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:53 +09:00
Hugh McMaster 4a22ba5b46 reg: Parse the registry key using a helper function.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:53 +09:00
Alexandre Julliard f21cb01aa4 makefiles: Don't allow import libraries to have an extension.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 14:04:20 +09:00
Francois Gouget b81d3f069f explorer: Spelling fix.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 11:34:14 +09:00
Alexandre Julliard 69b41aebda explorer: Don't bother with taskbar buttons when the taskbar is not visible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-10 20:34:03 +09:00
Alexandre Julliard 1b025eb0b5 explorer: Avoid crash on empty Start Menu folders.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-10 14:05:29 +09:00
Hugh McMaster 7d962327b1 reg: Avoid possible out-of-bounds memory access when a switch is only a forward slash or hyphen.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 18:26:43 +09:00
Hugh McMaster f426ece3a1 reg: Recognise switches beginning with a forward slash or hyphen.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:35:18 +09:00
Hugh McMaster 57c39cf2b6 reg/tests: Add tests for invalid switches.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:34:38 +09:00
Hugh McMaster 31efcc634a reg: Do not allow duplicate /d or /t switches.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:34:34 +09:00
Alexandre Julliard 552555cf8c explorer: Show the application system menu on taskbar right clicks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 15:35:38 +09:00
Vincent Povirk 8006fd41f0 explorer: Hide empty folders in the start menu.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 12:32:21 +09:00
Hugh McMaster 1148e9e050 reg/tests: Add initial tests for 'reg import'.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 19:51:45 +09:00
Hugh McMaster 17d606a3b9 reg: Move duplicate /v, /ve and /va combination checks to wmain.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 19:51:45 +09:00
Hugh McMaster 0f7bdf7d57 reg: Remove an unreachable 'else' pathway from wmain.
Invalid operations are handled earlier in wmain.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 19:51:44 +09:00
Hugh McMaster 7484c5eba3 reg: Combine duplicate 'for' loops in wmain and parse all remaining arguments.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 19:51:44 +09:00
Hugh McMaster f1bf0bfbc3 reg: Move duplicate strchrW() calls to wmain.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 19:51:44 +09:00
Hugh McMaster c0d9908558 reg: Rename HKEY 'subkey' to 'key' in reg_add() and reg_delete().
This better reflects the purpose of the HKEY.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 19:51:44 +09:00
Michael Stefaniuc dc525e8c40 wordpad: Use OffsetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 18:48:34 +09:00
Luis Sahagun 6a05abed48 winevdm: Tell dosbox to read the current user's config.
Signed-off-by: Luis Sahagun <shankao@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-04 13:37:05 +09:00
Hugh McMaster ee71883964 reg: Move duplicate path_get_rootkey() calls to wmain.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:48:39 +09:00
Hugh McMaster d57ad7b054 reg: Move duplicate sane_path() calls to wmain.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:48:37 +09:00
Hugh McMaster 2864105ef5 reg: Make help for registry operations common in wmain.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:48:35 +09:00
Hugh McMaster 45acfd9b50 reg: Simplify help logic and syntax.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:48:33 +09:00
Hugh McMaster 33d657f55c reg: Exit with an error if the specified operation is invalid.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:48:31 +09:00
Hugh McMaster 6a927ef70c reg: Parse the registry operation using an enum.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:48:29 +09:00
Hugh McMaster 6ce8524271 reg: Recognise hyphen and forward slash help switches.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 22:48:27 +09:00
Alexandre Julliard 9da34d943e explorer: Display buttons on the task bar for running applications.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 15:15:25 +09:00
Alexandre Julliard f4568fc640 explorer: Add a generic handler for desktop notifications.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 13:55:45 +09:00
Lauri Kenttä a3547a1359 winefile: Clarify header width calculations.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 11:32:29 +09:00
Lauri Kenttä c1ab903f22 winefile: Fix horizontal scrolling.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 11:32:23 +09:00
Alexandre Julliard e27e733f69 winebrowser: Support browser and mailer commands with arguments.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 14:53:00 +09:00
Alexandre Julliard 01cc315b91 winebrowser: Support MULTI_SZ strings for browsers and mailers configuration.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 14:42:36 +09:00
Alexandre Julliard 28834b5508 explorer: Add a Wine icon to the Start button.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 21:28:37 +09:00
Alexandre Julliard 3c33d6d32c explorer: Vertically center the system tray icons.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 21:26:34 +09:00
Alexandre Julliard 19a7037d50 explorer: Use the window caption font for the Start button.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 21:26:32 +09:00
Alexandre Julliard 45b2b1f09b explorer: Add a helper function to resize and display the tray window.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 21:11:16 +09:00
Andrey Gusev 6ef27773a7 winhlp32: Fix a typo in comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 16:22:51 +09:00
Hugh McMaster deaad0f90a reg: Inform users about the 'add/delete/query /?' command.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-24 22:32:04 +09:00
Hugh McMaster 859ff854a1 reg: Update the general usage message.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-24 22:30:42 +09:00
Hugh McMaster 2b77d24f0f reg: Update general help logic.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-24 22:28:49 +09:00
Hugh McMaster ccbbb92888 reg: Avoid using strlenW to check if a string is valid.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-24 22:17:58 +09:00
Nikolay Sivov 42a6fc28c8 rpcss: No need to initialize entry list pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:11:04 +09:00
Nikolay Sivov 5b406f8963 rpcss: Fix a leak when TowerExplode() fails on endpoint insertion (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:11:00 +09:00
Nikolay Sivov a87c510e9a rpcss: Fix potential leaks when removing endpoint (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:10:51 +09:00
Alexandre Julliard 5b8fdb9731 winecfg: Keep metrics in DPI-relative format when saving the theme.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 01:06:11 +09:00
Kirill Smirnov 85c67cca96 winhlp32: Fix an uninitialized variable (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
Kirill Smirnov 5a3ad0ecf0 winhlp32: Do not pass NULL to strchr() (spotted by 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