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

Compare commits

...

2805 Commits
0.0.1 ... vsxu

Author SHA1 Message Date
Dinesh Manajipet
ca369dea78 Initial commit. Embedded the standard VSXuWidget into tomahawk. still takes
audio from pulseaudio.
2012-02-07 01:57:38 +05:30
Dominik Schmidt
e3f6e61900 *sigh* Fix returning years in scriptresolvers 2012-02-04 01:53:54 +01: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
Dominik Schmidt
7efceebb1c Merge pull request #74 from peretti/master
Added Brazilian Portuguese translation
2012-01-29 19:39:21 -08: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
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
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
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
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
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
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
Hugo Lindström
52cb7cebd9 Forgot about spotifyApiReply. 2011-12-17 18:06:44 +01: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
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
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
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
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
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
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
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
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
Christian Muehlhaeuser
e0ca2178d0 * Refresh treeviews after adding / removing a collection's tracks. 2011-11-05 14:46:25 +01: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
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
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
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
Christian Muehlhaeuser
2aab17ba8e * Updated tomahawk.nsi, now depends on the vlc stuff being extracted to ../vlc/ 2011-05-30 21:19:15 +00:00
Leo Franchi
9236da101e Expire logplayback commands in the UI after 10minites, they are stale
Fixes TWK-39
2011-05-30 13:42:38 -04: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
Jeff Mitchell
d71bdb2fef Update dtor logic of other threads 2011-05-30 09:45:42 -04:00
Christian Muehlhaeuser
76aa0461ad * More InfoSystem DTOR fixes. 2011-05-30 15:18:28 +02:00
Christian Muehlhaeuser
af2553294f * More AudioEngine debug. 2011-05-30 06:18:20 +02:00
Christian Muehlhaeuser
873fe1297a * Fixed crash in DbCmd_Resolve. 2011-05-30 04:59:59 +02:00
Leo Franchi
f5749a5db2 Fix adding of controls that wouldn't go to the right place. 2011-05-29 19:03:22 -04:00
Leo Franchi
07cb94b1bc Add a new source item for temporary pages.
This fixes TWK-182. Also, ensure that what is selected on the left is always
in sync with what is on the right. In addition, expand the parent nodes when selecting
an item automatically in the tree.
2011-05-29 16:57:46 -04:00
Frank Osterfeld
f2952f783e Fix case 2011-05-29 21:20:09 +02:00
Frank Osterfeld
eef99c9e39 Initialize variable. 2011-05-29 21:20:09 +02:00
Christian Muehlhaeuser
8dbdf728b1 * Add some debug output for rotzbouw. 2011-05-29 14:17:53 +02:00
Christian Muehlhaeuser
423e4df7b0 Merge branch 'master' of https://github.com/tomahawk-player/tomahawk 2011-05-29 11:42:46 +02:00
Christian Muehlhaeuser
9d92201c0c * Tweaked shutdown order. 2011-05-29 11:42:32 +02:00
Christian Muehlhaeuser
635c490924 * Fixed InfoSystem DTOR freezing. 2011-05-29 11:22:25 +02:00
Christian Muehlhaeuser
b5b8ba5a96 * Fixed shutdown freezes. 2011-05-29 11:14:20 +02:00
Leo Franchi
c24e90c978 allow to delete with the backspace as well as delete key 2011-05-28 20:19:37 -04:00
Leo Franchi
efa3708e79 Add some padding on the right edge of the dyn controls 2011-05-28 20:19:18 -04:00
Leo Franchi
ee8a0d6691 oops, fix oversight 2011-05-28 20:00:32 -04:00
Leo Franchi
75cea47cfa byebye random special characters, hello w hitespace 2011-05-28 19:58:03 -04:00
Leo Franchi
dcef395273 add stuff to Changelog for 0.1.0, thanks J for all your work trawling through history! 2011-05-28 19:56:22 -04:00
Leo Franchi
a9b792f603 allow deleting playlists with the delete key. fixes TWK-113 2011-05-28 19:46:27 -04:00
Leo Franchi
d61f38a206 Only emit a rename signal if we are the currently active view. Fixes TWK-202. 2011-05-28 17:29:29 -04:00
Leo Franchi
f03e74c777 ooops, include slid through 2011-05-28 17:13:07 -04:00
Leo Franchi
12ac4079b1 activate current page in the sourcetree if new playlist dialog is cancelled 2011-05-28 17:10:27 -04:00
Leo Franchi
9f087b7da3 Add Christopher's copyright and less debug 2011-05-28 16:55:35 -04:00
Leo Franchi
fb06624821 Add a new "Create Playlist" dialog that is shown when the user presses New Playlist.
This lets the user select between a normal playlist and an automatic playlist.  Thanks for Christopher Reichert for the patch!
2011-05-28 16:49:49 -04:00
Dominik Schmidt
5c11841cec Make tomahawk.nsi ready for 64bit 2011-05-28 16:54:24 +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
Jeff Mitchell
ee583f20da If Tomahawk crashed during one of these functions it could leave some messed up stuff in your config file, so separate out the two operations into distinct ones that can be run independently and do case-sensitive matching. 2011-05-27 08:31:08 -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
Leo Franchi
ba3ce4bdb9 better grammar
(cherry picked from commit 7676f43a79e12c890c1b57f716249c68fc0ea6ac)
2011-05-26 22:18:34 -04:00
Dominik Schmidt
106bf6c08b Install tomahawklib on linux correctly too 2011-05-27 03:45:23 +02:00
Dominik Schmidt
8f9c03b3ad Update tomahawk.nsi 2011-05-27 01:41:41 +02:00
Dominik Schmidt
fca66bcf39 Install libtomahawklib.dll to correct place in windows 2011-05-26 23:41:07 +02:00
Dominik Schmidt
2be3e93d39 Install qxtweb-standalone.dll on windows 2011-05-26 22:52:24 +02:00
Dominik Schmidt
39549f776b Bump jreen submodule revision. 2011-05-26 22:20:48 +02:00
Dominik Schmidt
b0c0667bde Fix taglib includes 2011-05-26 22:20:33 +02:00
Dominik Schmidt
e7bdc077d2 Don't use QJSON_LDFLAGS on windows 2011-05-26 21:52:38 +02:00
Leo Franchi
f4cef4fff0 lets be safe 2011-05-26 09:39:39 -04:00
Leo Franchi
0172515a86 Fix dropping ou the sourcetree, qtreeview is really crappy in this case 2011-05-26 09:38:23 -04:00
Leo Franchi
fd29a966eb remove vestiges of debug 2011-05-26 08:55:12 -04:00
Leo Franchi
d5df5f7676 Set cache mode so cmake doesn't forget our own set variable and fallback to pkgconfig-set one. 2011-05-26 08:43:32 -04:00
Jeff Mitchell
6e19a85d73 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. 2011-05-26 00:48:08 -04:00
Jeff Mitchell
f9a6775126 Add warning about cached artist images 2011-05-25 23:45:02 -04:00
Jeff Mitchell
f6756682f1 Cleanup from my previous fix 2011-05-25 23:43:09 -04:00
Jeff Mitchell
e3e90744bf Fix jabber(/other?) networking. The only part of this commit related to the fix is the line replacing m_client->setConnection with return. I don't know why that line causes what seems to be a total block in the network but it does, and removing it doesn't seem to hurt anything.
Oddly, if refreshProxy doesn't check for m_client->connection() to be null, it segfaults. But, if that function is never run (and that function is the only place setting the connection directly), it works just fine (if no proxy is needed). So maybe it's leftover code but I really don't konw.
2011-05-25 23:35:21 -04:00
Leo Franchi
f27d3b9fe9 fix debug/poll and give new stations a better name from a seed 2011-05-25 21:37:20 -04:00
Leo Franchi
5f2791f2b3 Allow users to drop tracks onto New Station, and creates a station seeded with song filters 2011-05-25 20:02:18 -04:00
Dominik Schmidt
d1b8b2851d Update tomahawk.nsi for qca-ossl and missing dlls for vlc plugins 2011-05-26 01:38:05 +02:00
Jeff Mitchell
03f6b416b6 Revamp proxy system. Use a factory, and allow for noproxy hosts. Don't try to set the proxies everywhere, set the application proxy factory and fall back to it. Except for specifically-threaded things. 2011-05-25 17:38:14 -04:00
Leo Franchi
af0fe52cd1 Don't rely on mood/style fetch being faster than dynamic control loading 2011-05-25 17:25:33 -04:00
Jeff Mitchell
c59747e1e1 Fix QJson linking 2011-05-25 11:48:05 -04:00
Christian Muehlhaeuser
f878e47575 * Finally fixed OS X release scripts. I think. 2011-05-25 05:56:09 +02:00
Christian Muehlhaeuser
bc7aa1ebbd * Fixed OS X release scripts. 2011-05-25 05:39:18 +02:00
Christian Muehlhaeuser
a16274ec43 * Fixed OS X build scripts to not contain hard-coded paths. 2011-05-25 05:16:28 +02:00
Christian Muehlhaeuser
e29b6ed2db Merge remote-tracking branch 'origin/osxrelease' 2011-05-25 04:38:22 +02:00
Christian Muehlhaeuser
3a9f0e9f86 * Fixed DbCmd_LogPlayback. 2011-05-25 04:20:11 +02:00
Christian Muehlhaeuser
b2c9028b54 * Don't sync empty DbCmd_DeleteFiles & irrelevant DbCmd_LogPlaybacks. 2011-05-25 04:17:53 +02:00
Dominik Schmidt
caa8878b25 Use my packaged vlc in tomahawk.nsi instead of pre released binaries (those are crashing because they were compiled incompatibly). 2011-05-25 03:50:05 +02:00
Dominik Schmidt
20ad274dae More cross-compilation fixes. 2011-05-25 03:50:05 +02:00
Dominik Schmidt
1370756e0a Add vlc to tomahawk.nsi and add update-vlc.sh for downloading and stripping vlc 2011-05-25 03:50:05 +02:00
Dominik Schmidt
86cc828378 Fix cross compilation 2011-05-25 03:50:05 +02:00
Dominik Schmidt
95f5d214c5 Bye bye, jdns. We're not using you anymore, you can find your own way in jreen :P 2011-05-25 03:50:05 +02:00
Dominik Schmidt
d546cc6156 Bump jreen submodule revision. 2011-05-25 03:50:05 +02:00
Dominik Schmidt
e2698fecce Fix crash in liblastfm2 on windows. 2011-05-25 03:50:05 +02:00
Dominik Schmidt
8ca392464e Update tomahawk.nsi. 2011-05-25 03:50:05 +02:00
Dominik Schmidt
7b9c3b8bb9 Get finally rid of our own copy of jdns. 2011-05-25 03:50:05 +02:00
Christian Muehlhaeuser
39b9086d17 * Fixed getting year during resolving from database. 2011-05-25 03:15:15 +02:00
Leo Franchi
456e57cf20 If no artist or description or song is specified, default to song-radio.
This makes a bunch of stations/playlists with mood/style only work
2011-05-24 08:10:08 -04:00
Dominik Schmidt
0b80cd65bd Update and simplify tomahawk.nsi 2011-05-24 05:59:52 +02:00
Leo Franchi
8ae2525ef4 libechonest 1.1.8 released 2011-05-23 23:36:37 -04:00
Leo Franchi
85c1227b7f Support mood & style types in tomahawk links 2011-05-23 23:19:21 -04:00
Leo Franchi
aafec62d45 Fix hang in suggestion list loading and share amongst all controls 2011-05-23 23:18:40 -04:00
Leo Franchi
597e459db1 Add completion for artists with echonest artist/suggest path 2011-05-23 23:11:10 -04:00
Leo Franchi
9b4c826e10 update required liben to 1.1.7 2011-05-23 21:17:09 -04:00
Leo Franchi
31b8ca4cb6 Clean up error and info display a little bit 2011-05-23 21:17:09 -04:00
Leo Franchi
2f5dd43e5b add a Song search type to dynamic playlists. 2011-05-23 21:17:09 -04:00
Leo Franchi
03c7c0e35f add support for Echo Nest "style" and "mood" parameters to playlists 2011-05-23 21:17:09 -04:00
Dominik Schmidt
0e92d6913c sipjreen: send Hey-I'm-an-automatic-presence-message as error message, will prevent ping-ponging at least for 0.1+ 2011-05-23 23:41:43 +02: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
Leo Franchi
da0385dfc6 remove stale param 2011-05-22 20:45:22 -04:00
Leo Franchi
1e6091189d Generate proper autoplaylist/station urls 2011-05-22 20:45:22 -04:00
Leo Franchi
428828426c fix artist hotttnesss link, switch to /station/ and /autoplaylist/, and artist_limitto 2011-05-22 20:45:22 -04:00
Dominik Schmidt
f70183a0e9 Try adding ${QT_INCLUDES} to portfwd includes 2011-05-23 02:00:49 +02:00
Dominik Schmidt
864dc8d096 Build portfwd dynamically 2011-05-23 01:51:44 +02:00
Leo Franchi
8dc7bca9dd Export XSPF to file instead of clipboard 2011-05-22 19:27:47 -04:00
Leo Franchi
f9442372d9 Show copy command for all playlists 2011-05-22 19:19:16 -04:00
Leo Franchi
5bf79e1686 Copy XSPF to clipboard for normal playlists. TODO: Upload to a server and provide a link 2011-05-22 19:17:44 -04:00
Leo Franchi
d1ee642c12 Support copying and parsing station and automatic playlist tomahawk:// links 2011-05-22 18:43:06 -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
Leo Franchi
6b877e3364 Load the year for results.
Fixes TWK-183. This will take some thinking post-0.1 as years are stored by trackid right now so if you get a peer's database with a clashing trackid we'll not handle that properly
2011-05-21 10:03:12 -04:00
Dominik Schmidt
6714865384 siptwitter: Do proper QTweetLib/ includes 2011-05-21 05:15:33 +02:00
Dominik Schmidt
b2f2e063de I knew this was too complicated 2011-05-21 04:53:42 +02:00
Dominik Schmidt
2590ae4ece Make siptwitter optional and rely on system qtweetlib on default 2011-05-21 04:39:27 +02: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
Leo Franchi
a564d53ff3 Crash safety 2011-05-20 15:18:26 -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
f3406e18b6 Add a module to find whether KDE4 is installed rather than whether it has a proper development environment, and use that for controlling protocol file installation 2011-05-20 11:47:16 -04:00
Jeff Mitchell
7a86391d7b Watching for changes works at a folder granularity now 2011-05-20 10:38:18 -04:00
Leo Franchi
cd29484d52 fix playlist rename hookups 2011-05-19 22:19:16 -04:00
Christian Muehlhaeuser
cd0cb9efab * Use enum instead of int. 2011-05-20 03:54:27 +02:00
Christian Muehlhaeuser
303c32ba6f * Always connect model and view before loading a playlist so the spinner appears. 2011-05-20 03:40:28 +02:00
Christian Muehlhaeuser
c07ab346f4 * Deleting the engine might help preventing a crash in this case. 'Edgy' 2011-05-20 03:28:28 +02:00
Christian Muehlhaeuser
2cf8cd8b40 * Another getting-stuck protection for the pipeline. 2011-05-20 03:21:28 +02:00
Christian Muehlhaeuser
83b7de2d0b * Don't allow removed resolvers to break the pipeline. 2011-05-20 03:09:19 +02:00
Christian Muehlhaeuser
c5d7cbf2ef * Prevent locking? 2011-05-20 03:04:30 +02:00
Christian Muehlhaeuser
10f636e6ea * Protect pipeline from resolvers being removed. 2011-05-20 02:52:19 +02:00
Christian Muehlhaeuser
5b9ab4b478 * Hopefully the last set of debug spam cleanup :-) 2011-05-20 01:34:15 +02:00
Christian Muehlhaeuser
b2b836ff01 * Fixed unnamed DbCmd_SourceOffline & removed more debug output. Sigh :-) 2011-05-20 01:16:06 +02:00
Christian Muehlhaeuser
2f11b397dd * Remove more of the crazy amounts of debug output we've collected in the past few weeks. 2011-05-20 01:09:39 +02:00
Christian Muehlhaeuser
0fab2a9836 * Removed debug output and cleaned up sources a bit. 2011-05-20 00:43:33 +02:00
Jeff Mitchell
bf765dfc2e Possibly fix jherskowitz's problem testing authentication for last.fm. It seems that the info plugin was using toLower() to sanitize user names but the config dialog wasn't. Also some code cleanup/sync. 2011-05-19 18:09:56 -04:00
Christian Muehlhaeuser
8c29aeecfe * Remove nasty debug output. 2011-05-20 00:07:11 +02:00
Leo Franchi
43c4cebe12 Fix some warnings 2011-05-19 17:54:19 -04:00
Leo Franchi
3ede2ea281 Streamline the avatar code to use the proper icon role 2011-05-19 17:54:03 -04:00
Leo Franchi
e9b991e4c0 update the playlistview when a playlist is renamed, fixes TWK-168 2011-05-19 17:29:58 -04:00
Leo Franchi
b37127858f stop jumping around 2011-05-19 17:11:02 -04:00
Leo Franchi
d0e50a73f0 Sort playlists above stations
and the + items last
2011-05-19 16:54:41 -04:00
Christian Muehlhaeuser
234fdf07ba * Renamed jreen/ to jabber/ 2011-05-19 22:50:15 +02:00
Christian Muehlhaeuser
0253f0c1d4 * Removed old gloox-based jabber SIP. 2011-05-19 22:48:09 +02:00
Leo Franchi
6cc864e669 we no longer depend on gloox 2011-05-19 16:35:10 -04:00
Leo Franchi
d7e3272613 Copy result if available when creating a link 2011-05-19 15:43:37 -04:00
Christian Muehlhaeuser
3fdbfbd670 * Remove any resource from jabber friendly-names. 2011-05-19 15:28:41 +02:00
Dominik Schmidt
b53c052cfb Change jreen submodule url, 'git submodule sync' everyone! 2011-05-19 09:49:34 +02:00
Christian Muehlhaeuser
c47970f6c7 * Only log playbacks which were played for at least 10 seconds (locally) and 20 seconds (remotely). 2011-05-19 08:41:34 +02:00
Christian Muehlhaeuser
191dd48c87 * Don't log empty DeleteFiles DbCmds. 2011-05-19 08:21:26 +02:00
Christian Muehlhaeuser
ab221b2344 * Hide filter when it's disabled. 2011-05-19 08:04:02 +02:00
Christian Muehlhaeuser
03451c9197 * Made Artist- / TreeView the default view. Disabled album mode for this release. 2011-05-19 08:00:57 +02:00
Christian Muehlhaeuser
c2982e7312 * Fixed showing 'playlist' in a station's or automatic playlist's context menu. (TWK-171) 2011-05-19 07:11:01 +02:00
Christian Muehlhaeuser
9bac08deda * Fixed stations being stuck as busy after creating them. 2011-05-19 07:02:05 +02:00
Christian Muehlhaeuser
c919455d3f * Updated ChangeLog. 2011-05-19 05:57:32 +02:00
Christian Muehlhaeuser
9f1778a519 * Added LoadingSpinner support to ArtistView / TreeModel. 2011-05-19 05:46:41 +02:00
Christian Muehlhaeuser
f5bf6279bb * Bumped version number to 0.1.0. 2011-05-19 05:46:07 +02:00
Christian Muehlhaeuser
ad62bf87dc * Streamlined creating new playlists with entries.
* Made XSPFLoader, NewPlaylistWidget & GlobalActionManager use the new Playlist API.
* This prevents race-conditions.
* Fixed not being able to re-order playlist items.
2011-05-19 05:33:54 +02:00
Christian Muehlhaeuser
273eb9654f * Wait for the playlist to be created before we add stuff to it. 2011-05-19 04:42:01 +02:00
Christian Muehlhaeuser
4c4af2658b * Fix compiling when sparkle is enabled. 2011-05-19 03:30:12 +02:00
Christian Muehlhaeuser
5a64fc1361 * Protect DynamicPlaylists, too.
* Only load the five most recent playlists & 25 tracks in the WelcomeWidget.
2011-05-19 03:12:46 +02:00
Christian Muehlhaeuser
0d23934200 * Prevent creating a new revision while already updating a playlist. 2011-05-19 02:20:13 +02:00
Dominik Schmidt
7b154fbc12 Include config.h in tomahawkwindow.cpp 2011-05-19 00:37:48 +02:00
Christian Muehlhaeuser
7b773f4972 * Added some debug output for Leo. 2011-05-19 00:27:23 +02:00
Leo Franchi
f16451196b Don't allow dropping of playlist items onto the current playlist in the sourcetree. 2011-05-18 18:14:13 -04:00
Jeff Mitchell
73ffa506c7 Warnings-- 2011-05-18 18:09:07 -04:00
Jeff Mitchell
18708f7c28 Update qtweetlib; removes need to compile in oauth consumer token/secret and fixes bug needing custom qtweetstatus 2011-05-18 18:02:27 -04:00
Dominik Schmidt
da1089bbd9 Bump jreen submodule version 2011-05-18 22:22:17 +02:00
Jeff Mitchell
0a26584b98 Remove overzealous assert -- it's nice to assume that you'll never be passed invalid data, but nicer to assume you will :-) 2011-05-18 11:50:03 -04:00
Christian Muehlhaeuser
3cee48dc15 * Removed include/ folder and did some clean-ups. 2011-05-18 04:06:03 +02:00
Leo Franchi
917f904cbf hide queue whenever it is emptied, manually or by play progressing 2011-05-17 16:25:49 +02:00
Leo Franchi
1812477809 Fix bug where playable tracks were ignored in station previews 2011-05-17 16:00:27 +02:00
Leo Franchi
98c9ddf2b1 Add a timeout after last edit in artist line edits 2011-05-17 16:00:11 +02:00
Jeff Mitchell
98a23c6585 Merge branch 'master' into adiumpush
Conflicts:
	thirdparty/jreen
2011-05-16 22:06:41 -04:00
Jeff Mitchell
6f37e942ce Add some debug 2011-05-16 15:26:27 -04:00
Jeff Mitchell
ef5f96c104 Safety fix 2011-05-16 13:46:48 -04:00
Jeff Mitchell
0006acb408 Add avatar/profile pic support to Twitter SIP 2011-05-16 13:09:20 -04:00
Dominik Schmidt
451695faab Update tomahawk.nsi 2011-05-14 18:45:25 +02:00
Dominik Schmidt
925485d916 win32: some compilation/linking fixes, still does not build 2011-05-14 01:07:03 +02:00
Jeff Mitchell
43194e777a Add missing file, doh 2011-05-13 12:19:22 -04:00
Jeff Mitchell
08d268a961 Use custom qtweetstatus until a compilation error is fixed upstream 2011-05-13 12:07:06 -04:00
Jeff Mitchell
1f7257e061 Add qtweetlib blocks files 2011-05-13 12:00:59 -04:00
Jeff Mitchell
4b801849d3 Add QTweetLib as a submodule 2011-05-13 11:52:23 -04:00
Jeff Mitchell
ade334dec1 Remove our copy; will use git submodule 2011-05-13 11:50:08 -04:00
Leo Franchi
12d0dec63c Set a top-level layout for the proxy dialog.
Also tweak the margins a bit and remove the sizegrip from being visible on osx.
2011-05-13 09:40:30 +02:00
Jeff Mitchell
aedc1b362d Fix liblastfm2 mingw32 compilation 2011-05-12 22:35:45 -04:00
Jeff Mitchell
dc8f52076d Remove option to turn on watch changes. QFileSystemWatcher is now deprecated and doesn't work right anyways. The logic is still there as it's mostly fine, but we need a new method for tracking. 2011-05-12 15:07:04 -04:00
Jeff Mitchell
f8d30b5d24 Changlogify SOCKS proxy 2011-05-12 15:05:44 -04:00
Jeff Mitchell
2fb1c0a817 Re-add proxy dialog, and add option for using proxy for DNS lookups (or not) 2011-05-12 14:56:03 -04:00
Jeff Mitchell
dee9c14579 Add a toggle to control whether DNS lookups happen through the proxy or not. Fixes connections in some cases. 2011-05-12 11:42:28 -04:00
Jeff Mitchell
d0ccbf4416 Fix crash in jreen and others by not processing events in infosystem's destructor. Instead, sleep for only 50ms at a time. 2011-05-12 10:39:03 -04:00
Christian Muehlhaeuser
04cbc78ff7 * Don't leak memory when setting new avatar on a Source. 2011-05-12 15:54:37 +02:00
Jeff Mitchell
853c0a0170 Add hack notice 2011-05-12 09:46:42 -04:00
Leo Franchi
0da5a958bb update changelog 2011-05-12 14:55:27 +02:00
Leo Franchi
5566eddd05 Remove sizegrip on sliding sheets on osx 2011-05-12 14:41:15 +02:00
Dominik Schmidt
968971a3cf Merge branch 'master' of git://github.com/tomahawk-player/tomahawk
Conflicts:
	src/libtomahawk/sip/SipHandler.cpp
2011-05-12 13:49:45 +02:00
Dominik Schmidt
2862b01691 Add Tomahawk version reported by SipPlugin to the diagnostics dialog. 2011-05-12 13:42:31 +02:00
Alejandro Wainzinger
195f6921c0 Merge branch 'master' into adiumpush
Conflicts:
	thirdparty/jreen
