218 Commits

Author SHA1 Message Date
unitraxx
856a21a47e start of profiles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-05 02:03:33 +00:00
unitraxx
757d9e3683 Some general dialog improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-04 13:33:14 +00:00
hikerstk
49631c0027 Updated VS 9 project file, and fixed compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 01:22:58 +00:00
auria
27642f332c Apply patch by xenux to filter addons, thanks a lot\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13035 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 00:29:43 +00:00
red-skull
10668e8c68 Final part to fix #854:
don't remove addons.xml and news.xml during re-init of NetworkHttp,
it's not needed anymore to force refreshing them when clicking "reload".


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 01:18:02 +00:00
curaga
ead8c059cb Remove some unused irr_driver includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 13:31:38 +00:00
auria
15cebefa34 Fix reloading addons, ticket #854
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 19:11:44 +00:00
curaga
57c3cbae3e Space cleanup pass on the headers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:47:39 +00:00
curaga
b56bf4dc53 Remove trailing space, git doesn't like it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
hikerstk
47675eac1f Fixed #951 - use Log:: , thanks to alasin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-03 07:07:19 +00:00
hikerstk
0d02f21e04 Fixed #949: Using Log:: in addons_manager. Thanks to alasin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-28 22:14:45 +00:00
hikerstk
a693eb7eb5 Added reverse-sorting of addons (#916). Thanks to ingridmorstrad for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-18 22:44:18 +00:00
hikerstk
ecfdae57f8 Yet another fix for addons :( Now installation of addons might
work as well as deleting them.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 21:52:40 +00:00
hikerstk
b967e5a492 Fixed addons management (deleting), which I broke in r12581: Addons used
their id as directory name (and since the id was changed to have addon_
as prefix, this didn't work anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 21:01:05 +00:00
hikerstk
81d6353d7b Fixed typoes (see #897), thanks to bkerensa for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-26 05:22:25 +00:00
hikerstk
62a65279bb Remove pause between news messages, instead a "+++" is
shown between messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-05 22:11:43 +00:00
hikerstk
57a29ff15c Added popup window to show a news message that has
'important="true"' specified. The message is only
shown once.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-09 05:46:26 +00:00
hikerstk
9a0af72683 Bugfix: when pressing reload, news.xml was reloaded, but not assets.xml
(which is addons.xml). Improved debug output to print full URL of
files that are downloaded.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-17 23:24:33 +00:00
red-skull
2d93303425 Fix for #736: do the timeout a better way so it won't stop a working download.
Also add a dialog to alert the user when downloading an add-on fails.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-03 22:58:57 +00:00
red-skull
5d5d004d3f Bugfix for #682: we now allow to remove addons when no access to the net is available.
Also add a timeout for download request.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-13 19:49:48 +00:00
hikerstk
9f642a41b8 Bugfix, use of (now) undefined network_http variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-20 21:45:59 +00:00
hikerstk
d126d7c76f Properly implemented NetworkHttp using a interface and
a singleton-like pattern.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-20 05:51:19 +00:00
hikerstk
7c454def10 Minor bugfix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-18 06:27:44 +00:00
hikerstk
f63011d003 Added default constructor, which simplifies usage of this object.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-07 01:35:41 +00:00
hikerstk
76f65ec077 Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-23 23:58:36 +00:00
stephenjust
f766785302 Add rating to add-on info dialog.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 22:48:37 +00:00
stephenjust
27a2e6902d Add support for hiding add-ons which are marked as being present in the current version of the game.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 03:40:16 +00:00
stephenjust
e5c33f58ff Fix assert when uninstalling an add-on whose data dir was deleted. (This case used to make the add-on not uninstallable)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-15 01:31:38 +00:00
auria
fa861267a0 Only keep the latest *approved* version of an add-on if user does not have artist debug mode enabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-05 19:44:33 +00:00
hikerstk
ebbc1a71d8 Introduced an 'abstract kart' class, which is used to
de-couple kart implementation and its interface. This
significantly reduces compile time when changing kart.hpp,
but is at this stage still work in progress.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-19 20:21:11 +00:00
hikerstk
351f766ca4 Made KArtProperties member of STKConfig a pointer,
which removes the dependency of kart_properties.hpp
from stk_config.hpp, hopefully reducing the compile
time when kart_properties.hpp is changed. Had to
add many missing includes all over the place as a
result :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-16 05:59:51 +00:00
auria
9f69dad8a3 better error handling
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-15 22:07:05 +00:00
auria
92eb0ebd2a Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
auria
c50e1a6c8b Apply patch that is a bit similar to what xapantu did, but in a IMHO more modular way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 00:48:02 +00:00
auria
2dec4bdb98 More compilation fixes.....
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-08 02:06:21 +00:00
stephenjust
5b805aff07 Use proper freeBSD identifier to generate user-agent (somebody please copy this commit to 0.7.3 branch)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-08 00:37:14 +00:00
hikerstk
3a6d1c16b5 Removed code that's not used anymore after r10103.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-04 05:38:08 +00:00
hikerstk
227bcdd773 When installing addons the karts/tracks are now not all completely
reloaded, only the new addon is loaded. This should also fix a
(minor) memory leak when a kart model is updated (textures and
mesh weren't freed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-04 05:32:31 +00:00
stephenjust
b262a63d24 User-agent should now specify Linux (or FreeBSD - needs testing, but I'm optimistic)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-29 21:49:07 +00:00
auria
9ca73ca5f3 More on Doxygen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:53:07 +00:00
hikerstk
4026172cf6 Fixed another memory leak: stopping STK while icons are still downloading in the
background.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 13:06:40 +00:00
hikerstk
879cbf99b1 Fixed another memory leak if a download request is aborted.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 12:54:27 +00:00
hikerstk
13a036893e Fixed minor memory leak (QUIT request was not freed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:39:52 +00:00
hikerstk
c3003a763f Added leak checking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:38:56 +00:00
hikerstk
941b8aeeba Added a consistency check for addons: if the addons_installed.xml
file is out of synch (due to a bug in 0.7.2 an empty file would be
written if internet is disabled or not working, resulting in
information about installed addons being lost), the installed addons
are now marked as being  installed again (bug #455).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 21:29:10 +00:00
hikerstk
69654d462b Fixed memory leak, simlified code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-07 09:12:31 +00:00
hikerstk
31924c2efb Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-06 22:25:21 +00:00
hikerstk
bba09142e8 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-06 22:23:53 +00:00
hikerstk
888c4a529b Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 01:06:49 +00:00
hikerstk
1767920dba Replaced the request vector with a priority queue from STL
(which means more efficient insert/delete; less code in STK).
Thanks to Auria for mentioning this.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 10:17:06 +00:00