Benau
b6edc0d93f
Add --disable-polling for hosting multiple servers on 1 machine
...
Only 1 instance of STK server needs keep polling the addon server,
the rest can be run with the above option
2018-07-07 12:50:04 +08:00
Deve
e707b7a2ea
Remove pthread_setcancelstate functions.
...
This function is not available on android and it is default on other platforms anyway.
It makes easier to port changes from master to android branch.
2016-11-11 14:11:27 +01:00
hiker
68e37c902f
Merge remote-tracking branch 'origin/master' into refactor_networking
2015-12-15 22:52:55 +11:00
hiker
1969ee0b1f
Set a name for each thread in VS.
2015-12-09 08:55:46 +11:00
deve
94d5c19b7f
Fixed compiler warnings.
...
The winsock2.h header should be always included before windows.h header (or we should define WIN32_LEAN_AND_MEAN). It's because windows.h header includes also winsock.h header and there is possible conflict between winsock and winsock2.
I didn't test in on Visual Studio yet. I hope there is no WIN32_LEAN_AND_MEAN redefinition errors...
2015-12-03 14:59:54 +01:00
hiker
8d07d26c25
Updated (c) year to include 2015.
2015-03-30 11:42:50 +11:00
Daniel Butum
f18167d345
Fix abortable requests which in turn fixes the sending of the 'client-quit' request to the server when quiting
2015-01-22 17:56:30 +02:00
hiker
f48f20da94
Fix memory leak.
2014-12-15 10:58:23 +11:00
hiker
48d99086f1
Fix $1569 (allow adjusting of polling interval from server via news.xml
...
or polling response data).
2014-09-25 17:04:36 +10:00
hiker
b2a936c8cd
Fix crash caused when downloading requests for icons were still
...
executing at game end.
2014-08-18 22:42:27 +10:00
Daniel Butum
b3f9f9f407
Refactor online namespace. Define api php file names from a single place
2014-08-04 18:41:47 +03:00
konstin
ce7da4b237
running whitespace.py
2014-07-08 20:59:34 +02:00
hiker
e3513b10c6
Merge branch 'master' of https://github.com/Flakebi/stk-code into Flakebi-master
2014-06-05 08:23:47 +10:00
hiker
8960b79181
Wait for request_manager to be ready to be deleted (i.e. current request
...
have been properly aborted, and sign out done). Also shut down more of
STK after signaling the request manager to shut down, so that the user does
not notice the time for the sign out. Also added docs.
2014-06-05 07:56:51 +10:00
Flakebi
af6c121a22
Run whitespaces.py
2014-06-04 15:10:20 +02:00
hiker
49a9ac54d5
Added a 'non-abortable' flag to the signout request. Re-enabled cancelling
...
ongoing downloads to allow for a quicker exit of STK.
2014-06-04 17:05:35 +10:00
hiker
36d705f021
Added 'always-show-login-screen' option, moved 'remember-password'
...
option from UI-options to UserScreen.
2014-05-27 15:36:44 +10:00
hiker
6f4579d55d
Only auto-login player if last time they played they were online.
2014-05-17 12:05:49 +10:00
hiker
447ca89c0a
Removed CurrentUser usage from all files except PlayerManager
...
and PlayerProfile.
2014-04-16 11:13:35 +10:00
hiker
f33a9f7cf6
Fixed #1282 : STK crash on startup for the first time.
2014-04-15 09:06:50 +10:00
hiker
3a5a0a56b2
Moved isRegisteredUser from CurrentUser into PlayerManager::isCurrentLoggedIn.
2014-04-11 16:20:04 +10:00
hiker
502987d3e0
Now each PlayerProfile has a (currently still called) CurrentUser
...
which manages online connection data. Work-in-progress to use
only one object for all player data (instead of two atm: PlayerProfile
and CurrentUser).
2014-04-10 16:32:58 +10:00
hiker
25c96d88ec
Moved saved session data from UserConfig to PlayerProfile - which
...
means that now each player can individually save an online session.
2014-04-09 08:33:42 +10:00
konstin
7cc83e1475
running whitespaces.py update 1
2014-03-29 11:33:43 +01:00
konstin
663fffdebb
Revert "Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces"
...
This reverts commit 65e2dcf2f0
.
2014-03-29 11:32:04 +01:00
konstin
65e2dcf2f0
Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces
2014-03-28 20:08:39 +01:00
hiker
586641120c
Fixed crash in online user search (triggered when pressing ESC while the
...
search is being executed).
2014-03-05 08:21:19 +11:00
hikerstk
b136e16f7a
Preparation to remove network_http (its work will be
...
taken over by the reqeust manager).
Initialise news and addons manager in a separate thread
and not from the network_http thread anymore. Icons are
also downloaded now from the request manager instead
of the network_http.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 11:20:32 +00:00
hikerstk
54e6396df6
Renamed HTTPManager to RequestManager, and split request
...
into three files request, http_request and xml_request.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 04:57:58 +00:00