rubidium
54f3e04590
(svn r21418) -Fix: core.h needs config.h
14 years ago
rubidium
378e233023
(svn r21417) -Fix: ofcourse MSVC x64 has something to complain about
14 years ago
rubidium
cf61c2f11f
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
14 years ago
rubidium
bbaa262b0d
(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive
14 years ago
rubidium
9139a6c858
(svn r21405) -Codechange: prepare sending of company information in the UDP packet for longer company names (in bytes), by truncating the names if needed
14 years ago
rubidium
5f25cdbbd5
(svn r21401) -Fix: ofcourse MSVC x64 has something to complain about...
14 years ago
rubidium
ff8a01fbd2
(svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit
14 years ago
rubidium
216e48cd07
(svn r21399) -Change/Feature/Fix [FS#4284]: perform the compression of savegames to send to the client asynchroniously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression). This should also fix the lag message people get when the savegame compression takes more than a few seconds.
14 years ago
rubidium
02b3bc57d5
(svn r21398) -Change/Feature-ish: when making a savegame to send to a client, don't write it to disk but create the packets immediately
14 years ago
rubidium
948cffc930
(svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file
14 years ago
rubidium
69766049ce
(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter
14 years ago
rubidium
97434f0e06
(svn r21392) -Change: prepare the network protocol for getting the file size later in the download process
14 years ago
rubidium
98df56d032
(svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client
14 years ago
rubidium
fd752ca2b0
(svn r21363) -Add: support for limiting the amount of (accepted) incoming data
14 years ago
rubidium
31c8ab0ed8
(svn r21361) -Change: make sure the client is listening, or rather receiving, our frames
14 years ago
rubidium
b6c2216749
(svn r21358) -Codechange: make some network function names conform to coding style
14 years ago
rubidium
9c83a8975f
(svn r21357) -Codechange: make it possible to resize the packet's buffer
14 years ago
rubidium
c60a850fed
(svn r21350) -Fix: some indentation
14 years ago
terkhen
75f86a7a21
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
14 years ago
rubidium
67f74559fc
(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones
14 years ago
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
374fc308de
(svn r21322) -Fix [FS#4268] (r20924): packets were leaked
14 years ago
smatz
9594a3f7c5
(svn r21319) -Fix: crash when creating file download by the content download system failed
14 years ago
smatz
eb4516e50c
(svn r21318) -Fix: parameters to ShowErrorMessage() were swapped when content download failed
14 years ago
rubidium
bb02e30a37
(svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desync
14 years ago
smatz
3302a520f4
(svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning
14 years ago
smatz
752aab7e11
(svn r21285) -Codechange: prevent ICC warning
14 years ago
rubidium
874abb2965
(svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost
14 years ago
rubidium
6d09f4a3cb
(svn r21254) -Change: show a different "lag" message when a client is lagging because of connection trouble or lagging because the client is just slow
14 years ago
rubidium
ed04bef953
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
14 years ago
rubidium
c7f0518f16
(svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all
14 years ago
rubidium
673b3711b4
(svn r21182) -Fix: possible just-freed memory reads
14 years ago
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
rubidium
d970eac2f2
(svn r21071) -Fix: ofcourse the svn properties weren't set properly either :(
14 years ago
rubidium
dcc4d7a747
(svn r21070) -Fix: file not being picked up by doxygen
14 years ago
rubidium
8f9dcab09b
(svn r21033) -Codechange: be more strict with the packets a client accepts at a given moment
14 years ago
rubidium
4ea67eff8b
(svn r21032) -Codechange: perform some more strict tests on the server side when receiving some packets and don't send some when the clients aren't ready for them
14 years ago
rubidium
f24c91c487
(svn r21030) -Codechange: move ClientStatus into the network server socket class
14 years ago
rubidium
2cd67a51ac
(svn r21029) -Codechange: split the map downloading packet + 3-state enum into 3 separate packets
14 years ago
rubidium
744bc2a614
(svn r21027) -Change/Fix: under some circumstances the file handle of the downloaded savegame wouldn't be closed, and validity of the handled wasn't checked in all cases
14 years ago
rubidium
3317f1c01e
(svn r21025) -Codechange: document PacketGameType's enums and reshuffle them slightly to make the whole more readable and easier to understand
14 years ago
rubidium
073b965829
(svn r21024) -Fix: erroneous tab
14 years ago
rubidium
3a1a915c9a
(svn r21008) -Change: don't make client reconnect waiting time depend on the company; in coop games that does not spread clients at all, and most companies have a low number causing it not to be spread out either. Use the ClientID instead. Based on a patch by dihedral.
14 years ago
rubidium
87edf2524d
(svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa
14 years ago
rubidium
af9a6b6b42
(svn r21001) -Fix [FS#4170] (r20936): clients were not always notified of a player leaving the game
14 years ago
rubidium
d71f590ed6
(svn r20993) -Codechange: some shuffling of game protocol packet description so they're documented in the "same" place as UDP, content and admin packets (dihedral)
14 years ago
rubidium
44a03d0478
(svn r20988) -Fix [FS#4167]: no need to send packets and possibly get the connection closed when the next call also tries to send the packets and then closes the connection. Especially if the former frees a structure that the latter assumes to be still there
14 years ago
rubidium
9a5e272195
(svn r20978) -Fix (r20963): MSVC seems to be complaining more than GCC once again :)
14 years ago
rubidium
a5d414a734
(svn r20975) -Add: logging of console output for remote admins (dihedral)
14 years ago
rubidium
ad12a91cda
(svn r20974) -Add: remote console (rcon) for remote admins (dihedral)
14 years ago
rubidium
d9602f4ef9
(svn r20973) -Add: chat sending and receiving support for remote admins (dihedral)
14 years ago
rubidium
459514afe4
(svn r20972) -Add: company statistics updates at intervals to remote admins (dihedral)
14 years ago
rubidium
ca5d9f7002
(svn r20971) -Add: company economy updates at intervals to remote admins (dihedral)
14 years ago
rubidium
ae20cb4f3d
(svn r20970) -Add: company change notification to remote admins (dihedral)
14 years ago
rubidium
fe44944f32
(svn r20969) -Add: client info change notification to remote admins (dihedral)
14 years ago
rubidium
901c4a56bd
(svn r20968) -Add: date notification of remote admins (dihedral)
14 years ago
rubidium
b4ce7fad7f
(svn r20967) -Add: infrastructure to send information to remote admins at specific intervals (dihedral)
14 years ago
rubidium
7cc8a363d8
(svn r20966) -Change: enable remote administration sockets (parts by Yexo and dihedral)
14 years ago
rubidium
61ae6b6e40
(svn r20964) -Add: disconnecting remote admins that fail to authenticate
14 years ago
rubidium
33ed4ddbfb
(svn r20963) -Add: stubs for a remote administration connection
14 years ago
frosch
3972c790c2
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
14 years ago
frosch
98250ad8da
(svn r20951) -Codechange: Add SmallMap::Contains() and use it.
14 years ago
rubidium
5ed77b4919
(svn r20939) -Fix: some MSVC warnings
14 years ago
rubidium
234bee0858
(svn r20938) -Codechange: make the code for listening on a socket (more) reusable
14 years ago
rubidium
c9cbab14ea
(svn r20937) -Codechange: move some variables from client/server to server only
14 years ago
rubidium
f712055002
(svn r20936) -Codechange: make server side packet sending methods class methods
14 years ago
rubidium
9858d699a3
(svn r20935) -Codechange: only let the server side use a pool of connected sockets
14 years ago
rubidium
bda26d03b5
(svn r20934) -Codechange: move NetworkGetClientName to the server's socket
14 years ago
rubidium
f555e6d72e
(svn r20933) -Codechange: move some more client related methods and such to network_client.cpp
14 years ago
rubidium
76579df240
(svn r20930) -Codechange: simplify the socket handler allocation
14 years ago
rubidium
7ba07d9573
(svn r20929) -Codechange: make NetworkCloseClient a class method
14 years ago
rubidium
515edee17c
(svn r20925) -Codechange: make the client send commands have a slightly more sensible name
14 years ago
rubidium
0ca7e4e82e
(svn r20924) -Codechange: make the game connection packet handling look more like UDP/content packet handling
14 years ago
rubidium
8eb07d097e
(svn r20923) -Codechange: prepare creating sub-classes of NetworkClientSocket for server and client side
14 years ago
frosch
48767d1bef
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
14 years ago
frosch
48d8f16653
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
14 years ago
yexo
0068c02244
(svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible
14 years ago
yexo
9a05f8004b
(svn r20692) -Fix [FS#4055]: crash after downloading missing content
14 years ago
alberth
9f5a96ead2
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
14 years ago
alberth
fa6203fdc3
(svn r20678) -Codechange: Remove unused NetworkFindClientInfoFromIndex(), NetworkFindClientInfoFromIP().
14 years ago
alberth
be59c90e86
(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
a4c6d07edc
(svn r20553) -Feature: allow rate limiting of incoming commands
14 years ago
rubidium
b594990071
(svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server)
14 years ago
rubidium
e8e22c99fd
(svn r20548) -Codechange: rename some variables giving them slightly more meaningful names
14 years ago
rubidium
926594b599
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
14 years ago
rubidium
69fa0b36d3
(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.
14 years ago
rubidium
1c3d42598e
(svn r20510) -Codechange: unify packet queue handling and make insertion O(1) instead of O(n)
14 years ago
alberth
35fec79700
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
14 years ago
rubidium
e1d35cba6d
(svn r20497) -Fix [FS#3960]: non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join
14 years ago
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
71ca58c2bb
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
alberth
ee01ec9136
(svn r20291) -Codechange: Unify break coding style.
14 years ago
terkhen
80c43f52e8
(svn r20289) -Codechange: Unify fall through coding style.
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
7aabb887d4
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
14 years ago
alberth
a825b4fa5f
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
yexo
d3c1be9abd
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
14 years ago
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
frosch
4ce5c6d93d
(svn r20089) -Fix [FS#3932]: Access of already freed memory, esp. due to hidden destructor call from Swap().
14 years ago
rubidium
5ca4098443
(svn r20082) -Fix [FS#3899]: reading deleted memory when selecting a NewGRF in the content download window of which the data has not been acquired from the content server. The crash would occur after the content server's reply was processed and the ContentInfo object was replaced with another.
14 years ago
alberth
22b9bc5157
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
rubidium
ed35d62e70
(svn r20035) -Fix [FS#3909]: under some circumstances you could get into an infinite loop
14 years ago
michi_cc
22357624ff
(svn r20030) -Fix: MSVC 2010 defines more POSIX error constants that we define as well.
14 years ago
alberth
604e56adc2
(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.
14 years ago
yexo
9683b87466
(svn r20012) -Fix: when joining a company with a password you could only enter 20 characters of the password
14 years ago
rubidium
876eb5ee0b
(svn r19998) -Codechange: Unify the order of ship and plane icon in network-lobby with the rest of the game (frosch)
14 years ago
rubidium
99a11badaf
(svn r19996) -Codechange: Add NetworkVehicleType enum.
14 years ago
frosch
9e53f1e004
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
15 years ago
rubidium
52b211f939
(svn r19869) -Fix [FS#3819]: when a connection gets lost and a game with AIs was loaded the client might crash due to the AIs not being loaded while the game loop is executed
15 years ago
smatz
80fd67a314
(svn r19818) -Fix [FS#3784](r16004): kicking clients by IP didn't work
15 years ago
rubidium
062dd0e24c
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
15 years ago
rubidium
2555522eab
(svn r19809) -Codechange: make some unnamed network related enums/defines static const variables
15 years ago
rubidium
6fa962b867
(svn r19808) -Codechange: NetworkCalculateLag returned an uint, so keep it that way
15 years ago
rubidium
a8fa3dd3ce
(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)
15 years ago
rubidium
948beec597
(svn r19777) -Change: use the file scanner to find the .tars
15 years ago
smatz
e3c89df398
(svn r19714) -Feature: ctrl+click on a vehicle to start/stop it
15 years ago
rubidium
26af87bbaa
(svn r19695) -Fix: leaking a file descriptor
15 years ago
smatz
f48f4c8293
(svn r19693) -Codechange: split STATUS_INACTIVE to two states
15 years ago
smatz
32510296b6
(svn r19686) -Fix (r15126): truncated archives were not detected when using zlib 1.2.3. This also fixes zlib 1.2.4 compatibility, zlib 1.2.5 is bugfree
15 years ago
rubidium
519c8007c8
(svn r19680) -Fix [FS#3775] (r19648): when joining a MP game all clients with company ID > 0 would be shown as if they were a spectator
15 years ago
rubidium
df4d8b3bc9
(svn r19678) -Fix (r19607): client status was shown incorrect in the console
15 years ago
smatz
cd20724d20
(svn r19651) -Fix [FS#3745]: when a company is sold, move connected clients to spectators
15 years ago
rubidium
b907dfdef8
(svn r19648) -Fix [FS#3760]: a client would not be properly moved when moved while joining, e.g. when entering a company's password. This caused the client to be in the wrong company (according to the rest of the clients) and the client being kicked on the first command
15 years ago
rubidium
5eb54ac434
(svn r19629) -Fix [FS#3757]: chat message caused glitch when rejoining a network game
15 years ago
rubidium
088282bcf8
(svn r19620) -Fix: desync when a command is received and in the queue while a client starts joining, i.e. save the game state. This can happen in two ways: with frame_freq > 1 a command received in a previous frame might not be executed yet or when a command is received in the same frame as the join but before the savegame is made. In both cases the joining client would not get all commands to get in-sync with the server (and the other clients).
15 years ago
rubidium
d2ed777fa5
(svn r19619) -Fix (r19618): [desync debug] inserting the "join" pause could cause a crash as some command data was not properly initialised
15 years ago
rubidium
23190b8952
(svn r19617) -Fix [desync debug]: log the sync state only once per day, not multiple times when paused with _date_fract = 0
...
-Change [desync debug]: check the sync state from the command stream and make sure no unknown input is encountered
15 years ago
smatz
0ef33548c2
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago
smatz
24a60b77ec
(svn r19613) -Fix [FS#3755]: possible invalid read when server moves client to spectators before he finishes joining
15 years ago
smatz
7f3844d3aa
(svn r19610) -Codechange: rename STATUS_AUTH to STATUS_AUTHORIZED
15 years ago
smatz
43015ad79b
(svn r19609) -Fix: do not print 'Connection lost' message for clients who failed to enter correct password
15 years ago
smatz
13e5058efe
(svn r19608) -Fix: do not kick client if he entered password and the password was cleared meanwhile
15 years ago
smatz
11d6e21c3a
(svn r19607) -Codechange: use different packet types instead of packet subtypes
15 years ago
smatz
d2dc3a2e2b
(svn r19606) -Codechange: remove global variable pw_type
15 years ago
rubidium
5c7aaf11ba
(svn r19602) -Codechange: add the name of the command to the desync logs
15 years ago
rubidium
9b7d71699d
(svn r19601) -Fix: make the desync replay parse the "whole" string instead of everything up to the first space; make it log the sync state too
15 years ago
frosch
ba5f5c1ce1
(svn r19600) -Fix (r18994): Presence of online content was not properly updated after download due to duplicate slashes in the path.
15 years ago
glx
42f5e930d5
(svn r19596) -Fix (r19593): dedicated server always fast forwarding if compiled without DEBUG_DUMP_COMMANDS
15 years ago
rubidium
465e3be105
(svn r19593) -Codechange: improve loading/executing the desync logs
15 years ago
rubidium
d8baa1342c
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
15 years ago
smatz
837913aa5a
(svn r19508) -Codechange: remove semicolon after DEFINE_UNAVAILABLE_CONTENT_RECEIVE_COMMAND and DEFINE_UNAVAILABLE_UDP_RECEIVE_COMMAND
15 years ago
smatz
53aaabe6e9
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
15 years ago
alberth
db1c6b7a81
(svn r19423) -Codechange: Move error message reporting of industry build in SE to a callback.
15 years ago
rubidium
6b35de215c
(svn r19385) -Fix [FS#3684]: [IPv6] Netmask calculations were wrong if cidr >= 32.
15 years ago
peter1138
3c40fe42d4
(svn r19374) -Change: Update documentation for console command connect to use ip:port#company parameter format, in line with command line help.
15 years ago
yexo
404df87b1f
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
15 years ago
frosch
3926b62446
(svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic construction. GRFIdentifier is sufficient though.
15 years ago
rubidium
0f6d82df7e
(svn r19262) -Feature: finalise BaNaNaS support for music sets
15 years ago
yexo
7ff55502f0
(svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized
15 years ago
yexo
a9c8dbc0a0
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
15 years ago
terkhen
524a10b375
(svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop.
15 years ago
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
alberth
33a96b5ef3
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
yexo
6406b75b8f
(svn r19094) -Codechange: don't check for NULL values before calling StrEmpty
15 years ago
rubidium
7a73a7490d
(svn r19090) -Codechange: some comment coding style fixes
15 years ago
rubidium
0072503496
(svn r19087) -Codechange: some typos in StringIDs
15 years ago
rubidium
21bd2722cd
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
15 years ago
smatz
73ed81b1c7
(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()
15 years ago
rubidium
ab35d95b5a
(svn r19072) -Fix [FS#3599]: possible read/write after free when the client triggered the server to close the connection
15 years ago
rubidium
f47f3a4157
(svn r19054) -Fix [FS#3598]: when banning yourself via rcon do not send the 'command response' to the client as the connection has already been terminated
15 years ago
rubidium
228da0ccd3
(svn r19001) -Fix: some GCC compile warnings
15 years ago
rubidium
d818c7c7b1
(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about
15 years ago
rubidium
2db44fc18e
(svn r18994) -Change: content mirroring support (based on work by TrueBrain).
15 years ago
rubidium
e437362c7b
(svn r18992) -Codechange: move the file opening/closing out of the content download function
15 years ago
rubidium
589aee0cee
(svn r18991) -Codechange: simplify memory management of DownloadSelectedContent
15 years ago
frosch
f9cebfcfc4
(svn r18967) -Fix (r18966): Never trust your copy&paste skills.
15 years ago
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
frosch
2f6fe85f23
(svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical.
15 years ago
rubidium
f608ad7baf
(svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables
15 years ago
rubidium
15adbad2f4
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
4ecb3eb33c
(svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD.
15 years ago
rubidium
f89d6bea0e
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
15 years ago
rubidium
83c8c562bb
(svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though.
15 years ago
rubidium
ebe99fd493
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
15 years ago
rubidium
6a047d2316
(svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there.
15 years ago
rubidium
1967084bc3
(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
15 years ago
rubidium
b2e9b5d612
(svn r18683) -Fix: it's not an other
15 years ago
smatz
29e05554d7
(svn r18645) -Fix [FS#3433](r942): out-of-bounds access in the 'Start new multiplayer game' GUI
15 years ago
smatz
ce08aebde7
(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
...
-Revert (r18637): it's not needed any more
15 years ago
rubidium
28c7c49855
(svn r18638) -Fix: downloading music sets would fail
15 years ago
rubidium
e7efb42a27
(svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it
15 years ago
rubidium
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
15 years ago
rubidium
0cb84effc8
(svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant.
15 years ago
alberth
1d7a75032f
(svn r18589) -Codechange: Add tooltip to some network windows, remove old comment.
15 years ago
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
rubidium
cf2349ae10
(svn r18578) -Feature: initially select the last joined server when going to the server list
15 years ago
rubidium
8b9a2218de
(svn r18493) -Fix: don't access something after deleting it
15 years ago
frosch
a12d91423b
(svn r18408) -Fix (r17954): After computing the needed width for the client list, also use it.
15 years ago
rubidium
c559ec6308
(svn r18397) -Fix [FS#3346]: after cancelling downloading the download button would remain disabled
15 years ago
frosch
59f9163e37
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
15 years ago
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
15 years ago
rubidium
1f0da3710f
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
15 years ago
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
458c73aecb
(svn r18318) -Codechange: add an enum value for manual window placement
15 years ago
rubidium
6941db6c39
(svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should
15 years ago
rubidium
14300d309c
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
29c65215ed
(svn r18251) -Codechange: make the join status window big font aware
15 years ago
rubidium
3a16e0edf1
(svn r18249) -Codechange: make the network client list big font aware
15 years ago
rubidium
bd0d32a0b6
(svn r18240) -Change: align the 'select' sprite in the network content GUI based on the font height
15 years ago
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
2b6f792513
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
alberth
bf93372ca2
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
15 years ago
rubidium
2332034822
(svn r18219) -Fix: the up/down buttons in the start network server window didn't work anymore
15 years ago
rubidium
206c01a4e5
(svn r18218) -Codechange: make a few network windows big font aware
15 years ago
rubidium
8204f226f1
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
15 years ago
rubidium
d913282e7a
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
15 years ago
alberth
777d5ce12e
(svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays.
15 years ago
rubidium
8bb9d7026f
(svn r18175) -Codechange: make the network lobby and client list RTL aware
15 years ago
rubidium
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
peter1138
00f0dfd00d
(svn r18146) -Codechange: Improve content download window scaling and offsets for different font size
15 years ago
rubidium
626de6b128
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
peter1138
3c913ac253
(svn r18103) -Codechange: Base content window detail title height on font height.
15 years ago
rubidium
cddc057a60
(svn r18099) -Codechange: scale the edit boxes to the fontsize
15 years ago
rubidium
54fb944468
(svn r18094) -Codechange: make the network content GUI work better with RTL
15 years ago
rubidium
aeb9f8e715
(svn r18092) -Codechange: remove support for the unnested widgets
15 years ago
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
16c2e53191
(svn r18078) -Codechange: remove some duplicate (non translatable) strings
15 years ago
rubidium
b0f18a27fb
(svn r18054) -Change/Fix [FS#3310]: make pause on join pause during the whole joining (including download) phase
15 years ago
rubidium
2a1cab4d46
(svn r18052) -Codechange/Fix: make the 'pause' chat message when actually executing the pause command. This to prevent showing paused and especially unpaused to be shown when the state doesn't change. Output now mentions whether pause changes keep the game paused and what reasons for pausing there 'currently' are.
15 years ago
rubidium
934e6a295d
(svn r18051) -Codechange: make the active clients pause use a separate bit in the pause mode
15 years ago
rubidium
c08c10f329
(svn r18048) -Change: make no distinction between unpausing because of a client aborting to join or actually joining
15 years ago
rubidium
860b9b1cea
(svn r18028) -Codechange: unglobalise some functions
15 years ago
rubidium
c2221885f4
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
15 years ago
frosch
b012a75c47
(svn r17977) -Fix: Busses and trucks are distinguished by cargo class.
15 years ago
rubidium
d79439fb3c
(svn r17963) -Codechange: some documentation style
15 years ago
rubidium
9976da168e
(svn r17958) -Codechange: make the join progress window nested
15 years ago
rubidium
56611d13db
(svn r17955) -Codechange: s/SPR_PLAYER_ICON/SPR_COMPANY_ICON/
15 years ago
rubidium
8382b41420
(svn r17954) -Codechange: make the network client list nested
15 years ago
rubidium
27218dff08
(svn r17952) -Codechange: make the network client list popup nested
15 years ago
rubidium
b1f906e819
(svn r17951) -Codechange: simplify making the popup list, remove arbirary limitations and unused code/strings.
15 years ago
rubidium
44013ba889
(svn r17948) -Codechange: remove some magic numbers from the network client list GUIs / use ResizeWindow instead of custom resize code.
15 years ago
rubidium
4a970202a9
(svn r17947) -Codechange: make the statusbar, chat input and news window know of eachothers size so they don't get overlapped and don't get invisible (bottoms) of windows when a larger font is used
15 years ago
rubidium
148d9b8e38
(svn r17946) -Codechange: move the widget definition of the client list closer to the window
15 years ago
alberth
44aacfc59f
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
15 years ago
rubidium
8cb8f81662
(svn r17905) -Codechange: make the network server list window nested (and increase the default size slightly)
15 years ago
rubidium
4fd74e2f94
(svn r17887) -Codechange: remove some (now) unneeded {SKIP}s
15 years ago
rubidium
7b46503dfc
(svn r17886) -Codechange: make the 'start server' window nested
15 years ago
rubidium
62f42f2131
(svn r17885) -Codechange: make the network lobby window nested
15 years ago
rubidium
fc741b3334
(svn r17884) -Codechange: remove (most) magic numbers from drawing the details of the network lobby and split detail drawing to its own function
15 years ago
rubidium
e61008b599
(svn r17882) -Codechange: make the code to draw the details in the server list a seperate function and remove some magic numbers
15 years ago
rubidium
22db089c0d
(svn r17877) -Fix (r1322/r1174/r464): do not hardcode 'Ban' for GUI purposes, i.e. make it translatable
15 years ago
rubidium
fac3655a4c
(svn r17876) -Codechange: make the network company password window nested
15 years ago
rubidium
ca0521f89f
(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
15 years ago
rubidium
ecd5c2901d
(svn r17846) -Codechange: make the network content window nested
15 years ago
rubidium
310be2e5be
(svn r17843) -Codechange: move the details drawing code of the content window to a separate function
15 years ago
rubidium
c90885a17e
(svn r17841) -Codechange: move state changes from OnPaint to OnInvalidate for the content gui.
15 years ago
rubidium
d1d35b95b6
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
rubidium
3bb1f4217d
(svn r17772) -Fix [FS#3264]: CJK languages don't have spaces, so for adding newlines (multi line strings) we need to (properly) handle the case when there are no spaces instead of truncating the string.
15 years ago
smatz
eb72a0095f
(svn r17746) -Codechange: 'operator new' doesn't return NULL, NetworkSend_Init() is useless
15 years ago
rubidium
59ec3dc267
(svn r17743) -Fix: (post 0.7) memory leak in server in case handling a packet caused the connection to be closed. Also force-close the connection on invalid packets.
15 years ago
rubidium
df75db67eb
(svn r17742) -Codechange: remove unused variable from Recv_Packet
15 years ago
rubidium
8c37da1be6
(svn r17741) -Feature-ish [FS#3116]: show the nickname of the person you're PMing
15 years ago
rubidium
58a36f038b
(svn r17737) -Codechange: remove the chat window when you were chatting with someone who lost his/her connection or when you were team chatting and moved out of the company.
15 years ago
smatz
6c7f8fc8b4
(svn r17701) -Codechange: don't start line with a space if it's not inside comment
15 years ago
rubidium
5ff6053326
(svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the 'generic' includes so compilation without network support doesn't get broken as easily by changes in header files
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
smatz
32cbe57178
(svn r17692) -Codechange: minor coding style fixes
15 years ago
rubidium
afed4330da
(svn r17685) -Fix: autounpausing kept trying to unpause a loaded game that was paused due to an error. Just reject such savegames in dedicated servers.
15 years ago
rubidium
c847f5c04e
(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
15 years ago
rubidium
124e543b1d
(svn r17667) -Fix [FS#3245]: autopause tried to (un)pause the server every tick when the pause command only gets processed once every frame_freq ticks. So it would spam the console with duplicate attempts.
15 years ago
rubidium
3f600bba24
(svn r17635) -Codechange: make the chat gui nested
15 years ago
rubidium
b3c5c8cadb
(svn r17618) -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset
15 years ago
rubidium
7d24e84a81
(svn r17617) -Codechange: make the server side packet handling be more like the client side's handling, i.e. return the connection status
...
-Fix: do not do invalid reads when a packet handling function closed a connection
15 years ago
rubidium
01ab1c6001
(svn r17606) -Add: initial support for Haiku; a dedicated server with zlib and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet)
15 years ago
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
15 years ago
alberth
ceab116065
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
15 years ago
alberth
116c77c342
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
15 years ago
rubidium
55c0109ee0
(svn r17562) -Fix [FS#2972]: the NewGRF settings of (remote) network games did not get properly updated when the NewGRFs were rescanned causing reading of freed data
15 years ago
frosch
bc8557d5c0
(svn r17539) -Codechange: Replace a magic number.
15 years ago
frosch
2773865cd6
(svn r17538) -Codechange: Rename STR_CONTENT_FILTER_(OSKTITLE|TOOLTIP) for more general usage.
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
45e3141444
(svn r17526) -Codechange: use QSortT instead of qsort for sorting the language list in the network GUI
15 years ago
frosch
ba97964af8
(svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough.
15 years ago
frosch
0c8c208569
(svn r17522) -Fix: Scroll to selected content after sorting the list and after updating the scrollbar maximum.
15 years ago
rubidium
bd9670ea47
(svn r17467) -Change: show the client id in join messages at the server (patch by dihedral)
15 years ago
rubidium
59ac4f6b21
(svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers
15 years ago
glx
8a367f1ff4
(svn r17350) -Fix (r17336): broken compilation with mingw
15 years ago
rubidium
07d2af338e
(svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc)
15 years ago
rubidium
984efae368
(svn r17291) -Fix [FS#3147]: crash after upgrading base graphics/sound set when opening the game options menu and you were using the upgraded set
15 years ago
rubidium
aca7ba714a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
60a3bc9034
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
rubidium
865fc40e29
(svn r17245) -Fix [FS#3137] (r17015): you could, via unselect all, also unselect already installed content; it would not uninstall it though
15 years ago
smatz
2d3ddab7ca
(svn r17169) -Codechange: apply coding style to some for statements
15 years ago
smatz
c5533ae470
(svn r17168) -Codechange: apply coding style to if and while statements
15 years ago
rubidium
9ee2a66c86
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
f118932643
(svn r17133) -Codechange: generalise the code that searches for base graphics
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
4b2592dbc0
(svn r17062) -Change: unify the naming of some 125 strings
15 years ago
rubidium
95c204ebee
(svn r17038) -Fix (r17015): don't download the stuff we already have
15 years ago
rubidium
ae71df349e
(svn r17015) -Fix [FS#3075]: infinite recursion in content dependency checking
15 years ago
rubidium
63c29124de
(svn r16981) -Fix [FS#3062]: the last manually added server would not be saved
15 years ago
rubidium
e9bc557b2a
(svn r16930) -Codechange: more StringID name unification and grouping
15 years ago
rubidium
e3053660c6
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
15 years ago
rubidium
b4253a94f2
(svn r16846) -Codechange: make the content download status window only use nested widgets
15 years ago
alberth
d0a47fc1b4
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
15 years ago
rubidium
594070194f
(svn r16842) -Cleanup: add some spaces around a few operators
15 years ago
rubidium
ab67cf0031
(svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window.
15 years ago
smatz
22cf8d8480
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
16 years ago
rubidium
9b156c1bd4
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
16 years ago
rubidium
904d2bc458
(svn r16594) -Fix [FS#2969]: mouse would under some circumstances not be undrawn when drawing the first chat line causing two mouse pointers to be visible.
16 years ago
rubidium
a497e3ff4a
(svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'.
16 years ago
rubidium
4cd94e17a1
(svn r16574) -Codechange: reorder stuff in NetworkGameInfo so compilers waste less bytes aligning stuff and fix the comment of the structs.
16 years ago
rubidium
f8bccce555
(svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file.
16 years ago
smatz
bea3fe2b8b
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
16 years ago
smatz
35635c6248
(svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker)
16 years ago
smatz
2b4d37de3d
(svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit
16 years ago
rubidium
765c65b738
(svn r16493) -Fix: missing/wrong @file doxygen 'headers'
16 years ago
alberth
bab70a823d
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
16 years ago
rubidium
bacbafe510
(svn r16437) -Codechange: remove the hack that for CMD_COMPANY_CTRL the company was changed from spectator to company 0 in the network code.
16 years ago
rubidium
168ae6f7e2
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
smatz
56a7b70591
(svn r16380) -Codechange: rename pool.hpp to pool_type.hpp
16 years ago
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
04723b240e
(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index
16 years ago
rubidium
26070726ac
(svn r16361) -Fix: pointer incremented with wrong count
16 years ago
rubidium
9f4d64bda0
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
16 years ago
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
16 years ago
rubidium
e7dedf4e1b
(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
ed1e54bd84
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
a5d6e23e9d
(svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
16 years ago
smatz
3afce9b641
(svn r16288) -Fix (r16237): crash after clicking in the ClientList window
16 years ago
smatz
f5316c5cbd
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
...
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
16 years ago
smatz
d4971a22d0
(svn r16265) -Fix (r16238): wrong format string for debug output
16 years ago
alberth
977db77921
(svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length.
16 years ago
frosch
8fc723800f
(svn r16254) -Fix [FS#2886]: Magic constant removed.
16 years ago
rubidium
101af1f9b5
(svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company
16 years ago
rubidium
2664f2a2d9
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
16 years ago
rubidium
951b9e7615
(svn r16238) -Change: improve/clarify some network related debug "error" messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising).
16 years ago
alberth
29675278c4
(svn r16237) -Codechange: Add nested widgets to remaining network windows.
16 years ago
alberth
b967b45ae8
(svn r16236) -Codechange: Make widget enums complete of various network windows, and add them as comment.
16 years ago
alberth
4d3f8bbb97
(svn r16235) -Codechange (r16234): But keep the window description.
16 years ago
alberth
6d783983e7
(svn r16234) -Codechange (r16231, r16233): Do not add test functions to trunk.
16 years ago
alberth
819588c51f
(svn r16233) -Codechange: Added nested widgets to network content windows.
16 years ago
alberth
4add445012
(svn r16232) -Codechange: Moving network content widgets enums outside window structs.
16 years ago
alberth
fb1dbd6d19
(svn r16231) -Codechange: Added nested widgets to chat window.
16 years ago
alberth
e04d2c88d9
(svn r16230) -Codechange: Moving chat widgets enum outside window struct.
16 years ago
yexo
52b95bdc96
(svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' console commands.
16 years ago
yexo
c8ce3f7ef0
(svn r16175) -Fix: Disable the join button in the multiplayer lobby for AI companies, since joining an AI company is not possible.
16 years ago
rubidium
85b653bafc
(svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...).
16 years ago
rubidium
7dd677ced2
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
16 years ago
rubidium
11c6d30e77
(svn r16156) -Codechange: make the parameters of DrawStringMultiline the same as for DrawString (except the addition of the bottom parameter)
16 years ago
rubidium
169a003e9a
(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
5db32d1dc5
(svn r16134) -Change: do not add duplicates to the broadcast list
16 years ago
rubidium
59d45a04d6
(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
f14425e2c4
(svn r16071) -Fix [FS#2845]: content download progress bar 'resetting' due to mathematical overflow.
16 years ago
rubidium
d04ebf2fa5
(svn r16065) -Fix: don't readd (and resolve) the last joined server each time the window gets repainted
16 years ago
rubidium
3061d70387
(svn r16064) -Fix: memory leak when querying a server multiple times.
16 years ago
glx
532fca65ef
(svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available
16 years ago
rubidium
47e2901e18
(svn r16034) -Fix: compile warnings generated by 64 bits MSVC.
16 years ago
peter1138
be7215497c
(svn r16026) -Codechange: Use font height for chat line spacing instead of fixed value.
16 years ago
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.
16 years ago
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]
16 years ago
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 :(
16 years ago
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.
16 years ago
rubidium
8477e92386
(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
c0f9af5607
(svn r16000) -Feature: IPv6 support
16 years ago
rubidium
ebe0f9e7f7
(svn r15998) -Codechange: some coding style updates
16 years ago
rubidium
882e495f5c
(svn r15993) -Codechange: clean up/generalise the handling of the server list
16 years ago
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
16 years ago
rubidium
0f0cc67d62
(svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString.
16 years ago
rubidium
e779c56e31
(svn r15989) -Fix (r15987: segfault due to uninitialised sockets.
16 years ago
rubidium
1d4318c0d1
(svn r15988) -Fix: inconsistency between using NETWORK_NAME_LENGTH and NETWORK_CLIENT_NAME_LENGTH for the length of client names.
16 years ago
rubidium
08e37a6f10
(svn r15987) -Fix: make the master socket only listen on the IP the server is bound to.
16 years ago
rubidium
080095ade5
(svn r15984) -Codechange: prepare the UDP receiver to process multiple types of returned server lists.
16 years ago
rubidium
cd8da0d69e
(svn r15982) -Codechange: use GetAddressAsString to get the name instead of passing the hostname and the IP into a string.
16 years ago
rubidium
9d6edae94d
(svn r15981) -Fix: don't print the address family when writing the IP+port to the config file.
16 years ago
rubidium
18146572b0
(svn r15980) -Codechange: don't try to bind to the same socket twice; it's quite pointless.
16 years ago
rubidium
c2152fa31f
(svn r15979) -Codechange: tweak the debug/warning levels of some of the messages when binding
16 years ago
rubidium
a5a424ce28
(svn r15978) -Codechange: support parsing [] enclosed IPv6 addresses.
16 years ago
rubidium
20e82c46d3
(svn r15976) -Codechange: make it a bit more clear for what (type of) address binding fails
16 years ago
rubidium
1eb4aa971e
(svn r15975) -Codechange: register each of the IPs we have bound to to the masterserver
16 years ago
glx
d466fa9672
(svn r15974) -Fix (r15969): win32 compilation was broken (again)
16 years ago
rubidium
8cf88876ef
(svn r15973) -Codechange: make it possible to listen on multiple TCP sockets
16 years ago
rubidium
c0f8214218
(svn r15972) -Codechange: remove unneeded parameter
16 years ago
rubidium
2a6e9288fd
(svn r15971) -Codechange: make it possible for UDP socket handlers to bind to multiple sockets.
16 years ago
rubidium
6db7f15b3a
(svn r15970) -Codechange: make it possible to resolve a single address into multiple sockets.
16 years ago
rubidium
82f8badc07
(svn r15969) -Codechange: make the list of broadcast addresses virtually unlimited.
16 years ago
rubidium
fdddfd6269
(svn r15968) -Codechange: do not allocate a buffer for NetworkAddresses so passing it around is easier.
16 years ago
rubidium
22d9306889
(svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly
16 years ago
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.
16 years ago
rubidium
edfc2e536e
(svn r15954) -Fix: comparing addresses kinda fails (sometimes) causing duplicates in the game list
16 years ago
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.
16 years ago
glx
5eed35ef54
(svn r15950) -Fix (r15946): mingw compilation
16 years ago
rubidium
a779611665
(svn r15948) -Fix: resolve network addresses before comparing them
16 years ago
rubidium
c9ebf14ba5
(svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress client_address.
16 years ago
rubidium
2fd9f0fffa
(svn r15946) -Codechange: move netmask matching to NetworkAddress and add some support for IPv6 netmask matching.
16 years ago
glx
e460d3f4d0
(svn r15945) -Fix (r15944): win32 compilation
16 years ago
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
16 years ago
rubidium
ce06df313d
(svn r15941) -Codechange: jonty-comp's wish partly implemented (content server) ;)
16 years ago
rubidium
1463b00b48
(svn r15940) -Codechange: move setting reuse address to the binding process.
16 years ago
glx
2dafb9dd57
(svn r15938) -Fix: broadcast addresses detection was broken for win32
16 years ago
rubidium
e05e1822d6
(svn r15935) -Codechange: function to compare IP addresses (to sort them)
16 years ago
rubidium
2bfc9ca50c
(svn r15934) -Fix: work around Solaris' inability to "parse" 0 as defined in the specifications.
16 years ago
glx
65d10e66f0
(svn r15933) -Fix (r15920): mingw doesn't know getaddrinfo() and freeaddrinfo() either
16 years ago
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.
16 years ago
rubidium
89d0eca6b7
(svn r15931) -Codechange: let the host and ban lists use of SmallVector.
16 years ago
glx
d84fb358f5
(svn r15930) -Fix (r15926): MSVC compilation
16 years ago
rubidium
11723c40b2
(svn r15926) -Codechange: make the broadcast IP list less AF dependent.
16 years ago
rubidium
47602d7b60
(svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant.
16 years ago
rubidium
dccfba6e20
(svn r15924) -Codechange: replace NetworkResolveHost with something less AF dependant.
16 years ago
rubidium
632d74c6b1
(svn r15922) -Codechange: unify the ways to listen on a socket
16 years ago
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
16 years ago
rubidium
c7b6469dab
(svn r15920) -Codechange: make the (TCP) connecting less AF dependent.
16 years ago
glx
521bf687ee
(svn r15919) -Fix (r15916): mingw doesn't know getnameinfo() (unless you compile for XP SP2+). Also fix a MSVC warning.
16 years ago
rubidium
beef5da970
(svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' data (as spotted by SpComb)
16 years ago
rubidium
c5160c7c8e
(svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP.
16 years ago
rubidium
1e205e01b8
(svn r15916) -Codechange: let the network game list use NetworkAddress
16 years ago
rubidium
c0c6e07081
(svn r15915) -Codechange: let the udp code use NetworkAddress.
16 years ago
rubidium
804370d964
(svn r15914) -Codechange: let the content handling make use of NetworkAddress.
16 years ago
rubidium
d3fa15e620
(svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail
16 years ago
alberth
9d2738b9c4
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago
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.
16 years ago
yexo
b61a681f02
(svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN.
16 years ago
rubidium
e25b2f5d60
(svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window.
16 years ago
alberth
6567a29e18
(svn r15820) -Codechange: Some windows using nested widgets
16 years ago
rubidium
9038733f1a
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
16 years ago
rubidium
57174a9301
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
16 years ago
rubidium
e74dc1e1d6
(svn r15803) -Codechange: use the new text drawing API for multicenter
...
-Fix (r15800): off-by-one w.r.t. offsets
16 years ago
rubidium
d837fc4d03
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
16 years ago
rubidium
f11300d1f9
(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API
16 years ago
rubidium
69decac406
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
16 years ago
rubidium
9003641095
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
16 years ago
rubidium
fd0f0bda72
(svn r15788) -Codechange: enumify the network join status widgets and use them.
16 years ago
rubidium
45f189fdca
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
16 years ago
glx
9fcff01850
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
16 years ago
rubidium
8a758beec3
(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.
16 years ago
rubidium
ee4a660b0c
(svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly
16 years ago
rubidium
f5cb1873d6
(svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice.
16 years ago
smatz
8585aa71ed
(svn r15726) -Codechange: unify coding style for const pointers
16 years ago
rubidium
4f8eeca437
(svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth)
16 years ago
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
rubidium
27bcfd115b
(svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows.
16 years ago
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.
16 years ago
rubidium
4a5c4f6089
(svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting
16 years ago
smatz
642dc1ea5e
(svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block
16 years ago
rubidium
406832fed8
(svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas.
16 years ago