Commit Graph

669 Commits

Author SHA1 Message Date
peter1138 bce50498fc (svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe. 2009-02-01 22:32:07 +00:00
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium bf45d44c3c (svn r15247) -Change: show a lock near the password/join button in the company window whenever the company is password protected 2009-01-23 23:56:56 +00:00
rubidium 2722cabcce (svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral) 2009-01-23 22:18:06 +00:00
Yexo 9fc9697929 (svn r15234) -Fix (r15176): Crash if you pressed space in the content download window before selecting an item. 2009-01-23 18:40:18 +00:00
rubidium 75055f011d (svn r15221) -Change [FS#2574]: only show missing NewGRFs when opening the content download window from a NewGRF list and there are missing NewGRFs, otherwise show just all NewGRFs the system knows. 2009-01-23 10:20:29 +00:00
rubidium fc5022d76e (svn r15217) -Fix [FS#2573] (r15176): more corner cases when removing things from iterated vectors 2009-01-23 09:00:01 +00:00
rubidium 80e59f375f (svn r15215) -Fix: various MSVC x64 compiler warnings 2009-01-23 02:01:05 +00:00
rubidium 2f282380ef (svn r15207) -Add: sorting to the content list. 2009-01-22 14:15:52 +00:00
rubidium bf47489d58 (svn r15206) -Fix [FS#2567]: memory corruption due to not properly cleanup up the mess when cancelling a download 2009-01-22 10:09:56 +00:00
rubidium 840217d717 (svn r15200) -Feature: give server admins a tool to combat profanity in nick names (based on patch by dihedral) 2009-01-21 23:07:11 +00:00
rubidium 3849dfce55 (svn r15196) -Fix (r15195): != != == :( 2009-01-21 20:18:12 +00:00
rubidium 40b7769723 (svn r15195) -Fix: don't crash when removing from something you're iterating over 2009-01-21 12:23:08 +00:00
peter1138 00aa88040e (svn r15194) -Fix: Don't count dedicated server as a spectator 2009-01-21 10:46:21 +00:00
rubidium fd7063530c (svn r15178) -Change: rename 'update' to 'upgrade' as that's a bit more clear 2009-01-20 21:05:13 +00:00
rubidium 7c5a618639 (svn r15176) -Fix [FS#2554]: querying the content server could free when resolving the hostname or connecting takes long/is timing out. 2009-01-20 16:51:55 +00:00
rubidium 206841ba5f (svn r15163) -Change/Fix: use a non-blocking method to resolve the hostname and connect to game servers. 2009-01-20 11:28:18 +00:00
rubidium 12ff4cf083 (svn r15162) -Fix: the join status window didn't get properly created 2009-01-20 11:21:06 +00:00
rubidium ad43d72a3e (svn r15161) -Change: bump url to 96 bytes 2009-01-20 09:52:11 +00:00
glx 62ec25a8ff (svn r15160) -Fix (r15157): port != IP 2009-01-20 04:01:07 +00:00
rubidium 82e98c2188 (svn r15159) -Fix: move the UDP queries that resolve a hostname into threads so they don't freeze OpenTTD when for example the network connection got severed. Thanks to glx for writing the mutex implementation for Windows. 2009-01-20 03:44:43 +00:00
rubidium 4aabc91c04 (svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again. 2009-01-20 01:32:06 +00:00
rubidium 7a81c0e5b4 (svn r15155) -Codechange: remove unused return value 2009-01-19 22:01:37 +00:00
rubidium 32e46fc067 (svn r15154) -Fix [FS#2555] (r15126): wrong tooltip for the matrix 2009-01-19 21:13:02 +00:00
rubidium 127d80d3f5 (svn r15153) -Fix (r15126): the scrollbar's "count" wasn't always correctly set 2009-01-19 21:11:51 +00:00
rubidium 730ceecb8b (svn r15136) -Fix (r15126): (file) name could occasionally be wider than the download window causing glitches. 2009-01-18 15:53:21 +00:00
rubidium 1bc8e3f536 (svn r15135) -Fix/Change: allow str_validate (part of receiving strings from the network) to pass newlines instead of replacing them with question marks, but only when asked to do so. 2009-01-18 13:12:57 +00:00
rubidium 2ce42873d1 (svn r15134) -Fix (r15126): not selecting dependencies when pressing "select update" 2009-01-18 00:05:49 +00:00
rubidium 72b0341ed0 (svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates. 2009-01-17 16:53:32 +00:00
rubidium eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 2009-01-16 12:59:47 +00:00
peter1138 31a586dc6f (svn r15094) -Feature: Add support for IP range bans using CIDR notation. 2009-01-15 18:11:26 +00:00
rubidium 850a2735cc (svn r15079) -Codechange: split tcp 'backend' and in-game handling like it is for UDP. 2009-01-14 12:50:13 +00:00
rubidium 737c187f79 (svn r15053) -Cleanup: remove some unneeded includes 2009-01-13 11:53:33 +00:00
rubidium 01e92ac32a (svn r15052) -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information 2009-01-13 11:46:29 +00:00
truebrain c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium c0e7434f38 (svn r14944) -Cleanup: add spaces around some operators 2009-01-09 22:56:28 +00:00
rubidium 054787f082 (svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces 2009-01-09 22:48:57 +00:00
belugas f0033f8003 (svn r14927) -Codechange: constify widget numbers in network chat gui. 2009-01-08 22:33:54 +00:00
rubidium 78c43297e2 (svn r14916) -Codechange: make it possible to send CommandContainers directly to DoCommand(P). 2009-01-08 14:55:28 +00:00
rubidium 0e1127e8b5 (svn r14915) -Codechange: unify the receiving and sending of commands, and thus unifying most of the validity checking too. 2009-01-08 14:40:18 +00:00
belugas da7da4c1c8 (svn r14914) -Documentation: Correct doxygen comment for file name. <nitpicked> by Swallow 2009-01-08 14:38:21 +00:00
rubidium 4df86694a7 (svn r14910) -Codechange: merge the command queue handling into a single location 2009-01-08 13:57:50 +00:00
rubidium 32d65845d4 (svn r14898) -Fix (r14897): ccache's caching seems to be a bit too agressive or so. 2009-01-07 15:36:37 +00:00
rubidium 4231c3ee82 (svn r14897) -Codechange: don't allow a few command flags to be sent over the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client.
-Codechange: test earlier whether the command (send from the server) is actually valid.
2009-01-07 15:27:19 +00:00
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
glx 06519a56f2 (svn r14816) -Fix: signed/unsigned warnings (MSVC) 2009-01-03 19:39:22 +00:00
rubidium 72d89337ee (svn r14804) -Codechange: unify opening the OSK (Zuu) 2009-01-03 13:59:05 +00:00
rubidium f55995f1ef (svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option. 2008-12-29 21:50:25 +00:00
rubidium 1892994ab2 (svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :( 2008-12-29 21:41:20 +00:00