1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-06 20:20:41 +02:00

Compare commits

...

3750 Commits

Author SHA1 Message Date
Leo Franchi
ce76c86171 Changelog for spotify config dialog 2012-07-25 09:39:01 -04:00
Leo Franchi
64d9a0f5d2 Keep config UI in sync with resolver 2012-07-25 09:38:22 -04:00
Leo Franchi
aa0f99bcce Some more fixes 2012-07-25 09:38:22 -04:00
Leo Franchi
5be032f39c New spotify config 2012-07-25 09:38:22 -04:00
Christian Muehlhaeuser
272add3c3b * Bumped to 0.5.5 and fixed ChangeLog width. 2012-07-25 14:37:42 +02:00
Leo Franchi
39e7314acf Changelog for 0.5.5 2012-07-25 08:34:06 -04:00
Dominik Schmidt
90e238a352 Rename FindLibEchonest to FindEchonest, make it version aware and overall more state of the art :P 2012-07-25 08:28:44 -04:00
Dominik Schmidt
20b62bfba3 xmpp: check for error presences in AvatarManager 2012-07-25 08:28:36 -04:00
Leo Franchi
6fa2ad19ee Fix osx compile 2012-07-25 08:27:34 -04:00
Leo Franchi
60f2e85965 Implement non-osx side of new search field For Compile Win 2012-07-25 08:27:26 -04:00
Leo Franchi
cbd9d4e0ce Update Qocoa QSearchField to latest, with hatstand's fix.
Now shortcuts work in the QSearchField, like c&p and select all
2012-07-25 08:27:21 -04:00
Leo Franchi
22a1f167b0 Bump libechonest required version to 2.0.0 2012-07-25 08:27:14 -04:00
Leo Franchi
44a5406a34 Adapt to new libechonest v2 api 2012-07-25 08:27:08 -04:00
Leo Franchi
611ca21ec6 Remove steering from echonest stations 2012-07-25 08:27:01 -04:00
Christian Muehlhaeuser
64274d6d39 * Added code-signing to OS X build scripts. 2012-07-25 08:26:54 -04:00
Hugo Lindström
34dc6d23ee Send resulthint when we have it 2012-07-25 08:26:34 -04:00
Leo Franchi
70a5050443 Pointer safety 2012-07-25 08:26:09 -04:00
Leo Franchi
2a19f20914 Pointer safety (Oops #20003) 2012-07-25 08:25:42 -04:00
Leo Franchi
33ca71a86a TWK-968: Part Two: Allow drop helper for mixed query/result lists. 2012-07-25 08:17:34 -04:00
Leo Franchi
485447be38 TWK-985: Log into spotify on return pressed in Spotify config 2012-07-25 08:17:25 -04:00
Christian Muehlhaeuser
4f2cbb32c5 * Fixed queue auto-collapsing when playing the last track in it. 2012-07-14 05:52:13 +02:00
Leo Franchi
edc6057354 Also allow multiple infoplugins to return data for artist top tracks 2012-07-14 05:52:07 +02:00
Tomahawk CI
7beab3aea8 Automatic merge of Transifex translations 2012-07-14 05:51:25 +02:00
Leo Franchi
3e3e76b66f Call sendMessage() with a QueuedConnection as it's cross-thread 2012-07-14 05:51:17 +02:00
Leo Franchi
c33d3c2a67 Let AlbumPlaylistInterface accept results from first good infoplugin result 2012-07-14 05:50:48 +02:00
Leo Franchi
56e997a159 Extra pointer safety 2012-07-14 05:50:41 +02:00
Leo Franchi
67d75543e6 TWK-968: Fix PlayableModel/DropJob for mixed mimetype 2012-07-14 05:50:29 +02:00
Christian Muehlhaeuser
e19423e08f * Updated ChangeLog. 2012-07-13 11:03:21 +02:00
Christian Muehlhaeuser
e041ce87fc * Bumped to 0.5.4. 2012-07-13 10:00:28 +02:00
Tomahawk CI
6eacdf808e Automatic merge of Transifex translations 2012-07-13 09:58:49 +02:00
Leo Franchi
b6d5c86952 Pointer safety 2012-07-13 09:58:40 +02:00
Leo Franchi
b7fb9a03bf Add spotify infoplugin for album lookups 2012-07-13 09:58:19 +02:00
Christian Muehlhaeuser
37fad49393 * Fixed Windows shutdown. 2012-07-13 09:50:16 +02:00
Christian Muehlhaeuser
fa83fde05e * Try not deleting cache. 2012-07-13 09:26:02 +02:00
Christian Muehlhaeuser
b3b34cacbd * Try not deleting the infoSystem on shutdown. Does it fix Windows crashes? 2012-07-13 08:06:59 +02:00
Christian Muehlhaeuser
d0f697cd4b * Friend class MusicScanner. 2012-07-12 10:47:38 +02:00
Christian Muehlhaeuser
c144a0142f * Fixed forgotten merge. 2012-07-12 10:24:19 +02:00
Christian Muehlhaeuser
318866d37a * Fixed broken merge. 2012-07-12 10:19:40 +02:00
Christian Muehlhaeuser
70e93faa3f * Added verbose shutdown debug output. 2012-07-12 10:17:07 +02:00
Christian Muehlhaeuser
89e21289a6 * Fixed broken merge. 2012-07-12 10:08:52 +02:00
Christian Muehlhaeuser
fe0d2d87fc * Updated ChangeLog. 2012-07-12 10:00:21 +02:00
Christian Muehlhaeuser
8531ca2234 * Fixed broken merge. 2012-07-12 09:52:42 +02:00
Christian Muehlhaeuser
8d5082fe2c * Really fix compiling on Windows. 2012-07-12 09:49:11 +02:00
Christian Muehlhaeuser
7672c7caec * Try to fix compiling on mingw. 2012-07-12 09:48:26 +02:00
Christian Muehlhaeuser
bf2139824d * Cleaned up DiagnosticsDialog. 2012-07-12 09:08:49 +02:00
Christian Muehlhaeuser
eb749b1e44 * Provide convenience openUrl( url ) method in TomahawkUtilsGui, since QDesktopServices fail to work on Windows. 2012-07-12 09:08:00 +02:00
Christian Muehlhaeuser
53226f37c2 * Expose logfile's path in Logger. 2012-07-12 09:07:52 +02:00
Christian Muehlhaeuser
20032a40b2 * Use a RAMDirectory if we can't open the regular lucene index file. 2012-07-12 09:06:58 +02:00
Tomahawk CI
a6d1bbb91e Automatic merge of Transifex translations 2012-07-12 09:06:50 +02:00
Jeff Mitchell
f7240a5d39 Increased pointer safety (oops 19400) 2012-07-12 09:06:39 +02:00
Jeff Mitchell
2142a04fda Increased pointer safety (oops 19336) 2012-07-12 09:05:55 +02:00
Jeff Mitchell
0406b38f1c * Merged 4-is-not-JSON bug to stable. 2012-07-12 09:04:47 +02:00
Tomahawk CI
8e2174baf1 Automatic merge of Transifex translations 2012-07-12 09:02:05 +02:00
Tomahawk CI
7caeaddc21 Automatic merge of Transifex translations 2012-07-12 09:01:57 +02:00
Tomahawk CI
f4a01ec6aa Automatic merge of Transifex translations 2012-07-12 09:01:42 +02:00
Christian Muehlhaeuser
ed81799294 * Merged music scanner fix. 2012-07-12 09:01:24 +02:00
Christian Muehlhaeuser
0283d534f0 * Remove overlays when filter changed. 2012-07-12 08:59:09 +02:00
Christian Muehlhaeuser
4a00ff4d24 * Fixed crash in ContextMenu. 2012-07-12 08:58:55 +02:00
Tomahawk CI
b98c535247 Automatic merge of Transifex translations 2012-07-12 08:58:38 +02:00
Christian Muehlhaeuser
fbcffed27b * Fixed FadingPixmap isn't initialized with m_isDefault being true. 2012-07-12 08:58:16 +02:00
Christian Muehlhaeuser
e521150d33 * Hooking up to resultsChanged() is enough in PlayableItem. 2012-07-12 08:58:16 +02:00
Christian Muehlhaeuser
2a0aa602b6 * Refetch cover when underlying metadata changed in PixmapDelegateFader. 2012-07-12 08:58:16 +02:00
Christian Muehlhaeuser
cf37aae430 * Emit resultsChanged() after adding / removing results in a Query. 2012-07-12 08:57:46 +02:00
Christian Muehlhaeuser
292f395c47 * Bumped to 0.5.3. 2012-07-06 01:59:42 +02:00
Christian Muehlhaeuser
047f3cc2d4 * Updated ChangeLog. 2012-07-06 01:59:26 +02:00
Tomahawk CI
97681ace31 Automatic merge of Transifex translations 2012-07-06 01:50:04 +02:00
Tomahawk CI
6be5257bc0 Automatic merge of Transifex translations 2012-07-06 01:49:58 +02:00
Tomahawk CI
8cfbe1f38b Automatic merge of Transifex translations 2012-07-06 01:49:48 +02:00
Christian Muehlhaeuser
8db8e42ec4 * Filter tree-model based on query, not result. 2012-07-06 01:47:19 +02:00
Christian Muehlhaeuser
9492055fc6 * Should fix crash when filtering collection. 2012-07-06 01:47:04 +02:00
Christian Muehlhaeuser
3dc624858b * Prevent crash in ViewHeader. 2012-07-06 01:45:55 +02:00
Christian Muehlhaeuser
f154c2bbcd * Correctly unset pause / spinner on GridView when a new track is loading. 2012-07-06 01:45:44 +02:00
Christian Muehlhaeuser
e9127ae3ec * Fixed Last.fm history importing. 2012-07-06 01:45:27 +02:00
Leo Franchi
c7d9d8e5b7 Seed pipeline job item with query immediately 2012-07-06 01:45:17 +02:00
Christian Muehlhaeuser
e525291213 * Don't load social actions twice. 2012-07-06 01:44:55 +02:00
Tomahawk CI
44269ee8f6 Automatic merge of Transifex translations 2012-07-06 01:44:47 +02:00
Christian Muehlhaeuser
53c4a2d675 * Add a vertical spacer item to the DiagnosticsDialog, so contents don't move around. 2012-07-06 01:44:40 +02:00
Christian Muehlhaeuser
ebfc53e009 * Emit coverChanged() even when we couldn't get a cover, so the views update / trigger new requests. 2012-07-06 01:44:28 +02:00
Tomahawk CI
190845a86e Automatic merge of Transifex translations 2012-07-06 01:44:06 +02:00
Leo Franchi
25af4f4275 Don't confuse QFileInfo 2012-07-05 16:49:48 -04:00
Jeff Mitchell
bca64a70ed along to you -> along with you 2012-07-05 14:49:28 -04:00
Jeff Mitchell
10462ee257 Having this replace in there actually breaks notification for me.
I'm guessing that this is notification-system dependent; however, we
can't show & to people not using HTML-based notification renderers.

The fix needs to lie with the notification renderer vendor.
2012-07-05 13:40:21 -04:00
Christian Muehlhaeuser
ba4532593b * Bumped to 0.5.2. 2012-07-01 22:39:40 +02:00
Christian Muehlhaeuser
c84fd28dd2 * Update ChangeLog. 2012-07-01 22:37:07 +02:00
Christian Muehlhaeuser
dbbb491a81 * Indicate invalid PlaylistEntries. 2012-07-01 22:33:53 +02:00
Christian Muehlhaeuser
bab5e27673 * Fixed crashes in DbCmd_SetPlaylistRevision. 2012-07-01 22:33:53 +02:00
Christian Muehlhaeuser
17f71bd366 * Don't ever accept invalid results coming from resolvers. 2012-07-01 22:33:53 +02:00
Christian Muehlhaeuser
e96bbc11e1 * Fixed cover loading in error case. 2012-07-01 08:57:34 +02:00
Christian Muehlhaeuser
d492ba0317 * spotify -> Spotify. 2012-07-01 06:48:22 +02:00
Leo Franchi
b6466a6027 Changelogify 2012-07-01 00:43:58 -04:00
Christian Muehlhaeuser
6b5d391cde * Remove debug output again. 2012-07-01 05:45:28 +02:00
Christian Muehlhaeuser
0680dec5df * Set m_coverLoaded to true even when we couldn't find any image. 2012-07-01 05:45:28 +02:00
Christian Muehlhaeuser
a4e8f4216c * Removed rc0. 2012-07-01 05:13:29 +02:00
Christian Muehlhaeuser
355c95e068 * Set m_coverLoaded to true before emitting the coverChanged signal. 2012-07-01 02:51:46 +02:00
Christian Muehlhaeuser
da07361ec0 * Bumped to 0.5.1. 2012-07-01 02:29:57 +02:00
Christian Muehlhaeuser
aafe8797ad * Don't crash when removing page in history. 2012-07-01 02:23:31 +02:00
Tomahawk CI
95343ca024 Automatic merge of Transifex translations 2012-07-01 00:21:51 +02:00
Leo Franchi
f85bcc1c64 No more libspotify in bundle 2012-07-01 00:21:15 +02:00
Christian Muehlhaeuser
e53e51aefc * Add 'Copy Artist/Album Link' context menu items. 2012-07-01 00:21:08 +02:00
Christian Muehlhaeuser
d22b33bc50 * Be prepared for empty query_ptrs being returned from Query::get(). 2012-07-01 00:20:59 +02:00
Christian Muehlhaeuser
c36414bb4c * Return empty query_ptr when query data is invalid. 2012-07-01 00:20:51 +02:00
Christian Muehlhaeuser
a78349f9f1 * Use 'large' album covers from Last.fm. 2012-07-01 00:20:43 +02:00
Stefan Derkits
fa41b96260 Ubuntu 11.10 needs explicit pthread, reenable finding & linking them 2012-07-01 00:17:55 +02:00
Tomahawk CI
7f2bf85663 Automatic merge of Transifex translations 2012-07-01 00:17:47 +02:00
Leo Franchi
85fe824df3 Also remove saved resolver path when uninstalling 2012-07-01 00:17:36 +02:00
Leo Franchi
c37bbb4deb Use headerpad_max_install_names on OS X builds 2012-07-01 00:17:23 +02:00
Leo Franchi
1a9bf84ab4 Don't copy to bundle any longer when installing binary resolvers on osx 2012-07-01 00:17:17 +02:00
Leo Franchi
a283ea1ed0 Do our own attica download fetching since we send the tomahawk version as well 2012-07-01 00:17:10 +02:00
Christian Muehlhaeuser
d27dd0785a * Use new Querylabel API. 2012-07-01 00:17:02 +02:00
Christian Muehlhaeuser
5e1f808d28 * Support setting Artist / Album on a QueryLabel directly. We need a proper 'CleverLabel' so badly. 2012-07-01 00:16:55 +02:00
Christian Muehlhaeuser
aba78c7a24 * Removed obsolete code. 2012-07-01 00:16:43 +02:00
Christian Muehlhaeuser
f45e92a24d * No more dragsource.type. 2012-07-01 00:16:27 +02:00
Christian Muehlhaeuser
5ae04043d4 * Properly drag Artists / Albums from QueryLabel. 2012-07-01 00:16:11 +02:00
Christian Muehlhaeuser
5f521a6cf5 * Use new PlayableModel API throughout app. 2012-07-01 00:15:53 +02:00
Christian Muehlhaeuser
a4b30dcecd * Adjust inheriting models to new PlayableModel API. 2012-07-01 00:15:44 +02:00
Christian Muehlhaeuser
700394a054 * Resolved a bunch more hidden overloaded virtual methods in PlayableModel. 2012-07-01 00:15:35 +02:00
Christian Muehlhaeuser
819ee17b74 * Use new PlayableModel API throughout app. 2012-07-01 00:15:11 +02:00
Christian Muehlhaeuser
79c55f1699 * Adjust inheriting models to new PlayableModel API. 2012-07-01 00:15:04 +02:00
Christian Muehlhaeuser
f42696de23 * Resolved a bunch of hidden overloaded virtual methods in PlayableModel. 2012-07-01 00:14:52 +02:00
Christian Muehlhaeuser
adfaf5ce53 * Fixed text-width calculation after my latest patch. 2012-07-01 00:13:08 +02:00
Christian Muehlhaeuser
32aca98a97 * Fix english translation plurals. 2012-07-01 00:12:59 +02:00
Tomahawk CI
294809debb Automatic merge of Transifex translations 2012-07-01 00:12:45 +02:00
Christian Muehlhaeuser
e4593079f3 * Proper fix for QueryLabel's context menu. 2012-07-01 00:11:40 +02:00
Christian Muehlhaeuser
cfa4210854 * Show correct context menus for album / artist QueryLabels. 2012-07-01 00:10:42 +02:00
Tomahawk CI
91084885fb Automatic merge of Transifex translations 2012-07-01 00:10:30 +02:00
Tomahawk CI
0b7f420bef Automatic merge of Transifex translations 2012-07-01 00:10:21 +02:00
Jeff Mitchell
046237f009 Fix compilation 2012-06-30 17:07:01 -04:00
Jeff Mitchell
85d9755a47 Merge pull request #103 from nowrep/master
FdoNotifyPlugin: Fixed showing notifications with & character
2012-06-30 17:01:35 -04:00
Jeff Mitchell
98bd7b1857 Fix another crash related to debug accessing null pointers 2012-06-29 10:06:37 -04:00
Jeff Mitchell
37510fc2d7 OK, really fix crash. Promise. 2012-06-29 10:05:08 -04:00
Jeff Mitchell
a91ad7dd5f Actually fix crash 2012-06-29 10:02:21 -04:00
Jeff Mitchell
2cc85c8f4f Fix accessing playlist that could be invalid inside debug 2012-06-29 10:00:07 -04:00
Christian Muehlhaeuser
19625fffd4 * Only return online results via web API. 2012-06-27 07:39:51 +02:00
Christian Muehlhaeuser
a98cab55b7 * Properly sort artists & albums in search widget. 2012-06-27 05:37:15 +02:00
Christian Muehlhaeuser
ec7b98e589 * Moved levenshtein method to TomahawkUtils. 2012-06-27 05:37:15 +02:00
Christian Muehlhaeuser
1262dcb60a * Retry on this sql error, too. 2012-06-27 05:37:15 +02:00
Christian Muehlhaeuser
fc9c6e6017 * Use new spinner integration API. 2012-06-27 05:37:15 +02:00
Christian Muehlhaeuser
fa4463dc88 * No need to check all results for playability. Their sorted by that, so we just check the first one. 2012-06-27 05:37:15 +02:00
Christian Muehlhaeuser
3fb403c695 * Allow to sort by composer and origin. 2012-06-27 05:37:15 +02:00
Christian Muehlhaeuser
fdb1d1b621 * Expose composer's sortname in Query's API. 2012-06-27 05:37:15 +02:00
Leo Franchi
127da50144 Forcibly kill spotify resolver before starting out own in case it's an old one 2012-06-27 01:02:53 +02:00
Leo Franchi
5640923d51 Don't assert on quit anymore, served its debug purpose 2012-06-27 01:02:53 +02:00
Leo Franchi
4a2ef91638 Looks like paths with spaces need to be esaped everywhere with QProcess... 2012-06-27 01:02:53 +02:00
Christian Muehlhaeuser
012556ca0a * Resolve dupe accelerator assignment. 2012-06-27 01:01:20 +02:00
Christian Muehlhaeuser
8d0a51cc64 * Updated ChangeLog. 2012-06-27 00:12:59 +02:00
Leo Franchi
253120a35c We no longer remove accounts when uninstalling from attica 2012-06-27 00:12:59 +02:00
Leo Franchi
671bd5361b Always re-install spotify resolver if path is no longer valid 2012-06-27 00:12:59 +02:00
Leo Franchi
3dc969a31f Style fix 2012-06-27 00:12:59 +02:00
Christian Muehlhaeuser
64a70f5073 * Don't accept empty queries from web API. 2012-06-27 00:12:59 +02:00
Christian Muehlhaeuser
1911d4b8a0 * Assert when trying to setup a query without artist or track. 2012-06-27 00:12:59 +02:00
Christian Muehlhaeuser
92229ce3e2 * Call wipeIndex via a single-shot timer to avoid dead-locks. 2012-06-27 00:12:59 +02:00
Christian Muehlhaeuser
7df3f867ea * Re-bind values for failed TomahawkSqlQueries. 2012-06-27 00:12:59 +02:00
Jeff Mitchell
6e66c4a192 Revert "See if this fixes lfranchi's assert"
This reverts commit e6af7b03d7.

Conflicts:

	src/libtomahawk/database/DatabaseImpl.cpp
2012-06-27 00:12:58 +02:00
Christian Muehlhaeuser
49fe0f945e * Elide temporary page's text when showing the delete button. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
0d915513b9 * Spit out error messages when we couldn't resolve a track, album or artist. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
6c69edd0e7 * Remove spinner when AudioEngine stopped. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
23c2c77869 * Style cleanup. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
cd7c64ac0a * Set m_finished when tracks are loaded in Artist- & AlbumPlaylistInterface. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
0637ee7338 * Added a isFinished and m_finished to PlaylistInterface. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
7765aa116b * Auto re-prepare query on weird 'no query' error. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
c46ed53930 * Don't scale now playing icon decoration when expanding a playlist item. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
22105d448a * Don't expand LovedTracksItem. 2012-06-26 05:57:25 +02:00
Christian Muehlhaeuser
4f4efdfbab * Use new RecentlyPlayedModel API. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
686730e27c * Use new Recently- Played/Added -Model's API. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
fdfe4d12d4 * Split up CTOR and setSource methods. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
669e7550f2 * Split up CTOR and setSource methods. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
d4a2294963 * Show loading spinner when loading charts. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
66b0ecc846 * Show a loading spinner when loading a collection. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
c3563a2449 * Remove comments. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
05efe29a67 * Don't show an info button for empty items. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
3480690479 * Automatically adjust crash-reporter's window size. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
a1fb66e024 * Don't reset current viewpage when the new page is the same as the current one. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
02e9f99ce4 * Make sure script-resolvers are executable before trying to execute them. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
95c74fe370 * Re-center play/pause buttons when resizing GridView. 2012-06-26 05:55:22 +02:00
Christian Muehlhaeuser
358226bdb1 * No need to manuall set fake query's results. 2012-06-26 05:52:54 +02:00
Christian Muehlhaeuser
a2d81d0099 * Respond to pings from external resolver. 2012-06-26 05:52:54 +02:00
Christian Muehlhaeuser
292e97fcee * Don't show resolver errors when built with RelWithDebInfo. 2012-06-26 05:52:53 +02:00
Christian Muehlhaeuser
6dafcf3c80 * Temporary fix for compiling madness. 2012-06-26 05:52:53 +02:00
Tomahawk CI
ee1b13aee6 Automatic merge of Transifex translations 2012-06-26 05:52:53 +02:00
Christian Muehlhaeuser
ce8eecd40f * Fixed compiling on Windows. I hope. 2012-06-26 05:52:53 +02:00
Christian Muehlhaeuser
f674b3b751 * Style cleanup. 2012-06-26 05:52:53 +02:00
Jeff Mitchell
44cd64a8b6 Add ChangeLog entries 2012-06-26 05:52:53 +02:00
Christian Muehlhaeuser
a9418fc8aa * Fixed OSX linking. 2012-06-26 05:50:57 +02:00
Christian Muehlhaeuser
44546763b9 * Fixed Windows includes. 2012-06-26 05:50:57 +02:00
Christian Muehlhaeuser
66a74ad6e2 * Fixed compiling on OSX. 2012-06-26 05:50:57 +02:00
Christian Muehlhaeuser
6aae2dd96f * Updated breakpad to latest version. 2012-06-26 05:50:56 +02:00
Christian Muehlhaeuser
ffd2cee2ff * Mutex protect logging. 2012-06-26 05:50:56 +02:00
Christian Muehlhaeuser
438f8444c3 * Init Database earlier. 2012-06-26 05:50:56 +02:00
Christian Muehlhaeuser
b55be311b4 * While not a bug, this shutdown check would have never been triggered. 2012-06-26 05:50:56 +02:00
Tomahawk CI
7a4d113af6 Automatic merge of Transifex translations 2012-06-26 05:50:56 +02:00
Jeff Mitchell
ba24e57896 Remove some spammy debug 2012-06-22 19:56:03 -04:00
Tomahawk CI
bf3cbb4fbe Automatic merge of Transifex translations 2012-06-22 22:16:46 +00:00
Jeff Mitchell
e3cb3a1c10 Fix problem with identifying same account with Twitter 2012-06-22 18:05:14 -04:00
Jeff Mitchell
e2cc678daa Add debugging for alastair 2012-06-22 16:46:44 -04:00
Jeff Mitchell
966445a465 Properly check for a peer is on one of our subnets 2012-06-22 16:24:19 -04:00
Jeff Mitchell
607042b865 Port whitelist acl check over from Servent to Connection 2012-06-22 15:07:07 -04:00
Jeff Mitchell
5d9685ba5c Don't prompt for auth for your own accounts. 2012-06-22 12:22:50 -04:00
Leo Franchi
bfd7433647 Use Proxima Nova Bold 2012-06-22 10:39:45 -04:00
Leo Franchi
19ced2239c Use new icons for windows installer 2012-06-22 10:26:12 -04:00
Leo Franchi
f35ca66fb7 Try not setting PWD on QProcess on windows 2012-06-22 10:28:54 -03:00
Christian Muehlhaeuser
9c8807302b * Remove wonky assert. 2012-06-22 12:53:09 +02:00
Christian Muehlhaeuser
54e7fbdd5d * Drop the rc0. We're gold. 2012-06-22 04:59:44 +02:00
Leo Franchi
c9bbd96fa6 Make sure to start the resolver after installing it 2012-06-21 22:25:42 -04:00
Leo Franchi
f299d0b923 Delete widget after it's removed 2012-06-21 21:39:01 -04:00
Christian Muehlhaeuser
2c91365cbb * Dont exec the app when loading as a secondary instance. 2012-06-22 03:35:02 +02:00
Christian Muehlhaeuser
f91d9f30ce * Prevent source-retrieval from accidentally creating new sources. 2012-06-22 03:04:43 +02:00
Christian Muehlhaeuser
a7c3cce720 * Removed obsolete code path in DbSyncConnection. 2012-06-22 02:56:57 +02:00
Christian Muehlhaeuser
82794ed207 * This might prevent dupe db-ops. 2012-06-22 02:44:08 +02:00
Christian Muehlhaeuser
6572f9820a * Stop logging every query. 2012-06-22 02:44:08 +02:00
Jeff Mitchell
707a8cb280 Add more specialized SQL debugging 2012-06-21 18:35:43 -04:00
Tomahawk CI
23d87d9824 Automatic merge of Transifex translations 2012-06-21 22:17:35 +00:00
Jeff Mitchell
53f4569d11 Add some asserts to guarantee no access to Database before it's ready 2012-06-21 18:12:23 -04:00
Jeff Mitchell
45b10435df Add further query debugging 2012-06-21 17:59:51 -04:00
Jeff Mitchell
6ce38cb986 Sorry, fix encoding n such 2012-06-21 17:45:23 -04:00
Jeff Mitchell
e6af7b03d7 See if this fixes lfranchi's assert 2012-06-21 17:39:31 -04:00
Leo Franchi
f8ea0667d4 Only show spotify wrench if resolver is running 2012-06-21 16:35:46 -04:00
Jeff Mitchell
2c6f26e36b Set no parent on Impls and explicitly delete them. Tested fine here. 2012-06-21 16:15:52 -04:00
Jeff Mitchell
e3783b58e4 Revert "Remove one of the parenting warnings."
This reverts commit a1146fbe53.
2012-06-21 16:13:24 -04:00
Jeff Mitchell
a1146fbe53 Remove one of the parenting warnings. 2012-06-21 15:59:54 -04:00
Christian Muehlhaeuser
6cfc4eeb51 * Updated ChangeLog. 2012-06-21 21:38:07 +02:00
Christian Muehlhaeuser
b61ee3ff1a * Disable lyrics for 0.5. Sigh. 2012-06-21 21:36:36 +02:00
Jason Herskowitz
68f2802214 Shrink images that somehow got too big... I blame someone else 2012-06-21 15:29:19 -04:00
Jeff Mitchell
51b70e1e6e Fix another invalid png file 2012-06-21 15:23:57 -04:00
Jeff Mitchell
1a67ca0e7e Fix warning-causing png file 2012-06-21 15:23:57 -04:00
Christian Muehlhaeuser
8148a18b32 * Show a loading spinner for top hits. 2012-06-21 21:23:11 +02:00
Christian Muehlhaeuser
0dc1d6664a * Show loading spinner and emptiness tooltip on track page. 2012-06-21 21:12:23 +02:00
Jeff Mitchell
408bc713d7 Revert "Remove unused mutates parameters, since we base our work on what the command claims"
This reverts commit 6b6ccee575.
2012-06-21 14:45:51 -04:00
Jeff Mitchell
6b6ccee575 Remove unused mutates parameters, since we base our work on what the command claims 2012-06-21 14:43:02 -04:00
Christian Muehlhaeuser
199dd1afc7 * Mutex protect any m_db access within DatabaseImpl. 2012-06-21 20:26:03 +02:00
Leo Franchi
d659a1f339 Install libspotify to Frameworks/ 2012-06-21 14:51:09 -03:00
Leo Franchi
5cce01d346 Use commands instead of subprocess.check_output 2012-06-21 13:19:42 -04:00
Leo Franchi
b6545f7d5c Copy libspotify to app bundle when creating 2012-06-21 12:47:56 -04:00
Christian Muehlhaeuser
d46889706b * Fixed not properly deleting temporary pages. 2012-06-21 18:25:45 +02:00
Leo Franchi
cccd5db05a Clarify naming 2012-06-21 11:58:56 -04:00
Leo Franchi
b5bc3bca45 Properly initialize binary bool flag on creation 2012-06-21 11:56:50 -04:00
Christian Muehlhaeuser
2acae2fd45 * Whoops. Almost forgot this one: Show artist name on artist page. 2012-06-21 16:54:52 +02:00
Christian Muehlhaeuser
33b8608668 * Bumped to 0.5.0rc0. 2012-06-21 15:03:33 +02:00
Christian Muehlhaeuser
eb9786e08d * Make sure we always access dbimpl's mutex-protected. 2012-06-21 11:24:19 +02:00
Jeff Mitchell
9ad3e053e7 Avoid possible null pointer access 2012-06-20 21:47:10 -04:00
Tomahawk CI
ed58392e04 Automatic merge of Transifex translations 2012-06-20 22:18:31 +00:00
Christian Muehlhaeuser
55537ce5f8 * Use unique db connection names. 2012-06-21 00:05:23 +02:00
Jeff Mitchell
d687bdb54f Remove confusing and obsolete parent parameter 2012-06-20 17:58:26 -04:00
Christian Muehlhaeuser
0c613cbcbe * Use Db's impl() directly to always be in the right thread for sure. 2012-06-20 23:49:34 +02:00
Jeff Mitchell
03c3c3d29a Work around wonkiness in track info view before similar tracks are
loaded
2012-06-20 17:44:36 -04:00
Christian Muehlhaeuser
024392140e * Removed obsolete and problematic pragma call. 2012-06-20 23:39:29 +02:00
Christian Muehlhaeuser
b53a9b6d67 * Keep retrying when error indicates a pragma query. 2012-06-20 23:25:01 +02:00
Jeff Mitchell
5dfe460f9d Fix positioning...moveLeft/Right don't do what you think they do... 2012-06-20 16:19:43 -04:00
Christian Muehlhaeuser
ba897efada * Clean up ChangeLog a bit. 2012-06-20 22:05:47 +02:00
Christian Muehlhaeuser
c2dd22ed40 * Prevent dead-locking. 2012-06-20 22:02:19 +02:00
Jeff Mitchell
6cd80cf047 Enforce minimum distance between allow/deny buttons for ACL request 2012-06-20 15:58:23 -04:00
Jason Herskowitz
859d1cbf7d Add some stuff we forgot in changelog. 2012-06-20 16:43:01 -03:00
Christian Muehlhaeuser
3e0068b83c * Don't duplicate a query's results when dropping a result onto another playlist. 2012-06-20 20:44:35 +02:00
Christian Muehlhaeuser
052759dce5 * Fixed dragging unresolved queries from PlayableModel. 2012-06-20 20:39:32 +02:00
Christian Muehlhaeuser
ae6fda4cc8 * Silly style cleanups. 2012-06-20 19:54:35 +02:00
Christian Muehlhaeuser
056213bc27 * Make Source::addCommand synchronous again, so we can rely on m_lastCmdGuid being set. 2012-06-20 19:34:51 +02:00
Christian Muehlhaeuser
faf6374967 * Tweaked track page some more. 2012-06-20 17:40:33 +02:00
Christian Muehlhaeuser
dce0615a28 * Tweaked artist page some more. 2012-06-20 17:40:32 +02:00
Christian Muehlhaeuser
27ea1ea793 * Prevent duplicate accounts IDs in settings. 2012-06-20 17:40:32 +02:00
Christian Muehlhaeuser
6fd839c237 * Elide source names earlier. 2012-06-20 17:40:32 +02:00
Christian Muehlhaeuser
fba255cc13 * Removed obsolete loadingStarted/Finished methods in ArtistInfoWidget. 2012-06-20 17:40:31 +02:00
Jeff Mitchell
64837d8a0c Save ACL entries when in headless mode, so going non-headless doesn't
ask for them again.
2012-06-20 10:14:06 -04:00
Christian Muehlhaeuser
e0a635b310 * No need to set the auto_vacuum pragma per connection. 2012-06-20 13:36:05 +02:00
Christian Muehlhaeuser
3f0cb9baf6 * Don't use stage.toma.hk for the release. 2012-06-20 13:26:45 +02:00
Christian Muehlhaeuser
11d4c38386 * Bumped liblastfm and libattica deps. 2012-06-20 13:23:45 +02:00
Christian Muehlhaeuser
5f799ea5d5 * Reverted QSQLite import. Should be obsolete now. 2012-06-20 11:10:52 +02:00
Christian Muehlhaeuser
3b87444cd9 * No need to manually clone impls anymore. 2012-06-20 11:04:22 +02:00
Christian Muehlhaeuser
7bb61f1a38 * Make sure we have a separate database impl returned for each thread. 2012-06-20 11:04:06 +02:00
Christian Muehlhaeuser
a7642d12d1 * Fixed copy. 2012-06-20 11:03:18 +02:00
Christian Muehlhaeuser
61d766be11 * Remove obsolete Database::m_indexReady. 2012-06-20 10:50:15 +02:00
Jeff Mitchell
2603a7d28b Remove some warnings 2012-06-19 22:24:20 -04:00
Tomahawk CI
6e46b03f86 Automatic merge of Transifex translations 2012-06-19 22:16:50 +00:00
Jeff Mitchell
269ffb3508 Set crash reporter inactive in headless mode 2012-06-19 16:48:22 -04:00
Jeff Mitchell
c9841985a1 Forgot this line... 2012-06-19 16:10:01 -04:00
Jeff Mitchell
63c64de455 I guess actually fix the headless crash? Not sure why this should be
needed, but it works
2012-06-19 12:21:36 -04:00
Jeff Mitchell
3b40b9b4a9 Don't crash when running with --headless 2012-06-19 11:36:48 -04:00
Jeff Mitchell
f2989dd4d9 Add link to legal page in Help menu. Note: will work properly when stage
is pushed to main, as .html differs
2012-06-18 20:27:55 -04:00
Leo Franchi
8f7a6de801 Only cache last.fm similar artists/tracks if there is data 2012-06-19 01:22:59 +02:00
Leo Franchi
8abc08c5a9 Copy shortened track link from page context menu.
Slipped in in the big IdThreadWorker revert in previous commit
2012-06-19 01:21:22 +02:00
Leo Franchi
8558cdfc8e Revert usage of boost::threads to speed up id loading. Our MinGW boost package is broken.
Revert "Set future on artist/album immediately after creating promise"

This reverts commit 9d9fae75b5.

Revert "Remove duplicate function, and fix copy link from sidebar track page"

This reverts commit 1fe28714cb.

Revert "Catch by const ref and assert to check hypothesis"

This reverts commit a8f0053fc8.

Revert "Reimplement QApplication::notify() to print out something about the exception if we can"

This reverts commit 7b8136a36e.

Revert "Catch boost::unitialized_future if it is thrown"

This reverts commit c1d678e2b1.

Revert "Another boost/thread.hpp include rather than specific boost headers"

This reverts commit ee8d3e6a92.

Revert "One include to (hopefully) rule them all"

This reverts commit 52752cd234.

Revert "Add another boost include"

This reverts commit 7bec03560a.

Revert "Try some more includes"

This reverts commit e56f2f7ee0.

Revert "Remove old code"

This reverts commit 69b56e0836.

Revert "Fix oversight in queue draining"

This reverts commit 8c48af423c.

Revert "Safer locking of id() to prevent deadlocks"

This reverts commit 3f2906d4d1.

Revert "Cleanup fixes"

This reverts commit cd3eeb2951.

Revert "Experimental asynchronous artist and album id loading"

This reverts commit 75eb35397d.

Conflicts:

	src/libtomahawk/CMakeLists.txt
2012-06-19 00:47:23 +02:00
Leo Franchi
1e0a00dbe2 Encode spaces as + and unify encoding logic in GlobalActionManager 2012-06-19 00:47:23 +02:00
Tomahawk CI
0f6b903139 Automatic merge of Transifex translations 2012-06-18 22:16:45 +00:00
Jeff Mitchell
7e2266e001 Changelogify 2012-06-18 17:09:27 -04:00
Jeff Mitchell
df11500305 Bump Attica dep 2012-06-18 17:07:51 -04:00
Jeff Mitchell
2f5e2b231a Merge branch 'master' into atticafixes-waiting-on-attica-release 2012-06-18 16:59:26 -04:00
Jeff Mitchell
ccebc6b9f9 Move proxy factory setup in xmpp client 2012-06-18 16:59:20 -04:00
Jeff Mitchell
bb44c9a2e9 Remove some debug and change around some proxy ordering to make sense when no hostname is passed in 2012-06-18 16:18:44 -04:00
Jeff Mitchell
fda615f0ab Make headless mode use the Stream ACL by default 2012-06-18 11:36:08 -04:00
Jeff Mitchell
da17f467cf Wanted to get this in there before 0.5 goes wild, as doing this in a
cleaner code fashion requires re-authing your peers. Adds a friendyname
to Users, so that when there is more fine-grained ACL management you can
set/show the friendly name along with the known screen names of a user.
2012-06-18 11:11:11 -04:00
Jeff Mitchell
cec2eb738f Merge branch 'thqsqlite' 2012-06-18 04:59:53 -04:00
Jeff Mitchell
46bd366643 Refresh delegates on both add and remove; also, if ACL can't be displayed cause it's the wrong item type, just don't paint anything at all 2012-06-18 04:43:12 -04:00
Jeff Mitchell
4aadb95f5d Refresh delegates on both add and remove; also, if ACL can't be displayed cause it's the wrong item type, just don't paint anything at all 2012-06-18 04:43:00 -04:00
Jeff Mitchell
8a61e89d83 Merge branch 'master' into thqsqlite 2012-06-18 04:22:47 -04:00
Jeff Mitchell
4a8710ce7f Add FindSqlite and use its values 2012-06-18 04:22:41 -04:00
Jeff Mitchell
09882283d1 Remove unneeded files 2012-06-18 04:09:58 -04:00
Jeff Mitchell
7b05ad29e6 Import QSQLite from 4.8.1. Import Clementine's smain.cpp and
CMakeLists.txt (thanks, Clementine!). Do some name changing for sanity's
sake so we're sure of which plugin we're actually connected to.
2012-06-18 04:08:48 -04:00
Jeff Mitchell
b88be39f54 Fix checking result of ACL against name 2012-06-18 03:35:24 -04:00
Jeff Mitchell
0383378385 Fix cases where JID could be reduced to nothing 2012-06-18 03:14:09 -04:00
Jeff Mitchell
3ab01c1b46 Fix typo 2012-06-18 02:24:58 -04:00
Jeff Mitchell
167d71539a Merge branch 'aclwidget'. NOTE: If you have previous [acl] entries in
your Tomahawk.conf from previous testing, be sure to remove them, or
clear them from the button in Settings->Advanced.

Conflicts:
	ChangeLog
2012-06-18 01:56:53 -04:00
Jeff Mitchell
df269ae7a6 Update ChangeLog 2012-06-18 01:42:45 -04:00
Jeff Mitchell
7896d15536 For custom JobItems, the delegate is parented to the view, so don't attempt to delete it in the destructor of the item 2012-06-18 01:29:40 -04:00
Jeff Mitchell
4a1adbfb8a Eep, use name, not nodeid, in the shortening 2012-06-18 01:20:13 -04:00
Jeff Mitchell
a82a8b2abe Add ACL-clearing button to settings 2012-06-18 01:03:34 -04:00
Jeff Mitchell
f1a0de0f53 Start on acl entry clearing; also change where we strip the JID 2012-06-18 00:22:06 -04:00
Jeff Mitchell
8603667270 Knock down acl issue num 3: XMPP shows and auths against full jid with resource, sometimes 2012-06-18 00:08:40 -04:00
Jeff Mitchell
2c28325ae3 Fix item 1) in remaining ACL issues for 0.5...change text of adding-friend prompt to prevent confusion 2012-06-17 23:53:48 -04:00
Jeff Mitchell
4f1579274e Always refresh delegates on item finish, not just when that item had a custom delegate, in case it's switched rows 2012-06-17 23:10:06 -04:00
Jeff Mitchell
259e4f3da9 Fix ACL saving/loading 2012-06-17 22:24:49 -04:00
Jeff Mitchell
554cb5d7a1 Properly handle delegates so that a) we don't crash and b) we actually
show the proper delegates for items when there are more than two in the
queue. This pretty much makes the job view stuff fully work, except
somehow saving got broken.
2012-06-17 18:56:07 -04:00
Leo Franchi
9d9fae75b5 Set future on artist/album immediately after creating promise 2012-06-17 22:34:31 +02:00
Leo Franchi
1fe28714cb Remove duplicate function, and fix copy link from sidebar track page 2012-06-17 16:51:56 +02:00
Leo Franchi
a8f0053fc8 Catch by const ref and assert to check hypothesis 2012-06-17 15:30:27 +02:00
Leo Franchi
7b8136a36e Reimplement QApplication::notify() to print out something about the exception if we can 2012-06-17 15:29:47 +02:00
Leo Franchi
c1d678e2b1 Catch boost::unitialized_future if it is thrown 2012-06-17 13:38:21 +02:00
Leo Franchi
ee8d3e6a92 Another boost/thread.hpp include rather than specific boost headers 2012-06-17 10:01:46 +02:00
Leo Franchi
52752cd234 One include to (hopefully) rule them all 2012-06-17 09:52:49 +02:00
Leo Franchi
7bec03560a Add another boost include 2012-06-17 09:49:03 +02:00
Leo Franchi
e56f2f7ee0 Try some more includes 2012-06-17 09:44:11 +02:00
Leo Franchi
69b56e0836 Remove old code 2012-06-17 09:01:09 +02:00
Leo Franchi
8c48af423c Fix oversight in queue draining 2012-06-17 09:01:09 +02:00
Leo Franchi
3f2906d4d1 Safer locking of id() to prevent deadlocks 2012-06-17 09:01:08 +02:00
Leo Franchi
cd3eeb2951 Cleanup fixes 2012-06-17 09:01:08 +02:00
Leo Franchi
75eb35397d Experimental asynchronous artist and album id loading 2012-06-17 09:01:08 +02:00
Tomahawk CI
8c6af48358 Automatic merge of Transifex translations 2012-06-16 22:19:44 +00:00
Leo Franchi
acd6e75a10 Factor out some code 2012-06-17 00:09:59 +02:00
Leo Franchi
89ab3344d4 Create copyable artist and album page links 2012-06-17 00:09:03 +02:00
Leo Franchi
b1b9ee46db Handle tomahawk://import/playlist as well as playlist/import as it's more consistent 2012-06-16 21:05:20 +02:00
Leo Franchi
a53ef7370c Also check if a query has a result to determine equality, instead of only brittle string comparison 2012-06-16 16:57:27 +02:00
Leo Franchi
bc6cd4008d TWK-936: Allow loading playlists with new open/playlist tomahawk link 2012-06-16 16:57:02 +02:00
Christian Muehlhaeuser
1d5e199d89 * Set the bgcolors in one central place. 2012-06-16 14:11:07 +02:00
Christian Muehlhaeuser
2290da1648 * Have a different color for the info sidebar on track pages. 2012-06-16 14:04:46 +02:00
Christian Muehlhaeuser
3b885aa730 * Show a styled vertical scrollbar for artist's biographies, if needed. 2012-06-16 12:48:09 +02:00
Christian Muehlhaeuser
c15e4062b2 * Try using QPalette::BrightText to make sure the text is always visible. 2012-06-16 12:31:01 +02:00
Christian Muehlhaeuser
3b5ca53539 * Fixed AudioControls layouts for OSX. 2012-06-16 12:28:20 +02:00
Christian Muehlhaeuser
b2ebd1adcb * Make sure jump icon fits in the space we're painting. 2012-06-16 12:20:56 +02:00
Christian Muehlhaeuser
e103a202eb * Pixel-sizes shouldn't need to be platform-specific. 2012-06-16 12:06:24 +02:00
Christian Muehlhaeuser
63da02bc27 * Updated ChangeLog. 2012-06-16 11:38:55 +02:00
Christian Muehlhaeuser
10858d0a6b * Check hover index to display info buttons in TreeItemDelegate. 2012-06-16 11:25:57 +02:00
Christian Muehlhaeuser
69cec1b28e * Show info buttons for tracks in TreeViews. 2012-06-16 11:25:13 +02:00
Christian Muehlhaeuser
bae8de0ca5 * Use displayQuery for more readable code. 2012-06-16 11:24:49 +02:00
Christian Muehlhaeuser
867761f449 * Fixed Artist-/AlbumPlaylistInterface's overzealous caching. 2012-06-16 10:55:01 +02:00
Christian Muehlhaeuser
5e0748a1f9 * Fixed text-alignment in TreeItemDelegate. 2012-06-16 10:48:10 +02:00
Christian Muehlhaeuser
7b89645718 * User-friendlier (?) status texts. 2012-06-16 10:34:03 +02:00
Christian Muehlhaeuser
d1c41f4ad0 * Hide dupe albums on album page. 2012-06-16 09:02:03 +02:00
Christian Muehlhaeuser
8a3c962779 * Hide dupe albums on artist page. 2012-06-16 09:00:11 +02:00
Christian Muehlhaeuser
5d297808da * Hide dupe album & artists in SearchWidget. 2012-06-16 08:47:26 +02:00
Christian Muehlhaeuser
9b89f36387 * Support filtering out dupe items in PlayableProxyModel. 2012-06-16 08:46:58 +02:00
Christian Muehlhaeuser
fe8149ee8a * Fixed sorting by score. 2012-06-16 08:26:20 +02:00
Christian Muehlhaeuser
e1b0125a46 * Handle non left-aligned QueryLabels (badly). Will have to be rewritten soon. 2012-06-16 08:21:52 +02:00
Christian Muehlhaeuser
44bf61adc0 * Hide album label on track page if no album name is set. 2012-06-16 08:21:21 +02:00
Christian Muehlhaeuser
9849a8ee58 * Fixed SQL escaping. 2012-06-16 07:08:57 +02:00
Christian Muehlhaeuser
89cd75a2ed * Style cleanup. 2012-06-16 07:08:38 +02:00
Christian Muehlhaeuser
eef2c0a89a * Always show a vertical scrollbar on the track page, so we don't have to shift things around once loading finished. 2012-06-16 06:42:18 +02:00
Christian Muehlhaeuser
288f20a8f1 * GridView in auto-resize mode now sets a maximum number of visible items, so we never show half-empty rows. 2012-06-16 06:41:29 +02:00
Christian Muehlhaeuser
5ff36d670f * PlayableProxyModel now supports setting a maximum amount of visible items. 2012-06-16 06:40:19 +02:00
Christian Muehlhaeuser
264095d351 * UI fixes for Track page. 2012-06-16 03:03:45 +02:00
Christian Muehlhaeuser
11d1fce78f * Check auto-resizing GridView when items are being added or removed. 2012-06-16 03:03:18 +02:00
Tomahawk CI
45a65e219a Automatic merge of Transifex translations 2012-06-15 22:16:48 +00:00
Jeff Mitchell
10bb33590b Fix crash from loading invalid entries from cache 2012-06-15 15:01:30 -04:00
Jeff Mitchell
285498d638 Fix half-baked fix 2012-06-15 14:35:57 -04:00
Jeff Mitchell
805a942cf6 Fix possible crash due to saving invalid qvariants 2012-06-15 14:32:01 -04:00
Jeff Mitchell
7f2f7d642b Merge branch 'master' into aclwidget
Conflicts:
	src/libtomahawk/utils/TomahawkUtilsGui.cpp
	src/libtomahawk/utils/TomahawkUtilsGui.h
2012-06-15 14:29:46 -04:00
Leo Franchi
6870cc6f88 Revert previously mostly-bad commit, oops. 2012-06-15 18:47:03 +02:00
Leo Franchi
9d5d6b7360 Don't track shared pointers 2012-06-15 16:19:42 +02:00
Leo Franchi
cf4ea429f6 Fix focus issue with native cocoa views by turning off alien widgets 2012-06-15 15:38:59 +02:00
Leo Franchi
e18594994c Show delete playlist dialog as a sheet on OS X 2012-06-15 10:22:53 +02:00
Christian Muehlhaeuser
514841cf1c * Updated README. 2012-06-15 10:28:16 +03:00
Leo Franchi
181bff132f Require libechonest 1.2 as it's been out for ages and has some important fixes 2012-06-15 09:24:01 +02:00
Christian Muehlhaeuser
f20b8db56a * Attica & QuaZip are hard deps by now. 2012-06-15 10:18:53 +03:00
Christian Muehlhaeuser
4189f370a6 Updated README. 2012-06-15 10:11:03 +03:00
Leo Franchi
b2becc6287 TWK-934: Don't crash when checking TreeView for jump-to-track 2012-06-15 08:58:03 +02:00
Tomahawk CI
2f6b08948a Automatic merge of Transifex translations 2012-06-14 22:16:50 +00:00
Christian Muehlhaeuser
7552ef4cce * Disable queue's tooltip for 0.5. Needs some more fixing. 2012-06-14 21:53:58 +02:00
Christian Muehlhaeuser
18bd293074 * Let track page automatically resize. 2012-06-14 21:47:15 +02:00
Christian Muehlhaeuser
87dd871c6c * GridView now supports auto-resizing to fit its contents. 2012-06-14 21:46:17 +02:00
Christian Muehlhaeuser
4fad494630 * Add PlayableModel::itemSize(). 2012-06-14 21:45:29 +02:00
Christian Muehlhaeuser
848721902c * Silly style cleanup. 2012-06-14 21:45:08 +02:00
Christian Muehlhaeuser
7abd653b31 * Style cleanup. 2012-06-14 21:41:17 +02:00
Leo Franchi
c41c7eaa94 Provide base64 encode and decode to js resolvers 2012-06-14 21:21:58 +02:00
Leo Franchi
96d89e230c Uncomment out some migration code :) 2012-06-14 20:57:17 +02:00
Leo Franchi
6d79fc2ab8 Set friendly name for spotify account to prevent the dupe check from deleting it 2012-06-14 20:56:59 +02:00
Leo Franchi
bb57108182 Set account friendly name for spotify account 2012-06-14 20:56:19 +02:00
Jeff Mitchell
5d890582c7 Merge branch 'master' into atticafixes-waiting-on-attica-release 2012-06-14 13:20:34 -04:00
Leo Franchi
26733aa85f Add a Copy Link action and keep Export Playlist for static playlists 2012-06-14 17:09:38 +02:00
Leo Franchi
5b98bc9c75 Style and fix merge 2012-06-14 17:09:13 +02:00
Leo Franchi
c2363e0967 Enable stage playlist exporting
rename
2012-06-14 16:46:07 +02:00
Leo Franchi
a1874a941d Sort new releases by date, show newest release first. 2012-06-14 09:21:00 +02:00
Christian Muehlhaeuser
a512d85672 * Fixed accidental dupe connect. 2012-06-14 08:47:15 +02:00
Christian Muehlhaeuser
6c725e72e7 * Use styleScrollBar method. 2012-06-14 08:44:56 +02:00
Christian Muehlhaeuser
d4dff8809a * Added styleScrollBar method to TomahawkUtils. 2012-06-14 08:44:36 +02:00
Christian Muehlhaeuser
c99df9257c * Added custom scrollbars for testing. 2012-06-14 07:34:43 +02:00
Christian Muehlhaeuser
9bea6b8709 * Added scrollbar border-images. 2012-06-14 07:34:43 +02:00
Christian Muehlhaeuser
e831ba9c46 * Fixed typo in SeekSlider. 2012-06-14 07:34:43 +02:00
Christian Muehlhaeuser
ab5fe146d4 * Swap Albums & Related Artists. 2012-06-14 07:34:43 +02:00
Tomahawk CI
7b1a586a8b Automatic merge of Transifex translations 2012-06-13 22:16:55 +00:00
Christian Muehlhaeuser
9c9dbb33c4 Revert "Swap placement of Albums and Related Artists on new album page and shrink label size a few points"
This reverts commit 2656c4f3f3.
2012-06-13 20:45:17 +02:00
Jason Herskowitz
2656c4f3f3 Swap placement of Albums and Related Artists on new album page and shrink label size a few points 2012-06-13 10:22:06 -04:00
Christian Muehlhaeuser
e3aefb78f7 * Fixed artist page's bg color on OSX. 2012-06-13 09:56:38 +02:00
Christian Muehlhaeuser
236fe91646 * Try fixing solid bg color on OSX. 2012-06-13 09:39:03 +02:00
Christian Muehlhaeuser
52dcf924a4 * New track page. Again, still a bit WIP. 2012-06-13 09:17:53 +02:00
Christian Muehlhaeuser
1a52b99d4f * Cleanup ui file. 2012-06-13 09:17:53 +02:00
Leo Franchi
339e9a3869 TWK-579: Always set stretch factor to avoid super wide default widths 2012-06-13 09:16:25 +02:00
Christian Muehlhaeuser
9935aca127 * New artist page. Tweaks, shadows etc. coming. 2012-06-13 08:48:38 +02:00
Christian Muehlhaeuser
0bb74d949f * Fixed NSIS template. 2012-06-13 01:24:20 +02:00
Tomahawk CI
274d85216b Automatic merge of Transifex translations 2012-06-12 22:16:54 +00:00
Leo Franchi
d18439b4ae Revert "Enable Subscribing on SpotifyPlaylists"
Looks fine but holding off until post-0.5.0 is tagged as I would like to test it quite thoroughly :)

This reverts commit 8401befe6b.
2012-06-12 23:26:13 +02:00
Hugo Lindström
8401befe6b Enable Subscribing on SpotifyPlaylists 2012-06-12 23:05:37 +02:00
Christian Muehlhaeuser
14d7b882fa * Don't fade out SocialWidget. 2012-06-12 21:27:00 +02:00
Christian Muehlhaeuser
a00c931192 * Make SocialWidget less transparent. 2012-06-12 21:17:39 +02:00
Christian Muehlhaeuser
bcd7d82654 * Missing breaks. 2012-06-12 19:46:33 +02:00
Leo Franchi
833a9f59d3 Don't crash when moving the mouse after hitting Cancel in the Share widget 2012-06-12 17:29:34 +02:00
Leo Franchi
3456f5d038 Mark liblastfm as required 2012-06-12 17:29:34 +02:00
Jason Herskowitz
e72062b05c Removed LOVING IT from tweet text since you didn't actually love it, and changed SHARE button text to TWEET for now until we get Facebook back in 2012-06-12 10:03:40 -04:00
Leo Franchi
ecc8634209 Only remove from pipeline on destruction if still running 2012-06-12 09:39:39 +02:00
Christian Muehlhaeuser
8cf7f0bb2b * Make sure m_defaultImage is properly init'ed. 2012-06-12 09:31:40 +02:00
Leo Franchi
f2503afd69 Try letting NSString live longer 2012-06-12 09:14:31 +02:00
Christian Muehlhaeuser
b3ebcb59c0 * Only try loading covers once. 2012-06-12 08:58:40 +02:00
Christian Muehlhaeuser
d0a8f2d1b9 * Safer cover loading for Artists & Albums. 2012-06-12 08:41:10 +02:00
Christian Muehlhaeuser
82febe8da3 * Hardcode foreground color for OverlayWidgets. Needs improved color management eventually. 2012-06-12 07:48:04 +02:00
Christian Muehlhaeuser
6a8edd688b * Use jump-label in AudioControls. 2012-06-12 07:45:40 +02:00
Christian Muehlhaeuser
fa4ef44e4a * QueryLabel now supports displaying a jump-label and handles cursor states itself. 2012-06-12 07:45:14 +02:00
Christian Muehlhaeuser
aeeaaadcd2 * Reimplemented ViewManager::pageForInterface. 2012-06-12 07:42:02 +02:00
Christian Muehlhaeuser
4acf96429e * Added jump-link.png to resources. 2012-06-12 07:41:43 +02:00
Christian Muehlhaeuser
35a25c3971 * Don't track history for destroyed widgets. 2012-06-12 05:41:19 +02:00
Christian Muehlhaeuser
f7d3c48b25 * Disable Facebook / Twitter button for 0.5 release. Renamed OK to Share. 2012-06-12 05:27:45 +02:00
Christian Muehlhaeuser
2bb175860b * Prevent more than one SocialWidget showing up at a time. 2012-06-12 05:18:27 +02:00
Christian Muehlhaeuser
caaec5c1c8 * Style cleanup. 2012-06-12 05:12:24 +02:00
Christian Muehlhaeuser
745ccd34ff * Hard-coded posting to Twitter in SocialWidget. 2012-06-12 05:12:08 +02:00
Christian Muehlhaeuser
9c1f200905 * Support posting to all TwitterInfoPlugins. 2012-06-12 05:11:47 +02:00
Christian Muehlhaeuser
13c22e0c72 * Extra safety for AudioEngine. 2012-06-12 04:43:11 +02:00
Christian Muehlhaeuser
9093068504 * Fixed size for share / love buttons. 2012-06-12 04:42:48 +02:00
Christian Muehlhaeuser
a1ef4c252c * Use proper CMake variables for liblastfm. 2012-06-12 01:21:25 +02:00
Christian Muehlhaeuser
6c94e25286 * Fixed FindLibLastFm.cmake. 2012-06-12 01:21:09 +02:00
Christian Muehlhaeuser
5e731953a3 * Fixed FindLibLastFm.cmak comments. 2012-06-12 01:18:07 +02:00
Christian Muehlhaeuser
cc320a99f2 * Check for liblastfm 1.0.0 being available. 2012-06-12 01:12:33 +02:00
Christian Muehlhaeuser
3b7a057dbb * Added infoplugins to DMG. 2012-06-12 00:57:14 +02:00
Tomahawk CI
14ab48ae36 Automatic merge of Transifex translations 2012-06-11 22:56:16 +00:00
Christian Muehlhaeuser
88ea5f7855 * Fixed macdeploy scripts for VLC2 and Qt 4.8.2. 2012-06-12 00:47:37 +02:00
Dominik Schmidt
695feed2b6 Include Qt translations 2012-06-12 02:26:11 +02:00
Christian Muehlhaeuser
eae9194aa8 Merge pull request #99 from eartle/master
Bundle script changes for VLC 2.0.
2012-06-11 15:17:03 -07:00
Christian Muehlhaeuser
a9a86f8043 * Fixed usage of new liblastfm. 2012-06-11 22:15:09 +02:00
Christian Muehlhaeuser
d16c608610 * Fixed CMakeLists.txt. 2012-06-11 22:15:09 +02:00
Christian Muehlhaeuser
4f261b1711 * Removed liblastfm2 from thirdparty/CMakeLists.txt. 2012-06-11 22:15:09 +02:00
Christian Muehlhaeuser
d77c9eb3eb * Removed liblastfm2 from thirdparty/. 2012-06-11 22:15:09 +02:00
Dominik Schmidt
6f9a79404d Really only find liblastfm-1.0.0 include dirs 2012-06-11 22:08:35 +02:00
Dominik Schmidt
22bca7ed12 Update FindLibLastFm for liblastfm-1.0.0 2012-06-11 22:04:50 +02:00
Dominik Schmidt
31f4c4f656 liblastfm pulls in ${QT_LIBRARIES} as dep for libtomahawk, mention all needed components explicitly as well 2012-06-11 20:37:49 +02:00
Leo Franchi
26729f6f87 Extra safety, but wtf 2012-06-11 11:03:40 +02:00
Tomahawk CI
36bbeb9d5a Automatic merge of Transifex translations 2012-06-10 22:16:56 +00:00
Leo Franchi
5a534954cc Explicitly set working dir of script resolvers being launched 2012-06-10 22:53:29 +02:00
Leo Franchi
9218488409 TWK-879: Ensure bredcrumb arrow is the right proportions 2012-06-10 22:02:19 +02:00
Leo Franchi
c114657f81 TWK-911: Fix placement of social widget 2012-06-10 17:57:26 +02:00
Leo Franchi
60f8241305 Draw small text with highlighted color in large delegate if selected 2012-06-10 17:57:26 +02:00
Leo Franchi
4bc703b477 Make grey text visible when highlighted in playlist delegate 2012-06-10 17:57:26 +02:00
Leo Franchi
99d84c6489 Only install from attica when checking, even if we have checked + uninstalled 2012-06-10 17:57:25 +02:00
Tomahawk CI
37d1c88b42 Automatic merge of Transifex translations 2012-06-09 22:16:47 +00:00
Tomahawk CI
bdd809cc30 Automatic merge of Transifex translations 2012-06-08 22:16:50 +00:00
Leo Franchi
2462c27f05 Comment out fromPath release until I work out why it makes Hugo's Tomahawk unhappy 2012-06-08 23:06:54 +03:00
Jason Herskowitz
ee76eb3dee Make the 3D logo the right color red since it somehow got too pale when I first 3Dified it 2012-06-08 15:10:53 -04:00
Christian Muehlhaeuser
f520217f51 * Fixed XspfUpdater for headless. 2012-06-08 20:08:33 +02:00
Christian Muehlhaeuser
c02edee100 * Fixed GlobalActionManager for headless. 2012-06-08 20:08:33 +02:00
Christian Muehlhaeuser
b908854d59 * Fixed Account for headless. 2012-06-08 20:08:32 +02:00
Christian Muehlhaeuser
e9a1157e00 * Fixed DbCmd_UpdateSearchIndex for headless. 2012-06-08 20:08:32 +02:00
Christian Muehlhaeuser
eecf2c38d2 * Fixed ShortenedLinkParser for headless. 2012-06-08 20:08:32 +02:00
Christian Muehlhaeuser
320182427f * Fixed SipPlugin for headless. 2012-06-08 20:08:31 +02:00
Christian Muehlhaeuser
973436a09b * Fixed Source for headless. 2012-06-08 20:08:30 +02:00
Christian Muehlhaeuser
1abe69079f * Fixed Query for headless. 2012-06-08 20:08:30 +02:00
Christian Muehlhaeuser
13945286ac * Fixed ACLRegistry for headless. 2012-06-08 20:08:30 +02:00
Leo Franchi
53dd69e2f3 TWK-736: Tooltip for currently playing song for peers 2012-06-08 16:37:33 +02:00
Leo Franchi
ce19d8c70b Move Last.fm account to libtomahawk 2012-06-08 15:59:23 +02:00
Leo Franchi
c9edf98dd2 Better reasoning in comments 2012-06-08 15:44:36 +02:00
Leo Franchi
7af7a8784f Remove assert as it might happen in valid conditions sometimes 2012-06-08 15:43:06 +02:00
Leo Franchi
e0d6d5ef6b Move spotify account to libtomahawk 2012-06-08 15:32:08 +02:00
Leo Franchi
59ab945f0b Fix stupid regression in sizegrip hiding when fullscreening 2012-06-08 14:19:08 +02:00
Leo Franchi
224b46f5b0 Only wait for shutdown of script resolver if it's running 2012-06-08 09:25:11 +02:00
Leo Franchi
69ed522954 TWK-922: Text fix for Account delegate 2012-06-08 09:25:11 +02:00
Leo Franchi
e36ea3b263 Don't use auto-release pool and manually release created NSString* 2012-06-08 09:25:10 +02:00
Tomahawk CI
658f919104 Automatic merge of Transifex translations 2012-06-07 22:16:55 +00:00
Christian Muehlhaeuser
171f0e314b * Keep retrying on commit transaction locks. 2012-06-07 14:35:49 +02:00
Christian Muehlhaeuser
8d125f128c * Send version string along when requesting providers.xml from server. 2012-06-07 14:12:17 +02:00
Christian Muehlhaeuser
1272973b52 * Make sure Phonon errors show up on console, and not just the log file. 2012-06-07 14:11:18 +02:00
Christian Muehlhaeuser
aadd7fea2b * Prevent race condition when cloning DatabaseImpls. 2012-06-07 13:32:54 +02:00
Christian Muehlhaeuser
2389770d8a * Moved reindexing to FuzzyIndex. 2012-06-07 13:25:33 +02:00
Christian Muehlhaeuser
7dabdc0a68 * Make FuzzyIndex robuster. 2012-06-07 13:25:02 +02:00
Christian Muehlhaeuser
f174afbd56 * Make artist & album names clickable on track page. 2012-06-07 13:07:11 +02:00
Christian Muehlhaeuser
197dda1ff7 * Set default vertical alignment for QueryLabels to be centered. 2012-06-07 13:01:02 +02:00
Christian Muehlhaeuser
145d95166d * Got rid of all direct InfoSystem calls from ArtistInfoWidget. 2012-06-07 12:16:33 +02:00
Christian Muehlhaeuser
5f473a0c5c * Support loading and cache artists' biographies in Artist object directly. 2012-06-07 12:15:38 +02:00
Christian Muehlhaeuser
f5aeeeb9c8 * OverlayWidget uses PlaylistView as an event-filter for Drag-n-Drop events. 2012-06-07 11:24:20 +02:00
Christian Muehlhaeuser
f89f119078 * Notify results about their originating resolver. 2012-06-07 10:43:26 +02:00
Christian Muehlhaeuser
07660c3f81 * Refresh results when the solve status changed. 2012-06-07 10:42:40 +02:00
Christian Muehlhaeuser
530a420fb4 * Tomahawk::Result now keeps track of the originating resolver and maintains a proper online state. 2012-06-07 10:41:26 +02:00
Christian Muehlhaeuser
ff50bcb545 * Fixed slot signature. 2012-06-07 10:37:58 +02:00
Christian Muehlhaeuser
96e12a0f90 * Register Tomahawk::Resolver* as a meta-type. 2012-06-07 10:37:31 +02:00
Christian Muehlhaeuser
18a1ed4c7d * Less work for SourceDelegate now. 2012-06-07 09:37:28 +02:00
Christian Muehlhaeuser
0d85d15002 * Manage source's off-/online state for the local source, too. 2012-06-07 09:35:35 +02:00
Christian Muehlhaeuser
1b743b0e9d * Let local source know when we go off- / online. 2012-06-07 09:16:37 +02:00
Christian Muehlhaeuser
f1226cd7e4 * Show a loading spinner for 'Newest Stations / Playlists'. 2012-06-07 08:57:04 +02:00
Christian Muehlhaeuser
acc4fa8c9a * Emit loadingStarted() / -Finished() signals from RecentPlaylistsModel. 2012-06-07 08:56:08 +02:00
Christian Muehlhaeuser
8ba433afa5 * Ignore incompatible models. 2012-06-07 08:55:34 +02:00
Christian Muehlhaeuser
8c9d209940 * Removed old sql escaping helper in TomahawkUtils. 2012-06-07 08:34:20 +02:00
Christian Muehlhaeuser
077409ae7e * Use TomahawkSqlQuery's new escaping method. 2012-06-07 08:33:56 +02:00
Christian Muehlhaeuser
14ee71e665 * Added a convenient sql escaping method to TomahawkSqlQuery. It uses the sql drivers internal escaping mechanism. 2012-06-07 08:33:08 +02:00
Christian Muehlhaeuser
9443992ff9 * Keep retrying sql queries forever, as long as the returned db error indicates the db is just busy / locked. 2012-06-07 08:20:55 +02:00
Christian Muehlhaeuser
25ef791afc * Style fix, once again. 2012-06-07 08:12:29 +02:00
Christian Muehlhaeuser
1df157976a * We can rely on stateChanged() signal for updating a source's sidebar info now. 2012-06-07 08:12:28 +02:00
Christian Muehlhaeuser
f57c0c5b74 * More consistent stateChanged() behaviour for sources. 2012-06-07 08:12:28 +02:00
Christian Muehlhaeuser
e550ffe2b0 * Immediately clear the a source's current track pointer after playback finished. 2012-06-07 08:12:28 +02:00
Tomahawk CI
94a8aaced7 Automatic merge of Transifex translations 2012-06-06 22:17:01 +00:00
Jason Herskowitz
0fd008ba41 Changelogify. What did I miss? 2012-06-06 14:55:41 -04:00
Christian Muehlhaeuser
8c9deaf4ac * More accurate debug output. 2012-06-06 16:45:33 +02:00
Christian Muehlhaeuser
6d48ffc298 * One pixel more space for WelcomeWidget's figures. 2012-06-06 16:45:03 +02:00
Christian Muehlhaeuser
447536958e * Give sidebar figures a bit more space and use a thicker font. 2012-06-06 16:42:22 +02:00
Christian Muehlhaeuser
43d2bb7716 * Fancy avatars are now scaled ignoring the aspect ratio. This fixed some odd clipping issues. 2012-06-06 16:40:06 +02:00
Christian Muehlhaeuser
06d79cd788 * Enable shared qsqlite caches. 2012-06-06 16:32:43 +02:00
Christian Muehlhaeuser
d481ffbd90 * Use our own (fail-safer) commit transaction method. 2012-06-06 16:26:12 +02:00
Christian Muehlhaeuser
d8c3006cb4 * Added retry blocks for failed (busy) sql queries & commits. 2012-06-06 16:25:44 +02:00
Christian Muehlhaeuser
872d8a3da5 * Added TomahawkUtils::msleep( uint ). Sigh. 2012-06-06 16:24:39 +02:00
Christian Muehlhaeuser
2dc73d04af * Reuse precalculated connection name. 2012-06-06 16:02:49 +02:00
Leo Franchi
28e15122ea Live longer, dict 2012-06-05 23:31:30 +01:00
Tomahawk CI
89c0e71874 Automatic merge of Transifex translations 2012-06-05 22:17:07 +00:00
Leo Franchi
338a39fe5b Attempt to make sizegrip fix work from 10.6 builds 2012-06-05 09:18:33 +01:00
Leo Franchi
c001acffee Don't leak 2012-06-05 09:18:32 +01:00
Leo Franchi
a8ff291a37 Faster pixmap fading 2012-06-05 09:18:32 +01:00
Leo Franchi
8ba4cb66ea Declare method as well 2012-06-05 09:18:31 +01:00
Leo Franchi
0401c4c88c Another os x ui tweak 2012-06-05 09:18:31 +01:00
Jason Herskowitz
ff0d4bcc26 Now make logo appear on auth page again 2012-06-04 16:49:26 -04:00
Jason Herskowitz
a2082bbb44 More fixes on playdar auth page 2012-06-04 16:42:58 -04:00
Jason Herskowitz
722e1c3d57 Update logo for Tomahawklet Auth Page 2012-06-04 16:34:37 -04:00
Christian Muehlhaeuser
fc5fa6d4ea * Don't manually delete the fuzzy index, instead rely on QObject parenting. 2012-06-04 21:07:12 +02:00
Christian Muehlhaeuser
2b3f850259 * Prioritize query for resolving when requesting to play a still unresolved query. 2012-06-03 21:23:36 +02:00
Christian Muehlhaeuser
2fefdf8118 * Move query to the top of the pipeline if a secondary, prioritized resolve requests arrives. 2012-06-03 21:22:56 +02:00
Christian Muehlhaeuser
2425ec34e5 * Use a separate database connection for each db-worker thread. 2012-06-03 15:38:36 +02:00
Tomahawk CI
93a062c07f Automatic merge of Transifex translations 2012-06-01 22:16:42 +00:00
Jason Herskowitz
6fa0f8a140 Crop SVG logo 2012-06-01 13:32:36 -04:00
Christian Muehlhaeuser
f35821b3b5 * Add an alternative OverlayWidget CTOR for regular QWidgets. 2012-06-01 10:40:48 +02:00
Christian Muehlhaeuser
95dd12aaea * Updated ChangeLog. 2012-06-01 10:31:22 +02:00
Christian Muehlhaeuser
c1885fa6d9 * Support AIFF type audio files. 2012-06-01 10:26:22 +02:00
Christian Muehlhaeuser
72c6b009ff * Fixed resetting empty-tooltip in TreeView. 2012-06-01 09:39:22 +02:00
Christian Muehlhaeuser
a3545712ca * Show a empty-tooltip for collection views. 2012-06-01 09:38:54 +02:00
Christian Muehlhaeuser
393d3370d3 * Set empty-tooltips for Artist-,Album- and TrackInfoWidgets. 2012-06-01 09:05:30 +02:00
Christian Muehlhaeuser
707c2a93d0 * Let TreeView manage empty-tooltips, too. 2012-06-01 09:04:21 +02:00
Christian Muehlhaeuser
4efafaede1 * Set empty-tooltips for Loved-, Recent Additions- and Recent Plays views. 2012-06-01 08:46:51 +02:00
Christian Muehlhaeuser
ba82de45b5 * Only append similar tracks when we received some. 2012-06-01 08:46:13 +02:00
Christian Muehlhaeuser
efc8616a17 * onChanged() will be triggered automatically. 2012-06-01 08:45:38 +02:00
Christian Muehlhaeuser
eff7669dd2 * Always emit a playback history list, even if it's empty. 2012-06-01 08:45:20 +02:00
Christian Muehlhaeuser
ba7556b078 * Emit loading signals for CustomPlaylistViews. 2012-06-01 08:45:00 +02:00
Christian Muehlhaeuser
3928a2d084 * Emit startLoading() when we start loading the playback history. 2012-06-01 08:44:37 +02:00
Christian Muehlhaeuser
8ca0cfa917 * Emit finishedLoading() when we start adding tracks to the model. 2012-06-01 08:44:11 +02:00
Christian Muehlhaeuser
494df4e9a0 * Emit finishedLoading() when we start adding tracks to the model. 2012-06-01 08:43:58 +02:00
Christian Muehlhaeuser
11e1a410e8 * Let GridView manage empty-tooltips, too. 2012-06-01 08:43:27 +02:00
Christian Muehlhaeuser
2aa71d130f * Properly set empty tooltip for PlaylistModels/Views. 2012-06-01 08:09:35 +02:00
Christian Muehlhaeuser
43c1c498d6 * Also hook up OverlayWidget with the model's loading signals. 2012-06-01 08:09:07 +02:00
Christian Muehlhaeuser
137fce3445 * Remove debug in PlaylistView. 2012-06-01 07:49:06 +02:00
Christian Muehlhaeuser
5ee92afb36 * Restore the empty-tooltip when filtering is done. 2012-06-01 07:48:50 +02:00
Christian Muehlhaeuser
1da5ea8ae7 * Show / hide the empty-tooltip when sliding. 2012-06-01 07:46:59 +02:00
Christian Muehlhaeuser
83e073fc7c * AnimatedWidget emits a signal when the sliding animation is done. 2012-06-01 07:46:28 +02:00
Christian Muehlhaeuser
6695372639 * Auto resize OverlayWidget to a reasonable size. 2012-06-01 07:45:58 +02:00
Christian Muehlhaeuser
0d63fb97f7 * Set proper defautl empty-tooltips for PlaylistViews. 2012-06-01 07:13:56 +02:00
Christian Muehlhaeuser
27e7186b98 * Set an empty-tooltip for the QueueView. 2012-06-01 07:11:28 +02:00
Christian Muehlhaeuser
218098e1ff * Allow API users to set an empty tooltip for TrackViews. 2012-06-01 07:11:02 +02:00
Christian Muehlhaeuser
0a7b6c9a22 * Make start- / finishLoading public methods of PlayableModel. 2012-06-01 07:10:27 +02:00
Christian Muehlhaeuser
d713dec19d * OverlayWidget needs to update when items get removed, too. 2012-06-01 07:09:44 +02:00
Christian Muehlhaeuser
3a47a5f9c8 * Never show an empty OverlayWidget. 2012-06-01 06:57:13 +02:00
Christian Muehlhaeuser
4634f95b4c * Temporarily work-around QSqliteDriver's race condition issues. 2012-06-01 06:47:02 +02:00
Christian Muehlhaeuser
4a47f6dd22 * No need to manually disable or include OverlayWidget anymore. 2012-06-01 06:41:57 +02:00
Christian Muehlhaeuser
161b860359 * No need to manually disable or include OverlayWidget anymore. 2012-06-01 06:39:24 +02:00
Christian Muehlhaeuser
18183c512f * No need to include OverlayWidget anymore. 2012-06-01 06:37:11 +02:00
Christian Muehlhaeuser
1d1b3ff382 * No need to manually disable OverlayWidget anymore. 2012-06-01 06:35:15 +02:00
Christian Muehlhaeuser
0abc1a4be9 * Renamed ArtistView to TreeView. 2012-06-01 05:58:42 +02:00
Christian Muehlhaeuser
d97b83557b * Got rid of TreeHeader. Handled by ViewHeader now. 2012-06-01 05:46:36 +02:00
Christian Muehlhaeuser
59fb1fefa0 * Got rid of TrackHeader. Handled by ViewHeader now. 2012-06-01 05:44:56 +02:00
Christian Muehlhaeuser
75991dca18 * Renamed AlbumItemDelegate to GridItemDelegate. 2012-06-01 05:29:02 +02:00
Christian Muehlhaeuser
a61f602855 * Renamed AlbumView to GridView. 2012-06-01 05:19:43 +02:00
Christian Muehlhaeuser
6d9b41dc02 * Soon to be used. 2012-06-01 05:18:51 +02:00
Christian Muehlhaeuser
35fd077d01 * Remove CollectionView which is replaced by TrackView. 2012-06-01 04:59:48 +02:00
Christian Muehlhaeuser
bdab8bc1c8 * Need to eventually hookup the link between SourceItem and ViewManager again. 2012-06-01 04:58:56 +02:00
Christian Muehlhaeuser
8c5fbcd7c7 * SourceInfoWidget now uses a bog standard TrackView. 2012-06-01 04:58:20 +02:00
Christian Muehlhaeuser
e197231fe6 * CollectionView is gone. 2012-06-01 04:57:42 +02:00
Christian Muehlhaeuser
872ccc5305 * A Source's latest-additions view is now a TrackView instead of a CollectionView. 2012-06-01 04:47:54 +02:00
Christian Muehlhaeuser
175b413584 * TrackView's default ViewPage implementation is good enough for PlaylistView. 2012-06-01 04:46:48 +02:00
Christian Muehlhaeuser
fad3c6d12a * TrackView now has a default ViewPage implementation and inheritance. 2012-06-01 04:46:02 +02:00
Christian Muehlhaeuser
f5bdc3a30b * Got rid of obsolete CollectionProxyModel*. 2012-06-01 04:23:03 +02:00
Christian Muehlhaeuser
faf8cf1539 * Fixed TWK-839: Creating name-less playlists results in a better default name. 2012-06-01 03:34:57 +02:00
Christian Muehlhaeuser
690c80db60 * DRY: Call main window and let it create a new playlist. 2012-06-01 03:34:17 +02:00
Christian Muehlhaeuser
062e7a5a3e * Cleanup DiagnosticsDialog. Remove update button and fix copying to clipboard. 2012-06-01 03:05:20 +02:00
Ahmed
65710f9d51 Changes to the DiagnosticsDialog that updates when any changes happens 2012-06-01 02:46:53 +02:00
Christian Muehlhaeuser
b62b9c3531 * Style fix for DynamicView. 2012-06-01 02:17:08 +02:00
Christian Muehlhaeuser
497c0f01c2 * Call insert instead of insertInternal so it gets called correctly, in case it's overwritten. 2012-06-01 02:16:56 +02:00
Christian Muehlhaeuser
c3570e8e53 * Added comment to tr(). 2012-06-01 02:01:53 +02:00
Christian Muehlhaeuser
8841fa48bf * QueueModel is now created by the QueueView directly. 2012-06-01 01:58:41 +02:00
Christian Muehlhaeuser
f74e49b99b * Show how many items are currently in the queue. 2012-06-01 01:58:21 +02:00
Christian Muehlhaeuser
bb1800d27f * Remove items from queue when they're played. 2012-06-01 01:57:27 +02:00
Christian Muehlhaeuser
c829752b7e * Switch to a pointing hand cursor when hovering an artist name in AlbumItemDelegate. 2012-06-01 01:05:36 +02:00
Christian Muehlhaeuser
7ab04deb12 * No more AlbumProxyModel. 2012-06-01 00:35:16 +02:00
Christian Muehlhaeuser
d5d969e058 * PlayableModel is set to be loading as default. 2012-06-01 00:34:48 +02:00
Christian Muehlhaeuser
3467a9e47d * Don't hook up TreeModel to InfoSystem anymore. 2012-06-01 00:34:24 +02:00
Christian Muehlhaeuser
77b4e62918 * OverlayWidget uses PlayableProxyModel now. 2012-06-01 00:34:05 +02:00
Christian Muehlhaeuser
657b4b18f8 * ArtistViw uses PlayableProxyModel now. 2012-06-01 00:33:39 +02:00
Christian Muehlhaeuser
a42f19f07e * AlbumView uses PlayableProxyModel now. 2012-06-01 00:33:17 +02:00
Christian Muehlhaeuser
7409f65874 * AlbumItemDelegate uses PlayableProxyModel now. 2012-06-01 00:32:50 +02:00
Christian Muehlhaeuser
644f6a714a * TreeProxyModel now inherits from PlayableProxyModel. 2012-06-01 00:32:15 +02:00
Christian Muehlhaeuser
0f6f58373e * QueueProxyModel now inherits from PlayableProxyModel. 2012-06-01 00:31:33 +02:00
Christian Muehlhaeuser
68bf96f924 * PlaylistView uses a standard PlayableProxyModel now. 2012-06-01 00:31:09 +02:00
Christian Muehlhaeuser
d17783ef6e * PlayableProxyModel supports artist & album items. 2012-06-01 00:30:28 +02:00
Christian Muehlhaeuser
14f6647471 * Removed obsolete proxy models and their interfaces. 2012-06-01 00:29:40 +02:00
Christian Muehlhaeuser
a62a9d50fe * ViewManager uses new AlbumView/AlbumModel API. 2012-05-31 23:14:28 +02:00
Christian Muehlhaeuser
54612b3512 * SearchWidget uses new AlbumView/AlbumModel API. 2012-05-31 23:14:12 +02:00
Christian Muehlhaeuser
a2f8a2ae11 * SocialPlaylistWidget uses new AlbumView/AlbumModel API. 2012-05-31 23:13:53 +02:00
Christian Muehlhaeuser
cd198db31d * WhatsHotWidget uses new AlbumView/AlbumModel API. 2012-05-31 23:13:32 +02:00
Christian Muehlhaeuser
088ff60339 * AlbumInfoWidget uses new AlbumView/AlbumModel API. 2012-05-31 23:13:09 +02:00
Christian Muehlhaeuser
bf9052bb1b * ArtistInfoWidget uses new AlbumView/AlbumModel API. 2012-05-31 23:12:50 +02:00
Christian Muehlhaeuser
2a4f2d3802 * SourceInfoWidget uses new AlbumView/AlbumModel API. 2012-05-31 23:12:23 +02:00
Christian Muehlhaeuser
98de149eec * TrackInfoWidget uses new AlbumView/AlbumModel API. 2012-05-31 23:12:10 +02:00
Christian Muehlhaeuser
1c4fabed2b * WelcomeWidget uses new AlbumView/AlbumModel API. 2012-05-31 23:11:48 +02:00
Christian Muehlhaeuser
790120836d * NewReleasesWidget now uses PlayableModels. 2012-05-31 23:11:17 +02:00
Christian Muehlhaeuser
b14985bf81 * Style fix in CustomPlaylistView. 2012-05-31 23:10:52 +02:00
Christian Muehlhaeuser
fee2f3a01b * AlbumView now uses a PlayableModel internally. 2012-05-31 23:10:27 +02:00
Christian Muehlhaeuser
6d057732b5 * Support new AlbumModel API. 2012-05-31 23:09:58 +02:00
Christian Muehlhaeuser
bc982f0ca5 * AlbumModel now inherits from PlayableModel. 2012-05-31 23:09:37 +02:00
Christian Muehlhaeuser
811cd200d0 * Support item-sizes & adding various item_ptr's with templating in PlayableModel. 2012-05-31 23:08:58 +02:00
Christian Muehlhaeuser
c6ba3bcc15 * CollectionFlatModel is obsolete now. 2012-05-31 21:41:25 +02:00
Christian Muehlhaeuser
16736a2afd * RelatedArtistsContext uses new TreeModel API. 2012-05-31 21:35:51 +02:00
Christian Muehlhaeuser
713b076929 * WhatsHotWidget uses new TreeModel API. 2012-05-31 21:35:29 +02:00
Christian Muehlhaeuser
172a4a8d77 * TrackView now uses LoadingSpinner and new OverlayWidget. 2012-05-31 21:34:19 +02:00
Christian Muehlhaeuser
2860bfc704 * ArtistView now uses LoadingSpinner and new OverlayWidget. 2012-05-31 21:33:52 +02:00
Christian Muehlhaeuser
3e8d131c16 * AlbumView now uses LoadingSpinner and new OverlayWidget. 2012-05-31 21:33:05 +02:00
Christian Muehlhaeuser
72528ab089 * LoadingSpinner inherits AnimatedSpinner and automatically connects to a QAbstractItemView. 2012-05-31 21:31:43 +02:00
Christian Muehlhaeuser
7bdc5ea4f2 * OverlayWidget now expects a QAbstractItemView which it automatically connects all signals to. 2012-05-31 21:31:01 +02:00
Christian Muehlhaeuser
7a8818ae94 * Style fix in DbCmd_SetPlaylistRevision. 2012-05-31 21:29:38 +02:00
Christian Muehlhaeuser
ca3b01362c * TreeModel inherits PlayableModel now. Will be renamed to CollectionModel soon. 2012-05-31 21:29:12 +02:00
Christian Muehlhaeuser
bff7f01e22 * Fixed warnings and added itemCountChanged( uint ) signal to PlayableModel. 2012-05-31 21:28:37 +02:00
Christian Muehlhaeuser
751f029564 * PlayableModel is now capable of dealing with trees. 2012-05-31 21:22:18 +02:00
Christian Muehlhaeuser
623850a281 * Catch any exceptions when opening the lucene FSDirectory. 2012-05-31 16:54:44 +02:00
Christian Muehlhaeuser
5c1763e847 * Let's try that with Utf8 again. 2012-05-31 16:45:14 +02:00
Christian Muehlhaeuser
602cf294d0 * Store path as a temporary QByteArray so the data doesn't get free'd again immediately. 2012-05-31 16:37:40 +02:00
Christian Muehlhaeuser
ac9064dcbc * Trying toLocal8Bit().data() for fixing Windows with non-latin usernames. 2012-05-31 16:35:45 +02:00
Christian Muehlhaeuser
f9e7ddfb86 * Trying toLocal8Bit() for fixing Windows with non-latin usernames. 2012-05-31 13:54:48 +02:00
Michael Coffey
9be74e001c Change the bundle script to find VLC 2.0 plugins, which are no longer in subfolders. A few have been commented out as they don't exist anymore (at least not with the same name). 2012-05-31 12:17:08 +01:00
Tomahawk CI
d655d66e96 Automatic merge of Transifex translations 2012-05-30 22:18:29 +00:00
Christian Muehlhaeuser
2ac0be98d3 * Does this potentially fix our Windows non-latin username issues? 2012-05-30 21:59:10 +02:00
Christian Muehlhaeuser
2820774220 * No need to pass DatabaseImpl into FuzzyIndex. 2012-05-30 21:58:16 +02:00
Christian Muehlhaeuser
62f041cc2a Merge pull request #96 from x8lucas8x/amarokfork
Some changes to make libtomahawk more usable by third-parties
2012-05-30 01:09:40 -07:00
Lucas Lira Gomes
9fe91d6af1 * Moved some files to libtomahawk. 2012-05-29 20:40:24 -03:00
Lucas Lira Gomes
2a5d061dee * Made ZeroConfAccount less bug prone. 2012-05-29 20:40:14 -03:00
Lucas Lira Gomes
5f385753c3 * Fixed FindJreen.cmake. 2012-05-29 19:49:28 -03:00
Tomahawk CI
c5138bfd76 Automatic merge of Transifex translations 2012-05-29 22:16:42 +00:00
Jason Herskowitz
a3cfdae7e8 Tweak SVG some more to see if it's better or worse 2012-05-29 15:08:41 -04:00
Jason Herskowitz
7cebabf7f2 Bigger SVG icon. See if this helps the Linux Mint implementation of Gnome3/icon 2012-05-29 14:31:46 -04:00
Jason Herskowitz
4082395d4b Change track temp page icon in sidebar to same style as others 2012-05-29 10:18:40 -04:00
Tomahawk CI
4113389cb5 Automatic merge of Transifex translations 2012-05-28 22:16:57 +00:00
Christian Muehlhaeuser
96132ef9c6 * Added love track action to the tray menu. 2012-05-28 19:38:57 +02:00
Christian Muehlhaeuser
1528095de2 * No need to call loadSocialActions manually. 2012-05-28 19:38:40 +02:00
Christian Muehlhaeuser
7cf307080b * Split audioStopped / audioPaused into separate slots. 2012-05-28 19:00:53 +02:00
Christian Muehlhaeuser
e06f58eb29 * Properly init StopAfterPlayback action. 2012-05-28 19:00:29 +02:00
Christian Muehlhaeuser
22d65b7364 * Make QueueView's header draggable for resizing. 2012-05-28 17:46:30 +02:00
Christian Muehlhaeuser
84c40dc590 * Support manual resizing in AnimatedSplitter. 2012-05-28 17:46:11 +02:00
Christian Muehlhaeuser
fac2e2fc5b * Make HeaderLabel an alternative drag-for-resize method. 2012-05-28 17:45:40 +02:00
Christian Muehlhaeuser
ab86a48ef7 * Style fixes for WidgetDragFilter. 2012-05-28 17:45:00 +02:00
Christian Muehlhaeuser
3b04498661 * Make sure we always have a working uuid in Artist / Album. 2012-05-28 16:32:29 +02:00
Christian Muehlhaeuser
c8afb7a7c6 * DropJob now uses the new API. 2012-05-28 16:12:51 +02:00
Christian Muehlhaeuser
0980044ef6 * Style fix for JobStatusModel. 2012-05-28 16:12:28 +02:00
Christian Muehlhaeuser
7cacc42737 * Cleaned up DropJobNotifier. 2012-05-28 16:11:57 +02:00
Christian Muehlhaeuser
9d26f342d3 * Always select the current view-page in the SourceTreeView. 2012-05-28 14:19:33 +02:00
Christian Muehlhaeuser
bea23d7dbe * Don't emit selection requests if we didn't activate a ViewPage. 2012-05-28 14:18:51 +02:00
Christian Muehlhaeuser
684f33a99f * Removed obsolete signal connections in RelatedArtistsContext. 2012-05-28 14:17:53 +02:00
Christian Muehlhaeuser
be52d81248 * Fixed TWK-842: Use sheet dialog when asking for new station's name. 2012-05-28 13:22:25 +02:00
Christian Muehlhaeuser
e9aaf56b3d * Fixed accidental typo. 2012-05-28 13:16:25 +02:00
Christian Muehlhaeuser
40051b82cb * Style cleanup for XmppSip. 2012-05-28 13:05:55 +02:00
Christian Muehlhaeuser
c258f1897f * Style cleanup for AvatarManager. 2012-05-28 13:05:55 +02:00
Christian Muehlhaeuser
c9f287590c * Style fix. Sorry Leo. 2012-05-28 13:05:54 +02:00
Tomahawk CI
f3164635e0 Automatic merge of Transifex translations 2012-05-27 22:16:53 +00:00
Christian Muehlhaeuser
04ce453687 * Fixed TWK-910: Make sure search results are sorted properly. 2012-05-27 20:26:46 +02:00
Christian Muehlhaeuser
f7a46de38e * Remove bottom frame of our toolbar. 2012-05-27 19:43:58 +02:00
Christian Muehlhaeuser
c2814bdabb * Make hover fading a tiny bit faster again. 2012-05-27 19:35:09 +02:00
Christian Muehlhaeuser
b3f2478d6d * Remove debug output again. 2012-05-27 19:31:00 +02:00
Christian Muehlhaeuser
49a4dddd88 * Use new API in RelatedArtistsContext. 2012-05-27 19:21:27 +02:00
Christian Muehlhaeuser
9af174a198 * Use new API in TopTracksContext. 2012-05-27 19:21:27 +02:00
Christian Muehlhaeuser
13befb9d6f * Remove obsolete info-id. 2012-05-27 19:21:27 +02:00
Christian Muehlhaeuser
401d52d6f0 * Remove obsolete info-id. 2012-05-27 19:21:26 +02:00
Leo Franchi
aee7dcd008 More debug an an assert to track down empty resolve status job 2012-05-27 13:10:01 -04:00
Leo Franchi
d2f876b6f3 Only load resolve icon pixmap once 2012-05-27 13:10:00 -04:00
Christian Muehlhaeuser
70fa4b73d4 * Use the new Artist API in ArtistInfoWidget. 2012-05-27 19:05:23 +02:00
Christian Muehlhaeuser
d8c5dcc6ba * Cleaned up names in TrackInfoWidget. 2012-05-27 19:04:56 +02:00
Christian Muehlhaeuser
74af29054a * Fixed TWK-719: Handle Twitter names in --demo mode. 2012-05-27 18:35:58 +02:00
Christian Muehlhaeuser
4d281b645c * Extra debug output for, well, debugging help. 2012-05-27 18:24:46 +02:00
Christian Muehlhaeuser
5e0d8d2292 * Fixed TWK-812: Persistent volume settings across sessions. 2012-05-27 18:24:46 +02:00
Christian Muehlhaeuser
8830593f1d * Added volume / setVolume methods to TomahawkSettings. 2012-05-27 18:24:46 +02:00
Leo Franchi
8d57ec3283 Remove stale files 2012-05-27 12:22:24 -04:00
Christian Muehlhaeuser
d67f4827a8 * Re-enabled WidgetDragFilter for main-window's toolbar. 2012-05-27 18:10:27 +02:00
Christian Muehlhaeuser
418f12743f * Style fix. 2012-05-27 17:35:53 +02:00
Christian Muehlhaeuser
b811b12e77 * Fixed AudioEngine's now playing data pusher to wait for covers being available. 2012-05-27 17:35:36 +02:00
Christian Muehlhaeuser
f24d11b41a * Use new coverLoaded() methods. 2012-05-27 17:34:22 +02:00
Christian Muehlhaeuser
c5f6c25e93 * Added coverLoaded() method to Query. 2012-05-27 17:34:03 +02:00
Christian Muehlhaeuser
9d064f7689 * Renamed infoLoaded() to coverLoaded(). 2012-05-27 17:33:46 +02:00
Christian Muehlhaeuser
33cae66d95 * Renamed infoLoaded() to coverLoaded(). 2012-05-27 17:33:38 +02:00
Jason Herskowitz
b2b7fc4a4e Add a bit of 3rd dimension to the dock icon 2012-05-27 09:02:32 -04:00
Christian Muehlhaeuser
f75531da79 * Fixed TWK-853: Confirm with user before actually deleting a playlist. 2012-05-27 13:01:25 +02:00
Christian Muehlhaeuser
13920ce25d * Implement a page history in ViewManager. 2012-05-27 11:49:40 +02:00
Leo Franchi
05ea3065f8 Allow rating custom resolvers 2012-05-26 18:35:47 -04:00
Leo Franchi
ae958cb124 Don't wordwrap download count 2012-05-26 18:35:47 -04:00
Tomahawk CI
23ef32ffee Automatic merge of Transifex translations 2012-05-26 22:16:57 +00:00
Christian Muehlhaeuser
5e820ee0a8 * Fixed broken translation. 2012-05-26 18:17:46 +02:00
Christian Muehlhaeuser
ecd4aeb965 * Make the hover fade a bit more noticeable. Looks nice imo. 2012-05-26 18:08:19 +02:00
Tomahawk CI
a55c1c0f08 Automatic merge of Transifex translations 2012-05-26 15:31:06 +00:00
Christian Muehlhaeuser
9f7c6b2380 * Made strings translation-friendlier for various languages. 2012-05-26 17:26:56 +02:00
Christian Muehlhaeuser
bd9a1aab8e * Fixed un-tr()'d strings. 2012-05-26 17:20:04 +02:00
Leo Franchi
d846c8a693 Fix ported from ResolverAccount to CustomAtticaAccount omission 2012-05-26 09:12:32 -04:00
Christian Muehlhaeuser
da82f398be * Fixed untranslatable strings issue. 2012-05-26 11:13:42 +02:00
Tomahawk CI
cfa63049e2 Automatic merge of Transifex translations 2012-05-25 22:18:59 +00:00
Leo Franchi
f947005666 TWK-885: Hide resize handle when in osx full-screen mode 2012-05-25 18:08:40 -04:00
Leo Franchi
ac46b080fe Only show updater icon if updater is actively syncing 2012-05-25 17:12:50 -04:00
Leo Franchi
3710d617a1 Load 22x22 track-info icon 2012-05-25 17:12:50 -04:00
Leo Franchi
9bdeed232e Fix typo 2012-05-25 17:01:03 -04:00
Leo Franchi
075d5e74f8 TWK-903: Resize last.fm dialog when beginning to import 2012-05-25 16:21:42 -04:00
Leo Franchi
3cac235232 TWK-888: Steer text color should be highlighted text color 2012-05-25 15:38:48 -04:00
Leo Franchi
873b8dab91 Assert if we forcibly kill external resolvers, to get some user feedback 2012-05-25 15:13:53 -04:00
Leo Franchi
37b59126f6 Sort binary resolvers, then script resolvers by download count 2012-05-25 15:13:40 -04:00
Leo Franchi
098183ddca Keep Remove button size in accounts delegate same as Add 2012-05-25 14:14:06 -04:00
Leo Franchi
fb5d21e401 Add a cmake flag to disable binary attica resolvers for distros 2012-05-25 12:35:28 -04:00
Leo Franchi
26036a2021 Only turn on enable account when going back online 2012-05-25 12:12:15 -04:00
Leo Franchi
9521ed3fde More warning fixes 2012-05-25 09:02:34 -04:00
Leo Franchi
da3bf8d43f Fix warning 2012-05-25 08:52:10 -04:00
Christian Muehlhaeuser
1c55f56777 * A little dependency tracking. 2012-05-25 07:49:28 +02:00
Tomahawk CI
2af0d9a027 Automatic merge of Transifex translations 2012-05-25 04:43:20 +00:00
Christian Muehlhaeuser
63843416cf * Fixed about dialog translation. 2012-05-25 06:40:23 +02:00
Christian Muehlhaeuser
81949ee0a0 * Support arabic translation. 2012-05-25 06:05:02 +02:00
Christian Muehlhaeuser
3b5f48926c * Remove gloox support. XmppBot will need to be ported but was broken by now, anyway. 2012-05-25 05:52:08 +02:00
Leo Franchi
677944d403 Discogs infoplugin, only albums contents atm. 2012-05-24 23:07:34 -04:00
Leo Franchi
9294b73c57 Invert 2012-05-24 21:54:41 -04:00
Leo Franchi
052093f1ea Try out some fading 2012-05-24 21:05:54 -04:00
Tomahawk CI
216e43a502 Automatic merge of Transifex translations 2012-05-24 22:16:44 +00:00
Leo Franchi
e571050758 Make sure to re-enable resolver when overwriting attica with local installed 2012-05-24 16:12:55 -04:00
Christian Muehlhaeuser
d14e14d25a * Workaround for scrobbling duration-less results. 2012-05-24 16:09:44 +02:00
Christian Muehlhaeuser
fde130ef9f * Store volume when actually pausing. 2012-05-24 15:26:38 +02:00
Christian Muehlhaeuser
305b69b229 * Only reset volume when resuming playback. 2012-05-24 15:26:02 +02:00
Christian Muehlhaeuser
ca41b8b7d3 * Fixed resolving top hits top-to-bottom. 2012-05-24 15:20:09 +02:00
Leo Franchi
ac26378914 Remove legacy/confusing autostart from pipeline's external resolvers 2012-05-24 08:58:39 -04:00
Christian Muehlhaeuser
1845bbbd65 * No frame / focus rect for lyrics. 2012-05-24 14:48:18 +02:00
Christian Muehlhaeuser
0af1cc6e20 Revert "* Leo: please review. I think this was meant to be this way actually."
This reverts commit c036c147a7.
2012-05-24 14:17:06 +02:00
Christian Muehlhaeuser
a150697f49 * DRY and style cleanups. 2012-05-24 14:08:42 +02:00
Christian Muehlhaeuser
ca7db4ff99 * Fixed artist / album search results. 2012-05-24 13:49:41 +02:00
Christian Muehlhaeuser
c574dfeff3 * Added some queueState safety mechanism. Phonon's error signal fails to fire sometimes. Sigh. 2012-05-24 13:42:02 +02:00
Christian Muehlhaeuser
4b059293d1 * Clear command queue when Phonon reports an error. 2012-05-24 12:34:52 +02:00
Christian Muehlhaeuser
cbda055c89 * Fixed enabling all resolvers on startup. 2012-05-24 12:10:30 +02:00
Christian Muehlhaeuser
c036c147a7 * Leo: please review. I think this was meant to be this way actually. 2012-05-24 11:01:00 +02:00
Christian Muehlhaeuser
8abf255b27 * Changed debug output and style cleanup. 2012-05-24 11:00:28 +02:00
Christian Muehlhaeuser
b51e7390ba * Ok, let's try that publicly. AudioState queue to work around the Phonon state mess. 2012-05-24 10:44:33 +02:00
Christian Muehlhaeuser
3225407118 * Fixed incorrect PixmapDelegateFader connect()s. 2012-05-24 07:55:34 +02:00
Christian Muehlhaeuser
606fb9cae5 * Defines in headers are just evil. 2012-05-24 07:50:20 +02:00
Dominik Schmidt
41d0c9b153 unused_variable_warnings-- 2012-05-24 01:10:03 +02:00
Christian Muehlhaeuser
b0a99ad1ad * Style cleanup. 2012-05-24 00:26:05 +02:00
Christian Muehlhaeuser
6b1aa6e9cd * According to Leo this is even faster. 2012-05-24 00:26:05 +02:00
Tomahawk CI
8aec11c0e9 Automatic merge of Transifex translations 2012-05-23 22:16:59 +00:00
Leo Franchi
1dd053dc0f Emit a failed signal if there's no internet, so things that depend on AtticaManager move forward 2012-05-23 17:31:20 -04:00
Jeff Mitchell
608d0c30d0 Update against attica >0.3 to fix attica proxy handling 2012-05-23 15:49:45 -04:00
Jason Herskowitz
ac06dbdbef Add logo SVG 2012-05-23 15:01:53 -04:00
Jason Herskowitz
c685ba7c03 Give black OS X systray icon a little more padding 2012-05-23 14:50:14 -04:00
Dominik Schmidt
e5b697801a Make tray icon colorful on windows and linux again 2012-05-23 20:49:13 +02:00
Jason Herskowitz
56d93f1201 Make black icon for use with OS X 2012-05-23 14:43:38 -04:00
Jason Herskowitz
76f463b81a New logo 2012-05-23 14:20:30 -04:00
Jeff Mitchell
d09145b06f Better debug output from whatshotwidget 2012-05-23 13:27:25 -04:00
Jeff Mitchell
d7a925d110 Make init methods for all infoplugins to solve issues with network traffic before they're in the right thread 2012-05-23 13:23:15 -04:00
Jeff Mitchell
91024493ee Loaded plugins don't get loaded into the correct thread...fix this 2012-05-23 11:27:37 -04:00
Jeff Mitchell
3159cfd840 Make the Tomahawk cache spit out a more useful error when data not
found, and stop Sources from endlessely querying it for avatars that we
already know don't exist
2012-05-23 11:16:04 -04:00
Christian Muehlhaeuser
0fb1511904 * Re-layout item grid when model changes. 2012-05-23 17:13:58 +02:00
Christian Muehlhaeuser
7af615dbf8 * Disable shutdown db analyze again. 2012-05-23 17:08:29 +02:00
Christian Muehlhaeuser
ab602b2072 * Don't tell model about item size if there's no model yet. 2012-05-23 16:54:50 +02:00
Christian Muehlhaeuser
bc0e3810d7 * Speed up DbCmd_AllAlbums. A ton. 2012-05-23 14:29:17 +02:00
Christian Muehlhaeuser
e2ab7d834b * Run analyze on shutdown (for debugging only). 2012-05-23 13:08:23 +02:00
Christian Muehlhaeuser
2673645907 * Fixed compiling on OSX. 2012-05-23 13:04:30 +02:00
Christian Muehlhaeuser
3e1a5c15c5 * Added verbose log output for SQL queries. 2012-05-23 12:41:02 +02:00
Christian Muehlhaeuser
5d0a54ce8b * Moved TomahawkSqlQuery's implementation into a separate file. 2012-05-23 12:18:42 +02:00
Christian Muehlhaeuser
ff70417891 * Progress towards compiling on OS X (10.6). 2012-05-23 10:15:47 +02:00
Christian Muehlhaeuser
f160947ddc * Split out BinaryExtractWorker and SharedTimeLine into separate files. 2012-05-23 10:07:29 +02:00
Christian Muehlhaeuser
a3d11225a3 * Fixed compiling on OS X 10.6. 2012-05-23 09:38:26 +02:00
Leo Franchi
92ec403f7c Fixes for spotify and lastfm custom accounts, and fix some misc older bugs 2012-05-22 22:03:48 -04:00
Leo Franchi
af50be9ef8 Don't assert on a potentially valid condition 2012-05-22 22:03:47 -04:00
Leo Franchi
a538553d17 Do binary payload management in background 2012-05-22 22:03:47 -04:00
Leo Franchi
982945107e Handle linux in checkForResolver 2012-05-22 22:03:47 -04:00
Tomahawk CI
b66e191078 Automatic merge of Transifex translations 2012-05-22 22:16:39 +00:00
Leo Franchi
e4bd229ef0 OSX fix 2012-05-22 10:38:54 -04:00
Leo Franchi
bb62fd6047 Try harder to find an account 2012-05-22 10:35:13 -04:00
Leo Franchi
e91d9e55f6 Fix slow network causing multiple spotify accounts to show up 2012-05-22 10:35:13 -04:00
Leo Franchi
b308212214 Properly download+install binary payload on linux 2012-05-22 08:35:17 -04:00
Leo Franchi
5766ea382b Fix heisenbug 2012-05-22 08:35:17 -04:00
Christian Muehlhaeuser
413bddaf7d * Updated ChangeLog. 2012-05-22 13:11:38 +02:00
Christian Muehlhaeuser
2deb9bcdc1 * Wording: Resume instead of Retry. 2012-05-22 12:11:27 +02:00
Christian Muehlhaeuser
5b2a5b76a4 * Show current import date. 2012-05-22 12:01:03 +02:00
Christian Muehlhaeuser
2558202a52 * Update the button status while the import is ongoing. 2012-05-22 11:48:05 +02:00
Christian Muehlhaeuser
ac8703c9e7 * Robuster error / retry handling. 2012-05-22 11:38:12 +02:00
Christian Muehlhaeuser
2ee66a3cda * Allow to locally import Last.fm playback history. Works but needs discussion. 2012-05-22 10:43:39 +02:00
Christian Muehlhaeuser
3f5d219549 * Fixed sorting order when retrieving playback history. 2012-05-22 10:41:58 +02:00
Christian Muehlhaeuser
b1904b877e * Cleaner code in AudioEngine. 2012-05-22 10:41:37 +02:00
Christian Muehlhaeuser
7ffb3b2fef * Fixed logic error in DbCmd_TrackAttributes. 2012-05-22 10:41:12 +02:00
Christian Muehlhaeuser
95dccb8cf9 * Improved resolving: be more careful when it comes to result similarity. 2012-05-22 08:07:07 +02:00
Christian Muehlhaeuser
530d9d7e5f * Fixed systray menu not working. 2012-05-22 08:01:14 +02:00
Christian Muehlhaeuser
d44028a2af * AlbumModel items shouldn't be editable. 2012-05-22 02:34:44 +02:00
Tomahawk CI
5a1ee4ec3a Automatic merge of Transifex translations 2012-05-21 22:16:50 +00:00
Jeff Mitchell
47254de796 Merge branch 'master' into aclwidget 2012-05-21 15:31:44 -04:00
Christian Muehlhaeuser
e426e26e8d * DRY PlayableItem. 2012-05-21 12:42:25 +02:00
Christian Muehlhaeuser
1b748201bc * Renamed Track(Proxy)Model to Playable(Proxy)Model. 2012-05-21 10:07:49 +02:00
Christian Muehlhaeuser
45397e82a8 * Drop the usage of the old item classes and use the new PlayableItem. 2012-05-21 09:05:14 +02:00
Christian Muehlhaeuser
3f494ed5d3 * PlayableItem. One class to rule them all. Album-, TrackModel- and TreeModelItem be gone. 2012-05-21 09:04:42 +02:00
Christian Muehlhaeuser
a36ee207e9 * Pass on QWheelEvents to AlbumView when hovering a spinner / play / pause button on top of it. 2012-05-21 06:12:34 +02:00
Christian Muehlhaeuser
70245e34ac * Fixed delegate's connect. 2012-05-21 04:46:03 +02:00
Christian Muehlhaeuser
965a9b6153 * Consistent color for duration in PlaylistItemDelegate. 2012-05-21 04:41:22 +02:00
Christian Muehlhaeuser
219d4e5f19 * Fixed cover fading. 2012-05-21 04:36:37 +02:00
Dominik Schmidt
41074e15d1 Include all plugins on windows 2012-05-21 02:17:51 +02:00
Tomahawk CI
b2e233b127 Automatic merge of Transifex translations 2012-05-20 22:16:34 +00:00
Leo Franchi
48b089c3c4 More robust install feedback, see if it works for binary resolvers too 2012-05-20 17:05:01 -04:00
Leo Franchi
675841e9a7 Don't start resolver if the path no longer exists 2012-05-20 16:24:38 -04:00
Leo Franchi
e0693475d7 Don't re-install spotify on each restart on windows ;) 2012-05-20 16:24:38 -04:00
Dominik Schmidt
b7aef08b7c Merge pull request #95 from seezer/master
Fix key event handling in SourceTreeView
2012-05-20 13:22:53 -07:00
Jeff Mitchell
8f4b160ae9 Merge branch 'master' into aclwidget
Conflicts:
	src/libtomahawk/jobview/AclJobItem.cpp
2012-05-20 16:12:08 -04:00
Leo Franchi
6c856db4f8 Heisenbug observed, debug removed. 2012-05-20 15:37:23 -04:00
Leo Franchi
a63a636750 Add some debug for hugo 2012-05-20 15:26:22 -04:00
Leo Franchi
01b6b6887c Make license header consistent 2012-05-20 15:26:17 -04:00
Sebastian Goth
ad49a5d5af Fix key event handling in SourceTreeView
Correctly propagate multimedia key events to mainwindow
2012-05-20 18:30:28 +02:00
Dominik Schmidt
edb34eef59 warnings-- 2012-05-20 15:47:11 +02:00
Christian Muehlhaeuser
717b04623f * Style cleanup. 2012-05-20 15:44:03 +02:00
Dominik Schmidt
5a8b32691e Fix export 2012-05-20 15:21:28 +02:00
Dominik Schmidt
92423fe925 Fix last commit 2012-05-20 14:26:51 +02:00
Dominik Schmidt
cdb044b4e4 Make timeoutMillis invunerable against inconsistent changes 2012-05-20 14:07:58 +02:00
Christian Muehlhaeuser
e26545b195 * Nicer margin for AudioControl's cover image. 2012-05-20 13:17:10 +02:00
Christian Muehlhaeuser
46fde05aa9 * Cleaned up AlbumItemDelegate and fixed a few smaller issues. 2012-05-20 12:30:21 +02:00
Christian Muehlhaeuser
4fdd6ddc45 * Fixed 'Jeffe's copyright. 2012-05-20 12:29:44 +02:00
Christian Muehlhaeuser
ebe8df4f91 * Support changing image size in PixmapDelegateFader. 2012-05-20 12:29:21 +02:00
Christian Muehlhaeuser
5ed65cafce * Introduced Query::displayQuery(). Returns (if available) the first result as a query_ptr, otherwise returns the Query's own query_ptr. Use this whenever you wanna display Query stuff in the GUI. Also, reduce numResults() usage. 2012-05-20 10:39:05 +02:00
Christian Muehlhaeuser
d3271cffde * Don't try to load the playback history if the sources instance isn't ready yet. 2012-05-20 10:20:38 +02:00
Christian Muehlhaeuser
46f0ef9552 * Implemented proper ArtistPlaylistInterface. Enables direct artist playback from the grid. 2012-05-20 08:20:22 +02:00
Leo Franchi
b052486e2e Update to newer kdsingleappguard 2012-05-20 01:06:06 -04:00
Leo Franchi
7326212671 Only emit finished once for binary resolvers 2012-05-19 23:17:22 -04:00
Leo Franchi
57ab3f73db Debug and a potential windows fix 2012-05-19 20:26:01 -04:00
Leo Franchi
067138b9ac Update view sizehint when we get a custom delegate in case it is non-standard in height 2012-05-19 18:25:10 -04:00
Tomahawk CI
4507315f3b Automatic merge of Transifex translations 2012-05-19 22:16:32 +00:00
Leo Franchi
a36693bd4c Fix merge 2012-05-19 17:40:53 -04:00
Leo Franchi
a3bcf52529 Merge branch 'master' into aclwidget
Conflicts:
	src/libtomahawk/AclRegistry.cpp
	src/libtomahawk/jobview/AclJobItem.cpp
2012-05-19 14:54:45 -04:00
Leo Franchi
e96b5cb080 Move BinaryInstallerHelper into its own file 2012-05-19 14:22:28 -04:00
Leo Franchi
b2c281ad37 Fix style 2012-05-19 12:21:00 -04:00
Ahmed
337423c52f TWK-883: Prevent failed tracks from being displayed as recently played in the dashboard 2012-05-19 12:20:48 -04:00
Leo Franchi
4b28c15850 Warning and memleak fixes 2012-05-19 09:41:05 -04:00
Christian Muehlhaeuser
77a901a71f * Fixed asserting in AlbumPlaylistInterface. 2012-05-19 11:01:16 +02:00
Christian Muehlhaeuser
b449651452 * Added context menu to item views. 2012-05-19 10:41:28 +02:00
Christian Muehlhaeuser
763ae73d01 * Cleaner connect in ArtistView. 2012-05-19 10:41:12 +02:00
Christian Muehlhaeuser
ab3c4330df * Resolve similar tracks in correct order. 2012-05-19 10:29:40 +02:00
Christian Muehlhaeuser
b7a43553fe * Clear window title when playback stopped. 2012-05-19 10:29:22 +02:00
Christian Muehlhaeuser
13b74f1c21 * Allow seeking without playlists and emit stopped() only after we actually stopped. 2012-05-19 10:28:44 +02:00
Christian Muehlhaeuser
80fe1f0777 * Clean up Query::infoSystemFinished. 2012-05-19 10:12:32 +02:00
Christian Muehlhaeuser
2ef10fee39 * Plugin-ify NewReleasesPlugin. 2012-05-19 09:50:04 +02:00
Christian Muehlhaeuser
73e824c859 * Plugin-ify RoviPlugin. 2012-05-19 09:44:51 +02:00
Christian Muehlhaeuser
93cc1fcca8 * Plugin-ify MusicBrainzPlugin. 2012-05-19 09:44:37 +02:00
Christian Muehlhaeuser
667a4e5a78 * Added lyrics display on Track Page. Experimental. 2012-05-19 09:37:19 +02:00
Christian Muehlhaeuser
81b8a22d6a * Cleaned up InfoSystemWorker debug output. 2012-05-19 09:36:51 +02:00
Christian Muehlhaeuser
b6b3bf1a1c * Added lyrics support to Query class. 2012-05-19 09:36:27 +02:00
Christian Muehlhaeuser
b17b5ed276 * Make MusixMatchPlugin a proper InfoPlugin. Also, fix it up. 2012-05-19 09:35:49 +02:00
Christian Muehlhaeuser
de89a0dd83 * Overlay pause button during playback of a list item. 2012-05-19 08:18:54 +02:00
Christian Muehlhaeuser
69f41c41e8 * Let AudioEngine wait for a query to finish resolving and start playback asap. 2012-05-19 07:23:33 +02:00
Christian Muehlhaeuser
5f1564fd3d * Resolve AlbumPlaylistInterface's track list in corrct order. 2012-05-19 06:42:31 +02:00
Christian Muehlhaeuser
2e0d6b0874 * Fixed artist links for similar tracks. 2012-05-19 06:40:30 +02:00
Christian Muehlhaeuser
5d977d1ca7 * Properly center spinner. 2012-05-19 06:23:23 +02:00
Christian Muehlhaeuser
246d935c04 * Link to pages from QueryLabel's context-menu. 2012-05-19 06:13:39 +02:00
Christian Muehlhaeuser
084186bdf6 * Fixed a few painting glitches. 2012-05-19 06:13:26 +02:00
Christian Muehlhaeuser
ed4a631619 * Hooked up history-related signals to TomahawkWindow. 2012-05-19 06:13:13 +02:00
Christian Muehlhaeuser
285b254f76 * Added 'Open Page' item to Artist/Album/Track context menus. 2012-05-19 03:08:50 +02:00
Christian Muehlhaeuser
23757b2819 * Re-added mainwindow toolbar. 2012-05-19 02:53:04 +02:00
Christian Muehlhaeuser
eb87952ce5 * Fixed crash and show hover state for album items again. 2012-05-19 02:05:38 +02:00
Leo Franchi
c9704cbe64 Fix windows ifdef 2012-05-18 19:36:56 -04:00
Christian Muehlhaeuser
5c70221296 * Show proper play buttons / spinners overlaying album items. 2012-05-19 01:29:22 +02:00
Tomahawk CI
0564ac3565 Automatic merge of Transifex translations 2012-05-18 22:16:25 +00:00
Leo Franchi
64aea4541d Begone QSharedPointer destructor warnings! 2012-05-18 17:40:35 -04:00
Leo Franchi
eeba60dfec Add semicolon 2012-05-18 17:17:35 -04:00
Leo Franchi
f874e6b4f0 See if this helps... 2012-05-18 17:10:24 -04:00
Leo Franchi
f7f4cbb781 Smarter windows logic for finding resolver executable 2012-05-18 16:55:23 -04:00
Leo Franchi
fdfda2e435 Try this include 2012-05-18 16:48:48 -04:00
Leo Franchi
b972558171 Merge branch 'binaryghns' 2012-05-18 16:34:54 -04:00
Leo Franchi
3cb1778502 Use real bakery again 2012-05-18 16:34:38 -04:00
Leo Franchi
dbbf93bfcd FIx macdeploy since plugins are .so now not .dylib 2012-05-18 16:06:04 -04:00
Leo Franchi
ebd5a98d27 Windows-specific handling 2012-05-18 16:05:38 -04:00
Christian Muehlhaeuser
ae807bc7ce Revert "* Style cleanup."
This reverts commit 4ec75ec49c.
2012-05-18 21:42:37 +02:00
Leo Franchi
647f68bd22 Ensure we have lastfm and spotify accounts 2012-05-18 12:46:11 -04:00
Leo Franchi
4f947b893f Fix some linux binary resolver stuff 2012-05-18 12:06:03 -04:00
Leo Franchi
8ce4b3587d Merge remote-tracking branch 'origin/master' into binaryghns 2012-05-18 08:01:52 -04:00
Christian Muehlhaeuser
2d356c5bae * No more mode init. 2012-05-18 12:14:38 +02:00
Christian Muehlhaeuser
b76b96ef3e * Show play button on item-views. 2012-05-18 12:14:38 +02:00
Christian Muehlhaeuser
ee7986180f * ModelMode specific AlbumPlaylistInterfaces. 2012-05-18 12:14:38 +02:00
Christian Muehlhaeuser
2d34a69e0c * ModelMode specific PlaylistInterfaces for Album object. 2012-05-18 12:14:38 +02:00
Christian Muehlhaeuser
4c04feb529 * Lazy init for AlbumView. 2012-05-18 12:14:38 +02:00
Christian Muehlhaeuser
fd7f1fe422 * Don't use bold fonts for infobar description. 2012-05-18 12:14:37 +02:00
Christian Muehlhaeuser
3e9e37fdc9 * Per default, add the Mixed album info to a playlist. 2012-05-18 12:14:37 +02:00
Christian Muehlhaeuser
fe58726b69 * Directly query artist / albums objects for their data. 2012-05-18 12:14:37 +02:00
Christian Muehlhaeuser
bf3e2ccb01 * Use item-views on AlbumInfoWidget. 2012-05-18 12:14:37 +02:00
Christian Muehlhaeuser
33c9f59929 * Use item-views on ArtistInfoWidget. 2012-05-18 12:14:37 +02:00
Christian Muehlhaeuser
a699348766 * Fixed direct artist_ptr playback. 2012-05-18 12:14:37 +02:00
Christian Muehlhaeuser
45d06c9be5 * Declare artist_ptr as metatype. 2012-05-18 12:14:37 +02:00
Christian Muehlhaeuser
cf4baf28c3 * Added comment. 2012-05-18 12:14:36 +02:00
Christian Muehlhaeuser
91205b8fd7 * Remove obsolete debug output. 2012-05-18 12:14:36 +02:00
Christian Muehlhaeuser
8d6d584bb4 * AudioEngine methods for directly playing artists / albums / queries. 2012-05-18 12:14:36 +02:00
Christian Muehlhaeuser
9291ee80c9 * Layout fixes for TrackInfoWidget. 2012-05-18 12:14:36 +02:00
Christian Muehlhaeuser
4ec75ec49c * Style cleanup. 2012-05-18 12:14:36 +02:00
Christian Muehlhaeuser
b05f56491e * Register album_ptr & artist_ptr as meta-types. 2012-05-18 12:14:36 +02:00
Christian Muehlhaeuser
9df8fc0182 * Clicking track name in AudioControls brings up track-page now. 2012-05-18 12:14:36 +02:00
Jeff Mitchell
65c8739da5 Merge branch 'master' into infoplugins and fix up problematic bits. This
fully separates out all infoplugins into separate buildable units.
Eventually I'll make cmake switches to enable easy picking of the
different plugins at build-time; distros will like that.

Conflicts:
	src/infoplugins/generic/CMakeLists.txt
	src/infoplugins/generic/ChartsPlugin.cpp
	src/infoplugins/generic/ChartsPlugin.h
	src/infoplugins/generic/ChartsPlugin_Data_p.h
	src/infoplugins/generic/charts/ChartsPlugin.cpp
	src/infoplugins/generic/charts/ChartsPlugin.h
	src/infoplugins/generic/hypem/HypemPlugin.cpp
	src/infoplugins/generic/hypem/HypemPlugin.h
	src/infoplugins/generic/hypemPlugin.cpp
	src/infoplugins/generic/hypemPlugin.h
	src/libtomahawk/CMakeLists.txt
	src/libtomahawk/CountryUtils.h
	src/libtomahawk/infosystem/InfoSystemWorker.cpp
	src/libtomahawk/infosystem/infoplugins/generic/ChartsPlugin.cpp
	src/libtomahawk/infosystem/infoplugins/generic/ChartsPlugin.h
	src/libtomahawk/infosystem/infoplugins/generic/ChartsPlugin_Data_p.h
	src/libtomahawk/infosystem/infoplugins/generic/hypemPlugin.cpp
	src/libtomahawk/infosystem/infoplugins/generic/hypemPlugin.h
2012-05-18 00:47:32 -04:00
Leo Franchi
841b151acc fixes for linux binary ghns 2012-05-17 20:56:36 -04:00
Leo Franchi
b4dda21704 Merge branch 'master' into binaryghns 2012-05-17 19:03:57 -04:00
Leo Franchi
48ab96a1f6 Add hack/workaround for manually adding spotify resolver 2012-05-17 19:03:18 -04:00
Leo Franchi
183b0c8958 Don't show spotify config widget if we have no resolver 2012-05-17 18:11:13 -04:00
Leo Franchi
fb842a3580 Revert "Don't show spotify config widget unless we have a resolver"
This reverts commit e8247421ab.
2012-05-17 18:09:38 -04:00
Leo Franchi
e8247421ab Don't show spotify config widget unless we have a resolver 2012-05-17 18:09:16 -04:00
Leo Franchi
32e1a16ead Guard against divide-by-0 2012-05-17 12:57:12 -04:00
Dominik Schmidt
f9eab019a9 cmake *sigh* 2012-05-17 18:37:34 +02:00
Leo Franchi
a8354ed1a9 Merge pull request #93 from randomguy3/mpris2-fixes
Mpris2 fixes
2012-05-17 06:28:30 -07:00
Alex Merry
1f0f4e21a8 MPRIS2: Fix volume property
Volume is a double between 0 and 1, not a percentage between 0 and 100.
2012-05-17 14:16:36 +01:00
Alex Merry
8b17657da1 MPRIS2: mpris:length should be in microseconds, not seconds 2012-05-17 14:11:58 +01:00
Alex Merry
e52b9eb36b MPRIS2: Fix type of mpris:trackid metadata
It should be a DBus Object Path ('o'), not a String ('s').
2012-05-17 14:01:32 +01:00
Leo Franchi
34656e6395 bugfixing adding spotify account 2012-05-16 22:49:29 -04:00
Tomahawk CI
06338c73f1 Automatic merge of Transifex translations 2012-05-16 22:16:30 +00:00
Leo Franchi
ff431b1183 More work on handling binary resolver install 2012-05-16 18:07:56 -04:00
Leo Franchi
d6f017bc6a Merge pull request #92 from mguentner/crashprivacy
added "Send this report" and "Don't send" buttons
2012-05-16 06:52:46 -07:00
Tomahawk CI
cd84015c8d Automatic merge of Transifex translations 2012-05-15 22:16:34 +00:00
Leo Franchi
d60b8bda3e Merge branch 'binaryghns' of github.com:lfranchi/tomahawk into binaryghns 2012-05-15 18:09:50 -04:00
Leo Franchi
95bb3629a1 slight work on spotify account 2012-05-15 17:48:07 -04:00
Maximilian Güntner
8cce5dafcd added "Send this report" and "Don't send" buttons
Most users probably do not disable crash reporting. Adding two
simple buttons will give them a chance to abort if they do not
want to send their crash report.

Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>
2012-05-15 02:40:26 +02:00
Tomahawk CI
69dbb8a882 Automatic merge of Transifex translations 2012-05-14 22:16:27 +00:00
Jeff Mitchell
6cfac1978e Migrate charts plugin 2012-05-14 13:10:59 -04:00
Jeff Mitchell
50fbe986d7 Move HypemPlugin over to new plugin paradigm 2012-05-14 12:34:48 -04:00
Christian Muehlhaeuser
3e60adfe37 * Fixed mainwindow layout jumping around on startup. 2012-05-14 02:49:44 -07:00
Christian Muehlhaeuser
37f7521d5c * Fixed compiling. 2012-05-13 22:35:41 -07:00
Dominik Schmidt
42faa354ec Port echonest info plugin to the new macro 2012-05-14 05:25:12 +02:00
Dominik Schmidt
f33d446f7f Make linux infoplugins real plugins 2012-05-14 05:17:07 +02:00
Leo Franchi
f7b9f8a3d7 Merge pull request #90 from nowrep/master
Fixed style of scrollbar in TrackInfoWidget
2012-05-13 19:55:19 -07:00
Dominik Schmidt
380ff0d23d Make generic infoplugins real plugins 2012-05-14 04:42:21 +02:00
Dominik Schmidt
9c995270cf minor improvements for add_tomahawk_plugin 2012-05-14 04:16:58 +02:00
Leo Franchi
dcc61f56e3 Merge branch 'binaryghns' of github.com:lfranchi/tomahawk into binaryghns 2012-05-13 21:28:45 -04:00
Leo Franchi
5bb31a2e7c try adding some account linkup 2012-05-13 21:28:18 -04:00
Dominik Schmidt
027c716fd7 add_tomahawk_plugin: port zeroconf account 2012-05-14 03:24:17 +02:00
Dominik Schmidt
d2c8196b07 add_tomahawk_plugin: port twitter account 2012-05-14 03:24:15 +02:00
Dominik Schmidt
dd4acb0cd2 add_tomahawk_plugin: port googlewrapper account 2012-05-14 03:24:10 +02:00
Dominik Schmidt
8c4cfef5a1 add_tomahawk_plugin: port xmpp account 2012-05-14 03:24:02 +02:00
Leo Franchi
eeaba8309d Merge branch 'binaryghns' of github.com:lfranchi/tomahawk into binaryghns 2012-05-13 20:50:02 -04:00
Leo Franchi
81575c68e8 hook up 2012-05-13 20:48:55 -04:00
Leo Franchi
bb5e5c33ca listen to results of asynchronous binary installs 2012-05-13 20:44:03 -04:00
Leo Franchi
a071105a26 Add workaround for Qt bug, thanks David Sansome! 2012-05-13 20:43:54 -04:00
Dominik Schmidt
102ead74bd Add add_tomahawk_plugin cmake macro 2012-05-14 02:41:02 +02:00
Leo Franchi
e72289c078 Merge branch 'binaryghns' of github.com:lfranchi/tomahawk into binaryghns 2012-05-13 19:08:32 -04:00
Leo Franchi
51e790de2f Merge branch 'master' into binaryghns 2012-05-13 19:07:25 -04:00
Leo Franchi
f64cce1567 set unzipped executable to executable 2012-05-13 19:02:28 -04:00
Tomahawk CI
755285920c Automatic merge of Transifex translations 2012-05-13 22:16:32 +00:00
Jeff Mitchell
ee8e25b8ce Don't need this anymore.... 2012-05-13 17:42:53 -04:00
Jeff Mitchell
3e781a243e Make infoplugins dynamically loadable, and convert echonest plugin to
this format
2012-05-13 17:37:25 -04:00
Leo Franchi
be76cc49d3 add error handling to resolver in stall so we hide the spinner 2012-05-13 17:36:32 -04:00
Leo Franchi
021cd54687 Add tomahawk public key 2012-05-13 17:31:17 -04:00
Leo Franchi
8aae86cf16 Add mac FileHelpers 2012-05-13 17:12:21 -04:00
Leo Franchi
27eb1b51f1 Enable move-with-authentication for osx binary resolvers 2012-05-13 17:05:37 -04:00
Jeff Mitchell
485d076d73 Update account DLL macro to use Q_DECL_X 2012-05-13 16:36:57 -04:00
nowrep
1324b6fe64 Fixed style of scrollbar in TrackInfoWidget 2012-05-13 13:28:51 +02:00
Jason Herskowitz
d47adbea63 Get rid of old icons that we no longer use 2012-05-12 22:51:41 -07:00
Jason Herskowitz
6034458769 More design stuff 2012-05-12 22:18:36 -07:00
Jason Herskowitz
6cc62d24d7 User newer iTune icon 2012-05-12 20:08:25 -07:00
Christian Muehlhaeuser
a9c049b0ee * Use cache for source avatars. 2012-05-12 18:12:45 -07:00
Christian Muehlhaeuser
2a6766c6d2 * Different track icon for temporary pages. 2012-05-12 18:12:45 -07:00
Jason Herskowitz
393cefb88c Add track icon and tweak page color on track page 2012-05-12 17:58:46 -07:00
Jason Herskowitz
4dc3014a37 Even more icon cleanup. Soon I will have more commits that Domme. :P 2012-05-12 17:28:33 -07:00
Jason Herskowitz
8589977233 Tweak avatar placeholder to better make new sidebar icons 2012-05-12 16:45:19 -07:00
Jason Herskowitz
f8d363e3d0 Tweak color of track number overaly in the New Stations & Playlists widget 2012-05-12 16:27:47 -07:00
Jason Herskowitz
a2c5a949b3 Lots of icon cleanup. Make more subtle. 2012-05-12 16:18:40 -07:00
Tomahawk CI
d05fd22999 Automatic merge of Transifex translations 2012-05-12 22:16:28 +00:00
Christian Muehlhaeuser
69987877a1 * Nicer AlbumView. 2012-05-12 13:21:54 -07:00
Jason Herskowitz
92b5d3cb84 Add more padding around album grid placeholder 2012-05-12 12:06:35 -07:00
Jason Herskowitz
ff18013f88 Darker grid placeholder images 2012-05-12 12:00:26 -07:00
Jason Herskowitz
3830d44a78 Add grid album placeholder icon 2012-05-12 11:36:30 -07:00
Jason Herskowitz
c89b43ac07 Add square artist image placeholder for grid view 2012-05-12 11:28:12 -07:00
Leo Franchi
42a1119cba Beginning of tomahawk-side osx handling of binary resolvers 2012-05-10 23:01:55 -04:00
Tomahawk CI
3cae004dd4 Automatic merge of Transifex translations 2012-05-10 22:16:49 +00:00
Dominik Schmidt
82b4fdafd3 Merge pull request #89 from swiftscythe/master
Improved systray behaviour
2012-05-10 12:03:50 -07:00
Adria Arrufat
641eff8472 Improved systray behaviour: Now it brings Tomahawk to front when it's not the Active App, instead of hiding it
Signed-off-by: Adria Arrufat <swiftscythe@gmail.com>
2012-05-10 20:57:24 +02:00
Alejandro Wainzinger
b2f7c5f7c5 When listening privately, don't push Adium status updates. 2012-05-08 18:13:48 -07:00
Tomahawk CI
a631afa051 Automatic merge of Transifex translations 2012-05-08 22:18:29 +00:00
Jeff Mitchell
03fbcb8790 When running as a library, don't assume that there will be a thread, and
thus a proxyfactory, for the application thread.
2012-05-08 18:11:43 -04:00
Tomahawk CI
7ea8f8aa64 Automatic merge of Transifex translations 2012-05-07 22:16:31 +00:00
Tomahawk CI
4ed1b4975f Automatic merge of Transifex translations 2012-05-06 22:16:34 +00:00
Tomahawk CI
43a55d932e Automatic merge of Transifex translations 2012-05-05 22:16:30 +00:00
Jason Herskowitz
cbd25df44d Add jump link icon for use in Now Playing area - go back to current playing list view 2012-05-05 13:01:17 -04:00
Christian Muehlhaeuser
789536c49f * Added title & description for latest special ViewPages. 2012-05-05 17:24:12 +02:00
Christian Muehlhaeuser
79c2c12631 * Added ViewPage title for TrackInfoWidget. 2012-05-05 17:13:08 +02:00
Christian Muehlhaeuser
22e05bd6ea * Fixed Last.fm plugin. 2012-05-05 17:11:23 +02:00
Christian Muehlhaeuser
7789c1ec2c * Supprt info button for Tracks. 2012-05-05 17:02:36 +02:00
Christian Muehlhaeuser
a9b3ad786c * Info button for tracks. 2012-05-05 17:02:35 +02:00
Christian Muehlhaeuser
61fb4744f3 * Added TrackInfoWidget. WIP. 2012-05-05 17:02:35 +02:00
Christian Muehlhaeuser
906e1147e5 * Support activating queries in Album (Items-)Views. 2012-05-05 17:02:35 +02:00
Christian Muehlhaeuser
f40500452b * Added query/track pages. 2012-05-05 17:02:35 +02:00
Christian Muehlhaeuser
2b139103d0 * Moved SocialActions to Query. 2012-05-05 17:02:35 +02:00
Christian Muehlhaeuser
7b801270c2 * Added queries to AlbumModel. This will be renamed to ItemModel soon. 2012-05-05 17:02:35 +02:00
Christian Muehlhaeuser
e27976c8a1 * Added DatabaseCommand_TrackStats. This will eventually be merged with PlaybackHistory. 2012-05-05 17:02:34 +02:00
Christian Muehlhaeuser
b9e772f3e3 * Added similar tracks and playback history methods to Artist. 2012-05-05 17:02:34 +02:00
Christian Muehlhaeuser
01f98ddc7f * Added similar tracks and playback history methods to Query. 2012-05-05 17:02:34 +02:00
Christian Muehlhaeuser
e95efe6f76 * Added similar tracks infosystem call. 2012-05-05 17:02:34 +02:00
Christian Muehlhaeuser
913663eef0 * Added similar tracks method to liblastfm. 2012-05-05 17:01:28 +02:00
Christian Muehlhaeuser
f59bbc111f * Also update cover when the updated() signal is emitted. This happens when we couldn't retrieve any cover. 2012-05-05 17:01:28 +02:00
Christian Muehlhaeuser
fc9a36e28e * Don't assume the current track of a remote source is always resolveable. 2012-05-05 17:01:28 +02:00
Jeff Mitchell
7b89460aa1 Do not scrobble or show current track on Last.fm when listening privately 2012-05-05 10:10:25 -04:00
Jeff Mitchell
07ba8d307c Rename LastFmPlugin to LastFmInfoPlugin for clarity 2012-05-05 10:03:15 -04:00
Tomahawk CI
a453934d08 Automatic merge of Transifex translations 2012-05-04 22:16:27 +00:00
Leo Franchi
7adb3fc737 Download binary resolver listing 2012-05-04 14:13:57 -04:00
Jeff Mitchell
9326813f3f Synchronize liblastfm structure a bit, other than src/ 2012-05-04 10:38:04 -04:00
Tomahawk CI
65bc08524e Automatic merge of Transifex translations 2012-05-03 22:16:28 +00:00
Leo Franchi
b75a575f51 Don't show spacers on osx in settings dialog 2012-05-03 14:10:04 -04:00
Jeff Mitchell
3b332d6d12 Fix up the advanced settings dialog. Make it more clear whether
UPnP/Static/LAN-only is going to be used. Use a checkbox to enable proxy
since we'll likely never support anything other than socks -- at least,
not anytime soon. Group items in a nicer fashion.
2012-05-03 13:36:23 -04:00
Leo Franchi
b1210ea43f Fix compile on clang 2012-05-03 09:12:36 -04:00
Dominik Schmidt
3a8eb34e35 Map Play key to playPause() action 2012-05-03 01:54:29 +02:00
Dominik Schmidt
697599db6c win: catch multimedia keys globally. 2012-05-03 01:33:49 +02:00
Dominik Schmidt
e74ec6ba79 Add multimedia key support on windows and linux 2012-05-03 01:33:49 +02:00
Tomahawk CI
838b802846 Automatic merge of Transifex translations 2012-05-02 22:16:23 +00:00
Jeff Mitchell
57e953409a Safety 2012-05-02 15:40:11 -04:00
Leo Franchi
5452c41760 Hide verbose accountmodel debug 2012-05-01 21:03:56 -04:00
Leo Franchi
414f553eb3 Re-enable last.fm test login button when changing fields 2012-05-01 21:03:45 -04:00
Leo Franchi
7698b2ec38 start auto updaters on start 2012-05-01 20:53:24 -04:00
Leo Franchi
04358fbafe don;t crash if username is null 2012-05-01 20:53:17 -04:00
Leo Franchi
d30e5df23e recreate scrobbler when changing credentials 2012-05-01 20:52:56 -04:00
Leo Franchi
455d7816e5 Change updaters to use QMultiHash instead of QHash 2012-05-01 20:08:38 -04:00
Jeff Mitchell
710780f3e9 Untested but relatively straightforward...add InfoShareTrack, custom message/account ability for twitter 2012-05-01 18:22:36 -04:00
Tomahawk CI
07430668d2 Automatic merge of Transifex translations 2012-05-01 22:16:26 +00:00
Leo Franchi
66b282be6c Merge branch 'multipleupdaters' 2012-04-30 22:46:34 -04:00
Leo Franchi
b5626c0b61 Update icon when deleting/removing updater 2012-04-30 22:43:26 -04:00
Leo Franchi
029dd935c9 Unregister updater from playlist on deletion 2012-04-30 22:43:12 -04:00
Leo Franchi
8392251280 remove usage of smartpointerlist 2012-04-30 22:41:37 -04:00
Leo Franchi
4b3682c1c5 Fewer crashes and bugs :) 2012-04-30 20:39:49 -04:00
Leo Franchi
b1a5626e94 add migration code 2012-04-30 18:25:37 -04:00
Tomahawk CI
32022ce209 Automatic merge of Transifex translations 2012-04-30 22:17:03 +00:00
Dominik Schmidt
c7ecacda32 FindQCA2: OSX: Add additional search path for qca from brew 2012-04-30 23:04:53 +02:00
Leo Franchi
319a03b791 fixes 2012-04-30 08:33:33 -04:00
Leo Franchi
17bcaf7369 work on multiple updaters 2012-04-29 13:40:05 -04:00
Tomahawk CI
652dd24e7d Automatic merge of Transifex translations 2012-04-28 22:17:00 +00:00
Leo Franchi
c0e627b7c6 Calculate radius and arm width with a formula to allow proper scaling 2012-04-28 17:14:05 -04:00
Leo Franchi
812bfd7ca5 Show spinner for an account while it's connecting 2012-04-28 16:29:32 -04:00
Leo Franchi
56edc1ba0c Update diagnostics dialog for accounts. Just ported over, still crappy. 2012-04-28 15:51:22 -04:00
Leo Franchi
82240ff6c1 Cleanup and move center of spinner down by 1 px 2012-04-28 15:18:04 -04:00
Leo Franchi
7b901c18a9 Show some debug output if we forcefully kill external resolvers 2012-04-27 19:39:33 -04:00
Leo Franchi
4a510b436b SHouldnt commit this 2012-04-27 19:12:39 -04:00
Leo Franchi
0677db0419 Merge branch 'mhd' 2012-04-27 19:05:05 -04:00
Leo Franchi
ab641c88e0 Clean up from working branch, disable playlist links until ready. 2012-04-27 19:04:03 -04:00
Leo Franchi
91ebe57dd2 Fix qpixmap mode of AnimatedSpinner 2012-04-27 18:58:24 -04:00
Tomahawk CI
7763a94969 Automatic merge of Transifex translations 2012-04-27 22:17:00 +00:00
Leo Franchi
65b01ffbca Port to new AnimatedSpinner 2012-04-27 17:38:43 -04:00
Leo Franchi
1d5e124b46 Fix animated spinner colors, fading, and animation 2012-04-27 17:30:31 -04:00
Leo Franchi
8d6a4335b8 Merge branch 'master' into mhd
Conflicts:
	src/AccountDelegate.cpp
	src/libtomahawk/playlist/TrackView.cpp
	src/libtomahawk/widgets/SearchWidget.cpp
2012-04-27 17:30:22 -04:00
Leo Franchi
f5873c283a Merge branch 'horus' 2012-04-27 10:37:33 -04:00
Leo Franchi
6d6ca1e94a fix style 2012-04-27 10:37:16 -04:00
Stefan Derkits
b92f7f551e move code from AudioEngine header to cpp file 2012-04-27 13:29:18 +02:00
Leo Franchi
7fc03770d0 Add proper playlist POSTing 2012-04-26 21:12:44 -04:00
Tomahawk CI
6352542793 Automatic merge of Transifex translations 2012-04-26 22:17:27 +00:00
Stefan Derkits
dab5d51952 rename slots & signals, disable Stop After Current Track in systray if track is stopped 2012-04-26 23:08:47 +02:00
Stefan Derkits
ef8306394f Merge branch 'master' of https://github.com/tomahawk-player/tomahawk 2012-04-26 22:52:07 +02:00
Dominik Schmidt
bb9906cd9a Merge pull request #87 from seezer/master
Don't break build if CMAKE_DATESTAMP_* is null
2012-04-26 05:26:41 -07:00
Stefan Derkits
a191a7648b Changed text from after this Track to after current Track, connect started signal with additional slot, check if current track is null 2012-04-26 14:08:00 +02:00
Sebastian Goth
12d627f3a7 Don't break build if CMAKE_DATESTAMP_* is null
The If-statement breaks whenever cmake substitutes TOMAHAWK_VERSION_DATE to null
2012-04-26 14:04:59 +02:00
Stefan Derkits
802fc1f39f First version of stop playback after this track also in systray context menu 2012-04-25 21:26:00 +02:00
Tomahawk CI
4535295dd6 Automatic merge of Transifex translations 2012-04-24 22:18:24 +00:00
Jeff Mitchell
24f2b29806 Fix proxying (on Qt 4.8? With current OpenSSH?) 2012-04-24 14:43:37 -04:00
Leo Franchi
696dca4af4 Sync last.fm settings to file immediately 2012-04-24 11:28:44 -04:00
Christian Muehlhaeuser
4c6f31e7c2 * Fixed a few issues with the merged code. 2012-04-24 08:35:06 +02:00
Christian Muehlhaeuser
93ad670828 * Added Artist::albums( ... ) for convenience. Removes a lot of DRY code. 2012-04-24 08:07:18 +02:00
Christian Muehlhaeuser
99e09b3b8d * Style fix. 2012-04-24 08:07:18 +02:00
Christian Muehlhaeuser
b0a1e5ffe1 * Obsolete and dangerous include. 2012-04-24 08:07:18 +02:00
Tomahawk CI
269319c15d Automatic merge of Transifex translations 2012-04-23 22:17:21 +00:00
Dominik Schmidt
fbe918dd4e Make the not-all-disconnect-reasons-checked message actually useful 2012-04-23 15:52:13 +02:00
Tomahawk CI
46bee7acd4 Automatic merge of Transifex translations 2012-04-22 22:17:05 +00:00
Jeff Mitchell
456d6f74bb Fix invalid variant conversion; need to make sure it's actually working properly, though 2012-04-22 16:57:50 -04:00
Jeff Mitchell
261aa7b677 W. T. F. Why can my simple struct no longer be serialized by QVariant.
Even adding destructor/copy constructor didn't help.
2012-04-22 16:05:14 -04:00
Jeff Mitchell
4fcfbf8e06 Semi-working ACL state. 2012-04-22 14:40:15 -04:00
Jeff Mitchell
2a24b4d239 truthiness++ 2012-04-22 13:52:12 -04:00
Leo Franchi
24ec94ed96 POST and jspf handling 2012-04-22 04:15:17 -04:00
Jeff Mitchell
9c2e17a660 Still get no output, but at least the debug looks good now, and fixed segfault on exit 2012-04-22 01:17:57 -04:00
Jeff Mitchell
931cfd8eb2 Check in interim work 2012-04-22 00:37:00 -04:00
Christian Muehlhaeuser
c630baf774 * Fixed include. 2012-04-22 02:18:43 +02:00
Jeff Mitchell
987345dd58 AND WE'RE DONE! CAMELCASE FTW!!1!1! 2012-04-21 19:49:39 -04:00
Jeff Mitchell
78d7a376bc CamelCase Round 4: Let there be light! (Less than 100 left) 2012-04-21 19:32:33 -04:00
Jeff Mitchell
b52e0d8470 CamelCase round 3: ~100 more down. 2012-04-21 19:04:04 -04:00
Jeff Mitchell
e3bdfda2ee CamelCase Round 2...FIGHT 2012-04-21 18:46:33 -04:00
Tomahawk CI
0aea363abf Automatic merge of Transifex translations 2012-04-21 22:16:29 +00:00
Jeff Mitchell
11895fc198 First batch of CamelCasing 2012-04-21 17:41:43 -04:00
Leo Franchi
a48fff23c2 Merge branch 'master' of github.com:tomahawk-player/tomahawk into mhd 2012-04-21 15:23:26 -04:00
Jeff Mitchell
e4d6b1785c I'm stupid. Put the right version first. 2012-04-21 15:18:04 -04:00
Jeff Mitchell
9373b6b312 Changelogify 2012-04-21 14:53:52 -04:00
Leo Franchi
012bc8949e Merge remote-tracking branch 'origin/master' into mhd 2012-04-21 14:42:56 -04:00
Leo Franchi
15595b741e some work 2012-04-21 14:42:52 -04:00
Jeff Mitchell
f272c5e966 Add zerconf protocol v2 2012-04-21 14:41:28 -04:00
Jeff Mitchell
9419c77069 Add a lot more acl job plumbing; it's pretty much ready to go except for
the actual drawing
2012-04-21 13:33:34 -04:00
Jeff Mitchell
50ce4d3c55 Add AclJobItem 2012-04-21 11:54:54 -04:00
Jeff Mitchell
fda71bb583 Add new role for getting item data 2012-04-21 11:54:26 -04:00
Jeff Mitchell
eb0ed267fa Make job counting generic 2012-04-21 11:43:51 -04:00
Jeff Mitchell
0b796a3085 The delegate needs a parent at creation, so send the item instead of sending the delegate over 2012-04-21 11:32:23 -04:00
Jeff Mitchell
1695b39abf Add acl job queue and custom delegate removal capability 2012-04-21 11:06:48 -04:00
Jeff Mitchell
c84cfc8bf0 RETHINK MUSIC COMMIT #1!!1!!11! Implement a way to set a custom delegate in job view items 2012-04-21 10:39:21 -04:00
Christian Muehlhaeuser
53e97e75da * Test commit. 2012-04-21 07:05:57 +02:00
Leo Franchi
ab84f6837a Add animated spinner 2012-04-21 00:01:42 -04:00
Leo Franchi
6557b3fb0f closer to working manual animated spinner 2012-04-21 00:01:21 -04:00
Leo Franchi
db07be002d Initial work on spinners for resolver download and new chasewidget 2012-04-20 18:21:20 -04:00
Tomahawk CI
6f266230f5 Automatic merge of Transifex translations 2012-04-20 22:16:23 +00:00
Leo Franchi
31c7c84b5c rm 2012-04-20 16:04:59 -04:00
Leo Franchi
f7fcfcb452 start towards info 2012-04-20 16:04:36 -04:00
Leo Franchi
ddd0af895f account dedup 2012-04-20 15:10:45 -04:00
Leo Franchi
1360d28b25 Give resolver another second to quit and terminate 2012-04-19 21:51:06 -04:00
Tomahawk CI
0bc8316319 Automatic merge of Transifex translations 2012-04-18 22:16:14 +00:00
Tomahawk CI
361fdbe31f Automatic merge of Transifex translations 2012-04-17 22:16:25 +00:00
Tomahawk CI
134fa6dffd Automatic merge of Transifex translations 2012-04-16 22:16:42 +00:00
Leo Franchi
1a45a42a86 Playlists might not be synced, but might have an updater 2012-04-16 11:30:43 -04:00
Leo Franchi
c7feb0f6f0 Only show Sync actions if user is logged in, and re-add if spotify user switches 2012-04-15 22:50:09 -04:00
Leo Franchi
46cb1f01fb Don't prompt for deleting tomahawk playlist when spotify user is switched 2012-04-15 22:42:27 -04:00
Leo Franchi
3ade68cf25 Log in to spotify if the user entered credentials and hit OK without pressing log in 2012-04-15 22:38:51 -04:00
Leo Franchi
3cbb6c426b provide a way for accounts to show an about widget, and show it for spotify 2012-04-15 22:23:16 -04:00
Leo Franchi
8942cbb9fa derichtext 2012-04-15 21:52:32 -04:00
Leo Franchi
177e0a6a80 marginally better spotify config ui 2012-04-15 21:45:20 -04:00
Leo Franchi
5a17ad2fd9 Move spotify legalese into tomahawk account dialog 2012-04-15 21:39:40 -04:00
Leo Franchi
e1c7c9df05 TWK-854: Handle deletion of synced playlist 2012-04-15 21:09:34 -04:00
Tomahawk CI
3b4c3cd36c Automatic merge of Transifex translations 2012-04-15 22:16:23 +00:00
Leo Franchi
1b99cabef9 fix deleting on exit 2012-04-15 11:14:30 -04:00
Christian Muehlhaeuser
8bac05eb97 * Simplify code. 2012-04-15 07:18:27 +02:00
Christian Muehlhaeuser
ae2b09ab4e * Fixed SocialWidget tr() call. 2012-04-15 07:15:13 +02:00
Christian Muehlhaeuser
fff849bb88 * Added new translations. 2012-04-15 07:13:57 +02:00
Leo Franchi
5feee4ba75 Fix merge oops 2012-04-15 01:00:52 -03:00
Leo Franchi
701ef5a69d Merge branch 'spotifyplaylists' 2012-04-14 23:52:08 -04:00
Leo Franchi
794bcc6fb1 dead code-- 2012-04-14 23:50:06 -04:00
Leo Franchi
64ba0b5d7c fix some UI glitches with spotify playlist list 2012-04-14 23:50:05 -04:00
Leo Franchi
255cef8092 remove updater from settings when changing user 2012-04-14 22:46:30 -04:00
Leo Franchi
a99b35e11b always show proper credentials, update playlist when updater is removed 2012-04-14 22:36:07 -04:00
Leo Franchi
d61a99629f Rework spotify UI a bit for greater clarity 2012-04-14 22:09:22 -04:00
Tomahawk CI
7ccccae722 Automatic merge of Transifex translations 2012-04-14 22:16:15 +00:00
Leo Franchi
4d02b9945d only save diretory if user actually chose one 2012-04-14 16:50:15 -04:00
Leo Franchi
d2f6a65eb5 save/restore folder when loading playlists 2012-04-14 15:07:46 -04:00
Leo Franchi
08a15f0acb Don't tweet on love 2012-04-14 14:57:44 -04:00
Leo Franchi
d9f690d9d6 Merge remote-tracking branch 'origin/master' into spotifyplaylists
Conflicts:
	src/libtomahawk/accounts/Account.cpp
	src/tomahawkapp.cpp
2012-04-14 13:10:06 -04:00
Leo Franchi
c4a9dd6b32 Fix position when moving 2012-04-14 13:07:33 -04:00
Leo Franchi
4ec0117c43 Send tracks moved to spotify 2012-04-14 11:44:27 -04:00
Leo Franchi
b7b5e60f98 notifications for track moved 2012-04-13 23:06:39 -04:00
Leo Franchi
8069baf911 support moving to beginning 2012-04-13 22:05:25 -04:00
Leo Franchi
df37fd42fd try re-setting m_entries on new playlist revision instead of adding new/removing old only 2012-04-13 21:34:26 -04:00
Leo Franchi
f72e123140 Handle moves from spotify (doesn't show up till a restart) 2012-04-13 19:58:57 -04:00
Tomahawk CI
ba064206c4 Automatic merge of Transifex translations 2012-04-13 22:16:23 +00:00
Casey Link
a542797038 Fix NewReleases loading bug by using the new generic cache 2012-04-13 16:21:39 -05:00
Casey Link
0cf9a26004 If we can't retrieve source list from cache, re-fetch. 2012-04-13 16:15:44 -05:00
Casey Link
a6754e7467 Fix charts on subsequent starts by caching the list of sources. 2012-04-13 16:09:12 -05:00
Casey Link
6e51739ec9 Add stream operators for CacheData 2012-04-13 16:09:12 -05:00
Casey Link
c46c9bba8e Add some debug to the generic cache 2012-04-13 16:09:12 -05:00
Casey Link
613d40a605 Store the correct lifetime for cache data. 2012-04-13 16:09:12 -05:00
Casey Link
4b6eadd956 Add documentation to cache 2012-04-13 16:09:12 -05:00
Casey Link
c6beda5a7b Add a Cache mutex to protect shared data 2012-04-13 16:09:12 -05:00
Casey Link
67d943bce3 Rename TomahawkUtils::TomahawkCache to TomahawkUtils::Cache 2012-04-13 16:09:12 -05:00
Casey Link
08fa4bacd1 New TomahawkCache utility class.
A simple, generic cache utility that various bits and bobs can use.
2012-04-13 16:09:12 -05:00
Leo Franchi
bc443d25ac save new title 2012-04-13 16:01:35 -04:00
Leo Franchi
78be0b75fe oops not meant to commit that... 2012-04-13 13:48:17 -04:00
Leo Franchi
7169c6d070 Queue up spotify db ops if playlist is busy, otherwise we hit a race condition 2012-04-13 13:47:12 -04:00
Hugo Lindström
78a8c3cfc4 Initial syncstate removal on userchange 2012-04-13 09:06:26 +02:00
Tomahawk CI
68d2cb38de Automatic merge of Transifex translations 2012-04-12 22:17:09 +00:00
Hugo Lindström
332e9c0448 Output friendly errors 2012-04-12 19:12:45 +02:00
Hugo Lindström
0eafeb995d Added ErrorJob 2012-04-12 18:04:51 +02:00
Hugo Lindström
2a44de8641 Prepare for JobStatus 2012-04-12 17:48:20 +02:00
Leo Franchi
c1a7c63f03 Ask to delete a playlist on spotify side when deleting a synced playlist 2012-04-12 09:09:09 -04:00
Leo Franchi
6a24d8ebf5 fixes for handling createPlaylist command 2012-04-11 21:34:53 -04:00
Jeff Mitchell
add5bdf8de Add assert to make it obvious during development if an info plugin is not in the right thread, thanks Leo for the suggestion 2012-04-11 20:34:58 -04:00
Casey Link
90d3661c52 Bring back the right-arrow that segments the breadcrumbs 2012-04-11 18:44:09 -05:00
Casey Link
6c4e6725b4 Remove unused cruft 2012-04-11 18:44:09 -05:00
Casey Link
78192cc752 Simplify new releases ui 2012-04-11 18:44:09 -05:00
Jeff Mitchell
d93c45fd1e Since we're increasingly using toma.hk, make sure people understand that the option is recommended 2012-04-11 18:29:45 -04:00
Tomahawk CI
066a7a2660 Automatic merge of Transifex translations 2012-04-11 22:16:57 +00:00
Casey Link
548aa1a194 First pass at new releases widget 2012-04-11 16:14:50 -05:00
Casey Link
69d1450b5c Implement New Releases info plugin
Heavily based off existing charts info plugin, refactoring and consolidating
can be done later.
2012-04-11 16:06:30 -05:00
Casey Link
066c387ae9 Update charts info plugin to use the new API
This changes from the /source/billboard/chart/top100 style of uri
resource naming to /charts/billboard/top100. The server side changes
have been live for several weeks.
2012-04-11 15:58:57 -05:00
Jason Herskowitz
72df118216 Add New Releases icon for sidebar 2012-04-11 16:05:20 -04:00
Jeff Mitchell
556c0b0767 Merge branch 'twitterinfo' 2012-04-11 15:25:25 -04:00
Jeff Mitchell
511d353cc6 Somehow, who knows how, passing a QImage to the FDO notification spec
crashes some X servers, but saving the QImage to a file as a PNG,
loading it back from the file as a PNG, and passing that QImage is
totally cool. Wut.
2012-04-11 15:22:34 -04:00
Leo Franchi
ffe810349b Merge pull request #85 from nowrep/master
Fixed position of context menu in ArtistView and TrackView
2012-04-11 10:44:00 -07:00
nowrep
f42aca9a02 Fixed position of context menu in ArtistView and TrackView
- using viewport()->mapToGlobal() as QTreeView is subclass of
  QAbstractScrollArea
2012-04-11 19:27:12 +02:00
Jeff Mitchell
64fbd23008 Use returned notification ID instead of static version. Thanks to David Rosca <nowrep@gmail.com> for the fix 2012-04-11 12:54:56 -04:00
Jason Herskowitz
9db33b7fb6 New social share icon in now playing controls 2012-04-11 12:18:19 -04:00
Jeff Mitchell
75d1ab7bbe Make now-playing FDO notifications reuse, and fix a logic bug in audioengine that would cause missed notifictions 2012-04-11 11:32:29 -04:00
Leo Franchi
4871b6b76c Merge remote-tracking branch 'origin/master' into spotifyplaylists
Conflicts:
	src/libtomahawk/globalactionmanager.cpp
2012-04-11 10:24:02 -04:00
Jeff Mitchell
28c76e73bd Merge remote-tracking branch 'origin/master' into twitterinfo 2012-04-11 09:55:56 -04:00
Jeff Mitchell
3ea581c4f8 Maybe fix cover temp file writing 2012-04-11 09:55:48 -04:00
Jeff Mitchell
7284a53d0f Move Jreen bits in xmpp info plugin to the SIP side, allowing the plugin to run in the correct thread. 2012-04-11 08:19:10 -04:00
Christian Muehlhaeuser
c5eb71d0de * Small tweaks to the SocialWidget. 2012-04-11 07:35:01 +02:00
Christian Muehlhaeuser
06fbb9e0dc * Added SocialWidget, tweet or share your latest music obsessions. 2012-04-11 07:14:42 +02:00
Christian Muehlhaeuser
e33923c63f Merge pull request #83 from excieve/master
"xesam:artist" MPRIS2 type change
2012-04-10 15:37:58 -07:00
Jeff Mitchell
2b09915a0d Convert sip plugin to a weak pointer so we can check its validity before running invokeMethod on it 2012-04-10 18:36:35 -04:00
Tomahawk CI
35c56395da Automatic merge of Transifex translations 2012-04-10 22:16:55 +00:00
Jeff Mitchell
619373c2e5 Make lastfm/xmpp info plugins more robust 2012-04-10 18:16:14 -04:00
Jeff Mitchell
43806aec62 Remove album from love action 2012-04-10 17:59:23 -04:00
Jeff Mitchell
54aef2cd2e More work towards cleaning up and making safer the info plugins. Twitter should be pretty good, but need to make lastfm and xmpp use the same paradigm 2012-04-10 17:58:34 -04:00
Artem Gluvchynsky
4b38bbff30 Changed xesam:artist to a list of strings according to the Xesam spec 2012-04-11 00:19:08 +03:00
Jeff Mitchell
4eaff7a45f Get rid of double-additions of info plugins. Still not sure why it doesn't seem to delete itself. 2012-04-10 12:43:47 -04:00
Jeff Mitchell
25fba84b32 This should hopefully get rid of the messages about parent being in the wrong thread 2012-04-09 23:52:06 -04:00
Leo Franchi
042b27ea83 tomahawk side of creating a newly synced playlist 2012-04-09 23:01:03 -04:00
Leo Franchi
f51f5e4d59 remove associated actions when deleting spotify account 2012-04-09 22:20:49 -04:00
Jeff Mitchell
4c5855c95d Add twitter info plugin. Still needs some work -- when it should delete
itself (for instance if you disable the plugin and re-enable) it doesn't
seem to, leading to twitter complaining about duplicate statuses. Also
get a message about creating children for parent in different thread.

Along the way, made lastfm plugin correctly switch to the right thread
for the info plugin, fix a couple bugs (such as loving and unloving
using the same type), and so on.

Need to fix up xmpp info plugin to use the correct thread as well.

Also, right now tweets indiscriminately when you love, should turn that
off before merging to master.
2012-04-09 20:50:10 -04:00
Tomahawk CI
6a88aefadc Automatic merge of Transifex translations 2012-04-09 22:16:19 +00:00
Jason Herskowitz
feedb1450c Make capitalization of Stop Playback after this Track consistent with other context menu items 2012-04-09 14:46:42 -04:00
Jeff Mitchell
bfdc7a3d67 Fix Adium plugin with updated notfications 2012-04-09 13:11:35 -04:00
Jeff Mitchell
80a1009aa2 Update text in notification 2012-04-09 12:52:43 -04:00
Jeff Mitchell
bb0e24f074 Fix up xmpp info plugin. This plugin respects private listening
settings, since unlike mpris and fdo it isn't designed to display
locally
2012-04-09 12:19:25 -04:00
Jeff Mitchell
b6cd43d25f Vastly simplify mpris plugin by getting rid of unnecessary info system call 2012-04-09 12:03:12 -04:00
Jeff Mitchell
b0e8fd33ce Merge branch 'master' into notificationcleanup 2012-04-09 11:37:30 -04:00
Leo Franchi
3cb079b014 crash fix and only show spotify sync context menu for local playlists 2012-04-09 09:41:26 -04:00
Dominik Schmidt
651bde6b4a Don't make the context menus transparent as well. Thanks to nowrep for the hint 2012-04-09 12:45:39 +02:00
Leo Franchi
03c57d3a0f Add spotify context menu action for local playlists
This also adds a generic way for runtime components to register actions to
be shown for a certain category of items (e.g. playlists, tracks, artists, etc).
Initiating a sync from Tomahawk is still a TODO
2012-04-08 22:43:11 -04:00
Leo Franchi
6ffaa1450e safer 2012-04-08 20:29:39 -04:00
Jeff Mitchell
ca375bcc76 Remove privacy for mpris; we want to keep local info updated, it's up to the user to configure how programs proxy mpris information 2012-04-08 20:07:07 -04:00
Leo Franchi
1dda0371b5 Merge remote-tracking branch 'origin/master' into spotifyplaylists 2012-04-08 20:05:43 -04:00
Leo Franchi
1b445934a8 Work on the tomahawk side of spotify syncing. bugfixes and new UI indicators 2012-04-08 20:05:20 -04:00
Jeff Mitchell
3f39b0a95f Some cleanup 2012-04-08 19:52:17 -04:00
Jeff Mitchell
8bb31492e4 Merge branch 'master' into notificationcleanup 2012-04-08 19:31:31 -04:00
Jeff Mitchell
41a3cea05e Fix CPU usage due to fader 2012-04-08 19:30:28 -04:00
Jeff Mitchell
c6b5ea0380 Covers aren't showing up now...but at least we're not pegging CPU. Will continue to fix in a bit 2012-04-08 18:30:37 -04:00
Tomahawk CI
712805f5b0 Automatic merge of Transifex translations 2012-04-08 22:16:06 +00:00
Leo Franchi
1a6f96caaf don't delete a playlist if we don't have an updater for it or if it's already deleted 2012-04-08 16:11:43 -04:00
Jeff Mitchell
789a93dbe9 Make changes to audiocontrols fader to better handle transitions to/from default cover 2012-04-08 15:33:44 -04:00
Jeff Mitchell
7914fc9551 Initial work on notification cleanup 2012-04-08 14:36:06 -04:00
Jeff Mitchell
8a85b8bbc6 Fix changing connect status 2012-04-08 11:31:11 -04:00
Leo Franchi
a80929e52f Merge remote-tracking branch 'origin/master' into spotifyplaylists 2012-04-08 10:00:55 -04:00
Jeff Mitchell
ff3770a464 Use shared timeline for pixmapdelegatefader. 2012-04-08 09:49:39 -04:00
Jeff Mitchell
546abf4a6d Wrote this SharedTimeLine thing, then converted the wrong class to use it, oops. Seems to work perfectly, though, so might as well use it. 2012-04-07 21:17:53 -04:00
Leo Franchi
cfcdbbb728 Refactor playlist updater system to make it more generic
Updaters aren't necessarily timer-based, and each updater provides its own
configuration widget, as a checkbox might not always make sense
2012-04-07 19:13:38 -04:00
Leo Franchi
30791e9bdc less debug 2012-04-07 19:13:38 -04:00
Jeff Mitchell
4e01387eb9 I can't think of any reason that removing this wasn't a mistake, so I'm
putting it back
2012-04-07 18:57:43 -04:00
Jeff Mitchell
09ee426710 Because I am a moron, I didn't take the opportuniy when last futzing
with pushInfo to change things to a struct like I did on the pull side.
Now I'm fixing that mistake, which makes future changes to push data
far, far easier.
2012-04-07 18:51:20 -04:00
Tomahawk CI
de3b8c794b Automatic merge of Transifex translations 2012-04-07 22:16:10 +00:00
Christian Muehlhaeuser
94d97a1029 * Updated README url. 2012-04-07 19:19:47 +02:00
Hugo Lindström
af1a8ea8b4 fix missing ref 2012-04-07 10:51:45 +02:00
Hugo Lindström
d82df7f00d cleanup 2012-04-07 10:34:03 +02:00
Hugo Lindström
570171bddd emit rename signal and update spotify playlistname 2012-04-07 10:24:03 +02:00
Christian Muehlhaeuser
67d1e6e97c * Updated ChangeLog. 2012-04-07 10:03:28 +02:00
Christian Muehlhaeuser
dfa2a80d82 * Work-around VLC bug: reset volume when resuming. 2012-04-07 09:55:08 +02:00
Christian Muehlhaeuser
9d77f20710 * Boundaries are set by QSlider already. 2012-04-07 09:55:08 +02:00
Christian Muehlhaeuser
6d003028c3 * Don't update seek slider too often, use less cpu. 2012-04-07 09:55:08 +02:00
Leo Franchi
1f1f0d5bda debug-- 2012-04-06 22:45:12 -04:00
Leo Franchi
662ee55514 Hook up "delete tomahawk playlist when stopping sync" option 2012-04-06 22:44:09 -04:00
Leo Franchi
d154c141fb Compile 2012-04-06 21:23:21 -04:00
Leo Franchi
e4b90e6305 Don't create a timer with a 0ms timeout, that's not nice 2012-04-06 21:22:51 -04:00
Leo Franchi
fd81151996 Merge branch 'master' into spotifyplaylists 2012-04-06 20:03:02 -04:00
Hugo Lindström
6a6e2754c4 Also rename playlist if renamed in spotify. Todo: Both ways 2012-04-07 00:35:39 +02:00
Jeff Mitchell
ebd59724a5 Be a bit more explicit when connecting 2012-04-06 18:33:09 -04:00
Tomahawk CI
678ad2649f Automatic merge of Transifex translations 2012-04-06 22:16:10 +00:00
Jeff Mitchell
514d399f6b Bump cache version; put back in its proper place, and put in a better place in headless 2012-04-06 18:06:50 -04:00
Leo Franchi
9d88f16aa4 don't call artist->cover more than we need to 2012-04-06 17:21:26 -04:00
Jeff Mitchell
2a6a4c0252 Revert "Be a bit smarter about when we consider info loaded and updated"
This reverts commit 0c308b850d.
2012-04-06 17:17:43 -04:00
Jeff Mitchell
0c308b850d Be a bit smarter about when we consider info loaded and updated 2012-04-06 16:51:25 -04:00
Leo Franchi
55d80eb547 fix logic fail 2012-04-06 15:14:58 -04:00
Jeff Mitchell
110824bb06 Now that Jreen is fixed update signature 2012-04-06 15:03:08 -04:00
Leo Franchi
3b21c91a97 Allow specifying which type of cover image is requested 2012-04-06 14:56:31 -04:00
Leo Franchi
58adc470ce const ref'ify 2012-04-06 14:56:31 -04:00
Leo Franchi
2be9dfc45b Don't ask the infosystem for the same item data more than once racily 2012-04-06 14:56:31 -04:00
Jason Herskowitz
1a7f2cc070 Add volume fix to changelog 2012-04-06 08:35:19 -03:00
Leo Franchi
84773f7956 Add fading to various custom large track delegates and support query in fader 2012-04-05 23:31:48 -04:00
Leo Franchi
155cccb109 add fading to track charts 2012-04-05 23:31:21 -04:00
Leo Franchi
30e239c311 Don't load covers till scrolling stops in the treeview 2012-04-05 22:37:15 -04:00
Leo Franchi
f1aa7b6d28 Add fading for artist/albums in treeview as well 2012-04-05 22:24:25 -04:00
Leo Franchi
6c48be2563 Don't fade in to default covers 2012-04-05 22:05:42 -04:00
Leo Franchi
caf77a0935 debug-- 2012-04-05 21:25:15 -04:00
Leo Franchi
6af93841cb Try out some fading for album covers 2012-04-05 21:24:11 -04:00
Tomahawk CI
396f332d55 Automatic merge of Transifex translations 2012-04-05 22:16:30 +00:00
Jeff Mitchell
624e95a97b Clear status on Tomahawk startup since we can't currently clear it on
shutdown
2012-04-05 13:13:28 -04:00
Jeff Mitchell
3b9fb2c7eb Fix compile on OSX 2012-04-05 10:17:40 -04:00
Jeff Mitchell
8ba61f5496 Modify pushInfo interface to allow flags. These flags can be coded to
add extra common information for all consuming plugins. So far, a
shorturl flag has been added, making a short url available to all
plugins. I wasn't able to check this on OSX, so it might need a small
amount of touching up.
2012-04-04 21:37:34 -04:00
Leo Franchi
e147bf4861 some safety 2012-04-04 18:22:32 -04:00
Tomahawk CI
5fc54a7e4c Automatic merge of Transifex translations 2012-04-04 22:16:22 +00:00
Christian Muehlhaeuser
4ad1efbcf5 * Fixed crash in AudioControls. 2012-04-04 16:41:27 +02:00
Jason Herskowitz
caf2d18708 Change Account preference icon to a more generic Services icon and make color of preference icons match new gray 2012-04-03 22:17:03 -04:00
Jason Herskowitz
80e433abe0 Make placeholder avatar use same blue gray 2012-04-03 21:46:26 -04:00
Jason Herskowitz
464a32f35d Use different icon for collection in sidebar but don't change all the other instances that used drop-track.png 2012-04-03 20:54:10 -04:00
Christian Muehlhaeuser
b136eedc8b * Merged ChangeLog. 2012-04-04 02:45:58 +02:00
Christian Muehlhaeuser
97f2bb601f * Fixed spacing. 2012-04-04 02:45:02 +02:00
Jason Herskowitz
90e1af331b Tweak colors of footnote and queue headers to match palette of new playlist header 2012-04-03 18:16:55 -04:00
Tomahawk CI
cef3e7fac7 Automatic merge of Transifex translations 2012-04-03 22:16:14 +00:00
Leo Franchi
22e53172eb add metatype declaration 2012-04-03 09:54:48 -04:00
Leo Franchi
ee4dcc3892 Merge remote-tracking branch 'origin/master' into spotifyplaylists 2012-04-03 09:43:01 -04:00
Leo Franchi
f1c33bd67c fix our direct copy of clementine's closure class too 2012-04-03 08:32:06 -04:00
Tomahawk CI
1161ab2095 Automatic merge of Transifex translations 2012-04-02 22:16:08 +00:00
Christian Muehlhaeuser
c8743cd0e0 * Fixed non debug builds. 2012-04-02 17:41:26 +02:00
Leo Franchi
cc7ecc6795 allow updating playlist metadata 2012-04-02 09:41:35 -04:00
Christian Muehlhaeuser
e9db3ed319 * We are always on CMake >2.8.3. 2012-04-02 04:02:19 +02:00
Tomahawk CI
a40813c3b8 Automatic merge of Transifex translations 2012-04-02 01:50:50 +00:00
Tomahawk CI
6c45806fbe Automatic merge of Transifex translations 2012-04-02 01:37:21 +00:00
Christian Muehlhaeuser
bfc99e1af9 * Fixed about dialog for non debug releases. 2012-04-02 03:20:00 +02:00
Dominik Schmidt
1cd134d6b0 Add transiflex repo config 2012-04-02 04:38:13 +02:00
Leo Franchi
a80db298c0 TWK-762: Don't crash when exiting during indexing 2012-04-01 20:33:15 -04:00
Leo Franchi
a4c805b122 Save spotify ids we get returned from resolver after adding tracks 2012-04-01 14:58:59 -04:00
Leo Franchi
83a35fe3aa TWK-815: Lets not copy and paste the same code in 3 places and only fix it in one :) 2012-04-01 13:43:06 -04:00
Leo Franchi
57e36d5d01 Update translation, thanks neycho! 2012-04-01 13:06:54 -04:00
Leo Franchi
eeddd067ea Merge remote-tracking branch 'origin/master' into spotifyplaylists
Conflicts:
	resources.qrc
2012-04-01 12:56:24 -04:00
Jason Herskowitz
3f65e2b73c Gray squares playlist header. Thoughts? 2012-03-31 18:22:49 -04:00
Leo Franchi
266e7bed8b wider version of header for less tiling 2012-03-31 17:40:47 -04:00
Leo Franchi
47b1990eeb Try out a background pixmap for the infobar. What do people think? 2012-03-31 17:32:25 -04:00
Dominik Schmidt
b32f5c4904 Bump required Jreen version 2012-03-31 23:07:22 +02:00
Dominik Schmidt
bc76ce550c xmpp: Add checkbox for enforcing secure connections 2012-03-31 22:09:09 +02:00
Jeff Mitchell
4960e68208 Less CPU usage when updating time, hopefully 2012-03-31 13:39:14 -04:00
Jeff Mitchell
74ef12268e See if this fixes Chris' time-updating problem 2012-03-31 13:04:48 -04:00
Leo Franchi
676bf7f6d7 Don't block next update on delete from spotify 2012-03-31 12:18:53 -04:00
Leo Franchi
42d488eaac Uncomment assert for now 2012-03-31 11:44:49 -04:00
Leo Franchi
059d0374c6 Merge branch 'master' into spotifyplaylists
Conflicts:
	src/accounts/lastfm/lastfmplugin.h
	src/libtomahawk/playlist.h
	src/libtomahawk/resolvers/scriptresolver.cpp
	src/main.cpp
	src/tomahawkapp.h
2012-03-31 11:44:39 -04:00
Leo Franchi
5d09ff81fb Update bulgarian translation from neycho 2012-03-31 10:35:50 -04:00
Leo Franchi
d43db27ce0 Merge branch 'stable' 2012-03-31 10:27:31 -04:00
Leo Franchi
5dcf426cdf TWK-770: Fix echonest sentence summary grammar 2012-03-31 10:03:53 -04:00
Leo Franchi
5b6c4560ae TWK-785: Rename playlist after revision is created so plitem is selectable 2012-03-31 09:53:47 -04:00
Leo Franchi
fec670f27c TWK-793: Let the sourcetreeview sort before we scroll otherwise we might scroll the wrong amount 2012-03-31 09:26:30 -04:00
Leo Franchi
fb13ccd285 Oops, fix signals/slot params 2012-03-31 09:26:07 -04:00
Leo Franchi
b3b70cea82 TWK-795: Filter dups from last.fm top artists 2012-03-31 09:05:14 -04:00
Leo Franchi
f84d08e011 Don't sort related artists in footnotes 2012-03-31 08:49:18 -04:00
Christian Muehlhaeuser
7403713d98 * Only connect to InfoSystem on demand. 2012-03-31 08:44:07 +02:00
Christian Muehlhaeuser
e049dcd6af * Added global Recently Played page. 2012-03-31 07:53:47 +02:00
Christian Muehlhaeuser
1af928790e * Fixed delegate for latest additions. 2012-03-31 07:36:53 +02:00
Christian Muehlhaeuser
48d66649b1 * Forgot those files. 2012-03-31 07:18:01 +02:00
Christian Muehlhaeuser
c054d07110 * Fading covers in AudioControls. 2012-03-31 07:15:11 +02:00
Christian Muehlhaeuser
f0f9e6847b * Make stop-after-track better. 2012-03-31 06:38:38 +02:00
Christian Muehlhaeuser
b9c61952a6 * Fixed PlaylistLargeItemDelegate. 2012-03-31 05:48:15 +02:00
Christian Muehlhaeuser
c3e3944421 * Added stop-after-track context menu entry. 2012-03-31 05:17:15 +02:00
Leo Franchi
eddaec701b Merge pull request #79 from krf/make-compile-on-arm
Make compile on arm
2012-03-30 15:23:45 -07:00
Kevin Funk
87086e5278 Make compile on ARM (related to breakpad)
Make breakpad optional, add options
Same for CrashReporter - both don't work on ARM.
2012-03-31 00:20:14 +02:00
Leo Franchi
9c5966000c TWK-799: Don't set autoupdate when loading playlist view 2012-03-30 17:47:28 -04:00
Leo Franchi
b49d810f01 Merge branch 'stable'
Conflicts:
	src/libtomahawk/CMakeLists.txt
	src/libtomahawk/playlist/treemodel.cpp
	src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.cpp
	src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.h
	src/tomahawkapp.cpp
2012-03-30 17:29:34 -04:00
Leo Franchi
79bfdec895 TWK-798: Start playing first resolvable track when double-clicking on a playlist item 2012-03-30 17:14:08 -04:00
Christian Muehlhaeuser
d8be1fa224 * Merged neycho's bg translation. 2012-03-30 23:00:37 +02:00
Leo Franchi
948a438ff2 Remove autoconnect hidden toggle 2012-03-30 15:01:38 -04:00
Leo Franchi
9f5215302c various updater fixes 2012-03-30 14:32:01 -04:00
Leo Franchi
73d7ba03f5 TWK-815: Try using foreground text color when drawing grey bg, white on grey is hard to read 2012-03-30 13:34:48 -04:00
Leo Franchi
d623bbefc2 Fix crash on exit 2012-03-30 13:27:36 -04:00
Leo Franchi
907dad95e1 TWK-721: Don't flicker from officialtracks to supercollection tracks.
If the second infosystem albumtracks request comes back empty but the first one
came back with tracks, this is not a failure and so keep the official tracks
2012-03-30 12:09:59 -04:00
Leo Franchi
cdb70b05d2 Cleanups 2012-03-30 11:25:51 -04:00
Leo Franchi
565217a53a TWK-725: Some extra pointer safety 2012-03-30 10:42:11 -04:00
Christian Muehlhaeuser
bee6485475 * Fixed crash situation in AudioControls.
(cherry picked from commit a2bfd73d55)

Conflicts:

	src/audiocontrols.cpp
2012-03-30 10:31:07 -04:00
Christian Muehlhaeuser
ace18dfa1f * Prevent race condition.
(cherry picked from commit ebbedb2b99)
2012-03-30 10:30:29 -04:00
Christian Muehlhaeuser
95f1162b6e * Fixed cached resolving.
(cherry picked from commit bd098e3ff2)
2012-03-30 10:30:09 -04:00
Christian Muehlhaeuser
e5bdd2242f * Fixed race condition during resolving.
(cherry picked from commit b70114a225)
2012-03-30 10:30:01 -04:00
Christian Muehlhaeuser
deb0eb819c * Fetch square covers from Last.fm.
(cherry picked from commit d5aed7b6df)
2012-03-30 10:29:48 -04:00
Jeff Mitchell
04864c7d79 Set scanning threads idle priority
(cherry picked from commit 5a57e285ec)
2012-03-30 10:28:04 -04:00
Leo Franchi
0dc0067450 some cleanups 2012-03-29 23:28:09 -04:00
Christian Muehlhaeuser
a4421df9e9 * Potential fix for rotzbouw's weird crash. 2012-03-29 19:02:06 +02:00
Christian Muehlhaeuser
47774c3894 * Add polish to our released languages. All translations could do with an update now. 2012-03-29 18:04:57 +02:00
Jeff Mitchell
43c4daa4e3 Change wording 2012-03-29 10:41:16 -04:00
Jeff Mitchell
fc95cee6ce Dynamically enable/disable the web API, and change the wording for the option to make it more enticing 2012-03-29 10:41:14 -04:00
Leo Franchi
f39e9621a0 Uncomment out, oops 2012-03-28 21:39:17 -04:00
Leo Franchi
704c736046 more fixes 2012-03-28 18:23:41 -04:00
Kevin Funk
0d8a8038b7 Compile fix for ARM
Not sure why this is needed, but without this the tomahawk binary fails
to link.

Error:
`.LTHUNK9' referenced in section
`.text._ZN21AccountFactoryWrapperD1Ev[AccountFactoryWrapper::~AccountFactoryWrapper()]'
of CMakeFiles/tomahawk.dir/tomahawk_automoc.cpp.o: defined in discarded
section
`.text._ZN21AccountFactoryWrapperD2Ev[_ZN21AccountFactoryWrapperD5Ev]'
of CMakeFiles/tomahawk.dir/tomahawk_automoc.cpp.o
collect2: ld returned 1 exit status
make[2]: *** [tomahawk] Error 1
2012-03-28 23:45:48 +02:00
Jeff Mitchell
38ea9653a0 Change wording 2012-03-28 14:20:29 -04:00
Jeff Mitchell
eebf5dfe07 Dynamically enable/disable the web API, and change the wording for the option to make it more enticing 2012-03-28 14:17:27 -04:00
Dominik Schmidt
ba46795749 Merge branch 'stable'
Conflicts:
	src/libtomahawk/result.cpp
	src/libtomahawk/utils/tomahawkutils.cpp
	src/settingsdialog.cpp
	src/sip/twitter/tomahawkoauthtwitter.cpp
	src/sip/twitter/tomahawkoauthtwitter.h
2012-03-28 17:37:16 +02:00
Dominik Schmidt
fff8fbfe80 win: fix qca2 usage/grooveshark 2012-03-28 17:23:27 +02:00
Dominik Schmidt
00dade5460 YES, I GOT IT. I'M SURE. 2012-03-28 15:44:03 +02:00
Dominik Schmidt
301c1d21fe Make publishing the user tune optional 2012-03-28 15:34:51 +02:00
Dominik Schmidt
bac82c0abf Add missing return 2012-03-28 15:03:40 +02:00
Dominik Schmidt
8e0f44a374 Add XmppInfoPlugin for updating the user tune 2012-03-28 14:38:59 +02:00
Christian Muehlhaeuser
5593c134cd * Reorder toma.hk parameters to match website order. 2012-03-28 07:06:10 +02:00
Leo Franchi
f414e92b74 Keep track of spotify IDs of tracks in a synced playlist and update to id api 2012-03-27 23:07:58 -04:00
Leo Franchi
02ff39f595 Merge branch 'master' into spotifyplaylists
Conflicts:
	src/libtomahawk/utils/xspfloader.cpp
2012-03-27 17:49:02 -04:00
Leo Franchi
eec8b76de0 fix xspf auto-updating
(cherry picked from commit c54ca78769)
2012-03-27 11:27:07 -04:00
Leo Franchi
68f03dbd13 autoupdate fixes: init on creation, and every 10 not 100 mins
(cherry picked from commit ff04ab3b92)
2012-03-27 11:27:03 -04:00
Leo Franchi
c54ca78769 fix xspf auto-updating 2012-03-27 11:26:33 -04:00
Leo Franchi
ff04ab3b92 autoupdate fixes: init on creation, and every 10 not 100 mins 2012-03-27 10:30:37 -04:00
Leo Franchi
cb484a2058 Merge remote-tracking branch 'origin/master' into spotifyplaylists
Conflicts:
	admin/mac/macdeploy.py
2012-03-26 12:26:09 -04:00
Leo Franchi
1bd7d37a0a eh 2012-03-25 09:58:09 -04:00
Jason Herskowitz
f41872540d Tweak recently played icon to give more padding 2012-03-24 20:23:20 -04:00
Leo Franchi
4dabbdf247 Disable ref work for now 2012-03-24 17:57:36 -04:00
Leo Franchi
4392e34882 Notify of tracks inserted also when dropped on sidebar item 2012-03-24 16:22:27 -04:00
Leo Franchi
aec6b557a6 fix adding hopefully 2012-03-23 18:38:29 -04:00
Leo Franchi
dddeb9e9a7 Some tomahawk-side fixes to playlist syncing. Removing works, adding not yet. 2012-03-23 18:11:36 -04:00
Jeff Mitchell
3c485949b6 Major restructuring to how ACLs will work. Disable dialog box again, for
now.
2012-03-22 17:57:57 -04:00
Leo Franchi
27978e5cd3 Now that vlc plugins are in Frameworks/vlc/plugins, we can rename plugins to PlugIns to retain case-sensitive compatibility on osx 2012-03-22 14:39:20 -04:00
Leo Franchi
fa49dde51a Merge remote-tracking branch 'origin/master' into spotifyplaylists 2012-03-22 10:36:45 -04:00
Leo Franchi
6d56d4350a Merge branch 'master' into spotifyplaylists
Conflicts:
	src/libtomahawk/playlist.cpp
	src/libtomahawk/playlist.h
2012-03-22 10:36:34 -04:00
Jeff Mitchell
a4ff57fafb Add some safety...since m_waitingForResolved won't die on an invalid object, use it to determine whether to disconnect, since there should be a 1:1 correlation 2012-03-20 14:40:54 -04:00
Jeff Mitchell
8fa4252fd6 Move the ACL check to Connection...hopefully this will work around a Qt socket crash 2012-03-20 12:48:46 -04:00
Leo Franchi
753e1b3c90 aFix crash in dragging artist, don't assume AlbumModel only contains albums as it's hacked to also contain artists.
(cherry picked from commit 68d541d2e8)
2012-03-20 11:29:30 -04:00
Leo Franchi
68d541d2e8 aFix crash in dragging artist, don't assume AlbumModel only contains albums as it's hacked to also contain artists. 2012-03-20 11:28:45 -04:00
Leo Franchi
75e9deabc4 Fix test when timeout fails 2012-03-19 23:59:22 -04:00
Leo Franchi
d6c7e7f57b Add WIP test login button for spotify 2012-03-19 23:55:44 -04:00
Leo Franchi
e828dadec8 All QSharedPointers used in different threads need deleteLater as custom deleter. This is some of them.
(cherry picked from commit e3f5605c4e)
2012-03-19 22:24:41 -04:00
Leo Franchi
6e929986cb A bit of extra safety
(cherry picked from commit 2a58d53145)
2012-03-19 22:22:28 -04:00
mack-t
e1b086e3a4 Add albumpos, discnumber and score information from tomahawk resolver
(cherry picked from commit 21eeab61d8)
2012-03-19 22:20:32 -04:00
Leo Franchi
27147a0140 Guard against null sharedptr that shouldn't be null anyway -.- 2012-03-19 22:20:07 -04:00
Leo Franchi
b8d3b3bc5f TWK-768: Enable xmlconsole by adding an xmlconsole arg to the settings for an account 2012-03-19 22:19:03 -04:00
Leo Franchi
b18f926fa5 TWK-744: Add individual account toggles in factory wrapper delegate 2012-03-19 22:06:46 -04:00
Leo Franchi
bf0b104d27 Guard against null sharedptr that shouldn't be null anyway -.- 2012-03-19 21:25:38 -04:00
Leo Franchi
c0ab42021e Make consistent name 2012-03-19 19:11:18 -04:00
Jeff Mitchell
4d77074c78 Reclaim copyrights 2012-03-19 16:58:15 -04:00
Jeff Mitchell
8ffd79d764 Move old code out of servent to acl registry; make ACL registry actually
do something.

Still needed: a page in settings to manage it
2012-03-19 15:53:15 -04:00
Leo Franchi
6da14794df Set playlists on config widget creation as well as on msg receive 2012-03-19 09:53:50 -04:00
Leo Franchi
f2c3edb8fe start actually implementing tomahawk-side spotify sync 2012-03-18 23:16:49 -04:00
Jason Herskowitz
e0f60931f7 Make track title prominent information in Queue and make it match new charts and latest additions 2012-03-18 19:21:33 -04:00
Jason Herskowitz
5b1aa81d1d Make track title primary info in track charts and top loved and lighten text of secondary info. Muesli, like? 2012-03-18 18:30:13 -04:00
Leo Franchi
ac274a50d3 Create playlists from spotify on flip 2012-03-18 18:23:39 -04:00
Jason Herskowitz
44a1adb922 Pretty up Recently Played widget on dashboard a bit by making played time/playee gray text 2012-03-18 17:50:21 -04:00
Leo Franchi
93c68b4ce1 Merge pull request #78 from mack-t/master
Pull additional information from tomahawk resolvers
2012-03-18 14:25:54 -07:00
mack-t
21eeab61d8 Add albumpos, discnumber and score information from tomahawk resolver 2012-03-18 16:20:57 -04:00
Leo Franchi
3aa7f5c9de ITWK-769: Don't activate window for all tomahawk urls, as play controls shouldn't 2012-03-18 15:46:07 -04:00
Leo Franchi
1468d3c0dc Add beginning of spotify playlist updater 2012-03-18 15:45:55 -04:00
Leo Franchi
6de0656794 factory-ize the playlist updater loading 2012-03-18 15:45:32 -04:00
jeff
0c4ac584e4 Refactor ACLSystem into ACLRegistry, clean it up a lot 2012-03-18 15:08:43 -04:00
Leo Franchi
b2612f9189 some further work 2012-03-18 14:56:38 -04:00
Leo Franchi
b0486f44b3 tweak size 2012-03-18 14:33:37 -04:00
Jason Herskowitz
819623300d Use recently played icon for new recently played sidebar item 2012-03-18 13:36:29 -04:00
Leo Franchi
a710782624 Merge branch 'master' into spotifyplaylists 2012-03-18 13:34:01 -04:00
Leo Franchi
42b2779240 Fix atticaid sync issue that would lose value 2012-03-18 13:26:54 -04:00
Leo Franchi
195953f4f8 Update spotify description 2012-03-18 13:26:54 -04:00
Jason Herskowitz
ba82c142ef Copy edit Url to URL 2012-03-18 10:26:13 -04:00
Jason Herskowitz
8d59a33502 Make systray icon actually use the grayscale version 2012-03-18 09:54:25 -04:00
Jason Herskowitz
2e3132732a Add grayscale icon to be used for OS X systray 2012-03-18 09:40:22 -04:00
Christian Muehlhaeuser
a2bfd73d55 * Fixed crash situation in AudioControls. 2012-03-17 17:09:57 +01:00
Christian Muehlhaeuser
ebbedb2b99 * Prevent race condition. 2012-03-17 12:10:09 +01:00
Christian Muehlhaeuser
57e55d0b88 * other vs others. 2012-03-17 11:23:40 +01:00
Christian Muehlhaeuser
15194438ee * Slightly decrease size of third chart item. 2012-03-17 10:35:29 +01:00
Christian Muehlhaeuser
6d068e33ce * Use different color for chart position. 2012-03-17 10:04:59 +01:00
Christian Muehlhaeuser
48d2ac71fa * Use bigger fonts for top chart items. 2012-03-17 09:46:35 +01:00
Christian Muehlhaeuser
afe6ed8463 * Added a Chart delegate. 2012-03-17 09:40:04 +01:00
Christian Muehlhaeuser
6e34b3f620 * Fixed size for the search widget. 2012-03-17 08:54:02 +01:00
Christian Muehlhaeuser
6f0d29dde9 * Bold font decoration for usernames in the delegate. 2012-03-17 08:08:28 +01:00
Christian Muehlhaeuser
3e11945c02 * Added PlaylistLargeItemDelegate. Loved, latest & recent tracks use it. 2012-03-17 06:55:49 +01:00
Christian Muehlhaeuser
bd098e3ff2 * Fixed cached resolving. 2012-03-17 05:49:43 +01:00
Christian Muehlhaeuser
b70114a225 * Fixed race condition during resolving. 2012-03-17 05:42:25 +01:00
Christian Muehlhaeuser
d5aed7b6df * Fetch square covers from Last.fm. 2012-03-17 01:33:03 +01:00
Christian Muehlhaeuser
d86124203c * Don't crash in onCoverUpdated if there's no current track. 2012-03-17 01:32:15 +01:00
Christian Muehlhaeuser
29c49b12b7 * This is explicitly WIP: Added Latest Additions & Recently Played nodes. 2012-03-16 23:23:58 +01:00
Christian Muehlhaeuser
d2b719b61c * DRY: Added RecentlyAddedModel. 2012-03-16 22:48:46 +01:00
Jason Herskowitz
8495c6397a Change text from GChat to Google Talk in account dialog 2012-03-16 17:43:12 -04:00
Leo Franchi
9b1a983cfd More work towards playlists 2012-03-16 17:41:26 -04:00
Christian Muehlhaeuser
8b99d234e8 * DRY: Added RecentlyPlayedModel. 2012-03-16 22:12:17 +01:00
Christian Muehlhaeuser
0e2da32f0c * Headless. Now. 2012-03-16 20:26:30 +01:00
Christian Muehlhaeuser
4d91fab887 * Headless fix. 2012-03-16 20:23:27 +01:00
Christian Muehlhaeuser
967c767f0b * More headless fixes. 2012-03-16 20:16:03 +01:00
Christian Muehlhaeuser
28f62d850d * Attempt to unbreak headless. 2012-03-16 20:14:11 +01:00
Leo Franchi
4f84158bdc Migrate spotify config to tomahawk, and set up for playlist work 2012-03-16 14:53:34 -04:00
Christian Muehlhaeuser
ce44b17544 * Updated ChangeLog. 2012-03-16 17:50:51 +01:00
Christian Muehlhaeuser
c9a3b697ef * Easier substring extraction. 2012-03-16 17:50:51 +01:00
Leo Franchi
ad82b81225 TWK-740: Don't accept the resolver account factory when adding new accounts to list 2012-03-16 11:16:40 -04:00
Leo Franchi
e3f5605c4e All QSharedPointers used in different threads need deleteLater as custom deleter. This is some of them. 2012-03-15 19:00:48 -04:00
Christian Muehlhaeuser
66836ae0bd * Something is wonky about CLucene scoring. Rely on our internal scoring. 2012-03-15 09:05:56 +01:00
Christian Muehlhaeuser
6342e6a9f8 * Fixed TWK-758: Sorting playlist by album position. 2012-03-15 09:05:47 +01:00
Christian Muehlhaeuser
b34b3c7470 * Something is wonky about CLucene scoring. Rely on our internal scoring. 2012-03-15 09:04:16 +01:00
Christian Muehlhaeuser
19d3cf5bae * Don't request covers for tracks in the flat view. 2012-03-15 08:52:03 +01:00
Christian Muehlhaeuser
6408d93dc0 * Fixed TWK-758: Sorting playlist by album position. 2012-03-15 08:42:05 +01:00
Dominik Schmidt
f65b9d7f6f epic fail is epic 2012-03-15 03:29:52 +01:00
Dominik Schmidt
232409b1c4 naaaaaaaaaaaaaaaaaaaaaaaaaaaarf. 2012-03-15 02:37:02 +01:00
Dominik Schmidt
2efc4ee9d8 just say narf. 2012-03-15 02:24:38 +01:00
Dominik Schmidt
a27d918bea Make my warning actually readable ... 2012-03-15 02:12:35 +01:00
Dominik Schmidt
8503f5bbe3 Some more cleanup in FindJreen.cmake 2012-03-15 02:11:19 +01:00
Dominik Schmidt
b2779a9b6a Cleanup FindJreen.cmake and make it version aware 2012-03-15 01:24:35 +01:00
Leo Franchi
51087b5e0a oops not meant to be there 2012-03-14 19:41:21 -04:00
Leo Franchi
39bf8f9f6e Move spotify and last.fm accounts from libtomahawk to tomahawk/ 2012-03-14 19:37:18 -04:00
Dominik Schmidt
496871af04 Use the new Jreen::Logger and bump version requirement to 1.0.3 2012-03-15 00:26:09 +01:00
Dominik Schmidt
dab85e2008 Bump required CMake version also in README 2012-03-15 00:26:08 +01:00
Jeff Mitchell
042ccbe730 Fix merge issue 2012-03-14 16:31:20 -04:00
Jeff Mitchell
6c6411561b Bump dependencies 2012-03-14 16:20:24 -04:00
Jeff Mitchell
18e3669911 Fix XMPP proxy. Make no proxy hosts static so changing it works across
all threads; make a duplication method so jreen doesn't scopepointer us
to death on shutdown; pass in proxyfactory to jreen.

Conflicts:

	src/settingsdialog.cpp
	src/sip/jabber/jabber.cpp
2012-03-14 16:19:32 -04:00
Jeff Mitchell
5a57e285ec Set scanning threads idle priority 2012-03-14 16:14:25 -04:00
Leo Franchi
c5732d0d62 Don't crash loading covers for some tracks 2012-03-13 08:56:43 -04:00
Christian Muehlhaeuser
2e6688f42b * Use defaultPixmap() in TreeItemDelegate. 2012-03-13 03:49:02 +01:00
Christian Muehlhaeuser
6409113c0e * Lazily load TrackView covers. 2012-03-13 03:45:32 +01:00
Leo Franchi
ccd3e19fac fix spotify migration when migrating from pre-accounts 2012-03-12 22:03:31 -04:00
Christian Muehlhaeuser
18c16959ed * Added cover() method to Query. 2012-03-13 02:51:58 +01:00
Leo Franchi
60d11db923 TWK-750: Properly check if last.fm was enabled during accounts migration 2012-03-12 21:40:30 -04:00
Leo Franchi
c88058358e Fix macdeploy and build shared instead of MODULE, we don't want .so's on osx either. domme: confirm plz :) 2012-03-12 17:23:45 -04:00
Christian Muehlhaeuser
c511841f57 * Updated README. 2012-03-12 22:03:55 +01:00
Dominik Schmidt
240517b0cd Bump the required QTweetLib version 2012-03-11 18:46:00 +01:00
Jeff Mitchell
fab36b2262 Use new QTweetLib 0.5 API for PIN values so leading zeros are respected
Conflicts:

	src/accounts/twitter/tomahawkoauthtwitter.h
2012-03-11 18:44:43 +01:00
Leo Franchi
cb85c767de Auto upgrade old spotify to new spotify 2012-03-11 12:31:22 -04:00
Leo Franchi
35706f16f7 Remove assert as it hits of synchrotron is down, no fun 2012-03-11 12:11:17 -04:00
Leo Franchi
538db98e2c Disable Sync code until I can figure out why clang doesn't like it 2012-03-09 22:54:49 -05:00
Leo Franchi
5c0507323c Merge branch 'spotifyAccount' 2012-03-09 22:41:29 -05:00
Leo Franchi
57490a68f0 Cleanup 2012-03-09 22:41:01 -05:00
Leo Franchi
66e67fdd4e Fix crash when accounts were loaded before attica was fetched 2012-03-09 22:37:39 -05:00
Leo Franchi
6dbcac58a4 Show description from factory for manual resolvers 2012-03-09 22:37:25 -05:00
Leo Franchi
1aeb5ed807 Don't re-sync on deletion as then deleting an account never removes it from the config file 2012-03-09 22:36:53 -05:00
Leo Franchi
2d1a036b3d Use virtual method for factory name 2012-03-09 22:36:35 -05:00
Leo Franchi
970b3e79a9 Properly load spotify account 2012-03-09 21:49:50 -05:00
Jeff Mitchell
c6cd6821bf Use new QTweetLib 0.5 API for PIN values so leading zeros are respected 2012-03-09 18:24:05 -05:00
Leo Franchi
e1edd9c5ee Account plugins have different names 2012-03-09 18:06:25 -05:00
Leo Franchi
ccee34eaa7 Initial work on Spotify account
Merge branch 'master' into spotifyAccount

Conflicts:
	src/libtomahawk/CMakeLists.txt
2012-03-09 17:56:38 -05:00
Jeff Mitchell
3f3c855a6d Fix XMPP proxy. Make no proxy hosts static so changing it works across
all threads; make a duplication method so jreen doesn't scopepointer us
to death on shutdown; pass in proxyfactory to jreen.
2012-03-09 17:41:38 -05:00
Leo Franchi
5848e7ba8c Debug and safety 2012-03-09 16:31:53 -05:00
Leo Franchi
7ac68392a6 Less debug 2012-03-09 15:34:06 -05:00
Leo Franchi
1ebeae274a fix warning 2012-03-09 15:20:56 -05:00
Leo Franchi
2710bca395 Back up old config file before upgrading, when it's an ini file 2012-03-09 15:16:16 -05:00
Leo Franchi
dc28a7694b So much for platform independence 2012-03-09 15:07:08 -05:00
Leo Franchi
a30c4f9055 Oops 2012-03-09 14:59:57 -05:00
Leo Franchi
ab026b5e2f Remove hardcoding of delegate height to accomodate different font sizes 2012-03-09 14:56:34 -05:00
Leo Franchi
99aea14b62 Migrate port and server to configuration not credentials 2012-03-09 14:50:00 -05:00
Leo Franchi
cf5c368499 Set alternating row colors for accounts list 2012-03-09 14:43:14 -05:00
Leo Franchi
2a58d53145 A bit of extra safety 2012-03-09 14:14:13 -05:00
Dominik Schmidt
9a19c9e81e Don't use dllmacro in the application 2012-03-09 02:55:46 +01:00
Dominik Schmidt
448734190c Use automoc on all platforms 2012-03-09 02:55:31 +01:00
Leo Franchi
afe2db8d51 TWK-738: Don't crash on quit 2012-03-08 19:20:41 -05:00
Leo Franchi
f4603e0cad clean up from refactor 2012-03-08 19:11:37 -05:00
Leo Franchi
6cbc8a9539 Refactor account dialogs into utils, and port tomahawk to automoc too 2012-03-08 18:53:59 -05:00
Leo Franchi
f3324ce167 Check enabled/disabled when enabling/disabling, not authenticated 2012-03-08 17:41:55 -05:00
Leo Franchi
5f674dbc83 dangerous debug byebye 2012-03-08 17:29:35 -05:00
Leo Franchi
69cfe8bb2f quazip byebye 2012-03-08 17:29:30 -05:00
Dominik Schmidt
528121d283 Fix resolver.cpp 2012-03-08 20:15:02 +01:00
Dominik Schmidt
71833b817f Fix automoc on OSX 2012-03-08 20:09:20 +01:00
Dominik Schmidt
df65d040e8 Port libtomahawk to the new cmake-build-in automoc. Requires cmake 2.8.6 2012-03-08 19:30:00 +01:00
Leo Franchi
5641f2a07c fix migrating when there is already a last.fm account, and hide debug 2012-03-08 12:32:53 -05:00
Leo Franchi
a602cbe005 add stupid amounts of debug 2012-03-08 12:24:30 -05:00
Leo Franchi
f9940ead9f More debug 2012-03-08 12:14:31 -05:00
Leo Franchi
0c7780e5e3 add some debug for domme 2012-03-08 12:01:44 -05:00
Leo Franchi
6b6d5f270f TWK-732: Fix filter for status push account types 2012-03-07 22:38:36 -05:00
Leo Franchi
0067e376ae Services
Merge branch 'accounts'

Conflicts:
	resources.qrc
	src/accounts/zeroconf/zeroconf.cpp
2012-03-07 18:23:32 -05:00
Leo Franchi
935b046acc Set git version to 0.4.99 as 0.4.0 is tagged and branched 2012-03-07 16:48:52 -05:00
Christian Muehlhaeuser
dd74ce04e6 Moved QuaZip from "shipped" to "recommended". 2012-03-07 17:51:20 +01:00
Christian Muehlhaeuser
e3a43e8ca6 * Bumped version to 0.4.0. 2012-03-07 05:07:47 +01:00
Christian Muehlhaeuser
c401ea0d91 * Update ChangeLog. 2012-03-07 05:07:23 +01:00
Christian Muehlhaeuser
2d03b8aea0 * Didn't mean to commit that. 2012-03-07 04:49:26 +01:00
Christian Muehlhaeuser
178aed9174 * Fixed TWK-474: proper fulltext search. 2012-03-07 04:47:24 +01:00
Christian Muehlhaeuser
6552deca61 * Fixed Source method being run in the wrong thread. 2012-03-07 04:45:32 +01:00
Leo Franchi
89009c09be Add a small guard to Artist::get and Album::get as they are called all over, and might be called after destruction of DB on shutdown 2012-03-06 18:47:55 -05:00
Leo Franchi
34672c7bed TWK-722: Fix quitting right after startup by ensuring chart data loaders are deleted before database 2012-03-06 18:46:48 -05:00
Leo Franchi
3caeb4642a Attempt at fixing TWK-723. 2012-03-06 18:23:17 -05:00
Christian Muehlhaeuser
80b0eacfed * Revert macdeploy back to use Qt 4.7.4. 2012-03-06 00:42:12 +01:00
Leo Franchi
aa078e86e5 Merge pull request #77 from anselmolsm/master
Play/Pause when system tray receives a mouse middle click
2012-03-05 12:20:13 -08:00
Anselmo L. S. Melo
9daf0a6089 Play/Pause when system tray receives a mouse middle click 2012-03-05 15:00:28 -03:00
Jason Herskowitz
6dead5e7e1 Fix all Super Collection text strings to SuperCollection 2012-03-04 22:46:10 -05:00
Jason Herskowitz
335868ea95 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2012-03-04 22:28:56 -05:00
Jason Herskowitz
fc45646205 Update SuperCollection header text 2012-03-04 22:28:35 -05:00
Leo Franchi
dbd466d3ed Changelog++ 2012-03-04 22:21:04 -05:00
Leo Franchi
292d8c9530 Don't update playlist if no tracks have changed 2012-03-04 21:54:55 -05:00
Leo Franchi
6b68598d1d Show job status for indexing 2012-03-04 21:54:55 -05:00
Dominik Schmidt
0d9e248dac Fix lastfm export macro after my last commit. Why did it work before that?! 2012-03-05 01:09:31 +01:00
Leo Franchi
46a86fe6a5 Install vlc plugins to Frameworks/vlc/plugins instead of plugins/ 2012-03-04 16:55:57 -05:00
Dominik Schmidt
a56ca4ddfc Improve liblastfm2 export macro 2012-03-04 21:14:59 +01:00
Leo Franchi
6483c55749 Revert "Disable breakpad for an osx nightly"
This reverts commit 5a56a3e060.
2012-03-04 13:21:41 -05:00
Leo Franchi
5a56a3e060 Disable breakpad for an osx nightly 2012-03-04 12:55:05 -05:00
Dominik Schmidt
585f32c4d8 osx: fix undefined reference to bringToFront() with visibility=hidden 2012-03-04 18:44:23 +01:00
Jason Herskowitz
9ea311526c Make audio error icon match set 2012-03-03 18:45:07 -05:00
Leo Franchi
1342fdb9a7 Revert "disable break for a sec"
This reverts commit 2cc4fccd66.
2012-03-03 11:40:16 -05:00
Leo Franchi
2cc4fccd66 disable break for a sec 2012-03-03 11:39:49 -05:00
Leo Franchi
a2d0899285 Add grooveshark track parsing, and add a job notification for shortened url unwrapping 2012-03-02 22:41:44 -05:00
Dominik Schmidt
06cc52744d Enforce proper symbol exporting on all platforms 2012-03-03 01:14:21 +01:00
Leo Franchi
2878552239 Fix various bugs in attica<->account bridge and bump config version 2012-03-02 16:23:45 -05:00
Leo Franchi
df758aa3f8 TWK-710: Don't expand items when clicking on headphones or lock icon 2012-03-02 00:15:16 -05:00
Leo Franchi
f79ed86b57 TWK-711: Some attica resolver icon fixes and optimizations. Don't write too much to disk 2012-03-01 23:33:27 -05:00
Leo Franchi
c9b0c92450 Bump up time for SetFile to finish 2012-03-01 23:25:49 -05:00
Leo Franchi
57d1c29d35 TWK-533: Show instructive error message if stations run out of tracks 2012-03-01 23:05:09 -05:00
Christian Muehlhaeuser
cdf7c11b29 * Fixed TWK-703: Auto expand sidebar's groups per default. 2012-03-02 04:42:32 +01:00
Leo Franchi
be7b5babe9 Show filter errors when loading a dynamic playlist for the first time too 2012-03-01 22:34:55 -05:00
Leo Franchi
f7f2c51d4e TWK-712: Don't emit track number changed when they really haven't, thus masking other errors 2012-03-01 22:11:02 -05:00
Leo Franchi
4889ed6a33 TWK-633: Don't use useless-to-us QUrl.addQueryItem, does not encode '+' 2012-03-01 21:53:13 -05:00
Leo Franchi
3557686681 Include in the right place 2012-03-01 21:53:11 -05:00
Christian Muehlhaeuser
58dfc54e00 * Fixed TWK-708: Resolve album page top-to-bottom. 2012-03-02 03:32:30 +01:00
Christian Muehlhaeuser
bddbc7a194 * Fixed TWK-642: Update Footnotes when selecting an album in AlbumView. 2012-03-02 02:45:56 +01:00
Christian Muehlhaeuser
33e0116e4b * Fixed TWK-700: Add description for SuperCollection. 2012-03-02 02:28:27 +01:00
Christian Muehlhaeuser
b07f498516 * Fixed TWK-699: Don't paint now playing icon over item decoration. 2012-03-02 02:21:08 +01:00
Christian Muehlhaeuser
c77be81e5b * Fixed TWK-641: don't write empty album covers in InfoSystem. 2012-03-02 01:55:28 +01:00
Christian Muehlhaeuser
11cf2c78d8 * Fixed ArtistPlaylistInterface. 2012-03-02 01:30:31 +01:00
Leo Franchi
77bcc7c7aa TWK-709: Fetch albums from infosystem if no tracks are found in the DB when dropping an album 2012-03-01 18:14:45 -05:00
Leo Franchi
934ee4a535 Merge branch 'master' into accounts
Conflicts:
	src/libtomahawk/AtticaManager.cpp
	src/libtomahawk/AtticaManager.h
	src/libtomahawk/tomahawksettings.cpp
2012-03-01 16:58:08 -05:00
Leo Franchi
5b97802104 Revert "Add debug for jason". Debug did its job :)
This reverts commit 25ec5cb432.
2012-03-01 09:20:41 -05:00
Leo Franchi
25ec5cb432 Add debug for jason 2012-03-01 09:12:27 -05:00
Leo Franchi
8b4b4a8f0c Add documentation 2012-03-01 00:19:59 -05:00
Leo Franchi
6448cebec6 Mostly fix TWK-701. A few bugs lined up here.
1) Tracks fetched from an album or artist in DropJob would only fetch from the db
   and never resolve w/ resolvers
2) artist* and album* objects were getting deleted too early if they didn't already exist before
   DropJob asked for them (results from db thread are queued, sharedpointer deletion happened first).
   Keep ahold of them until we're done with them.

For albums we don't know about, we still need to look up metadata track listings when nothing is found in the DB.
2012-03-01 00:14:16 -05:00
Leo Franchi
191ee259d4 TWK-671: Fix filter text being 'behind' by one step 2012-02-29 22:28:54 -05:00
Leo Franchi
dc364726c0 TWK-706: Don't auto-enable resolvers when upgrading them. 2012-02-29 18:46:58 -05:00
Hugo Lindström
6ac0f68224 Silly misstake in naming 2012-03-01 00:38:32 +01:00
Leo Franchi
3c3078f9f8 Clean up from previous test 2012-02-29 17:45:20 -05:00
Leo Franchi
b994befc58 osx /volumes tweak 2012-02-29 17:12:59 -05:00
Hugo Lindström
56cf0239da Fix soundcloudwall and pump version 2012-02-29 08:06:56 +01:00
Christian Muehlhaeuser
69d75362b3 * This should speed up resolving... a lot. 2012-02-29 02:36:33 +01:00
Leo Franchi
e677656b74 Merge branch 'master' into accounts 2012-02-28 20:24:07 -05:00
Leo Franchi
8db9c79e57 Add some SetFile/GetFileInfo debug 2012-02-28 18:54:22 -05:00
Hugo Lindström
e9ee617d94 Better name for soundcloudwall 2012-02-28 21:36:53 +01:00
Leo Franchi
c9c6534af5 Wait a bit longer for portfwd thread to exit to avoid crashes on exit 2012-02-28 10:37:37 -05:00
Leo Franchi
1b9767995b Make stations item drop enabled. How did this ever work!? 2012-02-28 10:37:37 -05:00
Christian Muehlhaeuser
1c561ba7a9 * Prepare macdeploy for Qt 4.8. 2012-02-28 15:49:21 +01:00
Leo Franchi
91e307b261 fix duplicate delete 2012-02-27 19:48:56 -05:00
Leo Franchi
91546d0684 Fix some bugs in ze last.fm account 2012-02-27 19:48:47 -05:00
Leo Franchi
f4c92793e6 Merge branch 'master' into accounts
Conflicts:
	src/libtomahawk/utils/xspfloader.cpp
	src/libtomahawk/utils/xspfloader.h
	src/tomahawkapp.cpp
	src/tomahawkwindow.h
2012-02-27 08:37:40 -05:00
Leo Franchi
52baebc899 Delete pipeline after database, as some dbcmds create queries which access Pipeline 2012-02-26 17:35:14 -05:00
Leo Franchi
63c029554a Set default type of echonest control so an empty control is valid (and ignored) 2012-02-26 17:34:11 -05:00
Leo Franchi
3900dd27d2 TWK-686: Implement playlistinterface and jump to current track 2012-02-26 13:06:10 -05:00
Leo Franchi
e9fb17dadb TWK-604: Update Show/Hide menu entry if Tomahawk is hidden with Cmd-H 2012-02-26 12:44:19 -05:00
Leo Franchi
56c2f86381 Use SetFile/GetFileInfo from bundle 2012-02-26 10:57:00 -05:00
Leo Franchi
a8440c72e4 Fix build for gcc on mac. Hudson should use clang :D 2012-02-25 23:52:34 -05:00
Leo Franchi
cbb5bac075 TWK-624: When resolving dups in dropjob, prefer playable ones 2012-02-25 23:20:31 -05:00
Leo Franchi
b7f1f56f77 TWK-633: Don't hand-make URLs, that is just asking for trouble 2012-02-25 21:53:08 -05:00
Leo Franchi
9fe17cf6f5 Upgrade SPMediaKeyTap 2012-02-25 21:25:57 -05:00
Leo Franchi
d641f06e6d cleanups 2012-02-25 20:54:54 -05:00
Leo Franchi
7668f04c0c Cache height as sizehint is called plenty often 2012-02-25 20:13:12 -05:00
Leo Franchi
a73d1cd342 Don't calculate height by assuming rows are same height anymore, as they are not. 2012-02-25 20:07:33 -05:00
Leo Franchi
35c4a29cbe center icon in delegate for multi-line jobs 2012-02-25 20:03:01 -05:00
Leo Franchi
f6e00fbb86 Show error message if phonon spits an error, but don't block with modal dialog/audio stop 2012-02-25 20:02:38 -05:00
Leo Franchi
3f9503364c Return null qstring 2012-02-25 19:48:00 -05:00
Leo Franchi
36b2a585f9 Show errors when fetching information from the network. Fixes TWK-515 2012-02-25 19:39:35 -05:00
Leo Franchi
42220a8c95 Delete InfoSystem after pipeline as various constructors connect to InfoSystem. Fixes crash on exit. 2012-02-25 16:24:57 -05:00
Leo Franchi
540db2860e fix a crash 2012-02-25 11:59:47 -05:00
Christian Muehlhaeuser
1ac4efa88a * Prepare for 0.4.0. 2012-02-25 10:18:00 +01:00
Leo Franchi
b2247febc1 Fix last.fm rsolver part of lastfm account 2012-02-24 18:52:16 -06:00
Leo Franchi
ea47a5556d better assert 2012-02-24 16:49:14 -06:00
Leo Franchi
b51480f122 Fix unchecking of unique factories 2012-02-24 11:30:22 -06:00
Leo Franchi
55d7fe9e53 Remove debugging aid 2012-02-24 11:00:36 -06:00
Leo Franchi
e6efa8dac3 Merge remote-tracking branch 'origin/master' into accounts
Conflicts:
	src/libtomahawk/tomahawksettings.cpp
	src/tomahawkapp.cpp
2012-02-24 10:59:47 -06:00
Leo Franchi
ac42abda7f Add a last.fm account on fresh config 2012-02-24 10:46:46 -06:00
Hugo Lindström
6a6f5dba7a Beginning of a bad spotifyAccount 2012-02-24 16:53:33 +01:00
Leo Franchi
d0b6d09255 Add first round of integration for custom attica accounts 2012-02-23 23:35:26 -06:00
Christian Muehlhaeuser
cfe42d10ea * Minor cleanups. 2012-02-24 06:29:32 +01:00
Christian Muehlhaeuser
6ad9e820e3 * Only show top 50 loved tracks for the SuperCollection. 2012-02-24 05:52:02 +01:00
Christian Muehlhaeuser
47a403a9c8 * Update social actions everytime you open the contextual menu of a track. 2012-02-24 05:40:00 +01:00
Christian Muehlhaeuser
b2fc0935a4 * Show now playing speaker next to current playlist again. 2012-02-24 05:18:55 +01:00
Christian Muehlhaeuser
a04d384ac4 * Show default album, not artist cover on AlbumInfoWidget. 2012-02-24 04:15:28 +01:00
Christian Muehlhaeuser
325bb0bf8f * Added global common image cache. 2012-02-24 04:13:37 +01:00
Christian Muehlhaeuser
c2a79d4cbf * Don't wordwrap track names in sidebar. 2012-02-23 21:06:17 +01:00
Christian Muehlhaeuser
b17b8356ad * Fixed a few issues with controlling playback via CLI args. 2012-02-23 20:34:23 +01:00
Christian Muehlhaeuser
a41b174851 Merge pull request #76 from ubertaco/master
Initial support for TWK-595
2012-02-23 11:23:43 -08:00
ubertaco
458d32ed7c removed duplicate --stop 2012-02-23 14:05:44 -05:00
ubertaco
a0383b6664 fixed helpstrings and inconsistent spacing 2012-02-23 14:04:24 -05:00
ubertaco
9b1fc4cd24 added helpstrings 2012-02-23 13:52:11 -05:00
ubertaco
2a27ef88f6 Added initial support for TWK-595 ( command-line audio controls ) 2012-02-23 13:48:51 -05:00
Christian Muehlhaeuser
d1ecf6d748 * More work on sidebar reorganization. 2012-02-23 06:22:47 +01:00
Christian Muehlhaeuser
396b5cd6e0 * Modify Tomahawk's config file to be only accessible by the owner. 2012-02-23 04:36:30 +01:00
Christian Muehlhaeuser
55e7d6383b * Unbreak headless more. 2012-02-23 04:08:14 +01:00
Christian Muehlhaeuser
dbcbffb6c4 * Auto load covers after expanding an artist. 2012-02-23 04:05:06 +01:00
Christian Muehlhaeuser
6b51872c3e * Unbreak headless. 2012-02-23 03:30:22 +01:00
Christian Muehlhaeuser
79d8b081d7 * Speed up cover loading in TreeView. 2012-02-23 03:21:21 +01:00
Christian Muehlhaeuser
165276912f * Fixed Windows compiling. 2012-02-22 02:42:42 +01:00
Christian Muehlhaeuser
413052bf8e * Destroy Pipeline properly and deactivate it earlier during shutdown. 2012-02-22 02:09:24 +01:00
Leo Franchi
b8ccf5a2e9 Merge remote-tracking branch 'origin/master' into accounts
Conflicts:
	src/main.cpp
2012-02-21 08:42:24 -06:00
Leo Franchi
27cde20dbf Fix Add Account button in factory config on OSX, and a few other osx tweaks 2012-02-20 23:06:49 -05:00
Leo Franchi
01fbbb6683 osx button size tweaks 2012-02-20 18:01:19 -05:00
Leo Franchi
61b55ab156 shrink spacing 2012-02-20 18:01:18 -05:00
Leo Franchi
502db67510 don't crash on exit 2012-02-20 15:45:43 -05:00
Leo Franchi
47e8f4ffc6 Add a last.fm account w. resolver and infotype. Needs merging w/ attica still 2012-02-20 00:58:38 -05:00
Leo Franchi
46fd72920c Remove duplicate signal/slot collection. All SourceTreeItem* signals are already hooked up for each item 2012-02-19 15:36:48 -05:00
Christian Muehlhaeuser
399b835436 * SourcePlaylistInterface shouldn't use temporary queries. 2012-02-19 11:29:03 +01:00
Leo Franchi
3e81405086 Add ability to add infoplugins to infosystem
also, add infoplugins from accounts that support them, and clean up
adding new info plugins in infoworker
2012-02-18 18:15:13 -05:00
Leo Franchi
443c554b36 Rework some scriptresolver/pipeline interaction now that we haev accounts 2012-02-18 18:14:00 -05:00
Alejandro Wainzinger
9f76cdf486 Fix typo. 2012-02-18 00:49:08 -08:00
Alejandro Wainzinger
881bf5dd9d Check for OS X 10.7 as well as 10.6 for delegate protocol. 2012-02-18 00:47:23 -08:00
Leo Franchi
8bb9661960 Add an index on the file mtime. For future users for now 2012-02-17 19:08:59 -05:00
Leo Franchi
a1c69b0b43 rework some startup order to load servent before UI components 2012-02-17 18:37:59 -05:00
Leo Franchi
8cdce8e1ca fix some typos, remove extra code 2012-02-17 13:36:01 -05:00
Leo Franchi
e3f4fdfdd8 Some more work + debug to try to fix j's issue 2012-02-17 13:16:21 -05:00
Leo Franchi
0b452cc415 more debug for account row removing 2012-02-17 11:31:33 -05:00
Leo Franchi
e6f4674064 Only remove rows from model if removing a manual resolver. Update otherwise 2012-02-16 23:21:37 -05:00
Leo Franchi
06be1868ea More accountmodel debug 2012-02-16 22:39:12 -05:00
Leo Franchi
2412266a34 Fix painting initial coordinate for qMin 2012-02-16 22:36:46 -05:00
Leo Franchi
6638d74687 Fix typo, left->right is small->big... 2012-02-16 22:31:01 -05:00
Leo Franchi
dc41b29ab7 add some debug to account adding 2012-02-16 22:22:46 -05:00
Leo Franchi
638718a48c Add an assert and debug 2012-02-15 08:29:09 -05:00
Leo Franchi
9adc4be099 elide and tooltip 2012-02-14 18:51:38 -05:00
Leo Franchi
75ea38010f fix creating factory and other first start issue 2012-02-14 18:38:44 -05:00
Dominik Schmidt
5083849514 Merge branch 'master' of git://github.com/tomahawk-player/tomahawk 2012-02-14 05:28:57 +01:00
Dominik Schmidt
8d75ba4d64 Add console output on windows 2012-02-14 05:28:35 +01:00
Leo Franchi
0c231d5532 fix first start issues 2012-02-13 21:11:47 -05:00
Leo Franchi
7e9fa7c2a7 fix addin and removing 2012-02-13 20:04:47 -05:00
Leo Franchi
3687ebdc6b Add an Install From File and Remove Account option 2012-02-13 18:03:30 -05:00
Leo Franchi
8ceb537860 Merge branch 'accounts' of github.com:tomahawk-player/tomahawk into accounts 2012-02-13 16:11:41 -05:00
Leo Franchi
64043e059f Merge branch 'master' of github.com:tomahawk-player/tomahawk into accounts 2012-02-13 15:57:57 -05:00
Leo Franchi
011483ec54 Update UI file 2012-02-13 15:52:19 -05:00
Leo Franchi
b6ce8d282c Fix twitter dm settings name 2012-02-13 11:29:26 -05:00
Leo Franchi
b54b7f6455 Up webapi timeouts so resolving can finish 2012-02-12 17:15:02 -05:00
Dominik Schmidt
d0a6d8a0a2 Fix windows installer 2012-02-12 22:48:37 +01:00
Leo Franchi
a02a9a4fd9 Merge remote-tracking branch 'origin/master' into accounts 2012-02-12 16:26:06 -05:00
Leo Franchi
e2749a7676 Fix some twitter stuff 2012-02-12 16:25:33 -05:00
Leo Franchi
0a3dc28bdf only migrate valid twitter accounts 2012-02-12 16:25:33 -05:00
Leo Franchi
79fd0278ce Fix turning on/off toplevel accounts 2012-02-12 16:25:33 -05:00
Dominik Schmidt
488eb387cb Use my new pvlc build in update-vlc.sh 2012-02-12 20:49:55 +01:00
Dominik Schmidt
99143f6148 Fix windows for qt 4.8 2012-02-12 20:23:20 +01:00
Dominik Schmidt
82c77e64c6 Fix windows 2012-02-12 19:59:33 +01:00
Leo Franchi
751af7862c fix merge 2012-02-11 12:24:09 -05:00
Leo Franchi
0425bfebac Merge remote-tracking branch 'origin/master' into accounts
Conflicts:
	src/accounts/xmpp/sip/xmppsip.cpp
2012-02-11 12:18:58 -05:00
Leo Franchi
40041f5c1e Finish adding filter imlpementation 2012-02-11 12:16:56 -05:00
Dominik Schmidt
1d4320afea Bump year ;-) 2012-02-11 03:55:23 +01:00
Leo Franchi
132460b797 Non-working save 2012-02-10 19:38:36 -05:00
Leo Franchi
369c8ecd98 ui cleanup 2012-02-10 19:08:01 -05:00
Leo Franchi
478ff17e67 Merge remote-tracking branch 'lfranchi/accounts' into accounts 2012-02-10 18:53:03 -05:00
Leo Franchi
41b146f38a small cleanup 2012-02-10 18:50:51 -05:00
Leo Franchi
eea70f104f dialogs-- 2012-02-10 18:47:30 -05:00
Leo Franchi
7bae6c6b8a fix deleting 2012-02-10 18:45:28 -05:00
Leo Franchi
9ab47d769b Some fixes to the dialogs 2012-02-10 18:31:46 -05:00
Leo Franchi
23d14bd476 bit of osx tweaks 2012-02-10 17:22:59 -05:00
Dominik Schmidt
d9c3162146 Remove now unneccesary workaround in mingw toolchain file 2012-02-10 19:36:10 +01:00
Dominik Schmidt
4a1b021753 Fix FindTaglib.cmake for windows 2012-02-10 19:33:48 +01:00
Leo Franchi
3418d5295b Merge pull request #75 from crabmanX/master
suggest playlist filename on export
2012-02-10 06:35:51 -08:00
Kilian Lackhove
bf30dc37a2 suggest playlist filename on export 2012-02-10 15:30:07 +01:00
Leo Franchi
ecccf87992 Add multi-account config widget and hook things up 2012-02-09 23:16:18 -05:00
Leo Franchi
0dd4823a23 SHow online/offline status for factory with an account as well 2012-02-06 17:48:38 -05:00
Leo Franchi
001b9d0627 revampify layout
Please enter the commit message for your changes. Lines starting
2012-02-06 11:27:17 -05:00
Dominik Schmidt
6ed4902e00 Check for QtUiTools 2012-02-06 14:56:32 +01:00
Leo Franchi
0cfe2d2357 refactored UI again 2012-02-05 15:33:53 -05:00
Dominik Schmidt
e3f6e61900 *sigh* Fix returning years in scriptresolvers 2012-02-04 01:53:54 +01:00
Leo Franchi
8f1fa9b728 Step one in the pivot 2012-02-03 18:34:46 -05:00
Leo Franchi
34dbc50b3a Work to add setData to the model, and hook up model to some signals 2012-02-03 17:19:04 -05:00
Christian Muehlhaeuser
c9b1daeba7 * Fixed TWK-670: Don't crash without a composer. 2012-02-03 17:10:03 +01:00
Jeff Mitchell
52531e9125 Use the faster method for actual comparison 2012-02-02 16:08:42 -05:00
Jeff Mitchell
72b6252ab5 Add id() to playlistinterface for comparison 2012-02-02 16:05:51 -05:00
Jeff Mitchell
95f3ead710 Remove extraneous local IP checks; let the plugin set the name and don't
try to adjust it based on IP.
2012-02-02 15:42:18 -05:00
Jeff Mitchell
07a9486e4d Some whitespace cleaning 2012-02-02 14:02:38 -05:00
Leo Franchi
daa6b7b841 more work 2012-02-02 10:54:13 -05:00
Leo Franchi
21cfb96b1e more work 2012-02-01 18:24:39 -05:00
Leo Franchi
96eb48090c Initialwork on new accounts delegate 2012-01-31 23:05:50 -05:00
Leo Franchi
f17bba773d initial delegate work 2012-01-31 18:25:34 -05:00
Dominik Schmidt
7efceebb1c Merge pull request #74 from peretti/master
Added Brazilian Portuguese translation
2012-01-29 19:39:21 -08:00
Leo Franchi
8eba4c171f Begin work on overhauled account UI, again 2012-01-29 19:33:12 -05:00
Leo Franchi
f2b1cc6ae3 fix looping over account existing 2012-01-29 15:02:21 -05:00
Leo Franchi
e8eb7300fc i = iniMap.constFind(sections.at(j));
Q_ASSERT(i != iniMap.constEnd());
Consolidate version macro...
2012-01-29 13:43:21 -05:00
Leo Franchi
9607d6be00 remove duplicated signal 2012-01-29 13:38:43 -05:00
Leo Franchi
ddb4bd4563 Move qdatastream registration to before settings init 2012-01-29 13:38:22 -05:00
Leo Franchi
e5414c8ff6 Merge remote-tracking branch 'origin/master' into accounts
Conflicts:
	src/accounts/xmpp/sip/xmppsip.cpp
	src/libtomahawk/CMakeLists.txt
2012-01-29 10:27:31 -05:00
Leo Franchi
7e13f1ae62 Hook up some removing 2012-01-29 10:07:15 -05:00
Leo Franchi
b78a348712 small work 2012-01-28 12:15:51 -05:00
Leo Franchi
4e450b36ee implement adding in getnewstuffmodel for attica resolvers 2012-01-27 19:10:11 -05:00
Leo Franchi
b300279e30 remove Resolver from settings list 2012-01-27 18:32:25 -05:00
Leo Franchi
e319aa248c Initial work towards merging accounts into GetNewStuffModel 2012-01-27 18:31:11 -05:00
Leo Franchi
39c7af6262 Remove ifdef of libattica 2012-01-27 13:50:29 -05:00
Leo Franchi
4334840dad QIcon->QPixmap for account icon.
QIcon doesn't make sense in this case, as it is designed to store multiple sizes/active states for icons
that are associated with e.g. toolbuttons. Account icons are just an image that represents the logo of
the account, so only one pixmap is needed.
2012-01-27 12:49:29 -05:00
Hugo Lindström
47529ee4d8 Add version controll to force cacheupdates on new sources. 2012-01-25 16:40:59 +01:00
Allan Peretti
6fdc49b6e5 Brazilian POrtuguese translation 2012-01-24 20:54:59 -06:00
Leo Franchi
22def2c617 Add resolver account wrapper and attica flag 2012-01-23 23:28:49 -05:00
Jeff Mitchell
78ad724bac Clean up some sourceplaylistinterface logic to hopefully prevent it
saying that a track couldn't be resolved when it gets resolved right
afterwards.

Also, have the latch mode changing (for instance on pause) affect the
source's icon.
2012-01-23 16:14:33 -05:00
Jeff Mitchell
fad6768955 Don't go QImage -> QPixmap -> QImage 2012-01-23 15:17:43 -05:00
Jeff Mitchell
03384c4e19 Be a bit safer 2012-01-23 15:14:57 -05:00
Jeff Mitchell
63e59e7e27 Fix crash from album cover refactoring. QPixmap was being put into a
QVariant and QImage being taken out.
2012-01-23 15:12:06 -05:00
Christian Muehlhaeuser
b768e84afe * Better highlighting for artist names in AlbumView. 2012-01-23 18:34:07 +01:00
Christian Muehlhaeuser
8fdddb501f * Better shutdown sequence. 2012-01-23 18:33:34 +01:00
Christian Muehlhaeuser
f6d00be6c1 * Fixed TreeModel's columns / data method. 2012-01-23 15:48:47 +01:00
Jeff Mitchell
783893f750 I wish Jreen would properly namespace their signals/slots. 2012-01-23 06:49:05 -05:00
Christian Muehlhaeuser
ff9074421a * Fixed spinner size. 2012-01-23 06:03:00 +01:00
Christian Muehlhaeuser
5a719f39bd * Fixed painting issues with BreadcrumbBar. 2012-01-23 05:52:39 +01:00
Christian Muehlhaeuser
39a40ce372 * Use proper sort order for Top Hits & Related Artists. 2012-01-23 04:48:31 +01:00
Christian Muehlhaeuser
fdb13a1f78 * Fixed alignment of playlist headers. 2012-01-23 03:20:49 +01:00
Christian Muehlhaeuser
9f99108701 * Let's make alignment a data-role as it's intended to be. 2012-01-23 03:12:55 +01:00
Dominik Schmidt
1e022bf627 Use only 'Show Queue' not 'Open Queue' additionally 2012-01-23 03:07:24 +01:00
Dominik Schmidt
354dad71d9 Fix context menu showing play when actually opening artist/album pages 2012-01-23 03:07:24 +01:00
Christian Muehlhaeuser
ea7dc6e057 * Properly center playlist items. 2012-01-23 03:00:12 +01:00
Dominik Schmidt
c9ceb5f813 Align some columns centered in playlistitemdelegate: albumpos, duration, etc 2012-01-23 02:46:00 +01:00
Leo Franchi
cf9389a0de work towards integrating resolvers in accounts refactor 2012-01-22 20:08:32 -05:00
Christian Muehlhaeuser
576c66133e * Fixed search crash. 2012-01-23 00:36:26 +01:00
Christian Muehlhaeuser
0c704d2928 * Fixed column weights. 2012-01-23 00:25:02 +01:00
Christian Muehlhaeuser
d611bad383 * Fixed SQL Query. 2012-01-22 23:16:53 +01:00
Dominik Schmidt
3c2139ebeb taghandlers should be part of the core library not of the gui library 2012-01-22 22:22:56 +01:00
Dominik Schmidt
081102fee4 Read discnumber from script resolvers 2012-01-22 20:40:38 +01:00
Dominik Schmidt
c68772c9b5 Fix rebase fail 2012-01-22 20:40:04 +01:00
Teo Mrnjavac
68c421e00e Fix after borked merge. 2012-01-22 19:50:14 +01:00
Teo Mrnjavac
93722665af Get the discnumber in databaseimpl.cpp as well. 2012-01-22 19:50:14 +01:00
Teo Mrnjavac
b8a38f7eda Write a null value for the composer id if there's no composer. 2012-01-22 19:48:18 +01:00
Teo Mrnjavac
06374586e0 Fix header weights. 2012-01-22 19:48:18 +01:00
Teo Mrnjavac
a7fd04e1f3 Added disc numbers to the Playlist view as well. 2012-01-22 19:48:18 +01:00
Teo Mrnjavac
9661a38c10 Added Composer column to the collection and playlist model/views. 2012-01-22 19:48:18 +01:00
Teo Mrnjavac
47e9f27199 Fixed bug with null discnumbers and added discnumbers to view.
Fix bug in the taghandlers where a discnumber polluted null entries in
the database.
Also made the tree model so that the discnumber appears before the track
number if it's defined.
2012-01-22 19:48:18 +01:00
Teo Mrnjavac
4e59f1dc12 Added discnumber & composer to the DB schema and sorting by discnumber.
Added support for three new metadata elements of a track: Album Artist,
Composer and Disc Number. Since these are not supported in ID3v1 which
TagLib uses as common ground between the different metadata formats, I
had to handle the following cases separately: APE, ASF, ID3v1, ID3v2,
MP4 and OGG.
Modified the DB schema to include composer and discnumber. Provided the
dbmigrate file and bumped the schema version.
Added composer and discnumber data to all relevant queries.
Removed a bogus result->setYear from some queries in dbcmd_resolve.cpp.
2012-01-22 19:48:18 +01:00
Dominik Schmidt
68b146e560 Simplify setting the year on results in scriptresolver 2012-01-22 19:15:10 +01:00
Dominik Schmidt
b06d50be98 Read albumpos from scriptresolvers 2012-01-22 18:57:28 +01:00
Dominik Schmidt
cc6a7fd5c5 qInstallMsgHandler(blackboard); for(int i=0;i<1000;++i) qDebug() << "QPixmap::loadFromData returns bool,
not the pixmap itself"
2012-01-22 18:08:03 +01:00
Dominik Schmidt
0488aa10f8 Fix headless by using QByteArrays instead of QPixmap or QImage 2012-01-22 17:50:33 +01:00
Christian Muehlhaeuser
7dcd6e8edc * Added missing return. 2012-01-22 16:41:40 +01:00
Christian Muehlhaeuser
11c6d4cdca * Moved social actions from Result into Query. Added contextual menu entry for (un)loving. 2012-01-22 16:36:56 +01:00
Christian Muehlhaeuser
60b746c430 * Move database dumping into its own method. 2012-01-20 02:15:42 +01:00
Christian Muehlhaeuser
1f2cc33364 * Moved cover / image retrieval into Artist & Album classes. Huge model / view cleanup. 2012-01-20 02:15:42 +01:00
Jeff Mitchell
5d215b1326 Add a missing delquery.exec() in deletefiles, probably causing the
remote delete failures
2012-01-19 17:32:43 -05:00
Christian Muehlhaeuser
46723bf9d3 * Added a --dumpdb command line option. 2012-01-19 18:11:17 +01:00
Hugo Lindström
36789637a2 Forgot api url 2012-01-19 14:06:51 +01:00
Hugo Lindström
6e669fe530 Adding Soundcloudwall.com 2012-01-19 14:05:34 +01:00
Christian Muehlhaeuser
90c1a4ec51 * Custom layouts are annoying. 2012-01-19 13:12:50 +01:00
Christian Muehlhaeuser
3e7b2b72cf * Let's hope centering the text works better. 2012-01-19 12:29:24 +01:00
Christian Muehlhaeuser
de5df30941 * Fixed source painting for some weird fonts. 2012-01-19 11:51:57 +01:00
Dominik Schmidt
f5764906d6 Don't print passwords in the xml console. Thanks Elessar for the patch. 2012-01-17 19:26:37 +01:00
Christian Muehlhaeuser
f6dce6181e * Added more Jabber debug output for Jason. 2012-01-17 04:20:05 +01:00
Christian Muehlhaeuser
ba74c22663 * Potential malloc / race condition fix. 2012-01-16 13:33:10 +01:00
Jeff Mitchell
14fd0424a1 Working query-stores-its-own-pointer behavior 2012-01-15 18:17:25 -05:00
Jeff Mitchell
4d7945291e Fix a couple warnings and getPlaylistInterface->playlistInterface 2012-01-15 15:02:53 -05:00
Christian Muehlhaeuser
2eabaa0195 * Fixed QSharedPtr related warnings. 2012-01-15 15:29:57 +01:00
Christian Muehlhaeuser
7ffe53b745 * Use QSharedPointers in DbCmd_AllTracks. 2012-01-14 08:33:37 +01:00
Jeff Mitchell
ff9a033e1e Fix real-time being the default 2012-01-13 12:31:44 -05:00
Jeff Mitchell
ef41c80eb1 Move the mutex locker in the query's destructor to try to ensure that no part of the destructor can be happening while access happens some other way.
Also actually lock the mutex in refreshResults() and check for validity of the object.
2012-01-13 08:52:30 -05:00
Jeff Mitchell
25a67447d3 Add lock/unlock icons to toggle realtime listening along 2012-01-12 19:05:14 -05:00
Jeff Mitchell
9242a7c942 Add the ability to listen along in real-time. Won't automatically switch
if you (currently, might need to tweak) have <= 6 seconds left of the
current track...after a while if you get further behind it'll
automatically correct.

Can toggle via source context menu right now, need to work in an icon.

If you pause the music, it turns off real-time if it's on.
2012-01-12 17:55:33 -05:00
Christian Muehlhaeuser
7cd51a6108 * Use tDebug() when printing out a clucene error. 2012-01-11 10:30:17 +01:00
Hugo Lindström
82a2ff900b Fetches artistdata from infosystem 2012-01-11 01:22:22 +01:00
Jeff Mitchell
d6a533527e Fix signal/slot errors from playlistinterface refactor 2012-01-10 12:45:06 -05:00
Jeff Mitchell
758d65e018 Fix signal/slot signatures.
Fixes TWK-654.
2012-01-10 09:56:48 -05:00
Leo Franchi
601bc7729a Initial account UI update. Buttons needs styling and implementation 2012-01-08 18:33:13 -05:00
Leo Franchi
0aa61b9fa8 Reduce how fast we watch for other apps, reduce timer wakeups a bit 2012-01-08 18:32:28 -05:00
Leo Franchi
8483e38f58 style 2012-01-08 18:32:10 -05:00
Leo Franchi
a78ef004f0 Add migration from pre-accounts to accounts, and fix twitter in various places 2012-01-07 12:49:37 -05:00
Leo Franchi
811b6842c5 Merge branch 'master' into accounts
Conflicts:
	src/accounts/twitter/CMakeLists.txt
	src/accounts/zeroconf/CMakeLists.txt
	src/sip/jabber/CMakeLists.txt
	src/sip/jabber/googlewrapper/CMakeLists.txt
2012-01-06 17:32:14 -05:00
Leo Franchi
1ccc368195 Don't blindly refresh top loved tracks all the time.
Refactor update function from xspfupdater into tomahawkutils, use it in the loved tracks backend.
also, a few misc cleanups
2012-01-06 17:14:42 -05:00
Leo Franchi
7abc185586 no need for queued connection any longer as clicking a collection item won't lead to a setplaylistinterface 2012-01-06 15:31:48 -05:00
Leo Franchi
4bf4cdda7b reclaim more copyrights :) 2012-01-06 15:31:31 -05:00
Leo Franchi
5fcb7e637a Reduce shared memory segment used as we don't allow more than once instance open at once 2012-01-06 12:38:51 -05:00
Christian Muehlhaeuser
ad9cf93f28 * Properly calculate item spacing in AlbumViews. 2012-01-06 08:16:33 +01:00
Christian Muehlhaeuser
c0c43441c1 * Hotfixes for non-KDE users. 2012-01-06 08:08:34 +01:00
Christian Muehlhaeuser
dc79dfe403 * Hardcoded a bunch of font-sizes. Should be properly fixed eventually. 2012-01-06 08:03:25 +01:00
Dominik Schmidt
ef5af2c7d8 Remove Jreen submodule. 2012-01-05 22:40:10 +01:00
Leo Franchi
d4e82d8c94 Merge pull request #73 from Horrendus/master
Fix Bugs handling Grooveshark Playlist URL Drops
2012-01-04 08:41:00 -08:00
Stefan Derkits
4f3ae14dbf Better function naming in shortenedlinkparser 2012-01-04 17:03:48 +01:00
Stefan Derkits
3655a2b537 Don't check whitelist everytime we want to resolve a redirect 2012-01-04 16:37:04 +01:00
Stefan Derkits
014c6e7344 Fix Bugs in GroovesharkParser & enable resolving of multiple redirects 2012-01-04 15:57:23 +01:00
Christian Muehlhaeuser
bea98a5e30 Merge pull request #72 from mgnz/master
Updated spanish translation! :)
2012-01-03 16:21:07 -08:00
mgnz
aff87e936a Update lang/tomahawk_es.ts 2012-01-04 01:17:24 +01:00
Christian Muehlhaeuser
5f0200b151 * Fixed not being able to collapse History item in the sidebar. 2012-01-02 14:14:14 +01:00
Leo Franchi
d8a8575b55 Merge branch 'master' into accounts 2011-12-31 18:02:08 -06:00
Leo Franchi
801d7e5d89 fix crash on closing account config dialog 2011-12-31 18:00:19 -06:00
Jeff Mitchell
f1fb4a2ed8 Merge branch 'playlistinterface_ptr' of ssh://github.com/tomahawk-player/tomahawk into playlistinterface_ptr 2011-12-31 00:13:56 -05:00
Jeff Mitchell
20d1c2a5cc Possibly fix some of the qsharedptr warnings by making constructors explicit 2011-12-31 00:13:40 -05:00
Jeff Mitchell
9c8a9e0c52 Possibly fix some of the qsharedptr warnings by making constructors explicit 2011-12-31 00:05:50 -05:00
Jeff Mitchell
b72863a1ff Get rid of now-unneeded qsharedptr 2011-12-30 23:49:56 -05:00
Jeff Mitchell
2c3bf472bc Fix a few more signal/slot errors 2011-12-30 23:45:00 -05:00
Jeff Mitchell
05c0f3e2d3 Merge branch 'playlistinterface_ptr' of ssh://github.com/tomahawk-player/tomahawk into playlistinterface_ptr 2011-12-30 23:41:55 -05:00
Jeff Mitchell
8abf965447 Fix a couple signal/slot errors 2011-12-30 23:41:48 -05:00
Christian Muehlhaeuser
0460f6f776 * Fixed compiling MPRIS plugin. 2011-12-31 03:29:11 +01:00
Jeff Mitchell
2ea2b57d92 Finish refactoring playlistinterface...it's its own QObject, and it doesn't multiple inherit with any other classes for any implementations.
Dragons ahead, beware. Brave testers needed.
2011-12-30 20:35:53 -05:00
Jeff Mitchell
9fe40f0682 Separate out Playlist's interface. PlaylistPlaylistInterface isn't a great name, someone come up with something better. 2011-12-30 16:31:19 -05:00
Jeff Mitchell
f81db381be Merge branch 'master' into playlistinterface_ptr 2011-12-29 10:02:46 -05:00
Jeff Mitchell
9320d2f9c2 Fix some corner cases affecting the time slider, such as when the streaming fails 2011-12-29 10:02:09 -05:00
Christian Muehlhaeuser
1639d617f7 * Added shlwapi dependency. 2011-12-28 23:32:47 +01:00
Christian Muehlhaeuser
4341256594 Merge pull request #71 from mickael9/master
Use AssocQueryString on Windows for script resolvers (untested)
2011-12-28 14:20:26 -08:00
mickael9
584c4446b5 Use AssocQueryString on Windows for script resolvers
that are not .exe files (untested !)
2011-12-28 22:42:51 +01:00
Jeff Mitchell
424ac7a1d5 Separate album playlist interface 2011-12-28 12:27:25 -05:00
Jeff Mitchell
9bc38282e9 Merge remote branch 'origin/master' into playlistinterface_ptr 2011-12-28 11:54:40 -05:00
Dominik Schmidt
9011e4977e Rename CMakeLists..txt files to CMakeLists..cmake so we get proper syntax highlighting 2011-12-27 03:25:12 +01:00
Dominik Schmidt
4c2c4b7c6d Remove hardcoded install paths, port over to CMAKE_INSTALL_*DIR 2011-12-27 03:17:37 +01:00
Dominik Schmidt
a6a362944a Allow setting absolute paths in CMAKE_INSTALL_LIBEXECDIR 2011-12-27 02:39:34 +01:00
Dominik Schmidt
a059cc2e18 Include GNUInstallDirs before configuring config.h 2011-12-27 01:09:08 +01:00
Dominik Schmidt
9a13d475a6 Use python.exe as interpreter for .py files on windows. 2011-12-26 20:14:42 +01:00
Jeff Mitchell
1a240911f5 Separate Artist playlist interface 2011-12-26 13:19:24 -05:00
Jeff Mitchell
a4f65cbcc2 Fix some compilation errors from the merge 2011-12-26 12:29:56 -05:00
Jeff Mitchell
073cbbaad5 Merge branch 'master' into playlistinterface_ptr
Conflicts:
	src/libtomahawk/widgets/whatshotwidget.cpp
2011-12-26 12:24:27 -05:00
Leo Franchi
4c8fa37d0e Delete external resolvers when removing them from resolvers list 2011-12-25 19:56:33 -06:00
Leo Franchi
038daffab7 Merge pull request #70 from Horrendus/master
enable parsing of tinysong.com Grooveshark links
2011-12-25 06:55:02 -08:00
Stefan Derkits
bd893995c3 Allow parsing of grooveshark tinysong.com links 2011-12-24 22:44:05 +01:00
Leo Franchi
9634d3230f Go back to old way of sending artists in charts, as old data type may be cached 2011-12-24 11:11:05 -06:00
Christian Muehlhaeuser
01d6a22f92 Merge pull request #69 from Horrendus/master
fix grooveshark stuff by putting ifdefs around it
2011-12-23 13:20:46 -08:00
Stefan Derkits
b3c144b4bf put ifdefs around grooveshark parsing stuff 2011-12-23 22:17:31 +01:00
Christian Muehlhaeuser
3875f0b693 * Auto expand group items. 2011-12-23 20:01:08 +01:00
Leo Franchi
aaf147a39a make twitter compile 2011-12-23 11:13:30 -06:00
Leo Franchi
cf4d0fe465 utils to utilsgui 2011-12-23 09:56:07 -06:00
Leo Franchi
06ac5cffb6 debug-- 2011-12-23 08:02:37 -06:00
Leo Franchi
3987ce7690 Load chart data objects in a thread, as they call synchronous db methods 2011-12-23 08:02:37 -06:00
Leo Franchi
c4c74d84dc Show search widget on qt 4.8 2011-12-23 08:02:36 -06:00
Christian Muehlhaeuser
79c283b181 Merge pull request #68 from Horrendus/master
Parse Grooveshark.com Playlist
2011-12-22 15:09:09 -08:00
Stefan Derkits
2e25337cc1 Small changes in groovesharkparser 2011-12-22 23:59:16 +01:00
Leo Franchi
2d66daec41 initial twitter fix 2011-12-22 12:34:09 -05:00
Stefan Derkits
e989bc1652 Parse Grooveshark playlists on drag & drop
not much error handling yet, but it works ;)
2011-12-21 23:53:09 +01:00
Jeff Mitchell
a8810e90c1 Some cleanup 2011-12-21 16:17:59 -05:00
Jeff Mitchell
daca5fa107 Don't store a source_ptr in SourcePlaylistInterface, since the Source has a playlistinterface_ptr down to it, causing a loop 2011-12-21 14:35:10 -05:00
Jeff Mitchell
d3fbbf778a Some normalization 2011-12-21 14:21:03 -05:00
Jeff Mitchell
44cbcd434e Merge branch 'master' into playlistinterface_ptr
Conflicts:
	src/libtomahawk/playlistinterface.h
2011-12-21 14:08:57 -05:00
Jeff Mitchell
9e80ef8aca Add suggestion from leo 2011-12-21 08:59:27 -05:00
Leo Franchi
f74165424f Port zeroconf plugin 2011-12-18 13:31:36 -05:00
Hugo Lindström
52cb7cebd9 Forgot about spotifyApiReply. 2011-12-17 18:06:44 +01:00
Leo Franchi
2e45bf5e26 Merge remote-tracking branch 'origin/master' into accounts
Conflicts:
	src/accounts/xmpp/sip/xmppsip.cpp
	src/accounts/xmpp/sip/xmppsip.h
	src/libtomahawk/sip/SipHandler.cpp
	src/libtomahawk/sip/SipPlugin.cpp
	src/libtomahawk/sip/SipPlugin.h
	src/settingsdialog.cpp
	src/sip/CMakeLists.txt
	src/sip/jabber/googlewrapper/googlewrapper.cpp
	src/sip/twitter/twitter.cpp
	src/sip/xmpp/CMakeLists.txt
	src/tomahawkwindow.cpp
2011-12-16 18:45:18 -05:00
Leo Franchi
7783f48bae show account name in delegate properly 2011-12-16 18:11:15 -05:00
Leo Franchi
3607d364e7 port google wrapper over 2011-12-16 17:31:54 -05:00
Leo Franchi
aefec1eaac missing bits and pieces of accounts and auto-connect
port settings dialog to new accounts
fix adding and removing of accounts
2011-12-16 16:20:26 -05:00
Christian Muehlhaeuser
54c203982f * Fixed resolving regression, which caused omitting some results. 2011-12-15 20:58:24 +01:00
Christian Muehlhaeuser
c3e8420b57 * Removed PhantomJS warning from tomahawk.js. 2011-12-14 17:05:38 +01:00
Jason Herskowitz
d59ffc55b1 Transparent spinner 2011-12-14 09:33:32 -05:00
Hugo Lindström
f32de6bece Use pong instead to check if spotifyApi is online 2011-12-14 13:01:05 +01:00
Christian Muehlhaeuser
4f4406ffb1 * Indent playlists / stations correctly. This is possibly causing issues with the OS X background color. Needs checking. 2011-12-14 11:24:30 +01:00
Christian Muehlhaeuser
6064b2029e * New sidebar style. Also, first steps towards reorganizing it. 2011-12-14 11:16:22 +01:00
Dominik Schmidt
31fb398b37 Update README concerning Jreen 2011-12-13 00:12:35 +01:00
Leo Franchi
00adb66cf0 ready for settings dialog work 2011-12-11 22:57:14 -05:00
Leo Franchi
b6911525a4 separate more stuff into siphandler/accountmanager 2011-12-11 22:41:59 -05:00
Jason Herskowitz
3b8deef8c5 New spinner animation 2011-12-11 16:20:52 -05:00
Jeff Mitchell
075a5a0f14 Add some debug 2011-12-10 12:02:02 -05:00
Jeff Mitchell
2a96048b7c This doesn't actually help, but maybe is "correct"...? Or quite possibly not. 2011-12-10 02:46:03 -05:00
Jeff Mitchell
ce13d7fed5 Explicitly call clear on the shared pointer in the playlistinterface destructor 2011-12-10 02:27:32 -05:00
Jeff Mitchell
8ffbebb2b6 Porting of the rest of the non-QSharedPointer playlistinterface pointers 2011-12-10 02:15:14 -05:00
Jeff Mitchell
ce60d46fa6 Register playlistinterface_ptr type 2011-12-09 23:29:21 -05:00
Jeff Mitchell
93a31146b1 Fix logical mistake 2011-12-09 23:20:57 -05:00
Christian Muehlhaeuser
d22bccd9fb * A few cleanups. 2011-12-10 02:02:59 +01:00
Jeff Mitchell
3430535774 First bit of migrating PlaylistInterface* to playlistinterface_ptr
Compiles, but need to fix up signals and slots
2011-12-09 17:19:57 -05:00
Hugo Lindström
3c3c1414fe Allow symlinks in dirtree 2011-12-09 20:37:54 +01:00
Dominik Schmidt
64d220d9c5 Show localized wikipedia context 2011-12-09 03:03:28 +01:00
Christian Muehlhaeuser
41e908bb34 * Updated english translation. 2011-12-07 08:51:18 +01:00
Christian Muehlhaeuser
94b7ff59d5 * Updated german translation. 2011-12-07 08:47:28 +01:00
Christian Muehlhaeuser
0ea928ade7 Merge pull request #67 from zizzfizzix/tr
small changes to Polish translation once again
2011-12-06 23:30:49 -08:00
Kuba Serafinowski
d1db5441df small changes to Polish translation once again 2011-12-07 07:29:14 +00:00
Christian Muehlhaeuser
45f7cd2938 * Fixed button label. 2011-12-07 07:55:50 +01:00
Christian Muehlhaeuser
41b3ebf4e4 * Auto-switch to super collection mode when no official info is available on artist & album pages. 2011-12-07 07:19:30 +01:00
Christian Muehlhaeuser
330efc5833 * Source/style cleanup. 2011-12-05 21:10:32 +01:00
Christian Muehlhaeuser
6f4a26220d * Search for more albums / artists. 2011-12-05 21:07:53 +01:00
Christian Muehlhaeuser
919644d07a * Query's toString() supports fulltext search queries, now. 2011-12-05 21:07:09 +01:00
Christian Muehlhaeuser
30cabb304c * Implement limiting for index searching. 2011-12-05 21:05:05 +01:00
Jeff Mitchell
b80230c962 Use system proxy when no proxy is set, for windows/mac 2011-12-05 13:02:56 -05:00
Dominik Schmidt
e8563b119b Fix compilation on OSX 2011-12-05 16:32:45 +01:00
Dominik Schmidt
83051cd554 Split ExternalResolver 2011-12-05 14:25:05 +01:00
Dominik Schmidt
cfce10fbec Split Resolver classes into separate files 2011-12-05 14:25:04 +01:00
Christian Muehlhaeuser
09087e2a8e * Safe approach to prevent resizing of album items. 2011-12-05 10:15:07 +01:00
Christian Muehlhaeuser
3520a7d0d8 * Slight optimation. 2011-12-05 10:04:18 +01:00
Christian Muehlhaeuser
7b4d08a7f5 * Don't prioritize album-less tracks in edge cases. 2011-12-05 09:42:00 +01:00
Christian Muehlhaeuser
7e6b543a70 * Use bold font for painting artist items in the 'still so-wrongly-called' AlbumItemDelegate. 2011-12-05 08:34:55 +01:00
Christian Muehlhaeuser
41c79b931f * In Collection view with filter set: Don't jump to the selected item when expanding an artist. 2011-12-05 08:33:30 +01:00
Christian Muehlhaeuser
477202aa47 Merge pull request #66 from zizzfizzix/tr
update Polish translation
2011-12-04 22:54:24 -08:00
Christian Muehlhaeuser
ff0d9a9837 Merge pull request #65 from mgnz/master
Updated spanish translation... again!
2011-12-04 22:54:15 -08:00
Christian Muehlhaeuser
2c83807efc * Fixed DropJob's query counter as discussed on GitHub. 2011-12-05 07:53:36 +01:00
Christian Muehlhaeuser
3517726d92 * Basic implementation of artist & album searches. 2011-12-05 07:51:24 +01:00
Christian Muehlhaeuser
a00ea52b0b * Moved Attica to port 80. 2011-12-05 02:50:33 +01:00
Kuba Serafinowski
e4b11807f2 update Polish translation 2011-12-04 21:20:37 +00:00
mgnz
7b521b0690 Update lang/tomahawk_es.ts 2011-12-04 17:35:25 +01:00
mgnz
8f14777831 Fixed some typo errors. 2011-12-04 17:31:10 +01:00
Christian Muehlhaeuser
ef3246db9c * Fixed another sidebar issue with gtk styles. 2011-12-04 13:02:22 +01:00
Christian Muehlhaeuser
7726302103 * Fixed sidebar issues with gtk styles. 2011-12-04 12:55:06 +01:00
Christian Muehlhaeuser
2b85536625 * URL encode the mpris2 ArtUrl. 2011-12-04 07:58:37 +01:00
Christian Muehlhaeuser
2bfa77c1ff * Potential fix for TWK-618: ArtUrl not properly encoded. 2011-12-04 07:48:27 +01:00
Christian Muehlhaeuser
9d4974b174 * Remove nonsense. 2011-12-04 07:32:49 +01:00
Christian Muehlhaeuser
eaf9d806d1 * Give instant user feedback when scanner gets kicked off. 2011-12-04 07:31:46 +01:00
Christian Muehlhaeuser
152b07d816 * Updated ChangeLog. 2011-12-04 06:39:33 +01:00
Christian Muehlhaeuser
441fa10add Merge pull request #64 from mgnz/master
Updated spanish translation
2011-12-03 21:31:50 -08:00
Christian Muehlhaeuser
261149287c * Renamed Tomahawk / Music Player menu to Controls. Let's see how that feels cross-platform. 2011-12-04 05:54:33 +01:00
Leo Franchi
80320fcf4e More regression hunting: fix dynamic playlist spinner disappearing prematurely 2011-12-03 16:09:50 -08:00
Leo Franchi
de6c80f04d Fix regression from model refactor that changed function name 2011-12-03 15:15:36 -08:00
mgnz
a4891bc64d Update lang/tomahawk_es.ts 2011-12-03 16:17:54 +01:00
mgnz
13ecdb04ee Update lang/tomahawk_es.ts 2011-12-03 16:13:10 +01:00
Christian Muehlhaeuser
633dddf281 * Fixed tomahawk:// protocol handler on Windows (Firefox related). 2011-12-02 13:19:02 +01:00
Christian Muehlhaeuser
8941036105 * Fixed auto-scrolling with the current selection. 2011-12-02 13:02:28 +01:00
Christian Muehlhaeuser
f46d0803be * Made sure lists resolve top-to-bottom. 2011-12-02 10:00:07 +01:00
Christian Muehlhaeuser
eec1e56dda * Try to fix dupe Tomahawk menu on OSX. 2011-12-01 15:34:24 +01:00
Christian Muehlhaeuser
324f8a9515 * Show an error dialog when a playback problem occurred. 2011-12-01 08:09:54 +01:00
Christian Muehlhaeuser
793babcd12 * Fixed TWK-418: Context menu for now playing track. 2011-12-01 07:21:53 +01:00
Christian Muehlhaeuser
8fb15633d3 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-12-01 06:08:02 +01:00
Dominik Schmidt
4b77b9525f Don't install .protocol file anymore, if it's not enforced with LEGACY_KDE_INTEGRATION. Does anyone have Qt >= 4.7 and KDE =< 4.6.0 2011-11-30 18:15:41 +01:00
Dominik Schmidt
eff08a7cbd Fix opening URLs with gvfs-open, why does firefox ignore it? why does epiphany ignore it? ... 2011-11-30 14:57:39 +01:00
Christian Muehlhaeuser
6c8550bf64 * Bit of spring cleanup. 2011-11-30 11:49:01 +01:00
Dominik Schmidt
29239e08d3 Boo for too pedantic desktop-file-validate 2011-11-29 14:02:18 +01:00
Dominik Schmidt
34677a9c85 Merge branch 'master' of git://github.com/tomahawk-player/tomahawk 2011-11-29 13:42:52 +01:00
Dominik Schmidt
66914824af Add MimeType=x-scheme-handler/tomahawk to tomahawk.desktop 2011-11-29 13:42:42 +01:00
Christian Muehlhaeuser
08f6970303 Merge pull request #63 from omniwired/master
Updated to the lastest version and polished some lines
2011-11-29 00:25:05 -08:00
OmniWired
4878784ebe * Updated to lastest version and polished some lines 2011-11-29 04:34:37 -03:00
Dominik Schmidt
7984d38628 Remove now unneeded files from windows installer 2011-11-29 03:08:45 +01:00
Dominik Schmidt
b5ab183504 Use new phonon(-vlc) builds in update-vlc.sh, yay for umlauts and no-track-skipping (hopefully) 2011-11-29 02:53:24 +01:00
Dominik Schmidt
91f8ab27ee ifdefs--: abstract QDesktopServices away once again in TomahawkSettings 2011-11-28 19:39:08 +01:00
Leo Franchi
328d055ee1 some work 2011-11-28 13:17:27 -05:00
Christian Muehlhaeuser
7c9fc46caa * Don't accept 0.0.0.0 as a visible / valid address. 2011-11-28 16:36:01 +01:00
Christian Muehlhaeuser
48d07a679b * Proper fix for TWK-422. 2011-11-28 15:54:53 +01:00
Christian Muehlhaeuser
f4d1bc8dfb * Potential fix for TWK-422: Disappearing (white on white) sidebar items for some styles (e.g. gtk/gnome). 2011-11-28 15:43:28 +01:00
Christian Muehlhaeuser
5c380b0b8c * Tomahawkified some sources. 2011-11-28 15:26:37 +01:00
Christian Muehlhaeuser
9787e3bc08 * Updated German translation. 2011-11-28 15:15:24 +01:00
Christian Muehlhaeuser
5e15808508 * Updated German translation. 2011-11-28 14:58:31 +01:00
Leo Franchi
9a4d4cc409 remove unneeded debug 2011-11-28 08:31:26 -05:00
Christian Muehlhaeuser
fd936617d7 * Fixing assert in JobStatusModel. 2011-11-28 14:31:07 +01:00
Christian Muehlhaeuser
ef02bd8fae * Updated german translation. 2011-11-28 11:45:39 +01:00
Christian Muehlhaeuser
ffe30498cb * More natural job view order. 2011-11-28 10:37:55 +01:00
Christian Muehlhaeuser
2585467f0a * Animate the JobStatusView when it changes its size. 2011-11-28 10:22:44 +01:00
Christian Muehlhaeuser
68cf583e4b * Remove silly deleteLater in M3uLoader. 2011-11-28 09:54:04 +01:00
Christian Muehlhaeuser
e2336b595d * Fixed M3U loader not appending tracks to an existing playlist. 2011-11-28 09:51:20 +01:00
Christian Muehlhaeuser
5911b51d05 * Fixed storing playlists after directly dropping stuff on the PlaylistModel. 2011-11-28 09:29:55 +01:00
Christian Muehlhaeuser
9e23315972 * Added a splitter to SourceInfoWidget. 2011-11-28 09:05:59 +01:00
Christian Muehlhaeuser
e536157a4f * Quietened up a bit. 2011-11-28 08:56:18 +01:00
Christian Muehlhaeuser
c850fa3520 * Fixed TWK-556: Auto switch to super collection mode if we don't have any 'offical' information available. 2011-11-28 08:16:43 +01:00
Christian Muehlhaeuser
a8b655fef8 * Fixed TWK-559: Be more consistent with our GUI text. 2011-11-28 06:45:29 +01:00
Christian Muehlhaeuser
3ed443456a * Support Footnotes in TreeViews. 2011-11-28 06:32:20 +01:00
Dominik Schmidt
0a46febf36 Disable unreachable code path in servent which depends on QtGui 2011-11-28 03:31:42 +01:00
Christian Muehlhaeuser
956243e570 * Center overlay widgets before showing them the first time. 2011-11-27 01:11:21 +01:00
Christian Muehlhaeuser
b86c0f5c5e * Added a few overlay info messages. 2011-11-26 09:59:27 +01:00
Christian Muehlhaeuser
7b96505d27 * Improved file scanning situation a bit. 2011-11-26 09:10:51 +01:00
Leo Franchi
ba80899ee5 Remove upcoming tracks not from selected but from playing item 2011-11-25 14:34:35 -05:00
Leo Franchi
f9b18a9c26 Update the tree on mac after /Volumes is shown to avoid a race condition 2011-11-25 14:30:49 -05:00
Hugo Lindström
ed306b00f0 Create playlist from M3U 2011-11-24 15:02:33 +01:00
Christian Muehlhaeuser
f38f6b2eed * Coding-style fixes for DropJob. 2011-11-24 13:57:25 +01:00
Christian Muehlhaeuser
5929adfa57 * Support a few more URL shorteners: ow.ly, fb.me, itun.es, tinyurl.com. 2011-11-24 13:30:20 +01:00
Christian Muehlhaeuser
758bb74603 * Updated german and english translations. 2011-11-24 12:57:12 +01:00
Christian Muehlhaeuser
7d33ca1dec * Removed obsolete m_isPlayingHttp boolean. 2011-11-24 10:30:34 +01:00
Frank Osterfeld
953a9d2f71 fix warnings (delete + incomplete type, initializer list ordering) 2011-11-24 08:23:50 +01:00
Christian Muehlhaeuser
c90f0efad2 * Try to fix headless compiling. 2011-11-24 06:33:04 +01:00
Christian Muehlhaeuser
e4ad727a6f * Fixed a few more translations. Could fix TWK-591. 2011-11-24 06:25:00 +01:00
Christian Muehlhaeuser
97e69f9dcc * Added debugging output to identify Windows special char issue. 2011-11-24 05:29:01 +01:00
Christian Muehlhaeuser
e5086f5b49 * Crash reporter can now be disabled in the settings. 2011-11-24 02:41:18 +01:00
Christian Muehlhaeuser
c5236b897e * Updated ChangeLog. 2011-11-24 01:50:10 +01:00
Christian Muehlhaeuser
383ae37ce5 * Updated ChangeLog. 2011-11-24 01:50:10 +01:00
Christian Muehlhaeuser
cd753265a1 * Updated ChangeLog. 2011-11-24 01:50:10 +01:00
Christian Muehlhaeuser
9a0b3409d9 * Use default locale if translation can't be found. 2011-11-24 01:30:16 +01:00
Christian Muehlhaeuser
8d620363b7 * Disable UbuntuUnityHack until it's working properly. 2011-11-24 01:24:12 +01:00
Christian Muehlhaeuser
1db24d9c01 Merge pull request #61 from omniwired/master
Updated the .ts to the lastest source version
2011-11-23 14:28:25 -08:00
OmniWired
ccd485290e * Updated to lastest version and polished some lines 2011-11-23 19:05:44 -03:00
Hugo Lindström
9f0b412626 Codestyle fix 2011-11-23 22:56:37 +01:00
Hugo Lindström
31945b9017 Begun M3u parsing 2011-11-23 22:53:21 +01:00
Jason Herskowitz
11a6f419aa Update changelog 2011-11-23 16:14:28 -05:00
Christian Muehlhaeuser
5f8b56ff85 * Support .oga files (ogg mimetype). 2011-11-23 20:50:15 +01:00
Christian Muehlhaeuser
fc5bf30a79 * Prevent stuck now playing indicator. 2011-11-23 12:28:34 +01:00
Christian Muehlhaeuser
8cff1f7b76 * Only open database once. Might speed up loading a bit. 2011-11-23 11:37:36 +01:00
Christian Muehlhaeuser
86860b6da3 * Should hopefully fix Windows SettingsDialog. 2011-11-23 10:46:13 +01:00
Christian Muehlhaeuser
1d3d7738ae * Try fixing SettingsDialog on Windows. 2011-11-23 10:32:48 +01:00
Christian Muehlhaeuser
f3f1c2d814 * Forgot to rename crash reporter in one more place. 2011-11-23 10:22:13 +01:00
Christian Muehlhaeuser
e63eef8faf * Updated new crash reporter binary name in release scripts. 2011-11-23 10:12:09 +01:00
Christian Muehlhaeuser
cb3a4cf66b * Call ensurePolished before creating buttons in SettingsDialog. 2011-11-23 09:57:08 +01:00
Christian Muehlhaeuser
cf771ae94b * DRY: Cleaned up DropJob / ShortenedLinkParser & handling spoti.fi urls now. 2011-11-23 09:33:31 +01:00
Christian Muehlhaeuser
1b09361c51 * DRY: Moved md5() helper method to TomahawkUtils. 2011-11-23 09:18:31 +01:00
Dominik Schmidt
6172ef3df4 * Merged FindCLucene fix. 2011-11-23 06:39:38 +01:00
Christian Muehlhaeuser
a0cda5cce6 * Moved charts & spotify parser to port 80. 2011-11-23 06:32:29 +01:00
Christian Muehlhaeuser
445d6ca84c * Prevented over-zealous assert in PlaylistModel. 2011-11-23 06:20:04 +01:00
Dominik Schmidt
2be3ebd90b * Merged CrashReporter changes into master. 2011-11-23 06:14:26 +01:00
Dominik Schmidt
8a9c8278e2 Search for *_tomahawkresolver in CMAKE_INSTALL_LIBEXECDIR 2011-11-23 05:47:49 +01:00
Christian Muehlhaeuser
7c66269ac1 * Look for CrashReporter in local and global dirs. 2011-11-23 05:47:43 +01:00
Christian Muehlhaeuser
30dcf3cebb * More reliable and easier to read version check. Moved to TomahawkUtils, too. 2011-11-23 05:32:46 +01:00
Christian Muehlhaeuser
f5d2251312 * Made sure we don't duplicate connections in WelcomeWidget. 2011-11-23 05:03:58 +01:00
Christian Muehlhaeuser
004ea967ad * Use the proper color for selected playlist items on the Dashboard. 2011-11-23 05:00:47 +01:00
Christian Muehlhaeuser
55ab72ee76 * Use the proper highlight color for painting hovered artist names in the AlbumItemDelegate. 2011-11-23 04:54:16 +01:00
Christian Muehlhaeuser
54b8def06a * Update SourceInfoWidget when collection changes. 2011-11-23 04:38:07 +01:00
Christian Muehlhaeuser
778f352c0f * Less furious logging. 2011-11-23 04:18:40 +01:00
Christian Muehlhaeuser
34fab0f210 * Update recent additions on welcome page whenever a collection changes. 2011-11-23 04:18:39 +01:00
Christian Muehlhaeuser
ddfe32eec3 Merge pull request #60 from omniwired/master
Spanish Translation
2011-11-22 18:05:32 -08:00
OmniWired
cf678ce89f * Added spanish translation. 2011-11-22 22:36:55 -03:00
Christian Muehlhaeuser
4cbcbd2cda Merge pull request #59 from zizzfizzix/tr
PL translation update + some fixes and cleanups
2011-11-22 16:49:44 -08:00
Kuba Serafinowski
8cba2c4727 small update 2011-11-23 00:00:11 +00:00
Kuba Serafinowski
24d524f558 moar strings to translate! 2011-11-23 00:00:11 +00:00
Kuba Serafinowski
f060b6fd6b update PL translation file 2011-11-23 00:00:11 +00:00
Kuba Serafinowski
2a98857af1 remove unneeded strings 2011-11-23 00:00:11 +00:00
Kuba Serafinowski
147364de84 tiny typo fix 2011-11-23 00:00:10 +00:00
Jeff Mitchell
9b895034df Hopefully fix a case where the seek slider travels on when Phonon is
buffering
2011-11-22 16:53:35 -05:00
Jeff Mitchell
ef575c4d6d More explicitly set DefaultProxy and NoProxy in respective cases, may
help jayniz
2011-11-22 12:54:14 -05:00
Leo Franchi
31a67ecd42 Merge pull request #58 from rotzbouw/master
Enhance resolver version comparison to a third point
2011-11-22 07:39:09 -08:00
Thierry Goeckel
5bc0a496ed Enhance version upgrading to include a third point. 2011-11-22 16:30:39 +01:00
Leo Franchi
38a7051bba Fix loading XSPFs with spaces in their name. 2011-11-22 08:57:04 -05:00
Christian Muehlhaeuser
b5167db7a3 * Revert back to using system locale. 2011-11-22 08:29:49 +01:00
Christian Muehlhaeuser
b62dd8e96a * Add a default english translation. Fallback to 'en' if locale is set to 'C'. 2011-11-22 07:37:09 +01:00
Christian Muehlhaeuser
f023bb2bc7 * Fixed translation issue in TomahawkUtils. 2011-11-22 07:24:20 +01:00
Christian Muehlhaeuser
8a4e75e8fb * Fixed window title in AudioControls. 2011-11-22 06:35:44 +01:00
Christian Muehlhaeuser
7197040026 Merge pull request #55 from zizzfizzix/translation_pl
add Polish translation
2011-11-21 20:34:46 -08:00
Christian Muehlhaeuser
c9bf8eb349 * Increased size of Get-New-Resolvers dialog. 2011-11-22 05:23:46 +01:00
Christian Muehlhaeuser
0fba1504f0 * Cleanup scanner if there were no new and no obsolete tracks found. 2011-11-22 04:16:27 +01:00
Christian Muehlhaeuser
1347736ead * Don't let the MusicScanner emit finished before all our stuff actually ended up in the database. 2011-11-22 04:07:38 +01:00
Christian Muehlhaeuser
360748dd0b * Re-enable grouping of dynamic playlist revisions. 2011-11-22 02:04:42 +01:00
Christian Muehlhaeuser
18a3f15101 * Remove bottom label of steering controls. Changes now take effect on clicking the apply button. 2011-11-22 02:00:57 +01:00
Christian Muehlhaeuser
eba1505e1d * Don't remove current index when restarting a track by activating it directly.
* Don't create new playlist revisions for a list that doesn't belong to you.
2011-11-22 01:52:24 +01:00
Christian Muehlhaeuser
0f21cde318 * Fixed crashing on playing from queue. 2011-11-22 01:36:22 +01:00
Christian Muehlhaeuser
1c1b6ea940 * Fixed updating result-hints for out-dated dynamic playlists. 2011-11-21 21:52:58 +01:00
Christian Muehlhaeuser
4f55c6aa9a * Fixed compiling on Fedora 16. 2011-11-21 20:24:40 +01:00
Christian Muehlhaeuser
83d48c99aa * Don't overwrite friendlyname with an empty one. 2011-11-21 18:04:03 +01:00
Dominik Schmidt
40248965be Add missing files 2011-11-21 16:15:54 +01:00
Dominik Schmidt
584fc8a1b6 ifdefs--: split TomahawkSettings 2011-11-21 16:14:04 +01:00
Dominik Schmidt
3d0421b0a6 ifdefs--: not needed anymore 2011-11-21 16:14:04 +01:00
Christian Muehlhaeuser
633ade23fc * Assert on empty friendlynames. 2011-11-21 14:46:29 +01:00
Leo Franchi
f6d377275b Merge pull request #57 from crabmanX/xspfdialog
fix xspf import QFileDialog filter
2011-11-21 05:05:13 -08:00
Leo Franchi
5053c3cc7a Don't return last factory result instead of correct one 2011-11-21 07:59:43 -05:00
Kilian Lackhove
eb03e2c912 fix xspf import QFileDialog filter 2011-11-21 13:55:32 +01:00
Dominik Schmidt
699a6583b2 Merge pull request #56 from zizzfizzix/TWK-583
Fix #TWK-583
2011-11-21 04:50:04 -08:00
Kuba Serafinowski
a760577924 fix TWK-583 for jabber too 2011-11-21 12:47:13 +00:00
Kuba Serafinowski
5e40409ed9 fix for TWK-583 2011-11-21 12:31:19 +00:00
Hugo Lindström
7eb361f514 Fix for broken compile 2011-11-21 08:43:06 +01:00
Christian Muehlhaeuser
3a500a6303 * Always set current name as friendlyname. 2011-11-21 06:45:32 +01:00
Christian Muehlhaeuser
de48898d34 * Fixed WelcomeWidget. 2011-11-21 05:21:57 +01:00
Leo Franchi
6b23a58678 Fix one compile error 2011-11-20 23:08:59 -05:00
Christian Muehlhaeuser
d650ea45b5 * Refactored Track-, Collection-, PlaylistModel. 2011-11-21 05:01:00 +01:00
Leo Franchi
3f139addc3 Add a 0.3.2 changelog 2011-11-20 22:51:57 -05:00
Leo Franchi
8488eac070 TWK-531: Show (-) on new item after deleting an item 2011-11-20 22:39:00 -05:00
Leo Franchi
1a338aa602 Reclaim copyright :) 2011-11-20 22:39:00 -05:00
Dominik Schmidt
118b074aa3 What was that include for boostcrap again? 2011-11-21 04:14:05 +01:00
Dominik Schmidt
4f46ba3e61 style++ 2011-11-21 04:05:24 +01:00
Dominik Schmidt
2bba9ba000 ifdefs--: make pipeline ready for tomahawk-core 2011-11-21 03:57:26 +01:00
Dominik Schmidt
4c2bb1dd28 Fix headless 2011-11-21 02:41:09 +01:00
Dominik Schmidt
8849577f82 ifdefs--: Same for QtScriptResolver, QtWebkit needs QtGui :( 2011-11-21 02:41:09 +01:00
Dominik Schmidt
cef3f3ef0d ifdefs--: GlobalActionManager is not part of the headless build anyways 2011-11-21 02:41:09 +01:00
Leo Franchi
0dda262c18 Clear upcoming station tracks when steering, and re-fetch two 2011-11-20 20:06:51 -05:00
Leo Franchi
eb7845092a use QFileSystemModel instead of deprecated QDirModel, and show /Volumes on mac 2011-11-20 18:05:02 -05:00
Leo Franchi
24bf86fc37 Reset source last played when going offline---not functional yet 2011-11-20 18:02:39 -05:00
Dominik Schmidt
ea7e641bdd ifdefs--: Move ActionCollection initialization code from AudioEngine to
Ac
2011-11-20 23:32:39 +01:00
Dominik Schmidt
0f3ba435d9 lalalalala 2011-11-20 22:39:50 +01:00
Dominik Schmidt
d199fe5ff0 ifdefs--: split TomahawkUtils 2011-11-20 22:35:34 +01:00
Leo Franchi
c63e56712e Use plugins/ instead of PlugIns/ as vlc hard-codes it internally. 2011-11-20 16:17:42 -05:00
Christian Muehlhaeuser
a14b3cf49a Merge pull request #52 from yeager/master
Enable Swedish translation
2011-11-20 12:08:20 -08:00
Leo Franchi
14f75a0f8c Increment job count when creating a new xspf job 2011-11-20 14:26:17 -05:00
Jeff Mitchell
52df44c40c Merge branch 'master' into serventfixing 2011-11-20 13:14:06 -05:00
Kuba Serafinowski
0fb232216c add Polish translation
initially ~76% done
2011-11-20 15:27:55 +00:00
Dominik Schmidt
0449557ab2 Merge pull request #54 from zizzfizzix/littlefixes
Littlefixes
2011-11-20 05:24:01 -08:00
Kuba Serafinowski
00e4faa690 make the string extract with lupdate 2011-11-20 13:07:26 +00:00
Kuba Serafinowski
9e354b4392 match the text with buttons in the dialog 2011-11-20 13:07:26 +00:00
Hugo Lindström
743bffc9a6 Try to append xspf 2011-11-20 11:26:04 +01:00
Hugo Lindström
23d30e6197 Unbreak url drops 2011-11-20 09:23:38 +01:00
Hugo Lindström
302bdd4c6d Fix for local xspf dropjob, also allow remotes 2011-11-19 22:29:39 +01:00
Daniel Nylander
3a53f96119 Enabling Swedish translation 2011-11-19 17:03:10 +01:00
Christian Muehlhaeuser
42f5ef4bc9 Merge pull request #51 from yeager/master
Swedish translation
2011-11-19 07:29:55 -08:00
Daniel Nylander
e7df308d2a Added Swedish translation 2011-11-19 16:25:58 +01:00
Christian Muehlhaeuser
c533778f3b Merge pull request #50 from zizzfizzix/cmake_quazip_fix
Fix misleading cmake message - thanks zizzfizzix!
2011-11-19 06:47:10 -08:00
Kuba Serafinowski
8defaa6be5 fix misleading cmake message 2011-11-19 13:29:40 +00:00
Leo Franchi
fe97fbe977 Show tooltip with full text in job view 2011-11-18 21:34:55 -05:00
Leo Franchi
cef9c620dc Revert last two commits, were not meant to be pushed 2011-11-18 21:17:24 -05:00
Leo Franchi
96d8d8b2b2 Make clicking back to current track work on dashboard, charts, and artist/album pages 2011-11-18 21:12:29 -05:00
Leo Franchi
115c618fc2 Don't show speaker next to a playlist if not paused or playing 2011-11-18 21:12:29 -05:00
Jeff Mitchell
46793bbf99 Do the connection name fixing in a different way; always end up with a
QHostAddress.
2011-11-18 18:18:19 -05:00
Jeff Mitchell
ed11593b16 Remove some debugging 2011-11-18 17:35:23 -05:00
Jeff Mitchell
7cc4632761 Lots of debug and half the fixes for fixing hostnames 2011-11-18 17:12:45 -05:00
Leo Franchi
eedf940e5f Bit more work 2011-11-18 16:58:56 -05:00
Leo Franchi
e3785e50f2 Some work on accounts 2011-11-18 16:56:48 -05:00
Jeff Mitchell
362f8fc622 Add application proxy factory back in, only have servent use noproxy
in favor of default proxy, as opposed to when a SOCKS proxy is set
2011-11-18 15:24:51 -05:00
Leo Franchi
708668ea0a Always clear spinner when no albums found to load in albumview 2011-11-18 13:04:04 -05:00
Leo Franchi
80e1946fa4 Only show JS errors in tomahawk debug builds 2011-11-18 12:48:36 -05:00
Christian Muehlhaeuser
85d70f3408 * Fixed TWK-579: Proper default width for the sidebar. 2011-11-18 17:01:57 +01:00
Christian Muehlhaeuser
b9537802e3 * This should fix sources being stuck in 'Parsing'. 2011-11-18 11:39:47 +01:00
Leo Franchi
0c0a2ea55c Put delcaration in ifdef 2011-11-17 14:37:21 -05:00
Leo Franchi
ca14fbf0aa Automatically upgrade resolvers 2011-11-17 14:19:11 -05:00
Jeff Mitchell
9f1ec0ce93 More cleanup, more actioncollectionifying, and fix a few signals 2011-11-17 13:26:50 -05:00
Jeff Mitchell
9a3cc63700 Move some more actions to the action collection, and remove some
unnecessary member variables from sourcetreeview.
2011-11-17 12:38:26 -05:00
Leo Franchi
9aaadad95b Set the timer with track duration calculated in 2011-11-16 23:07:15 -05:00
Leo Franchi
3bf6682fce fix rdio track loading 2011-11-16 23:06:35 -05:00
Leo Franchi
9f009f5979 Add an "apply steering" button to make it clearer how to steer
Remove some super spammy debug
2011-11-16 22:41:40 -05:00
Leo Franchi
cb072fcf2c Manually replace + with " " as QUrl::queryItems doesn't do it for us... 2011-11-16 22:41:40 -05:00
Leo Franchi
5a94949b94 Don't hook up signals twice for loading xspf 2011-11-16 22:41:40 -05:00
Leo Franchi
589202bde7 Make surer to show playlist once loaded 2011-11-16 22:41:40 -05:00
Leo Franchi
6dd12f1940 Don't show drop indicator for playlists in sidebar and always create new ones 2011-11-16 22:41:40 -05:00
Christian Muehlhaeuser
c5a50849ec * Added debug output to figure out naming weirdness. 2011-11-17 03:23:19 +01:00
Leo Franchi
6a68a1aa1d Make source visible in audiocontrols on os x 2011-11-16 17:46:49 -05:00
Thierry Göckel
aaa2417e74 Fix returning of external IP address for some routers. 2011-11-16 22:37:31 +01:00
Dominik Schmidt
add5308bc3 WIP: headless: fix crashes in sipjabber 2011-11-16 15:21:14 +01:00
Hugo Lindström
b431c34d5f Add cache for all charts. Later on move spotify and hypem to charts api. 2011-11-16 14:55:30 +01:00
Dominik Schmidt
4ba59c07f9 oops 2011-11-16 14:03:46 +01:00
Dominik Schmidt
681521e5a5 WIP: headless: compiles and links :) 2011-11-16 14:01:46 +01:00
Hugo Lindström
8731665257 Adding cache for charts 2011-11-16 12:26:02 +01:00
Christian Muehlhaeuser
e406fb90a9 * Fixed negative time values showing up in GUI. 2011-11-16 05:56:05 +01:00
Christian Muehlhaeuser
5dabdd73a1 * Make SetPlaylistRevision DBCmds groupable. 2011-11-16 05:13:56 +01:00
Christian Muehlhaeuser
179d84c39b * Set stats for the right collection. 2011-11-16 04:54:52 +01:00
Christian Muehlhaeuser
e5636a446e * Introducing groupable DatabaseCommands. 2011-11-16 04:37:29 +01:00
Christian Muehlhaeuser
27c7b3fc17 * Improved collection syncing.
* Improved dupe detection.
* Prevent sources from being stuck syncing.
2011-11-16 02:36:09 +01:00
Jeff Mitchell
7e35961874 Fix metatype registration of InfoStringHash 2011-11-15 16:03:52 -05:00
Dominik Schmidt
c0688dfc1f WIP: headless: libtomahawk compiles, but doesnt link 2011-11-15 05:30:03 +01:00
Dominik Schmidt
f6078403e0 WIP: headless 2011-11-15 05:10:35 +01:00
Jeff Mitchell
aae400bea9 Move sip into accounts, and redo the exports so that it links on boxes
with --as-needed by default (and presumably Windows too)
2011-11-14 17:39:13 -05:00
Jeff Mitchell
01aa3ee9a5 Rename sip libraries 2011-11-14 16:10:31 -05:00
Leo Franchi
0569ee0f1a Don't accept button press events as well as release when handling latches 2011-11-14 16:03:57 -05:00
Jeff Mitchell
ccb6d82e88 Merge branch 'master' into accounts
Conflicts:
	src/libtomahawk/CMakeLists.txt
	src/libtomahawk/sip/SipPlugin.h
2011-11-14 15:41:40 -05:00
Jeff Mitchell
7badddb99c hacky fix for Jreen needing the application proxy set. Really we need to
get them to accept their own QNAM
2011-11-14 13:26:05 -05:00
Jeff Mitchell
d0e0d53ee7 Handle the worker/cache threads better in InfoSystem, and re-enable
deletion on shutdown, so we can test in windows nightlies.
2011-11-14 11:40:59 -05:00
Leo Franchi
6e176c77a6 Don't create QNRs for null urls, let audioengine handle it properly 2011-11-13 22:28:02 -05:00
Leo Franchi
ba8cfc3e91 Revert "Skip to next track if we have a QNR and it emits a failed signal"
This reverts commit 9418fd0fb8.
2011-11-13 22:27:49 -05:00
Leo Franchi
2f97ff63f3 Shrink font for playlist author 2011-11-13 15:50:26 -05:00
Leo Franchi
641759c362 Hide connect warning 2011-11-13 15:49:59 -05:00
Leo Franchi
ae938cf04c Add 0.3.1 fixes to Changelog 2011-11-13 14:06:55 -05:00
Christian Muehlhaeuser
8f13fcdda6 * Updated ChangeLog. 2011-11-13 19:27:13 +01:00
Christian Muehlhaeuser
29bca56e56 * Bumped version to 0.3.99. 2011-11-13 19:26:33 +01:00
Christian Muehlhaeuser
297b230669 * Force an index update after 0.3.1 upgrade. 2011-11-13 19:15:37 +01:00
Christian Muehlhaeuser
1c6c52056f * 'Fixed' Windows shutdown crash. 2011-11-13 18:39:00 +01:00
Dominik Schmidt
25bb7bd547 Remove unneccessary toString conversion 2011-11-13 17:22:02 +01:00
Kilian Lackhove
8c175b88c5 add command line option to hide main window on startup 2011-11-12 12:15:52 -05:00
Christian Muehlhaeuser
85c7cb4186 * Fixed creating index when there is only a local source. 2011-11-11 23:27:52 +01:00
Leo Franchi
09a7d790ad Only do setenv on linux, that's theonly time we'll have unity anyway 2011-11-11 17:04:53 -05:00
Leo Franchi
d49a43709d Hide red latch headphones on local source if the source you are latched on to goes offline 2011-11-11 17:00:07 -05:00
Leo Franchi
96fe10cc9f Add Unity systray hack from Clementine. 2011-11-11 17:00:07 -05:00
Leo Franchi
8626678d23 Add comment 2011-11-11 17:00:06 -05:00
Leo Franchi
2a27cbde0d Draw the author name as well as avatar in recent playlists 2011-11-11 17:00:06 -05:00
Leo Franchi
1f10444d5c Don't show in global menu in unity. Thanks davidsansome :) 2011-11-11 17:00:06 -05:00
Leo Franchi
1bb8ff97d4 Be a bit more resilient in setting the playlist to rename after creating 2011-11-11 17:00:06 -05:00
Leo Franchi
518546b525 Don't select a temp item when deleting it 2011-11-11 17:00:06 -05:00
Leo Franchi
17e1003714 Hide warning 2011-11-11 17:00:06 -05:00
Christian Muehlhaeuser
011ece182f * Prevent watch for changes interfering with running scan. 2011-11-11 19:46:52 +01:00
Leo Franchi
8e742a06d9 Build sparkle upgrade handler conditionally 2011-11-11 12:24:51 -05:00
Leo Franchi
3c024ab7ac Stop the timer on new track starting 2011-11-11 11:35:34 -05:00
Dominik Schmidt
f216a0fe82 Do some work towards tomahawk headless 2011-11-11 03:44:18 +01:00
Leo Franchi
f9b5bda925 Fix crash on Sparkle update when binary is replaced. 2011-11-10 18:30:22 -05:00
Christian Muehlhaeuser
edf47aefd1 * Bumped version to 0.3.0. 2011-11-10 15:55:08 +01:00
Leo Franchi
203b2b251c Change echonest API key for the win 2011-11-09 17:30:38 -05:00
Jeff Mitchell
987e6b97dc Revert "Go back to previous setNam, but functionality should really be identical."
Also remove some debug

This reverts commit e0177ed895.

Conflicts:

	src/libtomahawk/utils/tomahawkutils.cpp
2011-11-09 15:49:39 -05:00
Jeff Mitchell
4a93e54e63 More debugging, and change around how the static function works 2011-11-09 15:28:39 -05:00
Jeff Mitchell
658201eb98 Revert "This function is probably unnecessary now, remove it"
This reverts commit e9ed034dc7.
2011-11-09 15:19:05 -05:00
Jeff Mitchell
c0e486df3f Add nam debug 2011-11-09 14:48:23 -05:00
Jeff Mitchell
e0177ed895 Go back to previous setNam, but functionality should really be identical. 2011-11-09 14:12:48 -05:00
Jeff Mitchell
b325d9bf0f Don't use lastfm nam anymore, just use our in-built SOCKS support. 2011-11-09 13:00:07 -05:00
Jeff Mitchell
9e01e92839 Revert "First try to fix crash on win"
This reverts commit 2fb7c5c289.
2011-11-09 12:49:14 -05:00
Jeff Mitchell
83c53b7150 Probably a necessary safety measure, although I can only really see this maybe being a problem on close, not startup 2011-11-09 11:51:26 -05:00
Jeff Mitchell
2fb7c5c289 First try to fix crash on win 2011-11-09 11:49:34 -05:00
Jeff Mitchell
e9ed034dc7 This function is probably unnecessary now, remove it 2011-11-09 09:42:13 -05:00
Dominik Schmidt
f88ee0fc82 Don't show connected state in diag dialog, it's lying anyways 2011-11-08 19:44:33 +01:00
Jeff Mitchell
68188a7958 Remove unused variable 2011-11-08 13:08:50 -05:00
Christian Muehlhaeuser
b537a237a8 * Hide empty / 0 values for bitrate, year, age, filesize. 2011-11-08 19:03:00 +01:00
Jeff Mitchell
1fc3c4c2f2 Have lastfmplugin use the proper nam(), and same for echonest...echonest was only being given the nam for the gui thread 2011-11-08 10:39:37 -05:00
Jeff Mitchell
8d695c5091 Create scrobbler on startup 2011-11-08 10:29:17 -05:00
Jeff Mitchell
d3f4046396 Merge remote branch 'origin/master' into proxyrefactor 2011-11-08 10:15:18 -05:00
Christian Muehlhaeuser
b80f3717b8 * Properly exclude queries without album position. 2011-11-08 15:49:09 +01:00
Christian Muehlhaeuser
7f9fc557a9 * Remove debugging output. 2011-11-08 15:30:53 +01:00
Christian Muehlhaeuser
14639337d4 * Fixed album position & ordering for InfoSystem views. 2011-11-08 15:30:19 +01:00
Dominik Schmidt
0c136e6815 Don't show CMD window for CrashReporter 2011-11-08 14:16:30 +01:00
Christian Muehlhaeuser
3057cdab5d Merge branch 'proxyrefactor' 2011-11-08 12:02:39 +01:00
Jeff Mitchell
539f2eb700 Proxies are all we really set on nams, so reset proxy data on all threads when the main thread's nam changes 2011-11-08 04:52:06 -05:00
Jeff Mitchell
4c0c610b15 Refactor a ton of stuff. No crashes, but I'm not convinced it all works properly 2011-11-08 04:42:20 -05:00
Christian Muehlhaeuser
6ec8f127c0 * Fixed freezing when filtering out the current item in a tree-view and trying to advance to the next track. 2011-11-08 10:41:30 +01:00
Jeff Mitchell
5db219d571 Refactor proxy stuff...crashes in proxydialog saveSettings though 2011-11-08 03:08:31 -05:00
Jeff Mitchell
f3eb8fa30a Yikes, how did I write these two lines in the wrong file. So tired. 2011-11-08 00:55:41 -05:00
Jeff Mitchell
f70da74f46 Add private listening status showing 2011-11-07 20:47:04 -05:00
Jason Herskowitz
35bbfac2c5 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-11-07 19:25:44 -05:00
Jason Herskowitz
b304bf008d First pass at a Private Listening icon 2011-11-07 19:24:43 -05:00
Jeff Mitchell
ebe39d9fac Populate private listening option in right-click on your source 2011-11-07 19:14:29 -05:00
Jeff Mitchell
4bafeb34fd Insert private listening actions into Tomahawk menu and tray icon menu.
Some visual feedback would be nice.
2011-11-07 18:45:42 -05:00
Hugo Lindström
8e1cefbbb7 Better use non local source :p 2011-11-08 00:18:39 +01:00
Hugo Lindström
2d4fb5e00b Adding ex.fm + If genre is not empty, use that instead of name 2011-11-08 00:16:50 +01:00
Jeff Mitchell
6e2ac3b931 Merge branch 'master' into privatelistening 2011-11-07 15:27:10 -05:00
Jeff Mitchell
3c7d73d4ae Use queuedconnection for both types of connections for latching, which
makes both work well (eventually, figure out where the bug is that makes
this required)
2011-11-07 15:25:48 -05:00
Christian Muehlhaeuser
fca7d05ed7 Revert "* Show Last.fm login test button on OSX again."
This reverts commit 7c5a4065df.
2011-11-07 21:06:26 +01:00
Jeff Mitchell
cf649cdafe Merge branch 'master' into privatelistening 2011-11-07 14:54:30 -05:00
Christian Muehlhaeuser
7c5a4065df * Show Last.fm login test button on OSX again. 2011-11-07 20:51:46 +01:00
Jeff Mitchell
475633c328 Remove all the QNAM-fuckery, since echonest and liblastfm are probably
good now.

(Note: will be pushing the change to liblastfm to libechonest as well)
2011-11-07 13:52:10 -05:00
Christian Muehlhaeuser
f542e97a70 * Register QList<unit> manually. 2011-11-07 16:33:05 +01:00
Christian Muehlhaeuser
c7ac6b5670 * Don't emit changed() twice in TomahawkSettings. 2011-11-07 15:42:02 +01:00
Leo Franchi
2d92cdade0 oops 2011-11-06 20:33:52 -05:00
Leo Franchi
b53f83aa95 Add fileid to result and rename dbid to trackid 2011-11-06 17:58:33 -05:00
Leo Franchi
fa5728d773 And add files 2011-11-06 17:58:20 -05:00
Leo Franchi
85662bb478 Port echonest catalog sync to new collection add/remove 2011-11-06 17:57:39 -05:00
Jeff Mitchell
a1b3538131 Work towards latch actions -- need to debug corner cases 2011-11-06 14:38:58 -05:00
Christian Muehlhaeuser
06ba09f357 * DbCmd_AddFiles should emit the file-IDs, not the track-IDs. 2011-11-06 19:53:23 +01:00
Jeff Mitchell
f70f61ac2f Add initial actioncollection skeleton 2011-11-06 13:43:23 -05:00
Jeff Mitchell
bfcf4d3bdb More cleanup work. Also, move twitter authentication to the account, so it's centralized 2011-11-06 13:18:19 -05:00
Jeff Mitchell
eaab5df5be Merge branch 'master' into accounts 2011-11-06 12:37:40 -05:00
Jeff Mitchell
953a271bee Should really have put it here to begin with -- might well want persistence across restarts 2011-11-06 12:36:48 -05:00
Christian Muehlhaeuser
0ead914d02 * Updated / fixed ChangeLog a bit. 2011-11-06 11:56:43 +01:00
Christian Muehlhaeuser
ac8a4b5a3a * Don't duplicate signal / slot connections in TreeModel. 2011-11-06 11:45:50 +01:00
Christian Muehlhaeuser
e3bb4c9b14 * CrashReporter now also sends Tomahawk.log and the proper version number to our breakpad server. 2011-11-06 07:55:06 +01:00
Christian Muehlhaeuser
d88eaacf8d * Get rid of query_ptrs in Collection. 2011-11-06 06:49:26 +01:00
Jeff Mitchell
1a541c43ad Add in the hooks to control when listening information is sent. Now just need a UI for it... 2011-11-05 20:31:10 -04:00
Jeff Mitchell
edd69b30e0 Start of private listening work 2011-11-05 20:22:23 -04:00
Jeff Mitchell
ccde46447e Put canSelfAuthenticate in the right place 2011-11-05 20:17:18 -04:00
Jeff Mitchell
8b862774c9 Protect-ize account members and some methods 2011-11-05 19:32:57 -04:00
Jeff Mitchell
d50e41f4d2 XMPP via Accounts compiles. NFC if it works, but this is a big step...
(Also, GoogleWrapper not ported yet)
2011-11-05 18:56:55 -04:00
Jeff Mitchell
1736f4caaa Rename tomahawksipmessage to tomahawkxmppmessage -- after all it's quite xmpp specific 2011-11-05 15:51:31 -04:00
Jeff Mitchell
9db0b5ed40 Twitter actually saves auth and connects 2011-11-05 13:36:58 -04:00
Jeff Mitchell
13cfda6e1e Account properly saves itself now and can reload a saved account 2011-11-05 12:22:57 -04:00
Jeff Mitchell
8e2721236f Merge branch 'master' into accounts 2011-11-05 10:34:44 -04:00
Jeff Mitchell
d85291ae3e Update readme vis a vis QTweetLib 2011-11-05 10:34:09 -04:00
Jeff Mitchell
ff0ebfbcc1 Remove internal qtweetlib 2011-11-05 10:22:50 -04:00
Jeff Mitchell
c906bd4e8f Merge branch 'master' into accounts 2011-11-05 10:13:03 -04:00
Christian Muehlhaeuser
e0ca2178d0 * Refresh treeviews after adding / removing a collection's tracks. 2011-11-05 14:46:25 +01:00
Jeff Mitchell
988554934b Merge branch 'master' into accounts 2011-11-05 08:32:32 -04:00
Leo Franchi
69f1d776eb Revert "Remove the http iofactory. AudioEngine handles http:// urls by giving them to phonon directly. Lets not download an mp3 twice."
This reverts commit 1c14f562ad.
2011-11-04 21:29:45 -04:00
Leo Franchi
2ae503612b Update libechonest version in Readme 2011-11-04 20:01:08 -03:00
Leo Franchi
f53369089a Trim the address we get from upnp in case it's " ", otherwise it's not null 2011-11-04 12:59:38 -04:00
Christian Muehlhaeuser
2f5ebd2071 * Don't get stuck searching for another item if the TreeModel is empty. 2011-11-04 08:05:27 +01:00
Leo Franchi
56cb000130 Changelogify 0.3. Phew! 2011-11-03 23:30:36 -04:00
Leo Franchi
db5313129e Show rated resolver star in yellow, so it's clear what you have rated and can no longer change 2011-11-03 23:30:36 -04:00
Leo Franchi
844eb3868a Make sure to always hide the loading spinner, even if it's on a hidden page 2011-11-03 23:30:36 -04:00
Leo Franchi
1c14f562ad Remove the http iofactory. AudioEngine handles http:// urls by giving them to phonon directly. Lets not download an mp3 twice. 2011-11-03 23:30:36 -04:00
Leo Franchi
b26bd5e296 Don't assert on script output in debug mode, just show the error 2011-11-03 23:30:36 -04:00
Leo Franchi
52b77464f1 Don't re-fetch charts on nam change 2011-11-03 23:30:35 -04:00
Jeff Mitchell
8152207334 Cast and dereference so that the check actually works 2011-11-03 17:43:16 -04:00
Jeff Mitchell
e7826d725e Don't lose settings when you crash...sync immediately 2011-11-03 17:22:10 -04:00
Jeff Mitchell
3523609cad Don't always emit a new nam for plugins when it hasn't actually changed 2011-11-03 16:43:53 -04:00
Leo Franchi
663752010c Fix some rdio stuff 2011-11-02 23:17:13 -04:00
Leo Franchi
d6778a55cf Only animate when visible 2011-11-02 23:17:13 -04:00
Leo Franchi
9418fd0fb8 Skip to next track if we have a QNR and it emits a failed signal 2011-11-02 23:17:13 -04:00
Leo Franchi
124706afab Disable on-hovered stars when mouse moves away, make sure to repaint in that case 2011-11-02 23:17:13 -04:00
Leo Franchi
cf818f64c6 use Show/Hide Footnotes instead of just Footnotes. No other way to distinguish this is actually a button, and be consistent with Show/Hide Queue 2011-11-02 23:17:06 -04:00
Leo Franchi
b94445b32a Remove super spammy debug 2011-11-02 20:42:16 -04:00
Leo Franchi
f025edf095 Possible fix for multiple breadcrumbs. Erase buttons before resettin the model. 2011-11-02 20:41:57 -04:00
Hugo Lindström
09bbc9c28d Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-11-02 14:31:38 +01:00
Hugo Lindström
a98f6db089 Adding Rdio and WeAreHunted to charts 2011-11-02 14:29:34 +01:00
Dominik Schmidt
673fdf1b67 Automatically init && update submodules when using INTERNAL_* 2011-11-02 13:13:37 +01:00
Christian Muehlhaeuser
8ebbb55842 * I see why this broke. Fixed now? 2011-11-02 11:45:33 +01:00
Christian Muehlhaeuser
df31cbbe77 * Should fix mingw compilation. 2011-11-02 11:43:15 +01:00
Leo Franchi
5c700394a8 Try harder to make artist name hover disappear, not perfect yet 2011-11-01 22:27:14 -04:00
Leo Franchi
d442c2158a Show a loading spinner in album views so sourceinfopages etc don't look white for a few seconds 2011-11-01 20:00:52 -04:00
Leo Franchi
11779e2037 Load resolver cache after we know about which resolvers we have 2011-11-01 19:08:52 -04:00
Leo Franchi
855180f905 Fix animations in breadcrumb and remove some dead code 2011-11-01 19:00:45 -04:00
Leo Franchi
372eda8f2f fix rdio icon 2011-11-01 13:53:17 -04:00
Leo Franchi
e941f74f99 Add rdio 2011-11-01 13:06:31 -04:00
Hugo Lindström
4350fad789 Rdio parser for tracks, playlists, artists, albums. WIP 2011-11-01 13:03:31 -04:00
Leo Franchi
cce80ff535 did not mean to commit that debug 2011-10-31 17:16:45 -04:00
Leo Franchi
c82845d22a Fix offset querylabel due to wrong fontmetrics 2011-10-31 17:15:52 -04:00
Leo Franchi
7ab68fb418 Show the same mode as the source when clicking into an album from the collection 2011-10-30 22:36:14 -04:00
Leo Franchi
ae56d51076 Properly escape the ö in Hugo's name 2011-10-30 22:13:59 -04:00
Leo Franchi
aa8898a720 Do better th an QSizePolicy::Fixed by setting min/max heights too 2011-10-30 21:57:55 -04:00
Leo Franchi
e9ab459b30 Always accept playlist drops on the sidebar 2011-10-30 21:32:49 -04:00
Leo Franchi
65779b18eb Properly sort 2011-10-30 21:07:39 -04:00
Leo Franchi
ca0166d8fd Set the playlist in audioengine to null when setting the playlist to null 2011-10-30 20:52:51 -04:00
Leo Franchi
5f62c1abb2 Use the no-background cover image when there's no shadow 2011-10-30 20:52:51 -04:00
Leo Franchi
f94fd218a0 Fix some event loop reentrancy madness by creating the playlist on the event loop 2011-10-30 20:52:51 -04:00
Leo Franchi
f3dfc9631c fix some playlist drops on sidebar stuff 2011-10-30 20:52:51 -04:00
Leo Franchi
44fa85af6b sort chart dropdowns 2011-10-30 20:52:51 -04:00
Leo Franchi
cd04d027a0 support and fix search tomahawk link 2011-10-30 20:52:51 -04:00
Leo Franchi
7829be0936 darker background for highlight on osx 2011-10-30 20:52:01 -04:00
Dominik Schmidt
b98d591077 Remove unneeded include directory 2011-10-30 23:49:34 +01:00
Leo Franchi
29fa5c4cd9 Make artist names in album cover view clickable 2011-10-30 18:03:47 -04:00
Leo Franchi
70608158fe less verbose debug 2011-10-30 18:03:47 -04:00
Leo Franchi
106740abca Fix bug where all stars could actr as if they were hovered in all the items 2011-10-30 18:03:47 -04:00
Jason Herskowitz
1c50db9ce9 Re-add CD artwork with no jewel case so we can use if if we need it in certain places 2011-10-30 17:37:22 -04:00
Leo Franchi
2dfa25fbee Add support for tomahawk://view/album and tomahawk://view/artist urls 2011-10-30 15:23:50 -04:00
Leo Franchi
fa577aa018 Don't start playing if clicking a tomahawk link when paused 2011-10-30 15:02:48 -04:00
Leo Franchi
0e83e47f1a Don't make infobar bigger than needed 2011-10-30 14:57:45 -04:00
Leo Franchi
c1ee97fc40 Show a querylabel in the infobar if there's artist we can link it to 2011-10-30 14:57:09 -04:00
Leo Franchi
ec66cf29f3 Remove the iTunes Store: Top Songs in part of the itunes charts 2011-10-30 13:33:50 -04:00
Dominik Schmidt
f1200ac74d Find patched CLucene from Packman 2011-10-30 16:56:10 +01:00
Dominik Schmidt
be1827e554 Install tomahawk.svg to correct destination 2011-10-30 14:58:18 +01:00
Christian Muehlhaeuser
b46af3405e * Fixed TWK-537: Adding social actions for remote sources was broken. 2011-10-30 06:41:25 +01:00
Jeff Mitchell
6c2ed4baed Move timeout and all sources from getInfo into request data struct.
Add finished() signal that gives finished for a particular data type for a caller.
2011-10-29 14:45:09 -04:00
Jeff Mitchell
247e8ffbf4 Treemodel: don't consider an infosystem request resolved if it has invalid data returned 2011-10-29 14:15:52 -04:00
Jason Herskowitz
52d93e8881 Removed obsolete png again 2011-10-29 09:58:27 -04:00
Christian Muehlhaeuser
5d2e3f37f1 * Fixed setting echonest API key. 2011-10-29 15:43:15 +02:00
Jason Herskowitz
455136a722 Optizmize icon filesizes 2011-10-29 09:39:05 -04:00
Christian Muehlhaeuser
ec8fd589e0 * Removed obsolete png. 2011-10-29 09:21:55 +02:00
Christian Muehlhaeuser
5ea8586c59 * Should fix shutdown sequence. 2011-10-29 08:49:42 +02:00
Jason Herskowitz
47cd4de267 Downsize image in filesize and dimension size - don't let the cd touch the sides 2011-10-28 22:47:52 -04:00
Jason Herskowitz
22a502fd59 Put CD placeholder icon into jewel case 2011-10-28 22:35:34 -04:00
Christian Muehlhaeuser
fce45b1d8d * Commit dropshadow for reals. 2011-10-29 04:26:02 +02:00
Christian Muehlhaeuser
2b7623b6d5 * Added a drop shadow to cover images. At some point I'll make it perfect, good enough for now tho. 2011-10-29 04:16:20 +02:00
Jeff Mitchell
5f73c3fb0e If people reuse the same requestId, reassign it for them and print a
warning. Will cause problems if they are relying on the requestId to map
to something, but in that case they'd have problems mapping multiple
things to the same requestId in the first place...
2011-10-28 17:34:26 -04:00
Hugo Lindström
9476c3a3de And also dont break it, its so fragile 2011-10-28 23:33:00 +02:00
Hugo Lindström
5d13694530 Call it Hype Machine instead 2011-10-28 23:24:47 +02:00
Leo Franchi
5df328424d Add shuffle/repeat support to treeview 2011-10-28 17:13:23 -04:00
Hugo Lindström
51d89c7210 Adding hypem 2011-10-28 22:58:57 +02:00
Hugo Lindström
f8d48cc9fc Adding Hypem and fix race in spotify(?) 2011-10-28 22:57:54 +02:00
Leo Franchi
5f7bd6087f Helps to return when i want to return... 2011-10-28 16:49:22 -04:00
Leo Franchi
7549d73115 Don't crash if Rovi returns no results 2011-10-28 15:45:52 -04:00
Leo Franchi
5eef57f3b8 Fix regression in infosystem by working around it. Can't reuse requestData objects without changing their ids. 2011-10-28 15:45:05 -04:00
Leo Franchi
4ad6b2bebf Allow artist pages to have a random/repeat mode 2011-10-28 15:25:54 -04:00
Leo Franchi
af5211aada Switch to using Rovi search api instead of album api
This means we can search for albums with the artist name too, to avoid confusion
2011-10-28 13:19:33 -04:00
Leo Franchi
58b625ef03 Only cache spotify charts for a week, and send defaults 2011-10-28 12:30:45 -04:00
Leo Franchi
4ffbd839eb Actually use cache in musicbrainz plugin. We were caching the data but not fetching from the cache 2011-10-28 12:30:45 -04:00
Christian Muehlhaeuser
f8def37879 * Support clicking info button for unknown albums in TrackView. 2011-10-28 12:31:15 +02:00
Christian Muehlhaeuser
205bde833f * Fixed album spacing on non-X11. 2011-10-28 12:00:17 +02:00
Christian Muehlhaeuser
e2bb4d7340 * Properly center album icons. 2011-10-28 11:23:00 +02:00
Leo Franchi
b040870cf1 Try fixing chart loading race condition 2011-10-27 23:49:56 -04:00
Leo Franchi
4de60911cd Fix sizing and flicker 2011-10-27 22:44:38 -04:00
Leo Franchi
058808aa61 unused signal 2011-10-27 22:28:51 -04:00
Leo Franchi
253d65d5a3 fix chart defaults 2011-10-27 21:55:29 -04:00
Christian Muehlhaeuser
2b682a14ae * Unbreak compiling. 2011-10-28 03:10:59 +02:00
Leo Franchi
84d817c9d4 Fix and remove stale files 2011-10-27 21:05:51 -04:00
Leo Franchi
4db10f8195 first work on new breadcrumb 2011-10-27 21:05:51 -04:00
Leo Franchi
2277c14882 Shrink some iiimages 2011-10-27 17:24:53 -04:00
Leo Franchi
359fd9761d Don't show all stars as hovered over on launch till a mouse move 2011-10-27 15:08:42 -04:00
Leo Franchi
e9fa2259a7 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-10-27 08:43:33 -04:00
Leo Franchi
746d24da50 shrink icon size 2011-10-27 08:43:04 -04:00
Jeff Mitchell
e341120f64 Finish making InfoSystem accept a requestId that clients can use for
tracking
2011-10-26 14:01:03 -04:00
Jeff Mitchell
4e71a56b18 Merge branch 'master' into infosystemrequestids 2011-10-26 11:48:39 -04:00
Hugo Lindström
6ec80ee427 Fix for fail 2011-10-26 14:06:54 +02:00
Hugo Lindström
28a8ca444b Merge pull request #47 from vinzv/patch-1
checked and completed translation except a few tags.
2011-10-26 04:39:20 -07:00
vinzv
a75e827d62 checked and completed translation except a few tags. 2011-10-26 13:22:31 +03:00
Leo Franchi
3dbb4fad41 Don't crash when dragging to the queue on osx 2011-10-25 14:38:16 -04:00
Hugo Lindström
ecf70e7b86 Call the mainmenu something else on Mac 2011-10-25 17:02:40 +02:00
Hugo Lindström
53c1e0986b Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-10-25 15:15:11 +02:00
Hugo Lindström
16f49b58a8 Menumerge as to TWK-213 2011-10-25 15:13:17 +02:00
Jeff Mitchell
1df01c77e3 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-10-24 18:53:18 -04:00
Jeff Mitchell
27073eb4f4 Create default constructor for InfoRequest struct; include requestId in
InfoRequest struct; rework rest of InfoSystem to use that requestId
instead of internal one.
2011-10-24 18:49:36 -04:00
Jason Herskowitz
eb3d9553ed Make now playing speaker in sidebar gray instead of black 2011-10-24 17:18:51 -04:00
Jason Herskowitz
188dc0b3bd Fill star rating icons with color 2011-10-24 14:15:09 -04:00
Hugo Lindström
4e7672fd63 Really set the correct api url 2011-10-24 13:12:59 +02:00
Hugo Lindström
6c35a435f0 Correct api url 2011-10-24 13:09:19 +02:00
Hugo Lindström
5263b21138 Spotify InfoSystemPlugin 2011-10-24 12:45:54 +02:00
Leo Franchi
49d40186be debug-- 2011-10-23 15:40:12 -04:00
Leo Franchi
660a7cd059 Add rovi infoplugin for album tracks 2011-10-23 15:38:12 -04:00
Leo Franchi
ad739d0ce8 Set two default items for the charts
try listening to any changed and set default source

don't listen to indexchanged, do a manual set when setting default
2011-10-23 10:21:12 -04:00
Jeff Mitchell
709a25ce97 More compilation fixes, though settings dialog needs serious reworking. Can't figure out why it isn't linking atm 2011-10-22 14:45:40 -04:00
Jeff Mitchell
fb6d9967dc Merge branch 'master' into accounts 2011-10-22 14:07:57 -04:00
Jeff Mitchell
8f24acd008 More account updates 2011-10-22 13:59:05 -04:00
Jeff Mitchell
f548d36586 Further work towards compilation 2011-10-22 13:26:00 -04:00
Dominik Schmidt
4e8d0d46fe Fix mingw compilation on my machine, isn't broken on hudson whyever :\ 2011-10-22 02:48:11 +02:00
Hugo Lindström
02713c1661 Doesnt fix it 2011-10-22 00:11:01 +02:00
Hugo Lindström
8d561b5a56 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-10-21 23:58:31 +02:00
Hugo Lindström
25ece740e2 Seems to not crash when chart is not fully loaded 2011-10-21 23:57:40 +02:00
Leo Franchi
1c66534cb8 search pages too 2011-10-21 17:45:29 -04:00
Leo Franchi
08610eee13 Use artist and album icons for temp pages 2011-10-21 17:39:28 -04:00
Leo Franchi
b8ccf9b2af Switch to stars, and show on-hover star animation when rating 2011-10-21 17:03:34 -04:00
Leo Franchi
537115fac5 Fix artist bios not loading after changes to infosystem types 2011-10-21 16:25:11 -04:00
Leo Franchi
3924521aed 5, not 6 2011-10-21 14:35:32 -04:00
Leo Franchi
8bbe15edee Limit to 5 temp pages at once 2011-10-21 14:35:32 -04:00
Leo Franchi
0a686337f8 Don't set focus on page automatically (this breaks delete-with-del on sourcetree), and it was done originally for the newplaylistwidget that is gone. 2011-10-21 14:35:32 -04:00
Leo Franchi
98d939a81b Show speaker icon for any playing playlist 2011-10-21 14:35:32 -04:00
Jason Herskowitz
e1c6e83b98 More abstract (wall of photos) and colorful Supercollection icon. Better or worse? 2011-10-21 14:34:11 -04:00
Hugo Lindström
d41e30c359 Dont need hack anymore 2011-10-21 20:16:10 +02:00
Jason Herskowitz
4bb63d428f Clean up now-playing-speaker-dark.png 2011-10-21 09:20:17 -04:00
Christian Muehlhaeuser
85f970ea2d * Don't crash without model. 2011-10-21 09:48:10 +02:00
Christian Muehlhaeuser
3411dde52f * Don't crash without a model. 2011-10-21 09:41:54 +02:00
Leo Franchi
4a63606c84 Draw a speaker next to the currently playing playlist 2011-10-20 23:11:35 -04:00
Leo Franchi
2d439ed959 remove spammy debug 2011-10-20 18:29:11 -04:00
Leo Franchi
0e213abfd4 Show error when a preview fails to load for a station 2011-10-20 18:02:52 -04:00
Leo Franchi
be737a24f2 Refresh stations preview whenever controls are changed 2011-10-20 17:24:23 -04:00
Jeff Mitchell
f796f1f133 Remove unnecessary Chart type from InfoSytem. It was just mapping
strings, so just use a string map we already have
2011-10-20 16:46:09 -04:00
Jeff Mitchell
b2dc6f1f3c Since InfoCriteriaHash is now being used for things that aren't
criteria, rename it to the more generic InfoStringHash
2011-10-20 16:26:08 -04:00
Jeff Mitchell
d73800bd5f Remove unnecessary custom types from info system 2011-10-20 16:24:00 -04:00
Jeff Mitchell
52bb303ffa More logical ordering of items 2011-10-20 16:13:49 -04:00
Leo Franchi
4e8c99554a Try harder for compile-on-sl run-fullscreen-on-lion 2011-10-20 14:43:15 -04:00
Leo Franchi
428dbe8f0e Runtime check for lion instead of compile-time 2011-10-20 14:31:41 -04:00
Jeff Mitchell
f24a25b370 It's funny, looking at a few likely commits doesn't show when this line
disappeared, but, it did. Fixes scanning never finishing
2011-10-20 13:47:00 -04:00
Leo Franchi
4107c01ad1 Don't run a dropjob for any drop unless it's a playlist. Show notifications for album db fetches 2011-10-19 22:55:11 -04:00
Leo Franchi
24c7b0074a Move removeDirectory to TomahawkUtils 2011-10-19 19:45:39 -04:00
Leo Franchi
378aae9567 Fix commit also with no attica 2011-10-19 19:37:46 -04:00
Leo Franchi
742f73f028 Only allow voting once; Show the user's set score if he has rated it over the server 2011-10-19 19:31:26 -04:00
Leo Franchi
52930918f2 Tomahawk-side support for resolver rating 2011-10-19 17:19:11 -04:00
Christian Muehlhaeuser
be0f2e7e45 * Use mobile wikipedia version for Footnotes. 2011-10-19 04:40:11 +02:00
Christian Muehlhaeuser
6134c4fdec * Properly sort recent additions / albums lists. 2011-10-19 04:00:54 +02:00
Christian Muehlhaeuser
5f1a2df610 * Properly get artists / albums when using external resolvers. 2011-10-19 03:23:41 +02:00
Christian Muehlhaeuser
d3d29acf09 * Auto resize OverlayButton and adjust helper texts. 2011-10-19 03:13:45 +02:00
Christian Muehlhaeuser
b32b84f8c7 * Properly deal with auto-creating artists & albums. 2011-10-19 02:46:28 +02:00
Christian Muehlhaeuser
95ce975d40 * Properly load albums from database when getting official releases. 2011-10-19 02:33:08 +02:00
Christian Muehlhaeuser
8532189b54 * Added OverlayButton. 2011-10-19 02:16:16 +02:00
Christian Muehlhaeuser
1223d3dac3 * Use tDebug in PortfwdThread. 2011-10-19 02:07:16 +02:00
Christian Muehlhaeuser
a6c838cd39 * Support official release on album pages. 2011-10-19 02:06:53 +02:00
Leo Franchi
03f0870f53 Update FindPhonon.cmake from KDE 2011-10-18 16:20:44 -04:00
Leo Franchi
931959ecc8 Make resolving dragged-in spotify playlists worka gain 2011-10-18 14:42:10 -04:00
Leo Franchi
b34037f26f Don't send multiple infosystem requests if one is queued 2011-10-18 08:05:38 -04:00
Leo Franchi
f95e2ad703 Select just-created spotify playlist when dragged in 2011-10-17 17:53:22 -04:00
Leo Franchi
5fac4a34bd Remove stray include 2011-10-17 17:46:11 -04:00
Leo Franchi
3f9c2366f2 Consistent size for all headers in the view 2011-10-17 17:45:06 -04:00
Leo Franchi
a708f37cd6 Include preview tracks in deduper 2011-10-17 17:44:57 -04:00
Leo Franchi
dd1071f180 debug for rotzbouw 2011-10-17 17:13:31 -04:00
Leo Franchi
576a886937 Try deduping better 2011-10-17 17:04:29 -04:00
Leo Franchi
1208035da3 Make sure not to sort, these are charts 2011-10-17 16:59:52 -04:00
Leo Franchi
7944c9f826 Extend deduper to whole station session 2011-10-17 16:05:26 -04:00
Leo Franchi
6ee7df9514 Resolve top-down 2011-10-17 12:36:56 -04:00
Leo Franchi
4a3b6aa1d3 Show youtube resolver in resolver list as well 2011-10-17 11:30:53 -04:00
Christian Muehlhaeuser
77b8224949 * Get rid of annoying Threads test. Fails left and right. 2011-10-17 17:23:03 +02:00
Leo Franchi
c4c94de1ac Expand breadcrumb fully when any item is selected 2011-10-16 23:21:55 -04:00
Leo Franchi
75cb466909 die die flicker 2011-10-16 23:21:55 -04:00
Jeff Mitchell
fd6235995f Prevent some spurious delete commands when you have no collection paths 2011-10-16 17:49:37 -04:00
Leo Franchi
840460d960 Mark peer as offline when we get a message from a peer that we knew about but is gone 2011-10-16 15:48:20 -04:00
Jeff Mitchell
3b46f3fe32 A bit of debugging for rotzbouw 2011-10-16 14:57:08 -04:00
Jeff Mitchell
a2281dcf58 Add an optimization to deletefiles 2011-10-16 14:45:07 -04:00
Leo Franchi
a19eb9c447 Be safer and don't create albums in the for charts browsing 2011-10-16 14:06:13 -04:00
Leo Franchi
ceffbb6a77 Header guard 2011-10-16 13:29:57 -04:00
Leo Franchi
c5439b4e7d Convert ISO country code to proper country names. 2011-10-16 13:26:35 -04:00
Leo Franchi
0b227eff42 Don't flicker all breadcrumbs when any breadcrumb combo is changed 2011-10-15 23:37:17 -04:00
Leo Franchi
033b4cc6cc less debug 2011-10-15 19:38:38 -04:00
Leo Franchi
4fdec44755 Make sure breadcrumb items are always the right size 2011-10-15 19:38:06 -04:00
Leo Franchi
6606bd4185 Cache models so we don't constantly re-fetch and re-resolve everything 2011-10-15 19:30:04 -04:00
Leo Franchi
7cc964dfc5 Don't crash if there's no model attached to a view when it's resized 2011-10-15 19:29:50 -04:00
Leo Franchi
b3bfc2b464 Fetch album covers if albums were added before model was attached to view 2011-10-15 19:29:27 -04:00
Leo Franchi
a937ac265c Fix grey background w hen breadcrumb adding/deleting is animating 2011-10-15 18:11:35 -04:00
Leo Franchi
1058dd93f1 Refactor the chartsplugin parsing 2011-10-14 19:09:42 -04:00
Leo Franchi
f4f9a148af Return the chart list if we receive it after the infosystem request 2011-10-14 16:07:14 -04:00
Leo Franchi
d07f191a1e Select newly created playlist when created via tomahawk link too 2011-10-13 22:44:29 -04:00
Leo Franchi
0ba9a9e076 Select the just-created xspf as soon as it is imported 2011-10-13 22:39:25 -04:00
Leo Franchi
ac7aadf615 Fix latching when switching directly between latches 2011-10-13 22:33:32 -04:00
Leo Franchi
3873189d79 Clean up auto-updating xspf handling to make it actually usable 2011-10-13 21:52:23 -04:00
Leo Franchi
891692d914 Fix catalog init properly 2011-10-13 17:51:38 -04:00
Leo Franchi
2d31de245f Remove unused signal connection 2011-10-13 17:50:29 -04:00
Leo Franchi
8c587e9b75 export and remove warning 2011-10-13 17:32:21 -04:00
Jeff Mitchell
84622380d6 Remove dir mode, just use file mode for scanning all the time 2011-10-13 17:19:58 -04:00
Leo Franchi
0736a65f2a Try to avoid race conditions 2011-10-13 17:17:08 -04:00
Hugo Lindström
658deb3bcd Maybe a fix for breadcrumb problems 2011-10-13 21:27:52 +02:00
Jeff Mitchell
cfed5be1ca Let's try this again 2011-10-13 10:43:42 -04:00
Jeff Mitchell
9fa4033b2a OK, actually properly escape 2011-10-13 10:35:05 -04:00
Jeff Mitchell
2c620ba440 Properly escape strings in sql command 2011-10-13 10:30:56 -04:00
Leo Franchi
01bf3a3818 Initialize to 0 in *all* constructors 2011-10-13 08:28:22 -04:00
Leo Franchi
8641222395 Make default artist type similar to, not limit to 2011-10-12 20:57:23 -04:00
Leo Franchi
b4aedd606c ohai style fix 2011-10-12 20:45:43 -04:00
Leo Franchi
ee1afc665f Merge branch 'autoupdate' 2011-10-12 20:34:32 -04:00
Leo Franchi
57e31e1319 Update defaults and do an update on enabling 2011-10-12 20:33:28 -04:00
Leo Franchi
46f6941325 Only auto-create in logplayback if there's a valid artist 2011-10-12 17:55:33 -04:00
Leo Franchi
61f3e1854c Don't auto-create when doing a load from the db. 2011-10-12 17:55:33 -04:00
Leo Franchi
5cb327af38 Don't show 41 years as an age for a result if it was default set to 0. 2011-10-12 17:55:33 -04:00
Leo Franchi
648b2d69f9 Only auto-create in logplayback if there's a valid artist 2011-10-12 17:54:35 -04:00
Leo Franchi
e4f8c229b4 Don't auto-create when doing a load from the db. 2011-10-12 17:41:15 -04:00
Leo Franchi
189e3ea348 Don't show 41 years as an age for a result if it was default set to 0. 2011-10-12 17:24:49 -04:00
Hugo Lindström
e2c71e7a18 Style fix and timeout fix 2011-10-12 22:31:25 +02:00
Hugo Lindström
3b1268bbfd Here comes the charts! 2011-10-12 22:09:26 +02:00
Hugo Lindström
248d26fe69 Merge pull request #46 from hugolm84/charts
Dont always assert on js failure
2011-10-12 10:02:21 -07:00
Hugo Lindström
afcac34208 Dont allways assert on js failure 2011-10-12 18:58:17 +02:00
Leo Franchi
9aa6e2a338 Clean up after ourselves 2011-10-12 11:00:39 -04:00
Leo Franchi
434acf21a4 osx tweaks 2011-10-12 10:56:35 -04:00
Leo Franchi
aaf0df736b Merge branch 'autoupdate' of github.com:lfranchi/tomahawk into autoupdate 2011-10-12 10:22:25 -04:00
Leo Franchi
bb0d82aa10 remote debug 2011-10-12 10:21:39 -04:00
Leo Franchi
9556414bf5 Add UI to auto-update and save/restore state 2011-10-12 10:20:55 -04:00
Leo Franchi
172ccd0428 Fix artist limit to 2011-10-12 08:49:04 -04:00
Leo Franchi
31a9c75c08 Fix artist limit to 2011-10-12 08:48:31 -04:00
Jeff Mitchell
fde7ef75af Remove extra debug 2011-10-11 18:02:59 -04:00
Jeff Mitchell
af7b20ee55 Work around QtSql bind bug to properly populate delete files for notifications to collections 2011-10-11 17:58:44 -04:00
Jeff Mitchell
0277d1213e Add some debug and fix a double-delete issue 2011-10-11 13:33:55 -04:00
Jeff Mitchell
c62c4fa1d9 Fix cache misses going to incorrect target 2011-10-11 12:55:57 -04:00
Jeff Mitchell
a520f7bff3 Remove InfoGenericMap 2011-10-11 09:08:55 -04:00
Jeff Mitchell
37f5b9114e More debugging 2011-10-11 08:57:30 -04:00
Jeff Mitchell
d2dc3082b1 Hopefully fix delete problems 2011-10-11 08:47:44 -04:00
Jeff Mitchell
bd4d5da641 Remove unused method 2011-10-11 08:29:01 -04:00
Leo Franchi
dad65da497 Use file ids not track ids for echonest catalog ids 2011-10-10 21:09:07 -04:00
Leo Franchi
49aadaab0e Use file ids not track ids for echonest catalog ids 2011-10-10 21:07:05 -04:00
Jeff Mitchell
864d665494 Some more debugging bits 2011-10-10 18:55:44 -04:00
Jeff Mitchell
719151b44e Add more debugging for the delete issue 2011-10-10 18:50:12 -04:00
Hugo Lindström
1c3a9da5ed Merge pull request #45 from hugolm84/charts
Fix bad parsing in liblastfm2 track
2011-10-10 09:56:48 -07:00
Hugo Lindström
154b672d47 Fix bad parsing 2011-10-10 18:56:06 +02:00
Jeff Mitchell
cfa2268c05 Debugging for delete files issue 2011-10-10 10:35:28 -04:00
Jeff Mitchell
d37fd8955c Optimize the full rescan path a bit, and add a check for safety (that should be a noop) 2011-10-10 09:53:55 -04:00
Hugo Lindström
a7d30582a6 Merge pull request #44 from hugolm84/charts
Dont sort ranked list
2011-10-10 04:39:01 -07:00
Hugo Lindström
0a570849c5 Dont sort ranked list 2011-10-10 13:38:01 +02:00
Hugo Lindström
442d1b2713 Merge pull request #43 from hugolm84/charts
Tomahawk Charts
2011-10-09 12:04:32 -07:00
Hugo Lindström
9749df00d1 Increase timer, fixes itunes breadcrumb init 2011-10-09 14:15:22 +02:00
Hugo Lindström
8a9a48fda1 Style fix 2011-10-09 14:13:39 +02:00
Hugo Lindström
777ebd77c8 Now fills itunes chart correctly 2011-10-09 13:28:43 +02:00
Hugo Lindström
36855783a7 Now supports charts from last.fm, billboard, itunes. Known issue:
sometimes fail to populate breadcrumb with itunes resource
2011-10-08 20:14:26 +02:00
Hugo Lindström
8595539dea Charts 2011-10-08 19:24:43 +02:00
Leo Franchi
687ed02df0 Updater work 2011-10-07 18:08:13 -04:00
Leo Franchi
3b861983e6 skeleton auto-updating for xspf playlists 2011-10-07 16:04:37 -04:00
Hugo Lindström
9caf9fc98f Adding charts for Billboard and Itunes 2011-10-06 23:00:19 +02:00
Leo Franchi
f58ba2926e Fix shorten link action when called from different thread 2011-10-06 14:26:19 -04:00
Hugo Lindström
049184bdfd Trying to add albums to whatshotview 2011-10-06 19:52:51 +02:00
Leo Franchi
6d6f51fdb6 TWK-532: Don't assert on a null artist, we can get artists we don't know about from resolver search results 2011-10-05 17:55:20 -04:00
Hugo Lindström
2ee085d13d Doing so for now. Need to create ui for specific albums 2011-10-05 22:33:08 +02:00
Hugo Lindström
fb8a761278 Adding charts infoplugin 2011-10-05 20:22:48 +02:00
Jeff Mitchell
c3064d8249 More twitter changeover to accounts work, mostly on sip -- does not
compile, does not work yet
2011-10-04 19:34:44 -04:00
Jeff Mitchell
60aec5ac0f Merge branch 'master' into accounts
Conflicts:
	src/libtomahawk/CMakeLists.txt
	src/sip/zeroconf/zeroconf.cpp
2011-10-04 18:06:22 -04:00
Hugo Lindström
625a7b8fda Merge pull request #42 from hugolm84/master
Spotify artist browse now supports limit
2011-10-04 00:39:26 -07:00
Hugo Lindström
b15bef72df Artist browse with limit 2011-10-04 09:35:05 +02:00
Dominik Schmidt
0aa65e2d95 Comment out _set_purecall_handler to prevent the no-entry-point-error, let's find out the consequences :P 2011-10-04 02:24:15 +02:00
Dominik Schmidt
53acf6420e Hardcode product name for breakpad as the conversion code crashes 2011-10-04 02:22:35 +02:00
Dominik Schmidt
f54dee3ccc Fix windows installer 2011-10-04 02:06:16 +02:00
Leo Franchi
b494d5ae79 Note bumped liben requirement 2011-10-03 15:35:58 -04:00
Jeff Mitchell
7975140452 Pedantic warning fix 2011-10-03 12:26:53 -04:00
Jason Herskowitz
11ea67632c Fix those damn headphones once and for all 2011-10-03 09:50:55 -04:00
Jason Herskowitz
af09c04834 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-10-03 07:13:36 -04:00
Jason Herskowitz
90d6492de6 Really square all the headphone pngs 2011-10-03 07:13:32 -04:00
Hugo Lindström
73bcbd2590 Merge pull request #41 from hugolm84/master
Fix for spotify playlist append action
2011-10-03 01:46:18 -07:00
Hugo Lindström
faf3558754 Also append playlist content 2011-10-03 10:43:46 +02:00
Hugo Lindström
37719a247e Merge pull request #40 from hugolm84/master
Allow dropping sources in to trackview/sourcetree and do appropriate action
2011-10-03 01:31:01 -07:00
Hugo Lindström
08df9f924f Less debug 2011-10-03 10:16:54 +02:00
Hugo Lindström
5812b2bec1 Support dropping sources in pl and sourcetree. Append or create 2011-10-03 10:14:18 +02:00
Leo Franchi
1d54be04e0 Handle multiple spotify/xspf links 2011-10-02 21:25:21 -04:00
Leo Franchi
de98665b00 less debug 2011-10-02 21:25:21 -04:00
Leo Franchi
f23af07f6a TWK-393: Play immediately when dropping something onto audiocontrols 2011-10-02 21:25:21 -04:00
Leo Franchi
9904367106 Proper append drop job type for playlist drops 2011-10-02 21:22:42 -04:00
Leo Franchi
46a73566f5 Don't create a new revision when resolvign is finished if we've been deleted meanwhile 2011-10-02 18:05:32 -04:00
Leo Franchi
2de19a1c94 TWK-471: Show config UI for resolvers that have one as soon as you add the resolver 2011-10-02 17:38:23 -04:00
Leo Franchi
5594e25dcf less debug 2011-10-02 17:25:38 -04:00
Leo Franchi
0c47327fc4 Open the queue on a drag-hover after a short delay, to allow drag-to-add when it's closed 2011-10-02 17:25:38 -04:00
Leo Franchi
d6bf6744d8 Fix appending spotify tracks 2011-10-02 17:25:38 -04:00
Leo Franchi
094e8653ff Properly name artist stations 2011-10-02 17:25:38 -04:00
Leo Franchi
5d6f31a25d nm, can't rely on activated() as that depends on per-platform click settings 2011-10-02 16:42:09 -04:00
Leo Franchi
545b6abfa1 Add itunes.png to resource file 2011-10-02 15:55:16 -04:00
Leo Franchi
d8270bddfa TWK-490: Work harder at not selecting inactive items 2011-10-02 15:54:09 -04:00
Leo Franchi
dfb03eabe6 Add itunes pixmap and fix job creation 2011-10-02 15:26:49 -04:00
Leo Franchi
6ea9dc4f1b Create artist filters when dragging a query from the artist in audiocontrols 2011-10-02 14:42:13 -04:00
Leo Franchi
acfaf3970e Check mimedata source on osx as Qt::DropAction is not reliable. Also, minor cleanups 2011-10-02 13:00:50 -04:00
Leo Franchi
4402bd8f03 Add files 2011-10-02 12:20:56 -04:00
Leo Franchi
56280db289 Support new spotify server-side parsing, courtesy of Hugo. Thanks! 2011-10-02 12:19:22 -04:00
Leo Franchi
6ebc103bc5 Add adventurousness as filter param 2011-10-02 11:12:04 -04:00
Leo Franchi
a40253da26 Don't do more work than we need to. Use track ids as unique catalog itemids 2011-10-01 09:44:16 -04:00
Leo Franchi
8f181bc4a0 Changed wording and add a tooltip 2011-09-30 19:03:03 -04:00
Leo Franchi
625dc0304b Handle catalogs more gracefully in dynamic playlists
Standardize some code

Propertify

Misc catalog fixes

Clean up by hacking
2011-09-30 18:39:24 -04:00
Leo Franchi
5f9c21120d Add keep-in-synch support to EchonestCatalogSynchronizer
be extra safe
2011-09-30 18:39:21 -04:00
Leo Franchi
1e6bbba189 More work on getting basic uploading to work, and showing in echonest controls 2011-09-30 18:38:11 -04:00
Leo Franchi
13ac8c093a Add a qnr mediastream WIP to support qnetworkreply QIODevices 2011-09-30 18:38:10 -04:00
Leo Franchi
d7e68f3a1d Add dbmigrate scrip, other misc work 2011-09-30 18:37:59 -04:00
Jeff Mitchell
d60b38b3aa Properly handle order in which mtime update and file delete commands are
run in relation to the rest of scanning
2011-09-30 18:28:01 -04:00
Jeff Mitchell
e47b750d21 Remove confusing manualFull variable that got passed all the way into
scanners, use faster delete command when doing a full rescan
2011-09-30 18:00:59 -04:00
Jeff Mitchell
ff764df4af Eep, a return is in order 2011-09-30 17:48:06 -04:00
Jeff Mitchell
630439cddf Pedantic whitespace fixing 2011-09-30 17:11:01 -04:00
Jeff Mitchell
8b477e1f71 I'm an idiot 2011-09-30 17:10:38 -04:00
Jeff Mitchell
e021695230 Next try :-) 2011-09-30 17:09:31 -04:00
Jeff Mitchell
70f00872a1 Fix deleteAll 2011-09-30 16:50:16 -04:00
Jeff Mitchell
f14ae332eb Make faster 2011-09-30 16:47:46 -04:00
Jeff Mitchell
76ff49a8ba Proper ID generation 2011-09-30 16:06:35 -04:00
Jeff Mitchell
dad726b6ca Remove unused return parameter 2011-09-30 14:53:18 -04:00
Jeff Mitchell
4aa8ec6bb8 Update deletefiles commands to, well, work. Maybe. 2011-09-30 14:46:36 -04:00
Leo Franchi
757f1c6175 Fix some moer stuff 2011-09-28 19:36:02 -04:00
Leo Franchi
cfa5c9932e Cleanup commented out code 2011-09-28 19:00:25 -04:00
Leo Franchi
4bbb07ee1f Add bigger headphone icon 2011-09-28 19:00:25 -04:00
Leo Franchi
66581fcaa2 Refactor latching into it's own manager for easier handling, and clean up some corner cases 2011-09-28 19:00:25 -04:00
Leo Franchi
b83e9bbf82 Better icon for spotify, and scale better 2011-09-28 19:00:25 -04:00
Jason Herskowitz
48a3ad29ff Center headphone icon on square canvas 2011-09-28 15:21:22 -04:00
Christian Muehlhaeuser
cede16bc50 * Fixed collection-less results being marked offline. 2011-09-28 12:47:16 +02:00
Christian Muehlhaeuser
e57105669c * Fixed showing a text-less job item for fulltext search queries. 2011-09-28 01:06:49 +02:00
Christian Muehlhaeuser
17480fd887 * Fixed not advancing to next track within official releases tree-view. 2011-09-28 01:02:39 +02:00
Christian Muehlhaeuser
42d8476ea1 * Fixed BreakPad on win32, I hope. 2011-09-28 00:21:17 +02:00
Christian Muehlhaeuser
d901f0ba86 * Fixed silly compiler warning. 2011-09-28 00:05:44 +02:00
Christian Muehlhaeuser
cea780b85b * Fixed moving tracks within a playlist. 2011-09-28 00:04:48 +02:00
Christian Muehlhaeuser
381e89d3df * Fixed mass-reresolving. 2011-09-27 23:47:12 +02:00
Christian Muehlhaeuser
b4a8e32f44 * Fixed re-resolving after sources / resolvers go offline. 2011-09-27 19:54:37 +02:00
Christian Muehlhaeuser
26a7d37298 * Only sync lucene index once (at most) per sync. 2011-09-27 18:18:05 +02:00
Jason Herskowitz
9291c75669 Bigger headphone image for when needed 2011-09-26 15:21:34 -04:00
Jeff Mitchell
abd7edab36 twitter account showing a config dialog 2011-09-24 18:03:21 -04:00
Jeff Mitchell
88350b6a6c More account work; most of the pure-account side of a twitter account, but not yet tested 2011-09-24 17:38:24 -04:00
Jeff Mitchell
c7f6144bfe First commit towards new accounts system. Shouldn't work, but compiles. 2011-09-24 13:29:43 -04:00
Jeff Mitchell
f61d0a07b1 Add 60 second timer to send out zeroconf advertisements. Fixes issues with peers never appearing. 2011-09-24 13:13:41 -04:00
Jeff Mitchell
999e0ad4c2 Remove compile warnings 2011-09-24 08:15:16 -04:00
Christian Muehlhaeuser
1721a0b693 * Some more Windows-related Breakpad fixes. 2011-09-24 11:28:16 +02:00
Christian Muehlhaeuser
2ceb075706 * Also compile Breakpad class on all platforms. 2011-09-24 11:18:39 +02:00
Christian Muehlhaeuser
9a84a7deea * Helps to include headers. 2011-09-24 11:01:46 +02:00
Christian Muehlhaeuser
1f6323941b * Enable BreakPad on Windows. 2011-09-24 10:57:21 +02:00
Christian Muehlhaeuser
c6c91181ab * Added CrashReporter.exe to NSIS template. 2011-09-24 10:31:48 +02:00
Dominik Schmidt
e4e9f1bec8 Enable building breakpad on windows 2011-09-24 01:33:46 +02:00
Leo Franchi
18d9360ad3 Fix crash and shrink headphones 2011-09-23 12:44:07 -04:00
Leo Franchi
efbbdf1e72 Show headphone icon as on for the local source if you are listening along to someone 2011-09-23 12:44:07 -04:00
Leo Franchi
624c05bdf4 Allow script resolvers to register a url handler 2011-09-23 12:44:07 -04:00
Christian Muehlhaeuser
e0d63535a6 * Correctly sort recently played tracks on Dashboard and filter out irrelevant tracks, which speeds up syncing. 2011-09-23 18:32:47 +02:00
Leo Franchi
7832dd42b2 Guard against null source 2011-09-23 10:51:25 -04:00
Christian Muehlhaeuser
d49294d288 * Fixed TWK-522: Queries could not be activated in ArtistView. 2011-09-23 13:38:37 +02:00
Christian Muehlhaeuser
b84a884387 * Fixed TWK-523: Don't ignore tracks without an album name when filtering. 2011-09-23 13:29:22 +02:00
Christian Muehlhaeuser
9eeed5223c * Fixed crash in TreeProxyModel. 2011-09-23 12:23:37 +02:00
Leo Franchi
f520b6d5d0 Handle re-latches 2011-09-22 18:02:30 -04:00
Leo Franchi
d3ce2162ca Don't accept a drop (even though our flags should block it) to fall through if the playlist is busy 2011-09-22 17:44:24 -04:00
Leo Franchi
1cc1ba2b7a Show headphones next to a source's now playing track to listen along 2011-09-22 17:30:15 -04:00
Leo Franchi
6c0d984990 Prep for headphones-on-avatar 2011-09-22 17:30:15 -04:00
Leo Franchi
08e4da1c8a Enable mouse tracking so all platforms get temp page delete button 2011-09-22 12:40:01 -04:00
Jason Herskowitz
ba77ca4292 Add small red headphone png for use in sidebar 2011-09-21 22:03:25 -04:00
Jason Herskowitz
398d2c7cce Scale down headphone-off.png to 20px wide 2011-09-21 22:00:38 -04:00
Jason Herskowitz
b513a34fb8 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-09-21 21:36:16 -04:00
Jason Herskowitz
272c31f132 Add icon to use for unselected Listen Along icon 2011-09-21 21:34:56 -04:00
Leo Franchi
ef9a790df0 Try an alternative Lion check 2011-09-21 16:49:09 -04:00
Leo Franchi
f020df31d2 Emit sizehint changed when row count changes, heh 2011-09-21 09:32:52 -04:00
Leo Franchi
d26cf3de9d fix flicker in showing/hiding jobsview 2011-09-20 22:50:44 -04:00
Leo Franchi
6af4ff6537 A bit more padding between the end of the main text and the right column 2011-09-20 22:36:48 -04:00
Leo Franchi
5c4a7dd273 increase size of row 2011-09-20 21:53:51 -04:00
Jason Herskowitz
41fb2ee1dc More darker greener downloader iconer 2011-09-20 21:52:07 -04:00
Leo Franchi
656221dcc0 Use new spotify png instead of jpg 2011-09-20 21:47:48 -04:00
Jason Herskowitz
2b8825f814 Darker green for downloading icon 2011-09-20 21:46:28 -04:00
Jason Herskowitz
020da4d5c8 Adding spotify icon as .png with transparent background to use in jobview 2011-09-20 21:43:23 -04:00
Jason Herskowitz
e0d1fb72a8 Some new and colorfied jobview icons 2011-09-20 21:35:40 -04:00
Leo Franchi
6d61173bca Avoid tomahawkapp.h in .mm files 2011-09-20 18:16:38 -04:00
Leo Franchi
0f4b1bc91b Try another way to Lion-check 2011-09-20 17:52:54 -04:00
Leo Franchi
36738fc9e4 Show Lion full-screen toggle if on Lion 2011-09-20 16:40:54 -04:00
Leo Franchi
5750f51bdd Fix shared pointer forward declaration 2011-09-20 14:00:41 -04:00
Leo Franchi
c569678a26 Fix jagged line in jobsview 2011-09-20 14:00:41 -04:00
Leo Franchi
af19a09a3c Smaller rows, and paint icon a bit bigger 2011-09-20 14:00:41 -04:00
Leo Franchi
92fb2dbb0d End listen along status job if the listener quits tomahawk 2011-09-20 14:00:40 -04:00
Leo Franchi
bc33bd8420 Unlatch whenever a user stops listening along 2011-09-20 14:00:40 -04:00
Leo Franchi
27c2bc1b2d CLean up some logic 2011-09-20 14:00:40 -04:00
Leo Franchi
337be1f989 Better handling of sourcepli 2011-09-20 14:00:40 -04:00
Leo Franchi
6c9c3ce7ec Fix sourcelist returning local source, and send stop listening along msg at right time 2011-09-20 14:00:40 -04:00
Leo Franchi
495fe05a75 Work on latched job action
fixes
2011-09-20 14:00:38 -04:00
Leo Franchi
ab61314e0f Don't accept all drops on playlist items, only what DropJob says we want 2011-09-20 14:00:29 -04:00
Leo Franchi
70c1cc8829 Add a transfer item to jobsview
Add files

work

add file
2011-09-20 14:00:16 -04:00
Leo Franchi
b6c1d06165 Add spotify support to jobsview 2011-09-20 14:00:15 -04:00
Leo Franchi
d40ed14d80 Add logo 2011-09-20 14:00:15 -04:00
Leo Franchi
6970ea39e4 Add new jobs status view 2011-09-20 14:00:10 -04:00
Leo Franchi
2ce5bb1fea fix another bad sharedpointer include 2011-09-20 13:59:39 -04:00
Leo Franchi
6fb920c826 Don't accept all drops on playlist items, only what DropJob says we want 2011-09-19 11:40:34 -04:00
Christian Muehlhaeuser
40dc30044f Merge pull request #38 from Horrendus/small_changes
Small changes to jabber SIP
2011-09-18 06:59:26 -07:00
Christian Muehlhaeuser
b9515d3408 * Potential fix for missing tracks in tree view. 2011-09-17 20:38:11 +02:00
Christian Muehlhaeuser
b99a1a753c * Fixed filter in TreeProxyModel. 2011-09-17 20:24:24 +02:00
Christian Muehlhaeuser
e1d4088d98 * Should fix internal quazip. 2011-09-17 17:06:37 +02:00
Christian Muehlhaeuser
a1cd3cf5bb * Fixed quazip includes. 2011-09-17 16:59:19 +02:00
Christian Muehlhaeuser
cf054875b5 * Make sure to always launch CrashReporter from the directory the Tomahawk executable lives in. 2011-09-17 06:51:52 +02:00
Christian Muehlhaeuser
61e934bacc * Accidentally committed build files in breakpad folder. 2011-09-16 18:21:36 +02:00
Christian Muehlhaeuser
13a1eed144 * Get rid of generic failed() signal in XSPFLoader. 2011-09-16 16:47:38 +02:00
Christian Muehlhaeuser
a2cc3ee2fd * XSPFLoader doesn't depend on QMessageBox any longer. 2011-09-16 16:28:10 +02:00
Christian Muehlhaeuser
483386e440 * Moved QMessageBox out of XSPFLoader and into TomahawkWindow. 2011-09-16 16:27:14 +02:00
Christian Muehlhaeuser
695902d962 * Add CrashReporter to DMG and fix deps. 2011-09-16 15:45:46 +02:00
Christian Muehlhaeuser
6d62fb8c1e * Fixed MacDeploy to look for Qt 4.7.4 (needs proper version check still). 2011-09-16 15:26:47 +02:00
Leo Franchi
9f0febe402 Helps to initialize variables to default values 2011-09-16 09:25:35 -04:00
Leo Franchi
bbb28032e7 Don't create qpixmaps on the stack as this struct is created after QCoreApplication exist sometimes 2011-09-16 09:09:13 -04:00
Stefan Derkits
97b57009c9 Small changes to jabber SIP
Access config less often and read more from member variables
2011-09-16 14:11:35 +02:00
Christian Muehlhaeuser
c96ecd9697 * Unbreak breakpad on Linux. 2011-09-16 13:44:58 +02:00
Christian Muehlhaeuser
e0edb2b15b * Different border for ToggleButtons. 2011-09-16 11:23:27 +02:00
Christian Muehlhaeuser
f32bab7733 * Fix ToggleButton some more. 2011-09-16 11:18:14 +02:00
Christian Muehlhaeuser
bc266e1f7c * Hopefully fixed ToggleButton for all platforms. 2011-09-16 11:00:54 +02:00
Leo Franchi
5b48442006 Create a new playlist from a spotify playlist if dropped anywhere on the sourcetree
Only generate the tracks directly if dragged into a playlist contents
2011-09-15 21:38:32 -04:00
Leo Franchi
bf009c8854 fix warning / hidden virtual function 2011-09-15 21:12:18 -04:00
Leo Franchi
898ad5804e Add some debug for jason 2011-09-15 21:06:47 -04:00
Leo Franchi
dfd36d459b Fix compile without libattica 2011-09-15 21:04:24 -04:00
Leo Franchi
5ceb04e571 More tomahawk debugs 2011-09-15 21:00:23 -04:00
Leo Franchi
4ca29feab1 Add upgrade support for resolvers 2011-09-15 21:00:15 -04:00
Leo Franchi
95e1d8c5a3 Use a richer internal model for attica resolvers, and store important things like version 2011-09-15 19:04:21 -04:00
Jeff Mitchell
22e69bbb8c When the DBID is reset, don't re-read all past DMs. Probably fixes
TWK-513.
2011-09-15 15:00:33 -04:00
Leo Franchi
b8aa4e1bc3 Minor cleanups 2011-09-15 11:13:40 -04:00
Leo Franchi
b6cc9dae09 Fix typo that led to attica script states being forgotten 2011-09-15 09:23:22 -04:00
Leo Franchi
e6a394e8e7 More scroll-by-pixel on all platforms 2011-09-15 09:23:22 -04:00
Leo Franchi
4e09f52b22 make compile with clang 2011-09-15 08:44:22 -04:00
Christian Muehlhaeuser
903ea66b36 * Remove file copy in CMakeLists.txt. 2011-09-15 10:33:03 +02:00
Christian Muehlhaeuser
525072f757 * Removed duplicate definitions. 2011-09-15 10:08:14 +02:00
Christian Muehlhaeuser
b741d163a1 * Added breakpad support for OS X. 2011-09-15 10:05:53 +02:00
Christian Muehlhaeuser
b1a135fff9 * Unbreak non-Linux compiling. 2011-09-15 07:34:07 +02:00
Christian Muehlhaeuser
d8d7347394 * Added breakpad support for Linux. 2011-09-15 07:27:31 +02:00
Christian Muehlhaeuser
d8b07cee9c * Fixed libquazip.dll still missing. 2011-09-15 05:44:44 +02:00
Christian Muehlhaeuser
729c9237fe * Added libattica.dll, too. 2011-09-15 05:27:09 +02:00
Christian Muehlhaeuser
b2fc9cb8ac * Fix Windows installers missing libquazip.dll. 2011-09-15 05:21:20 +02:00
Christian Muehlhaeuser
89c04ea3f6 * Don't abort symbol management when dir already exists. 2011-09-15 04:43:48 +02:00
Christian Muehlhaeuser
93bf2e1bb9 * Added bash helper script for managing minidump symbols. 2011-09-15 04:32:36 +02:00
Leo Franchi
0504bec81d Add a Tomahawk.asyncRequest for async calls, ALL RESOLVERS SHOULD USE THIS 2011-09-14 22:29:05 -04:00
Christian Muehlhaeuser
7f9ded7816 * Scroll by pixel (not item) on all platforms. 2011-09-15 00:56:54 +02:00
Leo Franchi
c915f2f161 TWK-510: Fix overlay not disappearing on new playlists being added to list 2011-09-14 18:47:59 -04:00
Leo Franchi
034510cdda Remove line that slipped in 2011-09-14 18:42:18 -04:00
Leo Franchi
6899b38944 Only auto-resolve if it's a single track or a list, not a playlist 2011-09-14 18:27:19 -04:00
Leo Franchi
b3aa6c9a6c Fix workaround 2011-09-14 18:14:28 -04:00
Leo Franchi
eddc7bbf4e Remove some features, fix up whitespace and a few misc other things
Some fixups, parse spotify tracks in result
2011-09-14 18:11:06 -04:00
hugolm84
9bc112090d Comments on workaround for playlist update
nothing
2011-09-14 18:10:09 -04:00
hugolm84
0b37514cfe Removed events, not needed
spotify things
2011-09-14 18:09:29 -04:00
hugolm84
e93ef1dd6e Adding export to Spotify 2011-09-14 18:09:02 -04:00
hugolm84
fe7b798cda Removed an action 2011-09-14 18:08:19 -04:00
hugolm84
a0cd7869bc Loop 2011-09-14 18:08:19 -04:00
hugolm84
c2d0382bae Just some more qDebug 2011-09-14 18:08:19 -04:00
hugolm84
bb09c15c30 Just some qDebug 2011-09-14 18:08:19 -04:00
hugolm84
0a68b36295 Added drop event to playlistview 2011-09-14 18:08:18 -04:00
hugolm84
b4a8154eae Fixed updaterevision on empty playlist from drag 2011-09-14 18:08:16 -04:00
hugolm84
869640b2e2 Fix indent 2011-09-14 18:07:24 -04:00
hugolm84
de982f8b50 Added itunes artist link support 2011-09-14 18:07:24 -04:00
hugolm84
0ed8e62de8 Added abillity to drop itunes album link aswell 2011-09-14 18:07:23 -04:00
hugolm84
5f677d4c83 Updated header 2011-09-14 18:07:23 -04:00
hugolm84
6218cec38a Adding Itunes parser 2011-09-14 18:07:23 -04:00
hugolm84
c2d9baa9d9 Updated checkFinished 2011-09-14 18:07:14 -04:00
Leo Franchi
8f6cc7846a GCC doesn't like forward-declared shared pointers as default args, CLang does. 2011-09-14 17:04:25 -04:00
Leo Franchi
a2f139c204 Fix warnings that led to shared pointers not being correctly deleted.
See upcoming email to tomahawk-devel@ for how to avoi them in the future, this was a PITA and I don't want to do it again.
2011-09-14 16:40:58 -04:00
Christian Muehlhaeuser
22d3048017 * Tried to fix OS X layout of ToggleButton. 2011-09-14 08:19:39 +02:00
Leo Franchi
1367d82006 A bit nicer resolver error handling 2011-09-13 22:35:30 -04:00
Christian Muehlhaeuser
9572c440ea * Fixed unbalanced QPainter save / restore. 2011-09-13 11:03:58 +02:00
Christian Muehlhaeuser
45b57b715f * Use a QWeakPointer to guard Connection pointers. 2011-09-13 10:47:10 +02:00
Christian Muehlhaeuser
48e3eb877d * Fixed issue where Servent would never emit ready when UPnP returns an invalid ip. 2011-09-13 09:02:23 +02:00
Christian Muehlhaeuser
9ec9fb9362 * Fixed playlist issues which caused dupe playlist_items. 2011-09-13 07:05:19 +02:00
Christian Muehlhaeuser
f32c1f1338 * Don't assert when creating a fresh playlist. 2011-09-12 21:06:42 +02:00
Leo Franchi
4f14ce96cb Fix hanging on shutdown introduced by refactor commit 2011-09-12 12:28:25 -04:00
Leo Franchi
aeeff01d64 Don't send config message to resolvers more than once 2011-09-12 11:20:51 -04:00
Christian Muehlhaeuser
2bc71743de * Fix for getting out of sync with locally changed playlists. 2011-09-12 15:17:37 +02:00
Christian Muehlhaeuser
0cffdf124a * Assert when optimistic locking fails. 2011-09-12 14:45:08 +02:00
Christian Muehlhaeuser
789b698e7a * Keep checking revision queue. 2011-09-12 13:55:55 +02:00
Christian Muehlhaeuser
0dbe87e2f4 * Don't update playlist revision with result hints if it's already out of date. 2011-09-12 13:52:54 +02:00
Christian Muehlhaeuser
0e069c6b88 * Eliminate extra margin on OSX. 2011-09-12 11:33:55 +02:00
Christian Muehlhaeuser
f4ccb9f802 * Updated README. 2011-09-12 11:09:47 +02:00
Christian Muehlhaeuser
3bf2fa1237 * Fixed not finding / using local libquazip. 2011-09-12 10:56:39 +02:00
Christian Muehlhaeuser
7609906994 * Fix compiling. 2011-09-12 10:46:48 +02:00
Christian Muehlhaeuser
c626a161cd * A 'little' spring cleaning. Or at least that's what it feels like. Exhausted. 2011-09-12 10:41:39 +02:00
Christian Muehlhaeuser
bcf84c2b8c * Store last processed dbcmd guid in Source in case a DBSyncConnection dies on us. 2011-09-12 08:30:36 +02:00
Christian Muehlhaeuser
d15878555f * Let's put an 'empty dbcmd list' assert in DBSyncConnection and see if we ever hit this condition. 2011-09-12 08:18:31 +02:00
Christian Muehlhaeuser
5121d060db * Moved more debug output to LOGVERBOSE level. 2011-09-12 07:58:15 +02:00
Christian Muehlhaeuser
f48c2c9b5c * Cleanup debug output a bit. 2011-09-12 07:28:40 +02:00
Christian Muehlhaeuser
2c9c5ea8bb * Fixed shutdown sequence while ongoing database replication. 2011-09-12 07:16:47 +02:00
Christian Muehlhaeuser
2b8a1fa2ca * Request last known guid from command queue if it's filled. 2011-09-12 06:33:22 +02:00
Christian Muehlhaeuser
6c55d1e510 * Make DBSyncConnection simpler and hopefully more fail-safe. 2011-09-12 06:29:40 +02:00
Christian Muehlhaeuser
577a706b9f * Remove breakpad related stuff again. 2011-09-12 02:54:59 +02:00
Christian Muehlhaeuser
e7d78ea52e * Moved AtticaManager and all its deps into libtomahawk. 2011-09-12 02:52:52 +02:00
Dominik Schmidt
2b947254d5 Convert quazip to unix linebreaks 2011-09-12 01:24:35 +02:00
Dominik Schmidt
32da3965f8 Fix win compilations 2011-09-12 01:21:10 +02:00
Leo Franchi
44e10db28d Slightly wider dialog 2011-09-11 18:16:24 -04:00
Leo Franchi
bc96846839 Merge branch 'ghns'
Conflicts:
	src/settingsdialog.cpp
	src/stackedsettingsdialog.ui
2011-09-11 18:15:30 -04:00
Leo Franchi
1425b68c39 Fix compile without libattica 2011-09-11 17:29:37 -04:00
Leo Franchi
f3e45bd240 Sort by download count for now, and only fetch a proper url 2011-09-11 17:18:51 -04:00
Leo Franchi
d2bd6b8744 Support resolver icons 2011-09-11 17:18:51 -04:00
Leo Franchi
dbb9d14deb Refactor the resolver system a bit so we have real objects instead of paths 2011-09-11 17:18:35 -04:00
Leo Franchi
6ec2fae320 Better title for dialog :) 2011-09-11 17:18:35 -04:00
Leo Franchi
ef81026ffb Enable as soon as we install a resolver 2011-09-11 17:18:34 -04:00
Leo Franchi
45a276cf33 Be safer 2011-09-11 17:18:29 -04:00
Leo Franchi
c6259d2feb make compile without attica 2011-09-11 17:18:28 -04:00
Leo Franchi
3a7cab851d Functional downloading, installing, uninstalling, managing 2011-09-11 17:18:22 -04:00
Leo Franchi
158bbff8de add quazip and some code to unpack 2011-09-11 17:18:22 -04:00
Leo Franchi
3f457d4a00 Add a view for libattica-provided GHNS resolvers 2011-09-11 17:17:56 -04:00
Christian Muehlhaeuser
9cb06d70b2 * Added .DS_Store to .gitignore. 2011-09-11 10:48:59 +02:00
Christian Muehlhaeuser
e616e33239 * Tweak some more on OS X. 2011-09-11 09:15:58 +02:00
Christian Muehlhaeuser
c2c6ace3e5 * Fix layout some more. 2011-09-11 08:58:11 +02:00
Christian Muehlhaeuser
7fa7fe3886 * Try to fix settings dialog margin a bit. 2011-09-11 08:54:34 +02:00
Christian Muehlhaeuser
8f61715b6d * Remove obsolete filepath picker method. 2011-09-11 08:46:36 +02:00
Christian Muehlhaeuser
e4918e777e * Fixed TWK-91: Support multi-folder scanning. 2011-09-11 08:41:29 +02:00
Jeff Mitchell
19da9ef754 Properly check for empty directory so the right code path for deleting individual files on scan is hit...doesn't fix update problems though, but at least the right file urls are now making it to Collection::deleteTracks 2011-09-10 17:39:51 -04:00
Jeff Mitchell
0a07750efb How about not telling the source list we're done until we're actually done 2011-09-10 17:13:42 -04:00
Jeff Mitchell
c78fe2f701 Actually remove deleted files from the collection 2011-09-10 14:49:19 -04:00
Jeff Mitchell
9ea1fa7f4b Pedantic whitespace fixing 2011-09-10 14:07:51 -04:00
Christian Muehlhaeuser
b9087ad7b7 * Make results singletons, based on its url. Now we can call Result's toQuery() without re-resolving. Much nicer. 2011-09-10 13:16:38 +02:00
Christian Muehlhaeuser
efaa1eb18f * If we couldn't shorten the url, emit the longUrl as shortUrl. 2011-09-10 12:07:22 +02:00
Christian Muehlhaeuser
89f39f1a1f * Use short-urls when copying track url to clipboard. 2011-09-10 12:00:30 +02:00
Christian Muehlhaeuser
b0ae9fead5 * Fix GlobalActionManager's shortenUrl. 2011-09-10 11:46:05 +02:00
Alejandro Wainzinger
983acfc7e4 Fix URL encoding. 2011-09-10 02:34:25 -07:00
Alejandro Wainzinger
79920efe4f Add error checking when can't get short url. 2011-09-10 02:16:15 -07:00
Alejandro Wainzinger
b250d13362 Add support for getting short links, make Adium use it by default. 2011-09-10 02:16:15 -07:00
Alejandro Wainzinger
df13198c5c First work at shorten-link stuff, does not compile. 2011-09-10 02:16:15 -07:00
Christian Muehlhaeuser
202c4b821e * No need to access SourceList's singleton inside SourceList. 2011-09-10 09:35:50 +02:00
Christian Muehlhaeuser
e789066b9b * Fixed SourceList's get( id ) for id being 0. 2011-09-10 09:34:17 +02:00
Christian Muehlhaeuser
46ffedf530 * Set current track's playlist correctly. 2011-09-10 09:29:17 +02:00
Christian Muehlhaeuser
fd72e7fa4e * Remove obsolete ruby scripts in liblastfm. 2011-09-10 09:28:40 +02:00
Christian Muehlhaeuser
a9e08a7104 * Gnah. Fix wrong include. 2011-09-10 08:44:21 +02:00
Christian Muehlhaeuser
442a933f9b * Fixed OS X compile, some more. 2011-09-10 08:41:51 +02:00
Christian Muehlhaeuser
a2d6d82d83 * Fix OS X compile. 2011-09-10 08:37:29 +02:00
Christian Muehlhaeuser
2a7adda968 * Manually crafted layout for the social actions in AudioControls. 2011-09-10 07:21:06 +02:00
Christian Muehlhaeuser
98aaec0ffd * Queue refreshs in RecentPlaylistsModel. Prevents nasty flickering on startup. 2011-09-10 07:02:43 +02:00
Christian Muehlhaeuser
c0183aa359 * Can't reparent nam in liblastfm. 2011-09-10 07:02:03 +02:00
Christian Muehlhaeuser
c3197a39b0 * Be consistent with 'My Collection'. 2011-09-10 06:16:00 +02:00
Christian Muehlhaeuser
6789c1f032 * Improved collection syncing, this should prevent any dupes. 2011-09-10 06:00:19 +02:00
Christian Muehlhaeuser
6fe1d178dd * Thread-safety for liblastfm. 2011-09-10 05:45:57 +02:00
Christian Muehlhaeuser
859d2e8641 * Fixed crash in AudioEngine. 2011-09-10 05:32:31 +02:00
Christian Muehlhaeuser
3787eefa48 * Added Xspf.h to moc headers. 2011-09-10 05:20:21 +02:00
Christian Muehlhaeuser
54f280f792 * Yet another final annoying win fix... :-/ 2011-09-10 05:11:10 +02:00
Christian Muehlhaeuser
401f691359 * Yet another final win fix... :-/ 2011-09-10 05:08:45 +02:00
Christian Muehlhaeuser
77b0adaf7f * Another final win fix... :-/ 2011-09-10 05:05:48 +02:00
Christian Muehlhaeuser
7b5ab89fef * Final win fix. 2011-09-10 05:02:45 +02:00
Christian Muehlhaeuser
464170cca9 * Try fix win compiling some more. 2011-09-10 04:59:38 +02:00
Christian Muehlhaeuser
dcdb937cf3 * Fixed ws.cpp with Qt 4.8. 2011-09-10 04:50:54 +02:00
Christian Muehlhaeuser
2c180c6123 * Try fixing win compile some more. 2011-09-10 04:45:44 +02:00
Christian Muehlhaeuser
1540b7b5bf * Fixed win32 compile. 2011-09-10 04:38:31 +02:00
Christian Muehlhaeuser
030b91ba9f * Updated liblastfm2 to latest snapshot. 2011-09-10 04:34:34 +02:00
Christian Muehlhaeuser
76d4821295 * Moved OS X definitions to CMakeLists.txt, so we can easily re-merge upstream of miniupnp. 2011-09-10 03:43:35 +02:00
Christian Muehlhaeuser
e72cf5423c * Updated README. 2011-09-09 13:07:59 +02:00
Christian Muehlhaeuser
ad7ac35422 * Fixed layout margins after adding QSplitters. 2011-09-09 13:04:06 +02:00
Christian Muehlhaeuser
ea21848811 * Greatly improved sidebar performance by pre-caching all QIcons. 2011-09-09 12:14:40 +02:00
Christian Muehlhaeuser
a65d037def * Fixed crash bug in AudioEngine: timer-events can arrive after we called stop. 2011-09-09 11:29:22 +02:00
Christian Muehlhaeuser
a667fbd8b4 * Fixed ToggleButton not staying 'down' as it should. 2011-09-09 10:42:00 +02:00
Christian Muehlhaeuser
92240b6e0c * Added InfoSystem support to TreeModel.
* Added 'Official Releases Only' toggle-button on Artist Page.
* Cleaned up a few sources.
2011-09-09 10:27:37 +02:00
Christian Muehlhaeuser
20eeaf73ac * Added ToggleButton, a header-style PushButton with a toggle state. 2011-09-09 10:24:29 +02:00
Christian Muehlhaeuser
a1314347f9 * Try to fix OS X compile. 2011-09-09 02:31:38 +02:00
Christian Muehlhaeuser
fab69e3cae * Updated miniupnp and added blocked devices support to libportfwd. 2011-09-09 02:26:22 +02:00
Christian Muehlhaeuser
cc2cc8397e * Added debug output to DBSyncConnection. 2011-09-07 20:32:47 +02:00
Christian Muehlhaeuser
fe7d128056 * Fixed TWK-499: Update playlist either wether it's been a move or a copy. 2011-09-07 05:33:13 +02:00
Christian Muehlhaeuser
d3a8f57e1c * Always use tr() when defining user visible text. 2011-09-07 05:23:29 +02:00
Christian Muehlhaeuser
96c279275e * On non X11 set our default volume to 75%. 2011-09-07 05:11:00 +02:00
Christian Muehlhaeuser
d6a504c38b * Fixed TWK-416: Show when a playlist was created. 2011-09-07 04:53:15 +02:00
Christian Muehlhaeuser
b1224c0a2b * Fixed TWK-379: Properly parent 'Export Playlist' dialog and store/restore last used path. 2011-09-07 04:42:05 +02:00
Christian Muehlhaeuser
694787c8d6 * Update ChangeLog. 2011-09-07 04:41:26 +02:00
Christian Muehlhaeuser
8a6254c47e * Fixed TWK-101: Don't cancel system logout / shutdown. 2011-09-07 04:17:11 +02:00
Dominik Schmidt
216d4511f7 Fix cmake for clang 2011-09-06 23:45:33 +02:00
Christian Muehlhaeuser
043aa8755d * Use Q_WS_* instead of WIN32 / Q_OS_*. 2011-09-06 08:53:08 +02:00
Christian Muehlhaeuser
e772dcecad * Fixed TWK-438: Get rid of splitter handles in the sidebar. 2011-09-06 08:16:43 +02:00
Christian Muehlhaeuser
ac99970bd4 * Get rid of compiler warning. 2011-09-06 08:13:47 +02:00
Christian Muehlhaeuser
7547250631 * Fixed TWK-464: Remove items from queue if you manually start them from there. 2011-09-06 07:45:42 +02:00
Christian Muehlhaeuser
06bd6edc8c * Fixed TWK-380: Added & cleaned up splitters on a few pages. 2011-09-06 07:26:26 +02:00
Christian Muehlhaeuser
98aa2a447e * Fixed TWK-436: Use search icon for search pages. 2011-09-06 06:52:39 +02:00
Christian Muehlhaeuser
00973e6365 * Use cached sortname instead of recalculating it over and over again. 2011-09-06 06:43:52 +02:00
Christian Muehlhaeuser
dc11760640 * Fixed TWK-281: Ignore leading the when sorting by artist name. 2011-09-06 06:35:14 +02:00
Christian Muehlhaeuser
1f955ae8d5 * Be prepared for avatar-less sources. 2011-09-06 05:59:47 +02:00
Christian Muehlhaeuser
8c6ef2f533 * Fixed TWK-378: Show source avatar when viewing a collection. 2011-09-06 05:49:33 +02:00
Christian Muehlhaeuser
d4f12d6d33 * Fixed TWK-481: New Playlist dialog is too small. 2011-09-06 05:35:01 +02:00
Christian Muehlhaeuser
00f2195dd2 * Cleaned up StyleHelper and use it in ContextWidget. 2011-09-06 05:14:45 +02:00
Christian Muehlhaeuser
23ecf1264f * Renamed contextual view to 'Footnotes'. 2011-09-06 04:55:50 +02:00
Christian Muehlhaeuser
7fcdbe9c9e * Improved score calculation and handling. Tomahawk now calculates all the scores internally and doesn't rely on resolvers providing it anymore. 2011-09-06 04:40:08 +02:00
Christian Muehlhaeuser
8fa8f9b733 * Fixed crashing when quickly resetting filter patterns in TreeProxyModel. 2011-09-06 03:45:13 +02:00
Christian Muehlhaeuser
7a731c0fa5 * Guard Connection pointers with a QWeakPointer. 2011-09-06 03:06:56 +02:00
Jason Herskowitz
700e53eb2c Adding images for footnotes and queue headers. Open, close, expand and collapse. 2011-09-05 08:45:25 -04:00
Christian Muehlhaeuser
5968d6c903 * Installing a scene filter doesn't work. Not needed either. 2011-09-05 12:28:46 +02:00
Christian Muehlhaeuser
c7317dbe54 * Updated ChangeLog. 2011-09-05 12:26:00 +02:00
Christian Muehlhaeuser
031f52f6b7 * Only linux seems to behave wrong here... maybe it's Oxygen-style. Need to investigate. 2011-09-05 11:58:07 +02:00
Christian Muehlhaeuser
fa6579f8f0 * Static gradient for InfoBar speeds up window resizing. 2011-09-05 11:04:02 +02:00
Christian Muehlhaeuser
c9c99d58ab * Fixed search-input layout on non-OSX. 2011-09-05 10:56:29 +02:00
Christian Muehlhaeuser
b9d6548243 * Moved infobar/ out of the playlist/ dir. 2011-09-05 10:40:12 +02:00
Christian Muehlhaeuser
914c02b7ab * Moved widgets out of utils/ dir. 2011-09-05 10:37:14 +02:00
Christian Muehlhaeuser
b83a7bed00 * Properly elide artist's biography on artist-page. 2011-09-05 10:28:21 +02:00
Christian Muehlhaeuser
f3c19779cd * Fine-tuned filtering tree-models. 2011-09-05 09:26:45 +02:00
Christian Muehlhaeuser
9ef5894685 * Move TreeModel filtering to TreeProxyModel. 2011-09-05 06:32:40 +02:00
Christian Muehlhaeuser
71117d3c42 * Filter word by word, not the total term, e.g. 'rock you we will' finds 'we will rock you'. 2011-09-05 05:50:08 +02:00
Casey Link
079f758b66 Update the WhatsHot widget to fetch and correctly display charts based on the selection in the breadcrumb. For the moment I've removed the right panel, but it will be coming back (probably). 2011-09-04 22:37:09 -05:00
Casey Link
dd83f121c8 When the selected crumb doesn't have any children, emit the parent as having been selected. 2011-09-04 22:37:09 -05:00
Casey Link
8f326ee41b Add a signal to tell the outside world when the crumb changed. 2011-09-04 22:37:09 -05:00
Casey Link
f32320fd67 Fix detection of tracks/artists charts in lastfm 2011-09-04 22:37:09 -05:00
Casey Link
0a7e49f6d5 Change how chart lists and charts are passed through the info system. 2011-09-04 22:37:09 -05:00
Christian Muehlhaeuser
33d8c0314c * Allow filtering by album name. 2011-09-05 04:56:11 +02:00
Christian Muehlhaeuser
b73d5b4424 * Fixed filtering by artist name. 2011-09-05 04:52:28 +02:00
Christian Muehlhaeuser
c4a450e5de * Add filter capabilities to TreeModel / -View. 2011-09-05 04:50:30 +02:00
Jason Herskowitz
b32ac0cf04 New filter icon if we can use it with native search component 2011-09-04 22:10:47 -04:00
Christian Muehlhaeuser
52c0e9993b * Fixed filter behaviour. 2011-09-05 03:52:41 +02:00
Christian Muehlhaeuser
1c3b3e9173 * Bring back the filter, move deps into libtomahawk/thirdparty/. 2011-09-05 02:51:41 +02:00
Christian Muehlhaeuser
9690276079 * Fixed TWK-278: Store columns after reordering and introduce ViewHeader as a base-class for self-restoring QHeaderViews. 2011-09-04 12:35:52 +02:00
Christian Muehlhaeuser
58362883b3 * Some more cleanups. 2011-09-04 08:58:09 +02:00
Christian Muehlhaeuser
5b8f35294b * Don't react to hover events unless TrackView is in Detailed mode. 2011-09-04 08:49:37 +02:00
Christian Muehlhaeuser
12c5b18b05 * Resize ContextPage's columns. 2011-09-04 08:45:31 +02:00
Christian Muehlhaeuser
05315b14bd * Add forgotten ui file. 2011-09-04 07:25:21 +02:00
Christian Muehlhaeuser
dd842a1393 * Removed ugly queue button for good. 2011-09-04 07:23:54 +02:00
Christian Muehlhaeuser
a467b8f2e8 * Added initial ContextView. Yikes. 2011-09-04 04:23:10 +02:00
Christian Muehlhaeuser
5dfb3ccc5c * Fixed TWK-492: Don't crash when pressing enter in an empty playlist. 2011-09-02 01:18:57 +02:00
Casey Link
776a2deb91 Make the root icon clickable and expose a signal. 2011-09-01 00:29:05 +00:00
Casey Link
c79985ad86 When there isn't enough room to display all the crumbs, collapse from the left. 2011-09-01 00:28:38 +00:00
Casey Link
aeaf569eb1 Remove slot/signal connection leftover from testing. 2011-08-31 17:02:16 -05:00
Casey Link
e05b8b1843 If the current crumb doesn't have any children, do not show the arrow. 2011-08-31 17:00:04 -05:00
Casey Link
a6452dbeee A little hack to force the second crumb to automatically expand. 2011-08-31 16:39:09 -05:00
Casey Link
d15daf4a85 Implement the data model for the breadcrumb in the whatshot widget. 2011-08-31 21:23:26 +00:00
Casey Link
16a2f94816 Fix bug in the breadcrumb that prevent buttons from showing up. 2011-08-31 21:23:26 +00:00
Casey Link
7a7de39bf7 Implement ChartInfoCapabilities in the lastfm plugin 2011-08-31 21:23:26 +00:00
Casey Link
37530eeeed Replace the comboboxes in the whatshot widget with the breadcrumb. No data model yet, that is coming soon. 2011-08-31 21:23:26 +00:00
Casey Link
c2fe912277 A breadcrumb widget, tomahawk style. 2011-08-31 21:23:26 +00:00
Christian Muehlhaeuser
0c3a9c61b5 * Don't retrieve anything for invalid TreeModelItems. 2011-08-31 13:01:52 +02:00
Christian Muehlhaeuser
e75e204007 * Fixed crash bug caused by cover fetching and a race condition. 2011-08-31 12:59:44 +02:00
Christian Muehlhaeuser
098999ca8c * Fixed crash bug in AlbumModel. 2011-08-31 11:37:22 +02:00
Alejandro Wainzinger
14e6a7fce4 Return 404 if content is null. 2011-08-30 22:07:53 -07:00
Jeff Mitchell
2bedc3bdd0 Extra safety 2011-08-30 11:55:47 -04:00
Leo Franchi
58bff6af4c style fix 2011-08-30 07:58:51 -04:00
Casey Link
bf03b7b756 Fetch charts data on the event loop to prevent a strange deadlock on startup. 2011-08-29 23:40:52 -05:00
Christian Muehlhaeuser
7f324bc45c * Unbreak OSX compile. 2011-08-30 03:11:47 +02:00
Casey Link
626f9acfac Add missing comma, doh 2011-08-29 19:41:36 -05:00
Casey Link
302dbd0224 Some test documentation for enumns.. lets see what doxygen does. 2011-08-29 19:34:14 -05:00
Casey Link
57dea3061b Add some documentation to the new classes 2011-08-29 19:34:14 -05:00
Christian Muehlhaeuser
3e12072dd9 * TomahawkWindow cleanup. 2011-08-30 02:29:45 +02:00
Christian Muehlhaeuser
be10085958 * Fixed ChangeLog typo. 2011-08-30 02:20:49 +02:00
Casey Link
6e6ff2ae53 Merge branch 'whatshot' 2011-08-29 18:56:12 -05:00
Casey Link
320e5a3252 Fix oopsies leftover from the playlist model rename 2011-08-29 23:55:37 +00:00
Jason Herskowitz
f031d25741 Added fix for Spotify links 2011-08-30 01:30:36 +02:00
Christian Muehlhaeuser
a554ee0fa8 * Fixed TWK-451: Properly parent the friends auth / add dialog. 2011-08-30 00:53:29 +02:00
Christian Muehlhaeuser
f774302623 * Fixed TWK-482: Don't close after showing a jabber friend request. 2011-08-30 00:26:58 +02:00
Leo Franchi
0cea650181 TWK-477: Restore code that was lost during file split, and add a proper license header 2011-08-29 18:10:49 -04:00
Jeff Mitchell
47c515caa4 Do please check your debug for null pointers :-) 2011-08-29 13:13:10 -04:00
Jeff Mitchell
0319e5f2f5 Don't show 0 when there is no albumpos for a track 2011-08-29 12:06:42 -04:00
Jeff Mitchell
39bbd128c2 Change the position of the albumpos column to be next to the album 2011-08-29 11:54:09 -04:00
Casey Link
a25d174f64 Merge branch 'master' into whatshot
Conflicts:
	src/libtomahawk/CMakeLists.txt
2011-08-29 10:43:10 -05:00
Leo Franchi
65709e92ff Add file 2011-08-29 11:27:50 -04:00
Christian Muehlhaeuser
89104fc27d * Added more debug output for playlist errors. 2011-08-29 17:12:25 +02:00
Leo Franchi
28e7413bdd Make QCA2 an optional dep, it's only required for HMAC(md5) for resolvers 2011-08-29 11:09:31 -04:00
Jeff Mitchell
d5a2e4b325 Remove dependency on XComposite on X11. It wasn't actually a dependency
on the library, just the development headers (used to check for th
existence of compositing at runtime, but not necessary for us).
2011-08-29 11:03:28 -04:00
Leo Franchi
bde3d93f6a Changelog++ 2011-08-29 10:50:59 -04:00
Leo Franchi
8ed476ccf6 Add QCA2 as an optional dep to tomahawk as well for HMAC signature generation for resolvers
Also add a helper JS function
2011-08-29 10:49:52 -04:00
Leo Franchi
5c5042769b Update overlay text 2011-08-29 10:49:52 -04:00
Christian Muehlhaeuser
6cca932bf4 * Stick to 80-char max-length for ChangeLog. 2011-08-29 16:20:33 +02:00
Leo Franchi
3b832576af Add new feature to 0.3 changelog 2011-08-29 10:18:46 -04:00
Leo Franchi
fa8746fc70 Sync changelog 2011-08-29 10:17:25 -04:00
Christian Muehlhaeuser
e44a78ba8d * Be safer. 2011-08-29 16:07:57 +02:00
Christian Muehlhaeuser
cf25f3c072 * Some debug and safety meassures. 2011-08-29 16:01:53 +02:00
Jeff Mitchell
4fc7c6415b Fix seeker getting "stuck" if it goes ahead on some tracks 2011-08-28 16:47:14 -04:00
Jeff Mitchell
271e6c480d Re-disable phonon seek checking, for now 2011-08-28 16:23:25 -04:00
Jeff Mitchell
57e72e53f9 Fix seeking for local files; also, disable dragging the seek slider if phonon reports that the object cannot be seeked, to not have ugly jumping around. 2011-08-28 16:13:27 -04:00
Jeff Mitchell
a9a9d11f97 Remove debugging 2011-08-28 14:41:02 -04:00
Jeff Mitchell
4b4cecc027 Finish making the seekslider the sleekslider 2011-08-28 14:38:33 -04:00
Jeff Mitchell
e5f6f40289 Initial work on the sleeker slider 2011-08-28 04:16:18 -04:00
Jeff Mitchell
d2af8a8a39 Fix null pointer crash in treeproxymodel 2011-08-28 03:47:11 -04:00
Jeff Mitchell
7166ba161f Update changelog 2011-08-28 02:23:23 -04:00
Jeff Mitchell
ea0fb3c099 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-28 02:17:49 -04:00
Jeff Mitchell
ea6d892058 Fix regression in audioengine logic when encountering the end of the playlist 2011-08-28 02:16:27 -04:00
Christian Muehlhaeuser
dffb3deebe * Updated ChangeLog. 2011-08-28 06:08:45 +02:00
Christian Muehlhaeuser
c5876c0f9e * Absolutely prevent dupe temp commands from being executed twice. 2011-08-28 05:44:45 +02:00
Christian Muehlhaeuser
89aff8bcbb * Cleaned up database syncing a bit. 2011-08-28 04:50:31 +02:00
Jeff Mitchell
71339862b6 Changelogify Twitter issue 2011-08-27 22:09:45 -04:00
Jeff Mitchell
9e4d320cff Make public/mentions timelines check less often to offset bumping up the dm timer 2011-08-27 22:04:58 -04:00
Jeff Mitchell
cca1ac1532 Some further cleanup and make dms poll a bit more often while keeping the timelines longer 2011-08-27 22:04:24 -04:00
Jeff Mitchell
d8c09ff502 Hopefully really fix the twitter issue 2011-08-27 20:28:59 -04:00
Jeff Mitchell
678eeb1232 Fix twitter saved offer key issue, maybe 2011-08-27 18:00:24 -04:00
Jeff Mitchell
644135c88a Move libqnetwm down one level and hopefully fix building for leo 2011-08-27 16:21:19 -04:00
Jeff Mitchell
dc9f250322 Fix include path 2011-08-27 16:07:53 -04:00
Christian Muehlhaeuser
33a63a45e8 * Fixed mutex deadlock in SourceList. 2011-08-27 21:46:13 +02:00
Leo Franchi
50bce627a8 Show recently created playlists and stations instead of recently looked at. Old model is still there. 2011-08-27 15:28:02 -04:00
Michael Zanetti
49373bdfd0 dont crash when dropping an item with no album to album 2011-08-27 20:37:38 +02:00
Michael Zanetti
f39a982e00 fix dropping of query_ptrs to Top10 2011-08-27 20:37:38 +02:00
Jeff Mitchell
6a12e9fe04 Changelogify++ 2011-08-27 14:02:22 -04:00
Michael Zanetti
16e77cb144 fix dropping of top 10 for albums and tracks 2011-08-27 17:35:48 +02:00
Michael Zanetti
eaca242277 changed the colors to silver 2011-08-27 17:35:48 +02:00
Michael Zanetti
851f9124ba increase font size in dropmenu. People say it was too small for distinguishing normal and bold. 2011-08-27 17:35:48 +02:00
Michael Zanetti
01c2927339 paint the hovered item w/o QStyle::State_Selected but w/ QStyle::State_Active 2011-08-27 17:35:47 +02:00
Michael Zanetti
9f6dd0a104 fix font shrinking issue on OSX with the dragndrop menu 2011-08-27 17:35:47 +02:00
Michael Zanetti
52037d8847 cache the mimedata so we can paint the items after the dropLeaveEvent and made animations a bit faster 2011-08-27 17:35:47 +02:00
Michael Zanetti
39af693de1 remove styleoption selected before painting the text to avoid two selection boxes 2011-08-27 17:35:47 +02:00
Michael Zanetti
9cc919eb08 improved the animation 2011-08-27 17:35:47 +02:00
Jason Herskowitz
2e3e0afa7c Replace all songs drop zone icon with something that is more square. 2011-08-27 17:35:47 +02:00
Michael Zanetti
f0a05acf01 fix off-by-one painting bug in dropmenu 2011-08-27 17:35:47 +02:00
Michael Zanetti
a7d1275e52 replace BounceAnimaton with ExpoAnimation 2011-08-27 17:35:47 +02:00
Michael Zanetti
232097b06b make use of new drop icons 2011-08-27 17:35:47 +02:00
Jason Herskowitz
b1ed8d2419 Add drop zone icons for song and album. 2011-08-27 17:35:47 +02:00
Michael Zanetti
2c5040c638 improved animation 2011-08-27 17:35:47 +02:00
Michael Zanetti
f1dfd84213 make the dropmenu work with categoryitems 2011-08-27 17:35:47 +02:00
Michael Zanetti
74fa941159 fix bug where non expanded items were tracked expanded ones 2011-08-27 17:35:47 +02:00
Michael Zanetti
559433162f make top 10 really top 10 instead of top 50 2011-08-27 17:35:46 +02:00
Michael Zanetti
fbefe4185f fixes in dragndrop menu 2011-08-27 17:35:46 +02:00
Michael Zanetti
71a5888cba make use of new icons 2011-08-27 17:35:46 +02:00
Michael Zanetti
e7cd5bddc4 more work on the drag and drop menu 2011-08-27 17:35:46 +02:00
Jason Herskowitz
b70810da9c Icons for artist drop areas for playlist drawer 2011-08-27 17:35:46 +02:00
Michael Zanetti
4fe15984ce TWK-434: Added drag indicators for artist and album 2011-08-27 17:35:46 +02:00
Michael Zanetti
1d6c407003 TWK-411: Dragging an album/artist to "New Station" creates a station based on that artist instead of all the tracks 2011-08-27 17:35:46 +02:00
Michael Zanetti
a227ae4bcb more work on the drag and drop menu 2011-08-27 17:35:46 +02:00
Christian Muehlhaeuser
13db62b71c * Fixed always resolving top songs in DropJob. 2011-08-27 17:35:46 +02:00
Michael Zanetti
bb72c3efb2 correctly check for isNull 2011-08-27 17:35:46 +02:00
Michael Zanetti
34c8c79ef5 fixed order of filtering. initial work on the Top10 drop action (does actually Top50 for now and tracks can not be resolved yet) 2011-08-27 17:35:46 +02:00
Michael Zanetti
6aa7531623 dropping "All items" and "Only local items" works now 2011-08-27 17:35:46 +02:00
Michael Zanetti
eea5fa2826 cleanup 2011-08-27 17:35:46 +02:00
Michael Zanetti
a14db5e7f2 readded the editorEvent which somehow got lost in the previous merge and cleaned up a bit 2011-08-27 17:35:46 +02:00
Michael Zanetti
42508b7917 initial work on a menu for drag and drop 2011-08-27 17:35:46 +02:00
Jeff Mitchell
6b865eb4f2 Add account skeleton 2011-08-27 17:09:13 -04:00
Jeff Mitchell
87c86b6349 Hells. Yes. Make TH window come to front when launched with a URL. (X11, not sure if Win works yet.) 2011-08-27 02:47:17 -04:00
Jeff Mitchell
4b5caaceef Fix compile on mingw32 2011-08-27 02:37:50 -04:00
Jeff Mitchell
dccc4e6225 Add definitions for bringToFront. Can't test on X11 as TH crashes with database errors before I get the chance. 2011-08-27 02:29:05 -04:00
Jeff Mitchell
971cc742bb Add ability to query all sources with a getInfo call. Watch out for finished() :-) 2011-08-27 00:45:16 -04:00
Casey Link
2bff9e9a27 fix charts image in resources 2011-08-27 01:45:39 +00:00
Casey Link
6cba5c990e Change display name of whatshot widget to Charts and use the charts icon 2011-08-26 20:12:14 -05:00
Casey Link
a2f2fc7867 Merge branch 'master' into whatshot
Conflicts:
	src/tomahawkapp.cpp
2011-08-26 19:54:55 -05:00
Casey Link
ec2dec4faf Handle our own Arrow Drawing.
Adds AntiAliasing and uses our own colors.
2011-08-26 19:47:11 -05:00
Dominik Schmidt
e2fb440af4 Square the .svg version of tomahawk-icon (Larifari's first contribution) 2011-08-27 02:17:53 +02:00
Casey Link
ccc8d3b26a Use the new Header and ComboBox widgets in the whatshot widget. 2011-08-26 18:44:25 -05:00
Casey Link
e43e45cd76 Introduce StyleHelper, HeaderWidget and ComboBox
These are customized widgets for tomahawk that make headers pretty.
2011-08-26 18:43:35 -05:00
Jeff Mitchell
fc2de7721a None of this works, but maybe it's a start since Qt directly isn't
working
2011-08-26 18:40:19 -04:00
Jeff Mitchell
65a50c5a85 Better structuring 2011-08-26 17:47:08 -04:00
Jeff Mitchell
cd78b77784 Draw the battle lines 2011-08-26 17:03:49 -04:00
Jeff Mitchell
1c250b334b Handle checking queue in canGoNext so that we can use next() all the
time instead of randomly skipping it and using loadNextTrack directly
sometimes
2011-08-26 16:12:51 -04:00
Jeff Mitchell
d06c43bfe6 Use next() so that the hasNextTrack checks are run 2011-08-26 16:08:16 -04:00
Leo Franchi
1994ab33fe Don't depend on sender() as it can be null in queued events 2011-08-26 13:26:54 -04:00
Jeff Mitchell
9208257c96 Base64 encode our twitter credentials like elsewhere 2011-08-26 12:01:24 -04:00
Jeff Mitchell
f479fd4e7c Add logic back to audioengine, but simplify in sourcetreeview 2011-08-26 11:27:10 -04:00
Christian Muehlhaeuser
36486d10d1 * Notify user even when there's no album for the current track. 2011-08-26 17:11:34 +02:00
Jeff Mitchell
c7e2a5c1c1 Doh, smart pointers -- fix compile 2011-08-26 10:22:15 -04:00
Jeff Mitchell
a32ff26401 Fix crash; pointer safety! 2011-08-26 10:16:55 -04:00
Jeff Mitchell
b86f6301ff More sometimes-useful debug 2011-08-26 00:40:01 -04:00
Jeff Mitchell
146eaa226f Add debug and some logic to disconnect sourceplaylistinterface connections 2011-08-25 23:49:40 -04:00
Leo Franchi
3fa9fa337e TWK-441: Try to fix crash where sourcetreeitem would hold on to a dangling parent 2011-08-25 23:35:08 -04:00
Leo Franchi
597fec4982 Remove New Playlist widget for now, until we refactor the playlist UIs.
Also update the new playlist type widget to take into account the changes. Make the dialog a sheet on osx.
2011-08-25 23:11:57 -04:00
Jeff Mitchell
01b199c4a8 Fix listen along menu not resetting when you stop listening along 2011-08-25 22:57:14 -04:00
Jeff Mitchell
6dde11c89a Simplify logic -- I think this should still work fine with source playlist interface and also fix issues where someone has stopped playing a track 2011-08-25 20:28:25 -04:00
Dominik Schmidt
3c30ebd4d6 lfranchi: muesli: jherskowitz: awainzin: REMOVED LEGACY JABBER SUPPORT :P 2011-08-26 01:29:50 +02:00
Christian Muehlhaeuser
ff10760838 * Fixed TWK-469: Added album position as a TrackModel column. 2011-08-26 01:10:45 +02:00
Christian Muehlhaeuser
c4fbb6e0a7 * Fixed TWK-461: Always pre-sort searches by score column. 2011-08-26 00:48:39 +02:00
Christian Muehlhaeuser
67acb25da0 * Remove obsolete debug output. 2011-08-25 03:51:47 +02:00
Christian Muehlhaeuser
3e0092d299 * Guard pipeline against dupe queries. 2011-08-25 03:43:11 +02:00
Leo Franchi
9801370a47 Don't resolve a query twice. EchonestGenerator no longer gives out auto-resolving queries, resolve your own. 2011-08-24 21:39:35 -04:00
Christian Muehlhaeuser
2010cb41c7 * Add debug output. 2011-08-25 03:18:35 +02:00
Christian Muehlhaeuser
5f9f9481e7 * Refactor pipeline. 2011-08-25 02:55:31 +02:00
Leo Franchi
6f639ecf10 TWK-340: smooth transform for more pixmaps 2011-08-24 20:37:31 -04:00
Leo Franchi
50d00fc1bf TWK-447: Clear albums model before appending to it 2011-08-24 19:32:34 -04:00
Leo Franchi
def10a2e2b TWK-459: More rdio unbreaking and add support in rdioURI/rdioURL tomahawk urls 2011-08-24 19:13:54 -04:00
Leo Franchi
b7db4e0e6b TWK-323: Really fix rdio links 2011-08-24 19:11:54 -04:00
Michael Zanetti
92b612f44f make trackURLs work again
(cherry picked from commit 4327d61df7)
2011-08-24 07:42:54 -04:00
Christian Muehlhaeuser
d47cafbebf * Make sure onResolvingFinished gets called. 2011-08-24 03:02:26 +02:00
Christian Muehlhaeuser
895d65a24e * Cleaned up debugging in Servent. 2011-08-24 00:33:23 +02:00
Christian Muehlhaeuser
c9bf3035f2 * Don't assert out on too late results. 2011-08-23 18:15:23 +02:00
Leo Franchi
41f3193355 Don't double-delete playlists either 2011-08-23 10:20:26 -04:00
Leo Franchi
924c1b3a72 Changelog
(cherry picked from commit 1279b1fa12)
2011-08-22 19:17:55 -04:00
Leo Franchi
ac317eb0a6 TWK-431: Don't re-use the same infosystem caller id for every artistinfowidget. 2011-08-22 18:26:09 -04:00
Leo Franchi
36768db7e4 TWK-443: Don't double-delete dynamic widgets 2011-08-22 16:28:56 -04:00
Jason Herskowitz
97ee6f7d5e Edited ChangeLog via GitHub 2011-08-22 14:10:21 -03:00
Leo Franchi
e0c5108fb4 Changelog 2011-08-22 07:36:01 -04:00
Leo Franchi
fe77940545 Changelog. 2011-08-22 07:36:01 -04:00
Jason Herskowitz
51ae8fea77 Add icon for charts. 2011-08-21 22:19:25 -04:00
Christian Muehlhaeuser
c76c557ed1 * Fixed tray-icon's play / pause states. 2011-08-22 02:36:44 +02:00
Christian Muehlhaeuser
4200975576 Merge pull request #37 from Horrendus/master
Make a Play/Pause entry in Menu of the Trayicon
2011-08-21 17:25:09 -07:00
Casey Link
415d2e8ec7 ignore my ctags file 2011-08-21 18:55:53 -05:00
Stefan Derkits
612fd47293 Menu of TrayIcon now has a Play/Pause Entry
-) When starting Tomahawk the text is play
-) When playing a Song, the text is pause
-) When pausing a Song, the text is play

Action is connected to the playPause() slot of audioengine
2011-08-22 01:48:27 +02:00
Casey Link
ebb71321f6 Add a splitter to the charts widget. 2011-08-21 18:20:00 -05:00
Casey Link
fc235ccf1b Implement fetching and displaying of the Top Tracks Chart. 2011-08-21 18:04:44 -05:00
Casey Link
a21992a99a Either the lastfm XML output has changed, or this library was buggy all along. This patch fixes the parsing of <track> elements. 2011-08-21 18:03:21 -05:00
Alejandro Wainzinger
573e36fdfd Hopefully fix infinite loop caused by requesting a cover when the cache has issues and/or can't find the cover. 2011-08-21 14:26:30 -07:00
Christian Muehlhaeuser
48aeddc0a9 * Fixed filtering out unwanted dupes when viewing a local collection. 2011-08-21 22:50:41 +02:00
Casey Link
c6a104af93 Use a proxy model that doesn't sort, so we preserve the ranking order 2011-08-21 13:48:07 -05:00
Casey Link
68d3783b26 Implement chart.TopArtists in the lastfm plugin 2011-08-21 13:00:15 -05:00
Casey Link
228699863f Add new Chart InfoTypes for retrieving charts 2011-08-21 13:00:15 -05:00
Casey Link
a4a3c4fb17 Add What's Hot page with corresponding widget. 2011-08-21 12:56:41 -05:00
Christian Muehlhaeuser
13a93cfa45 * Bumped version no to 0.2.99 for master. 2011-08-21 04:55:53 +02:00
Christian Muehlhaeuser
3feee712bd * Updated ChangeLog. 2011-08-21 04:53:30 +02:00
Christian Muehlhaeuser
99e3e06716 * Fixed TWK-442: Provide stable sort ordering in Track- / TreeProxyModel. 2011-08-21 03:51:26 +02:00
Christian Muehlhaeuser
1653e16e7d * Fixed TWK-435: Don't block pipeline if a resolver times out. 2011-08-21 03:31:35 +02:00
Dominik Schmidt
977757cc7e TWK-410: possible fix 2011-08-21 03:23:29 +02:00
Christian Muehlhaeuser
71f6a3e81a * Don't filter out some wanted tracks, e.g. when multiple tracks of an album have the same name, but different tracks numbers. 2011-08-21 02:56:29 +02:00
Christian Muehlhaeuser
43bf42df6f * Fixed TWK-387: Stop showing a loading spinner, if there are no items to load. 2011-08-21 02:38:14 +02:00
Leo Franchi
552a07eee7 Be a bit safer if model changes 2011-08-20 11:50:37 -04:00
Michael Zanetti
97c694baba don't add duplicates when dropping albums or artists and fix losing items when combining synchronous and asynchrounous drop operations 2011-08-20 14:36:48 +02:00
Leo Franchi
5d512c180f Only remove playlists from saved list if that playlist was deleted and is still in our internal db 2011-08-20 01:09:34 -04:00
Leo Franchi
7f089714a6 bail out on a deleted widget 2011-08-20 00:58:32 -04:00
Leo Franchi
9737f765e5 TWK-414: Fix selecting newly created playlists and stations.
God this was a PITA. What is going on:

Playlists are created by collection item. SourcesModel::linkSourceItemToPage is called from *constructor* of PlaylistItem, so BEFORE
the CollectionItem calls endRowsAdded(). This means when the SourcesProxyModel does the mapFromSource() during the activateIndex() call
(from linkSourceItemToPage) it won't have the new index in the mapping yet as endRowsAdded() hasn't been called. So that will fail.

We have to queue the signal *from the source model to the proxy* not from the proxy to the view.

EUGH.

Also, fix a few logic errors from teh ViewManager/WeakPointer refactor that had bad logic
2011-08-20 00:47:53 -04:00
Leo Franchi
6521198127 TWK-401: Only update source stats after addfiles dbcmd is finished, instead of playing a race condition game. Also, refresh recent albums on stats change 2011-08-19 16:54:37 -04:00
Leo Franchi
498d7052de TWK-415: Don't crash if the trackproxymodel has an invalid current track 2011-08-19 15:45:21 -04:00
Leo Franchi
f0a6d4e8bb TWK-420: Show resolver wrench immediately after enabling a resolver. 2011-08-19 14:50:17 -04:00
Leo Franchi
e7bd29d228 remove stale include 2011-08-19 14:12:43 -04:00
Leo Franchi
5fd7505f7f fixes for linux 2011-08-19 13:54:15 -04:00
Leo Franchi
bc2ea013ac delete maclineedit 2011-08-19 13:41:01 -04:00
Leo Franchi
c1ecab349a Delete viewpages when we are done with them and remove Back/Forward buttons.
Remove toolbar and move search widget into top of sourcetree
2011-08-19 13:35:10 -04:00
Alejandro Wainzinger
2f4805c119 Temporary image cover goes in /tmp.
* Fixes TWK-430
2011-08-18 15:58:15 -07:00
Christian Muehlhaeuser
622150fca2 * Cleaned up icons a bit. 2011-08-18 23:25:39 +02:00
Jason Herskowitz
237de4f9a6 Add icons for artist, album and search temporary sidebar items. We should use these for drag indicators for album and artist drags 2011-08-18 17:11:21 -04:00
Leo Franchi
97d62b06c1 enable some stuff 2011-08-17 18:16:11 -04:00
Alejandro Wainzinger
25f37d692e ChangeLog++ 2011-08-18 00:13:10 +02:00
Christian Muehlhaeuser
33e2c4f935 * Updated ChangeLog. 2011-08-18 00:06:24 +02:00
Christian Muehlhaeuser
d24f2b2bb0 * Remember last used script path and store it. 2011-08-17 23:30:45 +02:00
Christian Muehlhaeuser
76bd0670d8 * No need for clucene in Tomahawk binary. 2011-08-17 22:11:54 +02:00
Leo Franchi
4abb53ccdf Fix resolvers on qt 4.8, baseUrl is required for html5 security policy stuff for localStorage 2011-08-17 14:35:27 -04:00
Leo Franchi
31d19196e2 remove offensively verbose debug 2011-08-17 13:46:12 -04:00
Jason Herskowitz
77d60fa02d De-decapitate avatar placeholder 2011-08-17 10:59:12 -04:00
Leo Franchi
178095acc0 and add semicolon 2011-08-17 10:12:29 -04:00
Leo Franchi
2c846c4ae2 Always select source item when new playlist/stations are created 2011-08-17 10:10:26 -04:00
Alejandro Wainzinger
ab462cd7b8 Actually, don't rely on Phonon's isSeekable. It sometimes lies. 2011-08-17 06:14:56 -07:00
Alejandro Wainzinger
a88afe34c2 Return false if can't seek in MPRIS plugin, a string is actually not a boolean.
awainzin--;
2011-08-17 05:58:02 -07:00
Alejandro Wainzinger
79356b9da8 Respect Phonon's isSeekable() function before seeking. 2011-08-17 05:53:39 -07:00
Alejandro Wainzinger
b74cefd72f Try to respect seek restrictions placed on the playlist. 2011-08-17 04:05:16 -07:00
Alejandro Wainzinger
1d222064fb Add the Seeked signal in MPRIS. 2011-08-17 03:17:31 -07:00
Alejandro Wainzinger
6b1d919518 Use full string in tempfile check. 2011-08-17 02:47:26 -07:00
Alejandro Wainzinger
016bd7eb47 Fix potential crash when temporary file doesn't exist, move coverfetching to metadata. 2011-08-17 02:14:15 -07:00
Leo Franchi
ae9d6f8df4 To temporary pages it is! 2011-08-16 23:14:29 -04:00
Alejandro Wainzinger
8beb3173c6 Clean up MPRIS album cover code a bit. 2011-08-16 19:32:32 -07:00
Alejandro Wainzinger
0bddfe3f0d MPRIS: create a new temp file for each new cover, deleting previous. Prevents caching on client side. 2011-08-16 19:18:45 -07:00
Christian Muehlhaeuser
24febc1066 * More verbose debug output in DBSyncConnection. 2011-08-17 04:14:52 +02:00
Alejandro Wainzinger
97b615da41 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-16 19:05:59 -07:00
Alejandro Wainzinger
3ee5016230 Push album covers through MPRIS. 2011-08-16 19:05:25 -07:00
Leo Franchi
dae9718e35 remove useless code 2011-08-16 21:38:01 -04:00
Leo Franchi
ec2164b77e allow deleting of temporary item in source tree view 2011-08-16 21:36:06 -04:00
Christian Muehlhaeuser
35a7acd606 * Fixed sorting of identical items in Tree- & TrackProxyModel. 2011-08-17 03:33:31 +02:00
Christian Muehlhaeuser
ac3d410559 * Fixed sidebar sorting for items with identical names. 2011-08-17 03:18:39 +02:00
Christian Muehlhaeuser
b1d57df4fc * Moved the AudioControl QSlider stylesheets into SeekSlider. 2011-08-17 02:35:06 +02:00
Christian Muehlhaeuser
b78e2dd8b6 * No need for mouse tracking. 2011-08-17 02:24:42 +02:00
Christian Muehlhaeuser
c3419cb082 * Fixed TWK-212: Sliders should jump to the position they are clicked on. 2011-08-17 02:20:41 +02:00
Leo Franchi
713243cc5d Allow to show the setting dialog always, and disable +/- buttons till loaded 2011-08-16 19:06:34 -04:00
Leo Franchi
ee8da33e06 Show spinner on initial load while loading sip plugins in preferences. Disable Settings action till servent is loaded 2011-08-16 19:00:29 -04:00
Christian Muehlhaeuser
08f868c2ce * Fix sorting for real. 2011-08-17 00:17:01 +02:00
Christian Muehlhaeuser
4d012b156a * Fixed sidebar sorting. 2011-08-17 00:15:08 +02:00
Michael Zanetti
4c5d34ceb7 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-16 23:34:44 +02:00
Michael Zanetti
8c4b4cd5a9 added drag capabilities to albumview ins sourceinfowidget and welcomewidget 2011-08-16 23:33:41 +02:00
Alejandro Wainzinger
c1498bbae0 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-16 22:36:07 +02:00
Alejandro Wainzinger
89daf243f4 When settings have changed and adiumplugin reads it, don't try to clear adium status if plugin goes inactive. 2011-08-16 22:35:15 +02:00
Michael Zanetti
5b0cd3b458 fix copyright headers in SettingsListDelegate 2011-08-16 19:28:17 +02:00
Michael Zanetti
8aa18a7e03 fixed copyright headers 2011-08-16 19:25:50 +02:00
Michael Zanetti
e3b2c547d8 Created DropJob which will start a query for the dropped items and wait for the results 2011-08-16 19:25:50 +02:00
Michael Zanetti
6cb2677c9b more work to be able to drag and drop mixed mimetypes (e.g. an artist and some tracks) 2011-08-16 19:25:50 +02:00
Michael Zanetti
09de8c8387 added drag and drop to playlists for albums and artists 2011-08-16 19:25:50 +02:00
Christian Muehlhaeuser
e6778b5631 * Un-regress listen-along. 2011-08-16 03:24:17 +02:00
Christian Muehlhaeuser
9653918a63 Merge remote-tracking branch 'origin/stable' 2011-08-16 03:14:31 +02:00
Christian Muehlhaeuser
b8bf7420d0 * Updated ChangeLog. 2011-08-16 03:14:09 +02:00
Christian Muehlhaeuser
16f32253c3 * Don't try to play unavailable results. 2011-08-16 03:13:11 +02:00
Christian Muehlhaeuser
b7d231997d * Don't try to play unavailable results. 2011-08-16 03:08:11 +02:00
Christian Muehlhaeuser
3326e375ae Merge remote-tracking branch 'origin/stable' 2011-08-16 02:45:16 +02:00
Christian Muehlhaeuser
b6fcae3a4a * Updated ChangeLog. 2011-08-16 02:44:46 +02:00
Christian Muehlhaeuser
2e2ff63a7a * Don't crash when encountering an unknown artist in a search. 2011-08-16 01:45:05 +02:00
Christian Muehlhaeuser
6d26361f4e * Don't crash when encountering an unknown artist in a search. 2011-08-16 01:44:07 +02:00
Christian Muehlhaeuser
611d2015f9 Merge remote-tracking branch 'origin/stable' 2011-08-16 01:30:09 +02:00
Christian Muehlhaeuser
7b24444010 * Update to version 0.2.1. 2011-08-16 01:28:39 +02:00
Christian Muehlhaeuser
7c6304beea * Fixed Javascript resolvers not working / breaking Tomahawk. 2011-08-16 01:27:07 +02:00
Christian Muehlhaeuser
29f88e29ab * Fixed Javascript resolvers not working / breaking Tomahawk. 2011-08-16 01:25:53 +02:00
Christian Muehlhaeuser
58d65c8605 Merge pull request #36 from xevix/master
MPRIS Support - fixed as discussed.
2011-08-15 15:55:30 -07:00
Alejandro Wainzinger
6947a59aa2 Merge branch 'master' of https://github.com/tomahawk-player/tomahawk 2011-08-15 15:53:39 -07:00
Alejandro Wainzinger
2dbf992e56 Properly fix deletion of worker and cache objects in separate threads that are not the GUI thread. 2011-08-15 15:51:39 -07:00
Dominik Schmidt
2cd4d7a682 He iiis iiis ... release breaker.. iiis iis release breaker! 2011-08-15 23:54:29 +02:00
Alejandro Wainzinger
767602c0dc Merge branch 'master' of https://github.com/tomahawk-player/tomahawk 2011-08-15 13:30:59 -07:00
Christian Muehlhaeuser
1ff6cfa31f * This makes it official then: 0.2.0 is released. 2011-08-15 21:50:07 +02:00
Leo Franchi
cd8e187bfe paint album selection rect on windows 2011-08-15 14:00:55 -04:00
Christian Muehlhaeuser
33a3ec4c4c * Added logging to Servent. 2011-08-15 19:07:09 +02:00
Leo Franchi
f9c623d654 use correct servicetype in portforward delete as well as create 2011-08-15 11:02:21 -04:00
Leo Franchi
283a3bd216 oops, didn't mean to commit that 2011-08-15 01:47:29 -04:00
Leo Franchi
a8513d41ea Fix sparkle. Again. No, undefined macros are not fun when #ifed. 2011-08-15 01:45:42 -04:00
Leo Franchi
b8394003e8 draw selection rect in settings dialog on windows too. hope it looks okay... 2011-08-15 00:20:40 -04:00
Christian Muehlhaeuser
ae1095217c * Fixed header resizing issues, which were caused by varying column counts. 2011-08-15 04:59:55 +02:00
Leo Franchi
e159698bfd Use update.php instead of sparkle.xml to save stats 2011-08-14 22:40:30 -04:00
Leo Franchi
cd07bd4f71 Add system profiling 2011-08-14 22:26:25 -04:00
Leo Franchi
825903f294 Fix copying automatic playlists and stations 2011-08-14 22:23:14 -04:00
Christian Muehlhaeuser
a5596e0288 * ChangeLog cleanup. 2011-08-15 02:54:12 +02:00
Jason Herskowitz
53c9d0fcde Changelogging 2011-08-14 20:27:23 -04:00
Christian Muehlhaeuser
277c8c4275 Merge remote-tracking branch 'origin/async' 2011-08-15 02:01:34 +02:00
Christian Muehlhaeuser
3d28293250 * Set fixed widths for add / remove buttons in the settings dialog. 2011-08-15 01:55:41 +02:00
Leo Franchi
3df2c2a104 TWK-123: Re-resolve queries when their resolved-to result goes offline. 2011-08-14 18:39:04 -04:00
Christian Muehlhaeuser
65b2f42463 * Fixed TWK-386. Renamed Music to Collection in settings dialog. 2011-08-15 00:10:17 +02:00
Leo Franchi
0e7fae2b5a Tighten up margins in diagnostics dialog 2011-08-14 17:54:16 -04:00
Leo Franchi
afbe74bc13 Add Michael Zanetti to Thanks To... 2011-08-14 17:49:38 -04:00
Leo Franchi
ae32b0b368 TWK-216: reset the proper view mode toggle when changing to a different view mode automatically 2011-08-14 17:44:43 -04:00
Leo Franchi
7d2c284a3e Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-14 17:16:02 -04:00
Leo Franchi
198ad22f09 Fix strange padding due to QPushButton incorrect layouting rect on OS X 2011-08-14 17:15:46 -04:00
Leo Franchi
f9af1e0520 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-14 16:39:27 -04:00
Michael Zanetti
f2e76803cc fixed offset issue with icons in settings list 2011-08-14 22:37:55 +02:00
Leo Franchi
a11ec10748 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-14 15:32:37 -04:00
Leo Franchi
a887232fff Fix some margins and fonts on settings dialog 2011-08-14 15:29:07 -04:00
Jason Herskowitz
7e249b91d8 Make dashboard.png not be huge 2011-08-14 15:01:34 -04:00
Leo Franchi
83b3758a25 Change New Additions page to fit other pages more, with title and description and icon. 2011-08-14 14:38:44 -04:00
Leo Franchi
9313de5b17 Show treeview in artistinfowidget with only one column 2011-08-14 14:27:44 -04:00
Leo Franchi
99a298edb5 Manually encode "'" as %27 for QUrls which is legal and makes more apps happy 2011-08-14 14:17:06 -04:00
Leo Franchi
65405682aa Elide description label for long playlist names force window resizes 2011-08-14 14:04:23 -04:00
Leo Franchi
d32e177583 local results should only load social actions by the local source 2011-08-14 13:50:27 -04:00
Dominik Schmidt
4db7228d0c Add async api for returning results in a qtscriptresolver 2011-08-14 16:42:21 +02:00
Jason Herskowitz
56ddbfe93d Make dashboard icon more white like other icons 2011-08-14 10:37:11 -04:00
Alejandro Wainzinger
c1cbc3576c Merge branch 'master' of https://github.com/tomahawk-player/tomahawk 2011-08-14 07:04:48 -07:00
Dominik Schmidt
4f24e9c5f8 Add some aliases to tomahawk.js 2011-08-14 14:37:16 +02:00
Dominik Schmidt
9b7db84a9e Move result parsing in qtscriptresolver to a method 2011-08-14 14:32:59 +02:00
Dominik Schmidt
e7aa846a0f Remove all references to installer revision 2011-08-14 14:29:55 +02:00
Alejandro Wainzinger
0aa07d62fd Wait for script QProcess to properly exit. 2011-08-14 13:30:22 +02:00
Alejandro Wainzinger
97e12f9b95 Create QThread subclasses for InfoSystemWorker and InfoSystemCache, so we don't try to delete them from a different thread (illegal in Qt), instead delete from QThread subclass' destructor. 2011-08-14 02:32:47 -07:00
Christian Muehlhaeuser
5449154ee9 * Fixed and cleaned up Logger class. 2011-08-14 08:19:48 +02:00
Christian Muehlhaeuser
2dc94021e2 * You can't expand anything in the track view of the album page. 2011-08-14 06:41:47 +02:00
Christian Muehlhaeuser
33a237086c * Fixed queue button flickering. Much smoother animation. QSplitter, I'll meet you in hell. 2011-08-14 06:29:07 +02:00
Christian Muehlhaeuser
aff34a9dc5 * Removed debugging utility. 2011-08-14 06:19:25 +02:00
Christian Muehlhaeuser
15f5212fa0 * Fixed TWK-375: TreeItemDelegate's painting for tracks was broken. 2011-08-14 04:54:45 +02:00
Christian Muehlhaeuser
add8515111 * Fixed wording on album page. 2011-08-14 04:28:03 +02:00
Christian Muehlhaeuser
37367bc5da * Further cleanups and fixed QPixmap warning: We need to store Source's QPixmaps as pointers, since a Source is being constructed in a thread. 2011-08-14 04:13:38 +02:00
Christian Muehlhaeuser
9ec9901e14 * Remove WebCollection altogether. We've established it's not quite gonna work out that way. 2011-08-14 03:28:35 +02:00
Christian Muehlhaeuser
1fb0af1d97 * Don't initialise a WebCollection. 2011-08-14 03:23:12 +02:00
Christian Muehlhaeuser
989243914c * Fixed queue not allowing to remove items from it. 2011-08-14 03:14:39 +02:00
Dominik Schmidt
7d8e29a932 Removed revision.txt. No warranty, I'm drnuk 2011-08-14 02:47:45 +02:00
Christian Muehlhaeuser
001c42f19f * Removed obsolete tomahawk.nsi. 2011-08-14 02:29:53 +02:00
Dominik Schmidt
d871762897 Remove another obsoleted file 2011-08-14 02:20:20 +02:00
Christian Muehlhaeuser
c5bfb4827d * Removed obsolete files. 2011-08-14 01:46:47 +02:00
Christian Muehlhaeuser
6dd1952ad3 * Fixed TWK-373: Auto-load covers, without waiting for the scrollbar to be triggered. 2011-08-14 01:33:12 +02:00
Christian Muehlhaeuser
28e18b66a6 * Fixed TWK-366: Don't accept drops unless we are using a backing playlist. 2011-08-14 01:25:54 +02:00
Christian Muehlhaeuser
99c61d1731 * Removed debug. 2011-08-14 00:54:56 +02:00
Christian Muehlhaeuser
65835fc2b2 * Fixed cut-off text in WelcomeWidget on non-OSX. 2011-08-14 00:54:56 +02:00
Leo Franchi
4732db07d1 draw a border on osx around album covers as there's no selection background 2011-08-13 18:39:03 -04:00
Leo Franchi
67763df201 use a grey instead of blue for osx selection rect 2011-08-13 17:20:05 -04:00
Leo Franchi
1ef2be9f3c Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-13 17:13:30 -04:00
Leo Franchi
3b148c66ad Paint a selection rect around items in the config dialog on osx 2011-08-13 17:13:05 -04:00
Dominik Schmidt
968bee2a62 Gooooood mooooorniiiing, viiieeetnaaam! 2011-08-13 23:00:00 +02:00
Christian Muehlhaeuser
a7a4b97df8 * Fixed TWK-362: Only display other albums on album page. 2011-08-13 22:56:51 +02:00
Dominik Schmidt
999b9bae22 Restructure version string generation 2011-08-13 22:42:08 +02:00
Dominik Schmidt
e6bb2877ee Fix building installers for windows 2011-08-13 22:18:44 +02:00
Leo Franchi
e367e49039 Remove assertion---happens easily on shutdown if you quit too early while tomahawk is loading, and i've never seen it otherwise. 2011-08-13 16:08:27 -04:00
Dominik Schmidt
47a92664df Recover from apachalogger's "fixes" :P 2011-08-13 21:51:31 +02:00
Leo Franchi
29b0b4e431 Draw whole row background on osx 2011-08-13 15:15:50 -04:00
Leo Franchi
9ca97d2e1a Paint proper text color in tree item delegate 2011-08-13 14:57:03 -04:00
Leo Franchi
50267afe06 Fix cutting off playlistview column in short with avatar mode 2011-08-13 10:14:20 -04:00
Alejandro Wainzinger
d243a5f70e Merge branch 'master' of https://github.com/tomahawk-player/tomahawk 2011-08-13 02:14:11 -07:00
Christian Muehlhaeuser
3766edcc43 * Cleaned up tomahawkapp.cpp. 2011-08-13 07:28:15 +02:00
Christian Muehlhaeuser
51b39b5302 * Source & warning cleanup. 2011-08-13 07:25:58 +02:00
Christian Muehlhaeuser
35fdb26b77 * Confusing. It was just working a second ago. 2011-08-13 06:04:43 +02:00
Christian Muehlhaeuser
74d52e3208 * Fixed cross compiling with MinGW. 2011-08-13 05:58:05 +02:00
Christian Muehlhaeuser
db4437cf62 * Fixed adding tracks to the top-level in TreeModel. 2011-08-13 05:37:30 +02:00
Christian Muehlhaeuser
b766f6808f * Fix cross compiling with MinGW and try to unbreak the MainWindow a bit more. 2011-08-13 04:49:09 +02:00
Christian Muehlhaeuser
dce31156db * Another attempt. 2011-08-13 04:46:56 +02:00
Alejandro Wainzinger
7eaed053f5 Merge branch 'master' of https://github.com/tomahawk-player/tomahawk 2011-08-12 19:45:52 -07:00
Christian Muehlhaeuser
637ec28ab1 * Try to fix ViewManager, too. 2011-08-13 04:38:08 +02:00
Alejandro Wainzinger
7354896a86 Implement remaining MPRIS PropertiesChanged update signals, seeking, etc. 2011-08-12 19:35:57 -07:00
Christian Muehlhaeuser
f15dd8153f * Try to fix OS X painting glitch. 2011-08-13 04:23:37 +02:00
Christian Muehlhaeuser
aa68229ac6 * Fixed TWK-107: paint dividers between toolbar, central widget and status bar. 2011-08-13 04:16:04 +02:00
Michael Zanetti
5e6751dc64 merge lfranchi's commit 2011-08-13 04:07:29 +02:00
Michael Zanetti
aff075f2ad added --help command line option 2011-08-13 03:23:00 +02:00
Michael Zanetti
7baf43e3d7 shrink font in newplaylistwidget und allow wordwrap for the text 2011-08-12 22:38:03 +02:00
Leo Franchi
b43fe66409 Hide header for track list in welcome widget 2011-08-12 15:34:21 -04:00
Leo Franchi
809d1139d4 Never sh ow horiz scrollbar in welcomewidget trackview 2011-08-12 15:13:03 -04:00
Jason Herskowitz
009be45dc3 Cha-cha-cha-changelog 2011-08-12 14:51:59 -04:00
Leo Franchi
7d90bc7426 support rd.io shortened links too 2011-08-12 13:04:12 -04:00
Leo Franchi
bb0e7e7631 changelog 2011-08-12 12:52:13 -04:00
Leo Franchi
01c5012028 use artist-description radio instead of song-radio when no artist/song elements are present. fixes TWK-355 2011-08-12 12:50:49 -04:00
Leo Franchi
b9f7bf2656 misc avatar and welcome widget work 2011-08-12 12:30:33 -04:00
Alejandro Wainzinger
ce396ab060 Implement PropertiesChanged for AudioState in MPRIS. 2011-08-12 07:25:33 -07:00
Jason Herskowitz
70b0203acd More changelogging. 2011-08-12 09:27:40 -04:00
Dominik Schmidt
1245ae7ac2 Fix linking against QtUiTools on windows 2011-08-12 15:22:06 +02:00
Christian Muehlhaeuser
eda6f8ff8f * We're officially 0.2.0 (rc1) now. 2011-08-12 15:11:34 +02:00
Leo Franchi
4bef594b53 actually fix things :) 2011-08-12 09:11:05 -04:00
Leo Franchi
a72ef2bf6e qt.conf, not info.plist 2011-08-12 09:06:53 -04:00
Harald Sitter
1d6697f11d use cmake_module_path for includes of cmakemodules 2011-08-12 14:25:42 +02:00
Dominik Schmidt
6be91dd558 Fix cross-compilation in cmake 2.8.5 2011-08-12 14:05:47 +02:00
Dominik Schmidt
dc34262445 Hopefully fix AddAppIconMacro inclusion problems for everyone 2011-08-12 13:59:43 +02:00
Leo Franchi
bb1a06a636 mac-specific tweaks 2011-08-12 00:18:38 -04:00
Leo Franchi
1fa1ed42e9 Paint a nicer playlist delegate, and number count backdrop 2011-08-12 00:10:31 -04:00
Christian Muehlhaeuser
fe15fcd1f5 * Remove obsolete method. 2011-08-12 04:18:51 +02:00
Dominik Schmidt
7169aa352e cmake: check for QtWebkit 2011-08-12 04:01:39 +02:00
Dominik Schmidt
4da0b72ded cmake: check for boost 2011-08-12 03:56:30 +02:00
Leo Franchi
7a4a2f5b70 didn't mean to commit that change, doing a partial update of the playlist delegate isn't great 2011-08-11 21:26:05 -04:00
Christian Muehlhaeuser
744f31bb45 Added almost-finished AlbumInfoWidget. 2011-08-12 03:23:46 +02:00
Christian Muehlhaeuser
53f812ed42 * Used tLog() instead of qDebug() for jabber errors. 2011-08-12 03:23:46 +02:00
Leo Franchi
91525bf5d9 reload top loved tracks playlist with love by local source as well 2011-08-11 21:19:57 -04:00
Leo Franchi
595d0cf987 Update playlists when revision info comes in 2011-08-11 21:11:59 -04:00
Alejandro Wainzinger
5f59b30a8c Add basic metadata MPRIS info. 2011-08-11 17:49:30 -07:00
Leo Franchi
78d867b16f add rdio link parsing 2011-08-11 20:37:17 -04:00
Leo Franchi
2a061b5bf1 change Recently Played for super collection to Dashboard 2011-08-11 18:37:31 -04:00
Leo Franchi
11f7f4a25e re-enable avatars in recently played tracks list, as per TWK-346 2011-08-11 18:24:39 -04:00
Leo Franchi
a9c0d5f820 only show infinity icon for stations, not auto playlists 2011-08-11 18:10:55 -04:00
Leo Franchi
c99fff2b16 Polish up the playlist widget a whole bunch. TWK-348 2011-08-11 18:06:48 -04:00
Michael Zanetti
eda5893012 removed unused function 2011-08-11 23:59:11 +02:00
Michael Zanetti
0e6c79b921 auto-expand the local collections on startup 2011-08-11 23:51:56 +02:00
Christian Muehlhaeuser
c8ba2ee171 Revert "Use 512x512 icon on osx as lion has bigger icon previews"
This reverts commit b7649a3281.
2011-08-11 22:27:31 +02:00
Leo Franchi
206c212767 Don't install Info.plist at cmake time, as it is only valid for releases 2011-08-11 16:07:12 -04:00
Alejandro Wainzinger
49dcd70dd2 Implement most MPRIS methods, minus metadata and related methods. 2011-08-11 12:27:15 -07:00
Leo Franchi
b0d01ec0fb Add a new macdeploy.py script that intelligently handles osx bundling
Add sip plugins and spotify

Remove old scripts and update build-release-osx.sh to use new macdeploy

Remove old files
2011-08-11 14:40:12 -04:00
Christian Muehlhaeuser
d7100c0e8e * Generally prioritize resolving newer queries to make the GUI feel more responsive. 2011-08-11 18:10:06 +02:00
Christian Muehlhaeuser
6d82ae0c4d * Don't try to resolve search queries when appending them to the SearchWidget's TrackModel. 2011-08-11 15:48:27 +02:00
Jason Herskowitz
649d30e11b Add album art drop shadow. Take 1. 2011-08-11 09:15:07 -04:00
Jason Herskowitz
f36cf0e5fa Make light gray on track placeholder icon match the gray used on album placeholder image. 2011-08-11 08:19:49 -04:00
Christian Muehlhaeuser
e0b406e7ef * Fixed TWK-325: Show a spinner animation while searching for tracks. 2011-08-11 13:58:22 +02:00
Leo Franchi
ca65bb2ccc Don't disable play/pause ever now that we have a stacked layout 2011-08-10 23:17:32 -04:00
Leo Franchi
3a890ee929 Use QStackedLayout instead of show/hide for play/pause widget. Fixes flicker. Extra 2px of spacing i can't get rid of... will work harder. TWK-128 2011-08-10 22:52:50 -04:00
Leo Franchi
c7333a2f1f Merge branch 'leo-test' 2011-08-10 22:51:52 -04:00
Christian Muehlhaeuser
0dd29ffa3d * Use track-placeholder.png in the PlaylistItemDelegate. 2011-08-11 02:48:28 +02:00
Christian Muehlhaeuser
503de73c7f * Use smaller fonts for PipelineStatus- & TransferView. 2011-08-11 02:40:08 +02:00
Christian Muehlhaeuser
5377ff718d Merge pull request #33 from Horrendus/patch-1
Corrected the Path for Jreen
2011-08-10 16:55:04 -07:00
Stefan Derkits
caef0ccdbd Corrected the Path for Jreen 2011-08-11 02:54:32 +03:00
Christian Muehlhaeuser
9e901dba2d * Disable horizontal scrollbars in TransferView. 2011-08-11 01:51:25 +02:00
Christian Muehlhaeuser
291035db9c * Fixed TWK-343, wording in SourceInfoWidget. 2011-08-11 01:30:09 +02:00
Christian Muehlhaeuser
a065480f75 * Let headless users trigger a rescan with --filescan. 2011-08-11 00:57:33 +02:00
Michael Zanetti
3fa64c76ee make use of the avatar frame in recently played 2011-08-11 00:14:20 +02:00
Jason Herskowitz
554a688077 Add track placeholder image for artist pages (Top Hits) and New Additions pages (Latest Additions). 2011-08-10 16:56:02 -04:00
Jason Herskowitz
c1f043d2d1 Mo' better avatar frame 2011-08-10 16:20:50 -04:00
Michael Zanetti
bc3662a997 added the avatar frame also to the Collection and SuperCollection icons
BUG: TWK-337
2011-08-10 17:23:02 +02:00
Michael Zanetti
d3ab32d06a changed color of score bars to match the rest of the color palette
BUG-252
2011-08-10 17:23:02 +02:00
Alejandro Wainzinger
6996c704eb Merge branch 'master' of https://github.com/tomahawk-player/tomahawk 2011-08-10 05:26:51 -07:00
Leo Franchi
c36373569a Check for KDE4 dev headers, in order for sip icons to show up in delegate. No, I don't have any clue why this fixes it. Stop asking. Go Away. 2011-08-09 22:46:50 -04:00
Michael Zanetti
3dbc426954 fixed the off-by-one issue with avatar frames 2011-08-10 04:10:16 +02:00
Jason Herskowitz
4415aa59f8 Make 32px image actually be 32px 2011-08-09 21:55:31 -04:00
Christian Muehlhaeuser
6fdec28f50 * Silly whitespace fixes. 2011-08-10 03:47:46 +02:00
Christian Muehlhaeuser
ef2514e95c * Added convenient new Album::get method. 2011-08-10 03:47:46 +02:00
Michael Zanetti
27480f8cdb added SettingsListDelegate to center the items in SettingsDialogList
BUG: 314
2011-08-10 03:41:02 +02:00
Jason Herskowitz
fbcfb552ad Make inner square of frame a square instead of a rectangle so the image doesn't look off-center. 2011-08-09 21:16:50 -04:00
Michael Zanetti
25012ecc26 changed slider button stylesheets to allow moving them to the end
BUG: TWK-289
2011-08-10 00:14:03 +02:00
Michael Zanetti
c29ce585a5 Added a frame to the avatars as requested in bug TWK-106.
The frame image must be in displayed size and the avatar takes 80% of the available space centered.
2011-08-10 00:14:03 +02:00
Alejandro Wainzinger
d59dcda052 Add MprisPluginPlayerAdaptor skeleton. 2011-08-09 11:07:46 -07:00
Leo Franchi
3af34a8581 Only show loved tracks (not loved or unloved) in playlist. Update existing social action instead of duplicating it.. 2011-08-09 10:48:26 -04:00
Leo Franchi
9ec284bfa5 Merge branch 'master' into leo-test
Conflicts:
	src/libtomahawk/playlist/dynamic/DynamicPlaylist.h
	src/libtomahawk/widgets/welcomeplaylistmodel.cpp
2011-08-09 07:26:26 -04:00
Leo Franchi
585bfcdc49 debug-- 2011-08-09 07:12:55 -04:00
Alejandro Wainzinger
c90c0a261d Initial skeleton for MPRIS support. 2011-08-09 02:31:54 -07:00
Leo Franchi
339710c86a Find playlist/dynplaylist item to activate if opened from non-sidebar. TWK-300. Ugh. 2011-08-08 23:24:24 -04:00
Christian Muehlhaeuser
fc43a6a851 * Hide the last.fm test button on OS X - for the 0.2 release. 2011-08-09 03:41:06 +02:00
Christian Muehlhaeuser
4b2c6e8d89 * 50 fps is enough for our AnimatedSplitter animation. 2011-08-09 03:36:16 +02:00
Christian Muehlhaeuser
6cba708640 * BUG: TWK-312 - Fixed AnimatedSplitter cutting off child widgets. 2011-08-09 03:21:55 +02:00
Dominik Schmidt
a46aadd843 Use filter.png for the filter in the topbar 2011-08-09 03:20:54 +02:00
Leo Franchi
d7dd3292ff be safer and don't crash. TWK-333 2011-08-08 21:07:49 -04:00
Dominik Schmidt
6b62265708 Show what you've actually searched for in the sidebar 2011-08-09 02:52:01 +02:00
Christian Muehlhaeuser
304981c28b * We should still remove the query from the pending list in Pipeline. 2011-08-09 02:00:03 +02:00
Dominik Schmidt
ba0c21e111 Show tomahawk version in the diagnostics dialog 2011-08-09 01:48:20 +02:00
Christian Muehlhaeuser
023be21950 * Fixed the preemptive onResolvingFinished() call triggered by the Pipeline. Fixes stations, I bet. 2011-08-09 00:54:56 +02:00
Michael Zanetti
fb95568196 Start playing on ENTER in artistview
BUG: TWK-204
2011-08-09 00:45:37 +02:00
Christian Muehlhaeuser
d9a4b718ed * Use setPixelSize instead of setPointSize. Should fix HeaderLabel weirdness on some systems. 2011-08-08 21:55:39 +02:00
Christian Muehlhaeuser
72add01e66 * Prevent multiple resolvingFinished() signals being emitted from Query. 2011-08-08 21:32:54 +02:00
Dominik Schmidt
f05c58150e Fix FindPhonon.cmake to respect find_version 2011-08-08 14:54:54 +02:00
Dominik Schmidt
7dc1e94ae6 Fix FindCLucene.cmake to respect find_version 2011-08-08 14:53:35 +02:00
Dominik Schmidt
8e07eb5c55 Use macro_optional_find_package everywhere. FindPhonon needs to be fixed
to respect the version number.
2011-08-08 14:08:17 +02:00
Leo Franchi
44aa85b51e support spotifyURL and spotifyURI in track/open, track/queue, and track/play links 2011-08-07 17:43:48 -04:00
Jason Herskowitz
dcf1ebb70f Don't forget one of the drag indicator icon sizes (22x22) 2011-08-07 17:37:27 -04:00
Leo Franchi
0865741733 Don't draw white text on light background 2011-08-07 17:09:18 -04:00
Leo Franchi
58c18acd01 Load automatic playlists and stations in Newest Stations and Playlists list... 2011-08-07 17:09:18 -04:00
Leo Franchi
4630b238bf Merge branch 'master' into leo-test
Conflicts:
	src/audiocontrols.cpp
2011-08-07 17:00:16 -04:00
Jason Herskowitz
f3dc1a0800 Trying some new matching icons for the drag indictors for songs 2011-08-07 16:44:57 -04:00
Leo Franchi
7df6e8c153 use avatar icon in recently played tracks for not-found avatars 2011-08-07 12:41:29 -04:00
Leo Franchi
566880365a Better copy for loved tracks playlist, and show all without limit. 2011-08-07 12:41:29 -04:00
Dominik Schmidt
dd54736e76 Unbreak clang compilation. 2011-08-07 15:56:06 +02:00
Leo Franchi
2c8fac1f8c Actually draw speaker icon in playlist delegate. I'm assuming this was a typo... 2011-08-06 23:59:41 -04:00
Leo Franchi
ce4328c0c3 Hide headers for related artists treeview in artistinfowidget. Don't ask my why it has to happen when it's already displayed.
Fixes TWK-310
2011-08-06 23:34:14 -04:00
Leo Franchi
c6a65a5ba4 Use a lighter color on os x as highlight color for score bar is way too bright. 2011-08-06 20:41:21 -04:00
Leo Franchi
8230e8bfac Asynchronously update on social action loading so loved tracks show up loaded 2011-08-06 18:30:17 -04:00
Leo Franchi
23ea7537e6 Report social action changes and refresh loved playlists 2011-08-06 18:06:21 -04:00
Leo Franchi
b9733249ee Sort by time and show source's own loved tracks 2011-08-06 17:24:05 -04:00
Leo Franchi
ffd5a2f81e Ooops, use true not 1 2011-08-06 16:58:07 -04:00
Leo Franchi
eefc6fd5da OSX Compile 2011-08-06 16:21:01 -04:00
Leo Franchi
d69b10c148 Merge branch 'databasegenerator' 2011-08-06 14:41:59 -04:00
Leo Franchi
9fbbcb6b53 Hide generator combobox until we have more than one generator 2011-08-06 14:41:47 -04:00
Leo Franchi
c6eee1324b Paint dynamic controls the same hue as overlay widget. TWK-309 2011-08-06 14:41:47 -04:00
Leo Franchi
b960be9d97 Get top 60 loved tracks, not 30 2011-08-06 14:41:35 -04:00
Leo Franchi
cdfd6a3464 dd proper loved tracks queries 2011-08-06 14:35:51 -04:00
Leo Franchi
4cfd039c40 social action stuff 2011-08-06 12:40:29 -04:00
Frank Osterfeld
8e4ea5e88f Link on OS X 2011-08-06 18:28:55 +02:00
Jason Herskowitz
76fbe88e95 More changelogging 2011-08-05 17:47:27 -04:00
Leo Franchi
1759d1ea19 Add a loved tracks playlist, and aggregate loved tracks playlist, minus the actual valid tracks 2011-08-05 17:17:28 -04:00
Leo Franchi
703823f553 fix up some copyrights from muesli's script 2011-08-05 16:05:53 -04:00
Leo Franchi
aeb949aa23 Fix merge 2011-08-05 15:39:04 -04:00
Leo Franchi
b15d3162de Merge branch 'master' into databasegenerator
Conflicts:
	src/libtomahawk/CMakeLists.txt
	src/libtomahawk/globalactionmanager.cpp
2011-08-05 15:38:26 -04:00
Leo Franchi
b2deebe0c2 Hide generator combobox until we have more than one generator 2011-08-05 15:36:04 -04:00
Leo Franchi
5d5b5fa3af Paint dynamic controls the same hue as overlay widget. TWK-309 2011-08-05 14:55:39 -04:00
Leo Franchi
f151b59431 Show search and artist pages as temporary pages in sidebar
Remove margins and spacing from searchwidget
Remove "Cancel" button as no other view pages have cancel buttons, and we can't delete a page if we show it as a temporary page anymore
2011-08-05 14:36:52 -04:00
Leo Franchi
c7c12eef93 Show drop indicator after last track if it's dropped below 2011-08-05 14:22:34 -04:00
Leo Franchi
b67623e649 Don't redefine signals 2011-08-05 14:14:59 -04:00
Leo Franchi
8834bf81fa save styles/moods to file, instead of loading on demand sillyness. Fixes TWK-308 2011-08-05 14:06:39 -04:00
Leo Franchi
0877b17a58 Handle multiply-shortened urls. 2011-08-05 12:46:37 -04:00
Leo Franchi
7df1f7a8b8 Expand bit.ly, t.co, and j.mp links to spotify tracks 2011-08-05 12:38:16 -04:00
Leo Franchi
453bf6206c Only accept spotify tracks by default 2011-08-05 12:00:57 -04:00
Leo Franchi
4d31eac5f6 Emit trackCountChanged when dropping tracks in a playlist. Handle Qt/Mac bug where drops from outside the app are Qt::MoveAction not Qt::CopyAction 2011-08-05 11:57:42 -04:00
Leo Franchi
7feb9d5249 Draw proper drop index, since on some platforms (OS X :( ) visualRect() and indexAt() aren't commutative... 2011-08-05 11:46:18 -04:00
Alejandro Wainzinger
0c4746430b Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-08-05 17:33:22 +02:00
Alejandro Wainzinger
ec02854490 Do not backwards the signals connect for next/previous.
* Fixed TWK-313 - fix signal/slot connection for next/previous actionmenu items.
2011-08-05 17:31:31 +02:00
Leo Franchi
ae48c151d0 Show indicator on osx too. NO CLUE why this fixes it.. 2011-08-05 11:21:26 -04:00
Leo Franchi
57dfd6b4b2 Set drop rect from left edge to right edge always, don't rely on QAIV for native drag-drops 2011-08-05 11:14:08 -04:00
Leo Franchi
0e2dd37559 allow dropping onto AudioControls to start playing 2011-08-05 10:39:08 -04:00
Leo Franchi
98030c9b05 Merge branch 'dragndrop' 2011-08-05 07:57:26 -04:00
Leo Franchi
89cec23815 On OS X drops from outside the apps are Qt::MoveActions.... 2011-08-05 07:53:30 -04:00
Dominik Schmidt
e476251c5e Remove ugly dash from rc version 2011-08-05 02:56:57 +02:00
Leo Franchi
4a3bca9bf4 Factor out dragndrop support across tomahawk into GlobalActionManager, add spotify support 2011-08-04 19:01:41 -04:00
Jason Herskowitz
0ad60299ef Cleaned up formatting a bit. 2011-08-04 18:29:59 -03:00
Jason Herskowitz
1d13bc2e40 Stop repeating myself in changelog 2011-08-04 15:30:55 -04:00
Jason Herskowitz
04bff62705 Couple of edits to changelog. Added desktop notifications (linux) and removed libpng entry. 2011-08-04 15:26:44 -04:00
Jason Herskowitz
e4893be501 More changelogifying. Take a look and see if I missed anything or added too much. 2011-08-04 15:23:12 -04:00
Jason Herskowitz
fe762d4fc5 Changelogifying 2011-08-04 14:35:31 -03:00
Jason Herskowitz
dbb7c64807 de-biggified the info.png icon by adding padding to image 2011-08-04 10:12:15 -04:00
Jason Herskowitz
2fdab5c9a1 New 16x16 info.png. May play around with different icons, but scales well now. 2011-08-04 07:51:24 -04:00
Christian Muehlhaeuser
18628defa4 * Fixed info.png's size. 2011-08-04 06:34:36 +02:00
Christian Muehlhaeuser
4a34b97e8c * This should fix the Windows local file playback issues. 2011-08-04 06:11:14 +02:00
Leo Franchi
9d88c9a0f7 Add support for JSPF playlists, remote and local. TWK-303 2011-08-03 23:35:10 -04:00
Leo Franchi
a9111267e8 Merge branch 'master' into databasegenerator
Conflicts:
	src/libtomahawk/CMakeLists.txt
	src/libtomahawk/database/databasecommand_createplaylist.cpp
	src/libtomahawk/playlist/dynamic/DynamicPlaylist.h
2011-08-03 23:31:25 -04:00
Leo Franchi
d3eb8df91a Add support for JSPF playlists, remote and local 2011-08-03 23:26:24 -04:00
Christian Muehlhaeuser
f010736e0d * Call setVisible on the lineEdit... just to be sure. 2011-08-04 05:24:46 +02:00
Christian Muehlhaeuser
9a1ac2f505 * Ignore empty searches. 2011-08-04 05:21:33 +02:00
Christian Muehlhaeuser
8c3ea50301 * Added native MacLineEdit widget and used it in TomahawkWindow's toolbar. 2011-08-04 05:11:12 +02:00
Leo Franchi
5fd8e2181d support playing spotify track urls (http://open.spotify.com or spotify:track). No drag-n-drop yet. 2011-08-03 18:06:49 -04:00
Christian Muehlhaeuser
92efd0da7f * Hopefully fixes the file:// issues on Windows. 2011-08-03 23:47:02 +02:00
Leo Franchi
326b75aefe Don't crash if user rapidly regenerates automatic playlists 2011-08-03 16:58:24 -04:00
Christian Muehlhaeuser
5e4b5fa0d0 * Fixed race condition in AudioEngine. 2011-08-03 16:45:41 +02:00
Leo Franchi
8f4ea6d95d Crash less 2011-08-03 10:44:14 -04:00
Christian Muehlhaeuser
d803a36915 * Possible fix for windows filename issues. 2011-08-03 15:33:21 +02:00
Leo Franchi
12f6d1f780 Always trigger sync for local playlist creation 2011-08-02 23:28:51 -04:00
Leo Franchi
5c58bc1d58 Be safer when deleting playlist category items, this might fix some weirdness 2011-08-02 23:28:51 -04:00
Jason Herskowitz
ae66fb8c5c Add share icon to use for tweet/post action 2011-08-02 21:52:14 -04:00
Jason Herskowitz
4a93bb97fc Adding an icon for 'filter' so we don't have to use the same magnifying glass we use for search 2011-08-01 21:36:00 -04:00
Jeff Mitchell
35c3eedd93 Some Changelogifying. 2011-08-01 12:35:44 -04:00
Leo Franchi
ea69fe158a be careful 2011-08-01 11:39:03 -04:00
Christian Muehlhaeuser
de508c049b * A few more improvements to TrackView & PlaylistItemDelegate. 2011-08-01 09:51:24 +02:00
Christian Muehlhaeuser
cf56819b0c * Lower the FuncTimeouts again. I can't reproduce any issues here. 2011-08-01 09:38:49 +02:00
Christian Muehlhaeuser
2f7d13588f * Slightly improved flat-view's painting speed. 2011-08-01 09:32:08 +02:00
Christian Muehlhaeuser
7b2189cd6f * Disable mimetype checking for now. 2011-08-01 05:57:51 +02:00
Christian Muehlhaeuser
37e77f4fd7 * Removed InfoBar from welcome page. 2011-08-01 04:52:58 +02:00
Christian Muehlhaeuser
7ee6db41d6 * Ignore results with unsupported mimetypes. 2011-08-01 04:47:28 +02:00
Christian Muehlhaeuser
a8e72c3b26 * Never elide caption in InfoBar to avoid silly eliding problems. 2011-08-01 04:24:46 +02:00
Christian Muehlhaeuser
a41e84ae78 * Try to fix AnimatedSplitter. 2011-08-01 04:04:13 +02:00
Jason Herskowitz
bf37bad98a Another try on info.png 2011-07-31 21:47:18 -04:00
Christian Muehlhaeuser
374e6a0983 * Use info.png for contextual links. 2011-08-01 03:15:49 +02:00
Christian Muehlhaeuser
c06b5ea2f6 * Always wait for DatabaseResolvers to finish before shunting queries. 2011-08-01 02:37:55 +02:00
Christian Muehlhaeuser
243997b06e * Use new default artist placeholder image. 2011-08-01 02:27:12 +02:00
Christian Muehlhaeuser
d0858efd7d * Fixed warnings and removed weird margin on ArtistInfoWidget. 2011-08-01 02:20:46 +02:00
Leo Franchi
7ea0de753e remove empty Playlists or Stations entry if all are deleted from peers 2011-07-31 19:46:24 -04:00
Leo Franchi
432d6af37c Delete playlists from peers in the UI as well 2011-07-31 19:41:06 -04:00
Leo Franchi
e1943e6f64 Queue too-fast revision changes and replay them in order to avoid crashes while fast editing 2011-07-31 19:30:45 -04:00
Leo Franchi
e3dddea777 Fix external resolvers that depend on setup message 2011-07-31 13:16:10 -04:00
Leo Franchi
3e1d58463d Change Search to Filter in filter line edit for collections 2011-07-31 12:39:11 -04:00
Leo Franchi
8e51953427 Switch to using direct GenericSelect command 2011-07-31 11:44:23 -04:00
Leo Franchi
91bdfec734 Limit results to what was asked for 2011-07-30 17:16:56 -04:00
Leo Franchi
808901d192 Merge branch 'master' into databasegenerator 2011-07-30 17:06:06 -04:00
Leo Franchi
ce60c173b7 Add support for track, artist, and album generic queries 2011-07-30 17:05:01 -04:00
Leo Franchi
9c36b32e8e add migrate script 2011-07-30 16:13:29 -04:00
Leo Franchi
c76fabbc2b Create and load database-backed special dynamic playlists, and fix some debugs and stuff 2011-07-30 15:35:32 -04:00
Jeff Mitchell
75596c6744 Add initial configuration message support to external resolvers, send proxy info 2011-07-30 14:36:03 -04:00
Leo Franchi
ca467fb5bc Add support for non-autoloaded dynamic playlists that can be used for custom displays
Add a SocialPlaylistWidget that will display some cool social stats and lists, but none right now
2011-07-29 14:06:44 -04:00
Leo Franchi
9120f6436c Scroll per pixel on osx since that's how other apps do it, feels more natural with a trackpad 2011-07-28 16:18:19 -04:00
Leo Franchi
b7649a3281 Use 512x512 icon on osx as lion has bigger icon previews 2011-07-27 08:46:11 -04:00
Thierry Goeckel
10ec1f4f89 Correct minor mistakes according online lint. 2011-07-26 20:20:35 +02:00
Leo Franchi
9fdddbf04e Slow down pipeline a bit to fix spotify resolver; need to talk to chris about why the timeout change broke it. 2011-07-26 09:25:24 -04:00
Leo Franchi
0380379634 Fix obscene filename of class 2011-07-25 18:16:37 -04:00
Leo Franchi
72bfeba65a add to cmakelists 2011-07-25 18:15:46 -04:00
Leo Franchi
4a8b851ba5 Initial database generators 2011-07-25 18:15:39 -04:00
Jason Herskowitz
5fca433805 New album placeholder artwork. Better or worse? 2011-07-25 16:53:17 -04:00
Leo Franchi
cb75c10390 Attempt to stop eliding on osx and also keep things sane elsewhere 2011-07-25 11:58:26 -04:00
Leo Franchi
b7432c8b6c Try using non-escaped path for QFile::exists() 2011-07-25 11:01:25 -04:00
Leo Franchi
df6dc711fc qDebug()-- 2011-07-25 10:52:31 -04:00
Leo Franchi
6a8febcdce Make compile on lion 2011-07-25 10:32:42 -04:00
Christian Muehlhaeuser
ff4e52c398 * Fixed CPack.txt package details. 2011-07-25 14:48:31 +02:00
Christian Muehlhaeuser
2cf9cdab88 * Added QPixmap-caches to Album- & PlaylistItem delegates, too. 2011-07-25 04:01:23 +02:00
Christian Muehlhaeuser
1a3cae012e * Add a QPixmap-cache to the TreeView delegate. 2011-07-25 03:55:02 +02:00
Christian Muehlhaeuser
d4ccbdfa56 * Fixed QTimeLine warning and give the biography on the Artist-Page as much space as possible. 2011-07-25 03:44:05 +02:00
Christian Muehlhaeuser
87531a7ac9 * Get rid of dupe qsrand()s. We do that on startup. 2011-07-25 03:26:58 +02:00
Christian Muehlhaeuser
0c5673ca79 * Filter out duplicate tracks in the Tree Collection. 2011-07-25 03:07:36 +02:00
Christian Muehlhaeuser
ff7012a65d * Start tomahawk with --verbose to get full logging and console output, again. 2011-07-25 01:57:10 +02:00
Christian Muehlhaeuser
601b513da3 * Cleaned up more logging. 2011-07-25 01:41:49 +02:00
Christian Muehlhaeuser
cf6a3c9448 * Further cleanups & logging. 2011-07-25 00:48:40 +02:00
Christian Muehlhaeuser
8c78c0dc08 * Added logging levels. 2011-07-25 00:48:40 +02:00
Christian Muehlhaeuser
bb4b3b4faf * Added tDebug and a debug-level. Don't log qDebug to disk _ever_. 2011-07-25 00:48:40 +02:00
Christian Muehlhaeuser
4caf6d6a28 * Logging cleanups. 2011-07-25 00:48:39 +02:00
Dominik Schmidt
499f45402f Build installers with phonon-vlc and vlc from 0.1 time because currently mingw32-phonon-vlc is broken 2011-07-25 00:32:35 +02:00
Christian Muehlhaeuser
ddedc74501 * GPL headers for AvatarManager. 2011-07-24 20:08:58 +02:00
Christian Muehlhaeuser
0526d4071d * Fixed a few more GPL headers. 2011-07-24 20:07:04 +02:00
Christian Muehlhaeuser
7555c06c0f * Added GPL header to Logger. 2011-07-24 20:05:14 +02:00
Christian Muehlhaeuser
55bef176d3 * Make tLog() work properly. 2011-07-24 19:22:44 +02:00
Christian Muehlhaeuser
9c341bb3e6 * Disable qDebug() logging for release builds. Use tLog() for logging from NOW on. 2011-07-24 18:36:58 +02:00
Christian Muehlhaeuser
41f1a562fd * Fixed DatabaseWorker logic. 2011-07-24 18:36:58 +02:00
Dominik Schmidt
34c618ed94 Fix windows deployment to use local vlc plugins again 2011-07-24 00:36:34 +02:00
Jeff Mitchell
a9e3b716f2 Make things a little safer and also try setting an explicit nam configuration on liblastfm2 in settings dialog to see if that fixes the Mac problem 2011-07-23 13:15:20 -04:00
Jeff Mitchell
287990ca96 Don't reconnect twitter on settings change if it wasn't already connected 2011-07-23 11:46:15 -04:00
Jeff Mitchell
9e54917ff8 Remove now-unnecessary and buggy proxy code in jabber plugin 2011-07-23 11:37:32 -04:00
Jeff Mitchell
40d44c31d0 Add more debug 2011-07-23 11:30:02 -04:00
Jeff Mitchell
f4be7f09e6 Merge branch 'master' into proxytesting 2011-07-23 10:32:20 -04:00
Jeff Mitchell
794d6f870c Add weird debug output from jabber sip 2011-07-22 16:42:27 -04:00
Leo Franchi
8f6a567bee Work harder to hide the header 2011-07-22 14:35:38 -04:00
Leo Franchi
ea3171038b Make playlist album rows the same size as track album rows 2011-07-22 13:54:30 -04:00
Leo Franchi
ee3fb6b47e Don't paint selected text as white on osx, there's no selection rect. 2011-07-22 13:13:20 -04:00
Leo Franchi
b194d8c9cd Use new no-album-cover found image, nicer 2011-07-22 13:13:20 -04:00
Leo Franchi
a7308cddcc Scale pixmaps smoothly to avoid horrible jagged edges 2011-07-22 13:13:20 -04:00
Leo Franchi
7f890e571d Hide header as it's not needed 2011-07-22 13:13:20 -04:00
Christian Muehlhaeuser
4a5a8e5d15 * Don't artificially slow down the Pipeline. 2011-07-22 18:31:10 +02:00
Leo Franchi
66b1e21f31 Use QSplitter to get a 1px handle to avoid merging different alternate-color rows 2011-07-22 11:11:29 -04:00
Leo Franchi
36573c2342 Load album before adding to view to avoid flashing empty playlist message 2011-07-22 11:11:13 -04:00
Leo Franchi
0b9822d689 make compile on non-osx 2011-07-21 16:25:58 -04:00
Leo Franchi
f36b95fe6b OSX: Don't quit on window close, to conform to OSX expectations. Add Show/Hide action to tray icon. 2011-07-21 16:21:45 -04:00
Leo Franchi
1da74e4d81 Add a stretch factor to the title of the playlist header, things like "My Collection" don't get elided to My...tion 2011-07-21 14:55:57 -04:00
Leo Franchi
c0ee4751a0 make link manager adapt to pipeline reportresult changes 2011-07-21 13:34:44 -04:00
Christian Muehlhaeuser
aa5fb8bc53 * Fixed GStreamer pausing - even more. Sigh for Phonon's states. 2011-07-21 18:49:22 +02:00
Leo Franchi
57cdd0d960 Bring to front on mac when a tomahawkurl is opened in Tomahawk. Will add linux and win-specific code as well. 2011-07-21 11:22:26 -04:00
Alejandro Wainzinger
4ac6c32a45 Use clear() to clear text, not a QString(). 2011-07-21 05:16:09 -07:00
Alejandro Wainzinger
00c122b05c * Fixed TWK-249 - Add a bit more widget spacing to fix clipping of search box. 2011-07-21 05:14:31 -07:00
Alejandro Wainzinger
bcf7d9d689 * Fixed TWK-261 - Make "show offline sources" a checkable option, and save its value in settings. 2011-07-21 01:57:41 -07:00
Christian Muehlhaeuser
dbf31d704a * Cleaned up QtScriptResolver and added vital debug output. 2011-07-21 00:59:26 +02:00
Christian Muehlhaeuser
7f4d64d8dc * Always apply ProxyStyle. 2011-07-21 00:43:15 +02:00
Jeff Mitchell
2f95e0b191 Fix mistaken logic not using the map created especially for its
purpose...
2011-07-20 18:35:50 -04:00
Jeff Mitchell
86ac66a258 Use the enum value, to avoid out-of-order documentation mixup 2011-07-20 18:24:32 -04:00
Leo Franchi
f5e39c216e properly decode escaped characters coming from the HTTP api 2011-07-20 14:12:17 -04:00
Leo Franchi
5336700050 find LIBLASTFM_FOUND properly instead of always finding it as false 2011-07-20 07:43:01 -04:00
Christian Muehlhaeuser
bb8c60c939 * Removed obsolete includes from TomahawkWindow. 2011-07-20 08:26:16 +02:00
Christian Muehlhaeuser
48b2c77e6b * Cleaned up TomahawkWindow. 2011-07-20 08:22:38 +02:00
Christian Muehlhaeuser
900be23fa0 * A few updates to the german translation. 2011-07-20 07:37:49 +02:00
Christian Muehlhaeuser
fbb9e74537 * Fixed german translation setting a global quit shortcut on the key 'Q'. 2011-07-20 07:20:32 +02:00
Christian Muehlhaeuser
21abd78de5 * Remove not-working CMake cache solution. 2011-07-20 07:15:10 +02:00
Christian Muehlhaeuser
0a5f9ba290 * Use the same unique revision identifier as git itself. 2011-07-20 06:56:31 +02:00
Christian Muehlhaeuser
8d06d2ca38 * Try to force empty TOMAHAWK_VERSION in CMake cache. 2011-07-20 06:55:08 +02:00
Christian Muehlhaeuser
bbe81050f3 * Fixed sparkle updating and introduced TomahawkUtils::appFriendlyVersion(). 2011-07-20 06:01:58 +02:00
Christian Muehlhaeuser
751b76948e * Show which version is build during CMake debug output. 2011-07-20 05:51:40 +02:00
Christian Muehlhaeuser
485b40b22b * Added branch name to version string. 2011-07-20 05:47:13 +02:00
Christian Muehlhaeuser
4c8ba931d3 * Stop temporary query timer after it's been triggered. 2011-07-20 05:22:37 +02:00
Christian Muehlhaeuser
463eb2bfd8 * And even more Pipeline cleanups. 2011-07-20 04:53:43 +02:00
Christian Muehlhaeuser
7ab0a3093e * Few debug cleanups in Pipeline. 2011-07-20 04:41:59 +02:00
Leo Franchi
dabbd38cc7 Handle resolver file paths becoming invalid properly. Show user file is not found, etc. 2011-07-19 22:27:02 -04:00
Christian Muehlhaeuser
efd7911efc * Fixed another pipeline bug. 2011-07-20 04:25:44 +02:00
Christian Muehlhaeuser
9b8d69a21f * Fixed assert bug in pipeline. 2011-07-20 03:59:02 +02:00
Christian Muehlhaeuser
b39029743e * Fixed painting tracks with foreign charsets in sidebar. 2011-07-20 02:32:20 +02:00
Christian Muehlhaeuser
b771a23e23 * Fixed checking date executable variable. 2011-07-20 02:05:16 +02:00
Christian Muehlhaeuser
ffd4ba4edf * Fixed TWK-243: Show git revision in version number. 2011-07-20 02:02:37 +02:00
Christian Muehlhaeuser
6bfbbce05f * Fixed TWK-279 - Play first track of a playlist if play is clicked and nothing is playing yet. 2011-07-20 01:52:19 +02:00
Christian Muehlhaeuser
4a3f157718 * Fixed GStreamer skipping to the next track on pausing. 2011-07-20 00:17:15 +02:00
Christian Muehlhaeuser
920b239dc1 * Removed some more debug output from resolvers. 2011-07-19 23:40:21 +02:00
Christian Muehlhaeuser
1a81a292fc * Remove obsolete debug output. 2011-07-19 23:34:59 +02:00
Christian Muehlhaeuser
066aac7e26 * Fixed not properly ending drag and drop operation when leaving the sidebar. 2011-07-19 23:33:35 +02:00
Christian Muehlhaeuser
ac726faf1b * Also release non-temporary queries in Pipeline. 2011-07-19 23:13:16 +02:00
Christian Muehlhaeuser
dc5c0394f7 * Release unused queries in Pipeline. 2011-07-19 22:53:35 +02:00
Christian Muehlhaeuser
4098cc2709 * PlaylistInterface now provides getSharedPointer(). AudioEngine makes use of it and doesn't crash when encountering a deleted playlist. 2011-07-19 17:54:10 +02:00
Christian Muehlhaeuser
63aa26f607 * Fixed init procedure: don't setup Servent before database and sources are loaded. 2011-07-17 01:02:32 +02:00
Jason Herskowitz
4238327ebc Added icon for info icon/arrow that takes you to artist or album page. 2011-07-16 15:49:39 -04:00
Jason Herskowitz
120ee995f1 Placeholder images for missing album art, user avatar and artist image. Also sidebar icon for Loved Tracks. 2011-07-16 15:43:00 -04:00
Jeff Mitchell
7d7650f97c Fix twitter copy and also size issues. Fixes TWK-209. 2011-07-16 13:36:59 -04:00
Jeff Mitchell
b5d5db434a Change infosystem timeout values 2011-07-14 14:10:04 -04:00
Leo Franchi
a4a274531c Fix shortcuts on OS X 2011-07-14 10:42:27 +02:00
Jeff Mitchell
3a1083d2b3 Insert some code which is most likely totally do-nothing in the
offchance it solves jherskowitz's random crash...
2011-07-12 18:00:55 -04:00
Jeff Mitchell
e79604b598 Modify qHash/criteriamd5 algorithm to guarantee order of adding values
to the md5sum, since order matters in md5 and isn't guaranteed by
default in a QHash.

Requires a cache clear, which is done automatically.
2011-07-12 17:51:27 -04:00
Jeff Mitchell
43a1b38a49 Fix some objects in cache being "lost", such as similar artists/top
artist songs
2011-07-12 16:38:16 -04:00
Jeff Mitchell
e83be2b9cd Fix stupid C&P mistake that broke scrobbling. 2011-07-12 12:01:00 -04:00
Christian Muehlhaeuser
fcfc344627 * Fixed JavaScript resolvers not working. 2011-07-12 01:10:37 +02:00
Jeff Mitchell
28d34a84ad Add a cache versioning system, and invalidate the cache in the upgrade
to version 1
2011-07-11 16:01:53 -04:00
Christian Muehlhaeuser
3bd6bd540f * Updated .gitignore. 2011-07-11 16:59:43 +02:00
Christian Muehlhaeuser
c35d7c964a * Removed some InfoSystem debug output. 2011-07-11 16:59:15 +02:00
Christian Muehlhaeuser
15805aa32c * Improved AlbumView and cover fetching in Artist / Album-Model. 2011-07-11 16:52:09 +02:00
Christian Muehlhaeuser
6f14277821 * Updated .gitignore. 2011-07-11 03:36:11 +02:00
Christian Muehlhaeuser
2d66feb5b2 * Fixed default flat collection view sorting. 2011-07-11 03:24:33 +02:00
Christian Muehlhaeuser
a6944c49ae * Hide the origin column in the default flat collection view. 2011-07-11 03:05:14 +02:00
Christian Muehlhaeuser
3ad6826779 * Fixed bogus column widths when loading a flat collection view. 2011-07-11 02:59:13 +02:00
Christian Muehlhaeuser
0e04e8970b * Try to force updates when hovered item in a TrackView changes. 2011-07-11 02:49:46 +02:00
Christian Muehlhaeuser
76af86dc4b * Added direct links to Artist / Album - pages in TrackView. 2011-07-11 02:02:32 +02:00
Christian Muehlhaeuser
3d289c0f77 * Added musicbrainz InfoPlugin to CMakeLists.txt 2011-07-09 02:12:01 +02:00
Christopher Reichert
d7ea7e3eee Doxygen documentation for DatabaseCommand_LoadSocialAction. 2011-07-08 13:26:28 -05:00
Jeff Mitchell
e0b5597149 Huge overhaul of InfoSystem, using InfoRequestData structs to pass things around, making it far more clean (and easier to extend in the future) 2011-07-07 11:07:52 -04:00
Jeff Mitchell
d7950472bc Fix Mac compilation 2011-07-06 22:50:22 -04:00
Dominik Schmidt
dd311d99c4 Add more build dirs to the .gitignore 2011-07-07 04:18:18 +02:00
Dominik Schmidt
a634d09126 cpack: build proper source tarballs 2011-07-07 04:16:28 +02:00
Dominik Schmidt
7c5d6033d4 Add date and git revision to non-release package names 2011-07-07 03:18:12 +02:00
Dominik Schmidt
18aba6856b Use CPack for building the windows installer 2011-07-07 02:52:31 +02:00
Jeff Mitchell
51fba9ae62 Rename SavedRequestData and promote it 2011-07-06 17:32:02 -04:00
Jeff Mitchell
eb7f3fdab4 Enable caching of two more infotypes 2011-07-06 16:20:20 -04:00
Jeff Mitchell
0bfc873559 Handle timeouts of getInfo requests 2011-07-06 16:00:05 -04:00
Jeff Mitchell
226f823354 Add timeout functionality -- mostly. Still have to figure out the best
way to store items in case too much time has elapsed.
2011-07-06 14:58:56 -04:00
Jeff Mitchell
6bb26ecde8 Move almost all of the rest of the logic of infosystem to the worker
thread
2011-07-06 12:49:58 -04:00
Jeff Mitchell
5d0c734187 Add requestId tracking to InfoSystem in preparation for timeouts 2011-07-06 12:33:16 -04:00
Jeff Mitchell
ce7040d1fd Replace InfoCustomData with QVariantMap 2011-07-06 11:28:17 -04:00
Dominik Schmidt
7c9c046b17 Merge branch 'js-resolver' 2011-07-05 13:17:23 +02:00
Christopher Reichert
8f0984c5ac Added doxygen comments for DatabaseCommand_SocialAction. 2011-07-03 21:25:56 -05:00
Christian Muehlhaeuser
5e9fa24008 * Fixed crashing after a right-click on the Super Collection. 2011-07-04 02:42:42 +02:00
Christian Muehlhaeuser
15cdc8f910 * Let's start doxygen-ing new classes. 2011-07-03 17:04:49 +02:00
Christian Muehlhaeuser
dc095ec963 * Added ArtistInfoWidget, our new Artist page and ViewManager's default show(artist) action. 2011-07-03 02:18:28 +02:00
Christian Muehlhaeuser
8017bcacc7 * Fixed compiling on non-OS X. 2011-07-02 21:10:59 +02:00
Christian Muehlhaeuser
eaf8cad990 * Fixed compiling and error. 2011-07-02 21:03:04 +02:00
Christopher Reichert
40fb61b9a9 Do not allow same jabber credentials more than once. 2011-07-02 12:27:57 -05:00
Jeff Mitchell
11c0519165 Remove extra > 2011-07-01 16:52:35 -04:00
Dominik Schmidt
25775b5051 Make the Resolver API expect a widgetName instead of a widgetPath
We dont have gazillions of widgets in one dialog, so make the API a bit easier to use :)
2011-06-30 01:27:58 +02:00
Dominik Schmidt
3d297795c2 Be simplistic :D 2011-06-30 01:03:15 +02:00
Dominik Schmidt
925da80431 Merge remote branch 'origin/master' into js-resolver 2011-06-29 01:34:42 +02:00
Dominik Schmidt
1416c40172 Be compatible with the old resolvers *shrug* 2011-06-28 22:30:29 +02:00
Dominik Schmidt
c9fb103627 More API cleanup for QtScriptResolver 2011-06-28 21:29:44 +02:00
Jeff Mitchell
3f48e93a89 Show album covers in notifications when playing a track instead of the
source image. Need to implement some sort of timeout for getInfo.
2011-06-28 14:16:31 -04:00
Jeff Mitchell
07d9360a65 Massive cleanup of echonest plugin, also some cleanup for lastfmplugin. Hope I didn't break anything. :-) 2011-06-28 09:00:46 -04:00
Dominik Schmidt
c276e58c55 Add default implementations of search and resolve to the QtScriptResolver API 2011-06-28 13:47:35 +02:00
Dominik Schmidt
6f0321f585 Add tomahawk.js 2011-06-27 21:33:44 +02:00
Dominik Schmidt
d35fbd5048 Make debug output more readable and assert on javascript failures 2011-06-27 21:07:22 +02:00
Dominik Schmidt
75ec478cae Fix streaming from https-links 2011-06-27 21:06:36 +02:00
Jeff Mitchell
bb6da0daa9 Fix broken proxying. Not sure when it broke but this is a more robust
solution considering that both lastfm and echonest manager their own
nams. See notes; liblastfm may be problematic on Windows and Mac.
2011-06-27 15:00:25 -04:00
Dominik Schmidt
bf46ca7b71 Add more api for qtscriptresolvers 2011-06-27 04:22:40 +02:00
Dominik Schmidt
931ed5b918 Fix loading images from qtscriptresolvers 2011-06-27 00:12:29 +02:00
Dominik Schmidt
5d21dded5c Implement new js-resolver api 2011-06-26 22:42:58 +02:00
Jeff Mitchell
e983742c9b When notifying of a played track, show the source's image. Ideally we'd show the album cover but I can't find a good way to get at that (yet). 2011-06-26 13:25:55 -04:00
Jeff Mitchell
c6d2a5df89 Remove extraneous code 2011-06-26 12:58:51 -04:00
Christian Muehlhaeuser
ee70b9e3a7 * Set minimum size for recently-played tracks in WelcomeWidget. 2011-06-26 15:35:42 +02:00
Christian Muehlhaeuser
97986d8d3e * Use QTextOption to v-center HeaderLabel properly. 2011-06-26 15:20:50 +02:00
Christian Muehlhaeuser
39409ed861 * Don't cut off fonts in HeaderLabel. 2011-06-26 13:28:04 +02:00
Christian Muehlhaeuser
1e62c117e4 * A few more improvements for and around HeaderLabels. 2011-06-26 08:26:44 +02:00
Christian Muehlhaeuser
61f9fd5c99 * Fixed CMakeLists.txt. 2011-06-26 07:24:57 +02:00
Christian Muehlhaeuser
fe7c79ff31 * Added HeaderLabel to replace our old ugly labels. 2011-06-26 07:21:14 +02:00
Dominik Schmidt
de74c0c3fe Add newlines for muesli being able to read the code 2011-06-26 05:22:06 +02:00
Dominik Schmidt
80797d6538 Add ConfigUi api to QtScriptResolver 2011-06-26 05:18:27 +02:00
Christian Muehlhaeuser
e0c72c911a * Fixed loveButton not being re-enabled again. 2011-06-26 05:15:05 +02:00
Christian Muehlhaeuser
8f69369807 * Fixed not disabling loveButton. 2011-06-26 05:13:18 +02:00
Jason Herskowitz
451713c946 Make love icon not be invisibile on linux 2011-06-25 23:11:11 -04:00
Christian Muehlhaeuser
cf01884515 * Show a PointingHand cursor when hovering the love icon. 2011-06-26 05:10:01 +02:00
Jason Herskowitz
3913611ffa Temporary preference icon size fix, color tweaks, and added and icon for Post action 2011-06-25 23:01:18 -04:00
Jason Herskowitz
7bff379d05 Make gray outline of loved icons match source name color 2011-06-25 22:23:07 -04:00
Christopher Reichert
3769ef3208 Send UnLove track to LastFm. 2011-06-25 21:03:45 -05:00
Jason Herskowitz
10f607b348 Make loved icon right size 2011-06-25 21:08:40 -04:00
Jason Herskowitz
62df210cdc Make loved icon a bit darker red 2011-06-25 20:57:34 -04:00
Christopher Reichert
bdf8a0a353 Moved the loveButton to a reasonable place in audiocontrols.
Also changed the PlaylistTypeSelectorDlg to not be lop-sided.
2011-06-25 17:47:57 -05:00
Christian Muehlhaeuser
f380317775 * Fixed ageToString() for time differences below 60 seconds. 2011-06-25 06:04:50 +02:00
Christian Muehlhaeuser
8e99dbf01e * Show when a track was played in the recently played tracks history. 2011-06-25 04:12:23 +02:00
Christopher Reichert
0685754481 Database command for loading social actions.
Used for allowing a result to be aware of whether or not
it has various social attributes. e.g. loved.
2011-06-24 20:54:57 -05:00
Jason Herskowitz
5429698661 Icon for home screen/dashboard. Needs to be wired up. 2011-06-24 20:16:37 -04:00
Christian Muehlhaeuser
2dad4fbe2c * Fixed broken splitter-handle on OS X. 2011-06-25 01:39:35 +02:00
Jeff Mitchell
3b0292d9d9 Cleanup 2011-06-24 12:57:42 -04:00
Jeff Mitchell
f3ba4beffc Only emit if there are actually results 2011-06-24 12:26:44 -04:00
Christian Muehlhaeuser
6be00f832d * Removed un-moc-able headers in thirdparty/qtweetlib. 2011-06-24 11:48:44 +02:00
Christian Muehlhaeuser
4674ed35f0 * Fixed the warning mess. Hope I didn't break anything :-) 2011-06-24 11:38:15 +02:00
Christian Muehlhaeuser
26e12157f2 * Silly whitespace cleanup. 2011-06-24 09:32:00 +02:00
Christian Muehlhaeuser
9758324128 * Fixed broken database schema for dynamic_playlist table. 2011-06-24 09:32:00 +02:00
Dominik Schmidt
bfec4043f6 Merge branch 'master' of git://github.com/tomahawk-player/tomahawk
Conflicts:
	src/resolvers/qtscriptresolver.h
2011-06-24 08:25:50 +02:00
Christian Muehlhaeuser
e0cd07c442 * Giving domme a style-lesson ;-) 2011-06-24 08:22:39 +02:00
Dominik Schmidt
cbd8caa171 Add compress-method to Tomahawk-Object in QtScriptResolvers 2011-06-24 08:18:41 +02:00
Christian Muehlhaeuser
3f4140e023 * Don't offer a play action if the user selected multiple items. 2011-06-24 08:18:22 +02:00
Dominik Schmidt
903617fd50 Add Tomahawk object to resolver scope, currently offers a readFile method 2011-06-24 08:12:59 +02:00
Christian Muehlhaeuser
4abb52d198 * Added context menus for Artists & Albums, too. 2011-06-24 08:08:33 +02:00
Christian Muehlhaeuser
1c820a2beb * Guard some more. 2011-06-24 05:49:20 +02:00
Christian Muehlhaeuser
b65d9d5809 * Guard AudioEngine against null-ptr PlaylistInterfaces. 2011-06-24 05:46:08 +02:00
Christian Muehlhaeuser
251599e36e * Removed silly debug which slowed down sorting massively. 2011-06-24 04:52:30 +02:00
Christian Muehlhaeuser
1ecab22b4d * Added new helper class ContextMenu. Made it easy to support context-menus in the TreeView, too. 2011-06-24 04:48:03 +02:00
Alejandro Wainzinger
a639b89ebc Add reference to Doxygen docs in README. 2011-06-23 19:41:01 -07:00
Jeff Mitchell
bf015d241a Rip out retry timer and move to a push solution. Untested, will test
later.
2011-06-23 16:03:24 -04:00
Jeff Mitchell
555adeaac7 Cleanup 2011-06-23 15:15:31 -04:00
Jeff Mitchell
d455270c05 Add (if verbose is turned on in config) play/stop notifications 2011-06-23 15:13:57 -04:00
Christian Muehlhaeuser
d5266f7147 * Fix the styling of the now playing row in the TreeView. 2011-06-23 20:02:26 +02:00
Christian Muehlhaeuser
2ef67f5b28 * Mark the now playing item in the TreeView, just like we do in the TrackView. 2011-06-23 19:25:59 +02:00
Christian Muehlhaeuser
337c4e6e9c * Recalculate collection stats after finish scanning. 2011-06-23 18:02:09 +02:00
Christian Muehlhaeuser
1a4ed2e551 * Never word-wrap in the short-mode PlaylistItemDelegate. 2011-06-23 17:42:52 +02:00
Christian Muehlhaeuser
dca4a7c591 * Fixed TWK-226. Never advertise ourselves with an unroutable / internal-only IP address. 2011-06-23 16:54:27 +02:00
Jeff Mitchell
660176477a Remove reset; handle dbid changes locally in twitter sip 2011-06-23 09:16:33 -04:00
Jeff Mitchell
f2d5a9dadc Make SipPlugin reset pure virtual and implement 2011-06-23 08:54:29 -04:00
Jeff Mitchell
7e45779132 Put reset() in sipplugin 2011-06-23 07:03:09 -04:00
Jeff Mitchell
a25d4719c9 Remove unneeded bits 2011-06-22 17:57:38 -04:00
Jeff Mitchell
69f459682a Make notifications work on Linux, including icon. 2011-06-22 13:47:16 -04:00
Jeff Mitchell
0f1dec1783 Fix notification logic and possible crash 2011-06-22 11:50:02 -04:00
Christian Muehlhaeuser
8240b8379b * Don't do separate thread pools per command anymore. 2011-06-22 10:07:19 +02:00
Jeff Mitchell
8d1f0e1646 Use the types shown by qdbusviewer 2011-06-21 18:22:15 -04:00
Jeff Mitchell
59346f014a Rename the plugin to be more truthful 2011-06-21 17:45:39 -04:00
Jeff Mitchell
ef5f40864e Fix up libnotify plugin (not actually using libnotify though) 2011-06-21 17:39:31 -04:00
Jeff Mitchell
69818f8c96 Start of libnotify plugin 2011-06-21 14:52:23 -04:00
Jeff Mitchell
55c894743a Drat. Actually fix build 2011-06-21 13:58:50 -04:00
Jeff Mitchell
3c096f16e0 Crap, I meant to include these in the previous commit 2011-06-21 13:50:52 -04:00
Jeff Mitchell
fa7e34972c Make dirs for os-dependent (and non-os-dependent) infoplugins 2011-06-21 12:04:03 -04:00
Alejandro Wainzinger
9d390aa0ed Style. 2011-06-21 02:35:14 -07:00
Alejandro Wainzinger
a59768ee9b Add tooltip for Artist and Flat View. 2011-06-21 02:30:47 -07:00
Christian Muehlhaeuser
20181affd1 * Fixed a few playlist issues: don't lose current track when dropping / moving items on the playlist. 2011-06-21 08:10:30 +02:00
Christian Muehlhaeuser
08426e2822 * Fixed getting list of recently played playlists. 2011-06-21 07:06:30 +02:00
Christian Muehlhaeuser
659b8fa0d5 * Set the proper playback source on LogPlayback queries. 2011-06-21 06:36:34 +02:00
Christian Muehlhaeuser
b5180f33b8 * No need to fetch collection stats manually after adding files. 2011-06-21 06:32:45 +02:00
Christian Muehlhaeuser
4006452d15 * Don't steal the logfile when starting a secondary instance of Tomahawk. 2011-06-21 05:40:07 +02:00
Christian Muehlhaeuser
eb70419203 * Yay, even more WIP: New Home Screen. 2011-06-21 05:26:32 +02:00
Christian Muehlhaeuser
c0a970872b * Made deleting tracks from a collction a little faster. 2011-06-21 04:03:12 +02:00
jherskowitz
7caf66b086 Few more new/replacement icons 2011-06-20 21:09:13 -04:00
Dominik Schmidt
7c36fb68c6 Use ccache for windows builds 2011-06-20 21:59:58 +02:00
Jeff Mitchell
189f3b4aff Add reset logic to interface for use by all; fixes bug when re-listening to a source before a track change 2011-06-20 08:27:58 -04:00
Jeff Mitchell
ec83adcd39 Merge branch 'master' into more-generic-pi 2011-06-20 07:59:19 -04:00
Jeff Mitchell
97cf05c37c Initial generalizing work 2011-06-20 07:58:27 -04:00
Dominik Schmidt
5112d9356b Small clang fix 2011-06-20 04:51:57 +02:00
Jeff Mitchell
8f69b9b680 Fix catch-up functionality 2011-06-19 16:28:50 -04:00
Jeff Mitchell
989a16db7d Port logic from STV to audioengine regarding next track when listening along 2011-06-19 14:44:01 -04:00
Christian Muehlhaeuser
a687ca635f * Removed assert in portfwd module to make it compile on OS X. 2011-06-19 17:30:02 +02:00
Christian Muehlhaeuser
3552106e18 Merge pull request #32 from pawelprazak/master
Proposed Fix for bug TWK-221
2011-06-19 08:20:56 -07:00
jherskowitz
b0b266a639 Go back to other lightbulb icons 2011-06-19 11:07:07 -04:00
jherskowitz
792cf99b22 Bunch of tweaked and cleaned up icons 2011-06-19 09:39:29 -04:00
Jeff Mitchell
33ed1373e8 Simplify logic, de-duplicate 2011-06-19 09:23:56 -04:00
Leo Franchi
8939af7407 fix a bunch of warnings 2011-06-19 00:39:53 -04:00
Leo Franchi
0efe65d738 Fix signal/slot connection so stations work again 2011-06-18 22:18:18 -04:00
Jeff Mitchell
02414e8269 Update output location of .exe to be in build/ and update version number 2011-06-18 11:36:30 -04:00
Jeff Mitchell
c760d26b68 Listen along -- fix bug where catching up to the same track would stop audio. Also allow option to stop listening. 2011-06-18 11:12:34 -04:00
Jeff Mitchell
0abb46f3e6 bump nsi revision 2011-06-18 11:12:26 -04:00
Paweł Prażak
093e960af2 Fix for bug TWK-221, Segfault at start due to UPnP device description XML download fail.
Further work
FIXME: Figure out how to make it use the proper port (81 eg. instaed of standard 80)
       maybe it's upnpDiscover() that's not working correcly
2011-06-18 17:09:20 +02:00
Jeff Mitchell
c9c1cc5b17 Fix some paths in nsi file 2011-06-17 22:47:49 -04:00
Jeff Mitchell
d4adc55d67 Whitespace cleanup 2011-06-17 18:19:51 -04:00
Jeff Mitchell
3e7368bc32 Change latch menu item to "Catch Up" if you're already listening to that source, and allow Next button to catch you up too. 2011-06-17 18:17:33 -04:00
Jeff Mitchell
473d8994c8 When you are latched onto someone, if there is a track you can't resolve, keep trying to play the next track periodically, so that you'll pick back up with their stream when they next play a track that you can resolve. I can't test this now due to
firewall but I believe the code should be safe.
2011-06-17 16:11:20 -04:00
Leo Franchi
5615488284 Don't check for duration---it's not needed for loving 2011-06-17 15:26:33 -04:00
Jeff Mitchell
461854d158 Don't endlessely loop on a track when following if the person you're following stops playing. Also don't crash if they go away or time out. 2011-06-17 13:34:25 -04:00
Leo Franchi
56ed1c4ace set volume to 75% on startup on osx---it's not the system volume there 2011-06-17 13:25:20 -04:00
Leo Franchi
2805b08989 Compile on osx 2011-06-17 13:25:09 -04:00
Leo Franchi
e2b99b2628 don't crash so much on exit, it's not nice 2011-06-17 13:22:55 -04:00
Jeff Mitchell
b31ff998ee Don't allow yourself to follow...yourself. 2011-06-17 12:47:39 -04:00
Jeff Mitchell
f9dff94ab2 GCC suggests parens to make the logic obvious, so make it nice and obvious 2011-06-17 12:47:21 -04:00
Leo Franchi
f72c60969b allow dropping of results as well as queries on the categoryadd items
Fixes TWK-232
2011-06-17 12:40:30 -04:00
Leo Franchi
2088e78020 Notify of resolving finished when timeout is reached for resolvers that don't report back 2011-06-17 11:44:04 -04:00
Leo Franchi
994ed90ed6 When getting a query from a result, add the result itself to the query.
Fixes TWK-231
2011-06-17 11:44:04 -04:00
Jeff Mitchell
19acd9d47f Following is working now :-D 2011-06-17 10:24:54 -04:00
Jeff Mitchell
541fe95789 Add follow option to context menu, not quite working yet... 2011-06-17 09:54:37 -04:00
Christian Muehlhaeuser
570913a3b9 * Killed a few warnings. 2011-06-17 05:07:44 +02:00
Jeff Mitchell
e3a22ba4ee Fix stupid mistake that borked next/prev/seek 2011-06-16 22:27:07 -04:00
Christian Muehlhaeuser
c7b8acbdf6 * Also added new resolver settings icon. 2011-06-17 04:13:19 +02:00
Christian Muehlhaeuser
1bbbf93196 * Updated a few more icons. 2011-06-17 04:12:26 +02:00
Christian Muehlhaeuser
a557324d98 * New icons. WIP. 2011-06-17 03:30:19 +02:00
Christian Muehlhaeuser
1d28ddc3c8 * Removed old, obsolete icons. 2011-06-17 02:59:56 +02:00
Christopher Reichert
3efe0ff22b Added the love button.
Its in an odd place for now but Muesli is going to correct the
positioning manually. We need to get this button to switch to
notLoved.png when a track is no longer loved. More implementation
coming soon. For now this will send love status to lastfm.
2011-06-16 18:51:09 -05:00
Christian Muehlhaeuser
d7d97d60db * Added a WIP short style for our TrackViews. 2011-06-17 01:44:22 +02:00
Jeff Mitchell
32f6a42791 Fix some more incorrect signal/slot signatures 2011-06-16 18:19:46 -04:00
Jeff Mitchell
818636721a Update PlaylistInterface slot signatures 2011-06-16 18:08:57 -04:00
Jeff Mitchell
64cd6e584f Initial work on latch functionality 2011-06-16 18:02:41 -04:00
Christian Muehlhaeuser
00252e4e53 * This probably needs fixing some connects() now: Moved PlaylistInterface into Tomahawk namespace. 2011-06-16 23:05:40 +02:00
Jeff Mitchell
53ea9b2589 Less cryptic 2011-06-16 16:43:04 -04:00
Jeff Mitchell
3f05f4ea8b Add pliface_ptr 2011-06-16 16:41:09 -04:00
Leo Franchi
8a33a9edf4 new icons 2011-06-16 15:01:20 -04:00
Christian Muehlhaeuser
fcce5568b2 * Forgot to add new Query class, too. 2011-06-16 12:21:59 +02:00
Christian Muehlhaeuser
6337e3a498 * Refactored pipeline a bit further. 2011-06-16 12:17:41 +02:00
Jeff Mitchell
e6bb53c9f5 Delete lister after it's done, before returning 2011-06-15 09:08:13 -04:00
Jeff Mitchell
fb7f98c1fc Don't unconditionally watch for changes 2011-06-15 08:59:38 -04:00
Jeff Mitchell
be86cdd97c This shouldn't really be needed but maybe it fixes zizzifizzix's problem (or at least, anyone else from having it) 2011-06-15 08:46:01 -04:00
Alejandro Wainzinger
1c59840dd1 Pause timer should be single shot. 2011-06-15 00:33:26 -07:00
Alejandro Wainzinger
a306bdf53f Only clear Adium status on exit if plugin is actually in use. 2011-06-15 00:27:55 -07:00
Christian Muehlhaeuser
46fc9cb20a * Be cleverer with database threads, too. 2011-06-15 04:15:27 +02:00
Christian Muehlhaeuser
78e064e1c5 * Made the pipeline cleverer when it comes to using threads. 2011-06-15 04:08:32 +02:00
Jeff Mitchell
f5d61a60f8 Replace text with end-user version 2011-06-14 19:37:14 -04:00
Leo Franchi
e8b02406d5 put jreen back in its place 2011-06-14 19:33:00 -04:00
Leo Franchi
51e13ce11e 30 items backlog 2011-06-14 19:31:31 -04:00
Leo Franchi
bfda50e604 dedup my kthxbbw TWK-45 2011-06-14 19:27:17 -04:00
Christopher Reichert
bef7a63732 Added database commands for Social action.
Love button in audiocontrols sends message through info system
to sync love status with local database. The only social action
that is currently setup is lastfm's "love".
2011-06-14 16:12:56 -05:00
Jeff Mitchell
80ef9d6053 Some more scan logic fixes, and stop the scan timer while it's already performing a scan 2011-06-14 15:02:06 -04:00
Jeff Mitchell
6d4af9301c Fix some settings dialog logic 2011-06-14 14:14:52 -04:00
Jeff Mitchell
43c2aba4d2 Update some values/logic before it gets too public 2011-06-14 14:03:58 -04:00
Jeff Mitchell
4337a220b6 Remove warnings in adium plugin 2011-06-14 13:54:25 -04:00
Jeff Mitchell
019499632a Make twitter sync every 2.5 minutes 2011-06-14 13:48:29 -04:00
Jeff Mitchell
6f1d4a465e Merge branch 'master' into watchforchanges-ng 2011-06-14 13:44:02 -04:00
Leo Franchi
bc814e759f be less clever and waste more bandwidth 2011-06-14 12:07:23 -04:00
Jeff Mitchell
169917fd53 Merge remote branch 'origin/master' into watchforchanges-ng
Conflicts:
	src/tomahawkwindow.ui
2011-06-13 15:11:14 -04:00
Alejandro Wainzinger
508bed5ef4 Add consistent display of artist before song title in Adium Plugin. Fixes TWK-225. 2011-06-13 01:39:41 -07:00
Leo Franchi
6ff43b8aed guard against a null error-condition, c.f. TWK-224 2011-06-12 16:45:31 -04:00
Christian Muehlhaeuser
d4c68ddd27 * Try different highlight color for now-playing items. 2011-06-12 20:53:35 +02:00
Christian Muehlhaeuser
e3daa8c2d5 * Display unresolved queries greyed-out again. 2011-06-12 19:06:50 +02:00
Christian Muehlhaeuser
13d758d3eb * Fixed build scripts to ship app with libpng. 2011-06-12 18:36:27 +02:00
Leo Franchi
09be5a1a60 pita wip 2011-06-12 12:13:27 -04:00
Christian Muehlhaeuser
fbdf53de50 * Made sure we always restore the painter after using it. 2011-06-12 18:06:29 +02:00
Leo Franchi
298d0a08a0 Try harder to fix audiocontrol flickering 2011-06-12 11:05:13 -04:00
Christian Muehlhaeuser
327ce84e46 * Static method was meant to be public. 2011-06-12 08:33:47 +02:00
Christian Muehlhaeuser
22e2800e9e * Fixed two bugs I introduced with my last commit. 2011-06-12 06:19:03 +02:00
Christian Muehlhaeuser
8c10bdfb07 * WIP: Fulltext resolving, score bars and score column.
* Added social_attributes table to the database.
* Added db migration script.
* Fixed database migration.
2011-06-12 05:57:57 +02:00
Leo Franchi
35590c381c Don't flicker when pressing play/pause on osx 2011-06-11 14:26:16 -04:00
Leo Franchi
9874606929 Add workaround for QtCurve, so we don't set our own proxy style. Warning: WILL LOOK LIKE CRAP 2011-06-11 14:01:09 -04:00
Leo Franchi
9bf44b1e52 Hide now-playing push groupbox unless on osx 2011-06-11 13:53:15 -04:00
Leo Franchi
9d4642b453 make adium plugin build 2011-06-11 13:43:51 -04:00
Leo Franchi
5cfbcae95e Generate toma.hk urls instead of tomahawk://, so they can be shortened 2011-06-11 13:32:33 -04:00
Leo Franchi
419a0c806f Add Play/Next/Prev to menu and make space a global shortcut 2011-06-11 13:10:16 -04:00
Leo Franchi
badfe28626 Explicitly set Content-Type of POST to application/x-www-form-urlencoded, as Qt 4.8 changed teh default 2011-06-11 12:42:13 -04:00
Leo Franchi
1c43cabd7e don't crash when jason tries to use tomahawk 2011-06-11 12:18:12 -04:00
Leo Franchi
efc29a1c92 Remove deleted playlists from the UI immediately, not after dbcmd is completed
Otherwise if the DB is busy the user can delete playlists multiple times, crashing all his peers
2011-06-11 12:05:52 -04:00
Leo Franchi
ac7e547d1d Disable unindenting until I iron all the bugs out 2011-06-10 23:36:58 -04:00
Leo Franchi
5e3f465824 Allow qtscript resolvers to use QWebkit LocalStorage and DatabaseStorage HTML5 API 2011-06-10 23:32:40 -04:00
Leo Franchi
f3b9a7bdec Place editor properly: 2011-06-10 23:32:40 -04:00
Leo Franchi
c014ccdf33 enclose path in quotes on windows so it works with paths with spaces 2011-06-10 23:32:40 -04:00
Leo Franchi
0b2302a675 Move the indentation in a bit 2011-06-10 23:32:40 -04:00
Leo Franchi
92805d37c1 Add a "New Additions" entry to each source to show the SourceInfoWidget 2011-06-10 23:32:40 -04:00
Alejandro Wainzinger
5a38219754 Escape quotes, or Applescript gets confused. 2011-06-09 19:52:33 -07:00
Alejandro Wainzinger
112184c8fa If paused for a minute, clear Adium status. 2011-06-09 18:34:19 -07:00
Jeff Mitchell
6b3bb259d8 Merge branch 'master' into watchforchanges-ng
There's some ugliness on the music page...

Conflicts:
	src/settingsdialog.cpp
	src/stackedsettingsdialog.ui
2011-06-09 14:07:11 -04:00
Alejandro Wainzinger
3da78d7cee Adium plugin now does nothing on pause, and clears status on stop. 2011-06-08 17:56:14 -07:00
Alejandro Wainzinger
3277ad7802 Parse the "+" of a Tomahawk link as a space. Adium plugin defaults to using toma.hk links now. 2011-06-08 01:37:52 -07:00
Alejandro Wainzinger
8ca84e9ba2 Use just openLink in GAM to avoid including InfoSystem, and deal with the InfoCriteriaHash in the plguin. 2011-06-07 18:50:27 -07:00
Alejandro Wainzinger
23a9be18c6 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-06-07 18:14:18 -07:00
Alejandro Wainzinger
b392151c56 Make Tomahawk link handling cleaner and less hackish (lfranchi++). Move openLinkFromHash to GlobalActionManager, to keep Tomahawk link handling simple. 2011-06-07 18:12:38 -07:00
Leo Franchi
1ff142616e remove old settings dialog.ui, just caused confusion 2011-06-07 16:59:19 -04:00
Leo Franchi
21479dbe0b set volume on startup too, from phonon 2011-06-07 16:59:19 -04:00
Leo Franchi
24502d8856 Update tomahawk volume when phonon volume is updated externally, lessen deafness 2011-06-07 16:59:19 -04:00
Frank Osterfeld
bee2a7165a Fix sorting by file size (Don't sort the formatted strings, but the actual file size).
Also, use TrackModel::Column enum instead of int constants.
2011-06-07 19:54:29 +02:00
Alejandro Wainzinger
3ec9308916 debug-- 2011-06-06 23:39:57 -07:00
Alejandro Wainzinger
df83239ad3 Style fix. 2011-06-06 23:22:44 -07:00
Alejandro Wainzinger
dd78a2097a Decode percent-encoded Tomahawk links. 2011-06-06 23:19:53 -07:00
Alejandro Wainzinger
3f8d27695e Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-06-06 21:24:30 -07:00
Alejandro Wainzinger
f0b1d49f6b Add tomahawk link to currently playing song, to Adium now-playing status. 2011-06-06 21:23:55 -07:00
Leo Franchi
8d3760f71e Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-06-06 08:39:09 -04:00
Alejandro Wainzinger
4f8165cc8a Check if Adium is running before setting status. Be more efficient about forming the Applescript string. 2011-06-05 17:57:33 -07:00
Christian Muehlhaeuser
1021e9c1b5 * Improved AudioEngine's internal phonon-state handling. 2011-06-05 23:20:09 +02:00
Leo Franchi
7cac0ed9bc Really don't go overboard asking for moods/styles 2011-06-05 16:47:32 -04:00
Leo Franchi
aa076684dc fix up checking for moods and styles 2011-06-05 16:40:35 -04:00
Christopher Reichert
5ec7e3340b re-resolve tracks when a resolver is added or removed.
The pipeline emits a signal to queries when a resolver is added/removed. The queries
take action based on their solved() status and if not solved() inform the pipeline to
re-resolve them.
2011-06-05 14:03:40 -05:00
Leo Franchi
7742e3091a show summary for songs as well 2011-06-05 13:56:23 -04:00
Christian Muehlhaeuser
297161c766 * Update thirdparty/jreen submodule. 2011-06-05 17:20:21 +02:00
Christian Muehlhaeuser
95a335813d Merge pull request #31 from euroelessar/master
Changes due to modified Jreen API
2011-06-05 06:33:10 -07:00
Leo Franchi
424424cf7b Allow for omitting @foo.com domains for jabber and google.
Also, make sip plugins clean up the config after themselves
2011-06-04 21:59:39 -04:00
Leo Franchi
4e2c5b23f7 Show google-specific text in add contact popup, fixes TWK-217 2011-06-04 21:09:29 -04:00
Leo Franchi
73e5828d41 attempt strange fix 2011-06-04 20:07:12 -04:00
Leo Franchi
e5bdab9f9b osx doesn't like hidden widgets added to layouts and shown later 2011-06-04 19:55:56 -04:00
Leo Franchi
d8d88826f5 rename SearchWidget to GlobalSearchWidget 2011-06-04 17:11:22 -04:00
Christian Muehlhaeuser
33a9391ee7 * Try to fix SearchWidget crash. 2011-06-04 22:58:58 +02:00
Christian Muehlhaeuser
2a43c7df78 * Try it with a parent. 2011-06-04 22:39:15 +02:00
Christian Muehlhaeuser
65c33e70f5 * Fixed OS X compilation. 2011-06-04 21:10:14 +02:00
Christian Muehlhaeuser
83ca3a1502 * Forgot to add some search widgets. 2011-06-04 20:50:49 +02:00
Christian Muehlhaeuser
2e9dc42696 * Added basic search widget. 2011-06-04 20:47:45 +02:00
Ruslan Nigmatullin
2d3f712f95 Fixes due to changed Jreen API 2011-06-04 23:48:27 +06:00
Christian Muehlhaeuser
34d9a723dd * Fixed potential memleak. 2011-06-04 14:43:31 +02:00
Jeff Mitchell
c2ffbbc5ac Fix compile, doh 2011-06-03 11:07:53 -04:00
Jeff Mitchell
95e2b84559 No sense having it in two places... 2011-06-03 11:05:01 -04:00
Jeff Mitchell
aed838193f See if defines are causing the twitter issues on Win 2011-06-03 11:01:27 -04:00
Christian Muehlhaeuser
6f4b43f9ff * Fixed AudioEngine deleting a sharedptr while it's being used by Phonon. 2011-06-03 15:27:34 +02:00
Alejandro Wainzinger
4619cd420a More style fixes. 2011-06-02 21:13:57 -07:00
Alejandro Wainzinger
e5cc13ac57 Fixes for style. 2011-06-02 18:53:36 -07:00
Alejandro Wainzinger
6500af65c0 Merge branch 'master' into adiumpush 2011-06-02 18:23:20 -07:00
Leo Franchi
59452f6163 Try to avoid showing the window before placing it 2011-06-02 17:24:44 -04:00
Leo Franchi
e130fc41ed resize dialog when it changes size, and hide/show
otherwise osx goes CRAZY PANTS
2011-06-01 20:29:54 -04:00
Leo Franchi
b4e0674e2b SHow initial config dialog as sheet on osx, WIP 2011-06-01 17:41:44 -04:00
Christian Muehlhaeuser
aeedf286eb * Added Pipeline status view. WIP. 2011-06-01 04:21:35 +02:00
Christian Muehlhaeuser
c52e7e4cdb * Allow seeking in songs - if possible. 2011-06-01 04:21:01 +02:00
Leo Franchi
b356798229 Add an 'Add to my ' option for non-local playlists to copy locally 2011-05-31 22:10:37 -04:00
Leo Franchi
615b2ff5cb And remove cruft. 2011-05-31 18:21:41 -04:00
Leo Franchi
7176b7f0a9 Add the SPMediaKeyTap thirdparty lib. 2011-05-31 18:20:29 -04:00
Leo Franchi
5cd9e49629 Add support for SPMediaKeyTap.
This lets tomahawk stop iTunes from opening when a user presses one of the media keys. Thanks to
the Clementine project and tyler.s.rhodes@gmail.com for much of the code in this patch.
2011-05-31 18:17:46 -04:00
Jeff Mitchell
7c3d0eba95 Merge branch 'master' into watchforchanges-ng 2011-05-31 13:15:36 -04:00
Christopher Reichert
30323c2d8a Shuffle Mode and Repeat mode are now stored on a playlist by playlist basis
in Tomahawk.conf
2011-05-31 10:43:45 -05:00
Jeff Mitchell
c98842935d Merge branch 'master' into watchforchanges-ng
Conflicts:
	src/libtomahawk/infosystem/infosystem.cpp
	src/musicscanner.cpp
	src/scanmanager.cpp
	src/tomahawkapp.cpp
	src/tomahawkwindow.ui
2011-05-30 09:56:45 -04:00
Christian Muehlhaeuser
b5b8ba5a96 * Fixed shutdown freezes. 2011-05-29 11:14:20 +02:00
muesli
5d03b35101 Revert "Was trying to work on the crash on shutdown by making sure we explicitly delete items in tomahawkapp. Except where there are FIXMEs all are now explicitly deleted, in reverse order of instantiation. So far no help, but figured might as well keep the changes."
This reverts commit 6e19a85d73.
2011-05-28 16:51:04 +02:00
Jeff Mitchell
52b7465cf6 more debug 2011-05-28 10:24:35 -04:00
Jeff Mitchell
840e877456 More debug for chris 2011-05-28 10:15:37 -04:00
Jeff Mitchell
89f690a9e2 Add some extra debug 2011-05-28 10:11:01 -04:00
Jeff Mitchell
02c1cfe14e Update text to say what's actually going on 2011-05-28 10:01:33 -04:00
Jeff Mitchell
86f35ae304 Don't say we're processing events when we aren't anymore 2011-05-28 09:54:03 -04:00
Jeff Mitchell
2c48983aa1 Merge branch 'master' into watchforchanges-ng 2011-05-28 09:40:43 -04:00
Alejandro Wainzinger
cfe335ff8a Merge branch 'master' into adiumpush 2011-05-26 22:57:22 -07:00
Alejandro Wainzinger
a2b6463b04 Merge branch 'adiumpush' of github.com:tomahawk-player/tomahawk into adiumpush 2011-05-26 22:55:55 -07:00
Jeff Mitchell
c1c8e1c9a7 Make scanning more async so if you quit in the middle you don't have to sit there waiting for the entire scan to finish 2011-05-23 04:59:54 -04:00
Jeff Mitchell
c0772e5076 Merge remote branch 'origin/master' into watchforchanges-ng 2011-05-22 22:08:02 -04:00
Jeff Mitchell
0ea35a9b3e Add options for controlling scanning time and mode 2011-05-21 14:58:23 -04:00
Jeff Mitchell
345d6858ff Merge remote branch 'origin/master' into watchforchanges-ng 2011-05-21 11:02:37 -04:00
Jeff Mitchell
c297dcaf9e Merge remote branch 'origin/master' into watchforchanges-ng 2011-05-20 19:43:01 -04:00
Jeff Mitchell
ea6a86016a Merge branch 'master' into watchforchanges-ng 2011-05-20 19:42:43 -04:00
Jeff Mitchell
32c84b84bd Finish (for now) the file scanning code. (Also adds an update/rescan difference to the options, where one fully rescans and the other runs a normal update). N.B.: This code is currently hard-coded to watch for changes at 120 seconds and to use filemtimes, not dirmtimes. 2011-05-20 19:41:03 -04:00
Jeff Mitchell
c2884e696f More updates for file-mtime scanning 2011-05-20 14:46:55 -04:00
Jeff Mitchell
0a8e0daa57 WIP towards file mtime scanning 2011-05-20 14:01:10 -04:00
Jeff Mitchell
7a86391d7b Watching for changes works at a folder granularity now 2011-05-20 10:38:18 -04:00
Jeff Mitchell
98a23c6585 Merge branch 'master' into adiumpush
Conflicts:
	thirdparty/jreen
2011-05-16 22:06:41 -04:00
Alejandro Wainzinger
195f6921c0 Merge branch 'master' into adiumpush
Conflicts:
	thirdparty/jreen
2011-05-11 22:36:29 -07:00
Alejandro Wainzinger
df996769f8 Make layout a bit more aligned. 2011-05-07 15:58:16 -07:00
Alejandro Wainzinger
69a01c252a Add a few more guards for OS X. 2011-05-07 15:50:48 -07:00
Alejandro Wainzinger
0bac06b2c0 Add setting to enable/disable Adium now-playing (defaults to off, and only shows up on macs). 2011-05-07 15:45:34 -07:00
Alejandro Wainzinger
f4b4a021ee Add resumed, stopped, paused info. 2011-05-07 13:26:21 -07:00
Alejandro Wainzinger
8cc0277cca Catch up to the InfoSystem. 2011-05-07 12:25:17 -07:00
Alejandro Wainzinger
09817a7836 Merge branch 'master' into adiumpush
Conflicts:
	src/libtomahawk/infosystem/infosystemworker.cpp
2011-05-07 12:12:58 -07:00
Alejandro Wainzinger
fb9069320e Build AdiumPlugin, now a pushInfo-using InfoPlugin. 2011-05-07 12:03:52 -07:00
Alejandro Wainzinger
ccc4db2270 Copy over Adium files from Adium branch. 2011-05-05 22:14:30 -07:00
2672 changed files with 656691 additions and 79986 deletions

8
.gitignore vendored
View File

@@ -11,4 +11,10 @@ moc_*
/tomahawk
thirdparty/qtweetlib/WARNING-twitter-api-keys
.kdev4
tomahawk.kdev4
*.kdev4
*.kate-swp
clang/
win/
gcc/
tags
.DS_Store

6
.gitmodules vendored
View File

@@ -1,6 +0,0 @@
[submodule "thirdparty/jreen"]
path = thirdparty/jreen
url = git://github.com/euroelessar/jreen.git
[submodule "thirdparty/qtweetlib/QTweetLib"]
path = thirdparty/qtweetlib/QTweetLib
url = git://github.com/minimoog/QTweetLib.git

9
.tx/config Normal file
View File

@@ -0,0 +1,9 @@
[main]
host = https://www.transifex.net
[tomahawk.tomahawk-master]
file_filter = lang/tomahawk_<lang>.ts
source_file = lang/tomahawk_en.ts
source_lang = en
type = QT

View File

@@ -1,9 +1,7 @@
PROJECT( tomahawk )
CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )
IF( ${CMAKE_VERSION} VERSION_GREATER 2.8.3 )
CMAKE_POLICY(SET CMP0017 NEW)
ENDIF( ${CMAKE_VERSION} VERSION_GREATER 2.8.3 )
CMAKE_MINIMUM_REQUIRED( VERSION 2.8.6 )
SET( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
CMAKE_POLICY(SET CMP0017 NEW)
###
### Tomahawk application info
@@ -11,45 +9,103 @@ ENDIF( ${CMAKE_VERSION} VERSION_GREATER 2.8.3 )
SET( TOMAHAWK_ORGANIZATION_NAME "Tomahawk" )
SET( TOMAHAWK_ORGANIZATION_DOMAIN "tomahawk-player.org" )
SET( TOMAHAWK_APPLICATION_NAME "Tomahawk" )
SET( TOMAHAWK_VERSION "0.1.0" )
SET( TOMAHAWK_DESCRIPTION_SUMMARY "The social media player" )
SET( TOMAHAWK_VERSION_MAJOR 0 )
SET( TOMAHAWK_VERSION_MINOR 5 )
SET( TOMAHAWK_VERSION_PATCH 5 )
#SET( TOMAHAWK_VERSION_RC 0 )
# enforce proper symbol exporting on all platforms
add_definitions( "-fvisibility=hidden" )
# build options
option(BUILD_GUI "Build Tomahawk with GUI" ON)
option(BUILD_RELEASE "Generate TOMAHAWK_VERSION without GIT info" OFF)
option(WITH_BREAKPAD "Build with breakpad integration" ON)
option(WITH_CRASHREPORTER "Build with CrashReporter" ON)
option(WITH_BINARY_ATTICA "Enable support for downloading binary resolvers automatically" ON)
option(LEGACY_KDE_INTEGRATION "Install tomahawk.protocol file, deprecated since 4.6.0" OFF)
IF( CMAKE_SYSTEM_PROCESSOR MATCHES "arm" )
message(STATUS "Build of breakpad library disabled on this platform.")
SET(WITH_BREAKPAD OFF)
SET(WITH_CRASHREPORTER OFF)
ENDIF()
# add definitions based on build options
IF( WITH_BREAKPAD )
message(STATUS "Build with support for breakpad.")
IF( CMAKE_COMPILER_IS_GNUCXX )
ADD_DEFINITIONS( -DSTDC_HEADERS -std=gnu++98 )
ENDIF()
ENDIF()
# generate version string
# base string used in release and unstable builds
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION_MAJOR}.${TOMAHAWK_VERSION_MINOR}.${TOMAHAWK_VERSION_PATCH} )
IF( TOMAHAWK_VERSION_RC )
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION}rc${TOMAHAWK_VERSION_RC} )
ENDIF()
# additional info for non-release builds
IF( NOT BUILD_RELEASE )
INCLUDE( CMakeDateStamp )
SET( TOMAHAWK_VERSION_DATE "${CMAKE_DATESTAMP_YEAR}${CMAKE_DATESTAMP_MONTH}${CMAKE_DATESTAMP_DAY}" )
IF( TOMAHAWK_VERSION_DATE GREATER 0)
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION}.${TOMAHAWK_VERSION_DATE} )
ENDIF()
INCLUDE( CMakeVersionSource )
IF( CMAKE_VERSION_SOURCE )
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION}-${CMAKE_VERSION_SOURCE} )
ENDIF()
ENDIF()
# set paths
SET( CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_SOURCE_DIR}/CMakeModules" )
SET( THIRDPARTY_DIR ${CMAKE_SOURCE_DIR}/thirdparty )
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" )
SET( CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}" )
# Check if we need qtgui:
IF( "${gui}" STREQUAL "no" )
ADD_DEFINITIONS( -DENABLE_HEADLESS )
MESSAGE( STATUS "Building in HEADLESS mode ***" )
FIND_PACKAGE( Qt4 4.7.0 COMPONENTS QtCore QtXml QtNetwork REQUIRED )
ELSE()
MESSAGE( STATUS "Building full GUI version ***" )
FIND_PACKAGE( Qt4 4.7.0 COMPONENTS QtGui QtCore QtXml QtNetwork REQUIRED )
ENDIF()
# make predefined install dirs available everywhere
INCLUDE( GNUInstallDirs )
# installer creation
INCLUDE( TomahawkCPack.cmake )
#deps
INCLUDE( MacroOptionalFindPackage )
INCLUDE( MacroLogFeature )
# required
#While we distribute our own liblastfm2, don't need to look for it
#macro_optional_find_package(LibLastFm 0.3.3)
#macro_log_feature(LIBLASTFM_FOUND "LastFm" "Qt library for the Last.fm webservices" "https://github.com/mxcl/liblastfm" FALSE "" "liblastfm is needed for scrobbling tracks to Last.fm and fetching cover artwork")
set(LIBLASTFM_FOUND true)
# Check if we need qtgui:
SET(NEEDED_QT4_COMPONENTS QtCore QtXml QtNetwork )
IF( NOT BUILD_GUI )
ADD_DEFINITIONS( -DENABLE_HEADLESS )
MESSAGE( STATUS "Building Tomahawk ${TOMAHAWK_VERSION} in HEADLESS mode ***" )
ELSE()
MESSAGE( STATUS "Building Tomahawk ${TOMAHAWK_VERSION} full GUI version ***" )
LIST(APPEND NEEDED_QT4_COMPONENTS "QtGui" "QtWebkit" "QtUiTools" )
ENDIF()
find_package(Phonon REQUIRED)
if(PHONON_VERSION STRLESS "4.5.0")
message(FATAL_ERROR "Phonon version 4.5.0 or higher is required, you have version ${PHONON_VERSION}")
else()
message(STATUS "Phonon found; ensure that phonon-vlc is at least 0.4")
IF( BUILD_GUI AND UNIX AND NOT APPLE )
FIND_PACKAGE( X11 )
ENDIF()
macro_optional_find_package(Qt4 4.7.0 COMPONENTS ${NEEDED_QT4_COMPONENTS} )
macro_log_feature(QT4_FOUND "Qt" "A cross-platform application and UI framework" "http://qt.nokia.com" TRUE "" "If you see this, although libqt4-devel is installed, check whether the \n qtwebkit-devel package and whatever contains QtUiTools is installed too")
macro_optional_find_package(Phonon 4.5.0)
macro_log_feature(PHONON_FOUND "Phonon" "The Phonon multimedia library" "http://phonon.kde.org" TRUE "" "")
if(PHONON_FOUND)
message(STATUS "Phonon found; ensure that phonon-vlc is at least 0.4")
endif()
macro_optional_find_package(LibEchonest 1.1.7)
macro_log_feature(LIBECHONEST_FOUND "Echonest" "Qt library for communicating with The Echo Nest" "http://projects.kde.org/libechonest" TRUE "" "libechonest 1.1.8 is needed for dynamic playlists and the infosystem")
macro_optional_find_package(Echonest 2.0.0)
macro_log_feature(ECHONEST_FOUND "Echonest" "Qt library for communicating with The Echo Nest" "http://projects.kde.org/libechonest" TRUE "" "libechonest 2.0.0 is needed for dynamic playlists and the infosystem")
macro_optional_find_package(CLucene 0.9.23)
macro_log_feature(CLucene_FOUND "CLucene" "The open-source, C++ search engine" "http://clucene.sf.net" TRUE "" "CLucene is used for indexing the collection")
@@ -59,34 +115,43 @@ macro_log_feature(QJSON_FOUND "QJson" "Qt library that maps JSON data to QVarian
macro_optional_find_package(Taglib 1.6.0)
macro_log_feature(TAGLIB_FOUND "TagLib" "Audio Meta-Data Library" "http://developer.kde.org/~wheeler/taglib.html" TRUE "" "taglib is needed for reading meta data from audio files")
include( CheckTagLibFileName )
check_taglib_filename( COMPLEX_TAGLIB_FILENAME )
macro_optional_find_package(Boost)
macro_log_feature(Boost_FOUND "Boost" "Provides free peer-reviewed portable C++ source libraries" "http://www.boost.org" TRUE "" "") #FIXME: give useful explaination
macro_optional_find_package(QCA2)
macro_log_feature(QCA2_FOUND "QCA2" "Provides encryption and signing functions required for Grooveshark resolver" "http://delta.affinix.com/qca/" FALSE "" "")
macro_optional_find_package(LibAttica 0.4.0)
macro_log_feature(LIBATTICA_FOUND "libattica" "Provides support for automatic fetching and managing of resolvers from the tomahawk website" "https://projects.kde.org/projects/kdesupport/attica" TRUE "" "")
macro_optional_find_package(QuaZip)
macro_log_feature(QuaZip_FOUND "QuaZip" "Provides support for extracting downloaded resolvers automatically." "http://quazip.sourceforge.net/" TRUE "" "")
macro_optional_find_package(Jreen 1.0.5)
macro_log_feature(JREEN_FOUND "Jreen" "Qt XMPP Library" "http://qutim.org/jreen / https://github.com/euroelessar/jreen" FALSE "" "Jreen is needed for the Jabber SIP plugin.\n")
macro_optional_find_package(QTweetLib)
macro_log_feature(QTWEETLIB_FOUND "QTweetLib" "Qt Twitter Library" "https://github.com/minimoog/QTweetLib" FALSE "" "QTweetLib is needed for the Twitter SIP plugin.\n")
macro_optional_find_package(LibLastFm 1.0.0)
macro_log_feature(LIBLASTFM_FOUND "liblastfm" "Qt library for the Last.fm webservices" "https://github.com/eartle/liblastfm" TRUE "" "liblastfm is needed for scrobbling tracks to Last.fm and fetching cover artwork")
#### submodules start
# automatically init submodules here, don't delete this code we may add submodules again
# this installs headers and such and should really be handled in a separate package by packagers
IF( INTERNAL_JREEN )
ADD_SUBDIRECTORY( ${THIRDPARTY_DIR}/jreen )
SET( LIBJREEN_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/thirdparty/jreen/include )
SET( LIBJREEN_LIBRARY jreen )
SET( LIBJREEN_LIBRARIES ${LIBJREEN_LIBRARY} )
SET( LIBJREEN_FOUND true )
MESSAGE(STATUS "INTERNAL libjreen: ${LIBJREEN_INCLUDE_DIR}, ${LIBJREEN_LIBRARY}")
ELSE( INTERNAL_JREEN )
macro_optional_find_package(Jreen)
ENDIF( INTERNAL_JREEN )
macro_log_feature(LIBJREEN_FOUND "Jreen" "Qt XMPP Library" "http://gitorious.org/jreen/jreen" FALSE "" "Jreen is needed for the Jabber SIP plugin. \n\n Use -DINTERNAL_JREEN=ON to build the git submodule inside Tomahawk \n Be aware this installs a full jreen with headers and everything!\n")
# this installs headers and such and should really be handled in a separate package by packagers
IF( INTERNAL_QTWEETLIB )
ADD_SUBDIRECTORY( ${THIRDPARTY_DIR}/qtweetlib )
# copy headers to build/QTweetLib so we can use proper includes inside the code
FILE( COPY ${CMAKE_SOURCE_DIR}/thirdparty/qtweetlib/QTweetLib/src/ DESTINATION ${CMAKE_BINARY_DIR}/QTweetLib )
SET( QTWEETLIB_INCLUDE_DIR ${CMAKE_BINARY_DIR} )
SET( QTWEETLIB_LIBRARY tomahawk_qtweetlib )
SET( QTWEETLIB_LIBRARIES ${QTWEETLIB_LIBRARY} )
SET( QTWEETLIB_FOUND true )
MESSAGE(STATUS "INTERNAL libQTweetLib: ${QTWEETLIB_INCLUDE_DIR}, ${QTWEETLIB_LIBRARY}")
ELSE( INTERNAL_QTWEETLIB )
macro_optional_find_package(QTweetLib)
ENDIF( INTERNAL_QTWEETLIB )
macro_log_feature(QTWEETLIB_FOUND "QTweetLib" "Qt Twitter Library" "https://github.com/minimoog/QTweetLib" FALSE "" "QTweetLib is needed for the Twitter SIP plugin. \n\n Use -DINTERNAL_QTWEETLIB=ON to build the git submodule inside Tomahawk \n")
# IF( FALSE )
# IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.gitmodules)
# EXECUTE_PROCESS(COMMAND git submodule init WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
# EXECUTE_PROCESS(COMMAND git submodule update WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
# ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.gitmodules)
# ENDIF()
#### submodules end
### libportfwd
SET( LIBPORTFWD_INCLUDE_DIR ${THIRDPARTY_DIR}/libportfwd/include )
@@ -95,21 +160,27 @@ SET( LIBPORTFWD_LIBRARIES ${LIBPORTFWD_LIBRARY} )
ADD_SUBDIRECTORY( ${THIRDPARTY_DIR}/libportfwd )
# we need pthreads too
find_package(Threads)
macro_optional_find_package(Threads)
macro_log_feature(THREADS_FOUND "Threads" "Threading Library" "" TRUE "" "Platform specific library for threading")
find_package(KDE4Installed)
find_package(KDE4)
macro_optional_find_package(KDE4)
macro_optional_find_package(KDE4Installed)
# this was used before we had FindKDE4Installed, just leaving it here to keep the flags
# for future kde integration
# macro_optional_find_package(KDE4)
IF(KDE4_FOUND)
#KDE4 adds and removes some compiler flags that we don't like
STRING( REPLACE "-std=iso9899:1990" "" CLEAN_C_FLAGS ${CMAKE_C_FLAGS} )
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" )
IF( CMAKE_C_FLAGS )
# KDE4 adds and removes some compiler flags that we don't like
# (only for gcc not for clang e.g.)
STRING( REPLACE "-std=iso9899:1990" "" CLEAN_C_FLAGS ${CMAKE_C_FLAGS} )
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" )
ENDIF()
ELSE()
SET( CLEAN_C_FLAGS ${CMAKE_C_FLAGS} )
ENDIF()
include( CheckTagLibFileName )
check_taglib_filename( COMPLEX_TAGLIB_FILENAME )
IF( WIN32 )
find_library(QTSPARKLE_LIBRARIES qtsparkle)
ENDIF( WIN32 )

View File

@@ -1,3 +1,5 @@
SET(WINDRES_EXECUTABLE ${CMAKE_RC_COMPILER})
# This macro is taken from kdelibs/cmake/modules/KDE4Macros.cmake.
#
# Copyright (c) 2006-2009 Alexander Neundorf, <neundorf@kde.org>

View File

@@ -0,0 +1,99 @@
MACRO(PARSE_ARGUMENTS prefix arg_names option_names)
SET(DEFAULT_ARGS)
FOREACH(arg_name ${arg_names})
SET(${prefix}_${arg_name})
ENDFOREACH(arg_name)
FOREACH(option ${option_names})
SET(${prefix}_${option} FALSE)
ENDFOREACH(option)
SET(current_arg_name DEFAULT_ARGS)
SET(current_arg_list)
FOREACH(arg ${ARGN})
SET(larg_names ${arg_names})
LIST(FIND larg_names "${arg}" is_arg_name)
IF (is_arg_name GREATER -1)
SET(${prefix}_${current_arg_name} ${current_arg_list})
SET(current_arg_name ${arg})
SET(current_arg_list)
ELSE (is_arg_name GREATER -1)
SET(loption_names ${option_names})
LIST(FIND loption_names "${arg}" is_option)
IF (is_option GREATER -1)
SET(${prefix}_${arg} TRUE)
ELSE (is_option GREATER -1)
SET(current_arg_list ${current_arg_list} ${arg})
ENDIF (is_option GREATER -1)
ENDIF (is_arg_name GREATER -1)
ENDFOREACH(arg)
SET(${prefix}_${current_arg_name} ${current_arg_list})
ENDMACRO(PARSE_ARGUMENTS)
MACRO(CAR var)
SET(${var} ${ARGV1})
ENDMACRO(CAR)
MACRO(CDR var junk)
SET(${var} ${ARGN})
ENDMACRO(CDR)
macro(add_tomahawk_plugin)
parse_arguments(PLUGIN
"SOURCES;UI;LINK_LIBRARIES;TYPE;EXPORT_MACRO;COMPILE_DEFINITIONS"
"NO_INSTALL"
${ARGN}
)
car(PLUGIN_NAME ${PLUGIN_DEFAULT_ARGS})
# message("*** Arguments for ${PLUGIN_NAME}")
# message("Sources: ${PLUGIN_SOURCES}")
# message("Link libraries: ${PLUGIN_LINK_LIBRARIES}")
# message("UI: ${PLUGIN_UI}")
# message("TYPE: ${PLUGIN_TYPE}")
# message("EXPORT_MACRO: ${PLUGIN_EXPORT_MACRO}")
# create target name once for convenience
set(target "tomahawk_${PLUGIN_TYPE}_${PLUGIN_NAME}")
# qt stuff
include_directories(${CMAKE_CURRENT_BINARY_DIR})
if(PLUGIN_UI)
qt4_wrap_ui(PLUGIN_UI_SOURCES ${PLUGIN_UI})
list(APPEND PLUGIN_SOURCES ${PLUGIN_UI_SOURCES})
endif()
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/resources.qrc")
qt4_add_resources(PLUGIN_RC_SOURCES "resources.qrc")
list(APPEND PLUGIN_SOURCES ${PLUGIN_RC_SOURCES})
unset(PLUGIN_RC_SOURCES)
endif()
# add target
add_library(${target} MODULE ${PLUGIN_SOURCES})
# definitions - can this be moved into set_target_properties below?
add_definitions(${QT_DEFINITIONS})
set_target_properties(${target} PROPERTIES AUTOMOC TRUE COMPILE_DEFINITIONS ${PLUGIN_EXPORT_MACRO})
if(PLUGIN_COMPILE_DEFINITIONS)
# Dear CMake, i hate you! Sincerely, domme
# At least in CMake 2.8.8, you CANNOT set more than one COMPILE_DEFINITIONS value
# only takes the first one if called multiple times or bails out with wrong number of arguments
# when passing in a list, thus i redefine the export macro here in hope it won't mess up other targets
add_definitions( "-D${PLUGIN_EXPORT_MACRO}" )
set_target_properties(${target} PROPERTIES COMPILE_DEFINITIONS ${PLUGIN_COMPILE_DEFINITIONS})
endif()
# add link targets
target_link_libraries(${target} tomahawklib)
if(PLUGIN_LINK_LIBRARIES)
target_link_libraries(${target} ${PLUGIN_LINK_LIBRARIES})
endif()
# make installation optional, maybe useful for dummy plugins one day
if(NOT PLUGIN_NO_INSTALL)
include(GNUInstallDirs)
install(TARGETS ${target} DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
endmacro()

View File

@@ -0,0 +1,23 @@
find_program(DATE_EXECUTABLE NAMES date)
mark_as_advanced(DATE_EXECUTABLE)
if(DATE_EXECUTABLE)
execute_process(
COMMAND ${DATE_EXECUTABLE} +%Y
OUTPUT_VARIABLE CMAKE_DATESTAMP_YEAR
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
execute_process(
COMMAND ${DATE_EXECUTABLE} +%m
OUTPUT_VARIABLE CMAKE_DATESTAMP_MONTH
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
execute_process(
COMMAND ${DATE_EXECUTABLE} +%d
OUTPUT_VARIABLE CMAKE_DATESTAMP_DAY
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
endif()

View File

@@ -0,0 +1,45 @@
# Try to identify the current development source version.
set(CMAKE_VERSION_SOURCE "")
if(EXISTS ${CMAKE_SOURCE_DIR}/.git/HEAD)
find_program(GIT_EXECUTABLE NAMES git git.cmd)
mark_as_advanced(GIT_EXECUTABLE)
if(GIT_EXECUTABLE)
execute_process(
COMMAND ${GIT_EXECUTABLE} rev-parse --verify -q --short=7 HEAD
OUTPUT_VARIABLE head
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
if(head)
set(branch "")
execute_process(
COMMAND ${GIT_EXECUTABLE} name-rev HEAD
OUTPUT_VARIABLE branch
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
string(REGEX REPLACE "HEAD " "" branch "${branch}")
set(CMAKE_VERSION_SOURCE "git-${branch}-${head}")
execute_process(
COMMAND ${GIT_EXECUTABLE} update-index -q --refresh
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
execute_process(
COMMAND ${GIT_EXECUTABLE} diff-index --name-only HEAD --
OUTPUT_VARIABLE dirty
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
if(dirty)
set(CMAKE_VERSION_SOURCE "${CMAKE_VERSION_SOURCE}-dirty")
endif()
endif()
endif()
elseif(EXISTS ${CMAKE_SOURCE_DIR}/CVS/Repository)
file(READ ${CMAKE_SOURCE_DIR}/CVS/Repository repo)
set(branch "")
if("${repo}" MATCHES "\\.git/")
string(REGEX REPLACE ".*\\.git/([^\r\n]*).*" "-\\1" branch "${repo}")
endif()
set(CMAKE_VERSION_SOURCE "cvs${branch}")
endif()

View File

@@ -2,6 +2,7 @@
# This module looks for clucene (http://clucene.sf.net) support
# It will define the following values
#
# CLUCENE_INCLUDE_DIRS = CLUCENE_INCLUDE_DIR + CLUCENE_LIBRARY_DIR
# CLUCENE_INCLUDE_DIR = where CLucene/StdHeader.h can be found
# CLUCENE_LIBRARY_DIR = where CLucene/clucene-config.h can be found
# CLUCENE_LIBRARIES = the libraries to link against CLucene
@@ -12,9 +13,21 @@
INCLUDE(CheckSymbolExists)
INCLUDE(FindLibraryWithDebug)
if(NOT CLUCENE_MIN_VERSION)
set(CLUCENE_MIN_VERSION "0.9.23")
endif(NOT CLUCENE_MIN_VERSION)
# try to locate a patched unstable version (for comp's sake *sigh*) first
FIND_PACKAGE(CLuceneUnstable)
IF(CLUCENEUNSTABLE_FOUND)
SET(CLucene_FOUND TRUE)
SET(CLUCENE_INCLUDE_DIR ${CLUCENE_UNSTABLE_INCLUDE_DIRS})
SET(CLUCENE_INCLUDE_DIRS ${CLUCENE_INCLUDE_DIR})
SET(CLUCENE_LIBRARIES ${CLUCENE_UNSTABLE_LIBS})
#MESSAGE(FATAL_ERROR NARF)
ELSE(CLUCENEUNSTABLE_FOUND)
IF(CLucene_FIND_VERSION)
SET(CLUCENE_MIN_VERSION ${CLucene_FIND_VERSION})
ELSEIF()
SET(CLUCENE_MIN_VERSION "0.9.23")
ENDIF(CLucene_FIND_VERSION)
IF(EXISTS ${PROJECT_CMAKE}/CLuceneConfig.cmake)
INCLUDE(${PROJECT_CMAKE}/CLuceneConfig.cmake)
@@ -95,8 +108,11 @@ ENDIF (CLUCENE_LIBRARY_DIR)
IF(CLUCENE_INCLUDE_DIR AND CLUCENE_LIBRARIES AND CLUCENE_LIBRARY_DIR AND CLUCENE_GOOD_VERSION)
SET(CLucene_FOUND TRUE)
SET(CLUCENE_INCLUDE_DIRS ${CLUCENE_LIBRARY_DIR} ${CLUCENE_INCLUDE_DIR})
ENDIF(CLUCENE_INCLUDE_DIR AND CLUCENE_LIBRARIES AND CLUCENE_LIBRARY_DIR AND CLUCENE_GOOD_VERSION)
ENDIF(CLUCENEUNSTABLE_FOUND)
IF(CLucene_FOUND)
IF(NOT CLucene_FIND_QUIETLY)
MESSAGE(STATUS "Found CLucene: ${CLUCENE_LIBRARIES} version ${CLUCENE_VERSION}")
@@ -108,7 +124,8 @@ ELSE(CLucene_FOUND)
ENDIF(CLucene_FOUND)
MARK_AS_ADVANCED(
CLUCENE_INCLUDE_DIR
CLUCENE_LIBRARY_DIR
CLUCENE_INCLUDE_DIRS
CLUCENE_INCLUDE_DIR
CLUCENE_LIBRARY_DIR
CLUCENE_LIBRARIES
)

View File

@@ -0,0 +1,37 @@
# - Try to find clucene-unstable
# This is a workaround for distros, that want to ship a recent enough clucene but don't want to replace the old version
#
# CLUCENEUNSTABLE_FOUND - system has clucene-unstable
# CLUCENE_UNSTABLE_INCLUDE_DIR - the clucene-unstable include directories
# CLUCENE_UNSTABLE_LIBS - link these to use clucene-unstable
#
# (c) Dominik Schmidt <dev@dominik-schmidt.de>
#
# Include dir
find_path(CLUCENE_UNSTABLE_INCLUDE_DIR
NAMES CLucene.h
PATH_SUFFIXES clucene-unstable
PATHS ${KDE4_INCLUDE_DIR}
)
# Finally the library itself
find_library(CLUCENE_UNSTABLE_SHARED_LIB
NAMES clucene-unstable-shared
PATHS ${KDE4_LIB_DIR}
)
find_library(CLUCENE_UNSTABLE_CORE_LIB
NAMES clucene-unstable-core
PATHS ${KDE4_LIB_DIR}
)
SET( CLUCENE_UNSTABLE_LIBS ${CLUCENE_UNSTABLE_SHARED_LIB} ${CLUCENE_UNSTABLE_CORE_LIB} )
SET( CLUCENE_UNSTABLE_INCLUDE_DIRS ${CLUCENE_UNSTABLE_INCLUDE_DIR})
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(CLuceneUnstable DEFAULT_MSG CLUCENE_UNSTABLE_LIBS CLUCENE_UNSTABLE_INCLUDE_DIRS)
MARK_AS_ADVANCED(CLUCENE_UNSTABLE_LIBS CLUCENE_UNSTABLE_INCLUDE_DIRS)

View File

@@ -0,0 +1,36 @@
# - Find libechonest
# Find the libechonest includes and the libechonest libraries
# This module defines
# ECHONEST_INCLUDE_DIR, root echonest include dir. Include echonest includes with echonest/foo.h
# ECHONEST_LIBRARIES, the path to libechonest
# ECHONEST_FOUND, whether libechonest was found
FIND_PACKAGE(PkgConfig QUIET)
PKG_CHECK_MODULES(PC_ECHONEST QUIET libechonest)
FIND_PATH(ECHONEST_INCLUDE_DIR NAMES echonest/Track.h
HINTS
${PC_ECHONEST_INCLUDEDIR}
${PC_ECHONEST_INCLUDE_DIRS}
${CMAKE_INSTALL_INCLUDEDIR}
${KDE4_INCLUDE_DIR}
)
FIND_LIBRARY(ECHONEST_LIBRARIES NAMES echonest
HINTS
${PC_ECHONEST_LIBDIR}
${PC_ECHONEST_LIBRARY_DIRS}
${CMAKE_INSTALL_LIBDIR}
${KDE4_LIB_DIR}
)
IF(ECHONEST_LIBRARIES AND ECHONEST_INCLUDE_DIR AND NOT PC_ECHONEST_VERSION)
MESSAGE(WARNING "You don't have pkg-config and so the libechonest version check does not work!")
ENDIF()
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Echonest
REQUIRED_VARS ECHONEST_LIBRARIES ECHONEST_INCLUDE_DIR
VERSION_VAR PC_ECHONEST_VERSION)
MARK_AS_ADVANCED(ECHONEST_INCLUDE_DIR ECHONEST_LIBRARIES)

View File

@@ -1,23 +0,0 @@
# - Try to find GLOOX
# Find GLOOX headers, libraries and the answer to all questions.
#
# GLOOX_FOUND True if gloox got found
# GLOOX_INCLUDE_DIR Location of gloox headers
# GLOOX_LIBRARIES List of libaries to use gloox
#
# Copyright (c) 2009 Nigmatullin Ruslan <euroelessar@gmail.com>
#
# Redistribution and use is allowed according to the terms of the New
# BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
FIND_PATH( GLOOX_INCLUDE_DIR "gloox/gloox.h" )
FIND_LIBRARY( GLOOX_LIBRARIES gloox )
if( GLOOX_LIBRARIES AND GLOOX_INCLUDE_DIR )
message( STATUS "Found gloox: ${GLOOX_LIBRARIES}" )
set( GLOOX_FOUND 1 )
else( GLOOX_LIBRARIES AND GLOOX_INCLUDE_DIR )
message( STATUS "Could NOT find gloox" )
endif( GLOOX_LIBRARIES AND GLOOX_INCLUDE_DIR )

View File

@@ -5,40 +5,31 @@
# LIBJREEN_LIBRARY, the path to libjreen
# LIBJREEN_FOUND, whether libjreen was found
FIND_PACKAGE(PkgConfig QUIET)
PKG_CHECK_MODULES(PC_JREEN QUIET libjreen)
find_path(LIBJREEN_INCLUDE_DIR NAMES jreen/jreen.h
HINTS
~/usr/include
/opt/local/include
/usr/include
/usr/local/include
/opt/kde4/include
${CMAKE_INSTALL_PREFIX}/include
${KDE4_INCLUDE_DIR}
FIND_PATH(JREEN_INCLUDE_DIR NAMES jreen/jreen.h
HINTS
${PC_JREEN_INCLUDEDIR}
${PC_JREEN_INCLUDE_DIRS}
${CMAKE_INSTALL_INCLUDEDIR}
${KDE4_INCLUDE_DIR}
)
find_library( LIBJREEN_LIBRARY NAMES jreen
PATHS
~/usr/lib
/opt/local/lib
/usr/lib
/usr/lib64
/usr/local/lib
/opt/kde4/lib
${CMAKE_INSTALL_PREFIX}/lib
${CMAKE_INSTALL_PREFIX}/lib64
${KDE4_LIB_DIR}
FIND_LIBRARY(JREEN_LIBRARIES NAMES jreen
HINTS
${PC_JREEN_LIBDIR}
${PC_JREEN_LIBRARY_DIRS}
${CMAKE_INSTALL_LIBDIR}
${KDE4_LIB_DIR}
)
IF(JREEN_LIBRARIES AND JREEN_INCLUDE_DIR AND NOT PC_JREEN_VERSION)
MESSAGE(WARNING "You don't have pkg-config and so the Jreen version check does not work!")
ENDIF()
if(LIBJREEN_INCLUDE_DIR AND LIBJREEN_LIBRARY)
set(LIBJREEN_FOUND TRUE)
message(STATUS "Found libjreen: ${LIBJREEN_INCLUDE_DIR}, ${LIBJREEN_LIBRARY}")
else(LIBJREEN_INCLUDE_DIR AND LIBJREEN_LIBRARY)
set(LIBJREEN_FOUND FALSE)
if (LIBJREEN_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find required package libjreen")
endif(LIBJREEN_FIND_REQUIRED)
endif(LIBJREEN_INCLUDE_DIR AND LIBJREEN_LIBRARY)
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Jreen
REQUIRED_VARS JREEN_LIBRARIES JREEN_INCLUDE_DIR)
mark_as_advanced(LIBJREEN_INCLUDE_DIR LIBJREEN_LIBRARY)
MARK_AS_ADVANCED(JREEN_INCLUDE_DIR JREEN_LIBRARIES)

View File

@@ -0,0 +1,63 @@
# Try to find the Attica library
# Once done this will define
#
# LIBATTICA_FOUND Indicates that Attica was found
# LIBATTICA_LIBRARIES Libraries needed to use Attica
# LIBATTICA_LIBRARY_DIRS Paths needed for linking against Attica
# LIBATTICA_INCLUDE_DIR Path needed for finding Attica include files
#
# The minimum required version of LibAttica can be specified using the
# standard syntax, e.g. find_package(LibAttica 0.20)
# Copyright (c) 2009 Frederik Gladhorn <gladhorn@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# Support LIBATTICA_MIN_VERSION for compatibility:
IF(NOT LibAttica_FIND_VERSION)
SET(LibAttica_FIND_VERSION "${LIBATTICA_MIN_VERSION}")
ENDIF(NOT LibAttica_FIND_VERSION)
# the minimum version of LibAttica we require
IF(NOT LibAttica_FIND_VERSION)
SET(LibAttica_FIND_VERSION "0.1.0")
ENDIF(NOT LibAttica_FIND_VERSION)
IF (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
FIND_PACKAGE(PkgConfig)
PKG_CHECK_MODULES(PC_LIBATTICA QUIET libattica)
SET(LIBATTICA_DEFINITIONS ${PC_ATTICA_CFLAGS_OTHER})
ENDIF (NOT WIN32)
FIND_PATH(LIBATTICA_INCLUDE_DIR attica/provider.h
HINTS
${PC_LIBATTICA_INCLUDEDIR}
${PC_LIBATTICA_INCLUDE_DIRS}
PATH_SUFFIXES attica
)
# Store the version number in the cache, so we don't have to search everytime:
IF(LIBATTICA_INCLUDE_DIR AND NOT LIBATTICA_VERSION)
FILE(READ ${LIBATTICA_INCLUDE_DIR}/attica/version.h LIBATTICA_VERSION_CONTENT)
STRING (REGEX MATCH "LIBATTICA_VERSION_STRING \".*\"\n" LIBATTICA_VERSION_MATCH "${LIBATTICA_VERSION_CONTENT}")
IF(LIBATTICA_VERSION_MATCH)
STRING(REGEX REPLACE "LIBATTICA_VERSION_STRING \"(.*)\"\n" "\\1" _LIBATTICA_VERSION ${LIBATTICA_VERSION_MATCH})
ENDIF(LIBATTICA_VERSION_MATCH)
SET(LIBATTICA_VERSION "${_LIBATTICA_VERSION}" CACHE STRING "Version number of LibAttica" FORCE)
ENDIF(LIBATTICA_INCLUDE_DIR AND NOT LIBATTICA_VERSION)
FIND_LIBRARY(LIBATTICA_LIBRARIES NAMES attica libattica
HINTS
${PC_LIBATTICA_LIBDIR}
${PC_LIBATTICA_LIBRARY_DIRS}
)
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibAttica REQUIRED_VARS LIBATTICA_LIBRARIES LIBATTICA_INCLUDE_DIR
VERSION_VAR LIBATTICA_VERSION)
MARK_AS_ADVANCED(LIBATTICA_INCLUDE_DIR LIBATTICA_LIBRARIES)

View File

@@ -1,42 +0,0 @@
# - Find libechonest
# Find the libechonest includes and the libechonest libraries
# This module defines
# LIBECHONEST_INCLUDE_DIR, root echonest include dir. Include echonest includes with echonest/foo.h
# LIBECHONEST_LIBRARY, the path to libechonest
# LIBECHONEST_FOUND, whether libechonest was found
find_path(LIBECHONEST_INCLUDE_DIR NAMES echonest_export.h
HINTS
~/usr/include
/opt/local/include
/usr/include
/usr/local/include
/opt/kde4/include
${KDE4_INCLUDE_DIR}
PATH_SUFFIXES echonest
)
find_library( LIBECHONEST_LIBRARY NAMES echonest
PATHS
~/usr/lib
/opt/local/lib
/usr/lib
/usr/lib64
/usr/local/lib
/opt/kde4/lib
${KDE4_LIB_DIR}
)
if(LIBECHONEST_INCLUDE_DIR AND LIBECHONEST_LIBRARY)
set(LIBECHONEST_FOUND TRUE)
message(STATUS "Found libechonest: ${LIBECHONEST_INCLUDE_DIR}, ${LIBECHONEST_LIBRARY}")
else(LIBECHONEST_INCLUDE_DIR AND LIBECHONEST_LIBRARY)
set(LIBECHONEST_FOUND FALSE)
if (LIBECHONEST_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find required package libechonest")
endif(LIBECHONEST_FIND_REQUIRED)
endif(LIBECHONEST_INCLUDE_DIR AND LIBECHONEST_LIBRARY)
mark_as_advanced(LIBECHONEST_INCLUDE_DIR LIBECHONEST_LIBRARY)

View File

@@ -1,42 +1,34 @@
# - Find LibLastFM
# Find the liblastfm includes and the liblastfm libraries
# This module defines
# LIBLASTFM_INCLUDE_DIR, root lastfm include dir
# LIBLASTFM_LIBRARY, the path to liblastfm
# LIBLASTFM_FOUND, whether liblastfm was found
# - Try to find LibLastFm
#
# LIBLASTFM_FOUND - system has liblastfm
# LIBLASTFM_INCLUDE_DIRS - the liblastfm include directories
# LIBLASTFM_LIBRARIES - link these to use liblastfm
#
# (c) Dominik Schmidt <dev@dominik-schmidt.de>
#
# Dependencies
if(NOT QT4_FOUND)
find_package(Qt4 REQUIRED)
endif()
find_path(LIBLASTFM_INCLUDE_DIR NAMES Audioscrobbler
HINTS
~/usr/include
/opt/local/include
/usr/local/include
/usr/include
/opt/kde4/include
${KDE4_INCLUDE_DIR}
PATH_SUFFIXES lastfm
# Include dir
find_path(LIBLASTFM_INCLUDE_DIR
# Track.h doesn't exist in liblastfm-0.3.1, was called Track back then
NAMES lastfm/Track.h
PATHS ${KDE4_INCLUDE_DIR}
)
find_library( LIBLASTFM_LIBRARY NAMES lastfm
PATHS
~/usr/lib
/opt/local/lib
/usr/local/lib
/usr/lib
/usr/lib64
/opt/kde4/lib
${KDE4_LIB_DIR}
# Finally the library itself
find_library(LIBLASTFM_LIBRARY
NAMES lastfm
PATHS ${KDE4_LIB_DIR}
)
set(LIBLASTFM_LIBRARIES ${LIBLASTFM_LIBRARY})
set(LIBLASTFM_INCLUDE_DIRS ${LIBLASTFM_INCLUDE_DIR})
if(LIBLASTFM_INCLUDE_DIR AND LIBLASTFM_LIBRARY)
set(LIBLASTFM_FOUND TRUE)
message(STATUS "Found liblastfm: ${LIBLASTFM_INCLUDE_DIR}, ${LIBLASTFM_LIBRARY}")
else(LIBLASTFM_INCLUDE_DIR AND LIBLASTFM_LIBRARY)
set(LIBLASTFM_FOUND FALSE)
if (LIBLASTFM_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find required package LibLastFm")
endif(LIBLASTFM_FIND_REQUIRED)
endif(LIBLASTFM_INCLUDE_DIR AND LIBLASTFM_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LibLastFm DEFAULT_MSG LIBLASTFM_LIBRARIES LIBLASTFM_INCLUDE_DIRS)
mark_as_advanced(LIBLASTFM_INCLUDE_DIR LIBLASTFM_LIBRARY)
mark_as_advanced(LIBLASTFM_LIBRARIES LIBLASTFM_INCLUDE_DIRS)

View File

@@ -19,53 +19,19 @@ macro(_phonon_find_version)
file(READ ${_phonon_namespace_header_file} _phonon_header LIMIT 5000 OFFSET 1000)
string(REGEX MATCH "define PHONON_VERSION_STR \"(4\\.[0-9]+\\.[0-9a-z]+)\"" _phonon_version_match "${_phonon_header}")
set(PHONON_VERSION "${CMAKE_MATCH_1}")
message(STATUS "Phonon Version: ${PHONON_VERSION}")
endmacro(_phonon_find_version)
if(PHONON_FOUND)
# Already found, nothing more to do except figuring out the version
# the dirs listed with HINTS are searched before the default sets of dirs
find_library(PHONON_LIBRARY NAMES phonon HINTS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR})
find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h HINTS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} ${QT_LIBRARY_DIR})
if(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
set(PHONON_LIBS ${phonon_LIB_DEPENDS} ${PHONON_LIBRARY})
set(PHONON_INCLUDES ${PHONON_INCLUDE_DIR}/KDE ${PHONON_INCLUDE_DIR})
_phonon_find_version()
else(PHONON_FOUND)
if(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
set(PHONON_FIND_QUIETLY TRUE)
endif(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
endif(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
# As discussed on kde-buildsystem: first look at CMAKE_PREFIX_PATH, then at the suggested PATHS (kde4 install dir)
find_library(PHONON_LIBRARY NAMES phonon phonon4 PATHS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR})
# then at the default system locations (CMAKE_SYSTEM_PREFIX_PATH, i.e. /usr etc.)
find_library(PHONON_LIBRARY NAMES phonon phonon4)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Phonon DEFAULT_MSG PHONON_INCLUDE_DIR PHONON_LIBRARY)
find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h PATHS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} ${QT_LIBRARY_DIR})
find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h)
if(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
set(PHONON_LIBS ${phonon_LIB_DEPENDS} ${PHONON_LIBRARY})
set(PHONON_INCLUDES ${PHONON_INCLUDE_DIR}/KDE ${PHONON_INCLUDE_DIR})
set(PHONON_FOUND TRUE)
_phonon_find_version()
else(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
set(PHONON_FOUND FALSE)
endif(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
if(PHONON_FOUND)
if(NOT PHONON_FIND_QUIETLY)
message(STATUS "Found Phonon: ${PHONON_LIBRARY}")
message(STATUS "Found Phonon Includes: ${PHONON_INCLUDES}")
endif(NOT PHONON_FIND_QUIETLY)
else(PHONON_FOUND)
if(Phonon_FIND_REQUIRED)
if(NOT PHONON_INCLUDE_DIR)
message(STATUS "Phonon includes NOT found!")
endif(NOT PHONON_INCLUDE_DIR)
if(NOT PHONON_LIBRARY)
message(STATUS "Phonon library NOT found!")
endif(NOT PHONON_LIBRARY)
message(FATAL_ERROR "Phonon library or includes NOT found!")
else(Phonon_FIND_REQUIRED)
message(STATUS "Unable to find Phonon")
endif(Phonon_FIND_REQUIRED)
endif(PHONON_FOUND)
mark_as_advanced(PHONON_INCLUDE_DIR PHONON_LIBRARY PHONON_INCLUDES)
endif(PHONON_FOUND)
mark_as_advanced(PHONON_INCLUDE_DIR PHONON_LIBRARY)

View File

@@ -0,0 +1,50 @@
# - Try to find QCA2 (Qt Cryptography Architecture 2)
# Once done this will define
#
# QCA2_FOUND - system has QCA2
# QCA2_INCLUDE_DIR - the QCA2 include directory
# QCA2_LIBRARIES - the libraries needed to use QCA2
# QCA2_DEFINITIONS - Compiler switches required for using QCA2
#
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
# Copyright (c) 2006, Michael Larouche, <michael.larouche@kdemail.net>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
include(FindLibraryWithDebug)
if (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES)
# in cache already
set(QCA2_FOUND TRUE)
else (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES)
if (NOT WIN32)
find_package(PkgConfig)
pkg_check_modules(PC_QCA2 qca2)
set(QCA2_DEFINITIONS ${PC_QCA2_CFLAGS_OTHER})
endif (NOT WIN32)
find_library_with_debug(QCA2_LIBRARIES
WIN32_DEBUG_POSTFIX d
NAMES qca
HINTS ${PC_QCA2_LIBDIR} ${PC_QCA2_LIBRARY_DIRS}
)
find_path(QCA2_INCLUDE_DIR qca.h
HINTS ${PC_QCA2_INCLUDEDIR} ${PC_QCA2_INCLUDE_DIRS}
PATH_SUFFIXES QtCrypto
PATHS /usr/local/lib/qca.framework/Headers/
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QCA2 DEFAULT_MSG QCA2_LIBRARIES QCA2_INCLUDE_DIR)
mark_as_advanced(QCA2_INCLUDE_DIR QCA2_LIBRARIES)
endif (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES)

View File

@@ -0,0 +1,11 @@
find_package(Qt4)
find_path(QuaZip_INCLUDE_DIR quazip.h ${CMAKE_INSTALL_PREFIX}/include/quazip ${CMAKE_INSTALL_PREFIX}/include /usr/include/quazip /usr/local/include/quazip ${QT_INCLUDE_DIR}/quazip ${QT_INCLUDE_DIR} ${QUAZIP_DIR}/include/quazip ${QUAZIP_DIR}/quazip ${QUAZIP_DIR}/include)
find_library(QuaZip_LIBRARY NAMES quazip PATHS ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_INSTALL_PREFIX}/Library/Frameworks ${QUAZIP_DIR}/lib64 ${QUAZIP_DIR}/lib ${QUAZIP_DIR}/quazip ${QUAZIP_DIR})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(quazip DEFAULT_MSG QuaZip_LIBRARY QuaZip_INCLUDE_DIR)
set(QuaZip_LIBRARIES ${QuaZip_LIBRARY})
mark_as_advanced(QuaZip_LIBRARY QuaZip_INCLUDE_DIR)
if(QuaZip_LIBRARY AND QuaZip_INCLUDE_DIR)
set(QuaZip_FOUND TRUE)
endif()

View File

@@ -56,7 +56,7 @@ ELSE()
include(FindLibraryWithDebug)
include(FindPackageHandleStandardArgs)
find_path(TAGLIB_CFLAGS
find_path(TAGLIB_INCLUDES
NAMES
tag.h
PATH_SUFFIXES taglib

View File

@@ -0,0 +1,182 @@
# - Define GNU standard installation directories
# Provides install directory variables as defined for GNU software:
# http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
# Inclusion of this module defines the following variables:
# CMAKE_INSTALL_<dir> - destination for files of a given type
# CMAKE_INSTALL_FULL_<dir> - corresponding absolute path
# where <dir> is one of:
# BINDIR - user executables (bin)
# SBINDIR - system admin executables (sbin)
# LIBEXECDIR - program executables (libexec)
# SYSCONFDIR - read-only single-machine data (etc)
# SHAREDSTATEDIR - modifiable architecture-independent data (com)
# LOCALSTATEDIR - modifiable single-machine data (var)
# LIBDIR - object code libraries (lib or lib64)
# INCLUDEDIR - C header files (include)
# OLDINCLUDEDIR - C header files for non-gcc (/usr/include)
# DATAROOTDIR - read-only architecture-independent data root (share)
# DATADIR - read-only architecture-independent data (DATAROOTDIR)
# INFODIR - info documentation (DATAROOTDIR/info)
# LOCALEDIR - locale-dependent data (DATAROOTDIR/locale)
# MANDIR - man documentation (DATAROOTDIR/man)
# DOCDIR - documentation root (DATAROOTDIR/doc/PROJECT_NAME)
# Each CMAKE_INSTALL_<dir> value may be passed to the DESTINATION options of
# install() commands for the corresponding file type. If the includer does
# not define a value the above-shown default will be used and the value will
# appear in the cache for editing by the user.
# Each CMAKE_INSTALL_FULL_<dir> value contains an absolute path constructed
# from the corresponding destination by prepending (if necessary) the value
# of CMAKE_INSTALL_PREFIX.
#=============================================================================
# Copyright 2011 Nikita Krupen'ko <krnekit@gmail.com>
# Copyright 2011 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
# Installation directories
#
if(NOT DEFINED CMAKE_INSTALL_BINDIR)
set(CMAKE_INSTALL_BINDIR "bin" CACHE PATH "user executables (bin)")
endif()
if(NOT DEFINED CMAKE_INSTALL_SBINDIR)
set(CMAKE_INSTALL_SBINDIR "sbin" CACHE PATH "system admin executables (sbin)")
endif()
if(NOT DEFINED CMAKE_INSTALL_LIBEXECDIR)
set(CMAKE_INSTALL_LIBEXECDIR "libexec" CACHE PATH "program executables (libexec)")
endif()
if(NOT DEFINED CMAKE_INSTALL_SYSCONFDIR)
set(CMAKE_INSTALL_SYSCONFDIR "etc" CACHE PATH "read-only single-machine data (etc)")
endif()
if(NOT DEFINED CMAKE_INSTALL_SHAREDSTATEDIR)
set(CMAKE_INSTALL_SHAREDSTATEDIR "com" CACHE PATH "modifiable architecture-independent data (com)")
endif()
if(NOT DEFINED CMAKE_INSTALL_LOCALSTATEDIR)
set(CMAKE_INSTALL_LOCALSTATEDIR "var" CACHE PATH "modifiable single-machine data (var)")
endif()
if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
set(_LIBDIR_DEFAULT "lib")
# Override this default 'lib' with 'lib64' iff:
# - we are on Linux system but NOT cross-compiling
# - we are NOT on debian
# - we are on a 64 bits system
# reason is: amd64 ABI: http://www.x86-64.org/documentation/abi.pdf
# Note that the future of multi-arch handling may be even
# more complicated than that: http://wiki.debian.org/Multiarch
if(CMAKE_SYSTEM_NAME MATCHES "Linux"
AND NOT CMAKE_CROSSCOMPILING
AND NOT EXISTS "/etc/debian_version")
if(NOT DEFINED CMAKE_SIZEOF_VOID_P)
message(AUTHOR_WARNING
"Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. "
"Please enable at least one language before including GNUInstallDirs.")
else()
if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
set(_LIBDIR_DEFAULT "lib64")
endif()
endif()
endif()
set(CMAKE_INSTALL_LIBDIR "${_LIBDIR_DEFAULT}" CACHE PATH "object code libraries (${_LIBDIR_DEFAULT})")
endif()
if(NOT DEFINED CMAKE_INSTALL_INCLUDEDIR)
set(CMAKE_INSTALL_INCLUDEDIR "include" CACHE PATH "C header files (include)")
endif()
if(NOT DEFINED CMAKE_INSTALL_OLDINCLUDEDIR)
set(CMAKE_INSTALL_OLDINCLUDEDIR "/usr/include" CACHE PATH "C header files for non-gcc (/usr/include)")
endif()
if(NOT DEFINED CMAKE_INSTALL_DATAROOTDIR)
set(CMAKE_INSTALL_DATAROOTDIR "share" CACHE PATH "read-only architecture-independent data root (share)")
endif()
#-----------------------------------------------------------------------------
# Values whose defaults are relative to DATAROOTDIR. Store empty values in
# the cache and store the defaults in local variables if the cache values are
# not set explicitly. This auto-updates the defaults as DATAROOTDIR changes.
if(NOT CMAKE_INSTALL_DATADIR)
set(CMAKE_INSTALL_DATADIR "" CACHE PATH "read-only architecture-independent data (DATAROOTDIR)")
set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}")
endif()
if(NOT CMAKE_INSTALL_INFODIR)
set(CMAKE_INSTALL_INFODIR "" CACHE PATH "info documentation (DATAROOTDIR/info)")
set(CMAKE_INSTALL_INFODIR "${CMAKE_INSTALL_DATAROOTDIR}/info")
endif()
if(NOT CMAKE_INSTALL_LOCALEDIR)
set(CMAKE_INSTALL_LOCALEDIR "" CACHE PATH "locale-dependent data (DATAROOTDIR/locale)")
set(CMAKE_INSTALL_LOCALEDIR "${CMAKE_INSTALL_DATAROOTDIR}/locale")
endif()
if(NOT CMAKE_INSTALL_MANDIR)
set(CMAKE_INSTALL_MANDIR "" CACHE PATH "man documentation (DATAROOTDIR/man)")
set(CMAKE_INSTALL_MANDIR "${CMAKE_INSTALL_DATAROOTDIR}/man")
endif()
if(NOT CMAKE_INSTALL_DOCDIR)
set(CMAKE_INSTALL_DOCDIR "" CACHE PATH "documentation root (DATAROOTDIR/doc/PROJECT_NAME)")
set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}")
endif()
#-----------------------------------------------------------------------------
mark_as_advanced(
CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_DOCDIR
)
# Result directories
#
foreach(dir
BINDIR
SBINDIR
LIBEXECDIR
SYSCONFDIR
SHAREDSTATEDIR
LOCALSTATEDIR
LIBDIR
INCLUDEDIR
OLDINCLUDEDIR
DATAROOTDIR
DATADIR
INFODIR
LOCALEDIR
MANDIR
DOCDIR
)
if(NOT IS_ABSOLUTE ${CMAKE_INSTALL_${dir}})
set(CMAKE_INSTALL_FULL_${dir} "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_${dir}}")
else()
set(CMAKE_INSTALL_FULL_${dir} "${CMAKE_INSTALL_${dir}}")
endif()
endforeach()

View File

@@ -0,0 +1,24 @@
[Settings]
NumFields=3
[Field 1]
Type=Label
Left=0
Right=-1
Top=0
Bottom=24
[Field 2]
Type=RadioButton
Left=30
Right=-1
Top=50
Bottom=58
State=1
[Field 3]
Type=RadioButton
Left=30
Right=-1
Top=70
Bottom=78

View File

@@ -0,0 +1,663 @@
;Tomahawk installer script.
;-----------------------------------------------------------------------------
; Some installer script options (comment-out options not required)
;-----------------------------------------------------------------------------
;!define OPTION_LICENSE_AGREEMENT
!define OPTION_UAC_PLUGIN_ENHANCED
!define OPTION_SECTION_SC_START_MENU
!define OPTION_SECTION_SC_DESKTOP
!define OPTION_SECTION_SC_QUICK_LAUNCH
!define OPTION_FINISHPAGE
!define OPTION_FINISHPAGE_LAUNCHER
!define OPTION_FINISHPAGE_RELEASE_NOTES
;-----------------------------------------------------------------------------
; Some paths.
;-----------------------------------------------------------------------------
!ifndef MING_PATH
!define MING_PATH "/usr/i686-w64-mingw32/sys-root/mingw"
!endif
!define MING_BIN "${MING_PATH}/bin"
!define MING_LIB "${MING_PATH}/lib"
!define BUILD_PATH "@CMAKE_BINARY_DIR@"
!define SOURCE_PATH "@CMAKE_SOURCE_DIR@"
!define QT_DLL_PATH "${MING_BIN}"
!define SQLITE_DLL_PATH "${MING_LIB}/qt4/plugins/sqldrivers"
!define IMAGEFORMATS_DLL_PATH "${MING_LIB}/qt4/plugins/imageformats"
; We use official release plugins
; mingw32-vlc from obs misses a lot and has even broken ones probably
!define VLC_PATH "${SOURCE_PATH}\admin\win\vlc\" ; SIC! ^
!define VLC_BIN "${VLC_PATH}"
!define VLC_PLUGIN_PATH "${VLC_BIN}\plugins"
!define NSI_PATH "${SOURCE_PATH}/admin/win/nsi"
;-----------------------------------------------------------------------------
; Installer version
;-----------------------------------------------------------------------------
!define VER_MAJOR "@CPACK_PACKAGE_VERSION_MAJOR@"
!define VER_MINOR "@CPACK_PACKAGE_VERSION_MINOR@"
!define VER_BUILD "@CPACK_PACKAGE_VERSION_PATCH@"
!define VERSION "@CPACK_PACKAGE_VERSION@"
;-----------------------------------------------------------------------------
; Installer build timestamp.
;-----------------------------------------------------------------------------
!define /date BUILD_TIME "built on %Y/%m/%d at %I:%M %p"
;-----------------------------------------------------------------------------
; Initial installer setup and definitions.
;-----------------------------------------------------------------------------
Name "@CPACK_NSIS_PACKAGE_NAME@"
Caption "Tomahawk Installer"
BrandingText "Tomahawk ${VERSION} -- ${BUILD_TIME}"
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
InstallDir "$PROGRAMFILES\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
InstallDirRegKey HKCU "Software\Tomahawk" ""
InstType Standard
InstType Full
InstType Minimal
CRCCheck On
SetCompressor @CPACK_NSIS_COMPRESSOR@
RequestExecutionLevel user ;Now using the UAC plugin.
ReserveFile NSIS.InstallOptions.ini
ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
@CPACK_NSIS_SECTION_SELECTED_VARS@
;-----------------------------------------------------------------------------
; Include some required header files.
;-----------------------------------------------------------------------------
!include LogicLib.nsh ;Used by APPDATA uninstaller.
!include nsDialogs.nsh ;Used by APPDATA uninstaller.
!include MUI2.nsh ;Used by APPDATA uninstaller.
!include InstallOptions.nsh ;Required by MUI2 to support old MUI_INSTALLOPTIONS.
!include Memento.nsh ;Remember user selections.
!include WinVer.nsh ;Windows version detection.
!include WordFunc.nsh ;Used by VersionCompare macro function.
!include UAC.nsh ;Used by the UAC elevation to install as user or admin.
;-----------------------------------------------------------------------------
; Memento selections stored in registry.
;-----------------------------------------------------------------------------
!define MEMENTO_REGISTRY_ROOT HKLM
!define MEMENTO_REGISTRY_KEY Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk
;-----------------------------------------------------------------------------
; Modern User Interface (MUI) defintions and setup.
;-----------------------------------------------------------------------------
!define MUI_ABORTWARNING
!define MUI_ICON ${NSI_PATH}\installer.ico
!define MUI_UNICON ${NSI_PATH}\installer.ico
!define MUI_WELCOMEFINISHPAGE_BITMAP ${NSI_PATH}\welcome.bmp
!define MUI_WELCOMEPAGE_TITLE "@CPACK_PACKAGE_NAME@ ${VERSION} Setup$\r$\nInstaller"
!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation.$\r$\n$\r$\n$_CLICK"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP ${NSI_PATH}\page_header.bmp
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_FINISHPAGE_TITLE "@CPACK_PACKAGE_NAME@ Install Completed"
!define MUI_FINISHPAGE_LINK "Click here to visit the @CPACK_PACKAGE_NAME@ website."
!define MUI_FINISHPAGE_LINK_LOCATION "http://@TOMAHAWK_ORGANIZATION_DOMAIN@"
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
!ifdef OPTION_FINISHPAGE_RELEASE_NOTES
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\NOTES.txt"
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Show release notes"
!endif
!ifdef OPTION_FINISHPAGE_LAUNCHER
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchTomahawk"
!endif
;-----------------------------------------------------------------------------
; Page macros.
;-----------------------------------------------------------------------------
!insertmacro MUI_PAGE_WELCOME
!ifdef OPTION_LICENSE_AGREEMENT
!insertmacro MUI_PAGE_LICENSE "LICENSE.txt"
!endif
Page custom PageReinstall PageLeaveReinstall
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!ifdef OPTION_FINISHPAGE
!insertmacro MUI_PAGE_FINISH
!endif
!insertmacro MUI_UNPAGE_CONFIRM
UninstPage custom un.UnPageUserAppData un.UnPageUserAppDataLeave
!insertmacro MUI_UNPAGE_INSTFILES
;-----------------------------------------------------------------------------
; Other MUI macros.
;-----------------------------------------------------------------------------
!insertmacro MUI_LANGUAGE "English"
##############################################################################
# #
# FINISH PAGE LAUNCHER FUNCTIONS #
# #
##############################################################################
Function LaunchTomahawk
${UAC.CallFunctionAsUser} LaunchTomahawkAsUser
FunctionEnd
Function LaunchTomahawkAsUser
Exec "$INSTDIR\tomahawk.exe"
FunctionEnd
##############################################################################
# #
# PROCESS HANDLING FUNCTIONS AND MACROS #
# #
##############################################################################
!macro CheckForProcess processName gotoWhenFound gotoWhenNotFound
Processes::FindProcess ${processName}
StrCmp $R0 "0" ${gotoWhenNotFound} ${gotoWhenFound}
!macroend
!macro ConfirmEndProcess processName
MessageBox MB_YESNO|MB_ICONEXCLAMATION \
"Found ${processName} process(s) which need to be stopped.$\nDo you want the installer to stop these for you?" \
IDYES process_${processName}_kill IDNO process_${processName}_ended
process_${processName}_kill:
DetailPrint "Killing ${processName} processes."
Processes::KillProcess ${processName}
Sleep 1500
StrCmp $R0 "1" process_${processName}_ended
DetailPrint "Process to kill not found!"
process_${processName}_ended:
!macroend
!macro CheckAndConfirmEndProcess processName
!insertmacro CheckForProcess ${processName} 0 no_process_${processName}_to_end
!insertmacro ConfirmEndProcess ${processName}
no_process_${processName}_to_end:
!macroend
Function EnsureTomahawkShutdown
!insertmacro CheckAndConfirmEndProcess "tomahawk.exe"
FunctionEnd
##############################################################################
# #
# RE-INSTALLER FUNCTIONS #
# #
##############################################################################
Function PageReinstall
ReadRegStr $R0 HKLM "Software\Tomahawk" ""
StrCmp $R0 "" 0 +2
Abort
;Detect version
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionMajor"
IntCmp $R0 ${VER_MAJOR} minor_check new_version older_version
minor_check:
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionMinor"
IntCmp $R0 ${VER_MINOR} build_check new_version older_version
build_check:
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionBuild"
IntCmp $R0 ${VER_BUILD} same_version new_version older_version
new_version:
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "An older version of Tomahawk is installed on your system. It is recommended that you uninstall the current version before installing. Select the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 2" "Text" "Uninstall before installing"
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 3" "Text" "Do not uninstall"
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose how you want to install Tomahawk."
StrCpy $R0 "1"
Goto reinst_start
older_version:
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "A newer version of Tomahawk is already installed! It is not recommended that you install an older version. If you really want to install this older version, it is better to uninstall the current version first. Select the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 2" "Text" "Uninstall before installing"
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 3" "Text" "Do not uninstall"
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose how you want to install Tomahawk."
StrCpy $R0 "1"
Goto reinst_start
same_version:
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "Tomahawk ${VERSION} is already installed.\r\nSelect the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 2" "Text" "Add/Reinstall components"
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 3" "Text" "Uninstall Tomahawk"
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose the maintenance option to perform."
StrCpy $R0 "2"
reinst_start:
!insertmacro INSTALLOPTIONS_DISPLAY "NSIS.InstallOptions.ini"
FunctionEnd
Function PageLeaveReinstall
!insertmacro INSTALLOPTIONS_READ $R1 "NSIS.InstallOptions.ini" "Field 2" "State"
StrCmp $R0 "1" 0 +2
StrCmp $R1 "1" reinst_uninstall reinst_done
StrCmp $R0 "2" 0 +3
StrCmp $R1 "1" reinst_done reinst_uninstall
reinst_uninstall:
ReadRegStr $R1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "UninstallString"
HideWindow
ClearErrors
ExecWait '$R1 _?=$INSTDIR'
IfErrors no_remove_uninstaller
IfFileExists "$INSTDIR\tomahawk.exe" no_remove_uninstaller
Delete $R1
RMDir $INSTDIR
no_remove_uninstaller:
StrCmp $R0 "2" 0 +3
UAC::Unload
Quit
BringToFront
reinst_done:
FunctionEnd
##############################################################################
# #
# INSTALLER SECTIONS #
# #
##############################################################################
Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
SectionIn 1 2 3 RO
SetDetailsPrint listonly
SetDetailsPrint textonly
DetailPrint "Installing Tomahawk Player essentials."
SetDetailsPrint listonly
SetOutPath "$INSTDIR"
!ifdef INSTALL_PATH
;Main executable.
File "${INSTALL_PATH}\bin\tomahawk.exe"
File "${INSTALL_PATH}\bin\tomahawk_crash_reporter.exe"
File "${INSTALL_PATH}\bin\libtomahawk_breakpad.dll"
File "${INSTALL_PATH}\bin\libqxtweb-standalone.dll"
File "${INSTALL_PATH}\bin\libtomahawk_portfwd.dll"
File "${INSTALL_PATH}\bin\libtomahawklib.dll"
; plugins
File "${INSTALL_PATH}\lib\libtomahawk_*_*.dll"
!endif
!ifndef INSTALL_PATH
;Main executable.
File "${BUILD_PATH}\tomahawk.exe"
File "${BUILD_PATH}\tomahawk_crash_reporter.exe"
File "${BUILD_PATH}\libtomahawk_breakpad.dll"
File "${BUILD_PATH}\libtomahawklib.dll"
File "${BUILD_PATH}\libqxtweb-standalone.dll"
File "${BUILD_PATH}\libtomahawk_portfwd.dll"
; plugins
File "${BUILD_PATH}\libtomahawk_*_*.dll"
!endif
;License & release notes.
File "@CPACK_RESOURCE_FILE_LICENSE@"
File /oname=NOTES.txt ${NSI_PATH}\RELEASE_NOTES.txt
;QT stuff:
File "${QT_DLL_PATH}\QtCore4.dll"
File "${QT_DLL_PATH}\QtGui4.dll"
File "${QT_DLL_PATH}\QtNetwork4.dll"
File "${QT_DLL_PATH}\QtSql4.dll"
File "${QT_DLL_PATH}\QtScript4.dll"
File "${QT_DLL_PATH}\QtUiTools4.dll"
File "${QT_DLL_PATH}\QtWebKit4.dll"
File "${QT_DLL_PATH}\QtXml4.dll"
;SQLite driver
SetOutPath "$INSTDIR\sqldrivers"
File "${SQLITE_DLL_PATH}\qsqlite4.dll"
SetOutPath "$INSTDIR"
;Image plugins
SetOutPath "$INSTDIR\imageformats"
File "${IMAGEFORMATS_DLL_PATH}\qgif4.dll"
File "${IMAGEFORMATS_DLL_PATH}\qjpeg4.dll"
SetOutPath "$INSTDIR"
;Cygwin/c++ stuff
;File "${MING_BIN}\cygmad-0.dll"
;File "${MING_BIN}\libgcc_s_dw2-1.dll"
;File "${MING_BIN}\mingwm10.dll"
File "${MING_BIN}\libgcc_s_sjlj-1.dll"
File "${MING_BIN}\libstdc++-6.dll"
;Phonon stuff
File "${MING_BIN}\libphonon.dll"
SetOutPath "$INSTDIR\phonon_backend"
File "${VLC_BIN}\phonon_backend\phonon_vlc.dll"
SetOutPath "$INSTDIR"
;VLC
File "${VLC_BIN}\libvlc.dll"
File "${VLC_BIN}\libvlccore.dll"
SetOutPath "$INSTDIR\plugins"
File /r "${VLC_PLUGIN_PATH}\*.dll"
SetOutPath "$INSTDIR"
; Other
File "${MING_BIN}\libqjson.dll"
File "${MING_BIN}\libtag.dll"
File "${MING_BIN}\libpng15-15.dll"
File "${MING_BIN}\libjpeg-8.dll"
File "${MING_BIN}\zlib1.dll"
File "${MING_BIN}\libechonest.dll"
File "${MING_BIN}\liblastfm.dll"
File "${MING_BIN}\libQTweetLib.dll"
File "${MING_BIN}\libquazip.dll"
; Jabber
File "${MING_BIN}\libjreen.dll"
File "${MING_BIN}\libqca.dll"
SetOutPath "$INSTDIR\crypto"
File "${MING_LIB}\qt4\plugins\crypto\libqca-ossl.dll"
SetOutPath "$INSTDIR"
File "${MING_BIN}\libssl-8.dll"
File "${MING_BIN}\libcrypto-8.dll"
File "${MING_LIB}\libclucene-core.dll"
File "${MING_LIB}\libclucene-shared.dll"
File "${MING_BIN}\libqtsparkle.dll"
File "${MING_BIN}\libattica.dll"
SectionEnd
SectionGroup "Shortcuts"
!ifdef OPTION_SECTION_SC_START_MENU
${MementoSection} "Start Menu Program Group" SEC_START_MENU
SectionIn 1 2
SetDetailsPrint textonly
DetailPrint "Adding shortcuts for the Tomahawk program group to the Start Menu."
SetDetailsPrint listonly
SetShellVarContext all
RMDir /r "$SMPROGRAMS\Tomahawk"
CreateDirectory "$SMPROGRAMS\Tomahawk"
CreateShortCut "$SMPROGRAMS\Tomahawk\LICENSE.lnk" "$INSTDIR\LICENSE.txt"
CreateShortCut "$SMPROGRAMS\Tomahawk\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
CreateShortCut "$SMPROGRAMS\Tomahawk\Release notes.lnk" "$INSTDIR\NOTES.txt"
CreateShortCut "$SMPROGRAMS\Tomahawk\Uninstall.lnk" "$INSTDIR\uninstall.exe"
SetShellVarContext current
${MementoSectionEnd}
!endif
!ifdef OPTION_SECTION_SC_DESKTOP
${MementoSection} "Desktop Shortcut" SEC_DESKTOP
SectionIn 1 2
SetDetailsPrint textonly
DetailPrint "Creating Desktop Shortcuts"
SetDetailsPrint listonly
CreateShortCut "$DESKTOP\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
${MementoSectionEnd}
!endif
!ifdef OPTION_SECTION_SC_QUICK_LAUNCH
${MementoSection} "Quick Launch Shortcut" SEC_QUICK_LAUNCH
SectionIn 1 2
SetDetailsPrint textonly
DetailPrint "Creating Quick Launch Shortcut"
SetDetailsPrint listonly
CreateShortCut "$QUICKLAUNCH\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
${MementoSectionEnd}
!endif
SectionGroupEnd
${MementoSectionDone}
; Installer section descriptions
;--------------------------------
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_TOMAHAWK_PLAYER} "Tomahawk player essentials."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_START_MENU} "Tomahawk program group."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_DESKTOP} "Desktop shortcut for Tomahawk."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QUICK_LAUNCH} "Quick Launch shortcut for Tomahawk."
!insertmacro MUI_FUNCTION_DESCRIPTION_END
Section -post
;Uninstaller file.
SetDetailsPrint textonly
DetailPrint "Writing Uninstaller"
SetDetailsPrint listonly
WriteUninstaller $INSTDIR\uninstall.exe
;Registry keys required for installer version handling and uninstaller.
SetDetailsPrint textonly
DetailPrint "Writing Installer Registry Keys"
SetDetailsPrint listonly
;Version numbers used to detect existing installation version for comparisson.
WriteRegStr HKLM "Software\Tomahawk" "" $INSTDIR
WriteRegDWORD HKLM "Software\Tomahawk" "VersionMajor" "${VER_MAJOR}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionMinor" "${VER_MINOR}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionRevision" "${REVISION}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionBuild" "${VER_BUILD}"
;Add or Remove Programs entry.
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "UninstallString" '"$INSTDIR\Uninstall.exe"'
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "InstallLocation" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayName" "Tomahawk"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "Publisher" "Tomahawk-player.org"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayIcon" "$INSTDIR\Uninstall.exe,0"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayVersion" "${VERSION}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "VersionMajor" "${VER_MAJOR}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "VersionMinor" "${VER_MINOR}.${REVISION}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "URLInfoAbout" "http://tomahawk-player.org/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "HelpLink" "http://tomahawk-player.org/"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "NoModify" "1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "NoRepair" "1"
; Register tomahawk:// protocol handler
WriteRegStr HKCR "tomahawk" "" "URL:Tomahawk Protocol"
WriteRegStr HKCR "tomahawk" "URL Protocol" ""
WriteRegStr HKCR "tomahawk\DefaultIcon" "" $INSTDIR\tomahawk.exe,1
WriteRegStr HKCR "tomahawk\shell" "" "open"
WriteRegStr HKCR "tomahawk\shell\open\command" "" '"$INSTDIR\tomahawk.exe" "%1"'
SetDetailsPrint textonly
DetailPrint "Finsihed."
SectionEnd
##############################################################################
# #
# UNINSTALLER SECTION #
# #
##############################################################################
Var UnPageUserAppDataDialog
Var UnPageUserAppDataCheckbox
Var UnPageUserAppDataCheckbox_State
Var UnPageUserAppDataEditBox
Function un.UnPageUserAppData
!insertmacro MUI_HEADER_TEXT "Uninstall Tomahawk" "Remove Tomahawk's data folder from your computer."
nsDialogs::Create /NOUNLOAD 1018
Pop $UnPageUserAppDataDialog
${If} $UnPageUserAppDataDialog == error
Abort
${EndIf}
${NSD_CreateLabel} 0 0 100% 12u "Do you want to delete Tomahawk's data folder?"
Pop $0
${NSD_CreateText} 0 13u 100% 12u "$LOCALAPPDATA\Tomahawk"
Pop $UnPageUserAppDataEditBox
SendMessage $UnPageUserAppDataEditBox ${EM_SETREADONLY} 1 0
${NSD_CreateLabel} 0 46u 100% 24u "Leave unchecked to keep the data folder for later use or check to delete the data folder."
Pop $0
${NSD_CreateCheckbox} 0 71u 100% 8u "Yes, delete this data folder."
Pop $UnPageUserAppDataCheckbox
nsDialogs::Show
FunctionEnd
Function un.UnPageUserAppDataLeave
${NSD_GetState} $UnPageUserAppDataCheckbox $UnPageUserAppDataCheckbox_State
FunctionEnd
Section Uninstall
IfFileExists "$INSTDIR\tomahawk.exe" tomahawk_installed
MessageBox MB_YESNO "It does not appear that Tomahawk is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?" IDYES tomahawk_installed
Abort "Uninstall aborted by user"
tomahawk_installed:
;Delete registry keys.
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk"
DeleteRegValue HKLM "Software\Tomahawk" "VersionBuild"
DeleteRegValue HKLM "Software\Tomahawk" "VersionMajor"
DeleteRegValue HKLM "Software\Tomahawk" "VersionMinor"
DeleteRegValue HKLM "Software\Tomahawk" "VersionRevision"
DeleteRegValue HKLM "Software\Tomahawk" ""
DeleteRegKey HKLM "Software\Tomahawk"
DeleteRegKey HKCR "tomahawk"
;Start menu shortcuts.
!ifdef OPTION_SECTION_SC_START_MENU
SetShellVarContext all
RMDir /r "$SMPROGRAMS\Tomahawk"
SetShellVarContext current
!endif
;Desktop shortcut.
!ifdef OPTION_SECTION_SC_DESKTOP
IfFileExists "$DESKTOP\Tomahawk.lnk" 0 +2
Delete "$DESKTOP\Tomahawk.lnk"
!endif
;Quick Launch shortcut.
!ifdef OPTION_SECTION_SC_QUICK_LAUNCH
IfFileExists "$QUICKLAUNCH\Tomahawk.lnk" 0 +2
Delete "$QUICKLAUNCH\Tomahawk.lnk"
!endif
;Remove all the Program Files.
RMDir /r $INSTDIR
;Uninstall User Data if option is checked, otherwise skip.
${If} $UnPageUserAppDataCheckbox_State == ${BST_CHECKED}
RMDir /r "$LOCALAPPDATA\Tomahawk"
${EndIf}
SetDetailsPrint textonly
DetailPrint "Finsihed."
SectionEnd
##############################################################################
# #
# NSIS Installer Event Handler Functions #
# #
##############################################################################
Function .onInit
!insertmacro INSTALLOPTIONS_EXTRACT "NSIS.InstallOptions.ini"
;Remove Quick Launch option from Windows 7, as no longer applicable - usually.
${IfNot} ${AtMostWinVista}
SectionSetText ${SEC_QUICK_LAUNCH} "Quick Launch Shortcut (N/A)"
SectionSetFlags ${SEC_QUICK_LAUNCH} ${SF_RO}
SectionSetInstTypes ${SEC_QUICK_LAUNCH} 0
${EndIf}
${MementoSectionRestore}
UAC_Elevate:
UAC::RunElevated
StrCmp 1223 $0 UAC_ElevationAborted ; UAC dialog aborted by user?
StrCmp 0 $0 0 UAC_Err ; Error?
StrCmp 1 $1 0 UAC_Success ;Are we the real deal or just the wrapper?
Quit
UAC_Err:
MessageBox MB_ICONSTOP "Unable to elevate, error $0"
Abort
UAC_ElevationAborted:
Abort
UAC_Success:
StrCmp 1 $3 +4 ;Admin?
StrCmp 3 $1 0 UAC_ElevationAborted ;Try again?
MessageBox MB_ICONSTOP "This installer requires admin access, try again"
goto UAC_Elevate
;Prevent multiple instances.
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "tomahawkInstaller") i .r1 ?e'
Pop $R0
StrCmp $R0 0 +3
MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running."
Abort
;Use available InstallLocation when possible. This is useful in the uninstaller
;via re-install, which would otherwise use a default location - a bug.
ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "InstallLocation"
StrCmp $R0 "" SkipSetInstDir
StrCpy $INSTDIR $R0
SkipSetInstDir:
;Shutdown Tomahawk in case Add/Remove re-installer option used.
Call EnsureTomahawkShutdown
FunctionEnd
Function .onInstSuccess
${MementoSectionSave}
UAC::Unload ;Must call unload!
FunctionEnd
Function .onInstFailed
UAC::Unload ;Must call unload!
FunctionEnd
##############################################################################
# #
# NSIS Uninstaller Event Handler Functions #
# #
##############################################################################
Function un.onInit
UAC_Elevate:
UAC::RunElevated
StrCmp 1223 $0 UAC_ElevationAborted ; UAC dialog aborted by user?
StrCmp 0 $0 0 UAC_Err ; Error?
StrCmp 1 $1 0 UAC_Success ;Are we the real deal or just the wrapper?
Quit
UAC_Err:
MessageBox MB_ICONSTOP "Unable to elevate, error $0"
Abort
UAC_ElevationAborted:
Abort
UAC_Success:
StrCmp 1 $3 +4 ;Admin?
StrCmp 3 $1 0 UAC_ElevationAborted ;Try again?
MessageBox MB_ICONSTOP "This uninstaller requires admin access, try again"
goto UAC_Elevate
;Prevent multiple instances.
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "tomahawkUninstaller") i .r1 ?e'
Pop $R0
StrCmp $R0 0 +3
MessageBox MB_OK|MB_ICONEXCLAMATION "This uninstaller is already running."
Abort
FunctionEnd
Function un.onUnInstSuccess
UAC::Unload ;Must call unload!
FunctionEnd
Function un.onUnInstFailed
UAC::Unload ;Must call unload!
FunctionEnd

77
CPackOptions.cmake.in Normal file
View File

@@ -0,0 +1,77 @@
# This file is configured at cmake time, and loaded at cpack time.
# To pass variables to cpack from cmake, they must be configured
# in this file.
if(CPACK_GENERATOR MATCHES "NSIS")
if( NOT EXISTS "@CMAKE_SOURCE_DIR@/admin/win/vlc/")
MESSAGE(FATAL_ERROR "\n You don't have vlc in your admin/win/ dir. \n Please change into that dir and execute 'sh update-vlc.sh'" )
endif()
#SET(CPACK_NSIS_INSTALL_ROOT "@CPACK_NSIS_INSTALL_ROOT@")
# set the install/unistall icon used for the installer itself
# There is a bug in NSI that does not handle full unix paths properly.
#SET(CPACK_NSIS_MUI_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeLogo.ico")
#SET(CPACK_NSIS_MUI_UNIICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeLogo.ico")
# set the package header icon for MUI
#SET(CPACK_PACKAGE_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeInstall.bmp")
# tell cpack to create links to the doc files
#SET(CPACK_NSIS_MENU_LINKS
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-gui.html" "cmake-gui Help"
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-properties.html"
# "CMake Properties and Variables Help"
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/ctest.html" "CTest Help"
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-modules.html" "CMake Modules Help"
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-commands.html" "CMake Commands Help"
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cpack.html" "CPack Help"
# "http://www.cmake.org" "CMake Web Site"
# )
# Use the icon from cmake-gui for add-remove programs
#SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\cmake-gui.exe")
#
#SET(CPACK_NSIS_PACKAGE_NAME "@CPACK_NSIS_PACKAGE_NAME@")
#SET(CPACK_NSIS_DISPLAY_NAME "@CPACK_NSIS_PACKAGE_NAME@, a cross-platform, open-source build system")
#SET(CPACK_NSIS_HELP_LINK "http://www.cmake.org")
#SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.kitware.com")
#SET(CPACK_NSIS_CONTACT @CPACK_PACKAGE_CONTACT@)
#SET(CPACK_NSIS_MODIFY_PATH ON)
##### all options
#CPACK_NSIS_MUI_ICON The icon file (.ico) for the generated install program. Both this and CPACK_NSIS_MUI_UNIICON need to set for this to have any effect. installer.ico
#CPACK_NSIS_MUI_UNIICON The icon file (.ico) for the generated uninstall program. Both this and CPACK_NSIS_MUI_ICON need to set for this to have any effect. uninstaller.ico
SET( CPACK_PACKAGE_ICON @CMAKE_SOURCE_DIR@/admin/win/nsi/installer.ico ) # A branding image that will be displayed on the top bar inside the installer. installer.bmp
#CPACK_NSIS_EXTRA_INSTALL_COMMANDS Extra NSIS commands that will be added to the install Section. ExecWait '\\\"$INSTDIR\\\\vcredist_x86.exe\\\" /q:a'
#CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS Extra NSIS commands that will be added to the uninstall Section.
SET( CPACK_NSIS_COMPRESSOR "/SOLID lzma" ) # The arguments that will be passed to the NSIS SetCompressor command. /SOLID lzma
#CPACK_NSIS_MODIFY_PATH If this is set to "ON", then an extra page will appear in the installer that will allow the user to choose whether the program directory should be added to the system PATH variable. ON
#CPACK_NSIS_DISPLAY_NAME Undocumented. "${CPACK_PACKAGE_INSTALL_DIRECTORY} My Famous Project"
#CPACK_NSIS_INSTALLED_ICON_NAME Set the icon used for the Windows "Add or Remove Programs" tool. "bin\\\\MyExecutable.exe"
#CPACK_NSIS_HELP_LINK Adds link to registry. URI. "http:\\\\\\\\www.my-project-home-page.org"
#CPACK_NSIS_URL_INFO_ABOUT Adds link to registry and the vendor in add/remove programs' "Click here for support information" in program entry links here. "http:\\\\\\\\www.my-personal-home-page.com"
#CPACK_NSIS_CONTACT Adds link to add/remove programs' "Click here for support information" in program entry. "me@my-personal-home-page.com"
#CPACK_NSIS_CREATE_ICONS_EXTRA Additional NSIS commands for creating start menu shortcuts. set(CPACK_NSIS_CREATE_ICONS "CreateShortCut '\$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\${PROJECT_NAME}.lnk' '\$INSTDIR\\\\${PROJECT_NAME}.exe'")
#CPACK_NSIS_DELETE_ICONS_EXTRA Undocumented. Possibly: Additional NSIS commands to uninstall start menu shortcuts.
#CPACK_NSIS_MENU_LINKS Used to override the Start Menu links. "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/CMakeSetup.html" "CMakeSetup Help"
#CPACK_NSIS_MUI_FINISHPAGE_RUN If used, will make it possible for user to choose (on an additional page, displayed at the end of the installation) to run intalled program. Should point to program name to run, seemingly without any sub-directories of the installation directory in case program installed in such sub-directories (but please check generated NSIS script if you can't make it work). "MyExecutable.exe"
endif(CPACK_GENERATOR MATCHES "NSIS")
## include the cpack options for qt dialog if they exisit
## they might not if qt was not enabled for the build
#INCLUDE("@QT_DIALOG_CPACK_OPTIONS_FILE@" OPTIONAL)
#if("${CPACK_GENERATOR}" STREQUAL "PackageMaker")
# if(CMAKE_PACKAGE_QTGUI)
# set(CPACK_PACKAGE_DEFAULT_LOCATION "/Applications")
# else(CMAKE_PACKAGE_QTGUI)
# set(CPACK_PACKAGE_DEFAULT_LOCATION "/usr")
# endif(CMAKE_PACKAGE_QTGUI)
#endif("${CPACK_GENERATOR}" STREQUAL "PackageMaker")
SET( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
SET( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )

346
ChangeLog
View File

@@ -1,22 +1,345 @@
Version 0.5.5:
* Changed the Spotify config dialog to indicate when the user
is logged in.
* Fixed bug where the wrong avatar could be shown for a user.
* Fixed shortcuts not working in the global search field on OS X.
* Fixed The Echo Nest stations.
* Code-signed executable on OS X for GateKeeper.
* Fixed logging in to Spotify when pressing return in the config dialog.
* Fixed queue not auto-collapsing when playing the last track.
* Fixed bug where album listings would fail to show up.
* Improved stability.
* Fixed bug where it was not possible to drop a mixture of resolved
and unresolved tracks onto a playlist.
Version 0.5.4:
* Improved stability.
* Added support for Spotify album lookups.
* Fixed not always updating the database index after scanning.
* Fixed connection issue between Tomahawk peers.
Version 0.5.3:
* Fixed broken artist names when importing Last.fm playback history.
* Fixed crash when filtering collections.
Version 0.5.2:
* Fixed a crash when invalid results are coming back from a resolver or
are found in a playlist.
Version 0.5.1:
* Fixed a few issues with automatic downloading and launching
of the Spotify account.
* Show an error message when not able to resolve a requested song.
* Fixed a few crash and freeze issues.
* Better detection of local networks for the Local Network connector.
* Don't prompt for access permission for your own accounts.
* (OS X) Fixed not being able to connect to Last.fm.
Version 0.5.0:
* SOCKS5 proxy support improvements for resolvers and more.
* Initial Access Control support, allowing users to define who is able to
access and stream from their collection.
* Priortize resolution of a track on double-click.
* Spotify Resolver can now be easily installed on-demand from the settings.
* You can now sync selected playlists (and updates) with Spotify.
* Support .aiff (AIFF mimetype) files.
* Cleaned up Diagnostics window.
* You can tell Tomahawk to stop playback after a certain track finished.
* Double-clicking a playlist name (in the sidebar) will start the playlist.
* You can now import your entire Last.fm playback history into Tomahawk.
* Fixed sorting of related artists.
* Support for multimedia keys (Play, Pause, Next etc.) on Windows & Linux.
* When listening privately scrobbling to Last.fm and Adium is now disabled.
* Added a toolbar with page back / forward buttons and the global search.
* New grid-like view with direct playback controls.
* You can now browse new releases (by genre).
* Added social sharing widget, which allows you to tweet about a song.
* Added a track page showing a song's similar tracks and statistics.
* Separate Loved Tracks and Recently Played views per source.
* Combine an artist's albums into a single aggregated view.
* Added translations for Arabic, French, Bulgarian, Spanish and more.
* Fixed XSPF auto-updating.
* New Tomahawk logo and icon.
Version 0.4.2:
* Fix ZeroConf protocol showing IP addresses instead of host names.
* Updated translations for various languages.
* Resuming playback restores correct volume settings.
* Reduced CPU usage during playback.
* Fixed not starting up due to case sensitivity issue on OS X.
* Fixed volume issue (too quiet) on Windows.
Version 0.4.1:
* Fixed various crashes.
* Fixed issues with auto-updating XSPF playlists.
* Double-clicking a playlist starts playing it.
* Resolvers can now return disc number and album position for results.
* Fixed sorting playlists by track number.
* Fixed issues with changing proxy.
* Fixed Twitter authentication issues.
* Fixed Grooveshark support on Windows.
Version 0.4.0:
* Added visual notification for database indexing job.
* Fixed icons not appearing in resolvers list.
* Fixed various UI glitches and stray error messages in stations.
* Fixed bug where album page would resolve bottom-to-top.
* Fixed bug where Footnotes would not update when changing selected album.
* Fixed dragging albums and artists from charts, album, and artist views.
* Fixed bug where filter text would be one step behind filter value.
* Fixed bug where resolvers would enable themselves after auto-updating.
* Fixed occasional crash when dropping tracks onto New Station item.
* Added jump-to-current-track support for search results page.
* Fixed non-resolving tracks when dragging from album view.
* Fixed fetching album covers for albums with special characters.
* Show errors and continue gracefully when resolved audio is not available.
* Fixed various crashes on exit.
* Added basic command-line options for playback control.
* Bumped up web api timeouts to allow web clients to finish resolving.
* Added filename suggestion when exporting a playlist.
* Cleaned up highlighting of artist names in album view.
* Cleaned up alignment of playlist items.
* Fixed potential crash when searching.
* Added support for disc number.
* Added SoundCloudWall.com charts.
* Added ability to "lock on" to a user when listening along, to skip along.
* Fixed bug where loved tracks would be refreshed much too often.
* Fixed some font size issues.
* Sped up Tomahawk startup by moving chart loading into a separate thread.
* Added support for parsing Grooveshark and Tinysong tracks and playlists.
* Reorganized sidebar to follow more logical item groupings.
* Added artist and album results to global searches.
* Fixed style and contrast issues when using GTK styles.
* Fixed paths to artwork when using MPRIS2 interface.
* Fixed out of sync Show/Hide menu items on OS X when hidden with cmd-h.
* Fixed /Volumes directory not showing up on OS X.
* Fixed startup crash on OS X.
Version 0.3.3:
* Automatically load Super Collection tracks when no official release
information is available.
* Fixed stations not fetching new tracks under certain circumstances.
* Fixed Footnotes not always updating when selecting a new track.
* Added support for ow.ly, fb.me, itun.es and tinyurl.com URL shorteners.
* Fixed playback issues with non-latin filenames on Windows.
* Fixed tomahawk:// protocol not working properly on Windows.
* Fixed dupe menu entry appearing on OS X.
* Fixed invisible sidebar items on Linux.
Version 0.3.2:
* Improved syncing process, it's faster and more reliable now.
* Fixed UPnP issues.
* Fixed not updating collections and views after a collection changes.
* Fixed not showing a source's proper name at all times.
* Improved music scanner reliability.
* Fixed various labels not being painted in the right color when selected.
* Support .oga (ogg mimetype) files.
* Fixed stuck Now Playing indicator icon.
* Fixed sidebar width of settings dialog on Windows.
* Fixed not always showing delete icon on hovered temporary pages.
* Fixed inability to select externally mounted drives.
* Fixed bug where speaker would be stuck next to a playlist.
* Fixed bug where first startup would show a loading spinner in the
Dashboard's "Recent Additions" forever.
* Automatically upgrade resolvers when an update is found.
* Fixed last played track of a friend never expiring.
* Fixed parsing of rdio tracks.
* Changed steering mechanism in stations to be user-friendlier.
* Fixed loading biographies of artist names with special characters.
* Fixed behaviour of dropping Spotify playlists on the sidebar.
* Fixed hard to read source-name in the audio control area on OS X.
* Fixed crashes when playing Grooveshark tracks.
* Fixed bug where clicking the latch button would flicker and unlatch.
* Fixed Jabber accounts not connecting properly when proxy is in use.
Version 0.3.1:
* Fixed not resolving to local files.
* Fixed shutdown crash on Windows.
* Support more widget types in Javascript resolver configs.
* Fixed bug where red headphone would be visible on My Collection
when listened along to source went offline.
* Draw author name as well as avatar in recently played playlists.
* Fixed Tomahawk integration in Unity.
* Fixed incorrect item selected in source tree when deleting temporary
pages.
* Fixed currently played label disappearing after 10 minutes regardless
of length of track.
* Fixed crash on Sparkle upgrade on OS X.
Version 0.3.0:
* Make artist names in the album view clickable.
* Don't start playing if a tomahawk:// link was clicked while Tomahawk
is paused.
* Make artist name clickable in header of Album pages.
* Added a drop shadow to cover images, and put placeholder in jewel case.
* Added shuffle and repeat support to tree view.
* Draw a speaker next to the currently playing playlist.
* Refresh station previews whenever a filter is changed.
* Support and show official releases on album and track pages.
* Filter out duplicates from station previews and upcoming tracks.
* Added YouTube resolver.
* Fixed bug where going offline then online would not re-connect to many
peers.
* Added support for auto-updating live XSPF playlists.
* Don't show an age of 41 years for tracks that have no age information.
* Show config UI for resolvers that have them as soon as you add them.
* Add support for Echo Nest Personal Catalogs and User Radio. Synchronize
your catalog with The Echo Nest and enable personal recommendations
from you and your friends.
* Added support for Grooveshark resolver (requires Grooveshark Anywhere).
* Fixed re-resolving when resolvers or sources go off- / online.
* Correctly sort recently played tracks on the Dashboard.
* Show a Lion full-screen toggle button if running on Lion.
* Show a list of users who are currently listening along to you.
* Show headphone icon in source item to allow users to listen along; paint
headphones red on a source if you are currently listening along to it.
* Added new job status view in the bottom of the source list that displays
current jobs such as resolving, parsing playlists, and loading from
database.
* Parse and convert a Spotify playlist URL when dropped anywhere on the
sidebar.
* Convert resolvers to use asynchronous calls to avoid blocking Tomahawk's
UI, greatly increasing responsiveness of Tomahawk while resolving.
* Fixed no playlists overlay not disappearing when playlists were added.
* Add support for parsing itunes track, artist and album links.
* Fixed crash when syncing playlists with peers.
* Add support for browsing, downloading and rating resolvers from within
Tomahawk directly.
* Support multi-folder selection and scanning.
* Fixed handling of special characters in tomahawk:// links
* Improve sidebar performance by caching pixmaps and shrinking them.
* Send updated playlists to peers when tracks are moved/copied.
* Remove splitter handles in sidebar.
* Fixed Tomahawk preventing system shutdown / logout.
* Ignore leading 'The' when sorting artists.
* Added Charts page, which shows various sources' top hits & artists.
* The Collection tree-views can now be filtered.
* Fixed crash when pressing enter in an empty playlist.
* Moved the song queue to the bottom of the sidebar.
* Added Footnotes, a contextual view that you can slide it.
* Show recently added playlists in dashboard rather than recently opened
playlists.
* Fixed seek slider and give it some smooth animation between ticks.
* Fixed Twitter issue where it would repeatedly send DMs to friends.
* Add a new drag and drop menu when dropping items onto playlists,
allowing users to drop the dragged tracks, the whole album, or
the whole artists's tracks.
* Bring Tomahawk window to the front when clicking a Tomahawk link.
* Fixed crash in source list when initially syncing with remote sources.
* Open temporary artist, album, and search playlists as temporary items
in the sidebar.
* Fixed sorting of playlists and items in the artist view.
* Allow dragging and dropping albums and artists to playlists.
* Added MPRIS 2.1 support.
Version 0.2.3:
* Fixed opening Rdio and Spotify links.
* Fixed potential crash in sidebar during syncing of sources.
* When Listening Along, the last song a peer plays is no longer duplicated.
* Fixed an issue where the Twitter plugin could get out of sync if the
database was cleared, leading to eventual crashes when re-connecting.
* Fixed duplicate albums showing up on Dashboard.
* Automatically sort search results by score.
* Fixed stations being stuck not fetching more songs.
* Fixed issue where artist bio could be referring to a different artist.
* Opening a "tomahawk" URL (or other URL with Tomahawk) brings the Tomahawk
window to the foreground.
Version 0.2.2:
* Fixed crash pressing previous and next when playing a song from the Queue.
* Fixed issue where wrench for newly added resolvers would not show up.
* Fixed sidebar statistics not updating after collection scan finished.
* Fixed omitting a few tracks in the Collection tree-view.
* Fixed sidebar & track sorting issues.
* Seek- & volume sliders now directly jump to the position you clicked on.
* Added ability to drag artists and albums within Tomahawk.
* (OS X) Fixed Ogg Vorbis support.
Version 0.2.1:
* Fixed crashing trying to play an unavailable track.
* Fixed a crash caused by using Javascript resolvers.
* Fixed searching with Javascript resolvers.
Version 0.2.0:
* Re-resolve queries when their resolved-to source goes offline.
* Cleanup formatting of Preference/Configure and Diagnostics windows.
* Add selection indicator on album art.
* Fix inability to create Echonest playlists based solely on style or mood.
* Created new Artist & Album page, showing various related information.
* Update playlists in dashboard to keep them in sync.
* Support Rdio track URLs and ability to drop them onto Tomahawk.
* Change "Recently Played" page to "Dashboard".
* Prioritize resolving newer queries to make GUI more responsive.
* Automatically expand local collection node in sidebar on launch.
* Display spinner animation while searching for tracks.
* Let Tomahawk-headless users trigger a rescan with --filescan.
* Include Stations and Automatic Playlists in "New Stations and Playlists".
* Always keep current page and sidebar selection in sync.
* New icon theme and many design tweaks.
* Fixed bug where drop indicator wouldn't show below the last track of a
playlist.
* Added support for "playing" Spotify track URLs (and t.co and bit.ly
shortened track URLs) and ability to drag/drop them into Tomahawk.
* Added support for JSPF playlists (XSPF via JSON).
* Scroll per pixel to making scrolling feel more natural.
* Filter out duplicate tracks in Collection tree view.
* Spotify resolver now honors SOCKS5 proxy settings.
* Made "show offline sources" menu option a toggle instead of two separate
entries.
* Properly decode escaped characters coming from HTTP API.
* Handle/display resolver file paths becoming invalid in Preferences.
* Fixed track skipping-on-pause bug when using Gstreamer backend.
* Fixed a few crashes that could occur when fetching data from Last.fm.
* Made Twitter dialog more readable/understandable.
* Fixed streaming from https:// links.
* Implement new Javascript resolver API and ability to present config
dialogs for resolvers.
* Show when a track was played in the Recently Played tracks history.
* Added context menus for Artists and Albums.
* Fixed playlist bugs that would cause track to stop playing when dropping
or moving items in the same playlist.
* Set volume to 75% on startup.
* Added "listen along" feature (and ability to "catch up").
* Added "love" feature - also "loves" track on Last.fm.
* Twitter checks for updates less often now, saving user API calls from
running out when using multiple clients.
* Added score column and score bars to indicate resolver match certainty.
* Added "New Additions" page for each source.
* Improved tomahawk:// link handling. Added support for http://toma.hk/.
* Fixed sorting by file size.
* Improved the way Adium status is updated with now-playing information.
* Re-resolve tracks when a resolver is added/removed/enabled/disabled.
* Added global search function that searches all available sources.
* Collection scanner can now run automatically, watching files and dirs for
changes.
* Added Pipeline status view.
* Allow seeking in songs - if supported by audio backend.
* Added ability to make a copy of a peer's playlist.
* Shuffle and Repeat settings are stored on a playlist by playlist basis.
* (Linux) Desktop notifications for now playing.
* (OS X) Removed "test login" button from Last.fm settings.
* (OS X) Added MediaKey support.
* (OS X) Don't quit on window close to conform to best practices.
Version 0.1.0:
* Fixed stations so they resolve against all available sources instead of
only local and friend's collections.
* Add a Song seed for stations and automatic playlists, and allow dragging of
any tracks to the New Stations entry to create a pre-seeded station.
* Add a Song seed for stations and automatic playlists, and allow dragging
of any tracks to the New Stations entry to create a pre-seeded station.
* Added auto-completion for artists while filling in a station or automatic
playlist.
* SOCKS5 proxy support. Noproxy hosts are also supported but no wildcard
support (yet).
* Support loading of - and exporting to - .xspf playlists
* Added Tomahawk:// protocol support and share links for many things including
tracks, playlists, and stations.
* Support loading of - and exporting to - .xspf playlists.
* Added Tomahawk:// protocol support and share links for many things
including tracks, playlists, and stations.
* Autoload automatically detected resolvers on startup.
* Fix issue where track resolving spinner never stopped if tracks were
removed from playlist while resolving.
* Twitter & Jabber profile pictures are shown.
* Fix issues with stations where multiple tracks could be added at once.
* Allow multiple accounts of the same type.
* Add new Google account type that is a thin wrapper around a Jabber plugin.
* Add new Google account type, a thin wrapper around a Jabber plugin.
* Overhaul the settings dialog interface.
* Resolvers can now be enabled and disabled, and some can be configured
directly in Tomahawk, for example the new Spotify resolver.
@@ -24,21 +347,21 @@ Version 0.1.0:
as a node under the Super Collection.
* Fix massive speed bottleneck on startup in the case of many recently
played playlists.
* Removed filter and song view from Super Collection, coming back in the next
release.
* Removed filter and song view from Super Collection, coming back in the
next release.
* Browse and play collections in our snappy tree-mode, which also shows
images for artists and albums.
* Fixed crash that could occur when playing a track from a browser.
* Fixed a crash caused by sources going on or offline.
* Huge optimizations in the resolving pipeline.
* Improved the handling of automatic status messages for Google Talk
* Improved the handling of automatic status messages for Google Talk.
* Switch to Phonon sound system, allowing us to support a wide variety
of audio formats.
* UI tweaks and cleanup.
* (OS X) Open configuration dialogs as sliding sheets.
* (OS X) Increase our available file watches to the maximum that the system
reports.
* (OS X) Added 'Window' menu with zoom/minimize actions
* (OS X) Added 'Window' menu with zoom/minimize actions.
Version 0.0.3:
* Show spinner while resolving playlists.
@@ -57,8 +380,9 @@ Version 0.0.3:
* Faster painting of playlists with lots of unresolved tracks.
* Prefer local results when results' score is equal.
* (Windows) The tomahawk:// protocol handler works on Windows now.
* (Windows) Fixed launching Tomahawk from Windows installer with admin privileges.
* (Windows) Prevent launching a second instance on Windows.
* (Windows) Fixed launching Tomahawk from Windows installer with admin
privileges.
Version 0.0.2:
* Don't reconnect to Jabber if the settings dialog is closed successfully

35
README
View File

@@ -13,28 +13,39 @@ Compiling Tomahawk
Detailed building instructions for Ubuntu
-----------------------------------------
See: http://wiki.tomahawk-player.org/mediawiki/index.php/Building_Ubuntu_Binary_on_Maverick_(10.10)
See: http://wiki.tomahawk-player.org/mediawiki/index.php/Building_Ubuntu_Binary_on_Precise_(12.04)
Detailed building instructions for OS X
---------------------------------------
See: http://wiki.tomahawk-player.org/mediawiki/index.php/Building_OS_X_Application_Bundle_on_Snow_Leopard_(10.6)
See: http://wiki.tomahawk-player.org/mediawiki/index.php/Building_OS_X_Application_Bundle_on_Snow_Leopard_(10.6)_and_Lion_(10.7)
Doxygen Documentation
---------------------
See: http://dev.tomahawk-player.org/api/classes.html
Dependencies
------------
CMake 2.8.0 http://www.cmake.org/
Qt 4.7.0 http://qt.nokia.com/
QJson 0.7.1 http://qjson.sourceforge.net/
SQLite 3.6.22 http://www.sqlite.org/
TagLib 1.6.2 http://developer.kde.org/~wheeler/taglib.html
Boost 1.3x http://www.boost.org/
CLucene 0.9.23 (0.9.21 will fail) http://clucene.sourceforge.net/download.shtml
libechonest 1.1.8 http://projects.kde.org/projects/playground/libs/libechonest/
CMake 2.8.6 - http://www.cmake.org/
Qt 4.7.0 - http://qt.nokia.com/
QJson 0.7.1 - http://qjson.sourceforge.net/
SQLite 3.6.22 - http://www.sqlite.org/
TagLib 1.6.2 - http://developer.kde.org/~wheeler/taglib.html
Boost 1.3 - http://www.boost.org/
CLucene 0.9.23 (0.9.21 will fail) - http://clucene.sourceforge.net/download.shtml
libechonest 2.0.0 - http://projects.kde.org/projects/playground/libs/libechonest/
Attica 0.4.0 - ftp://ftp.kde.org/pub/kde/stable/attica/
QuaZip 0.4.3 - http://quazip.sourceforge.net/
The following dependencies are optional, but recommended:
Jreen 1.0.5 - http://qutim.org/jreen / https://github.com/euroelessar/jreen
QTweetLib 0.5.0 - https://github.com/minimoog/QTweetLib
liblastfm 1.0.1 - http://github.com/eartle/liblastfm/
Third party libraries that we ship with our source:
MiniUPnP http://miniupnp.free.fr/
liblastfm 0.4.0 http://github.com/jonocole/liblastfm/
MiniUPnP 1.6 - http://miniupnp.free.fr/
Enjoy!

53
TomahawkCPack.cmake Normal file
View File

@@ -0,0 +1,53 @@
INCLUDE( InstallRequiredSystemLibraries )
SET( CPACK_PACKAGE_CONTACT "Dominik Schmidt <domme@tomahawk-player.org>" )
SET( CPACK_PACKAGE_FILE_NAME tomahawk-${TOMAHAWK_VERSION} ) # Package file name without extension. Also a directory of installer cmake-2.5.0-Linux-i686
# CPACK_GENERATOR CPack generator to be used STGZ;TGZ;TZ
# CPACK_INCLUDE_TOPLEVEL_DIRECTORY Controls whether CPack adds a top-level directory, usually of the form ProjectName-Version-OS, to the top of package tree. 0 to disable, 1 to enable
# CPACK_INSTALL_CMAKE_PROJECTS List of four values: Build directory, Project Name, Project Component, Directory in the package /home/andy/vtk/CMake-bin;CMake;ALL;/
SET( CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README" ) # File used as a description of a project /path/to/project/ReadMe.txt
SET( CPACK_PACKAGE_DESCRIPTION_SUMMARY ${TOMAHAWK_DESCRIPTION_SUMMARY} ) # Description summary of a project
# CPACK_PACKAGE_EXECUTABLES List of pairs of executables and labels. Used by the NSIS generator to create Start Menu shortcuts. ccmake;CMake
SET( CPACK_PACKAGE_INSTALL_DIRECTORY ${TOMAHAWK_APPLICATION_NAME} ) # Installation directory on the target system -> C:\Program Files\fellody
SET( CPACK_PACKAGE_INSTALL_REGISTRY_KEY ${TOMAHAWK_APPLICATION_NAME} ) # Registry key used when installing this project CMake 2.5.0
SET( CPACK_PACKAGE_NAME ${TOMAHAWK_APPLICATION_NAME} ) # Package name, defaults to the project name
SET( CPACK_PACKAGE_VENDOR ${TOMAHAWK_ORGANIZATION_NAME} ) # Package vendor name
SET( CPACK_PACKAGE_VERSION_MAJOR ${TOMAHAWK_VERSION_MAJOR} )
SET( CPACK_PACKAGE_VERSION_MINOR ${TOMAHAWK_VERSION_MINOR} )
SET( CPACK_PACKAGE_VERSION_PATCH ${TOMAHAWK_VERSION_PATCH} )
# CPACK_SOURCE_GENERATOR List of generators used for the source package TGZ;TZ
SET( CPACK_SOURCE_GENERATOR TGZ )
SET( CPACK_SOURCE_IGNORE_FILES "/\\\\.git/" ".*~$" ".kate-swp$" "/build_dir/" "/clang/" "/gcc/" "/build/" "/win/" ) # Pattern of files in the source tree that won't be packaged
SET( CPACK_SOURCE_PACKAGE_FILE_NAME tomahawk-${TOMAHAWK_VERSION} ) # Name of the source package
# CPACK_SOURCE_STRIP_FILES List of files in the source tree that will be stripped. Starting with CMake 2.6.0 CPACK_SOURCE_STRIP_FILES will be a boolean variable which enables stripping of all files (a list of files evaluates to TRUE in CMake, so this change is compatible).
# CPACK_STRIP_FILES List of files to be stripped. Starting with CMake 2.6.0 CPACK_STRIP_FILES will be a boolean variable which enables stripping of all files (a list of files evaluates to TRUE in CMake, so this change is compatible). bin/ccmake;bin/cmake;bin/cpack;bin/ctest
# CPACK_SYSTEM_NAME System name, defaults to the value of ${CMAKE_SYSTEM_NAME}. Linux-i686
# Advanced settings
# CPACK_CMAKE_GENERATOR What CMake generator should be used if the project is CMake project. Defaults to the value of CMAKE_GENERATOR. Unix Makefiles
SET( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt" ) # License file for the project, used by the STGZ, NSIS, and PackageMaker generators. /home/andy/vtk/CMake/Copyright.txt
# CPACK_RESOURCE_FILE_README ReadMe file for the project, used by PackageMaker generator. /home/andy/vtk/CMake/Templates/CPack.GenericDescription.txt
# CPACK_RESOURCE_FILE_WELCOME Welcome file for the project, used by PackageMaker generator. /home/andy/vtk/CMake/Templates/CPack.GenericWelcome.txt
SET( CPACK_PACKAGE_VERSION ${TOMAHAWK_VERSION} )
SET( CPACK_TOPLEVEL_TAG "narf" ) # Directory for the installed files. - needed to provide anything to avoid an error# CPACK_INSTALL_COMMANDS Extra commands to install components.
# CPACK_INSTALL_DIRECTORIES Extra directories to install.
# CPACK_MONOLITHIC_INSTALL When set disables the component-based installer.
# CPACK_PACKAGING_INSTALL_PREFIX Sets the default root that the generated package installs into, '/usr' is the default for the debian and redhat generators /usr/local
##
# INSTALL DEPS
##
# Set the options file that needs to be included inside CMakeCPackOptions.cmake
#SET(QT_DIALOG_CPACK_OPTIONS_FILE ${CMake_BINARY_DIR}/Source/QtDialog/QtDialogCPack.cmake)
configure_file("${CMAKE_SOURCE_DIR}/CPackOptions.cmake.in"
"${CMAKE_BINARY_DIR}/CPackOptions.cmake" @ONLY)
set(CPACK_PROJECT_CONFIG_FILE "${CMAKE_BINARY_DIR}/CPackOptions.cmake") # File included at cpack time, once per generator after setting CPACK_GENERATOR to the actual generator being used; allows per-generator setting of CPACK_* variables at cpack time. ${PROJECT_BINARY_DIR}/CPackOptions.cmake
include(CPack)

View File

@@ -1,3 +1,3 @@
IF(WIN32)
INSTALL(DIRECTORY win DESTINATION share/tomahawk/admin )
ENDIF(WIN32)
ENDIF(WIN32)

5
admin/copy_syms.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
DUMPID=`head -n1 $1 | cut -f4 -d' '`
mkdir -p $2/$DUMPID
cp $1 $2/$DUMPID/

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
@@ -23,40 +23,42 @@
<key>CFBundleName</key>
<string>Tomahawk</string>
<key>LSMinimumSystemVersion</key>
<string>10.5.0</string>
<key>SUFeedURL</key>
<string>http://download.tomahawk-player.org/sparkle</string>
<key>SUPublicDSAKeyFile</key>
<string>sparkle_pub.pem</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>Tomahawk URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>tomahawk</string>
</array>
</dict>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>xspf</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>Generic.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/xspf+xml</string>
</array>
<key>CFBundleTypeName</key>
<string>XSPF Playlist</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
<string>10.5.0</string>
<key>SUFeedURL</key>
<string>http://download.tomahawk-player.org/sparkle/update.php</string>
<key>SUPublicDSAKeyFile</key>
<string>sparkle_pub.pem</string>
<key>SUEnableSystemProfiling</key>
<true/>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>Tomahawk URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>tomahawk</string>
</array>
</dict>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>xspf</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>Generic.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/xspf+xml</string>
</array>
<key>CFBundleTypeName</key>
<string>XSPF Playlist</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
</dict>
</plist>

View File

@@ -1,64 +0,0 @@
#!/bin/sh
# author: max@last.fm
# usage: Run from inside the bundle root directory, eg. Last.fm.app
# The first parameter should be the QtFrameworks to copy.
# Remaining parameters are plugins to copy, directories and files are
# valid.
# eg: add-Qt-to-bundle.sh 'QtCore QtGui QtXml' \
# imageformats \
# sqldrivers/libsqlite.dylib
################################################################################
QT_FRAMEWORKS_DIR="$QTDIR/lib"
QT_PLUGINS_DIR="$QTDIR/plugins"
if [[ ! -d "$QTDIR/lib/QtCore.framework" ]]
then
# this dir is the location of install for the official Trolltech dmg
if [[ -d /Library/Frameworks/QtCore.framework ]]
then
QT_FRAMEWORKS_DIR=/Library/Frameworks
QT_PLUGINS_DIR=/Developer/Applications/Qt/plugins
fi
fi
echo "Plugins go to: $QT_PLUGINS_DIR"
if [ -z $QTDIR ]
then
echo QTDIR must be set, or install the official Qt dmg
exit 1
fi
################################################################################
#first frameworks
mkdir -p Contents/Frameworks
for x in $1
do
echo "C $x"
cp -R $QT_FRAMEWORKS_DIR/$x.framework Contents/Frameworks/
chmod -R u+rw Contents/Frameworks/
done
#plugins
shift
mkdir -p Contents/MacOS
mkdir -p Contents/MacOS/sqldrivers
mkdir -p Contents/MacOS/imageformats
mkdir -p Contents/MacOS/phonon_backend
mkdir -p Contents/MacOS/crypto
cp -R $QT_PLUGINS_DIR/sqldrivers/libqsqlite.dylib Contents/MacOS/sqldrivers/
cp -R $QT_PLUGINS_DIR/imageformats/libqgif.dylib Contents/MacOS/imageformats/
cp -R $QT_PLUGINS_DIR/imageformats/libqjpeg.dylib Contents/MacOS/imageformats/
cp -R $QT_PLUGINS_DIR/imageformats/libqico.dylib Contents/MacOS/imageformats/
cp -R $QT_PLUGINS_DIR/imageformats/libqmng.dylib Contents/MacOS/imageformats/
cp -R $QT_PLUGINS_DIR/imageformats/libqsvg.dylib Contents/MacOS/imageformats/
cp -R $QT_PLUGINS_DIR/imageformats/libqtiff.dylib Contents/MacOS/imageformats/
cp -R $QT_PLUGINS_DIR/crypto/libqca-ossl.dylib Contents/MacOS/crypto/
cp -R $QT_PLUGINS_DIR/phonon_backend/phonon_vlc.so Contents/MacOS/phonon_backend/
#cleanup
find Contents/Frameworks -name Headers -o -name \*.prl -o -name \*_debug | xargs rm -rf
find Contents -name \*_debug -o -name \*_debug.dylib | xargs rm

View File

@@ -1,16 +0,0 @@
#!/bin/sh
# author: lfranchi@kde.org
# usage: Run from inside the bundle root directory, eg. Tomahawk.app
# The first parameter should be the spotify resolver binary to copy.
# eg: add-spotify.sh /path/to/spotify_tomahawkresolver
################################################################################
mkdir -p Contents/Frameworks
cp -R /Library/Frameworks/libspotify.framework Contents/Frameworks
install_name_tool -change /usr/local/Cellar/qt/4.7.3/lib/QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore $1
install_name_tool -change /usr/local/Cellar/qt/4.7.3/lib/QtNetwork.framework/Versions/4/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork $1
install_name_tool -change libqjson.0.dylib @executable_path/libqjson.0.7.1.dylib $1
install_name_tool -change /usr/local/Cellar/qjson/0.7.1/lib/libqjson.0.7.1.dylib @executable_path/libqjson.0.7.1.dylib $1
mkdir -p Contents/MacOS
cp $1 Contents/MacOS/

View File

@@ -23,65 +23,31 @@ then
fi
ROOT=`pwd`
QTDIR=`which qmake`
LINKDIR=`readlink $QTDIR`
QTDIR=`dirname $QTDIR`
QTDIR=$QTDIR/`dirname $LINKDIR`
QTDIR=`dirname $QTDIR`
test -L "$QTDIR" && QTDIR=`readlink $QTDIR`
echo "Goes here: $QTDIR"
export QMAKESPEC='macx-g++'
export QTDIR
export VERSION
export QTVERSION='4.7.3'
################################################################################
CLEAN='1'
BUILD='1'
NOTQUICK='1'
CREATEDMG='1'
VERSION=$1
header "Adding Qt to app bundle"
cd tomahawk.app
$ROOT/../admin/mac/add-Qt-to-bundle.sh \
'QtCore QtGui QtXml QtNetwork QtSql QtXmlPatterns QtWebKit phonon'
# 'QtCore QtGui QtXml QtNetwork QtSql QtXmlPatterns QtWebKit QtDbus phonon'
################################################################################
header "Renaming files"
mv tomahawk.app Tomahawk.app
mv Tomahawk.app/Contents/MacOS/tomahawk Tomahawk.app/Contents/MacOS/Tomahawk
header "Fixing and copying libraries"
$ROOT/../admin/mac/macdeploy.py Tomahawk.app quiet
cd Tomahawk.app
header "Renaming icon"
mv Contents/Resources/tomahawkSources.icns Contents/Resources/Tomahawk.icns
mv Contents/MacOS/tomahawk Contents/MacOS/Tomahawk
# cp $ROOT/../admin/mac/Info.plist Contents/Info.plist
cp $ROOT/../admin/mac/qt.conf Contents/Resources/qt.conf
header "Copying VLC plugins into bundle"
mkdir -p Contents/plugins
cp -R /usr/local/Cellar/vlc-git/HEAD/lib/vlc/plugins/ Contents/plugins
rm -rf Contents/plugins/video_* Contents/plugins/gui Contents/plugins/*/libold* Contents/plugins/*/libvcd* Contents/plugins/*/libdvd* \
Contents/plugins/*/liblibass* Contents/plugins/*/libx264* Contents/plugins/*/libschroe* Contents/plugins/*/liblibmpeg2* \
Contents/plugins/*/libstream_out_* Contents/plugins/*/libmjpeg_plugin* Contents/plugins/*/libh264_plugin* Contents/plugins/*/libzvbi_plugin* Contents/plugins/*/lib*sub*
header "Running install_name_tool"
$ROOT/../admin/mac/deposx.sh
header "Copying Sparkle pubkey & framework, and qt.conf"
cp $ROOT/../admin/mac/sparkle_pub.pem Contents/Resources
header "Copying Sparkle framework"
cp -R /Library/Frameworks/Sparkle.framework Contents/Frameworks
cp $ROOT/../admin/mac/qt.conf Contents/Resources
header "Adding spotify resolver to bundle if spotify_tomahawkresolver found in $ROOT"
if [ -e $ROOT/spotify_tomahawkresolver ]
then
header "Found, so adding spotify resolver."ac
$ROOT/../admin/mac/add-spotify.sh $ROOT/spotify_tomahawkresolver
fi
header "Creating DMG"
cd ..
mv tomahawk.app Tomahawk.app
header "Signing bundle"
codesign -s "Developer ID Application: Leonardo Franchi" -f -v ./Tomahawk.app
$ROOT/../admin/mac/create-dmg.sh Tomahawk.app
mv Tomahawk.dmg Tomahawk-$VERSION.dmg

View File

@@ -1,164 +0,0 @@
#!/bin/sh
# author: max@last.fm, chris@last.fm
################################################################################
if [ -z $QTDIR ]
then
echo QTDIR must be set
exit 1
fi
if [ -z $QTVERSION ]
then
echo QTVERSION must be set
exit 1
fi
cd ..
ORIGROOT=`pwd`
cd -
cd Contents
QTLIBS=`ls Frameworks | cut -d. -f1`
LIBS=`cd MacOS && ls -fR1 | grep dylib`
PLUGINFOLDERS=`ls plugins | cut -d. -f1`
################################################################################
function import_lib
{
echo "L \`$1'"
cp -R -L $1 MacOS/`basename $1`
chmod u+rw MacOS/`basename $1`
deplib_change MacOS/`basename $1`
deposx_change MacOS/`basename $1`
}
function deposx_change
{
echo "D \`$1'"
echo $QTDIR
for y in $QTLIBS
do
install_name_tool -change $QTDIR/lib/$y.framework/Versions/4/$y \
@executable_path/../Frameworks/$y.framework/Versions/4/$y \
"$1"
install_name_tool -change /usr/local/Cellar/qt/$QTVERSION/lib/$y.framework/Versions/4/$y \
@executable_path/../Frameworks/$y.framework/Versions/4/$y \
"$1"
done
for y in $LIBS
do
install_name_tool -change $y \
@executable_path/$y \
"$1"
done
}
function deplib_change
{
install_name_tool -change /usr/local/Cellar/qjson/0.7.1/lib/libqjson.0.7.1.dylib @executable_path/libqjson.0.7.1.dylib $1
install_name_tool -change /usr/local/lib/libechonest.1.1.dylib @executable_path/libechonest.1.1.dylib $1
install_name_tool -change /usr/local/lib/libclucene-core.1.dylib @executable_path/libclucene-core.1.dylib $1
install_name_tool -change /usr/local/lib/libclucene-shared.1.dylib @executable_path/libclucene-shared.1.dylib $1
install_name_tool -change /usr/local/Cellar/taglib/1.7/lib/libtag.1.7.0.dylib @executable_path/libtag.1.7.0.dylib $1
# install_name_tool -change /usr/local/Cellar/gloox/1.0/lib/libgloox.8.dylib @executable_path/libgloox.8.dylib $1
# install_name_tool -change /usr/local/Cellar/libogg/1.2.0/lib/libogg.0.dylib @executable_path/libogg.0.dylib $1
# install_name_tool -change /usr/local/Cellar/libvorbis/1.3.1/lib/libvorbis.0.dylib @executable_path/libvorbis.0.dylib $1
# install_name_tool -change /usr/local/Cellar/libvorbis/1.3.1/lib/libvorbisfile.3.dylib @executable_path/libvorbisfile.3.dylib $1
# install_name_tool -change /usr/local/Cellar/mad/0.15.1b/lib/libmad.0.dylib @executable_path/libmad.0.dylib $1
# install_name_tool -change /usr/local/Cellar/flac/1.2.1/lib/libFLAC++.6.dylib @executable_path/libFLAC++.6.dylib $1
# install_name_tool -change /usr/local/Cellar/flac/1.2.1/lib/libFLAC.8.dylib @executable_path/libFLAC.8.dylib $1
install_name_tool -change /usr/local/Cellar/kde-phonon/4.5.0/lib/libphonon.4.dylib @executable_path/libphonon.4.dylib $1
install_name_tool -change /usr/local/Cellar/kde-phonon/4.5.0/lib/libphonon.4.5.0.dylib @executable_path/libphonon.4.dylib $1
install_name_tool -change $ORIGROOT/libtomahawklib.dylib @executable_path/libtomahawklib.dylib $1
install_name_tool -change $ORIGROOT/libtomahawk_sipjabber.dylib @executable_path/libtomahawk_sipjabber.dylib $1
install_name_tool -change $ORIGROOT/libtomahawk_sipgoogle.dylib @executable_path/libtomahawk_sipgoogle.dylib $1
install_name_tool -change $ORIGROOT/libtomahawk_siptwitter.dylib @executable_path/libtomahawk_siptwitter.dylib $1
install_name_tool -change $ORIGROOT/libtomahawk_sipzeroconf.dylib @executable_path/libtomahawk_sipzeroconf.dylib $1
install_name_tool -change $ORIGROOT/libtomahawk_qtweetlib.dylib @executable_path/libtomahawk_qtweetlib.dylib $1
install_name_tool -change $ORIGROOT/libtomahawk_portfwd.dylib @executable_path/libtomahawk_portfwd.dylib $1
install_name_tool -change $ORIGROOT/libjreen.dylib @executable_path/libjreen.dylib $1
install_name_tool -change /usr/local/Cellar/jreen/HEAD/lib/libjreen.dylib @executable_path/libjreen.dylib $1
install_name_tool -change /usr/local/Cellar/qca/2.0.2/lib/qca.framework/Versions/2/qca @executable_path/../Frameworks/qca.framework/Versions/2/qca $1
install_name_tool -change /usr/local/Cellar/gettext/0.18.1.1/lib/libintl.8.dylib @executable_path/libintl.8.dylib $1
install_name_tool -change /usr/local/Cellar/vlc-git/HEAD/lib/libvlc.5.dylib @executable_path/libvlc.5.dylib $1
install_name_tool -change /usr/local/Cellar/vlc-git/HEAD/lib/libvlccore.4.dylib @executable_path/libvlccore.4.dylib $1
install_name_tool -change libqjson.0.dylib @executable_path/libqjson.0.7.1.dylib $1
install_name_tool -change libechonest.1.1.dylib @executable_path/libechonest.1.1.dylib $1
install_name_tool -change libclucene-core.1.dylib @executable_path/libclucene-core.1.dylib $1
install_name_tool -change libclucene-shared.1.dylib @executable_path/libclucene-shared.1.dylib $1
}
################################################################################
# first all libraries and executables
find MacOS -type f -a -perm -100 | while read x
do
echo $x
y=$(file "$x" | grep 'Mach-O')
deposx_change "$x"
deplib_change "$x"
done
import_lib /usr/local/Cellar/qjson/0.7.1/lib/libqjson.0.7.1.dylib
import_lib /usr/local/Cellar/taglib/1.7/lib/libtag.1.7.0.dylib
#import_lib /usr/local/Cellar/gloox/1.0/lib/libgloox.8.dylib
#import_lib /usr/local/Cellar/libogg/1.2.0/lib/libogg.0.dylib
#import_lib /usr/local/Cellar/libvorbis/1.3.1/lib/libvorbis.0.dylib
#import_lib /usr/local/Cellar/libvorbis/1.3.1/lib/libvorbisfile.3.dylib
#import_lib /usr/local/Cellar/mad/0.15.1b/lib/libmad.0.dylib
#import_lib /usr/local/Cellar/flac/1.2.1/lib/libFLAC++.6.dylib
#import_lib /usr/local/Cellar/flac/1.2.1/lib/libFLAC.8.dylib
import_lib /usr/local/lib/libechonest.1.1.dylib
import_lib /usr/local/lib/libclucene-core.1.dylib
import_lib /usr/local/lib/libclucene-shared.1.dylib
import_lib /usr/local/Cellar/kde-phonon/4.5.0/lib/libphonon.4.dylib
import_lib /usr/local/Cellar/vlc-git/HEAD/lib/libvlc.5.dylib
import_lib /usr/local/Cellar/vlc-git/HEAD/lib/libvlccore.4.dylib
import_lib /usr/local/Cellar/gettext/0.18.1.1/lib/libintl.8.dylib
import_lib $ORIGROOT/libjreen.dylib
import_lib $ORIGROOT/libtomahawklib.dylib
import_lib $ORIGROOT/libtomahawk_sipjabber.dylib
import_lib $ORIGROOT/libtomahawk_sipgoogle.dylib
import_lib $ORIGROOT/libtomahawk_siptwitter.dylib
import_lib $ORIGROOT/libtomahawk_sipzeroconf.dylib
import_lib $ORIGROOT/libtomahawk_qtweetlib.dylib
import_lib $ORIGROOT/libtomahawk_portfwd.dylib
cp -R /usr/local/Cellar/qca/2.0.2/lib/qca.framework Frameworks/
chmod 644 Frameworks/qca.framework/Versions/2/qca
deplib_change Frameworks/qca.framework/Versions/2/qca
deposx_change Frameworks/qca.framework/Versions/2/qca
# now Qt
for x in $QTLIBS
do
echo `pwd`
# ls -l Frameworks/$x.framework/Versions/4/$x
deposx_change Frameworks/$x.framework/Versions/4/$x
install_name_tool -id @executable_path/../Frameworks/$x.framework/Versions/4/$x \
Frameworks/$x.framework/Versions/4/$x
deplib_change "Frameworks/$x.framework/Versions/4/$x"
done
# now VLC plugins
for x in plugins/$PLUGINFOLDERS
do
for plugin in `ls plugins/$x | cut -f1`
do
echo "Fixing VLC plugin: $plugin"
chmod 644 plugins/$x/$plugin
deplib_change plugins/$x/$plugin
done
done

525
admin/mac/macdeploy.py Executable file
View File

@@ -0,0 +1,525 @@
#!/usr/bin/python
# This file is part of Tomahawk.
# It was inspired in large part by the macdeploy script in Clementine.
#
# Clementine is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Clementine is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Clementine. If not, see <http://www.gnu.org/licenses/>.
import os
import re
import subprocess
import commands
import sys
FRAMEWORK_SEARCH_PATH=[
'/Library/Frameworks',
os.path.join(os.environ['HOME'], 'Library/Frameworks')
]
LIBRARY_SEARCH_PATH=['/usr/local/lib', '/usr/local/Cellar/gettext/0.18.1.1/lib', '.']
VLC_PLUGINS=[
'libaccess_attachment_plugin.dylib',
#'libaccess_avio_plugin.dylib',
#'libaccess_fake_plugin.dylib',
'libaccess_ftp_plugin.dylib',
'libaccess_http_plugin.dylib',
'libaccess_imem_plugin.dylib',
#'libaccess_mmap_plugin.dylib',
'libaccess_mms_plugin.dylib',
'libaccess_realrtsp_plugin.dylib',
'libaccess_tcp_plugin.dylib',
'libaccess_udp_plugin.dylib',
'libcdda_plugin.dylib',
'libfilesystem_plugin.dylib',
'libqtcapture_plugin.dylib',
'librtp_plugin.dylib',
'libzip_plugin.dylib',
'libaccess_output_dummy_plugin.dylib',
'libaccess_output_file_plugin.dylib',
'libaccess_output_http_plugin.dylib',
'libaccess_output_shout_plugin.dylib',
'libaccess_output_udp_plugin.dylib',
'liba52tofloat32_plugin.dylib',
'liba52tospdif_plugin.dylib',
'libaudio_format_plugin.dylib',
'libaudiobargraph_a_plugin.dylib',
'libchorus_flanger_plugin.dylib',
'libconverter_fixed_plugin.dylib',
'libdolby_surround_decoder_plugin.dylib',
'libdtstofloat32_plugin.dylib',
'libdtstospdif_plugin.dylib',
'libequalizer_plugin.dylib',
'libheadphone_channel_mixer_plugin.dylib',
'libmono_plugin.dylib',
'libmpgatofixed32_plugin.dylib',
'libnormvol_plugin.dylib',
'libparam_eq_plugin.dylib',
'libscaletempo_plugin.dylib',
'libsimple_channel_mixer_plugin.dylib',
'libspatializer_plugin.dylib',
'libtrivial_channel_mixer_plugin.dylib',
'libugly_resampler_plugin.dylib',
'libfloat32_mixer_plugin.dylib',
#'libspdif_mixer_plugin.dylib',
#'libtrivial_mixer_plugin.dylib',
'libaout_file_plugin.dylib',
'libauhal_plugin.dylib',
'liba52_plugin.dylib',
'libadpcm_plugin.dylib',
'libaes3_plugin.dylib',
'libaraw_plugin.dylib',
'libavcodec_plugin.dylib',
'libcc_plugin.dylib',
'libcdg_plugin.dylib',
'libdts_plugin.dylib',
'libfaad_plugin.dylib',
#'libfake_plugin.dylib',
'libflac_plugin.dylib',
'libfluidsynth_plugin.dylib',
#'libinvmem_plugin.dylib',
'liblpcm_plugin.dylib',
'libmpeg_audio_plugin.dylib',
'libpng_plugin.dylib',
'librawvideo_plugin.dylib',
'libspeex_plugin.dylib',
'libspudec_plugin.dylib',
'libtheora_plugin.dylib',
'libtwolame_plugin.dylib',
'libvorbis_plugin.dylib',
'libgestures_plugin.dylib',
'libhotkeys_plugin.dylib',
'libmotion_plugin.dylib',
'libnetsync_plugin.dylib',
#'libsignals_plugin.dylib',
'libaiff_plugin.dylib',
'libasf_plugin.dylib',
'libau_plugin.dylib',
#'libavformat_plugin.dylib',
'libavi_plugin.dylib',
'libdemux_cdg_plugin.dylib',
'libdemuxdump_plugin.dylib',
'libdirac_plugin.dylib',
'libes_plugin.dylib',
'libflacsys_plugin.dylib',
'liblive555_plugin.dylib',
'libmkv_plugin.dylib',
'libmod_plugin.dylib',
'libmp4_plugin.dylib',
'libmpc_plugin.dylib',
'libmpgv_plugin.dylib',
'libnsc_plugin.dylib',
'libnsv_plugin.dylib',
'libnuv_plugin.dylib',
'libogg_plugin.dylib',
'libplaylist_plugin.dylib',
'libps_plugin.dylib',
'libpva_plugin.dylib',
'librawaud_plugin.dylib',
'librawdv_plugin.dylib',
'librawvid_plugin.dylib',
'libreal_plugin.dylib',
'libsmf_plugin.dylib',
'libts_plugin.dylib',
'libtta_plugin.dylib',
'libty_plugin.dylib',
'libvc1_plugin.dylib',
'libvoc_plugin.dylib',
'libwav_plugin.dylib',
'libxa_plugin.dylib',
'libfolder_plugin.dylib',
'libtaglib_plugin.dylib',
'libaudioscrobbler_plugin.dylib',
'libdummy_plugin.dylib',
'libexport_plugin.dylib',
'libfreetype_plugin.dylib',
'libgnutls_plugin.dylib',
'liblogger_plugin.dylib',
'liblua_plugin.dylib',
'libosd_parser_plugin.dylib',
'libquartztext_plugin.dylib',
'libstats_plugin.dylib',
'libvod_rtsp_plugin.dylib',
'libxml_plugin.dylib',
#'libxtag_plugin.dylib',
'libi420_rgb_mmx_plugin.dylib',
'libi420_yuy2_mmx_plugin.dylib',
'libi422_yuy2_mmx_plugin.dylib',
'libmemcpymmx_plugin.dylib',
'libmemcpymmxext_plugin.dylib',
'libmux_asf_plugin.dylib',
'libmux_avi_plugin.dylib',
'libmux_dummy_plugin.dylib',
'libmux_mp4_plugin.dylib',
'libmux_mpjpeg_plugin.dylib',
'libmux_ogg_plugin.dylib',
'libmux_ps_plugin.dylib',
'libmux_ts_plugin.dylib',
'libmux_wav_plugin.dylib',
'libpacketizer_copy_plugin.dylib',
'libpacketizer_dirac_plugin.dylib',
'libpacketizer_flac_plugin.dylib',
'libpacketizer_h264_plugin.dylib',
'libpacketizer_mlp_plugin.dylib',
'libpacketizer_mpeg4audio_plugin.dylib',
'libpacketizer_mpeg4video_plugin.dylib',
'libpacketizer_mpegvideo_plugin.dylib',
'libpacketizer_vc1_plugin.dylib',
'libi420_rgb_sse2_plugin.dylib',
'libi420_yuy2_sse2_plugin.dylib',
'libi422_yuy2_sse2_plugin.dylib',
'libdecomp_plugin.dylib',
'libstream_filter_rar_plugin.dylib',
'libstream_filter_record_plugin.dylib',
'libvisual_plugin.dylib',
]
VLC_SEARCH_PATH=[
'/usr/local/lib/vlc/plugins/',
]
QT_PLUGINS = [
'crypto/libqca-ossl.dylib',
'phonon_backend/phonon_vlc.so',
'sqldrivers/libqsqlite.dylib',
'imageformats/libqgif.dylib',
'imageformats/libqico.dylib',
'imageformats/libqjpeg.dylib',
'imageformats/libqmng.dylib',
]
TOMAHAWK_PLUGINS = [
'libtomahawk_account_xmpp.so',
'libtomahawk_account_google.so',
'libtomahawk_account_twitter.so',
'libtomahawk_account_zeroconf.so',
'libtomahawk_infoplugin_adium.so',
'libtomahawk_infoplugin_charts.so',
'libtomahawk_infoplugin_discogs.so',
'libtomahawk_infoplugin_echonest.so',
'libtomahawk_infoplugin_hypem.so',
'libtomahawk_infoplugin_musicbrainz.so',
'libtomahawk_infoplugin_musixmatch.so',
'libtomahawk_infoplugin_newreleases.so',
'libtomahawk_infoplugin_rovi.so',
'libtomahawk_infoplugin_spotify.so',
]
QT_PLUGINS_SEARCH_PATH=[
'/usr/local/Cellar/qt/4.8.2/plugins',
]
class Error(Exception):
pass
class CouldNotFindQtPluginErrorFindFrameworkError(Error):
pass
class InstallNameToolError(Error):
pass
class CouldNotFindQtPluginError(Error):
pass
class CouldNotFindVLCPluginError(Error):
pass
class CouldNotFindScriptPluginError(Error):
pass
if len(sys.argv) < 2:
print 'Usage: %s <bundle.app>' % sys.argv[0]
bundle_dir = sys.argv[1]
bundle_name = os.path.basename(bundle_dir).split('.')[0]
commands = []
binary_dir = os.path.join(bundle_dir, 'Contents', 'MacOS')
frameworks_dir = os.path.join(bundle_dir, 'Contents', 'Frameworks')
commands.append(['mkdir', '-p', frameworks_dir])
resources_dir = os.path.join(bundle_dir, 'Contents', 'Resources')
commands.append(['mkdir', '-p', resources_dir])
plugins_dir = os.path.join(bundle_dir, 'Contents', 'qt-plugins')
binary = os.path.join(bundle_dir, 'Contents', 'MacOS', bundle_name)
fixed_libraries = []
fixed_frameworks = []
def GetBrokenLibraries(binary):
#print "Checking libs for binary: %s" % binary
output = subprocess.Popen(['otool', '-L', binary], stdout=subprocess.PIPE).communicate()[0]
broken_libs = {
'frameworks': [],
'libs': []}
for line in [x.split(' ')[0].lstrip() for x in output.split('\n')[1:]]:
#print "Checking line: %s" % line
if not line: # skip empty lines
continue
if os.path.basename(binary) == os.path.basename(line):
#print "mnope %s-%s" % (os.path.basename(binary), os.path.basename(line))
continue
if re.match(r'^\s*/System/', line):
continue # System framework
elif re.match(r'^\s*/usr/lib/', line):
#print "unix style system lib"
continue # unix style system library
elif re.match(r'Breakpad', line):
continue # Manually added by cmake.
elif re.match(r'^\s*@executable_path', line) or re.match(r'^\s*@loader_path', line):
# Potentially already fixed library
if '.framework' in line:
relative_path = os.path.join(*line.split('/')[3:])
if not os.path.exists(os.path.join(frameworks_dir, relative_path)):
broken_libs['frameworks'].append(relative_path)
else:
relative_path = os.path.join(*line.split('/')[1:])
#print "RELPATH %s %s" % (relative_path, os.path.join(binary_dir, relative_path))
if not os.path.exists(os.path.join(binary_dir, relative_path)):
broken_libs['libs'].append(relative_path)
elif re.search(r'\w+\.framework', line):
broken_libs['frameworks'].append(line)
else:
broken_libs['libs'].append(line)
return broken_libs
def FindFramework(path):
for search_path in FRAMEWORK_SEARCH_PATH:
abs_path = os.path.join(search_path, path)
if os.path.exists(abs_path):
return abs_path
raise CouldNotFindFrameworkError(path)
def FindLibrary(path):
if os.path.exists(path):
return path
for search_path in LIBRARY_SEARCH_PATH:
abs_path = os.path.join(search_path, path)
if os.path.exists(abs_path):
return abs_path
else: # try harder---look for lib name in library folders
newpath = os.path.join(search_path,os.path.basename(path))
if os.path.exists(newpath):
return newpath
return ""
#raise CouldNotFindFrameworkError(path)
def FixAllLibraries(broken_libs):
for framework in broken_libs['frameworks']:
FixFramework(framework)
for lib in broken_libs['libs']:
FixLibrary(lib)
def FixFramework(path):
if path in fixed_libraries:
return
else:
fixed_libraries.append(path)
abs_path = FindFramework(path)
broken_libs = GetBrokenLibraries(abs_path)
FixAllLibraries(broken_libs)
new_path = CopyFramework(abs_path)
id = os.sep.join(new_path.split(os.sep)[3:])
FixFrameworkId(new_path, id)
for framework in broken_libs['frameworks']:
FixFrameworkInstallPath(framework, new_path)
for library in broken_libs['libs']:
FixLibraryInstallPath(library, new_path)
def FixLibrary(path):
if path in fixed_libraries or FindSystemLibrary(os.path.basename(path)) is not None:
return
else:
fixed_libraries.append(path)
abs_path = FindLibrary(path)
if abs_path == "":
print "Could not resolve %s, not fixing!" % path
return
broken_libs = GetBrokenLibraries(abs_path)
FixAllLibraries(broken_libs)
new_path = CopyLibrary(abs_path)
FixLibraryId(new_path)
for framework in broken_libs['frameworks']:
FixFrameworkInstallPath(framework, new_path)
for library in broken_libs['libs']:
FixLibraryInstallPath(library, new_path)
def FixVLCPlugin(abs_path, subdir):
broken_libs = GetBrokenLibraries(abs_path)
FixAllLibraries(broken_libs)
#print "Copying plugin....%s %s %s" % (plugins_dir, subdir, os.path.join(abs_path.split('/')[-2:]))
new_path = os.path.join(plugins_dir, subdir, os.path.basename(abs_path))
args = ['mkdir', '-p', os.path.dirname(new_path)]
commands.append(args)
args = ['ditto', '--arch=i386', '--arch=x86_64', abs_path, new_path]
commands.append(args)
args = ['chmod', 'u+w', new_path]
commands.append(args)
for framework in broken_libs['frameworks']:
FixFrameworkInstallPath(framework, new_path)
for library in broken_libs['libs']:
FixLibraryInstallPath(library, new_path)
def FixPlugin(abs_path, subdir):
broken_libs = GetBrokenLibraries(abs_path)
FixAllLibraries(broken_libs)
new_path = CopyPlugin(abs_path, subdir)
for framework in broken_libs['frameworks']:
FixFrameworkInstallPath(framework, new_path)
for library in broken_libs['libs']:
FixLibraryInstallPath(library, new_path)
def FixBinary(path):
broken_libs = GetBrokenLibraries(path)
FixAllLibraries(broken_libs)
for framework in broken_libs['frameworks']:
FixFrameworkInstallPath(framework, path)
for library in broken_libs['libs']:
FixLibraryInstallPath(library, path)
def CopyLibrary(path):
new_path = os.path.join(frameworks_dir, os.path.basename(path))
args = ['ditto', '--arch=i386', '--arch=x86_64', path, new_path]
commands.append(args)
args = ['chmod', 'u+w', new_path]
commands.append(args)
return new_path
def CopyPlugin(path, subdir):
new_path = os.path.join(plugins_dir, subdir, os.path.basename(path))
args = ['mkdir', '-p', os.path.dirname(new_path)]
commands.append(args)
args = ['ditto', '--arch=i386', '--arch=x86_64', path, new_path]
commands.append(args)
args = ['chmod', 'u+w', new_path]
commands.append(args)
return new_path
def CopyFramework(path):
parts = path.split(os.sep)
for i, part in enumerate(parts):
if re.match(r'\w+\.framework', part):
full_path = os.path.join(frameworks_dir, *parts[i:-1])
break
args = ['mkdir', '-p', full_path]
commands.append(args)
args = ['ditto', '--arch=i386', '--arch=x86_64', path, full_path]
commands.append(args)
args = ['chmod', 'u+w', os.path.join(full_path, parts[-1])]
commands.append(args)
menu_nib = os.path.join(os.path.split(path)[0], 'Resources', 'qt_menu.nib')
if os.path.exists(menu_nib):
args = ['cp', '-r', menu_nib, resources_dir]
commands.append(args)
return os.path.join(full_path, parts[-1])
def FixId(path, library_name):
id = '@executable_path/../Frameworks/%s' % library_name
args = ['install_name_tool', '-id', id, path]
commands.append(args)
def FixLibraryId(path):
library_name = os.path.basename(path)
FixId(path, library_name)
def FixFrameworkId(path, id):
FixId(path, id)
def FixInstallPath(library_path, library, new_path):
args = ['install_name_tool', '-change', library_path, new_path, library]
commands.append(args)
def FindSystemLibrary(library_name):
for path in ['/lib', '/usr/lib']:
full_path = os.path.join(path, library_name)
if os.path.exists(full_path):
return full_path
return None
def FixLibraryInstallPath(library_path, library):
system_library = FindSystemLibrary(os.path.basename(library_path))
if system_library is None:
new_path = '@executable_path/../Frameworks/%s' % os.path.basename(library_path)
FixInstallPath(library_path, library, new_path)
else:
FixInstallPath(library_path, library, system_library)
def FixFrameworkInstallPath(library_path, library):
parts = library_path.split(os.sep)
for i, part in enumerate(parts):
if re.match(r'\w+\.framework', part):
full_path = os.path.join(*parts[i:])
break
new_path = '@executable_path/../Frameworks/%s' % full_path
FixInstallPath(library_path, library, new_path)
def FindQtPlugin(name):
for path in QT_PLUGINS_SEARCH_PATH:
if os.path.exists(path):
if os.path.exists(os.path.join(path, name)):
return os.path.join(path, name)
raise CouldNotFindQtPluginError(name)
def FindVLCPlugin(name):
for path in VLC_SEARCH_PATH:
if os.path.exists(path):
if os.path.exists(os.path.join(path, name)):
return os.path.join(path, name)
raise CouldNotFindVLCPluginError(name)
FixBinary(binary)
for plugin in VLC_PLUGINS:
FixVLCPlugin(FindVLCPlugin(plugin), '../plugins')
for plugin in TOMAHAWK_PLUGINS:
FixPlugin(plugin, '../MacOS')
try:
FixPlugin('tomahawk_crash_reporter', '../MacOS')
except:
print 'Failed to find tomahawk_crash_reporter'
for plugin in QT_PLUGINS:
FixPlugin(FindQtPlugin(plugin), os.path.dirname(plugin))
if len(sys.argv) <= 2:
print 'Would run %d commands:' % len(commands)
for command in commands:
print ' '.join(command)
print 'OK?'
raw_input()
for command in commands:
p = subprocess.Popen(command)
os.waitpid(p.pid, 0)

View File

@@ -1,2 +1,2 @@
[Paths]
Plugins = plugins
Plugins = qt-plugins

View File

@@ -4,8 +4,9 @@ Version=1.0
Name=Tomahawk
GenericName=Music Player
TryExec=tomahawk
Exec=tomahawk
Exec=tomahawk %u
Comment=Tomahawk - Social Music Player
Icon=tomahawk
Terminal=false
Categories=Qt;AudioVideo;Audio;Player;
MimeType=x-scheme-handler/tomahawk;

View File

@@ -1,20 +1,23 @@
SET(MINGW_PREFIX "i686-w64-mingw32")
# this one is important
SET(CMAKE_SYSTEM_NAME Windows)
# specify the cross compiler
SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
SET(CMAKE_C_COMPILER ccache ${MINGW_PREFIX}-gcc)
SET(CMAKE_C_FLAGS "-fno-keep-inline-dllexport")
SET(CMAKE_CXX_COMPILER ccache ${MINGW_PREFIX}-g++)
SET(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS})
SET(CMAKE_RC_COMPILER /usr/bin/${MINGW_PREFIX}-windres)
# where is the target environment containing libraries
SET(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32/sys-root/mingw)
SET(CMAKE_FIND_ROOT_PATH /usr/${MINGW_PREFIX}/sys-root/mingw)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
# windres executable for application icon support
SET(WINDRES_EXECUTABLE /usr/bin/i686-w64-mingw32-windres)
# libs with broken find modules
SET(TAGLIB_FOUND true)
SET(TAGLIB_LIBRARIES ${CMAKE_FIND_ROOT_PATH}/lib/libtag.dll.a)
SET(TAGLIB_INCLUDES ${CMAKE_FIND_ROOT_PATH}/include/taglib)
# configure qt variables
SET(QT_LIBRARY_DIR /usr/${MINGW_PREFIX}/bin)
SET(QT_PLUGINS_DIR ${CMAKE_FIND_ROOT_PATH}/lib/qt4/plugins/)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -1 +0,0 @@
105

View File

@@ -1,668 +0,0 @@
;Tomahawk installer script.
;-----------------------------------------------------------------------------
; Some installer script options (comment-out options not required)
;-----------------------------------------------------------------------------
;!define OPTION_LICENSE_AGREEMENT
!define OPTION_UAC_PLUGIN_ENHANCED
!define OPTION_SECTION_SC_START_MENU
!define OPTION_SECTION_SC_DESKTOP
!define OPTION_SECTION_SC_QUICK_LAUNCH
!define OPTION_FINISHPAGE
!define OPTION_FINISHPAGE_LAUNCHER
!define OPTION_FINISHPAGE_RELEASE_NOTES
;-----------------------------------------------------------------------------
; Some paths.
;-----------------------------------------------------------------------------
!ifndef MING_PATH
!define MING_PATH "/usr/i686-w64-mingw32/sys-root/mingw"
!endif
!define MING_BIN "${MING_PATH}/bin"
!define MING_LIB "${MING_PATH}/lib"
!define ROOT_PATH "..\..\.." ; assuming the script is in ROOT/admin/win/nsi
!define BUILD_PATH "${ROOT_PATH}\build"
!define QT_DLL_PATH "${MING_BIN}"
!define SQLITE_DLL_PATH "${MING_LIB}/qt4/plugins/sqldrivers"
!define IMAGEFORMATS_DLL_PATH "${MING_LIB}/qt4/plugins/imageformats"
!define VLC_PATH "${ROOT_PATH}\..\vlc"
!define VLC_PLUGIN_PATH "${VLC_PATH}\plugins"
;-----------------------------------------------------------------------------
; Increment installer revision number as part of this script.
;-----------------------------------------------------------------------------
!define /file REVISION_LAST revision.txt
!define /math REVISION ${REVISION_LAST} + 1
!delfile revision.txt
!appendfile revision.txt ${REVISION}
!ifndef VER_MAJOR && VER_MINOR && VER_BUILD
!define VER_MAJOR "0"
!define VER_MINOR "1"
!define VER_BUILD "0rc2"
!endif
!define VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}"
;-----------------------------------------------------------------------------
; Installer build timestamp.
;-----------------------------------------------------------------------------
!define /date BUILD_TIME "built on %Y/%m/%d at %I:%M %p (rev. ${REVISION})"
;-----------------------------------------------------------------------------
; Initial installer setup and definitions.
;-----------------------------------------------------------------------------
Name "Tomahawk"
Caption "Tomahawk Installer"
BrandingText "Tomahawk ${VERSION} -- ${BUILD_TIME}"
OutFile "tomahawk-${VERSION}.exe"
InstallDir "$PROGRAMFILES\Tomahawk"
InstallDirRegKey HKCU "Software\Tomahawk" ""
InstType Standard
InstType Full
InstType Minimal
CRCCheck On
SetCompressor /SOLID lzma
RequestExecutionLevel user ;Now using the UAC plugin.
ReserveFile tomahawk.ini
ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
;-----------------------------------------------------------------------------
; Include some required header files.
;-----------------------------------------------------------------------------
!include LogicLib.nsh ;Used by APPDATA uninstaller.
!include nsDialogs.nsh ;Used by APPDATA uninstaller.
!include MUI2.nsh ;Used by APPDATA uninstaller.
!include InstallOptions.nsh ;Required by MUI2 to support old MUI_INSTALLOPTIONS.
!include Memento.nsh ;Remember user selections.
!include WinVer.nsh ;Windows version detection.
!include WordFunc.nsh ;Used by VersionCompare macro function.
!include UAC.nsh ;Used by the UAC elevation to install as user or admin.
;-----------------------------------------------------------------------------
; Memento selections stored in registry.
;-----------------------------------------------------------------------------
!define MEMENTO_REGISTRY_ROOT HKLM
!define MEMENTO_REGISTRY_KEY Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk
;-----------------------------------------------------------------------------
; Modern User Interface (MUI) defintions and setup.
;-----------------------------------------------------------------------------
!define MUI_ABORTWARNING
!define MUI_ICON installer.ico
!define MUI_UNICON installer.ico
!define MUI_WELCOMEFINISHPAGE_BITMAP welcome.bmp
!define MUI_WELCOMEPAGE_TITLE "Tomahawk ${VERSION} Setup$\r$\nInstaller Build Revision ${REVISION}"
!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation.$\r$\n$\r$\n$_CLICK"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP page_header.bmp
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_FINISHPAGE_TITLE "Tomahawk Install Completed"
!define MUI_FINISHPAGE_LINK "Click here to visit the Tomahawk website."
!define MUI_FINISHPAGE_LINK_LOCATION "http://tomahawk-player.org/"
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
!ifdef OPTION_FINISHPAGE_RELEASE_NOTES
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\NOTES.txt"
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Show release notes"
!endif
!ifdef OPTION_FINISHPAGE_LAUNCHER
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchTomahawk"
!endif
;-----------------------------------------------------------------------------
; Page macros.
;-----------------------------------------------------------------------------
!insertmacro MUI_PAGE_WELCOME
!ifdef OPTION_LICENSE_AGREEMENT
!insertmacro MUI_PAGE_LICENSE "LICENSE.txt"
!endif
Page custom PageReinstall PageLeaveReinstall
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!ifdef OPTION_FINISHPAGE
!insertmacro MUI_PAGE_FINISH
!endif
!insertmacro MUI_UNPAGE_CONFIRM
UninstPage custom un.UnPageUserAppData un.UnPageUserAppDataLeave
!insertmacro MUI_UNPAGE_INSTFILES
;-----------------------------------------------------------------------------
; Other MUI macros.
;-----------------------------------------------------------------------------
!insertmacro MUI_LANGUAGE "English"
##############################################################################
# #
# FINISH PAGE LAUNCHER FUNCTIONS #
# #
##############################################################################
Function LaunchTomahawk
${UAC.CallFunctionAsUser} LaunchTomahawkAsUser
FunctionEnd
Function LaunchTomahawkAsUser
Exec "$INSTDIR\tomahawk.exe"
FunctionEnd
##############################################################################
# #
# PROCESS HANDLING FUNCTIONS AND MACROS #
# #
##############################################################################
!macro CheckForProcess processName gotoWhenFound gotoWhenNotFound
Processes::FindProcess ${processName}
StrCmp $R0 "0" ${gotoWhenNotFound} ${gotoWhenFound}
!macroend
!macro ConfirmEndProcess processName
MessageBox MB_YESNO|MB_ICONEXCLAMATION \
"Found ${processName} process(s) which need to be stopped.$\nDo you want the installer to stop these for you?" \
IDYES process_${processName}_kill IDNO process_${processName}_ended
process_${processName}_kill:
DetailPrint "Killing ${processName} processes."
Processes::KillProcess ${processName}
Sleep 1500
StrCmp $R0 "1" process_${processName}_ended
DetailPrint "Process to kill not found!"
process_${processName}_ended:
!macroend
!macro CheckAndConfirmEndProcess processName
!insertmacro CheckForProcess ${processName} 0 no_process_${processName}_to_end
!insertmacro ConfirmEndProcess ${processName}
no_process_${processName}_to_end:
!macroend
Function EnsureTomahawkShutdown
!insertmacro CheckAndConfirmEndProcess "tomahawk.exe"
FunctionEnd
##############################################################################
# #
# RE-INSTALLER FUNCTIONS #
# #
##############################################################################
Function PageReinstall
ReadRegStr $R0 HKLM "Software\Tomahawk" ""
StrCmp $R0 "" 0 +2
Abort
;Detect version
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionMajor"
IntCmp $R0 ${VER_MAJOR} minor_check new_version older_version
minor_check:
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionMinor"
IntCmp $R0 ${VER_MINOR} build_check new_version older_version
build_check:
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionBuild"
IntCmp $R0 ${VER_BUILD} revision_check new_version older_version
revision_check:
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionRevision"
IntCmp $R0 ${REVISION} same_version new_version older_version
new_version:
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 1" "Text" "An older version of Tomahawk is installed on your system. It is recommended that you uninstall the current version before installing. Select the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 2" "Text" "Uninstall before installing"
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 3" "Text" "Do not uninstall"
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose how you want to install Tomahawk."
StrCpy $R0 "1"
Goto reinst_start
older_version:
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 1" "Text" "A newer version of Tomahawk is already installed! It is not recommended that you install an older version. If you really want to install this older version, it is better to uninstall the current version first. Select the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 2" "Text" "Uninstall before installing"
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 3" "Text" "Do not uninstall"
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose how you want to install Tomahawk."
StrCpy $R0 "1"
Goto reinst_start
same_version:
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 1" "Text" "Tomahawk ${VERSION} is already installed.\r\nSelect the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 2" "Text" "Add/Reinstall components"
!insertmacro INSTALLOPTIONS_WRITE "tomahawk.ini" "Field 3" "Text" "Uninstall Tomahawk"
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose the maintenance option to perform."
StrCpy $R0 "2"
reinst_start:
!insertmacro INSTALLOPTIONS_DISPLAY "tomahawk.ini"
FunctionEnd
Function PageLeaveReinstall
!insertmacro INSTALLOPTIONS_READ $R1 "tomahawk.ini" "Field 2" "State"
StrCmp $R0 "1" 0 +2
StrCmp $R1 "1" reinst_uninstall reinst_done
StrCmp $R0 "2" 0 +3
StrCmp $R1 "1" reinst_done reinst_uninstall
reinst_uninstall:
ReadRegStr $R1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "UninstallString"
HideWindow
ClearErrors
ExecWait '$R1 _?=$INSTDIR'
IfErrors no_remove_uninstaller
IfFileExists "$INSTDIR\tomahawk.exe" no_remove_uninstaller
Delete $R1
RMDir $INSTDIR
no_remove_uninstaller:
StrCmp $R0 "2" 0 +3
UAC::Unload
Quit
BringToFront
reinst_done:
FunctionEnd
##############################################################################
# #
# INSTALLER SECTIONS #
# #
##############################################################################
Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
SectionIn 1 2 3 RO
SetDetailsPrint listonly
SetDetailsPrint textonly
DetailPrint "Installing Tomahawk Player essentials."
SetDetailsPrint listonly
SetOutPath "$INSTDIR"
!ifdef INSTALL_PATH
;Main executable.
File "${INSTALL_PATH}\bin\tomahawk.exe"
File "${INSTALL_PATH}\bin\libqxtweb-standalone.dll"
File "${INSTALL_PATH}\bin\libtomahawk_portfwd.dll"
File "${INSTALL_PATH}\bin\libtomahawk_lastfm2.dll"
File "${INSTALL_PATH}\bin\libtomahawklib.dll"
File "${INSTALL_PATH}\lib\libtomahawk_sip*.dll"
!endif
!ifndef INSTALL_PATH
;Main executable.
File "${BUILD_PATH}\tomahawk.exe"
File "${BUILD_PATH}\libtomahawklib.dll"
File "${BUILD_PATH}\libqxtweb-standalone.dll"
File "${BUILD_PATH}\libtomahawk_portfwd.dll"
File "${BUILD_PATH}\libtomahawk_lastfm2.dll"
File "${BUILD_PATH}\libtomahawk_sip*.dll"
!endif
;License & release notes.
File "${ROOT_PATH}\LICENSE.txt"
File /oname=NOTES.txt RELEASE_NOTES.txt
;QT stuff:
File "${QT_DLL_PATH}\QtCore4.dll"
File "${QT_DLL_PATH}\QtGui4.dll"
File "${QT_DLL_PATH}\QtNetwork4.dll"
File "${QT_DLL_PATH}\QtSql4.dll"
File "${QT_DLL_PATH}\QtXml4.dll"
File "${QT_DLL_PATH}\QtWebKit4.dll"
;SQLite driver
SetOutPath "$INSTDIR\sqldrivers"
File "${SQLITE_DLL_PATH}\qsqlite4.dll"
SetOutPath "$INSTDIR"
;Image plugins
SetOutPath "$INSTDIR\imageformats"
File "${IMAGEFORMATS_DLL_PATH}\qgif4.dll"
File "${IMAGEFORMATS_DLL_PATH}\qjpeg4.dll"
SetOutPath "$INSTDIR"
;Cygwin/c++ stuff
;File "${MING_BIN}\cygmad-0.dll"
;File "${MING_BIN}\libgcc_s_dw2-1.dll"
;File "${MING_BIN}\mingwm10.dll"
File "${MING_BIN}\libgcc_s_sjlj-1.dll"
File "${MING_BIN}\libstdc++-6.dll"
;Phonon stuff
;Fix the phonon build to not use Dbus
File "${QT_DLL_PATH}\QtDbus4.dll"
File "${MING_BIN}\libdbus-1-3.dll"
File "${MING_BIN}\dbus-daemon.exe"
File "${MING_BIN}\libphonon.dll"
SetOutPath "$INSTDIR\phonon_backend"
File "${MING_BIN}\phonon_backend\phonon_vlc.dll"
SetOutPath "$INSTDIR"
;VLC
;SetOutPath "$INSTDIR\phonon_backend"
File "${VLC_PATH}\libvlc.dll"
File "${VLC_PATH}\libvlccore.dll"
SetOutPath "$INSTDIR\plugins"
File /r "${VLC_PLUGIN_PATH}\*.dll"
SetOutPath "$INSTDIR"
File "${MING_BIN}\libmad-0.dll" ; MP3
File "${MING_BIN}\libFLAC-8.dll" ; FLAC
File "${MING_BIN}\libogg-0.dll" ; OGG, FLAC
File "${MING_BIN}\libvorbis-0.dll" ; OGG
File "${MING_BIN}\libvorbisenc-2.dll" ; OGG
; Other
File "${MING_BIN}\libqjson.dll"
File "${MING_BIN}\libtag.dll"
File "${MING_BIN}\libpng15-15.dll"
File "${MING_BIN}\libjpeg-8.dll"
File "${MING_BIN}\zlib1.dll"
File "${MING_BIN}\libechonest.dll"
File "${MING_BIN}\libQTweetLib.dll"
; Jabber
File "${MING_BIN}\libjreen.dll"
File "${MING_BIN}\libqca.dll"
SetOutPath "$INSTDIR\crypto"
File "${MING_LIB}\qt4\plugins\crypto\libqca-ossl.dll"
SetOutPath "$INSTDIR"
File "${MING_BIN}\libssl-8.dll"
File "${MING_BIN}\libcrypto-8.dll"
File "${MING_LIB}\libclucene-core.dll"
File "${MING_LIB}\libclucene-shared.dll"
File "${MING_BIN}\libqtsparkle.dll"
SectionEnd
SectionGroup "Shortcuts"
!ifdef OPTION_SECTION_SC_START_MENU
${MementoSection} "Start Menu Program Group" SEC_START_MENU
SectionIn 1 2
SetDetailsPrint textonly
DetailPrint "Adding shortcuts for the Tomahawk program group to the Start Menu."
SetDetailsPrint listonly
SetShellVarContext all
RMDir /r "$SMPROGRAMS\Tomahawk"
CreateDirectory "$SMPROGRAMS\Tomahawk"
CreateShortCut "$SMPROGRAMS\Tomahawk\LICENSE.lnk" "$INSTDIR\LICENSE.txt"
CreateShortCut "$SMPROGRAMS\Tomahawk\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
CreateShortCut "$SMPROGRAMS\Tomahawk\Release notes.lnk" "$INSTDIR\NOTES.txt"
CreateShortCut "$SMPROGRAMS\Tomahawk\Uninstall.lnk" "$INSTDIR\uninstall.exe"
SetShellVarContext current
${MementoSectionEnd}
!endif
!ifdef OPTION_SECTION_SC_DESKTOP
${MementoSection} "Desktop Shortcut" SEC_DESKTOP
SectionIn 1 2
SetDetailsPrint textonly
DetailPrint "Creating Desktop Shortcuts"
SetDetailsPrint listonly
CreateShortCut "$DESKTOP\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
${MementoSectionEnd}
!endif
!ifdef OPTION_SECTION_SC_QUICK_LAUNCH
${MementoSection} "Quick Launch Shortcut" SEC_QUICK_LAUNCH
SectionIn 1 2
SetDetailsPrint textonly
DetailPrint "Creating Quick Launch Shortcut"
SetDetailsPrint listonly
CreateShortCut "$QUICKLAUNCH\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
${MementoSectionEnd}
!endif
SectionGroupEnd
${MementoSectionDone}
; Installer section descriptions
;--------------------------------
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_TOMAHAWK_PLAYER} "Tomahawk player essentials."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_START_MENU} "Tomahawk program group."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_DESKTOP} "Desktop shortcut for Tomahawk."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QUICK_LAUNCH} "Quick Launch shortcut for Tomahawk."
!insertmacro MUI_FUNCTION_DESCRIPTION_END
Section -post
;Uninstaller file.
SetDetailsPrint textonly
DetailPrint "Writing Uninstaller"
SetDetailsPrint listonly
WriteUninstaller $INSTDIR\uninstall.exe
;Registry keys required for installer version handling and uninstaller.
SetDetailsPrint textonly
DetailPrint "Writing Installer Registry Keys"
SetDetailsPrint listonly
;Version numbers used to detect existing installation version for comparisson.
WriteRegStr HKLM "Software\Tomahawk" "" $INSTDIR
WriteRegDWORD HKLM "Software\Tomahawk" "VersionMajor" "${VER_MAJOR}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionMinor" "${VER_MINOR}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionRevision" "${REVISION}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionBuild" "${VER_BUILD}"
;Add or Remove Programs entry.
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "UninstallString" '"$INSTDIR\Uninstall.exe"'
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "InstallLocation" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayName" "Tomahawk"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "Publisher" "Tomahawk-player.org"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayIcon" "$INSTDIR\Uninstall.exe,0"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayVersion" "${VERSION}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "VersionMajor" "${VER_MAJOR}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "VersionMinor" "${VER_MINOR}.${REVISION}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "URLInfoAbout" "http://tomahawk-player.org/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "HelpLink" "http://tomahawk-player.org/"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "NoModify" "1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "NoRepair" "1"
; Register tomahawk:// protocol handler
WriteRegStr HKCR "tomahawk" "" "URL: Tomahawk Protocol"
WriteRegStr HKCR "tomahawk\DefaultIcon" "" $INSTDIR\tomahawk.exe,1
WriteRegStr HKCR "tomahawk\shell" "" "open"
WriteRegStr HKCR "tomahawk\shell\open\command" "" '"$INSTDIR\tomahawk.exe" "%1"'
SetDetailsPrint textonly
DetailPrint "Finsihed."
SectionEnd
##############################################################################
# #
# UNINSTALLER SECTION #
# #
##############################################################################
Var UnPageUserAppDataDialog
Var UnPageUserAppDataCheckbox
Var UnPageUserAppDataCheckbox_State
Var UnPageUserAppDataEditBox
Function un.UnPageUserAppData
!insertmacro MUI_HEADER_TEXT "Uninstall Tomahawk" "Remove Tomahawk's data folder from your computer."
nsDialogs::Create /NOUNLOAD 1018
Pop $UnPageUserAppDataDialog
${If} $UnPageUserAppDataDialog == error
Abort
${EndIf}
${NSD_CreateLabel} 0 0 100% 12u "Do you want to delete Tomahawk's data folder?"
Pop $0
${NSD_CreateText} 0 13u 100% 12u "$LOCALAPPDATA\Tomahawk"
Pop $UnPageUserAppDataEditBox
SendMessage $UnPageUserAppDataEditBox ${EM_SETREADONLY} 1 0
${NSD_CreateLabel} 0 46u 100% 24u "Leave unchecked to keep the data folder for later use or check to delete the data folder."
Pop $0
${NSD_CreateCheckbox} 0 71u 100% 8u "Yes, delete this data folder."
Pop $UnPageUserAppDataCheckbox
nsDialogs::Show
FunctionEnd
Function un.UnPageUserAppDataLeave
${NSD_GetState} $UnPageUserAppDataCheckbox $UnPageUserAppDataCheckbox_State
FunctionEnd
Section Uninstall
IfFileExists "$INSTDIR\tomahawk.exe" tomahawk_installed
MessageBox MB_YESNO "It does not appear that Tomahawk is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?" IDYES tomahawk_installed
Abort "Uninstall aborted by user"
tomahawk_installed:
;Delete registry keys.
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk"
DeleteRegValue HKLM "Software\Tomahawk" "VersionBuild"
DeleteRegValue HKLM "Software\Tomahawk" "VersionMajor"
DeleteRegValue HKLM "Software\Tomahawk" "VersionMinor"
DeleteRegValue HKLM "Software\Tomahawk" "VersionRevision"
DeleteRegValue HKLM "Software\Tomahawk" ""
DeleteRegKey HKLM "Software\Tomahawk"
DeleteRegKey HKCR "tomahawk"
;Start menu shortcuts.
!ifdef OPTION_SECTION_SC_START_MENU
SetShellVarContext all
RMDir /r "$SMPROGRAMS\Tomahawk"
SetShellVarContext current
!endif
;Desktop shortcut.
!ifdef OPTION_SECTION_SC_DESKTOP
IfFileExists "$DESKTOP\Tomahawk.lnk" 0 +2
Delete "$DESKTOP\Tomahawk.lnk"
!endif
;Quick Launch shortcut.
!ifdef OPTION_SECTION_SC_QUICK_LAUNCH
IfFileExists "$QUICKLAUNCH\Tomahawk.lnk" 0 +2
Delete "$QUICKLAUNCH\Tomahawk.lnk"
!endif
;Remove all the Program Files.
RMDir /r $INSTDIR
;Uninstall User Data if option is checked, otherwise skip.
${If} $UnPageUserAppDataCheckbox_State == ${BST_CHECKED}
RMDir /r "$LOCALAPPDATA\Tomahawk"
${EndIf}
SetDetailsPrint textonly
DetailPrint "Finsihed."
SectionEnd
##############################################################################
# #
# NSIS Installer Event Handler Functions #
# #
##############################################################################
Function .onInit
!insertmacro INSTALLOPTIONS_EXTRACT "tomahawk.ini"
;Remove Quick Launch option from Windows 7, as no longer applicable - usually.
${IfNot} ${AtMostWinVista}
SectionSetText ${SEC_QUICK_LAUNCH} "Quick Launch Shortcut (N/A)"
SectionSetFlags ${SEC_QUICK_LAUNCH} ${SF_RO}
SectionSetInstTypes ${SEC_QUICK_LAUNCH} 0
${EndIf}
${MementoSectionRestore}
UAC_Elevate:
UAC::RunElevated
StrCmp 1223 $0 UAC_ElevationAborted ; UAC dialog aborted by user?
StrCmp 0 $0 0 UAC_Err ; Error?
StrCmp 1 $1 0 UAC_Success ;Are we the real deal or just the wrapper?
Quit
UAC_Err:
MessageBox MB_ICONSTOP "Unable to elevate, error $0"
Abort
UAC_ElevationAborted:
Abort
UAC_Success:
StrCmp 1 $3 +4 ;Admin?
StrCmp 3 $1 0 UAC_ElevationAborted ;Try again?
MessageBox MB_ICONSTOP "This installer requires admin access, try again"
goto UAC_Elevate
;Prevent multiple instances.
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "tomahawkInstaller") i .r1 ?e'
Pop $R0
StrCmp $R0 0 +3
MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running."
Abort
;Use available InstallLocation when possible. This is useful in the uninstaller
;via re-install, which would otherwise use a default location - a bug.
ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "InstallLocation"
StrCmp $R0 "" SkipSetInstDir
StrCpy $INSTDIR $R0
SkipSetInstDir:
;Shutdown Tomahawk in case Add/Remove re-installer option used.
Call EnsureTomahawkShutdown
FunctionEnd
Function .onInstSuccess
${MementoSectionSave}
UAC::Unload ;Must call unload!
FunctionEnd
Function .onInstFailed
UAC::Unload ;Must call unload!
FunctionEnd
##############################################################################
# #
# NSIS Uninstaller Event Handler Functions #
# #
##############################################################################
Function un.onInit
UAC_Elevate:
UAC::RunElevated
StrCmp 1223 $0 UAC_ElevationAborted ; UAC dialog aborted by user?
StrCmp 0 $0 0 UAC_Err ; Error?
StrCmp 1 $1 0 UAC_Success ;Are we the real deal or just the wrapper?
Quit
UAC_Err:
MessageBox MB_ICONSTOP "Unable to elevate, error $0"
Abort
UAC_ElevationAborted:
Abort
UAC_Success:
StrCmp 1 $3 +4 ;Admin?
StrCmp 3 $1 0 UAC_ElevationAborted ;Try again?
MessageBox MB_ICONSTOP "This uninstaller requires admin access, try again"
goto UAC_Elevate
;Prevent multiple instances.
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "tomahawkUninstaller") i .r1 ?e'
Pop $R0
StrCmp $R0 0 +3
MessageBox MB_OK|MB_ICONEXCLAMATION "This uninstaller is already running."
Abort
FunctionEnd
Function un.onUnInstSuccess
UAC::Unload ;Must call unload!
FunctionEnd
Function un.onUnInstFailed
UAC::Unload ;Must call unload!
FunctionEnd

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

@@ -1,20 +1,59 @@
#!/bin/bash
echo "Remove old vlc dir..."
#rm -vf vlc-*.7z
rm -rf vlc/
echo "Download specified binary..."
#wget -c "http://downloads.sourceforge.net/project/vlc/1.1.9/win32/vlc-1.1.9-win32.7z?r=http%3A%2F%2Fwww.videolan.org%2Fvlc%2Fdownload-windows.html&ts=1306272584&use_mirror=leaseweb"
wget -c "http://nightlies.videolan.org/build/win32/trunk-20110524-1321/vlc-1.2.0-git-20110524-1321-win32.7z"
if [ "$1" = "-c" ] ; then
echo "Continuing last download.."
rm -rvf vlc/
else
echo "Update archive..."
fi
rm -rvf vlc/
echo "Download phonon archive..."
# wget -c "http://downloads.sourceforge.net/project/vlc/1.1.9/win32/vlc-1.1.9-win32.7z?r=http%3A%2F%2Fwww.videolan.org%2Fvlc%2Fdownload-windows.html&ts=1306272584&use_mirror=leaseweb"
# wget -c "http://download.tomahawk-player.org/tomahawk-vlc-0.1.zip"
# wget -c http://people.videolan.org/~jb/phonon/phonon-vlc-last.7z
# wget -c http://people.videolan.org/~jb/phonon/phonon_phonon-vlc_20111128.7z
wget -c http://download.tomahawk-player.org/test/pvlc.tar.bz2
echo "Extract binary..."
7z x vlc-*.7z
mv -v vlc-*/ vlc/
# 7z x phonon*.7z
# mv -v vlc-*/ vlc/
# unzip tomahawk-vlc-0.1.zip
tar xvjf pvlc.tar.bz2
# echo "Download phonon_vlc_no_video.dll..."
# wget -c http://people.videolan.org/~jb/phonon/phonon_vlc_no_video.dll
# cp -v phonon_vlc_no_video.dll prefix/bin/phonon_backend/phonon_vlc.dll
# echo "Strip unneeded plugins from vlc/plugins..."
# cd prefix/bin/plugins
# rm -rvf libold* libvcd* libdvd* liblibass* libx264* libschroe* liblibmpeg2* \
# libstream_out_* libmjpeg_plugin* libh264_plugin* libzvbi_plugin* lib*sub* \
# *qt4* *skins2* libaccess_bd_plugin.dll \
# libaudiobargraph_* libball_plugin.dll \
# libdirac_plugin.dll \
# libgnutls_plugin.dll \
# libcaca_plugin.dll \
# libfreetype_plugin.dll \
# libaccess_output_shout_plugin.dll \
# libremoteosd_plugin.dll \
# libsdl_image_plugin.dll \
# libvout_sdl_plugin.dll \
# libpng_plugin.dll \
# libgoom_plugin.dll \
# libatmo_plugin.dll \
# libmux_ts_plugin.dll \
# libkate_plugin.dll \
# libtaglib_plugin.dll
# this is for vlc-1.2
# rm -rvf video_*/ gui/ */libold* */libvcd* */libdvd* */liblibass* */libx264* */libschroe* */liblibmpeg2* \
# */libstream_out_* */libmjpeg_plugin* */libh264_plugin* */libzvbi_plugin* */lib*sub* \
# services_discover/ visualization/ control/ misc/
echo "Strip unneeded plugins from vlc/plugins..."
cd vlc/plugins/
rm -rvf video_*/ gui/ */libold* */libvcd* */libdvd* */liblibass* */libx264* */libschroe* */liblibmpeg2* \
*/libstream_out_* */libmjpeg_plugin* */libh264_plugin* */libzvbi_plugin* */lib*sub*
echo "Downloaded and stripped VLC"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -1,302 +1,80 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="841.89px" height="595.28px" viewBox="0 0 841.89 595.28" enable-background="new 0 0 841.89 595.28" xml:space="preserve">
<path fill="#010101" d="M543.773,253.359c0-49.962-19.305-86.572-54.194-104.54C477.838,71.133,405.027,13.418,316.568,13.418
c-86.917,0-159.483,56.481-172.605,132.58c-38.049,16.818-59.889,55.24-59.889,107.361c0,27.029,7.186,51.825,20.321,71.748
c-1.816,1.566-3.444,3.283-4.768,5.24c0,0,2.582,2.36,3.689,3.374c-4.262,2.123-8.22,4.322-11.555,6.669
c0,0,3.022,7.355,5.898,14.352c-11.991,9.687-21.314,18.92-27.553,27.51c0,0,1.612,1.789,2.011,2.224
c-12.355,9.158-22.133,18.206-28.528,27.021c0,0,6.925,7.351,12.408,13.167c-17.824,28.759-43.348,74.85-43.348,102.987
c0,3.281,0.346,6.318,1.093,9.054c1.764,6.442,5.752,11.437,11.229,14.058c15.255,7.311,39.648-6.364,72.589-40.434
c-0.828,8.288-1.457,16.663-1.457,24.737c0,16.804,2.266,32.07,8.77,41.249c4.886,6.895,10.898,9.07,15.084,9.683
c6.721,0.989,26.375,3.796,57.992-61.296c2.678,0.705,5.421,1.179,8.235,1.179c8.798,0,17.067-3.425,23.287-9.639
c4.286-4.288,7.133-9.584,8.562-15.313c7.516-2.129,14.555-6.702,20.779-13.191c19.563,24.861,44.78,37.643,75.38,37.643
c7.318,0,14.474-0.755,21.281-2.243c0.392-0.075,2.555-0.622,2.555-0.622l0.62-0.167c23.05-5.824,42.463-20.41,58-43.254
c7.2,9.231,15.733,15.994,24.849,19.458c1.139,6.658,4.224,12.806,9.1,17.69c6.22,6.214,14.488,9.639,23.288,9.639
c8.798,0,17.065-3.425,23.285-9.639c6.221-6.228,9.649-14.494,9.649-23.292s-3.429-17.066-9.649-23.294
c-2.988-2.988-6.476-5.296-10.248-6.923c0.277-2.947,0.613-5.848,0.613-9.007c0-10.031-1.4-20.982-4.192-31.9
c-1.196-4.672-2.757-8.745-4.511-12.567c2.838-6.467,4.805-13.268,4.805-20.426c0-7.317-1.74-14.422-4.706-21.011
C509.263,358.346,543.773,313.068,543.773,253.359z M451.232,150.998c-33.395-54.619-88.048-93.359-134.569-85.472
c-49.024-7.864-102.777,30.64-135.326,85.018c-2.648,0.208-5.278,0.497-7.875,0.88c8.694-54.414,69.429-111.108,143.107-111.108
c74.113,0,135.141,57.197,143.269,112.08C457.013,151.799,454.137,151.348,451.232,150.998z"/>
<path fill="#010101" stroke="#FFFFFF" stroke-width="4.8437" d="M110.937,367.38c-72.03,93.07-97.843,163.348-81.865,170.997
c15.97,7.654,74.912-46.056,139.701-143.288c45.751-68.648,60.797-94.429,45.68-95.922l20.614-43.357l-10.685-6.644l-33.912,33.371
C179.323,272.615,166.073,296.146,110.937,367.38z"/>
<path fill="#010101" stroke="#FFFFFF" stroke-width="4.8437" d="M140.932,379.755c-39.099,113.042-39.738,189.89-20.813,192.654
c18.912,2.787,59.039-67.616,89.306-182.6c21.381-81.178,27.255-111.03,11.438-108.001l5.133-48.806l-13.207-3.354l-22.194,42.936
C175.736,266.142,170.865,293.244,140.932,379.755z"/>
<circle fill="none" stroke="#010101" stroke-width="4.8437" cx="410.28" cy="388.831" r="37.801"/>
<path fill="#ED2224" stroke="#010101" stroke-width="4.8437" d="M475.237,157.792c-7.115-73.197-76.231-130.645-160.495-130.645
c-83.402,0-152.009,56.27-160.306,128.393c-39.809,13.607-58.455,52.219-58.455,97.818c0,56.947,34.681,103.109,89.925,103.109
c35.784,0,67.089-19.432,84.771-48.551c14.01,3.533,28.778,5.463,44.066,5.463c13.16,0,25.932-1.438,38.173-4.077
c17.966,28.357,49.108,47.165,84.604,47.165c55.665,0,90.696-46.162,90.696-103.109
C528.216,210.073,512.208,173.073,475.237,157.792z M314.742,274.908c-10.501,0-20.723-0.878-30.584-2.506
c1.125-6.177,1.778-12.527,1.778-19.043c0-56.941-44.786-103.104-100.03-103.104c-4.858,0-9.597,0.478-14.271,1.169
c8.694-54.414,69.43-111.108,143.107-111.108c74.113,0,135.142,57.197,143.268,112.08c-6.617-1.398-13.471-2.141-20.49-2.141
c-55.675,0-100.801,46.163-100.801,103.104c0,6.852,0.687,13.536,1.931,20.013C330.872,274.364,322.888,274.908,314.742,274.908z"/>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-55.6953" y1="95.2363" x2="39.7773" y2="95.2363" gradientTransform="matrix(-0.3782 -0.8348 1.083 -0.4907 70.5233 338.0542)">
<stop offset="0" style="stop-color:#010101"/>
<stop offset="0.2606" style="stop-color:#3E221C"/>
<stop offset="0.7732" style="stop-color:#B03126"/>
<stop offset="1" style="stop-color:#ED2224"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M153.69,260.35c31.322-14.19,65.739-18.887,77.129,6.254c11.391,25.14-4.763,57.027-36.091,71.213
c-31.323,14.194-65.948,5.312-77.338-19.829C106,292.849,122.366,274.543,153.69,260.35z"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="-180.8516" y1="181.2642" x2="-85.3789" y2="181.2642" gradientTransform="matrix(-0.9008 -0.3607 0.555 -1.386 252.7537 479.2919)">
<stop offset="0" style="stop-color:#B11F24"/>
<stop offset="0.1017" style="stop-color:#B62024"/>
<stop offset="1" style="stop-color:#ED2224"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M427.738,265.165c16.043-40.085,41.342-74.985,68.473-64.122
c27.122,10.86,36.111,52.165,20.056,92.248c-16.053,40.089-51.062,63.772-78.189,52.911
C410.95,335.343,411.683,305.253,427.738,265.165z"/>
<path fill="#010101" stroke="#010101" stroke-width="4.8437" d="M448.219,425.226c7.776,30.397,3.982,62.358-14.521,62.358
c-16.301,0-34.904-17.333-42.675-47.733c-7.777-30.4,4.243-75.016,14.521-62.365C423.583,399.707,440.442,394.825,448.219,425.226z"
/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="217.0322" y1="557.499" x2="165.1699" y2="467.6709" gradientTransform="matrix(0.9868 0.0515 0.0515 0.7987 -5.5217 21.3475)">
<stop offset="0" style="stop-color:#5B3E1D"/>
<stop offset="0.1121" style="stop-color:#42301B"/>
<stop offset="0.2377" style="stop-color:#2E2316"/>
<stop offset="0.3753" style="stop-color:#1D1710"/>
<stop offset="0.5292" style="stop-color:#0E0C08"/>
<stop offset="0.7122" style="stop-color:#030302"/>
<stop offset="1" style="stop-color:#000000"/>
</linearGradient>
<path fill="url(#SVGID_3_)" stroke="#010101" stroke-width="4.8437" d="M184.076,437.859c-6.111,23.875,1.745,46.508,17.54,50.549
c15.79,4.039,33.552-12.045,39.658-35.924c6.101-23.881-9.153-57.129-24.947-61.17C200.537,387.275,190.178,413.973,184.076,437.859
z"/>
<path fill="#010101" stroke="#010101" stroke-width="4.8437" d="M314.837,65.525c72.755-12.333,165.503,89.311,165.503,187.528
c0,98.215-74.305,162.834-165.707,162.834"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="194.4072" y1="374.3564" x2="358.2427" y2="90.5851">
<stop offset="0" style="stop-color:#000000"/>
<stop offset="1" style="stop-color:#5B3E1D"/>
</linearGradient>
<path fill="url(#SVGID_4_)" stroke="#010101" stroke-width="4.8437" d="M314.634,415.888c-91.402,0-165.297-64.619-165.297-162.834
c0-98.218,88.615-199.862,165.5-187.528"/>
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="297.3164" y1="139.4717" x2="418.2684" y2="-70.0234" gradientTransform="matrix(-0.6092 0.7802 -0.4118 -0.3216 476.7253 -96.4624)">
<stop offset="0" style="stop-color:#8B654B"/>
<stop offset="1" style="stop-color:#000000"/>
</linearGradient>
<path fill="url(#SVGID_5_)" d="M169.611,266.578c-27.578-21.539-16.863-81.354,23.935-133.604
c40.802-52.245,93.808-72.894,126.21-59.689c26.67,10.864,14.474,85.434-26.328,137.681
C252.63,263.215,197.193,288.112,169.611,266.578z"/>
<circle fill="#010101" cx="214.367" cy="388.831" r="34.682"/>
<g>
<path fill="#F4DFED" d="M131.831,427.709c-23.973,79.733-18.741,132.267-9.011,135.459c10.855,3.563,43.561-47.223,60.839-128.324
c12.189-57.265,11.727-83.75,0.009-81.625l3.505-31.111l-8.901-2.432l-14.271,32.445
C152.554,347.564,150.184,366.689,131.831,427.709z"/>
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="148.1519" y1="319.6758" x2="148.1518" y2="563.168">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
<stop offset="0.7459" style="stop-color:#CDBCCB"/>
<stop offset="0.9095" style="stop-color:#EAE1E8"/>
<stop offset="1" style="stop-color:#F9F3F8"/>
</linearGradient>
<path fill="url(#SVGID_6_)" d="M146.41,479.117l-22.914,19.186l35.325-65.182l4.683-17.371c0,0,3.098-26.758-24.228,14.713
c16.962-56.432,32.317-62.998,32.317-62.998l11.404-46.658l-4.725-1.131l-14.702,30.23c-11.429-4.588-13.859,14.521-32.392,75.485
c-24.224,79.655-20.501,124.085-8.358,137.776L146.41,479.117z"/>
<linearGradient id="SVGID_7_" gradientUnits="userSpaceOnUse" x1="75.7998" y1="402.9658" x2="43.9086" y2="490.7602" gradientTransform="matrix(0.9399 -0.3414 0.3414 0.9399 -44.7892 56.207)">
<stop offset="0" style="stop-color:#802986"/>
<stop offset="0.2641" style="stop-color:#9D66A2"/>
<stop offset="0.528" style="stop-color:#BE9BC2"/>
<stop offset="0.7459" style="stop-color:#DBC8DE"/>
<stop offset="0.9095" style="stop-color:#F0E6F1"/>
<stop offset="1" style="stop-color:#F9F3F8"/>
</linearGradient>
<path fill="url(#SVGID_7_)" d="M147.332,501.478l31.839-92.4c0,0,6.608,60.692-7.474,93.405
c1.438-44.878-2.328-36.951-9.176-25.254C159.71,482.03,147.332,501.478,147.332,501.478z"/>
<linearGradient id="SVGID_8_" gradientUnits="userSpaceOnUse" x1="100.2559" y1="370.0205" x2="67.8228" y2="459.3065" gradientTransform="matrix(0.9399 -0.3414 0.3414 0.9399 -44.7892 56.207)">
<stop offset="0" style="stop-color:#802986"/>
<stop offset="0.2641" style="stop-color:#9D66A2"/>
<stop offset="0.528" style="stop-color:#BE9BC2"/>
<stop offset="0.7459" style="stop-color:#DBC8DE"/>
<stop offset="0.9095" style="stop-color:#F0E6F1"/>
<stop offset="1" style="stop-color:#F9F3F8"/>
</linearGradient>
<path fill="url(#SVGID_8_)" d="M156.286,463.716l38.825-93.952c0,0,2.251,62.278-11.831,94.991
c-0.298-44.249-5.388-28.089-8.538-23.508C165.662,454.416,156.286,463.716,156.286,463.716z"/>
<linearGradient id="SVGID_9_" gradientUnits="userSpaceOnUse" x1="19.1768" y1="337.1123" x2="-32.4432" y2="389.2988" gradientTransform="matrix(0.711 -0.7032 0.7032 0.711 -56.5767 131.5096)">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
<stop offset="0.7459" style="stop-color:#CDBCCB"/>
<stop offset="0.9095" style="stop-color:#EAE1E8"/>
<stop offset="1" style="stop-color:#F9F3F8"/>
</linearGradient>
<path fill="url(#SVGID_9_)" d="M180.916,431.115l9.787-73.404c0,0,18.589,43.111,16.428,71.425
c-11.773-30.423-13.671-21.048-17.578-14.96C187.396,417.538,180.916,431.115,180.916,431.115z"/>
<path fill="#1E3D73" d="M174.914,335.556L158.76,362.31l-23.24,76.647c0,0,1.211-8.173,1.788-15.883l-18.783,50.773
c0,0,8.386-31.226,3.609-28.382c-4.777,2.84,4.225-21.91-23.102,13.729c5.316-18.514,20.495-39.508,33.324-54.9
c-2.172,0.474-7.1,4.788-18.387,18.374c4.38-15.232,14.957-32.934,25.358-47.898c-1.159-2.683-5.151-3.889-21.234,5.221
C134.366,356.719,174.914,335.556,174.914,335.556z"/>
</g>
<g>
<path fill="#F4DFED" d="M94.453,401.163c-49.752,66.752-62.779,117.913-54.719,124.242c8.987,7.059,57.064-29.51,100.989-99.844
c31.011-49.657,39.62-74.709,27.879-76.714l13.916-28.052l-7.539-5.319L150.496,341.1
C141.291,332.911,132.531,350.072,94.453,401.163z"/>
<path fill="#656B84" d="M90.603,454.464L62.515,464.67l55.456-49.201l10.331-14.731c0,0,12.047-24.096-27.794,5.558
c35.211-47.255,51.89-48.182,51.89-48.182l26.641-39.956l-4.058-2.681l-24.133,23.399c-9.177-8.222-17.989,8.911-56.224,59.885
c-49.96,66.6-61.634,109.635-54.889,126.645L90.603,454.464z"/>
<linearGradient id="SVGID_10_" gradientUnits="userSpaceOnUse" x1="106.2383" y1="485.0312" x2="121.9901" y2="395.6984">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
<stop offset="0.7459" style="stop-color:#CDBCCB"/>
<stop offset="0.9095" style="stop-color:#EAE1E8"/>
<stop offset="1" style="stop-color:#F9F3F8"/>
</linearGradient>
<path fill="url(#SVGID_10_)" d="M83.829,475.791l61.474-75.981c0,0-14.507,59.304-38.916,85.248
c16.678-41.696,12.058-33.368,0-26.873C101.491,460.821,83.829,475.791,83.829,475.791z"/>
<linearGradient id="SVGID_11_" gradientUnits="userSpaceOnUse" x1="130.9844" y1="453.7012" x2="146.8758" y2="363.5764">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
<stop offset="0.7459" style="stop-color:#CDBCCB"/>
<stop offset="0.9095" style="stop-color:#EAE1E8"/>
<stop offset="1" style="stop-color:#F9F3F8"/>
</linearGradient>
<path fill="url(#SVGID_11_)" d="M105.143,443.356l68.564-75.05c0,0-19.143,59.297-43.551,85.248
c14.824-41.701,10.567-27.993,0-25.023C124.802,430.041,105.143,443.356,105.143,443.356z"/>
<path fill="#656B84" d="M139.423,421.124l34.26-65.654c0,0,2.748,46.867-8.945,72.74c-0.676-32.615-3.041-28.432-11.413-20.06
C150.5,410.974,139.423,421.124,139.423,421.124z"/>
<path fill="#656B84" d="M166.408,329.256l-24.322,19.63l-48.011,64.112c0,0,3.931-7.274,7.104-14.322l-34.994,41.313
c0,0,18.552-26.484,13.089-25.448c-5.464,1.04,11.451-19.148-26.399,5.019c11.313-15.587,32.751-30.137,50.064-40.227
c-2.205-0.298-8.316,2.077-23.552,10.989c9.313-12.818,25.302-25.842,40.183-36.357c-0.175-2.919-3.515-5.416-21.74-2.346
C121.065,335.3,166.408,329.256,166.408,329.256z"/>
</g>
<g>
<path fill="#D9AF82" enable-background="new " d="M315.05,115.063c-50.514,0-83.218,15.021-109.641,64.839
c-2.502,4.713-0.232,14.337-2.796,19.152c-13.845,26.007-37.089,48.236-37.089,71.707c0,34.337,19.1,65.637,42.505,89.297
c12.185,71.644,34.7,151.593,104.339,151.593"/>
<path fill="#010101" d="M203.271,178.766c-1.519,2.855-1.59,6.774-1.656,10.562c-0.062,3.283-0.123,6.677-1.14,8.588
c-4.537,8.519-10.146,16.707-15.577,24.624c-11.21,16.353-21.797,31.798-21.797,48.221c0,30.307,15.166,62.382,42.666,90.413
c12.578,73.606,36.115,150.477,106.6,150.477v-1.546c-67.084,0-89.722-78.554-101.95-150.453l-0.127-0.748l-0.54-0.549
c-26.957-27.255-41.805-58.361-41.805-87.594c0-14.923,10.174-29.766,20.949-45.482c5.501-8.027,11.192-16.327,15.857-25.087
c1.56-2.935,1.636-6.92,1.707-10.773c0.057-3.221,0.118-6.551,1.088-8.381c24.256-45.734,54.398-65.974,107.503-65.974v-2.422
C259.849,112.641,228.506,131.181,203.271,178.766z"/>
</g>
<path fill="#8B654B" d="M312.368,511.65c72.045,0,92.163-79.949,104.338-151.593c23.405-23.66,42.512-54.96,42.512-89.297
c0-37.004-22.588-49.51-38.609-77.154c-5.681-9.798-1.496-24.634-8.084-33.382c-26.905-35.728-53.772-45.162-97.475-45.162"/>
<ellipse fill="#D9AF82" cx="313.792" cy="343.947" rx="21.906" ry="68.144"/>
<path fill="#8B654B" d="M342.916,373.454c0,7.813-14.98,12.535-27.275,12.535c-12.293,0-27.808-4.735-27.808-12.549
c3.43-3.43,15.246,4.886,27.544,4.886C334.789,378.326,342.916,312.495,342.916,373.454z"/>
<path fill="#D9AF82" d="M335.697,435.217c0,37.637-9.81,68.831-21.91,68.831c-12.096,0-21.901-31.194-21.901-68.831
c0-37.639,9.882-50.259,21.977-50.259C325.962,384.958,335.697,397.578,335.697,435.217z"/>
<path opacity="0.36" fill="#8A644B" d="M328.365,281.605c-1.826,24.681-14.186-7.573-34.757,20.974
c-8.672,12.026-23.23,10.877-38.845,10.877c-39.61,0-66.544-26.03-67.859-38.868c-2.517-24.557,29.024-39.586,71.464-39.586
C297.028,235.002,329.255,269.622,328.365,281.605z"/>
<linearGradient id="SVGID_12_" gradientUnits="userSpaceOnUse" x1="214.7554" y1="341.0537" x2="290.4385" y2="341.0537">
<stop offset="0" style="stop-color:#D9AF82"/>
<stop offset="0.0786" style="stop-color:#DFB791"/>
<stop offset="0.2053" style="stop-color:#E7C1A5"/>
<stop offset="0.345" style="stop-color:#EDC9B5"/>
<stop offset="0.5023" style="stop-color:#F1CFC0"/>
<stop offset="0.6917" style="stop-color:#F4D3C7"/>
<stop offset="1" style="stop-color:#F5D4C9"/>
</linearGradient>
<path opacity="0.36" fill="url(#SVGID_12_)" d="M272.246,361.529c-28.722,19.46-56.346-24.299-57.491-43.314
c15.913,13.821,62.032,18.457,75.683-2.517L272.246,361.529z"/>
<path opacity="0.36" fill="#8A644B" d="M313.706,461.213c-38.167,0-61.231-13.681-61.231-31.63c0-6.048,15.651-24.078,37.32-49.365
c5.952-3.699,7.464,10.038,14.958,4.731C331.61,392.044,328.318,461.213,313.706,461.213z"/>
<g>
<path fill="#8A644B" d="M260.464,472.116c8.339,23.94,32.817,36.466,52.688,36.466v-4.845
C294.99,503.737,268.056,493.921,260.464,472.116L260.464,472.116z"/>
</g>
<g>
<path fill="#8A644B" d="M180.954,271.658c0,21.359,5.388,36.679,27.099,48.222c0.587,1.121,7.021,13.387,7.021,13.387
c8.916,16.375,19.02,34.94,19.02,54.406h4.844c0-20.699-10.416-39.839-19.612-56.725l-7.586-14.455l-0.709-0.426
C190.509,305.4,180.954,291.289,180.954,271.658L180.954,271.658z"/>
</g>
<g>
<path fill="#010101" d="M208.814,230.649l-0.104-0.97c-3.108-15.25-3.226-33.651-0.312-49.217l-4.764-0.889
C200.613,195.722,205.583,214.815,208.814,230.649z"/>
</g>
<linearGradient id="SVGID_13_" gradientUnits="userSpaceOnUse" x1="191.0591" y1="310.5205" x2="451.5771" y2="310.5205">
<stop offset="0" style="stop-color:#5B3E1D"/>
<stop offset="1" style="stop-color:#010101"/>
</linearGradient>
<path fill="url(#SVGID_13_)" d="M423.943,199.054c-3.983-11.059-0.737-20.853-8.061-31.231
c-19.885-28.185-51.072-56.27-108.998-52.618l5.212,140.363c0,0-122.733-25.589-121.021,15.935c0.227,5.387,40.188,2.88,63.46,4.428
c-26.092,4.566-32.185,5.898-32.185,8.838c0,6.206,21.863,0.683,25.108,2.467c4.976,2.739-43.139,7.052-34.351,8.757
c10.057,1.951,44.474,3.086,57.444,3.086c28.929,0,41.077-25.412,41.077-4.485c7.346,27.893,14.739,59.24,13.972,69.882
c-1.475,20.662-19.62,20.188-19.62,20.188l5.089,24.285c-8.557,0.439-6.245-1.324-13.85-0.549
c-14.427,0-32.354,13.032-32.354,16.054l39.989,0.435c0,0-29.081,13.771-22.975,22.928c4.763,7.143,20.316,13.378,31.091,13.424
c0,0,3.273,8.55,3.273,22.352c0,13.811-4.035,22.565-4.035,22.565c46.171,0,67.49-49.036,80.324-118.446
c6.083-32.876,20.018-58.106,36.034-71.657c15.742-13.321,23.008-26.641,23.008-52.071
C451.577,249.847,443.574,230.354,423.943,199.054z"/>
<path fill="#D9AF82" d="M325.395,252.416l-13.297,4.328c0,0-65.848-96.356-46.493-121.312
c12.682-16.357,24.611-18.136,40.046-19.238c13.519-0.965,21.294,16.525,27.302,24.271
C350.375,162.927,325.395,252.416,325.395,252.416z"/>
<linearGradient id="SVGID_14_" gradientUnits="userSpaceOnUse" x1="260.7119" y1="113.4033" x2="349.5527" y2="113.4033" gradientTransform="matrix(0.676 0.6564 -0.9247 0.9523 168.3961 -132.5865)">
<stop offset="0" style="stop-color:#FFFFFF"/>
<stop offset="0.0769" style="stop-color:#F4E9DD"/>
<stop offset="0.1814" style="stop-color:#EBD6BF"/>
<stop offset="0.2951" style="stop-color:#E5C7A8"/>
<stop offset="0.419" style="stop-color:#DFBC96"/>
<stop offset="0.5585" style="stop-color:#DCB58B"/>
<stop offset="0.7265" style="stop-color:#DAB084"/>
<stop offset="1" style="stop-color:#D9AF82"/>
</linearGradient>
<path fill="url(#SVGID_14_)" d="M305.253,199.27c-26.745,27.542-70.168,41.961-81.283,24.357
c-14.513-22.972-12.896-47.545,13.854-75.082c26.74-27.547,64.922-33.847,85.28-14.081
C343.464,154.233,332.003,171.726,305.253,199.27z"/>
<linearGradient id="SVGID_15_" gradientUnits="userSpaceOnUse" x1="241.0796" y1="401.8057" x2="241.0796" y2="318.2148">
<stop offset="0" style="stop-color:#D9AF82"/>
<stop offset="0.1127" style="stop-color:#BD936E"/>
<stop offset="0.2679" style="stop-color:#A57C5E"/>
<stop offset="0.4437" style="stop-color:#966E53"/>
<stop offset="0.6554" style="stop-color:#8D664D"/>
<stop offset="1" style="stop-color:#8A644B"/>
</linearGradient>
<path fill="url(#SVGID_15_)" d="M272.246,361.529c0,46.274-35.419,42.799-45.106,36.896c0-45.751-17.227-80.21-17.227-80.21
S249.882,354.221,272.246,361.529z"/>
<linearGradient id="SVGID_16_" gradientUnits="userSpaceOnUse" x1="175.4648" y1="345.0176" x2="128.5757" y2="362.0838" gradientTransform="matrix(-1 0 0 1 538.9277 0)">
<stop offset="0" style="stop-color:#382815"/>
<stop offset="0.4081" style="stop-color:#553E2B"/>
<stop offset="1" style="stop-color:#8B654B"/>
</linearGradient>
<path fill="url(#SVGID_16_)" d="M359.338,356.35c0,46.27,21.504,44.032,31.073,44.032c7.488-45.135,35.671-81.515,35.671-81.515
S381.703,349.045,359.338,356.35z"/>
<path fill="none" stroke="#010101" stroke-width="4.8437" d="M173.934,294.978"/>
<g>
<path fill="#010101" d="M311.507,115.089c53.106,0,83.247,20.214,107.503,65.948c0.904,1.702,0.904,4.883,0.904,7.96
c-0.005,4.146-0.005,8.432,2.029,11.419c16.157,23.757,31.933,48.809,31.933,70.969c0,32.381-12.818,62.458-37.074,86.969
l-0.541,0.549l-0.128,0.748c-12.222,71.899-36.672,150.453-103.765,150.453v1.517c70.499,0,95.847-76.845,108.416-150.456
c24.801-25.335,37.935-56.354,37.935-89.78c0-23.537-16.19-49.311-32.774-73.694c-1.153-1.698-1.192-5.061-1.192-8.37
c0-0.109,0.004-0.537,0.004-0.646c0-3.567-0.041-7.221-1.469-9.91c-25.237-47.585-56.579-66.125-111.78-66.125V115.089z"/>
</g>
<polygon fill="#010101" points="339.974,84.79 334.59,115.675 300.608,113.719 312.435,66.413 "/>
<circle fill="#010101" stroke="#010101" stroke-width="4.8437" cx="452.06" cy="492.948" r="19.204"/>
<g>
<linearGradient id="SVGID_17_" gradientUnits="userSpaceOnUse" x1="109.1782" y1="336.3027" x2="170.7935" y2="336.3027">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
<stop offset="0.7459" style="stop-color:#CDBCCB"/>
<stop offset="0.9095" style="stop-color:#EAE1E8"/>
<stop offset="1" style="stop-color:#F9F3F8"/>
</linearGradient>
<path fill="url(#SVGID_17_)" d="M109.178,338.034c9.592-7.823,34.696,4.862,34.833,4.862l26.782-8.396
C170.211,334.501,120.246,321.648,109.178,338.034z"/>
</g>
<linearGradient id="SVGID_18_" gradientUnits="userSpaceOnUse" x1="-102.0645" y1="221.0444" x2="-84.4219" y2="221.0444" gradientTransform="matrix(-0.0113 -0.7169 1.2476 -0.0198 36.6184 302.7065)">
<stop offset="0" style="stop-color:#D9AF82"/>
<stop offset="0.0786" style="stop-color:#DFB791"/>
<stop offset="0.2053" style="stop-color:#E7C1A5"/>
<stop offset="0.345" style="stop-color:#EDC9B5"/>
<stop offset="0.5023" style="stop-color:#F1CFC0"/>
<stop offset="0.6917" style="stop-color:#F4D3C7"/>
<stop offset="1" style="stop-color:#F5D4C9"/>
</linearGradient>
<path opacity="0.36" fill="url(#SVGID_18_)" d="M313.352,358.852c6.074-0.1,11.045,2.653,11.102,6.149
c0.058,3.49-4.829,6.399-10.907,6.498c-6.078,0.101-11.045-2.657-11.107-6.153C302.388,361.854,307.269,358.946,313.352,358.852z"/>
<path fill="#483218" d="M397.109,309.378c15.699-3.759,26.445-18.402,20.099-27.063c-38.74,19.354-75.295,11.369-85.531,9.147
C368.014,309.492,371.117,315.595,397.109,309.378z"/>
<path fill="#B4B4B4" d="M310.92,73.714c-38.372,0-93.118,22.758-117.549,74.944c-6.089,12.999-6.656,32.87,0.638,45.014
c0,0,18.604-81.43,108.231-86.494"/>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="606.2478"
height="595.49866"
viewBox="0 0 606.24779 595.49863"
enable-background="new 0 0 841.89 595.28"
xml:space="preserve"
inkscape:version="0.48.2 r9819"
sodipodi:docname="tomahawk-icon.svg"><metadata
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs13" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1440"
inkscape:window-height="794"
id="namedview11"
showgrid="false"
inkscape:zoom="1"
inkscape:cx="431.12548"
inkscape:cy="336.94553"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1"
inkscape:snap-page="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"><sodipodi:guide
position="-3.5728101e-05,-1.501866e-05"
orientation="0,841.89001"
id="guide2994" /><sodipodi:guide
position="841.88997,-1.501866e-05"
orientation="-595.28003,0"
id="guide2996" /><sodipodi:guide
position="841.88997,595.28001"
orientation="0,-841.89001"
id="guide2998" /><sodipodi:guide
position="-3.5728101e-05,595.28001"
orientation="595.28003,0"
id="guide3000" /></sodipodi:namedview>
<g
id="g3"
transform="matrix(7.3080643,0,0,7.1790074,-2773.1692,-1839.0104)">
<g
id="g5">
<path
d="m 420.947,265.168 c -17.911,0 -32.477,14.565 -32.477,32.472 0,17.906 14.565,32.476 32.477,32.476 2.568,0 5.06,-0.318 7.459,-0.888 v -28.011 l -22.338,15.806 c -0.198,0.135 -0.444,0.213 -0.681,0.213 -0.184,0 -0.372,-0.039 -0.541,-0.136 -0.396,-0.202 -0.642,-0.608 -0.642,-1.043 v -37.053 c 0,-0.435 0.246,-0.845 0.642,-1.053 0.396,-0.193 0.864,-0.159 1.222,0.092 l 22.338,15.807 v -16.028 h 0.951 8.945 v 47.234 c 9.076,-5.764 15.121,-15.888 15.121,-27.417 10e-4,-17.905 -14.569,-32.471 -32.476,-32.471 z"
id="path7"
inkscape:connector-curvature="0"
style="fill:none" />
<path
d="m 420.947,256.165 c -22.874,0 -41.48,18.606 -41.48,41.475 0,22.87 18.606,41.475 41.48,41.475 22.869,0 41.476,-18.605 41.476,-41.475 0,-22.869 -18.607,-41.475 -41.476,-41.475 z m 17.356,68.892 v -47.234 h -8.945 -0.951 v 16.028 l -22.338,-15.807 c -0.357,-0.251 -0.826,-0.285 -1.222,-0.092 -0.396,0.208 -0.642,0.618 -0.642,1.053 v 37.053 c 0,0.435 0.246,0.841 0.642,1.043 0.169,0.097 0.357,0.136 0.541,0.136 0.236,0 0.482,-0.078 0.681,-0.213 l 22.338,-15.806 v 28.011 c -2.399,0.569 -4.891,0.888 -7.459,0.888 -17.911,0 -32.477,-14.57 -32.477,-32.476 0,-17.906 14.565,-32.472 32.477,-32.472 17.906,0 32.477,14.565 32.477,32.472 -0.001,11.528 -6.046,21.652 -15.122,27.416 z"
id="path9"
inkscape:connector-curvature="0"
style="fill:#e63e30" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 19 KiB

BIN
data/images/album-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

BIN
data/images/apply-check.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 666 B

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 B

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
data/images/artist-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
data/images/charts.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
data/images/close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
data/images/collection.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 717 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

BIN
data/images/dashboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
data/images/downloading.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
data/images/drop-album.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
data/images/drop-song.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
data/images/filter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
data/images/grooveshark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
data/images/headphones.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

BIN
data/images/info.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
data/images/itunes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
data/images/jump-link.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
data/images/lastfm-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 13 KiB

Some files were not shown because too many files have changed in this diff Show More