Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-06 | Codechange: add SetDParamStr that accepts std::string& | rubidium42 | |
2021-05-03 | Codechange: Replace FOR_ALL_SEARCHPATHS with range-based for loops | glx22 | |
2021-04-28 | Cleanup: Replace FOR_ALL_SORTED_CARGOSPECS macro with range iterator. | Peter Nelson | |
2021-04-22 | Change: treat languages as finished, if translations are 75% completed. | frosch | |
Unfinished translations are not auto-picked from the locale. In release builds, unfinished translations are not offered in the GUI. Unfinished translations are available in non-release builds, or by editing openttd.cfg. | |||
2021-04-20 | Remove: "language" field from server/client | Patric Stout | |
The original idea was that people could find a server they could talk in their native language on. This isn't really used in that way. There are several reasons for removing this: - the client also sends his "language" to the server, but nothing is doing anything with this. - flags are a bad way to represent languages, and over the years we had several (rightfully) complaints about this. - most servers have their language set to "All", and prefix the servername with the language it is about. This is a much more efficient way to do the same. All in all, this feature should go back to the drawing board. Maybe it could work in another form, but this form is not it. | |||
2021-04-11 | Cleanup: Fix comment for only one form (#9012) | TELK | |
2021-04-10 | Add: new plural form for Romanian translation (#8936) | Nicolae Crefelean | |
2021-04-07 | Fix #8713: Change OTTD2FS and FS2OTTD to return string objects instead of ↵ | Niels Martin Hansen | |
static buffers | |||
2021-04-02 | Fix: Freeing LanguagePack with wrong size. | milek7 | |
2021-03-09 | Codechange: remove special strings for language and resolutions (#8824) | Patric Stout | |
As OpenTTD grew, we found other ways to do this, and we are no longer in need for a hack like this. | |||
2021-02-14 | Add: [OSX] Native font rendering without using FreeType. | Michael Lutz | |
2021-02-13 | Codechange: OS-specific data for font search is not used outside of searching. | Michael Lutz | |
2021-01-13 | Fix: tell the user if a font fails to load and fallback is about to be used | Patric Stout | |
Additionally, tell exactly why the font failed to load, which glyph was missing from the font. This hopefully helps the user a bit more in the right direction. | |||
2021-01-13 | Codechange: nobody was using "str" parameter, so remove it | Patric Stout | |
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2020-12-27 | Codechange: Use automatic memory management for language pack reading. | Michael Lutz | |
2020-12-27 | Codechange: Use std::string in FIO search path handling. | Michael Lutz | |
2020-12-15 | Feature: Show group name as part of the default vehicle name. | stormcone | |
Only if the vehicle is member of a group and does not have a user defined name. | |||
2020-12-15 | Feature: new velocity unit "tiles/day" (#8278) | jostephd | |
2020-05-21 | Codechange: Use std::string for most of the user-settable custom names. | Michael Lutz | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-08-02 | Fix #7672: more than 32 resolutions may be available | glx | |
2019-05-14 | Codechange: [Win32] Pass a native GDI font description around when we have ↵ | Michael Lutz | |
one, instead of repeatedly guessing the font. | |||
2019-05-14 | Add: [Win32] GDI engine for font glyph rendering as a replacement for ↵ | Michael Lutz | |
including FreeType. Building with FreeType is still possible and will take precedence over the GDI renderer, but the project files don't include FreeType anymore by default. Combining GDI rendering with ICU text layout is untested. | |||
2019-04-18 | Codechange: use std::vector for _language_dropdown | glx | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-26 | Fix #6564: enforce types of arguments for station name strings (#7419) | glx22 | |
2019-03-26 | Codechange: Initialise a few variables that -flto seems to think could ↵ | Charles Pigott | |
possibly be uninitialised | |||
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-24 | Codechange: Use override specifer for overriding member declarations | Henry 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-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-03-11 | Codechange: ICU_SORT is in reality ICU_I18N (according to their CMake files) | Patric Stout | |
By naming it in a different way, things get a bit confusing. Especially if we are switching to CMake, which autodetects these things, we need to use the name the authors of ICU gave it; not our interpertation of that name. | |||
2019-03-11 | Codechange: ICU_LAYOUT is in reality ICU_LX (according to their CMake files) | Patric Stout | |
By naming it in a different way, things get a bit confusing. Especially if we are switching to CMake, which autodetects these things, we need to use the name the authors of ICU gave it; not our interpertation of that name. | |||
2019-03-02 | Codechange: Make std::stack use std::vector container in string ↵ | PeterN | |
formatting/drawing. (#7305) This is a very minor performance increase which can add up during operations such as sorting. Performance impact my be platform/compiler dependent. | |||
2018-12-27 | Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵ | glx | |
macro _WIN32 | |||
2018-12-08 | Add: [OSX] Text layout using the native CoreText API. | Michael Lutz | |
By default, the native API will be used instead of ICU, but if ICU is forced in using configure, it will take precedence. | |||
2018-12-08 | Add: [OSX] Native natural sort implementation. | Michael Lutz | |
2018-10-31 | Fix: Remove various dead or unnecessary assignments | Charles Pigott | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-06-26 | Change: Increase cargo type limit to 64. | PeterN | |
2018-06-06 | Add: [Win32] Text layout using the native Windows Uniscribe library. | Michael Lutz | |
Uniscribe is sometimes producing different results compared to ICU, especially when RTL and LTR content is mixed. Comparing the results to other programs (like editors or web browsers) leads me to believe that the result are at least not worse than ICU and possibly better. | |||
2018-06-06 | Add: [Win32] Native natural sort implementation. | Michael Lutz | |
2018-05-21 | Change: Add CargoTypes type for cargo masks. (#6790) | PeterN | |
2018-04-19 | Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching ↵ | PeterN | |
colours. (#6737) This replaces the internal SCC_PREVIOUS_COLOUR swap. | |||
2018-04-17 | Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726) | Pavel Stupnikov | |
2018-04-08 | Fix #6690: Compilation with ICU 61 | Charles Pigott | |
2017-02-26 | (svn r27758) -Change: Increase the maximum number of GameScript texts to ↵ | frosch | |
64k, and NewGRF texts to 512k. | |||
2017-02-26 | (svn r27756) -Codechange: Add StringTab enum | frosch | |