1
0
Fork 0
Commit graph

25 commits

Author SHA1 Message Date
Peter Veenstra
8033d5b7e0 Close and reopen batch for each executed line. Makes it possible to rewrite it and to call it itself infinitely.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3264
2009-01-19 19:55:03 +00:00
Peter Veenstra
8fe4a7e67f Refactoring. Rewrite IF to not simply delete all =. Makes stuff like if errorlevel === 0 if not errorlevel 1 set A=1 correctly possible. Linefeed stuff(beta1)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3201
2008-08-11 12:54:57 +00:00
Peter Veenstra
3f2e4fbd83 Allow longer commandlines in MOUNT and IMGMOUNT.
Fix crash reported by MiniMax (mount -u 0).
Fix bug reported by Tearex ("config -get" broken).
Add some protection that makes it harder to mount a directory from
within an executable.
Add some protection to make mounting from command /c much harder.
Add a securemode commandline switch to config and dosbox that should make it
impossible to mount a location when this isn't wanted by the user. (Addresses concerns of CVE-2007-6328)
Update documentation to reflect this.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3114
2008-03-02 11:13:47 +00:00
Peter Veenstra
5a17afaca5 Change Batchfile constructor.(Silences a few warnings). Introduce batchfile friend editor(moe).
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3025
2007-10-28 10:58:50 +00:00
Peter Veenstra
a5ac3216ba Some more const stuff. Silences a few warnings and removes a few casts. Update description of dss.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2886
2007-06-14 08:23:46 +00:00
Peter Veenstra
d78d597f92 Add Beta2 patch: Fix autoexec overflow.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2729
2007-01-08 19:59:06 +00:00
Peter Veenstra
fdd16dea1a Happy New Year\!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2728
2007-01-08 19:45:42 +00:00
Peter Veenstra
a56dddbb12 Add slightly modified help system of ykhwong. Added a few of the descriptions as well.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2678
2006-07-26 11:36:30 +00:00
Peter Veenstra
39bcdda8c2 Add (set)ver.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2674
2006-07-21 09:40:10 +00:00
Peter Veenstra
1303deba35 add shift.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2639
2006-05-25 15:08:40 +00:00
Peter Veenstra
df67775306 time passes on and on....
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2480
2006-02-09 11:47:57 +00:00
Peter Veenstra
afb9e84c53 Add an noautoexec switch (RFE: 1215226). And made echo off skip the internal SET lines of dosbox as well. (RFE/PATCH: 1258897)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2428
2006-01-12 10:20:20 +00:00
Peter Veenstra
44d90e5cf4 implemented feature request 1242202: "getting config values via z:\config"
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2283
2005-08-22 19:31:27 +00:00
Peter Veenstra
2a0f3a1f3d Support configuration changes from the shell.
syntax:
property       => lists the current value of the property
property=value => Sets property to value
examples:
ems=true
cycles=5000
core=full

Added "wc" as alias for writeconf and "wl" for writelang(Requested by
DosFreak)
Added support for home/end on the shell(parapente)
Config supports the setting of configuration as well:
config -set "section property=value"

This one should be used for properties that exist in more than one section.
Samplerate for example.

Changed the main shellinput loop. So it checks for a property if the entered
command isn't an internal command or an executable.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2190
2005-04-21 21:17:46 +00:00
Peter Veenstra
22cb26c298 New include system. Added an autoexecobject which manages the lines in autoexec.bat
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2154
2005-03-25 09:46:53 +00:00
Peter Veenstra
2094d8b985 Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2106
2005-02-10 10:21:12 +00:00
Peter Veenstra
49cfc19efb Added path as command
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2056
2004-11-13 12:06:39 +00:00
Peter Veenstra
5ed600377f more typesafe
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2043
2004-10-26 18:28:51 +00:00
Peter Veenstra
30f2bb7612 Second part of patch 1022702. (All except addkey). Changed loading of a BCD in the fpu a bit to get more resolution and speed.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1959
2004-09-09 18:36:50 +00:00
Peter Veenstra
ca409fd57c Typo in preamble
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1899
2004-08-04 09:12:57 +00:00
Sjoerd van der Berg
c7e25e08b7 Add some new function and clean up
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1793
2004-05-11 18:58:18 +00:00
Peter Veenstra
440960c589 Added patch 909837 from JAL
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1709
2004-03-10 13:35:03 +00:00
Peter Veenstra
2a1cee61e1 fixed tab problems when parsing commands (bug: #897177)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1682
2004-02-18 15:31:13 +00:00
Peter Veenstra
fcbd0fe854 Copyright to 2004
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1552
2004-01-10 14:03:36 +00:00
Peter Veenstra
735883416c moved shell_inc.h to include
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1494
2003-12-17 21:55:42 +00:00