Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
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. | |||
2018-06-23 | Feature #986: Automatic save when losing connection to a network game | Niels Martin Hansen | |
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-07-13 | (svn r25593) -Cleanup: remove a few stale #defines | 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-05-01 | (svn r22400) -Codechange: replace some defines in the tcp/game code so ↵ | rubidium | |
doxygen can create better documentation | |||
2010-12-05 | (svn r21392) -Change: prepare the network protocol for getting the file size ↵ | rubidium | |
later in the download process | |||
2010-11-30 | (svn r21358) -Codechange: make some network function names conform to coding ↵ | rubidium | |
style | |||
2010-11-25 | (svn r21322) -Fix [FS#4268] (r20924): packets were leaked | rubidium | |
2010-11-19 | (svn r21254) -Change: show a different "lag" message when a client is ↵ | rubidium | |
lagging because of connection trouble or lagging because the client is just slow | |||
2010-10-24 | (svn r21029) -Codechange: split the map downloading packet + 3-state enum ↵ | rubidium | |
into 3 separate packets | |||
2010-10-15 | (svn r20937) -Codechange: move some variables from client/server to server only | rubidium | |
2010-10-15 | (svn r20935) -Codechange: only let the server side use a pool of connected ↵ | rubidium | |
sockets | |||
2010-10-15 | (svn r20929) -Codechange: make NetworkCloseClient a class method | rubidium | |
2010-10-15 | (svn r20924) -Codechange: make the game connection packet handling look more ↵ | rubidium | |
like UDP/content packet handling | |||
2010-10-15 | (svn r20923) -Codechange: prepare creating sub-classes of ↵ | rubidium | |
NetworkClientSocket for server and client side | |||
2010-08-18 | (svn r20547) -Change: the way order backups are performed. Now restoring an ↵ | rubidium | |
order doesn't require up to 765 commands. | |||
2010-08-15 | (svn r20510) -Codechange: unify packet queue handling and make insertion ↵ | rubidium | |
O(1) instead of O(n) | |||
2010-02-09 | (svn r19072) -Fix [FS#3599]: possible read/write after free when the client ↵ | rubidium | |
triggered the server to close the connection | |||
2010-02-07 | (svn r19054) -Fix [FS#3598]: when banning yourself via rcon do not send the ↵ | rubidium | |
'command response' to the client as the connection has already been terminated | |||
2010-01-15 | (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵ | rubidium | |
if a header require a header make it include that header | |||
2009-11-28 | (svn r18330) -Cleanup: remove some unneeded includes | rubidium | |
2009-10-04 | (svn r17693) -Cleanup: remove some unneeded includes | rubidium | |
2009-08-21 | (svn r17248) -Fix: add GPL license notice where appropriate | rubidium | |
2009-08-05 | (svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵ | rubidium | |
relatives | |||
2009-06-19 | (svn r16601) -Fix [FS#2880]: try 2... hopefully better this time | rubidium | |
2009-05-22 | (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵ | smatz | |
time, binary size and run time (with asserts disabled) should be improved | |||
2009-01-14 | (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it ↵ | rubidium | |
is for UDP. |