Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-06 | Codechange: add SetDParamStr that accepts std::string& | rubidium42 | |
2021-04-29 | Cleanup: Remove old FiosList helper methods. (#9139) | PeterN | |
2020-12-30 | Fix: Assert fail when using restart command after opening save/load GUI | Jonathan G Rennison | |
2020-12-27 | Codechange: Convert some more FIO functions to take std::string. | Michael Lutz | |
2020-12-27 | Codechange: Use std::string in FIO search path handling. | Michael Lutz | |
2020-12-27 | Codechange: Stringify config file paths. | Michael Lutz | |
2020-05-21 | Codechange: Use std::string for most of the user-settable custom names. | Michael Lutz | |
2020-01-05 | Add: Highlight item under mouse in file browser | Niels Martin Hansen | |
2020-01-05 | Doc: Missing member description | Niels Martin Hansen | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-08-17 | Codechange: Reduced indentation in SaveLoadWindow::OnClick | Juriy Petrochenkov | |
2019-04-13 | Codechange: use std::sort() to sort file lists | glx | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-26 | Codechange: [core] Implement SmallVector using std::vector | Henry Wilson | |
The public and protected interface to SmallVector are unchanged SmallVector now requires that items be default constructible This isn't an issue since some contained items were previously created uninitialized. Temporary default constructors are added to the following structs - SmallPair - SmallStackItem - GRFPresence Where vector<bool> is required, transition immediately to std::vector to avoid returning proxy object references. | |||
2019-03-24 | Codechange: Use override specifier in Window-derived classes. | peter1138 | |
2019-03-23 | Fix: Filtered file list did not scroll properly. (#7402) | PeterN | |
2019-03-20 | Remove: ENABLE_NETWORK switch | Patric 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-02-22 | Fix: Resorting file list did not update filtered rows. | peter1138 | |
2019-02-01 | Add: Warn before overwriting an existing save file | Niels Martin Hansen | |
2018-11-25 | Add: Filter box to the save and load windows (#6974) | damfr | |
Save and heightmap names can be filtered. | |||
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
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 r27651) -Codechange: Introduce methods for setting the name and title ↵ | alberth | |
of _file_to_saveload. | |||
2016-09-04 | (svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵ | alberth | |
DetailedFileType. | |||
2016-09-04 | (svn r27649) -Codechange: Introduce detailed file type enum, rebuild ↵ | alberth | |
FiosType with it. | |||
2016-09-04 | (svn r27648) -Codechange: Remove remaining _saveload_mode usage. | alberth | |
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 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 r27638) -Codechange: Move FiosType enum, move and rename SetFiosType ↵ | alberth | |
function. | |||
2016-09-04 | (svn r27636) -Codechange: Rename FileType to AbstractFileType. | alberth | |
2016-09-04 | (svn r27633) -Codechange: Extract _saveload_mode use from BuildFileList | alberth | |
2014-10-05 | (svn r26960) -Codechange: Draw sort button symbols as sprites, and pad sort ↵ | peter1138 | |
buttons with non-static width. | |||
2014-06-08 | (svn r26634) -Fix: 'Load' button was not properly enabled/disabled for old ↵ | frosch | |
savegames without NewGRF information. | |||
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-25 | (svn r26428) -Add [FS#5953]: Load button for heightmap list | planetmaker | |
2013-08-05 | (svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵ | michi_cc | |
just UCS-2 to the window key press handlers. | |||
2013-05-26 | (svn r25294) -Feature: Add another button to window title bars to resize the ↵ | frosch | |
window to its default size. | |||
2013-05-26 | (svn r25290) -Add: Assign string names to notable windows. | frosch | |
2013-05-26 | (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵ | frosch | |
after construction. | |||
2013-03-17 | (svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf. | frosch | |
2012-11-14 | (svn r24742) -Codechange: Remove QueryStringBaseWindow and store ↵ | frosch | |
QueryStrings per widget instead. | |||
2012-11-14 | (svn r24740) -Codechange: Remove duplicate members from ↵ | frosch | |
QueryStringBaseWindow and directly use QueryString. |