rubidium
|
d04ebf2fa5
|
(svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted
|
2009-04-15 20:37:00 +00:00 |
rubidium
|
3061d70387
|
(svn r16064) -Fix: memory leak when querying a server multiple times.
|
2009-04-15 20:35:52 +00:00 |
glx
|
532fca65ef
|
(svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available
|
2009-04-12 22:13:05 +00:00 |
rubidium
|
47e2901e18
|
(svn r16034) -Fix: compile warnings generated by 64 bits MSVC.
|
2009-04-11 20:26:25 +00:00 |
peter1138
|
be7215497c
|
(svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value.
|
2009-04-11 10:38:00 +00:00 |
rubidium
|
2663ad302f
|
(svn r16022) -Fix (r15159): sometimes the unregister "query" thread could be delayed so much that the network stuff was already closed and the packet would never reach the master server causing the server to appear online longer than necessary.
|
2009-04-10 20:18:48 +00:00 |
rubidium
|
7d3db3ee91
|
(svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
|
2009-04-10 12:56:55 +00:00 |
rubidium
|
460fbc7c92
|
(svn r16007) -Fix (r16004): when we want to bind to both IPv4 and IPv6, make the master socket do that too; too bad getaddrinfo can't handle binding to any address on any port at the same time :(
|
2009-04-10 09:23:35 +00:00 |
rubidium
|
28bce241fd
|
(svn r16005) -Fix: assertion when there is no last joined server; when you've got an unresolved address, the hostname cannot be resolved either so return it as-is.
|
2009-04-09 21:36:09 +00:00 |
rubidium
|
8477e92386
|
(svn r16004) -Fix (r16000): explicitly binding to an IPv4 socket would try to register an IPv6 address (only if it could ofcourse)
|
2009-04-09 21:26:29 +00:00 |
rubidium
|
c0f9af5607
|
(svn r16000) -Feature: IPv6 support
|
2009-04-09 01:22:45 +00:00 |
rubidium
|
ebe0f9e7f7
|
(svn r15998) -Codechange: some coding style updates
|
2009-04-09 01:16:15 +00:00 |
rubidium
|
882e495f5c
|
(svn r15993) -Codechange: clean up/generalise the handling of the server list
|
2009-04-08 23:41:48 +00:00 |
rubidium
|
c2dbc8270b
|
(svn r15991) -Fix: don't add 0.0.0.0/:: to the server list; you can't connect to them in any case
|
2009-04-08 21:16:24 +00:00 |
rubidium
|
0f0cc67d62
|
(svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString.
|
2009-04-08 21:11:16 +00:00 |
rubidium
|
e779c56e31
|
(svn r15989) -Fix (r15987: segfault due to uninitialised sockets.
|
2009-04-08 21:03:00 +00:00 |
rubidium
|
1d4318c0d1
|
(svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names.
|
2009-04-08 19:39:03 +00:00 |
rubidium
|
08e37a6f10
|
(svn r15987) -Fix: make the master socket only listen on the IP the server is bound to.
|
2009-04-08 19:36:51 +00:00 |
rubidium
|
080095ade5
|
(svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists.
|
2009-04-08 17:51:04 +00:00 |
rubidium
|
cd8da0d69e
|
(svn r15982) -Codechange: use GetAddressAsString to get the name instead of passing the hostname and the IP into a string.
|
2009-04-08 12:52:53 +00:00 |
rubidium
|
9d6edae94d
|
(svn r15981) -Fix: don't print the address family when writing the IP+port to the config file.
|
2009-04-08 12:09:07 +00:00 |
rubidium
|
18146572b0
|
(svn r15980) -Codechange: don't try to bind to the same socket twice; it's quite pointless.
|
2009-04-08 11:57:00 +00:00 |
rubidium
|
c2152fa31f
|
(svn r15979) -Codechange: tweak the debug/warning levels of some of the messages when binding
|
2009-04-08 01:23:44 +00:00 |
rubidium
|
a5a424ce28
|
(svn r15978) -Codechange: support parsing [] enclosed IPv6 addresses.
|
2009-04-08 01:22:57 +00:00 |
rubidium
|
20e82c46d3
|
(svn r15976) -Codechange: make it a bit more clear for what (type of) address binding fails
|
2009-04-08 00:41:35 +00:00 |
rubidium
|
1eb4aa971e
|
(svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver
|
2009-04-08 00:26:49 +00:00 |
glx
|
d466fa9672
|
(svn r15974) -Fix (r15969): win32 compilation was broken (again)
|
2009-04-08 00:10:20 +00:00 |
rubidium
|
8cf88876ef
|
(svn r15973) -Codechange: make it possible to listen on multiple TCP sockets
|
2009-04-08 00:05:16 +00:00 |
rubidium
|
c0f8214218
|
(svn r15972) -Codechange: remove unneeded parameter
|
2009-04-08 00:03:05 +00:00 |
rubidium
|
2a6e9288fd
|
(svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets.
|
2009-04-07 20:27:13 +00:00 |
rubidium
|
6db7f15b3a
|
(svn r15970) -Codechange: make it possible to resolve a single address into multiple sockets.
|
2009-04-07 19:52:01 +00:00 |
rubidium
|
82f8badc07
|
(svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited.
|
2009-04-07 19:06:36 +00:00 |
rubidium
|
fdddfd6269
|
(svn r15968) -Codechange: do not allocate a buffer for NetworkAddresses so passing it around is easier.
|
2009-04-07 19:04:37 +00:00 |
rubidium
|
22d9306889
|
(svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly
|
2009-04-07 18:23:14 +00:00 |
rubidium
|
0678cb561d
|
(svn r15961) -Codechange: prepare the 'client' side for receiving 'session keys' from the masterserver so servers can register with multiple IPs as the same server.
|
2009-04-05 19:43:41 +00:00 |
rubidium
|
edfc2e536e
|
(svn r15954) -Fix: comparing addresses kinda fails (sometimes) causing duplicates in the game list
|
2009-04-04 13:09:36 +00:00 |
rubidium
|
616cac0c54
|
(svn r15951) -Fix (r15946) [FS#2803]: ofcourse a couple of OSes/compilers do not provide a nice 'interface', so we have to do it the ugly way.
|
2009-04-04 08:48:12 +00:00 |
glx
|
5eed35ef54
|
(svn r15950) -Fix (r15946): mingw compilation
|
2009-04-04 03:45:02 +00:00 |
rubidium
|
a779611665
|
(svn r15948) -Fix: resolve network addresses before comparing them
|
2009-04-04 01:51:32 +00:00 |
rubidium
|
c9ebf14ba5
|
(svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address.
|
2009-04-04 00:48:48 +00:00 |
rubidium
|
2fd9f0fffa
|
(svn r15946) -Codechange: move netmask matching to NetworkAddress and add some support for IPv6 netmask matching.
|
2009-04-04 00:47:08 +00:00 |
glx
|
e460d3f4d0
|
(svn r15945) -Fix (r15944): win32 compilation
|
2009-04-03 23:44:31 +00:00 |
rubidium
|
7cf4639255
|
(svn r15944) -Codechange: disable IPv4 over IPv6 sockets as there is no default value and not all OSes actually support IPv4 over IPv6 so making it the same on all OSes eases debugging and such
|
2009-04-03 21:46:52 +00:00 |
rubidium
|
ce06df313d
|
(svn r15941) -Codechange: jonty-comp's wish partly implemented (content server) ;)
|
2009-04-03 17:20:57 +00:00 |
rubidium
|
1463b00b48
|
(svn r15940) -Codechange: move setting reuse address to the binding process.
|
2009-04-03 17:02:29 +00:00 |
glx
|
2dafb9dd57
|
(svn r15938) -Fix: broadcast addresses detection was broken for win32
|
2009-04-03 16:22:34 +00:00 |
rubidium
|
e05e1822d6
|
(svn r15935) -Codechange: function to compare IP addresses (to sort them)
|
2009-04-03 15:42:41 +00:00 |
rubidium
|
2bfc9ca50c
|
(svn r15934) -Fix: work around Solaris' inability to "parse" 0 as defined in the specifications.
|
2009-04-03 15:24:39 +00:00 |
glx
|
65d10e66f0
|
(svn r15933) -Fix (r15920): mingw doesn't know getaddrinfo() and freeaddrinfo() either
|
2009-04-03 14:01:45 +00:00 |
rubidium
|
5386fe1a1c
|
(svn r15932) -Codechange: show ip:port as (fallback) servername instead of only the ip. This way you can clearly see there aren't any duplicates.
|
2009-04-03 12:54:38 +00:00 |
rubidium
|
89d0eca6b7
|
(svn r15931) -Codechange: let the host and ban lists use of SmallVector.
|
2009-04-03 12:49:58 +00:00 |
glx
|
d84fb358f5
|
(svn r15930) -Fix (r15926): MSVC compilation
|
2009-04-03 12:48:11 +00:00 |
rubidium
|
11723c40b2
|
(svn r15926) -Codechange: make the broadcast IP list less AF dependent.
|
2009-04-03 11:02:41 +00:00 |
rubidium
|
47602d7b60
|
(svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant.
|
2009-04-03 10:29:56 +00:00 |
rubidium
|
dccfba6e20
|
(svn r15924) -Codechange: replace NetworkResolveHost with something less AF dependant.
|
2009-04-03 09:07:16 +00:00 |
rubidium
|
632d74c6b1
|
(svn r15922) -Codechange: unify the ways to listen on a socket
|
2009-04-03 01:24:52 +00:00 |
rubidium
|
ba5aafb9bb
|
(svn r15921) -Fix: some OSes don't like sizeof(sockaddr_storage) but want sizeof(sockaddr) or whatever is 'valid' for the given protocol
|
2009-04-03 00:33:00 +00:00 |
rubidium
|
c7b6469dab
|
(svn r15920) -Codechange: make the (TCP) connecting less AF dependent.
|
2009-04-02 23:59:43 +00:00 |
glx
|
521bf687ee
|
(svn r15919) -Fix (r15916): mingw doesn't know getnameinfo() (unless you compile for XP SP2+). Also fix a MSVC warning.
|
2009-04-02 23:22:59 +00:00 |
rubidium
|
beef5da970
|
(svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' data (as spotted by SpComb)
|
2009-04-02 23:03:18 +00:00 |
rubidium
|
c5160c7c8e
|
(svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP.
|
2009-04-02 20:39:30 +00:00 |
rubidium
|
1e205e01b8
|
(svn r15916) -Codechange: let the network game list use NetworkAddress
|
2009-04-02 20:17:46 +00:00 |
rubidium
|
c0c6e07081
|
(svn r15915) -Codechange: let the udp code use NetworkAddress.
|
2009-04-02 19:21:26 +00:00 |
rubidium
|
804370d964
|
(svn r15914) -Codechange: let the content handling make use of NetworkAddress.
|
2009-04-02 18:35:59 +00:00 |
rubidium
|
d3fa15e620
|
(svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail
|
2009-03-31 00:57:21 +00:00 |
alberth
|
9d2738b9c4
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
2009-03-29 09:49:11 +00:00 |
peter1138
|
28d3123dfd
|
(svn r15848) -Feature: Add autoclean_novehicles setting which will, when autoclean_companies is true, remove any company with no vehicles and no active client after autoclean_novehciles-months.
|
2009-03-25 16:30:33 +00:00 |
yexo
|
b61a681f02
|
(svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN.
|
2009-03-23 00:08:59 +00:00 |
rubidium
|
e25b2f5d60
|
(svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window.
|
2009-03-22 23:38:29 +00:00 |
alberth
|
6567a29e18
|
(svn r15820) -Codechange: Some windows using nested widgets
|
2009-03-22 21:16:57 +00:00 |
rubidium
|
9038733f1a
|
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
|
2009-03-22 14:39:20 +00:00 |
rubidium
|
57174a9301
|
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
|
2009-03-22 12:01:21 +00:00 |
rubidium
|
e74dc1e1d6
|
(svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
|
2009-03-22 09:34:06 +00:00 |
rubidium
|
d837fc4d03
|
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
|
2009-03-21 23:45:34 +00:00 |
rubidium
|
f11300d1f9
|
(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API
|
2009-03-21 22:46:17 +00:00 |
rubidium
|
69decac406
|
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
|
2009-03-21 22:22:00 +00:00 |
rubidium
|
9003641095
|
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
|
2009-03-21 22:00:00 +00:00 |
rubidium
|
fd0f0bda72
|
(svn r15788) -Codechange: enumify the network join status widgets and use them.
|
2009-03-21 21:26:10 +00:00 |
rubidium
|
45f189fdca
|
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
|
2009-03-21 20:12:12 +00:00 |
glx
|
9fcff01850
|
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
|
2009-03-21 20:06:00 +00:00 |
rubidium
|
8a758beec3
|
(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.
|
2009-03-21 19:10:26 +00:00 |
rubidium
|
ee4a660b0c
|
(svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly
|
2009-03-19 23:32:39 +00:00 |
rubidium
|
f5cb1873d6
|
(svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice.
|
2009-03-19 17:56:45 +00:00 |
smatz
|
8585aa71ed
|
(svn r15726) -Codechange: unify coding style for const pointers
|
2009-03-15 16:04:39 +00:00 |
rubidium
|
4f8eeca437
|
(svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth)
|
2009-03-15 15:22:09 +00:00 |
rubidium
|
f9def73be6
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
2009-03-15 15:12:06 +00:00 |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |
rubidium
|
9d018723b7
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
2009-03-14 18:16:29 +00:00 |
rubidium
|
27bcfd115b
|
(svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows.
|
2009-03-13 21:32:38 +00:00 |
yexo
|
2b0b9a6367
|
(svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open.
|
2009-03-11 09:21:11 +00:00 |
rubidium
|
4a5c4f6089
|
(svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting
|
2009-03-08 16:14:14 +00:00 |
smatz
|
642dc1ea5e
|
(svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block
|
2009-03-07 22:40:47 +00:00 |
rubidium
|
406832fed8
|
(svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas.
|
2009-03-06 19:33:45 +00:00 |
smatz
|
f3ed8268b6
|
(svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server
|
2009-03-06 12:42:01 +00:00 |
rubidium
|
86ca408d46
|
(svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns.
|
2009-03-06 01:23:25 +00:00 |
rubidium
|
908e850b5a
|
(svn r15605) -Codechange: constify a function
|
2009-03-04 00:13:52 +00:00 |
rubidium
|
3ae9851bd8
|
(svn r15580) -Fix [FS#2684]: last activity time not properly updated causing downloads to be aborted after a minute.
|
2009-02-25 17:00:59 +00:00 |
rubidium
|
66a8c0a132
|
(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp
|
2009-02-25 00:48:04 +00:00 |
yexo
|
3bb872e7dd
|
(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum.
|
2009-02-25 00:45:52 +00:00 |
yexo
|
901230bde1
|
(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte.
|
2009-02-25 00:14:46 +00:00 |