285 Commits
Author SHA1 Message Date
CodingJellyfish 9206b923f7 Use xmlDecode for news 2024-04-28 15:57:42 +08:00
Benau 3ecc4ccdad Remove IFileSystem.h in file_manager.hpp 2022-11-18 09:24:31 +08:00
Benau a688912872 Remove IrrlichtDevice.h and IVideoDriver.h in header files 2022-11-17 11:09:56 +08:00
David Carlier 9fb568eaa7 widening a bit smart pointers usage considering xml data. 2022-03-12 07:43:13 +00:00
Heuchi a699982bfa Keep showing arrow on addons widget in main menu
when there are updates for installed addons.
2021-09-06 16:00:11 +02:00
Benau 85984d143a Only count approved addons for indicator 2020-12-01 16:17:47 +08:00
Benau 273c157b93 Add badge to indicate new addons for downloading 2020-11-28 00:57:40 +08:00
Benau 451bbd1a4a Allow downloading addon icons on demand, fixed #2844 2020-06-16 14:02:55 +08:00
Benau f6be14d157 Add proper cleaning of thread for news manager 2020-04-11 00:33:29 +08:00
Benau 1e53f67354 Fix no graphics crashing 2020-01-19 10:50:12 +08:00
Benau fe0cb90769 Make sure icon handling of addons is thread safe 2019-12-20 09:55:12 +08:00
Benau dce9bf1e63 Save addons xml when going into background for mobile stk
So the icons don't need to be redownloaded again after it's killed
by OS in the background
2019-12-20 08:59:02 +08:00
Benau 344079deda Remove previous addon directory after uninstall 2019-12-17 07:37:50 +08:00
Benau 5989221305 Improve error logging 2019-12-17 01:32:53 +08:00
Benau c09585eaf7 Remove old addon folder before install new addon 2019-12-10 09:44:52 +08:00
Benau 32cccb358b Refactor AddonsPack::uninstall to allow remove addon by name later
Also save addons installed xml when necessary
2019-12-09 10:51:47 +08:00
Benau b095438681 Extract addons zip file recursively (for canyon42 in the future) 2019-12-06 22:11:35 +08:00
Benau 4cb3383c4a Remove the unneeded manage memory option in request 2019-12-01 01:19:51 +08:00
Benau 13975cc5db Use std::shared_ptr for Request to avoid leaking 2019-11-30 16:01:31 +08:00
Benau 77d563d082 Print unzip files only when debug printing 2019-11-30 13:54:35 +08:00
Benau 19d008d0f8 Add support for installing addons pack 2019-11-30 00:36:35 +08:00
Benau 5cc5780f28 Add download assets screen for mobile stk 2019-07-24 01:33:12 +08:00
Benau ed011bed4c Allow extract_zip to work recursively 2019-07-21 16:37:11 +08:00
Benau cbf55b6ecf Make all ofstream creation utf8 path aware 2019-06-28 22:54:02 +08:00
Benau 8d1923acfd Remove unneeded translation.hpp in header files 2019-06-15 14:28:35 +08:00
Benau a56343b7e3 Clean up headers
Remove special RTL handling as it will be done when texting shaping
2019-06-15 13:52:28 +08:00
Benau acb9054dcb Use libraqm for text layout 2019-06-09 11:26:00 +08:00
Daniel ButumandAlayan-stk-2 647c4bad6c Fix #3842 by always using https links (#3854) 2019-04-19 19:31:26 +02:00
Daniel Butumandauriamg edd1280dbc Update config to use the new online servers & remove hardcoded certificate (#3703)
* Update config to use the new online servers. Remove hardcoded certificate as we will use Let's encrypt from now on

* Fix new server SSL curl certificate by shipping CA bundle from https://curl.haxx.se/docs/caextract.html

* Remove debug log for curl host

* Move server config to stk_config.xml and Update news.xml redirects
2019-01-19 17:49:11 -05:00
Benau 2b4bd417c9 Catch possible thrown xml creation found by google play console 2018-12-13 01:26:37 +08:00
Benau ac02df76aa Reverse addons date sort order for the arrow 2018-11-13 00:33:51 +08:00
Deve 05572b0084 Disable addons manager for server-only build.
No need to spam with downloading icons for add-ons.
2018-06-09 00:38:10 +02:00
QwertyChouskieandauriamg 58a170b4b7 Update string (#2824)
* Change message

* Update string in another file.

* Update addons_manager.cpp

* Update news_manager.cpp
2017-05-04 19:17:08 -04: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
Benau f4fef6fbf2 Fix #2511 2016-06-05 09:34:30 +08:00
hiker e1ce01b5d2 Removed mostly unnecessary default constructor. 2016-03-21 12:12:01 +11:00
hiker 1969ee0b1f Set a name for each thread in VS. 2015-12-09 08:55:46 +11:00
hiker 8d07d26c25 Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
Flakebi ded59ac81e Fix #1822 - Addons xml file contains wrong xmlns path 2015-03-08 01:04:55 +01:00
Marianne Gagnon e6aea6e0b6 Improve tools and usage of XML encoding, fixes #1982 2015-02-14 18:30:23 -05:00
Timothy Hamlett e473b656d2 Fix some typos 2014-12-07 16:49:17 -06:00
hiker 006a7f95c9 Cherrypicked pull request #1743 (cppcheck performance fixes). 2014-12-01 15:14:27 +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 7c66dd1865 Fix #1516. Also fixed (probably unrelated) bug that first time STK
is started with internet permission, the addon server would not be
accessible. Note: any current configuration will not be read anymore
(if you need it, you can just move the files and directories from
.../supertuxkart into .../supertuxkart/0.8.2  (except addons, whic
stays in .../supertuxkart/addons!!).
2014-09-25 09:05:46 +10:00
hiker ad20635cce Applied patch for #600 (support 64 bit compilation on windows). 2014-09-23 14:41:32 +10:00
hiker 9b0a6d2703 Allow the hw-report-server to be changed using the news.xml file. 2014-09-22 08:26:49 +10:00
hiker 52a7d071dd Fixed some Log:: messages that used incorrect syntax and did not print
some variables. Made all log:: messages use the same components 'addons'.
2014-08-22 16:34:18 +10:00
Daniel Butum c10ca31452 Use new API paths when calling the stk server 2014-08-04 21:55:56 +03:00
hiker dbe722316a If an addon icon can not be shown, delete the image file (which will
trigger a re-download on the next start).
2014-07-28 21:07:39 +10:00
hiker f6fcb9d8da Changed return type of getIconBasename() to be a reference. 2014-07-28 21:07:03 +10:00