1
0
Fork 0
Commit graph

170 commits

Author SHA1 Message Date
Patryk Obara
b62a637157 Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
Peter Veenstra
e90de61263 Create fopen_wrapper so we can filter out specific directories, which DOS games should have no access to
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4238
2019-06-24 20:09:59 +00:00
Peter Veenstra
46babe5666 End of environment is a bit shorter. Very old code, lets see what breaks.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4235
2019-06-20 09:22:17 +00:00
Peter Veenstra
8a156f17d8 fix limit check
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4210
2019-04-20 11:49:59 +00:00
Peter Veenstra
6b0f8d6833 Strip leading = from value. Can happen if you execute "irq =5".
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4209
2019-04-19 19:28:55 +00:00
Peter Veenstra
687e3cf058 Ensure room before adding environment variable using set. Noted when running a subshell under NC.
Bug left: we don't have a lot of environment space in that case (not the 160 minimum).


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4200
2019-04-01 16:50:49 +00:00
Peter Veenstra
94113a7362 Change multi_remain to repeat last parsed value for non-string types if the next value is empty and of the same type as the last.
Use this to add an optional parameter to sensitivity which controls the y axis. When optional parameter is missing, x and y axis have the same value.
Change limits on sensitivity to allow for negative values so the Mouse Y-axis can be inversed. Similar to patch #276.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4197
2019-03-29 20:47:57 +00:00
Peter Veenstra
a3635e22af Repair double slash in configfile location on Macs. Add some protection against a NULL dirp.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4193
2019-02-28 13:03:22 +00:00
Peter Veenstra
1fbaff47fc Update year and address of FSF
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4183
2019-01-25 14:09:58 +00:00
Peter Veenstra
c7e6b3ca86 Report when a -conf file can not be loaded. Make spacing similar between messages.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4166
2018-10-10 07:00:53 +00:00
Peter Veenstra
1ff6911b3c Let all multiline comments jump in. Pretty up value blocks
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4160
2018-09-04 13:51:09 +00:00
Peter Veenstra
825999f3b8 Ensure stat receives the correct path when base_path misses filesplit. Remove duplicate code.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4111
2018-05-30 17:54:50 +00:00
Peter Veenstra
5bb10db88b Time keeps on ticking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4109
2018-05-29 12:58:58 +00:00
Peter Veenstra
dc5c83eb60 Only add return to buffer if it already contains data, which fixes extra return in generated autoexec.bat.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4103
2018-05-22 15:11:58 +00:00
Peter Veenstra
54c993669a Strip spaces properly. Fixes bug #480
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4100
2018-05-06 19:34:22 +00:00
ripsaw8080
630b9befb5 ANSI emulation is activated for the session when an escape sequence is encountered other than those used by internal messages. Fixes LucasArts setup programs (Bug #458) provided that ANSI emulation is not activated.
Compatible scroll fill for ANSI emulation.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4097
2018-05-03 16:49:48 +00:00
Peter Veenstra
ae683cd794 Remove exception specifiers as they are depreciated. Remove some trailing spaces and add some spaces for readability.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4079
2018-02-17 15:16:44 +00:00
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
db0a72cd4d and a few more.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3921
2015-07-04 18:37:14 +00:00
Peter Veenstra
bb604c1d77 some stl implementations fake the interators...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3920
2015-07-04 18:24:54 +00:00
Peter Veenstra
084342cf83 typo
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3916
2015-06-05 13:20:03 +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
2a8cf58b99 Reenable the setting of the %CONFIG% variable when doing a CONFIG -get command (reported in forum)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3842
2013-11-05 22:12:59 +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
a7af902f2f Even our comments and status messages have less bugs now (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3764
2011-12-08 12:47:04 +00:00
Peter Veenstra
81085e036e Keep track of last written character instead of previous character in buffer. This allow handling of leading and single newlines.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3750
2011-09-01 12:08:35 +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
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