2011-05-11 22:36:29 -07:00
Christian Muehlhaeuser
b453c387cd * Fixed not closing obsolete transfers. 2011-05-12 03:58:33 +02:00
Christian Muehlhaeuser
efb8d14ec9 * Fixed shutdown blocker in DbSyncConnection. 2011-05-12 02:09:33 +02:00
Christian Muehlhaeuser
4401fe15ac * Ignore pipeline results during shutdown. 2011-05-12 01:04:20 +02:00
Christian Muehlhaeuser
06e00a83c8 * Don't create pixmaps in the wrong thread. 2011-05-12 01:02:08 +02:00
Christian Muehlhaeuser
44585933dc * Auto advance to the next track in TreeView.
* Show proper icon for TreeView.
* Drag operations for tracks in TreeView / -Model.
* Various shutdown fixes.
* Properly hook up SipHandler signals again.
2011-05-12 00:36:28 +02:00
Dominik Schmidt
1f7f360d36 Don't log invalid sipinfos to the console but show them in the diagnostics window 2011-05-11 18:52:46 +02:00
Dominik Schmidt
986bc1119a sipjreen: warnings-- 2011-05-11 18:44:13 +02:00
Dominik Schmidt
fac969d39b sipjreen: Ignore error messages. 2011-05-11 18:44:13 +02:00
Dominik Schmidt
bcd90a81be Dont rely on valid sipinfos in diagnostics dialog 2011-05-11 18:44:13 +02:00
Leo Franchi
e2fac74d1d install_name_tool_ize_to_make_shit_work_kthxbbq 2011-05-11 15:44:47 +02:00
Leo Franchi
4634651d52 Merge branch 'master' into osxrelesae 2011-05-11 15:23:49 +02:00
Leo Franchi
272a67b703 Immediately update delegate with widget config change 2011-05-11 14:11:15 +02:00
Leo Franchi
15c02540d6 Immediately update delegate with widget config change 2011-05-11 14:08:42 +02:00
Dominik Schmidt
7ac7925ec6 sipjreen: avoid dangling pointer if the XmlConsole is not used 2011-05-10 02:30:36 +02:00
Dominik Schmidt
350be106c6 sipjreen: Add secret XmlConsole
Imported from qutim. Ruslan Nigmatullin gave me his compliance with
licensing this file as GPL3(+) (right now it lacks license headers
completely and might be GPL2+ in qutim).
2011-05-10 02:21:15 +02:00
Leo Franchi
bc9befa8a6 Merge remote branch 'origin/master' into osxrelesae 2011-05-09 17:28:50 +02:00
Dominik Schmidt
aeef7345af Log who a message the SipHandler receives is from 2011-05-09 17:22:34 +02:00
Leo Franchi
66c6cd56a8 slim vlc plugins and check for new resolver name format 2011-05-09 16:57:07 +02:00
Leo Franchi
d2631cf775 Merge remote branch 'origin/master' into osxrelesae 2011-05-09 16:26:22 +02:00
Dominik Schmidt
1d6153044c Export QDebug operator<<( QDebug dbg, const SipInfo &info ) 2011-05-09 14:45:38 +02:00
Dominik Schmidt
f171c8901b Export SipInfo class 2011-05-09 11:40:46 +02:00
Dominik Schmidt
eade3c5f26 Fix broken if-else 2011-05-09 11:33:03 +02:00
Dominik Schmidt
06f33c5d81 Add missing return, compiled here fine :\ 2011-05-09 11:27:08 +02:00
Dominik Schmidt
2e69f91671 Use QHostInfo instead of QHostAddress 2011-05-09 11:19:58 +02:00
Dominik Schmidt
9c30600793 Use SipInfo in SipHandler & SipPlugin and fix Jabber to use the new API 2011-05-09 11:19:58 +02:00
Dominik Schmidt
9cd07349dc Don't assert on qDebug( SipInfo() ) 2011-05-09 11:19:58 +02:00
Dominik Schmidt
733e06b372 Add SipInfo class 2011-05-09 11:19:57 +02:00
Christian Muehlhaeuser
7ba8581ac3 * Fix potential issue which caused Pipeline to get stuck. 2011-05-09 01:22:49 +02:00
Christian Muehlhaeuser
7b4c425ec5 * Print out some more debug in case we run into problems. 2011-05-09 01:10:31 +02:00
Christian Muehlhaeuser
f2eb8a7a75 * Improved Pipeline. 2011-05-09 00:31:25 +02:00
Dominik Schmidt
48d029468d sipjreen: googlewrapper: hardcode server and port so it works through proxies and with all google apps jids when the domain has no jdns entry 2011-05-08 20:00:32 +02:00
Christian Muehlhaeuser
47158465d9 * Fixed pipeline. Speeds it up, allows for parallel execution of multiple same-weighted resolvers. 2011-05-08 19:12:56 +02:00
Dominik Schmidt
012b72d4fd Remove legacy dependency on gnutls 2011-05-08 18:54:16 +02:00
Dominik Schmidt
12462ead58 Oops, fix build 2011-05-08 15:51:16 +02:00
Dominik Schmidt
6118432dd7 Add proxy support to the sip plugins and the sip handler 2011-05-08 15:44:32 +02:00
Dominik Schmidt
6c8252cefb Bump jreen submodule revision 2011-05-08 15:43:35 +02:00
Dominik Schmidt
5c732098f7 sipjreen: turn stupid assert into a sensible error message 2011-05-08 15:43:01 +02:00
Leo Franchi
cdcc6516df Merge remote branch 'origin/master' into osxrelesae 2011-05-07 20:29:29 -04:00
Christian Muehlhaeuser
1987b4c378 * Fix result-hint crash. 2011-05-08 02:27:56 +02: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
Leo Franchi
942e5f892b autodetect and populate resovlers named foo_tomahawkresolver* in the binary dir of tomahawk 2011-05-07 18:50:07 -04: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
Leo Franchi
2c08d2d186 Merge remote branch 'origin/master' into osxrelesae 2011-05-07 18:34:35 -04:00
Christian Muehlhaeuser
e8430e0501 * Depend on libEchonest 1.1.5. 2011-05-08 00:23:52 +02:00
Leo Franchi
7adb08f701 Default to watch for changes off until we handle ru nning out of watches 2011-05-07 18:05:45 -04:00
Leo Franchi
7258f05070 show default music location if none is saved yet 2011-05-07 18:04:34 -04:00
Christian Muehlhaeuser
5294922a02 * Don't use non-file / non-servent resultHints for now. 2011-05-07 23:54:30 +02:00
Leo Franchi
9944534581 deposx fixes for osx 2011-05-07 17:36:49 -04:00
Alejandro Wainzinger
f4b4a021ee Add resumed, stopped, paused info. 2011-05-07 13:26:21 -07:00
Christian Muehlhaeuser
1b74430ea2 * Fixed dupes in resources.qrc. 2011-05-07 21:30:14 +02: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
Leo Franchi
b8f6192014 fix menu addition 2011-05-07 10:16:58 -04:00
Leo Franchi
0c5536bf78 Only show separator on non-osx since it makes the otherwise empty Help menu show up 2011-05-07 10:13:19 -04:00
Leo Franchi
d657c43d72 Don't get a QNetworkReply* for http urls as we just discard it later 2011-05-07 09:37:23 -04:00
Jeff Mitchell
84f6fa9b33 Don't keep state of a QNetworkReply in a member variable. Get it on-demand. 2011-05-07 09:34:22 -04:00
Dominik Schmidt
e36037a45e Merge branch 'diag-dialog' 2011-05-07 13:53:20 +02:00
Leo Franchi
f982689443 stop spinner if tracks are removed 2011-05-06 12:55:55 -04:00
Leo Franchi
e1cdc4820a change SIP menu entry to friendlyname rather than JREEN 2011-05-06 12:17:09 -04:00
Leo Franchi
8b2ade25de make stations behave when multiple result signals are emitted by the pipeline 2011-05-06 11:55:24 -04:00
Leo Franchi
8c3745896c add resolved tracks as we get them when previewing, and stop previewing if we're running 2011-05-06 11:02:21 -04:00
Leo Franchi
3a6abc3f5e remove autoconnect options from config pages---now checking/unchecking sip plugins in the config dialog does the same thing and it was confusing 2011-05-06 10:59:42 -04:00
Leo Franchi
aaebdc6a4b Don't let users edit readonly playlists with Delete key 2011-05-06 07:43:12 -04:00
Dominik Schmidt
b4eda751e0 sipjreen: emit peerOffline for all contacts when connection is lost, not when the plugin is asked to disconnect 2011-05-06 11:51:27 +02:00
Dominik Schmidt
81c85b3fd5 DiagnosticsDialog: Add current time (+ some micro formatting in the log) 2011-05-06 11:49:51 +02:00
Alejandro Wainzinger
ccc4db2270 Copy over Adium files from Adium branch. 2011-05-05 22:14:30 -07:00
Leo Franchi
5f67b3453b update sourcelist on db dync 2011-05-05 21:58:57 -04:00
Dominik Schmidt
31c3c50292 DiagnosticsDialog: Add more details on peers. Ugly caching in SipHandler, wanna avoid ugly-back-and-forth-json-parsing until we have a proper SipInfo class 2011-05-06 02:13:01 +02:00
Dominik Schmidt
6e06e36573 DiagnosticsDialog: Add SipInfo (visibility, ip and port) 2011-05-06 01:13:01 +02:00
Dominik Schmidt
d7d883cd3c DiagnosticsDialog: add update and copy-to-clipboard button 2011-05-06 00:52:27 +02:00
Dominik Schmidt
8b3e1dc372 DiagnosticsDialog: Add SipPlugin log 2011-05-06 00:27:23 +02:00
Dominik Schmidt
fcb9eb33e4 Add peersOnline() to SipPlugin 2011-05-06 00:25:06 +02:00
Dominik Schmidt
5a9425a930 Add a basic DiagnosticsDialog without actual functionality 2011-05-05 22:22:16 +02:00
Leo Franchi
7b43376e61 Don't hookup signals twice 2011-05-05 14:59:13 -04:00
Leo Franchi
08c78dbd97 some error caching in sip plugin 2011-05-05 14:59:13 -04:00
Leo Franchi
fa18cf9ced Up max fds on osx to the max we can set 2011-05-05 08:16:30 -04:00
Leo Franchi
8d039cdc91 Show Connecting... state for jabber and in delegate 2011-05-04 22:56:04 -04:00
Jeff Mitchell
f751c1559b Make config for twitter sip lowercase like everywhere else 2011-05-04 19:09:04 -04:00
Jeff Mitchell
18101c32b0 Fix regression when posting twitter status message 2011-05-04 18:34:57 -04:00
Jeff Mitchell
2c8eaef8ff Fix signal/slot typo 2011-05-04 18:17:19 -04:00
Dominik Schmidt
4638b7c21a sipjreen: handle invisible peers correctly 2011-05-04 21:35:34 +02:00
Leo Franchi
40c3196a4f fix menus 2011-05-04 14:15:50 -04:00
Leo Franchi
ebd78c06b0 only show clicked wrench as down 2011-05-04 11:56:00 -04:00
Leo Franchi
3bc05bc73b fix checkrect hit area in delegate too 2011-05-04 11:42:53 -04:00
Leo Franchi
59b64bfdd9 open config dialogs as a sheet on osx, and call gmail google 2011-05-04 10:42:54 -04:00
Leo Franchi
3dc317377f oops, Kuba was right, version is not tomahawk version 2011-05-04 09:22:11 -04:00
Leo Franchi
231c2569f6 move desktop file to admin/unix, and set current version in cmake 2011-05-04 09:17:54 -04:00
Leo Franchi
948631846e Merge pull request #29 from zizzfizzix/desktop-file.
Add a .desktop file on linux. Thanks Kuba!
2011-05-04 05:59:55 -07:00
Dominik Schmidt
e2890c1e93 sipjreen: do proper reconnection handling now. even with translated errors :P 2011-05-04 14:50:02 +02:00
Dominik Schmidt
d8023b285f sipjreen: improve staying-online 2011-05-04 14:36:05 +02:00
Leo Franchi
607ebf1c24 move location of autoconnect checkbox 2011-05-03 23:36:35 -04:00
Leo Franchi
188b14de39 aint over till it's over 2011-05-03 23:31:09 -04:00
Leo Franchi
5d098438c0 last icon resize tonight 2011-05-03 23:26:12 -04:00
Leo Franchi
b7d2d129c8 icon sizes 2011-05-03 23:25:28 -04:00
Leo Franchi
d96061bd0d add files 2011-05-03 23:21:31 -04:00
Leo Franchi
f774ae4731 icon update
add zeroconf config too
2011-05-03 23:21:00 -04:00
Leo Franchi
c854a090e6 Add autoconnect to twitter dialog. Make dialogs prettier 2011-05-03 22:44:29 -04:00
Jeff Mitchell
aa9a3124ef Make dirlister also delete in-thread 2011-05-03 22:29:44 -04:00
Jeff Mitchell
8b229dd4e3 Fix other area scanner is destroyed to do it in-thread 2011-05-03 22:18:13 -04:00
Jeff Mitchell
a2a2f036a2 Fix build, doh 2011-05-03 22:14:00 -04:00
Jeff Mitchell
20045b2e14 Merge branch 'master' of github.com:tomahawk-player/tomahawk 2011-05-03 22:13:19 -04:00
Jeff Mitchell
f4508fc79a Properly delete scanner in-thread 2011-05-03 22:13:16 -04:00
Leo Franchi
255b251230 fix creating plugin through config dialog signal hookups 2011-05-03 22:12:22 -04:00
Leo Franchi
af0ac5a848 fix build 2011-05-03 22:11:23 -04:00
Leo Franchi
208bbb49b7 migrate legacy gmail accounts to gmail rather than jabber 2011-05-03 22:01:32 -04:00
Jeff Mitchell
a81bca6ce1 Merge remote branch 'origin/master' into leos-crash
Conflicts:
	src/sip/twitter/twitter.cpp
	src/sip/twitter/twitterconfigwidget.cpp
2011-05-03 21:58:24 -04:00
Jeff Mitchell
bcfea87607 Remove more extra debugging, and fix a couple omissions 2011-05-03 21:53:39 -04:00
Jeff Mitchell
1a1c9a68ed Remove extra liblastfm2 debug 2011-05-03 21:48:14 -04:00
Leo Franchi
7d1067dafa fix some crashes 2011-05-03 19:37:58 -04:00
Leo Franchi
ea5cefd2d4 Auto-create zeroconf plugin with new installs
Actually save no-config-widget plugins to settings too
2011-05-03 19:17:00 -04:00
Leo Franchi
81fe1c8061 allow factories to be marked as unique 2011-05-03 19:10:36 -04:00
Jeff Mitchell
33530084b0 Properly delete infosystem objects in the correct thread 2011-05-03 18:44:09 -04:00
Leo Franchi
7be0cdb714 show zeroconf icon 2011-05-03 18:42:46 -04:00
Leo Franchi
3b734df57e tweak icons, make things work more 2011-05-03 18:41:01 -04:00
Jeff Mitchell
eb31702711 More debug 2011-05-03 18:06:42 -04:00
Leo Franchi
811ac70fa6 fix config rect handling 2011-05-03 18:04:27 -04:00
Jeff Mitchell
7f26f34fdd Revamp how the plugins interact with the infosystemworker 2011-05-03 18:00:14 -04:00
Leo Franchi
63738b58c0 disable inline factories and use +/- button for now 2011-05-03 17:49:43 -04:00
Jeff Mitchell
de28596438 We're making progress...move back into a thread 2011-05-03 17:06:04 -04:00
Jeff Mitchell
97ca55fd53 A fix for the introduced crash in liblastfm, ready for more lfranchi debugging 2011-05-03 16:58:10 -04:00
Leo Franchi
52c2fd2a5a spacing tweaks, they will never end 2011-05-03 16:50:30 -04:00
Leo Franchi
c72f6cf508 fix merge config changes 2011-05-03 16:38:45 -04:00
Jeff Mitchell
dd4d268c11 readd possibly crash code 2011-05-03 16:21:27 -04:00
Leo Franchi
ea7e8f6ede Merge remote-tracking branch 'origin/master'
Conflicts:
	src/libtomahawk/sip/SipPlugin.cpp
	src/resolverconfigdelegate.cpp
	src/sip/jreen/jabber.cpp
	src/sip/jreen/jabber.h
2011-05-03 16:16:16 -04:00
Leo Franchi
e1aee9b299 Merge branch 'master' of github.com:tomahawk-player/tomahawk
Conflicts:
	src/libtomahawk/tomahawksettings.cpp
	src/libtomahawk/tomahawksettings.h
	src/sip/jreen/jabber.cpp
	src/sip/jreen/jabber.h
	src/tomahawkapp.cpp
	src/tomahawkwindow.h
	thirdparty/jreen
2011-05-03 15:56:08 -04:00
Kuba Serafinowski
6531c9f1e4 Install .desktop along with icons for it 2011-05-03 21:32:18 +02:00
Kuba Serafinowski
ec4961394a add .dessktop file 2011-05-03 21:31:23 +02:00
Jeff Mitchell
b8bb29161f More debug and a fix 2011-05-03 14:48:17 -04:00
Jeff Mitchell
a8ad8cd774 I can haz lfranchi crash fix? 2011-05-03 14:34:31 -04:00
Jeff Mitchell
e802201341 Merge branch 'master' into leos-crash 2011-05-03 14:18:12 -04:00
Jeff Mitchell
fe478a0759 Switch around when the oauthtwitter gets its nam and add some debug 2011-05-03 14:18:05 -04:00
Dominik Schmidt
7a595aaa76 remove last warning ;-) 2011-05-03 20:00:49 +02:00
Leo Franchi
e001c6a197 more build fixes 2011-05-03 13:56:26 -04:00
Jeff Mitchell
b42e36a240 Add another bit of debug 2011-05-03 13:56:00 -04:00
Leo Franchi
48246e9ec1 more build fixes 2011-05-03 13:49:55 -04:00
Jeff Mitchell
3b84824f11 Gah our startup is so breaky. 2011-05-03 13:49:10 -04:00
Leo Franchi
93212251b6 fix build 2011-05-03 13:47:57 -04:00
Jeff Mitchell
e615362672 add more debug 2011-05-03 13:41:24 -04:00
Dominik Schmidt
d4109d8575 Remove warnings (aka make it compile with -Werror) 2011-05-03 19:40:51 +02:00
Jeff Mitchell
8b2ce768d1 Move scrobbler init far down where it belongs 2011-05-03 13:13:04 -04:00
Jeff Mitchell
e6819d48a8 Move nam init further up 2011-05-03 13:08:04 -04:00
Jeff Mitchell
44173808cb Hopefully fix startup crash in single-threaded infosystemworker mode 2011-05-03 12:36:23 -04:00
Dominik Schmidt
6239f90cf0 sipjreen: remove unneeded m_connected state - m_client knows better about it 2011-05-03 17:12:54 +02:00
Dominik Schmidt
117bff483d Add setProxy() method to SipPlugin interface 2011-05-03 16:53:29 +02:00
Dominik Schmidt
5b961e1a58 sipjreen: fix build 2011-05-03 16:12:32 +02:00
Dominik Schmidt
2772e69a40 sipjreen: implement setProxy() 2011-05-03 15:58:47 +02:00
Dominik Schmidt
99563bfde6 sipjreen: constify parameters in SipMessageExtension 2011-05-03 15:22:43 +02:00
Dominik Schmidt
137c608fa2 sipjreen: hopefully fix a bug that could happen with visible:false peers 2011-05-03 15:22:43 +02:00
Jeff Mitchell
7330c9364d Add debug towards figuring out leo's crash 2011-05-03 08:33:21 -04:00
Jeff Mitchell
bbfd4c91e7 Fix scrobbling. Thanks lfranchi for being my rubber duck. 2011-05-03 08:03:17 -04:00
Jeff Mitchell
085e6f11bd A bit more safety -- kind of redundant with the mutex, but doesn't hurt to have it 2011-05-03 08:03:01 -04:00
Leo Franchi
5b0ed433f5 fix recent playlists 2011-05-02 23:05:59 -04:00
Leo Franchi
bc1ce656ae quiet up debug 2011-05-02 22:29:29 -04:00
Leo Franchi
8b95f7330b also send args on first startup, not completely working 2011-05-02 22:17:53 -04:00
Leo Franchi
0f47027c9c Cache playlist guids to speed up reloading 2011-05-02 22:14:45 -04:00
Leo Franchi
aec8c97eac Add context menu item to create track links 2011-05-02 22:05:29 -04:00
Leo Franchi
aff34374cb update when new playlists are reset 2011-05-02 18:58:06 -04:00
Leo Franchi
1bb69c0fc9 add Open command to url handling 2011-05-02 18:56:30 -04:00
Leo Franchi
bbbd1a48bb add new welcomeplaylistmodel 2011-05-02 18:22:40 -04:00
Leo Franchi
1bde1fe1bb fix indenting 2011-05-02 18:22:25 -04:00
Leo Franchi
40d3b87af5 make welcomewidget and recently played playlist behave 2011-05-02 18:22:16 -04:00
Leo Franchi
59d72df046 Merge remote-tracking branch 'origin/master' into cleanmaster 2011-05-02 16:29:42 -04:00
Jeff Mitchell
58692f424d Fix condition where duplicate connections could happen from twitter 2011-05-02 16:27:34 -04:00
Dominik Schmidt
81065243f4 sipjreen: regressions--: handle server and port settings correctly 2011-05-02 22:11:47 +02:00
Dominik Schmidt
92f23bc20b sipjreen: regressions--: subscription handling
UPDATE JREEN to make it work!
2011-05-02 17:08:15 +02:00
Jeff Mitchell
9ed8caf277 Use liblastfm NAC in infosystemworker too, if available 2011-05-02 10:14:59 -04:00
Leo Franchi
68a3df17c4 change around some commands 2011-05-02 09:13:21 -04:00
Leo Franchi
55be3010e5 work on new welcome widget 2011-05-02 09:13:21 -04:00
Dominik Schmidt
e8be8e95b5 Weird, where did this come from?! 2011-05-02 04:07:31 +02:00
Dominik Schmidt
819fc4881e Merge branch 'master' of git://github.com/tomahawk-player/tomahawk 2011-05-02 04:04:12 +02:00
Dominik Schmidt
0d43d54c3b ugly hacks to make liblastfm compile on windows 2011-05-02 04:04:04 +02:00
Leo Franchi
6340b82921 Use a unique bookmarks playlist guid 2011-05-01 21:07:45 -04:00
Dominik Schmidt
d6c73e44e0 sipjreen: regressions--: update menu correctly 2011-05-02 01:37:27 +02:00
Dominik Schmidt
ea159cb2f4 sipjreen: warnings-- 2011-05-02 00:05:15 +02:00
Dominik Schmidt
a8441ffb4c sipjreen: regressions--: request subscription when adding someone to the roster 2011-05-01 23:30:18 +02:00
Dominik Schmidt
26d383eeab Update to latest jreen with subscription api, some fixes for crashes and proxy support 2011-05-01 22:35:57 +02:00
Dominik Schmidt
eba947854b Unpimple sipjreen 2011-05-01 22:33:45 +02:00
Christian Muehlhaeuser
e863324c40 * Move debug output before ASSERT. 2011-05-01 17:12:18 +02:00
Leo Franchi
2b408744d7 play the track if nothing is playing. doesn't select in the playlist yet, thinking of an elegant solution 2011-05-01 11:08:01 -04:00
Leo Franchi
24f58b45d3 Select playlist in sidebar when creating bookmark playlist 2011-05-01 10:57:10 -04:00
Jeff Mitchell
d5c182c151 Switch around a couple of qnam slots 2011-05-01 10:29:31 -04:00
Jeff Mitchell
7f7c55a293 Only delete qnam objects in liblastfm2 that it creates itself 2011-05-01 10:27:43 -04:00
Christian Muehlhaeuser
e8f2eedcb9 * Don't assert on unknown sources, but print out debug. 2011-05-01 15:30:15 +02:00
Christian Muehlhaeuser
4c3f5b0399 * Should fix compiling on OS X. 2011-05-01 14:54:48 +02:00
Christian Muehlhaeuser
5379d35084 * Should fix compiling on OS X. 2011-05-01 14:43:18 +02:00
Christian Muehlhaeuser
82a5058e4c * Fix AudioEngine killing Phonon's QIODevice. 2011-05-01 13:05:04 +02:00
Jeff Mitchell
af49afac35 work around isLocalFile not existing 2011-05-01 03:01:34 -04:00
Jeff Mitchell
032e6f8d6f Update local liblastfm2 to deal better with threads and qnams 2011-05-01 02:22:01 -04:00
Jeff Mitchell
2a4b0b2956 First part of more threadsafety, mostly for liblastfm2's qnam 2011-05-01 02:22:01 -04:00
Leo Franchi
c2b7ea9411 Merge remote-tracking branch 'origin/master' into cleanmaster 2011-05-01 01:29:41 -04:00
Leo Franchi
ab2e91fdd6 Allow url result-hints, load them from XSPFs too.
Add support for various tomahawk:// links
2011-05-01 01:27:34 -04:00
Jeff Mitchell
683d4a4529 Find local phonon installs if they exist instead of filtering them out 2011-05-01 01:24:29 -04:00
Jeff Mitchell
3f3a2798c7 have the worker let any interested plugins know when the nam changes, and have the echonestplugin make use of that to set the appropriate nam for the thread 2011-05-01 01:04:48 -04:00
Jeff Mitchell
4768f9acd7 Attempt to fix Leo's crash in destruction of infosystemworker 2011-04-30 21:55:23 -04:00
Jeff Mitchell
2a39355fb6 Add pushInfo API to InfoSystem, and switch the LastFM Plugin over to
using it
2011-04-30 17:10:36 -04:00
Jeff Mitchell
eec9283aff Don't start on the script resolver page (I'm assuming this was
accidental?)
2011-04-30 17:10:23 -04:00
Jeff Mitchell
9dae7ded86 Fix crash on config dialog close 2011-04-30 15:19:05 -04:00
Leo Franchi
fca9da24cf support deleting sip plugins via context menu 2011-04-30 14:12:04 -04:00
Jeff Mitchell
dfc518cedc Use a new QNAM in the thread to avoid reparenting problems 2011-04-30 14:07:20 -04:00
Leo Franchi
5b6317b282 pong 2011-04-30 13:29:22 -04:00
Leo Franchi
1ce8c7dc3e die margin die 2011-04-30 13:26:31 -04:00
Jeff Mitchell
37b9dea002 Split infosystemworker into its own header 2011-04-30 13:25:17 -04:00
Leo Franchi
a9eb684a8b UI tweaks for linux this time 2011-04-30 13:24:25 -04:00
Leo Franchi
8004eb08c3 more osx UI fixes.. 2011-04-30 13:04:10 -04:00
Jeff Mitchell
1b656fe874 Clean up some of the threadification 2011-04-30 12:55:18 -04:00
Jeff Mitchell
750331d920 Merge branch 'master' into infosystem-threadify 2011-04-30 12:51:21 -04:00
Jeff Mitchell
63b1f4eae7 Don't allow a phonon version less than 4.5.0 as it causes problems 2011-04-30 11:25:54 -04:00
Jeff Mitchell
4fb41ff417 Initial work on threadifying 2011-04-30 11:10:29 -04:00
Leo Franchi
2d2426732c fix whitespace 2011-04-30 09:24:51 -04:00
Leo Franchi
3d0d61524f Merge branch 'tiegz-master' 2011-04-30 09:12:28 -04:00
Leo Franchi
5b633a25ee more ui tweaks 2011-04-29 18:41:48 -04:00
Leo Franchi
a765937c9b really kill the home icon 2011-04-29 18:40:54 -04:00
Leo Franchi
c724205531 tweak soem margins 2011-04-29 18:20:28 -04:00
Leo Franchi
6be3027be5 Merge remote-tracking branch 'origin/master' 2011-04-29 18:05:42 -04:00
Leo Franchi
cfff4a91cb make it a new config dialog 2011-04-29 18:04:55 -04:00
Jeff Mitchell
2af7c9f18e Fix a bug and start the skeleton for the thread-based worker 2011-04-29 17:01:58 -04:00
Leo Franchi
bba33f0bf8 Make the treeview work, and config work, and lots of things work 2011-04-29 16:05:48 -04:00
Jeff Mitchell
48f1745614 Hopefully fix problems with the auto-message going to gtalk users 2011-04-29 08:30:07 -04:00
Leo Franchi
e2f0bc6c17 add files 2011-04-28 07:37:53 -04:00
Leo Franchi
b2a0e41eab Merge branch 'master' of github.com:tomahawk-player/tomahawk into upstream 2011-04-28 07:36:35 -04:00
Leo Franchi
bf0b58fe60 Support year in external resolvers too 2011-04-28 07:36:12 -04:00
Leo Franchi
eb8a4f6711 Some more work on the config UI 2011-04-28 07:35:16 -04:00
Leo Franchi
2380838347 Support year in external resolvers too 2011-04-28 07:33:40 -04:00
Leo Franchi
e673c01d3c add a google wrapper around the jreen jabber plugin 2011-04-27 17:55:50 -04:00
Leo Franchi
33e940f708 Set sourcetree to itunes/mail-like grey and blue on osx. Somehow this was lost during my merge. 2011-04-26 23:35:48 -04:00
Leo Franchi
8d777ff6a9 Initial work towards SIP Factoryizing. Migrates and stuff, too. Config dialog unfinished. 2011-04-25 21:55:26 -04:00
Leo Franchi
3f740ce4a0 require QJson 0.7.0 2011-04-25 16:49:54 -04:00
Leo Franchi
6945b503cf remove Home action from toolbar as it's now the recently played item in the sourcelist 2011-04-25 15:59:45 -04:00
Leo Franchi
033987eedb use the sourceitem decoration role instead so we get teh supercollection icon 2011-04-24 21:06:33 -04:00
Leo Franchi
2507f8306c Revert change of jreen namespace, as we were tracking Jreen trunk correctly but
our submodule was behind on clean checkouts. Updated now.

