Commit Graph

303 Commits

Author SHA1 Message Date
Benau
c5cf87071c Use xmlEncode for proper unicode handling 2018-02-25 14:32:38 +08:00
auria.mg
8d565fba11 Unicode fix 2018-02-24 21:38:31 -05:00
Deve
48d94e10a7 Use separate os name for android stats 2017-10-07 21:37:59 +02:00
deve
fea3b1b3e5 Set curl nosignal option.
It fixes the crash under cygwin and should also fix a crash when c-ares/threaded resolver are not available in curl library.
Fixes #2753
2017-01-25 10:28:48 +01: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
Nado
25a4aa565a Reduce variables scope when possible, based on the warnings reported by
cppcheck.
2016-10-04 08:55:01 +02:00
auria.mg
894a38f6c7 Fix empty popup when no lan server detected 2016-03-31 20:40:42 -04:00
hiker
68e37c902f Merge remote-tracking branch 'origin/master' into refactor_networking 2015-12-15 22:52:55 +11:00
Benau
7fccddb734 Show "Fribidized" user name and enable input for it 2015-12-14 02:56:42 +08: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
af9018ea64 Moved Server and ServersManager into network directory. 2015-11-12 17:52:04 +11:00
hiker
6716dfce97 Removed unnecesary #include. 2015-11-12 12:04:36 +11:00
hiker
5fc830825f Refactoring: Created a separate NetworkConfiguration class which stores
all information to create the STKHost.
2015-11-12 09:53:12 +11:00
hiker
51411a796a Minor refactoring of lan handling, added client's ip address and port
to the answer from the client (which can later be used when the
client requests a connection from a server).
2015-11-10 17:00:47 +11:00
hiker
833c20ceff Added comment. 2015-11-10 08:34:45 +11:00
hiker
8953547305 Store TransportAddress of server in servers data structure. Avoid
copying the currently connected server, instead avoid modifying the
server data structure while while a client is connected to a server.
2015-11-10 08:31:07 +11:00
hiker
3a9576f109 Removed unnecessary #include. 2015-11-10 08:11:03 +11:00
hiker
0074550f57 Fixed typo. 2015-11-10 08:09:05 +11:00
hiker
0a23198be1 Cosmetic changes only. 2015-11-10 08:08:41 +11:00
hiker
453ce8cf60 Added LAN server discovery. 2015-11-09 20:51:00 +11:00
hiker
60f550e9d1 Fixed coding style, removed unnecessary #include in hpp file. 2015-11-06 16:50:58 +11:00
hiker
eab07b31dd Hide RefreshRequest class. 2015-11-02 16:14:38 +11:00
hiker
c0817d29d3 Minor coding style update. 2015-11-02 09:16:09 +11:00
hiker
f0c04a8bef Started to support LAN servers in the GUI (wip). 2015-10-10 12:13:32 +11:00
hiker
a66af6dc91 Cosmetic changes for coding style. 2015-10-09 16:47:18 +11:00
Marianne Gagnon
64b4b7a2f2 Don't try to navigate to another screen when a dialog is open, fixes #2265 2015-08-24 18:56:50 -04:00
hiker
fa1ed0240f Fix #2270 (crash on startup). 2015-08-14 16:50:37 +10:00
Marianne Gagnon
fac5d6550b Fix use-after-free bug in profile management 2015-08-06 19:40:41 -04:00
hiker
8d07d26c25 Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
hiker
08b1fc01f0 Fix error if files are downloaded using https (as happened because of
a server misconfiguration). Add details about the certificate if the
URL contains https (and not only if it's not a downloaded file, i.e.
it is a request with an xml answers that is read from memory).
2015-03-03 16:03:38 +11:00
hiker
e56b4e33bc Show login screen with error message if automatic login did not work.
If user has left main menu screen, an error notification message is displayed.
For #1778.
2015-02-23 23:06:29 +11:00
Marianne Gagnon
e6aea6e0b6 Improve tools and usage of XML encoding, fixes #1982 2015-02-14 18:30:23 -05:00
hiker
11f233938d Cherry picked pull request #1917. 2015-02-13 08:26:25 +11:00
hiker
f6542194d8 Fixed line length. 2015-02-13 08:16:38 +11:00
Daniel Butum
769eaf4742 Log API requests that do not return success 2015-02-12 10:47:14 +02: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
520625adae Removed 'sign' (in/out), use 'log' (in/out) instead. 2015-01-08 13:32:50 +11:00
leper
d21f0ffa2b Support plural translations. Fixes #1852. 2015-01-03 00:25:53 +01:00
hiker
f48f20da94 Fix memory leak. 2014-12-15 10:58:23 +11:00
hiker
8ea8c41597 Fixed memory leaks. 2014-12-14 12:51:53 +11:00
hiker
e1c07b3e2c Fixed memory leak. 2014-12-14 12:30:21 +11:00
hiker
c0c4357331 Switch from IP address to addons.supertuxkart.net (including new
certificate).
2014-12-10 23:53:47 +11:00
hiker
f0ddaa50a5 Removed option to disable CURLOPT_SSL_VERIFYPEER, since it's not needed
anymore.
2014-12-10 12:55:32 +11:00
hiker
93b4aa15c2 Disable CURLOPT_SSL_VERIFYHOST on OSX, since it doesn't work (with
osx's curl version at least).
2014-12-10 12:23:35 +11:00
hiker
83f49ec319 Merge remote-tracking branch 'origin/master' into new_server
Conflicts:
	src/online/http_request.cpp
2014-12-10 11:25:16 +11:00
hiker
48593534a5 Added certificate for our vps. 2014-12-05 13:57:27 +11:00
hiker
60cde7e63d Added option to disable peer verification in curl. This might help
on some platforms (osx) with authentication problems.
2014-12-04 16:43:57 +11:00
hiker
d1fc8d53f4 Added error checking when setting the certificate to connect to our server. 2014-12-04 11:39:56 +11:00
Flakebi
46f3fa5f74 Merge branch 'upstream/master' into perPlayerDifficulties
Conflicts:
	data/gui/options_ui.stkgui
	src/graphics/stkmesh.cpp
	src/states_screens/options_screen_ui.cpp
2014-10-26 17:47:29 +01:00