Mark Vejvoda
a37dc8a7b3
- fix headless server crash due to new call to setgama in headless mode
...
- a few code optimizations to start to improve performance
2012-04-16 06:14:10 +00:00
Mark Vejvoda
5cfb7e85d5
- Added stack traces to win32 build when we detect an error
2012-04-14 22:48:49 +00:00
Mark Vejvoda
8c0bf75bf5
- got built in memory leak working. Just edit leak_dumper.h and uncomment:
...
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda
9aca26a0f0
- bugfix for unit selection segfault on game exit
...
- added thread hardening to try to ensure we never try to delete a thread more than once.
2012-04-12 20:43:19 +00:00
Mark Vejvoda
cd5bce3b91
- removed configurator from cmake file
...
- applied libircclient patch from forums 'the Chakra project'
2012-04-11 18:58:38 +00:00
Mark Vejvoda
433f4e84ce
- a few more fixes found using cppcheck
2012-03-28 06:34:34 +00:00
Mark Vejvoda
9286130138
- bugfixes and code cleanup found using cppcheck
2012-03-28 06:25:57 +00:00
Mark Vejvoda
9e1001fac7
- headless server will only give network status info to the locahost now and not on any other ip (for security purposes)
2012-03-27 05:39:02 +00:00
Mark Vejvoda
d356e5f5de
- added new headless server status check:
...
on the SAME box as the headless run:
./megaglest --headless-server-status
2012-03-25 06:55:43 +00:00
Mark Vejvoda
b14431385f
- attempt to make accepting socket connections and dealing with certain connection problems more stable
2012-03-24 01:09:55 +00:00
Mark Vejvoda
1ac9aa6d3f
- fixed xml loading via rapidxml for some scenarios that had embeddex xml comments in lua
...
- added automation abilities for automated testing with automated saved games
2012-03-17 08:20:17 +00:00
Mark Vejvoda
623623d33f
- bugfix for segfault in menu when exiting too fast
2012-03-05 22:53:03 +00:00
Mark Vejvoda
7399d10247
- attempt to get better stack trace if simple thread dies in destructor
2012-03-04 07:04:36 +00:00
Mark Vejvoda
060d1f453d
- change the crc cache file names to avoid excessively long filenames and to see if this improves performance and fixes buggy behaviour.
2012-03-03 04:55:00 +00:00
Mark Vejvoda
cf1c7c1ca2
- tighten up socket error checking during peek for data on connection check
2012-02-11 22:52:52 +00:00
Mark Vejvoda
4ad42518c0
- updated for better handling of streflop on different platforms
...
- attempt for bugfix on windows when socket send buffer is continuously full
2012-02-10 06:21:06 +00:00
Mark Vejvoda
12d1885c65
- ported bugfixes to trunk from 3.6.0.3
2012-01-24 21:28:05 +00:00
Mark Vejvoda
ebe45d253a
- bugfix for custom data path
2012-01-24 16:14:49 +00:00
Mark Vejvoda
ff4c327261
- bugfix for custom data path macro usage to avoid compiler errors
2012-01-24 07:39:16 +00:00
Mark Vejvoda
84f06d3cbd
- bugfix to compile with libircclient 1.6 and beyond
2012-01-23 20:36:15 +00:00
Mark Vejvoda
f40c37f5e8
- ported bugfixes for 3.6.0.3 release:
...
- CMake build system fixes applied during debian testing (like checking for compiler SSE support etc)
- Windows client fix for headless server operation
- Crash for some systems when trying to use VBO's
- Fixed AZERTY keyboard support
- Enhanced support for screenshots in g3d viewer
- Updated particle code from titi
- Bugfix for custom data path override causing compiler error
- Bugfix for fontconfig to properly find fonts on systems that support and have fontconfig installed (fixes numerous non debian based systems that reported null font errors)
- Minor UI fix on battle end screen when playing 8 players (last player was sometimes chopped off)
2012-01-23 07:22:43 +00:00
Mark Vejvoda
fbf7610420
- port changes from 3.6.0.3 to trunk for windows hosting patch
2012-01-20 04:15:13 +00:00
Mark Vejvoda
3049c5e376
- attempt to fix using grouping hotkeys for AZERTY keyboards (so user can press shift + #)
2012-01-09 21:08:19 +00:00
Mark Vejvoda
61b51eb9ed
- finally a fix for upside down icon (uses png file)
2012-01-06 23:34:49 +00:00
Mark Vejvoda
4c0e39848a
- attempt to see if this solves the dumb icon issue
2012-01-06 23:26:23 +00:00
Mark Vejvoda
89f06a76be
- set the color key for the icon
2012-01-06 23:04:59 +00:00
Mark Vejvoda
093b1efb2c
- added a few more socket guards around invalid socket value
2012-01-06 21:21:52 +00:00
Mark Vejvoda
88ad6d3723
- added a guard on the socket so we only shutdown if not already done so by possibly another thread.
2012-01-06 21:18:36 +00:00
Mark Vejvoda
835c886705
- few tweaks to get things compiling under mingw
2011-12-25 03:09:39 +00:00
Mark Vejvoda
2e94c32d59
- added ability to check if compiler supports SSE and if not fallback to X87 for streflop.
...
- added ability for clients to specify gamma override value for drivers which support it
2011-12-23 08:20:54 +00:00
Mark Vejvoda
496b847999
- bugfixes to build on debians multi-platform build system
2011-12-23 04:38:42 +00:00
Mark Vejvoda
bb16ed2a65
- debian related changes
2011-12-15 11:16:14 +00:00
Mark Vejvoda
9852325da6
- fixed Martiño Figueroa's name in all copyrights in source code
...
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
724d274367
- fixed pixel buffer logic on windows (wacky vc++ 2008 doesn't properly allocate memory on vector.reserve();
2011-12-13 22:21:21 +00:00
Mark Vejvoda
c4dc1e616b
- added support for pixel buffers and use it for color picking (eventually for screenshots)
2011-12-13 19:52:17 +00:00
Mark Vejvoda
2dd2afb296
- changed selection code to use color picking, can disable using new ini setting:
...
EnableColorPicking=false
2011-12-13 01:30:52 +00:00
Mark Vejvoda
6c945a4aa6
- admin connected to a headless server can now restore auto saved game settings
2011-12-03 08:17:49 +00:00
Mark Vejvoda
8a5d4463a6
- fixed bug in sdl where it doesn't always give the correct key modifiers.
...
- can now press alt-enter on intro screen
2011-12-03 04:58:36 +00:00
Mark Vejvoda
609bc528d2
- fixed fog of war bug in map preview for connected client
...
- in headless mode keep three caches in case its related to out of synch
- comment out spurious irc console text
2011-12-03 01:19:54 +00:00
Mark Vejvoda
8bdf863636
- cleanup of masterserver global flag
...
- attempt to cut down on resources required for masterserver mode to minimize RAM
2011-12-02 22:04:02 +00:00
Mark Vejvoda
66f44ff7c4
- more cleanup from cppcheck (using eclipse plugin now)
2011-12-02 17:46:02 +00:00
Mark Vejvoda
d33e1174a5
- bugfixes related to cppcheck report
...
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Mark Vejvoda
156cc39311
fix for Mac osX
2011-11-29 10:16:29 +00:00
Mark Vejvoda
7cf9c189b2
- disallow non compressed tileset downloads when client IP not on same subnet as host
...
- bugfix for LAN server broadcasting
- bugfix for empty message on player disconnect (now properly shows that player switched to AI mode)
2011-11-29 05:07:18 +00:00
Mark Vejvoda
03a7a72ef5
revert network code back to beta1 code
2011-11-27 05:27:50 +00:00
Mark Vejvoda
5fd3457d70
- fixed socket changes for windows compiler
2011-11-27 00:11:18 +00:00
Mark Vejvoda
da854f103b
- added some special ways to configure how sockets work on a system for testing
2011-11-27 00:07:55 +00:00
Mark Vejvoda
6c1c248d62
- attempt to fix network stuttering using a new multi-read single write mutex + semaphore class
2011-11-26 08:14:23 +00:00
Mark Vejvoda
82c9002d0a
- attempt to further stabilize cpu usage and network reliability
2011-11-25 20:03:07 +00:00
Mark Vejvoda
2a8c712b1a
- more socket performance changes
...
- auto complete now works also in IRC chat, and tabbing loops through all matched names.
2011-11-25 09:12:53 +00:00