Revert "The Jreen guys went and changed capitalization of their namespace, which"

This reverts commit 41f1ac9713.
2011-04-23 12:47:45 -04:00
Leo Franchi
dd685d600d Update jreen submodule to newest trunk. 2011-04-23 12:43:45 -04:00
Jeff Mitchell
41f1ac9713 The Jreen guys went and changed capitalization of their namespace, which
is why build was failing.

Jreen--

or, I guess,
jreen++
2011-04-22 10:46:29 -04:00
Leo Franchi
056efe2cd9 show name when editing first 2011-04-22 17:39:01 -04:00
Leo Franchi
519e1bb71e allow to rename playlist when creating via drag
Merge branch 'master' into sourcelistrefactor

Conflicts:
	src/tomahawkwindow.cpp
2011-04-22 17:09:23 -04:00
Leo Franchi
632889b590 fix a few more things 2011-04-22 16:32:38 -04:00
Leo Franchi
062cf35324 sort playlists by date added
allow users to drag tracks onto the New Playlist item to seed a new plsylist
2011-04-22 16:07:44 -04:00
Leo Franchi
8cdc9931b1 Add some tooltips, thanks Pranav 2011-04-22 16:00:58 -04:00
Leo Franchi
e6c7a73110 make welcome widget not abuse the filesystem 2011-04-22 15:31:40 -04:00
Leo Franchi
6a323832a9 split out items in their own parts
make generic item take a funcptr so we keep the link going
2011-04-22 14:43:44 -04:00
Jeff Mitchell
02272c0f87 Use the explicitly-configured server when one exists, otherwise do DNS querying 2011-04-22 13:11:57 -04:00
Jeff Mitchell
7239d3fdfd Add a QCache to cache recent hits in memory 2011-04-22 13:02:35 -04:00
Jeff Mitchell
e3aa497b62 Fix crashes and bad accesses 2011-04-22 13:02:01 -04:00
Leo Franchi
4ffe635486 FindPhonon already spits out all the messages we need 2011-04-22 10:02:44 -04:00
Leo Franchi
695e029709 Add FindPhonon.cmake from kde, and uses phonon/ includes as that's the "proper" include path for both qt- and kde-phonon 2011-04-22 09:59:53 -04:00
Jeff Mitchell
89606c49d4 Warnings-- 2011-04-22 09:58:43 -04:00
Jeff Mitchell
a8253c4abd Merge remote branch 'origin/master' into single-file-cache 2011-04-22 09:52:02 -04:00
Leo Franchi
dd5c7b0af4 fix up
Merge branch 'master' into sourcelistrefactor

Conflicts:
	src/sourcetree/sourcetreeview.cpp
2011-04-22 09:29:04 -04:00
Christian Muehlhaeuser
15014f137b * Merged phonon into master. 2011-04-22 15:27:33 +02:00
Christian Muehlhaeuser
7b10f99b53 * This wasn't supposed to end up in phonon branch. 2011-04-22 15:24:25 +02:00
Christian Muehlhaeuser
48265c8262 * Removed phonon warning. 2011-04-22 15:11:24 +02:00
Christian Muehlhaeuser
34ac2b6b86 * Merged master into phonon branch. 2011-04-22 15:08:59 +02:00
Leo Franchi
a8d8a485e5 Add support for stations and automatic playlists back to the sourcetree
don't look at this commit for too long or some parts might cause your eyes to fall out of your head. i apoligize in advance.
2011-04-21 23:29:05 -04:00
Christian Muehlhaeuser
ae36ce956a * Always show source's current friendly name, not a cached copy of it. 2011-04-22 02:08:58 +02:00
Jeff Mitchell
1640872bd9 Update infosystemcache to load from disk on demand. It still uses a (much smaller) amount of memory for one optimization: tracking known hashes to file paths. This prevents re-reading directory trees over and over and constantly refiltering them. 2011-04-21 12:11:51 -04:00
Leo Franchi
127548e3a2 Merge remote-tracking branch 'origin/master' into sourcelistrefactor
Conflicts:
	src/sourcetree/sourcetreeitem.cpp
	src/sourcetree/sourcetreeview.cpp
	thirdparty/jreen
2011-04-21 11:32:14 -04:00
Leo Franchi
61bf30de57 Merge remote-tracking branch 'origin/master' into sourcelistrefactor 2011-04-21 11:22:33 -04:00
Jeff Mitchell
d727f3a319 Merge branch 'master' into single-file-cache 2011-04-21 10:38:55 -04:00
Dominik Schmidt
3e20fd1f6a Let SipHandler set the avatar for MyCollection 2011-04-21 13:42:26 +02:00
Leo Franchi
990e160a2e allow renaming of local playlists 2011-04-20 22:21:43 -04:00
Leo Franchi
74b310eb00 do lots of stuff.
rename playlistmanager to viewmanager. link pages in the viewmanager to indexes in the sourcetree, so it is never out of sync. yay!
2011-04-20 22:14:45 -04:00
Frank Osterfeld
3182a294d7 Do not truncate FLAC playback.
If "finish" is set, play until the buffer is empty.
2011-04-20 23:34:13 +02:00
Dominik Schmidt
84019e5d11 Add DLLEXPORT macro to SipHandler 2011-04-20 21:43:14 +02:00
Dominik Schmidt
26be5c954d Merge branch 'jreen-avatars'
Conflicts:
	src/libtomahawk/source.h
2011-04-20 21:31:44 +02:00
Dominik Schmidt
d9a4b71414 Use the AvatarManager and show avatars in the MainWindow. 2011-04-20 21:26:16 +02:00
Dominik Schmidt
ddb7e012df sipjreen: Add AvatarManager class 2011-04-20 21:12:04 +02:00
Dominik Schmidt
47fd7b8285 Add avatar support to controlconnection, source and sourcetreeview. 2011-04-20 20:36:49 +02:00
Dominik Schmidt
def3e3d868 Move SipHandler from application to library 2011-04-20 20:22:06 +02:00
Jeff Mitchell
e36b6bd41e Merge remote branch 'origin/master' into single-file-cache 2011-04-20 13:01:41 -04:00
Jeff Mitchell
439521424b Merge branch 'master' into single-file-cache 2011-04-20 12:59:30 -04:00
Alejandro Wainzinger
af9d2d388c Lower the amount of time PortFwdThread waits until destruction. Greatly reduces shutdown time in the case where it can't communicate properly. 2011-04-20 12:58:59 -04:00
Christian Muehlhaeuser
2e80475a9d * Moved --demo stuff to Source class. 2011-04-20 16:21:12 +02:00
Alejandro Wainzinger
cbd5196080 Fix CMake. 2011-04-19 22:26:18 -04:00
Dominik Schmidt
d87398c47a First shitty implementation of loading avatars 2011-04-20 00:26:13 +02:00
Jeff Mitchell
248e3e7a4a Rename some values and make slots and other functions use const values,
for sanity checking
2011-04-19 16:37:37 -04:00
Jeff Mitchell
edaabc0ae6 Efficiency++ 2011-04-19 15:57:13 -04:00
Jeff Mitchell
9310755e92 Fix loading files, and preventing duplicates 2011-04-19 15:53:26 -04:00
Jeff Mitchell
66358d2103 Use hex in the filename 2011-04-19 15:22:29 -04:00
Jeff Mitchell
b916125756 Whoops, actually start the sync timer! 2011-04-19 09:48:42 -04:00
Jeff Mitchell
d391b9bd66 Per-file cache entry saving and loading 2011-04-19 09:43:53 -04:00
Jeff Mitchell
b9f80edea9 Move infosystem register meta types to the location as the other register
statements
2011-04-19 08:48:02 -04:00
Jeff Mitchell
43834a17bc Add sync timer to cache to avoid saving everything at shutdown (runs
once a minute)
2011-04-19 08:38:47 -04:00
Christian Muehlhaeuser
af0b7f9a74 * Merged master into phonon branch. 2011-04-19 00:03:55 +02:00
Dominik Schmidt
ed93084315 Merge branch 'jreen-tpqt4-comp' 2011-04-18 22:35:42 +02:00
Dominik Schmidt
04b4c69ab3 sipjreen: Add I'm-not-a-person-auto-response 2011-04-18 22:35:30 +02:00
Dominik Schmidt
01980ab6d1 sipjreen: Add authError signal 2011-04-18 22:35:18 +02:00
Dominik Schmidt
35d51a2cd2 sipjreen: Fix some signal and slot connections 2011-04-18 22:35:09 +02:00
Jeff Mitchell
309024a467 Switch some calls from InfoCustomData to InfoCriteriaHash, much simplifying 2011-04-18 10:40:45 -04:00
Jeff Mitchell
8bafe8bb9a Rename InfoCacheCriteria into something more generic since many plugins will probably use it for input data 2011-04-18 10:12:37 -04:00
Dominik Schmidt
5b01ae5268 On default use system jreen package, allow the user to enforce in-tree compilation with -DINTERNAL_JREEN=ON. 2011-04-17 21:25:24 +02:00
Dominik Schmidt
b52b87f818 Updated jreen submodule 2011-04-17 19:49:03 +02:00
Leo Franchi
22de39b96a add files 2011-04-17 11:51:59 -04:00
Leo Franchi
4eaff359f0 make collectionitems icons used not hardcoded, and add supercollection icon 2011-04-17 11:51:59 -04:00
Leo Franchi
9ee970489c add icon for playlists
add recently played item in source list
add create playlist icon, show playlists node for local source
remove H ome from toolbar as it's in the sidebar now
2011-04-17 11:51:58 -04:00
Leo Franchi
2f7167037a refactor the sourcetreeitem a bit so an item always exists properly as soon as it is constructed
that way the model's rowForItem() will work with any just-constructed SourceTreeItem

make the treeview open the playlists when you open the collection.
2011-04-17 11:50:49 -04:00
Leo Franchi
ed27dcdeec Move drop handling into source model
Add a Add Station item (needs flag change)
Cleanup
restore dynamic playlists to wo rking though hidden so we don't crash
fix lots of minor things in the sourcelist
2011-04-17 11:48:58 -04:00
Leo Franchi
4f5948db71 standardize loading signal, i think this was a typo.. 2011-04-17 11:46:19 -04:00
Leo Franchi
3378b1ef82 add supercollection back
turn off proxy and cleanup trying to find signal issue
fix parent() that was causing all sorts of weird inserted bugs
fix removing to not work on a copy!
2011-04-17 11:43:29 -04:00
Leo Franchi
e13bd93a58 Refactor the sourcetree to make it more extensible 2011-04-17 11:42:53 -04:00
Dominik Schmidt
cadc72da2e sipjreen: Clean up debug output and add legacy mode 2011-04-16 17:27:39 +02:00
Dominik Schmidt
5610abfcde Merge remote branch 'origin/master' into jreen-tpqt4-comp
Conflicts:
	CMakeLists.txt
	src/sip/jreen/jabber_p.cpp
	src/tomahawkapp.cpp
2011-04-16 15:32:46 +02:00
Dominik Schmidt
3254e602e3 Merge branch 'master' into jreen-tpqt4-comp 2011-04-16 15:07:17 +02:00
Christian Muehlhaeuser
7f570c325d * Updates README and ChangeLog. 2011-04-16 13:36:09 +02:00
Jeff Mitchell
f7c440ed4f Don't let cache requests go through until the cache is fully loaded 2011-04-16 03:40:15 -04:00
Jeff Mitchell
5334dbf037 Whoops. C'mon, do what I mean, not what I tell you to do. 2011-04-16 03:31:40 -04:00
Jeff Mitchell
9202113a43 Attempt to speed up infosystemcache loading on startup 2011-04-16 03:03:59 -04:00
Christian Muehlhaeuser
cdd3684dba * Fixed style. 2011-04-16 01:31:20 +02:00
Leo Franchi
ed2c1513a8 wasn't meant to commit that 2011-04-15 19:14:48 -04:00
Leo Franchi
fe08bf2175 and set properly 2011-04-15 19:13:54 -04:00
Leo Franchi
ab72ee2302 if we are created remotely, use their creation date 2011-04-15 19:12:40 -04:00
Christian Muehlhaeuser
dca94f864d * Fixed style / typo. 2011-04-16 00:18:20 +02:00
Leo Franchi
1ecb799694 add a createdOn property to playlists, and sort sourcetree 2011-04-15 17:27:27 -04:00
Leo Franchi
e503f74db1 update changelog 2011-04-15 14:01:59 -04:00
Leo Franchi
3671f35928 don't crash if we try to feed QxT a result that we don't have a proper length for 2011-04-15 14:00:11 -04:00
Leo Franchi
dde278a1cc changielog 2011-04-15 08:45:20 -04:00
Frank Osterfeld
db4fc8bd03 Fix compiler warnings. 2011-04-15 13:46:51 +02:00
Christian Muehlhaeuser
71a3f223c2 * Merged master into branch phonon. 2011-04-15 11:06:26 +02:00
Christian Muehlhaeuser
aad9dd4d75 * Fixed rejecting default covers for artist images, too. 2011-04-15 10:25:32 +02:00
Christian Muehlhaeuser
5e38fc5725 * Updated ChangeLog. 2011-04-15 09:15:45 +02:00
Christian Muehlhaeuser
abd5c3c567 * Fixed bad url detection in last.fm plugin. 2011-04-15 09:09:20 +02:00
Christian Muehlhaeuser
66e3d07aee * Use canonicalPath() wherever dealing with file- & dir-paths. 2011-04-15 07:50:38 +02:00
Frank Osterfeld
9af6ff7911 Do not crash when the collection folders contains cycles (symlinks).
Example: /my/collection/subfolder/link -> /my/collection
Use canonicalFilePath to detect cycles and also check m_newdirtimes for an existing timestamp before recursing into subfolders.
2011-04-15 13:52:49 +08:00
Christian Muehlhaeuser
04d30913f9 * Show artist images in ArtistView (lazy-loading).
* Added artist image api to LastFmPlugin.
2011-04-15 07:35:42 +02:00
Frank Osterfeld
df8a333aee Convert QSet<QStringList*> to QVector<QStringList>.
This one possibly leaked, there is no need to use pointers here.
2011-04-15 09:11:28 +08:00
Leo Franchi
f16277ac5f more assert fixes 2011-04-14 20:40:00 -04:00
Leo Franchi
ab964957d2 elide 2011-04-14 20:26:08 -04:00
Leo Franchi
ef1ded8636 remove useless file 2011-04-14 20:11:29 -04:00
Leo Franchi
fe43c1dd01 Add config migration 2011-04-14 20:09:59 -04:00
Leo Franchi
714c306032 Refactor the resolver config UI for More Prettiness
Allow resolvers to configure themselves and whatnot
2011-04-14 20:09:59 -04:00
Jeff Mitchell
4b13467e4c Don't add directories to the watcher if watch for changes is disabled 2011-04-14 16:50:38 -04:00
Leo Franchi
3ce41c50bc Don't assert if a scrobble failed, that's no fun. 2011-04-14 10:42:16 -04:00
Christian Muehlhaeuser
8231127a3b * Only show tracks without an album tag below the 'Unknown' album node in TreeModel. 2011-04-14 07:47:57 +02:00
Christian Muehlhaeuser
3e05151008 * Support showing tracks without an album tag in the TreeView. 2011-04-14 07:26:27 +02:00
Christian Muehlhaeuser
f5219525b4 * Added alphaBlend method to TomahawkUtils. DRY. 2011-04-14 05:00:27 +02:00
Christian Muehlhaeuser
e3c90784e1 * Properly shutdown InfoSystem again.
* Default sizes & restoring of TreeHeader columns.
* Fix square cover painting in TreeItemDelegate.
2011-04-14 04:40:04 +02:00
Christian Muehlhaeuser
9f4c3bb461 * Moved InfoSystem into libTomahawk.
* Made InfoSystem a singleton.
* Don't access InfoSystem via TomahawkApp any longer.
* Progress on ArtistView & TreeModel.
2011-04-14 00:39:39 +02:00
Christian Muehlhaeuser
43a08b7957 * Work in progress: The ArtistView & TreeModel. 2011-04-14 00:36:37 +02:00
Christian Muehlhaeuser
d4745e1e40 * Further progress making a clean(er) tree model. 2011-04-14 00:33:17 +02:00
Christian Muehlhaeuser
f2308beb18 * Split up PlItem into Track- and TreeModelItem. 2011-04-14 00:33:16 +02:00
Leo Franchi
1c409e40f2 more crash fixes..... 2011-04-13 10:34:40 -04:00
Leo Franchi
34fe17a3e6 assert less :( 2011-04-13 08:58:36 -04:00
Frank Osterfeld
9b5be063bd use setTrackModel, as CollectionView::setModel() suggests.
Fixes assertion when selecting a collection.
2011-04-13 14:08:55 +02:00
Frank Osterfeld
9d28c11089 build on OS X
These flags break the build and are also disabled for all the other plugins.
2011-04-13 14:08:11 +02:00
Tieg Zaharia
e76ca1fdef OSX: adds 'Window' menu with 'Minimize'/'Zoom' actions 2011-04-12 20:25:47 -04:00
Jeff Mitchell
aca94b1b55 Fix some bad function usage asserts 2011-04-12 18:19:59 -04:00
Frank Osterfeld
b214dd01f8 randomize XMPP resource name so that multiple Tomahawk/JReen instances do not collide. 2011-04-13 05:20:14 +08:00
Frank Osterfeld
800c06e678 initialize m_dragging variable (fixes valgrind warning). 2011-04-13 05:20:14 +08:00
Frank Osterfeld
d3ca52cba3 link on OS X 2011-04-13 05:20:14 +08:00
Jeff Mitchell
5455ee0f21 Unused warning cleanups 2011-04-12 16:52:25 -04:00
Jeff Mitchell
e2a3c48e6e Rejig the parameters and add QASSERTs. Chris, I decided to take your advice about the asserts -- it will help in the future to make sure people don't mistakenly use the wrong function in new code either. 2011-04-12 15:21:05 -04:00
Jeff Mitchell
4a6bc942fa First round of warning cleanups. Leo, please look at the changes in the playlist stuff, make sure I didn't screw anything up 2011-04-12 12:21:03 -04:00
Jeff Mitchell
0c3ec4a6cf Fix Jreen compilation when KDE4 is found 2011-04-12 11:24:54 -04:00
Jeff Mitchell
3b873dfeda Limit policy setting to 2.8.4 or higher 2011-04-12 11:00:07 -04:00
Jeff Mitchell
0d6c335e45 Suppress warning with newer cmake 2011-04-12 10:53:32 -04:00
Leo Franchi
f5f16b6b26 update the Info.plist version as a part of cmake so we don't forget next time :) 2011-04-11 17:10:31 -04:00
Leo Franchi
79542e60e6 Merge branch 'stable'
Conflicts:
	CMakeLists.txt
2011-04-11 15:40:07 -04:00
Leo Franchi
24d9cce3a8 Install a .protocol file on KDE so tomahawk:// links work there too 2011-04-11 15:36:29 -04:00
Leo Franchi
b3eaa1a761 Merge branch 'stable'
Conflicts:
	ChangeLog
	src/tomahawkwindow.cpp
2011-04-11 11:03:31 -04:00
Leo Franchi
1cb3516dc6 As per domme's suggestion, use ::fromUserInput to make loading xspfs work everywhere 2011-04-11 11:01:26 -04:00
Leo Franchi
c24a95e49f support loading local .xspfs from files
(cherry picked from commit 4095f4b5aa)
2011-04-11 10:22:00 -04:00
Leo Franchi
4095f4b5aa support loading local .xspfs from files 2011-04-11 10:11:40 -04:00
Leo Franchi
5235cc9093 less debug 2011-04-10 21:04:18 -04:00
Leo Franchi
41c553fac7 undo oops 2011-04-10 21:03:47 -04:00
Leo Franchi
a9a9ffa40f Changes to make Spotify resolver work 2011-04-10 21:03:47 -04:00
Alejandro Wainzinger
252a48196c Move signal connections of scrobbler into scrobbler, easier to read. 2011-04-10 16:46:35 -07:00
Alejandro Wainzinger
5ae0a7138c Make compile on OS X. (liblastfm2) 2011-04-10 02:24:32 -07:00
Christian Muehlhaeuser
c0994e3c24 * Fixed crash bug caused by multiple sources going on- and offline at a time. 2011-04-09 11:03:52 +02:00
Jeff Mitchell
7639d8da9e Happy Birthday, muesli 2011-04-07 17:58:45 -04:00
Jeff Mitchell
a13388f2c4 Rejig Jreen/Gloox cmake stuff to report correct status 2011-04-07 11:19:20 -04:00
Jeff Mitchell
bf744ac8bb Ah-whoops, knew I forgot something in my previous commit 2011-04-07 10:41:08 -04:00
Jeff Mitchell
db6a93e55c Now when inserting into the cache a max age time is specified. It can be refreshed by issuing a new max age time when doing a getCachedInfo call (optional). 2011-04-07 10:40:11 -04:00
Leo Franchi
196397f210 fix build 2011-04-07 09:16:21 -04:00
Leo Franchi
80c8e61cf8 Merge branch 'stable'
Conflicts:
	src/main.cpp
	src/tomahawkapp.cpp
2011-04-07 08:57:43 -04:00
Leo Franchi
c6442e4dfd changelog++ 2011-04-06 23:15:16 -04:00
Christian Muehlhaeuser
3b3ff063dc * Updated Changelog. 2011-04-07 05:07:14 +02:00
Christian Muehlhaeuser
87c554c6f0 * Fixed TomahawkApp CTOR for secondary instances. 2011-04-07 04:47:41 +02:00
Jeff Mitchell
83909e53f9 Don't unconditionally scan for changes on startup 2011-04-06 19:58:24 -04:00
Jeff Mitchell
8690a76df7 Fix hang-on-exit in ScanManager. Turns out all it needed was to be explicitly deleted; I guess the parenting wasn't working right, or something? 2011-04-06 19:51:58 -04:00
Jeff Mitchell
0c52b37bb2 InfoSystemCache saving and loading from disk works. We might have to tweak exactly how it's stored on disk at some point, depending on efficiency, but this works. 2011-04-06 19:42:50 -04:00
Christian Muehlhaeuser
621770eada Merge remote-tracking branch 'origin/stable' 2011-04-06 11:49:13 +02:00
Christian Muehlhaeuser
17c1cdc2c1 * Renamed PlItem to TrackModelItem. 2011-04-06 11:48:49 +02:00
Christian Muehlhaeuser
d5f21dc9f2 * Remove debug output. 2011-04-06 08:19:10 +02:00
Christian Muehlhaeuser
01befb0955 * Added better quality icon images and merged stable. 2011-04-06 08:06:54 +02:00
Christian Muehlhaeuser
495621b715 Merge remote-tracking branch 'origin/stable' 2011-04-06 07:33:45 +02:00
Christian Muehlhaeuser
51a3eb39be * Fixed page-history related crash when deleting / creating playlists. 2011-04-06 07:26:57 +02:00
Dominik Schmidt
60142eb92d Merge branch 'master' into jreen-tpqt4-comp
Conflicts:
	CMakeLists.txt
	src/tomahawkapp.cpp
2011-04-06 06:58:33 +02:00
Dominik Schmidt
c1385761b6 Find jreen headers in source, HACK 2011-04-06 06:43:24 +02:00
Christian Muehlhaeuser
ab2443792a * Don't manually delete the root item. This speeds up shut down, since the proxy will be disconnected before the root item gets deleted (automatically). 2011-04-06 06:18:00 +02:00
Jeff Mitchell
dc43452bfc Fix build 2011-04-05 21:15:04 -04:00
Jeff Mitchell
17733fea1d Fix build 2011-04-05 21:14:32 -04:00
Leo Franchi
69011e3f90 cleanup 2011-04-05 21:06:24 -04:00
Leo Franchi
3d93a82d08 go back to previous page in history when deleting a playlist 2011-04-05 21:04:34 -04:00
Leo Franchi
a1848f46bd Set a query loaded from a source as already resolved 2011-04-05 21:04:34 -04:00
Jeff Mitchell
1ef9b7c241 Update twitter connect caching 2011-04-05 20:59:11 -04:00
Jeff Mitchell
47fb4f3b50 Update twitter connect caching 2011-04-05 20:58:47 -04:00
Jeff Mitchell
73d88dcf7b Keep track of offered dbid to a peer and check offer key to make sure it matches 2011-04-05 20:51:48 -04:00
Jeff Mitchell
394f3ee383 Keep track of offered dbid to a peer and check offer key to make sure it matches 2011-04-05 20:50:53 -04:00
Jeff Mitchell
a52ecfb5b8 Do some explicit string emptiness checking in Twitter 2011-04-05 20:21:14 -04:00
Jeff Mitchell
db8088b30f Actually start writing cached info to disk 2011-04-05 20:20:49 -04:00
Jeff Mitchell
baa039bbf6 Do some explicit string emptiness checking in Twitter 2011-04-05 20:18:37 -04:00
Jeff Mitchell
da7a45950a Merge remote branch 'origin/stable' 2011-04-05 13:50:31 -04:00
Jeff Mitchell
b87732e9c6 Add kdevelop stuff to gitignore 2011-04-05 13:49:17 -04:00
Leo Franchi
f8619d4aa5 hm, add a newline where it belongs 2011-04-05 13:21:33 -04:00
Leo Franchi
f8452b4fdc only connect if there is that signal, no more warnings 2011-04-05 13:14:01 -04:00
Dominik Schmidt
9d95644b9f Add debug when sending messages 2011-04-05 17:15:02 +02:00
Dominik Schmidt
e944293d02 Build jreen on default 2011-04-05 17:14:11 +02:00
Leo Franchi
8881fab205 clean up after ourselves 2011-04-04 18:50:10 -04:00
Leo Franchi
806b3a3281 change loading animation, show animation while resolving a playlist 2011-04-04 18:43:51 -04:00
Dominik Schmidt
4cb2532fab Heyyeeyeeey - hey stupid 2011-04-04 23:22:49 +02:00
Dominik Schmidt
3a0874bcdd More debug and fails-- 2011-04-04 23:20:35 +02:00
Dominik Schmidt
0cfb98b0af Squash me 2011-04-04 21:14:05 +02:00
Dominik Schmidt
16eb50e02d Forgot to add tomahawksipmessage stanza extension files 2011-04-04 20:46:21 +02:00
Dominik Schmidt
e7ddedef5a Test it, baby! 2011-04-04 20:31:10 +02:00
Leo Franchi
b6d12701e7 Merge branch 'stable' 2011-04-04 14:22:58 -04:00
Leo Franchi
9cc74abccc Keep the dynamic playlist description up to date when it is changed 2011-04-04 14:21:47 -04:00
Dominik Schmidt
63d7fc0b38 Do some cleanup and add comments in jreen sip plugin 2011-04-04 16:44:39 +02:00
Christian Muehlhaeuser
87e813e215 Merge remote-tracking branch 'origin/stable' 2011-04-04 13:55:24 +02:00
Christian Muehlhaeuser
fdc2f5d3e9 * Fixed thread afinity issue related to WebKit. 2011-04-04 13:25:10 +02:00
Jeff Mitchell
f2c74f4ddb Merge branch 'stable' 2011-04-04 05:18:36 -04:00
Jeff Mitchell
b08f4f1daf Changelogify++ 2011-04-04 05:18:22 -04:00
Christian Muehlhaeuser
92bc03ee3e * Merged stable. 2011-04-04 10:55:58 +02:00
Christian Muehlhaeuser
60b9d48d73 * Updated Changelog. 2011-04-04 10:48:48 +02:00
Christian Muehlhaeuser
5e2d196ba0 * Fixed mtimes issue with windows paths. 2011-04-04 10:36:07 +02:00
Christian Muehlhaeuser
16fd65667f * Merged stable changes to master. 2011-04-04 09:02:40 +02:00
Jeff Mitchell
74fd092355 Ok. Now the watched scanning is really fixed, in the sense that I can no longer break it. Until someone finds another way. 2011-04-03 13:50:52 -04:00
Jeff Mitchell
f66a062796 Hopefully fix removing files actually being removed from db during watch scan 2011-04-03 13:31:02 -04:00
Christian Muehlhaeuser
8729c91c95 * Fixed crash on startup with empty config. 2011-04-03 13:07:20 +02:00
Jeff Mitchell
680b204d11 Make caching work. Doesn't save/load to disk yet but it's ready to be used as a memcache at least. 2011-04-03 05:44:32 -04:00
Jeff Mitchell
2b85beb704 Requests for cover art from lastfm now go through the infosystem caching mechanism. It's not actually storing a cache yet but the information flow works (at least, for cache misses :-) ) 2011-04-02 22:51:10 -04:00
Leo Franchi
1da0a34d89 tomahawk:// handler stuff on windows 2011-04-02 21:49:21 -04:00
Jeff Mitchell
daa822cd14 Some minor work on infosystem 2011-04-02 21:44:48 -04:00
Jeff Mitchell
c3df88d0f8 More debug, and fixed watch behavior :-) 2011-04-02 20:51:14 -04:00
Leo Franchi
743575b91a use our export macro that works on windows :) 2011-04-02 19:34:39 -04:00
Jeff Mitchell
a848561e60 Add some debugging for Chris and fix duplicate paths being queued 2011-04-02 19:29:53 -04:00
Leo Franchi
d2e867b9ee switch to using KDSingleApplicationGuard instead of QtUniqueApp as it's broken on windows.
KDSingleApplicationGuard is from KDTools and this is the GPL-licensed version.
2011-04-02 13:47:48 -04:00
Jeff Mitchell
ea744456c9 Don't start scanning on a fresh config/db 2011-04-02 11:07:04 -04:00
Christian Muehlhaeuser
5255fd2a78 * Properly thread QtScriptResolver. 2011-04-02 10:24:58 +02:00
Christian Muehlhaeuser
0a593aeb05 * Only keep track of the 50 most recent tracks in WelcomeWidget. Don't auto-resolve playback-logs any longer. 2011-04-02 10:24:58 +02:00
Christian Muehlhaeuser
6af30bfd2f * Cleaned up style. 2011-04-02 10:24:58 +02:00
Jeff Mitchell
01f2fe6adc Fix missing condition, wrong method, and put more info in the ChangeLog 2011-04-02 01:17:48 -04:00
Jeff Mitchell
2214b750be Changelogify 2011-04-02 00:58:43 -04:00
Jeff Mitchell
569c23a30e Whitespacing 2011-04-02 00:56:36 -04:00
Jeff Mitchell
3bc496eaaf Implement watched folders and scan-on-startup. Folders are scanned after 10 seconds without a change. Also handles deferring scans of directories if attempted during an ongoing scan, both for recursive and non-recursive scans.
Fixes TWK-30 / THK-30.
2011-04-02 00:52:20 -04:00
Christian Muehlhaeuser
d818a7f697 * Added ready() signal to Database class. 2011-04-02 06:10:05 +02:00
Jeff Mitchell
06f0dd8768 More work on dir watchers -- it's mostly there except for the actual DB modifications 2011-04-01 17:05:40 -04:00
Jeff Mitchell
de92b0b726 Initial work on a dir watcher for the scanner 2011-03-31 22:08:32 -04:00
Jeff Mitchell
47451e4fba Add more debugging and remove the don't-try-to-reconnect behavior 2011-03-31 15:12:08 -04:00
Jeff Mitchell
0c4e304ee5 Make debug output a little more helpful 2011-03-31 12:19:12 -04:00
Christian Muehlhaeuser
14f5508140 * Merged stable branch to master. 2011-03-31 04:28:39 +02:00
Julian Bäume
59391e3841 load translation based on system locale
this loads the resource that contains translations for the locale the
user has set.
2011-03-31 10:25:14 +08:00
Julian Bäume
a55124ed75 ship the translations within the binary
build qm-files for translation

