1
0
Fork 0
Commit graph

37 commits

Author SHA1 Message Date
Patryk Obara
64772850b5 Respect XDG spec for dosbox main .conf file
Windows and macOS config files are left as they were, this change
affects mostly Linux users.

Users are not forced to migrate, but visible warning is being issued if
they aren't. Majority of users probably won't notice it, as the stable
release should generate newly named .conf file.
2020-04-18 22:09:04 +02:00
Joshua Fern
f2029d71d8 Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
Patryk Obara
c155400979 Use _fileno only with MSVC compiler
Function fileno is available in POSIX environment out of the box. On
non-POSIX platforms, it might be missing in some cases when compiling
with -std=c++11, as it's outside of strict ANSI compatibility.
2020-03-01 21:13:19 +01:00
Patryk Obara
1953d0880b Redefine fileno for Windows
This redefine prevents fake deprecation warning on Windows (C4996) and
prevents a compilation problem when using old MinGW and Windows XP.
2020-01-11 17:50:28 +01:00
Patryk Obara
cb82a60341 Surround WIN32_LEAN_AND_MEAN with ifndef
Otherwise it redefines macro definition in SDL_opengl.h.
2019-12-26 03:23:19 +01:00
Patryk Obara
5f9ac5eeab Remove code ifdefed for OS/2
Cleanup before replacing SDL1.2 with SDL2.

OS/2 support was introduced in DOSBox in March 2006.  OS/2 reached EOL
in December 2006.

As of 2019, OS/2 is being continued by proprietary 32-bit only ArcaOS,
although there is no official SDL2 support, despite pledges from SDL2
maintainers.
2019-12-09 16:27:11 +01: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
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
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
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
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
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
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
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
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
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
c11d55a223 Reorder headers a bit. Add control.h and bios_disk.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3280
2009-02-01 14:11:45 +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
4510807269 rewrite powf stuff a bit.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2718
2006-11-07 11:43:13 +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
241e89b175 GCC 4.1 changes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2396
2005-11-29 07:25:30 +00:00
Peter Veenstra
220fe7e462 Changes for os2 support
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2386
2005-11-24 17:53:08 +00:00
Peter Veenstra
989727eaae new include system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2136
2005-03-24 10:18:45 +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
7c7b9b0539 added vsnprintf
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1981
2004-09-16 21:46:03 +00:00
Peter Veenstra
c72e8eb917 Finally solve that weird windows specific filebug.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1975
2004-09-14 18:56:11 +00:00
Sjoerd van der Berg
dae79d0879 added snprintf define for visual c++
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1916
2004-08-23 09:34:21 +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
1b371a6a00 Cross_filename does something on Win32 too :)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1645
2004-02-02 19:22:23 +00:00
Peter Veenstra
fcbd0fe854 Copyright to 2004
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1552
2004-01-10 14:03:36 +00:00
Peter Veenstra
d61bdb0094 Added LONGTYPE => long long for different platforms
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1145
2003-07-24 12:39:59 +00:00
Sjoerd van der Berg
21306420c0 Removed dosbox_datadir.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@830
2003-03-28 23:41:34 +00:00
Sjoerd van der Berg
ac538811eb Made the visual C special #defines for WIN32 to fix some errors with mingw32 compiling.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@290
2002-09-18 15:28:46 +00:00
Peter Veenstra
9e48fbd6b5 added a define for ftruncate so it works under win32
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@117
2002-08-07 10:25:30 +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