1
0
Fork 0
Commit graph

137 commits

Author SHA1 Message Date
Peter Veenstra
56f3bf59e5 Typo
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3664
2011-01-04 10:30:05 +00:00
Ralf Grillenberger
c759fb6de1 config:
-  fix crashes when passing unexpected parameter combinations
- config -get 'sectionname' now lists the properties with their values
- add missing translation string
Thanks robertmo for reporting.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3654
2010-11-01 22:21:54 +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
27714abb47 Convert line ends in the shell. Improves compatibility with the sierra what.exe utility
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3550
2010-02-13 11:37:25 +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
4a44f76516 Change language handling a bit so that seperater includes the new line. Results in slightly larger language file, but it is the easiest way to fix the configuration language stuff. (inspired by bug 2799277 of hiro)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3428
2009-06-17 08:52:35 +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
fb874404f7 Fix warnings
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3409
2009-05-26 17:43:39 +00:00
Peter Veenstra
305e4d9055 Add some failsafes.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3408
2009-05-26 17:19:15 +00:00
Sjoerd van der Berg
88caf1dc71 Add compiler testing for always_inline attribute
Add compiler testing for fastcall attribute
Add the FASTCALL define to visual c
Remove some overkill inline routines
Make sure that all the inline routines in headers are static


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3355
2009-04-25 16:25:03 +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
9b8d6f45eb Linux fastdir support. Fix problems without fastdir support (closes: 2671401)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3318
2009-03-14 18:02:34 +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
Sebastian Strohhäcker
904307ce5b add custom fast filesearch routines
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3314
2009-03-04 19:34:42 +00:00
Peter Veenstra
d289485bdf Forgot a ~
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3311
2009-02-28 14:28:10 +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
d25daebcb9 include stdlib for getennv.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3298
2009-02-03 08:27:47 +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
Peter Veenstra
4a26ec8d4c headers, languagefile location new system. Fix console message which is unneeded.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3283
2009-02-01 14:18:12 +00:00
Peter Veenstra
77362e66f2 Added cross.cpp, which has functions for the configuration file locations.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3282
2009-02-01 14:16:52 +00:00
Peter Veenstra
2314183f15 Some warnings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3227
2008-10-05 14:44:52 +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
e7d66020ea Add non-parsing WriteOut.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3184
2008-07-26 19:06:26 +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
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
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
bd88bcea69 Add low- and uppercase for std::string.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3078
2008-01-13 11:28:41 +00:00
Sebastian Strohhäcker
3e1301347f fix some potential overflows
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3038
2007-11-04 19:14:32 +00:00
Peter Veenstra
6182b08be9 Make some visual C compiler happy
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3031
2007-10-31 11:45:14 +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
Sebastian Strohhäcker
0c24e87fdc silence some warnings, add most of sf patch #1185267 by Moe
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2883
2007-06-12 20:22:09 +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
132bbffb68 Add part of patch 1235377 of msharov and fix a few small bugs in the return values of the cpu cores
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2593
2006-04-11 19:02: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
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