create resource file for translations, contains german translations, for now.

this is some kind of hack to make it work. rcc doesn’t allow
out-of-source builds, so the commands need to be specified by hand, to
copy things around between source and binary directories.
2011-03-31 10:25:14 +08:00
Christian Muehlhaeuser
543c3125ac * Cherry-picked latest tomahawk.nsi changes from master. 2011-03-31 04:20:57 +02:00
Christian Muehlhaeuser
f5ba469b0a Merge branch 'master' of https://github.com/stever/tomahawk 2011-03-31 04:09:14 +02:00
Steven Robertson
56deed391e Added check for running tomahawk.exe process and option to kill the process (or ignore) and proceed. 2011-03-31 00:14:20 +01:00
Frank Osterfeld
a05795bf6b fix case 2011-03-30 19:11:32 +02:00
Frank Osterfeld
b6d6969281 pass parent to messageboxes 2011-03-30 19:11:32 +02:00
Frank Osterfeld
492c2acf18 i18n: tr() and avoid string puzzle 2011-03-30 19:10:41 +02:00
Dominik Schmidt
ff0d5613bb Set features at the right time 2011-03-30 15:52:49 +02:00
Leo Franchi
8fbcf0cec9 Merge branch 'master' of https://github.com/stever/tomahawk into stever-master 2011-03-30 09:44:44 -04:00
Dominik Schmidt
6386611871 Let the testing begin 2011-03-30 15:15:15 +02:00
Dominik Schmidt
f52205d2cc Update jreen plugin to newer jreen and sip plugin interface 2011-03-30 05:05:22 +02:00
Jeff Mitchell
35c2fccd6c Various proxy-related fixes. Still doesn't work properly...parts of it do but gloox jabber doesn't. (Haven't tested twitter yet.) 2011-03-29 19:35:18 -04:00
Julian Bäume
c61813915d initial german translation
it's not finished, but a first start
2011-03-30 07:09:01 +08:00
Jeff Mitchell
77e37bb325 Merge branch 'stable' 2011-03-29 17:30:45 -04:00
Jeff Mitchell
52fcc7b53f Update some debug in twitter 2011-03-29 17:29:19 -04:00
Jeff Mitchell
3657579c32 Re-match the regex 2011-03-29 17:29:12 -04:00
Jeff Mitchell
b8721ad75a Add some twitter debug 2011-03-29 17:29:02 -04:00
Jeff Mitchell
f767818966 Update some debug in twitter 2011-03-29 17:27:50 -04:00
Jeff Mitchell
a09167050f Re-match the regex 2011-03-29 17:06:50 -04:00
Jeff Mitchell
3d25e6aefe Add some twitter debug 2011-03-29 16:33:44 -04:00
Jeff Mitchell
de4df0060e Merge branch 'stable' 2011-03-29 16:22:16 -04:00
Jeff Mitchell
b59399aecb Changelogify 2011-03-29 16:22:08 -04:00
Jeff Mitchell
0a0e27c717 Hopefully fix TWK-13 crash bug. 2011-03-29 16:20:04 -04:00
Jeff Mitchell
7c8b65a1d3 Hopefully fix TWK-13 crash bug. 2011-03-29 09:58:14 -04:00
Jeff Mitchell
b70491cc63 Disable acl box for now 2011-03-29 08:11:23 -04:00
Jeff Mitchell
e968298d7d Coarse-grained ACL support is now implemented. This controls whether someone is allowed to connect to you in a global sense, and remembers the chosen value. For now there is no GUI way to revert this, but it is easily done via Tomahawk.conf 2011-03-29 02:42:46 -04:00
Jeffrey Finkelstein
6a605789e1 fixed typo - changed "indemify" to "indemnify" 2011-03-29 11:32:12 +08:00
Jeff Mitchell
942cc89a22 More work on the ACL system. 2011-03-28 19:25:25 -04:00
Jeff Mitchell
8d7f4a193b Rename some classes/variables 2011-03-28 17:59:33 -04:00
Jeff Mitchell
40b202df74 Merge branch 'stable' 2011-03-28 17:31:01 -04:00
Jeff Mitchell
81141e4d50 Add a placeholder text for the jabberid field 2011-03-28 17:30:43 -04:00
Jeff Mitchell
e4fefe0600 Merge branch 'stable' 2011-03-28 17:26:06 -04:00
Jeff Mitchell
896d6ad9f4 Clean up port logic 2011-03-28 17:25:43 -04:00
Jeff Mitchell
ae5fa0c33a Initial work on ACL system. Also makes much of Tomahawk handle a QStringList for collection directories. 2011-03-28 16:41:22 -04:00
Steven Robertson
4f0322ec2f Merged upstream and added nsis uninstaller path fix. 2011-03-28 19:01:48 +01:00
Jeff Mitchell
1dd0f26fff Remove MusixMatchHash 2011-03-28 13:31:00 -04:00
Leo Franchi
1e3fe13a5b update sparkle rss from server and fix changelog to 0.0.2 2011-03-28 12:45:22 -04:00
Jeff Mitchell
dd61f4a3cc For sanity don't use "using namespace" in jabber_p.cpp and properly use namespaces. Google style guide doesn't let you do the former for very good reason. 2011-03-28 12:00:11 -04:00
Jeff Mitchell
9b71d1df0a Merge branch 'stable' 2011-03-28 11:12:53 -04:00
Jeff Mitchell
f198cf51cc Properly use the configured port number 2011-03-28 11:12:28 -04:00
Christian Muehlhaeuser
b6442ae76c Merge remote-tracking branch 'origin/stable' 2011-03-28 09:25:49 +02:00
Christian Muehlhaeuser
e24aea480e * Cleaned up Jabber auth. 2011-03-28 07:13:30 +02:00
Christian Muehlhaeuser
4d23dea891 * Updated OS X sparkle templates. 2011-03-28 06:52:57 +02:00
Christian Muehlhaeuser
7b714f1735 Merge branch 'stable' of github.com:tomahawk-player/tomahawk 2011-03-28 05:58:26 +02:00
Christian Muehlhaeuser
6c49b2683e * Changed win32-sparkle behaviour: It'll now look for beta versions if you run Tomahawk with --debug. 2011-03-28 05:28:05 +02:00
Christian Muehlhaeuser
b9d218b823 Merge remote-tracking branch 'origin/stable' 2011-03-28 05:01:50 +02:00
Christian Muehlhaeuser
6a2c2b147d * Merged back my fixes. 2011-03-28 05:01:28 +02:00
Jeff Mitchell
5a08079740 Recovering from faulty merge...
Revert "* Fixed SIP plugins always reconnecting when the SettingsDialog was closed."

This reverts commit 057825bf97.
2011-03-27 22:45:31 -04:00
Jeff Mitchell
3f1274b90a Recovering from faulty merge...
Revert "* Forgot to add one file."

This reverts commit 0bf3a1b8e7.
2011-03-27 22:45:14 -04:00
Jeff Mitchell
1cd969af7f Initial baby steps towards the info system cache 2011-03-27 22:38:00 -04:00
Jeff Mitchell
e590aa7739 Whitespacing 2011-03-27 22:37:59 -04:00
Leo Franchi
ecd8b302c4 build liblastfm2 statically on non-win32, and don't build fingerprinter.
got multiple reports of tomahawk not finding liblastfm2 due to rpath or other issues, and we are building our o ther 3rdparty deps statically like this.
2011-03-27 22:06:55 -04:00
Christian Muehlhaeuser
21f49bbfcb * Updated changelog. 2011-03-28 04:01:43 +02:00
Christian Muehlhaeuser
db4f514181 Merge remote-tracking branch 'origin/stable' 2011-03-28 03:35:58 +02:00
Christian Muehlhaeuser
0bf3a1b8e7 * Forgot to add one file. 2011-03-28 03:31:53 +02:00
Christian Muehlhaeuser
057825bf97 * Fixed SIP plugins always reconnecting when the SettingsDialog was closed. 2011-03-28 03:31:10 +02:00
Jeff Mitchell
21eea9f0de Merge branch 'stable' 2011-03-27 19:11:04 -04:00
Jeff Mitchell
608b90867a Don't rescan the local collection if the settings dialog is closed with success but the path hasn't changed 2011-03-27 19:10:30 -04:00
Jeff Mitchell
8d471ae1f1 Merge branch 'stable'
Conflicts:
	ChangeLog
2011-03-27 19:01:17 -04:00
Jeff Mitchell
21e6fb8c09 Update ChangeLog 2011-03-27 19:00:52 -04:00
Jeff Mitchell
96b4fbccc6 Merge branch 'stable'
Conflicts:
	ChangeLog
2011-03-27 18:55:49 -04:00
Jeff Mitchell
63550ce712 Don't attempt to reconnect over and over with twitter if the peer hasn't changed status 2011-03-27 18:55:02 -04:00
Dominik Schmidt
b378f934ec Add changelog message in stable too, i'm sorry :p 2011-03-28 00:19:15 +02:00
Leo Franchi
87fa7e0f50 Add to changelog 2011-03-27 17:58:00 -04:00
Dominik Schmidt
250202a095 Added fixed-jabber-auth to changelog 2011-03-27 23:57:18 +02:00
Jeff Mitchell
cedcfdb714 Merge branch 'stable' 2011-03-27 16:10:40 -04:00
Jeff Mitchell
c4302e5f49 Show legal indemnity warning, and link to the legal page on the web site. Only displays the first time you go online (unless you don't accept it, of course). 2011-03-27 16:09:56 -04:00
Jeff Mitchell
2d5f8307d4 Merge branch 'stable' 2011-03-27 13:57:22 -04:00
Jeff Mitchell
474b9bc604 Merge branch 'stable' of github.com:tomahawk-player/tomahawk into stable 2011-03-27 13:57:13 -04:00
Jeff Mitchell
719255e4c9 Revamp twitter config widget again -- use a drop down box for message type. Also display name of saved user. 2011-03-27 13:56:49 -04:00
Dominik Schmidt
6bde5655cd Hopefully fixed jabber auth completely now 2011-03-27 19:11:29 +02:00
Jeff Mitchell
a54d38ed68 Merge branch 'stable' 2011-03-27 12:58:31 -04:00
Jeff Mitchell
26d4da4612 Don't just look at a user's latest tweet -- look at the latest tweet that matches our regex. Alternately for DMs look at latest matching regex or matching TOMAHAWKPEER format. Also some consolidation. 2011-03-27 10:48:00 -04:00
Jeff Mitchell
db53aabcf2 You can now send global, mentions, or private (direct message) Got Tomahawk? tweets 2011-03-27 10:47:11 -04:00
Dominik Schmidt
da409f9fa7 Set CLUCENE_MIN_VERSION default value to the version we need, needed until macro_optional_find_package is fixed to support versions 2011-03-27 16:25:29 +02:00
Dominik Schmidt
5167891846 Set CLUCENE_MIN_VERSION default value to the version we need, needed until macro_optional_find_package is fixed to support versions 2011-03-27 16:16:02 +02:00
Christian Muehlhaeuser
d687219055 * Merged stable to master. 2011-03-27 06:57:33 +02:00
Jeff Mitchell
dffcd89c7c Don't just look at a user's latest tweet -- look at the latest tweet that matches our regex. Alternately for DMs look at latest matching regex or matching TOMAHAWKPEER format. Also some consolidation. 2011-03-27 00:51:37 -04:00
Dominik Schmidt
cb405cde15 Make the sip plugin aware of subscription requests again 2011-03-27 05:44:16 +02:00
Dominik Schmidt
99e1b6f327 Make the subscription request box non-blocking. 2011-03-27 04:29:09 +02:00
Dominik Schmidt
5056aadcd2 Don't open more than one SubscriptionRequest window and auto-ack only contacts that the user is already subscribed to 2011-03-27 01:24:42 +01:00
Leo Franchi
1697b27aca fix compile on osx
don't use API that doesn't exist in snow leopard---same code is in liblastfmv1. if jono wants to rewrite the path detection code in snow leopard-compatible APIs, we can use that
2011-03-26 18:29:35 -04:00
Jeff Mitchell
9558270d86 Display a helpful message when someone gives non-JSON data to the xmpp bot 2011-03-26 16:51:33 -04:00
Jeff Mitchell
f16812143f Display a helpful message when someone gives non-JSON data to the xmpp bot 2011-03-26 16:49:26 -04:00
Jeff Mitchell
8faa782650 You can now send global, mentions, or private (direct message) Got Tomahawk? tweets 2011-03-26 16:23:16 -04:00
Dominik Schmidt
9496885d63 Don't ask the user again to ack the subscription request in sip_jabber if the requesting contact is already on the roster 2011-03-26 19:58:31 +01:00
Dominik Schmidt
15cbeb30da Merge branch 'stable' of git://github.com/tomahawk-player/tomahawk into stable 2011-03-26 18:26:36 +01:00
Dominik Schmidt
4677d761ac Make the sip plugin aware of subscription requests again 2011-03-26 18:26:31 +01:00
Jeff Mitchell
3182df93dd Don't install liblastfm2 headers 2011-03-26 12:25:35 -04:00
Jeff Mitchell
575ee1548a Fetch cover art using LastFm via the InfoSystem plugin 2011-03-26 11:47:54 -04:00
Jeff Mitchell
5c09fd2360 Make a Last FM InfoSystem plugin and use it to handle now playing and scrobbling 2011-03-26 09:36:31 -04:00
Christian Muehlhaeuser
581814f482 Merge branch 'stable' of github.com:tomahawk-player/tomahawk into stable 2011-03-26 07:21:02 +01:00
Christian Muehlhaeuser
6da813d4c3 * Updated stable README. 2011-03-26 07:19:15 +01:00
Christian Muehlhaeuser
0530faf15c * Updated README. 2011-03-26 07:06:35 +01:00
Christian Muehlhaeuser
74ea476ad6 Merge remote-tracking branch 'origin/stable' 2011-03-26 02:40:12 +01:00
Jeff Mitchell
422f9a9022 Possibly fix crash related to twitter authentication 2011-03-25 18:23:17 -04:00
Jeff Mitchell
6b7300c1b3 Possibly fix crash related to twitter authentication 2011-03-25 18:22:51 -04:00
Leo Franchi
631c39163d don't install a static lib 2011-03-25 17:45:32 -04:00
Jeff Mitchell
376d543fd1 Merge branch 'liblastfm2' 2011-03-25 17:22:43 -04:00
Leo Franchi
8f46db649f add some eliding so playlists with long name don't increase the window size
minor cleanup in ElidedLabel
2011-03-25 16:07:11 -04:00
Leo Franchi
c90a875de7 add some eliding so playlists with long name don't increase the window size
minor cleanup in ElidedLabel
2011-03-25 15:54:21 -04:00
Jeff Mitchell
247c65fbcc Emit finished when there's no actual data to return 2011-03-25 10:04:14 -04:00
Christian Muehlhaeuser
f6d4e0c63a * Re-added launch page to installer. 2011-03-25 13:55:28 +00:00
Leo Franchi
db7b2d2523 don't assume that exit() will clean up the stack 2011-04-06 21:34:59 -04:00
Leo Franchi
ed0574f6b7 fix epic fail of boolean condition 2011-04-06 17:20:31 -04:00
Jeff Mitchell
6b1bb4da61 Merge remote branch 'origin/master' into liblastfm2 2011-03-25 09:40:56 -04:00
Christian Muehlhaeuser
81f4ec2337 * Update revision. 2011-03-25 12:10:30 +00:00
Christian Muehlhaeuser
8568245355 * Preparing release version 0.0.3. 2011-03-25 12:10:29 +00:00
Christian Muehlhaeuser
e824fcc7b3 * Gather more debug to fix mtimes issue. 2011-04-04 10:01:14 +02:00
Christian Muehlhaeuser
efaf180b80 * Forgot the wildcard match. 2011-04-04 09:34:17 +02:00
Christian Muehlhaeuser
9e20674b84 * Properly escaped mtimes sql query and removed further debug. 2011-04-04 09:27:25 +02:00
Christian Muehlhaeuser
89c3f266a7 * Manually merged stever's tomahawk.nsi patch. 2011-03-25 10:23:43 +00:00
Christian Muehlhaeuser
3ba36fc38e * Cleaned up debug output, lots. 2011-04-04 07:59:32 +02:00
Christian Muehlhaeuser
f78df2c087 * Added assert to catch dupe source. 2011-04-04 07:59:22 +02:00
Christian Muehlhaeuser
b252418074 * Hopefully fixed dupe-file issue. 2011-04-04 07:57:37 +02:00
Christian Muehlhaeuser
5e9ea36228 * Fixed result sorting order, always prefers local results with equal score now. 2011-04-04 07:56:56 +02:00
Christian Muehlhaeuser
1ac61194cf * Mutex-locked logging - write/flush isn't exactly an atomic operation. 2011-04-04 06:56:33 +02:00
Christian Muehlhaeuser
cffa96a81f * Updated Changelog. 2011-04-03 14:40:05 +02:00
Steven Robertson
d4569b1d38 EnsureTomahawkShutdown not required in uninstaller. 2011-04-03 20:27:29 +08:00
Christian Muehlhaeuser
8791a6dbdc * Respect style's default fore / bg colors when painting a PlaylistItem. 2011-04-03 11:27:03 +02:00
Christian Muehlhaeuser
84f6886e8d * Made PlaylistItemDelegate's paint method a lot faster with manual alpha-blending. 2011-04-03 11:20:35 +02:00
Christian Muehlhaeuser
b625b9a265 * Unthread QtScriptResolver. WebKit is too lame for us. 2011-04-03 10:23:05 +02:00
Leo Franchi
40d4636352 tomahawk:// handler stuff on windows 2011-04-03 00:14:47 -04:00
Leo Franchi
37f29966a8 use our export macro that works on windows :) 2011-04-03 00:14:42 -04:00
Leo Franchi
a080323e2e switch to using KDSingleApplicationGuard instead of QtUniqueApp as it's broken on windows.
KDSingleApplicationGuard is from KDTools and this is the GPL-licensed version.

Conflicts:

	src/main.cpp
2011-04-03 00:14:24 -04:00
Christian Muehlhaeuser
727d8c83ef * Updated Changelog. 2011-04-02 11:39:49 +02:00
Christian Muehlhaeuser
5cde25cefe * Properly thread QtScriptResolver. 2011-04-02 11:05:32 +02:00
Christian Muehlhaeuser
70ddc32e42 * Only keep track of the 50 most recent tracks in WelcomeWidget. Don't auto-resolve playback-logs any longer. 2011-04-02 11:04:57 +02:00
Christian Muehlhaeuser
48f69c3180 * Disabled launching Tomahawk from within the Windows installer. It caused starting Tomahawk with admin privileges. 2011-04-01 11:52:15 +02:00
Jeff Mitchell
85be5653e5 Add more debugging and remove the don't-try-to-reconnect behavior 2011-03-31 15:45:19 -04:00
Jeff Mitchell
811c7b8754 Make debug output a little more helpful 2011-03-31 12:19:23 -04:00
Christian Muehlhaeuser
4f77de3bbc * Changed domme's email address. 2011-03-25 07:08:34 +01:00
Christian Muehlhaeuser
32ed0c748b * Updated sparkle templates. 2011-03-25 00:08:28 +00:00
Christian Muehlhaeuser
23d4a03aca * Prepare version 0.0.2. 2011-03-24 23:54:35 +00:00
Jeff Mitchell
b7a1cb8d99 Add liblastfm2 and make tomahawk build against it 2011-03-24 19:27:01 -04:00
Christian Muehlhaeuser
254aacdf76 Merge remote-tracking branch 'origin' into phonon 2011-03-17 05:42:13 +01:00
Christian Muehlhaeuser
d4fbbc92d3 * Don't create invalid URLs when streaming from HTTP. 2011-03-16 17:11:23 +01:00
Christian Muehlhaeuser
c0dbd7678e Merge remote-tracking branch 'origin' into phonon 2011-03-16 17:11:02 +01:00
Christian Muehlhaeuser
286dc813dd Merge remote-tracking branch 'origin' into phonon 2011-03-16 16:38:21 +01:00
Christian Muehlhaeuser
e2bad14bee Merge remote-tracking branch 'origin' into phonon 2011-03-16 16:25:09 +01:00
Christian Muehlhaeuser
ca25beddbc Merge remote-tracking branch 'origin' into phonon 2011-03-16 15:54:16 +01:00
Christian Muehlhaeuser
0c3ddf8e84 Merge remote-tracking branch 'origin' into phonon 2011-03-16 15:22:06 +01:00
Christian Muehlhaeuser
df4c7afad2 Merge remote-tracking branch 'origin' into phonon 2011-03-16 14:45:35 +01:00
Christian Muehlhaeuser
dc277a82f7 Merge remote-tracking branch 'origin' into phonon 2011-03-16 12:23:33 +01:00
Christian Muehlhaeuser
26c6e9f5b3 * Fix non-youtube http urls. 2011-03-16 11:49:49 +01:00
Christian Muehlhaeuser
eb95158ee3 Merge remote-tracking branch 'origin' into phonon 2011-03-16 07:20:00 +01:00
Christian Muehlhaeuser
f710d6d48f Merge remote-tracking branch 'origin' into phonon 2011-03-16 05:18:10 +01:00
Christian Muehlhaeuser
5e82beb51b * Fixed phonon branch. 2011-03-16 04:25:27 +01:00
Christian Muehlhaeuser
dd7a527277 Merge remote-tracking branch 'origin' into phonon 2011-03-16 02:28:07 +01:00
Christian Muehlhaeuser
eeef965aec * Fixed auto-deleting Phonon's MediaSource. 2011-03-16 01:59:40 +01:00
Christian Muehlhaeuser
393b860a3d Merge remote-tracking branch 'origin' into phonon 2011-03-16 01:52:20 +01:00
Christian Muehlhaeuser
7a4e196b79 * Fixed loading tracks via HTTP. 2011-03-15 17:19:56 +01:00
Christian Muehlhaeuser
671cbc627c Merge remote-tracking branch 'origin' into phonon 2011-03-15 17:18:56 +01:00
Christian Muehlhaeuser
bbebc8b0fb Merge remote-tracking branch 'origin' into phonon 2011-03-15 06:47:01 +01:00
Christian Muehlhaeuser
0b9326a9d4 Merge remote-tracking branch 'origin' into phonon 2011-03-14 03:10:49 +01:00
Christian Muehlhaeuser
a91d0b3ea7 Merge remote-tracking branch 'origin' into phonon 2011-03-14 00:21:17 +01:00
Christian Muehlhaeuser
d79db494ef Merge remote-tracking branch 'origin' into phonon 2011-03-05 02:03:40 +01:00
Christian Muehlhaeuser
d745bd5d56 * Merge master into phonon branch. Fixes compiling on Arch Linux. 2011-03-04 09:02:26 +01:00
Christian Muehlhaeuser
4c46055e88 * Fixed phonon branch. 2011-03-04 08:48:12 +01:00
Christian Muehlhaeuser
49e59e7ac9 Merge remote branch 'origin' into phonon 2011-02-28 11:50:34 +01:00
Christian Muehlhaeuser
3fb7d07a32 Merge remote branch 'origin' into phonon 2011-02-28 10:50:52 +01:00
Christian Muehlhaeuser
fbee3325be Merge remote branch 'origin' into phonon 2011-02-28 10:37:52 +01:00
Christian Muehlhaeuser
86cd01cc04 Merge remote branch 'origin' into phonon 2011-02-28 09:27:25 +01:00
Christian Muehlhaeuser
f0563d1e0f Merge remote branch 'origin' into phonon 2011-02-28 09:21:28 +01:00
Christian Muehlhaeuser
ef23f5bee1 Merge remote branch 'origin' into phonon 2011-02-28 08:17:08 +01:00
Christian Muehlhaeuser
d573b3bf9e Merge remote branch 'origin' into phonon 2011-02-28 02:14:05 +01:00
Christian Muehlhaeuser
fd70ca0a1b Merge remote branch 'origin' into phonon 2011-02-28 01:45:00 +01:00
Christian Muehlhaeuser
6e0c84a944 Merge remote branch 'origin' into phonon 2011-02-27 21:06:49 +01:00
Christian Muehlhaeuser
02a6adb22b Merge remote branch 'origin' into phonon 2011-02-27 21:00:49 +01:00
Christian Muehlhaeuser
2e0f72650a Merge remote branch 'origin' into phonon 2011-02-27 20:33:25 +01:00
Christian Muehlhaeuser
23e6670edf Merge remote branch 'origin' into phonon 2011-02-27 20:27:39 +01:00
Christian Muehlhaeuser
c6d3599e47 Merge remote branch 'origin' into phonon 2011-02-27 20:20:35 +01:00
Christian Muehlhaeuser
1073b7e194 * Merge master into phonon branch. 2011-02-27 20:20:24 +01:00
Christian Muehlhaeuser
ad3e9a0304 * Merged origin. 2011-02-27 04:09:58 +01:00
Christian Muehlhaeuser
be268933e5 Merge remote branch 'origin' into phonon 2011-02-24 04:21:32 +01:00
Christian Muehlhaeuser
c94c232c53 * Removed old audio-engine dependancies from README. 2011-02-24 04:21:21 +01:00
Christian Muehlhaeuser
0e6bd91ba8 Merge remote branch 'origin' into phonon 2011-02-24 04:14:28 +01:00
Christian Muehlhaeuser
92348266c2 Merge remote branch 'origin' into phonon 2011-02-24 03:53:14 +01:00
Christian Muehlhaeuser
06d56aaa33 Merge remote branch 'origin' into phonon 2011-02-24 03:25:57 +01:00
Christian Muehlhaeuser
a61ee6433b * Support scanning various mimetypes, now that we got Phonon. 2011-02-24 02:39:48 +01:00
Christian Muehlhaeuser
0de2211dde Merge remote branch 'origin' into phonon 2011-02-24 02:20:29 +01:00
Christian Muehlhaeuser
82b8892b99 * Fixed handling Phonon's StoppedState. 2011-02-24 02:20:05 +01:00
Christian Muehlhaeuser
11caacb96c Merge remote branch 'origin' into phonon 2011-02-23 23:51:10 +01:00
Christian Muehlhaeuser
c50f0626db * Getting rid of old & obsolete audioengine / transcoder stuff. 2011-02-23 19:05:04 +01:00
Christian Muehlhaeuser
755c091a56 Merge remote branch 'origin' into phonon 2011-02-23 17:12:46 +01:00
Christian Muehlhaeuser
7163b33af7 Merge remote branch 'origin' into phonon 2011-02-23 10:46:18 +01:00
Christian Muehlhaeuser
f1d9c5c8ee * Fixed phonon branch. 2011-02-23 01:34:09 +01:00
Christian Muehlhaeuser
413c3ed36e * Fixed merging mistake. 2011-01-22 08:15:44 +01:00
Christian Muehlhaeuser
f82f98785f * Merged and fixed master into phonon. 2011-01-22 07:58:20 +01:00
Christian Muehlhaeuser
876e3333de * Fixed automatic track progression. 2011-01-14 16:09:46 +01:00
Christian Muehlhaeuser
876a11a1e4 * Fixed AudioEngine's time reporting. 2011-01-14 15:53:44 +01:00
Christian Muehlhaeuser
41512c4b61 * Initial work on phonon-powered AudioEngine. 2011-01-14 15:10:19 +01:00
Steven Robertson
b3d0a577bb Updating the installer images. 2010-11-24 09:39:29 +00:00
2476 changed files with 582700 additions and 68563 deletions

8
.gitignore vendored
View File

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

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "thirdparty/jreen"]
path = thirdparty/jreen
url = git://gitorious.org/jreen/jreen.git

