1
0
Fork 0
Commit graph

48 commits

Author SHA1 Message Date
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
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
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
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
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
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
Peter Veenstra
46a1e79f94 added full line support
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@465
2002-10-30 18:49:44 +00:00
Sjoerd van der Berg
de23d60172 Removed some debug warning
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@438
2002-10-25 21:40:19 +00:00
Peter Veenstra
18ae21e866 added help messages for the configfile and updated the readme and install to reflect libpng and zlib
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@396
2002-10-22 17:52:38 +00:00
Sjoerd van der Berg
a835e6e328 case insensitive compares used now.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@392
2002-10-21 22:07:54 +00:00
Sjoerd van der Berg
832f69f4f0 Command line wouldn't erase the 2 command line switches, fixed now.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@368
2002-10-19 17:33:08 +00:00
Sjoerd van der Berg
9efdfcdf1f Add destroying of sections in the config destructor.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@351
2002-10-19 15:49:40 +00:00
Sjoerd van der Berg
57a8b675d0 Sections can now support multiple init functions and rewrote some stuff to the "standard"
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@338
2002-10-18 09:08:08 +00:00
Peter Veenstra
09e339c9b8 add config::printconfig and others to print the configfile
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@323
2002-10-17 18:21:28 +00:00
Sjoerd van der Berg
765726f755 Addes some new functions to commandline class.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@310
2002-09-29 13:59:46 +00:00
Sjoerd van der Berg
17bf8cb019 A new CommandLine class and Config Class now has a startup handler to startup once everything has been initialized
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@295
2002-09-18 15:33:49 +00:00
Peter Veenstra
d0fc1da99b added support for a config class/file. System not initialized perfect yet!
(env is not fixed)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@289
2002-09-17 20:07:25 +00:00
Sjoerd van der Berg
42e5d0b779 First CVS upload.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@80
2002-07-27 13:08:48 +00:00