Commit Graph

141 Commits

Author SHA1 Message Date
Mike McCormack 9643b79842 Implement setlocal/endlocal. 2004-03-22 22:56:58 +00:00
Mike McCormack 8d02010ff7 Fixed handling of "echo." 2004-03-18 04:01:32 +00:00
Alexandre Julliard 6be39b60f5 Take advantage of the new winegcc -B support. 2004-03-09 04:54:07 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard 6621b2d213 Build all the programs with winegcc. 2004-03-02 21:00:00 +00:00
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Mike McCormack bbe0e2ce80 Sort the output of wcmd's set command. 2003-12-30 19:17:31 +00:00
Alexandre Julliard 647dec8403 Removed useless #ifdef WINELIB. 2003-12-13 03:22:02 +00:00
Hans Leidekker 5ebcb8a48d - Added Dutch translation.
- Make an example's description consistent with the example.
2003-10-27 22:02:37 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Daniel Marmier 8e5bb20542 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-09 04:39:01 +00:00
Pavel Roskin 7035adcae4 Convert resources to standard format without embedded binary data.
Fixes to be compatible with windres.
2003-10-04 04:21:19 +00:00
Vincent Béron 221aa8d2a5 Another batch of French resources updates. 2003-09-22 19:48:29 +00:00
Igor Stepin f638678830 Added a lot of Russian translations. 2003-09-17 20:08:20 +00:00
Ferenc Wagner b129a1489f Implement >> style (append) output redirection. 2003-09-11 20:41:26 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Rok Mandeljc d4c1ebabdb Minor updates of Slovenian translations. 2003-08-29 22:21:43 +00:00
Oleg Prokhorov 61cb704533 No handles were inherited in CreateProcess, all child console programs
were silent.
Eric Pouech <pouech-eric@wanadoo.fr>
Ensure redirected stream handle for child process are actually
inheritable.
2003-08-27 23:12:06 +00:00
Oleg Prokhorov 7ffb4ed075 Avoid crash in WCMD_run_program when no extension was specified. 2003-08-22 05:01:59 +00:00
Alexandre Julliard 07fc82ee04 Fixed check for .bat and .cmd extensions (spotted by Mike McCormack). 2003-07-22 01:03:53 +00:00
Marcelo Duarte 8219eb69e3 Minor fixes in Pt, En resources. 2003-07-11 21:43:53 +00:00
Sylvain Petreolle c5fe7f034c French translation + misc fixes. 2003-07-11 03:49:19 +00:00
Alexandre Julliard 9fc5e6f098 Avoid hard-coded command line length limit in WCMD_process_command. 2003-07-09 22:21:04 +00:00
Greg Marsden 41226dba28 Allow command lines with pipes to be processed by wcmd. 2003-07-09 21:58:26 +00:00
Mike McCormack 99c67eefcd Null parameters need to be quoted on the commandline. 2003-07-09 02:50:15 +00:00
Marcelo Duarte 5bb472eae1 - localization to the Portuguese of Brazil of "programs/*"
- separation of some resources that only existed in English
- lesser adjustments in menus
2003-06-23 18:15:15 +00:00
Francois Gouget d98f4a5e43 Fix handling of wcmd /c "c:\Program Files\hello.bat".
Make /c and /k effectively exclusive, like the real cmd does.
Fix handling of /q: it's compatible with /c and /k.
Added compatibility with /t /x and /y, just ignore them.
2003-05-11 02:48:17 +00:00
Stefan Leichter a127ad1cd1 Let wcmd handle .cmd files like .bat files. 2003-03-25 00:33:56 +00:00
Sylvain Petreolle 98f44486be Allow to run autoexec.bat when launching wcmd, it was broken due to a
function change.
2003-03-05 02:49:04 +00:00
Eric Pouech b2f079bade - don't create a new console upon startup
- no longer assume we're always attached to a console
2003-02-27 01:41:21 +00:00
Eric Pouech 841d9828e9 - made support for paged output a generic feature in wcmd
- rewrote DIR command accordingly
2003-02-25 03:58:42 +00:00
Dan Kegel a20622d7de Make 'cmd /c cl /MUMBLE foo.c' pass /MUMBLE to cl. 2003-02-24 20:39:53 +00:00
Sylvain Petreolle fdd0bfa13c Fixed handling of PATH command with spaces. 2003-02-11 22:01:11 +00:00
Dan Kegel 8b429f766d Add real syntax doc for LABEL command. 2003-01-30 00:15:50 +00:00
Dan Kegel 74e15940cc \ at EOL in string now behaves like in msvc6's rc. 2003-01-21 00:28:28 +00:00
Alexandre Julliard 36bf792fd7 Use proper file sharing parameters when opening files.
Fixed handling of 'if a == b' syntax in batch files.
2003-01-15 03:35:32 +00:00
Alexandre Julliard ae4311c71c Defined NONAMELESSUNION/STRUCT directly in the files that need it
instead of globally in the makefile.
2003-01-07 23:11:12 +00:00
Chris Morgan c87595c994 Default to $P$G prompt. Make width of date 10 characters to align
date column with DATE_SHORTDATE format.
2003-01-02 17:47:40 +00:00
Sylvain Petreolle 00f5094a57 Implement $V in builtin PROMPT. 2002-12-11 00:15:20 +00:00
Jaco Greeff 63e8a260eb Skip the allocation of a new console on "wcmd /c <command>" execution,
using the current allocated STDIN and STDOUT handles for command
input/output.
2002-11-04 22:36:07 +00:00
Steven Edwards 629f02b329 Porting fix. 2002-10-28 23:54:08 +00:00
Alexandre Julliard 11d606db26 Try CreateProcess even if SHGetFileInfo fails so that we can launch
Unix binaries.
2002-10-09 20:38:36 +00:00
Uwe Bonnes 5a2e82d719 WCMD_parse: allow slashes in command filenames. 2002-09-12 20:43:54 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Uwe Bonnes a47eb31d2a WCMD_run_program: don't try to run an empty line. 2002-07-24 19:00:48 +00:00
Uwe Bonnes 6b4d9e0932 More verbose output when file not found. 2002-07-24 19:00:25 +00:00
Uwe Bonnes b17ed7e048 WCMD_batch: increase possible line length and warn if still too small. 2002-07-24 19:00:05 +00:00
Gregg Mattinson d0f8bf3743 Modified WCMD_filesize64 to handle unsigned numbers. 2002-07-05 22:47:56 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Jason Edmeades bcc6256bf0 Add support for the 'title' command. 2002-05-04 18:29:31 +00:00
Jason Edmeades a88289500c - Support for dir /w and /b flags
- Fixed a couple of unclosed FindFirst/FindNext pairs
2002-04-29 23:33:09 +00:00
Jason Edmeades a4c214e736 Emulate the dos cmd 'cls'. 2002-04-29 17:12:57 +00:00
Jason Edmeades 13c5117fbb - Fixed move and copy when no destination supplied (assumes '.' now as
per windows)
- Fixed move so uses full path name for destination file, and if
  destination is a directory, uses original filename.