View File

@@ -5,7 +5,7 @@ Tomahawk is primarily authored by:
Contributors include:
* Leo Franchi <lfranchi@kde.org>
* Dominik Schmidt <domme@rautelinux.org>
* Dominik Schmidt <dev@dominik-schmidt.de>
* Jeff Mitchell <mitchell@kde.org>
* J Herskowitz <jherskow@gmail.com>
* Alejandro Wainzinger <aikawarazuni@gmail.com>

View File

@@ -1,39 +1,95 @@
PROJECT( tomahawk )
CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )
SET( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
IF( ${CMAKE_VERSION} VERSION_GREATER 2.8.3 )
CMAKE_POLICY(SET CMP0017 NEW)
ENDIF( ${CMAKE_VERSION} VERSION_GREATER 2.8.3 )
###
### Tomahawk application info
###
SET( ORGANIZATION_NAME "Tomahawk" )
SET( ORGANIZATION_DOMAIN "tomahawk-player.org" )
SET( APPLICATION_NAME "Tomahawk" )
SET( VERSION "0.0.1" )
SET( TOMAHAWK_ORGANIZATION_NAME "Tomahawk" )
SET( TOMAHAWK_ORGANIZATION_DOMAIN "tomahawk-player.org" )
SET( TOMAHAWK_APPLICATION_NAME "Tomahawk" )
SET( TOMAHAWK_DESCRIPTION_SUMMARY "The social media player" )
SET( TOMAHAWK_VERSION_MAJOR 0 )
SET( TOMAHAWK_VERSION_MINOR 3 )
SET( TOMAHAWK_VERSION_PATCH 99 )
#SET( TOMAHAWK_VERSION_RC 0 )
# build options
option(BUILD_GUI "Build Tomahawk with GUI" ON)
option(BUILD_RELEASE "Generate TOMAHAWK_VERSION without GIT info" OFF)
option(LEGACY_KDE_INTEGRATION "Install tomahawk.protocol file, deprecated since 4.6.0" OFF)
# 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}" )
# 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
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")
# 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" )
ENDIF()
macro_optional_find_package(LibEchonest 1.1.1)
macro_log_feature(LIBECHONEST_FOUND "Echonest" "Qt library for communicating with The Echo Nest" "http://projects.kde.org/libechonest" TRUE "" "libechonest is needed for dynamic playlists and the infosystem")
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 \n the qtwebkit-devel package is installed as well")
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.10)
macro_log_feature(LIBECHONEST_FOUND "Echonest" "Qt library for communicating with The Echo Nest" "http://projects.kde.org/libechonest" TRUE "" "libechonest 1.1.10 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")
@@ -43,46 +99,96 @@ 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")
# we need pthreads too
find_package(Threads)
include( CheckTagLibFileName )
check_taglib_filename( COMPLEX_TAGLIB_FILENAME )
# optional
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)
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" FALSE "" "")
macro_optional_find_package(QuaZip)
macro_log_feature(QuaZip_FOUND "QuaZip" "Provides support for extracting downloaded resolvers automatically." "http://quazip.sourceforge.net/" FALSE "" "")
macro_optional_find_package(Jreen)
IF( ENABLE_JREEN AND NOT LIBJREEN_FOUND )
ADD_SUBDIRECTORY( thirdparty/jreen )
SET( LIBJREEN_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/thirdparty/jreen/include )
IF( UNIX AND NOT APPLE )
SET( LIBJREEN_LIBRARY ${CMAKE_CURRENT_BINARY_DIR}/thirdparty/jreen/libjreen.so )
ENDIF( UNIX AND NOT APPLE )
IF( WIN32 )
SET( LIBJREEN_LIBRARY ${CMAKE_CURRENT_BINARY_DIR}/thirdparty/jreen/libjreen.dll )
ENDIF( WIN32 )
SET( LIBJREEN_FOUND true )
MESSAGE(STATUS "Internal libjreen: ${LIBJREEN_INCLUDE_DIR}, ${LIBJREEN_LIBRARY}")
ENDIF( ENABLE_JREEN AND NOT LIBJREEN_FOUND )
macro_log_feature(LIBJREEN_FOUND "Jreen" "Qt XMPP Library" "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(VSXu)
macro_log_feature(VSXU_FOUND "VSXu" "Vovoid VSXu Ultra" "https://www.vsxu.com" FALSE "" "VSXu is needed for some really cool music visualization.\n")
IF( NOT QuaZip_FOUND )
add_subdirectory( ${CMAKE_SOURCE_DIR}/src/libtomahawk/thirdparty/quazip )
SET( QuaZip_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/libtomahawk/thirdparty/quazip )
SET( QuaZip_LIBRARY quazip )
SET( QuaZip_LIBRARIES ${QuaZip_LIBRARY} )
SET( QuaZip_FOUND true )
macro_log_feature(QuaZip_FOUND "QuaZip" "Provides support for extracting downloaded resolvers automatically. Building internal copy" "http://quazip.sourceforge.net/" FALSE "" "")
# copy headers to build/quazip so we can use proper includes inside the code
FILE( COPY ${CMAKE_SOURCE_DIR}/src/libtomahawk/thirdparty/quazip/quazip/ DESTINATION ${CMAKE_BINARY_DIR}/libtomahawk/thirdparty/quazip )
ENDIF()
# 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)
#### 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( 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 )
SET( LIBPORTFWD_LIBRARY tomahawk_portfwd )
SET( LIBPORTFWD_LIBRARIES ${LIBPORTFWD_LIBRARY} )
ADD_SUBDIRECTORY( ${THIRDPARTY_DIR}/libportfwd )
# we need pthreads too
#macro_optional_find_package(Threads)
#macro_log_feature(THREADS_FOUND "Threads" "Threading Library" "" TRUE "" "Platform specific library for threading")
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)
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()
IF( WIN32 )
find_library(QTSPARKLE_LIBRARIES qtsparkle)
ENDIF( WIN32 )
macro_log_feature(JREEN_FOUND "Jreen" "Qt XMPP library" "http://gitorious.org/jreen" FALSE "" "Jreen is needed for the alternative/new Jabber SIP plugin. Built automatically inside Tomahawk, if not installed systemwide and ENABLE_JREEN is true")
macro_optional_find_package(Gloox 1.0)
IF( ENABLE_JREEN )
set( GLOOX_FOUND false )
ENDIF( ENABLE_JREEN)
macro_log_feature(GLOOX_FOUND "Gloox" "A portable high-level Jabber/XMPP library for C++" "http://camaya.net/gloox" FALSE "" "Gloox is needed for the Jabber SIP plugin and the XMPP-Bot")
#show dep log
macro_display_feature_log()
MESSAGE("WARNING!")
MESSAGE("Phonon is going to replace our own audio abstraction layer soon so we didn't")
MESSAGE("add checks for libmad, libvorbis and libflac. Make sure they are installed!")
MESSAGE("")
MESSAGE("-----------------------------------------------------------------------------")
SET( INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" )
@@ -92,9 +198,10 @@ CONFIGURE_FILE(
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
# KDE4 defines an uninstall target for us automatically
IF( NOT KDE4_FOUND )
ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
ENDIF()
IF( NOT APPLE )
# Make linking as strict on linux as it is on osx. Then we don't break linking on mac so often
@@ -103,5 +210,12 @@ ENDIF( NOT APPLE )
ADD_SUBDIRECTORY( thirdparty )
ADD_SUBDIRECTORY( src/libtomahawk )
SET( TOMAHAWK_LIBRARIES tomahawklib )
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( admin )
IF( BUILD_GUI )
IF( NOT DISABLE_CRASHREPORTER )
ADD_SUBDIRECTORY( src/breakpad/CrashReporter )
ENDIF()
ENDIF()

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,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.19")
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

@@ -6,15 +6,15 @@
# LIBJREEN_FOUND, whether libjreen was found
find_path(LIBJREEN_INCLUDE_DIR NAMES jreen.h
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}
PATH_SUFFIXES jreen
)
find_library( LIBJREEN_LIBRARY NAMES jreen
@@ -25,6 +25,8 @@ find_library( LIBJREEN_LIBRARY NAMES jreen
/usr/lib64
/usr/local/lib
/opt/kde4/lib
${CMAKE_INSTALL_PREFIX}/lib
${CMAKE_INSTALL_PREFIX}/lib64
${KDE4_LIB_DIR}
)
@@ -33,7 +35,7 @@ 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)
set(LIBJREEN_FOUND FALSE)
if (LIBJREEN_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find required package libjreen")
endif(LIBJREEN_FIND_REQUIRED)

View File

@@ -0,0 +1,20 @@
# Simple hack to detect wether KDE4 is *installed* -- not anything about the development environment!
FILE(TO_CMAKE_PATH "$ENV{KDEDIRS}" _KDEDIRS)
# For KDE4 kde-config has been renamed to kde4-config
FIND_PROGRAM(KDE4_KDECONFIG_EXECUTABLE NAMES kde4-config
# the suffix must be used since KDEDIRS can be a list of directories which don't have bin/ appended
PATH_SUFFIXES bin
HINTS
${CMAKE_INSTALL_PREFIX}
${_KDEDIRS}
/opt/kde4
ONLY_CMAKE_FIND_ROOT_PATH
)
IF (KDE4_KDECONFIG_EXECUTABLE)
SET (KDE4_INSTALLED TRUE)
message(STATUS "KDE4 is installed, will install protocol file")
ENDIF (KDE4_KDECONFIG_EXECUTABLE)

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

@@ -0,0 +1,37 @@
# Find libphonon
# Once done this will define
#
# PHONON_FOUND - system has Phonon Library
# PHONON_INCLUDES - the Phonon include directory
# PHONON_LIBS - link these to use Phonon
# PHONON_VERSION - the version of the Phonon Library
# Copyright (c) 2008, Matthias Kretz <kretz@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
macro(_phonon_find_version)
set(_phonon_namespace_header_file "${PHONON_INCLUDE_DIR}/phonon/phononnamespace.h")
if (APPLE AND EXISTS "${PHONON_INCLUDE_DIR}/Headers/phononnamespace.h")
set(_phonon_namespace_header_file "${PHONON_INCLUDE_DIR}/Headers/phononnamespace.h")
endif (APPLE AND EXISTS "${PHONON_INCLUDE_DIR}/Headers/phononnamespace.h")
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}")
endmacro(_phonon_find_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()
endif(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Phonon DEFAULT_MSG PHONON_INCLUDE_DIR PHONON_LIBRARY)
mark_as_advanced(PHONON_INCLUDE_DIR PHONON_LIBRARY)

View File

@@ -0,0 +1,48 @@
# - 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)
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

@@ -43,4 +43,8 @@ else (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QJSON DEFAULT_MSG QJSON_LIBRARIES QJSON_INCLUDE_DIR)
if ( UNIX AND NOT APPLE )
set ( QJSON_LIBRARIES "${QJSON_LIBRARIES} ${QJSON_LDFLAGS}" CACHE INTERNAL "")
endif ()
endif (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)

View File

@@ -0,0 +1,31 @@
# - Try to find QTweetLib
#
# QTWEETLIB_FOUND - system has QTweetLib
# QTWEETLIB_INCLUDE_DIRS - the QTweetLib include directories
# QTWEETLIB_LIBRARIES - link these to use QTweetLib
#
# (c) Dominik Schmidt <dev@dominik-schmidt.de>
#
# Dependencies
find_package(Qt4 REQUIRED)
# Include dir
find_path(QTWEETLIB_INCLUDE_DIR
NAMES QTweetLib/qtweetlib_global.h
PATHS ${KDE4_INCLUDE_DIR}
)
# Finally the library itself
find_library(QTWEETLIB_LIBRARY
NAMES QTweetLib
PATHS ${KDE4_LIB_DIR}
)
SET( QTWEETLIB_LIBRARIES ${QTWEETLIB_LIBRARY} ${QJSON_LIBRARIES} )
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(QTweetLib DEFAULT_MSG QTWEETLIB_LIBRARY QTWEETLIB_INCLUDE_DIR)
MARK_AS_ADVANCED(QTWEETLIB_LIBRARIES QTWEETLIB_INCLUDE_DIR)

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

@@ -0,0 +1,48 @@
# Find VSXU - JSON handling library for Qt
#
# This module defines
# VSXU_FOUND - whether the qsjon library was found
# VSXU_LIBRARIES - the vsxu library
# VSXU_INCLUDE_DIRS - the include path of the vsxu library
#
if (VSXU_INCLUDE_DIRS AND VSXU_LIBRARIES)
# Already in cache
set (VSXU_FOUND TRUE)
else (VSXU_INCLUDE_DIRS AND VSXU_LIBRARIES)
if (NOT WIN32)
# use pkg-config to get the values of VSXU_INCLUDE_DIRS
# and VSXU_LIBRARY_DIRS to add as hints to the find commands.
include (FindPkgConfig)
pkg_check_modules (VSXU REQUIRED libvsxu)
endif (NOT WIN32)
find_library (VSXU_LIBRARIES
NAMES
libvsxu_engine
PATHS
${VSXU_LIBRARY_DIRS}
${LIB_INSTALL_DIR}
${KDE4_LIB_DIR}
)
find_path (VSXU_INCLUDE_DIRS
NAMES
vsxu_platform.h
PATHS
${VSXU_INCLUDE_DIRS}
${INCLUDE_INSTALL_DIR}
${KDE4_INCLUDE_DIR}
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(VSXu DEFAULT_MSG VSXU_LIBRARIES VSXU_INCLUDE_DIRS)
if ( UNIX AND NOT APPLE )
set ( VSXU_LIBRARIES "${VSXU_LIBRARIES} ${VSXU_LDFLAGS}" CACHE INTERNAL "")
endif ()
endif (VSXU_INCLUDE_DIRS AND VSXU_LIBRARIES)

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

@@ -4,7 +4,7 @@
; Some installer script options (comment-out options not required)
;-----------------------------------------------------------------------------
;!define OPTION_LICENSE_AGREEMENT
;!define OPTION_UAC_PLUGIN_ENHANCED
!define OPTION_UAC_PLUGIN_ENHANCED
!define OPTION_SECTION_SC_START_MENU
!define OPTION_SECTION_SC_DESKTOP
!define OPTION_SECTION_SC_QUICK_LAUNCH
@@ -15,59 +15,58 @@
;-----------------------------------------------------------------------------
; Some paths.
;-----------------------------------------------------------------------------
!define MING_PATH "/usr/i686-w64-mingw32/sys-root/mingw"
!ifndef MING_PATH
!define MING_PATH "/usr/i686-w64-mingw32/sys-root/mingw"
!endif
!define MING_BIN "${MING_PATH}/bin"
!define MING_DLL_PATH "${MING_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 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"
;-----------------------------------------------------------------------------
; 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}
; 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\prefix" ; SIC! ^
!define VLC_BIN "${VLC_PATH}\bin"
!define VLC_PLUGIN_PATH "${VLC_BIN}\plugins"
!define VER_MAJOR "0"
!define VER_MINOR "0"
!define VER_BUILD "1"
!define NSI_PATH "${SOURCE_PATH}/admin/win/nsi"
!define VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}"
;-----------------------------------------------------------------------------
; 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 (rev. ${REVISION})"
!define /date BUILD_TIME "built on %Y/%m/%d at %I:%M %p"
;-----------------------------------------------------------------------------
; Initial installer setup and definitions.
;-----------------------------------------------------------------------------
Name "Tomahawk"
Name "@CPACK_NSIS_PACKAGE_NAME@"
Caption "Tomahawk Installer"
BrandingText "Tomahawk ${VERSION} -- ${BUILD_TIME}"
OutFile "tomahawk-${VERSION}.exe"
InstallDir "$PROGRAMFILES\Tomahawk"
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 /SOLID lzma
ReserveFile tomahawk.ini
SetCompressor @CPACK_NSIS_COMPRESSOR@
RequestExecutionLevel user ;Now using the UAC plugin.
ReserveFile NSIS.InstallOptions.ini
ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
;The UAC plugin provides an elevated user.
;Otherwise request admin level here.
!ifdef OPTION_UAC_PLUGIN_ENHANCED
RequestExecutionLevel user
!else
RequestExecutionLevel admin
!endif
@CPACK_NSIS_SECTION_SELECTED_VARS@
;-----------------------------------------------------------------------------
; Include some required header files.
@@ -79,31 +78,29 @@ ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
!include Memento.nsh ;Remember user selections.
!include WinVer.nsh ;Windows version detection.
!include WordFunc.nsh ;Used by VersionCompare macro function.
!ifdef OPTION_UAC_PLUGIN_ENHANCED
!include UAC.nsh ;Used by the UAC elevation to install as user or admin.
!endif
!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_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 page_header.bmp
!define MUI_HEADERIMAGE_BITMAP ${NSI_PATH}\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_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
@@ -146,18 +143,46 @@ UninstPage custom un.UnPageUserAppData un.UnPageUserAppDataLeave
##############################################################################
Function LaunchTomahawk
!ifdef OPTION_UAC_PLUGIN_ENHANCED
${UAC.CallFunctionAsUser} LaunchTomahawkAsUser
!else
Exec "$INSTDIR\tomahawk.exe"
!endif
${UAC.CallFunctionAsUser} LaunchTomahawkAsUser
FunctionEnd
!ifdef OPTION_UAC_PLUGIN_ENHANCED
Function LaunchTomahawkAsUser
Exec "$INSTDIR\tomahawk.exe"
FunctionEnd
!endif
##############################################################################
# #
# 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
##############################################################################
# #
@@ -178,40 +203,37 @@ Function PageReinstall
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
IntCmp $R0 ${VER_BUILD} 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 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 "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 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 "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 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 "tomahawk.ini"
!insertmacro INSTALLOPTIONS_DISPLAY "NSIS.InstallOptions.ini"
FunctionEnd
Function PageLeaveReinstall
!insertmacro INSTALLOPTIONS_READ $R1 "tomahawk.ini" "Field 2" "State"
!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
@@ -226,12 +248,10 @@ Function PageLeaveReinstall
Delete $R1
RMDir $INSTDIR
no_remove_uninstaller:
StrCmp $R0 "2" +2 0
StrCmp $R0 "2" 0 +3
UAC::Unload
Quit
BringToFront
!ifdef OPTION_UAC_PLUGIN_ENHANCED
UAC::Unload
Quit
!endif
reinst_done:
FunctionEnd
@@ -240,11 +260,10 @@ 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
@@ -254,34 +273,36 @@ Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
;Main executable.
File "${INSTALL_PATH}\bin\tomahawk.exe"
File "${INSTALL_PATH}\lib\librtaudio.dll"
File "${INSTALL_PATH}\lib\libqxtweb-standalone.dll"
File "${INSTALL_PATH}\lib\libtomahawk_jdns.dll"
File "${INSTALL_PATH}\lib\libtomahawk_qtweetlib.dll"
File "${INSTALL_PATH}\lib\libtomahawklib.dll"
File "${INSTALL_PATH}\lib\libtomahawk_sipjabber.dll"
File "${INSTALL_PATH}\lib\libtomahawk_siptwitter.dll"
File "${INSTALL_PATH}\lib\libtomahawk_sipzeroconf.dll"
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\libtomahawk_lastfm2.dll"
File "${INSTALL_PATH}\bin\libquazip.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}\thirdparty\rtaudio\librtaudio.dll"
File "${BUILD_PATH}\thirdparty\qxt\qxtweb-standalone\libqxtweb-standalone.dll"
File "${BUILD_PATH}\thirdparty\jdns\libtomahawk_jdns.dll"
File "${BUILD_PATH}\thirdparty\qtweetlib\libtomahawk_qtweetlib.dll"
File "${BUILD_PATH}\src\libtomahawk\libtomahawklib.dll"
File "${BUILD_PATH}\libtomahawk_sipjabber.dll"
File "${BUILD_PATH}\libtomahawk_siptwitter.dll"
File "${BUILD_PATH}\libtomahawk_sipzeroconf.dll"
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"
File "${BUILD_PATH}\libtomahawk_lastfm2.dll"
File "${BUILD_PATH}\libquazip.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 "@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"
@@ -299,37 +320,52 @@ Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
File "${IMAGEFORMATS_DLL_PATH}\qgif4.dll"
File "${IMAGEFORMATS_DLL_PATH}\qjpeg4.dll"
SetOutPath "$INSTDIR"
;Cygwin/c++ stuff
;File "${MING_DLL_PATH}\cygmad-0.dll"
;File "${MING_DLL_PATH}\libgcc_s_dw2-1.dll"
;File "${MING_DLL_PATH}\mingwm10.dll"
File "${MING_DLL_PATH}\libgcc_s_sjlj-1.dll"
File "${MING_DLL_PATH}\libstdc++-6.dll"
;Audio stuff
File "${MING_DLL_PATH}\libmad-0.dll"
File "${MING_DLL_PATH}\libogg-0.dll"
File "${MING_DLL_PATH}\libvorbisfile-3.dll"
File "${MING_DLL_PATH}\libvorbis-0.dll"
File "${MING_DLL_PATH}\libFLAC-8.dll"
File "${MING_DLL_PATH}\libFLAC++-6.dll"
;Other
File "${MING_DLL_PATH}\libqjson.dll"
File "${MING_DLL_PATH}\libtag.dll"
File "${MING_DLL_PATH}\libgloox-8.dll"
File "${MING_DLL_PATH}\libpng15-15.dll"
File "${MING_DLL_PATH}\libjpeg-8.dll"
File "${MING_DLL_PATH}\zlib1.dll"
File "${MING_DLL_PATH}\libechonest.dll"
File "${MING_DLL_PATH}\liblastfm.dll"
;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 "${VLC_BIN}\libphonon.dll"
SetOutPath "$INSTDIR\phonon_backend"
File "${VLC_BIN}\phonon_backend\phonon_vlc.dll"
SetOutPath "$INSTDIR"
;VLC
;SetOutPath "$INSTDIR\phonon_backend"
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}\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"
File "${MING_BIN}\libattica.dll"
SectionEnd
SectionGroup "Shortcuts"
@@ -346,7 +382,7 @@ SectionGroup "Shortcuts"
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"
CreateShortCut "$SMPROGRAMS\Tomahawk\Uninstall.lnk" "$INSTDIR\uninstall.exe"
SetShellVarContext current
${MementoSectionEnd}
!endif
@@ -390,7 +426,7 @@ Section -post
SetDetailsPrint textonly
DetailPrint "Writing Uninstaller"
SetDetailsPrint listonly
WriteUninstaller $INSTDIR\Uninstall.exe
WriteUninstaller $INSTDIR\uninstall.exe
;Registry keys required for installer version handling and uninstaller.
SetDetailsPrint textonly
@@ -418,6 +454,13 @@ Section -post
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
@@ -477,6 +520,8 @@ Section Uninstall
DeleteRegValue HKLM "Software\Tomahawk" ""
DeleteRegKey HKLM "Software\Tomahawk"
DeleteRegKey HKCR "tomahawk"
;Start menu shortcuts.
!ifdef OPTION_SECTION_SC_START_MENU
SetShellVarContext all
@@ -498,7 +543,7 @@ Section Uninstall
;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"
@@ -514,8 +559,8 @@ SectionEnd
# #
##############################################################################
Function .onInit
!insertmacro INSTALLOPTIONS_EXTRACT "tomahawk.ini"
Function .onInit
!insertmacro INSTALLOPTIONS_EXTRACT "NSIS.InstallOptions.ini"
;Remove Quick Launch option from Windows 7, as no longer applicable - usually.
${IfNot} ${AtMostWinVista}
@@ -526,27 +571,25 @@ Function .onInit
${MementoSectionRestore}
!ifdef OPTION_UAC_PLUGIN_ENHANCED
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
!endif
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'
@@ -554,19 +597,25 @@ Function .onInit
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}
!ifdef OPTION_UAC_PLUGIN_ENHANCED
UAC::Unload ;Must call unload!
!endif
UAC::Unload ;Must call unload!
FunctionEnd
Function .onInstFailed
!ifdef OPTION_UAC_PLUGIN_ENHANCED
UAC::Unload ;Must call unload!
!endif
UAC::Unload ;Must call unload!
FunctionEnd
##############################################################################
@@ -576,27 +625,25 @@ FunctionEnd
##############################################################################
Function un.onInit
!ifdef OPTION_UAC_PLUGIN_ENHANCED
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_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
!endif
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'
@@ -607,13 +654,9 @@ Function un.onInit
FunctionEnd
Function un.onUnInstSuccess
!ifdef OPTION_UAC_PLUGIN_ENHANCED
UAC::Unload ;Must call unload!
!endif
UAC::Unload ;Must call unload!
FunctionEnd
Function un.onUnInstFailed
!ifdef OPTION_UAC_PLUGIN_ENHANCED
UAC::Unload ;Must call unload!
!endif
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@ )

