Peter Veenstra
59721b003c
small bugfix
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2543
2006-03-12 21:26:22 +00:00
Peter Veenstra
3a071e89b9
A few fixes for broken input
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2534
2006-03-02 14:12:49 +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
0e9168b556
Fix some memory leaks. Fix double destruction of classes. Add some input checks on the environment reader
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2465
2006-01-30 19:37:49 +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
31c4fe4ad9
make a memleak smaller
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2272
2005-08-11 18:56:57 +00:00
Peter Veenstra
df11f825b8
undo fix. Messed up in visual C
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2250
2005-07-24 19:04:11 +00:00
Peter Veenstra
a9bb758e4f
Return a copy instead of the real string. Fixes some issues with stuff getting changed in the configuration file
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2249
2005-07-24 09:17:34 +00:00
Peter Veenstra
8cf6549e85
Fix bug 1241199. Env variables were matched against the length of the wanted string. So if you wanted b, b* matched to this.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2242
2005-07-20 12:00:45 +00:00
Peter Veenstra
c7c2ee5d5a
Add patch 1239754 from Moe. This patches fixes a few crashes by checking the SDL_SetMode return value and it changes strncopy to a safe_strncopy which adds a 0 to each string copied
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2240
2005-07-19 19:45:33 +00:00
Peter Veenstra
eeeb306b7d
fix a warning
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2191
2005-04-22 09:09:09 +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
6157cbaebf
renamed __value to value for vs.net 2005.
...
Added some function to get the value of a property from the section.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2187
2005-04-21 19:53:41 +00:00
Peter Veenstra
4295bf213b
Added new functions so you can find Sections from property names.
...
Moved a few implementations from the header to the cpp file
Reordered some stuff so every thing is present when it's encountered (inside
a class)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2179
2005-04-19 15:30:03 +00:00
Peter Veenstra
07b0ef0e82
new configuration support functions implementations
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2164
2005-03-25 12:00:52 +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
7711206341
Slightly simpeler version of erasing a string.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2103
2005-02-03 10:17:44 +00:00
Peter Veenstra
d439d5eb74
Fix crashes if the first section is non existant
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2041
2004-10-25 21:16:30 +00:00
Peter Veenstra
ee91571aff
messed up one function with the last signed/unsigned things. (Moe)
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2039
2004-10-24 10:03:29 +00:00
Peter Veenstra
32d35dc207
Fix security hole
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2037
2004-10-23 17:54:36 +00:00
Peter Veenstra
232541c358
Added lot's of callback information. Added some useful information on how to use the debugger. Added patch 105158 from Hendrik Jan Visser
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2035
2004-10-23 15:15:07 +00:00
Peter Veenstra
4e69d3bf7a
Made all string functions more aware of systems with reverse signed unsigned defaults
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2027
2004-10-17 14:54:41 +00:00
Peter Veenstra
d4e222d440
double message length
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1988
2004-09-22 14:52:07 +00:00
Peter Veenstra
293535b8e2
Fix overflows in buffer
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1982
2004-09-16 21:47:39 +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
b3e0ba59e5
change const char * to char * for the trim functions
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1872
2004-07-05 12:00:26 +00:00
Peter Veenstra
c3ccb8febd
lowcased true and false parsing. Fixes bugs with blah=False (got true) and such.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1854
2004-06-22 14:05:08 +00:00
Peter Veenstra
8643400dc4
Remove language file from commandline if found, so that other commands will work
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1828
2004-06-11 11:50:32 +00:00
Sjoerd van der Berg
a856ff1a06
Fix some string parsing function to allow to remove the found string
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1807
2004-05-25 19:37:18 +00:00
Sjoerd van der Berg
bfb6e5b4e4
new support functions
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1795
2004-05-11 19:00:32 +00:00
Peter Veenstra
e3a7a48687
Added SDA.
...
Update DTA/PSP to use SDA.
Added some more pic commands.
Cleaned dos.cpp up a bit.
Handled some more calls in dos.cpp.
Changed execute and terminate to mess less with the dta.
Removed all dta references and changes in PSP.
Added some messages to messagefile for mount.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1787
2004-05-04 18:34:08 +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
0f2a610b63
setup handles floats as well
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1621
2004-01-29 09:26:52 +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
c5c064beb2
changed setenv to be case insensitive posted at vogons: turrican 2 post
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1549
2004-01-09 12:34:53 +00:00
Peter Veenstra
9785e03197
Added patch 849608 from Jonathan Gray and a patch from Dominik Vogt
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1546
2004-01-08 11:47:26 +00:00
Sjoerd van der Berg
a0144ccfa9
Support multiple lines in config file comments.
...
warning fix
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1332
2003-10-14 23:30:59 +00:00
Sjoerd van der Berg
22643f6858
Removed errorlevel, always show exit error
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1326
2003-10-14 20:39:36 +00:00
Peter Veenstra
74686ee39a
Turn Write_heavylog instruction off if C_DEBUG is not defined
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1279
2003-09-30 08:58:10 +00:00
Peter Veenstra
cf05aa87a9
allowed things like /w/p in commandscanbool
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1189
2003-08-19 17:59:25 +00:00
Peter Veenstra
7fe21bc482
Added generation of cpu_log at E_Exit if Heavy_debugging is enabled
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1187
2003-08-17 13:08:05 +00:00
Sjoerd van der Berg
96bece4cca
Remove usage of HostPt while going through environment strings.
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1124
2003-07-14 08:41:52 +00:00
Sjoerd van der Berg
6b178aefa9
Removed S_Warn
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1001
2003-05-11 10:18:32 +00:00
Peter Veenstra
72d44cbc16
added prototype for DEBUG_ShowMsg
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@988
2003-05-04 19:13:21 +00:00
Sjoerd van der Berg
aea4169ddb
Support for using environment strings to change config
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@790
2003-03-24 11:28:26 +00:00
Peter Veenstra
43736fe92d
fixed a few warnings
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@721
2003-03-06 13:40:20 +00:00
Peter Veenstra
f79eaaba75
updates for new logging system
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@695
2003-02-27 19:56:22 +00:00
Peter Veenstra
b7088bb6e6
doesn't crash on old configfiles anymore
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@650
2003-01-20 20:01:49 +00:00
Peter Veenstra
c341f40597
fixed bug #629841
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@480
2002-11-05 18:39:19 +00:00
Sjoerd van der Berg
0485d33490
Added findstring remain function to shell and removed fullstring
...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@471
2002-10-31 15:18:39 +00:00