1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01:00

10713 Commits

Author SHA1 Message Date
Dominik Schmidt
0a9811774c Fix scriptcollection showing when resolver isn't enabled 2015-02-06 23:00:19 +01:00
Dominik Schmidt
bf3c5d4952 Properly handle online state for database and scriptcollections 2015-02-06 23:00:19 +01:00
Dominik Schmidt
3b06ff7781 Fix regression: Make view mode selectors for database collections show again 2015-02-06 23:00:19 +01:00
Dominik Schmidt
34fadd0a0b Cleanup 2015-02-06 23:00:19 +01:00
Dominik Schmidt
1cbae9b957 Add album and tracks view to script collections 2015-02-06 23:00:19 +01:00
Dominik Schmidt
8ac87615c9 Support legacy collection api 2015-02-06 23:00:19 +01:00
Dominik Schmidt
893a0df845 Port ScriptInfoPlugins to ScriptPluginFactory 2015-02-06 23:00:19 +01:00
Dominik Schmidt
dfbd7660d0 Don't let the InfoSystem take over ownership of info plugins 2015-02-06 23:00:19 +01:00
Dominik Schmidt
f7f4901bbe Update collection metadata when reregistering it 2015-02-06 23:00:18 +01:00
Dominik Schmidt
40c499303e Fix unregistering plugins from ScriptPluginFactory 2015-02-06 23:00:18 +01:00
Dominik Schmidt
551949a07f Create ScriptPluginFactory template and port ScripCollection 2015-02-06 23:00:18 +01:00
Dominik Schmidt
25ba94f183 Port script collections to new script system 2015-02-06 23:00:18 +01:00
Dominik Schmidt
2455d5f12d Remove old way of registering collections 2015-02-06 23:00:18 +01:00
Dominik Schmidt
df9a835c81 Don't use ScriptCommand queue for Artist, Album and Track scriptcommands 2015-02-06 23:00:18 +01:00
Dominik Schmidt
ea42bd1d18 Use collection icon interface properly 2015-02-06 23:00:18 +01:00
Dominik Schmidt
5de7afd461 Ununfnord 2015-02-06 23:00:18 +01:00
Dominik Schmidt
8d4a6c814e Make it more obvious that a result can come from a resolver or a collection 2015-02-06 23:00:18 +01:00
Dominik Schmidt
5d322c12cb Add ResultProvider baseclass for Collections and Resolvers 2015-02-06 23:00:17 +01:00
Dominik Schmidt
55fa633dad Let collections store their shared ptrs 2015-02-06 23:00:17 +01:00
Dominik Schmidt
ddb2484ad7 Pass around scriptobject_ptr instead of ScriptObject* 2015-02-06 23:00:17 +01:00
Dominik Schmidt
e88f57839a Unfnord 2015-02-06 23:00:17 +01:00
Dominik Schmidt
343767f03c Make function not found message actually useful 2015-02-06 23:00:17 +01:00
Dominik Schmidt
c840dbbf78 Remove script objects automatically from ScriptAccount when they are deleted 2015-02-06 23:00:17 +01:00
Dominik Schmidt
3c1e1ea35c Remove info plugins automatically from InfoSystemWorker when they are deleted 2015-02-06 23:00:17 +01:00
Dominik Schmidt
de3cde4a38 Store scriptObject in a QPointer in ScriptPlugin 2015-02-06 23:00:17 +01:00
Dominik Schmidt
96a601d16f Delete ScriptInfoPlugin if underlying ScriptObject dies 2015-02-06 23:00:17 +01:00
Dominik Schmidt
07838afaa6 Port ScriptInfoPlugin to new generic script plugin infrastructure 2015-02-06 23:00:16 +01:00
Dominik Schmidt
5e5ff7938a Rename JSInfoPlugin to ScriptInfoPlugin 2015-02-06 23:00:16 +01:00
Dominik Schmidt
df4abb1ef1 Allow plugins to enforce reloading of the resolver, to invalidate old results 2015-02-06 23:00:16 +01:00
Dominik Schmidt
3b2ac21dbf Remove script collections before trying to add a new collection. If latter fails no invalid collections are removed 2015-02-06 23:00:16 +01:00
Dominik Schmidt
7d114ea0f3 Reset config widget data on Cancel 2015-02-06 23:00:16 +01:00
Dominik Schmidt
fffe3cbf1f Allow saving of invalid config on second try 2015-02-06 23:00:16 +01:00
Dominik Schmidt
e2fd7e5681 Move config data handling into AccountConfigWidget 2015-02-06 23:00:16 +01:00
Dominik Schmidt
d5c5eb1e44 Show inline error instead of error popup 2015-02-06 23:00:16 +01:00
Dominik Schmidt
132c7d4cd2 Add configTest to ResolverAccounts 2015-02-06 23:00:16 +01:00
Dominik Schmidt
7550d23431 Pass empty QVariantMap as default arguments to ScriptObject::invoke 2015-02-06 23:00:16 +01:00
Dominik Schmidt
e2593eddc7 Register the resolver as scriptObject 2015-02-06 23:00:15 +01:00
Dominik Schmidt
1c0deb7115 Pass account to DelegateConfigWrapper 2015-02-06 23:00:15 +01:00
Dominik Schmidt
fbc547f882 Add JS debug spam, to be removed later 2015-02-06 23:00:15 +01:00
Dominik Schmidt
fa832e3a36 Move ScriptPlugin initialization to own factory method 2015-02-06 23:00:15 +01:00
Dominik Schmidt
2890190c82 Remove LinkGeneratorPlugins from LinkGenerator on destruction 2015-02-06 23:00:15 +01:00
Dominik Schmidt
f751aa501c Use ScriptPlugin base class in ScriptLinkGeneratorPlugin 2015-02-06 23:00:15 +01:00
Dominik Schmidt
6a239e24d1 Add ScriptPlugin class 2015-02-06 23:00:15 +01:00
Dominik Schmidt
7adac470da Rename ScriptPlugin to ScriptAccount and JSPlugin to JSAccount 2015-02-06 23:00:15 +01:00
Dominik Schmidt
b59c272819 Set collection on (non-collection) search/resolve results if collectionId is set in script response 2015-02-06 23:00:15 +01:00
Dominik Schmidt
62731c7907 tbr: Add id to ScriptCollection 2015-02-06 23:00:14 +01:00
Dominik Schmidt
7e9cb98154 Link script collection results to their collection 2015-02-06 23:00:14 +01:00
Dominik Schmidt
f0e1248e3d Use LinkGenerator in AdiumPlugin too 2015-02-06 23:00:14 +01:00
Dominik Schmidt
dbd047b42a Move more JSPlugin implementations to their own file 2015-02-06 23:00:14 +01:00
Dominik Schmidt
b2c3ab8532 Use integers as object ids 2015-02-06 23:00:14 +01:00