288
ChangeLog
View File

@@ -1,2 +1,288 @@
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.
* 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.
* 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, 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.
* Split playlists and stations in sources sidebar. Show Recently Played
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.
* 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.
* 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.
Version 0.0.3:
* Show spinner while resolving playlists.
* Go back to previous page visible when deleting a playlist.
* Fixed issue where automatic playlists and station summaries were not
updated in the playlist header.
* Fixed an issue which caused duplicate items when rescanning.
* Revert change introduced in 0.0.2 causing Twitter protocol to not try
to reconnect to a peer if it couldn't connect the first time the plugin
was connected. This caused confusing (and for most unwanted) behavior.
* Fix crashes in Twitter authentication.
* Properly honor the chosen port number if a static host and port are
marked as preferred.
* Don't automatically try to resolve all incoming playback logs. This
speeds up importing sources a lot.
* 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) 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
but the Jabber settings haven't changed.
* Don't run a rescan of the local collection if the settings dialog is
closed successfully but the path hasn't changed.
* Don't attempt to connect to unavailable Twitter peers over and over.
* Find Twitter peers if the peer's Got Tomahawk? tweet is not their latest
tweet.
* Got Tomahawk? tweets can now be sent directly to specific users or in
private direct messages.
* Display a helpful message when someone sends a normal instant message to
the Tomahawk XMPP presence.
* Incompatible change: Twitter SIP protocol has changed slightly. 0.0.1
clients will not be able to talk to newer clients.
* Don't let long playlist or summary names force a large Tomahawk window.
* Tomahawk now asks you to authorize new contacts.
Version 0.0.1:
* First public release.
* First public release.

147
README
View File

@@ -1,128 +1,51 @@
Quickstart on Ubuntu
--------------------
$ sudo apt-get install build-essential cmake libtag1c2a libtag1-dev liblastfm-dev libqt4-dev \
libqt4-sql-sqlite libvorbis-dev libmad0-dev libflac++-dev libasound2-dev \
libboost-dev zlib1g-dev libgnutls-dev pkg-config
Gloox 1.0 (XMPP library)
------------------------
On Ubuntu 10.10 (and higher):
$ sudo apt-get install libgloox-dev
Otherwise see: http://camaya.net/glooxdownload
You need to build gloox 1.0 from source, Ubuntu 10.04 only packages version 0.9.
Download and unpack tarball:
$ ./configure --without-openssl --with-gnutls --without-libidn --with-zlib --without-examples --without-tests
$ CXXFLAGS=-fPIC make
$ sudo make install
QJson (Qt JSON library)
-----------------------
On Ubuntu 10.04 (and higher):
$ sudo apt-get install libqjson-dev
Otherwise see: http://sourceforge.net/projects/qjson/files/ (developed using version 0.7.1)
Download and unpack tarball:
$ ./configure && make
$ sudo make install
libEchonest 1.1.1
---------------
See: http://projects.kde.org/projects/playground/libs/libechonest/
Download and unpack tarball:
$ mkdir build && cd build
$ cmake ..
$ make
$ sudo make install
CLucene 0.9.23
---------------
See: http://clucene.sourceforge.net/download.shtml
Clone from git and build CLucene:
$ git clone git://clucene.git.sourceforge.net/gitroot/clucene/clucene
$ cd clucene && mkdir build && cd build
$ cmake ..
$ make
$ sudo make install
Quickstart on OS X
Compiling Tomahawk
------------------
Install homebrew
$ ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"
$ brew install cmake qt qjson gloox libmad libvorbis flac taglib boost liblastfm
Install libEchnoest & CLucene as per the above instructions.
If liblastfm gives problems, do the below:
$ brew edit liblastfm
Change the url to https://github.com/davidsansome/liblastfm/tarball/0.3.1
$ brew install liblastfm
Copy the md5 hash it returns.
$ brew edit liblastfm
Replace the md5 hash with the new one you copied.
$ brew install liblastfm
Now compile Tomahawk
--------------------
$ mkdir build && cd build
$ cmake ..
$ make
Start the application on Linux:
$ ./tomahawk
Start the application on OS X:
$ open tomahawk.app
Detailed building instructions for Ubuntu
-----------------------------------------
See: http://wiki.tomahawk-player.org/mediawiki/index.php/Building_Ubuntu_Binary_on_Maverick_(10.10)
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)
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/
Gloox 1.0 (0.9.x will fail) http://camaya.net/gloox/
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
libmad 0.15.1b http://www.underbit.com/products/mad/
libvorbis 1.2.3 http://xiph.org/vorbis/
libogg 1.1.4 http://xiph.org/ogg/
libflac++ 1.2.0 http://flac.sourceforge.net/
liblastfm 0.3.3 http://github.com/mxcl/liblastfm/
libechonest 1.1.1 http://projects.kde.org/projects/playground/libs/libechonest/
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.3 - http://www.boost.org/
CLucene 0.9.23 (0.9.21 will fail) - http://clucene.sourceforge.net/download.shtml
libechonest 1.2.0 - http://projects.kde.org/projects/playground/libs/libechonest/
The following dependencies are optional, but recommended:
Attica 0.2.0 - ftp://ftp.kde.org/pub/kde/stable/attica/
Jreen 1.0.1 - https://github.com/euroelessar/jreen
QTweetLib 0.3.0 - https://github.com/minimoog/QTweetLib
Third party libraries that we ship with our source:
RtAudio 4.0.7 http://www.music.mcgill.ca/~gary/rtaudio/
MiniUPnP http://miniupnp.free.fr/
To build the app:
-----------------
$ mkdir build && cd build
Pick one of the following two choices. If uncertain pick the second one, you probably want a GUI.
$ cmake -Dgui=no .. # enables headless mode, build without GUI
$ cmake .. # normal build including GUI
$ make
To run the app:
---------------
Only run the next two commands if you installed any of the dependencies from source on Linux.
$ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
$ sudo ldconfig -v
Start the application on Linux:
$ ./tomahawk
Start the application on OS X:
$ open tomahawk.app
MiniUPnP 1.6 - http://miniupnp.free.fr/
liblastfm 0.4.0 - http://github.com/jonocole/liblastfm/
QuaZip 0.4.3 - http://quazip.sourceforge.net/
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>
@@ -13,9 +13,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleVersion</key>
<string>0.0.1.0</string>
<string>TOMAHAWK_VERSION</string>
<key>CFBundleShortVersionString</key>
<string>0.0.1</string>
<string>TOMAHAWK_VERSION</string>
<key>CFBundleSignature</key>
<string>tomahawk</string>
<key>CFBundleIconFile</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,56 +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
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/
#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

@@ -23,50 +23,28 @@ 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.2'
################################################################################
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'
################################################################################
header "Running install_name_tool"
$ROOT/../admin/mac/deposx.sh
mv tomahawk.app Tomahawk.app
mv Tomahawk.app/Contents/MacOS/tomahawk Tomahawk.app/Contents/MacOS/Tomahawk
header "Renaming files"
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 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 "Creating DMG"
cd ..
mv tomahawk.app Tomahawk.app
$ROOT/../admin/mac/create-dmg.sh Tomahawk.app
mv Tomahawk.dmg Tomahawk-$VERSION.dmg

View File

