1
0
Fork 0
Commit graph

70 commits

Author SHA1 Message Date
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
07f461da7e Clip to boundaries when there are no suggested values for Prop_int. Revert r3986 as this commit fixes the problem in a different way.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3996
2016-09-20 14:57:46 +00:00
Peter Veenstra
76a04f0807 Fix bug #395 DOSBox can't handle double-quoted values in dosbox.conf files.
Extend the fix to include single quoted values.
Fix a common typo: Separator => Separator


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3950
2015-10-20 17:06:29 +00:00
Peter Veenstra
85667fbe0f Fix the possible/suggested values for integer properties.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3889
2015-01-09 14:58:45 +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
4344bb1984 Silence some warnings in the misc directory
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3826
2013-03-24 21:12:43 +00:00
Peter Veenstra
6005315b20 Uniform warning message
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3823
2013-03-18 12:35:53 +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
Peter Veenstra
6fc206193e Allow command /Cdir
Fix quoting so that command /c mount d "/tmp/a b" works
This breaks command /c "dir", but this doesn't work on real DOS either.
Let's hope everything still works.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3728
2011-06-24 21:02:05 +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
Ralf Grillenberger
ec1fbccb4d GCC compilation and test for empty string fix related to the config patch.
Thanks TeaRex and ripsaw8080 for reporting.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3652
2010-10-29 21:18:44 +00:00
Ralf Grillenberger
143beec6b1 Add new features to the config command for control of the config file:
- manipulate the autoexec section
- display information on sections and values
- show the used config files and startup command line parameters 
- restart capability
- save config files either in the config or program directory

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3651
2010-10-28 17:35:45 +00:00
Peter Veenstra
2c2ddb45d9 Fix lexical typo
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3561
2010-03-15 20:02:04 +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
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
48edfe5409 Add Get_arglength, make trim(string a bit more flexible with whitespace so that configfiles from windows can be used on linux without converting
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3316
2009-03-11 20:18:37 +00:00
Peter Veenstra
5d7701ef67 Add cycles=number support. Based on patch of h-a-l-9000, but slightly better. Beautify the configfile a bit.(Beta2)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3304
2009-02-15 20:01:08 +00:00
Peter Veenstra
9d16fb980e empty input is empty realpath.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3290
2009-02-01 15:52:25 +00:00
Peter Veenstra
9ec3c20d7d Headers, Add Prop_path which is capable of resolving paths relatively and absolutely.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3284
2009-02-01 14:19:20 +00:00
Sebastian Strohhäcker
c994a9a25e fix some msvc64bit warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3217
2008-09-07 10:55:16 +00:00
Sebastian Strohhäcker
c78a9f6c03 fix/work around some gcc Wall warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3192
2008-08-06 18:34:21 +00:00
Peter Veenstra
44aca76921 make cycles reset to correct default value.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3166
2008-05-30 12:42:38 +00:00
Peter Veenstra
fb13f8dcbc Add multiremain class.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3149
2008-04-29 08:23:16 +00:00
Peter Veenstra
f209b02e6b Add some modified version of some uncommited part of moe his patch. which add helptexts in the configfile.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3130
2008-03-19 20:35:18 +00:00
Peter Veenstra
0665eeb12d Fix double adition of last line of autoexec.bat stuff
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3110
2008-02-25 06:21:09 +00:00
Peter Veenstra
e8aac54d80 Add case insensitive support for string type options.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3105
2008-02-18 20:25:21 +00:00
Peter Veenstra
45074288cf Partial rewrite of the configsystem part 2. Should be usuable. Missing parts are cosmetic. (based on Moe his stuff). I hope everything works in visual C.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3098
2008-02-10 11:14:03 +00:00
Peter Veenstra
8a10bb8f0d Fix creating of a copy of Value in GetValue. Fixes crashes with freeing the returned string.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3089
2008-01-27 18:31:01 +00:00
Peter Veenstra
e0c08be26f Part of the configurating changes. Value is a class now. Some cleanups and support functions to make this transition smooth. It compiles and works, but it's not finished yet.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3088
2008-01-26 15:50:19 +00:00
Peter Veenstra
2f33a0fd24 Add function to list all configuration details. (moe)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3024
2007-10-21 08:43:24 +00:00
Peter Veenstra
4053f8693e Add intro text to configfile.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2895
2007-06-27 14:51:30 +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
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
54b29e831c Change configfile loading support. Introduce some sort of global configfile parsing and add some additional settings from local configuration files. Allow multiple configuration files to be specified at the commandline like patch 1513790.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2705
2006-10-08 19:26:04 +00:00
Peter Veenstra
c02188b774 Add shift and more const correctness
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2638
2006-05-25 15:07:33 +00:00
Peter Veenstra
b8499cab5a Some more const correctness
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2589
2006-04-10 12:06:07 +00:00
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
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
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
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
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
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
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
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