summaryrefslogtreecommitdiff
path: root/src/fios.cpp
AgeCommit message (Collapse)Author
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-25Fix: Possible double path separator in FiosMakeFilenameJuriy Petrochenkov
2019-09-13Fix: Avoid using stat to retrieve file modification times on Windows (#7731)Owen Rudge
2019-09-08Fix: Use natural sort when sorting the file list.Juriy Petrochenkov
2019-04-19Fix #7526, 5b77102b6: FiosItem::operator< must return false for equality (#7528)glx22
2019-04-13Codechange: use std::sort() to sort file listsglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Include() with include()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2019-03-20Remove: ENABLE_NETWORK switchPatric Stout
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to.
2019-03-05Remove: MorphOS / AmigaOS supportPatric Stout
In 10 years there is no commit to change how MorphOS works, and we have no active maintainer for it. It is unlikely it works in its current state (but not impossible). With the arrival of SDL2 (and removal of SDL), MorphOS is no longer support. There is an SDL2 port for MorphOS, but it is not maintained by upstream SDL2, and nobody can currently test it out. If anyone wants to re-add MorphOS, please do (revert this patch, fix the problems, and create a Pull Request). If you need any help doing so, let us know! It is not that we don't like MorphOS, it is that we don't have anyone fixing the problems :(
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-04-29Remove: WinCE supportPatric Stout
2017-08-20(svn r27896) -Fix: some warningsfrosch
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2016-09-04(svn r27653) -Fix(r27647): Rename FileOperation enum and values to ↵alberth
SaveLoadOperation to avoid nameclash with windows compiler toolkit.
2016-09-04(svn r27647) -Codechange: Introduce file operations, and use it to replace ↵alberth
most of SaveLoadDialogMode
2016-09-04(svn r27646) -Codechange: Move _fios_items variable into the SaveLoadWindow ↵alberth
class.
2016-09-04(svn r27644) -Codechange: Split GetFiosItem into BuildFileList and FindItem, ↵alberth
and move both to FileList.
2016-09-04(svn r27643) -Codechange: FiosGetDrives function also takes a destination ↵alberth
file list.
2016-09-04(svn r27642) -Codechange: FiosGet* file query functions take a destination ↵alberth
file list.
2016-09-04(svn r27641) -Codechange: Fold the _fios_items file list vector into its own ↵alberth
class.
2016-09-04(svn r27635) -Codechange: Move FileType and FileToSaveLoad structure ↵alberth
definitions.
2016-09-04(svn r27634) -Codechange: Improve name of the SmallFiosItem struct.alberth
2014-05-03(svn r26554) -Fix(r26489): Use last address of the destination buffer.alberth
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 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
2014-03-23(svn r26423) -Fix: Don't crash when supplying an invalid filename without ↵planetmaker
extension to cmd parameter -q
2012-12-09(svn r24804) -Add: Separate subdirectory for screenshots.frosch
2012-08-20(svn r24487) -Codechange [FS#5236]: make several DoesContentExist return the ↵yexo
path instead of a boolean (LordAro)
2011-11-14(svn r23216) -Codechange: introduce the concept of having different tar listsrubidium
2011-09-08(svn r22904) -Codechange: add tar filename to file scanningrubidium
2011-08-24(svn r22827) -Codechange: pass the/a more proper sub directory when opening ↵rubidium
(some) files instead of the default one
2011-08-24(svn r22823) -Codechange: pass the sub directory to search in to GetFileTitlerubidium
2011-05-28(svn r22511) -Add: Function to make heightmap file paths.alberth
2011-05-28(svn r22510) -Codechange: Extract filepath creation to its own function.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-27(svn r22500) -Doc: Fix and add fios doxygen documentation.alberth
2011-01-22(svn r21895) -Cleanup: get rid of the unused SLD_NEW_GAMErubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-06-27(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.alberth
2010-06-05(svn r19936) -Codechange: If there is an enum, also use it.frosch