1
0
Fork 0
Commit graph

128 commits

Author SHA1 Message Date
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
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