Commit Graph

536 Commits

Author SHA1 Message Date
Mark Vejvoda 3dd6f244e6 - bugfix for CRC handling in connected menu 2011-01-10 00:33:40 +00:00
Mark Vejvoda 7bc6b603b9 - lua bugfix for fog of war toggling
- ftp client bugfix for reported segfault
2011-01-10 00:05:31 +00:00
Mark Vejvoda 6c5163d1e9 - attempt to improve openal's buffer underruns 2011-01-09 09:46:10 +00:00
Mark Vejvoda 26cdb8ccad - more bugfixes for ftp painting 2011-01-09 09:05:34 +00:00
Mark Vejvoda 34c089b9ad - protect against socket signal in ftp server 2011-01-09 08:01:14 +00:00
Mark Vejvoda 74824fe753 - added some ftp logging to network debug log 2011-01-09 07:37:59 +00:00
Mark Vejvoda 912188679c - some ftp bugfixes and cleanup on ftp client that have failed transfers 2011-01-09 05:49:59 +00:00
Mark Vejvoda 1c78fca0fb - Added tileset and map CRC check in the network lobby
- numerous bugfixes
2011-01-09 04:49:21 +00:00
Mark Vejvoda e477fe647f - updates to codeblocks so win32 debug builds ok and cleanup of cmake that was using settings that compiler did not use 2011-01-08 00:42:12 +00:00
Mark Vejvoda e12692293a - cleanup a compiler warning 2011-01-07 06:28:42 +00:00
Mark Vejvoda 528b9cfb58 - compile fix for win32 VC++ 2011-01-07 06:26:23 +00:00
Mark Vejvoda b30fe62528 - to appease the security freaks, ONLY clients that are ALREADY connected in the lobby are able to connect to the built in FTP server now 2011-01-07 06:21:23 +00:00
Mark Vejvoda 6b89e38512 - forgot to apply a bugfix to feathery's win32 code, now more menu freeze for windows users who had FTP enabled 2011-01-07 04:57:54 +00:00
Mark Vejvoda a6cd69d9ed - a few bugfixes pointed out by tomreyn.. thanks 2011-01-07 04:32:41 +00:00
Mark Vejvoda 055293d027 - bugfix for code compiled in VC++ 2011-01-06 23:13:36 +00:00
Mark Vejvoda 180611c3e8 - bugfix for code compiled in VC++ 2011-01-06 23:05:58 +00:00
Mark Vejvoda 8ec51051c4 - fixed win32 build 2011-01-06 06:39:58 +00:00
Mark Vejvoda a5a744fcad - updated FTP code to use specific ports for MG and not random FTP ports 2011-01-06 00:52:00 +00:00
Mark Vejvoda 02e591c41d - some code cleanup 2011-01-04 20:55:10 +00:00
Mark Vejvoda b8e272519c - updates to file transfer progress bar 2011-01-04 20:00:39 +00:00
Mark Vejvoda f3eee457c0 - added an in progress bar when downloading tilesets
- clear the CRC cache after a new file is downloaded
2011-01-04 08:44:00 +00:00
Mark Vejvoda b385d4c2b1 - bugfix for static inclusion of libcurl 2011-01-04 02:55:45 +00:00
Mark Vejvoda f7d2631879 - added a few more special keys for available use as hotkeys (vkPause and vkPrint) 2011-01-03 22:22:52 +00:00
Mark Vejvoda 21c1da2e18 - added a new commandline parameter to display merged ini settings and also to filter on a specific ini setting 2011-01-03 20:59:18 +00:00
Titus Tscharntke bcaf400689 No more MG Bot Messages; IRC chatting is disabled until really connected to irc. 2011-01-02 23:53:59 +00:00
Mark Vejvoda 3370fdd39f - attempt to fix socket freeze issue 2011-01-02 16:24:44 +00:00
Titus Tscharntke d09d29f520 new default settings for ultra/easy/mega ; dansk.lng up to date ; code cleanup 2011-01-02 12:18:14 +00:00
Mark Vejvoda 83ff486e21 - code cleanup 2011-01-02 10:09:49 +00:00
Mark Vejvoda 5f4d3e9088 - numerous thread bugfixes related to menu stability and ftp server socket usage 2011-01-02 09:33:37 +00:00
Mark Vejvoda 2b1732e27e - overhaul of thread processing, especially in the menus, things now freeze much less and should be more reliable 2011-01-02 06:46:48 +00:00
Mark Vejvoda 9150701e70 - more thread guards for IRC Client 2011-01-02 04:16:24 +00:00
Mark Vejvoda 896b1c308c - added a backtrace for gcc compiled binary when we get a runtime error.
- added more out of synch checks and better error handling
2011-01-02 00:39:13 +00:00
Mark Vejvoda f63e76df74 - updated mingw cmake files to work with new libcurl version (requires new ming deps download) 2011-01-01 11:39:04 +00:00
Mark Vejvoda 539ab23e89 - updated cmake script to check for minimum libcurl version 2011-01-01 11:11:05 +00:00
Mark Vejvoda 8eeb0b550c - more ftp tileset bugfixes 2011-01-01 03:12:28 +00:00
Mark Vejvoda 7088f60425 - more ftp tileset bugfixes 2011-01-01 02:01:10 +00:00
Mark Vejvoda 79d2329559 - more ftp tileset bugfixes 2011-01-01 01:54:12 +00:00
Mark Vejvoda 093077810f - bugfix to add tileset requests into ftp client thread 2011-01-01 01:49:01 +00:00
Mark Vejvoda 2cdb8dd354 - initial work for tileset ftp transfers, needs some testing 2011-01-01 00:50:10 +00:00
Mark Vejvoda 7e55a545c4 - added code for ftp client to handle failures and menu exit more gracefully 2010-12-31 21:02:06 +00:00
Mark Vejvoda 1f29685803 - bugfixes for ftp server to work on windows, silly M$ compiler has issues with mixing C / C++ code so I had to make these changes 2010-12-31 21:00:25 +00:00
Mark Vejvoda d176053da9 - plenty of code cleanup (some refactoring of socket / UPNP code)
- FTP console output now only shows when --verbose used
2010-12-31 08:21:26 +00:00
Mark Vejvoda bd12b10e29 - bugfixes for debuglog filelist which crashes on windows platform on program exit 2010-12-31 01:53:16 +00:00
Mark Vejvoda 0987536af8 - changed order of map searching, now we look in this order:
mydata/maps mgm file type
mydata/maps gbm file type
maps / mgm file type
maps/ gbm file type
2010-12-30 21:19:08 +00:00
Mark Vejvoda 973b546b04 - more bugfixes related to ftp and firewall handling 2010-12-30 20:02:30 +00:00
Mark Vejvoda 64446194e7 - more bugfixes related to ftp and firewall handling 2010-12-30 18:51:25 +00:00
Mark Vejvoda 1480d7c68d - bugfix for compiling in VC++ 2010-12-30 16:05:47 +00:00
Mark Vejvoda 3f0ee7a6cb - some initial changes to try to get ftp working over the Internet with firewalls etc 2010-12-30 15:56:02 +00:00
Mark Vejvoda 2ca50ee9f9 - attempt to avoid IRC client crashes on Internet menu if user does not have an Internet connection 2010-12-29 21:03:57 +00:00
Mark Vejvoda 4fb1b1092f - added ftp port # as an ini setting and added to UPNP for router auto-config
- added new language string for message box to prompt map file downloads
2010-12-29 20:28:25 +00:00
Mark Vejvoda 89a6ae3fe4 - updated win32 vc++ files to compile with new ftp server / client 2010-12-29 16:28:46 +00:00
Mark Vejvoda 0c3ceb7c99 - more ftp bugfixes 2010-12-29 08:04:31 +00:00
Mark Vejvoda a82f238d48 - more ftp bugfixes 2010-12-29 07:52:40 +00:00
Mark Vejvoda 99132eb23c - more ftp bugfixes 2010-12-29 07:35:31 +00:00
Mark Vejvoda 5e705d31c8 - more ftp bugfixes 2010-12-29 07:14:15 +00:00
Mark Vejvoda 385dd8733a - more ftp bugfixes 2010-12-29 07:02:14 +00:00
Mark Vejvoda c8c77f75e3 - more ftp bugfixes 2010-12-29 06:55:47 +00:00
Mark Vejvoda b84bede3df - ftp file xfer bugfixes 2010-12-29 06:11:06 +00:00
Mark Vejvoda e79147796f - more ftp updates 2010-12-29 01:32:55 +00:00
Mark Vejvoda 6e88e4be4c - got my plumbers suit on and added the plumbing for FTP file xfers 2010-12-29 01:10:53 +00:00
Mark Vejvoda 8d8afe78b5 - build fix for poor distros who have a hard time with libircclient (now we just include this small lib in the source tree) so no longer required as an external lib 2010-12-27 09:01:40 +00:00
Mark Vejvoda f7d95a6f6a - trying to tweak threaded logger performance when log entries are in the hundreds of thousands 2010-12-26 03:01:59 +00:00
Mark Vejvoda 8688ea955e - trying to tweak threaded logger performance when log entries are in the hundreds of thousands 2010-12-26 02:15:56 +00:00
Mark Vejvoda 40796f2d90 - attempt to bugfix threaded logger 2010-12-26 01:45:39 +00:00
Mark Vejvoda e4e7a456f5 - attempt to bugfix threaded logger 2010-12-26 01:27:49 +00:00
Mark Vejvoda 409c15d3f0 - more tweaking of threaded logging as well as removal of world synch logging items that are not needed 2010-12-26 01:13:04 +00:00
Mark Vejvoda 36f62ea084 - changes to threaded logging so when things get very busy the thread dumps log entries more quickly 2010-12-26 00:27:38 +00:00
Mark Vejvoda 2234928a35 - changes to threaded logging so when things get very busy the thread dumps log entries more quickly 2010-12-25 23:49:24 +00:00
Mark Vejvoda b006e72b53 - mutex cleanup in network classes to try to avoid game freeze( hangs) 2010-12-25 22:38:00 +00:00
Mark Vejvoda d997e2af5d - bugfix, threaded logging was NOT ever enabled because of a timing bug. Now threaded logging is enabled by default.
- Updated debug UI view to show threaded debug buffer count
2010-12-25 09:15:49 +00:00
Mark Vejvoda 03eaa2c033 numerous important bugfixes:
- observers and end game fog of war enable would most likely cause out of synch, I think its fixed now
- better handling of threaded logging
- cleanup of socket thread processing to ensure all network packets get processed properly and in order
2010-12-24 08:43:09 +00:00
nosogo 2a4c9a99cd help and bugfix editor and start of keyboard 2010-12-24 03:36:34 +00:00
Mark Vejvoda 97ee61165a updates to irc use in mastermenu:
- shows local username
- bugfixes for detecting new/dropped users in the irc channel
- lots of cleanup to remove use of so many static variables
2010-12-24 02:10:31 +00:00
Mark Vejvoda 809d56e86c - added option to log debug info using a worker thread, by default logging is NOT threaded. To enable:
ThreadedLogging=true
2010-12-23 19:47:40 +00:00
Mark Vejvoda c0c70217dc updated to support manual install of libircclient 2010-12-23 16:44:05 +00:00
Mark Vejvoda 8b0b6300ed - some cleanup for the new IRC client in the Masterserver menu, and changed default channel for in game IRC chat to megaglest-lobby 2010-12-23 07:42:15 +00:00
Mark Vejvoda 1d4de5e423 - updates to cmake for libircclient 2010-12-23 06:56:19 +00:00
Mark Vejvoda bafc574143 - added custom path for titi's old Ubuntu 2010-12-23 02:24:46 +00:00
Mark Vejvoda 7e6a7a85f7 - big fight to get libircclient compiled in VC++ but we won the battle (requires new win32 deps.. NOT ming deps) 2010-12-23 02:17:29 +00:00
Mark Vejvoda 313081f143 - bugfixes found when compiling on win32 2010-12-23 01:23:42 +00:00
Mark Vejvoda ea4f8e0bcd - added IRC client to the Internet game menu (still need to update VC++ projects) 2010-12-23 00:00:30 +00:00
Mark Vejvoda 69e0130296 - added new --verbose commandline option 2010-12-22 00:31:30 +00:00
Mark Vejvoda 8534fa59a9 - added more stable way of setting thread run state 2010-12-22 00:15:32 +00:00
Mark Vejvoda 443096d0db - updated win32 files / project to properly compile UPNP 2010-12-21 06:03:38 +00:00
Mark Vejvoda 628be74fb8 - added UPNP router auto-configure for Internet games (hurray) 2010-12-21 05:38:12 +00:00
Mark Vejvoda 3dd35c147b - updated codeblocks projects with new UPNP files 2010-12-21 05:24:22 +00:00
Mark Vejvoda bc90aa7ce4 - added UPNP router auto-configure for Internet games (hurray) 2010-12-21 05:07:10 +00:00
mnaumann d1c1d27584 * change HTTP user agent to conform with new software title (no dash)
* configure HTTP client to follow redirections ("Location:" header/3xx status)
* glest.ini: update master server, announcement and version check URLs; reorder MasterServerExternalPortList; add introduction text
2010-12-21 00:32:54 +00:00
Mark Vejvoda a844b79d3e - fixed an evil socket bug! Sockets in Linux were NOT properly set as non blocking and vice versa as expected. PErhaps this helps with the menu bug 2010-12-18 23:03:53 +00:00
Mark Vejvoda 6a99e2db8e - another attempt to guard socket thread access so avoid menu hang problems 2010-12-18 19:52:47 +00:00
Mark Vejvoda b148507411 - set anti-alias setting so it works if enabled 2010-12-17 02:53:52 +00:00
Mark Vejvoda 003d15c28a - updated cmake files to support toggling between release and debug builds (even release with debug info)
when calling CMAKE you may toggle debug or release like this:
cmake -D CMAKE_BUILD_TYPE=Debug ..
or
cmake -D CMAKE_BUILD_TYPE=Release ..
2010-12-12 08:10:18 +00:00
Mark Vejvoda 1984c61386 - final completion of tools now building in both linux and windows through cmake 2010-12-11 15:05:43 +00:00
Mark Vejvoda e34c8977e1 - a few changes to cmake windows build so that it runs properly (libglest must be a dll) 2010-12-11 13:35:27 +00:00
Mark Vejvoda f27cb6c8a3 - added support to cross compile win32 binary on Linux using cmake (just run build-mg-win32.sh) 2010-12-11 12:53:38 +00:00
Mark Vejvoda 755a7737fa - added CMAKE support for building MG in Windows using MingW 2010-12-11 06:32:21 +00:00
Mark Vejvoda 045c2f95e8 - added new commandline options to tell the game where to look for data, ini's and where to write logs 2010-12-09 20:41:11 +00:00
Mark Vejvoda 7f0a179340 - bugfix for vc++ compile (added #define for mingw) 2010-12-07 22:29:31 +00:00
Mark Vejvoda b605c65aa9 - updates to support both Windows and Linux targets from CodeBlocks Workspace 2010-12-07 07:00:11 +00:00
Mark Vejvoda 1e0a5dc304 - better stability of menu navigation and threads 2010-12-07 06:12:51 +00:00