1
0
Fork 0
Commit graph

41 commits

Author SHA1 Message Date
Patryk Obara
19267d00e2 Rename boolean flag "exit" to "exit_flag"
Otherwise it's confusing when grepping code, and it confuses syntax
highlighter in various programs as well.
2020-05-04 12:31:48 +02:00
Joshua Fern
f2029d71d8 Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
krcroft
c9198b2944 Fix unsafe memory operations and warnings in the fatDrive class
- Move imageDiskList from pointer to vector of unique_ptr
- Replace string operations with size-limited versions
- Initialize members
- Eliminate unecessary casts
- Eliminate memory-leak on pointer assignment
2019-12-09 08:19:26 +01:00
Peter Veenstra
eb26b9a58e Change first_shell to be DOS_Shell instead of Program. Makes future manipulations easier.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4211
2019-04-20 13:48:55 +00:00
Peter Veenstra
1fbaff47fc Update year and address of FSF
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +00:00
Peter Veenstra
5bb10db88b Time keeps on ticking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
Peter Veenstra
6cf39c1fc6 Years update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4021
2017-05-30 11:35:08 +00:00
Peter Veenstra
0f4c92ca32 Year update.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3878
2015-01-06 14:40:32 +00:00
Peter Veenstra
2fea508f7f Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3812
2013-01-15 09:03:13 +00:00
Ralf Grillenberger
a5ee614503 - Add midnight/next day increment
- Add date and time commands (functionality limited)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3715
2011-06-05 18:28:00 +00:00
Peter Veenstra
999f33de27 Update year. Remove CVS tags
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3700
2011-04-26 09:34:55 +00:00
Peter Veenstra
a78b2c4f8b Update year
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3548
2010-02-11 13:36:50 +00:00
Peter Veenstra
f56fdefb31 report typed entry for %0 not the parsed entry.(System Shock reported by ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3507
2009-11-30 14:53:00 +00:00
Peter Veenstra
bc5a4d7172 fix shift.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3439
2009-07-03 19:36:57 +00:00
Peter Veenstra
16d14b78e1 Some year and version numbers
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3410
2009-05-27 09:15:42 +00:00
Peter Veenstra
d8266a6a41 revise switchToLongcmd a bit. allow execution of mount/imgmount from menus and such.(beta3)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3326
2009-03-23 10:55:36 +00:00
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