@@ -1,131 +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`
################################################################################
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/liblastfm/0.3.3/lib/liblastfm.0.dylib @executable_path/liblastfm.0.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
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.0.9.23.dylib @executable_path/libclucene-core.0.9.23.dylib $1
install_name_tool -change /usr/local/lib/libclucene-shared.0.9.23.dylib @executable_path/libclucene-shared.0.9.23.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/taglib/1.6.3/lib/libtag.1.dylib @executable_path/libtag.1.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 $ORIGROOT/src/libtomahawk/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_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/thirdparty/jdns/libtomahawk_jdns.dylib @executable_path/libtomahawk_jdns.dylib $1
install_name_tool -change $ORIGROOT/thirdparty/qtweetlib/libtomahawk_qtweetlib.dylib @executable_path/libtomahawk_qtweetlib.dylib $1
install_name_tool -change libqjson.0.7.1.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.0.9.23.dylib @executable_path/libclucene-core.0.9.23.dylib $1
install_name_tool -change libclucene-shared.0.9.23.dylib @executable_path/libclucene-shared.0.9.23.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/liblastfm/0.3.3/lib/liblastfm.0.dylib
import_lib /usr/local/Cellar/gloox/1.0/lib/libgloox.8.dylib
import_lib /usr/local/Cellar/taglib/1.6.3/lib/libtag.1.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.0.9.23.dylib
import_lib /usr/local/lib/libclucene-shared.0.9.23.dylib
import_lib ../../libtomahawk_sipjabber.dylib
import_lib ../../libtomahawk_siptwitter.dylib
import_lib ../../libtomahawk_sipzeroconf.dylib
import_lib ../../src/libtomahawk/libtomahawklib.dylib
import_lib ../../thirdparty/jdns/libtomahawk_jdns.dylib
import_lib ../../thirdparty/qtweetlib/libtomahawk_qtweetlib.dylib
# 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
done

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

@@ -0,0 +1,522 @@
#!/usr/bin/python
# This file is part of 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 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=[
'access/libaccess_attachment_plugin.dylib',
#'access/libaccess_avio_plugin.dylib',
'access/libaccess_fake_plugin.dylib',
'access/libaccess_ftp_plugin.dylib',
'access/libaccess_http_plugin.dylib',
'access/libaccess_imem_plugin.dylib',
'access/libaccess_mmap_plugin.dylib',
'access/libaccess_mms_plugin.dylib',
'access/libaccess_realrtsp_plugin.dylib',
'access/libaccess_tcp_plugin.dylib',
'access/libaccess_udp_plugin.dylib',
'access/libcdda_plugin.dylib',
'access/libfilesystem_plugin.dylib',
'access/libqtcapture_plugin.dylib',
'access/librtp_plugin.dylib',
'access/libzip_plugin.dylib',
'access_output/libaccess_output_dummy_plugin.dylib',
'access_output/libaccess_output_file_plugin.dylib',
'access_output/libaccess_output_http_plugin.dylib',
'access_output/libaccess_output_shout_plugin.dylib',
'access_output/libaccess_output_udp_plugin.dylib',
'audio_filter/liba52tofloat32_plugin.dylib',
'audio_filter/liba52tospdif_plugin.dylib',
'audio_filter/libaudio_format_plugin.dylib',
'audio_filter/libaudiobargraph_a_plugin.dylib',
'audio_filter/libchorus_flanger_plugin.dylib',
'audio_filter/libconverter_fixed_plugin.dylib',
'audio_filter/libdolby_surround_decoder_plugin.dylib',
'audio_filter/libdtstofloat32_plugin.dylib',
'audio_filter/libdtstospdif_plugin.dylib',
'audio_filter/libequalizer_plugin.dylib',
'audio_filter/libheadphone_channel_mixer_plugin.dylib',
'audio_filter/libmono_plugin.dylib',
'audio_filter/libmpgatofixed32_plugin.dylib',
'audio_filter/libnormvol_plugin.dylib',
'audio_filter/libparam_eq_plugin.dylib',
'audio_filter/libscaletempo_plugin.dylib',
'audio_filter/libsimple_channel_mixer_plugin.dylib',
'audio_filter/libspatializer_plugin.dylib',
'audio_filter/libtrivial_channel_mixer_plugin.dylib',
'audio_filter/libugly_resampler_plugin.dylib',
'audio_mixer/libfloat32_mixer_plugin.dylib',
'audio_mixer/libspdif_mixer_plugin.dylib',
'audio_mixer/libtrivial_mixer_plugin.dylib',
'audio_output/libaout_file_plugin.dylib',
'audio_output/libauhal_plugin.dylib',
'codec/liba52_plugin.dylib',
'codec/libadpcm_plugin.dylib',
'codec/libaes3_plugin.dylib',
'codec/libaraw_plugin.dylib',
'codec/libavcodec_plugin.dylib',
'codec/libcc_plugin.dylib',
'codec/libcdg_plugin.dylib',
'codec/libdts_plugin.dylib',
'codec/libfaad_plugin.dylib',
'codec/libfake_plugin.dylib',
'codec/libflac_plugin.dylib',
'codec/libfluidsynth_plugin.dylib',
'codec/libinvmem_plugin.dylib',
'codec/liblpcm_plugin.dylib',
'codec/libmpeg_audio_plugin.dylib',
'codec/libpng_plugin.dylib',
'codec/librawvideo_plugin.dylib',
'codec/libspeex_plugin.dylib',
'codec/libspudec_plugin.dylib',
'codec/libtheora_plugin.dylib',
'codec/libtwolame_plugin.dylib',
'codec/libvorbis_plugin.dylib',
'control/libgestures_plugin.dylib',
'control/libhotkeys_plugin.dylib',
'control/libmotion_plugin.dylib',
'control/libnetsync_plugin.dylib',
'control/libsignals_plugin.dylib',
'demux/libaiff_plugin.dylib',
'demux/libasf_plugin.dylib',
'demux/libau_plugin.dylib',
#'demux/libavformat_plugin.dylib',
'demux/libavi_plugin.dylib',
'demux/libdemux_cdg_plugin.dylib',
'demux/libdemuxdump_plugin.dylib',
'demux/libdirac_plugin.dylib',
'demux/libes_plugin.dylib',
'demux/libflacsys_plugin.dylib',
'demux/liblive555_plugin.dylib',
'demux/libmkv_plugin.dylib',
'demux/libmod_plugin.dylib',
'demux/libmp4_plugin.dylib',
'demux/libmpc_plugin.dylib',
'demux/libmpgv_plugin.dylib',
'demux/libnsc_plugin.dylib',
'demux/libnsv_plugin.dylib',
'demux/libnuv_plugin.dylib',
'demux/libogg_plugin.dylib',
'demux/libplaylist_plugin.dylib',
'demux/libps_plugin.dylib',
'demux/libpva_plugin.dylib',
'demux/librawaud_plugin.dylib',
'demux/librawdv_plugin.dylib',
'demux/librawvid_plugin.dylib',
'demux/libreal_plugin.dylib',
'demux/libsmf_plugin.dylib',
'demux/libts_plugin.dylib',
'demux/libtta_plugin.dylib',
'demux/libty_plugin.dylib',
'demux/libvc1_plugin.dylib',
'demux/libvoc_plugin.dylib',
'demux/libwav_plugin.dylib',
'demux/libxa_plugin.dylib',
'meta_engine/libfolder_plugin.dylib',
'meta_engine/libtaglib_plugin.dylib',
'misc/libaudioscrobbler_plugin.dylib',
'misc/libdummy_plugin.dylib',
'misc/libexport_plugin.dylib',
'misc/libfreetype_plugin.dylib',
'misc/libgnutls_plugin.dylib',
'misc/liblogger_plugin.dylib',
'misc/liblua_plugin.dylib',
'misc/libosd_parser_plugin.dylib',
'misc/libquartztext_plugin.dylib',
'misc/libstats_plugin.dylib',
'misc/libvod_rtsp_plugin.dylib',
'misc/libxml_plugin.dylib',
'misc/libxtag_plugin.dylib',
'mmx/libi420_rgb_mmx_plugin.dylib',
'mmx/libi420_yuy2_mmx_plugin.dylib',
'mmx/libi422_yuy2_mmx_plugin.dylib',
'mmx/libmemcpymmx_plugin.dylib',
'mmxext/libmemcpymmxext_plugin.dylib',
'mux/libmux_asf_plugin.dylib',
'mux/libmux_avi_plugin.dylib',
'mux/libmux_dummy_plugin.dylib',
'mux/libmux_mp4_plugin.dylib',
'mux/libmux_mpjpeg_plugin.dylib',
'mux/libmux_ogg_plugin.dylib',
'mux/libmux_ps_plugin.dylib',
'mux/libmux_ts_plugin.dylib',
'mux/libmux_wav_plugin.dylib',
'packetizer/libpacketizer_copy_plugin.dylib',
'packetizer/libpacketizer_dirac_plugin.dylib',
'packetizer/libpacketizer_flac_plugin.dylib',
'packetizer/libpacketizer_h264_plugin.dylib',
'packetizer/libpacketizer_mlp_plugin.dylib',
'packetizer/libpacketizer_mpeg4audio_plugin.dylib',
'packetizer/libpacketizer_mpeg4video_plugin.dylib',
'packetizer/libpacketizer_mpegvideo_plugin.dylib',
'packetizer/libpacketizer_vc1_plugin.dylib',
'sse2/libi420_rgb_sse2_plugin.dylib',
'sse2/libi420_yuy2_sse2_plugin.dylib',
'sse2/libi422_yuy2_sse2_plugin.dylib',
'stream_filter/libdecomp_plugin.dylib',
'stream_filter/libstream_filter_rar_plugin.dylib',
'stream_filter/libstream_filter_record_plugin.dylib',
'visualization/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_sipjabber.dylib',
'libtomahawk_sipgoogle.dylib',
'libtomahawk_siptwitter.dylib',
'libtomahawk_sipzeroconf.dylib',
'libtomahawk_qtweetlib.dylib',
]
QT_PLUGINS_SEARCH_PATH=[
'/usr/local/Cellar/qt/4.7.4/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', '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:]))
plugindir = abs_path.split('/')[-2]
new_path = os.path.join(plugins_dir, subdir, plugindir, 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), '.')
for plugin in TOMAHAWK_PLUGINS:
FixPlugin(plugin, '../MacOS')
try:
FixPlugin('spotify_tomahawkresolver', '../MacOS')
except:
print 'Failed to find spotify resolver'
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

@@ -2,16 +2,24 @@
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Tomahawk Player Changelog</title>
<link>http://download.tomahawk-player.org/sparkle</link>
<description>Most recent changes with links to updates.</description>
<link>http://www.gettomahawk.com</link>
<description>Tomahawk Player Beta</description>
<language>en</language>
<item>
<title>Version 0.0.1 (Tomahawk Player - It Lives!)</title>
<title>Version 0.0.1 (Tomahawk Player Beta - It Lives?)</title>
<sparkle:releaseNotesLink>
https://github.com/tomahawk-player/tomahawk/raw/master/ChangeLog
https://github.com/tomahawk-player/tomahawk/raw/0.0.1/ChangeLog
</sparkle:releaseNotesLink>
<pubDate>Fri, 04 Mar 2011 16:05:15 -0500</pubDate>
<enclosure url="http://download.tomahawk-player.org/sparkle-debug/updates/tomahawk-beta-0.0.1.tar.bz2" sparkle:version="0.0.1" length="10627176" type="application/octet-stream" sparkle:dsaSignature="MC0CFAyYNZq58X7hPC7Qn+DtotVgym7pAhUA5hkLGllYxjOwwCf7i2LxUsvGyps=" />
<pubDate>Fri, 25 Mar 2011 00:00:01 +0100</pubDate>
<enclosure url="http://download.tomahawk-player.org/sparkle-debug/updates/tomahawk-0.0.1.tar.bz2" sparkle:version="0.0.1" length="10627176" type="application/octet-stream" sparkle:dsaSignature="MC0CFAyYNZq58X7hPC7Qn+DtotVgym7pAhUA5hkLGllYxjOwwCf7i2LxUsvGyps=" />
</item>
<item>
<title>Version 0.0.2 (Tomahawk Player Beta - It Lives?)</title>
<sparkle:releaseNotesLink>
https://github.com/tomahawk-player/tomahawk/raw/0.0.2/ChangeLog
</sparkle:releaseNotesLink>
<pubDate>Mon, 28 Mar 2011 06:13:01 +0100</pubDate>
<enclosure url="http://download.tomahawk-player.org/sparkle/updates/tomahawk-0.0.2.tar.bz2" sparkle:version="0.0.2" length="19831287" type="application/octet-stream" sparkle:dsaSignature="MC0CFC0Hwq9x9BWMF/8sA+c5KfzKoBzFAhUAk9r0IJlxQf9qEJk4IL6bbTWTiuI=" />
</item>
</channel>
</rss>

View File

@@ -2,16 +2,24 @@
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Tomahawk Player Changelog</title>
<link>http://download.tomahawk-player.org/sparkle</link>
<description>Most recent changes with links to updates.</description>
<link>http://www.gettomahawk.com</link>
<description>Tomahawk Player</description>
<language>en</language>
<item>
<title>Version 0.0.1 (Tomahawk Player - It Lives!)</title>
<sparkle:releaseNotesLink>
https://github.com/tomahawk-player/tomahawk/raw/master/ChangeLog
https://github.com/tomahawk-player/tomahawk/raw/0.0.1/ChangeLog
</sparkle:releaseNotesLink>
<pubDate>Fri, 04 Mar 2011 16:05:15 -0500</pubDate>
<pubDate>Fri, 25 Mar 2011 00:00:01 +0100</pubDate>
<enclosure url="http://download.tomahawk-player.org/sparkle/updates/tomahawk-0.0.1.tar.bz2" sparkle:version="0.0.1" length="10627176" type="application/octet-stream" sparkle:dsaSignature="MC0CFAyYNZq58X7hPC7Qn+DtotVgym7pAhUA5hkLGllYxjOwwCf7i2LxUsvGyps=" />
</item>
<item>
<title>Version 0.0.2 (Tomahawk Player - It Lives!)</title>
<sparkle:releaseNotesLink>
https://github.com/tomahawk-player/tomahawk/raw/0.0.2/ChangeLog
</sparkle:releaseNotesLink>
<pubDate>Mon, 28 Mar 2011 06:13:01 +0100</pubDate>
<enclosure url="http://download.tomahawk-player.org/sparkle/updates/tomahawk-0.0.2.tar.bz2" sparkle:version="0.0.2" length="19831287" type="application/octet-stream" sparkle:dsaSignature="MC0CFC0Hwq9x9BWMF/8sA+c5KfzKoBzFAhUAk9r0IJlxQf9qEJk4IL6bbTWTiuI=" />
</item>
</channel>
</rss>

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=Tomahawk
GenericName=Music Player
TryExec=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,5 +1,5 @@
[Protocol]
exec=/home/leo/kde/tomahawk/build/tomahawk "%u"
exec=/path/to/binary "%u"
protocol=tomahawk
input=none
output=none

View File

@@ -1,20 +1,27 @@
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_CXX_COMPILER ccache ${MINGW_PREFIX}-g++)
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)
SET(QT_PLUGINS_DIR ${CMAKE_FIND_ROOT_PATH}/lib/qt4/plugins/)
SET(QT_QTUITOOLS_LIBRARY_RELEASE ${CMAKE_FIND_ROOT_PATH}/lib/libQtUiTools.a)
SET(QT_QTUITOOLS_LIBRARY_DEBUG ${CMAKE_FIND_ROOT_PATH}/lib/libQtUiToolsd.a)
SET(QT_QTUITOOLS_LIBRARY ${QT_QTUITOOLS_LIBRARY_RELEASE})

2
admin/win/nsi/RELEASE_NOTES.txt Executable file → Normal file
View File

@@ -1 +1 @@
TO DO
See http://github.com/tomahawk-player/tomahawk/blob/stable/ChangeLog

0
admin/win/nsi/installer.ico Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

View File

@@ -0,0 +1,35 @@
{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f39\fswiss\fcharset0\fprq2{\*\panose 020b0604030504040204}Verdana;}
{\f172\froman\fcharset238\fprq2 Times New Roman CE;}{\f173\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f175\froman\fcharset161\fprq2 Times New Roman Greek;}{\f176\froman\fcharset162\fprq2 Times New Roman Tur;}
{\f177\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f178\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f179\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f180\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
{\f562\fswiss\fcharset238\fprq2 Verdana CE;}{\f563\fswiss\fcharset204\fprq2 Verdana Cyr;}{\f565\fswiss\fcharset161\fprq2 Verdana Greek;}{\f566\fswiss\fcharset162\fprq2 Verdana Tur;}{\f569\fswiss\fcharset186\fprq2 Verdana Baltic;}
{\f570\fswiss\fcharset163\fprq2 Verdana (Vietnamese);}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;
\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{
\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\*
\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{\*\cs15 \additive \ul\cf2 \sbasedon10 \styrsid7485074 Hyperlink;}}
{\*\latentstyles\lsdstimax156\lsdlockeddef0}{\*\rsidtbl \rsid6712196\rsid7485074\rsid11352300\rsid15940516}{\*\generator Microsoft Word 11.0.5604;}{\info{\title Processes v1}{\author Hardwired}{\operator Hardwired}{\creatim\yr2004\mo12\dy12\hr23\min42}
{\revtim\yr2004\mo12\dy12\hr23\min51}{\version2}{\edmins9}{\nofpages1}{\nofwords80}{\nofchars458}{\nofcharsws537}{\vern24689}}\widowctrl\ftnbj\aenddoc\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\formshade\horzdoc\dgmargin\dghspace180
\dgvspace180\dghorigin1800\dgvorigin1440\dghshow1\dgvshow1
\jexpand\viewkind1\viewscale100\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct
\asianbrkrule\rsidroot7485074\newtblstyruls\nogrowautofit \fet0\sectd \linex0\endnhere\sectlinegrid360\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}
{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}
{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain
\qj \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid7485074 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\b\f39\insrsid7485074\charrsid7485074 Processes v1.0}{\f39\insrsid7485074\charrsid7485074 .0.1
\par }{\f39\fs20\insrsid7485074
\par }\pard \qj \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid15940516 {\f39\fs20\insrsid15940516 This software binaries and source-code are free for any kind of use, including commercial use. }{
\f39\fs20\insrsid7485074\charrsid7485074 There is no restriction and no guaranty for using}{\f39\fs20\insrsid7485074\charrsid7485074 t}{\f39\fs20\insrsid7485074\charrsid7485074 his software}{\f39\fs20\insrsid7485074\charrsid7485074 and/or it
s source-code. }{\f39\fs20\insrsid15940516
\par I}{\f39\fs20\insrsid7485074\charrsid7485074 f you use the plug}{\f39\fs20\insrsid7485074\charrsid7485074 -}{\f39\fs20\insrsid7485074\charrsid7485074 in }{\f39\fs20\insrsid7485074\charrsid7485074 and/}{\f39\fs20\insrsid7485074\charrsid7485074 or it}{
\f39\fs20\insrsid7485074\charrsid7485074 s}{\f39\fs20\insrsid7485074\charrsid7485074 source-code, I would }{\f39\fs20\insrsid7485074\charrsid7485074 appreciate }{\f39\fs20\insrsid7485074\charrsid7485074 if my name is mentioned.}{
\f39\fs20\insrsid7485074\charrsid7485074
\par }\pard \qj \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid7485074 {\f39\fs20\insrsid7485074\charrsid7485074
\par }{\b\f39\fs20\insrsid7485074\charrsid7485074 Andrei Ciubotaru [Hardwired]
\par }{\f39\fs20\insrsid7485074\charrsid7485074 Lead Developer ICode&Ideas SRL (}{\field\flddirty{\*\fldinst {\f39\fs20\insrsid7485074\charrsid7485074 HYPERLINK "http://www.icode.ro/" }{\f39\fs20\insrsid7485074\charrsid7485074 {\*\datafield
00d0c9ea79f9bace118c8200aa004ba90b02000000170000001500000068007400740070003a002f002f007700770077002e00690063006f00640065002e0072006f002f000000e0c9ea79f9bace118c8200aa004ba90b2a00000068007400740070003a002f002f007700770077002e00690063006f00640065002e007200
6f002f000000}}}{\fldrslt {\cs15\f39\fs20\ul\cf2\insrsid7485074\charrsid7485074 http://www.icode.ro/}}}{\f39\fs20\insrsid7485074\charrsid7485074 )
\par }{\field{\*\fldinst {\f39\fs20\insrsid7485074 HYPERLINK "hardwiredteks@gmail.com" }{\f39\fs20\insrsid15940516\charrsid7485074 {\*\datafield
00d0c9ea79f9bace118c8200aa004ba90b02000000010000000303000000000000c00000000000004600001800000068617264776972656474656b7340676d61696c2e636f6d00ffffadde000000000000000000000000000000000000000000000000}}}{\fldrslt {
\cs15\f39\fs20\ul\cf2\insrsid7485074\charrsid7485074 hardwiredteks@gmail.com}}}{\f39\fs20\insrsid7485074\charrsid7485074 , }{\field{\*\fldinst {\f39\fs20\insrsid7485074 HYPERLINK "hardwired@icode.ro" }{\f39\fs20\insrsid15940516\charrsid7485074
{\*\datafield 00d0c9ea79f9bace118c8200aa004ba90b02000000010000000303000000000000c0000000000000460000130000006861726477697265644069636f64652e726f00ffffadde000000000000000000000000000000000000000000000000}}}{\fldrslt {
\cs15\f39\fs20\ul\cf2\insrsid7485074\charrsid7485074 hardwired@icode.ro}}}{\f39\fs20\insrsid7485074\charrsid7485074
\par }}

View File

@@ -0,0 +1,122 @@
----------------------------------------------------------------
----------------------------------------------------------------
Processes (Processes.dll)
Version: 1.0.1.0
Release: 24.february.2005
Description: Nullsoft Installer (NSIS) plug-in for managing?!
Windows processes.
Copyright: <09> 2004-2005 Hardwired. No rights reserved.
There is no restriction and no guaranty for using
this software.
Author: Andrei Ciubotaru [Hardwired]
Lead Developer ICode&Ideas SRL (http://www.icode.ro/)
hardwiredteks@gmail.com, hardwired@icode.ro
----------------------------------------------------------------
----------------------------------------------------------------
INTRODUCTION
The Need For Plug-in - I need it for the one of my installers.
Briefly: Use it when you need to find\kill a process when
installing\uninstalling some application. Also, use it when you
need to test the presence of a device driver.
SUPPORT
Supported platforms are: WinNT,Win2K,WinXP and Win2003 Server.
DESCRIPTION
Processes::FindProcess <process_name> ;without ".exe"
Searches the currently running processes for the given
process name.
return: 1 - the process was found
0 - the process was not found
Processes::KillProcess <process_name> ; without ".exe"
Searches the currently running processes for the given
process name. If the process is found then the it gets
killed.
return: 1 - the process was found and killed
0 - the process was not found or the process
cannot be killed (insuficient rights)
Processes::FindDevice <device_base_name>
Searches the installed devices drivers for the given
device base name.
(important: I said BASE NAME not FILENAME)
return: 1 - the device driver was found
0 - the device driver was not found
USAGE
First of all, does not matter where you use it. Ofcourse, the
routines must be called inside of a Section/Function scope.
Processes::FindProcess "process_name"
Pop $R0
StrCmp $R0 "1" make_my_day noooooo
make_my_day:
...
noooooo:
...
Processes::KillProcess "process_name"
Pop $R0
StrCmp $R0 "1" dead_meat why_wont_you_die
dead_meat:
...
why_wont_you_die:
...
Processes::FindDevice "device_base_name"
Pop $R0
StrCmp $R0 "1" blabla more_blabla
blabla:
...
more_blabla:
...
THANKS
Sunil Kamath for inspiring me. I wanted to use its FindProcDLL
but my requirements made it imposible.
Nullsoft for creating this very powerfull installer. One big,
free and full-featured (hmmm... and guiless for the moment) mean
install machine!:)
ME for being such a great coder...
... HAHAHAHAHAHAHA!
ONE MORE THING
If you use the plugin or it's source-code, I would apreciate
if my name is mentioned.
----------------------------------------------------------------
----------------------------------------------------------------

View File

@@ -0,0 +1,8 @@
// stdafx.cpp : source file that includes just the standard includes
// KillProcDLL.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file

View File

@@ -0,0 +1,34 @@
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__780690DC_E128_403D_BC07_780D1B2CC101__INCLUDED_)
#define AFX_STDAFX_H__780690DC_E128_403D_BC07_780D1B2CC101__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <windows.h>
#include <string> // String management...
//From exam28.cpp
#include <tlhelp32.h>
//#include <iostream.h>
#ifdef BORLANDC
#include <string.h>
#include <ctype.h>
#endif
//To make it a NSIS Plug-In
#include "exdll.h"
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__780690DC_E128_403D_BC07_780D1B2CC101__INCLUDED_)

View File

@@ -0,0 +1,37 @@
#include <windows.h>
#include "exdll.h"
HINSTANCE g_hInstance;
HWND g_hwndParent;
void __declspec(dllexport) myFunction(HWND hwndParent, int string_size,
char *variables, stack_t **stacktop)
{
g_hwndParent=hwndParent;
EXDLL_INIT();
// note if you want parameters from the stack, pop them off in order.
// i.e. if you are called via exdll::myFunction file.dat poop.dat
// calling popstring() the first time would give you file.dat,
// and the second time would give you poop.dat.
// you should empty the stack of your parameters, and ONLY your
// parameters.
// do your stuff here
{
char buf[1024];
wsprintf(buf,"$0=%s\n",getuservariable(INST_0));
MessageBox(g_hwndParent,buf,0,MB_OK);
}
}
BOOL WINAPI _DllMainCRTStartup(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
{
g_hInstance=hInst;
return TRUE;
}

View File

@@ -0,0 +1,136 @@
#ifndef _EXDLL_H_
#define _EXDLL_H_
//
// only include this file from one place in your DLL.
// (it is all static, if you use it in two places it will fail)
//
#define EXDLL_INIT() { \
g_stringsize = string_size; \
g_stacktop = stacktop; \
g_variables = variables; }
//
// For page showing plug-ins
//
#define WM_NOTIFY_OUTER_NEXT (WM_USER+0x8)
#define WM_NOTIFY_CUSTOM_READY (WM_USER+0xd)
#define NOTIFY_BYE_BYE 'x'
typedef struct _stack_t
{
struct _stack_t *next;
char text[1]; // this should be the length of string_size
} stack_t;
static unsigned int g_stringsize;
static stack_t **g_stacktop;
static char *g_variables;
enum
{
INST_0, // $0
INST_1, // $1
INST_2, // $2
INST_3, // $3
INST_4, // $4
INST_5, // $5
INST_6, // $6
INST_7, // $7
INST_8, // $8
INST_9, // $9
INST_R0, // $R0
INST_R1, // $R1
INST_R2, // $R2
INST_R3, // $R3
INST_R4, // $R4
INST_R5, // $R5
INST_R6, // $R6
INST_R7, // $R7
INST_R8, // $R8
INST_R9, // $R9
INST_CMDLINE, // $CMDLINE
INST_INSTDIR, // $INSTDIR
INST_OUTDIR, // $OUTDIR
INST_EXEDIR, // $EXEDIR
INST_LANG, // $LANGUAGE
__INST_LAST
};
//
// utility functions (not required but often useful)
//
static int popstring( char *str )
{
stack_t *th;
if( !g_stacktop ||
!*g_stacktop )
return 1;
th = (*g_stacktop);
lstrcpy( str, th->text );
*g_stacktop = th->next;
GlobalFree( (HGLOBAL)th );
return 0;
}
static void pushstring( char *str )
{
stack_t *th;
if( !g_stacktop )
return;
th = (stack_t*)GlobalAlloc( GPTR, sizeof(stack_t) + g_stringsize );
lstrcpyn( th->text, str, g_stringsize );
th->next = *g_stacktop;
*g_stacktop = th;
}
static char *getuservariable( int varnum )
{
if( varnum < 0 ||
varnum >= __INST_LAST )
return NULL;
return (g_variables + varnum*g_stringsize);
}
static void setuservariable( int varnum, char *var )
{
if( var != NULL &&
varnum >= 0 &&
varnum < __INST_LAST )
lstrcpy( g_variables + varnum*g_stringsize, var );
}
#endif//_EXDLL_H_

View File

@@ -0,0 +1,411 @@
#include "stdafx.h"
#include "processes.h"
#include "string.h"
//-------------------------------------------------------------------------------------------
// global variables
lpfEnumProcesses EnumProcesses;
lpfEnumProcessModules EnumProcessModules;
lpfGetModuleBaseName GetModuleBaseName;
lpfEnumDeviceDrivers EnumDeviceDrivers;
lpfGetDeviceDriverBaseName GetDeviceDriverBaseName;
HINSTANCE g_hInstance;
HWND g_hwndParent;
HINSTANCE g_hInstLib;
//-------------------------------------------------------------------------------------------
// main DLL entry
BOOL WINAPI _DllMainCRTStartup( HANDLE hInst,
ULONG ul_reason_for_call,
LPVOID lpReserved )
{
g_hInstance = (struct HINSTANCE__ *)hInst;
return TRUE;
}
//-------------------------------------------------------------------------------------------
// loads the psapi routines
bool LoadPSAPIRoutines( void )
{
if( NULL == (g_hInstLib = LoadLibraryA( "PSAPI.DLL" )) )
return false;
EnumProcesses = (lpfEnumProcesses) GetProcAddress( g_hInstLib, "EnumProcesses" );
EnumProcessModules = (lpfEnumProcessModules) GetProcAddress( g_hInstLib, "EnumProcessModules" );
GetModuleBaseName = (lpfGetModuleBaseName) GetProcAddress( g_hInstLib, "GetModuleBaseNameA" );
EnumDeviceDrivers = (lpfEnumDeviceDrivers) GetProcAddress( g_hInstLib, "EnumDeviceDrivers" );
GetDeviceDriverBaseName = (lpfGetDeviceDriverBaseName) GetProcAddress( g_hInstLib, "GetDeviceDriverBaseNameA" );
if( ( NULL == EnumProcesses ) ||
( NULL == EnumProcessModules ) ||
( NULL == EnumDeviceDrivers ) ||
( NULL == GetModuleBaseName ) ||
( NULL == GetDeviceDriverBaseName ) )
{
FreeLibrary( g_hInstLib );
return false;
}
return true;
}
//-------------------------------------------------------------------------------------------
// free the psapi routines
bool FreePSAPIRoutines( void )
{
EnumProcesses = NULL;
EnumProcessModules = NULL;
GetModuleBaseName = NULL;
EnumDeviceDrivers = NULL;
if( FALSE == FreeLibrary( g_hInstLib ) )
return false;
return true;
}
//-------------------------------------------------------------------------------------------
// find a process by name
// return value: true - process was found
// false - process not found
bool FindProc( char *szProcess )
{
char szProcessName[ 1024 ];
char szCurrentProcessName[ 1024 ];
DWORD dPID[ 1024 ];
DWORD dPIDSize( 1024 );
DWORD dSize( 1024 );
HANDLE hProcess;
HMODULE phModule[ 1024 ];
//
// make the name lower case
//
memset( szProcessName, 0, 1024*sizeof(char) );
sprintf( szProcessName, "%s", szProcess );
strlwr( szProcessName );
//
// load PSAPI routines
//
if( false == LoadPSAPIRoutines() )
return false;
//
// enumerate processes names
//
if( FALSE == EnumProcesses( dPID, dSize, &dPIDSize ) )
{
FreePSAPIRoutines();
return false;
}
//
// walk trough and compare see if the process is running
//
for( int k( dPIDSize / sizeof( DWORD ) ); k >= 0; k-- )
{
memset( szCurrentProcessName, 0, 1024*sizeof(char) );
if( NULL != ( hProcess = OpenProcess( PROCESS_ALL_ACCESS, FALSE, dPID[ k ] ) ) )
{
if( TRUE == EnumProcessModules( hProcess, phModule, sizeof(HMODULE)*1024, &dPIDSize ) )
if( GetModuleBaseName( hProcess, phModule[ 0 ], szCurrentProcessName, 1024 ) > 0 )
{
strlwr( szCurrentProcessName );
if( NULL != strstr( szCurrentProcessName, szProcessName ) )
{
FreePSAPIRoutines();
CloseHandle( hProcess );
return true;
}
}
CloseHandle( hProcess );
}
}
//
// free PSAPI routines
//
FreePSAPIRoutines();
return false;
}
//-------------------------------------------------------------------------------------------
// kills a process by name
// return value: true - process was found
// false - process not found
bool KillProc( char *szProcess )
{
char szProcessName[ 1024 ];
char szCurrentProcessName[ 1024 ];
DWORD dPID[ 1024 ];
DWORD dPIDSize( 1024 );
DWORD dSize( 1024 );
HANDLE hProcess;
HMODULE phModule[ 1024 ];
//
// make the name lower case
//
memset( szProcessName, 0, 1024*sizeof(char) );
sprintf( szProcessName, "%s", szProcess );
strlwr( szProcessName );
//
// load PSAPI routines
//
if( false == LoadPSAPIRoutines() )
return false;
//
// enumerate processes names
//
if( FALSE == EnumProcesses( dPID, dSize, &dPIDSize ) )
{
FreePSAPIRoutines();
return false;
}
//
// walk trough and compare see if the process is running
//
for( int k( dPIDSize / sizeof( DWORD ) ); k >= 0; k-- )
{
memset( szCurrentProcessName, 0, 1024*sizeof(char) );
if( NULL != ( hProcess = OpenProcess( PROCESS_ALL_ACCESS, FALSE, dPID[ k ] ) ) )
{
if( TRUE == EnumProcessModules( hProcess, phModule, sizeof(HMODULE)*1024, &dPIDSize ) )
if( GetModuleBaseName( hProcess, phModule[ 0 ], szCurrentProcessName, 1024 ) > 0 )
{
strlwr( szCurrentProcessName );
if( NULL != strstr( szCurrentProcessName, szProcessName ) )
{
FreePSAPIRoutines();
//
// kill process
//
if( false == TerminateProcess( hProcess, 0 ) )
{
CloseHandle( hProcess );
return true;
}
//
// refresh systray
//
UpdateWindow( FindWindow( NULL, "Shell_TrayWnd" ) );
//
// refresh desktop window
//
UpdateWindow( GetDesktopWindow() );
CloseHandle( hProcess );
return true;
}
}
CloseHandle( hProcess );
}
}
//
// free PSAPI routines
//
FreePSAPIRoutines();
return false;
}
//-------------------------------------------------------------------------------------------
bool FindDev( char *szDriverName )
{
char szDeviceName[ 1024 ];
char szCurrentDeviceName[ 1024 ];
LPVOID lpDevices[ 1024 ];
DWORD dDevicesSize( 1024 );
DWORD dSize( 1024 );
TCHAR tszCurrentDeviceName[ 1024 ];
DWORD dNameSize( 1024 );
//
// make the name lower case
//
memset( szDeviceName, 0, 1024*sizeof(char) );
sprintf( szDeviceName, "%s", strlwr( szDriverName ) );
//
// load PSAPI routines
//
if( false == LoadPSAPIRoutines() )
return false;
//
// enumerate devices
//
if( FALSE == EnumDeviceDrivers( lpDevices, dSize, &dDevicesSize ) )
{
FreePSAPIRoutines();
return false;
}
//
// walk trough and compare see if the device driver exists
//
for( int k( dDevicesSize / sizeof( LPVOID ) ); k >= 0; k-- )
{
memset( szCurrentDeviceName, 0, 1024*sizeof(char) );
memset( tszCurrentDeviceName, 0, 1024*sizeof(TCHAR) );
if( 0 != GetDeviceDriverBaseName( lpDevices[ k ], tszCurrentDeviceName, dNameSize ) )
{
sprintf( szCurrentDeviceName, "%S", tszCurrentDeviceName );
if( 0 == strcmp( strlwr( szCurrentDeviceName ), szDeviceName ) )
{
FreePSAPIRoutines();
return true;
}
}
}
//
// free PSAPI routines
//
FreePSAPIRoutines();
return false;
}
//-------------------------------------------------------------------------------------------
extern "C" __declspec(dllexport) void FindProcess( HWND hwndParent,
int string_size,
char *variables,
stack_t **stacktop )
{
char szParameter[ 1024 ];
g_hwndParent = hwndParent;
EXDLL_INIT();
{
popstring( szParameter );
if( true == FindProc( szParameter ) )
wsprintf( szParameter, "1" );
else
wsprintf( szParameter, "0" );
setuservariable( INST_R0, szParameter );
}
}
//-------------------------------------------------------------------------------------------
extern "C" __declspec(dllexport) void KillProcess( HWND hwndParent,
int string_size,
char *variables,
stack_t **stacktop )
{
char szParameter[ 1024 ];
g_hwndParent = hwndParent;
EXDLL_INIT();
{
popstring( szParameter );
if( true == KillProc( szParameter ) )
wsprintf( szParameter, "1" );
else
wsprintf( szParameter, "0" );
setuservariable( INST_R0, szParameter );
}
}
//-------------------------------------------------------------------------------------------
extern "C" __declspec(dllexport) void FindDevice( HWND hwndParent,
int string_size,
char *variables,
stack_t **stacktop )
{
char szParameter[ 1024 ];
g_hwndParent = hwndParent;
EXDLL_INIT();
{
popstring( szParameter );
if( true == FindDev( szParameter ) )
wsprintf( szParameter, "1" );
else
wsprintf( szParameter, "0" );
setuservariable( INST_R0, szParameter );
}
}

View File

@@ -0,0 +1,49 @@
#pragma once
//-------------------------------------------------------------------------------------------
// PSAPI function pointers
typedef BOOL (WINAPI *lpfEnumProcesses) ( DWORD *, DWORD, DWORD * );
typedef BOOL (WINAPI *lpfEnumProcessModules) ( HANDLE, HMODULE *, DWORD, LPDWORD );
typedef DWORD (WINAPI *lpfGetModuleBaseName) ( HANDLE, HMODULE, LPTSTR, DWORD );
typedef BOOL (WINAPI *lpfEnumDeviceDrivers) ( LPVOID *, DWORD, LPDWORD );
typedef BOOL (WINAPI *lpfGetDeviceDriverBaseName)( LPVOID, LPTSTR, DWORD );
//-------------------------------------------------------------------------------------------
// Internal use routines
bool LoadPSAPIRoutines( void );
bool FreePSAPIRoutines( void );
bool FindProc( char *szProcess );
bool KillProc( char *szProcess );
bool FindDev( char *szDriverName );
//-------------------------------------------------------------------------------------------
// Exported routines
extern "C" __declspec(dllexport) void FindProcess( HWND hwndParent,
int string_size,
char *variables,
stack_t **stacktop );
extern "C" __declspec(dllexport) void KillProcess( HWND hwndParent,
int string_size,
char *variables,
stack_t **stacktop );
extern "C" __declspec(dllexport) void FindDevice( HWND hwndParent,
int string_size,
char *variables,
stack_t **stacktop );

Binary file not shown.

View File

@@ -0,0 +1,103 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "NSIS Plug-in for Windows process management. Only WinNT, Win2K, WinXP and Win2003 Server supported."
VALUE "CompanyName", "Andrei Ciubotaru [Hardwired]"
VALUE "FileDescription", "Windows Processes Management"
VALUE "FileVersion", "1, 0, 0, 1"
VALUE "InternalName", "Processes"
VALUE "LegalCopyright", "Copyright (c) 2004 Hardwired. No rights reserved."
VALUE "OriginalFilename", "Processes.dll"
VALUE "ProductName", "Processes"
VALUE "ProductVersion", "1, 0, 0, 1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View File

@@ -0,0 +1,21 @@
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "processes", "processes.vcproj", "{3438467F-A719-46DC-93E5-137A8B691727}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{3438467F-A719-46DC-93E5-137A8B691727}.Debug.ActiveCfg = Debug|Win32
{3438467F-A719-46DC-93E5-137A8B691727}.Debug.Build.0 = Debug|Win32
{3438467F-A719-46DC-93E5-137A8B691727}.Release.ActiveCfg = Release|Win32
{3438467F-A719-46DC-93E5-137A8B691727}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,122 @@
----------------------------------------------------------------
----------------------------------------------------------------
Processes (Processes.dll)
Version: 1.0.0.1
Release: 12.december.2004
Description:Nullsoft Installer (NSIS) plug-in for managing?!
Windows processes.
Copyright: <09> 2004 Hardwired. No rights reserved.
There is no restriction and no guaranty for using
this software.
Author: Andrei Ciubotaru [Hardwired]
Lead Developer ICode&Ideas SRL (http://www.icode.ro)
hardwiredteks@gmail.com, hardwired@icode.ro
----------------------------------------------------------------
----------------------------------------------------------------
INTRODUCTION
The Need For Plug-in - I need it for the one of my installers.
Briefly: Use it when you need to find\kill a process when
installing\uninstalling some application. Also, use it when you
need to test the presence of a device driver.
SUPPORT
Supported platforms are: WinNT,Win2K,WinXP and Win2003 Server.
DESCRIPTION
Processes::FindProcess <process_name.exe>
Searches the currently running processes for the given
process name.
return: 1 - the process was found
0 - the process was not found
Processes::KillProcess <process_name.exe>
Searches the currently running processes for the given
process name. If the process is found then the it gets
killed.
return: 1 - the process was found and killed
0 - the process was not found or the process
cannot be killed (insuficient rights)
Processes::FindDevice <device_base_name>
Searches the installed devices drivers for the given
device base name.
(important: I said BASE NAME not FILENAME)
return: 1 - the device driver was found
0 - the device driver was not found
USAGE
First of all, does not matter where you use it. Ofcourse, the
routines must be called inside of a Section/Function scope.
Processes::FindProcess "process_name.exe"
Pop $R0
StrCmp $R0 "1" make_my_day noooooo
make_my_day:
...
noooooo:
...
Processes::KillProcess "process_name.exe"
Pop $R0
StrCmp $R0 "1" dead_meat why_wont_you_die
dead_meat:
...
why_wont_you_die:
...
Processes::FindDevice "device_base_name"
Pop $R0
StrCmp $R0 "1" blabla more_blabla
blabla:
...
more_blabla:
...
THANKS
Sunil Kamath for inspiring me. I wanted to use its FindProcDLL
but my requirements made it imposible.
Nullsoft for creating this very powerfull installer. One big,
free and full-featured (hmmm... and guiless for the moment) mean
install machine!:)
ME for being such a great coder...
... HAHAHAHAHAHAHA!
ONE MORE THING
If you use the plugin or it's source-code, I would apreciate
if my name is mentioned.
----------------------------------------------------------------
----------------------------------------------------------------

View File

@@ -0,0 +1,222 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="processes"
SccProjectName="processes"
SccLocalPath=".">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\Debug"
IntermediateDirectory=".\Debug"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FINDPROCDLL_EXPORTS"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
UsePrecompiledHeader="3"
PrecompiledHeaderThrough="stdafx.h"
PrecompiledHeaderFile=".\Debug/processes.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
DebugInformationFormat="4"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
OutputFile=".\Debug/processes.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\Debug/processes.pdb"
ImportLibrary=".\Debug/processes.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="TRUE"
SuppressStartupBanner="TRUE"
TargetEnvironment="1"
TypeLibraryName=".\Debug/processes.tlb"
HeaderFileName=""/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1034"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="..\bin"
IntermediateDirectory="..\bin\processes"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE"
CharacterSet="2"
WholeProgramOptimization="TRUE">
<Tool
Name="VCCLCompilerTool"
Optimization="3"
GlobalOptimizations="TRUE"
InlineFunctionExpansion="1"
FavorSizeOrSpeed="1"
OptimizeForWindowsApplication="TRUE"
PreprocessorDefinitions="NDEBUG;_WINDOWS;_USRDLL;FINDPROCDLL_EXPORTS"
StringPooling="TRUE"
RuntimeLibrary="0"
StructMemberAlignment="1"
EnableFunctionLevelLinking="TRUE"
UsePrecompiledHeader="3"
PrecompiledHeaderThrough="stdafx.h"
PrecompiledHeaderFile="..\bin\processes/processes.pch"
AssemblerListingLocation="..\bin\processes/"
ObjectFile="..\bin\processes/"
ProgramDataBaseFileName="..\bin\processes/"
WarningLevel="4"
SuppressStartupBanner="TRUE"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="libc.lib"
OutputFile="..\bin/Processes.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
IgnoreAllDefaultLibraries="FALSE"
ProgramDatabaseFile="..\bin/processes.pdb"
OptimizeForWindows98="1"
ImportLibrary="..\bin/processes.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="TRUE"
SuppressStartupBanner="TRUE"
TargetEnvironment="1"
TypeLibraryName=".\Release/processes.tlb"
HeaderFileName=""/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
RelativePath="processes.cpp">
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;FINDPROCDLL_EXPORTS;$(NoInherit)"
BasicRuntimeChecks="3"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
Optimization="1"
PreprocessorDefinitions="NDEBUG;_WINDOWS;_MBCS;_USRDLL;FINDPROCDLL_EXPORTS;$(NoInherit)"/>
</FileConfiguration>
</File>
<File
RelativePath=".\processes.rc">
</File>
<File
RelativePath="StdAfx.cpp">
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_MBCS;_USRDLL;FINDPROCDLL_EXPORTS;$(NoInherit)"
BasicRuntimeChecks="3"
UsePrecompiledHeader="1"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
Optimization="1"
PreprocessorDefinitions="NDEBUG;_WINDOWS;_MBCS;_USRDLL;FINDPROCDLL_EXPORTS;$(NoInherit)"
UsePrecompiledHeader="1"/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl">
<File
RelativePath="exdll.h">
</File>
<File
RelativePath=".\processes.h">
</File>
<File
RelativePath=".\resource.h">
</File>
<File
RelativePath="StdAfx.h">
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
</Filter>
<File
RelativePath="processes.txt">
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@@ -0,0 +1,15 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by processes.rc
//
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0
admin/win/nsi/page_header.bmp Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -1 +0,0 @@
94

0
admin/win/nsi/tomahawk.ini Executable file → Normal file
View File

0
admin/win/nsi/welcome.bmp Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

@@ -3,15 +3,23 @@
<channel>
<title>Tomahawk Player</title>
<link>http://www.gettomahawk.com</link>
<description>Tomahawk Player</description>
<description>Tomahawk Player Beta</description>
<language>en</language>
<item>
<title>Version 0.0.1 (Tomahawk Player - It Lives!)</title>
<title>Version 0.0.1 (Tomahawk Player Beta - It Lives?)</title>
<sparkle:releaseNotesLink>
https://github.com/tomahawk-player/tomahawk/blob/master/ChangeLog
https://github.com/tomahawk-player/tomahawk/raw/0.0.1/ChangeLog
</sparkle:releaseNotesLink>
<pubDate>Fri, 04 Mar 2011 16:05:15 -0500</pubDate>
<enclosure url="http://download.tomahawk-player.org/sparklewin/updates/tomahawk-beta-0.0.1.exe" sparkle:version="0.0.1" />
<pubDate>Fri, 25 Mar 2011 00:00:01 +0100</pubDate>
<enclosure url="http://download.tomahawk-player.org/tomahawk-beta-0.0.1.exe" sparkle:version="0.0.1" />
</item>
<item>
<title>Version 0.0.2 (Tomahawk Player Beta - It Lives?)</title>
<sparkle:releaseNotesLink>
https://github.com/tomahawk-player/tomahawk/raw/0.0.2/ChangeLog
</sparkle:releaseNotesLink>
<pubDate>Mon, 28 Mar 2011 05:00:02 +0100</pubDate>
<enclosure url="http://download.tomahawk-player.org/tomahawk-0.0.2.exe" sparkle:version="0.0.2" />
</item>
</channel>
</rss>

View File

@@ -8,10 +8,18 @@
<item>
<title>Version 0.0.1 (Tomahawk Player - It Lives!)</title>
<sparkle:releaseNotesLink>
https://github.com/tomahawk-player/tomahawk/blob/master/ChangeLog
https://github.com/tomahawk-player/tomahawk/raw/0.0.1/ChangeLog
</sparkle:releaseNotesLink>
<pubDate>Fri, 04 Mar 2011 16:05:15 -0500</pubDate>
<enclosure url="http://download.tomahawk-player.org/sparklewin/updates/tomahawk-0.0.1.exe" sparkle:version="0.0.1" />
<pubDate>Fri, 25 Mar 2011 00:00:01 +0100</pubDate>
<enclosure url="http://download.tomahawk-player.org/tomahawk-beta-0.0.1.exe" sparkle:version="0.0.1" />
</item>
<item>
<title>Version 0.0.2 (Tomahawk Player - It Lives!)</title>
<sparkle:releaseNotesLink>
https://github.com/tomahawk-player/tomahawk/raw/0.0.2/ChangeLog
</sparkle:releaseNotesLink>
<pubDate>Mon, 28 Mar 2011 05:00:02 +0100</pubDate>
<enclosure url="http://download.tomahawk-player.org/tomahawk-0.0.2.exe" sparkle:version="0.0.2" />
</item>
</channel>
</rss>

58
admin/win/update-vlc.sh Normal file
View File

@@ -0,0 +1,58 @@
#!/bin/bash
mkdir -p vlc/
if [ "$1" = "-c" ] ; then
echo "Continuing last download.."
rm -rvf vlc/prefix/
else
echo "Remove old vlc dir..."
rm -rvf vlc/*
fi
cd 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
echo "Extract binary..."
7z x phonon*.7z
#mv -v vlc-*/ vlc/
#unzip tomahawk-vlc-0.1.zip
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 "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.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -1,60 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!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
width="600px" height="600px" viewBox="0 0 600 600" enable-background="new 0 0 600 600" xml:space="preserve">
<path fill="#010101" d="M543.773,253.359c0-49.962-19.305-86.572-54.194-104.54C477.84,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.188,51.824,20.321,71.749
c-1.816,1.565-3.444,3.282-4.77,5.239c0,0,2.582,2.359,3.689,3.373c-4.262,2.123-8.22,4.322-11.555,6.67
c0,0,3.021,7.355,5.896,14.353c-11.991,9.688-21.312,18.92-27.553,27.51c0,0,1.611,1.789,2.011,2.225
c-12.354,9.158-22.133,18.205-28.528,27.021c0,0,6.927,7.35,12.408,13.166c-17.824,28.76-43.348,74.85-43.348,102.988
c0,3.278,0.346,6.315,1.093,9.053c1.764,6.443,5.752,11.438,11.229,14.059c15.255,7.312,39.646-6.362,72.589-40.434
c-0.828,8.287-1.457,16.662-1.457,24.736c0,16.805,2.266,32.069,8.77,41.25c4.887,6.895,10.898,9.067,15.084,9.682
c6.723,0.99,26.375,3.797,57.992-61.295c2.678,0.705,5.421,1.178,8.235,1.178c8.798,0,17.065-3.424,23.287-9.639
c4.284-4.287,7.133-9.584,8.562-15.312c7.516-2.129,14.555-6.701,20.779-13.19c19.562,24.86,44.779,37.643,75.38,37.643
c7.317,0,14.474-0.754,21.281-2.242c0.392-0.073,2.555-0.623,2.555-0.623l0.62-0.166c23.05-5.823,42.463-20.409,58-43.254
c7.2,9.23,15.731,15.994,24.849,19.457c1.141,6.658,4.226,12.808,9.102,17.691c6.22,6.213,14.487,9.639,23.288,9.639
c8.798,0,17.063-3.426,23.285-9.639c6.221-6.229,9.647-14.494,9.647-23.293c0-8.797-3.429-17.066-9.647-23.293
c-2.988-2.988-6.478-5.297-10.248-6.924c0.275-2.947,0.611-5.849,0.611-9.009c0-10.028-1.398-20.979-4.19-31.897
c-1.196-4.672-2.757-8.746-4.513-12.568c2.84-6.467,4.807-13.268,4.807-20.426c0-7.316-1.74-14.422-4.706-21.01
C509.263,358.345,543.773,313.068,543.773,253.359z M451.232,150.998c-33.396-54.619-88.048-93.359-134.569-85.472
c-49.022-7.864-102.775,30.64-135.326,85.018c-2.646,0.208-5.276,0.497-7.875,0.88c8.694-54.414,69.431-111.108,143.107-111.108
c74.113,0,135.142,57.197,143.271,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.349-81.865,170.996
c15.97,7.654,74.912-46.055,139.701-143.287c45.751-68.647,60.797-94.43,45.68-95.922l20.614-43.357l-10.687-6.644l-33.91,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
<path fill="#010101" stroke="#FFFFFF" stroke-width="4.8437" d="M140.932,379.755c-39.101,113.041-39.738,189.89-20.813,192.654
c18.912,2.787,59.039-67.617,89.306-182.603c21.383-81.178,27.257-111.029,11.438-108l5.133-48.806l-13.207-3.354l-22.192,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"/>
<circle fill="none" stroke="#010101" stroke-width="4.8437" cx="410.28" cy="388.832" 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
c-83.402,0-152.009,56.27-160.306,128.393c-39.811,13.607-58.455,52.219-58.455,97.818c0,56.946,34.681,103.108,89.925,103.108
c35.784,0,67.089-19.432,84.771-48.551c14.01,3.533,28.776,5.463,44.064,5.463c13.16,0,25.934-1.438,38.173-4.076
c17.966,28.357,49.108,47.164,84.604,47.164c55.665,0,90.696-46.162,90.696-103.108
C528.218,210.073,512.209,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
c8.692-54.414,69.43-111.108,143.105-111.108c74.113,0,135.144,57.197,143.27,112.08c-6.617-1.398-13.473-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)">
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-1087.6663" y1="191.4385" x2="-992.1917" y2="191.4385" gradientTransform="matrix(-0.3782 -0.8348 1.083 -0.4907 -423.9551 -476.2263)">
<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)">
<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.026-36.091,71.214
c-31.323,14.192-65.948,5.311-77.338-19.83C106,292.849,122.366,274.543,153.69,260.35z"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="-1275.886" y1="215.5034" x2="-1180.4114" y2="215.5034" gradientTransform="matrix(-0.9008 -0.3607 0.555 -1.386 -752.6548 131.7681)">
<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
<path fill="url(#SVGID_2_)" d="M427.738,265.165c16.043-40.085,41.342-74.985,68.475-64.122
c27.121,10.86,36.109,52.165,20.056,92.248c-16.053,40.089-51.062,63.773-78.189,52.912
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)">
<path fill="#010101" stroke="#010101" stroke-width="4.8437" d="M448.219,425.226c7.774,30.396,3.98,62.357-14.521,62.357
c-16.301,0-34.904-17.332-42.675-47.732c-7.777-30.399,4.243-75.016,14.521-62.364C423.584,399.707,440.442,394.826,448.219,425.226
z"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="-639.5422" y1="548.502" x2="-691.4051" y2="458.673" gradientTransform="matrix(0.9868 0.0515 0.0515 0.7987 840.2104 72.6462)">
<stop offset="0" style="stop-color:#5B3E1D"/>
<stop offset="0.1121" style="stop-color:#42301B"/>
<stop offset="0.2377" style="stop-color:#2E2316"/>
@@ -64,29 +64,30 @@
<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
c15.79,4.039,33.552-12.045,39.658-35.924c6.101-23.882-9.153-57.129-24.947-61.17C200.537,387.275,190.178,413.972,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">
<path fill="#010101" stroke="#010101" stroke-width="4.8437" d="M314.837,65.525c72.757-12.333,165.505,89.311,165.505,187.528
c0,98.213-74.307,162.833-165.707,162.833"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="-664.3811" y1="374.0068" x2="-500.546" y2="90.2362" gradientTransform="matrix(1 0 0 1 858.79 0.3506)">
<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
<path fill="url(#SVGID_4_)" stroke="#010101" stroke-width="4.8437" d="M314.635,415.888c-91.402,0-165.299-64.619-165.299-162.833
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)">
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="-760.302" y1="-37.9087" x2="-639.3506" y2="-247.4027" gradientTransform="matrix(-0.6092 0.7802 -0.4118 -0.3216 -240.6183 671.6459)">
<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
c40.804-52.245,93.81-72.894,126.21-59.689c26.672,10.864,14.476,85.434-26.326,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"/>
<circle fill="#010101" cx="214.367" cy="388.832" 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">
<path fill="#F4DFED" d="M131.831,427.708c-23.973,79.734-18.741,132.268-9.011,135.459c10.854,3.564,43.561-47.223,60.839-128.324
c12.189-57.264,11.729-83.75,0.009-81.625l3.505-31.108l-8.899-2.435l-14.271,32.445
C152.554,347.564,150.184,366.689,131.831,427.708z"/>
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="-710.6404" y1="319.3252" x2="-710.6405" y2="562.8164" gradientTransform="matrix(1 0 0 1 858.79 0.3506)">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
@@ -94,11 +95,11 @@
<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"/>
<path fill="url(#SVGID_6_)" d="M146.41,479.117l-22.914,19.186l35.325-65.182l4.683-17.371c0,0,3.1-26.758-24.228,14.713
c16.962-56.432,32.317-62.998,32.317-62.998l11.402-46.658l-4.725-1.131l-14.702,30.23c-11.429-4.588-13.859,14.521-32.392,75.483
c-24.226,79.656-20.501,124.087-8.358,137.777L146.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)">
<linearGradient id="SVGID_7_" gradientUnits="userSpaceOnUse" x1="-789.3508" y1="444.1797" x2="-821.2424" y2="531.975" gradientTransform="matrix(0.9399 -0.3414 0.3414 0.9399 754.2939 -277.891)">
<stop offset="0" style="stop-color:#802986"/>
<stop offset="0.2641" style="stop-color:#9D66A2"/>
<stop offset="0.528" style="stop-color:#BE9BC2"/>
@@ -106,10 +107,10 @@
<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"/>
<path fill="url(#SVGID_7_)" d="M147.332,501.478l31.839-92.399c0,0,6.608,60.69-7.474,93.406
c1.438-44.879-2.328-36.951-9.176-25.257C159.71,482.031,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)">
<linearGradient id="SVGID_8_" gradientUnits="userSpaceOnUse" x1="-764.8928" y1="411.2344" x2="-797.3259" y2="500.5203" gradientTransform="matrix(0.9399 -0.3414 0.3414 0.9399 754.2939 -277.891)">
<stop offset="0" style="stop-color:#802986"/>
<stop offset="0.2641" style="stop-color:#9D66A2"/>
<stop offset="0.528" style="stop-color:#BE9BC2"/>
@@ -117,10 +118,10 @@
<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"/>
<path fill="url(#SVGID_8_)" d="M156.286,463.716l38.825-93.953c0,0,2.251,62.279-11.831,94.992
c-0.298-44.25-5.388-28.09-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)">
<linearGradient id="SVGID_9_" gradientUnits="userSpaceOnUse" x1="-872.7551" y1="422.8174" x2="-924.3751" y2="475.0038" gradientTransform="matrix(0.711 -0.7032 0.7032 0.711 517.3177 -556.6326)">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
@@ -128,21 +129,22 @@
<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"/>
<path fill="url(#SVGID_9_)" d="M180.916,431.115l9.787-73.404c0,0,18.589,43.111,16.428,71.426
c-11.771-30.424-13.671-21.049-17.576-14.961C187.396,417.539,180.916,431.115,180.916,431.115z"/>
<path fill="#1E3D73" d="M174.914,335.556L158.76,362.31l-23.24,76.646c0,0,1.211-8.172,1.788-15.883l-18.783,50.772
c0,0,8.386-31.227,3.607-28.383c-4.775,2.84,4.227-21.91-23.102,13.73c5.316-18.517,20.495-39.511,33.324-54.9
c-2.172,0.473-7.102,4.787-18.388,18.373c4.381-15.232,14.956-32.934,25.357-47.898c-1.159-2.682-5.151-3.889-21.234,5.224
C134.366,356.718,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">
<path fill="#F4DFED" d="M94.453,401.164c-49.752,66.752-62.779,117.912-54.719,124.242c8.987,7.059,57.062-29.513,100.989-99.847
c31.011-49.655,39.62-74.709,27.879-76.713l13.916-28.053l-7.539-5.318l-24.483,25.623
C141.291,332.912,132.531,350.072,94.453,401.164z"/>
<path fill="#656B84" d="M90.603,454.464l-28.088,10.205l55.456-49.201l10.331-14.729c0,0,12.047-24.097-27.796,5.559
c35.213-47.256,51.892-48.182,51.892-48.182l26.641-39.957l-4.058-2.683l-24.133,23.4c-9.179-8.223-17.989,8.91-56.226,59.885
c-49.96,66.601-61.634,109.635-54.889,126.646L90.603,454.464z"/>
<linearGradient id="SVGID_10_" gradientUnits="userSpaceOnUse" x1="-752.551" y1="484.6816" x2="-736.7991" y2="395.3488" gradientTransform="matrix(1 0 0 1 858.79 0.3506)">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
@@ -150,9 +152,10 @@
<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">
<path fill="url(#SVGID_10_)" d="M83.829,475.791l61.476-75.98c0,0-14.509,59.306-38.916,85.248
c16.678-41.694,12.058-33.366,0-26.873C101.491,460.822,83.829,475.791,83.829,475.791z"/>
<linearGradient id="SVGID_11_" gradientUnits="userSpaceOnUse" x1="-727.8064" y1="453.3486" x2="-711.9149" y2="363.2233" gradientTransform="matrix(1 0 0 1 858.79 0.3506)">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
@@ -160,37 +163,36 @@
<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"/>
<path fill="url(#SVGID_11_)" d="M105.143,443.357l68.562-75.052c0,0-19.143,59.297-43.551,85.248
c14.824-41.7,10.567-27.994,0-25.022C124.802,430.041,105.143,443.357,105.143,443.357z"/>
<path fill="#656B84" d="M139.423,421.125l34.262-65.654c0,0,2.748,46.867-8.945,72.74c-0.676-32.615-3.041-28.432-11.413-20.061
C150.5,410.974,139.423,421.125,139.423,421.125z"/>
<path fill="#656B84" d="M166.408,329.255l-24.322,19.631l-48.011,64.111c0,0,3.931-7.273,7.104-14.322L66.185,439.99
c0,0,18.552-26.484,13.089-25.449c-5.464,1.041,11.451-19.148-26.399,5.02c11.313-15.588,32.751-30.137,50.064-40.227
c-2.205-0.299-8.316,2.076-23.552,10.988c9.312-12.818,25.302-25.842,40.183-36.357c-0.175-2.918-3.515-5.416-21.74-2.346
C121.065,335.3,166.408,329.255,166.408,329.255z"/>
</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
<path fill="#D9AF82" d="M315.05,115.063c-50.514,0-83.218,15.021-109.641,64.839c-2.502,4.713-0.23,14.337-2.796,19.152
c-13.845,26.007-37.089,48.236-37.089,71.707c0,34.335,19.1,65.637,42.505,89.296c12.185,71.646,34.7,151.595,104.339,151.595"/>
<path fill="#010101" d="M203.271,178.766c-1.521,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.38,42.666,90.412
c12.578,73.607,36.113,150.479,106.6,150.479v-1.547c-67.084,0-89.722-78.556-101.95-150.453l-0.127-0.748l-0.54-0.549
c-26.957-27.257-41.805-58.361-41.805-87.594c0-14.923,10.174-29.766,20.949-45.482c5.501-8.027,11.19-16.327,15.855-25.087
c1.562-2.935,1.638-6.92,1.707-10.773c0.059-3.221,0.118-6.551,1.088-8.381c24.258-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"/>
<path fill="#8B654B" d="M312.368,511.65c72.045,0,92.163-79.949,104.338-151.595c23.405-23.657,42.514-54.959,42.514-89.296
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.477-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
<path fill="#8B654B" d="M342.916,373.455c0,7.812-14.979,12.535-27.273,12.535c-12.293,0-27.81-4.736-27.81-12.549
c3.432-3.433,15.246,4.885,27.544,4.885C334.789,378.326,342.916,312.496,342.916,373.455z"/>
<path fill="#D9AF82" d="M335.697,435.216c0,37.637-9.81,68.832-21.91,68.832c-12.096,0-21.899-31.195-21.899-68.832
c0-37.639,9.882-50.258,21.977-50.258C325.962,384.958,335.697,397.578,335.697,435.216z"/>
<path opacity="0.36" fill="#8A644B" enable-background="new " d="M328.365,281.605c-1.826,24.682-14.186-7.573-34.757,20.975
c-8.672,12.025-23.23,10.877-38.845,10.877c-39.61,0-66.544-26.031-67.859-38.869c-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">
<linearGradient id="SVGID_12_" gradientUnits="userSpaceOnUse" x1="-644.0354" y1="340.7031" x2="-568.3508" y2="340.7031" gradientTransform="matrix(1 0 0 1 858.79 0.3506)">
<stop offset="0" style="stop-color:#D9AF82"/>
<stop offset="0.0786" style="stop-color:#DFB791"/>
<stop offset="0.2053" style="stop-color:#E7C1A5"/>
@@ -199,40 +201,38 @@
<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"/>
<path opacity="0.36" fill="url(#SVGID_12_)" enable-background="new " d="M272.246,361.529
c-28.722,19.461-56.346-24.299-57.491-43.314c15.913,13.822,62.032,18.457,75.685-2.516L272.246,361.529z"/>
<path opacity="0.36" fill="#8A644B" enable-background="new " d="M313.706,461.212c-38.167,0-61.229-13.68-61.229-31.629
c0-6.049,15.649-24.078,37.318-49.365c5.952-3.699,7.464,10.037,14.958,4.73C331.61,392.044,328.318,461.212,313.706,461.212z"/>
<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"/>
<path fill="#8A644B" d="M260.464,472.117c8.341,23.938,32.817,36.465,52.688,36.465v-4.844
C294.99,503.738,268.056,493.921,260.464,472.117L260.464,472.117z"/>
</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"/>
<path fill="#8A644B" d="M180.954,271.658c0,21.359,5.388,36.679,27.101,48.222c0.587,1.121,7.021,13.387,7.021,13.387
c8.916,16.375,19.021,34.939,19.021,54.406h4.844c0-20.699-10.416-39.84-19.612-56.725l-7.586-14.455l-0.709-0.426
C190.51,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
<path fill="#010101" d="M208.814,230.649l-0.104-0.97c-3.106-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">
<linearGradient id="SVGID_13_" gradientUnits="userSpaceOnUse" x1="-667.7327" y1="310.1709" x2="-407.218" y2="310.1709" gradientTransform="matrix(1 0 0 1 858.79 0.3506)">
<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)">
<path fill="url(#SVGID_13_)" d="M423.943,199.054c-3.983-11.059-0.737-20.853-8.062-31.231
c-19.885-28.185-51.07-56.271-108.998-52.618l5.214,140.363c0,0-122.733-25.589-121.021,15.935c0.229,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.861,0.683,25.106,2.467c4.978,2.739-43.139,7.052-34.351,8.757
c10.057,1.951,44.474,3.086,57.442,3.086c28.931,0,41.077-25.413,41.077-4.485c7.348,27.894,14.739,59.239,13.974,69.882
c-1.477,20.661-19.62,20.188-19.62,20.188l5.089,24.285c-8.557,0.438-6.245-1.324-13.85-0.549c-14.429,0-32.354,13.03-32.354,16.055
l39.989,0.434c0,0-29.081,13.771-22.977,22.931c4.765,7.143,20.316,13.377,31.093,13.424c0,0,3.271,8.549,3.271,22.352
c0,13.812-4.035,22.564-4.035,22.564c46.171,0,67.49-49.035,80.324-118.445c6.083-32.877,20.018-58.104,36.034-71.658
c15.742-13.319,23.008-26.64,23.008-52.07C451.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.85-96.356-46.493-121.312c12.682-16.357,24.609-18.136,40.046-19.238
c13.519-0.965,21.294,16.525,27.302,24.271C350.375,162.927,325.395,252.416,325.395,252.416z"/>
<linearGradient id="SVGID_14_" gradientUnits="userSpaceOnUse" x1="-629.0159" y1="50.6562" x2="-540.175" y2="50.6562" gradientTransform="matrix(0.676 0.6564 -0.9247 0.9523 711.8302 511.1852)">
<stop offset="0" style="stop-color:#FFFFFF"/>
<stop offset="0.0769" style="stop-color:#F4E9DD"/>
<stop offset="0.1814" style="stop-color:#EBD6BF"/>
@@ -242,10 +242,10 @@
<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
<path fill="url(#SVGID_14_)" d="M305.253,199.27c-26.745,27.542-70.168,41.961-81.281,24.357
c-14.515-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">
<linearGradient id="SVGID_15_" gradientUnits="userSpaceOnUse" x1="-617.7107" y1="401.4551" x2="-617.7107" y2="317.8633" gradientTransform="matrix(1 0 0 1 858.79 0.3506)">
<stop offset="0" style="stop-color:#D9AF82"/>
<stop offset="0.1127" style="stop-color:#BD936E"/>
<stop offset="0.2679" style="stop-color:#A57C5E"/>
@@ -253,27 +253,29 @@
<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)">
<path fill="url(#SVGID_15_)" d="M272.246,361.529c0,46.272-35.419,42.799-45.104,36.896c0-45.752-17.229-80.211-17.229-80.211
S249.882,354.22,272.246,361.529z"/>
<linearGradient id="SVGID_16_" gradientUnits="userSpaceOnUse" x1="-925.8547" y1="344.666" x2="-972.7458" y2="361.7328" gradientTransform="matrix(-1 0 0 1 -562.3931 0.3506)">
<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="url(#SVGID_16_)" d="M359.338,356.349c0,46.271,21.506,44.033,31.073,44.033c7.488-45.135,35.671-81.516,35.671-81.516
S381.703,349.044,359.338,356.349z"/>
<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"/>
<path fill="#010101" d="M311.507,115.089c53.106,0,83.247,20.214,107.505,65.948c0.902,1.702,0.902,4.883,0.902,7.96
c-0.005,4.146-0.005,8.432,2.029,11.419c16.157,23.757,31.934,48.809,31.934,70.969c0,32.38-12.817,62.458-37.073,86.969
l-0.541,0.551l-0.13,0.748c-12.222,71.897-36.672,150.451-103.765,150.451v1.518c70.499,0,95.847-76.844,108.416-150.455
c24.803-25.336,37.937-56.355,37.937-89.781c0-23.537-16.19-49.311-32.774-73.694c-1.151-1.698-1.19-5.061-1.19-8.37
c0-0.109,0.004-0.537,0.004-0.646c0-3.567-0.041-7.221-1.471-9.91C398.053,131.18,366.71,112.64,311.51,112.64v2.449H311.507
L311.507,115.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">
<linearGradient id="SVGID_17_" gradientUnits="userSpaceOnUse" x1="-749.6116" y1="335.9512" x2="-687.9983" y2="335.9512" gradientTransform="matrix(1 0 0 1 858.79 0.3506)">
<stop offset="0" style="stop-color:#571A54"/>
<stop offset="0.2641" style="stop-color:#7C5378"/>
<stop offset="0.528" style="stop-color:#A78AA3"/>
@@ -281,10 +283,10 @@
<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"/>
<path fill="url(#SVGID_17_)" d="M109.178,338.035c9.592-7.824,34.694,4.861,34.833,4.861l26.78-8.396
C170.211,334.501,120.246,321.648,109.178,338.035z"/>
</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)">
<linearGradient id="SVGID_18_" gradientUnits="userSpaceOnUse" x1="-1081.0227" y1="320.6133" x2="-1063.3801" y2="320.6133" gradientTransform="matrix(-0.0113 -0.7169 1.2476 -0.0198 -98.6661 -397.1379)">
<stop offset="0" style="stop-color:#D9AF82"/>
<stop offset="0.0786" style="stop-color:#DFB791"/>
<stop offset="0.2053" style="stop-color:#E7C1A5"/>
@@ -293,10 +295,10 @@
<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
<path opacity="0.36" fill="url(#SVGID_18_)" enable-background="new " d="M313.352,358.851c6.074-0.1,11.045,2.654,11.102,6.15
c0.06,3.49-4.829,6.398-10.907,6.498c-6.076,0.1-11.045-2.658-11.105-6.154C302.388,361.853,307.269,358.947,313.352,358.851z"/>
<path fill="#483218" d="M397.109,309.378c15.699-3.76,26.445-18.402,20.099-27.063c-38.738,19.354-75.295,11.369-85.529,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"/>
<path fill="#B4B4B4" d="M310.92,73.714c-38.372,0-93.116,22.758-117.549,74.944c-6.089,12.999-6.656,32.87,0.64,45.014
c0,0,18.604-81.43,108.229-86.494"/>
</svg>

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
data/images/add.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 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: 8.3 KiB

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: 4.4 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/collapse.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
data/images/configure.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

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

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