summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2007-03-20(svn r9378) -Fix [FS#688] (r9038): cancel in password queries reduces amount ↵rubidium
of players in the network game when they haven't joined the game yet.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-08(svn r9061) -Fix [r9038, FS#668]: passwords are send when the server is in ↵rubidium
the 'authorizing' state, not 'inactive'.
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9038) -Fix [FS#115]: inactive connections are not automatically ↵rubidium
kicked, i.e. people who only open a telnet (or similar) connection to a server.
2007-03-06(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states ↵maedhros
that are mutually exclusive. At the same time, add an INITIALISED state which makes it possible to check if a grf is not yet active but will be later on during the GLS_ACTIVATION loading stage.
2007-03-05(svn r9016) [SunOS] -Fix: Don't use a struct-member that doesn't exist.celestar
-Documentation: Updated readme.txt for SunOS 5.10 (aka Solaris 10) Note: With this commit, building and running on Solaris 10 works, thus we officially support this OS now :)
2007-03-01(svn r8949) -Codechange: only test the first NETWORK_REVISION_LENGTH - 1 ↵rubidium
characters when determining network compatability. This makes it possible to have 'long' branch names while still being able to play network games.
2007-02-23(svn r8857) -Documentation: Added some doxygen @file tags, repaired others ↵celestar
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
2007-02-11(svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulotruelight
-Add: added general header-inclusing for PSP
2007-02-11(svn r8673) -Codechange: use SetNonBlocking instead of implementing yet ↵rubidium
another version.
2007-02-08(svn r8631) -Add: added parameter -l ip[:port] to ./openttd, which redirects ↵truelight
DEBUG() to a remote connection over TCP For example, launch on 192.168.0.1 with, say, netcat a listener: netcat -l -p 3982 Launch OpenTTD on a remote host (say, PSP): ./openttd -l 192.168.0.1 -d9 And you get all debug information on 192.168.0.1. Very useful for debugging Portable systems.
2007-02-02(svn r8546) -Codechange: add a seperate (wrapper) functions to send/receive ↵rubidium
booleans.
2007-02-02(svn r8544) -Codechange: move game list related function/struct declarations ↵rubidium
to network_gamelist.h
2007-02-02(svn r8543) -Codechange: make a real difference between querying the server ↵rubidium
via UDP and TCP.
2007-02-02(svn r8542) -Codechange (Fix?): tweak the gamelist requery timeout so more ↵rubidium
servers are found for slow network connections.
2007-02-01(svn r8525) -Codechange: make NetworkSend_Packet(s) and NetworkRecv_Packet ↵rubidium
functions of NetworkTCPSocketHandler.
2007-02-01(svn r8523) -Codechange: move all the Network(Recv|Send)_(uintXX|string) ↵rubidium
functions to Packet.
2007-02-01(svn r8521) -Codechange: initial step in converting Packet to a class; make ↵rubidium
and use constructors and functions related to the reading/saving the packet size.
2007-02-01(svn r8520) -Fix/Feature: requery gameservers that did not respond to their ↵rubidium
first query.
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-31(svn r8479) -Fix (r8459): Silenced VC warning C4099: 'Packet' : type name ↵KUDr
first seen using 'class' now seen using 'struct' -Codechange: 'typedef struct Packet' changed to 'struct Packet'
2007-01-30(svn r8461) -Feature: check for NewGRF compatability before actually ↵rubidium
downloading the map from a game server when connecting from the command prompt and internal console.
2007-01-30(svn r8459) -Codechange: move (Send|Recv)GRFIdentifier to ↵rubidium
NetworkSocketHandler, so it can also be used the TCP socket handler.
2007-01-28(svn r8446) -Fix (8445): accidentally made a function that should not be ↵rubidium
abstract abstract.
2007-01-28(svn r8445) -Cleanup: remove some @params from comments as the parameters ↵rubidium
did not exist anymore and add comments to several variables/functions.
2007-01-28(svn r8437) -Codechange: move often duplicated (in MSU) define to the udp ↵rubidium
header.
2007-01-27(svn r8428) -Codechange: Add proper names to aircraft subtypes instead of ↵Darkvater
magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
2007-01-26(svn r8411) [MorphOS] -Fix: tons of unneeded warnings in networking code, ↵truelight
because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish.
2007-01-23(svn r8372) -Fix (8361): NUM_LANDSCAPE comes (via some detour) from ↵rubidium
openttd.h, which does not exist in the masterserver/updater.
2007-01-22(svn r8361) -Codechange: make sure the range of the dates coming from the ↵rubidium
network are valid in OpenTTD -Codechange: use_password is a boolean variable -Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo
2007-01-21(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to ↵rubidium
GRFIdentifier so it can be reused.
2007-01-17(svn r8198) -Codechange: two global variables are not needed when network is ↵rubidium
disabled.
2007-01-17(svn r8171) -Fix (FS#556): return SL_ERROR when unthreaded saves failed, to ↵rubidium
make sure we do not try to send zero-byte savegames.
2007-01-16(svn r8168) -Regression (r6783): ParseConnectionstring didn't use the port ↵Darkvater
parameter if a player was also specified. (both IP#Player:Port and IP:Port#Player btw)
2007-01-16(svn r8167) -Fix (FS#556): a network client crashes, due to a division by ↵rubidium
zero, when the connection gets lost at the right moment or when the packet is malformed (server sends size 0 for the map).
2007-01-14(svn r8129) -Codechange: Change data tables to use split off palette map. And peter1138
include a file missed last time...
2007-01-14(svn r8118) -Codechange: change the ordering of the network list a little:rubidium
- servers we have information about go above servers we do not have information about. - servers that are version compatible go above servers we are not version compatible with. - servers we have all required NewGRFs for go above servers we miss NewGRFs for. - unpassworded servers go above passworded servers.
2007-01-13(svn r8097) Replace strlen() {==,!=,>} 0 by the more concise {,!}StrEmpty(). ↵tron
Additionally the test takes O(1) instead of O(n) now
2007-01-12(svn r8083) -Codechange: make a NetworkSocketHandler as base for all sockets ↵rubidium
and move a little of NetworkClientState functionality to the NetworkSocketHandler. Move the rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct, which is not yet implemented in an object oriented manner. The UDP socket handler now extends the NetworkSocketHandler instead of having a reference to a NetworkClientState.
2007-01-12(svn r8078) -Codechange: rewrite UDP part of the network code to make use ↵rubidium
classes. This is only one of the many steps to really cleanup the network code.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)
2007-01-09(svn r8000) -Codechange: drop UDP packets when their internal size does not ↵rubidium
match the received size. If that is the case, the packet was not received in one piece (or got somehow mangled with another packet), which will cause us to drop the packet later on because we are (for example) trying to read beyond the end of the packet.
2007-01-08(svn r7984) -Fix: out-of-bounds read access on _clients array (Quark)Darkvater
2007-01-06(svn r7932) -Fix (r7931): committed a few files too much :( (the ones I used ↵rubidium
to test the new masterserver)
2007-01-06(svn r7931) -Fix (r7759): multiple (different) -O flags made compilations ↵rubidium
with the wrong optimisations.
2007-01-05(svn r7888) -Change: add documentation about the 'on-the-wire' structure of ↵rubidium
the network game information request and reply packets.