Commit Graph

11623 Commits

Author SHA1 Message Date
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
frosch
d3de4ba91b (svn r16006) -Fix (r0): Chance16() did not work for b = 1. Also transform the formula to not use divisions. 2009-04-09 22:37:59 +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
alberth
b5da02ac1c (svn r16003) -Codechange: Replaced magic widget number constant with enumerated value in graph legend window. 2009-04-09 11:42:24 +00:00
alberth
11f406c0a4 (svn r16002) -Codechange: Added nested widgets for company league window 2009-04-09 11:22:36 +00:00
alberth
4af791e888 (svn r16001) -Codechange: Added nested widgets to cargo payment rates window 2009-04-09 09:41:10 +00:00
rubidium
c0f9af5607 (svn r16000) -Feature: IPv6 support 2009-04-09 01:22:45 +00:00
rubidium
7118c48b98 (svn r15999) -Codechange: VARDEF--; 2009-04-09 01:22:33 +00:00
rubidium
ebe0f9e7f7 (svn r15998) -Codechange: some coding style updates 2009-04-09 01:16:15 +00:00
rubidium
c08c4224be (svn r15997) -Fix [FS#2811]: multiline string truncation broke extending the industry window when there are more lines of information 2009-04-09 01:10:35 +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
translators
9c814d64f4 (svn r15985) -Update: WebTranslator2 update to 2009-04-08 17:53:32
catalan    - 1 fixed by arnaullv (1)
english_US - 1 fixed by WhiteRabbit (1)
estonian   - 1 changed by kristjans (1)
galician   - 7 fixed by Condex (7)
malay      - 2 fixed by tombakemas (2)
romanian   - 2 fixed by kkmic (2)
serbian    - 2 fixed by etran (2)
spanish    - 2 fixed by eusebio (2)
2009-04-08 17:53:40 +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
svnsync
3fdb8a62c4 (svn r15966) -Fix: over time, several incosistancies were not fixed by WT2. Take care of that now. Also introduce #textdir for all languages. 2009-04-07 14:28:32 +00:00
smatz
1eeb1d6cee (svn r15965) -Change: use recent Czech language for plural form (it has been official for years anyway) 2009-04-07 00:05:44 +00:00
translators
c738978dae (svn r15964) -Update: WebTranslator2 update to 2009-04-06 17:40:13
afrikaans  - 36 fixed by burgerd (36)
czech      - 2 fixed, 6 changed by SmatZ (8)
dutch      - 1 fixed by habell (1)
estonian   - 111 fixed, 5 changed by kristjans (116)
finnish    - 2 fixed by jpx_ (2)
german     - 1 fixed by planetmaker (1)
luxembourgish - 30 fixed by Gubius (30)
serbian    - 100 fixed by etran (100)
slovenian  - 2 fixed by Necrolyte (2)
2009-04-06 17:40:24 +00:00
rubidium
dc161c72e0 (svn r15963) -Fix [FS#2814]: (v)seprintf chopped of strings one character earlier than necessary. 2009-04-06 10:05:36 +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
translators
ebb1ed6601 (svn r15960) -Update: WebTranslator2 update to 2009-04-05 17:47:56
arabic_egypt - 2 fixed by khaloofah (2)
catalan    - 1 fixed, 4 changed by arnaullv (5)
dutch      - 1 fixed by Excel20 (1)
english_US - 1 fixed by WhiteRabbit (1)
estonian   - 46 fixed, 1 changed by kristjans (47)
french     - 2 fixed by glx (2)
german     - 1 fixed by planetmaker (1)
hungarian  - 2 fixed by IPG (2)
italian    - 2 fixed by lorenzodv (2)
serbian    - 62 fixed by etran (62)
2009-04-05 17:48:08 +00:00
frosch
3393da4810 (svn r15958) -Fix [FS#2787]: Abort production callback after 0x10000 iterations and show a messagebox blaming the newgrf. (mizipzor) 2009-04-05 12:17:36 +00:00
peter1138
5551e3d2c6 (svn r15957) -Fix (r4767): Set callback_param1 (var 10) to 1 only when requested. 2009-04-05 08:06:40 +00:00
peter1138
679248fb51 (svn r15956) -Codechange: Enumorize station spec flags. 2009-04-05 08:01:36 +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
171f98d523 (svn r15953) -Fix [FS#2783]: left - right != width causing strings to be truncated too early 2009-04-04 10:59:14 +00:00
alberth
bdf05e797d (svn r15952) -Codechange: Added nested widgets to operating profit, income, delivered cargo, and company value windows. 2009-04-04 09:03:28 +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