Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-26 | Codechange: Replaced SmallVector::Find() const with suitable alternatives | Henry Wilson | |
The use of std::none_of in network/core/host.cpp is driven by the non-const comparison operator use by NetworkAddress. A future commit should address the const_casts in that class to ensure const-correctness. | |||
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-24 | Codechange: Use override keyword in networking classes. | peter1138 | |
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-05 | Fix: warnings when compiling for a recent version of Haiku | Patric Stout | |
This might break older Haiku versions, but it is hard to tell. | |||
2019-03-05 | Remove: BeOS support (deprecated by Haiku) | Patric Stout | |
In 10 years there is no commit to change how BeOS 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), BeOS is no longer support. SDL2 suggests to use Haiku instead of BeOS. | |||
2019-03-05 | Remove: MorphOS / AmigaOS support | Patric 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 :( | |||
2019-02-12 | Fix: CompanyEconomy documentation | Thomas den Hollander | |
Company income was described as an unsigned integer, but it should be signed. | |||
2019-02-03 | Change: Make a shortened network revision string for use in server queries | Niels Martin Hansen | |
2019-02-03 | Change: Increase NETWORK_REVISION_LENGTH to 33 bytes | Niels Martin Hansen | |
2019-01-17 | Codechange: Remove unnecessarily defined functions under MinGW | Charles Pigott | |
2018-12-27 | Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵ | glx | |
macro _WIN32 | |||
2018-06-23 | Feature #986: Automatic save when losing connection to a network game | Niels Martin Hansen | |
2018-04-30 | Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation. | J0an Josep | |
2018-04-29 | Remove: PSP support | Patric Stout | |
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2017-01-14 | (svn r27729) -Codechange: Do not count static NewGRF when checking for the ↵ | frosch | |
maximum number of NewGRFs in a game. -Codechange: Remove LAST_GRF_SLOT and MAX_NEWGRFS. Now NETWORK_MAX_GRF_COUNT is the only constant to specify the maximum number of non-static NewGRF. -Codechange: Increase the number of file slots, effectively increasing the maximum number of static NewGRF and baseset GRFs. | |||
2016-10-30 | (svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) ↵ | frosch | |
threads. (JGR) | |||
2014-12-24 | (svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles) | frosch | |
2014-04-25 | (svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵ | rubidium | |
the return is not NULL) | |||
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-23 | (svn r26057) -Fix: a number of possibly uninitialised variables | rubidium | |
2013-11-22 | (svn r26056) -Fix: a number of possibly uninitialised variables | rubidium | |
2013-11-22 | (svn r26046) -Fix: handle a number of failure conditions from methods called ↵ | rubidium | |
in the network code | |||
2013-07-13 | (svn r25597) -Fix [FS#5635]: [Content] When the server closed the ↵ | rubidium | |
connection, the client would for eternity try to read a packet and never timeout making it impossible to reconnect | |||
2013-07-13 | (svn r25593) -Cleanup: remove a few stale #defines | rubidium | |
2013-07-12 | (svn r25590) -Codechange: Align doxygen comments again | planetmaker | |
2013-07-12 | (svn r25589) -Fix [FS#5646]: Ensure that sent and received length of json ↵ | planetmaker | |
strings are the same (based on patch by Xaroth) | |||
2013-07-11 | (svn r25588) -Feature [FS#5643]: PING and PONG packets for admin port (Xaroth) | planetmaker | |
2013-07-11 | (svn r25587) -Add FS#5643: Conclude rcon output sent to admin clients with ↵ | planetmaker | |
an RCON_END packet (Xaroth) | |||
2013-07-07 | (svn r25573) -Change: make content list appear faster by allowing some ↵ | rubidium | |
window redraws in between | |||
2013-01-08 | (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵ | planetmaker | |
Eagle_rainbow) | |||
2012-12-01 | (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵ | alberth | |
various sources (including Eagle_rainbow, MinchinWeb) | |||
2012-11-08 | (svn r24674) -Fix (r24466, r23234) [FS#5358]: Downloaded heightmaps could ↵ | frosch | |
not be used anymore. (sbr) | |||
2012-10-28 | (svn r24642) -Codechange: add helper function to see if there is anything in ↵ | rubidium | |
the send queue | |||
2012-10-28 | (svn r24638) -Codechange: add some #ifndefs so MSU code doesn't need to ↵ | rubidium | |
compile it, and doesn't need all the required dependencies | |||
2012-10-04 | (svn r24571) -Fix: do not cast away const | rubidium | |
2012-09-19 | (svn r24532) -Change: try to read more UDP packets per game loop | rubidium | |
2012-09-02 | (svn r24508) -Fix [FS#5281] (24488): Content GUI crashed after downloading a ↵ | frosch | |
NewGRF while it is selected. | |||
2012-08-21 | (svn r24491) -Fix: compilation error with networking disabled | rubidium | |
2012-08-20 | (svn r24488) -Feature [FS#5236]: add buttons to view textfiles from the ↵ | yexo | |
online content window (LordAro) | |||
2012-08-13 | (svn r24466) -Codechange [FS#5236]: add general function for ContentType -> ↵ | yexo | |
Subdirectory conversion (LordAro) | |||
2011-12-19 | (svn r23623) -Add: allow bi-directional communication with the AdminPort and ↵ | truebrain | |
GameScript | |||
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-12-19 | (svn r23595) -Codechange: add comma after last enum to get a more uniform ↵ | rubidium | |
coding style | |||
2011-12-18 | (svn r23590) -Codechange: make the string validation settings better expandable | rubidium | |
2011-12-10 | (svn r23476) -Codechange: use the error queue to replace switch mode error ↵ | rubidium | |
strings, again making it possible to return multiple errors | |||
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 |