Commit Graph

2394 Commits

Author SHA1 Message Date
Jason Edmeades 345cb89175 cmd.exe: Correctly parse IF ELSE plus multipart/multiline. 2007-06-18 14:24:01 +02:00
Jason Edmeades d4afe81c3f cmd.exe: Parse multipart FOR statements. 2007-06-18 14:23:42 +02:00
Jason Edmeades d2474dece3 cmd.exe: EXIT /b skips any residual commands. 2007-06-18 14:23:23 +02:00
Jason Edmeades de4c6970a3 cmd.exe: Lines starting with REM ignore any multiline/part characters. 2007-06-18 14:23:14 +02:00
Jason Edmeades 929a92f3c4 cmd.exe: GOTO throws away any preloaded multi part/line command. 2007-06-18 14:22:57 +02:00
Jason Edmeades 8f12d8bde3 cmd.exe: Pass the command list through so it is available to built in commands. 2007-06-18 14:22:43 +02:00
Jason Edmeades aad1d8ce24 cmd.exe: Pass command structure into WCMD_pipe, not command line itself. 2007-06-18 14:22:26 +02:00
Jason Edmeades a88a6c802a cmd.exe: Add basic support for && and (...) syntax. 2007-06-18 14:22:07 +02:00
Alexander Nicolaysen Sørnes d9a4a3bf46 wordpad: Use Unicode functions in more places. 2007-06-18 13:58:08 +02:00
Francois Gouget afa9d0a60d regedit: Merge getRegClass() and getRegKeyName() to form parseKeyName().
Keep track of the full registry path (including the root key) in
currentKeyName. This makes the error messages more informative.
Reduce the number of global variables used by openKey() & co.  Only
use one variable, currentKeyHandle, to indicate whether a key is
currently open or not.
2007-06-18 12:14:19 +02:00
Francois Gouget f6d5738d9a regedit: Don't allow square-bracketed registry paths on the command line (to match native).
The only place they are allowed is in .reg files, so exclusively deal with them in processRegEntry().
Fix detection of the trailing ']' in processRegEntry(): it can be followed by some garbage.
2007-06-18 12:13:55 +02:00
Francois Gouget 8585fb3112 regedit: Add missing '\n' to an error message. 2007-06-18 12:13:45 +02:00
Jason Edmeades 7e9d498d1e cmd.exe: Add support for cmd.exe /u (Unicode from internal pgms). 2007-06-15 13:26:42 +02:00
Alexander Nicolaysen Sørnes e41adf76be wordpad: Use Unicode functions in more places. 2007-06-14 14:05:29 +02:00
Francois Gouget 8e362cb65a regedit: Modify getRegClass() to avoid dubious comparisons and casts between HKEYs and error codes. 2007-06-14 14:01:14 +02:00
Francois Gouget 0dac54b3a7 regedit: Having garbage after the dash in '"foo"=-' is not valid.
Don't complain if the value already does not exist.
2007-06-14 14:01:02 +02:00
Francois Gouget bde3cf9b5f regedit: The registry functions return standard error codes, not HRESULTs. 2007-06-14 14:00:48 +02:00
Francois Gouget 804ec04472 regedit: Make the dword and binary data parsing both more flexible and stricter.
Make sure it does not modify the value if the data is invalid.
2007-06-14 14:00:31 +02:00
Francois Gouget 90d7707235 regedit: If the data for a given value is in an unknown format, then print an error and don't modify the value.
Note that '"foo"=' is not valid.
2007-06-14 13:59:21 +02:00
Francois Gouget 0d2d994ecc regedit: Remove cruft and make functions static, reordering where necessary to avoid forward declarations.
Remove the command parameter of processRegLines() as it can only be used with processRegEntry().
2007-06-14 13:59:15 +02:00
Francois Gouget de2fc93b6b regedit: Remove setAppName() as the application name is hardcoded anyway. 2007-06-14 13:56:43 +02:00
Francois Gouget b668c52802 regedit: Move PerformRegAction() and get_file_name() around to eliminate forward references. Make them static. 2007-06-14 12:11:13 +02:00
Evan Stade fcd7a62e93 gdiplus: First pen test. 2007-06-12 12:22:59 +02:00
Alexander Nicolaysen Sørnes ffa7e0e25d wordpad: Split toolbar into tool- and formatbar. 2007-06-12 11:18:32 +02:00
Alexander Nicolaysen Sørnes 2de3d95ea5 wordpad: Allow toggling of statusbar. 2007-06-12 11:14:41 +02:00
Alexander Nicolaysen Sørnes 10b348399a wordpad: Allow toggling of toolbar. 2007-06-12 11:14:29 +02:00
Alexandre Julliard 78bdd9ba94 winecfg: Fix potential null pointer access (spotted by Yaroslav Skorokhodov). 2007-06-11 20:20:39 +02:00
Alexandre Julliard abc5fefada cmd.exe: Silence a FIXME. 2007-06-08 12:54:21 +02:00
Misha Koshelev 07ad5c4c8a winebrowser: Add DDE support. 2007-06-07 20:23:08 +02:00
Anatoly Lyutin b611b56947 cmd.exe: Update Russian translation. 2007-06-07 11:59:48 +02:00
Alexandre Julliard c2fed1752d winedevice: Accept the shutdown service control. 2007-06-07 11:20:49 +02:00
Alexandre Julliard d45450deaf explorer.exe: Mark explorer as a system process. 2007-06-06 20:33:22 +02:00
Alexander Nicolaysen Sørnes ad57c70a6c wordpad: Fix potential buffer overflow. 2007-06-06 13:39:55 +02:00
Francois Gouget a2deafcc3f programs/cmd: Add missing '\n' to Wine trace. 2007-06-06 12:12:17 +02:00
Alexander Nicolaysen Sørnes f19f4de59e wordpad: Add missing dots to Open menu item. 2007-06-06 12:09:39 +02:00
Jason Edmeades ea34c87cc3 xcopy.exe: Convert from main to wmain. 2007-06-04 14:49:44 +02:00
Jason Edmeades a1639ebfc6 cmd.exe: Fix dir /w.
Use of %* fails when using wvsprintf, so just pad manually,
but maintain only a single output call.
2007-06-04 14:49:39 +02:00
Jason Edmeades 81c1aa14d5 cmd.exe: Change from main to wmain. 2007-06-04 14:47:36 +02:00
Jason Edmeades c4885bc46f cmd.exe: Fix handling of malformed environment variable expansion. 2007-06-04 14:47:17 +02:00
Jason Edmeades afe4d80a5e cmd.exe: Fix 'help garbage' command post-unicode support. 2007-06-04 14:44:57 +02:00
Jason Edmeades b8aa5fc586 cmd.exe: Convert cmd to Unicode. 2007-06-04 14:44:46 +02:00
Jason Edmeades 398e710376 cmd.exe: Handle command line as Unicode. 2007-06-04 14:14:57 +02:00
Jason Edmeades 926da13e56 cmd.exe: Move writing to console into a single function. 2007-06-04 14:11:50 +02:00
Jason Edmeades 5cc492c783 cmd.exe: Move English constants into NLS files. 2007-06-04 14:10:04 +02:00
Alexander Nicolaysen Sørnes 68ce602381 wordpad: Add file saving dialog. 2007-06-04 12:51:56 +02:00
Alexander Nicolaysen Sørnes 69c9565e6f wordpad: Convert open file dialog to Unicode. 2007-06-04 12:51:41 +02:00
Alexander Nicolaysen Sørnes a747eca83c wordpad: Improve file reading code. 2007-06-04 12:51:19 +02:00
Alexander Nicolaysen Sørnes a28f91f148 wordpad: Add file saving support. 2007-06-04 12:50:48 +02:00
Alexander Nicolaysen Sørnes d072e8b1a9 wordpad: Store file name globally. 2007-06-04 12:50:25 +02:00
Alexander Nicolaysen Sørnes e173504ccd wordpad: Split code into set_caption function. 2007-06-04 12:50:11 +02:00