2002-04-20 20:54:38 +00:00
Alexandre Julliard 65a7a108b1 Removed changelog entries that are in the main changelog, and added
notice to not edit the secondary changelogs anymore.
2002-04-11 23:49:59 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andriy Palamarchuk 7ab787fa87 Removed alternative make scripts. 2002-02-27 18:49:56 +00:00
Steven Edwards ba7ccc4cc6 Changes wine_main to main to properly build on all platforms. 2002-01-29 02:59:22 +00:00
Alexandre Julliard bef8e16fdf Compile all programs with -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT. 2001-11-24 17:07:08 +00:00
Dave Pickles a9d0209c75 - Fix uninitialised variable problem in DIR command.
- Correct some comments.
2001-06-20 22:52:12 +00:00
Francois Gouget f860ded319 ULARGE_INTEGER may have a dummy struct name. 2001-06-08 18:59:03 +00:00
Dave Pickles 64fba1cb84 - Report file and directory sizes using 64-bit arithmetic (like NT).
- Handle pipes in commands.
2001-06-04 02:55:38 +00:00
François Gouget 12b352694b The last parameter of CreateFile is a HANDLE and should thus be NULL. 2001-01-02 20:40:58 +00:00
Alexandre Julliard a10fbddeb9 Build most programs as .so files. 2000-11-10 23:45:20 +00:00
Alexandre Julliard 231cc27c80 Added some missing imports. 2000-11-09 20:41:13 +00:00
Dave Pickles ebb2791164 Pause command interpreter while executing a console-mode app. 2000-11-02 20:07:07 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +00:00
Alexandre Julliard 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Hidenori Takeshima 269b409712 Added a few missing imports. 2000-08-04 21:07:23 +00:00
Alexandre Julliard 74cc65a940 Added a few missing imports. 2000-08-04 04:12:08 +00:00
Dave Pickles ebecf50229 Added support for ERRORLEVEL.
Most errors reported via FormatMessage().
COPY command now works correctly if output specifier is a directory.
2000-08-01 22:02:18 +00:00
Jason Edmeades a5910f45bd - Support whitespace around commands better, and support the @
prefix better
- Enhance the set support to unset, display value error correctly
- Enhance the command line support for parms, and env var expansion
- Enhance the echo command to not loose whitespace, and display
  output with % signs better
2000-08-01 02:14:33 +00:00
Francois Gouget e4e99a5dfc ole32 now requires linking with kernel32
shell32 now requires linking with kernel32 and shlwapi
2000-07-29 11:35:12 +00:00
Francois Gouget 49d251ff30 Added -DSTRICT.
Added missing libraries comctl32 and rpcrt4.
2000-07-23 19:30:48 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard bc4b88ffcd Fixed resource loading. 2000-04-19 16:47:20 +00:00
Alexandre Julliard b44595283f Improved Winelib apps initialisation code. No longer need to link
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Patrik Stridvall 205721e724 Fixed ANSI C related compile problems. 2000-03-24 20:40:41 +00:00
Ulrich Weigand 3dc5d9461e Added .spec files for all libtest/ and programs/ WineLib apps.
Updated all Makefiles to use .spec files and new resource handling.
2000-02-03 01:37:23 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00
Alexandre Julliard 3cc18e72be Added wmcdrc.h 1999-10-31 02:31:15 +00:00
Alexandre Julliard 96af9aa5b8 Added dependency on winestub.o 1999-10-25 02:50:08 +00:00
Dave Pickles 036a9f79a9 FOR and IF commands added.
MOVE command added, but no wildcard support.
Redirection added.
Fixed TIME (was reporting in GMT).
More help text.
1999-07-10 11:36:45 +00:00
Dave Pickles 5f8f4f77f5 Added more batch functionality, including the CALL GOTO and SHIFT
commands plus batch command arguments.
1999-06-26 10:24:08 +00:00
Dave Pickles 74f440eabf Added Wine command-line interpreter. 1999-06-06 15:24:04 +00:00