rubidium
|
dd2661bbbd
|
(svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter)
|
16 years ago |
rubidium
|
6c3fa9b487
|
(svn r16135) -Fix [FS#2856]: always give the server an already resolved 'client address' so we can be sure the client address is always resolved
|
16 years ago |
rubidium
|
c530ca27bb
|
(svn r16134) -Change: do not add duplicates to the broadcast list
|
16 years ago |
rubidium
|
5c5b357043
|
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
|
16 years ago |
rubidium
|
d3de980714
|
(svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow.
|
16 years ago |
rubidium
|
b34eb75c11
|
(svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted
|
16 years ago |
rubidium
|
8ad5729e9c
|
(svn r16064) -Fix: memory leak when querying a server multiple times.
|
16 years ago |
glx
|
388dc27474
|
(svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available
|
16 years ago |
rubidium
|
b78820a361
|
(svn r16034) -Fix: compile warnings generated by 64 bits MSVC.
|
16 years ago |
peter1138
|
f492281b9d
|
(svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value.
|
16 years ago |
rubidium
|
a46de87b03
|
(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.
|
16 years ago |
rubidium
|
8cd7def31c
|
(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]
|
16 years ago |
rubidium
|
7ae8228ed3
|
(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 :(
|
16 years ago |
rubidium
|
c71e59263d
|
(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.
|
16 years ago |
rubidium
|
04b174687b
|
(svn r16004) -Fix (r16000): explicitly binding to an IPv4 socket would try to register an IPv6 address (only if it could ofcourse)
|
16 years ago |
rubidium
|
fe42ae8ad4
|
(svn r16000) -Feature: IPv6 support
|
16 years ago |
rubidium
|
b0113af67c
|
(svn r15998) -Codechange: some coding style updates
|
16 years ago |
rubidium
|
be53295ee8
|
(svn r15993) -Codechange: clean up/generalise the handling of the server list
|
16 years ago |
rubidium
|
e321f5637f
|
(svn r15991) -Fix: don't add 0.0.0.0/:: to the server list; you can't connect to them in any case
|
16 years ago |
rubidium
|
19b50f8ed8
|
(svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString.
|
16 years ago |
rubidium
|
6c6fb6a927
|
(svn r15989) -Fix (r15987: segfault due to uninitialised sockets.
|
16 years ago |
rubidium
|
0630f0db4f
|
(svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names.
|
16 years ago |
rubidium
|
f5339e492a
|
(svn r15987) -Fix: make the master socket only listen on the IP the server is bound to.
|
16 years ago |
rubidium
|
10ccad9d3d
|
(svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists.
|
16 years ago |
rubidium
|
1cd5ac75ff
|
(svn r15982) -Codechange: use GetAddressAsString to get the name instead of passing the hostname and the IP into a string.
|
16 years ago |
rubidium
|
f9f61dc208
|
(svn r15981) -Fix: don't print the address family when writing the IP+port to the config file.
|
16 years ago |
rubidium
|
5a6198092d
|
(svn r15980) -Codechange: don't try to bind to the same socket twice; it's quite pointless.
|
16 years ago |
rubidium
|
edf4ab97e1
|
(svn r15979) -Codechange: tweak the debug/warning levels of some of the messages when binding
|
16 years ago |
rubidium
|
ac043bc7e8
|
(svn r15978) -Codechange: support parsing [] enclosed IPv6 addresses.
|
16 years ago |
rubidium
|
632a263f8a
|
(svn r15976) -Codechange: make it a bit more clear for what (type of) address binding fails
|
16 years ago |
rubidium
|
b9864e9988
|
(svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver
|
16 years ago |
glx
|
da49105b9e
|
(svn r15974) -Fix (r15969): win32 compilation was broken (again)
|
16 years ago |
rubidium
|
a2c5cf906c
|
(svn r15973) -Codechange: make it possible to listen on multiple TCP sockets
|
16 years ago |
rubidium
|
bc072884b0
|
(svn r15972) -Codechange: remove unneeded parameter
|
16 years ago |
rubidium
|
e1a7fad295
|
(svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets.
|
16 years ago |
rubidium
|
e3d183f3dd
|
(svn r15970) -Codechange: make it possible to resolve a single address into multiple sockets.
|
16 years ago |
rubidium
|
f6e27e7274
|
(svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited.
|
16 years ago |
rubidium
|
d66827b289
|
(svn r15968) -Codechange: do not allocate a buffer for NetworkAddresses so passing it around is easier.
|
16 years ago |
rubidium
|
a25684b833
|
(svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly
|
16 years ago |
rubidium
|
22ab962baf
|
(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.
|
16 years ago |
rubidium
|
3e6d3ff9a2
|
(svn r15954) -Fix: comparing addresses kinda fails (sometimes) causing duplicates in the game list
|
16 years ago |
rubidium
|
3ce836c4af
|
(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.
|
16 years ago |
glx
|
d5e4f8152f
|
(svn r15950) -Fix (r15946): mingw compilation
|
16 years ago |
rubidium
|
2f220d09bb
|
(svn r15948) -Fix: resolve network addresses before comparing them
|
16 years ago |
rubidium
|
a76218eab9
|
(svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address.
|
16 years ago |
rubidium
|
a5576bc6e1
|
(svn r15946) -Codechange: move netmask matching to NetworkAddress and add some support for IPv6 netmask matching.
|
16 years ago |
glx
|
a1b6c34623
|
(svn r15945) -Fix (r15944): win32 compilation
|
16 years ago |
rubidium
|
1a0249f9d8
|
(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
|
16 years ago |
rubidium
|
c3af69eb9d
|
(svn r15941) -Codechange: jonty-comp's wish partly implemented (content server) ;)
|
16 years ago |
rubidium
|
e8852635ab
|
(svn r15940) -Codechange: move setting reuse address to the binding process.
|
16 years ago |
glx
|
d3db002a4f
|
(svn r15938) -Fix: broadcast addresses detection was broken for win32
|
16 years ago |
rubidium
|
cda1cb02ed
|
(svn r15935) -Codechange: function to compare IP addresses (to sort them)
|
16 years ago |
rubidium
|
627163b785
|
(svn r15934) -Fix: work around Solaris' inability to "parse" 0 as defined in the specifications.
|
16 years ago |
glx
|
cfac582c36
|
(svn r15933) -Fix (r15920): mingw doesn't know getaddrinfo() and freeaddrinfo() either
|
16 years ago |
rubidium
|
2d140fab62
|
(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.
|
16 years ago |
rubidium
|
bc7a870a61
|
(svn r15931) -Codechange: let the host and ban lists use of SmallVector.
|
16 years ago |
glx
|
825aa87e80
|
(svn r15930) -Fix (r15926): MSVC compilation
|
16 years ago |
rubidium
|
2b7a30f209
|
(svn r15926) -Codechange: make the broadcast IP list less AF dependent.
|
16 years ago |
rubidium
|
be8919c968
|
(svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant.
|
16 years ago |
rubidium
|
197eff1fa9
|
(svn r15924) -Codechange: replace NetworkResolveHost with something less AF dependant.
|
16 years ago |
rubidium
|
3e6c6d7294
|
(svn r15922) -Codechange: unify the ways to listen on a socket
|
16 years ago |
rubidium
|
020b1f9328
|
(svn r15921) -Fix: some OSes don't like sizeof(sockaddr_storage) but want sizeof(sockaddr) or whatever is 'valid' for the given protocol
|
16 years ago |
rubidium
|
34f9223f6a
|
(svn r15920) -Codechange: make the (TCP) connecting less AF dependent.
|
16 years ago |
glx
|
c56767317f
|
(svn r15919) -Fix (r15916): mingw doesn't know getnameinfo() (unless you compile for XP SP2+). Also fix a MSVC warning.
|
16 years ago |
rubidium
|
6664998667
|
(svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' data (as spotted by SpComb)
|
16 years ago |
rubidium
|
f22566f8df
|
(svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP.
|
16 years ago |
rubidium
|
785779ca62
|
(svn r15916) -Codechange: let the network game list use NetworkAddress
|
16 years ago |
rubidium
|
bdf3611d02
|
(svn r15915) -Codechange: let the udp code use NetworkAddress.
|
16 years ago |
rubidium
|
822ff14d73
|
(svn r15914) -Codechange: let the content handling make use of NetworkAddress.
|
16 years ago |
rubidium
|
9050f35f8f
|
(svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail
|
16 years ago |
alberth
|
bbd546b792
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
16 years ago |
peter1138
|
3b748ec62f
|
(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.
|
16 years ago |
yexo
|
d8a0e59b9d
|
(svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN.
|
16 years ago |
rubidium
|
0e96b7b7c0
|
(svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window.
|
16 years ago |
alberth
|
8f5f39cf09
|
(svn r15820) -Codechange: Some windows using nested widgets
|
16 years ago |
rubidium
|
2e38d7c332
|
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
|
16 years ago |
rubidium
|
12f1abbce0
|
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
|
16 years ago |
rubidium
|
31a5457c03
|
(svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
|
16 years ago |
rubidium
|
dcd5ad8b19
|
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
|
16 years ago |
rubidium
|
a1088869f5
|
(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API
|
16 years ago |
rubidium
|
2a422e3e95
|
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
|
16 years ago |
rubidium
|
89d614deea
|
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
|
16 years ago |
rubidium
|
2f1bfe3813
|
(svn r15788) -Codechange: enumify the network join status widgets and use them.
|
16 years ago |
rubidium
|
c1aabd9842
|
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
|
16 years ago |
glx
|
583c756679
|
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
|
16 years ago |
rubidium
|
b3b4be2dde
|
(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.
|
16 years ago |
rubidium
|
f524d39963
|
(svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly
|
16 years ago |
rubidium
|
485961b260
|
(svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice.
|
16 years ago |
smatz
|
e0fe28fdc9
|
(svn r15726) -Codechange: unify coding style for const pointers
|
16 years ago |
rubidium
|
57c5ce84eb
|
(svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth)
|
16 years ago |
rubidium
|
7f468dc142
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
16 years ago |
rubidium
|
c3e87f345d
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
rubidium
|
f3e0fd7416
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
16 years ago |
rubidium
|
0bb1fd18ad
|
(svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows.
|
16 years ago |
yexo
|
fbe159ab9e
|
(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.
|
16 years ago |
rubidium
|
880d296b25
|
(svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting
|
16 years ago |
smatz
|
19c01ee0ec
|
(svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block
|
16 years ago |
rubidium
|
d5762a5069
|
(svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas.
|
16 years ago |
smatz
|
154b4da4cc
|
(svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server
|
16 years ago |
rubidium
|
34bd9ee636
|
(svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns.
|
16 years ago |