summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
AgeCommit message (Collapse)Author
2018-04-29Remove: WinCE supportPatric Stout
2017-12-27(svn r27954) -Cleanup [FS#6644]: Remove unused function (M3Henry)frosch
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-06-22(svn r27886) -Fix [FS#6575-ish]: Do not modify argv[0].frosch
2014-04-25(svn r26514) -Fix: rewrite link-in-tar handling so it doesn't use strncpy ↵rubidium
and it doesn't overrun its buffers anymore
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26499) -Codechange: replace strndup with streduprubidium
2014-04-23(svn r26489) -Codechange: properly account for the end of buffers in the ↵rubidium
file io code instead of assuming MAX_PATH is okay
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵frosch
and strecat.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-11-25(svn r26114) -Fix-ish: do our best to not get bit by getenv being unsafe as hellrubidium
2013-11-24(svn r26089) -Fix: a number of minor memory leaksrubidium
2013-11-24(svn r26087) -Fix: file descriptor leak when finding a corrupt tarrubidium
2013-11-24(svn r26082) -Fix [FS#5816] (r26077): tar files with more than one file in ↵rubidium
the root directory would not be read properly (zydeco)
2013-11-23(svn r26077) -Codechange: handle strings like strings when scanning a tar ↵rubidium
instead of merely blobs of memory
2013-11-23(svn r26076) -Codechange: upgrade some C-style named structs to C++-style ↵rubidium
named structs
2013-11-23(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some ↵rubidium
cases
2013-11-23(svn r26058) -Fix: handle the return value of a number of functions betterrubidium
2013-11-16(svn r26008) -Fix (r25975): uninitialised warningrubidium
2013-11-13(svn r25975) -Feature [FS#5385]: XDG base directory supportrubidium
2013-11-13(svn r25974) -Codechange: make the _personal_dir global const, since once ↵rubidium
it's set it shouldn't be changed anyhow
2013-05-26(svn r25291) -Add: WindowDesc ability to load and store information in a ↵frosch
config file.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2013-01-01(svn r24877) -Fix: some whitespace "errors"rubidium
2012-12-09(svn r24804) -Add: Separate subdirectory for screenshots.frosch
2012-02-25(svn r23983) -Fix [FS#5083]: tarred heightmaps wouldn't be foundrubidium
2011-12-19(svn r23612) -Add: allow importing libraries in the same way as AI does, ↵truebrain
only with GS prefix (and in game/library)
2011-12-19(svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from ↵truebrain
that directory
2011-11-16(svn r23234) -Fix [FS#4840]: crash when after downloading contentrubidium
2011-11-15(svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all ↵frosch
required directories for basesets.
2011-11-15(svn r23227) -Fix (r23219): The FileScanner should also consider the old ↵frosch
directories.
2011-11-15(svn r23226) -Fix (r23219): If you find a file, also use it.frosch
2011-11-14(svn r23225) -Fix: create the newgrf/baseset/ai directories in the personal ↵rubidium
directory so the user has some clue where to place the different files
2011-11-14(svn r23219) -Change: different directories for basesets and newgrfs. So ↵rubidium
data to baseset or newgrf, and gm to baseset
2011-11-14(svn r23218) -Codechange: prepare code for a separate base set directoryrubidium
2011-11-14(svn r23217) -Codechange: introduce the concept of scanning only in a ↵rubidium
limited set of sub directories
2011-11-14(svn r23216) -Codechange: introduce the concept of having different tar listsrubidium
2011-11-12(svn r23198) -Codechange: introduce a free that takes const pointers so we ↵rubidium
don't need to cast to void/non-const before being able to free
2011-09-08(svn r22904) -Codechange: add tar filename to file scanningrubidium
2011-08-25(svn r22835) -Codechange: keep track of the subdirectory we are looking ↵rubidium
through in the file scanner
2011-08-25(svn r22834) -Codechange: unify some code, and extend it to work for other ↵rubidium
filenames that should end in a particular way
2011-08-24(svn r22825) -Codechange: pass subdir to FioOpenFilerubidium
2011-08-24(svn r22822) -Codechange: make a distinction between base sets and newgrfs ↵rubidium
for their directory
2011-08-04(svn r22719) -Fix: compilation with gcc 4.7smatz
2011-08-01(svn r22709) -Doc: Doxyment fileio.cpp.alberth
2011-07-16(svn r22669) -Codechange: For non-windows, only test for file existence ↵alberth
again if strtolower actually changed the name.
2011-07-16(svn r22668) -Codechange: FioFindFullPath tests already whether the file exists.alberth
2011-05-28(svn r22502) -Fix (r22501): WIN32 compilationglx
2011-05-27(svn r22501) -Codechange: Move FileExists to a better place.alberth
2011-05-15(svn r22465) -Fix [FS#4613]: When determining the executable path failed, ↵frosch
the working directory was used instead, circumventing the not-home-directory check.