Commit Graph

6251 Commits

Author SHA1 Message Date
Jason Edmeades d71f5c9483 cmd: Prevent overflow for long command string. 2012-11-27 19:45:38 +01:00
Jason Edmeades d16f4e700b cmd: Add support for NUL in copy. 2012-11-20 11:53:15 +01:00
Jason Edmeades 2e92853091 cmd: Prevent external env vars causing tests to fail. 2012-11-20 11:53:10 +01:00
Jason Edmeades 47b35d5545 cmd: Add support for tokens= (for /f). 2012-11-20 11:46:40 +01:00
Jacek Caban 08c17ada57 cmd: Added HeapFree wrapper. 2012-11-16 11:40:36 +01:00
Jacek Caban c6d24089db cmd: Make allocation unfailable. 2012-11-15 21:21:53 +01:00
Alexandre Julliard b2fa004ee4 user32: Simplify initialization of the desktop wallpaper. 2012-11-15 21:21:48 +01:00
Michael Stefaniuc b791c25274 msiexec: Use FIELD_OFFSET to calculate the size of a struct with variable length array. 2012-11-12 13:16:59 +01:00
André Hentschel 69f2ac0d52 xcopy: Fix indentation of a break (coverity). 2012-11-08 15:37:52 +01:00
André Hentschel bc240bd323 winhlp32: Mark up fallthrough switch case (coverity). 2012-11-08 15:37:52 +01:00
André Hentschel 76bc1d76a5 start: Fix mask for creation flags (coverity). 2012-11-08 15:37:51 +01:00
Frédéric Delanoy 250ce222b9 cmd/tests: Simplify 'if' comparison tests. 2012-11-07 11:57:51 +01:00
Jason Edmeades 458e573584 attrib: Remove redundant code. 2012-11-06 16:02:42 +01:00
Jason Edmeades 4a13490237 xcopy: Fix resource leak (coverity). 2012-11-06 16:02:42 +01:00
Jason Edmeades ae4571fb79 cmd: Fix for loops within for loops. 2012-11-06 16:02:41 +01:00
Jason Edmeades f2699f9f60 attrib: Add attrib /d support. 2012-11-06 16:02:40 +01:00
Jason Edmeades e26c2a5691 attrib: Add support for attrib /s. 2012-11-06 16:02:40 +01:00
Jason Edmeades 8e575940ad attrib: Support relative paths as args. 2012-11-06 16:02:39 +01:00
Jason Edmeades 7c3f3d09dd cmd: Don't overflow parameter length when copying substring. 2012-11-06 16:02:38 +01:00
Detlef Riekenberg 37035e53cd schtasks: Add a stub schtasks.exe. 2012-11-06 16:02:38 +01:00
Francois Gouget d55bb4497f Assorted spelling fixes. 2012-11-05 11:30:30 +01:00
Francois Gouget ed04a730f9 winemenubuilder: Return the icon identifier instead of the full path on Mac OS X too. 2012-11-02 10:59:30 +01:00
Francois Gouget 712b3571be winemenubuilder: Use the same icon name on Mac OS X as on Unix. 2012-11-02 10:59:26 +01:00
Frédéric Delanoy 5108b18940 cmd: Fix some leaks (coverity). 2012-11-01 15:54:40 +01:00
Frédéric Delanoy 1d3f679ef1 cmd: Avoid handle leaks (coverity). 2012-10-30 19:14:37 +01:00
Francois Gouget 5f86884771 cmd: Make WCMD_forf_getinputhandle() static. 2012-10-29 10:47:02 +01:00
Francois Gouget cbeae4ca3d services: Fix compilation on systems that don't support nameless unions. 2012-10-29 10:41:16 +01:00
Frédéric Delanoy 16d5f457e2 cmd: Display a clearer error message for not found commands. 2012-10-26 16:42:34 +02:00
Frédéric Delanoy 90c6f57fa9 cmd: Add support for GTR comparison operator in if statements. 2012-10-26 12:01:45 +02:00
Frédéric Delanoy 73995c71e0 cmd: Add support for GEQ comparison operator in if statements. 2012-10-26 12:01:40 +02:00
Frédéric Delanoy 80f8d49b07 cmd: Add support for NEQ comparison operator in if statements. 2012-10-26 12:01:36 +02:00
Frédéric Delanoy 14cd4151a9 cmd: Add support for EQU comparison operator in if statements. 2012-10-26 12:01:31 +02:00
Frédéric Delanoy 78af04f427 cmd: Add support for LEQ comparison operator in if statements. 2012-10-26 12:01:25 +02:00
Frédéric Delanoy 154710a093 cmd: Add support for LSS comparison operator in if statements. 2012-10-26 12:01:18 +02:00
Frédéric Delanoy 17607b8020 cmd: Avoid using strstr to match == operator in WCMD_if. 2012-10-26 12:00:44 +02:00
Frédéric Delanoy dd13954424 cmd: Move common error reporting code in WCMD_if. 2012-10-26 12:00:41 +02:00
Frédéric Delanoy cee1652e61 cmd: Get rid of longer needed 'end' parameter in WCMD_parameter. 2012-10-26 11:59:58 +02:00
Frédéric Delanoy 517ed44396 cmd: Correctly set the 'raw' parameter in calls to WCMD_parameter in WCMD_if. 2012-10-26 11:59:54 +02:00
André Hentschel addd324dba winedbg: Cleanup if gdb startup fails (coverity). 2012-10-26 11:49:06 +02:00
Jason Edmeades 51b0d941d0 cmd: Add for /f delims= support. 2012-10-24 11:30:43 +02:00
Jason Edmeades a45301cb93 cmd: Strip quotes from for /f string before attempting to parse it. 2012-10-24 11:30:40 +02:00
Jason Edmeades 182c5459b0 cmd: Correct for /f string and command set handling. 2012-10-24 11:30:36 +02:00
Jason Edmeades 9171fd1454 cmd: Add support for usebackq (for /f). 2012-10-24 11:30:11 +02:00
Jason Edmeades 293da2d06c cmd: Implement support for for /f eol=c option. 2012-10-24 11:29:43 +02:00
Jason Edmeades a3688948d0 cmd: Use a common function for the string parsing in for /f. 2012-10-24 11:29:22 +02:00
Jason Edmeades 84ecf34c2c cmd: Refactor building a list of directories out of WCMD_for. 2012-10-24 11:29:13 +02:00
Jason Edmeades d64298df99 cmd: Add support parsing for /f options and implement skip. 2012-10-24 11:29:06 +02:00
André Hentschel 72836c0b7e winedbg: Fix check for register number (coverity). 2012-10-23 12:25:22 +02:00
Frédéric Delanoy c5faceabd2 cmd/tests: Add tests for mixed number/stringified numbers comparisons in "if" statements. 2012-10-23 12:10:56 +02:00
Frédéric Delanoy 5888ad3537 cmd/tests: Add tests for GTR comparison operator in "if" statements. 2012-10-23 12:10:52 +02:00
Frédéric Delanoy 43f5471cba cmd/tests: Add tests for GEQ comparison operator in "if" statements. 2012-10-23 12:10:49 +02:00
Frédéric Delanoy 8e3227c824 cmd/tests: Add tests for NEQ comparison operator in "if" statements. 2012-10-23 12:10:45 +02:00
Frédéric Delanoy a0a61cb592 cmd/tests: Add tests for EQU comparison operator in "if" statements. 2012-10-23 12:10:41 +02:00
Frédéric Delanoy ac52924d44 cmd/tests: Add tests for LEQ comparison operator in "if" statements. 2012-10-23 12:10:38 +02:00
Frédéric Delanoy e3b5b6fd14 cmd/tests: Add tests for LSS comparison operator in "if" statements. 2012-10-23 12:10:32 +02:00
André Hentschel 8392a85084 winedbg: Buffer size includes the quotes (coverity). 2012-10-22 19:45:10 +02:00
André Hentschel 0ca586120b view: Buffer size of GetFileTitleW is in characters, not bytes (coverity). 2012-10-22 19:44:33 +02:00
Piotr Caban afc4284d05 services: Added tests for service thread termination without setting service state to stopped. 2012-10-22 16:22:20 +02:00
Piotr Caban 522bc15b45 services: Kill service thread after timeout so it can terminate cleanly. 2012-10-22 16:19:53 +02:00
Alexandre Julliard 78b86e3446 explorer: Remove support for the old-style X11 desktop configuration key. 2012-10-22 15:15:52 +02:00
Akihiro Sagawa 8daef1649b cmd: Properly handle multibyte characters in batch files. 2012-10-22 12:23:26 +02:00
Francois Gouget ed9e745580 Assorted spelling tweaks and fixes. 2012-10-22 12:21:55 +02:00
Ken Thomases 2600705695 winemenubuilder: Use proper marker (negative index) for unused icon slot. 2012-10-22 11:34:02 +02:00
Aric Stewart baf2ac6fbe winemenubuilder: Scale 64x64 classic icons to 128x128 for Icns format. 2012-10-19 11:44:03 +02:00
Jason Edmeades 3c05818515 cmd: Add support for calling a built in command. 2012-10-17 11:59:34 +02:00
Jason Edmeades 9f83165efb cmd: Rename parameter passed to builtin calls. 2012-10-17 11:57:35 +02:00
Jason Edmeades dccccfc273 cmd: Handle very odd delimiter support for command line. 2012-10-17 11:57:23 +02:00
Daniel Jelinski 003622c015 regedit: Disallow editing root key names. 2012-10-16 20:46:01 +02:00
Jason Edmeades f45f75ca7d cmd: %* expands to first non-whitespace delimiter of first arg. 2012-10-16 11:45:13 +02:00
Jason Edmeades 4236c2007d cmd: Identify the program name using more appropriate parsing. 2012-10-16 11:44:49 +02:00
Jason Edmeades 25cf0aa046 cmd: cmd /c "pgmname" searches all extensions on PATHEXT. 2012-10-16 11:44:32 +02:00
Jason Edmeades 130cdcd727 cmd: Add full support for copy concatenation and ascii/binary. 2012-10-15 15:25:22 +02:00
Jason Edmeades 260210f6e6 cmd: Support copy to an 'ascii' destination. 2012-10-15 15:25:20 +02:00
Jason Edmeades a65314c8fa cmd: Add suite of tests for the copy command. 2012-10-15 15:25:16 +02:00
Jason Edmeades 8f019b1111 cmd: Fix some issues with ~ modifier expansion. 2012-10-15 15:25:14 +02:00
Jason Edmeades 7b9971abf9 cmd: Rework the body of WCMD_copy based on new parameter parsing. 2012-10-15 15:25:10 +02:00
Jason Edmeades 89b8868ae0 cmd: Rework parameter parsing for WCMD_Copy. 2012-10-15 15:25:07 +02:00
Jason Edmeades 270163f380 cmd: Fix regression around prompting during copy. 2012-10-15 15:25:05 +02:00
Marcus Meissner 8af406fb00 winefile: Check index before buffer overread (Coverity). 2012-10-15 13:31:04 +02:00
Marcus Meissner 443e196e08 regedit: FIXME() on printing. 2012-10-12 17:18:37 +02:00
Frédéric Delanoy 3803134fce cmd/tests: Add tests for command line parsing.
Adapted from original patch by Martin Wilck <mwilck@arcor.de>.
2012-10-11 20:38:46 +02:00
Frédéric Delanoy 0ab71a42b4 cmd/tests: Move command line tests to separate file. 2012-10-11 20:37:59 +02:00
Marcus Meissner a89f877fd3 winetest: Close filehandle on run error (Coverity). 2012-10-10 10:36:11 +02:00
André Hentschel f5375256d0 winetest: Report actual number of failures in the statusbar. 2012-10-09 18:32:26 +02:00
Jacek Caban cea783ddda services: Fixed memory leak. 2012-10-09 16:12:30 +02:00
Alexandre Julliard 8bf223a86d winedbg: Mark the lexer as always interactive to prevent some shortcuts. 2012-10-08 12:55:10 +02:00
André Hentschel 096426f1f1 winedbg: Adjust copyright to avoid confusions. 2012-10-08 12:54:57 +02:00
André Hentschel 86d0c87552 winedbg: Simplify Coprocessor operators in the Thumb2 disassembler. 2012-10-08 12:54:57 +02:00
André Hentschel a0ae8b4bd2 winedbg: Add load non-word operators to Thumb2 disassembler. 2012-10-08 12:54:56 +02:00
André Hentschel 13da3a92fd winedbg: Add preload operators for Thumb2 disassembler. 2012-10-08 12:54:56 +02:00
André Hentschel 523ca37f11 winedbg: Reorder disassembler functions to match instruction table order. 2012-10-04 10:38:19 +02:00
André Hentschel 0ef9072e0f winedbg: Add Coprocessor data transfer operators for Thumb2 disassembler. 2012-10-04 10:38:11 +02:00
André Hentschel 24abf1f68b winedbg: Add enhanced Coprocessor move operators to Thumb2 disassembler. 2012-10-04 10:38:06 +02:00
André Hentschel 129080774d winedbg: Add Coprocessor data operators for Thumb2 disassembler. 2012-10-04 10:37:58 +02:00
Qian Hong 3ce21826c8 findstr: Added stub exe. 2012-10-04 10:35:19 +02:00
Jason Edmeades f252e9dfc8 cmd: Change command line parsing away from argv/argc. 2012-10-03 11:24:13 +02:00
André Hentschel 4deaee9927 winedbg: Add control operators to Thumb2 disassembler. 2012-10-03 11:19:45 +02:00
André Hentschel 613ebcd070 winedbg: Add hint operators to Thumb2 disassembler. 2012-10-03 11:19:44 +02:00
André Hentschel 60af8659c9 winedbg: Add special register processing operators to Thumb2 disassembler. 2012-10-03 11:19:43 +02:00
André Hentschel 1e1e181b2e winedbg: Improve and add branch operators for Thumb2 disassembler. 2012-10-03 11:19:43 +02:00