lotodore
6dcb5879f1
More mingw fixes.
2008-04-25 14:52:19 +00:00
lotodore
dd3453d364
Fixed multithreading issue with gnutls.
2008-04-24 22:11:43 +00:00
lotodore
431576436f
Use long as ssize_t on windows.
2008-04-23 21:20:18 +00:00
lotodore
d7c6cdd75c
Use GnuTLS-OpenSSL instead of OpenSSL. Thanks to Zhenech for help with this patch.
2008-04-21 22:27:15 +00:00
lotodore
2e38f58e13
Fixes for boost 1.35.0 with msvc - mainly winsock vs. winsock2 related.
2008-04-16 20:38:11 +00:00
lotodore
b5f17bdcc3
Changes for boost 1.35.0 compatibility.
2008-04-03 19:04:17 +00:00
lotodore
5beaa816b4
Moving third party sources to third_party folder so that they can be easily distinguished. This should help package maintainers.
2008-03-23 10:36:17 +00:00
lotodore
962cf172ff
Cleaned up libircclient a bit - submitted patch to the author.
2008-03-22 23:39:24 +00:00
lotodore
c8b38d0e57
More verbose logging for the server.
2008-03-19 23:39:59 +00:00
doitux
f39a62696c
adds gcc-4.3 support
2008-01-21 22:36:28 +00:00
lotodore
5f0fc7ab93
Workaround for boost uncaught exception problem on MacOS 10.5.
2007-12-07 23:29:49 +00:00
lotodore
20a6cdf49a
Use MacOS 10.4u SDK (instead of 10.5, which causes libiconv incompatibility). Use libboost 1.34.1 universal as built for adobe open source lib.
2007-12-02 20:01:21 +00:00
lotodore
d500712ec8
Fixed compiler warning.
2007-11-26 19:52:14 +00:00
lotodore
1b53a64fbb
Changes for MacOS. Can be compiled, but there are still some issues.
2007-11-24 14:04:18 +00:00
lotodore
65a3f969bf
Log to file as dedicated server (do not use syslog any more).
2007-11-22 17:25:55 +00:00
lotodore
c5bae66142
Move server configuration to dedicated server only. Separate error logging for client and server, in preparation of creating a log file on the dedicated server.
2007-11-22 00:57:03 +00:00
lotodore
689b22e0b9
The sender thread has been rewritten with a new algorithm in mind. The sender should not stall any more, and no timeout is required. There are no more send priorities.
...
The avatar manager no longer serializes access to avatar files.
2007-11-20 23:58:24 +00:00
lotodore
a24a93caba
Use unix linefeeds for all files. Finally. It's about time.
2007-11-16 15:24:25 +00:00
lotodore
f1f45c9b0b
Truncate any existing avatar file when saving in cache dir.
2007-11-11 15:59:41 +00:00
lotodore
e9604d0177
Cache avatars on client only for 1 day.
2007-11-01 19:23:35 +00:00
lotodore
864af81193
Don't request own avatar from the server. Only request avatars of other players after joining a game.
2007-11-01 18:36:03 +00:00
lotodore
e5f05c5359
Trying to fix the avatar problem.
2007-10-31 20:23:27 +00:00
lotodore
d0c34c572b
Automatically cleanup cache once a day on the dedicated server.
2007-10-25 21:20:35 +00:00
lotodore
d0cea553df
Fixed boost string comparison. Oo.
2007-10-25 20:35:57 +00:00
lotodore
f019523879
Use boost for case insensitive comparison.
2007-10-25 20:26:44 +00:00
lotodore
dc74186b5a
Fixed syslog stuff.
2007-10-24 23:24:57 +00:00
lotodore
9e180d01f3
Fixed error when transfering avatars. Additional logging.
2007-10-24 23:17:12 +00:00
lotodore
2152b90e20
Added code to automatically clean up avatar cache. There is a time limit (how long avatars are kept) as well as a number limit (how many avatars will be cached).
2007-10-24 22:20:35 +00:00
lotodore
b4848532f9
Added logging for server using syslog.
2007-10-23 21:26:07 +00:00
lotodore
6a297effc1
Try to prevent (as much as possible) transfering and, more important, storing, any other files than avatars as png, gif and jpg. The headers of the files are checked whether they are valid for the corresponding format. Files without gif/png/jpg header are never stored on the server, and thus cannot be requested by any client.
2007-10-18 23:00:55 +00:00
lotodore
3e373be458
Fixed gcc compiler error.
2007-10-18 21:16:49 +00:00
lotodore
990b99f051
Fixed gcc compiler error.
2007-10-18 21:07:55 +00:00
lotodore
b8cfdb8ce0
Fixed gcc compiler error.
2007-10-18 21:05:36 +00:00
lotodore
c7a36ceca5
Linefeeds.
2007-10-18 20:41:13 +00:00
lotodore
4c56390dc7
Exceptions are now derived from std::exception and tell source code file and line.
2007-10-18 20:36:49 +00:00
lotodore
959b89f9ed
Do not save avatar files with unknown extensions.
2007-10-16 20:48:25 +00:00
lotodore
e54242b711
Fixed possible security problem if cache dir is modified. Only files with md5sum as file name will be considered by the avatar manager.
2007-10-13 14:23:04 +00:00
lotodore
253778bf30
Added error handling for networking stuff. Now checking the player action.
2007-10-10 22:21:24 +00:00
lotodore
e9d373893d
Fixed linux issues in libircclient.
2007-10-09 15:51:33 +00:00
lotodore
9f698d6adc
Fixed IRC IPv6.
2007-10-08 15:04:02 +00:00
lotodore
d0ccc68d1f
IRC IPv6 support.
2007-10-08 11:07:32 +00:00
lotodore
639df29bdc
Server now requests unknown avatar files from client and stores them in the cache dir. Error handling is still missing. Clients not yet request avatar files from the server, this is the next step.
...
AvatarManager is now thread safe.
Default and cached avatars are handled in different lists to prevent deleting the default avatars when clearing the cache.
2007-10-07 15:52:12 +00:00
lotodore
3bb28de5ae
More work on sending/receiving avatars. Introduces low priority send queue, so that the server send thread is not stalled when sending loads of avatars. Not functional yet.
2007-10-06 12:50:19 +00:00
lotodore
5d974a6450
More preparation towards transferring avatars.
2007-10-05 14:23:36 +00:00
lotodore
b4a1ce8bd5
Dedicated server no longer depends on qt. Added code for utf-8 conversion on windows and linux (without qt). Some small issues remain (like the data-dir and charset for the server).
2007-10-01 00:33:05 +00:00
lotodore
5edf38a6cb
Fixed some msvc problems with libircclient. Fixed auto start boost timer issue. Fixed irc thread termination (this time for real). Using strdup and free on MSVC causes "heap corruption error" in debug mode - use _strdup instead in libircclient.
2007-09-30 13:15:52 +00:00
doitux
fc435f2769
exceptions & bugfixes
2007-09-29 00:08:19 +00:00
lotodore
eb62635e02
Additional irc stuff - list of nicks, leaving/joining players. Not complete yet, renames are missing, as well as special stuff like being kicked.
2007-09-27 20:59:00 +00:00
lotodore
0dcd313c9d
Irc thread can now be properly terminated. Separate initialization from connecting. Add callback class for irc stuff.
2007-09-25 21:26:22 +00:00
lotodore
54f8b511c3
Scan new avatars for network games.
2007-09-14 15:26:19 +00:00