summaryrefslogtreecommitdiff
path: root/src/network/core
AgeCommit message (Collapse)Author
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-02(svn r11557) -Codechange: send and store the passwords a little more secure ↵rubidium
to/in the servers. Each server and game yield a (usually) different 'salt'. This salt is used by the clients to hash their passwords. This way the passwords are not sent in clear text and it is not trivial to use those hashes on other servers. NOTE: It is still NOT safe to use your trusted passwords and it will not stop people from being able to 'hijack' your password, it only makes it harder to do and certainly much less trivial than just dumping passwords from the memory.
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming styleskidd13
This fixes also FS#1450
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-10-30(svn r11357) -Fix: NetworkUniqueID could be 80 chars, while the max size we ↵truelight
generate is 32. So reduce the size a bit. Pointed out by dihedral, so give him a big hug ;)
2007-10-18(svn r11290) -Fix: obiwan in the assertion that checked for overflows when ↵rubidium
writing a packet, causing still correctly sized packets to cause assertions.
2007-07-29(svn r10729) -Fix: some hardware (PS(P|3)) seems to loose the non-blocking ↵rubidium
state of UDP sockets.
2007-07-10(svn r10501) -Fix [FS#1015]: error dialog was sometimes shown on all clients ↵rubidium
when a command failed instead of only the client that actually did the command.
2007-06-01(svn r10017) -Add (FS#790): more languages flags for serversglx
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
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-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-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-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-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-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-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.
2007-01-05(svn r7882) -Fix: OS2 is defined as UNIX too, but not for networkingtruelight
2007-01-05(svn r7847) -Codechange: use NetworkUDPClose instead of calling closesocket ↵rubidium
directly.
2007-01-04(svn r7836) -Codechange: some constness for network/core.rubidium