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

Compare commits

...

3223 Commits

Author SHA1 Message Date
Dominik Schmidt
512153dca3 Fix RTMP streams 2016-04-13 17:23:40 +02:00
Dominik Schmidt
ec88cf27f3 Fix getResponseHeader to correctly return values for case-insensitive headers 2016-04-13 13:59:35 +02:00
Dominik Schmidt
931562fbe5 Fix getResponseHeader for native requests. Needs discussion what's the cross platform way forward 2016-04-13 13:17:38 +02:00
Christian Muehlhaeuser
77593e32a7 Don't refresh collection every single time we're about to show the page. 2016-04-12 20:05:13 +02:00
Christian Muehlhaeuser
bac38e4555 Coding style in SeekSlider.cpp. 2016-04-12 15:55:33 +02:00
Christian Muehlhaeuser
980ee97c97 Merge pull request #332 from tmwoz/master
Fix for next track not getting triggered when seeking to/past the end with a mouse
2016-04-12 15:45:07 +02:00
Christian Muehlhaeuser
26ad51f4b8 Removed Qt5 warning. It's our default now. 2016-04-12 14:31:08 +02:00
Christian Muehlhaeuser
21bdb0bc89 Show up to 50 top tracks per artist. 2016-04-12 14:23:18 +02:00
Christian Muehlhaeuser
0a560f2f27 Fixed compiler warnings for QMetaType comparison. 2016-04-12 14:11:41 +02:00
Christian Muehlhaeuser
9c9f5e4dae Added Anton Romanov and Stefan Ahlers to our about-dialog. Well deserved guys, thanks for all the amazing work. 2016-04-05 11:37:44 +02:00
Christian Muehlhaeuser
fb38735936 Style fix in Pipeline. 2016-04-05 11:34:45 +02:00
Dominik Schmidt
c62ae52bfe Fix Zeroconf with recent Qt5 2016-04-02 13:45:08 +02:00
Dominik Schmidt
0341492069 Fix #458: Completely disable BUY buttons in GridItemDelegate instead of only making them invisible 2016-04-02 13:28:56 +02:00
Dominik Schmidt
879df894c3 Merge pull request #465 from mrmaffen/master
Fixed a bug in fake xhr's getResponseHeader function. Plus some compat fixes for th android
2016-04-02 11:59:35 +02:00
Dominik Schmidt
0c9f1be2c8 Prevent users from compiling Tomahawk with Qt4 2016-03-27 12:07:08 +02:00
Teo Mrnjavac
f7a3d441a1 Update libcrashreporter-qt submodule for build fix. 2016-03-25 11:46:19 +01:00
Teo Mrnjavac
e9a1135525 Update libcrashreporter-qt submodule. 2016-03-25 10:08:45 +01:00
Teo Mrnjavac
bdce4f7636 Probably shouldn't be inline. 2016-03-21 11:29:23 +01:00
Teo Mrnjavac
de65e19cb7 Use a sans serif antialiased font in the artist bio view. 2016-03-09 14:34:20 +01:00
Teo Mrnjavac
ce3647a4a6 Scale up artist bio font size with DpiScaler to make it always readable 2016-03-09 13:44:45 +01:00
Enno Gottschalk
f498570a0e Fixed a bug in fake xhr's getResponseHeader function. Plus some compat fixes for th android 2016-03-04 19:34:03 +01:00
Enno Gottschalk
9a741cd2db Czeched, polished and finnished 2016-03-02 17:11:01 +01:00
Enno Gottschalk
102c9c6846 Make testConfig great again! 2016-03-02 16:14:27 +01:00
Dominik Schmidt
1fa35ae827 Go back to former VLC build as the new build is crashy 2016-02-25 23:10:07 +01:00
Dominik Schmidt
26c0f35d21 Wrap error message in account config 2016-02-25 03:46:44 +01:00
Dominik Schmidt
9acbb48659 If sign_step.sh exists, require it to succeed 2016-02-25 02:52:25 +01:00
Dominik Schmidt
cc9f287b41 Don't rely on target names for export macros 2016-02-23 17:20:31 +01:00
Dominik Schmidt
99abd7434b Don't hardcode app id for vlc 2016-02-23 16:14:10 +01:00
Dominik Schmidt
f38f3ca367 Linux: Fix icon installation 2016-02-23 16:14:10 +01:00
Christian Muehlhaeuser
773ecea0da Be less verbose in SourceTreeView. 2016-02-23 02:24:10 +01:00
Christian Muehlhaeuser
620d3fe3fc Style fixes in SourceTreeView. 2016-02-23 02:23:47 +01:00
Christian Muehlhaeuser
8679fd5055 Style fix in CollectionViewPage. 2016-02-23 02:23:19 +01:00
Christian Muehlhaeuser
d7eccea4c0 Remove obsolete method in SourceTreeView. 2016-02-23 02:22:53 +01:00
Christian Muehlhaeuser
2ab9418a9e Don't paint a hover background during drag & drop, when you can't drop something on a sidebar item, e.g. groups, labels etc. 2016-02-23 02:15:45 +01:00
Christian Muehlhaeuser
285333d43b Blur the collection header background, so the labels stand out a bit more. 2016-02-23 01:20:35 +01:00
Christian Muehlhaeuser
3bcf854a4f Updated ChangeLog. 2016-02-22 22:32:54 +01:00
Christian Muehlhaeuser
61a15cafac Speed up drag & drop moves over sidebar. 2016-02-22 22:31:34 +01:00
Christian Muehlhaeuser
2d141ccb5e Style fix in SoureTreeView. 2016-02-22 22:31:34 +01:00
Christian Muehlhaeuser
4c023b7d2f Style fix in XspfUpdater. 2016-02-22 22:31:34 +01:00
Christian Muehlhaeuser
ceb5dc6aa4 Style fix in main.cpp. 2016-02-22 22:31:34 +01:00
Christian Muehlhaeuser
13fa9c7c53 Merge pull request #448 from tomahawk-player/vlc-volume-fix
Fix #441: Handle VLC volume and muted state properly
2016-02-22 22:31:04 +01:00
Dominik Schmidt
4c946b304c Fix #451: Can't select crash ID in the crash report UI 2016-02-22 22:02:54 +01:00
Dominik Schmidt
5075c9ddbf Fix compilation with libvlc < 2.2.2 2016-02-22 16:10:47 +01:00
Dominik Schmidt
8b3a916aa6 Update VLC for Windows 2016-02-22 16:10:47 +01:00
Dominik Schmidt
cd412add8f Persist muted state accross restarts 2016-02-22 16:10:47 +01:00
Dominik Schmidt
68851843f5 Unmute AudioOutput on start up 2016-02-22 16:10:47 +01:00
Dominik Schmidt
af8811af30 Fix volume on external (un)muting 2016-02-22 16:10:47 +01:00
Dominik Schmidt
fa38ed5e91 Sync muted state as well 2016-02-22 16:10:47 +01:00
Dominik Schmidt
b7ff630808 Sync audio volume if it's changed externally in vlc 2016-02-22 16:10:47 +01:00
Dominik Schmidt
196256d77b Fix startup volume for good 2016-02-22 16:10:47 +01:00
Dominik Schmidt
79cd3a7f0a Revert "Fix startup volume for good"
This reverts commit 86cd7c1be0.
2016-02-22 16:10:20 +01:00
Dominik Schmidt
f0f45673b1 Fix #419: Fix HLS streams on Windows (e.g. Amazon Prime Music) 2016-02-22 16:09:11 +01:00
Dominik Schmidt
86cd7c1be0 Fix startup volume for good 2016-02-22 00:10:17 +01:00
Dominik Schmidt
f74c6ae429 Fix #446: Fix compilation with Qt4 2016-02-21 18:06:14 +01:00
Dominik Schmidt
015b24479c Fix crash in context menu 2016-02-21 11:12:17 +01:00
Jason Herskowitz
8b904cf806 Make folder icon match other context menu icons 2016-02-19 10:04:32 -05:00
Christian Muehlhaeuser
175e498c43 Use folder icon for file manager in context menu. 2016-02-19 04:48:42 +01:00
Jason Herskowitz
65908f9dfa Add folder icon 2016-02-18 22:35:42 -05:00
Christian Muehlhaeuser
3c9deb6389 A few improvements regarding VLC's weird mute state on startup. 2016-02-19 04:11:11 +01:00
Christian Muehlhaeuser
978c1e58de Fixed crash in ContextMenu and moved 'open file manager' action up. 2016-02-19 03:50:17 +01:00
Christian Muehlhaeuser
0722dd7812 Merge pull request #442 from tomahawk-player/open-in-file-manager
Add "Open File in File Manager..." context menu
2016-02-19 03:37:50 +01:00
Dominik Schmidt
ff34afb4e3 Fix #425: add "Open in Folder in File Manager..." context menu to local results 2016-02-18 16:02:16 +01:00
Dominik Schmidt
bd607b6c54 DRY in ContextMenu 2016-02-18 15:40:08 +01:00
Dominik Schmidt
81f7e3f8f4 consistency++: Pass track to linkGenerator instead of title 2016-02-18 14:14:21 +01:00
Christian Muehlhaeuser
798ca62190 When waiting for a query to resolve for playback, accept the earliest online result, preventing further playback delay. 2016-02-18 07:03:17 +01:00
Christian Muehlhaeuser
f2631cda74 Don't wait for resolving to finish if we want to play a track and already got some results. 2016-02-18 06:40:16 +01:00
Dominik Schmidt
4813698a9a Allow creating basic data types from QtConcurrent::run
When QObjects are created from QtConcurrent::run they live in a pooled thread that doesn't handle events/signals/slots properly
2016-02-18 00:52:48 +01:00
Christian Muehlhaeuser
dc80d19a08 Merge pull request #399 from tomahawk-player/things
Various download and branding improvements
2016-02-17 20:32:06 +01:00
Dominik Schmidt
93745b19ef Deployment scripts branding update 2016-02-17 19:37:46 +01:00
Dominik Schmidt
1b7b7ca4b3 Bump snorenotify requirement 2016-02-17 19:37:46 +01:00
Dominik Schmidt
3808e230d4 Make result more thread safe 2016-02-17 19:37:46 +01:00
Dominik Schmidt
0bdb8061e2 Do not set empty mimetype on results 2016-02-17 19:37:46 +01:00
Dominik Schmidt
87278456f4 Add download context menu to all playlist views but database collections 2016-02-17 19:37:46 +01:00
Dominik Schmidt
a5693d6663 Workaround preview widget flicker in column view 2016-02-17 19:37:46 +01:00
Dominik Schmidt
6416b34e8c Don't reset column sort order on collection updated 2016-02-17 19:37:45 +01:00
Dominik Schmidt
f95bd4aab8 Correctly paint hover state in DropDownButton 2016-02-17 19:37:45 +01:00
Dominik Schmidt
996d112ebb Fix DropDownButton font size and boldness 2016-02-17 19:37:45 +01:00
Dominik Schmidt
fc413ac103 Fix download all assert/crash 2016-02-17 19:37:45 +01:00
Dominik Schmidt
2020aad725 Download and branding improvements 2016-02-17 19:37:33 +01:00
Christian Muehlhaeuser
198201aec2 Don't try to reset hover-state if there is none. This speeds up collection browsing. 2016-02-17 12:15:24 +01:00
Christian Muehlhaeuser
6b84630ba1 Reset GridView's hover-state on wheel event. 2016-02-17 12:15:24 +01:00
Christian Muehlhaeuser
205dfca60d Don't use native windows for each widget. This is insane. Thanks Domme for figuring this out. 2016-02-17 01:57:39 +01:00
Dominik Schmidt
ca2da81132 Don't parse artists/albums for non-fulltext queries 2016-02-16 17:11:52 +01:00
Dominik Schmidt
08004ddbd4 Allow returning arrays or maps from resolve/search in JS 2016-02-16 16:47:58 +01:00
Dominik Schmidt
4dadbb5acd Support album and artist results in JSResolvers 2016-02-16 14:53:39 +01:00
Christian Muehlhaeuser
dee504c997 Use correct units for filesize. 2016-02-16 14:40:25 +01:00
Christian Muehlhaeuser
81dae62349 Merge pull request #438 from tomahawk-player/makeresolverdevelopmentgreatagain-wip
Add "Open Account Debugger" menu to ScriptAccounts in SettingsDialog
2016-02-16 02:00:41 +01:00
Dominik Schmidt
3c00f36df6 Add ScriptAccount debugger menu to SettingsDialog/AccountListWidget 2016-02-16 01:59:45 +01:00
Christian Muehlhaeuser
f13ea2f6df Merge pull request #436 from tomahawk-player/makeresolverdevelopmentgreatagain
Show debugger for script errors
2016-02-15 17:04:25 +01:00
Dominik Schmidt
2f4eb75745 Show debugger (WebInspector for JS) when clicking script errors 2016-02-14 13:50:05 +01:00
Dominik Schmidt
942eded60d Make JobStatusItems clickable 2016-02-14 13:41:20 +01:00
Dominik Schmidt
1b2ec05ea3 Move infoplugin wrong thread log message above assert 2016-02-12 22:16:42 +01:00
Dominik Schmidt
3875b10bb4 Don't leak spotify info plugin 2016-02-12 22:13:58 +01:00
Dominik Schmidt
f396f59922 Fix xmpp info plugin 2016-02-12 22:13:39 +01:00
Dominik Schmidt
7271a95942 Add friendlyName to XMPP info plugin 2016-02-12 22:12:54 +01:00
Dominik Schmidt
9737b7a8bc Make InfoPluginPtr a QSharedPointer 2016-02-12 21:37:47 +01:00
Dominik Schmidt
d87f966d9e Merge pull request #429 from midzer/patch1
erasing in an iteration and pass by reference
2016-02-10 12:11:23 +01:00
Dominik Schmidt
cb3ccd5a76 Protect m_formats access with mutex in Result 2016-02-10 00:21:31 +01:00
Dennis
f81858e28a pass by reference 2016-02-10 00:07:09 +01:00
Dennis
8fbc0319ba Erase elements from QStringList safely 2016-02-09 23:59:43 +01:00
Christian Muehlhaeuser
e7d83835d2 What a typo. 2016-02-07 11:39:04 +01:00
Christian Muehlhaeuser
6035889b90 Coding style. 2016-02-06 07:07:53 +01:00
Christian Muehlhaeuser
2bb0113515 Make sure Query's resultSorter provides stable sorting. 2016-02-06 07:07:53 +01:00
Christian Muehlhaeuser
8ee8721dda Merge pull request #423 from cash/patch-1
fixed a typo in PlaydarApi documentation
2016-02-02 00:30:35 +01:00
Cash Costello
293b3b1b4f fixed a typo in PlaydarApi documentation 2016-02-01 18:01:29 -05:00
Dominik Schmidt
ba0cc1a00c Don't assert for linkParser plugins, placeholder for real implementation 2016-02-01 15:18:06 +01:00
Dominik Schmidt
759bfbe63b Merge pull request #388 from theli-ua/nonalphanum
Improve track matching with non-alphanum character differences
2016-01-29 00:58:20 +01:00
Anton Romanov
e3877bf0bf Improve track matching with non-alphanum character differences 2016-01-28 15:52:15 -08:00
Dominik Schmidt
f1cf645f31 Ship D3DCompiler_43.dll to make QtDeclarative work 2016-01-28 22:16:11 +01:00
Dominik Schmidt
62dea3a196 Merge pull request #416 from theli-ua/resolver_sort
only use resolvers to compare if there are resolvers tied to results
2016-01-28 00:44:50 +01:00
Dominik Schmidt
09f68fa2f5 Use v09 synchrotron 2016-01-28 00:34:57 +01:00
Anton Romanov
944827c48c only use resolvers to compare if there are resolvers tied to results 2016-01-27 15:01:45 -08:00
Dominik Schmidt
771b2f5ae1 Add resolve default implementation in Tomahawk.Resolver 2016-01-27 18:03:40 +01:00
Dominik Schmidt
d50c16740a Fix crash in parseResultVariantList for broken track data 2016-01-27 17:31:48 +01:00
Dominik Schmidt
a5968b58e5 Update dll names 2016-01-26 02:11:10 +00:00
Dominik Schmidt
5f20308177 Go back to lowercase installer names on windows 2016-01-26 02:10:53 +00:00
Dominik Schmidt
1710813dc8 Correct indentation in NSIS.template.in 2016-01-25 16:03:27 +01:00
Dominik Schmidt
7fd306ca07 Don't use processEvents and still don't block ui for loading a script collection 2016-01-25 16:03:27 +01:00
Christian Muehlhaeuser
bdaf1ef2f4 Merge pull request #405 from theli-ua/resolver_sort
Sort equal results by resolver's weight
2016-01-20 22:18:26 +01:00
Anton Romanov
c068d8c9e3 Left goes to the left, right to the right 2016-01-20 12:45:55 -08:00
Anton Romanov
1e6b8b3747 Fix sorting order 2016-01-19 16:35:38 -08:00
Anton Romanov
0535d09f08 Sort equal results by resolver's weight 2016-01-19 11:11:11 -08:00
Christian Muehlhaeuser
c93302c563 Revert "Process events while parsing potentially very long script responses"
This reverts commit 1025e77d3e.
2016-01-18 11:04:19 +01:00
Christian Muehlhaeuser
1192c668b0 Too much whitespace in debug output. 2016-01-18 11:03:09 +01:00
Dominik Schmidt
53b27d0ea1 Fix isDown state in ImageButton 2016-01-18 04:55:48 +01:00
Dominik Schmidt
9ebe155313 Clean up PlayableProxyModel::columnCount 2016-01-18 03:19:01 +01:00
Dominik Schmidt
ddf030037e Fix artist colum not being rearrangable 2016-01-18 03:15:00 +01:00
Dominik Schmidt
5d950bd139 Add colum mapping to PlayableProxyModel 2016-01-18 02:50:19 +01:00
Dominik Schmidt
eab1ccee74 Fix #381: Show scrollbars for biography as needed 2016-01-18 00:21:26 +01:00
Dominik Schmidt
1025e77d3e Process events while parsing potentially very long script responses 2016-01-18 00:21:09 +01:00
Christian Muehlhaeuser
53de4319b6 Merge pull request #400 from tomahawk-player/fix-dropdownbutton
Fix DropDownButton in Playlist view
2016-01-15 18:26:57 +01:00
Dominik Schmidt
4eee01d8bf Fix DropDownButton in Playlist view 2016-01-15 18:10:28 +01:00
Dominik Schmidt
5bd69fe09c Automatically link against libc++ if found and compiler is clang 2016-01-15 04:12:12 +01:00
Dominik Schmidt
0585acc869 Merge pull request #389 from TheOneRing/snore_next
Use Snore 0.7
2016-01-11 14:50:35 +01:00
Dominik Schmidt
8c8cd88388 OSX: Try to fix HLS 2016-01-11 14:48:14 +01:00
Dominik Schmidt
9e91ad6549 Reenable a bunch of plugins in OSX nightlies 2016-01-11 01:19:41 +01:00
Hannah von Reth
192627a4ea Update nsis for snore 2016-01-08 15:09:28 +01:00
Dominik Schmidt
ee1f19c34e Merge pull request #337 from TheOneRing/window-preview
[Proof of Concept] Album art as Windows window preview
2016-01-08 01:02:34 +01:00
Hannah von Reth
a41af0ed7f Use snorenotify from git 2016-01-07 20:18:23 +01:00
Dominik Schmidt
feffda8339 Build libtomahawk instead of libTomahawk on OSX 2016-01-07 15:20:58 +01:00
Dominik Schmidt
4b7f8929fd Fix OSX deployment 2016-01-07 15:20:58 +01:00
Dominik Schmidt
acdd0e3b9f Add type (collection/resolver) to resolve / search javascript arguments 2016-01-07 02:14:51 +01:00
Dominik Schmidt
4ba32e0add Add resolvers to diagnostics dialog 2016-01-07 00:43:11 +01:00
Dominik Schmidt
9b1b7be207 Fix lastfm infoplugin for usage without account 2016-01-07 00:42:46 +01:00
Dominik Schmidt
d7e5ce6e4e Put crashreporter topLabel text into Tomahawk instead of libcrashreporter-qt 2016-01-06 05:05:52 +01:00
Dominik Schmidt
684e5f3a58 Update libcrashreporter-qt once more 2016-01-06 04:27:20 +01:00
Dominik Schmidt
3d0584a351 Add comment text edit to crash reporter 2016-01-06 03:42:09 +01:00
Dominik Schmidt
2a43e9aba5 Fix what's new menu on Qt 5 on OS X 2016-01-06 02:16:05 +01:00
Dominik Schmidt
cde395edf0 Differentiate between removable and deletable viewpages to allow showing whatsnew-page after removing it 2016-01-06 01:18:27 +01:00
Dominik Schmidt
5aa875c40a Stop JSResolverHelper on destruction and block any calls 2016-01-05 22:49:31 +01:00
Dominik Schmidt
e4146c98c7 ScriptEngine is already parented, don't track in a smart pointer 2016-01-05 22:49:31 +01:00
Dominik Schmidt
d2dc01e6a3 Update libcrashreporter to show crash id after upload 2016-01-04 22:49:16 +01:00
Jason Herskowitz
8fbd3b9872 Clean up nav icons in mac toolbar 2015-12-23 20:57:17 -05:00
Christian Muehlhaeuser
ac4debbe02 Merge pull request #358 from tomahawk-player/osx-fixes
[OSX] Various build adjustments
2015-12-22 19:12:48 +01:00
Dominik Schmidt
c4197374ca Fixed extracmakemodules instead of remove item hack 2015-12-22 19:02:37 +01:00
Dominik Schmidt
a36287c2ed Fix OSX bundle icon 2015-12-22 19:02:36 +01:00
Dominik Schmidt
054650743d No more Mr. Nice Guy, No more Mr. Cleaaaheean ... except today 2015-12-17 01:25:26 +01:00
Dominik Schmidt
ea55329c67 Add url click handler to push buttons in resolver configs 2015-12-17 01:07:12 +01:00
Dominik Schmidt
5a45bd0882 Small JS fixes 2015-12-15 01:11:04 +01:00
Dominik Schmidt
5395908cbe Merge pull request #339 from tomahawk-player/promisify-all-the-things
[WIP] Promisify JSResolver
2015-12-14 21:51:11 +01:00
Dominik Schmidt
213bf1cd08 Don't leak script jobs 2015-12-14 21:49:45 +01:00
Enno Gottschalk
efc31e6246 Fix Tomahawk.Collection.revision() stub function 2015-12-14 14:23:10 +01:00
Christian Muehlhaeuser
3d511b65e1 Better size for toolbar search-field on OS X. Not sure why the auto-sizing doesn't work as expected. 2015-12-13 10:18:44 +01:00
Enno Gottschalk
5a34bae757 Added stub Tomahawk.Collection.revision() function in tomahawk.js 2015-12-11 03:19:35 +01:00
Dominik Schmidt
0223fd5992 Ship hatchet account again. why was this disabled?! 2015-12-10 22:51:19 +01:00
Dominik Schmidt
66a2d3cb88 Fix snorenotify paths 2015-12-10 22:50:57 +01:00
Dominik Schmidt
75427a7af2 Fixup libs that were fixed up but aren't correct anymore (because they reference ../lib while we use ../Frameworks/ 2015-12-10 02:46:20 +01:00
Dominik Schmidt
92c66d7252 Fix snorenotify plugin lookup path 2015-12-10 02:45:47 +01:00
Dominik Schmidt
2afc578d7a Fix qt5 plugin lookup path 2015-12-10 02:45:36 +01:00
Dominik Schmidt
0791937032 Fixup last commit 2015-12-09 13:44:11 +01:00
Dominik Schmidt
45c96e7367 Update VLC plugin paths 2015-12-09 13:44:11 +01:00
Dominik Schmidt
4d351168da Don't compile 64x64 icon into OSX iconset 2015-12-09 13:44:11 +01:00
Dominik Schmidt
86f08b307e Fix typo 2015-12-09 13:44:11 +01:00
Dominik Schmidt
99fe5c8e8e Look for keg-only libvlc 2015-12-09 13:44:11 +01:00
Dominik Schmidt
daf3034d99 Only look for and link against libvlc, not libvlccore 2015-12-09 13:44:11 +01:00
Dominik Schmidt
e8d73fe0cc Merge pull request #317 from TheOneRing/snorenotify-0.6
Snorenotify 0.6
2015-12-09 13:20:42 +01:00
Christian Muehlhaeuser
de78768be6 Delay AudioControls repaint until we've updated all elements. Looks smoother. 2015-12-05 09:38:26 +01:00
Dominik Schmidt
d0c1d83f90 Remove more comp hacks 2015-11-21 16:36:10 +01:00
Hannah von Reth
ca379868dc Use qApp->applicationName() for default text 2015-11-21 01:18:09 +01:00
Hannah von Reth
cf7194407b Center text 2015-11-21 01:15:04 +01:00
Hannah von Reth
365a021a29 Remove linebreak 2015-11-21 01:04:37 +01:00
Hannah von Reth
c39750d814 Fix text 2015-11-21 01:01:36 +01:00
Hannah von Reth
6d12f03023 Outline elements and change font colour 2015-11-21 00:55:22 +01:00
Dominik Schmidt
03935f26a9 Use ordinary wrapper function for testConfig 2015-11-21 00:45:17 +01:00
Dominik Schmidt
e697303743 Properly log errors to javascript console 2015-11-21 00:45:03 +01:00
Hannah von Reth
e4f55da2b2 Update preview design 2015-11-21 00:18:49 +01:00
Dominik Schmidt
576c91eb19 Set *pretty* collection name as result friendly source 2015-11-21 00:13:36 +01:00
Dominik Schmidt
6823b57823 Show friendlySource in alternate sources box tooltips 2015-11-21 00:13:36 +01:00
Dominik Schmidt
88099eae0e Don't use collectionId from resolvers anymore 2015-11-21 00:13:35 +01:00
Dominik Schmidt
8679713dea Remove more leftovers from the old collection hack 2015-11-21 00:13:35 +01:00
Dominik Schmidt
a589e4f688 Expect javascript resolvers to return "tracks" instead of "results" 2015-11-21 00:13:31 +01:00
Hannah von Reth
f3021e4d71 Change preview look and update less often. 2015-11-20 22:36:52 +01:00
Hannah von Reth
c577073f57 Hacked together an album art preview for the thumb bar and alt+tab 2015-11-20 22:36:52 +01:00
Hannah von Reth
e746b4c3e9 Remove dead code 2015-11-20 22:36:52 +01:00
Dominik Schmidt
16946592b7 Allow script jobs to return object members directly if they are not functions 2015-11-20 22:15:26 +01:00
Dominik Schmidt
f3c8038c42 Remove legacy hack 2015-11-20 22:15:26 +01:00
Dominik Schmidt
4637f3ed23 Make collections able to resolve queries 2015-11-20 22:15:24 +01:00
Dominik Schmidt
dc32f7eeb1 Remove legacy hacks and add useful error 2015-11-19 13:38:23 +01:00
Dominik Schmidt
e997a194a4 Add nativeScriptJob errors 2015-11-19 06:20:28 +01:00
Dominik Schmidt
e8aa2e6de9 Make params for nativeScriptJobs optional 2015-11-19 06:20:09 +01:00
Dominik Schmidt
29aa9546a8 Allow instantaneous returns for nativeScriptJobs 2015-11-19 06:19:53 +01:00
Dominik Schmidt
17d71b413f Implement Tomahawk.ajax native implementation on behalf of NativeScriptJobs 2015-11-19 05:39:07 +01:00
Dominik Schmidt
3db8e91b51 Bye bye syncRequest 2015-11-19 05:36:05 +01:00
Dominik Schmidt
1b4efa8f4a Bye bye callOnResolver 2015-11-19 01:44:54 +01:00
Dominik Schmidt
90d6f0d4e5 Set collectionId on results from Tomahawk.Collection 2015-11-19 01:24:07 +01:00
Dominik Schmidt
dde7db616a Use getStreamUrl on ResultProviders instead of awkward custom iodevicefactories 2015-11-19 01:23:38 +01:00
Dominik Schmidt
30789bcb9b Add getStreamUrl translation step in AudioEngine 2015-11-17 03:12:12 +01:00
Dominik Schmidt
64f71fe453 Forward declare ResultProvider in Result 2015-11-17 02:50:00 +01:00
Dominik Schmidt
c1eadce374 Move lookupUrl stuff from JSResolverHelper to JSResolver, to be moved to own plugin type 2015-11-16 18:19:51 +01:00
Enno Gottschalk
73a1160ce3 Added empty default implementation of testConfig() to Tomahawk.Resolver in tomahawk.js 2015-11-13 16:37:56 +01:00
Dominik Schmidt
846699c03c Don't wait for timeouts on resolver errors 2015-11-13 14:12:12 +01:00
Dominik Schmidt
35d8945975 Port JSResolver::resolve() 2015-11-13 13:20:52 +01:00
Enno G
39eda52f05 Merge pull request #338 from theli-ua/testconfig
Fix testConfig on 0.9
2015-11-12 19:21:33 +01:00
Anton Romanov
e79ec4d2af Fix testConfig on 0.9 2015-11-10 09:12:11 -08:00
Jason Herskowitz
d4c3f24232 Add website to About Tomahawk diaog 2015-11-08 17:20:04 -05:00
Dominik Schmidt
07752fe9f0 Proper fix for websocketpp crash 2015-11-08 22:04:10 +01:00
Dominik Schmidt
6c8581fcb2 Fix websocketpp crash o.O 2015-11-08 21:44:45 +01:00
Dominik Schmidt
f680e7f44b Merge pull request #334 from TheOneRing/ecm
Use ECMAddAppIcon instead of the copy of the kde4 macro.
2015-11-05 17:13:26 +01:00
Dominik Schmidt
b0fac41c27 Get rid of warnings 2015-11-05 17:07:10 +01:00
Dominik Schmidt
186d98b263 Update shipped dependencies in NSIS 2015-11-05 16:29:35 +01:00
Dominik Schmidt
0b7d3846e5 There's no such thing MING 2015-11-05 16:28:00 +01:00
Hannah von Reth
84e0754bd7 Install snoresettings as "Notification Settings".
This enables the user to change the notification backend
and to configure the banckend.
Opening the shortcut will only work after Tomahawk was started
for a first time to initialize the settings.
An alternative would be to call snoresettings.exe from inside of
Tomahawk or to use the QWidget provided by libsnore.
2015-11-05 13:38:42 +01:00
Hannah von Reth
c838af6d17 Update to Snorenotify 0.6 2015-11-05 12:54:20 +01:00
Enno Gottschalk
77e5704a2a Fix playback issue in tomahawk.js (Tomahawk.Resolver#_adapter_init) 2015-11-02 17:28:35 +01:00
Tomahawk CI
95e937c927 Automatic merge of Transifex translations 2015-10-31 09:45:07 +01:00
Tomahawk CI
fac34b3afd Automatic merge of Transifex translations 2015-10-30 09:45:02 +01:00
Tomahawk CI
4ceefcb51b Automatic merge of Transifex translations 2015-10-29 09:45:04 +01:00
Christian Muehlhaeuser
7efbd37d6a Use default font size to paint sources in sidebar. 2015-10-29 04:59:59 +01:00
Christian Muehlhaeuser
f7c3f25d8e Don't style ContextView's scrollbar on OSX. 2015-10-29 03:05:50 +01:00
Christian Muehlhaeuser
6f3b4b4522 Make sure we use the current font metrics when eliding text in TrackView. 2015-10-29 02:55:45 +01:00
Dominik Schmidt
9da87be6a8 Fix compilation on windows and linux 2015-10-28 21:30:01 +01:00
Tomahawk CI
7cb4540c8f Automatic merge of Transifex translations 2015-10-28 09:45:10 +01:00
Christian Muehlhaeuser
eb84e95b16 Use the native toolbar on OSX. 2015-10-28 05:42:35 +01:00
Christian Muehlhaeuser
c3fae06012 Tomahawk::setupToolBarMac() provides a native NSToolBar on OSX. 2015-10-28 05:42:35 +01:00
Christian Muehlhaeuser
a64d038dba Don't set a window icon on OSX and don't try to use the unified toolbar anymore. 2015-10-28 05:42:35 +01:00
Christian Muehlhaeuser
7b4c46cf67 Update to newer Qocoa versions of QSearchField. 2015-10-28 05:42:35 +01:00
Dominik Schmidt
866d9b6af3 Be more explicit about which getStreamUrl function to call 2015-10-27 13:31:47 +01:00
Enno Gottschalk
2bb787b930 Remove dead js collection migrator code in tomahawk.js 2015-10-26 22:04:13 +01:00
Tomahawk CI
7316557920 Automatic merge of Transifex translations 2015-10-24 11:47:28 +02:00
Tomahawk CI
a6870ede2b Automatic merge of Transifex translations 2015-10-23 10:33:49 +02:00
Tomahawk CI
1d698ad969 Automatic merge of Transifex translations 2015-10-19 08:54:22 +02:00
Tomahawk CI
44e6075301 Automatic merge of Transifex translations 2015-10-18 08:54:40 +02:00
Christian Muehlhaeuser
8a98968148 Merge pull request #335 from samuelrey/master
Ctrl-N and Ctrl-S Shortcuts
2015-10-18 04:35:14 +02:00
Samuel Rey
566c655ac6 Added Ctrl-N and Ctrl-S shortcuts for new playlist and station, respectively. 2015-10-17 19:21:36 -07:00
Tomahawk CI
60a3a13262 Automatic merge of Transifex translations 2015-10-17 08:54:19 +02:00
Tomahawk CI
aa4504d5b5 Automatic merge of Transifex translations 2015-10-16 08:54:33 +02:00
Hannah von Reth
549193bdd0 Use ECMAddAppIcon instead of the copy of the kde4 macro. 2015-10-15 13:14:51 +02:00
Dominik Schmidt
4d68434976 Merge pull request #333 from mrmaffen/master
Merge tomahawk.js from tomahawk-android + some fixes
2015-10-14 10:09:26 +02:00
Enno Gottschalk
b7e5e934cb Add deprecation notices to TomahawkResolverCapability and related type declarations 2015-10-14 03:13:04 +02:00
Enno Gottschalk
bfca7635e0 Get rid of outdated example resolver comment in tomahawk.js 2015-10-14 03:13:04 +02:00
Enno Gottschalk
dee8ac4634 Fix typo in tomahawk.js 2015-10-14 03:13:04 +02:00
Enno Gottschalk
01acd34c2e Always explicitely use RSVP.Promise to avoid any incompatibilities 2015-10-14 03:13:04 +02:00
Enno Gottschalk
f8516f2a86 Fix bug in tomahawk.js#Tomahawk.ajax if dataType != "json" 2015-10-14 03:13:04 +02:00
Enno Gottschalk
f89439a46a Some style fixes in tomahawk.js 2015-10-14 03:13:04 +02:00
Enno Gottschalk
ee8c687577 Merge changes in tomahawk.js from tomahawk-player/tomahawk-android 2015-10-14 03:13:04 +02:00
Enno Gottschalk
cb0fa7d807 Hardcode simultaneous query limit to 24 2015-10-14 03:12:50 +02:00
Tomahawk CI
61c0b66e94 Automatic merge of Transifex translations 2015-10-11 08:55:21 +02:00
Dominik Schmidt
731973076d Fix weird OSX target names 2015-10-11 00:00:40 +02:00
Dominik Schmidt
1758a7aeef Fix tools build on OSX 2015-10-10 21:37:13 +02:00
Christian Muehlhaeuser
ed5b4b25ec Merge pull request #325 from tomahawk-player/branding
Branding and download manager updates
2015-10-10 21:12:12 +02:00
Christian Muehlhaeuser
de820a722a Who needs consistency anyway. Changed to check if QT_NO_OPENSSL is not defined instead. 2015-10-09 17:53:52 +02:00
Christian Muehlhaeuser
1c99e2abbc Unbreak QXT with SecureTransport on OSX. 2015-10-09 17:36:30 +02:00
Tomasz Woźniak
1b0517efc5 moved the fix to include seeking via position 2015-10-05 22:01:50 +02:00
Tomasz Woźniak
e6a8a41c31 added quick fix for libvlc not seeking correctly to an end for some tracks 2015-10-05 20:04:17 +02:00
Tomasz Woźniak
193beda2bc handle case when user seeks past the slider's end 2015-10-05 00:47:26 +02:00
Tomahawk CI
282b876332 Automatic merge of Transifex translations 2015-10-03 08:54:57 +02:00
Dominik Schmidt
bfe30fd983 Merge pull request #330 from theli-ua/api
[tomahawk.js]Remove some excessive logging
2015-09-25 21:34:08 +02:00
Anton Romanov
31539e87d7 [tomahawk.js]Remove some excessive logging 2015-09-25 11:59:43 -07:00
Tomahawk CI
f14697159e Automatic merge of Transifex translations 2015-09-24 08:55:21 +02:00
Dominik Schmidt
69d060de38 Merge pull request #326 from theli-ua/api
First attempt at 0.9 js resolver API
2015-09-24 01:28:22 +02:00
Dominik Schmidt
5079758d1d Merge pull request #329 from theli-ua/201
Consider 201 http status as a success
2015-09-22 12:24:14 +02:00
Tomahawk CI
f2f85c2fbd Automatic merge of Transifex translations 2015-09-22 08:55:06 +02:00
Anton Romanov
09c4c7cac9 Consider 201 http status as a success 2015-09-21 16:11:32 -07:00
Dominik Schmidt
a26522bc46 Merge pull request #328 from glaxx/patch-1
Updated (broken) TagLib Link
2015-09-21 08:58:28 +02:00
Glaxx
950acfefdc Updated (broken) TagLib Link 2015-09-19 21:24:32 +02:00
Anton Romanov
011bfdaef0 Implement Tomahawk.localStorage 2015-09-17 17:18:09 -07:00
Anton Romanov
2db6080731 [api 0.9] fix track number in collection, add release year and bitrate to collection storage 2015-09-17 16:54:35 -07:00
Anton Romanov
f2c652c1e9 Fix accidentally deleted line 2015-09-17 16:27:57 -07:00
Anton Romanov
b12df536ad [0.9 api]Fix built-in custom url 2015-09-16 12:09:59 -07:00
Leo Franchi
4f8a3a9054 Build on Q_OS_MAC64 2015-09-13 12:16:18 -07:00
Anton Romanov
ddffd7c935 [0.9 api]Report all browse capabilities for builtin collection implementation 2015-09-11 23:52:52 -07:00
Anton Romanov
39ea028518 Revert "[api 0.9] support all layouts for collections by default"
This reverts commit 079f793b74.
2015-09-11 23:45:58 -07:00
Anton Romanov
46bbe7ac74 [0.9 api]Implement albums view for collections 2015-09-11 14:00:29 -07:00
Anton Romanov
079f793b74 [api 0.9] support all layouts for collections by default 2015-09-11 12:22:30 -07:00
Anton Romanov
7171d475a2 [0.9 api] use collection for search 2015-09-10 18:54:37 -07:00
Tomahawk CI
58965c70fe Automatic merge of Transifex translations 2015-09-11 02:17:56 +02:00
Anton Romanov
0501ab1e2b [0.9 api]Support non-relative icon paths 2015-09-10 16:34:53 -07:00
Anton Romanov
4a3c5a5b78 [0.9 api]always register custom url handler for resolver 2015-09-10 15:58:07 -07:00
Anton Romanov
82dcb959d9 Use prettyname if description is missing in collection's settings, save trackcount when updating index 2015-09-10 15:13:43 -07:00
Anton Romanov
1d750b25a9 First attempt at 0.9 js resolver API 2015-09-09 22:49:16 -07:00
Tomahawk CI
af06850f12 Automatic merge of Transifex translations 2015-09-10 02:18:00 +02:00
Dominik Schmidt
24c8bd7a90 Go back to more complicated .. but qt5 handling findquazip 2015-09-07 01:54:37 +02:00
Dominik Schmidt
a7c9cea3e6 Add branding in TomahawkUtils 2015-09-07 01:51:09 +02:00
Dominik Schmidt
28722052bf Branding and download manager updates 2015-09-07 01:50:57 +02:00
Dominik Schmidt
aafff617e5 Branding and download manager updates 2015-09-06 22:38:20 +02:00
Dominik Schmidt
37512055e1 Revert "Cleanup config setup to make sure defines are set before config.h is generated."
This reverts commit 16b4cb93d8.
2015-09-06 21:55:50 +02:00
Tomahawk CI
dc1ff80bfc Automatic merge of Transifex translations 2015-09-05 02:17:40 +02:00
Leo Franchi
0233c85f66 Fix OS X build 2015-09-04 09:42:13 -07:00
Dominik Schmidt
b5355b846e Merge pull request #324 from TheOneRing/fix_logger_default_mingw
Fix build of Logger.cpp with an unpatched version of gcc on Windows.
2015-09-04 15:45:00 +02:00
Patrick von Reth
dab59cb205 Remove comment about implementing a test for wchar_t suport in ofstream 2015-09-04 15:32:28 +02:00
Patrick von Reth
d54fc628f7 Fix case for QTSPARKLE_FOUND define. 2015-09-04 15:30:04 +02:00
Patrick von Reth
e13f996382 FOO_FOUND is uppercase. 2015-09-04 15:28:58 +02:00
Patrick von Reth
c8c1affca2 Only try to build with QtSparkle if it has been found. 2015-09-04 14:57:36 +02:00
Patrick von Reth
16b4cb93d8 Cleanup config setup to make sure defines are set before config.h is generated. 2015-09-04 14:55:37 +02:00
Patrick von Reth
7caee33dcc ofstream is in std:: 2015-09-04 13:46:52 +02:00
Patrick von Reth
74b4e2ec16 Fix build of Logger.cpp with an unpatched version of gcc on Windows. 2015-09-04 13:02:46 +02:00
Dominik Schmidt
49e0c1bc7a Merge pull request #323 from TheOneRing/fix-find-echonest-no-pc
Set echonest version if the version could not be detected.
2015-09-04 12:24:56 +02:00
Patrick von Reth
dda90de1b5 Set echonest version if the version could not be detected. 2015-09-04 12:21:05 +02:00
Dominik Schmidt
99fc5e2927 Merge pull request #322 from theli-ua/utf8
Properly encode post data as UTF8 in nativeasyncrequest
2015-09-04 00:37:49 +02:00
Anton Romanov
5776ff0828 Properly encode post data as UTF8 in nativeasyncrequest 2015-09-03 15:33:23 -07:00
Dominik Schmidt
b3f63094b9 Fix windows installer 2015-09-03 19:05:48 +02:00
Dominik Schmidt
f2a291fe2e Fix snorenotify plugin path 2015-09-03 15:43:48 +02:00
Dominik Schmidt
9647faaf47 Merge pull request #321 from TheOneRing/fix_shortcut
Fix creation of Tomahawk Shortcuts with snorenotify.
2015-09-03 13:01:51 +02:00
Patrick von Reth
22709a5a7a Use correct nsis include 2015-09-03 13:00:37 +02:00
Patrick von Reth
ed468e5a3f Fix creation of Tomahawk Shortcuts with snorenotify. 2015-09-03 13:00:36 +02:00
Dominik Schmidt
9a61278ee3 Merge pull request #320 from TheOneRing/fix_winver
Try to fix WinVer.nsh for nsis2
2015-09-02 20:08:44 +02:00
Patrick von Reth
0aed7b6a8a Try to fix WinVer.nsh for nsis2 2015-09-02 19:52:00 +02:00
Dominik Schmidt
8a24dfd57c Merge pull request #319 from TheOneRing/fix_lnk_install
Only use snoretoast to create the shortcut if we are on Win8 or later.
2015-09-02 12:43:53 +02:00
Patrick von Reth
4f9ba057dc Only use snoretoast to create the shortcut if we are on Win8 or later. 2015-09-02 12:36:18 +02:00
Dominik Schmidt
e7417e44ec Merge pull request #318 from pinak/master
Compare taglib version properly
2015-09-02 11:46:40 +02:00
Pinak Ahuja
ee4656383a Compare taglib version properly 2015-09-02 14:41:00 +05:30
Dominik Schmidt
ad1c9ff847 Merge pull request #316 from theli-ua/user_agent
Add ability for resolvers to specify user agent string
2015-09-01 22:44:47 +02:00
Christian Muehlhaeuser
35600021d7 Merge pull request #315 from theli-ua/fix_leak
Do not allocate zero-sized arrays to stop leaking them. Fix new[]/delete mismatch
2015-09-01 07:03:11 +02:00
Tomahawk CI
984554dda9 Automatic merge of Transifex translations 2015-08-27 02:17:48 +02:00
Anton Romanov
10fc1adf6e fix detection of content type for non-native requests 2015-08-19 16:18:18 -07:00
Anton Romanov
eaad1f28df Allow setting User-Agent via nativeAsyncRequest 2015-08-19 15:40:07 -07:00
Tomahawk CI
82c9f5cd52 Automatic merge of Transifex translations 2015-08-14 02:17:38 +02:00
Dominik Schmidt
d9fb4b4a8b Merge pull request #311 from theli-ua/htmldecode
Add htmldecode function
2015-08-12 00:29:50 +02:00
Tomahawk CI
5dd07795f2 Automatic merge of Transifex translations 2015-08-10 02:17:37 +02:00
Tomahawk CI
6e7260b700 Automatic merge of Transifex translations 2015-08-09 02:17:35 +02:00
Tomahawk CI
1056621a87 Automatic merge of Transifex translations 2015-08-08 02:17:44 +02:00
Tomahawk CI
d52f0b5e18 Automatic merge of Transifex translations 2015-08-07 02:17:37 +02:00
Tomahawk CI
f230dcbe00 Automatic merge of Transifex translations 2015-07-29 02:17:50 +02:00
Tomahawk CI
fc6ef15c67 Automatic merge of Transifex translations 2015-07-25 02:17:44 +02:00
Anton Romanov
c830644ba1 Do not allocate zero-sized arrays to stop leaking them. Fix new[]/delete mismatch 2015-07-24 15:13:02 -07:00
Tomahawk CI
c0af96fc98 Automatic merge of Transifex translations 2015-07-23 02:17:57 +02:00
Tomahawk CI
388e2f80de Automatic merge of Transifex translations 2015-07-17 02:17:32 +02:00
Christian Muehlhaeuser
d5064acccf Merge pull request #314 from wulfmeister/patch-2
remove grooveshark from readme
2015-07-16 07:55:58 +02:00
Tomahawk CI
251d85b224 Automatic merge of Transifex translations 2015-07-15 02:17:55 +02:00
Tomahawk CI
2f333ac7d7 Automatic merge of Transifex translations 2015-07-14 02:17:43 +02:00
Mitchell Wulfman
c246d56559 remove grooveshark from readme 2015-07-13 15:13:22 -04:00
Tomahawk CI
891e46907f Automatic merge of Transifex translations 2015-07-11 02:17:40 +02:00
Tomahawk CI
8f11239363 Automatic merge of Transifex translations 2015-07-10 02:17:40 +02:00
Stefan Derkits
52c9ff6b13 change EchonestGenerator to the new Genre API of libechonest
needs libechonest 2.3
2015-07-09 17:56:08 +02:00
Tomahawk CI
798fcf7025 Automatic merge of Transifex translations 2015-07-06 02:17:43 +02:00
Anton Romanov
d3c748c9ae Use xss safe version 2015-06-29 15:17:19 -07:00
Christian Muehlhaeuser
f289d11566 Don't show an empty-warning while still loading album page. 2015-06-24 14:51:28 +02:00
Christian Muehlhaeuser
f94949fe4a Add spacing before download button. 2015-06-23 14:57:34 +02:00
Christian Muehlhaeuser
0eff658b65 Merge pull request #313 from kenya888/qt55
fix compilation error with Qt 5.5
2015-06-22 08:16:59 +02:00
Takahiro Hashimoto
50e77ce0db fix compilation error with Qt 5.5 2015-06-22 14:53:48 +09:00
Christian Muehlhaeuser
a8c413ee5a Don't crash trying to access unknown header style. 2015-06-19 18:44:55 +02:00
Anton Romanov
84d27aa615 Add htmldecode function 2015-06-17 11:19:42 -07:00
Tomahawk CI
5c2e384d44 Automatic merge of Transifex translations 2015-06-17 02:18:00 +02:00
Leo Franchi
e964bf8efd Don't crash in headless mode if there's an account error 2015-06-16 09:24:28 -07:00
Christian Muehlhaeuser
d9445378b9 Merge pull request #310 from theli-ua/remixes
Include remixes albums when fetching releases from musicbrainz
2015-06-15 05:45:33 +02:00
Tomahawk CI
b9ec33d7fe Automatic merge of Transifex translations 2015-06-13 02:17:35 +02:00
Tomahawk CI
2a3ca62286 Automatic merge of Transifex translations 2015-06-08 02:17:38 +02:00
Anton Romanov
5141ab6955 Include remixes albums when fetching releases from musicbrainz 2015-06-05 16:15:32 -07:00
Dominik Schmidt
6724d06eac Merge pull request #308 from TheOneRing/use_snoretoast_to_install_lnk
use snoretoast to install the shortcut instead of the winshell plugin
2015-06-03 14:54:21 +02:00
Patrick von Reth
106591d3ab use snoretoast to install the shortcut instead of the winshell plugin 2015-06-03 14:48:46 +02:00
Anton Romanov
a77877b546 Check (qid,r) for existence before processing removal 2015-05-29 03:30:54 +02:00
Christian Muehlhaeuser
e418811edc Merge pull request #307 from theli-ua/pipeline
Fix premature qidstate clearing, protect decqidstate
2015-05-29 02:36:06 +02:00
Anton Romanov
d276bff70e Fix premature qidstate clearing, protect decqidstate 2015-05-28 17:30:28 -07:00
Christian Muehlhaeuser
fd0dab5ae9 Merge pull request #306 from theli-ua/pipeline
Increase qid state for (qid,resolver) only when we actually kick off resolution for given qid by given resolver
2015-05-29 02:10:04 +02:00
Anton Romanov
e83b476db4 fix style 2015-05-28 17:08:38 -07:00
Anton Romanov
ada8594732 Increase qid state for (qid,resolver) only when we actually kick off resolution for given qid by given resolver 2015-05-28 16:36:39 -07:00
Christian Muehlhaeuser
be017f12c0 Merge pull request #305 from theli-ua/pipeline
Fix condition to check number of active queries
2015-05-29 01:08:07 +02:00
Anton Romanov
8b3b48541e Fix condition to check number of active queries 2015-05-28 16:07:19 -07:00
Christian Muehlhaeuser
bc86cdbe08 Merge pull request #304 from theli-ua/resize
Set vertical size policy to 'preferred' for result list
2015-05-27 06:49:24 +02:00
Anton Romanov
ebae39d467 Set vertical size policy to 'preferred' for result list 2015-05-26 12:07:19 -07:00
Christian Muehlhaeuser
37436089a9 Merge pull request #301 from theli-ua/pipeline
Tie timeouts to resolvers, makes pipeline more predictable, stable and deterministic
2015-05-26 08:35:37 +02:00
Christian Muehlhaeuser
dd9609e8fc Merge pull request #303 from theli-ua/casesense
Use QString.compare method for case insensitive comparison
2015-05-26 08:33:48 +02:00
Anton Romanov
1106fd7892 Fix return type in userData() in ResultUrlChecker 2015-05-21 11:03:07 -07:00
Anton Romanov
e405ed34ba Use QString.compare method for case insensitive comparison 2015-05-21 10:56:28 -07:00
Christian Muehlhaeuser
23e61a7c88 Merge pull request #302 from theli-ua/casesense
Ignore case when comparing artists in musicbrainz album results
2015-05-21 05:59:45 +02:00
Anton Romanov
ba91dba15e Ignore case when comparing artists in musicbrainz album results 2015-05-19 14:25:52 -07:00
Anton Romanov
9a4f1e045f Change resultchecker to have userData field to specify arbitrary user data associated with checks 2015-05-15 14:38:35 -07:00
Anton Romanov
6250a19a1f Tie timeouts to resolvers, makes pipeline more predictable, stable and deterministic 2015-05-14 17:29:03 -07:00
Christian Muehlhaeuser
7628273d45 Merge pull request #299 from theli-ua/pipeline
Mark query as resolved only if got results from all resolvers or all timers expired
2015-05-14 04:25:14 +02:00
Anton Romanov
e1336c48f3 Mark query as resolved only if got results from all resolvers or all timers
expired
2015-05-12 17:24:45 -07:00
Dominik Schmidt
bb56a1a2cd Don't require info plugins to return album for AlbumSongs 2015-05-12 20:13:26 +02:00
Christian Muehlhaeuser
d40dedfeb2 When sorting results, check for local collection first. 2015-05-11 12:00:31 +02:00
Tomahawk CI
a2b2eca222 Automatic merge of Transifex translations 2015-05-11 02:17:30 +02:00
Christian Muehlhaeuser
d5288783b0 Fixed quazip include dir. 2015-05-10 04:01:58 +02:00
Christian Muehlhaeuser
0a2abbd689 Updated ChangeLog. 2015-05-10 03:09:09 +02:00
Christian Muehlhaeuser
1777609b18 Fixed typo in JSResolverHelper. 2015-05-10 03:08:59 +02:00
Christian Muehlhaeuser
15445be8df Fixed collection sorting. 2015-05-10 03:03:34 +02:00
Christian Muehlhaeuser
36caa8751c Merge pull request #297 from theli-ua/relative
Support relative HTTP redirects
2015-05-08 17:20:55 +02:00
Anton Romanov
55077edd6d Support relative HTTP redirects 2015-05-08 08:11:11 -07:00
Tomahawk CI
827e816aab Automatic merge of Transifex translations 2015-05-08 02:17:46 +02:00
Tomahawk CI
712e9666a7 Automatic merge of Transifex translations 2015-05-04 02:17:32 +02:00
Tomahawk CI
57a5bed0c5 Automatic merge of Transifex translations 2015-05-03 02:17:30 +02:00
Dominik Schmidt
2335f9c478 Merge pull request #296 from theli-ua/json
Allow to encode post/get params with json.stringify and specify own cont...
2015-05-02 20:04:34 +02:00
Anton Romanov
f2acf783cc dataEncodingFormat => dataFormat 2015-05-02 09:46:55 -07:00
Anton Romanov
4c1da6f78b Allow to encode post/get params with json.stirngify and specify own content-type 2015-05-02 09:46:55 -07:00
Tomahawk CI
c7972fec13 Automatic merge of Transifex translations 2015-05-02 02:17:30 +02:00
Jason Herskowitz
da40a4a2bd Fix the background color of the bio text box 2015-05-01 16:06:37 -04:00
Jason Herskowitz
0522fdb66d Clarifying text for the Download preference settings 2015-05-01 07:49:54 -04:00
Jason Herskowitz
cc2c9f5192 Make dmg background more subtle 2015-04-30 20:23:50 -04:00
Tomahawk CI
9b2c9cc3ae Automatic merge of Transifex translations 2015-04-29 02:17:33 +02:00
Tomahawk CI
d3fef5a0af Automatic merge of Transifex translations 2015-04-28 02:17:29 +02:00
Christian Muehlhaeuser
3d52622fda Simpler Pipeline code. 2015-04-28 02:11:13 +02:00
Christian Muehlhaeuser
f23e18192b Added TIDAL and YouTube. 2015-04-28 00:15:14 +02:00
Christian Muehlhaeuser
807961dffc Fixed snore's inbox-notification title & type. 2015-04-24 20:34:24 +02:00
Christian Muehlhaeuser
e65830643b Don't create a ResultUrlChecker if there are no results to be checked. 2015-04-23 20:53:54 +02:00
Uwe L. Korn
495fd028c1 Hide very basic Chromecast support
Support is still in its early steps, do not expose it to end users.
2015-04-19 20:08:12 +02:00
Tomahawk CI
479d57656a Automatic merge of Transifex translations 2015-04-19 02:16:52 +02:00
Christian Muehlhaeuser
53509dd03b Set current time to 0 as soon as we request to stop the playback. 2015-04-18 09:46:42 +02:00
Christian Muehlhaeuser
a062787db8 Style fixes in AudioEngine and -Output. 2015-04-18 09:45:36 +02:00
Christian Muehlhaeuser
d50104cce7 Stop the audio output as soon as we try to load a new track. 2015-04-18 09:45:04 +02:00
Christian Muehlhaeuser
de8dcce45e Moved playback error-retry handling into AudioEngine itself. 2015-04-18 08:43:30 +02:00
Christian Muehlhaeuser
8c7036b0da Fixed AudioControls' slider timeline. 2015-04-18 08:42:27 +02:00
Christian Muehlhaeuser
dfc07598a1 Fixed AudioEngine state machine. 2015-04-18 08:41:44 +02:00
Christian Muehlhaeuser
1e900f87a0 Fixed internal AudioOutput state machine. 2015-04-18 08:40:56 +02:00
Christian Muehlhaeuser
86facdeb14 Don't deadlock libvlc when receiving MediaPlayerEncounteredError. 2015-04-18 06:42:11 +02:00
Christian Muehlhaeuser
cba146a902 No need to invoke tracks command with empty arguments list. 2015-04-18 06:03:48 +02:00
Christian Muehlhaeuser
c3702a633d Style fixes. 2015-04-18 06:02:37 +02:00
Christian Muehlhaeuser
84d36f45a2 Clean up DownloadManager and add jobFinished() signal. 2015-04-18 06:01:59 +02:00
Christian Muehlhaeuser
592b1bc3c1 Remove obsolete Query ctor. 2015-04-18 06:00:01 +02:00
Christian Muehlhaeuser
43e29b79e0 Style fixes. 2015-04-18 05:37:10 +02:00
Christian Muehlhaeuser
ce2811c30e Fixed AudioOutput::isSeekable for position-based vlc events. 2015-04-18 05:36:47 +02:00
Christian Muehlhaeuser
78f0896342 Fixed emitting current time instead of total time to update timers. 2015-04-18 05:35:56 +02:00
Christian Muehlhaeuser
f9636ecb65 Removed apparently obsolete code. 2015-04-18 05:35:33 +02:00
Christian Muehlhaeuser
202bb2abb4 Fixed initialization order of class members. 2015-04-18 05:35:12 +02:00
Christian Muehlhaeuser
8a7a8bb4f0 Don't set time on AudioEngine's singleton instance, but emit signals to it. 2015-04-18 05:34:52 +02:00
Christian Muehlhaeuser
391cc821f8 Don't use '#if 0' - it might be defined and cause weird issues. 2015-04-18 05:33:52 +02:00
Christian Muehlhaeuser
38f05a7353 Merge pull request #294 from theli-ua/master
Fallback to position-based progress and seeking if current time is unavailable
2015-04-18 05:18:34 +02:00
Christian Muehlhaeuser
2948b91058 Removed TopHits view from Album page until we actually use it. 2015-04-18 05:13:03 +02:00
Christian Muehlhaeuser
f90297a629 Removed Album page's scroll-area. Scrolling within the TrackView is enough. 2015-04-18 05:02:23 +02:00
Tomahawk CI
23e88fc1c1 Automatic merge of Transifex translations 2015-04-18 02:16:54 +02:00
Anton Romanov
b5252c05a2 Remove all aboutToFinish/expectStop related things 2015-04-17 15:16:56 -07:00
Anton Romanov
0c8710ce4c Fallback to position-based progress/seeking if timing info is not available 2015-04-15 19:55:14 -07:00
Tomahawk CI
9de4d407d6 Automatic merge of Transifex translations 2015-04-16 02:16:50 +02:00
Christian Muehlhaeuser
2e06dad341 Updated README. 2015-04-15 08:55:34 +02:00
Christian Muehlhaeuser
a10122cc95 Fixed source translation for copyright. 2015-04-15 06:32:41 +02:00
Tomahawk CI
147de9c57c Automatic merge of Transifex translations 2015-04-15 02:16:59 +02:00
Christian Muehlhaeuser
c78b39e8d7 Add refresh button in script collection header. 2015-04-14 04:42:21 +02:00
Tomahawk CI
b5bba22300 Automatic merge of Transifex translations 2015-04-14 02:16:56 +02:00
Dominik Schmidt
58a52c71c2 Add InfoAlbumPurchaseUrl info system type 2015-04-13 22:49:46 +02:00
Christian Muehlhaeuser
d86fdded4b Don't spam the log if VLC detects total-time changed. This can happen a lot. 2015-04-13 08:24:19 +02:00
Christian Muehlhaeuser
a2d290cab8 Updated ChangeLog. 2015-04-13 08:06:09 +02:00
Christian Muehlhaeuser
51fd1227e7 Prevent boost from throwing an exception when env's locale is invalid. 2015-04-13 08:04:32 +02:00
Christian Muehlhaeuser
9e9119ca6b Updated ChangeLog. 2015-04-13 07:02:32 +02:00
Christian Muehlhaeuser
e096f62b5c Fixed starting Tomahawk with a track as cli-arg. 2015-04-13 07:00:03 +02:00
Christian Muehlhaeuser
2c65bcff7e Updated ChangeLog. 2015-04-13 06:22:15 +02:00
Christian Muehlhaeuser
bef28bcd87 Reset AlbumPlaylistInterface when associated collection changes. 2015-04-13 05:37:20 +02:00
Christian Muehlhaeuser
6914b7a45d Update local collection after successful download. 2015-04-13 05:09:04 +02:00
Christian Muehlhaeuser
9c0eb10ca6 Bumped to 0.8.3. 2015-04-13 04:18:03 +02:00
Christian Muehlhaeuser
c0175b37f1 Don't try to filter artists/albums in ScriptCommands. This would fail because filtering for 'We will rock you' should still return 'Queen' e.g. 2015-04-13 02:26:45 +02:00
Christian Muehlhaeuser
6a1d0e6666 Fixed album and track filter in TreeProxyModel. 2015-04-13 02:26:45 +02:00
Christian Muehlhaeuser
8370e4b72f Make sure m_artistsFilterCmd doesn't leak in TreeProxyModel. 2015-04-13 02:26:45 +02:00
Dominik Schmidt
aab9b28bdf Add stub for passing filter to [album]Tracks() in script collection 2015-04-13 02:26:45 +02:00
Dominik Schmidt
df1d071922 Pass filter to [artist]Albums() in script collection 2015-04-13 02:26:45 +02:00
Dominik Schmidt
e519637546 Pass filter to artists() in script collection 2015-04-13 02:26:45 +02:00
Tomahawk CI
0b657bbce4 Automatic merge of Transifex translations 2015-04-13 02:17:09 +02:00
Christian Muehlhaeuser
175bc80002 Work around nasty drag & drop issue. 2015-04-12 06:38:58 +02:00
Christian Muehlhaeuser
4e3b537f43 Disable drop-event hack in sidebar. 2015-04-12 04:49:55 +02:00
Tomahawk CI
808da0da62 Automatic merge of Transifex translations 2015-04-12 02:16:53 +02:00
Christian Muehlhaeuser
53aa6dff9b Work around odd drag & drop behaviour. 2015-04-12 01:28:24 +02:00
Jason Herskowitz
7d286e852e Add download preference icon 2015-04-11 18:26:29 -04:00
Christian Muehlhaeuser
571f00611e Work around showNormal() being broken in Qt5.4. 2015-04-11 21:20:31 +02:00
Christian Muehlhaeuser
b1e4541964 Updated README. 2015-04-11 08:24:13 +02:00
Christian Muehlhaeuser
46ac1a3bd9 Updated README. 2015-04-11 08:21:28 +02:00
Christian Muehlhaeuser
57dac31d2a Make MusicScanner run in verbose mode when Tomahawk is run with --verbose. 2015-04-11 08:11:35 +02:00
Christian Muehlhaeuser
701cf0f1d3 Merge pull request #293 from aszlig/nix-build
Add a default.nix for building with Nix.
2015-04-11 07:57:19 +02:00
aszlig
e5dc3dc6ef Add a default.nix for building with Nix.
This is roughly based on my version at:

667735efe0/pkgs/tomahawk/default.nix

Unlinke over there, we don't hardcode a specific version and instead
invoke cmake to get the current version. Also, I've stripped out
meta.maintainers, as it it is only relevant for nixpkgs.

With this, building Tomahawk from latest Git is just a matter of cloning
this repository and doing a nix-build from the source root directory.

If you want to set specific flags, you can do something like:

nix-build --arg enableKDE true

After the build, you have a "result" symlink pointing to your shiny new
build of Tomahawk.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-04-11 07:53:58 +02:00
Tomahawk CI
3e56422339 Automatic merge of Transifex translations 2015-04-11 02:17:11 +02:00
Christian Muehlhaeuser
78aae4912a Merge pull request #289 from theli-ua/master
Add check for libvlc_set_app_id being available as its only from 2.1.0 (...
2015-04-10 08:39:09 +02:00
Christian Muehlhaeuser
d7f515a834 Make sure tr() gets called in the right context. 2015-04-10 08:34:24 +02:00
Christian Muehlhaeuser
a7eb3fe432 Disable last PR until scrollbar width is fixed. 2015-04-10 08:25:54 +02:00
Christian Muehlhaeuser
bc97b7418c Merge pull request #275 from tomahawk-player/style-stv-scrollbar
Style SourceTreeView scrollbar
2015-04-10 08:20:25 +02:00
Christian Muehlhaeuser
007d0ae0e3 Don't lazily load additional query information in TrackView anymore. 2015-04-10 07:10:09 +02:00
Christian Muehlhaeuser
edbd14f4d0 Show horizontal column-view scrollbar as needed. 2015-04-10 07:09:12 +02:00
Christian Muehlhaeuser
f6a8b81298 Rename Fancy style to SingleColumn and use it for ColumnView's model. 2015-04-10 06:57:30 +02:00
Christian Muehlhaeuser
21e2aecd2b Never trigger edit events for non-Locker models. 2015-04-10 06:25:23 +02:00
Christian Muehlhaeuser
b431f28fc2 Show ScriptCollections in Locker style. 2015-04-10 05:59:07 +02:00
Christian Muehlhaeuser
3734167a14 Introduce Locker style for PlayableProxyModel. 2015-04-10 05:58:30 +02:00
Christian Muehlhaeuser
cea45a9bf4 Slightly improve Query::howSimilar performance. 2015-04-10 05:20:43 +02:00
Christian Muehlhaeuser
ad160d456c Style fixes for AudioOutput. 2015-04-10 05:17:26 +02:00
Christian Muehlhaeuser
d5331ea612 Disable expand/collapse animation in sidebar. 2015-04-10 05:15:55 +02:00
Christian Muehlhaeuser
8463064315 Apply scrolling fix for GridViews on OS X, too. 2015-04-10 03:53:40 +02:00
Christian Muehlhaeuser
0206d2107a Fixed and simplified Artist::id() & Album::id(). 2015-04-10 03:47:26 +02:00
Christian Muehlhaeuser
fa52fd9c48 Update copyright year. 2015-04-10 03:32:24 +02:00
Christian Muehlhaeuser
81cf04abb4 Updated ChangeLog. 2015-04-10 02:11:30 +02:00
Christian Muehlhaeuser
a9ccef749e Updated ChangeLog. 2015-04-10 02:08:56 +02:00
Christian Muehlhaeuser
55a1973af1 Updated ChangeLog. 2015-04-10 02:07:37 +02:00
Christian Muehlhaeuser
f51aea0d3a Remove button box in SettingsDialog for OSX. 2015-04-09 22:52:32 +02:00
Christian Muehlhaeuser
c33e079eb2 Use regular QDialog on OSX. 2015-04-09 22:28:01 +02:00
Tomahawk CI
74d021abeb Automatic merge of Transifex translations 2015-04-09 02:16:58 +02:00
Christian Muehlhaeuser
51abfd10cb Make PlayableModel::itemFromQuery/Result aware of parent nodes, e.g. sources on the Dashboard/Inbox. 2015-04-08 04:53:51 +02:00
Christian Muehlhaeuser
b2145a805b Removed obsolete includes in Query & Result. 2015-04-08 03:59:10 +02:00
Christian Muehlhaeuser
5d256d4224 Improve PlaylistItemDelegate performance, esp. for browsing collections. 2015-04-08 03:58:38 +02:00
Christian Muehlhaeuser
4a277c6f8e Remove obsoleted code in PlaylistItemDelegate. 2015-04-08 03:16:36 +02:00
Christian Muehlhaeuser
587bf09872 Remove alpha-blending when preparing style options. We use fixed color values for results now. 2015-04-08 03:08:04 +02:00
Christian Muehlhaeuser
6aa22826ae Small performance improvements in TrackItemDelegate. 2015-04-08 03:06:11 +02:00
Christian Muehlhaeuser
da0d585d53 Style fixes. 2015-04-08 03:05:33 +02:00
Christian Muehlhaeuser
65cccb7b55 Removed obviously dead code. 2015-04-08 02:57:29 +02:00
Dominik Schmidt
e90e86005c Fix install-resolver-dialog not getting focus 2015-04-07 21:14:56 +02:00
Christian Muehlhaeuser
ab0dec55d0 Delete NetworkReply when async request is done in JSResolverHelper. 2015-04-07 18:59:26 +02:00
Dominik Schmidt
c100cb913e Be more accurate when disconnecting the result from the settings changed signal 2015-04-07 02:45:07 +02:00
Dominik Schmidt
7ec91fff3b Change preferred download format on the fly when settings have been changed 2015-04-07 02:36:30 +02:00
Tomahawk CI
93f1afcf9d Automatic merge of Transifex translations 2015-04-07 02:16:54 +02:00
Christian Muehlhaeuser
ca05f17911 Style fixes. 2015-04-07 01:36:07 +02:00
Dominik Schmidt
b22be87979 Query all info plugins for album covers 2015-04-06 15:41:40 +02:00
Christian Muehlhaeuser
68598bea8b Make sure we always delete replies when finished with the network request. 2015-04-06 05:44:39 +02:00
Christian Muehlhaeuser
091d8697bc Don't parent ScriptObject - it's tracked by a sharedptr. 2015-04-06 04:46:09 +02:00
Dominik Schmidt
527277621b Get rid of custom redirect code for scriptinfoplugin image support 2015-04-06 03:45:53 +02:00
Dominik Schmidt
a2729695ba Support album covers in script info plugins 2015-04-06 03:45:53 +02:00
Christian Muehlhaeuser
c36bd64a01 Don't overwrite previously set resolver icon. 2015-04-05 17:35:41 +02:00
Christian Muehlhaeuser
325d4ca67a Never cache null pixmaps. 2015-04-05 17:35:41 +02:00
Jason Herskowitz
a9440c6c96 Clean up History and Inbox icons a bit 2015-04-05 10:34:03 -04:00
Christian Muehlhaeuser
35ab3f4502 Don't count items when we really just need to know if a list is empty or not. 2015-04-05 03:25:27 +02:00
Tomahawk CI
6e53c1a361 Automatic merge of Transifex translations 2015-04-05 02:16:53 +02:00
Christian Muehlhaeuser
e755b02f00 Merge pull request #292 from tomahawk-player/scorefixes
Improve scoring
2015-04-05 01:53:11 +02:00
Christian Muehlhaeuser
ec650a634d Fixed scoring fulltext searches. 2015-04-05 01:49:00 +02:00
Christian Muehlhaeuser
e51ad04846 Don't use the slower length/count methods when isEmpty does the job. 2015-04-05 01:27:56 +02:00
Christian Muehlhaeuser
95a2d26618 Don't abuse score when doing fulltext-resolving. 2015-04-04 17:15:31 +02:00
Christian Muehlhaeuser
e41a1014f9 Reset a query's score when all results vanished. 2015-04-04 17:15:07 +02:00
Christian Muehlhaeuser
ac7401e235 Fixed opacity in ColumnItemDelegate for online results. 2015-04-04 14:55:07 +02:00
Christian Muehlhaeuser
80202694e3 Removed checked FIXMEs. 2015-04-04 14:54:47 +02:00
Christian Muehlhaeuser
c855ff9575 Remove obsolete Query::setScore(). 2015-04-04 14:54:21 +02:00
Christian Muehlhaeuser
6245f9d789 If a Query gets created with result attached, manually set the score to 1.0. 2015-04-04 14:54:01 +02:00
Tomahawk CI
89cb984bb4 Automatic merge of Transifex translations 2015-04-04 02:16:58 +02:00
Christian Muehlhaeuser
32a454fbc4 Can't access score via Result anymore. 2015-04-03 17:21:04 +02:00
Christian Muehlhaeuser
c1d9bd6244 Move score-keeping from Result to Query. 2015-04-03 17:20:12 +02:00
Tomahawk CI
1464253343 Automatic merge of Transifex translations 2015-04-03 02:17:01 +02:00
Christian Muehlhaeuser
5855c80bd1 Disable edit triggers on GridView. 2015-04-02 13:48:40 +02:00
Christian Muehlhaeuser
8e9e8400ff Respect Result::isPreview() in Query::resultSorter. 2015-04-02 11:13:05 +02:00
Tomahawk CI
f23be98cfa Automatic merge of Transifex translations 2015-04-02 02:16:54 +02:00
Dominik Schmidt
3a22c22cab Store preview flag from script-resolver-results in actual results 2015-04-02 01:20:26 +02:00
Dominik Schmidt
f05f9a25c1 Don't filter out previews anymore, we handle them now 2015-04-02 00:52:45 +02:00
Christian Muehlhaeuser
6f037355a8 Fixed crash in PlaylistItemDelegate. 2015-04-01 14:41:21 +02:00
Christian Muehlhaeuser
e662f5ed78 Disable edit triggers on Track- & ColumnView. 2015-04-01 14:41:21 +02:00
Tomahawk CI
55592cc9f6 Automatic merge of Transifex translations 2015-04-01 02:16:52 +02:00
Christian Muehlhaeuser
2eb5db16a1 Move cloud collections before friends in sidebar. 2015-04-01 01:46:23 +02:00
Christian Muehlhaeuser
5d72c82e01 Handle preferred download format in Results. 2015-04-01 01:45:52 +02:00
Christian Muehlhaeuser
2c8c285c66 Handle preferred download format in SettingsDialog. 2015-04-01 01:11:02 +02:00
Christian Muehlhaeuser
013d54ed63 Settings backend for preferred download format. 2015-04-01 01:10:01 +02:00
Christian Muehlhaeuser
b265af268a Style fixes for Result.cpp 2015-03-31 19:50:07 +02:00
Christian Muehlhaeuser
e250524fc0 Use isEmpty rather than count. 2015-03-31 19:50:06 +02:00
Christian Muehlhaeuser
c9610a7426 Show system notification when finishing download. 2015-03-31 19:03:15 +02:00
Christian Muehlhaeuser
b896a7fb91 Add public getter for DownloadJob's track. 2015-03-31 19:02:48 +02:00
Christian Muehlhaeuser
62812a05f6 Fixed Query::resultSorter to take previews into account. 2015-03-31 08:50:20 +02:00
Christian Muehlhaeuser
5755e94675 Don't abort resolving when query gets fully solved. 2015-03-31 08:48:15 +02:00
Uwe L. Korn
cb72b9e4d4 Remove unused MultiFieldQueryParser 2015-03-29 22:10:47 +02:00
Tomahawk CI
cb0a9a7c2e Automatic merge of Transifex translations 2015-03-28 01:16:58 +01:00
Tomahawk CI
d728d84a91 Automatic merge of Transifex translations 2015-03-27 01:16:55 +01:00
Tomahawk CI
015bf5c6e6 Automatic merge of Transifex translations 2015-03-26 01:16:51 +01:00
Dominik Schmidt
23d7f5c851 Merge pull request #291 from willstott101/json_method
Use correct method to encode a JSON string in failed script result.
2015-03-25 23:35:42 +01:00
Will Stott
f909e3d664 Use correct method to encode a JSON string in failed script result. 2015-03-25 19:47:00 +00:00
Christian Muehlhaeuser
9da62199f2 Correct open in file manager for all states. 2015-03-25 10:15:07 +01:00
Christian Muehlhaeuser
22e5d6ff64 Open directory in file manager when clicking the finished download. 2015-03-25 10:01:15 +01:00
Christian Muehlhaeuser
e94363ba4f Use a hashmap for state tracking. 2015-03-25 10:00:36 +01:00
Christian Muehlhaeuser
77eed10a19 Set state to Running before url translation. 2015-03-25 10:00:18 +01:00
Christian Muehlhaeuser
c90c7a9b37 Only add download button for script collections. 2015-03-25 08:41:17 +01:00
Christian Muehlhaeuser
1d836ad2de Show a 'Download All' button in the collection view's header. To be disabled for local collections. 2015-03-25 08:25:40 +01:00
Christian Muehlhaeuser
7291246370 BasicHeader's addButton method allows you to add buttons to a header. 2015-03-25 08:25:04 +01:00
Christian Muehlhaeuser
5342ba22de Hook up async url retrieval in DownloadJob. 2015-03-25 07:38:04 +01:00
Christian Muehlhaeuser
788e651713 Never re-create DropDownButton if download is in progress. 2015-03-25 07:38:03 +01:00
Christian Muehlhaeuser
488100b67d Keep download states in memory for faster access. 2015-03-25 07:38:03 +01:00
Christian Muehlhaeuser
837505b1b1 Prepare querying the script collection for a download url 2015-03-25 07:37:51 +01:00
Tomahawk CI
4bf29a3ed8 Automatic merge of Transifex translations 2015-03-25 01:16:57 +01:00
Christian Muehlhaeuser
17c2990ced Draw drop-down arrow on top of DropDownButton. 2015-03-24 17:46:15 +01:00
Christian Muehlhaeuser
06b39e6826 Updated default styles for download button and progress bar. 2015-03-24 17:44:48 +01:00
Christian Muehlhaeuser
797000a0bb Store download states across sessions. 2015-03-24 15:29:46 +01:00
Christian Muehlhaeuser
de90512371 Make sure DownloadManager gets deleted correctly. 2015-03-24 15:28:32 +01:00
Christian Muehlhaeuser
ac33a07e83 Added new color definitions for download button. 2015-03-24 15:27:05 +01:00
Christian Muehlhaeuser
f6dc649311 Use DropDownButton in PlaylistItemDelegate. 2015-03-24 15:26:24 +01:00
Christian Muehlhaeuser
3744be57d1 Added DropDownButton, mixing a push-button and a combo-box. 2015-03-24 15:24:17 +01:00
Christian Muehlhaeuser
873c35a03c Make Qt5 the default. You can still build with Qt4 by running cmake with -DBUILD_WITH_QT4=ON 2015-03-23 16:10:02 +01:00
Tomahawk CI
59e8c89524 Automatic merge of Transifex translations 2015-03-23 01:16:53 +01:00
Tomahawk CI
954ed5a19e Automatic merge of Transifex translations 2015-03-22 01:17:10 +01:00
Tomahawk CI
9a2e6a0e49 Automatic merge of Transifex translations 2015-03-21 01:16:57 +01:00
Tomahawk CI
0a29579eca Automatic merge of Transifex translations 2015-03-20 01:16:50 +01:00
Christian Muehlhaeuser
d8df9abd63 Fixed compiling with clang. 2015-03-19 09:29:05 +01:00
Christian Muehlhaeuser
8fb9ddcc27 Use less Closure arguments. 2015-03-19 09:21:52 +01:00
Christian Muehlhaeuser
3394deea46 Show download formats in drop down and start download when picking one. 2015-03-19 09:08:28 +01:00
Christian Muehlhaeuser
19c85f6d84 DownloadColumn needs to be editable in PlayableModel. 2015-03-19 09:07:43 +01:00
Christian Muehlhaeuser
fadb5ff318 Result::toDownloadJob( DownloadFormat ) now expects the format you want returned. 2015-03-19 09:07:15 +01:00
Tomahawk CI
d226b6fdd1 Automatic merge of Transifex translations 2015-03-19 01:16:56 +01:00
Uwe L. Korn
d76130509b Reword error message so that it makes more sense to the user 2015-03-17 19:05:00 +01:00
Christian Muehlhaeuser
0ddad1c0ed Be more careful when accessing cc->socket() in Servent::claimOffer(). 2015-03-17 05:24:14 +01:00
Tomahawk CI
4554757bbf Automatic merge of Transifex translations 2015-03-17 01:16:51 +01:00
Tomahawk CI
6b0a46b23c Automatic merge of Transifex translations 2015-03-16 01:16:52 +01:00
Tomahawk CI
989e653f55 Automatic merge of Transifex translations 2015-03-15 01:17:02 +01:00
Tomahawk CI
aa6d31416b Automatic merge of Transifex translations 2015-03-14 01:16:53 +01:00
Tomahawk CI
7e454e50b0 Automatic merge of Transifex translations 2015-03-13 01:16:55 +01:00
Tomahawk CI
0ec1fa0ab6 Automatic merge of Transifex translations 2015-03-12 01:16:54 +01:00
Christian Muehlhaeuser
a2fbe4aaed Ignore results without download options. 2015-03-11 06:48:48 +01:00
Christian Muehlhaeuser
36cd708517 Draw in correct option rect. 2015-03-11 06:45:13 +01:00
Christian Muehlhaeuser
52fb1ae0d1 Fixed compiling with clang. 2015-03-11 06:09:28 +01:00
Christian Muehlhaeuser
9f1311553d Set downloadable formats on Results, if available. 2015-03-11 05:24:29 +01:00
Christian Muehlhaeuser
ea85ba5724 Style fixes. 2015-03-11 05:24:29 +01:00
Christian Muehlhaeuser
588c4e6e91 Handle displaying of download dropdown & status in PlaylistItemDelegate. 2015-03-11 05:24:29 +01:00
Christian Muehlhaeuser
587d77cc77 Added column and role for download status in Playable(Proxy)Model. 2015-03-11 05:24:28 +01:00
Christian Muehlhaeuser
87cacb14bd Hook up to result's signals when we have a new top-result for a query in PlayableItem. 2015-03-11 05:24:28 +01:00
Christian Muehlhaeuser
8a20145806 Methods to turn Result into a DownloadJob and access it. 2015-03-11 05:24:28 +01:00
Christian Muehlhaeuser
29f2e721ed Updated settings dialog to handle download folder setting. 2015-03-11 05:24:28 +01:00
Christian Muehlhaeuser
94ee994112 Updated TomahawkSettings to handle download folder. 2015-03-11 05:24:28 +01:00
Christian Muehlhaeuser
55feb3f3e1 Added DownloadManager and DownloadJob. 2015-03-11 05:24:28 +01:00
Dominik Schmidt
40dfa8faa0 Use the system wide location setting for determing currentCountry on windows 2015-03-11 01:49:04 +01:00
Dominik Schmidt
97d2a5ea00 Add Tomahawk.currentCountry to JS env 2015-03-10 16:08:30 +01:00
Tomahawk CI
d117c52c99 Automatic merge of Transifex translations 2015-03-10 01:16:51 +01:00
Christian Muehlhaeuser
73110c12a1 Fixed SeekSlider background. 2015-03-07 12:51:08 +01:00
Christian Muehlhaeuser
264a747f14 Moved SeekSlider foreground color to TomahawkStyle. 2015-03-06 23:44:32 +01:00
Dominik Schmidt
63bb072f93 Merge pull request #290 from willstott101/tomahawk-js
Don't override settings.method in Tomahawk.ajax.
2015-03-04 21:23:38 +01:00
Will Stott
f5f80fe465 Don't override settings.method in Tomahawk.ajax. Not sure if settings.type is ever different than settings.method. But i kept both anyway, and left type with precedence. 2015-03-04 20:12:19 +00:00
Dominik Schmidt
a55e56d289 Possibly fix Windows XP support 2015-03-04 12:24:53 +01:00
Dominik Schmidt
9625c9a072 Don't swallow errors in promises 2015-03-03 22:10:27 +01:00
Dominik Schmidt
16df4d958e Use complete RSVP instead of ES6Promise 2015-03-03 22:09:39 +01:00
Tomahawk CI
c12aea4b35 Automatic merge of Transifex translations 2015-02-26 01:16:53 +01:00
Anton Romanov
40fbebd5ad Add check for libvlc_set_app_id being available as its only from 2.1.0 (this allows tomahawk to be built with older libvlc on something like Ubuntu 12.04 2015-02-24 12:25:34 -08:00
Tomahawk CI
db67c18121 Automatic merge of Transifex translations 2015-02-22 01:17:20 +01:00
Tomahawk CI
84b1df146a Automatic merge of Transifex translations 2015-02-16 01:16:51 +01:00
Tomahawk CI
4cacb96097 Automatic merge of Transifex translations 2015-02-15 01:17:00 +01:00
Tomahawk CI
6842490c74 Automatic merge of Transifex translations 2015-02-11 01:17:01 +01:00
Christian Muehlhaeuser
f71fb9997b Fixed bringToFront for Windows with Qt5. 2015-02-10 21:22:32 +01:00
Tomahawk CI
7218d112bc Automatic merge of Transifex translations 2015-02-10 01:17:04 +01:00
Tomahawk CI
3d30d4cfde Automatic merge of Transifex translations 2015-02-09 01:17:16 +01:00
Tomahawk CI
58d9397a82 Automatic merge of Transifex translations 2015-02-08 01:17:03 +01:00
Dominik Schmidt
e17907b389 Merge remote-tracking branch 'origin/master' into scripting
Conflicts:
	src/libtomahawk/GlobalActionManager.cpp
2015-02-07 07:05:19 +01:00
Dominik Schmidt
e250b76eed Package libquazip5.dll 2015-02-07 01:45:39 +01:00
Dominik Schmidt
68ab05acf1 Fix QuaZip5 detection on windows, patch to be upstreamed 2015-02-07 01:30:22 +01:00
Tomahawk CI
f01f67984d Automatic merge of Transifex translations 2015-02-07 01:17:08 +01:00
Dominik Schmidt
938fc38101 Readd (this time upstream) FindQuaZip.cmake as installing to CMAKE_ROOT is bad practice and (at least some) distros won't ship that 2015-02-07 01:14:49 +01:00
Dominik Schmidt
ec613bd97c Support artist name (for compilations) and albumpos+discnumber (for multi disc releases) in InfoAlbumSongs info request 2015-02-06 23:00:21 +01:00
Dominik Schmidt
04d90d8afb Remove old collection api leftovers 2015-02-06 23:00:21 +01:00
Dominik Schmidt
a3b832b570 Fix info plugin registration 2015-02-06 23:00:21 +01:00
Dominik Schmidt
745a6f9329 Don't parent ScriptJobs 2015-02-06 23:00:21 +01:00
Dominik Schmidt
4cac256ba7 Don't return const values 2015-02-06 23:00:20 +01:00
Thierry Goeckel
d7517d8f6d Fix typos. 2015-02-06 23:00:20 +01:00
Dominik Schmidt
7c5afd8029 Add --show-inspector command line option 2015-02-06 23:00:20 +01:00
Dominik Schmidt
6c63b177f9 Remove obsolete JSAccount::name() (it's in ScriptAccount already) 2015-02-06 23:00:20 +01:00
Dominik Schmidt
61ad535909 [tomahawk.js] Don't override all settings passed to Tomahawk.ajax/post if url is passed as first parameter
Thanks to Will Stott (@willstott101) for catching the actual bug and finding a typo in
the first version of this commit.
2015-02-06 23:00:20 +01:00
Dominik Schmidt
178f13acba [tomahawk.js] Make Tomahawk.log suck less in non-Tomahawk envs 2015-02-06 23:00:20 +01:00
Dominik Schmidt
ae4fe0d62a [tomahawk.js] Add support for serializing GET parameters in Tomahawk.ajax 2015-02-06 23:00:20 +01:00
Dominik Schmidt
78279dc268 [tomahawk.js] Add support for xml responses in Tomahawk.ajax 2015-02-06 23:00:20 +01:00
Dominik Schmidt
940b1044e9 [tomahawk.js] Add Promise resolver adapter 2015-02-06 23:00:20 +01:00
Dominik Schmidt
0ec9823308 Add Tomahawk.ajax as Promise based wrapper around Tomahawk.asyncRequest 2015-02-06 23:00:20 +01:00
Dominik Schmidt
af26750164 Delete promises used in javascript collection comp layer 2015-02-06 23:00:19 +01:00
Dominik Schmidt
0a9811774c Fix scriptcollection showing when resolver isn't enabled 2015-02-06 23:00:19 +01:00
Dominik Schmidt
bf3c5d4952 Properly handle online state for database and scriptcollections 2015-02-06 23:00:19 +01:00
Dominik Schmidt
3b06ff7781 Fix regression: Make view mode selectors for database collections show again 2015-02-06 23:00:19 +01:00
Dominik Schmidt
34fadd0a0b Cleanup 2015-02-06 23:00:19 +01:00
Dominik Schmidt
1cbae9b957 Add album and tracks view to script collections 2015-02-06 23:00:19 +01:00
Dominik Schmidt
8ac87615c9 Support legacy collection api 2015-02-06 23:00:19 +01:00
Dominik Schmidt
893a0df845 Port ScriptInfoPlugins to ScriptPluginFactory 2015-02-06 23:00:19 +01:00
Dominik Schmidt
dfbd7660d0 Don't let the InfoSystem take over ownership of info plugins 2015-02-06 23:00:19 +01:00
Dominik Schmidt
f7f4901bbe Update collection metadata when reregistering it 2015-02-06 23:00:18 +01:00
Dominik Schmidt
40c499303e Fix unregistering plugins from ScriptPluginFactory 2015-02-06 23:00:18 +01:00
Dominik Schmidt
551949a07f Create ScriptPluginFactory template and port ScripCollection 2015-02-06 23:00:18 +01:00
Dominik Schmidt
25ba94f183 Port script collections to new script system 2015-02-06 23:00:18 +01:00
Dominik Schmidt
2455d5f12d Remove old way of registering collections 2015-02-06 23:00:18 +01:00
Dominik Schmidt
df9a835c81 Don't use ScriptCommand queue for Artist, Album and Track scriptcommands 2015-02-06 23:00:18 +01:00
Dominik Schmidt
ea42bd1d18 Use collection icon interface properly 2015-02-06 23:00:18 +01:00
Dominik Schmidt
5de7afd461 Ununfnord 2015-02-06 23:00:18 +01:00
Dominik Schmidt
8d4a6c814e Make it more obvious that a result can come from a resolver or a collection 2015-02-06 23:00:18 +01:00
Dominik Schmidt
5d322c12cb Add ResultProvider baseclass for Collections and Resolvers 2015-02-06 23:00:17 +01:00
Dominik Schmidt
55fa633dad Let collections store their shared ptrs 2015-02-06 23:00:17 +01:00
Dominik Schmidt
ddb2484ad7 Pass around scriptobject_ptr instead of ScriptObject* 2015-02-06 23:00:17 +01:00
Dominik Schmidt
e88f57839a Unfnord 2015-02-06 23:00:17 +01:00
Dominik Schmidt
343767f03c Make function not found message actually useful 2015-02-06 23:00:17 +01:00
Dominik Schmidt
c840dbbf78 Remove script objects automatically from ScriptAccount when they are deleted 2015-02-06 23:00:17 +01:00
Dominik Schmidt
3c1e1ea35c Remove info plugins automatically from InfoSystemWorker when they are deleted 2015-02-06 23:00:17 +01:00
Dominik Schmidt
de3cde4a38 Store scriptObject in a QPointer in ScriptPlugin 2015-02-06 23:00:17 +01:00
Dominik Schmidt
96a601d16f Delete ScriptInfoPlugin if underlying ScriptObject dies 2015-02-06 23:00:17 +01:00
Dominik Schmidt
07838afaa6 Port ScriptInfoPlugin to new generic script plugin infrastructure 2015-02-06 23:00:16 +01:00
Dominik Schmidt
5e5ff7938a Rename JSInfoPlugin to ScriptInfoPlugin 2015-02-06 23:00:16 +01:00
Dominik Schmidt
df4abb1ef1 Allow plugins to enforce reloading of the resolver, to invalidate old results 2015-02-06 23:00:16 +01:00
Dominik Schmidt
3b2ac21dbf Remove script collections before trying to add a new collection. If latter fails no invalid collections are removed 2015-02-06 23:00:16 +01:00
Dominik Schmidt
7d114ea0f3 Reset config widget data on Cancel 2015-02-06 23:00:16 +01:00
Dominik Schmidt
fffe3cbf1f Allow saving of invalid config on second try 2015-02-06 23:00:16 +01:00
Dominik Schmidt
e2fd7e5681 Move config data handling into AccountConfigWidget 2015-02-06 23:00:16 +01:00
Dominik Schmidt
d5c5eb1e44 Show inline error instead of error popup 2015-02-06 23:00:16 +01:00
Dominik Schmidt
132c7d4cd2 Add configTest to ResolverAccounts 2015-02-06 23:00:16 +01:00
Dominik Schmidt
7550d23431 Pass empty QVariantMap as default arguments to ScriptObject::invoke 2015-02-06 23:00:16 +01:00
Dominik Schmidt
e2593eddc7 Register the resolver as scriptObject 2015-02-06 23:00:15 +01:00
Dominik Schmidt
1c0deb7115 Pass account to DelegateConfigWrapper 2015-02-06 23:00:15 +01:00
Dominik Schmidt
fbc547f882 Add JS debug spam, to be removed later 2015-02-06 23:00:15 +01:00
Dominik Schmidt
fa832e3a36 Move ScriptPlugin initialization to own factory method 2015-02-06 23:00:15 +01:00
Dominik Schmidt
2890190c82 Remove LinkGeneratorPlugins from LinkGenerator on destruction 2015-02-06 23:00:15 +01:00
Dominik Schmidt
f751aa501c Use ScriptPlugin base class in ScriptLinkGeneratorPlugin 2015-02-06 23:00:15 +01:00
Dominik Schmidt
6a239e24d1 Add ScriptPlugin class 2015-02-06 23:00:15 +01:00
Dominik Schmidt
7adac470da Rename ScriptPlugin to ScriptAccount and JSPlugin to JSAccount 2015-02-06 23:00:15 +01:00
Dominik Schmidt
b59c272819 Set collection on (non-collection) search/resolve results if collectionId is set in script response 2015-02-06 23:00:15 +01:00
Dominik Schmidt
62731c7907 tbr: Add id to ScriptCollection 2015-02-06 23:00:14 +01:00
Dominik Schmidt
7e9cb98154 Link script collection results to their collection 2015-02-06 23:00:14 +01:00
Dominik Schmidt
f0e1248e3d Use LinkGenerator in AdiumPlugin too 2015-02-06 23:00:14 +01:00
Dominik Schmidt
dbd047b42a Move more JSPlugin implementations to their own file 2015-02-06 23:00:14 +01:00
Dominik Schmidt
b2c3ab8532 Use integers as object ids 2015-02-06 23:00:14 +01:00
Dominik Schmidt
3138ec9f40 Remove special case for shortened query links, toma.hk shortener only supports toma.hk/tomahawk:// links 2015-02-06 23:00:14 +01:00
Dominik Schmidt
dc502d61d2 Add artist name to generate album name request 2015-02-06 23:00:14 +01:00
Dominik Schmidt
8d15e12973 Handle scripts not returning promises 2015-02-06 23:00:14 +01:00
Dominik Schmidt
507df5317e Make sure the ScriptJob fails if script does not return an object for a request 2015-02-06 23:00:14 +01:00
Dominik Schmidt
558e6f5294 Handle ScriptJob errors gracefully 2015-02-06 23:00:14 +01:00
Dominik Schmidt
3d4cfa0161 Address simple issues raised in PR 2015-02-06 23:00:13 +01:00
Dominik Schmidt
8ecb67178b Handle ScriptJob tracking completely in the same class. Credits to xhochy for the idea. 2015-02-06 23:00:13 +01:00
Dominik Schmidt
cefa97af18 Add name() to JSPlugin.
This is more of a hack until JSResolver is ported to be a ScriptResolver
2015-02-06 23:00:13 +01:00
Dominik Schmidt
42343c81c4 Don't leak ScriptJob in XmppInfoPlugin 2015-02-06 23:00:13 +01:00
Dominik Schmidt
a59cdbe19f Implement request / script uuids 2015-02-06 23:00:13 +01:00
Dominik Schmidt
ec3f40718e Allow registering C++-plugins from JS, make them usable and use the new api in ScriptLinkGeneratorPlugin 2015-02-06 23:00:13 +01:00
Dominik Schmidt
166be08da3 Add addPlugin method to LinkGenerator 2015-02-06 23:00:13 +01:00
Dominik Schmidt
81fdc368a2 Move JSPlugin implementation to its own file 2015-02-06 23:00:13 +01:00
Dominik Schmidt
0a0cbd15ae Move JSPlugin and ScriptPlugin to their own headers 2015-02-06 23:00:13 +01:00
Dominik Schmidt
28dad3aef3 Add missing include 2015-02-06 23:00:12 +01:00
Dominik Schmidt
6a87492c07 Handle generic JS object serialization in JSPlugin 2015-02-06 23:00:12 +01:00
Dominik Schmidt
67fde57345 Fix style 2015-02-06 23:00:12 +01:00
Dominik Schmidt
cc9963935c Fix ScriptJob (c) 2015-02-06 23:00:12 +01:00
Dominik Schmidt
cd7ca26e78 Pluginify link generation 2015-02-06 23:00:12 +01:00
Dominik Schmidt
33d225233b Streamline link generation api and make it async
getShortUrl or rather its result "shorturl" was only ever used in
XmppInfo and even there was a fallback for creating the shorturl.
As I could not trigger getShortUrl in the InfoSystem and as it was
barely used, I removed it to reduce complexity.
2015-02-06 23:00:12 +01:00
Dominik Schmidt
9542aaffb4 Pull link generation out of GlobalActionManager 2015-02-06 23:00:12 +01:00
Dominik Schmidt
fb26cc5dd4 Pull basic JS functionality out of JSResolver into JSPlugin 2015-02-06 23:00:12 +01:00
Dominik Schmidt
d928fc5d1d Use new lastfm5/ include dir for Qt5 2015-02-06 22:58:12 +01:00
Dominik Schmidt
778b8ee180 Use new echonest5 include dir for Qt5 2015-02-06 22:58:11 +01:00
Dominik Schmidt
d7177e30cb Use upstream FindQuaZip(5).cmake 2015-02-06 22:58:11 +01:00
Tomahawk CI
683f9229f6 Automatic merge of Transifex translations 2015-02-06 01:17:21 +01:00
Dominik Schmidt
dad90e93d5 Only link against Qt5X11Extras if it was found ... 2015-02-05 23:09:02 +01:00
Dominik Schmidt
b1f039cd20 Show warning for uninstallable account/resolver on all platforms but osx and win 2015-02-05 17:42:01 +01:00
Dominik Schmidt
68af5c4a57 Apply workaround for broken liblastfm to all platforms but osx and win 2015-02-05 17:41:29 +01:00
Dominik Schmidt
77b0389fad Set correct permissions for settings file on all platforms but osx and win 2015-02-05 17:40:20 +01:00
Dominik Schmidt
acd5faf93d Don't refer to Phonon anymore on audio problems 2015-02-05 17:39:10 +01:00
Dominik Schmidt
c86e67831e Add QTBUG reference to another Q_WS_X11 ifdef 2015-02-05 17:17:57 +01:00
Dominik Schmidt
a6d189070e Add QTBUG reference to Q_WS_X11 ifdef 2015-02-05 17:16:14 +01:00
Dominik Schmidt
acee0b6a99 At least request activation if qtx11extras isn't available 2015-02-05 16:50:58 +01:00
Dominik Schmidt
f3b1fa9402 Fix Qt5 build on non-apple, non-win without x11extras 2015-02-05 16:50:58 +01:00
Tomahawk CI
b089a3ee4e Automatic merge of Transifex translations 2015-02-05 01:17:04 +01:00
Dominik Schmidt
a02c00d68d Check for HAVE_X11 instead of Q_OS_LINUX in bringToFront 2015-02-04 18:40:08 +01:00
Dominik Schmidt
9711421d8b Implement bringToFront properly for Qt5 on X11 2015-02-04 17:59:11 +01:00
Christian Muehlhaeuser
c7364b8f31 Removed old VolumeFull icon entirely. 2015-02-04 01:55:32 +01:00
Tomahawk CI
7ee68c6b5b Automatic merge of Transifex translations 2015-02-04 01:17:03 +01:00
Jason Herskowitz
d343de32b9 Don't call an icon we don't use anymore - although clicking volume icon to mute not currently working 2015-02-02 20:54:13 -05:00
Jason Herskowitz
7b0ad585c3 Fix padding of Repeat icons so they overlay each other better 2015-02-02 20:32:15 -05:00
Jason Herskowitz
80426a1739 Shuffle One vs Shuffle All. Shuffle All icon needs a bit more cleanup. 2015-02-02 20:20:26 -05:00
Tomahawk CI
053390eb5a Automatic merge of Transifex translations 2015-02-03 01:17:08 +01:00
Dominik Schmidt
7b500d37c9 Fix qca filenames in nsis script 2015-01-30 04:36:52 +01:00
Tomahawk CI
3e3bc1e920 Automatic merge of Transifex translations 2015-01-30 01:17:12 +01:00
Christian Muehlhaeuser
bc4ba84212 Fixed page background and selection colors. 2015-01-29 12:33:44 +01:00
Dominik Schmidt
b4a284a25d Don't fail OSX build if package can't be signed for >=10.9.5 2015-01-29 07:49:26 +01:00
Dominik Schmidt
4fa69d9607 Link against correct qca library with Qt5 2015-01-29 06:12:05 +01:00
Dominik Schmidt
ca13bb6839 Fix libechonest detection for Qt5 2015-01-29 06:12:05 +01:00
Dominik Schmidt
001d936aae Disable CrashReporter by default on Linux 2015-01-29 06:12:05 +01:00
Christian Muehlhaeuser
1071a84fa9 Don't call nam->setNetworkAccessible, which breaks network connectivity on Windows with Qt5.4. 2015-01-29 04:24:39 +01:00
Tomahawk CI
8e8240ada8 Automatic merge of Transifex translations 2015-01-29 01:16:51 +01:00
Dominik Schmidt
3e7b79fe02 Fix compilation with Qt5 on Windows 2015-01-28 21:01:25 +01:00
Dominik Schmidt
75725f9494 Download vlc build without Phonon but with VLC headers 2015-01-28 21:01:25 +01:00
Dominik Schmidt
75ce81f86c Switch NSIS.template.in to Qt5 2015-01-28 21:01:25 +01:00
Dominik Schmidt
9b2a3f65d4 Use qtsparkle-qt5 when building with Qt5 2015-01-28 21:01:25 +01:00
Christian Muehlhaeuser
c4c4ab6681 Fixed icon generation on OS X. 2015-01-26 19:54:54 +01:00
Christian Muehlhaeuser
629c6f4795 Fix framework structure in macdeploy. 2015-01-26 05:27:42 +01:00
Christian Muehlhaeuser
3ed1275f0d Don't sign on 10.7 build machine. 2015-01-26 02:40:16 +01:00
Christian Muehlhaeuser
27275c47a4 Fixed copying Info.plist into frameworks. 2015-01-26 01:50:14 +01:00
Christian Muehlhaeuser
0b394c812a Don't copy Sparkle into the bundle manually. It's dragged in by dependency. 2015-01-26 01:49:57 +01:00
Tomahawk CI
6fb56dc6cc Automatic merge of Transifex translations 2015-01-26 01:16:53 +01:00
Christian Muehlhaeuser
63757d962e Fixed crashreporter build on OSX. 2015-01-25 20:32:18 +01:00
Christian Muehlhaeuser
2597ffb986 Updated qocoa. 2015-01-25 18:42:12 +01:00
Christian Muehlhaeuser
aacb375483 Link attica publicly. 2015-01-25 18:42:12 +01:00
Christian Muehlhaeuser
597407ec88 Switch to deploying Qt5, enable new plugins, disable old / broken ones for now. 2015-01-25 18:42:11 +01:00
Tomahawk CI
6149401ca4 Automatic merge of Transifex translations 2015-01-25 01:16:46 +01:00
Tomahawk CI
58a6aaa5e8 Automatic merge of Transifex translations 2015-01-24 01:16:49 +01:00
Tomahawk CI
3b7b8cf400 Automatic merge of Transifex translations 2015-01-23 01:16:47 +01:00
Leo Franchi
89b82c8d75 Be more lenient about accepting jspf and m3u 2015-01-21 19:56:40 -08:00
Leo Franchi
c5d9de7682 Enable selecting .jspf files in file browser dialog 2015-01-21 19:45:41 -08:00
Leo Franchi
a64427da15 Style **cough** 2015-01-21 19:45:39 -08:00
Leo Franchi
835dd9e4eb Handle JSPF playlists in load/playlist command 2015-01-21 19:24:32 -08:00
Leo Franchi
8efd47a17e Handle JSPF playlists in Import Playlist dialog
Additionally, use the job status view to show errors
when loading XSPF playlists instead of modals
2015-01-21 19:24:29 -08:00
Dominik Schmidt
ae39385ee0 Fix 10.10 signing *shrug* 2015-01-21 16:49:50 +01:00
Christian Muehlhaeuser
e32f333093 Disable rounded image in ColumnView's preview widget. 2015-01-12 04:20:07 +01:00
Christian Muehlhaeuser
8665557de9 Merge pull request #287 from willstott101/readme
Readme changes.
2015-01-10 01:33:17 +01:00
Will Stott
92d1fc2b37 3rd time lucky 2015-01-09 00:23:26 +00:00
Will Stott
b13245e965 Attempted table fix. 2015-01-09 00:21:51 +00:00
Will Stott
c12f17810f Formatting changes 2015-01-09 00:17:25 +00:00
Will Stott
3870ea7d29 Minor formatting changes 2015-01-09 00:17:11 +00:00
Will Stott
c48a9b44a3 Scrollback link + friends listen along clarification. 2015-01-08 23:56:05 +00:00
Thierry Göckel
94c666b604 Fix typo. 2015-01-06 23:54:39 +01:00
Tomahawk CI
e2d8576b01 Automatic merge of Transifex translations 2014-12-29 01:16:57 +01:00
Tomahawk CI
68817d0091 Automatic merge of Transifex translations 2014-12-24 01:16:42 +01:00
Tomahawk CI
21d251b022 Automatic merge of Transifex translations 2014-12-23 01:16:42 +01:00
Dominik Schmidt
cf10521b1e Add basic Windows runtime version support 2014-12-22 21:55:16 +01:00
Dominik Schmidt
19d617266e Add user agent to pong request 2014-12-22 21:55:04 +01:00
Tomahawk CI
fbdb363362 Automatic merge of Transifex translations 2014-12-22 01:16:45 +01:00
Uwe L. Korn
60ce34e206 Remove unnecessary variable crows 2014-12-21 11:46:34 +01:00
Uwe L. Korn
b8823401f8 Use C++11 pointers for memory management 2014-12-21 11:40:08 +01:00
Uwe L. Korn
40d95e1e37 Add GNUTLS_INCLUDE_DIR to include path in qt-certificate-addon 2014-12-21 11:06:13 +01:00
Dominik Schmidt
bebacfad91 Merge pull request #283 from justin-time/master
Add CMAKE_SKIP_RPATH and CMAKE_INSTALL_LIBDIR to PACKAGING.md
2014-12-20 17:51:53 +01:00
justin-time
6672eb26cc Add CMAKE_SKIP_RPATH and CMAKE_INSTALL_LIBDIR
Add the CMake build options CMAKE_SKIP_RPATH and CMAKE_INSTALL_LIBDIR.
2014-12-20 17:43:25 +01:00
Christian Muehlhaeuser
5bc2c8b7d2 Fixed bash comparison. 2014-12-19 09:59:34 +01:00
Christian Muehlhaeuser
1166f56623 Check for second arg being available in OSX build script. 2014-12-19 09:32:17 +01:00
Christian Muehlhaeuser
33d5101bf5 OSX release script now expects cert signer as an additional parameter. 2014-12-19 09:32:17 +01:00
Tomahawk CI
e9240d96a5 Automatic merge of Transifex translations 2014-12-19 01:16:42 +01:00
Tomahawk CI
dbb650a0be Automatic merge of Transifex translations 2014-12-17 01:16:44 +01:00
Christian Muehlhaeuser
2f76f0c43e Print out unexpected non-JSON messages. 2014-12-17 00:12:57 +01:00
Enno Gottschalk
7125ba758f Added noop Tomahawk.localStorage methods to tomahawk.js 2014-12-17 00:02:55 +01:00
Enno Gottschalk
4fdd86f3bb Merged changes made to tomahawk.js in tomahawk-android 2014-12-16 19:11:01 +01:00
Tomahawk CI
967e112068 Automatic merge of Transifex translations 2014-12-16 01:16:48 +01:00
Jason Herskowitz
f280821924 Ensure text doesn't get cropped on DMG background image 2014-12-15 13:34:44 -05:00
Jason Herskowitz
d3ef46829f Fix UNLOVE icon so it won't get cropped 2014-12-15 13:16:35 -05:00
Jason Herskowitz
73d3f92883 Fix bio background color 2014-12-15 11:58:55 -05:00
Tomahawk CI
e8940f9dff Automatic merge of Transifex translations 2014-12-14 01:16:45 +01:00
Tomahawk CI
22b24c72d5 Automatic merge of Transifex translations 2014-12-11 01:16:49 +01:00
Christian Muehlhaeuser
8601b0bd2d Setup closure after adding tracks to model, so we don't accidentally clear/append twice. 2014-12-10 04:39:25 +01:00
Dominik Schmidt
af1cd29673 Merge pull request #282 from sajattack/master
Add paused to currenttrack response of json api
2014-12-10 01:27:06 +01:00
Paul Sajna
1ab463b235 Add paused to currenttrack response of json api 2014-12-09 16:09:19 -08:00
Tomahawk CI
7055d9db5e Automatic merge of Transifex translations 2014-12-09 01:16:41 +01:00
Tomahawk CI
24b0d4da01 Automatic merge of Transifex translations 2014-12-08 01:16:50 +01:00
Tomahawk CI
7ce733bdd1 Automatic merge of Transifex translations 2014-12-07 01:16:58 +01:00
Dominik Schmidt
52e9aad61b Add position to currenttrack response of json api 2014-12-05 02:07:25 +01:00
Tomahawk CI
f7a6b32d08 Automatic merge of Transifex translations 2014-12-05 01:16:49 +01:00
Christian Muehlhaeuser
892f0976bb Merge pull request #281 from grindhold/master
updated outdated url to attica sources
2014-12-02 14:21:59 +01:00
grindhold
3fd39cf618 updated outdated url to attica sources 2014-12-02 13:42:57 +01:00
Tomahawk CI
c8654ff59b Automatic merge of Transifex translations 2014-12-02 01:16:41 +01:00
Jason Herskowitz
4bc08c4d3c Make now playing indicator color in Collection match color of progress bar in Playlist view 2014-12-01 17:36:38 -05:00
Christian Muehlhaeuser
3c3f2b12c6 Fixed compiling. 2014-12-01 15:34:50 +01:00
Christian Muehlhaeuser
0312ef7dab Set default background for AudioControls. 2014-12-01 15:33:19 +01:00
Christian Muehlhaeuser
0d2fc7a96d Removed obsolete TomahawkStyle color consts. 2014-12-01 15:06:15 +01:00
Christian Muehlhaeuser
7eaaa66fbf Re-use TomahawkStyle::HEADER_BACKGROUND. 2014-12-01 14:49:15 +01:00
Christian Muehlhaeuser
ab9423d55b Re-use TomahawkStyle::HEADER_LABEL. 2014-12-01 13:45:07 +01:00
Christian Muehlhaeuser
7ae2fe2952 Use PAGE_BACKGROUND color throughout Tomahawk. 2014-12-01 13:13:17 +01:00
Tomahawk CI
b399532251 Automatic merge of Transifex translations 2014-12-01 01:16:44 +01:00
Tomahawk CI
ce97acb55a Automatic merge of Transifex translations 2014-11-27 01:16:45 +01:00
Tomahawk CI
5cf94c5918 Automatic merge of Transifex translations 2014-11-26 01:16:48 +01:00
Uwe L. Korn
583d684697 Expose VLC instance 2014-11-25 23:48:50 +01:00
Christian Muehlhaeuser
08db5cde69 Use 'albumArtist' (uppercase Artist) for resolvers. 2014-11-25 16:37:41 +01:00
Tomahawk CI
249388ba57 Automatic merge of Transifex translations 2014-11-25 01:16:41 +01:00
Uwe L. Korn
e06c0cbdae Check for AlbumArtist support in libvlc_meta 2014-11-24 22:17:11 +01:00
Christian Muehlhaeuser
e3e5a744a3 Updated ChangeLog. 2014-11-24 19:41:50 +01:00
Christian Muehlhaeuser
525fcc650e Use a closure to handle tracks async. 2014-11-24 18:52:21 +01:00
Christian Muehlhaeuser
63bc270f61 Support albumArtist whereever possible. 2014-11-24 18:52:20 +01:00
Christian Muehlhaeuser
cb6c901eb4 Added albumArtist property to Track. 2014-11-24 18:52:20 +01:00
Tomahawk CI
fbec557e6e Automatic merge of Transifex translations 2014-11-24 01:16:53 +01:00
Tomahawk CI
15150e71a7 Automatic merge of Transifex translations 2014-11-23 01:16:44 +01:00
Uwe L. Korn
195aa27b87 Access private variable directly instead of using getter 2014-11-22 23:35:31 +01:00
Uwe L. Korn
b7ed91c112 Private is only used for reading 2014-11-22 23:26:07 +01:00
Uwe L. Korn
1625e7a0ed Remove unused references to Private 2014-11-22 23:25:53 +01:00
Christian Muehlhaeuser
f48d07c77f Fixed include. 2014-11-22 19:08:25 +01:00
Christian Muehlhaeuser
87d2ddd8c6 Make more FdoNotifyPlugin strings translatable. 2014-11-22 18:41:37 +01:00
Christian Muehlhaeuser
28859d4ec9 Merge pull request #278 from danpalmer/master
Fix typo in link to OSX build instructions
2014-11-22 16:01:42 +01:00
Dan Palmer
bf470e19ba Fix typo in link to OSX build instructions 2014-11-22 14:54:57 +00:00
Tomahawk CI
5db05a909a Automatic merge of Transifex translations 2014-11-22 01:16:47 +01:00
Christian Muehlhaeuser
235ecc66b4 Use album-artist if available. 2014-11-21 21:06:20 +01:00
Christian Muehlhaeuser
90437a7666 Merge pull request #273 from hansschmucker/master
Use albumartist in DatabaseCommand_AddFiles
2014-11-21 20:44:20 +01:00
Christian Muehlhaeuser
9c4b486a44 Make more FdoNotifyPlugin texts translatable. 2014-11-21 19:47:27 +01:00
Christian Muehlhaeuser
6b7a9e274b Fixed --demo argument, stripping domains of usernames for demo purposes. 2014-11-21 16:15:11 +01:00
Christian Muehlhaeuser
8f28228061 Fixed scaling with width or height being 0. 2014-11-21 03:29:38 +01:00
Christian Muehlhaeuser
5052e39cbc Keep aspect ratio for image requests with width or height being 0. 2014-11-21 03:29:29 +01:00
Dominik Schmidt
fcc772ecc5 Fix serialization of QVariantMap to javascript 2014-11-20 21:25:05 +01:00
Tomahawk CI
d2e6deba9e Automatic merge of Transifex translations 2014-11-20 01:16:49 +01:00
Christian Muehlhaeuser
1389aa7694 Updated ChangeLog. 2014-11-19 16:16:41 +01:00
Christian Muehlhaeuser
83861f32cf Made tag reading safer and easier.
Show error message if we couldn't write tags to a file.
2014-11-19 16:13:01 +01:00
Christian Muehlhaeuser
d5e1e0fc70 Added new languages: Spanish (Latin America) and Portuguese (Portugal). 2014-11-19 14:30:58 +01:00
Dominik Schmidt
1bd53e1be4 Fix compilation with latest CMake on windows 2014-11-19 03:18:51 +01:00
Tomahawk CI
24c15243f8 Automatic merge of Transifex translations 2014-11-19 01:16:56 +01:00
Christian Muehlhaeuser
a979e978a0 Updated ChangeLog. 2014-11-18 14:46:24 +01:00
Tomahawk CI
ecd3c8a1c6 Automatic merge of Transifex translations 2014-11-18 01:16:44 +01:00
Dominik Schmidt
5fa223428e Merge pull request #276 from tomahawk-player/jsinfoplugins
Add JavaScript InfoPlugins
2014-11-17 21:47:09 +01:00
Dominik Schmidt
e1dbeb4cd6 Move all classes in libtomahawk/resolvers to Tomahawk namespace 2014-11-17 21:46:40 +01:00
Dominik Schmidt
91af16fc18 Style and debug spam cleanup 2014-11-17 21:46:40 +01:00
Dominik Schmidt
b3ace2f05a Make JSResolver::escape public and use it from JSInfoPlugin 2014-11-17 21:46:40 +01:00
Dominik Schmidt
de0fcab5f9 Add escape helper method to JSResolver 2014-11-17 21:46:40 +01:00
Dominik Schmidt
f8ce2c9108 Add Tomahawk.assert to JS bindings 2014-11-17 21:46:39 +01:00
Dominik Schmidt
e8b8f95a25 Get rid of QVariantHash in EchonestPlugin completely 2014-11-17 21:46:39 +01:00
Dominik Schmidt
470cd7e0c5 Don't use QVariantHash instead of QVariantMap for artist biographies 2014-11-17 21:46:39 +01:00
Dominik Schmidt
2cd4b0442e Remove spurious newline 2014-11-17 21:46:39 +01:00
Dominik Schmidt
84b30f0f5e Move Q_D underneath any thread guards 2014-11-17 21:46:39 +01:00
Dominik Schmidt
0c26533261 Make sure JSInfo* methods are called in the right threads 2014-11-17 21:46:39 +01:00
Dominik Schmidt
b88faf3bdf Remove unused include 2014-11-17 21:46:39 +01:00
Dominik Schmidt
0d51bfb786 Fix code style 2014-11-17 21:46:38 +01:00
Dominik Schmidt
b77d4dc73e Call _adapter_$propertyName on resolver object if available to allow a nice promise based API without breaking legacy resolvers 2014-11-17 21:46:38 +01:00
Dominik Schmidt
5ae9275a5a Add helper method to call properties/functions on resolver js object 2014-11-17 21:46:38 +01:00
Dominik Schmidt
f075259b8d Make promises available to resolvers as well 2014-11-17 21:46:38 +01:00
Dominik Schmidt
d5fab40884 Add JavaScript InfoPlugins 2014-11-17 21:46:38 +01:00
Christian Muehlhaeuser
e0f0bcbe35 Album search-results needs delegate line wrapping. 2014-11-17 14:49:54 +01:00
Dominik Schmidt
9182364966 Fix qtsparkle usage 2014-11-17 12:18:09 +01:00
Christian Muehlhaeuser
c6157ebba2 Merge pull request #277 from tomahawk-player/fix-qsqldatabase-warning
Look into the list of driver instead of probing.
2014-11-17 05:57:17 +01:00
Tomahawk CI
dd62a3a917 Automatic merge of Transifex translations 2014-11-17 01:16:49 +01:00
Uwe L. Korn
fa95a0d0b1 Look into the list of driver instead of probing.
This eliminates a Qt warning about a not available QSql backend.
2014-11-16 18:37:46 +01:00
Uwe L. Korn
cf9bc2b403 Proxy isBeingPlayed to the page 2014-11-16 16:37:01 +01:00
Uwe L. Korn
892b5e9050 Simplify isBeingPlayed 2014-11-16 16:37:01 +01:00
Uwe L. Korn
b14280b96c Bundle all playlist interfaces and export the meta interface 2014-11-16 16:37:01 +01:00
Uwe L. Korn
087b35cc89 Track collection page 2014-11-16 16:37:01 +01:00
Uwe L. Korn
945740eb21 Show now playing icon also for collections 2014-11-16 16:37:00 +01:00
Uwe L. Korn
9487182438 Remove trailing ; 2014-11-16 16:37:00 +01:00
Uwe L. Korn
883275b14a Remove unnecessary virtual 2014-11-16 16:37:00 +01:00
Uwe L. Korn
7ec2d61940 C++11ify 2014-11-16 16:37:00 +01:00
Uwe L. Korn
1cd3340e04 QString() is a much faster version of "" 2014-11-16 16:37:00 +01:00
Uwe L. Korn
e070885937 C++11ify 2014-11-16 16:37:00 +01:00
Uwe L. Korn
eabcbf0632 Don't iterate over each result if we already know the required action early 2014-11-16 16:37:00 +01:00
Uwe L. Korn
52613693e3 Remove duplicate check if source is NULL 2014-11-16 16:37:00 +01:00
Christian Muehlhaeuser
a2ea7e8b4a Bumped taglib version check to 1.8. Required due to tiostream.h 2014-11-16 16:22:17 +01:00
Tomahawk CI
f47371bae4 Automatic merge of Transifex translations 2014-11-16 01:17:30 +01:00
Christian Muehlhaeuser
42e1063263 Updated ChangeLog. 2014-11-15 17:48:30 +01:00
Christian Muehlhaeuser
8fa3a91b55 Disable sorting for stations. 2014-11-15 17:47:03 +01:00
Christian Muehlhaeuser
dd68808a42 Revert order for drop types. 2014-11-15 16:18:14 +01:00
Christian Muehlhaeuser
34eb23842f Try to accept drop as tracks first, then fallback to script resolvers. 2014-11-15 15:48:34 +01:00
Christian Muehlhaeuser
69f64c041c Accept as CopyAction. 2014-11-15 15:40:53 +01:00
Christian Muehlhaeuser
cdbdd0cc54 Make sure we always call QTreeView's dragMoveEvent, otherwise D&D will break. 2014-11-15 15:33:40 +01:00
Christian Muehlhaeuser
7ee32acd23 Added debug. 2014-11-15 15:26:49 +01:00
Christian Muehlhaeuser
fce553cfc0 Updated ChangeLog. 2014-11-15 12:04:23 +01:00
Christian Muehlhaeuser
0ac509e827 Prevent infinite scanning, falling for symlink recursion. 2014-11-15 12:02:25 +01:00
Tomahawk CI
233bbcd6f9 Automatic merge of Transifex translations 2014-11-15 01:17:32 +01:00
Tomahawk CI
e4d351ccd3 Automatic merge of Transifex translations 2014-11-14 01:17:33 +01:00
hansschmucker
68af1d1e4b Only add albumartist if it's non-empty 2014-11-13 16:01:13 +01:00
hansschmucker
50e910b350 Merge branch 'master' of https://github.com/hansschmucker/tomahawk 2014-11-13 15:58:19 +01:00
hansschmucker
9e710da93d Check whether albumartist is blank before trying to add it. 2014-11-13 15:30:43 +01:00
Christian Muehlhaeuser
c7ef945018 Renamed 'Open Issues' to 'Bug Tracker & Issues' 2014-11-13 10:09:30 +01:00
Christian Muehlhaeuser
09006b0feb Updated ChangeLog. 2014-11-13 05:39:20 +01:00
Christian Muehlhaeuser
f2235cee55 Fixed TWK-1454: Don't crash when trying to set invalid current index. 2014-11-13 03:12:16 +01:00
Christian Muehlhaeuser
7cd0526d95 Update ChangeLog. 2014-11-13 03:12:16 +01:00
Christian Muehlhaeuser
7c3d7303a3 Wait for the first playable track when starting playback of a PlaylistInterface. 2014-11-13 03:12:16 +01:00
Christian Muehlhaeuser
cf7ce9aa0e PlaylistInterface emits a signal when the first playable track has been resolved. 2014-11-13 03:12:16 +01:00
Christian Muehlhaeuser
15356eba47 Style fix for Album. 2014-11-13 03:12:16 +01:00
Dominik Schmidt
65e0491b53 Fix dupes if you add a collection subfolder to your collection again 2014-11-13 02:43:13 +01:00
hansschmucker
34370a300f Merge remote-tracking branch 'upstream/master' 2014-11-12 21:44:04 +01:00
Christian Muehlhaeuser
051f922e10 Finish loading in RecentlyPlayedModel when there's no history to be found. 2014-11-12 07:44:25 +01:00
Christian Muehlhaeuser
b6da0894b6 Updated ChangeLog. 2014-11-12 07:39:20 +01:00
Christian Muehlhaeuser
d2d44f41cb Support loading m3u playlists from 'Import Playlist' dialog. 2014-11-12 07:39:16 +01:00
Christian Muehlhaeuser
1a6927a6ad Style fixes for M3uLoader. 2014-11-12 07:39:15 +01:00
Christian Muehlhaeuser
ba850910bc Renamed importXspfPath to importPlaylistPath in TomahawkSettings. 2014-11-12 07:39:15 +01:00
Christian Muehlhaeuser
29080fdd8a Renamed importXSPF to importPlaylist in ActionCollection. 2014-11-12 07:39:15 +01:00
Christian Muehlhaeuser
edc1be79ce Renamed LoadXSPFDialog to LoadPlaylistDialog. 2014-11-12 07:39:15 +01:00
Christian Muehlhaeuser
60df95b442 Updated ChangeLog. 2014-11-12 07:38:39 +01:00
Christian Muehlhaeuser
6680ec6305 Make sure album grid on collection page is sorted. 2014-11-12 07:38:33 +01:00
Christian Muehlhaeuser
1f69b43bdd Sort album models by artist name first. 2014-11-12 07:38:21 +01:00
Tomahawk CI
c2b842ef9c Automatic merge of Transifex translations 2014-11-11 01:17:42 +01:00
Uwe L. Korn
c3553b037d Make QNR_IODeviceStream thread-safe 2014-11-09 16:26:33 +01:00
Uwe L. Korn
f6ab3e6007 Style SourceTreeView scrollbar 2014-11-09 14:41:12 +01:00
Uwe L. Korn
7cbe723e0a Make readDoneCallback a member function 2014-11-09 13:37:45 +01:00
Uwe L. Korn
f949fe9de3 Make readCallback a member function 2014-11-09 12:39:51 +01:00
Christian Muehlhaeuser
e6d1e90542 Fixed TWK-1779: Duped script-collection tracks. 2014-11-09 04:32:53 +01:00
Christian Muehlhaeuser
7b8d3ad3db README style. 2014-11-09 03:27:22 +01:00
Christian Muehlhaeuser
04febbd10f Updated README. 2014-11-09 03:27:02 +01:00
Tomahawk CI
07e590a46e Automatic merge of Transifex translations 2014-11-09 01:17:31 +01:00
Christian Muehlhaeuser
6cf4c8851b Merge pull request #274 from justin-time/master
Update for the Download Tomahawk section.
2014-11-08 23:47:49 +01:00
justin-time
7df2dd5c0b Updated DOWNLOAD TOMAHAWK section. 2014-11-08 23:42:05 +01:00
Stefan Derkits
53e4cf8d76 quick&dirty fix for finding lucene++ install under ubuntu 2014-11-08 19:27:12 +01:00
Uwe L. Korn
7ace093457 Fix bringToFront for 'something weird' window managers 2014-11-08 18:48:13 +01:00
Stefan Derkits
4daae18cbe add bringToFront functionality for Qt5, use old code only for Qt4 2014-11-08 18:10:16 +01:00
hansschmucker
8e199f9faf Use albumartist in DatabaseCommand_AddFiles
So far, the album database uses the track artist. This changes it to use the album artist if one is available.
2014-11-08 15:00:03 +01:00
Christian Muehlhaeuser
f175daeab2 Unbreak Windows. 2014-11-08 06:36:03 +01:00
Christian Muehlhaeuser
19ce0a5f56 We always support complex filenames on Windows. 2014-11-08 06:30:02 +01:00
Christian Muehlhaeuser
d78f39f24a Updated ChangeLog. 2014-11-08 06:18:12 +01:00
Christian Muehlhaeuser
24b7fe2bbe Remove obsolete include. 2014-11-08 06:09:00 +01:00
Christian Muehlhaeuser
051f0b0e39 Fixed TWK-1901: Spacing issue on 'More Albums' grid. 2014-11-08 06:09:00 +01:00
Uwe L. Korn
ee4675cac7 Check for COMPLEX_TAGLIB_FILENAME
Fixes crashes on Windows with files that can be indexed but not edited.
2014-11-08 06:08:41 +01:00
Tomahawk CI
61bbe8d510 Automatic merge of Transifex translations 2014-11-08 01:17:34 +01:00
Jeff Mitchell
ba95525fb7 Clean up code and add some explanation in comments 2014-11-07 16:05:41 -05:00
Jason Herskowitz
d0f2e94437 Unbreak share links. Jefferai should review this. 2014-11-07 15:30:05 -05:00
Tomahawk CI
1444685479 Automatic merge of Transifex translations 2014-11-07 01:17:34 +01:00
Jeff Mitchell
add736e0ee Fix some QUrl percent encoding problems 2014-11-06 12:03:28 -05:00
Uwe L. Korn
f35f5d5af0 C++11 style fix 2014-11-06 11:32:54 +01:00
Uwe L. Korn
4ea074023d Style fixes 2014-11-06 11:27:53 +01:00
Uwe L. Korn
954608d81c Less logging in MediaStream 2014-11-06 11:27:52 +01:00
Uwe L. Korn
4bab72d9f7 Include MediaStream less globally 2014-11-06 11:27:52 +01:00
Uwe L. Korn
76b1b48106 Move common initialisations to definition 2014-11-06 11:27:52 +01:00
Christian Muehlhaeuser
67712bdeab Safety first. 2014-11-06 06:06:30 +01:00
Christian Muehlhaeuser
b76053c629 Style fix in DatabaseImpl. 2014-11-06 06:06:30 +01:00
Christian Muehlhaeuser
5f393ebc3d Store Result's own weakref, so it can convert back to the existing sharedptr from itself. 2014-11-06 06:06:30 +01:00
Christian Muehlhaeuser
bb1e856955 Prefer QSQLITE3 over QSQLITE, but fallback. 2014-11-06 05:42:29 +01:00
Tomahawk CI
03106296d4 Automatic merge of Transifex translations 2014-11-06 01:17:31 +01:00
Uwe L. Korn
efa798e6c2 Move audio related classes into audio/ 2014-11-05 23:38:19 +01:00
Uwe L. Korn
456bd2aaa1 Remove unused Fontmetrics 2014-11-05 23:11:42 +01:00
Uwe L. Korn
3ee20385e3 C++11 style fixes 2014-11-05 23:11:32 +01:00
Uwe L. Korn
a408a3ac38 Use nullptr instead of 0 2014-11-05 23:01:50 +01:00
Uwe L. Korn
d6f2172e8c Use override directly instead of Qt macro 2014-11-05 23:01:38 +01:00
Uwe L. Korn
9f7baad484 C++11 style fixes 2014-11-05 23:01:23 +01:00
Uwe L. Korn
5c0ee6b919 C++11 style fixes 2014-11-05 23:01:03 +01:00
Uwe L. Korn
ce9d953c87 Remove redundant semicolon 2014-11-05 23:00:51 +01:00
Uwe L. Korn
6f7a0e678f Style fixes 2014-11-05 23:00:43 +01:00
Uwe L. Korn
4a843cc7eb Remove unused functions 2014-11-05 23:00:31 +01:00
Uwe L. Korn
d7799a64e8 Replace virtuals with respective overrides 2014-11-05 23:00:22 +01:00
Uwe L. Korn
0d3d50aa7b Add Uwe to copyright 2014-11-05 23:00:12 +01:00
Uwe L. Korn
21a6c0ed55 Also display error in the log 2014-11-05 23:00:04 +01:00
Uwe L. Korn
9e4f46a567 Refactor Job error display into own function 2014-11-05 22:59:55 +01:00
Uwe L. Korn
c0ecbb45ac Fix: iCCP: known incorrect sRGB profile 2014-11-05 22:51:58 +01:00
Uwe L. Korn
229c2a6afe Remove useless .data() 2014-11-05 22:46:33 +01:00
Uwe L. Korn
d56064141b Move initialisation to initialiserlist 2014-11-05 22:46:14 +01:00
Uwe L. Korn
a5ec7a9036 Replace virtuals with respective overrides 2014-11-05 22:46:03 +01:00
Uwe L. Korn
441b17c6dd Replace virtuals with respective overrides 2014-11-05 22:45:47 +01:00
Uwe L. Korn
fdff5663ac Remove redundant semicolons 2014-11-05 22:45:14 +01:00
Uwe L. Korn
6a2782a95b Include IP address in logging for offers 2014-11-05 21:46:42 +01:00
Tomahawk CI
0168386e96 Automatic merge of Transifex translations 2014-11-05 01:17:20 +01:00
Christian Muehlhaeuser
7cdf758a9d Added new translations: Danish, Indonesian, Dutch, Albanian, Thai, Ukrainian, Vietnamese. 2014-11-05 00:16:35 +01:00
Christian Muehlhaeuser
a369aa8632 Set a default size of 80% of the available current screen space. 2014-11-05 00:16:35 +01:00
Christian Muehlhaeuser
d41ac411d8 Set default font size for generic sidebar items. 2014-11-05 00:16:35 +01:00
Christian Muehlhaeuser
3db70bce53 Don't assert when editing metadata of tracks without an album set. 2014-11-05 00:16:35 +01:00
Christian Muehlhaeuser
819b6d0f0a Set correct GridItemDelegate mode and correctly calculate height for remaining GridViews. 2014-11-05 00:16:14 +01:00
Christian Muehlhaeuser
46ac9d46ee Fixed font setting bug and use less margin. 2014-11-05 00:16:14 +01:00
Christian Muehlhaeuser
96db4bb120 Correctly calculate view sizes on Artist page. 2014-11-05 00:16:14 +01:00
Christian Muehlhaeuser
9e3d9b82d6 Convenience method GridView::itemSize(). 2014-11-05 00:15:58 +01:00
Christian Muehlhaeuser
056ff3b8ce Word-wrapping setting for GridItemDelegate so we can accurately determine the size before content got loaded. 2014-11-05 00:15:58 +01:00
Christian Muehlhaeuser
9e92cc9f7b Compile fix. 2014-11-05 00:15:58 +01:00
Christian Muehlhaeuser
f23b3ed40c Use new GridView API. 2014-11-05 00:15:42 +01:00
Christian Muehlhaeuser
9100a8d5ff Self adjust item height in GridItemDelegate and GridView. We now only specify a width. 2014-11-05 00:15:35 +01:00
Tomahawk CI
a0813f337f Automatic merge of Transifex translations 2014-11-03 01:17:24 +01:00
Christian Muehlhaeuser
6109158ea6 Delete lucene directory on upgrade to work-around Lucene++ (<3.0.6) crashes. 2014-11-02 19:44:41 +01:00
Uwe L. Korn
53661b05d3 Set App ID on the VLC instance.
One of the benefits of this is that we are shown in all pulseaudio tools
with the correct branding (name and icon) instead of VLC's.
2014-11-02 17:32:43 +01:00
Uwe L. Korn
1889c032eb Bump libcrashreporter-qt 2014-11-02 17:32:43 +01:00
Tomahawk CI
3ea317d23f Automatic merge of Transifex translations 2014-11-02 01:17:15 +01:00
Dominik Schmidt
19fa2cd123 Use https for sending crash reports 2014-10-31 12:14:43 +01:00
Christian Muehlhaeuser
646a8cb5de We ship with all available languages per default by now. 2014-10-30 12:46:38 +01:00
Christian Muehlhaeuser
9856d44887 Added remaining translations to ship with nightlies. 2014-10-30 11:47:41 +01:00
Christian Muehlhaeuser
181edb945a Ship with new Danish, Hungarian, Lithuanian, Dutch, Albanian, Ukrainian and Chinese (TW) translations. 2014-10-30 11:45:45 +01:00
Tomahawk CI
d2efbb91fe Automatic merge of Transifex translations 2014-10-30 11:05:18 +01:00
Christian Muehlhaeuser
ff43b7b85c Deleted obsolete translations. 2014-10-30 10:42:14 +01:00
Christian Muehlhaeuser
854c32e8e8 Quiet down logging a bit. 2014-10-30 09:42:07 +01:00
Tomahawk CI
26f87e8b7a Automatic merge of Transifex translations 2014-10-30 01:18:09 +01:00
Dominik Schmidt
158dec2816 Link attica privately 2014-10-29 21:41:09 +01:00
Dominik Schmidt
1bcd50bffb Fix Qt5 build. This is a mess and needs clean up :( 2014-10-29 21:15:48 +01:00
Dominik Schmidt
24296b7402 Update TomahawkUse.cmake.in to current qt5 behaviours 2014-10-29 20:59:04 +01:00
Dominik Schmidt
6c621ab5b3 Properly export definitions, c and cxx flags and make use of them in external consumers of libtomahawk 2014-10-29 20:04:56 +01:00
Christian Muehlhaeuser
ad59e64e74 Don't link to DBus when in AddLibrary macro. 2014-10-29 05:42:04 +01:00
Christian Muehlhaeuser
4faf2c59b4 Qt5 / Mac fixes. 2014-10-29 05:40:40 +01:00
Christian Muehlhaeuser
2135b99ccd Replace Q_WS_MAC with Q_OS_MAC. 2014-10-29 02:48:38 +01:00
Christian Muehlhaeuser
1004f17f7b Updated Qt's homepage. 2014-10-29 01:54:33 +01:00
Tomahawk CI
dad26aa34c Automatic merge of Transifex translations 2014-10-29 01:17:28 +01:00
Christian Muehlhaeuser
fea32bed44 Reactivate settings-dialog if it already exists. 2014-10-29 00:08:52 +01:00
Dominik Schmidt
6dcbe12ede Fix version generation for nightly builds 2014-10-28 20:11:22 +01:00
Dominik Schmidt
ad49746fd1 Write tomahawk version to cache 2014-10-28 20:10:46 +01:00
Christian Muehlhaeuser
af515c5f62 Merge pull request #271 from jck/master
Implement Mpris Raise
2014-10-28 19:46:10 +01:00
Keerthan Jaic
f35a8de1f6 Implement Mpris Raise 2014-10-28 12:31:55 -04:00
Jeff Mitchell
60f57f94b6 Fix NSBezelStyle casting issue with a bridge cast 2014-10-28 12:09:30 -04:00
Christian Muehlhaeuser
5d1771a710 Always check return-value of Track's & Result's get() method. 2014-10-28 15:41:53 +01:00
Tomahawk CI
155e93069b Automatic merge of Transifex translations 2014-10-28 01:17:40 +01:00
Dominik Schmidt
9e0ab9c6cb Clean up build-release-osx.sh 2014-10-28 00:40:09 +01:00
Dominik Schmidt
4a01af1718 Copy Info.plist from Contents/ to Resources/ in CopyFramework 2014-10-28 00:38:14 +01:00
Christian Muehlhaeuser
324cf47f6b Updated ChangeLog. 2014-10-27 19:03:56 +01:00
Christian Muehlhaeuser
4fc205a3e3 More spacing above first group in sidebar. 2014-10-27 18:58:26 +01:00
Christian Muehlhaeuser
dfa5bc9e6f Fixed CaptionLabel size calculation. 2014-10-27 18:58:26 +01:00
Uwe L. Korn
faeabada6a Move assignment to constructor 2014-10-27 16:43:06 +01:00
Uwe L. Korn
b358edbed2 C++11 style fixes 2014-10-27 16:42:52 +01:00
Uwe L. Korn
49248d3221 Prepare SQL statement only once 2014-10-27 15:10:35 +01:00
Uwe L. Korn
ff5939f0db Show the number of results 2014-10-27 13:24:08 +01:00
Uwe L. Korn
3e2dd98901 Add timing measurement 2014-10-27 11:48:48 +01:00
Uwe L. Korn
1e43033cdc C++11 style fixes 2014-10-27 11:27:38 +01:00
Uwe L. Korn
acdf5b9635 Do not leak the Query object 2014-10-27 11:18:06 +01:00
Uwe L. Korn
492a6c0a0d Don't hard depend on Pipeline 2014-10-27 11:18:06 +01:00
Uwe L. Korn
51f4e1d394 Add fuzzy search tool 2014-10-27 11:18:06 +01:00
Tomahawk CI
cbb2c6ee7b Automatic merge of Transifex translations 2014-10-27 01:17:31 +01:00
Uwe L. Korn
d2119afec0 C++11 style fixes 2014-10-26 22:48:15 +01:00
Jason Herskowitz
b3af27e302 Update ChangeLog 2014-10-26 15:48:02 -04:00
Christian Muehlhaeuser
86e69d3b77 Unify end-of-line dot. 2014-10-26 20:44:36 +01:00
Jason Herskowitz
b4d12d3ca8 Update ChangeLog
Added a bunch of stuff.
2014-10-26 15:40:41 -04:00
Dominik Schmidt
3a5f80b334 Update PACKAGING.md 2014-10-26 20:35:02 +01:00
Dominik Schmidt
de4d1e68a1 Disable building tools and tests by default for releases 2014-10-26 20:35:02 +01:00
Dominik Schmidt
6026b52e21 Build Hatchet account by default 2014-10-26 20:35:02 +01:00
Jason Herskowitz
980a61353e Update ChangeLog 2014-10-26 15:14:30 -04:00
Uwe L. Korn
97999bd94b Iterator over constant pointers 2014-10-26 19:59:05 +01:00
Uwe L. Korn
958452207e Use Q_D instead of d_func() 2014-10-26 19:59:05 +01:00
Uwe L. Korn
38d6b7de57 C++11 style fixes 2014-10-26 19:59:05 +01:00
Dominik Schmidt
d9ac2543bf No more Phonon, no more phonon-vlc packaging hints 2014-10-26 19:43:53 +01:00
Dominik Schmidt
c4985cb78f Add packaging documentation 2014-10-26 19:43:11 +01:00
Christian Muehlhaeuser
b1f6edf51b Emit signal when shutdown gets blocked by outstanding db jobs. 2014-10-26 17:42:38 +01:00
Tomahawk CI
89a2fe3389 Automatic merge of Transifex translations 2014-10-26 02:18:21 +02:00
Dominik Schmidt
b9f80cbdd3 Strip vlc plugin folder correctly 2014-10-26 00:01:46 +02:00
Christian Muehlhaeuser
2678850700 Don't set a window icon on OS X. 2014-10-25 08:02:46 +02:00
Christian Muehlhaeuser
bf624fde58 BMPs without color space information. 2014-10-25 07:57:51 +02:00
Christian Muehlhaeuser
b7a7e3f3bc Make sure we only compare valid results when adding search results. 2014-10-25 04:30:34 +02:00
Christian Muehlhaeuser
cea6076a83 Show a progress dialog on shutdown, when waiting for db jobs. This is actually a bit fake, because the event-loop is blocked, but better than silently blocking shutdown. 2014-10-25 03:58:25 +02:00
Tomahawk CI
03b68390c1 Automatic merge of Transifex translations 2014-10-25 02:18:08 +02:00
Dominik Schmidt
6ff44c2a02 Make CMake build Tomahawk.app instead of tomahawk.app 2014-10-24 18:46:43 +02:00
Dominik Schmidt
65ad04c527 Fix windows toolchain file 2014-10-24 18:25:44 +02:00
Tomahawk CI
7c8fda8160 Automatic merge of Transifex translations 2014-10-24 02:18:32 +02:00
Jason Herskowitz
f42295157e Update ChangeLog 2014-10-23 13:29:56 -04:00
Christian Muehlhaeuser
e0ceb9f85e Make sure account has been properly created. 2014-10-23 18:15:31 +02:00
Christian Muehlhaeuser
955be8d4b8 Initialize ScannerStatusManager in JobView. 2014-10-23 16:12:53 +02:00
Christian Muehlhaeuser
25a716f47a Delayed ScanManager init, so we can connect to its signal beforehand. 2014-10-23 16:12:53 +02:00
Christian Muehlhaeuser
eeb0a55222 No need for MusicScanner's showProgress setting. 2014-10-23 16:12:53 +02:00
Christian Muehlhaeuser
d051d52d2c Removed obsolete Source::scanningProgress. 2014-10-23 16:12:53 +02:00
Christian Muehlhaeuser
e19800c0de Emit scanning progress from ScanManager. Don't update the local source directly. 2014-10-23 16:12:53 +02:00
Christian Muehlhaeuser
b9e2c8fa53 Added ScannerStatusManager & -Item. 2014-10-23 16:12:53 +02:00
Christian Muehlhaeuser
5ab64dc1b6 Style fixes in Logger. 2014-10-23 16:12:22 +02:00
Dominik Schmidt
0f4ca7e185 X11 is a required dependency on Linux 2014-10-23 15:11:10 +02:00
Tomahawk CI
18be1fe681 Automatic merge of Transifex translations 2014-10-23 02:18:16 +02:00
Uwe L. Korn
bf5ceae50b No logger in the header 2014-10-22 23:11:35 +02:00
Uwe L. Korn
f8703c88ea Remove unused global string 2014-10-22 19:09:37 +02:00
Uwe L. Korn
df1e97cb8e Make member accesors constant 2014-10-22 19:09:11 +02:00
Uwe L. Korn
82fd84c957 Remove unused global string 2014-10-22 19:05:10 +02:00
Uwe L. Korn
4750b0970c Compare constant tuples 2014-10-22 19:04:01 +02:00
Uwe L. Korn
215b43b27b Make VLC event handling a member function 2014-10-22 18:51:18 +02:00
Uwe L. Korn
6bb0d88df5 Merge pull request #270 from lorenzhs/misc-fixes
Miscellaneous cppcheck and other fixes
2014-10-22 18:46:55 +02:00
Uwe L. Korn
223df09a8f Make more accessors constant 2014-10-22 18:43:42 +02:00
Uwe L. Korn
5298640f63 Prefix member objects with m_ 2014-10-22 18:41:08 +02:00
Uwe L. Korn
7526422be6 Remove unused phonon header 2014-10-22 17:03:32 +02:00
Uwe L. Korn
bbcec494d6 Replace Phonon mentions with new components 2014-10-22 17:02:55 +02:00
Lorenz Hübschle-Schneider
4422f73981 JSResolverHelper: comparison function: pass QVariant by reference 2014-10-22 16:47:30 +02:00
Lorenz Hübschle-Schneider
d17f509cea JSResolverHelper: Make use of helper functions 2014-10-22 16:47:30 +02:00
Lorenz Hübschle-Schneider
645f09d514 Avoid copying of constructor results 2014-10-22 16:47:30 +02:00
Lorenz Hübschle-Schneider
fee1e7c349 JSResolverHelper: Fix typo in accountId() function name 2014-10-22 16:47:30 +02:00
Lorenz Hübschle-Schneider
d84709ec7b Resolvers: Remove useless assignments 2014-10-22 16:47:29 +02:00
Lorenz Hübschle-Schneider
52d5476db3 JSResolver: avoid unnecessary calls, simplify logic, consts 2014-10-22 16:47:29 +02:00
Lorenz Hübschle-Schneider
f5660295ed JSResolver: read duration as signed integer 2014-10-22 16:47:29 +02:00
Lorenz Hübschle-Schneider
8106ae2506 Reduce variable scopes
Also reduces some boolean logic verbosity.
2014-10-22 16:47:29 +02:00
Uwe L. Korn
2b3b48f47f Remove obsolete comment 2014-10-22 12:14:02 +02:00
Uwe L. Korn
665c3d2c5e C++11 style fixes 2014-10-22 12:11:56 +02:00
Uwe L. Korn
076a806ef1 Add CMake switch to disable tools 2014-10-22 12:09:13 +02:00
Christian Muehlhaeuser
90dab3c1be Proper VLC url in README. 2014-10-22 11:37:40 +02:00
Christian Muehlhaeuser
4886f8bf62 Updated README. 2014-10-22 11:36:47 +02:00
Uwe L. Korn
029132523f Add VLC website 2014-10-22 11:32:59 +02:00
Christian Muehlhaeuser
108f8d0879 Merge pull request #266 from tomahawk-player/libvlc
Replace Phonon with libvlc directly
2014-10-22 11:25:39 +02:00
Uwe L. Korn
193df0743d Debug-- 2014-10-22 11:19:49 +02:00
Uwe L. Korn
271c68cd8f Remove ADO functions 2014-10-22 11:17:04 +02:00
Uwe L. Korn
a9e247d3d0 Remove supportedMimeTypes 2014-10-22 11:07:36 +02:00
Uwe L. Korn
7f93604dbe Remove redundant code 2014-10-22 10:53:54 +02:00
Uwe L. Korn
fdbb594734 Restore volume restoring 2014-10-22 10:51:11 +02:00
Uwe L. Korn
dc50191f34 Further simplify FindVLC 2014-10-22 10:45:02 +02:00
Uwe L. Korn
3a8d23c5b1 Style fixes 2014-10-22 09:42:54 +02:00
Uwe L. Korn
fd39191d6a Always seek independent of what VLC says 2014-10-22 09:31:53 +02:00
Uwe L. Korn
a324ff14f6 Construct arguments using QString::arg 2014-10-22 09:15:32 +02:00
Uwe L. Korn
b8fe5ad218 Use uintptr_t 2014-10-22 09:05:37 +02:00
Uwe L. Korn
14e264cf60 Style fixes 2014-10-22 09:05:30 +02:00
Jason Herskowitz
2aafa411b6 Make page-header for windows installer white to better match 2014-10-22 04:35:23 +02:00
Jason Herskowitz
9a322959f7 Update Windows installer images - can someone confirm they work? 2014-10-22 04:13:38 +02:00
Uwe L. Korn
c9adcf6bd7 Don't copy MediaStream instances
With the large char-buffer, a copy of them will be very inefficent.
Explicitly add functions for the conversion to a MediaStream but do not
allow a copy constructor.
2014-10-21 23:23:04 +02:00
Uwe L. Korn
eeff358e1d Style fixes 2014-10-21 23:03:16 +02:00
Uwe L. Korn
dfd3715051 Use nullptr instead of 0 2014-10-21 23:02:00 +02:00
Uwe L. Korn
f0e2ddcdf0 Use constant c-style array instead of fancy Qt data structures 2014-10-21 22:57:05 +02:00
Uwe L. Korn
b6f92013bd Use nullptr instead of 0 2014-10-21 22:55:55 +02:00
Dominik Schmidt
ad2b056ddf Revert version number change 2014-10-21 21:48:21 +02:00
Dominik Schmidt
712c288182 Merge branch 'stable-0.8'
Conflicts:
	src/crashreporter/main.cpp
2014-10-21 21:41:00 +02:00
Dominik Schmidt
bb4ad2684c Add outfilename parameter to KDE4_ADD_APP_ICON and rename it to TOMAHAWK_ADD_APP_ICON because it's not compatible anymore 2014-10-21 21:35:54 +02:00
Dominik Schmidt
b1537607b2 Correctly generate the icon .tiff file in kde4_add_app_icon 2014-10-21 21:18:23 +02:00
Uwe L. Korn
c986506605 Use Q_D instead of d_func 2014-10-21 21:13:19 +02:00
Uwe L. Korn
f0d3b11ded Seek even if VLC reports we can't
Yep, sometimes we can seek even though VLC says no.
2014-10-21 21:10:30 +02:00
Uwe L. Korn
accc2b5197 Use find_package_handle_standard_args 2014-10-21 21:05:53 +02:00
Uwe L. Korn
51d2ca2247 Use Q_D instead of d_func 2014-10-21 21:01:38 +02:00
Uwe L. Korn
08101197ae Simplfy FindVLC 2014-10-21 20:57:40 +02:00
Uwe L. Korn
a17a0e154c Remove Phonon traces 2014-10-21 20:46:44 +02:00
Dominik Schmidt
d3b600890f Don't require C++11 for the crashreporter 2014-10-21 20:13:19 +02:00
Christian Muehlhaeuser
73f4c774c3 Don't use Logger from TomahawkSettings ctor. 2014-10-21 19:09:45 +02:00
Christian Muehlhaeuser
fcbb3f31da Don't use Logger from TomahawkSettings ctor. 2014-10-21 19:09:14 +02:00
Christian Muehlhaeuser
0296d579b0 Prevent null_ptr crashes. 2014-10-21 16:31:17 +02:00
Christian Muehlhaeuser
e791977982 Prevent null_ptr crashes. 2014-10-21 16:16:12 +02:00
Uwe L. Korn
68f608ac1a Fix typo 2014-10-21 11:22:29 +02:00
dridri
d9b5fdf0b1 removed too unstable dsp, done remaning TODOs for vlc 2014-10-21 11:22:29 +02:00
dridri
45c3eae10c removed useless/causing crashes with youtube streams libvlc flags 2014-10-21 11:22:29 +02:00
dridri
dadfd20000 no more boost 2014-10-21 11:22:29 +02:00
dridri
ead0ecc808 clean code, use boost::function for callbacks 2014-10-21 11:22:28 +02:00
dridri
eb1ef86452 First attempt to add DSP support 2014-10-21 11:22:28 +02:00
dridri
abba474373 let's clean it a bit 2014-10-21 11:22:28 +02:00
dridri
a1e7af361e added seek-ability detection 2014-10-21 11:22:28 +02:00
dridri
667996715a QIODevice (playing from peers) should be ok now 2014-10-21 11:22:28 +02:00
dridri
ebf58c1a57 --no-one-instance nor recognized by libvlc new version 2014-10-21 11:22:28 +02:00
dridri
5fb5bc4f82 less debug for libvlc output 2014-10-21 11:22:28 +02:00
dridri
439335ecef First version using libvlc instead of phonon - added QIODevice support, less debug, no more segfault 2014-10-21 11:22:28 +02:00
dridri
82acc6b60e little fix for duration bug 2014-10-21 11:22:28 +02:00
dridri
ce3d372749 More track duration calculation and seeking 2014-10-21 11:22:27 +02:00
dridri
5daca7f0e7 totalTime and currentTime impl 2014-10-21 11:22:27 +02:00
dridri
f25a3715da first draft to get rid of phonon and directly use LibVLC 2014-10-21 11:22:27 +02:00
dridri
9bb7a06256 Added DSP callback support for VLC phonon 2014-10-21 11:22:09 +02:00
dridri
736f6fefb6 Now it really should fit standard :P 2014-10-21 11:20:24 +02:00
dridri
3fd8939297 Code now should fit Tomahawk's standard 2014-10-21 11:20:24 +02:00
dridri
db7b2a310f Fixed minor things 2014-10-21 11:20:24 +02:00
dridri
52abcc29de Added Equalizer support on AudioEngine class
Two public methods added :
 * int equalizerBandCount()
 * bool setEqualizerBand(int band, int value)
One private method :
 * void initEqualizer()

Settings and GUI must be made in an external plugin
2014-10-21 11:20:23 +02:00
Uwe L. Korn
372c16794a Use C++11 style initialisation.
This way we already initialise them in the initialiser-list-style but do
not need to add them to each initialiser list separately.
2014-10-21 09:56:11 +02:00
Tomahawk CI
9dd35e0699 Automatic merge of Transifex translations 2014-10-21 02:17:52 +02:00
Dominik Schmidt
197d76ead5 CrashReporter: log to console on windows too 2014-10-21 00:00:29 +02:00
Dominik Schmidt
d5746e794a CrashReporter: Send log file properly gzip compressed 2014-10-21 00:00:20 +02:00
Dominik Schmidt
87aa5086a1 CrashReporter: log to console on windows too 2014-10-20 23:58:35 +02:00
Dominik Schmidt
685049bbde CrashReporter: Send log file properly gzip compressed 2014-10-20 23:58:19 +02:00
Uwe L. Korn
4dacab3d8a Merge pull request #269 from tomahawk-player/revert-268-misc-fixes
Revert "Miscellaneous cppcheck fixes"
2014-10-20 17:49:27 +02:00
Uwe L. Korn
92811215a5 Revert "Miscellaneous cppcheck fixes" 2014-10-20 17:49:15 +02:00
Uwe L. Korn
c1d99b4868 Merge pull request #268 from lorenzhs/misc-fixes
Miscellaneous cppcheck fixes
2014-10-20 17:48:06 +02:00
Lorenz Hübschle-Schneider
8bb14cc26c Unsigned comparison <= 0 is identical to check for 0 2014-10-20 17:41:55 +02:00
Lorenz Hübschle-Schneider
d74c465e58 Remove break after return, it is redundant 2014-10-20 17:41:55 +02:00
Lorenz Hübschle-Schneider
69653c4934 Reduce variable scopes 2014-10-20 17:41:55 +02:00
Lorenz Hübschle-Schneider
46239947f5 Servent: Fix IP protocol version distinction
Uwe failed at C&P!
2014-10-20 17:41:55 +02:00
Lorenz Hübschle-Schneider
eee50b2f93 Remove dead code
Q_ASSERT(Compiler isn't a total moron);
2014-10-20 17:41:55 +02:00
Lorenz Hübschle-Schneider
655edf3e98 Catch exception by reference 2014-10-20 17:41:55 +02:00
Uwe L. Korn
718337ce26 PlayableItem: Set parent in initialiser list 2014-10-20 17:32:21 +02:00
Lorenz Hübschle-Schneider
45e6d52db7 DropJob: don't touch iterator after erasing element
Also drops a redundant condition
2014-10-20 17:05:17 +02:00
Uwe L. Korn
7423d56a9c Remove dead assignment 2014-10-20 17:03:06 +02:00
Uwe L. Korn
3db2db5dd2 Access protected member directly instead of using virtual function 2014-10-20 16:52:07 +02:00
Uwe L. Korn
71c91ba04b Call direct implementation instead of virtual in constructor 2014-10-20 16:49:57 +02:00
Uwe L. Korn
5511e34cb6 Call direct implementation instead of virtual in constructor 2014-10-20 16:33:25 +02:00
Jason Herskowitz
9c0c01962e Add white icon for use with dark menu option in Yosemite 2014-10-20 04:52:40 +02:00
Christian Muehlhaeuser
484cdaf47d Don't create (multiple) layouts with same parent in AccountWidget. 2014-10-20 04:48:06 +02:00
Jason Herskowitz
b6dd736fea Add white icon for use with dark menu option in Yosemite 2014-10-19 22:46:05 -04:00
Christian Muehlhaeuser
0229746f8b Don't create (multiple) layouts with same parent in AccountWidget. 2014-10-20 04:47:39 +02:00
Christian Muehlhaeuser
a3fc65f0a6 Don't pass parent widget in constructor. We call setLayout later. 2014-10-20 04:43:42 +02:00
Christian Muehlhaeuser
ea18ab891f Don't pass parent widget in constructor. We call setLayout later. 2014-10-20 04:43:18 +02:00
Christian Muehlhaeuser
906285e442 pngcrush images. 2014-10-20 04:23:01 +02:00
Christian Muehlhaeuser
72dae5d614 pngcrush images. 2014-10-20 04:22:25 +02:00
Christian Muehlhaeuser
a95112c5b6 Store model pointers in a QPointer for safety. 2014-10-20 04:01:37 +02:00
Christian Muehlhaeuser
4af5b6a76d Correct warning message in ColumnView. 2014-10-20 04:01:37 +02:00
Christian Muehlhaeuser
5e0b232503 Reload Collection-related models when it changed. 2014-10-20 04:01:37 +02:00
Christian Muehlhaeuser
55488cf0e4 Removed old SuperCollection related methods in TreeModel. 2014-10-20 04:01:37 +02:00
Christian Muehlhaeuser
924ff97294 Cleaned up CollectionViewPage ctor and removed obsoleted code. 2014-10-20 04:01:37 +02:00
Christian Muehlhaeuser
dc2c4bf168 Removed a bunch of unneeded code from CollectionViewPage. 2014-10-20 04:01:37 +02:00
Christian Muehlhaeuser
bb32b0c44a CollectionViewPage should do all the grunt work. Pass the collection_ptr to its ctor. 2014-10-20 04:01:37 +02:00
Christian Muehlhaeuser
78e153983f Hide composer column per default and removed obsoleted code from CollectionViewPage. 2014-10-20 04:01:37 +02:00
Christian Muehlhaeuser
dadba16e21 Removed obsolete extraHeader from CollectionViewPage. 2014-10-20 04:01:36 +02:00
Christian Muehlhaeuser
7d864468f9 Remove redundant boost include. 2014-10-20 04:01:08 +02:00
Christian Muehlhaeuser
784b15eb43 Renamed and moved FlexibleTreeView to CollectionViewPage. 2014-10-20 03:59:38 +02:00
Christian Muehlhaeuser
0812855b60 Store model pointers in a QPointer for safety. 2014-10-20 03:51:38 +02:00
Christian Muehlhaeuser
5e2253881f Correct warning message in ColumnView. 2014-10-20 03:49:56 +02:00
Christian Muehlhaeuser
e9c7fd7a16 Reload Collection-related models when it changed. 2014-10-20 03:49:23 +02:00
Christian Muehlhaeuser
1a6a15844b Removed old SuperCollection related methods in TreeModel. 2014-10-20 03:47:59 +02:00
Christian Muehlhaeuser
8dd8c77610 Cleaned up CollectionViewPage ctor and removed obsoleted code. 2014-10-20 03:11:58 +02:00
Christian Muehlhaeuser
16a3e9eccb Removed a bunch of unneeded code from CollectionViewPage. 2014-10-20 02:56:17 +02:00
Christian Muehlhaeuser
225d5764e7 CollectionViewPage should do all the grunt work. Pass the collection_ptr to its ctor. 2014-10-20 02:49:11 +02:00
Christian Muehlhaeuser
44ffefb1fb Hide composer column per default and removed obsoleted code from CollectionViewPage. 2014-10-20 02:35:34 +02:00
Christian Muehlhaeuser
1d3d8001a4 Removed obsolete extraHeader from CollectionViewPage. 2014-10-20 02:34:46 +02:00
Christian Muehlhaeuser
29ba03444b Remove redundant boost include. 2014-10-20 02:34:00 +02:00
Christian Muehlhaeuser
51fe1aa0df Renamed and moved FlexibleTreeView to CollectionViewPage. 2014-10-20 02:20:52 +02:00
Tomahawk CI
84b0d8228d Automatic merge of Transifex translations 2014-10-20 02:18:03 +02:00
Jason Herskowitz
530f0ff8c5 Make progress bar match the red of the Tomahawk logo - #ff004c 2014-10-19 13:21:04 -04:00
Jason Herskowitz
5d9b42182b Make progress bar match the red of the Tomahawk logo - #ff004c 2014-10-19 13:19:16 -04:00
Uwe L. Korn
b7cee78106 Prefer libc++ on Apple if available 2014-10-19 12:23:07 +02:00
Christian Muehlhaeuser
69ead151ba Drop the multiple versions of the empty-collection hint. 2014-10-19 10:40:48 +02:00
Christian Muehlhaeuser
01534d222f Drop the multiple versions of the empty-collection hint. 2014-10-19 10:40:22 +02:00
Christian Muehlhaeuser
bac9931372 Create IndexStatusManager in JobStatusView. 2014-10-19 10:24:48 +02:00
Christian Muehlhaeuser
b43103a3f1 Added IndexStatusManager, which observes indexing progress and creates a job-item accordingly. 2014-10-19 10:24:48 +02:00
Christian Muehlhaeuser
fc04d71edf Added missing GPL headers. 2014-10-19 10:24:48 +02:00
Christian Muehlhaeuser
d0de8c9b14 Don't create JobStatusItem in DatabaseCommand. 2014-10-19 10:24:48 +02:00
Christian Muehlhaeuser
afc9f6bfe7 Emit signal when indexing starts. 2014-10-19 10:24:48 +02:00
Christian Muehlhaeuser
8a58114f73 Create IndexStatusManager in JobStatusView. 2014-10-19 10:21:47 +02:00
Christian Muehlhaeuser
a8642a687f Added IndexStatusManager, which observes indexing progress and creates a job-item accordingly. 2014-10-19 10:21:18 +02:00
Christian Muehlhaeuser
fb66be9746 Added missing GPL headers. 2014-10-19 10:19:59 +02:00
Christian Muehlhaeuser
22a58b7e21 Don't create JobStatusItem in DatabaseCommand. 2014-10-19 10:19:39 +02:00
Christian Muehlhaeuser
f55ff6f13b Emit signal when indexing starts. 2014-10-19 10:18:49 +02:00
Christian Muehlhaeuser
af0b14b728 Removed dupe collection background image. 2014-10-18 14:57:03 +02:00
Christian Muehlhaeuser
4eee943bf3 Removed dupe collection background image. 2014-10-18 14:56:14 +02:00
Uwe L. Korn
e38e19c734 Compilers know how to optimize strlen 2014-10-18 11:10:26 +02:00
Uwe L. Korn
f77a9d9b22 No need for std::bind here 2014-10-18 11:06:15 +02:00
Tomahawk CI
ab35e1869d Automatic merge of Transifex translations 2014-10-18 02:17:40 +02:00
Uwe L. Korn
3de1ec8542 Modernize ScriptCcommands 2014-10-18 00:33:39 +02:00
Uwe L. Korn
b96862a9f0 Add missing include 2014-10-18 00:21:44 +02:00
Uwe L. Korn
64c11238d4 Modernize DatabaseCommand_AllTracks 2014-10-18 00:21:25 +02:00
Uwe L. Korn
ec279e0a0d Modernize DatabaseCollection 2014-10-18 00:14:19 +02:00
Uwe L. Korn
8eabbced5c Use unique_ptr instead of QScopedPointer in Closure 2014-10-18 00:08:55 +02:00
Uwe L. Korn
bf32273ef5 Modernize ScriptCollection 2014-10-17 23:56:43 +02:00
Uwe L. Korn
a7602504bb Use nullptr instead of 0 2014-10-17 23:40:05 +02:00
Uwe L. Korn
4a0baabb1d Handle ObjC as C 2014-10-17 23:25:57 +02:00
Uwe L. Korn
5c39e40364 Use nullptr instead of 0 2014-10-17 22:54:54 +02:00
Uwe L. Korn
80b9bfaf19 C++11ify AclRegistryImpl 2014-10-17 22:54:47 +02:00
Uwe L. Korn
0903c6e41f Always use C++11 std::function
Conflicts:
	src/libtomahawk/ViewManager.h
	src/tomahawk/sourcetree/SourcesModel.cpp
2014-10-17 22:54:22 +02:00
Uwe L. Korn
2c1cf4719f Remove deprecated std::(tr1::) checks 2014-10-17 22:53:20 +02:00
Uwe L. Korn
e160307dab Use correct C++11 flag for the compiler. 2014-10-17 22:53:12 +02:00
Uwe L. Korn
5c3a94b4db Use Q_DISABLE_COPY 2014-10-17 22:53:04 +02:00
Uwe L. Korn
7fab0866e0 Readd lost const qualifier 2014-10-17 22:52:57 +02:00
Uwe L. Korn
e394a5fc71 Remove reference to boost::ref
As we bind the first argument, we only make a single copy of the shared
pointer. This is a minimal performance difference that we should be able
to afford in return for dropping Boost finally.
2014-10-17 22:47:19 +02:00
Uwe L. Korn
a60549e3f4 Remove dependency on boost::noncopyable 2014-10-17 22:47:02 +02:00
Uwe L. Korn
7e6e508d06 Remove Concept check includes
Conflicts:
	src/libtomahawk/widgets/StatsGauge.cpp
2014-10-17 22:46:45 +02:00
Uwe L. Korn
0a315afa9b Remove obsolete mention of boost 2014-10-17 22:46:08 +02:00
Uwe L. Korn
6cffce4d32 Remove boost usage from ViewManger 2014-10-17 22:45:53 +02:00
Uwe L. Korn
07c5e9d182 Remove boost usage from FuncTimeout 2014-10-17 22:45:42 +02:00
Uwe L. Korn
9f4cf09152 Remove boost::{function,bind} from IOFactories 2014-10-17 22:45:33 +02:00
Uwe L. Korn
e708e2533e Add placeholer to TR1 wrapper 2014-10-17 22:45:23 +02:00
Uwe L. Korn
04f948825d Remove boost::bind from TomahawkApp 2014-10-17 22:45:07 +02:00
Uwe L. Korn
61a00a909c Use TR1 in GenericPageItem
Conflicts:
	src/tomahawk/sourcetree/SourcesModel.cpp
2014-10-17 22:38:12 +02:00
Uwe L. Korn
b288b3eebf Add std::(tr::)bind to TR1 wrapper 2014-10-17 22:37:21 +02:00
Uwe L. Korn
79eab29e34 Add wrapper header for (tr/)functional 2014-10-17 22:34:03 +02:00
Uwe L. Korn
02613b0ca9 Remove redundant includes 2014-10-17 22:30:44 +02:00
Uwe L. Korn
d36b4ce271 Use QScopedPointer instead of boost 2014-10-17 22:30:19 +02:00
Christian Muehlhaeuser
99f6330b95 0.8.0rc1 2014-10-17 21:51:35 +02:00
Christian Muehlhaeuser
2f28d4ea29 Readd a header widget to station view. 2014-10-17 21:22:03 +02:00
Dominik Schmidt
cac806a6fe Add note about non-standard GCC feature 2014-10-17 19:33:43 +02:00
Christian Muehlhaeuser
42fb4ca88a More vertical space for sources. Looks nicer on Yosemite. 2014-10-17 19:20:26 +02:00
Dominik Schmidt
89d45ab678 Make logger less crash prone 2014-10-17 19:20:08 +02:00
Dominik Schmidt
223be945eb Fix scanning of files with non-latin chars in their names 2014-10-17 19:20:08 +02:00
Dominik Schmidt
63884bf74b Make Lucene++ logging more meaningful 2014-10-17 19:20:08 +02:00
Christian Muehlhaeuser
e614bea370 Refreshing a query's results always sets playable- and solved-state to false. 2014-10-17 13:13:23 +02:00
Dominik Schmidt
e684a25955 Still log to console even if the logfile hasn't been setup 2014-10-17 12:43:42 +02:00
Dominik Schmidt
a1fc8194bc Don't try to log if the log file hasnt been setup 2014-10-17 12:34:59 +02:00
Tomahawk CI
3f62694b25 Automatic merge of Transifex translations 2014-10-17 02:17:34 +02:00
Christian Muehlhaeuser
3037bab0cb Style fixes. 2014-10-16 18:45:09 +02:00
Christian Muehlhaeuser
30e07b2603 Style fixes in AvatarManager. 2014-10-16 18:42:08 +02:00
Dominik Schmidt
9500a8aeb0 Don't use QTextStream for logging *sigh* 2014-10-16 17:19:06 +02:00
Dominik Schmidt
a97446fd2e Fix logging on windows for unicode usernames 2014-10-16 06:10:10 +02:00
Tomahawk CI
1acc58a671 Automatic merge of Transifex translations 2014-10-16 02:18:16 +02:00
Jason Herskowitz
cca798f140 Friendly jobview text so people better understand it is scanning their Collecton on first run. 2014-10-15 16:55:53 -04:00
Tomahawk CI
a749dfc5d7 Automatic merge of Transifex translations 2014-10-15 02:17:52 +02:00
Christian Muehlhaeuser
cbf3230e4a Style fix in PlayableProxyModel. 2014-10-14 13:13:15 +02:00
Christian Muehlhaeuser
0362f54724 minScore check in FuzzyIndex isn't used anymore. 2014-10-14 13:13:15 +02:00
Uwe L. Korn
62115ccccc Handle relative CMAKE_INSTALL_LIBDIR during plugin loading 2014-10-14 09:45:26 +02:00
Christian Muehlhaeuser
870ca5a366 Fixed max-visible items when appending them in batches. 2014-10-14 07:24:20 +02:00
Christian Muehlhaeuser
3a82481e6b Fixed dupe signal connection in TemporaryPageItem. 2014-10-14 06:58:31 +02:00
Christian Muehlhaeuser
a9419d0440 Removing a DeletablePage needs to destroy the page view ViewManager. 2014-10-14 06:58:12 +02:00
Christian Muehlhaeuser
666e5b831e Style fixes to SourcesModel. 2014-10-14 06:57:09 +02:00
Christian Muehlhaeuser
7535b8f9e7 Always show Dashboard page first, so closing the WhatsNew page goes back there as a default. 2014-10-14 06:56:44 +02:00
Christian Muehlhaeuser
094b6436bc Correctly initialize state of back & forward buttons. 2014-10-14 06:56:08 +02:00
Christian Muehlhaeuser
76b559e56c Fixed error from previous commit. 2014-10-14 06:10:57 +02:00
Christian Muehlhaeuser
f68a8dcc5f Introduced SourcesModel::DeletablePage. Fixes uppercasing WhatsNew-page. 2014-10-14 05:56:15 +02:00
Tomahawk CI
c1d0cfcd29 Automatic merge of Transifex translations 2014-10-14 02:17:49 +02:00
Christian Muehlhaeuser
533431be02 Updated copyright header. 2014-10-13 03:37:34 +02:00
Christian Muehlhaeuser
d6d923d728 Defensive. 2014-10-13 03:37:10 +02:00
Tomahawk CI
b2d20b66b7 Automatic merge of Transifex translations 2014-10-13 02:17:43 +02:00
Uwe L. Korn
7493b09bd4 Set weakref via reference 2014-10-12 19:43:05 +01:00
Uwe L. Korn
f147ab8ba7 Replace virtual with appropriate Q_DECL_OVERRIDE qualifiers 2014-10-12 19:43:05 +01:00
Uwe L. Korn
803db06398 Be cautious about logging in Artist::(~)Artist 2014-10-12 19:43:05 +01:00
Uwe L. Korn
9c243db83e Add macro for special fine-grained logging 2014-10-12 19:43:05 +01:00
Uwe L. Korn
7b816db9ff [tool] Add helper to list all artists in the database 2014-10-12 19:43:05 +01:00
Uwe L. Korn
a821767665 Less log spam on the console 2014-10-12 19:43:05 +01:00
Uwe L. Korn
a95e6aa4e1 Wait for the first DatabaseWorker to be ready to declare Database as ready 2014-10-12 19:43:05 +01:00
Uwe L. Korn
cb373ca65c Readability++, Comments++ 2014-10-12 19:43:05 +01:00
Uwe L. Korn
b62a930962 Remove .data() calls for readability 2014-10-12 19:43:05 +01:00
Christian Muehlhaeuser
552f82a5ca Drop existing results when re-resolving a Query. 2014-10-12 19:53:55 +02:00
Christian Muehlhaeuser
2bbe2334d7 Updated copyright in TomahawkWindow. 2014-10-12 19:53:03 +02:00
Christian Muehlhaeuser
80f57af369 Fixed c&p mistake. 2014-10-12 19:52:43 +02:00
Uwe L. Korn
4e845d3813 Directly return when we know the final value 2014-10-12 15:38:43 +01:00
Uwe L. Korn
decd00318f Fix c&p mistake 2014-10-12 15:36:01 +01:00
Uwe L. Korn
575411008f Add small comment 2014-10-12 15:04:21 +01:00
Christian Muehlhaeuser
cf902b487d Don't DLLEXPORT NewReleasesWidget. 2014-10-12 16:03:11 +02:00
Uwe L. Korn
1fe1695d0e Merge pull request #265 from tomahawk-player/playableproxyfilter-performance
Playableproxyfilter performance
2014-10-12 15:50:54 +02:00
Uwe L. Korn
f6503aba08 Various small performance improvements 2014-10-12 14:49:58 +01:00
Uwe L. Korn
f85e34a3e9 Memoize visibility filter 2014-10-12 14:49:58 +01:00
Uwe L. Korn
b970cf1433 First do visibilty check to reduce branching 2014-10-12 14:49:57 +01:00
Uwe L. Korn
44ae9f7608 Less calls to itemFromIndex 2014-10-12 14:49:56 +01:00
Christian Muehlhaeuser
aa6ebf7746 Forgot to add CMakeLists.txt in newreleases viewpage plugin folder. 2014-10-12 15:08:29 +02:00
Christian Muehlhaeuser
0cb2fd9a5b Removed obsolete FadingPixmap. 2014-10-12 15:02:27 +02:00
Christian Muehlhaeuser
5fd592ca5e Style fixes. 2014-10-12 14:51:07 +02:00
Christian Muehlhaeuser
ed2b007238 No more splitter in ViewManager. 2014-10-12 14:46:32 +02:00
Christian Muehlhaeuser
d2793a0205 Removed obsolete AnimatedCounterLabel. 2014-10-12 14:44:23 +02:00
Christian Muehlhaeuser
d2d7f349bb Remove unwanted includes. 2014-10-12 14:30:45 +02:00
Christian Muehlhaeuser
cda6d67d45 Deploy newrelease viewpage plugin on OS X. 2014-10-12 14:16:23 +02:00
Christian Muehlhaeuser
2f521623c6 Style fixes in NewReleasesWidget. 2014-10-12 14:14:26 +02:00
Christian Muehlhaeuser
cec759051a ChartsPlaylistInterface is no more. 2014-10-12 14:13:52 +02:00
Christian Muehlhaeuser
34dc326560 Moved NewReleasesWidget into a separate viewpage plugin. 2014-10-12 14:11:55 +02:00
Christian Muehlhaeuser
bba643a63d Removed unused SocialPlaylistWidget. 2014-10-12 13:24:00 +02:00
Christian Muehlhaeuser
041b878233 Moved PlaylistViewPage to viewpages/ 2014-10-12 13:18:53 +02:00
Christian Muehlhaeuser
eca416586b Removed executable flag from images. 2014-10-12 13:04:38 +02:00
Christian Muehlhaeuser
7fe9f1fae7 Removed executable flag from fonts. 2014-10-12 13:03:44 +02:00
Christian Muehlhaeuser
f2e3efcbd6 * Removed Titillium Web and Pathway Gothic One fonts. 2014-10-12 13:03:44 +02:00
Christian Muehlhaeuser
0af3478a41 Use https where possible. 2014-10-12 12:42:16 +02:00
Christian Muehlhaeuser
ad01cdb7cd This writing should always be up-to-date. 2014-10-12 12:41:11 +02:00
Uwe L. Korn
8eab0442f2 Only run the loop until the condition changes 2014-10-12 11:31:41 +01:00
Uwe L. Korn
5da1736529 Add lazyness to filterAcceptsRow 2014-10-12 11:31:41 +01:00
Uwe L. Korn
1f5a3d8d25 Remove virtual keyword from some functions.
These functions are not overloaded at the moment in any child class but
some of them are called very often which adds a significant overhead. If
really needed they should be reverted to virtual when we actually
overload them.
2014-10-12 11:31:41 +01:00
Christian Muehlhaeuser
bd09c7733e Removed obsolete PlaylistTypeSelectorDialog and NewPlaylistWidget. 2014-10-12 12:27:24 +02:00
Christian Muehlhaeuser
ceeb7ff7c5 Style fixes in TomahawkWindow. 2014-10-12 12:21:46 +02:00
Christian Muehlhaeuser
694ed75802 Moved & renamed infowidgets/ to viewpages/ 2014-10-12 12:20:10 +02:00
Christian Muehlhaeuser
59de1e8180 * Removed obsolete CheckDirTree. 2014-10-12 12:01:01 +02:00
Christian Muehlhaeuser
f4336b4d35 Removed obsolete TreeView, TreeWidget and TreeItemDelegate. 2014-10-12 10:52:45 +02:00
Christian Muehlhaeuser
927af167ed Removed InfoBar entirely. Yes, this currently leaves Station-mode a bit, uhm, headless. 2014-10-12 10:39:03 +02:00
Christian Muehlhaeuser
b7d9f2c719 * Removed obsolete filtering via ViewManager / InfoBar. 2014-10-12 10:37:52 +02:00
Christian Muehlhaeuser
778462b490 Use ContextView's wrapped modelChanged() signal in PlaylistViewPage. 2014-10-12 10:11:57 +02:00
Christian Muehlhaeuser
8237dcf001 Inbox needs to set its own TrackView on ContextView. 2014-10-12 10:11:21 +02:00
Christian Muehlhaeuser
188dea4991 Added ContextView::setTrackView, allowing you to replace the TrackView with your own implementation of it. 2014-10-12 10:10:52 +02:00
Christian Muehlhaeuser
f8fd06a2db * Renamed FlexibleView to PlaylistViewPage. 2014-10-12 09:12:22 +02:00
Christian Muehlhaeuser
e52b55943d Emit 'modelChanged' when underlying model changes in TrackView. 2014-10-12 09:02:46 +02:00
Christian Muehlhaeuser
cc9f7b37fe * Use existing 'changed' signal in PlaylistView. 2014-10-12 09:02:46 +02:00
Christian Muehlhaeuser
7862138230 Don't replicate so much of TrackView's API in ContextView. 2014-10-12 09:02:46 +02:00
Christian Muehlhaeuser
5525853a84 Adapt to new FlexibleView API. 2014-10-12 09:02:46 +02:00
Christian Muehlhaeuser
a17c7a2e8d * FlexibleView is becoming a ViewPage wrapper for ContextView. 2014-10-12 09:02:46 +02:00
Christian Muehlhaeuser
b470c95115 Added TomahawkUtils::Queue enum. 2014-10-12 09:02:46 +02:00
Christian Muehlhaeuser
ab33f35f84 * Drop obsolete PlaylistView. 2014-10-12 09:02:46 +02:00
Tomahawk CI
7b2ec66d1d Automatic merge of Transifex translations 2014-10-12 02:17:21 +02:00
Christian Muehlhaeuser
1288f8f96a * Don't assert with now unknown SpotifyUpdater. 2014-10-11 10:25:59 +02:00
Christian Muehlhaeuser
be9ac6b44b * Style fixes to Result. 2014-10-11 09:47:48 +02:00
Christian Muehlhaeuser
58f7620dc0 Removed obsolete view-toggle* images. 2014-10-11 08:05:06 +02:00
Christian Muehlhaeuser
2d28d6a04b Removed obsolete topbar-radiobuttons.css 2014-10-11 08:02:16 +02:00
Christian Muehlhaeuser
7e6ec405e8 * Removed obsolete FlexibleHeader. 2014-10-11 08:00:31 +02:00
Christian Muehlhaeuser
688069a51d Removed obsolete SearchBox.ui 2014-10-11 07:58:02 +02:00
Christian Muehlhaeuser
23c82bced3 * Only trigger a 'clicked' signal when the left mouse button was used in ClickableLabel. 2014-10-11 05:09:12 +02:00
Christian Muehlhaeuser
96e139ab0d Don't put dashboard into a QScrollArea. 2014-10-11 05:04:24 +02:00
Christian Muehlhaeuser
5f2127a977 * Fixed TrackDetailView's layout issues. 2014-10-11 05:04:06 +02:00
Christian Muehlhaeuser
83a108168f * Don't clip button in SettingsDialog. 2014-10-11 04:20:46 +02:00
Christian Muehlhaeuser
69c5a57f47 * We can't show resolver config dialogs as a sheet. So let's not try to. 2014-10-11 04:12:41 +02:00
Christian Muehlhaeuser
42cd93bd2e * Disable Spotify playlist syncing. 2014-10-11 03:00:30 +02:00
Christian Muehlhaeuser
eb2b9ecd76 * Add layout-stretch to make sure config buttons always stay at the bottom. 2014-10-11 03:00:30 +02:00
Christian Muehlhaeuser
59e8aecf25 * Make Spotify config dialog resize when changing layout. 2014-10-11 03:00:30 +02:00
Tomahawk CI
319e82fdee Automatic merge of Transifex translations 2014-10-11 02:17:33 +02:00
Tomahawk CI
80cbc0d8e3 Automatic merge of Transifex translations 2014-10-10 02:17:30 +02:00
Christian Muehlhaeuser
10484c9ebc We're not a document based app, so let's not try to be have like one (and fail doing so). I don't mind if someone reintroduces a more iTunes-like behavior on OS X, but at least this doesn't break things anymore. 2014-10-09 03:42:48 +02:00
Tomahawk CI
b1876959fa Automatic merge of Transifex translations 2014-10-09 02:17:21 +02:00
Christian Muehlhaeuser
68edaaa9ff Fixed crash in DatabaseImpl::file. 2014-10-09 00:27:55 +02:00
Jason Herskowitz
cd162cf255 Clarify context menu for Similar Tracks. We can change it back to Track Page once we have more info for a track like lyrics and stats. 2014-10-08 13:48:30 -04:00
Christian Muehlhaeuser
d3a32b5d24 * Removed obsolete ChangeLog entries. 2014-10-08 03:31:28 +02:00
Christian Muehlhaeuser
21d835d264 m_shadowPixmap is obsolete. 2014-10-08 03:31:28 +02:00
Tomahawk CI
1b0b4c0b6c Automatic merge of Transifex translations 2014-10-08 02:20:20 +02:00
Tomahawk CI
9874e9ad4e Automatic merge of Transifex translations 2014-10-07 02:17:23 +02:00
Christian Muehlhaeuser
ef14a1d51b * Fixed inbox empty text. 2014-10-06 16:53:59 +02:00
Christian Muehlhaeuser
8ddfa18833 * TrackInfoWidget's m_artist is obsolete. 2014-10-06 11:00:55 +02:00
Christian Muehlhaeuser
e2d6b4f115 * Make it Track - Artist to keep it consistent. 2014-10-06 10:56:51 +02:00
Christian Muehlhaeuser
f6b466f9ba * Use Artist - Track as caption for track pages. 2014-10-06 10:48:38 +02:00
Christian Muehlhaeuser
e74b456379 * Don't draw a frame around the overlay. 2014-10-06 10:48:19 +02:00
Christian Muehlhaeuser
7fddeb1195 * Removed unused StatsGauge. Copy in github.com/muesli/QtGaugeWidget. 2014-10-06 10:37:49 +02:00
Christian Muehlhaeuser
41748b080e * New design for track page. 2014-10-06 10:00:53 +02:00
Christian Muehlhaeuser
a33a25cc46 * Redundant setBackgroundColor. 2014-10-06 09:26:34 +02:00
Christian Muehlhaeuser
46d79d5491 * Make sure feed / history gets resolved. 2014-10-06 08:56:05 +02:00
Christian Muehlhaeuser
4826492c8f * PlayableModel::ensureResolved() now traverses through parent nodes. 2014-10-06 08:55:51 +02:00
Christian Muehlhaeuser
86438e530e * Dropped obsolete AlbumItemDelegate. 2014-10-06 08:42:09 +02:00
Christian Muehlhaeuser
ea085fe77c * Drop PlaylistItemDelegate::Short and ::Large styles. Combined as ::Fancy. 2014-10-06 08:40:10 +02:00
Christian Muehlhaeuser
4342257565 * Darken blurred background images. 2014-10-06 08:24:12 +02:00
Tomahawk CI
59da613d32 Automatic merge of Transifex translations 2014-10-06 02:17:38 +02:00
Christian Muehlhaeuser
d8a54fa46d * Get rid of ImageMode::Grid. 2014-10-05 22:51:47 +02:00
Jason Herskowitz
5f35ba1ffd Use default album art for drag icon on drag 2014-10-05 16:29:28 -04:00
Thierry Goeckel
4c78ad087e Fix odd indentation. 2014-10-05 16:50:28 +02:00
Christian Muehlhaeuser
28c8251efe * Fixed showing offline results in playlists. 2014-10-05 08:07:24 +02:00
Christian Muehlhaeuser
ae16fcda43 * Query::numResults( onlyPlayableResults ) lets you count only online results. 2014-10-05 08:06:37 +02:00
Christian Muehlhaeuser
d36935a28e * Only react to left-clicks in HoverControls. 2014-10-05 07:04:55 +02:00
Christian Muehlhaeuser
191919de24 * Style fixes in TomahawkWindow. 2014-10-05 07:00:02 +02:00
Christian Muehlhaeuser
57a2c9c9ad * Catch back / forward mouse buttons to traverse through pages. 2014-10-05 06:59:47 +02:00
Christian Muehlhaeuser
3cabafd1f9 * Don't delete registry keys on uninstall. We still rely on that before major version upgrades. See TWK-462. 2014-10-05 05:10:23 +02:00
Tomahawk CI
6184b6c9cc Automatic merge of Transifex translations 2014-10-05 02:17:17 +02:00
Christian Muehlhaeuser
1eee6f968e * Fixed starting playlist by double-clicking in sidebar. 2014-10-04 10:05:48 +02:00
Christian Muehlhaeuser
515f2bb1a9 * Style fix in QueryLabel. 2014-10-04 09:44:04 +02:00
Christian Muehlhaeuser
772690aff6 * Fixed crash and simplified code in QueryLabel. 2014-10-04 09:44:04 +02:00
Christian Muehlhaeuser
d7cf97d4b7 * Detect correct artist() and album() in QueryLabel. 2014-10-04 09:44:03 +02:00
Christian Muehlhaeuser
6256ebe91d Enjoy isn't a heading. 2014-10-04 08:14:34 +02:00
Christian Muehlhaeuser
53d7dadde9 More cleanup. 2014-10-04 08:13:03 +02:00
Christian Muehlhaeuser
bab0a5a6a2 Table formatting 2014-10-04 08:08:10 +02:00
Christian Muehlhaeuser
2e035ba95d Wordy. 2014-10-04 07:55:29 +02:00
Christian Muehlhaeuser
c481280162 More clean ups. 2014-10-04 07:54:39 +02:00
Tomahawk CI
741ee123e8 Automatic merge of Transifex translations 2014-10-04 02:16:58 +02:00
Jason Herskowitz
117050475c Update README.md
Typo
2014-10-03 20:02:37 -04:00
Jason Herskowitz
db3bb7bf9f Update README.md
Fix IRC link. Add Twitter and FB.
2014-10-03 18:27:24 -04:00
Christian Muehlhaeuser
d071c30344 Consistency. 2014-10-03 23:42:08 +02:00
Christian Muehlhaeuser
da7311a7ca Typo-- 2014-10-03 23:41:10 +02:00
Christian Muehlhaeuser
5d77d1967c Markdown. Narf. 2014-10-03 23:40:15 +02:00
Christian Muehlhaeuser
449ecacd68 Fixed bug tracker link. 2014-10-03 23:39:24 +02:00
Christian Muehlhaeuser
a3504bf91f A bit more readable in a text editor. 2014-10-03 23:36:57 +02:00
Jason Herskowitz
2f02f8dc9c Fix broken readme image and be done with it already 2014-10-03 17:27:27 -04:00
Jason Herskowitz
c77ec8a335 Fix attica ftp link 2014-10-03 17:26:22 -04:00
Jason Herskowitz
fc9be44a5e Fix readme table? 2014-10-03 17:23:35 -04:00
Jason Herskowitz
24dd04f4fc Try to fix table in readme 2014-10-03 17:20:38 -04:00
Jason Herskowitz
80610b402b Update readme 2014-10-03 17:15:53 -04:00
Christian Muehlhaeuser
21a8098860 Platform specific. 2014-10-03 21:31:25 +02:00
Christian Muehlhaeuser
7848fa050b Fixed layout. 2014-10-03 21:30:26 +02:00
Christian Muehlhaeuser
489b6572a2 Fixed line breaks. 2014-10-03 21:29:27 +02:00
Christian Muehlhaeuser
b6be73fa07 Cleaned up and added various resources / links. 2014-10-03 21:27:25 +02:00
Christian Muehlhaeuser
26e4e7034d Added a description and screenshot. 2014-10-03 21:18:42 +02:00
Christian Muehlhaeuser
3432a425da * Added screenshot for usage on GitHub. 2014-10-03 21:10:11 +02:00
Christian Muehlhaeuser
3487142496 * Disable wiping index on clucene error. 2014-10-03 07:11:29 +02:00
Christian Muehlhaeuser
6e66f98092 * Faster lucene settings. 2014-10-03 07:11:02 +02:00
Christian Muehlhaeuser
e262170090 * Set minimum prefix length to speed up fuzzy matching. 2014-10-03 06:14:51 +02:00
Christian Muehlhaeuser
d8954ce923 * Store lucene fields as INDEX_ANALYZED_NO_NORMS. 2014-10-03 05:55:07 +02:00
Christian Muehlhaeuser
3ad91db46a * Make sure lucene searcher / reader gets initialized. 2014-10-03 05:32:46 +02:00
Christian Muehlhaeuser
a461d9b2a2 * Style fixes. 2014-10-03 05:26:11 +02:00
Christian Muehlhaeuser
b99692729c * Only allow one settings dialog at a time. 2014-10-03 05:26:01 +02:00
Christian Muehlhaeuser
025d152936 * Keep m_luceneReader & -Searcher alive during indexing and don't block mutex while searching. 2014-10-03 05:25:36 +02:00
Christian Muehlhaeuser
510485fcf0 Revert "* Revert to CLucene until we sort out the MinGW/Boost/Unicode mess :-("
This reverts commit 1e8bab26b2.
2014-10-03 04:35:44 +02:00
Christian Muehlhaeuser
f6da9493f2 Revert "* Re-added clucene cmake modules."
This reverts commit 3194c41981.
2014-10-03 04:35:43 +02:00
Christian Muehlhaeuser
99c42014b0 Revert "* More debug output in FuzzyIndex."
This reverts commit 1d69880b31.
2014-10-03 04:35:40 +02:00
Christian Muehlhaeuser
1d69880b31 * More debug output in FuzzyIndex. 2014-10-03 04:24:49 +02:00
Christian Muehlhaeuser
7543b776d8 * Fixed size for artist images. 2014-10-03 04:11:50 +02:00
Tomahawk CI
0d4a09ed0d Automatic merge of Transifex translations 2014-10-03 02:17:02 +02:00
Christian Muehlhaeuser
3194c41981 * Re-added clucene cmake modules. 2014-10-03 00:29:44 +02:00
Christian Muehlhaeuser
1a362fa227 * Remove dupe include in main.cpp. 2014-10-03 00:29:44 +02:00
Christian Muehlhaeuser
7758cbb91f * Wipe index on upgrade to settings version 17. 2014-10-03 00:29:44 +02:00
Christian Muehlhaeuser
1e8bab26b2 * Revert to CLucene until we sort out the MinGW/Boost/Unicode mess :-( 2014-10-03 00:29:44 +02:00
Christian Muehlhaeuser
070a957b3d * Updated copyright headers in QueueView. 2014-10-03 00:29:44 +02:00
Christian Muehlhaeuser
5e89e127b7 * Nicer code in ContextView. 2014-10-03 00:29:44 +02:00
Christian Muehlhaeuser
b09089773c * Make sure image on artist-page doesn't get squashed and reacts to resize events. 2014-10-02 18:01:07 +02:00
Uwe L. Korn
5ce643850b Add 5 suffix for liblastfm Qt5 builds 2014-10-02 15:43:33 +01:00
Christian Muehlhaeuser
fb83e31324 * Fixed XSPFLoader and SpotifyParser inits. 2014-10-02 06:25:36 +02:00
Christian Muehlhaeuser
982202e77a * Updated transifex config. 2014-10-02 06:25:36 +02:00
Tomahawk CI
1aaae426ba Automatic merge of Transifex translations 2014-10-02 02:17:07 +02:00
Uwe L. Korn
991483c589 Do not pass this as bool parameter 2014-10-01 08:50:34 +01:00
Uwe L. Korn
bac9df759a Do not leak HeaderWidget 2014-09-30 09:11:28 +01:00
Tomahawk CI
3604e3ace6 Automatic merge of Transifex translations 2014-09-30 02:17:22 +02:00
Christian Muehlhaeuser
69a3976257 * Fixed item height on search page. 2014-09-29 19:56:43 +02:00
Teo Mrnjavac
0bcec49b82 Prompt when installing a resolver from file. 2014-09-29 17:04:36 +02:00
Uwe L. Korn
da8acbb39a Delete all AccountModelNodes to prevent leak 2014-09-29 11:11:51 +01:00
Uwe L. Korn
49637db016 Scope SipStatusMessagePrivate to prevent leak 2014-09-29 11:11:51 +01:00
Tomahawk CI
4947412e47 Automatic merge of Transifex translations 2014-09-29 02:17:28 +02:00
Jason Herskowitz
93ba155acd Don't stretch inbox icon 2014-09-28 14:53:56 -04:00
Uwe L. Korn
19453fdf46 Unfriend DbCmds in Result 2014-09-28 18:18:12 +01:00
Uwe L. Korn
cc6e7f349c Remove Result::isValid as it's always true 2014-09-28 17:54:39 +01:00
Uwe L. Korn
31ec6df2a1 Only instantiate Result objects with a valid Track 2014-09-28 17:12:06 +01:00
Uwe L. Korn
c64891e3f7 Merge pull request #263 from lorenzhs/js-remove-diacritics
JS Resolver API: Add diacritic removal function
2014-09-28 17:48:01 +02:00
Uwe L. Korn
bbf346909c Merge pull request #264 from lorenzhs/style-fixes
tomahawk.js: Add missing semicolons and fix indentation
2014-09-28 17:47:39 +02:00
Lorenz Hübschle-Schneider
7afaa13698 tomahawk.js: Add missing semicolons and fix indentation 2014-09-28 17:32:14 +02:00
Lorenz Hübschle-Schneider
57f8fd245d JS Resolver API: Add diacritic removal function 2014-09-28 17:30:24 +02:00
Uwe L. Korn
67ba31b466 Style fix 2014-09-28 14:19:54 +01:00
Uwe L. Korn
435770c557 Fix Result::toString to work with m_track == nullptr 2014-09-28 14:17:53 +01:00
Jason Herskowitz
8562bcfe2b Capitalize menu item 2014-09-28 08:49:51 -04:00
Uwe L. Korn
7a2c534417 Less unnecessary internal calls.
Not only does this make the function a tiny bit faster but also gives us
better debug info as we should have more "locals".
2014-09-28 12:11:57 +01:00
Uwe L. Korn
a4ab6b8a0b Add CMake option to build with Address Sanitizer 2014-09-28 10:38:52 +01:00
Tomahawk CI
e2122d4561 Automatic merge of Transifex translations 2014-09-28 02:17:10 +02:00
Christian Muehlhaeuser
9927498cc8 * Manually lower opacity for disabled ImageButtons. 2014-09-27 06:52:48 +02:00
Christian Muehlhaeuser
5ee62c9f95 * A bit more opacity for AudioControls buttons. 2014-09-27 06:52:29 +02:00
Christian Muehlhaeuser
ba53cfe548 * Fixed Show/Hide label alignment in sidebar. 2014-09-27 06:35:41 +02:00
Tomahawk CI
372e0caef2 Automatic merge of Transifex translations 2014-09-27 02:16:57 +02:00
Christian Muehlhaeuser
b1a984712f Revert "Close TWK-1774."
This reverts commit 6254b8da34.
2014-09-26 20:08:21 +02:00
Thierry Goeckel
6254b8da34 Close TWK-1774. 2014-09-26 17:58:02 +02:00
Jason Herskowitz
a6a418b7e5 Remove the word STATION from SAVE SETTINGS buttons since same button is used in legacy auto-playlists 2014-09-26 09:42:31 -04:00
Jason Herskowitz
1b75fc27ec Clarify station controls a bit and better teach and prompt people to hide the all the sliders 2014-09-26 09:21:06 -04:00
Christian Muehlhaeuser
80b57711ba * Make sure m_failed is always initialized. 2014-09-26 11:27:59 +02:00
Christian Muehlhaeuser
887cd9dacb * Style fixes to dynamic playlist code. 2014-09-26 11:27:08 +02:00
Christian Muehlhaeuser
735c2107a3 * Better safe than sorry. 2014-09-26 11:25:41 +02:00
Christian Muehlhaeuser
9e2ecf7f1e * Style fixes. 2014-09-26 09:56:20 +02:00
Christian Muehlhaeuser
40e9530539 * Don't accept drops in dynamic playlists. 2014-09-26 09:55:37 +02:00
Christian Muehlhaeuser
ddac4a236a * Removed FlexibleTreeView::setGuid(). 2014-09-26 09:29:54 +02:00
Christian Muehlhaeuser
335fda2ef6 * Fixed flat-view columns. 2014-09-26 09:29:34 +02:00
Christian Muehlhaeuser
3a3765c390 * Hide release date until we're able to retrieve the data. 2014-09-26 09:07:22 +02:00
Christian Muehlhaeuser
cecc27b7c0 * Elide right by default everywhere. 2014-09-26 09:07:07 +02:00
Christian Muehlhaeuser
13cdabdf89 * Disable stats loading for artists. 2014-09-26 08:53:44 +02:00
Christian Muehlhaeuser
393d0c5240 * Fixed in-page margins. 2014-09-26 08:53:28 +02:00
Christian Muehlhaeuser
da21c02270 * Domme, please review: quotes around cmake path definition. 2014-09-26 08:31:51 +02:00
Christian Muehlhaeuser
64fddb757d * Remove obsolete PlaylistChartItemDelegate. 2014-09-26 08:27:55 +02:00
Christian Muehlhaeuser
80be96d141 * Fetch track image when updating detailed info. 2014-09-26 08:19:26 +02:00
Christian Muehlhaeuser
0e3d82a92d * Display track charts as a Grid. 2014-09-26 08:19:07 +02:00
Christian Muehlhaeuser
2e04ed35d2 * Display artist charts as a Grid. 2014-09-26 08:07:20 +02:00
Christian Muehlhaeuser
3bea3c8efc * Slightly more space for grid items. 2014-09-26 08:06:43 +02:00
Christian Muehlhaeuser
fa568c883e * GridItemDelegate can now display the item's position. 2014-09-26 08:06:23 +02:00
Christian Muehlhaeuser
27d20e0395 * React to more view changes in GridView, making sure we display covers of visible items. 2014-09-26 05:38:00 +02:00
Christian Muehlhaeuser
b318914edc * Remove obsolete code. 2014-09-26 04:38:25 +02:00
Christian Muehlhaeuser
2165c7b540 * Break up and split PlayableProxyModel's filters. 2014-09-26 04:38:25 +02:00
Tomahawk CI
4f0afd2fa9 Automatic merge of Transifex translations 2014-09-26 02:17:18 +02:00
Jason Herskowitz
4bd13ebae3 Add images for Station header background 2014-09-25 14:17:46 -04:00
Jason Herskowitz
fbadc212b7 Final icons for New Releases & Charts 2014-09-25 08:14:27 -04:00
Tomahawk CI
8158b9a5d8 Automatic merge of Transifex translations 2014-09-25 02:16:56 +02:00
Uwe L. Korn
319791edff Merge pull request #262 from willstott101/scrobble-indicator
Made scrobble toggle consistent with other menu toggles.
2014-09-24 16:13:36 +02:00
Will Stott
e3471c47f1 Made scrobble toggle consistent with other menu toggles. 2014-09-24 15:10:18 +01:00
Jason Herskowitz
4a6672974d Change label since other sources are likely the same version of the song just a different instance 2014-09-24 07:39:34 -04:00
Christian Muehlhaeuser
2c51c936e9 * Don't forget to update the current index. 2014-09-24 06:02:04 +02:00
Christian Muehlhaeuser
ad5ccc8f4b * Move along item selection with song change, if the previously playing track is the single selected item in a TrackView. 2014-09-24 05:59:17 +02:00
Christian Muehlhaeuser
8142ffba4c * Adapt pl-interface to new signal. 2014-09-24 05:58:22 +02:00
Christian Muehlhaeuser
97cbedc748 * PlayableModel::currentIndexChanged signal now has two parameters: newIndex and oldIndex. 2014-09-24 05:57:53 +02:00
Christian Muehlhaeuser
78907f06eb * Find sibling items within same parent node in PlaylistInterface. 2014-09-24 04:47:36 +02:00
Enno Gottschalk
6060d3c6af Add /usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE} to FindLucene++.cmake libpaths 2014-09-24 04:23:40 +02:00
Christian Muehlhaeuser
8babbc0c45 * Style results-box scrollbar. 2014-09-24 03:27:52 +02:00
Christian Muehlhaeuser
adf129aede * Style fixes to GoogleWrapper. 2014-09-24 03:20:44 +02:00
Christian Muehlhaeuser
d9e02fd598 * Fixed BasicHeader's resizeEvent. 2014-09-24 03:20:16 +02:00
Tomahawk CI
0ac8f9adcd Automatic merge of Transifex translations 2014-09-24 02:17:09 +02:00
Jason Herskowitz
14fff53cbf Add link to Transifex in Help menu 2014-09-23 15:22:44 -04:00
Christian Muehlhaeuser
961129f202 Merge pull request #260 from Zopieux/master
Added notr=true on placeholder texts in .ui files
2014-09-23 21:22:08 +02:00
Alexandre `Zopieux` Macabies
e0af534bef Added notr=true on placeholder texts in .ui files 2014-09-23 20:20:35 +01:00
Jason Herskowitz
4b91414213 Add link to Hatchet blog post from account config 2014-09-23 14:43:08 -04:00
Jason Herskowitz
d0a5a2fb5b Typo on Get Support 2014-09-23 11:46:22 -04:00
Jason Herskowitz
8d68160dd2 Update help links to https 2014-09-23 11:24:45 -04:00
Jason Herskowitz
47d97e81fd Merge pull request #259 from willstott101/menu_additions
More menu links
2014-09-23 11:07:48 -04:00
Tomahawk CI
e19d9ec12b Automatic merge of Transifex translations 2014-09-23 02:17:05 +02:00
Jason Herskowitz
86675e35be Scale images so they don't break on retina 2014-09-22 14:06:35 -04:00
Jason Herskowitz
0b3a57b575 Make Whats New page look like the designs. Mostly. 2014-09-22 13:36:57 -04:00
Jason Herskowitz
552f1b17dc Rename LOVED TRACKS to FAVORITES for design consistency 2014-09-22 12:38:16 -04:00
Jason Herskowitz
1cda3d6697 Add extra line break to bios 2014-09-22 12:25:43 -04:00
Jason Herskowitz
f6da459da8 Change bio font to app-wide font 2014-09-22 11:55:26 -04:00
Will Stott
46119a115c menu links to the FAQ base and Jira 2014-09-22 15:07:06 +01:00
Uwe L. Korn
84a5ea06ee Don't pass an Url needlessly through QUrl
This does more harm than good: If the first part after the protocol is
numeric QUrl assumes this is a byteencoded IPv4 address and converts it
to the dot notation. If we actually want to pass a numeric ID here, this
will turn the ID into an IP which is then useless for us.
2014-09-22 13:32:25 +01:00
Uwe L. Korn
ca6f5148e3 If we alrady have an IODevice for a HttpResult use this instead of re-requesting the resource again 2014-09-22 13:32:24 +01:00
Tomahawk CI
212caaf39d Automatic merge of Transifex translations 2014-09-22 02:17:15 +02:00
Jason Herskowitz
3f47d9c713 TWK-1662 - link to Hatchet registration 2014-09-21 19:32:44 -04:00
Jason Herskowitz
52784e509a Add link to Hatchet registration 2014-09-21 19:22:43 -04:00
Jason Herskowitz
9537d94dd7 Cleanup XMPP dialog text 2014-09-21 18:31:52 -04:00
Jason Herskowitz
2b8cc7728a Dialog text - be more helpful. 2014-09-21 18:12:48 -04:00
Jason Herskowitz
8e6319217a typos & text cleanup 2014-09-21 17:43:50 -04:00
Jason Herskowitz
bc45cbdc93 Give things better and more consistent description text 2014-09-21 17:17:18 -04:00
Jason Herskowitz
aa02fdb01f Less text. Simplify. 2014-09-21 16:34:32 -04:00
Jason Herskowitz
0250c14463 Fix typo 2014-09-21 16:31:15 -04:00
Jason Herskowitz
1652f45e76 More copy and label changes 2014-09-21 16:28:11 -04:00
Jason Herskowitz
3ba3d25425 Clean up some text and labels to make them easier to understand 2014-09-21 16:08:22 -04:00
Jason Herskowitz
ccef442b42 Better label for Cloud Collectoins 2014-09-21 15:45:11 -04:00
Jason Herskowitz
cd5a764413 Remove some icons from the App menus 2014-09-21 15:40:07 -04:00
Jason Herskowitz
efec76b6c6 Grammar fix 2014-09-21 15:27:18 -04:00
Christian Muehlhaeuser
78b0e9e058 * Clean up last commit a little bit for translators. 2014-09-21 20:01:53 +02:00
Christian Muehlhaeuser
0fa0f6c620 Merge pull request #256 from willstott101/google_hint_link
Added a link of users with restrictive security settings on google
2014-09-21 19:53:39 +02:00
Uwe L. Korn
7c1c62cfde Delete commandfactories on exit 2014-09-21 18:42:52 +01:00
Will Stott
8ca7de8ac2 Merge branch 'google_hint_link' of https://github.com/willstott101/tomahawk into google_hint_link
Conflicts:
	src/accounts/google/GoogleWrapper.cpp
	src/accounts/xmpp/XmppAccount.cpp
	src/accounts/xmpp/XmppConfigWidget.ui
2014-09-21 18:40:55 +01:00
Will Stott
7b1e719511 re-named googleHint, serviceHint, and generalised 2014-09-21 18:19:53 +01:00
Will Stott
934279517c Added a link to prompt users with restrictive security settings on google. 2014-09-21 17:50:20 +01:00
Will Stott
ee65c8d824 Added a link to prompt users with restrictive security settings on google. 2014-09-21 17:47:58 +01:00
Christian Muehlhaeuser
e77b091c4d * Remove spammy debug. 2014-09-21 17:22:03 +02:00
Christian Muehlhaeuser
fb748645be * No wiggling around when resizing. 2014-09-21 17:21:51 +02:00
Christian Muehlhaeuser
c281a57a6c * Set a minimum size (& hint) to make the layout on artist page behave. 2014-09-21 17:19:21 +02:00
Christian Muehlhaeuser
6eb22ce6e7 * Implement a (minimum-)sizeHint for GridView. 2014-09-21 17:18:06 +02:00
Christian Muehlhaeuser
04c14eecb5 * verifySize is already called by layoutItems(). 2014-09-21 17:17:36 +02:00
Uwe L. Korn
7b096db2fd Rename updateIndex to dryRun to better reflect its use 2014-09-21 14:52:56 +01:00
Uwe L. Korn
ec154de61f Only print every scanned file in the musicscan tool 2014-09-21 14:52:56 +01:00
Jason Herskowitz
9893c8c9fc Design updates per Jordi 2014-09-21 09:18:02 -04:00
Uwe L. Korn
c0721de93a Support Qt4's QSharedPointer interface 2014-09-21 14:10:31 +01:00
Uwe L. Korn
55dcf0b6ec Initialise MusicScanner::m_scanned 2014-09-21 13:20:06 +01:00
Uwe L. Korn
4838788909 [tools] Add support for scanning a whole directory 2014-09-21 12:59:32 +01:00
Uwe L. Korn
d84ce6b75e Report every scanned file.
Although this will make the logfile larger it will give us much better
hints which file we are failing on in th e case of crashes.
2014-09-21 12:59:32 +01:00
Uwe L. Korn
6e22032aa5 Be able to do a dry-run scan 2014-09-21 12:59:32 +01:00
Uwe L. Korn
f6c2a40cca Initialise m_cmdQueue 2014-09-21 12:59:32 +01:00
Uwe L. Korn
4a9d0eea8c Make showing scan progress optional 2014-09-21 12:59:32 +01:00
Uwe L. Korn
935309000f Remove unused link_libraries 2014-09-21 12:59:32 +01:00
Uwe L. Korn
d6b4724264 Do not leak Tag instances during metadata scan 2014-09-21 12:59:31 +01:00
Uwe L. Korn
aefbe439d3 [tools] Add musicscan utility 2014-09-21 12:59:31 +01:00
Uwe L. Korn
7459472702 Export MusicScanner 2014-09-21 12:59:31 +01:00
Tomahawk CI
ec8b7ca9fa Automatic merge of Transifex translations 2014-09-21 02:17:12 +02:00
Christian Muehlhaeuser
c501b7bd11 * updateIndex is queueing up internally. 2014-09-20 21:25:49 +02:00
Christian Muehlhaeuser
e9d78d570b * Delay updateIndex until database is ready. 2014-09-20 21:24:27 +02:00
Jason Herskowitz
dfb9d89d23 Better label for Show Offline Friends, instead of Sources 2014-09-20 11:37:53 -04:00
Jason Herskowitz
28451c5ce6 typo 2014-09-20 11:32:45 -04:00
Jason Herskowitz
fdf25ec113 Update XSPF importer text to be more helpful and clear 2014-09-20 11:31:38 -04:00
Dominik Schmidt
453766ae04 Log uncaught exceptions and crash on windows 2014-09-20 17:13:32 +02:00
Christian Muehlhaeuser
022bc7c66a * Fixed in-playlist progress bar for tracks with unknown stream duration, like tracks resolved to Beats. 2014-09-20 09:56:27 +02:00
Christian Muehlhaeuser
0f8be31c28 * Simpler code. 2014-09-20 09:44:30 +02:00
Christian Muehlhaeuser
ad03982a2f * Use MetaPlaylistInterface to reduce code in ChartsWidget. 2014-09-20 09:37:48 +02:00
Christian Muehlhaeuser
d34f21301b * GridView has child-playlistInterfaces. Store them in a MetaPlaylistInterface to fix playing state getting stuck. 2014-09-20 09:37:23 +02:00
Christian Muehlhaeuser
37b5b00506 * Added MetaPlaylistInterface::removeChildInterface. Does what it says on the tin. 2014-09-20 09:36:20 +02:00
Christian Muehlhaeuser
19229d96bc * Tint breadcrumb icon. 2014-09-20 07:15:37 +02:00
Christian Muehlhaeuser
efe2952251 * Never show scrollbar in biography. 2014-09-20 07:10:52 +02:00
Christian Muehlhaeuser
2e32c9301e * Style and header fixes. 2014-09-20 07:02:42 +02:00
Christian Muehlhaeuser
5962776076 * LoadingSpinner requires a parent and should install an event-filter on its parent. 2014-09-20 06:58:29 +02:00
Christian Muehlhaeuser
862ad871d1 * Don't accept drag & drop events while the underlying PlayableModel is still in loading state. 2014-09-20 06:54:06 +02:00
Christian Muehlhaeuser
85e997322c * eventFilter needs to be put in TrackView, so its OverlayWidget can redirect its drag & drop events to it. 2014-09-20 06:49:20 +02:00
Christian Muehlhaeuser
0237d41d4a * Removed obsolete m_whatsHotPage member. 2014-09-20 06:34:59 +02:00
Christian Muehlhaeuser
926c17ddff * After fooling me a thousand times, I've finally decided to rename WhatsHotWidget to ChartsWidget. There's potential danger in colliding with lingering old whatshot-page plugins, but I'd rather do it now than later. Please wipe your build / install dirs. Sorry :-) 2014-09-20 06:33:19 +02:00
Christian Muehlhaeuser
2d6db9b7b4 * Renamed WhatsHotWidget/-Page to ChartsWidget/-Page. 2014-09-20 06:21:33 +02:00
Christian Muehlhaeuser
0cc1948f1c * Don't switch to queue after adding via context menu. 2014-09-20 02:38:40 +02:00
Tomahawk CI
1a265cb178 Automatic merge of Transifex translations 2014-09-20 02:17:02 +02:00
Christian Muehlhaeuser
9aaf8a2009 * Select current item when jumping to track in TrackView. 2014-09-20 01:42:54 +02:00
Christian Muehlhaeuser
4ad7e0e311 * Fixed artist page's minimum width. 2014-09-19 21:49:46 +02:00
Christian Muehlhaeuser
7f2fb58ab5 * Style fix for TomahawkUtils. 2014-09-19 03:05:50 +02:00
Tomahawk CI
8503259490 Automatic merge of Transifex translations 2014-09-19 02:16:54 +02:00
Uwe L. Korn
97e2f1e588 No need to call QString::number on an parameter to QString::arg() 2014-09-18 23:38:16 +01:00
Uwe L. Korn
5400ff10ba Only lock once while accessing member objects.
Previously we locked/unlocked the internal mutex twice to get
d->results. Also we created an unecessary copy of the list.
2014-09-18 23:38:16 +01:00
Jason Herskowitz
477a8b048e Make sure icons are right size again. Try not to be an idiot. 2014-09-18 15:04:32 -04:00
Jason Herskowitz
c9dcb7503f Make sure icons are right size again. Try not to be an idiot. 2014-09-18 15:00:59 -04:00
Jason Herskowitz
aa8a330e5e Make splash the same color as the icon 2014-09-18 14:59:26 -04:00
Jason Herskowitz
3208f643f9 Do not use Mac save for web PNG setting as it changes the color 2014-09-18 11:29:56 -04:00
Jason Herskowitz
eb72443a2b Do not forget the svg 2014-09-18 11:16:25 -04:00
Jason Herskowitz
765805c698 Give icons more padding so not cropped in dock. Change color again - this time to the one Jordi suggests 2014-09-18 11:12:28 -04:00
Christian Muehlhaeuser
684c1da4fe * Fixed opening logfile with local8bit. 2014-09-18 09:05:48 +02:00
Christian Muehlhaeuser
f4c05165dc * Resolve correctly again. Need to work on performance. 2014-09-18 06:30:06 +02:00
Christian Muehlhaeuser
8b25ecc359 * Switch back to StdWString conversion. 2014-09-18 06:16:29 +02:00
Christian Muehlhaeuser
24ce7e823e * Try utf16 conversion. 2014-09-18 05:42:07 +02:00
Christian Muehlhaeuser
0bfee1eeca * Try to pass QString to lucene++ via StringUtils. 2014-09-18 05:33:51 +02:00
Christian Muehlhaeuser
ec137c3269 * Retrieve utf16 local appdata path from Windows API correctly. 2014-09-18 01:42:45 +02:00
Jason Herskowitz
0e3341012b Tone down the color of the error icon 2014-09-17 19:37:12 -04:00
Uwe L. Korn
9debd1b39e Add constructor for a fixed Query<->Result relation 2014-09-17 23:56:45 +01:00
Dominik Schmidt
d00e8c8a8b Oh god why 2014-09-17 22:47:01 +02:00
Dominik Schmidt
cfa37977ee Ship all boost libraries 2014-09-17 22:26:47 +02:00
Uwe L. Korn
f28bb9ee79 Fix TWK-1712 2014-09-17 20:25:00 +01:00
Uwe L. Korn
8afa54f2de Use appropriate Q_DECL_OVERRIDE 2014-09-17 18:50:40 +01:00
Uwe L. Korn
d0b2d39967 Be able to force set online status 2014-09-17 18:50:40 +01:00
Uwe L. Korn
2f44f64692 Better logging 2014-09-17 18:50:40 +01:00
Dominik Schmidt
af313a3dc6 Do not include liblucene++-contrib.dll in the installer 2014-09-17 19:14:27 +02:00
Uwe L. Korn
794d66b31a Replace virtual with appropriate Q_DECL_OVERRIDE 2014-09-17 16:41:09 +01:00
Christian Muehlhaeuser
ff10f4536a Merge pull request #254 from zizzfizzix/patch-2
fix typo
2014-09-17 17:34:15 +02:00
Kuba
be90e1838a fix typo 2014-09-17 17:33:26 +02:00
Christian Muehlhaeuser
421a500ef9 * Don't use Left/Right shortcuts for advancing in playlist. 2014-09-17 16:28:38 +02:00
Christian Muehlhaeuser
761b694e07 * Style fixes in JSResolver. 2014-09-17 16:21:25 +02:00
Jason Herskowitz
66487ff985 Less faded Collection header image 2014-09-17 06:57:04 -04:00
Tomahawk CI
766d3826c0 Automatic merge of Transifex translations 2014-09-17 02:18:07 +02:00
Jason Herskowitz
bb3cac36f3 Capitalize entry in Listen Along context menu to be consistent 2014-09-16 16:46:15 -04:00
Jason Herskowitz
8a2d5a170e Don't be an idiot - a 512px icon should not be 16px 2014-09-16 11:58:58 -04:00
Christian Muehlhaeuser
ef8b0f4f2b Merge pull request #253 from TheOneRing/lucene
fixed strange lucene++ find script for windows
2014-09-16 16:32:26 +02:00
Jason Herskowitz
2203da8304 One more icon try with a flatter color. Better or worse than original? 2014-09-16 09:57:03 -04:00
Jason Herskowitz
d972a13435 Less transparency in icons. Any better? 2014-09-16 07:07:42 -04:00
Patrick von Reth
f2058a567b dont link against boost_system but 2014-09-16 12:15:35 +02:00
Patrick von Reth
6266a67249 fixed strange lucene++ find script for windows 2014-09-16 11:58:27 +02:00
Christian Muehlhaeuser
083fb22935 * VCenter source icon in row. 2014-09-16 06:46:14 +02:00
Christian Muehlhaeuser
fe00a69ef0 * Show source icon on hover / selection. 2014-09-16 06:33:05 +02:00
Christian Muehlhaeuser
e08780bb41 * Center controls in HeaderWidget.ui. 2014-09-16 06:18:28 +02:00
Christian Muehlhaeuser
fb08bfae49 * Style fixes. 2014-09-16 06:05:36 +02:00
Christian Muehlhaeuser
542f6763af * Style fixes to TomahawkSettings. 2014-09-16 06:03:32 +02:00
Christian Muehlhaeuser
0c50c0ed7e Merge pull request #252 from tomahawk-player/lucenepp
Switched from CLucene to Lucene++
2014-09-16 05:54:39 +02:00
Christian Muehlhaeuser
4a5612aea7 * boost_system is not libtomahawk's direct dependency. 2014-09-16 05:49:12 +02:00
Christian Muehlhaeuser
8a25a551c5 * Style fixes in FuzzyIndex. 2014-09-16 05:33:18 +02:00
Christian Muehlhaeuser
efae2f004a * Fixed compiler warnings in FuzzyIndex. 2014-09-16 05:32:27 +02:00
Christian Muehlhaeuser
f6a2165524 * Remove commented out code. 2014-09-16 05:31:56 +02:00
Christian Muehlhaeuser
997f05b9c5 * Updated NSIS template to package Lucene++. 2014-09-16 05:29:00 +02:00
Christian Muehlhaeuser
cc3ce671b9 * Remove old CLucene references. 2014-09-16 05:28:11 +02:00
Christian Muehlhaeuser
265b6b0fc1 * Delete index when initializing lucene should fail. 2014-09-16 05:22:17 +02:00
Christian Muehlhaeuser
995da20b5d * Find lucenepp lib correctly on all platforms. 2014-09-16 05:12:51 +02:00
Jason Herskowitz
53e1ef866c New collection header image 2014-09-15 23:02:57 -04:00
Christian Muehlhaeuser
f554ba7f17 * Removed CLucene check. 2014-09-16 01:49:28 +02:00
Christian Muehlhaeuser
a38bf949dd * Switch to SimpleAnalyzer and optimize index in endIndexing() again. 2014-09-16 01:37:53 +02:00
Christian Muehlhaeuser
f837e9e7e5 * Ported to lucene++. 2014-09-16 01:02:59 +02:00
Christian Muehlhaeuser
88a5b6d97c * Added FindLucene++.cmake. 2014-09-15 21:23:06 +02:00
Jason Herskowitz
c03ae9021a Make nicer splash pages 2014-09-15 10:42:33 -04:00
Christian Muehlhaeuser
11e5a076f6 * Don't optimize index. 2014-09-15 16:39:10 +02:00
Christian Muehlhaeuser
cde4f5e229 Revert "* Really spammy debug output for testing."
This reverts commit 5538a29940.
2014-09-15 16:38:42 +02:00
Christian Muehlhaeuser
5538a29940 * Really spammy debug output for testing. 2014-09-15 16:07:35 +02:00
Christian Muehlhaeuser
02ae04be06 * Added debug output to endIndexing. 2014-09-15 15:28:57 +02:00
Jason Herskowitz
54836c8c48 Update icons and DMG background 2014-09-14 21:07:40 -04:00
Tomahawk CI
9e6144e04d Automatic merge of Transifex translations 2014-09-15 02:19:14 +02:00
Jason Herskowitz
2fe24d14b9 Update Splash back and DMG installer background image 2014-09-14 20:12:08 -04:00
Christian Muehlhaeuser
4407905a23 * More debug output. 2014-09-15 01:01:54 +02:00
Christian Muehlhaeuser
f75505c674 * Log which fuzzy index gets wiped. 2014-09-15 00:32:46 +02:00
Uwe L. Korn
6afbdaef25 Add explicit narrowing cast for C++11 support
This reflects the existing behaviour but in C++11 the implicit cast is
no longer allowed.
2014-09-14 20:17:43 +01:00
Christian Muehlhaeuser
e614f2ae42 * Don't init ScanManager before local collection is set. 2014-09-14 17:57:19 +02:00
Uwe L. Korn
8c3799f93d Use direct implementation and do not call virtuals in the constructor 2014-09-14 13:56:41 +01:00
Uwe L. Korn
9132c5de7d Use direct implementation and do not call virtuals in the constructor 2014-09-14 08:51:18 +01:00
Uwe L. Korn
8269d69a48 Make filePath non-virtual as never overloaded but used in a lot of constructors 2014-09-12 11:35:38 +01:00
Uwe L. Korn
3abe856965 Use Q_DECL_OVERRIDE where more appropriate 2014-09-12 09:33:18 +01:00
Tomahawk CI
1f95084384 Automatic merge of Transifex translations 2014-09-12 02:17:01 +02:00
Uwe L. Korn
489a83e401 Do not use virtual methods in constructors 2014-09-12 00:12:13 +01:00
Uwe L. Korn
f4f553566d Style fixes 2014-09-12 00:12:13 +01:00
Uwe L. Korn
c07ddafcb8 Use override instead of virtual 2014-09-12 00:12:13 +01:00
Uwe L. Korn
d6400dee5b Remove (yet) unnecassary virtual 2014-09-12 00:12:13 +01:00
Uwe L. Korn
34976caf67 Use override instead of virtual 2014-09-12 00:12:13 +01:00
Uwe L. Korn
d8827eb82e Merge pull request #251 from tomahawk-player/cacheupdates
add genericcache version setting to TomahawkSettings, check for the cach...
2014-09-11 23:29:32 +02:00
Christian Muehlhaeuser
e0ea260002 * Set Album type on PlayableCover in TrackDetailView. 2014-09-11 19:16:27 +02:00
Christian Muehlhaeuser
7dfab0fc7f * Make PlayableCover a bit more feature complete. 2014-09-11 19:16:11 +02:00
Christian Muehlhaeuser
978bb39780 Revert "Revert "Clean up obsolete icons""
This reverts commit c04875503f.
2014-09-11 17:20:41 +02:00
Christian Muehlhaeuser
aeaac33e44 * Style fixes. 2014-09-11 17:08:56 +02:00
Christian Muehlhaeuser
fcf7ddd169 * Lower-case comparison for extensionToMimetype. 2014-09-11 17:08:22 +02:00
Christian Muehlhaeuser
53803d9a58 * Don't even attempt to draw hidden rows in sidebar. 2014-09-11 17:07:47 +02:00
Christian Muehlhaeuser
a02dce9db1 * Assert when image with negative size is being requested. 2014-09-11 17:07:23 +02:00
Stefan Derkits
b4a290c8ec change DEFINES to c++ constants, remove qt5 ifdefs inside Generic/InfosystemCache and let TomahawkUtils handle the version check 2014-09-11 10:48:53 +02:00
Christian Muehlhaeuser
c04875503f Revert "Clean up obsolete icons"
This reverts commit 822620ae90.
2014-09-11 01:38:14 +02:00
Christian Muehlhaeuser
a65074c3e3 Revert "Make legacy icon same color as others - just in case we use it somewhere"
This reverts commit 5fe25c386f.
2014-09-11 01:37:58 +02:00
Christian Muehlhaeuser
99382899fb * Also print out size when encountering invalid generated pixmap. 2014-09-11 01:34:02 +02:00
Uwe L. Korn
3deef2bb10 Fix Qt5 removeDirectory code 2014-09-10 22:35:52 +01:00
Uwe L. Korn
1b65cf3f00 Add missing include 2014-09-10 22:35:23 +01:00
Uwe L. Korn
d7f1f79692 Style fixes 2014-09-10 16:02:14 +01:00
Stefan Derkits
2797c06a8c typo in Qt5 syntax in Infosystem/TomahawkCache 2014-09-10 11:17:38 +02:00
Stefan Derkits
e70daa3f7e change TomahawkUtils::removeDirectory to use the new Qt5 functionality when building with Qt5 2014-09-10 11:16:16 +02:00
Stefan Derkits
10e944b7a7 use existing TomahawkUtils function to remove directory 2014-09-10 11:01:22 +02:00
Tomahawk CI
f8f93ab575 Automatic merge of Transifex translations 2014-09-10 02:17:10 +02:00
Christian Muehlhaeuser
152200fc35 * Log which image type is invalid. 2014-09-10 00:44:15 +02:00
Christian Muehlhaeuser
eb7a13aa5b * Updated minimum version in Info.plist. 2014-09-09 23:08:55 +02:00
Christian Muehlhaeuser
aecd30c267 * Updated tomahawk.desktop to contain supported mime-types. 2014-09-09 23:01:47 +02:00
Christian Muehlhaeuser
6291cda4be * Register supported file extensions in Windows installer. Needs unregistering on uninstall still. 2014-09-09 18:48:38 +02:00
Christian Muehlhaeuser
8e8c98296f * Forgot to add ogg support to Info.plist. 2014-09-09 18:45:49 +02:00
Christian Muehlhaeuser
5bf7721bf5 * Updated OS X Info.plist to reflect support for audio file types. 2014-09-09 18:21:40 +02:00
Christian Muehlhaeuser
eafb1f1b6c * Make sure supported file extensions are case-insensitive. 2014-09-09 17:33:34 +02:00
Christian Muehlhaeuser
1cd96b8a74 * Support passing a local file as parameter to a running Tomahawk instance, which in turn triggers playback. 2014-09-09 17:33:34 +02:00
Christian Muehlhaeuser
cda5d833dd * AudioEngine::play( QUrl ) to directly start playback of a local file (or in the future network urls). 2014-09-09 17:33:34 +02:00
Christian Muehlhaeuser
1bd9d02ee2 * Added static MusicScanner::readTags( QFileInfo ), returning a variant-map filled with a file's tags. Wrapped by the regular ::readFile( QFileInfo ). 2014-09-09 17:33:34 +02:00
Jason Herskowitz
5fe25c386f Make legacy icon same color as others - just in case we use it somewhere 2014-09-09 10:40:18 -04:00
Stefan Derkits
c910cac76c add genericcache version setting to TomahawkSettings, check for the cache versions in TomahawkCache/InfossystemCache and delete cache if it is old 2014-09-09 16:07:39 +02:00
Jason Herskowitz
822620ae90 Clean up obsolete icons 2014-09-09 09:48:53 -04:00
Christian Muehlhaeuser
02b7ff875b Added TomahawkUtils::supportedExtensions, returning all supported file-extensions. 2014-09-09 14:59:44 +02:00
Christian Muehlhaeuser
42162f6c99 * Use TomahawkUtils::supportedExtensions in MusicScanner. 2014-09-09 14:58:56 +02:00
Tomahawk CI
ce22b0a23d Automatic merge of Transifex translations 2014-09-09 02:16:54 +02:00
Jason Herskowitz
5218755735 Better copy link icon 2014-09-08 19:37:21 -04:00
Jason Herskowitz
5ec01450ff Add a copy link icon, then add more icons to context menu 2014-09-08 19:32:13 -04:00
Christian Muehlhaeuser
a4dc4e8c76 * Unbreak latching on. 2014-09-09 01:02:34 +02:00
Christian Muehlhaeuser
d0992209cc * Set default system font on settings dialog. 2014-09-09 00:16:34 +02:00
Christian Muehlhaeuser
9e6512fc25 * Show play icon in context menus. 2014-09-09 00:16:20 +02:00
Christian Muehlhaeuser
f546d744db * Show correct artist/album/track pixmap when dragging from a GridView. 2014-09-09 00:03:19 +02:00
Jason Herskowitz
63e6238f4e Update icons in Controls menu to match new audiocontrol icons 2014-09-08 16:26:26 -04:00
Christian Muehlhaeuser
43ed58f66e * Only apply scaling once per widget. 2014-09-08 17:51:27 +02:00
Christian Muehlhaeuser
3748bd9c68 * Fixed TrackDetailView scaling. 2014-09-08 17:28:32 +02:00
Christian Muehlhaeuser
17f58d2a8a * DpiScale the header. 2014-09-08 17:16:49 +02:00
Teo Mrnjavac
41f04a4a10 Set contents margins on widgets as well. 2014-09-08 17:12:10 +02:00
Christian Muehlhaeuser
2362bf9b90 * Added debug output for, well, debugging. 2014-09-08 17:00:59 +02:00
Christian Muehlhaeuser
b12d0fde3d * Try a generic margin & spacing fix-helper. Applied on AudioControls only so far. 2014-09-08 16:54:39 +02:00
Christian Muehlhaeuser
336bccaf40 * Fixed selecting correct sidebar item after destroying temporary page. 2014-09-08 15:40:57 +02:00
Christian Muehlhaeuser
675a288a69 * Don't enforce size on Linux. 2014-09-08 14:38:20 +02:00
Christian Muehlhaeuser
47eca3182d * Fade in spinners when newly set model is already in loading-state. 2014-09-08 13:32:57 +02:00
Christian Muehlhaeuser
abeee23995 * Remove obsolete stuff. 2014-09-08 13:32:31 +02:00
Christian Muehlhaeuser
00b7cfb933 * Style fix. 2014-09-08 13:29:57 +02:00
Tomahawk CI
ce79a3ed33 Automatic merge of Transifex translations 2014-09-06 02:18:20 +02:00
Christian Muehlhaeuser
7453da8fd3 * Fixed crash in FlexibleView. 2014-09-05 10:28:49 +02:00
Christian Muehlhaeuser
749d88b7e5 * Request album information from all avail infoplugin sources. 2014-09-05 10:20:07 +02:00
Christian Muehlhaeuser
ba8e572964 * Added vital debug info in comment. 2014-09-05 10:20:07 +02:00
Christian Muehlhaeuser
79ae3d9211 * Switch to 'You' and 'Your Collection' instead of 'My Collection' everywhere. 2014-09-05 07:12:18 +02:00
Christian Muehlhaeuser
c2be5c8bfb * Wordwrap caption in header when needed. Fixed balance spaer. 2014-09-05 07:04:36 +02:00
Christian Muehlhaeuser
0068a078c4 * Fade out unresolved tracks in playlist delegate. 2014-09-05 05:57:14 +02:00
Christian Muehlhaeuser
47da292230 * Biography css. 2014-09-05 05:47:07 +02:00
Christian Muehlhaeuser
fee4809b0c * Set the playlistinterface_ptr in TrackDetailView, so we can continue playback after picking an alternative source. 2014-09-05 05:32:18 +02:00
Christian Muehlhaeuser
cefc06110e * Style in-page scrollbars again. 2014-09-05 03:21:08 +02:00
Jason Herskowitz
618035bb9f Change default placeholder icons used in charts and drag and drop 2014-09-04 11:46:28 -04:00
Christian Muehlhaeuser
4ca90d7691 * Use font-metrics to calculate icon size in header. 2014-09-04 03:12:20 +02:00
Tomahawk CI
4241dd840b Automatic merge of Transifex translations 2014-09-04 02:17:30 +02:00
Jason Herskowitz
2292cd7ef3 Don't change those icons because it breaks the sidebar 2014-09-03 08:28:15 -04:00
Jason Herskowitz
beec2f04c6 Updated Track Icon used in charts 2014-09-03 07:58:01 -04:00
Jason Herskowitz
29648602fd Update artist icon in Collection view - it is a dupe 2014-09-03 07:40:44 -04:00
Christian Muehlhaeuser
959121fa86 * Clean up AudioControls code. 2014-09-03 08:29:29 +02:00
Christian Muehlhaeuser
7739f2118d * Removed obsolete PNGs. 2014-09-03 08:28:57 +02:00
Christian Muehlhaeuser
9390c280d5 * Prevent flickering on pause / resume. 2014-09-03 02:56:15 +02:00
Christian Muehlhaeuser
eb4f1a1bfc * Remove date picker widget. Should probably be replace with a jump to date link. 2014-09-03 02:47:57 +02:00
Christian Muehlhaeuser
e9c4d2ab12 * Slightly smaller header. 2014-09-03 02:47:57 +02:00
Christian Muehlhaeuser
d982a38109 * Make context-view cover a littler smaller (and hence the view less high). 2014-09-03 02:47:57 +02:00
Christian Muehlhaeuser
3dab1533fc * More work on AudioControls layout. Hoep this simplifies things a bit. 2014-09-03 02:47:56 +02:00
Tomahawk CI
b8416fa7c0 Automatic merge of Transifex translations 2014-09-03 02:17:02 +02:00
Jason Herskowitz
5b51367594 Fix character encoding for Jordis name 2014-09-02 12:01:55 -04:00
Jason Herskowitz
ccac8b19d2 Special character causing problems, so replace until muesli can tell me how to fix 2014-09-02 11:44:57 -04:00
Jason Herskowitz
48fd6eb3f1 Add Jordi to credits 2014-09-02 10:26:33 -04:00
Christian Muehlhaeuser
252ef64a3d * BasicHeader can tint its pixmaps. 2014-09-02 05:58:30 +02:00
Christian Muehlhaeuser
0998a69c59 * Default TreeModel icon is now the collection image. 2014-09-02 05:58:05 +02:00
Christian Muehlhaeuser
2e6e96fdcc * Tint default FlexibleTreeView's pixmap. 2014-09-02 05:57:30 +02:00
Christian Muehlhaeuser
660c0120ca * If no source avatar is avail, return big tinted default collection image for collection's bigIcon. 2014-09-02 05:56:41 +02:00
Christian Muehlhaeuser
1af04681cf * Tint header images. 2014-09-02 05:29:58 +02:00
Christian Muehlhaeuser
8375d4e022 Use tinted convenience method in ImageRegistry. 2014-09-02 05:29:49 +02:00
Christian Muehlhaeuser
1006d1aa1d * Added TomahawkUtils::tinted(QPixmap, QColor). 2014-09-02 05:29:28 +02:00
Christian Muehlhaeuser
199759cf26 * Larger hit-area for sliders. 2014-09-02 04:36:20 +02:00
Christian Muehlhaeuser
21c83cb47f * Less margin on sidebar sources. 2014-09-02 03:06:49 +02:00
Tomahawk CI
7fdb32239a Automatic merge of Transifex translations 2014-09-02 02:16:57 +02:00
Christian Muehlhaeuser
2604b8ba17 * Show page-pixmap in header. 2014-09-01 05:47:01 +02:00
Christian Muehlhaeuser
dce30cf718 * Try centering by using QFontMetricsF. 2014-09-01 05:24:30 +02:00
Christian Muehlhaeuser
9240e8d476 * Fixed default avatar generation on non-OS X. 2014-09-01 04:55:17 +02:00
Christian Muehlhaeuser
31ab460559 * Less debug noise in Source. 2014-09-01 04:44:36 +02:00
Christian Muehlhaeuser
f483477240 * Fixed y-axis shifted fonts for default avatar on OS X. 2014-09-01 04:38:32 +02:00
Christian Muehlhaeuser
08e35b3bf3 * DpiScale Artist page. 2014-09-01 04:26:46 +02:00
Christian Muehlhaeuser
698037fafb * DpiScale GridView & delegate. 2014-09-01 04:25:55 +02:00
Christian Muehlhaeuser
1ac4236007 * Calculate margin once and cache it. 2014-09-01 04:02:32 +02:00
Christian Muehlhaeuser
76d44aeb4a * Use DpiScaler on SourceDelegate. 2014-09-01 03:49:11 +02:00
Christian Muehlhaeuser
eeb210a37b * Be nice. 2014-09-01 03:14:11 +02:00
Christian Muehlhaeuser
9dc0638d48 * Make header buttons work on WhatsNew page. 2014-09-01 03:10:24 +02:00
Christian Muehlhaeuser
28342ba811 * Initialize queue early in TomahawkWindow and don't store it as a member. 2014-09-01 02:59:54 +02:00
Christian Muehlhaeuser
cc059ac141 * Update sidebar's queue-item when queue-model's item-count changes. 2014-09-01 02:59:16 +02:00
Christian Muehlhaeuser
b5d5b3ba75 * Compiler warnings in ClickableLabel. 2014-09-01 02:34:05 +02:00
Christian Muehlhaeuser
f3a7442e19 * Compiler warnings in BasicHeader. 2014-09-01 02:33:29 +02:00
Christian Muehlhaeuser
03229377e0 * Compiler warnings in XspfLoader. 2014-09-01 02:33:15 +02:00
Christian Muehlhaeuser
048145c041 * Compiler warnings in SharedTimeLine. 2014-09-01 02:33:04 +02:00
Christian Muehlhaeuser
952f1a388b * Compiler warnings in item-delegates. 2014-09-01 02:32:46 +02:00
Christian Muehlhaeuser
bc87d1c002 * Fixed compiler warnings in PlayableModel. 2014-09-01 02:32:19 +02:00
Christian Muehlhaeuser
51401e3112 * Remove obsolete code in ContextView. 2014-09-01 02:31:47 +02:00
Christian Muehlhaeuser
d5edb25115 * Remove obsolete code in WhatsNewWidget. 2014-09-01 02:24:59 +02:00
Tomahawk CI
e866555785 Automatic merge of Transifex translations 2014-09-01 02:17:04 +02:00
Christian Muehlhaeuser
02a3bd931f * A few sidebar-delegate fixes. Const whenever you 'konnst'. 2014-09-01 02:06:51 +02:00
Christian Muehlhaeuser
8e3231facd * Removed silly debug. 2014-09-01 02:05:28 +02:00
Christian Muehlhaeuser
3e53544b43 * Fixed compiler warning. 2014-09-01 02:05:12 +02:00
Christian Muehlhaeuser
ac3d0eb7f0 * AlignVCenter already takes care of y-axis in paintStandardItem. 2014-09-01 01:52:00 +02:00
Christian Muehlhaeuser
5c8d2aae7a * Removed obsolete AnimationHelper include. 2014-08-31 21:39:18 +02:00
Christian Muehlhaeuser
4c8d451400 * Removed obsolete AnimationHelper. 2014-08-31 21:38:51 +02:00
Christian Muehlhaeuser
25bb3dac8d * Make sure m_dropType is always initialized for sidebar items. 2014-08-31 21:36:15 +02:00
Christian Muehlhaeuser
9ee93f0f4b * Fixed compiler warning. 2014-08-31 21:36:15 +02:00
Christian Muehlhaeuser
d0293d5f53 * Remove old expansion map code from sidebar. 2014-08-31 21:36:15 +02:00
Christian Muehlhaeuser
16c8b72846 * Style fixes. 2014-08-31 21:36:15 +02:00
Uwe L. Korn
07851d7eda Use correct boolen operator on IPv4 addresses 2014-08-31 16:10:06 +01:00
Uwe L. Korn
3e5fcd7e08 [test] Show failing IP address 2014-08-31 15:55:56 +01:00
Christian Muehlhaeuser
11346df96b * Remove obsolete var. 2014-08-31 14:26:42 +02:00
Christian Muehlhaeuser
da9349fc6d * Support dropping items on Queue in sidebar. 2014-08-31 14:26:22 +02:00
Tomahawk CI
a737b0a235 Automatic merge of Transifex translations 2014-08-31 02:17:25 +02:00
Christian Muehlhaeuser
8c62dd5c1e * Fixed RecentlyPlayedModel's insert-sorter. 2014-08-30 21:41:48 +02:00
Christian Muehlhaeuser
a30c3fff88 * Fixed retrieving covers from QPixmapCache. 2014-08-29 16:12:30 +02:00
Christian Muehlhaeuser
f5a3b90544 * Fixed nasty bug when generating cache-key for images. 2014-08-29 15:54:52 +02:00
Christian Muehlhaeuser
3f0fdb0e71 * Prevent restoring queue too early. 2014-08-29 14:15:24 +02:00
Tomahawk CI
111663d185 Automatic merge of Transifex translations 2014-08-29 02:17:19 +02:00
Christian Muehlhaeuser
24e7d9b069 * Another go at bio-font. 2014-08-29 00:18:31 +02:00
Christian Muehlhaeuser
ece7943512 * Don't crash in ScriptCommand_AllAlbums. 2014-08-28 23:59:09 +02:00
Christian Muehlhaeuser
333c41cf3b * Smaller bio-font. 2014-08-28 23:58:40 +02:00
Christian Muehlhaeuser
356784736f * Don't squash hover-controls. 2014-08-28 23:28:43 +02:00
Christian Muehlhaeuser
0db2ff2250 * Slight optimization. 2014-08-28 23:28:05 +02:00
Christian Muehlhaeuser
916bb80608 * Fixed spinner repositioning after scrolling. 2014-08-28 23:27:34 +02:00
Christian Muehlhaeuser
848b3254da * Use int values for font weight. 2014-08-28 22:52:03 +02:00
Christian Muehlhaeuser
9b6a09c0ec * Style in-page widgets. 2014-08-28 22:47:28 +02:00
Christian Muehlhaeuser
04c6df60af * Forgot to add header. 2014-08-28 22:46:26 +02:00
Christian Muehlhaeuser
d7340c03eb * Use proper QWebView instead of QTextBrowser and style links on hover. 2014-08-28 22:46:06 +02:00
Christian Muehlhaeuser
91fa215f8c * In preparation of dropping proxy-styles. 2014-08-28 21:19:21 +02:00
Christian Muehlhaeuser
31745d8c37 * Obsolete parameter. 2014-08-28 21:19:21 +02:00
Christian Muehlhaeuser
1ea04025e4 * Make PlayableProxyModel aware of artist and album items when updating detail info. 2014-08-28 21:19:21 +02:00
Christian Muehlhaeuser
fd24e3cb28 * Dont automatically request item-covers in GridItemDelegate. 2014-08-28 21:19:21 +02:00
Christian Muehlhaeuser
023cde714a * Added scroll timeouts to GridView, only request covers for displayed items. 2014-08-28 21:19:21 +02:00
Christian Muehlhaeuser
020847f3a2 * Potentially helpful debug output in the future. 2014-08-28 21:19:21 +02:00
Dominik Schmidt
c10741f61b Enable the crash reporter before settings are loaded and (in case) deactivate afterwards to catch crashes in settings loading 2014-08-28 18:44:06 +02:00
Christian Muehlhaeuser
c41f634e8e * Shrink log-file cleverly. 2014-08-28 18:36:21 +02:00
Christian Muehlhaeuser
a74e442bb5 * Removed obsolete code. 2014-08-28 18:36:21 +02:00
Dominik Schmidt
cfd677ccb6 Disable crash reporter temporarily 2014-08-28 18:20:33 +02:00
Dominik Schmidt
f1aeb969d9 Update libcrashreporter-qt 2014-08-28 17:34:32 +02:00
Jason Herskowitz
12194b61de Update track placeholder icon to match others 2014-08-28 08:36:43 -04:00
Tomahawk CI
b94ff9ef20 Automatic merge of Transifex translations 2014-08-28 02:18:19 +02:00
Jason Herskowitz
8960a7682b New outbox icon 2014-08-27 18:47:32 -04:00
Christian Muehlhaeuser
646a37cc82 * Lighter font in GridItemDelegate. 2014-08-27 22:13:49 +02:00
Christian Muehlhaeuser
b58123d890 * Set filter on album-view, too. 2014-08-27 21:49:49 +02:00
Christian Muehlhaeuser
50a304b407 * Rip out obsolete tree-view in collection. 2014-08-27 21:49:22 +02:00
Christian Muehlhaeuser
0a9a70ba38 * Load albums when opening collection. 2014-08-27 21:28:59 +02:00
Christian Muehlhaeuser
a0e1e9c67f * Added a GridView for albums to FlexibleTreeView. 2014-08-27 21:28:34 +02:00
Christian Muehlhaeuser
a61d588a57 * Silence the compiler. 2014-08-27 21:28:00 +02:00
Christian Muehlhaeuser
f744145994 * Convenience method to add an entire album-collection to a PlayableModel. 2014-08-27 21:27:48 +02:00
Christian Muehlhaeuser
9c3a876e1b * Get rid of compiler warning. 2014-08-27 21:27:17 +02:00
Christian Muehlhaeuser
313cba4c29 * QueryLabel automatically does the right thing when clicking an artist label. 2014-08-27 21:27:03 +02:00
Christian Muehlhaeuser
7bc80c0c1b * Style fix. 2014-08-27 21:26:00 +02:00
Christian Muehlhaeuser
1136126f04 * Slightly more opacity again. 2014-08-27 21:25:45 +02:00
Christian Muehlhaeuser
c86a75ae15 * Increased letter spacing and less opacity in header. 2014-08-27 20:15:36 +02:00
Christian Muehlhaeuser
68b38cd7bc * Removed ModeHeader entirely. 2014-08-27 20:03:40 +02:00
Christian Muehlhaeuser
662feab530 * Removed obsolete ModeHeader. 2014-08-27 20:03:05 +02:00
Christian Muehlhaeuser
f8dcdbd082 * Style fixes in AtticaManager. 2014-08-27 19:53:07 +02:00
Christian Muehlhaeuser
9c1bc7d293 * Get rid of old mode-header in collection view. 2014-08-27 19:52:38 +02:00
Christian Muehlhaeuser
5d81ff9adb * Added smaller collection background version. 2014-08-27 19:51:55 +02:00
Christian Muehlhaeuser
d1fcc9d3de * Remove obsolete HeaderWidget class. 2014-08-27 18:45:47 +02:00
Christian Muehlhaeuser
191f97b724 * Use BasicHeader on all pages. 2014-08-27 18:42:45 +02:00
Christian Muehlhaeuser
300e8bd200 * FilterHeader also depends on new header. 2014-08-27 18:41:21 +02:00
Christian Muehlhaeuser
33e8718e97 * Make BasicHeader use our HeaderWidget. One widget to rule them all. 2014-08-27 18:41:05 +02:00
Christian Muehlhaeuser
7ba97c0065 * No need for an inner widget in HeaderWidget. 2014-08-27 18:40:16 +02:00
Christian Muehlhaeuser
75e485e590 * Globally disable focus rects. 2014-08-27 13:31:40 +02:00
Christian Muehlhaeuser
b2f996c60b * Disable focus rect around treeview items. 2014-08-27 13:19:53 +02:00
Christian Muehlhaeuser
a8fe6ff652 * Set outline on QTreeView::item. 2014-08-27 12:49:34 +02:00
Christian Muehlhaeuser
0d7fff1fd9 * Disable equalizer for testing volume issues. 2014-08-27 12:38:10 +02:00
Christian Muehlhaeuser
aeeb1b9df8 * Unmute only when previously muted. 2014-08-27 10:36:42 +02:00
Uwe L. Korn
aa78bf41f6 Transform IPv4-in-IPv6 addresses back for Qt4 2014-08-26 15:25:22 +01:00
Uwe L. Korn
a6e29798f7 [test] Check whitelisting of IPv6 mapped IPv4s 2014-08-26 14:57:27 +01:00
Uwe L. Korn
34d261e2aa [test] Check that all addresses on all interfaces are whitelisted 2014-08-26 14:25:35 +01:00
Uwe L. Korn
de1d63a135 [test] Check that localhosts are whitelisted 2014-08-26 02:20:19 +01:00
Tomahawk CI
88909967ca Automatic merge of Transifex translations 2014-08-26 02:17:19 +02:00
Uwe L. Korn
1012c8f9bf [test] Refactor Servent startup into separate function 2014-08-26 00:00:48 +01:00
Uwe L. Korn
bd33726c86 Check for sane host addresses returned by Servent 2014-08-25 23:21:46 +01:00
Uwe L. Korn
0d08826ac3 Add a function to clean host addreses for sending to other peers. 2014-08-25 23:20:12 +01:00
Uwe L. Korn
0b4bee77e6 Style fix 2014-08-25 21:18:38 +01:00
Uwe L. Korn
0c63b9db71 Add test for Servent 2014-08-25 21:18:38 +01:00
Uwe L. Korn
96fc4c6d0c Small performance fix 2014-08-25 21:18:38 +01:00
Uwe L. Korn
1f63ab263c Add some documentation to startListening 2014-08-25 21:18:38 +01:00
Christian Muehlhaeuser
eab5be1e7c * Removed obsolete UnstyledFrame. 2014-08-25 22:15:37 +02:00
Christian Muehlhaeuser
290d30ce20 * Use style sheet instead of UnstyledFrame. 2014-08-25 22:14:11 +02:00
Christian Muehlhaeuser
6a6ce28b45 * Fixed typo in TomahawkStyle. 2014-08-25 22:13:31 +02:00
Christian Muehlhaeuser
192a4417b6 * Elide sidebar correctly. 2014-08-25 19:37:45 +02:00
Christian Muehlhaeuser
7f5edefa94 * Renamed paintCollection to the more appropriate paintSource. 2014-08-25 19:22:35 +02:00
Christian Muehlhaeuser
8314bbab32 * Combine two stylesheets. 2014-08-25 19:19:35 +02:00
Christian Muehlhaeuser
622b28a95b * Less opacity for upper text in GridItemDelegate. 2014-08-25 19:17:36 +02:00
Christian Muehlhaeuser
7120a0225a * Remove focused-item outline on Windows. 2014-08-25 19:16:47 +02:00
Christian Muehlhaeuser
29570da00e * Removed obsolete code path in ViewManager. 2014-08-25 17:14:00 +02:00
Christian Muehlhaeuser
3d951d012a * Removed obsolete PlaylistLargeItemDelegate. 2014-08-25 17:13:28 +02:00
Christian Muehlhaeuser
dedd14c0c0 * Align source headers above tracks in PlaylistItemDelegate. 2014-08-25 16:58:58 +02:00
Christian Muehlhaeuser
5b799b4eb7 * Swap artist and track names in sidebar. 2014-08-25 16:50:41 +02:00
Christian Muehlhaeuser
716ac7e552 * Use new collection item and paint track-count next to it instead of the source. 2014-08-25 16:46:12 +02:00
Christian Muehlhaeuser
c3cdde0734 * Added CollectionItem, container for collections in sidebar. 2014-08-25 16:44:26 +02:00
Christian Muehlhaeuser
a4367be07b * Useless parentheses. 2014-08-25 14:40:16 +02:00
Christian Muehlhaeuser
ae039731b6 * Remove silly nesting. 2014-08-25 14:16:49 +02:00
Christian Muehlhaeuser
5acfc9bbdf * Request default source avatar via Source class. 2014-08-25 14:15:19 +02:00
Christian Muehlhaeuser
8a68bdc89d * Create default avatar based on user's name. 2014-08-25 14:13:22 +02:00
Christian Muehlhaeuser
a9370808d2 * Don't crash in ContextView when no query is selected. 2014-08-25 14:12:37 +02:00
Christian Muehlhaeuser
21a24e2b85 * Fixed warning in TomahawkWindow. 2014-08-25 13:46:51 +02:00
Christian Muehlhaeuser
f3674626dc * Use new queue icon. 2014-08-25 13:28:01 +02:00
Christian Muehlhaeuser
dd92203237 * Clear labels instead of setting ugly empty quotes. 2014-08-25 13:26:04 +02:00
Christian Muehlhaeuser
d869656e22 * Clear QueryLabel's text, but not type. 2014-08-25 13:26:04 +02:00
Jason Herskowitz
9da675f13a Add Queue icon 2014-08-25 07:16:22 -04:00
Christian Muehlhaeuser
d68cbe3a16 * Empty TrackDetailView when no query is selected. 2014-08-25 13:15:18 +02:00
Christian Muehlhaeuser
90fd21f3f1 * Emit empty query as selected, if it's so. 2014-08-25 13:14:46 +02:00
Christian Muehlhaeuser
1ae3222ceb * Reimplement QLabel's clear() in QueryLabel. 2014-08-25 13:14:25 +02:00
Christian Muehlhaeuser
150938503e * Always use gray text in OverlayWidget. 2014-08-25 13:00:10 +02:00
Christian Muehlhaeuser
7d0c929eca * Clean up margin for grouped TrackViews. 2014-08-25 12:56:26 +02:00
Christian Muehlhaeuser
590e25d279 * Set 0 indentation on InboxView. 2014-08-25 12:55:55 +02:00
Christian Muehlhaeuser
c0e8787112 * Set text-antialias render-hint in TrackItemDelegate. 2014-08-25 11:12:00 +02:00
Christian Muehlhaeuser
b978fab388 * Queue is now part of the sidebar. A few clean-ups are still required. And a new icon. 2014-08-25 10:50:33 +02:00
Christian Muehlhaeuser
b3e42974ee * Added QueueItem, sidebar item for the queue. 2014-08-25 10:50:33 +02:00
Tomahawk CI
11bf540a56 Automatic merge of Transifex translations 2014-08-25 02:18:25 +02:00
Uwe L. Korn
3fd5f6f850 Rework HttpIODeviceReadyHandler 2014-08-24 12:40:03 +01:00
Uwe L. Korn
2200527678 Do not copy QHostAddresses 2014-08-24 10:44:01 +01:00
Uwe L. Korn
72ce26e64d Add address to log output 2014-08-24 10:44:01 +01:00
Tomahawk CI
99621016d1 Automatic merge of Transifex translations 2014-08-24 02:20:06 +02:00
Christian Muehlhaeuser
19aa62e422 * React to being muted from outside Tomahawk. 2014-08-24 02:16:13 +02:00
Uwe L. Korn
3e104d4030 Style fixes 2014-08-24 00:38:34 +01:00
Christian Muehlhaeuser
71f51c41b6 * Make sure IPv4 PlaydarAPI works on Windows with Qt4. 2014-08-24 01:39:00 +02:00
Uwe L. Korn
370dc5f2a6 There are two types of any Address 2014-08-24 00:31:56 +01:00
Christian Muehlhaeuser
20babf7a02 * Style fixes to Servent. 2014-08-24 01:32:40 +02:00
Christian Muehlhaeuser
2283472034 * Removed spurious extra space. 2014-08-24 01:26:43 +02:00
Christian Muehlhaeuser
68aee80641 * There's always enough space for the temp-page close icon. 2014-08-24 00:48:20 +02:00
Christian Muehlhaeuser
b4922a5919 * Calc font sizes based on default font. 2014-08-23 22:30:16 +02:00
Christian Muehlhaeuser
78c2da89b0 * No repeat-one icon yet, but correctly set opacity on change. 2014-08-23 17:31:04 +02:00
Christian Muehlhaeuser
c54fe787b6 * Put a CaptionLabel above alternative versions in TrackDetailView. 2014-08-23 17:02:23 +02:00
Christian Muehlhaeuser
1025dc3cc2 * No need to re-set default font. Implement proper size-hint for CaptionLabel. 2014-08-23 16:58:20 +02:00
Dominik Schmidt
a52082eb04 Fix libsnoregrowl*.dll location 2014-08-23 16:16:28 +02:00
Christian Muehlhaeuser
b3882d8035 * One debug line like this is enough. 2014-08-23 13:55:25 +02:00
Uwe L. Korn
e06571c3be Font loading in Qt5 is fixed since a some time 2014-08-23 12:46:11 +01:00
Christian Muehlhaeuser
1e8ff5ceea * Lower opacity for disabled items. 2014-08-23 13:43:02 +02:00
Christian Muehlhaeuser
e76f3cafc1 * Fixed Inbox count's opacity. 2014-08-23 13:39:40 +02:00
Christian Muehlhaeuser
7bdb67c88a * Fixed PlaylistModel's header. 2014-08-23 13:39:40 +02:00
Christian Muehlhaeuser
8a46f65e31 * InboxModel is now tree-aware. 2014-08-23 13:39:40 +02:00
Christian Muehlhaeuser
807ae19b2d * Simplify sidebar delegate code. 2014-08-23 13:39:40 +02:00
Uwe L. Korn
01123a38e6 Use old-style member initialisers 2014-08-23 12:33:51 +01:00
Christian Muehlhaeuser
3eb63a44e4 * Get rid of descColor in sidebar's delegate. 2014-08-23 12:52:00 +02:00
Christian Muehlhaeuser
17f69bfd65 * No need for font mumbo-jumbo in sidebar. 2014-08-23 12:42:10 +02:00
Christian Muehlhaeuser
bfff7b2878 * Remove now unused context-widget sources. 2014-08-23 12:16:39 +02:00
Christian Muehlhaeuser
6caace66ca * Remove remaining context-widget stuff. 2014-08-23 12:14:35 +02:00
Christian Muehlhaeuser
9f499cf029 * Style fixes to TomahawkApp. 2014-08-23 12:03:23 +02:00
Tomahawk CI
fd8a96ed1f Automatic merge of Transifex translations 2014-08-23 02:17:39 +02:00
Dominik Schmidt
1c5e82d8d8 Fix missing " 2014-08-23 01:29:15 +02:00
Dominik Schmidt
a565ca42a1 Merge pull request #249 from TheOneRing/snore_growl
added growl files
2014-08-23 01:28:09 +02:00
Patrick von Reth
fb0757d411 added growl files 2014-08-23 01:26:14 +02:00
Uwe L. Korn
7845224bba Only delete AtticaManager if ever created 2014-08-22 22:36:13 +01:00
Jason Herskowitz
48a40c314b Clean up Whats New typo and android screenshot 2014-08-22 16:00:14 -04:00
Christian Muehlhaeuser
bbe1f8c663 * DRY code in PlayableItem. 2014-08-22 20:16:38 +02:00
Christian Muehlhaeuser
437fa2b77b * Align with code in other models. 2014-08-22 20:01:19 +02:00
Uwe L. Korn
85aed2e0fb Style fixes 2014-08-22 18:48:46 +01:00
Uwe L. Korn
c21bd5a9db Check that we have a Query 2014-08-22 18:47:32 +01:00
Uwe L. Korn
be5e82cb78 Only execute UrlHandler helper once 2014-08-22 17:57:29 +01:00
Jason Herskowitz
73c160eaaa Better icon for Latest Additions 2014-08-22 12:17:48 -04:00
Jason Herskowitz
ace0e73503 Flaten and blacken more icons 2014-08-22 11:53:50 -04:00
Jason Herskowitz
77c80c4b35 Make new text in Whats New label wrap. I am a Qt genius. 2014-08-22 09:58:04 -04:00
Jason Herskowitz
e1380c3f25 Make Add icon match Remove. Update EN logo to make legible. Add text to Whats New. 2014-08-22 09:21:44 -04:00
Uwe L. Korn
a5d7844489 Do not use locales on shutdown 2014-08-22 10:47:06 +01:00
Tomahawk CI
fa7b65c501 Automatic merge of Transifex translations 2014-08-22 02:18:20 +02:00
Christian Muehlhaeuser
3bfd7fed26 * Use default font sizes. 2014-08-22 01:34:10 +02:00
Christian Muehlhaeuser
82ceec54b1 * Request default avatar in correct size. 2014-08-22 01:20:19 +02:00
Christian Muehlhaeuser
17b084db0b * SmoothPixmapTransform for PlaylistItemDelegate. 2014-08-22 01:18:43 +02:00
Christian Muehlhaeuser
8e4da46759 * Set AudioControls font size based on default font size. 2014-08-22 01:16:36 +02:00
Jason Herskowitz
38952b956a Do not overwrite the wrong image 2014-08-21 17:50:54 -04:00
Jason Herskowitz
a942504471 Use Jordis star icon 2014-08-21 17:49:19 -04:00
Jason Herskowitz
13d2ab90a9 More Whats New Cleanup 2014-08-21 17:28:57 -04:00
Jason Herskowitz
b181901b10 A little better icon for automatic playlist... 2014-08-21 17:04:57 -04:00
Jason Herskowitz
aa8c2fcd1c Use Jordis icons where avaiable 2014-08-21 16:52:07 -04:00
Teo Mrnjavac
0d9c7cdc0f Risk passing around a bad path to get meaningful errors. 2014-08-21 22:18:43 +02:00
Teo Mrnjavac
da97f8ac63 Install resolver AXE by passing the path as argument. 2014-08-21 22:13:11 +02:00
Christian Muehlhaeuser
7f6eda66a8 * Enable SmoothPixmapTransform render hint. 2014-08-21 22:03:50 +02:00
Christian Muehlhaeuser
d60a96b3df * Revert back size. 2014-08-21 21:52:41 +02:00
Christian Muehlhaeuser
e43f6d1c75 * More OSX testing. 2014-08-21 21:49:15 +02:00
Christian Muehlhaeuser
575e8129cb * Readd top/bottom margins. 2014-08-21 21:46:22 +02:00
Christian Muehlhaeuser
c8f2e0c7a2 * Paint background in slider again. 2014-08-21 21:38:55 +02:00
Christian Muehlhaeuser
949e6dbc35 * Make hit-area for sliders even bigger, while hopefully restoring them on OSX, too. 2014-08-21 21:37:35 +02:00
Christian Muehlhaeuser
4dd70556a5 * Revert change. 2014-08-21 21:30:09 +02:00
Christian Muehlhaeuser
fd3c3dd3d4 * Make enough room for CaptionLabel. 2014-08-21 21:28:38 +02:00
Christian Muehlhaeuser
3acefd613e * Test for OSX. 2014-08-21 21:24:37 +02:00
Christian Muehlhaeuser
f292e50943 * Keep system font for all menus. 2014-08-21 21:22:49 +02:00
Jason Herskowitz
275bc0ac44 Show context menu in Inbox screenshot 2014-08-21 15:13:20 -04:00
Jason Herskowitz
3a7afec4e3 Update Whats New text 2014-08-21 15:08:45 -04:00
Jason Herskowitz
48f4382825 Make a better What's New icon 2014-08-21 14:51:44 -04:00
Christian Muehlhaeuser
7e24a9358c * Disable wheel-events on seek bar. 2014-08-21 20:44:52 +02:00
Christian Muehlhaeuser
d5746bf47c * Larger hit area for seek/volume slider. 2014-08-21 20:38:37 +02:00
Jason Herskowitz
965fab8d6a Clean up inbox button a bit more 2014-08-21 14:07:00 -04:00
Jason Herskowitz
a1340be93c Flatten rest of icons in use and fix Xhochy's face 2014-08-21 14:02:05 -04:00
Christian Muehlhaeuser
cd548b8334 * Style fixes #2. 2014-08-21 19:22:12 +02:00
Jason Herskowitz
5240a0b0d4 Update What's New Inbox Icon on button 2014-08-21 13:12:08 -04:00
Christian Muehlhaeuser
e70b6cf0fd * Style fixes to ConnectionManager. 2014-08-21 19:04:34 +02:00
Uwe L. Korn
78f2f321d5 Merge pull request #248 from lorenzhs/fix-base64
JS Resolver API: Wrap base64 functions
2014-08-21 18:48:38 +02:00
Lorenz Hübschle-Schneider
69b703d8a4 JS Resolver API: Wrap base64 functions
Otherwise, we get TypeErrors
2014-08-21 17:41:23 +01:00
Christian Muehlhaeuser
1007cfa9b2 * Correctly scale / adjust images on 'What's New' page. 2014-08-21 18:39:02 +02:00
Christian Muehlhaeuser
1b9d4469f1 * No need to set black font twice. 2014-08-21 18:38:43 +02:00
Christian Muehlhaeuser
be31baf7a8 * Set font before calculating elided text. 2014-08-21 18:16:47 +02:00
Christian Muehlhaeuser
bf1877fbfd * Don't touch OSX base font. 2014-08-21 17:57:35 +02:00
Christian Muehlhaeuser
4832a35ca8 * Set base font size of 10pt. 2014-08-21 17:52:01 +02:00
Christian Muehlhaeuser
ac16d28edf * Enforce point size on standard sidebar items. 2014-08-21 17:51:03 +02:00
Jason Herskowitz
5382631778 New What's New screenshots 2014-08-21 11:47:52 -04:00
Uwe L. Korn
1f056c99d3 Do not try to quit DatabaseWorkerThreads where we have never started the event loop 2014-08-21 16:16:36 +01:00
Christian Muehlhaeuser
1d0dae488d * Set application wide font in Tomahawk App directly. This might fix some DPI issues. Testing. 2014-08-21 16:53:21 +02:00
Christian Muehlhaeuser
690c25a929 * No special treatment for script collections. 2014-08-21 15:14:15 +02:00
Jason Herskowitz
2dc50ebc3b Change dashboard icon to a feed icon - still named dashboard.svg 2014-08-21 09:03:20 -04:00
Christian Muehlhaeuser
1faf7e6ce4 * Use whatsnew.svg instead of png. 2014-08-21 15:04:43 +02:00
Christian Muehlhaeuser
70ce989748 * Rename 'Dashboard' to 'Feed' 2014-08-21 14:57:25 +02:00
Christian Muehlhaeuser
b8a0d2ffab * Make sure all models emit a select request on first load. 2014-08-21 14:55:50 +02:00
Jason Herskowitz
1ec521f1c6 Add whatsnew.svg 2014-08-21 08:35:49 -04:00
Christian Muehlhaeuser
4b948fc524 * Disable anti-aliasing / enable text anti-aliasing in several places. 2014-08-21 14:25:10 +02:00
Christian Muehlhaeuser
650e046587 * Smaller close button / subscription icon in sidebar. 2014-08-21 14:07:42 +02:00
Christian Muehlhaeuser
b722f8585d * Different splitter color. 2014-08-21 13:45:17 +02:00
Christian Muehlhaeuser
a44b1bdb7b * Don't upper-case playlists, stations and temp pages. 2014-08-21 13:32:58 +02:00
Christian Muehlhaeuser
5c9ee9ffc4 * Darker caption label per default. Breadcrumbing to follow. 2014-08-21 13:27:00 +02:00
Uwe L. Korn
c8cdc5a24c Find QtSvg explicitly
Silence CMake 3.0+
2014-08-21 12:05:00 +01:00
Christian Muehlhaeuser
b13a08cb05 * Uppercase most of the sidebar. 2014-08-21 13:05:53 +02:00
Christian Muehlhaeuser
ee11ff0bb7 * Right clicks shouldn't collapse/expand anything in the sidebar. 2014-08-21 13:03:22 +02:00
Christian Muehlhaeuser
e82fc614de * Style fixes. 2014-08-21 13:01:57 +02:00
Dominik Schmidt
df8390a9df Fix test include dirs 2014-08-21 12:48:43 +02:00
Uwe L. Korn
d1b723dbbd Merge pull request #246 from TheOneRing/thumb_size
use bigger icons for the thumb bar buttons, to reduce pixel artefacts on...
2014-08-21 12:22:59 +02:00
Dominik Schmidt
ba9071753a Fix make test 2014-08-21 12:10:58 +02:00
Patrick von Reth
cca0ae038d use bigger icons for the thumb bar buttons, to reduce pixel artefacts on high dpi 2014-08-21 12:10:25 +02:00
Christian Muehlhaeuser
f8511152e3 * Updated 'What's New' design. 2014-08-21 11:53:11 +02:00
Christian Muehlhaeuser
4d24062952 * Updated 'What's New' images. 2014-08-21 11:52:16 +02:00
Christian Muehlhaeuser
a4dfaac478 * Fixed overlapping text issue in Collection's preview widget. 2014-08-21 08:37:36 +02:00
Christian Muehlhaeuser
6e494db0b7 * Make the sidebar now-playing icon smaller. 2014-08-21 07:53:57 +02:00
Christian Muehlhaeuser
8542ad188e * Don't try to package viewpage_networkactivity on OSX for now. 2014-08-21 07:33:53 +02:00
Christian Muehlhaeuser
6160122192 * Make sidebar icons smaller. 2014-08-21 07:24:59 +02:00
Christian Muehlhaeuser
b2b30cc808 * Disable anti-aliasing, but keep text anti-aliasing, in sidebar. 2014-08-21 07:24:58 +02:00
Tomahawk CI
b877263d69 Automatic merge of Transifex translations 2014-08-21 02:17:18 +02:00
Christian Muehlhaeuser
c41177fd8b * Don't interfere with labels below image in GridItemDelegate. 2014-08-20 17:11:02 +02:00
Christian Muehlhaeuser
fc172279f2 * Only do the hover animation / controls when actually hovering the image. 2014-08-20 16:56:27 +02:00
Christian Muehlhaeuser
b970a1d628 * Disable hover-controls when d&d over playlists. 2014-08-20 16:25:38 +02:00
Jason Herskowitz
b17ef98963 Blacken info icon 2014-08-20 10:16:36 -04:00
Christian Muehlhaeuser
16d75ef46f * A little less opacity on the sidebar items. 2014-08-20 15:52:13 +02:00
Christian Muehlhaeuser
1bb0b8c8a4 * Hide results-box when required. 2014-08-20 15:41:25 +02:00
Christian Muehlhaeuser
a271d3967f * Only show results-box if there are multiple results. 2014-08-20 15:22:49 +02:00
Jason Herskowitz
6695d5681d Flat black icons 2014-08-20 09:15:28 -04:00
Christian Muehlhaeuser
03ce6b7f08 * Revert accidental change. 2014-08-20 14:49:51 +02:00
Christian Muehlhaeuser
4d17aaf3c5 * Add tooltips to shuffle & repeat button. 2014-08-20 14:39:27 +02:00
Christian Muehlhaeuser
d73946ea3e * Use a lighter dark color than black as default background color. 2014-08-20 14:34:18 +02:00
Christian Muehlhaeuser
708d585b96 * Prevent crashes in PlayableProxyModelPlaylistInterface. 2014-08-20 13:35:49 +02:00
Christian Muehlhaeuser
a6ed5cfc42 * Set tooltip on result-picker and swap artist/track. 2014-08-20 12:37:31 +02:00
Christian Muehlhaeuser
f1fe36a6aa * Make ClickableLabel auto-elide. 2014-08-20 12:37:04 +02:00
Christian Muehlhaeuser
793713c2a1 * Clicking the speaker icon toggles mute. 2014-08-20 11:57:49 +02:00
Christian Muehlhaeuser
828e65ff54 * Added simple scroll area to prevent results-box from resizing window. 2014-08-20 11:41:18 +02:00
Christian Muehlhaeuser
ec5473cbcb * Hover action on album name in GridView. 2014-08-20 10:44:57 +02:00
Christian Muehlhaeuser
6606365974 * Make active anchor bold. 2014-08-20 09:37:38 +02:00
Christian Muehlhaeuser
ea4180b57e * Jump to first anchor when jumping to more albums/songs. 2014-08-20 09:22:41 +02:00
Christian Muehlhaeuser
13cec067c8 * Update header-anchors' opacity as you scroll down the page. 2014-08-20 09:18:39 +02:00
Christian Muehlhaeuser
8ad1643a46 * Repaint ClickableLabel when opactity changes. 2014-08-20 09:18:05 +02:00
Christian Muehlhaeuser
60793e07be * Make sure to close sub-page when using anchors. 2014-08-20 08:44:47 +02:00
Christian Muehlhaeuser
9e78aeb998 * Added anchors to artist page. 2014-08-20 08:24:22 +02:00
Christian Muehlhaeuser
b5a029245d * Added anchors to HeaderWidget. 2014-08-20 08:24:07 +02:00
Christian Muehlhaeuser
9c01ae995f * Added setOpacity method to ClickableLabel. 2014-08-20 08:22:42 +02:00
Christian Muehlhaeuser
acbb8c5df8 * Open currently playing page when clicking on track in AudioControls. 2014-08-20 07:32:30 +02:00
Christian Muehlhaeuser
dbfbc7bf75 * Disable opening track page from QueryLabel. 2014-08-20 07:32:06 +02:00
Christian Muehlhaeuser
7611a5546d * Switch track and artist name in AudioControls and make artist smaller. 2014-08-20 07:25:31 +02:00
Christian Muehlhaeuser
2251401cef * Make artist names in GridView clickable. 2014-08-20 07:08:20 +02:00
Christian Muehlhaeuser
8d94bbe8e3 * Set black foreground on biography. 2014-08-20 06:03:19 +02:00
Christian Muehlhaeuser
0a8263e083 * Alignment for source parents in playlists. 2014-08-20 05:48:41 +02:00
Christian Muehlhaeuser
ed1b4013e8 * Show More link for albums on artist pages. 2014-08-20 05:48:15 +02:00
Christian Muehlhaeuser
7ec9951739 * Try to always rely on DPI settings. 2014-08-20 03:50:51 +02:00
Christian Muehlhaeuser
eb9f425f4b * Remove dupe code path. 2014-08-20 03:50:51 +02:00
Tomahawk CI
c59a499661 Automatic merge of Transifex translations 2014-08-20 02:17:18 +02:00
Christian Muehlhaeuser
1eb9375c49 * Queue connections to prevent unwanted resizes/-paints. 2014-08-19 14:07:02 +02:00
Christian Muehlhaeuser
14f2549951 * Applied new design to search page. 2014-08-19 13:46:31 +02:00
Christian Muehlhaeuser
03d774b9e7 * Query::equals() can now ignore album names. 2014-08-19 13:45:07 +02:00
Christian Muehlhaeuser
8af8de9f4b * No uniform row sizes in HistoryWidget. 2014-08-19 11:06:00 +02:00
Christian Muehlhaeuser
bcc76b4d91 * Fixed widget sizes in AudioControls. 2014-08-19 10:45:48 +02:00
Christian Muehlhaeuser
89fa760397 * No need to keep all delegates connected to the AudioEngine all the time. Only one holds a playing item. 2014-08-19 08:34:21 +02:00
Christian Muehlhaeuser
93b7fb3ce7 * Update playback-bar below track when tracks is playing. 2014-08-19 08:24:47 +02:00
Christian Muehlhaeuser
471c11fd8e * Disable antialiasing text in playlists. 2014-08-19 07:50:32 +02:00
Christian Muehlhaeuser
306feab812 * You can now hover / click artist names in playlists. 2014-08-19 07:41:54 +02:00
Christian Muehlhaeuser
87e2ae99b6 * Default grid-item size hint changed. 2014-08-19 07:09:35 +02:00
Christian Muehlhaeuser
0155b5e2eb * Queue infosystem requests until its ready on startup. 2014-08-19 06:44:29 +02:00
Christian Muehlhaeuser
e05d327aa5 * Keep width/height ratio for items when auto-resizing GridViews. 2014-08-19 06:10:28 +02:00
Christian Muehlhaeuser
b8ded4fde2 * Auto-select first track in list to prevent default cover showing up in contextual view. 2014-08-19 04:52:17 +02:00
Tomahawk CI
3f1e97bb43 Automatic merge of Transifex translations 2014-08-19 02:17:19 +02:00
Christian Muehlhaeuser
7433287eb4 * Auto-expand grouped PlayableModels. 2014-08-18 12:53:21 +02:00
Christian Muehlhaeuser
5220f164e6 * Set default cover when no cover available on track change. 2014-08-18 06:26:49 +02:00
Christian Muehlhaeuser
ac90129e22 * Update dashboard header image instantly. 2014-08-18 06:08:04 +02:00
Christian Muehlhaeuser
ba3b85d794 * Don't set indentation on grouped tree-views. 2014-08-18 06:08:04 +02:00
Tomahawk CI
7031dcec40 Automatic merge of Transifex translations 2014-08-18 02:17:18 +02:00
Christian Muehlhaeuser
27c0564bbb * Never draw state icons over artist name. 2014-08-17 23:27:52 +02:00
Christian Muehlhaeuser
5aaf5bb3f7 * Dashboard has non-uniform row sizes. 2014-08-17 23:27:52 +02:00
Christian Muehlhaeuser
cd3c0750a0 * Use lighter font for biography. 2014-08-17 23:27:52 +02:00
Christian Muehlhaeuser
e6becbea45 * Use painter's fontMetrics. 2014-08-17 23:27:52 +02:00
Christian Muehlhaeuser
4ff99f7769 * Elide source names in playlist. 2014-08-17 23:27:52 +02:00
Christian Muehlhaeuser
f44a85ff3c * Fixed playlist column-alignment. 2014-08-17 23:27:52 +02:00
Tomahawk CI
905be88d57 Automatic merge of Transifex translations 2014-08-16 02:18:16 +02:00
Uwe L. Korn
68d0433567 Remove TODO, qxt is dead. 2014-08-15 15:37:36 +01:00
Christian Muehlhaeuser
eebf330d2f * Check for colItem not being null, too. 2014-08-15 11:09:22 +02:00
Christian Muehlhaeuser
5d1f0dd360 * Check for sidebar item actually having an underlying source before accessing it. 2014-08-15 10:57:07 +02:00
Christian Muehlhaeuser
f7246b5830 * Group Dashboard by sources. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
6f19e87436 * Update copyrights. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
de536d7dff * Use InboxPage to show Inbox. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
c53022220b * Group InboxModel by sources. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
3c7b12ab82 * Wrap InboxView in an InboxPage. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
d70c6449cb * Integrate contextual detail view in FlexibleView. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
acb43b2b59 * Fixed row-height when showing extended map in sidebar. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
00c17e1003 * Updated sidebar's delegate. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
e9c68aaa60 * New style & layout for album-page. 2014-08-15 05:35:29 +02:00
Christian Muehlhaeuser
fa044b5782 * New style & layout for artist-page. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
8b7ad00234 * Removed obsolete member in GridItemDelegate. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
dbf560e1bb * Adapt headers to new BasicHeader API. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
27acb247bc * New design for BasicHeader, soon to be obsolete. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
21fcefb843 * Simplify Dashboard. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
87a43fad9d * Simplify GridItemDelegate using HoverControls widget and adopt new style. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
7c778029cf * Include tint color in ImageRegistry cache-key. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
190d243c50 * Add spacing to GridView and fixed size calculations for non-wrapping views. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
b1a8c326fa * Adapt to new API. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
e5bf26223d * Disable alternating row colors by default. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
7dab3960f3 * Adapt InboxModel to new PlaylistModel API. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
0e807263ae * Support parent nodes in PlaylistModel. 2014-08-15 05:35:28 +02:00
Christian Muehlhaeuser
d8f734d336 * Only try to resolve query items, e.g. ignore parent nodes like sources. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
523357a0a6 * Set opacity on ClickableLabel. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
198b44c03f * Source now returns (even cached) avatars in requested size. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
a306f9a2d4 * ImageRegistry now supports opacity and pixmap tinting. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
1181e18feb * PlayableModel can now handle items as tree-structures. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
e3bab55a26 * Convenience method PlayableModel::indexFromSource. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
a4daf7b4fb * PlayableModel can now hold sources as parents for other items. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
2cb5b203b9 * Coding-style fixes. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
6172183698 * Set a background image in FlexibleTreeView's header. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
f6b9a2e761 * PlayableProxyModel can now hide empty parent nodes when needed. 2014-08-15 05:35:27 +02:00
Christian Muehlhaeuser
564c8ab1a2 * Convenience methods for drawing sources & tracks in PlaylistItemDelegate. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
9d15a899e5 * Support PlayableItems that hold a source_ptr. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
bfc31ddd7b * Changed sidebar background & font. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
8272c795ff * Rename sidebar groups. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
65d8b221d9 * Use TrackItemDelegate instead of PlaylistLargeItemDelegate. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
573fbc8fc4 * PlayableCover can now be used with and without labels & controls. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
e21be6a4c3 * PlaylistLargeItemDelegate is obsolete. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
334229b218 * Fixed JobStatusDelegate's font calculations and made sure it never wraps. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
117c3b06df * Adapt InfoBar to new QueryLabel API. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
9d3e8c6983 * New SeekSlider style. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
ba76aaecd5 * Disable/hide status-bar. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
be0dc901c2 * Disable queue-view in sidebar. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
c561c8a347 * Coding-style fixes to TomahawkWindow. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
f578f64672 * Set Roboto as default app font. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
cc0b14871b * ViewManager's contextual view is no more. 2014-08-15 05:35:26 +02:00
Christian Muehlhaeuser
cb9f1d4ddd * Coding-style fixes. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
08e2113451 * Removed contextual view in ViewManager. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
fbf7727212 * Coding-style for Source. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
02bbdc5d4e * For Qt4 on Windows, we rather have ipv4-only than ipv6-only. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
9e4ef5e380 * Custom blur method included. May be replace by Qt's internal one eventually. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
e416ed604b * Prevent crash in TomahawkUtils::prepareStyleOption. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
23809d6f2f * Use new default images, provided by TomahawkUtils. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
665bbd422d * Thinner looking splitter handle. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
598a871891 * Coding-style for PeerInfo. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
a240d20d8e * Disable 'Trending' page until redesign is finished. 2014-08-15 05:35:25 +02:00
Christian Muehlhaeuser
4038790daa * Added new widgets/ui to libtomahawk's CMakeLists.txt. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
a892662263 * Added new love icon. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
921107f396 * Added HeaderWidget ui. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
8459ec5dda * Added ContextView, a wrapper for playlist and contextual detail view. To replace FlexibleView. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
15e6173e9a * Added HoverControls, a widget used when hovering an item in a GridView. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
cca3c2f6f7 * Added Collection and Playlist header background images. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
e8652e5c31 * Added TrackItemDelegate, to replace the various FoobarDelegates. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
caddca1d31 * Added TrackDetailView, a widget showing contextual information about a track, used e.g. next to playlists. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
4dd11bdd5d * A styled caption-widget for use in pages, e.g. above playlists. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
22a5e87979 * Added BackgroundWidget, a widget that can display a (blurred) background image and thoughtfully reacts to size changes. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
16928602e0 * Simplified QueryLabel. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
318a4c93e3 * New AudioControls design. 2014-08-15 05:35:24 +02:00
Christian Muehlhaeuser
59dbe2905e * Added new AudioControls icons. 2014-08-15 05:35:23 +02:00
Christian Muehlhaeuser
ba6e3c2809 * Added Roboto font. 2014-08-15 05:35:23 +02:00
Christian Muehlhaeuser
a89fb67296 * Declare result_ptr as metatype. 2014-08-15 05:35:23 +02:00
Uwe L. Korn
c86b629c4a Update qxt to latest upstream git revision
Now we are using plain qxt again as all needed local modifications are
merged upstream.
2014-08-10 12:01:20 +01:00
Tomahawk CI
4a20e6f5f9 Automatic merge of Transifex translations 2014-08-05 02:17:17 +02:00
Tomahawk CI
ba9288e325 Automatic merge of Transifex translations 2014-08-01 02:17:32 +02:00
Uwe L. Korn
9caad18c9d Only query configWidget if there is one 2014-07-31 20:30:39 +01:00
Tomahawk CI
eb7f142e83 Automatic merge of Transifex translations 2014-07-31 02:17:19 +02:00
Christian Muehlhaeuser
3425596401 * Don't set a creator for local playlists and workaround 'someone' being set as creator. 2014-07-30 08:59:45 +02:00
Christian Muehlhaeuser
5ee1fb435e * Abort connection only when trying to connect to same host and port. 2014-07-26 16:34:50 +02:00
Tomahawk CI
5d720e6595 Automatic merge of Transifex translations 2014-07-26 02:17:19 +02:00
Christian Muehlhaeuser
768f44cb75 * Remove 'Recently Played' from browse-node. Duplicated by dashboard. 2014-07-25 04:18:36 +02:00
Tomahawk CI
be9fcbc417 Automatic merge of Transifex translations 2014-07-25 02:17:16 +02:00
Christian Muehlhaeuser
443fc5884c Mention notification backends in ChangeLog. 2014-07-24 20:10:06 +02:00
Christian Muehlhaeuser
1bc6558801 * Ship OSX notifications backend. 2014-07-24 19:19:24 +02:00
Christian Muehlhaeuser
aac2726fba * Fixed source translation copyright message. 2014-07-24 03:27:05 +02:00
Tomahawk CI
7dd7eaa731 Automatic merge of Transifex translations 2014-07-24 02:17:18 +02:00
Christian Muehlhaeuser
73344f3cdb * Ship growl backend. 2014-07-24 01:53:34 +02:00
Christian Muehlhaeuser
7c662587d5 Added Snorenotify to README. 2014-07-24 01:20:25 +02:00
Christian Muehlhaeuser
4bf61ebb38 * Typo fail. 2014-07-24 01:15:22 +02:00
Christian Muehlhaeuser
d000aacda3 * Ship snorenotify info-plugin. 2014-07-24 00:56:56 +02:00
Christian Muehlhaeuser
fa1af1073e Merge pull request #245 from TheOneRing/box
dont hide the checkbox on mac
2014-07-24 00:56:44 +02:00
Patrick von Reth
c0e0a3708b dont hide the checkbox on mac 2014-07-24 00:55:15 +02:00
Christian Muehlhaeuser
96b34ae8d5 * Enable snore notification on OSX. 2014-07-23 21:53:44 +02:00
Christian Muehlhaeuser
47985cb000 * Updated gettext version on build machine. 2014-07-23 00:07:45 +02:00
Christian Muehlhaeuser
3a40dd4c93 Updated link to Wiki. 2014-07-23 00:01:07 +02:00
Christian Muehlhaeuser
c68b93fc6c Included libtomahawk_account_hatchet.so in OSX bundles. 2014-07-22 20:24:49 +02:00
Christian Muehlhaeuser
82d608b17b * Try to fix VLC plugin deployment. 2014-07-22 19:56:00 +02:00
Christian Muehlhaeuser
56a28fa99f * Ship VLC-logger on OSX. 2014-07-22 19:28:55 +02:00
Christian Muehlhaeuser
ba7438c196 * Fixed VLC plugin names/paths. 2014-07-22 19:20:35 +02:00
Dominik Schmidt
55525cd7ca Don't mess with CMAKE_BUILD_TYPEs 2014-07-22 14:15:15 +02:00
Tomahawk CI
df1b201c73 Automatic merge of Transifex translations 2014-07-22 02:17:19 +02:00
Christian Muehlhaeuser
265b76ada3 Include whatsnew_0_8.so. 2014-07-21 18:20:48 +02:00
Christian Muehlhaeuser
8aff773d7d Bumped Qt on osx build machine to 4.8.6. 2014-07-21 18:18:20 +02:00
Christian Muehlhaeuser
76407b37e6 Merge pull request #244 from poopsmeow/patch-1
Update Nsis template to cleanly uninstall
2014-07-21 14:40:58 +02:00
poopsmeow
9b1f93dae8 Update Nsis template to cleanly uninstall
adding
 DeleteRegKey HKCR "Software\Tomahawk"
 DeleteRegKey HKCR "Software\TomahawkSpotify"
at line 552 and 553 fixes this
2014-07-21 14:37:04 +02:00
Uwe L. Korn
bd2b0d2f76 Remove ENABLE_HEADLESS completely 2014-07-21 09:30:56 +01:00
Tomahawk CI
3ee8df563f Automatic merge of Transifex translations 2014-07-21 02:17:17 +02:00
Uwe L. Korn
aab5a6c550 Write more Spotify activity to non-debug logs 2014-07-20 17:25:54 +01:00
Uwe L. Korn
e61edf8ef3 Optimise the remaining PNGs 2014-07-20 13:47:04 +01:00
Uwe L. Korn
42bfbbe12b Optimise PNGs 2014-07-20 13:16:05 +01:00
Tomahawk CI
071f3a43a1 Automatic merge of Transifex translations 2014-07-20 02:17:33 +02:00
Uwe L. Korn
0bdd5b6120 On the way to 0.9.0 2014-07-19 21:18:27 +02:00
Uwe L. Korn
eaab9e7b1d Add flat collection to ChangeLog 2014-07-19 21:18:07 +02:00
Uwe L. Korn
0ba7a58bf0 Only set stopped when we really stopped 2014-07-19 19:09:40 +01:00
Uwe L. Korn
12e5062cf5 If the audio has stopped, transfer the AudioEngine state to Stopped too
This needs to be done to handle unpausable tracks correctly in the UI.
2014-07-19 17:01:17 +01:00
Uwe L. Korn
c440f9ede6 Fix warning about unused linker flags 2014-07-19 07:11:53 +01:00
Tomahawk CI
e9442b0622 Automatic merge of Transifex translations 2014-07-19 02:17:17 +02:00
Jason Herskowitz
91c443b840 New eye icon for Whats New 2014-07-18 07:24:49 -04:00
Jason Herskowitz
eb616e9fa4 Remove Bandcamp from screenshot in Whats New 2014-07-18 06:59:17 -04:00
Uwe L. Korn
24bdb799a7 Sort TrackView in ascending order 2014-07-18 10:46:59 +01:00
Uwe L. Korn
6627591d6c Mention scanned file in verbose log 2014-07-18 06:27:10 +01:00
Uwe L. Korn
2a5b90b60a Fix Cover loading in ColumnView 2014-07-18 04:07:05 +01:00
Jason Herskowitz
adf59d7b6d More new Whats New images. Change color of icon. 2014-07-17 22:37:08 -04:00
Jason Herskowitz
b544948c3c Clean up Whats New images and icons 2014-07-17 21:49:40 -04:00
Tomahawk CI
f6373c099f Automatic merge of Transifex translations 2014-07-18 02:17:20 +02:00
Uwe L. Korn
2d5b802ddc Bump version to 0.8.99 2014-07-17 13:47:50 +01:00
Uwe L. Korn
69655c3980 Rewire Collection view buttons 2014-07-17 13:16:33 +01:00
Jason Herskowitz
2ade4277a4 Change collection view grid button to not a grid 2014-07-17 08:04:14 -04:00
Uwe L. Korn
51ea6f99c5 Reuse existing signal 2014-07-17 12:15:31 +01:00
Uwe L. Korn
eb2b7b3f53 Fix TWK-1660 2014-07-17 09:15:40 +01:00
Uwe L. Korn
5935d35930 Merge pull request #243 from TheOneRing/win_slots
As Q_OS_WIN doesn't work with qt4 moc, always define the slots.
2014-07-17 09:56:56 +02:00
Patrick von Reth
0e444590df As Q_OS_WIN doesn't work with qt4 moc always define the slots. 2014-07-17 09:52:41 +02:00
Uwe L. Korn
e145c5e093 Add notice that we do not support scriptcollections in the flat view 2014-07-17 01:45:50 +01:00
Uwe L. Korn
881019fe30 Add loading spinner to flat collection 2014-07-17 01:30:51 +01:00
Tomahawk CI
81b5f5a886 Automatic merge of Transifex translations 2014-07-17 02:17:19 +02:00
Uwe L. Korn
082ab83c7f Merge pull request #242 from tomahawk-player/flat-collection
Flat collection
2014-07-17 02:06:48 +02:00
Uwe L. Korn
e73525f18d The result is independent from the online state of the Collection 2014-07-17 00:59:53 +01:00
Uwe L. Korn
1839b9a881 Disallow re-resolving of DatabaseCollection Tracks 2014-07-17 00:58:50 +01:00
Uwe L. Korn
4576f9a8d5 Only notify about resolver removed event if it actually makes a difference (and the Pipeline is not shutting down) 2014-07-17 00:57:57 +01:00
Uwe L. Korn
e1515336c8 Bundle Qt4XmlPatterns for Win 2014-07-16 12:36:09 +01:00
Uwe L. Korn
4d1decee93 [qt5] Compiletime resolve very often used signals 2014-07-16 09:48:59 +01:00
Uwe L. Korn
c75b4d3b9e Only load used fields 2014-07-16 09:33:21 +01:00
Uwe L. Korn
4e07c96ecd Don't use QRegExp if we can have a built-in function 2014-07-16 09:21:32 +01:00
Uwe L. Korn
351a7596a7 Faster cacheKey 2014-07-16 09:20:51 +01:00
Uwe L. Korn
87ad36e545 Faster Query comparison.
Changed the return value of some functions to a reference. All these
functions return the contents of members, i.e. addresses on the heap.
2014-07-16 08:40:38 +01:00
Uwe L. Korn
d7abf8ec5b Reuse existing Track object 2014-07-16 07:43:50 +01:00
Uwe L. Korn
61381647df Cache Source objects locally 2014-07-16 07:39:59 +01:00
Uwe L. Korn
a5d52405ab Factor out data we read from the sql-query 2014-07-16 07:22:31 +01:00
Uwe L. Korn
61e1638228 Only connect slots if needed 2014-07-16 07:04:47 +01:00
Christian Muehlhaeuser
8214e954db Add flatcollection view 2014-07-16 04:20:01 +01:00
Tomahawk CI
c029291312 Automatic merge of Transifex translations 2014-07-16 02:17:16 +02:00
Uwe L. Korn
2e6a62bfb4 Bundle libidn-11 on Win 2014-07-16 00:11:48 +01:00
Uwe L. Korn
ff380043e9 Bundle QtDeclarative on Win 2014-07-15 23:50:08 +01:00
Uwe L. Korn
d56c717e3b Check for NULL viewpage 2014-07-15 21:13:10 +01:00
Christian Muehlhaeuser
2ed8431ff9 Merge pull request #241 from TheOneRing/disable_notifiy_win
make the checkbox to disable notifications avalible on windows
2014-07-15 09:40:02 +02:00
Patrick von Reth
3fce30e64b make the checkbox to disable notifications avalible on windows 2014-07-15 09:37:49 +02:00
Uwe L. Korn
db09d27723 [whatsnew] Add networking image 2014-07-15 01:35:09 +01:00
Uwe L. Korn
71bc764d2d [whatsnew] Once deleted, never list again in SourcesModel 2014-07-15 01:30:21 +01:00
Tomahawk CI
dee164f34a Automatic merge of Transifex translations 2014-07-15 02:17:22 +02:00
Uwe L. Korn
988127f4dc [win] Bundle gsasl-7 2014-07-14 21:18:24 +01:00
Uwe L. Korn
a47c7bb99e Include not used with Qt5 2014-07-14 19:55:34 +01:00
Uwe L. Korn
93bec146da Make Freedesktop notification Qt5 compatible 2014-07-14 19:49:48 +01:00
Uwe L. Korn
8612ab71b3 Move implementation out of the header 2014-07-14 18:47:52 +01:00
Uwe L. Korn
87991f97e0 Keep misc plugins 2014-07-14 19:34:17 +02:00
Jason Herskowitz
3ac96d288f Update mobile tab in whats new to say that all desktop resolvers work in Andorid 2014-07-14 12:18:48 -04:00
Uwe L. Korn
0175aebb6f Move more logging to verbose level 2014-07-14 02:11:12 +01:00
Tomahawk CI
d60f282cd3 Automatic merge of Transifex translations 2014-07-14 02:17:29 +02:00
Uwe L. Korn
fabbe65461 Let ViewPages decide if they need a PageItem 2014-07-13 19:22:23 +01:00
Uwe L. Korn
479afff627 [whatsnew] Add to menu 2014-07-13 19:21:48 +01:00
Uwe L. Korn
e1413254da [whatsnew] Move icon to main resources 2014-07-13 19:20:20 +01:00
Uwe L. Korn
da7c638f6e Do not crash on NULL viewpage 2014-07-12 01:56:29 +01:00
Tomahawk CI
4cb390edb7 Automatic merge of Transifex translations 2014-07-12 02:17:16 +02:00
Uwe L. Korn
5c1b41ab5d s/Q_WS_/Q_OS_ 2014-07-11 21:31:10 +01:00
Uwe L. Korn
89ba34b9fd [whatsnew] Show What's new on first run with 0.8 2014-07-11 20:54:46 +01:00
Tomahawk CI
550f77207e Automatic merge of Transifex translations 2014-07-11 02:17:18 +02:00
Uwe L. Korn
2fc3e4c001 [whatsnew] Remove wrong and 2014-07-11 00:09:07 +01:00
Uwe L. Korn
08e07b4b2c Merge pull request #237 from tomahawk-player/whatsnew_0_8
"What's new in 0.8?" page
2014-07-11 01:00:54 +02:00
Uwe L. Korn
003ee01f52 [whatsnew] White is the new black 2014-07-10 21:34:50 +01:00
Uwe L. Korn
6c7d459e02 [whatsnew] Add new page logo 2014-07-10 21:32:27 +01:00
Uwe L. Korn
fdd5ad6d96 [whatsnew] Change hatchet link 2014-07-10 21:28:17 +01:00
Uwe L. Korn
78546321e8 [whatsnew] Add Android graphics 2014-07-10 21:26:26 +01:00
Uwe L. Korn
cb55c5c820 [whatsnew] Update Design graphics 2014-07-10 21:11:28 +01:00
Uwe L. Korn
ccde7ead0c [whatsnew] Update networking text 2014-07-10 21:03:17 +01:00
Uwe L. Korn
fb329bc9ea [whatsnew] Add spacers to network page 2014-07-10 21:02:20 +01:00
Uwe L. Korn
300b628398 [whatsnew] Add GMusic images 2014-07-10 20:58:39 +01:00
Uwe L. Korn
d89ae2ae8a [whatsnew] Remove hatchet page 2014-07-10 17:17:53 +01:00
Uwe L. Korn
4802f8692c Merge pull request #240 from TheOneRing/return_fix
Fixed missing return
2014-07-10 18:11:19 +02:00
Uwe L. Korn
48b25d8053 [whatsnews] Add Beats Music image 2014-07-10 17:10:32 +01:00
Patrick von Reth
5f898e4677 Fixed missing return
It seems I have a serious problem with returns...
2014-07-10 18:08:04 +02:00
Uwe L. Korn
6b7a903634 [whatsnew] Add trending screenshot 2014-07-10 13:40:39 +01:00
Uwe L. Korn
8ec5995718 [whatsnew] Style all labels 2014-07-10 13:33:26 +01:00
Uwe L. Korn
76bb4e360d [whatsnew] Add Open URL graphic 2014-07-10 13:28:46 +01:00
Uwe L. Korn
a9954c3e41 [whatsnew] Update OpenURL spelling 2014-07-10 13:28:28 +01:00
Uwe L. Korn
b97f73f6e8 [whatsnew] Set new Open URL pixmap 2014-07-10 13:25:48 +01:00
Uwe L. Korn
963908a0a1 [whatsnew] Add PNGs for Open URL 2014-07-10 13:25:13 +01:00
Uwe L. Korn
82ce17af64 [whatsnews] Align Open URL icon horizontally 2014-07-10 13:24:48 +01:00
Uwe L. Korn
2cb23b0e0d [whatsnew] Don't crop image on the top 2014-07-10 04:08:10 +01:00
Uwe L. Korn
ac47ceaa13 [whatsnew] Only show vertical scrollbar if needed 2014-07-10 04:03:10 +01:00
Uwe L. Korn
c921303545 [whatsnew] Style Inbox page 2014-07-10 04:01:56 +01:00
Uwe L. Korn
62ef7e654d [whatsnew] Add inbox image 2014-07-10 03:54:14 +01:00
Uwe L. Korn
4560256f9d [whatsnews] Add IPv6 text 2014-07-10 03:36:04 +01:00
Uwe L. Korn
fa73bfa1e9 [whatsnew] Add Android text 2014-07-10 03:35:11 +01:00
Uwe L. Korn
dd828a7f0f [whatsnew] Add Design text 2014-07-10 03:34:56 +01:00
Uwe L. Korn
bb26ccc7d8 [whatsnew] Add GMusic text 2014-07-10 03:33:22 +01:00
Uwe L. Korn
5fc4374c77 [whatsnew] Add Beats Music text 2014-07-10 03:32:33 +01:00
Uwe L. Korn
0e1d175d10 [whatsnew] Add Trending text 2014-07-10 03:32:01 +01:00
Uwe L. Korn
511e73fa17 [whatsnew] Add Open URL text 2014-07-10 03:31:41 +01:00
Tomahawk CI
a3aa75790c Automatic merge of Transifex translations 2014-07-10 02:17:37 +02:00
Uwe L. Korn
f2b233f626 Bundle sqlite3-0 on windows 2014-07-09 13:38:52 +01:00
Uwe L. Korn
045ff70af7 Update win-packaged libpng to 16 2014-07-09 13:12:05 +01:00
Uwe L. Korn
79fdb51cd7 [whatsnew] Update inbox text 2014-07-09 13:10:01 +01:00
Uwe L. Korn
151fedaa44 Merge pull request #239 from TheOneRing/win_app_id
install an app id on Windows, to enable Windows 8 notifications without ...
2014-07-09 12:39:27 +02:00
Patrick von Reth
7b30cddf8f include snoretoast.exe 2014-07-09 12:38:28 +02:00
Patrick von Reth
1647ccb473 install an app id on Windows, to enable Windows 8 notifications without the need to install an extra fallback shortcut to the startmenu 2014-07-09 10:39:43 +02:00
Tomahawk CI
0614267c25 Automatic merge of Transifex translations 2014-07-09 02:17:14 +02:00
Dominik Schmidt
8c42522057 Kudos to our most important windows contributor 2014-07-09 00:34:04 +02:00
Uwe L. Korn
07e47713e9 Less ENABLE_HEADLESS 2014-07-08 19:00:57 +01:00
Tomahawk CI
1a56bd7555 Automatic merge of Transifex translations 2014-07-08 02:17:16 +02:00
Uwe L. Korn
6ea84a49a8 Remove dead code 2014-07-07 16:20:20 +01:00
Uwe L. Korn
9fca19d7ca Only ever work on QComboBox if the cast has worked 2014-07-07 16:20:20 +01:00
Uwe L. Korn
ad54e6919d Fix: Called C++ object pointer is null
We already have a != NULL check in the next line, we should use it then.
2014-07-07 16:20:20 +01:00
Uwe L. Korn
1487d5d7f3 Fix: Called C++ object pointer is null
This branch is very unlikely to happen but ensuring non-null
ControlConnection will save us maybe from a very unlikely crash.
2014-07-07 16:20:20 +01:00
Uwe L. Korn
3e71fc7d37 Fix: Result of operation is garbage or undefined 2014-07-07 16:20:20 +01:00
Uwe L. Korn
6011b2c973 Better logging 2014-07-07 16:10:50 +01:00
Uwe L. Korn
5569b4d5a6 [whatsnew] Add pages for Hatchet and Android 2014-07-07 14:07:15 +01:00
Uwe L. Korn
86dd6ca217 Revert Closure fix 2014-07-07 14:07:15 +01:00
Jason Herskowitz
949ba7bf21 Update Whats New text 2014-07-07 14:07:15 +01:00
Uwe L. Korn
56871be058 DRY WhatsNew 2014-07-07 14:07:15 +01:00
Uwe L. Korn
30e63ef947 Shorten title to fit column 2014-07-07 14:07:15 +01:00
Uwe L. Korn
06a84d3d50 Set WhatsNew to deletable 2014-07-07 14:07:15 +01:00
Uwe L. Korn
5db78bc433 Deletable pages should have deletable Items 2014-07-07 14:07:15 +01:00
Uwe L. Korn
67eeeffa0d Set GenericItem type depenending on if a page is deletable 2014-07-07 14:07:15 +01:00
Uwe L. Korn
2a9ef2cad6 TemporaryPage types can be handled without forcing the class 2014-07-07 14:07:15 +01:00
Uwe L. Korn
a50050ce49 Add isDeletable attribute to ViewPage 2014-07-07 14:07:15 +01:00
Uwe L. Korn
2a967b214f Move removeFromList to SourceTreeItem 2014-07-07 14:07:15 +01:00
Uwe L. Korn
db84ab1f7f What's New should be first page 2014-07-07 14:07:15 +01:00
Uwe L. Korn
57a4276e96 Add scrollarea for smaller screen 2014-07-07 14:07:15 +01:00
Uwe L. Korn
de23086be3 Add dummy page contents 2014-07-07 14:07:15 +01:00
Uwe L. Korn
7936fd91f2 Make Tabs functional 2014-07-07 14:07:14 +01:00
Uwe L. Korn
24486a9b3a Tranform Labels to ClickableLabels 2014-07-07 14:07:14 +01:00
Uwe L. Korn
9f923f1ac6 Extract ClickableLabel class 2014-07-07 14:07:14 +01:00
Uwe L. Korn
69e55c4c55 Remove unused includes 2014-07-07 14:07:14 +01:00
Uwe L. Korn
d9887c76d5 Renumber verticalLayout_4 instances 2014-07-07 14:07:14 +01:00
Uwe L. Korn
df63b13adf Colour active button darker too 2014-07-07 14:07:14 +01:00
Uwe L. Korn
83f8424351 Remove spacing above Label text 2014-07-07 14:07:14 +01:00
Uwe L. Korn
2495aea087 More work on the What's new layout 2014-07-07 14:07:14 +01:00
Uwe L. Korn
a9676431b8 Add Design thumbnail placeholder 2014-07-07 14:07:14 +01:00
Uwe L. Korn
ae9958df7c Add IPv6 Thumbnail logo 2014-07-07 14:07:14 +01:00
Uwe L. Korn
d11741d179 Add Beats Music thumbnail 2014-07-07 14:07:14 +01:00
Uwe L. Korn
81a2bf19c8 Add Open URL thumbnail 2014-07-07 14:07:14 +01:00
Uwe L. Korn
89892d949b Style feature buttons 2014-07-07 14:07:14 +01:00
Uwe L. Korn
f1b10c6e75 Add dummy text in InboxFeaturePage 2014-07-07 14:07:13 +01:00
Uwe L. Korn
e4b1e572e1 Add pages for each new feature 2014-07-07 14:07:13 +01:00
Uwe L. Korn
c3158325cb Add TODOs for Logos in What's new 2014-07-07 14:07:13 +01:00
Uwe L. Korn
040d1bd660 Add additional features to What's new 2014-07-07 14:07:13 +01:00
Uwe L. Korn
145ffd9cdf Use meaningful widget names 2014-07-07 14:07:13 +01:00
Uwe L. Korn
f236d65b86 Add Inbox icon to list of new features 2014-07-07 14:07:13 +01:00
Uwe L. Korn
e46b7e5a11 Remove underlying scrollbar 2014-07-07 14:07:13 +01:00
Uwe L. Korn
6c26659030 Add skeleton What's New page 2014-07-07 14:07:13 +01:00
Tomahawk CI
076c65e1f8 Automatic merge of Transifex translations 2014-07-07 02:17:14 +02:00
Uwe L. Korn
dae3ed3f84 Initialise underrun* variables 2014-07-06 17:33:43 +01:00
Uwe L. Korn
b7e6f2678f Generate compact JSON documents 2014-07-06 02:17:49 +01:00
Uwe L. Korn
c52a6634c2 Check if album is already loaded before reloading it 2014-07-05 22:27:34 +01:00
Uwe L. Korn
eab30f2e47 Mark functions that should only be used internally.
JSResolverHelper slots and INVOKABLEs are exported to JavaScript but not
all functions shall be used a resolver. Some of the exported functions
are only meant to be used by Wrappers in tomahawk.js as they cannot
fulfil their task completely in JS and need to callback to Qt for
certain functionality.
2014-07-05 22:16:33 +01:00
Uwe L. Korn
cf65fe2f75 Export WhatsHot plugin 2014-07-03 20:31:23 +01:00
Uwe L. Korn
03a227d662 Add WhatsHot to macdeploy 2014-07-03 20:26:56 +01:00
Tomahawk CI
f53abc646e Automatic merge of Transifex translations 2014-07-03 02:17:19 +02:00
Uwe L. Korn
797a3de2e2 Don't ship "\libsnore\libsnore_backend_trayicon.dll" as it is not used by tomahawk 2014-07-02 12:42:06 +01:00
Uwe L. Korn
ee7bcf4b58 Add GnuTLS in README 2014-07-02 13:09:28 +02:00
Uwe L. Korn
27a0ad69ec Add snore to Windows installer 2014-07-02 11:31:23 +01:00
Uwe L. Korn
ee11f255d7 Merge pull request #207 from TheOneRing/snore-notify
added snorenotification support, this adds growl(on windows and mac), wi...
2014-07-02 12:28:08 +02:00
Uwe L. Korn
9f715e764c Add more GnuTLS dependencies to Windows installer 2014-07-02 02:13:14 +01:00
Uwe L. Korn
99369b550b Add more GnuTLS dependencies to Windows installer 2014-07-02 01:57:33 +01:00
Uwe L. Korn
36190ac667 Add libgmp-10.dll to Windows installer 2014-07-02 01:43:43 +01:00
Uwe L. Korn
044375aec6 Add GnuTLS Dependencies to Win Bundle 2014-07-02 02:21:06 +02:00
Tomahawk CI
5742090699 Automatic merge of Transifex translations 2014-07-02 02:17:20 +02:00
Jason Herskowitz
81e2767731 Update copyright to 2014 2014-07-01 17:03:36 -04:00
Uwe L. Korn
cb178c7c74 Move more calls to the correct thread 2014-07-01 21:41:19 +01:00
Uwe L. Korn
14c5a92ba2 Only start track from the correct thread 2014-07-01 21:28:45 +01:00
Uwe L. Korn
ff89f015cd Pass less references around threads 2014-07-01 21:07:41 +01:00
Uwe L. Korn
52701463cc Call AudioEngine in the correct thread 2014-07-01 17:03:06 +01:00
Tomahawk CI
279177be62 Automatic merge of Transifex translations 2014-07-01 02:17:15 +02:00
Uwe L. Korn
5e5183fc18 Expose accountId to JavaScript 2014-06-30 17:56:58 +01:00
Uwe L. Korn
15965ad2c2 Remove wrong DLLEXPORT 2014-06-30 17:32:22 +01:00
Uwe L. Korn
bffc41c5a3 Delete d_ptr automatically 2014-06-30 17:32:08 +01:00
Uwe L. Korn
dd0672ae82 Never name a variable errno 2014-06-30 17:17:14 +01:00
Uwe L. Korn
1109f0bafb Building a static library, so no exports 2014-06-30 17:10:26 +01:00
Uwe L. Korn
7b78a81be2 Never name a variable errno 2014-06-30 17:10:13 +01:00
Uwe L. Korn
80f70d0f84 Remove trailing semicolon 2014-06-30 16:55:08 +01:00
Uwe L. Korn
2e0cab59ff Better support for play.spotify.com 2014-06-30 16:40:24 +01:00
Uwe L. Korn
5508212635 Answer domme. 2014-06-30 01:48:31 +01:00
Uwe L. Korn
2296ac0f48 Include more locally 2014-06-30 01:48:30 +01:00
Uwe L. Korn
e060ee3832 Fix add_definitions 2014-06-30 01:48:30 +01:00
Tomahawk CI
f4aec47ffe Automatic merge of Transifex translations 2014-06-30 02:17:13 +02:00
Uwe L. Korn
adb3c25bce Remove unused includes 2014-06-29 21:32:55 +01:00
Uwe L. Korn
0fafa771de Cleanup header 2014-06-29 21:27:04 +01:00
Uwe L. Korn
8536ed2622 Move WhatsHot viewpage into its own plugin 2014-06-29 21:23:34 +01:00
Uwe L. Korn
8bc19507b4 Remove trailing semicolons 2014-06-29 21:11:47 +01:00
Uwe L. Korn
72c2841eed Define Qt5 C++11 macros for Qt4 2014-06-29 21:09:02 +01:00
Uwe L. Korn
dc1af29b22 Remove redudant virtual 2014-06-29 21:07:59 +01:00
Uwe L. Korn
35c0aebb7a Less general, more local include 2014-06-29 12:45:32 +01:00
Uwe L. Korn
5470c64555 Less general, more local include 2014-06-29 12:45:15 +01:00
Tomahawk CI
4db779111c Automatic merge of Transifex translations 2014-06-28 02:17:16 +02:00
Uwe L. Korn
3782c24e4a Eliding a name does not change its type 2014-06-27 21:12:13 +01:00
Uwe L. Korn
fe37ee04d3 Shrink artist title in track page 2014-06-27 21:04:16 +01:00
Uwe L. Korn
e2e7bc61c9 [qt-certificate-addon] Build with PIC on Unix systems 2014-06-27 20:21:30 +01:00
Uwe L. Korn
283bcccb8f [qt-certificate-addon] Always return some gnutls_x509_subject_alt_name_t 2014-06-27 20:14:49 +01:00
Uwe L. Korn
1e6aacfc7e Don't access NULL pointers which we are reporting failure on 2014-06-27 17:46:01 +01:00
Uwe L. Korn
2e6b6d354f Merge pull request #236 from tomahawk-player/qt-certificate-addon
Qt certificate addon
2014-06-27 15:51:24 +02:00
Uwe L. Korn
4ff1d25608 [playdar] Store certificate permanently 2014-06-27 14:50:03 +01:00
Uwe L. Korn
a4c7a7fa1c [playdar] Set the correct certificate parameters 2014-06-27 04:50:11 +01:00
Uwe L. Korn
263f5480e2 [qxt] incomingConnection has a different signature 2014-06-27 04:36:10 +01:00
Uwe L. Korn
99fb4f6305 [playdar] Add TLS interface 2014-06-27 04:08:32 +01:00
Uwe L. Korn
c338eea657 Mention new dependency in the ChangeLog 2014-06-27 03:33:16 +01:00
Uwe L. Korn
4256f00e89 Add dependency on GnuTLS 2014-06-27 03:32:44 +01:00
Uwe L. Korn
399fdb74b5 Correct sparsehash description 2014-06-27 03:30:01 +01:00
Uwe L. Korn
7ace0ce70c [playdar] Correct delete scopedpointer content 2014-06-27 03:10:46 +01:00
Uwe L. Korn
41faf4eee7 Add CMakeLists for qt-certificate-addon 2014-06-27 02:27:38 +01:00
Uwe L. Korn
12bd51c3ef Import qt-certificate-addon 2014-06-27 02:17:10 +01:00
Uwe L. Korn
318e50414d Fix TWK-1617 2014-06-27 02:08:21 +01:00
Uwe L. Korn
2c9fefebeb Fix TWK-1573 2014-06-26 01:12:40 +01:00
Uwe L. Korn
675fc4b539 Merge pull request #235 from tomahawk-player/cmake-check-funtional
Check for std::(tr1::)function support
2014-06-24 19:12:08 +02:00
Uwe L. Korn
910cf16541 Silence problems with CMake 2.8.13+/3+ 2014-06-24 17:54:07 +01:00
Uwe L. Korn
fee20553a4 Remove invalid comment 2014-06-24 17:39:51 +01:00
Uwe L. Korn
66147db7a7 Check for std::(tr1::)function support 2014-06-24 17:10:14 +01:00
Tomahawk CI
ab45834a4f Automatic merge of Transifex translations 2014-06-24 02:18:41 +02:00
Uwe L. Korn
4aa2f26fa4 Revert echonest5/ header ifdefs 2014-06-23 15:11:41 +01:00
Patrick von Reth
7de3e27536 added missing return ... 2014-06-22 17:06:36 +02:00
Patrick von Reth
1b85b9c0d6 qt5 support for snore 2014-06-22 17:06:21 +02:00
Patrick von Reth
7c8cd78169 correctly escape newline 2014-06-22 17:06:19 +02:00
Patrick von Reth
2d024af17c codestyle 2014-06-22 17:06:18 +02:00
Patrick von Reth
341bc6c2cf api fix and use the qimage directly instead of loading the tmp file again 2014-06-22 17:06:17 +02:00
Patrick von Reth
a9c2a3d8c8 set desktop-entry in notification hints 2014-06-22 17:06:16 +02:00
Patrick von Reth
217c52cf32 updated snore api 2014-06-22 17:06:15 +02:00
Patrick von Reth
d23a9c4fe2 compile with new snore api 2014-06-22 17:06:14 +02:00
Patrick von Reth
68be28cf81 make sure we have a backend set 2014-06-22 17:06:13 +02:00
Patrick von Reth
e9c478be75 some fixes 2014-06-22 17:06:12 +02:00
Patrick von Reth
cdf13725d1 fixed typo 2014-06-22 17:06:10 +02:00
Patrick von Reth
5c6994ae85 as sugested by Dominik Schmidt remove the copiright header which was probably related to the dbus code 2014-06-22 17:06:09 +02:00
Patrick von Reth
5a6b2ad4ad relicenced find script 2014-06-22 17:06:08 +02:00
Patrick von Reth
25fae63088 more style fixes 2014-06-22 17:06:07 +02:00
Patrick von Reth
501a72d79b style fixes 2014-06-22 17:06:06 +02:00
Patrick von Reth
3f1a5e1c3b added snorenotification support, this adds growl(on windows and mac), windows 8 and snarl nottification support 2014-06-22 17:06:05 +02:00
Tomahawk CI
9989052385 Automatic merge of Transifex translations 2014-06-22 02:17:16 +02:00
Christian Muehlhaeuser
316abefc54 * Support requesting tracks without valid album. 2014-06-21 18:12:30 +02:00
Christian Muehlhaeuser
d7906757ba * Fixed compiler warning. 2014-06-21 18:12:30 +02:00
Tomahawk CI
c31053f76d Automatic merge of Transifex translations 2014-06-21 02:17:14 +02:00
Uwe L. Korn
8ea12252f0 Always return fresh network adresses 2014-06-20 18:07:18 +01:00
Uwe L. Korn
f394b80419 Revert echonest5/ header ifdefs 2014-06-20 18:06:46 +01:00
Uwe L. Korn
5a9c3d39c4 Fix TWK-1395
We now queue DatabaseCommand_SetPlaylistRevision in a playlist-local
queue before we send them to the Database Queue to ensure that only
one DatabaseCommand_SetPlaylistRevision is run per playlist at a time.
2014-06-19 17:02:55 +01:00
Uwe L. Korn
58d0414498 Comment out failing assert until correctly fixed 2014-06-19 15:54:07 +01:00
Uwe L. Korn
cb95f7b27d Fix TWK-1397 2014-06-19 15:18:40 +01:00
Uwe L. Korn
b76e95b29d Correct comment position 2014-06-19 15:04:24 +01:00
Uwe L. Korn
83981426f8 Fix crash on concurrent stat requests 2014-06-19 14:58:33 +01:00
Uwe L. Korn
47c14ce6a1 Fix TWK-1589 2014-06-18 12:32:35 +01:00
Christian Muehlhaeuser
c46c82de97 * Updated README. 2014-06-17 20:20:14 +02:00
Tomahawk CI
391849d6d8 Automatic merge of Transifex translations 2014-06-17 02:17:18 +02:00
Christian Muehlhaeuser
13a3178f70 * Added SourceTreeView::renamePlaylist( playlist_ptr ). 2014-06-16 14:48:44 +02:00
Christian Muehlhaeuser
de77bdb1a6 * Add logging to debug SearchWidget's performance better. 2014-06-16 14:45:39 +02:00
Christian Muehlhaeuser
44ed1d44dd * Use mid color instead of self-calculated text color value in charts delegate. 2014-06-16 14:44:48 +02:00
Christian Muehlhaeuser
d28ff17570 * Fixed infinite loop in SpotifyPlaylistUpdater. 2014-06-16 14:43:08 +02:00
Christian Muehlhaeuser
e9b1624659 * Style fixes. 2014-06-16 14:40:16 +02:00
Tomahawk CI
2fd6188604 Automatic merge of Transifex translations 2014-06-12 02:17:18 +02:00
Uwe L. Korn
c9d1d2fb7a Shorten description if we have remove btn and config wrench 2014-06-11 10:55:09 +01:00
Tomahawk CI
4b11e1923d Automatic merge of Transifex translations 2014-06-11 02:17:15 +02:00
Uwe L. Korn
70e2031f65 Fix QUrl for Qt4 2014-06-10 18:20:04 +01:00
Uwe L. Korn
4bf85cbbaf Place Wrench and Remove button next to eachother 2014-06-10 17:48:33 +01:00
Uwe L. Korn
e5722c9d08 Update README 2014-06-10 16:32:04 +01:00
Uwe L. Korn
2121e45412 Update ChangeLog 2014-06-10 16:31:20 +01:00
Uwe L. Korn
4ed2ff801d Support multiple headers in Cloudstream 2014-06-10 16:30:59 +01:00
Uwe L. Korn
705050aee8 Only call callback if really defined 2014-06-10 16:12:05 +01:00
Uwe L. Korn
e47a0e7405 Use URL as filename 2014-06-10 16:02:24 +01:00
Uwe L. Korn
19f3591de1 Add some more documentation 2014-06-10 16:02:04 +01:00
Uwe L. Korn
fff437d7a3 Add basic metadata scanning for JS Resolvers 2014-06-10 16:01:49 +01:00
Uwe L. Korn
50370f7b53 Import Cloudstream from Clementine 2014-06-09 12:03:13 +01:00
Uwe L. Korn
6516321a86 Add dependency on google-sparsehash 2014-06-09 11:13:30 +01:00
Uwe L. Korn
4a9fac3edc Reformat existing comment into doxygen style 2014-06-07 17:43:00 +01:00
Tomahawk CI
c915a89b00 Automatic merge of Transifex translations 2014-06-06 02:17:12 +02:00
Uwe L. Korn
655e63f261 Do a native (Qt) request if the 'Referer' header was supplied 2014-06-06 00:32:32 +01:00
Uwe L. Korn
4e9a088af4 Remove follow redirects hack
If we really reach a 302 code in (a)syncRequest this is due not being
given a Location header by the server. This is not an expected behaviour
but an actual error state.
2014-06-05 21:54:07 +01:00
Uwe L. Korn
a3f5a6c98d s/Q_WS_MAC/Q_OS_MAC/ 2014-06-05 21:40:51 +01:00
Uwe L. Korn
69530a4dd0 Merge TomahawkSettings and TomahawkSettingsGui 2014-06-05 21:40:33 +01:00
Uwe L. Korn
68a225eeaa Merge TomahawkSetting*::registerCustomSettingsHandlers 2014-06-05 21:23:02 +01:00
Tomahawk CI
01401816c8 Automatic merge of Transifex translations 2014-06-04 02:17:19 +02:00
Uwe L. Korn
328252a0fb Update ChangeLog 2014-06-03 17:14:20 +02:00
Thierry Goeckel
8c86c0196b Prevent another plugin from adding empty tracks. 2014-06-03 17:09:24 +02:00
Uwe L. Korn
0b7449e488 Make Fuzzy Search usable 2014-06-03 16:08:20 +01:00
Uwe L. Korn
b0c23a0740 Add basic JS fuzzy resolve implementations 2014-06-02 23:39:25 +01:00
Uwe L. Korn
216a9f5593 Remove unused variable 2014-06-02 23:39:25 +01:00
Uwe L. Korn
af3352dca3 s/Q_WS_MAC/Q_OS_MAC 2014-06-02 23:39:25 +01:00
Uwe L. Korn
859865e50a Remove ifndef ENABLE_HEADLESS 2014-06-02 23:39:25 +01:00
Uwe L. Korn
607a82c248 Pass accountId to the resolver 2014-06-02 23:39:25 +01:00
Uwe L. Korn
c0b6785bde Follow all the redirects 2014-06-02 23:04:48 +01:00
Uwe L. Korn
a26893339b Update libcrashreporter-qt 2014-06-02 11:35:58 +01:00
Tomahawk CI
68e235ae49 Automatic merge of Transifex translations 2014-06-02 02:17:18 +02:00
Uwe L. Korn
a6c686a057 Decouple FuzzyIndex from DbCmd 2014-06-01 20:07:56 +01:00
Uwe L. Korn
c56d5b90dc Fix crash on misbehaving VA albums 2014-06-01 20:05:36 +01:00
Uwe L. Korn
804b5e7ed8 Fix crash on misbehaving VA albums 2014-06-01 18:55:36 +01:00
Uwe L. Korn
cc873c1199 Deprecate UrlTranslator again.
UrlTranslator and UrlHandler have the same interface but only differed
in the internal implementation. We can distinguish between them
internally, so do it instead of making more interfaces.
2014-06-01 16:14:43 +01:00
Uwe L. Korn
1fd6b1bc21 Use HTML5 base64 functions2 2014-05-31 14:11:47 +01:00
Uwe L. Korn
fc4dd7ce1c Prefer Spotify Webservice over libspotify 2014-05-30 14:46:51 +01:00
Uwe L. Korn
631464e20c Rovi sometimes returns empty tracks, do not add. 2014-05-28 21:01:25 +01:00
Uwe L. Korn
0325ed887a Use QScopedPointer for cleaner code 2014-05-28 17:49:26 +01:00
Uwe L. Korn
a014cadcd2 Result of drag->exec is not used 2014-05-28 17:36:03 +01:00
Uwe L. Korn
c22ebed8e1 Fix comparison between signed and unsigned int 2014-05-28 17:35:36 +01:00
Uwe L. Korn
299c358a87 Remove redudant operations 2014-05-28 17:35:13 +01:00
Uwe L. Korn
e1c850000a Add config.h include to get QCA2_FOUND macro 2014-05-28 17:34:50 +01:00
Uwe L. Korn
69fc54024f Only update to valid Playlist index 2014-05-28 17:34:25 +01:00
Uwe L. Korn
f0ea99fc71 Remove QCA usage in JSResolver 2014-05-28 10:57:29 +01:00
Uwe L. Korn
34ff1d6687 Update ChangeLog 2014-05-28 11:46:17 +02:00
Tomahawk CI
6939ef660a Automatic merge of Transifex translations 2014-05-27 02:17:18 +02:00
Stefan Derkits
fedb562282 Merge pull request #234 from Horrendus/trayicon
only show tray icon if systray is available
2014-05-26 23:06:34 +02:00
Stefan Derkits
97985c9ca2 only show tray icon if systray is available 2014-05-26 23:05:10 +02:00
Uwe L. Korn
4deae94b99 Add documentation for Json wrapper 2014-05-26 10:33:39 +01:00
Tomahawk CI
a2d5414af6 Automatic merge of Transifex translations 2014-05-25 02:17:19 +02:00
Uwe L. Korn
50b20b05e9 Do not wrap NetworkReply in shared pointer, we take care of its deletion separately 2014-05-24 19:17:21 +01:00
Uwe L. Korn
92970c7ecd Merge pull request #233 from tilal6991/master
tomahawk: pass the NetworkReply directly to stop segfaulting
2014-05-24 18:53:27 +02:00
Lalit Maganti
6e63bc72a7 tomahawk: pass the NetworkReply directly to stop segfaulting
* this now means the Google Music resolver works :)
2014-05-24 18:50:07 +01:00
Uwe L. Korn
42b5153a13 Fix signal naming 2014-05-24 17:42:53 +01:00
Uwe L. Korn
ec0d5d6e40 Follow redirects on stream URL 2014-05-24 17:07:13 +01:00
Uwe L. Korn
d32eb8fe1e Do less work in the constructor body 2014-05-24 12:13:59 +01:00
Uwe L. Korn
5e7f3daa5e Fix compilation for Qt4 2014-05-24 12:13:59 +01:00
Tomahawk CI
ee4fa3988e Automatic merge of Transifex translations 2014-05-24 02:17:17 +02:00
Uwe L. Korn
796be81f14 Deprecate old resolver API 2014-05-23 19:12:55 +01:00
Uwe L. Korn
8ed4c3a43f Add parameter to specify additional headers to a streamURL
* Fixes TWK-1623
2014-05-23 16:15:55 +01:00
Uwe L. Korn
3257d2fbd5 Compile kdsingleapplicationguard as separate lib 2014-05-22 15:25:33 +01:00
Uwe L. Korn
fcf57ee535 Only call X11InitThreads on Qt <4.8 2014-05-22 12:47:14 +01:00
Uwe L. Korn
f4f37e5dfc Return QPointer instead of casting around 2014-05-22 01:34:04 +01:00
Tomahawk CI
402ade3322 Automatic merge of Transifex translations 2014-05-22 02:17:17 +02:00
Uwe L. Korn
29b4b26d92 Fix: comparison between signed and unsigned integer 2014-05-21 21:47:48 +01:00
Uwe L. Korn
028b1f738d Remove unused private pointer 2014-05-21 21:31:59 +01:00
Uwe L. Korn
0aa4f63492 Change some log levels 2014-05-21 21:14:53 +01:00
Uwe L. Korn
d55bec53ad Remove some ENABLE_HEADLESS 2014-05-21 21:14:53 +01:00
Uwe L. Korn
fe5a86bad3 Merge pull request #232 from TheOneRing/find-jreen
Fixed the findscript for jreen to work without pkgconf.
2014-05-21 22:14:27 +02:00
Tomahawk CI
b7280e686b Automatic merge of Transifex translations 2014-05-21 02:17:19 +02:00
Stefan Derkits
fc3999d180 HistoryWidget: No longer set the To date when changing From date, no longer allow a To date earlier than From date 2014-05-20 20:05:35 +02:00
Patrick von Reth
41eacbd4f6 real fix for qt4 and qt5 to find libjreen without pkg-config 2014-05-17 13:14:32 +02:00
Patrick von Reth
2bd8db184f Fixed the findscript for jreen to work without pkgconf. 2014-05-17 10:59:25 +02:00
Tomahawk CI
70f4ac24c0 Automatic merge of Transifex translations 2014-05-15 02:17:24 +02:00
Uwe L. Korn
40b42a7742 More verbose Asserts 2014-05-14 22:58:57 +01:00
Tomahawk CI
2d0375a2f0 Automatic merge of Transifex translations 2014-05-12 02:17:15 +02:00
Uwe L. Korn
9b93404d1b Only set resolver name if known 2014-05-11 21:20:57 +01:00
Uwe L. Korn
b06b6a9da3 Store a strong reference to a playlist pointer so it will not be destroyed before the postCommitHook finishes 2014-05-11 20:59:57 +01:00
Tomahawk CI
731f172e46 Automatic merge of Transifex translations 2014-05-09 02:17:16 +02:00
Uwe L. Korn
9a5959e24f Fix TWK-1616 2014-05-08 12:39:23 +01:00
Tomahawk CI
747d25b722 Automatic merge of Transifex translations 2014-05-08 02:17:18 +02:00
Uwe L. Korn
f81be47f48 Qt5 insterts 1s instead of "true" on prepared statements 2014-05-08 00:37:35 +01:00
Uwe L. Korn
499d837c5a Use isNull instead of ! for shared pointer 2014-05-08 00:16:25 +01:00
Uwe L. Korn
da8e2a2126 Make infosystem less verbose 2014-05-07 20:46:14 +01:00
Uwe L. Korn
a937b99c3b Always include shellapi independent of Qt version! 2014-05-07 13:07:34 +01:00
Uwe L. Korn
53471812e4 Do not crash if we could not send a Xmpp message 2014-05-07 12:54:41 +01:00
Tomahawk CI
ef25604c08 Automatic merge of Transifex translations 2014-05-07 02:17:16 +02:00
Alexander Forselius
3b75f4e294 Added tomahawk:// link functionality search 2014-05-06 22:32:50 +01:00
Uwe L. Korn
ad07b285ee Copy shared pointer while passing across threads
* Fixes TWK-1571
2014-05-06 22:07:47 +01:00
Dominik Schmidt
da8204fa7b Merge pull request #227 from TheOneRing/thumb_qt5
Thumb qt5
2014-05-06 20:14:00 +02:00
Uwe L. Korn
870f6d0b5c Jreen is named different for Qt5 2014-05-06 14:13:10 +01:00
Uwe L. Korn
dfa649c6cd Convert QVariantHash to QVariantMap for JSON generation 2014-05-05 12:41:05 +01:00
Uwe L. Korn
101c89d97a Add more ASSERTs to track correct JSON generation 2014-05-05 12:40:39 +01:00
Uwe L. Korn
537dd17b08 Escape \ in JS function call arguments 2014-05-05 12:39:51 +01:00
Uwe L. Korn
74915c7d2b s/Q_WS/Q_OS 2014-05-05 12:04:16 +01:00
Uwe L. Korn
6ba2a9c639 Don't crash if we could not add a font. 2014-05-05 11:40:49 +01:00
Enno Gottschalk
90556ffb1a Fixed versionCompare and atLeastVersion functions in tomahawk.js 2014-05-04 19:16:31 +02:00
Tomahawk CI
fbab2509e0 Automatic merge of Transifex translations 2014-05-03 02:17:12 +02:00
Uwe L. Korn
15476aa552 Bump libcrashreporter-qt 2014-05-03 00:51:45 +01:00
Uwe L. Korn
4c2e396fbe libechonest is suffixed by 5 for Qt5 2014-05-03 00:48:49 +01:00
Uwe L. Korn
e517e46981 Merge pull request #230 from tomahawk-player/qvariantmap_for_qt5
change credentials to QVariantMap instead of QVariantHash
2014-04-29 06:31:58 +02:00
Stefan Derkits
38edecbc0a old setting based credentials werent maps, they were hashes. convert them to maps and save them 2014-04-27 22:15:12 +02:00
Stefan Derkits
ee85c082e3 change credentials to QVariantMap instead of QVariantHash 2014-04-27 20:20:10 +02:00
Stefan Derkits
afccb15e18 check if JsonDocument is null in JsonWrapper 2014-04-27 19:15:30 +02:00
Dominik Schmidt
cbd0f2a5b2 Send more accurate data with crash reports 2014-04-25 02:44:15 +02:00
Tomahawk CI
386cbdc348 Automatic merge of Transifex translations 2014-04-25 02:17:15 +02:00
Dominik Schmidt
2e5ffdce47 Merge pull request #229 from tomahawk-player/breakpad_external
Use libcrashreporter-qt in submodule instead of breakpad in tree
2014-04-25 01:27:19 +02:00
Uwe L. Korn
06879af2aa Change some log importance in the Playdar API 2014-04-23 17:48:16 +01:00
Tomahawk CI
e375db0561 Automatic merge of Transifex translations 2014-04-22 02:17:19 +02:00
Thierry Goeckel
e7527195e8 Fix typo. 2014-04-20 20:13:45 +02:00
Tomahawk CI
f0ccd5553e Automatic merge of Transifex translations 2014-04-19 02:17:21 +02:00
Uwe L. Korn
1f65fcf1d9 Check if a NULL pointer should be converted into a QVariant 2014-04-18 19:22:22 +01:00
Uwe L. Korn
d368f3ee9e Add "Drop QJson for Qt5" to ChangeLog 2014-04-18 15:46:55 +02:00
Dominik Schmidt
0e4c6e2b16 Update submodule 2014-04-18 15:11:43 +02:00
Uwe L. Korn
ffb04781f8 Move JSON Qt4/5 wrapper into its own header 2014-04-18 14:11:24 +01:00
Uwe L. Korn
be88e540d9 If Query is null, return empty VariantMap 2014-04-18 14:10:58 +01:00
Dominik Schmidt
5117980a0e Build crash reporter if submodule is checked out 2014-04-18 13:20:56 +02:00
Dominik Schmidt
161a754d6d Add libcrashreporter-qt as submodule 2014-04-18 11:58:46 +02:00
Dominik Schmidt
5d7ef619e3 Make icon work not only on my machine :-) 2014-04-18 11:47:39 +02:00
Dominik Schmidt
bff092b658 Readd sending log files 2014-04-18 11:38:58 +02:00
Dominik Schmidt
f89e27091e Use external libcrashreporter-qt intead of in-tree breakpad 2014-04-18 10:29:52 +02:00
Tomahawk CI
e2daf8215c Automatic merge of Transifex translations 2014-04-17 02:17:21 +02:00
Tomahawk CI
064dc4635a Automatic merge of Transifex translations 2014-04-16 02:17:18 +02:00
Uwe L. Korn
ac1a4906f8 Merge pull request #208 from lliehu/i18n-fixes
Internationalization fixes to automatic playlist UI
2014-04-16 00:36:01 +02:00
Uwe L. Korn
b3373dbe28 Add missing QStringList include 2014-04-15 20:06:24 +01:00
Uwe L. Korn
86502b10ba Add missing includes 2014-04-15 19:47:54 +01:00
Uwe L. Korn
39af6ce632 Only require QJson for Qt4 2014-04-15 19:23:17 +01:00
Uwe L. Korn
786a9168f5 Remove QJson usage from Hatchet 2014-04-15 19:13:52 +01:00
Uwe L. Korn
a8991f62b8 Add Qt5 variant for qobject2qvariant 2014-04-15 19:08:01 +01:00
Uwe L. Korn
f75d91f6ad Add simple Qt5-based qvariant2qobject variant 2014-04-15 16:47:21 +01:00
Uwe L. Korn
3b617a7380 Remove QJson::Parser usage from Rovi 2014-04-14 17:24:12 +01:00
Uwe L. Korn
fbddbc115b Tests don't use QJson 2014-04-14 17:24:12 +01:00
Uwe L. Korn
cda470b52a Don't link tomahawk against QJson
(only libtomahawk)
2014-04-14 17:24:12 +01:00
Uwe L. Korn
a969fcd597 Remove unused include 2014-04-14 17:24:12 +01:00
Uwe L. Korn
ae728782a9 Remove QJson usage (except QObjectHelper) from infoplugins 2014-04-14 17:24:11 +01:00
Uwe L. Korn
463cfd0d5e Remove QJson usage from Accounts 2014-04-14 17:24:11 +01:00
Uwe L. Korn
cb6651fba9 Remove unused include 2014-04-14 17:24:11 +01:00
Uwe L. Korn
1fcba130eb Remove QJson usage from TomahawkSettings 2014-04-14 17:24:11 +01:00
Uwe L. Korn
2b35ed46ea Remove QJson usage (except QObjectHelper) from Database 2014-04-14 17:24:11 +01:00
Uwe L. Korn
2da5a2f93b Remove QJson usage from Servent 2014-04-14 17:24:11 +01:00
Uwe L. Korn
ef9a20bcc6 Remove QJson usage from Connection 2014-04-14 17:24:11 +01:00
Uwe L. Korn
a41e604f83 Only set ok value if not NULL pointer 2014-04-14 17:24:11 +01:00
Uwe L. Korn
dfd010d495 Remove QJson usage from ScriptResolver 2014-04-14 17:24:11 +01:00
Uwe L. Korn
1d2e172df5 Remove QJson usage from SipInfo 2014-04-14 17:24:11 +01:00
Uwe L. Korn
bfeed9daba Remove QJson usage from ShortLinkHelper 2014-04-14 17:24:11 +01:00
Uwe L. Korn
59b10b725c Add JSON serialization wrapper 2014-04-14 17:24:10 +01:00
Uwe L. Korn
ddf00b5991 Remove QJson usage from Playdar API 2014-04-14 17:24:10 +01:00
Uwe L. Korn
1e2ecc532a Drop QJson usage from Msg 2014-04-14 17:24:10 +01:00
Uwe L. Korn
4e9beb725b Remove QJson usage from Grooveshark Parser 2014-04-14 17:23:58 +01:00
Uwe L. Korn
e1eab8d639 Remove unused include from DropJobNotifier 2014-04-14 17:23:58 +01:00
Uwe L. Korn
56b92e3edd Remove unused include 2014-04-14 17:23:58 +01:00
Uwe L. Korn
6cefab4cc5 Drop QJson usage from SpotifyParser 2014-04-14 17:23:58 +01:00
Uwe L. Korn
da230fc26e Remove QJson usage from iTunes parser 2014-04-14 17:23:58 +01:00
Uwe L. Korn
e90175d054 Remove QJson usage from JSPF loader 2014-04-14 17:23:58 +01:00
Uwe L. Korn
0a0da836a2 Remove unused QJson includes in Playdar API 2014-04-14 17:23:57 +01:00
Uwe L. Korn
842833e041 Remove unused QJson include 2014-04-14 17:23:57 +01:00
Uwe L. Korn
a0798c2308 Use new JSON parser wrapper in ipDetected 2014-04-14 17:23:57 +01:00
Uwe L. Korn
b7bf5b6241 Add wrapper to handle JSON parsing w.r.t. Qt version 2014-04-14 17:23:57 +01:00
Tomahawk CI
3982d5fb65 Automatic merge of Transifex translations 2014-04-12 02:17:17 +02:00
Patrick von Reth
ec926d2c40 indent 2014-04-11 12:22:17 +02:00
Patrick von Reth
47c2000f2f Replace the thumbbar button code in Qt 5.2.0+ with the QWinExtras Code 2014-04-11 12:18:39 +02:00
Tomahawk CI
a35f330688 Automatic merge of Transifex translations 2014-04-08 02:17:21 +02:00
Uwe L. Korn
c793ee092c Use fallback duration on 0 duration too. 2014-04-07 09:01:36 +01:00
Tomahawk CI
48ebb08717 Automatic merge of Transifex translations 2014-04-07 02:17:27 +02:00
Uwe L. Korn
3591262165 Remove unused variables after Twitter removal 2014-04-06 23:29:15 +01:00
Tomahawk CI
44cc4899e1 Automatic merge of Transifex translations 2014-04-06 02:17:18 +02:00
Uwe L. Korn
8d74d51f7b Remove name duplication, fixes #1588 2014-04-05 22:44:01 +01:00
Dominik Schmidt
8bf74bf312 Merge pull request #226 from tomahawk-player/drop-qtweetlib
Drop QTweetLib and deprecated TwitterSIP
2014-04-05 22:26:47 +02:00
Uwe L. Korn
935e07fcf4 Update resultModel less often in Search 2014-04-05 20:22:28 +01:00
Uwe L. Korn
c4ea707ae2 Drop QTweetLib and deprecated TwitterSIP 2014-04-05 18:09:08 +01:00
Uwe L. Korn
9c9e1561a2 Mention resolver who sent a result too late 2014-04-05 17:45:24 +01:00
Tomahawk CI
b5a56ed149 Automatic merge of Transifex translations 2014-04-03 02:17:19 +02:00
Dominik Schmidt
f12f639206 Merge pull request #224 from TheOneRing/qt5-win
Some qt5 fixes for Windows
2014-04-02 22:20:22 +02:00
Jeff Mitchell
ca6adf7922 Silence warning 2014-04-02 12:53:01 -04:00
Uwe L. Korn
70a17eafcf Use Q_ASSERT_X to print error message 2014-04-01 18:16:57 +01:00
Patrick von Reth
6630de66fe fixed WITH_QTSPARKLE option 2014-03-31 18:06:32 +02:00
Patrick von Reth
9556c1693f use append 2014-03-31 18:00:29 +02:00
Patrick von Reth
cbb8b44177 fixed another HWND cast 2014-03-31 17:45:27 +02:00
Patrick von Reth
8573d8fb42 Some qt5 fixes for Windows 2014-03-31 17:45:26 +02:00
Teo Mrnjavac
fb02c08a55 Merge pull request #225 from TheOneRing/Q_WS_WIN_to_Q_OS_WIN
replaced Q_WS_WIN with Q_OS_WIN
2014-03-31 17:32:30 +02:00
Patrick von Reth
910c17ade9 replaced Q_WS_WIN with Q_OS_WIN 2014-03-31 17:30:54 +02:00
Tomahawk CI
1055e416f8 Automatic merge of Transifex translations 2014-03-31 02:17:20 +02:00
Jeff Mitchell
028470aa22 Fix warnings and potential issues caused by incorrect header guard 2014-03-28 21:53:21 -04:00
Jeff Mitchell
0f4b12f156 Remove some old cruft and start getting things ready for Kiva 2014-03-27 13:55:25 -04:00
Tomahawk CI
9617ef84fe Automatic merge of Transifex translations 2014-03-27 01:16:53 +01:00
Uwe L. Korn
70085e97f5 Remove unused cryptojs-sha1.js 2014-03-26 22:00:17 +00:00
Leo Franchi
ded7684227 Include qjson headers in playdarapi compilation 2014-03-25 19:15:31 -04:00
Teo Mrnjavac
cf075a6d1a Merge pull request #223 from krf/arm-fixes
Compile fix for ARM
2014-03-25 16:22:08 +01:00
Kevin Funk
ba53961f1b Compile fix for ARM 2014-03-25 16:14:23 +01:00
Tomahawk CI
ee50eccc14 Automatic merge of Transifex translations 2014-03-21 01:16:49 +01:00
Uwe L. Korn
c2961edc12 Make TAGLIB #if checks backwards compatible 2014-03-20 19:37:57 +00:00
Uwe L. Korn
98656205df Link to KF5::Attica with Qt5
* There is no CMake varibale for libattica's libs anymore.
2014-03-20 19:30:26 +00:00
Uwe L. Korn
a03bbfc891 Fix qt5keychain includes 2014-03-20 19:25:31 +00:00
Christian Muehlhaeuser
15cb87048a Merge pull request #221 from tomahawk-player/hatchet-qt5-qurl
Handle QUrls in Hatchet unified for Qt4+5
2014-03-15 01:24:57 +01:00
Uwe L. Korn
b96ebfc2ba Make QUrl command compatibale with Qt5 2014-03-14 12:04:46 +00:00
Uwe L. Korn
f5de7e0a3f Add method to get encodedQuery independent of Qt version 2014-03-14 12:04:46 +00:00
Jeff Mitchell
8c414d7588 Adapt to new logging behavior of websocketpp 2014-03-14 07:29:26 -04:00
Tomahawk CI
c912b76c49 Automatic merge of Transifex translations 2014-03-14 01:16:41 +01:00
Teo Mrnjavac
039490966a Merge pull request #222 from shadeslayer/master
Fix path detection for plugin
2014-03-13 19:31:31 +01:00
Rohan Garg
b80e9b1dd3 Fix path detection for plugins 2014-03-13 19:23:24 +01:00
Uwe L. Korn
043867413f Add urlTranslator and always pass result AND url to all handlers/factories 2014-03-13 12:53:14 +00:00
Uwe L. Korn
596794da57 Move IOFactories out of Servent 2014-03-13 02:15:13 +00:00
Uwe L. Korn
f773653c3f Show correct method in asyncRequest 2014-03-12 22:58:30 +00:00
Dominik Schmidt
1ae88f6e04 Don't export non-library classes 2014-03-12 19:21:15 +01:00
Jeff Mitchell
6b0a8039a5 Force websocketpp to use no threading 2014-03-12 14:17:51 -04:00
Uwe L. Korn
b6bad91427 Add rtmp support to ChangeLog 2014-03-09 11:09:28 +01:00
Uwe L. Korn
dbef9071eb Add Opus support
* requires TagLib 1.9
2014-03-09 10:06:15 +00:00
Tomahawk CI
3e53fa3f26 Automatic merge of Transifex translations 2014-03-09 01:16:43 +01:00
Uwe L. Korn
8ca2c24597 Whitelist rtmp:// to passed as plain URL to Phonon 2014-03-08 01:44:07 +00:00
Tomahawk CI
faec1b6f03 Automatic merge of Transifex translations 2014-03-08 01:16:43 +01:00
Uwe L. Korn
bd8ae956d5 Add method to return the current volume 2014-03-07 14:08:50 +00:00
Tomahawk CI
6579007791 Automatic merge of Transifex translations 2014-03-07 01:16:42 +01:00
Tomahawk CI
4a4fc6d242 Automatic merge of Transifex translations 2014-03-06 01:16:45 +01:00
Uwe L. Korn
375f9f90d8 Initialise QCA before QCoreApplication
* Fixes segfaults with QCA head on randomInt()
2014-03-05 17:26:43 +00:00
Jeff Mitchell
73f4747028 Fix up nonce expectations 2014-03-01 08:39:15 -05:00
Jeff Mitchell
ae9fd7bb0f Comment out pubkey bits 2014-03-01 08:34:42 -05:00
Jeff Mitchell
f931c1d9a8 Remove nonce bits for now 2014-03-01 08:27:52 -05:00
Uwe L. Korn
6954e942f8 TELEPATHY_QT*_FOUND depends on Qt version 2014-02-26 10:44:27 +00:00
Dominik Schmidt
a686d1f1d3 Updated mingw32-libssl on build host 2014-02-26 01:31:36 +01:00
Tomahawk CI
69cbb0e2d3 Automatic merge of Transifex translations 2014-02-23 01:16:14 +01:00
Tomahawk CI
36e6c4e0b2 Automatic merge of Transifex translations 2014-02-22 01:16:16 +01:00
Tomahawk CI
51efe75e0c Automatic merge of Transifex translations 2014-02-20 01:16:13 +01:00
Uwe L. Korn
3a9bdf1a1d MPRIS and AudioEngine are in different threads 2014-02-15 23:22:11 +00:00
Stefan Derkits
085ad8ee92 typo in EchonestGenerator 2014-02-14 20:55:45 +01:00
Stefan Derkits
8fa093a2e3 bump echonest dependency, update README 2014-02-14 19:54:13 +01:00
Uwe L. Korn
e17b0f88a9 Return valid JSON response in the API 2014-02-10 23:50:43 +00:00
Tomahawk CI
2a1963a701 Automatic merge of Transifex translations 2014-02-08 01:16:15 +01:00
Tomahawk CI
b1497b4ddd Automatic merge of Transifex translations 2014-02-07 01:16:16 +01:00
Tomahawk CI
053c4bf1a5 Automatic merge of Transifex translations 2014-02-06 01:16:17 +01:00
Tomahawk CI
8b3330bb21 Automatic merge of Transifex translations 2014-02-05 01:16:18 +01:00
Tomahawk CI
359fa5befc Automatic merge of Transifex translations 2014-02-04 01:16:15 +01:00
Tomahawk CI
2f0c0640e8 Automatic merge of Transifex translations 2014-02-03 01:16:19 +01:00
Tomahawk CI
99a27841de Automatic merge of Transifex translations 2014-02-02 01:16:17 +01:00
Tomahawk CI
23c4ea867f Automatic merge of Transifex translations 2014-02-01 01:16:10 +01:00
Uwe L. Korn
f0e7a8bd41 Add remote control API to ChangeLog 2014-02-01 00:49:08 +01:00
Uwe L. Korn
3b1728db5f Add setting to let playdar/remote api listen on all IPs 2014-01-31 23:46:34 +00:00
Uwe L. Korn
237ea85369 Add a very basic remote control page 2014-01-31 20:36:16 +00:00
Uwe L. Korn
80a59ad4be Fix now (not) playing JSON 2014-01-31 20:36:04 +00:00
Uwe L. Korn
36206e8006 Fix indentation 2014-01-31 19:52:57 +00:00
Uwe L. Korn
efbc9a27f9 Add now playing api call 2014-01-31 19:49:26 +00:00
Uwe L. Korn
487e78fffd Only clear currentPeerInfo *after* auth 2014-01-31 19:25:42 +00:00
Uwe L. Korn
dad902523e Fix Wreorder warning 2014-01-31 19:16:23 +00:00
Uwe L. Korn
798b83cbe5 Expot dbid to JSResolvers 2014-01-31 02:46:22 +00:00
Tomahawk CI
07be65b09f Automatic merge of Transifex translations 2014-01-31 01:16:39 +01:00
Uwe L. Korn
f67ce789f2 Less races in Servent::controlConnections 2014-01-30 23:26:24 +00:00
Uwe L. Korn
19434a492c Add debug output to diagnose authFailed crashes. 2014-01-30 22:58:28 +00:00
Uwe L. Korn
0f175bcc37 Merge pull request #220 from tomahawk-player/webapi-1.5
Add basic remote control API
2014-01-29 02:51:58 -08:00
Uwe L. Korn
e609c83fb1 Add Access-Control-Allow-Origin header 2014-01-28 23:27:08 +00:00
Uwe L. Korn
b385722d31 Add remote controlling of playback 2014-01-28 22:40:48 +00:00
Uwe L. Korn
fb86d72c41 Add sendJsonOk 2014-01-28 22:40:02 +00:00
Uwe L. Korn
c87f0c47cd Add sendJsonError 2014-01-28 22:39:53 +00:00
Uwe L. Korn
fcc857a734 Allow multiple arguments in API 1.5 call 2014-01-28 22:39:27 +00:00
Uwe L. Korn
062a09ccd7 Add (web) API 1.5 skeleton 2014-01-28 21:38:00 +00:00
Tomahawk CI
7569dec069 Automatic merge of Transifex translations 2014-01-28 01:16:15 +01:00
Uwe L. Korn
863462cce0 Only reconnect if we have any retries left. 2014-01-27 14:53:37 +00:00
Tomahawk CI
d91fb818fd Automatic merge of Transifex translations 2014-01-27 01:16:14 +01:00
Uwe L. Korn
1168bae192 Remove hardcoded rdio UrlLookup 2014-01-26 15:52:37 +00:00
Uwe L. Korn
282b01092c Send POST body on asyncRequest 2014-01-26 15:52:36 +00:00
Uwe L. Korn
dce99fef75 Update loading of CryptoJS 2014-01-26 15:52:36 +00:00
Uwe L. Korn
781f773e1d Add whole CryptoJS instead of only one part. 2014-01-26 15:52:36 +00:00
Christian Muehlhaeuser
f7b75bbf25 * Twitter plugin is no more. 2014-01-25 02:04:22 +01:00
Christian Muehlhaeuser
10e08a804c * Attempt to fix more VLC plugins. 2014-01-25 02:03:11 +01:00
Christian Muehlhaeuser
bdb77b054c * Attempt to fix VLC plugins. 2014-01-25 02:00:31 +01:00
Christian Muehlhaeuser
ce6718ccb1 * Updated macdeploy. 2014-01-25 01:15:00 +01:00
Tomahawk CI
acfbfd384f Automatic merge of Transifex translations 2014-01-21 01:15:20 +01:00
Teo Mrnjavac
5d77da374d Remove unused biography widget from AlbumInfoWidget 2014-01-20 17:51:33 +01:00
Teo Mrnjavac
1a78864cac Use ScrollingLabel in the other info widgets as well 2014-01-20 15:39:55 +01:00
Teo Mrnjavac
a4e5f9ea71 Proper spacing in ColumnViewPreviewWidget 2014-01-20 14:44:54 +01:00
Teo Mrnjavac
9b66999263 Actually take advantage of ScrollingLabel in TrackInfoWidget 2014-01-20 14:44:54 +01:00
Teo Mrnjavac
525806f77a Use QLabel's indent in ScrollingLabel 2014-01-20 14:44:54 +01:00
Teo Mrnjavac
34e1435b48 Make ScrollingLabel an actual label, respect alignment, and use in TrackInfoWidget. 2014-01-20 14:44:54 +01:00
Tomahawk CI
2e34d64218 Automatic merge of Transifex translations 2014-01-18 01:15:18 +01:00
Uwe L. Korn
e04c46288c Revert "Probably make compile on Qt5"
This reverts commit 103b90c62c.
2014-01-17 19:37:30 +00:00
Teo Mrnjavac
103b90c62c Probably make compile on Qt5 2014-01-17 20:10:37 +01:00
Uwe L. Korn
8a48ef0c41 Use KF5Attica instead of LibAttica for Qt5 2014-01-17 19:02:52 +00:00
Teo Mrnjavac
9139708980 Provide a splash screen without transparency if there's no compositing. 2014-01-17 18:50:14 +01:00
Teo Mrnjavac
d8aa1d85d2 Fix build 2014-01-17 18:44:24 +01:00
Jason Herskowitz
c70949f7de Add a backup splash screen without unrounded corners if we detect there's no compositing 2014-01-17 12:39:04 -05:00
Teo Mrnjavac
0417b446ef Draw info pixmap in the cover position on hover in TreeItemDelegate 2014-01-17 17:24:01 +01:00
Tomahawk CI
d46670167e Automatic merge of Transifex translations 2014-01-17 01:16:28 +01:00
Jeff Mitchell
1e178ec5bc Update Hatchet account type to current protocol workflow. 2014-01-16 17:59:26 -05:00
Teo Mrnjavac
37ec3466ab Moved SocialWidget to src/tomahawk/widgets 2014-01-16 18:14:44 +01:00
Teo Mrnjavac
09c4d71382 Moved a bunch of dialogs to src/tomahawk/dialogs 2014-01-16 18:02:43 +01:00
Teo Mrnjavac
a2a67ae1cf Moved static port forward settings to separate dialog. 2014-01-16 17:42:30 +01:00
Teo Mrnjavac
b05c043374 Revert failed OSX focus fix attempt. Much shame. Perform Seppuku. 2014-01-16 16:01:41 +01:00
Teo Mrnjavac
1fae5eddda Second attempt to fix OSX SettingsDialog focus. 2014-01-16 15:41:43 +01:00
Teo Mrnjavac
7993934a69 Comment. 2014-01-16 11:04:57 +01:00
Teo Mrnjavac
47f00b4a30 Try to fix the OSX SettingsDialog focus issue. 2014-01-16 10:29:43 +01:00
Tomahawk CI
07e8e356c3 Automatic merge of Transifex translations 2014-01-16 01:15:21 +01:00
Teo Mrnjavac
2d5ae48524 Proper splash screen support for database schema upgrade. 2014-01-15 17:12:59 +01:00
Teo Mrnjavac
fbed11a93d Added Splash widget support. 2014-01-15 16:00:51 +01:00
Tomahawk CI
bfcb60bd2a Automatic merge of Transifex translations 2014-01-14 01:15:18 +01:00
Teo Mrnjavac
d24807bd71 Properly manage additional questions in SourceTreePopupWidget. 2014-01-13 18:54:23 +01:00
Teo Mrnjavac
f81cf2c517 Paint the artist gray in Short-style TrackViews. 2014-01-13 15:37:51 +01:00
Tomahawk CI
1ed7c8c962 Automatic merge of Transifex translations 2014-01-11 01:15:18 +01:00
Teo Mrnjavac
4890f69329 Remember FlexibleTreeView mode choice for all Collection views. 2014-01-10 17:47:02 +01:00
Tomahawk CI
354c2d5bfb Automatic merge of Transifex translations 2014-01-10 01:15:17 +01:00
Teo Mrnjavac
cb15b6cf01 Fix non-Windows build. 2014-01-09 18:20:32 +01:00
Teo Mrnjavac
abdf5ba1ac Fix scrolling the ColumnView to the PreviewWidget on first try. 2014-01-09 18:02:29 +01:00
Teo Mrnjavac
adcca37376 And don't stretch it either more than necessary. 2014-01-09 18:02:29 +01:00
Teo Mrnjavac
c7318649f3 Do not elide artist name when there's enough space. 2014-01-09 18:02:29 +01:00
Teo Mrnjavac
6a6a911c1d Merge pull request #219 from TheOneRing/no-thumb-test
No thumb test
2014-01-09 01:35:24 -08:00
Patrick von Reth
6a1c629899 fixed aditional #endif 2014-01-09 10:10:46 +01:00
Patrick von Reth
2df438d498 removed broken test for THUMBBUTTON, as this would only be an issue on very old mingw versions 2014-01-09 10:01:28 +01:00
Tomahawk CI
f171baff6a Automatic merge of Transifex translations 2014-01-09 01:15:21 +01:00
Teo Mrnjavac
53dd0848a6 Don't stretch the artist label too much. 2014-01-08 18:01:37 +01:00
Teo Mrnjavac
c86b5ab74e Added a ScrollingLabel that scrolls on hover when the text doesn't fit. 2014-01-08 18:01:37 +01:00
Teo Mrnjavac
3299dc14d6 Use DpiScaler for a fixed column width. 2014-01-08 18:01:37 +01:00
Teo Mrnjavac
903bd0ee4b Unnecessary inline is unnecessary. 2014-01-08 18:01:37 +01:00
Teo Mrnjavac
b4ad00fe2c Unnecessary hack is unnecessary. 2014-01-08 18:01:36 +01:00
Tomahawk CI
7b854ee009 Automatic merge of Transifex translations 2014-01-03 01:15:21 +01:00
Teo Mrnjavac
0e6cda9b83 Fix ColumnViewPreviewWidget minimum height on Mac. 2014-01-02 15:03:39 +01:00
Teo Mrnjavac
82605afb5e What happens if we never scroll the ColumnViewPreviewWidget? 2014-01-02 14:08:41 +01:00
Teo Mrnjavac
8bbc7ce607 Fix build on Mac. 2014-01-02 13:05:25 +01:00
Teo Mrnjavac
42a298f7e0 Show Artist page from ColumnViewPreviewWidget. 2014-01-02 12:47:11 +01:00
Teo Mrnjavac
a7947a7fcf Remake ColumnViewPreviewWidget without uic. 2014-01-02 12:35:03 +01:00
Teo Mrnjavac
a10401230d Fixed enqueuing of urls without metadata. 2013-12-20 09:27:19 +01:00
Teo Mrnjavac
6832d3c952 Fix XSPF loading breakage.
Incoming result hints are now passed through ResultUrlChecker.
2013-12-20 08:57:44 +01:00
Teo Mrnjavac
c18d8568c7 If a tomahawk link has a xspf, be sure to load it from GAM. 2013-12-19 17:39:57 +01:00
Teo Mrnjavac
60d6ec3789 Add support for tomahawk://love links. 2013-12-19 13:26:49 +01:00
Teo Mrnjavac
3bbcefe56e Correct emptyTip for collection views. 2013-12-17 16:59:12 +01:00
Teo Mrnjavac
9a6b74a749 Disable QtKeychain on OSX. 2013-12-12 17:51:10 +01:00
Jeff Mitchell
1adefb3e5d Fix some mandella API changes 2013-12-10 16:06:00 -05:00
Teo Mrnjavac
aff4e329c1 Make compile 2013-12-09 17:11:08 +01:00
Tomahawk CI
c1f11b4816 Automatic merge of Transifex translations 2013-12-07 01:15:21 +01:00
Teo Mrnjavac
d393b68516 Good guy CI made me realize we probably don't want scaling on OSX anyway. 2013-12-06 20:11:50 +01:00
Teo Mrnjavac
7c13aeca6d Fix column view preview widget on high DPI and/or big system font sizes. 2013-12-06 19:31:05 +01:00
Christian Muehlhaeuser
da85993000 Merge pull request #218 from TheOneRing/fix-thumb-test
fix test for HAVE_THUMBBUTTON
2013-12-06 02:50:23 -08:00
Patrick von Reth
691676a2db fix test for HAVE_THUMBBUTTON 2013-12-05 20:28:38 +01:00
Uwe L. Korn
ce92f2869b Use Qt5Keychain when building with Qt5 2013-12-04 19:11:38 +00:00
Teo Mrnjavac
8cc2c69e9c Fix include guard. 2013-12-04 15:01:11 +01:00
Tomahawk CI
3960736743 Automatic merge of Transifex translations 2013-11-18 01:15:20 +01:00
Teo Mrnjavac
c82dd55154 Always show QtKeychain error code. 2013-11-14 16:44:30 +01:00
Teo Mrnjavac
3c33191511 Unbump QtKeychain to 0.1.0 2013-10-23 16:59:00 +02:00
Teo Mrnjavac
9476a06f3d Don't crash when getting an invalid dbcmd. 2013-10-23 16:29:44 +02:00
Tomahawk CI
dda1ad8c77 Automatic merge of Transifex translations 2013-10-23 02:15:18 +02:00
Jeff Mitchell
0682b82199 Apparently cmake policies are not forward-compatible (facepalm) so only set them on versions that understand them 2013-10-22 11:16:15 -04:00
Jeff Mitchell
de1bb8ede7 Update for CMake policies 0022 and 0023 (0023 needs revisiting when we
can depend on 2.8.12).
2013-10-22 10:53:44 -04:00
Christian Muehlhaeuser
99d2199736 * Get rid of fugly state-queue handling in AudioEngine. 2013-10-22 10:46:58 +02:00
Tomahawk CI
bd3cce5658 Automatic merge of Transifex translations 2013-10-22 02:15:18 +02:00
Christian Muehlhaeuser
381f23013d * Whitelist more staticdata. 2013-10-21 17:13:50 +02:00
Christian Muehlhaeuser
a0b0d701c3 * Removed dupe auth logo. 2013-10-21 17:13:30 +02:00
Christian Muehlhaeuser
82f49bcbc0 * Cleaned up & fixed auth page html. 2013-10-21 17:13:09 +02:00
Jason Herskowitz
0bff3d027f Add ie9 shim and use local logo 2013-10-21 10:41:35 -04:00
Jason Herskowitz
28acdb0ee5 Style auth page 2013-10-21 10:34:02 -04:00
Christian Muehlhaeuser
f85c188298 *Api_v1 serves static files as requested when whitelisted. 2013-10-21 15:22:33 +02:00
Christian Muehlhaeuser
61ba1c979e * Renamed data/www/tomahawk_banner_small.png to tomahawk_auth_logo.png. 2013-10-21 15:22:33 +02:00
Jason Herskowitz
3484534123 Updated playdar auth page with new template - but will be broken until new site is live 2013-10-20 22:11:40 -04:00
Tomahawk CI
dec2ea849d Automatic merge of Transifex translations 2013-10-21 02:15:23 +02:00
Tomahawk CI
5acf857396 Automatic merge of Transifex translations 2013-10-20 02:15:19 +02:00
Teo Mrnjavac
849917cb00 Play with small text shade in PlaylistLargeItemDelegate 2013-10-19 15:29:03 +02:00
Tomahawk CI
437ea1fc5a Automatic merge of Transifex translations 2013-10-12 02:15:21 +02:00
Tomahawk CI
5cad41b377 Automatic merge of Transifex translations 2013-10-07 02:17:10 +02:00
Christian Muehlhaeuser
fd6f2940d3 * Use brighter color for artist names in PlaylistLargeItemDelegate. 2013-10-06 07:31:36 +02:00
Christian Muehlhaeuser
97e202a24e * Changed display order from 'Artist - Track' to 'Track - Artist' to be more consistent. 2013-10-06 07:09:38 +02:00
Christian Muehlhaeuser
327a9136fb * Fixed QueueView's context menu not working. 2013-10-06 05:31:19 +02:00
Tomahawk CI
4db6d33d16 Automatic merge of Transifex translations 2013-10-06 02:17:07 +02:00
Tomahawk CI
a70f64f4f5 Automatic merge of Transifex translations 2013-10-05 02:17:21 +02:00
Tomahawk CI
230ce3eca7 Automatic merge of Transifex translations 2013-10-01 02:17:12 +02:00
Teo Mrnjavac
a471c5c6e6 Added tooltips to avatars in delegate boxes 2013-09-30 13:00:11 +02:00
Tomahawk CI
d0d285fcbd Automatic merge of Transifex translations 2013-09-30 02:17:10 +02:00
Tomahawk CI
bac8824ed3 Automatic merge of Transifex translations 2013-09-29 02:17:21 +02:00
Jeff Mitchell
7aeda82761 sipPlugin() calls to most sips would automatically create if it did not already exist. But when shutting down and trying to disconnect a plugin, you don't want it constructing as you're shutting things down...it leads to crashes. Based on some of the code I looked at/touched, this will also fix a few places where sips were being connected when unexpected, like after changing some settings. 2013-09-28 15:49:46 -04:00
Tomahawk CI
921a8e445f Automatic merge of Transifex translations 2013-09-28 02:21:46 +02:00
Teo Mrnjavac
ab676a18ff Show times in Latest Additions view, and make Recently Played safer 2013-09-27 14:33:18 +02:00
Teo Mrnjavac
a0edbf1858 Don't require text to be set for GenericBox 2013-09-27 14:22:36 +02:00
Teo Mrnjavac
40ff72d9e2 More code deduplication between LoveBox and GenericBox 2013-09-27 14:10:18 +02:00
Teo Mrnjavac
bc7d39c172 Return type gets its own line 2013-09-27 12:55:53 +02:00
Teo Mrnjavac
7e598a5aba Redundant code is redundant. 2013-09-27 12:55:21 +02:00
Teo Mrnjavac
6242b1633f Added RecentBox for recently played tracks view. TODO: DRY 2013-09-27 11:08:23 +02:00
Tomahawk CI
cdea0550b2 Automatic merge of Transifex translations 2013-09-27 02:17:15 +02:00
Teo Mrnjavac
2ad402f3de Put text left of pixmaps in SentBox 2013-09-26 20:01:48 +02:00
Teo Mrnjavac
f539551068 Add SentBox (like LoveBox) to Inbox 2013-09-26 14:54:47 +02:00
Teo Mrnjavac
0bbbf624e8 More debug spam for Keychain. 2013-09-26 11:01:27 +02:00
Teo Mrnjavac
f1d9598e5e Obsolete include is obsolete. 2013-09-26 10:43:26 +02:00
Tomahawk CI
2fe351efc3 Automatic merge of Transifex translations 2013-09-24 02:17:18 +02:00
Teo Mrnjavac
7b7850bcb5 -_-' 2013-09-23 17:52:11 +02:00
Teo Mrnjavac
97692a1a13 Unbreak build. 2013-09-23 17:46:45 +02:00
Jeff Mitchell
02386935ad Revert/fix hatchet/websocket logging 2013-09-23 11:45:20 -04:00
Teo Mrnjavac
bc1ebfa89b Debug spam for OSX keychain. 2013-09-23 17:32:48 +02:00
Uwe L. Korn
2b53a5a212 Merge pull request #215 from arthurtiteica/master
Enabled the Romanian translation
2013-09-23 03:52:08 -07:00
Arthur Țițeică
2c064d38f3 Romanian translation - the desktop and the qrc files 2013-09-23 08:35:30 +03:00
Arthur Țițeică
de107a46e6 Enabled the Romanian translation 2013-09-23 08:00:27 +03:00
Tomahawk CI
ba846924a3 Automatic merge of Transifex translations 2013-09-23 02:17:09 +02:00
Tomahawk CI
88a6fb9000 Automatic merge of Transifex translations 2013-09-22 02:17:12 +02:00
Uwe L. Korn
16ffb4f1eb Add newer annotation name 2013-09-21 13:48:21 +02:00
Uwe L. Korn
3886adbda3 Do cmake-options the right way 2013-09-21 13:46:18 +02:00
Uwe L. Korn
342b06067c verbose WebSocket should only be verbose if we want verbose 2013-09-21 00:13:04 +02:00
Uwe L. Korn
a36672a3b1 Add missing metadata so that Hatchet is shown in the Diagnostics dialog 2013-09-21 00:12:45 +02:00
Uwe L. Korn
36c34a49ed Read full hatchet response before passing it to QJson 2013-09-20 15:57:10 +02:00
Uwe L. Korn
4ceb94fd8f Let Hatchet be bit more silent on non-verbose startup 2013-09-20 15:54:54 +02:00
Uwe L. Korn
abbc6eefc3 We have introduced a third valid state but did not add the check for it. 2013-09-18 19:31:21 +02:00
Uwe L. Korn
16c5bbee85 Don't log after final unloading has begun 2013-09-17 10:26:22 +02:00
Tomahawk CI
28fcb8561f Automatic merge of Transifex translations 2013-09-17 02:17:12 +02:00
Uwe L. Korn
361e960c0b Only handle https by ourselves, delay http until we have faster seeking 2013-09-16 23:35:17 +02:00
Uwe L. Korn
8f8736c965 Let Phonon delete QNR_IODeviceStream but do all QIODevices still by ourselves 2013-09-16 22:54:28 +02:00
Tomahawk CI
d99d12ad73 Automatic merge of Transifex translations 2013-09-15 02:17:12 +02:00
Tomahawk CI
20dd2984fd Automatic merge of Transifex translations 2013-09-14 02:17:13 +02:00
Teo Mrnjavac
d5231aeabe Yup, completely Tomahawk 2013-09-13 13:50:25 +02:00
Teo Mrnjavac
9a57492d61 Tomahawk is not Tomabawk nor Clementine 2013-09-13 13:48:11 +02:00
Teo Mrnjavac
0c41b46d0c Merge pull request #214 from tomahawk-player/osx-keychain-stop-nagging
Make OSX Keychain nag less
2013-09-12 13:15:58 -07:00
Teo Mrnjavac
0bf97130f6 Useless #ifdef is useless 2013-09-12 14:03:37 +02:00
Teo Mrnjavac
c0b0c9580e Add upgrade path for new OSX keychain storage 2013-09-12 13:24:39 +02:00
Teo Mrnjavac
eed056505f Actually write credentials data. 2013-09-12 12:07:05 +02:00
Tomahawk CI
a385530c6e Automatic merge of Transifex translations 2013-09-12 02:17:11 +02:00
Tomahawk CI
6b83b33fe4 Automatic merge of Transifex translations 2013-09-11 02:17:12 +02:00
Jason Herskowitz
18cb82f396 Convert Tomahawk font on splash screen to outlines 2013-09-10 11:31:22 -04:00
Jason Herskowitz
493fd3a169 Fix splash screen - replace image background with gradient 2013-09-10 11:01:03 -04:00
Teo Mrnjavac
5175b83d69 Make compile 2013-09-10 14:40:43 +02:00
Teo Mrnjavac
1e13e6b2a6 Fetch serviceName from LocalConfigStorage. 2013-09-10 14:16:37 +02:00
Teo Mrnjavac
047a83e3f1 Added OSX-specific code path to store creds under a single key. 2013-09-10 14:16:36 +02:00
Tomahawk CI
60722e1258 Automatic merge of Transifex translations 2013-09-10 02:17:17 +02:00
Christian Muehlhaeuser
06fa96b897 * Retrieve a name-filtered list of sources in drawLoveBox. 2013-09-10 01:26:45 +02:00
Christian Muehlhaeuser
ba670716a7 * Added option to filter result of sourcesWithSocialAction by friendlyName. 2013-09-10 01:26:45 +02:00
Jason Herskowitz
ca11b08f2d Standardize by using FRIENDS label 2013-09-09 15:26:21 -04:00
Jason Herskowitz
4bfb9db143 Update Dashboard subheader to provide a better description 2013-09-09 15:24:41 -04:00
Tomahawk CI
6e23fd5303 Automatic merge of Transifex translations 2013-09-09 02:17:14 +02:00
Jason Herskowitz
943972ce95 Update header description for Trending 2013-09-08 17:20:40 -04:00
Jason Herskowitz
1b6fc39344 Change Network Activity to Trending to make it more clear as to what it is 2013-09-08 17:13:53 -04:00
Jeff Mitchell
9f0661e9e2 Network Activity -> Trending 2013-09-08 16:21:00 -04:00
Christian Muehlhaeuser
08b2bdc566 * Added skeleton for DbCmd_ForceResync. 2013-09-08 20:27:55 +02:00
Christian Muehlhaeuser
e007f1cd72 * Fixed statusbar shifting to the right when going into fullscreen mode on OSX. 2013-09-08 06:16:00 +02:00
Christian Muehlhaeuser
467dd177d2 * Remove SuperCollection. 2013-09-08 02:34:07 +02:00
Tomahawk CI
78e1341cae Automatic merge of Transifex translations 2013-09-08 02:17:16 +02:00
Christian Muehlhaeuser
baab038566 * Update internal loved state sooner to make the UI feel more responsive. 2013-09-08 01:35:44 +02:00
Christian Muehlhaeuser
4ed80067fa * Also use queryTrack() when painting the love-box. 2013-09-08 01:32:43 +02:00
Christian Muehlhaeuser
a05e7c2b18 * Revert to checking queryTrack()'s loved status. 2013-09-08 01:29:59 +02:00
Christian Muehlhaeuser
f402fb39a7 * Make TrackData (re)parse SocialActions after setting a new one. 2013-09-08 01:22:33 +02:00
Christian Muehlhaeuser
8f701746a1 * Use new Track api to get SocialActions in PlaylistItemDelegate. 2013-09-08 01:21:37 +02:00
Christian Muehlhaeuser
b30a75ba85 * Added Track and TrackData::sourcesWithSocialAction( action, value ). 2013-09-08 01:20:07 +02:00
Christian Muehlhaeuser
aee9754e95 * Fixed HistoryWidget's extra header. 2013-09-07 23:09:06 +02:00
Christian Muehlhaeuser
e5c66b2b96 * Alt/Cmd+Left & +Right to jump between pages and Ctrl+Up & Down to change the volume. 2013-09-07 21:46:23 +02:00
Christian Muehlhaeuser
fa33c14ccc * Arrow keys left/right to jump to previous/next track. 2013-09-07 21:45:40 +02:00
Christian Muehlhaeuser
3343062fcc * Remove TemporaryPageItem from sidebar when its ViewPage gets destroyed. 2013-09-07 21:29:04 +02:00
Christian Muehlhaeuser
41aeff750b * Added shortcut (Ctrl+W / Cmd+W) for closing the current (temporary) page. 2013-09-07 21:28:13 +02:00
Christian Muehlhaeuser
24f10f2391 * Added ViewManager::destroyCurrentPage(). 2013-09-07 21:27:36 +02:00
Christian Muehlhaeuser
e2166a0a00 * Ensure sort is stable. 2013-09-07 20:53:48 +02:00
Christian Muehlhaeuser
b929ff7912 * Added comment about odd crash. 2013-09-07 20:52:58 +02:00
Christian Muehlhaeuser
56211adbf1 * Style fixes. 2013-09-07 20:52:24 +02:00
Christian Muehlhaeuser
669f27716e * Try using indexRowSizeHint for calculating view's height. 2013-09-07 19:30:16 +02:00
Christian Muehlhaeuser
3fb7b1ced0 * Using contentsMargins() to calculate the view height seems better. 2013-09-07 19:07:11 +02:00
Christian Muehlhaeuser
ccea2fdbed * Fixed Track- and Artist-page layout while loading items. 2013-09-07 18:19:59 +02:00
Christian Muehlhaeuser
5f157a4f78 * Fixed now playing indicator when playing from SearchWidgets. 2013-09-07 17:52:12 +02:00
Christian Muehlhaeuser
67f17102ee * Added new viewpage plugins to macdeploy. 2013-09-07 16:46:51 +02:00
Christian Muehlhaeuser
acced612d2 * Re-exported icons with gimp. 2013-09-07 16:20:40 +02:00
Christian Muehlhaeuser
5bb424414f * Renamed grayscale icon so it won't interfere with the app-icon macro. 2013-09-07 15:57:50 +02:00
Christian Muehlhaeuser
98de8bd9a4 * Updated ChangeLog. 2013-09-07 15:11:18 +02:00
Christian Muehlhaeuser
8b134d935f * Try to write BMPs without color space information. 2013-09-07 14:54:32 +02:00
Christian Muehlhaeuser
42a24a08b4 * Try old image to rule out installer weirdness. 2013-09-07 14:42:39 +02:00
Christian Muehlhaeuser
c2baee18ca * Try to fix installer bmps. 2013-09-07 14:24:49 +02:00
Tomahawk CI
9debfe6f81 Automatic merge of Transifex translations 2013-09-07 02:17:21 +02:00
Jeff Mitchell
a2e9ecfad1 Only deauth on 401 2013-09-06 16:22:39 -04:00
Jeff Mitchell
f3b7fc6cae Not all 401s are OTP needed 2013-09-06 16:06:16 -04:00
Christian Muehlhaeuser
11681c5b35 * Ensure similar tracks get resolved. 2013-09-06 19:38:26 +02:00
Jeff Mitchell
d1acd10b12 Update Hatchet account to use new API. 2013-09-06 13:31:08 -04:00
Christian Muehlhaeuser
b9133e57ba * Style fixes. 2013-09-06 19:22:27 +02:00
Christian Muehlhaeuser
c31f0ad9c7 * Remove creation of automatic playlists. 2013-09-06 16:20:30 +02:00
Christian Muehlhaeuser
7d16b5181d * Use native file-dialogs to pick library paths. 2013-09-06 15:02:53 +02:00
Christian Muehlhaeuser
4bc5b8cc98 * This should fix the CrashReporter crashing (*cough*) when not sending the report. 2013-09-06 13:36:16 +02:00
Christian Muehlhaeuser
dcc4ed6683 * Safer to use the DynamicPlaylist::removalHandler() method. 2013-09-06 11:10:27 +02:00
Christian Muehlhaeuser
945942b18a * DynamicPlaylist needs to store its own weak-ptr so we can access the dynplaylist_ptr (instead of only the playlist_ptr) internally. 2013-09-06 11:09:38 +02:00
Christian Muehlhaeuser
2244f23fde * Emit Playlist::aboutToBeDeleted from inside Playlist. 2013-09-06 11:07:29 +02:00
Tomahawk CI
0beac78da8 Automatic merge of Transifex translations 2013-09-06 02:17:16 +02:00
Christian Muehlhaeuser
5daf042976 * We shouldn't need to set an empty-tip in the ViewManager any longer. 2013-09-05 22:24:52 +02:00
Christian Muehlhaeuser
e414c00080 * Style fixes and debugging. 2013-09-05 22:24:23 +02:00
Christian Muehlhaeuser
585a7ad878 * Some of the ugliest, hackiest code I've written in recent times. Hack around broken QColumnView. 2013-09-05 22:19:46 +02:00
Christian Muehlhaeuser
73b023c96e * PlaylistView really must not control a model's loading state. 2013-09-05 17:14:40 +02:00
Christian Muehlhaeuser
15765f80b5 * PlaylistModel::startLoading() must be called earlier so we don't end up showing an empty-hint. 2013-09-05 17:14:19 +02:00
Christian Muehlhaeuser
215f9492f0 * Only disconnectAll / connectAll for sip-plugins. 2013-09-05 12:42:07 +02:00
Christian Muehlhaeuser
84a47cc251 * Don't access playlist data before it's loaded in ShortLinkHelper::shortLink(). 2013-09-05 12:06:29 +02:00
Christian Muehlhaeuser
df66559137 * Style fixes. 2013-09-05 11:02:00 +02:00
Christian Muehlhaeuser
a32d674b09 * Be a little less verbose. 2013-09-05 11:02:00 +02:00
Christian Muehlhaeuser
439ca29f99 * No need to manually call finishLoading in QueueView. 2013-09-05 11:02:00 +02:00
Christian Muehlhaeuser
1d3770eccf * Call startLoading() before dispatching to the resolver. 2013-09-05 11:02:00 +02:00
Christian Muehlhaeuser
354805b7b4 * Don't restore settings if the TrackView's guid didn't actually change. 2013-09-05 11:02:00 +02:00
Christian Muehlhaeuser
09fb1724b5 * Implement standard removeRows() method in PlayableModel. 2013-09-05 11:02:00 +02:00
Tomahawk CI
47d70b3592 Automatic merge of Transifex translations 2013-09-05 02:17:16 +02:00
Jason Herskowitz
12c2d6a7c0 Add splash screen 2013-09-04 16:29:17 -04:00
Christian Muehlhaeuser
2ae76ba33f * Added helpful comment. 2013-09-04 18:56:12 +02:00
Christian Muehlhaeuser
1e0eff1977 * Don't create manual drops when an InternalMove has been denied. 2013-09-04 18:53:44 +02:00
Christian Muehlhaeuser
53cfb08980 * This looks like a typo. 2013-09-04 18:11:15 +02:00
Jason Herskowitz
c756aa7667 If this doesn't fix the Windows installer image, then I'm stumped 2013-09-04 07:41:45 -04:00
Tomahawk CI
2d0a43b578 Automatic merge of Transifex translations 2013-09-04 02:17:25 +02:00
Jason Herskowitz
6cdc6825fd Update Windows installer sidebar image... did it work? 2013-09-03 18:35:51 -04:00
Christian Muehlhaeuser
516b8c946f * Style fixes. 2013-09-03 23:46:00 +02:00
Christian Muehlhaeuser
380368380e * Don't blindly accept all HTTP result-hints in an XSPF. 2013-09-03 23:41:47 +02:00
Christian Muehlhaeuser
a546268c7a * Don't whitelist youtube urls. They won't work. 2013-09-03 23:40:10 +02:00
Christian Muehlhaeuser
b9671f70a6 * Re-init SettingsDialog each time we show it (and delete it afterwards). 2013-09-03 22:38:25 +02:00
Christian Muehlhaeuser
e88252880f * Emit finished() when SettingsDialog closes. 2013-09-03 22:37:52 +02:00
Christian Muehlhaeuser
a5ff52ca91 * Style fixes. 2013-09-03 22:30:30 +02:00
Christian Muehlhaeuser
1e545dcc6c * Use the new SipPlugin::addContact() api. 2013-09-03 22:01:36 +02:00
Christian Muehlhaeuser
8b09d19341 * New SipPlugin::addContact() api. You can specify whether this is an invitation or a simple contact addition. 2013-09-03 22:00:51 +02:00
Christian Muehlhaeuser
f4aa6291c8 * MetadataEditor can change tags on Track again. 2013-09-03 20:51:35 +02:00
Christian Muehlhaeuser
8d6b02a9a7 * Let Track detach from TrackData when changing metadata. 2013-09-03 20:51:35 +02:00
Jason Herskowitz
6fb25fc68b Update changelog 2013-09-03 11:33:54 -04:00
Christian Muehlhaeuser
1d354cbba5 * Properly print out msg's payload. 2013-09-03 15:59:26 +02:00
Christian Muehlhaeuser
1b7af636a8 * There hasn't be a 0.7.1 release. 2013-09-03 15:59:08 +02:00
Christian Muehlhaeuser
b1df827245 * Signals using artist_ptr and track_ptr requires us to include their respective headers as well. 2013-09-03 15:58:18 +02:00
Christian Muehlhaeuser
9aafacdb98 * Use TomahawkStyle helpers in page widgets and a bit of DRY. 2013-09-03 15:58:18 +02:00
Christian Muehlhaeuser
90e080a55a * Added TomahawkStyle::stylePageWidget and remove actual frame from QFrame. 2013-09-03 15:58:18 +02:00
Uwe L. Korn
b86c179f2c Update ChangeLog 2013-09-03 15:54:00 +02:00
Dominik Schmidt
ac9c135521 Fix build 2013-09-03 14:57:19 +02:00
Uwe L. Korn
3e21b99904 incomingConnection has another signature on Qt5 2013-09-03 14:05:10 +02:00
Christian Muehlhaeuser
086662edd3 * Set proper background color and frame style on NetworkActivityWidget. Convenience method in TomahawkStyle to come. 2013-09-03 13:50:34 +02:00
Christian Muehlhaeuser
e895cf92be * We replaced the Fauna font. 2013-09-03 13:49:33 +02:00
Christian Muehlhaeuser
bffd198e53 * Print out invalid json message when it occurs. 2013-09-03 12:42:22 +02:00
Christian Muehlhaeuser
7e14c21135 * Removed obsolete preference from DatabaseResolver. 2013-09-03 12:38:41 +02:00
Christian Muehlhaeuser
ffb2e0b6d2 * Print out NAM on startup. 2013-09-03 12:37:55 +02:00
Christian Muehlhaeuser
819f1052ff * Started fixing NetworkActivityWidget's ui layout a bit. 2013-09-03 12:37:28 +02:00
Christian Muehlhaeuser
aee0b53992 * Style fixes. 2013-09-03 12:35:52 +02:00
Christian Muehlhaeuser
1736f82e5b * ShortWithAvatars is obsolete. 2013-09-03 12:34:52 +02:00
Christian Muehlhaeuser
639b28cc4f * Use love-box in PlaylistLargeItemDelegate. 2013-09-03 12:34:16 +02:00
Christian Muehlhaeuser
26969f3a55 * Added PlaylistItemDelegate::drawLoveBox() which paints a little box showing all the sources that loved a particular track. 2013-09-03 12:33:08 +02:00
Christian Muehlhaeuser
db9ccf778b * PlayableProxyModel::ShortWithAvatars is obsolete. 2013-09-03 12:32:11 +02:00
Christian Muehlhaeuser
888bfca6f5 * Forgot to update Track header for last commit. 2013-09-03 12:14:47 +02:00
Christian Muehlhaeuser
76b20ccfc0 * Track::socialActionPixmaps( action, height ) returns a list of matching avatars for a particular social action. 2013-09-03 12:14:24 +02:00
Christian Muehlhaeuser
2ef38eb291 * Update PlaylistDelegate. 2013-09-03 12:09:21 +02:00
Tomahawk CI
9224efd1af Automatic merge of Transifex translations 2013-09-03 02:17:19 +02:00
Christian Muehlhaeuser
73baea7690 * Fixed compiling Hatchet plugin with Qt4. 2013-09-03 00:44:16 +02:00
Christian Muehlhaeuser
61f208b0ec Merge pull request #213 from tomahawk-player/hatchet-qt5
Make hatchet account plugin Qt5 compatible
2013-09-02 14:50:41 -07:00
Uwe L. Korn
aefeeb58ca Qt5Sql uses 0 as the new false 2013-09-02 17:42:58 +02:00
Uwe L. Korn
9cb883f6a2 Silence some debug messages due to Qt5 slowness 2013-09-02 17:42:58 +02:00
Christian Muehlhaeuser
ab499d304a * SourceTreeItem needs to be linked to the correct ViewPage. 2013-09-02 17:31:57 +02:00
Christian Muehlhaeuser
17444bf7bc * Trigger showing our default ViewPage (dashboard) from the SourceTreeView. Just as ugly as from the SourcesModel. 2013-09-02 17:31:25 +02:00
Uwe L. Korn
a5d47d58a2 Fix compilation with older CMake versions 2013-09-02 13:37:38 +02:00
Uwe L. Korn
e697e7e57f connectNotify changed its signature with Qt5 2013-09-02 13:15:33 +02:00
Christian Muehlhaeuser
ab6e1e4a84 * Set model on the view before startLoading(). 2013-09-02 12:53:30 +02:00
Uwe L. Korn
55fb74dca9 Create Models before starting loading on them 2013-09-02 12:11:04 +02:00
Christian Muehlhaeuser
30bc86a87d * NetworkActivityWidget needs to call model's startLoading() earlier to make spinners show up. 2013-09-02 11:37:31 +02:00
Uwe L. Korn
085c87bdd4 Merge pull request #212 from tomahawk-player/crashreporter-qnetwork
Port CrashReporter to QNetwork-classes
2013-09-02 01:05:59 -07:00
Uwe L. Korn
0c6d6f71f1 Don't hardcode submission url in the CrashReporter class 2013-09-02 10:03:53 +02:00
Uwe L. Korn
fbf3820ae4 Activate CrashReporter for Qt5 2013-09-02 10:03:25 +02:00
Tomahawk CI
ba8c691a8d Automatic merge of Transifex translations 2013-09-02 02:17:20 +02:00
Uwe L. Korn
f8339081a7 Make a queued connection independent of the qt version 2013-09-01 19:44:11 +02:00
Uwe L. Korn
70e8b67b96 Port CrashReporter to QNetwork-classes 2013-09-01 19:44:11 +02:00
Uwe L. Korn
6d9062e251 Use new finalUrlReached signal 2013-09-01 18:04:20 +02:00
Uwe L. Korn
fe98f34458 Add functionality to play partially loaded Http streams 2013-09-01 18:04:20 +02:00
Uwe L. Korn
c4402c74b4 Only perform load track on the current track 2013-09-01 18:04:20 +02:00
Uwe L. Korn
0650ef2ec9 Speedup NetworkReply redirection 2013-09-01 18:04:20 +02:00
Christian Muehlhaeuser
660c633cde * Show empty tip on NetworkActivity's trending tracks. 2013-09-01 17:16:49 +02:00
Christian Muehlhaeuser
27320f2e67 * Correct color roles for NetworkActivityWidget's playlist-view. 2013-09-01 17:01:41 +02:00
Christian Muehlhaeuser
b577cdab5d * Fixed auto-resizing of GridViews for when we have exactly one row. 2013-09-01 17:01:41 +02:00
Uwe L. Korn
03158c3bbc Buffer HTTP streams to make them seekable 2013-09-01 15:16:36 +02:00
Christian Muehlhaeuser
17e7afee65 * XMPP plugin is now a .dylib. 2013-09-01 10:50:48 +02:00
Christian Muehlhaeuser
b766510f0d * Fixed plugin dirs on OSX. 2013-09-01 10:50:35 +02:00
Tomahawk CI
48fe53eaf1 Automatic merge of Transifex translations 2013-09-01 02:17:18 +02:00
Uwe L. Korn
61792f0859 Do declare right metatype for Qt4 2013-08-31 18:18:12 +02:00
Uwe L. Korn
aa740b191f Do HTTP(s) streaming by ourselves instead of passing the URL to phonon 2013-08-31 18:09:32 +02:00
Tomahawk CI
f9005f58c5 Automatic merge of Transifex translations 2013-08-31 02:17:18 +02:00
Uwe L. Korn
3f13ee1364 Only delete a widget if it still exists 2013-08-30 23:38:11 +02:00
Uwe L. Korn
0830c257fc Correctly delete QSharedPointers 2013-08-30 23:36:31 +02:00
Uwe L. Korn
8606fbd9b4 Propagate the Any-ip ifdef 2013-08-30 23:16:57 +02:00
Uwe L. Korn
36cd7b3008 Include TomahawkPlugin.h to (re)define some macros 2013-08-30 22:48:44 +02:00
Dominik Schmidt
bf0420945a Don't use native mac widgets with Qt5 2013-08-30 22:38:16 +02:00
Dominik Schmidt
f542c4846a Fix loading zeroconf with qt5 2013-08-30 22:33:53 +02:00
Uwe L. Korn
ea5f25951c s/Q_WS_X11/Q_OS_LINUX/ at some locations 2013-08-30 22:16:58 +02:00
Uwe L. Korn
b4cd4ed5ef Get the right appDataDir with Qt5 2013-08-30 21:29:06 +02:00
Uwe L. Korn
80f12c3410 Wait in ConnectMan for authentication until declaring a Connection as success 2013-08-30 21:04:26 +02:00
Uwe L. Korn
c137195e04 Make hatchet account plugin Qt5 compatible 2013-08-30 14:56:21 +02:00
Tomahawk CI
086b051665 Automatic merge of Transifex translations 2013-08-30 02:17:21 +02:00
Tomahawk CI
1c8ed6ab7d Automatic merge of Transifex translations 2013-08-29 02:17:38 +02:00
Uwe L. Korn
aee2e7372d Fix playdar startup. 2013-08-26 12:22:37 +02:00
Uwe L. Korn
3673eecd1b Fix windows installation of libtomahawk-playdarapi 2013-08-26 11:40:58 +02:00
Tomahawk CI
16924ea673 Automatic merge of Transifex translations 2013-08-26 02:17:46 +02:00
Uwe L. Korn
d93a9c1a4b Encapsulate ACL requests/decisions to move logic out of Connection 2013-08-25 12:00:54 +02:00
Uwe L. Korn
0da448c5a7 Add WeakObjectList helper class 2013-08-25 12:00:54 +02:00
Uwe L. Korn
67d2f4f44c Move ACLRegistry to network/acl/ as it takes care of networking-access 2013-08-25 12:00:54 +02:00
Uwe L. Korn
ee9d6e03ad Add some comments to tomahawk.js 2013-08-25 12:00:54 +02:00
Uwe L. Korn
39d12f573e Wrap creation of Playdar api in libtomahawk-playdarapi
* Qxt is now only used in libtomahawk-playdarapi and not required in any
  other target.
2013-08-25 12:00:54 +02:00
Tomahawk CI
99d46c8823 Automatic merge of Transifex translations 2013-08-25 02:17:17 +02:00
Uwe L. Korn
f818ecba52 Move initialization of Playdar API to the corresponding lib 2013-08-24 15:13:54 +02:00
Uwe L. Korn
a340be767d Move Playdar API into its own library 2013-08-24 14:19:24 +02:00
Uwe L. Korn
b6f6f42f23 Remove unneeded .data() calls for httpv1_session 2013-08-23 13:06:08 +02:00
Jason Herskowitz
96611ef021 Update Windows installer welcome.bmp image to more recent logo treatment 2013-08-22 09:07:41 -04:00
Tomahawk CI
2933542bd3 Automatic merge of Transifex translations 2013-08-21 02:17:20 +02:00
Christian Muehlhaeuser
d8fd298e0c * We're now depending on QJson 0.8.1. 2013-08-15 03:35:44 +02:00
Tomahawk CI
71dbe81461 Automatic merge of Transifex translations 2013-08-14 02:18:11 +02:00
Uwe L. Korn
2b58a6d7be Qt5 won't save us from some warnings 2013-08-13 20:26:53 +02:00
Uwe L. Korn
afa04e9e66 Only prefix JREEN logging with Qt4 2013-08-13 10:59:15 +00:00
Uwe L. Korn
c3a0eaddc5 Add Q_PLUGIN_METADATA to AccountFactories 2013-08-13 10:58:50 +00:00
Uwe L. Korn
5f1ddca1f5 Add Q_PLUGIN_METADATA to ViewPagePlugins 2013-08-13 10:21:16 +00:00
Tomahawk CI
ef775ed9c7 Automatic merge of Transifex translations 2013-08-13 02:17:05 +02:00
Uwe L. Korn
61723d8dd2 Only build Google-SIP if we have found Jreen. 2013-08-12 23:45:56 +02:00
Uwe L. Korn
29619f5937 Set the state of all peers to offline on disconnecting a jabber account. 2013-08-12 18:00:10 +02:00
Tomahawk CI
5340dc5e30 Automatic merge of Transifex translations 2013-08-11 02:17:32 +02:00
Stefan Derkits
34407d7e71 fix an initialization order warning in JobStatusView 2013-08-10 14:48:43 +02:00
Tomahawk CI
b4e02af829 Automatic merge of Transifex translations 2013-08-10 02:17:08 +02:00
Tomahawk CI
04a35d8f78 Automatic merge of Transifex translations 2013-08-08 02:17:10 +02:00
Uwe L. Korn
a8407f95d0 Merge pull request #211 from tomahawk-player/networkactivityplugin
Pluginify NetworkActivity
2013-08-07 14:21:53 -07:00
Dominik Schmidt
f112834ed4 Remove obsolete includes 2013-08-07 21:09:36 +02:00
Dominik Schmidt
ce68deb9e1 Pluginify NetworkActivity view page 2013-08-07 20:43:35 +02:00
Dominik Schmidt
453f746659 Move more logic from Dashboard to ViewPageLazyLoader 2013-08-07 20:37:43 +02:00
Dominik Schmidt
95a94ca60c Don't link against Phonon::experimental 2013-08-07 11:07:52 +02:00
Tomahawk CI
26271d3551 Automatic merge of Transifex translations 2013-08-07 02:16:33 +02:00
Dominik Schmidt
e074f4765f Link privately against Phonon to fix Grindstone build e.g. 2013-08-07 01:59:40 +02:00
Dominik Schmidt
99fcdc5614 Next sigh. Didn't break for me as I'm using clang. 2013-08-07 00:20:37 +02:00
Dominik Schmidt
c23bd08a92 *sigh* 2013-08-07 00:14:39 +02:00
Dominik Schmidt
07ae17b5e6 Phonon cmake config file is still a mess with Qt4 2013-08-06 23:59:36 +02:00
Jeff Mitchell
3c52e73595 Don't be so spammy in logs when DC is down 2013-08-06 13:10:20 -04:00
Teo Mrnjavac
48f2d3b45a Replace crappy ConfigStorage deduplication with decent deduplication.
+ const correctness
2013-08-06 10:33:52 +02:00
Tomahawk CI
8a9c1246ff Automatic merge of Transifex translations 2013-08-06 02:16:56 +02:00
Teo Mrnjavac
9fd383d4f9 Require QJson 0.8.1 2013-08-05 17:45:25 +02:00
Teo Mrnjavac
f6c2140f39 Better debug 2013-08-05 17:32:24 +02:00
Teo Mrnjavac
3444068677 JSON-serialize creds.
If you are running master you will have to re-enter your passwords, sorry :C
2013-08-05 17:27:25 +02:00
Tomahawk CI
64fc343a90 Automatic merge of Transifex translations 2013-08-05 02:16:50 +02:00
Christian Muehlhaeuser
3d5dd801b1 * Check whether GeneratorFactory returned a valid control. 2013-08-04 21:10:00 +02:00
Teo Mrnjavac
220ae243dc Revert "Use DpiScaler in GridView and delegate."
This reverts commit 872a937c03.
2013-08-04 16:51:38 +02:00
Teo Mrnjavac
f50f9d3ac2 Try disabling GridView item scaling. 2013-08-04 16:37:33 +02:00
Dominik Schmidt
c64ada1bcf Fix compilation on OSX 2013-08-04 14:55:02 +02:00
Dominik Schmidt
d88dfc014b Merge pull request #210 from TheOneRing/libdir-fix
fixed plugin dirs
2013-08-04 05:15:41 -07:00
Patrick von Reth
c6e81c6406 fixed plugin dirs 2013-08-04 13:58:37 +02:00
Dominik Schmidt
ff4e9bde45 Use new plugin loading api in SourcesModel for viewpages 2013-08-03 20:52:47 +02:00
Dominik Schmidt
42b8d5096b Make it even easier to load plugins 2013-08-03 20:52:47 +02:00
Uwe L. Korn
c8af9393f6 If a service does not want to load any credentials, emit ready early 2013-08-03 18:22:58 +02:00
Teo Mrnjavac
5e2b1e1dd9 Moar pixels to the GridView 2013-08-03 17:22:38 +02:00
Teo Mrnjavac
9f3046ddc6 Make GridView items bigger. 2013-08-03 17:09:09 +02:00
Teo Mrnjavac
b472db0191 Better debug output for QtKeychain jobs 2013-08-03 17:09:08 +02:00
Tomahawk CI
58baac0a6d Automatic merge of Transifex translations 2013-08-03 02:16:48 +02:00
Teo Mrnjavac
96dc4a07e5 Merge pull request #209 from tomahawk-player/viewpageplugins
ViewPagePlugins
2013-08-02 07:06:31 -07:00
Dominik Schmidt
c6438aea65 Make the 256x256px version of the tomahawk icon the default for pixmaps in viewpages 2013-08-02 15:50:15 +02:00
Dominik Schmidt
545321436b Make dashboard a standalone target 2013-08-02 14:49:41 +02:00
Dominik Schmidt
66e2a57beb Use ViewPagePlugin and ViewPageLazyLoader as base for Dashboard 2013-08-02 14:49:41 +02:00
Dominik Schmidt
be2af20ed0 Add ViewPageLazyLoader template 2013-08-02 14:49:36 +02:00
Dominik Schmidt
d18e34771b Add ViewPagePlugin base class 2013-08-02 14:48:58 +02:00
Teo Mrnjavac
4fc50935ab Merge pull request #205 from tomahawk-player/telepathyaccounts
Telepathy accounts support
2013-08-02 05:09:56 -07:00
Tomahawk CI
98d3c6e56c Automatic merge of Transifex translations 2013-08-02 02:16:35 +02:00
Dominik Schmidt
b78769c0f9 Fix sort order of viewpages in the sidebar 2013-08-01 22:48:49 +02:00
Teo Mrnjavac
1575174ab1 Avoid g++isms 2013-08-01 21:37:17 +02:00
Jeff Mitchell
dd34bf1fff Use 401 to indicate OTP needed, much better than string parsing 2013-08-01 15:17:45 -04:00
Tomahawk CI
d892eddeb9 Automatic merge of Transifex translations 2013-08-01 02:16:40 +02:00
Uwe L. Korn
d41c339246 Remove Top Loved Tracks from sidebar 2013-07-31 21:25:43 +02:00
Uwe L. Korn
866a9b148f Integrate Loved Tracks into NetworkActivity 2013-07-31 21:18:43 +02:00
Uwe L. Korn
387091e198 Fix RecentlyLovedModel 2013-07-31 21:18:25 +02:00
Uwe L. Korn
8a7c26227c Add missing limit property 2013-07-31 21:18:14 +02:00
Uwe L. Korn
91c5960523 Add RecentlyLovedTracksModel 2013-07-31 21:03:21 +02:00
Uwe L. Korn
6fd7c83fad Add an intermediate LovedTracksModel 2013-07-31 20:35:56 +02:00
Uwe L. Korn
c7e5fc62c2 Explicitly declare destructors virtual 2013-07-31 17:02:44 +02:00
Uwe L. Korn
477f7d63ef Move implementations out of the header 2013-07-31 16:59:35 +02:00
Uwe L. Korn
61bfe4e74d Add breadcrumbs for Top Loved 2013-07-31 16:44:19 +02:00
Uwe L. Korn
0faa02cac8 Rename LovedTracksModel to Top Loved Tracks 2013-07-31 16:44:19 +02:00
Teo Mrnjavac
dc34b228f0 Base size of GridView items changed from 160 to 120. 2013-07-31 16:40:46 +02:00
Teo Mrnjavac
1d2457c666 Add some scaling to the Accounts widget 2013-07-31 13:30:30 +02:00
Teo Mrnjavac
43ceb25753 Add margins scaling to DpiScaler 2013-07-31 13:30:05 +02:00
Teo Mrnjavac
6a821eef2e Fix main toolbar scaling. 2013-07-31 12:59:18 +02:00
Teo Mrnjavac
5ef100f526 Special cases, special cases everywhere. 2013-07-31 12:22:23 +02:00
Teo Mrnjavac
872a937c03 Use DpiScaler in GridView and delegate. 2013-07-31 12:09:26 +02:00
Tomahawk CI
0ccd790073 Automatic merge of Transifex translations 2013-07-31 02:16:36 +02:00
Teo Mrnjavac
4671e81617 Try another font size for scaling. 2013-07-31 00:21:40 +02:00
Teo Mrnjavac
fc4d0a7933 Try to guess a sane base font size on Mac 2013-07-30 22:00:17 +02:00
Teo Mrnjavac
00cb5fafe2 Make DpiScaler entirely dependent on absolute font height in px :C 2013-07-30 20:28:23 +02:00
Teo Mrnjavac
95c8d53b96 Add afwul hack to DpiScaler to guess actual DPI from font metrics. 2013-07-30 18:49:06 +02:00
Uwe L. Korn
6aee483cb7 Update empty tip for NetworkActivity Charts 2013-07-30 18:43:47 +02:00
Uwe L. Korn
ffbe322789 Make "Last week" the default NetworkActivity chart 2013-07-30 18:05:23 +02:00
Teo Mrnjavac
e66270fd30 Use DpiScaler for ViewPage header icons. 2013-07-30 16:18:05 +02:00
Teo Mrnjavac
b99bcd5d07 Added convenience static methods to DpiScaler 2013-07-30 16:18:05 +02:00
Teo Mrnjavac
73b7e724b4 Force NewAdditions icon to be rendered big enough for HiDPI displays. 2013-07-30 16:18:04 +02:00
Teo Mrnjavac
ba1f578a3c Force NetworkActivity icon to be rendered big enough for HiDPI displays. 2013-07-30 16:18:04 +02:00
Teo Mrnjavac
41cc799b76 Force Auto & Station icons to be rendered big enough for HiDPI displays. 2013-07-30 16:18:04 +02:00
Teo Mrnjavac
8dfc564956 Force Playlist icon to be rendered big enough for HiDPI displays. 2013-07-30 16:18:04 +02:00
Teo Mrnjavac
317a88e8c1 Force SuperCollection icon to be rendered big enough for HiDPI displays. 2013-07-30 16:18:04 +02:00
Teo Mrnjavac
44a8a7b446 Do some scaling in AudioControls and SeekSlider 2013-07-30 16:18:04 +02:00
Teo Mrnjavac
07877add3c Add DpiScaler for fixed pixel sizes conversion 2013-07-30 16:18:04 +02:00
Uwe L. Korn
76dc215036 Open playlist on click 2013-07-30 13:21:28 +02:00
Uwe L. Korn
6080e75f51 Do not expand Hot Playlists View on init 2013-07-30 13:03:04 +02:00
Uwe L. Korn
91b01038b1 Fix DB migration 2013-07-30 12:58:04 +02:00
Uwe L. Korn
157ee8f433 Speed up hot playlists by improving join performance 2013-07-30 12:55:12 +02:00
Uwe L. Korn
a3aaf13981 Queue JobStatusItems if no JobStatusView is yet instantiated. 2013-07-30 12:54:45 +02:00
Uwe L. Korn
96b5a32a66 Reactivate Hot Playlists 2013-07-30 12:13:47 +02:00
Uwe L. Korn
20b84ce507 Add old-style annotations for earlier qt-versions 2013-07-30 11:18:35 +02:00
Tomahawk CI
0bb417ed46 Automatic merge of Transifex translations 2013-07-30 02:16:35 +02:00
Uwe L. Korn
251fa024c4 Only add job if there is already a JobStatusView 2013-07-29 23:55:07 +02:00
Uwe L. Korn
526c492409 Add index on playback_log.playtime 2013-07-29 21:10:57 +02:00
Uwe L. Korn
031bd3a0b1 Speed up NetworkActivity by joining fewer rows 2013-07-29 20:20:38 +02:00
Uwe L. Korn
a21213cfcd Log peerInfoDebug only in verbose level 2013-07-29 20:03:02 +02:00
Uwe L. Korn
0d360d79c5 Shorten resolver error message to make them more readable 2013-07-29 19:44:22 +02:00
Uwe L. Korn
892e09a397 Revert unwanted Changes to WhatsHotWidget 2013-07-29 19:15:35 +02:00
Uwe L. Korn
531f6d78ab Add Trending Artists to Network Activity 2013-07-29 19:09:51 +02:00
Dominik Schmidt
e9635f69b2 Fix QDBus linkage on all platforms 2013-07-29 12:02:39 +02:00
Tomahawk CI
595508eeb8 Automatic merge of Transifex translations 2013-07-29 02:16:49 +02:00
Uwe L. Korn
a9eecbd246 Use TOMAHAWK_QT5 2013-07-28 22:00:37 +02:00
Uwe L. Korn
2b2d2e0390 As BUILD_WITH_QT4 is not always set like we assumed, use Qt5_Core 2013-07-28 21:54:19 +02:00
Dominik Schmidt
af1bf099e2 Find Phonon for Qt4 and Phonon4Qt5 for Qt5
Conflicts:
	CMakeLists.txt
2013-07-28 21:14:12 +02:00
Uwe L. Korn
5884db1e3b DRY: Use GAM logic instead of build an own one in MPRIS 2013-07-28 13:02:50 +02:00
Uwe L. Korn
832305008b Support (lazy) loading of XSPF Playlists through JSResolvers 2013-07-28 12:32:43 +02:00
Uwe L. Korn
8cf2f38896 Reactivate tests 2013-07-28 10:20:02 +02:00
Dominik Schmidt
fc0fec1fdc Fix tests for Qt5
Conflicts:
	tests/CMakeLists.txt
2013-07-28 10:17:33 +02:00
Tomahawk CI
0558b2396f Automatic merge of Transifex translations 2013-07-28 02:16:48 +02:00
Lasse Liehu
48bf95c8f8 Make automatic playlist UI more translatable
Using QObject::tr in EchonestGenerator::sentenceSummary (a virtual
method) because if just using tr the translations wouldn't show up.
2013-07-28 00:10:43 +03:00
Lasse Liehu
d70be143fd Add internationalization context for song types 2013-07-27 21:21:29 +03:00
Teo Mrnjavac
6ba337d35a Force high resolution for Dashboard icon 2013-07-27 19:10:04 +02:00
Teo Mrnjavac
e357aece18 Fix after borked rebase. 2013-07-27 19:06:17 +02:00
Teo Mrnjavac
f44e84fee0 Fix elision in description text 2013-07-27 18:59:47 +02:00
Teo Mrnjavac
c85e8aa3a2 Port BasicHeader fixes to InfoBar 2013-07-27 18:59:47 +02:00
Teo Mrnjavac
3b6f640bad Fix BasicHeader quirks on Hi-DPI displays. 2013-07-27 18:54:07 +02:00
Tomahawk CI
827540e8cf Automatic merge of Transifex translations 2013-07-27 02:16:34 +02:00
Uwe L. Korn
3c8272ba81 Revert removal of test targets 2013-07-26 19:48:56 +02:00
Uwe L. Korn
ccc1c260f1 qdbusxml2cpp is only found if QtDBus is explicity "found" 2013-07-26 19:46:09 +02:00
Uwe L. Korn
a10f04e504 Qt5: Full definition of PlaylistInterface need for compiling 2013-07-26 19:46:09 +02:00
Uwe L. Korn
0425c0fc17 Export DynamicControl to support linking with Qt5 2013-07-26 19:46:08 +02:00
Uwe L. Korn
c26c9e3ca1 Export InfoSystemCache to link with qt5 2013-07-26 19:46:08 +02:00
Jeff Mitchell
26d1e524d5 Only show the OTP bits if configured on the account, in a secondary login step 2013-07-26 11:34:16 -04:00
Uwe L. Korn
fe4e281ab3 Remove softkeys usage 2013-07-26 16:12:22 +02:00
Uwe L. Korn
72557b1f5d fromAscii is removed in Qt5, use standard constructor here 2013-07-26 16:06:59 +02:00
Uwe L. Korn
0dd64c8e36 Deprecate Softkeys with Qt5 2013-07-26 16:06:59 +02:00
Christian Muehlhaeuser
6bcc662f7b * Don't show a score for offline sources. 2013-07-26 15:12:34 +02:00
Christian Muehlhaeuser
e556bbe178 * Fixed deprecated InfoBar to look like the new header. 2013-07-26 15:12:34 +02:00
Uwe L. Korn
46572cc5d1 Qt5 sometimes defines Metatypes by itself, don't define them twice 2013-07-26 12:22:23 +02:00
Uwe L. Korn
852ef9d339 Cleanup header 2013-07-26 10:34:09 +02:00
Teo Mrnjavac
c5ec5bce41 Fix coding style. 2013-07-24 18:02:59 +02:00
Teo Mrnjavac
016466bd52 Store the enabled state of external accounts 2013-07-24 18:02:59 +02:00
Teo Mrnjavac
5be9204db2 Added ConfigStorage priority and account deduplication. 2013-07-24 18:02:59 +02:00
Teo Mrnjavac
b08cc64a88 Default to LocalConfigStorage for (new) accounts without CS. 2013-07-24 18:02:59 +02:00
Teo Mrnjavac
2cd1736203 Store to LocalConfigStorage as fallback when installing a ResolverAccount. 2013-07-24 18:02:59 +02:00
Teo Mrnjavac
af6a90f956 Remove cruft 2013-07-24 18:02:59 +02:00
Teo Mrnjavac
484b7ccb88 Ensure we have a string to show if a Tp account name is empty. 2013-07-24 18:02:59 +02:00
Teo Mrnjavac
b08ba3fe40 KTp KCM dialog title 2013-07-24 18:02:59 +02:00
Teo Mrnjavac
e2f31fdd68 Show KTp KCM for KTp akkounts. 2013-07-24 18:02:59 +02:00
Dominik Schmidt
1c61c5ae25 Return 0 for KdeConfigWidget if kcm_ktp_accounts was not found 2013-07-24 18:02:58 +02:00
Dominik Schmidt
8f1c4aeaf0 Yo dawg (teo-), I put a plugin in your plugin, so I can load another plugin for showing an in-application KDE config widget 2013-07-24 18:02:58 +02:00
Dominik Schmidt
a5121f3ad1 Remove obsolete QPluginLoader include from TomahawkApp 2013-07-24 18:02:58 +02:00
Dominik Schmidt
b2bb0349be Make building with Qt4 the default even if Qt5 was found 2013-07-24 18:02:58 +02:00
Dominik Schmidt
d965783a53 Centralize plugin loading logic in Tomahawk::Utils::PluginLoader 2013-07-24 18:02:58 +02:00
Dominik Schmidt
93bbf44669 Centralize plugin finding logic in Tomahawk::Utils::PluginLoader 2013-07-24 18:02:58 +02:00
Teo Mrnjavac
e80a5ba2e5 Lock external account config UI, launch KDE Telepathy config dialog. 2013-07-24 18:02:58 +02:00
Teo Mrnjavac
bec87f692d Add GTalk support for Telepathy accounts. 2013-07-24 18:02:58 +02:00
Teo Mrnjavac
99c3fb4431 Obsolete cmakedefine is obsolete. 2013-07-24 18:02:58 +02:00
Teo Mrnjavac
2416de9697 Just say NO to implementations in headers! 2013-07-24 18:02:58 +02:00
Teo Mrnjavac
1bc3bf3b05 Don't carry Telepathy objectPaths around more than necessary. 2013-07-24 18:02:58 +02:00
Teo Mrnjavac
530a838a1f Add Telepathy magic to TelepathyConfigStorage 2013-07-24 18:02:58 +02:00
Teo Mrnjavac
2db2cdb996 Load TelepathyConfigStorage plugin. 2013-07-24 18:02:58 +02:00
Teo Mrnjavac
ebd7091fda Asyncify ConfigStorage loading, and allow multiple ConfigStorages. 2013-07-24 18:02:57 +02:00
Teo Mrnjavac
08158ca405 ConfigStorage is now in charge of initializing its own account credentials in CredentialsManager. 2013-07-24 18:02:57 +02:00
Teo Mrnjavac
e4fbe9bffb Create TelepathyConfigStorage as plugin, and link against TelepathyQt. 2013-07-24 18:02:57 +02:00
Teo Mrnjavac
63f9168b4a Added ConfigStorage and LocalConfigStorage, preparation for Telepathy. 2013-07-24 18:02:57 +02:00
Teo Mrnjavac
09a20e98d1 CredentialsManager can now read/write under different service names. 2013-07-24 18:02:57 +02:00
Uwe L. Korn
6fa9379dae Fix hatchet compilation 2013-07-24 15:54:25 +02:00
Uwe L. Korn
3be57dd280 QT5_MODULES is multivalue 2013-07-24 13:03:15 +02:00
Uwe L. Korn
2059358b90 Add possibility to specify custom qt5 modules to a library 2013-07-24 12:58:53 +02:00
Uwe L. Korn
65dfc34303 Add missing includes 2013-07-24 12:13:32 +02:00
Teo Mrnjavac
6017d0276f Properly reset ProxyModel 2013-07-24 11:59:24 +02:00
Uwe L. Korn
e2f069833b Use same signage on comparison 2013-07-24 11:29:54 +02:00
Uwe L. Korn
95dac14782 Prevent redirect loops 2013-07-24 11:27:11 +02:00
Uwe L. Korn
d755415704 On blacklisted redirect, emit correct final URL 2013-07-24 10:38:06 +02:00
Uwe L. Korn
15564cec5c Qt5: Complete definition of Track needed in header 2013-07-24 10:25:30 +02:00
Uwe L. Korn
46ee8421dc Merge pull request #206 from tomahawk-player/qt5compilation
Change TomahawkUse.cmake to make Qt5 Compilation possible
2013-07-24 01:08:31 -07:00
Christian Muehlhaeuser
784fe292a2 * Obsolete code. 2013-07-24 03:55:57 +02:00
Christian Muehlhaeuser
cd20fbbab7 * Fixed stable sorting issues. 2013-07-24 03:47:11 +02:00
Tomahawk CI
ce96e084f2 Automatic merge of Transifex translations 2013-07-24 02:16:39 +02:00
Dominik Schmidt
ddf6f3d3e1 Install plugins to lib/ even if they are shared libs 2013-07-23 22:29:06 +02:00
Dominik Schmidt
0d6b0fc6a9 Fix TomahawkAddLibrary to install .dll files to bin/ 2013-07-23 22:17:20 +02:00
Dominik Schmidt
288194a337 Merge pull request #202 from TheOneRing/ninja_fix
make tomahawk compile with ninja again
2013-07-23 12:25:29 -07:00
Uwe L. Korn
a824af5d96 Forward declarations still output warnings with qt5 2013-07-23 17:12:43 +02:00
Uwe L. Korn
268b0051eb Change TomahawkUse.cmake to make Qt5 Compilation possible 2013-07-23 17:09:29 +02:00
Uwe L. Korn
296bbf93eb Forward declarations still output warnings with qt5 2013-07-23 17:04:14 +02:00
Uwe L. Korn
1769c03d98 Add missing include directory to compile libportfwd with qt5 2013-07-23 16:52:23 +02:00
Uwe L. Korn
0af4b46c50 Blacklist deezer redirects 2013-07-23 10:15:44 +02:00
Uwe L. Korn
58c3224b0a Debug spam++ 2013-07-23 10:15:44 +02:00
Tomahawk CI
e68bf7c8c6 Automatic merge of Transifex translations 2013-07-23 02:16:43 +02:00
Tomahawk CI
395b3edfd4 Automatic merge of Transifex translations 2013-07-22 02:16:56 +02:00
Uwe L. Korn
25a24bde05 Wait until we have loaded Albums track 2013-07-21 17:09:11 +02:00
Uwe L. Korn
aec1b1ac80 Support dropping of artists 2013-07-21 15:11:13 +02:00
Tomahawk CI
af68c147b9 Automatic merge of Transifex translations 2013-07-21 02:16:39 +02:00
Uwe L. Korn
192e08aa55 Remove unused includes 2013-07-20 17:52:08 +02:00
Uwe L. Korn
41f3dfe5fa Minor style cleanups 2013-07-20 17:01:23 +02:00
Uwe L. Korn
da3f7b7a3e Fix current track related things in NetworkActivity 2013-07-20 16:02:23 +02:00
Uwe L. Korn
86c31aa7fb Add missing date selection 2013-07-20 15:10:23 +02:00
Uwe L. Korn
c369d8ab62 Temporarily increase number of trending tracks to fill up empty space 2013-07-20 15:05:51 +02:00
Uwe L. Korn
4ff7085d34 Temporarily deactivate hot playlists 2013-07-20 15:02:29 +02:00
Uwe L. Korn
ec1db6671a Really use all data instead of only cached 2013-07-20 14:53:39 +02:00
Uwe L. Korn
2747b9b962 Prefix playlist table in query 2013-07-20 13:46:46 +02:00
Uwe L. Korn
87c1880886 Simplify orderToken 2013-07-20 13:39:54 +02:00
Uwe L. Korn
0814f6055b Remove not needed includes 2013-07-20 13:39:36 +02:00
Uwe L. Korn
c502f6ac08 Pimple LoadAllPlaylists 2013-07-20 13:35:28 +02:00
Uwe L. Korn
30db29c564 Internally store trackIds instead of tracks 2013-07-20 13:25:02 +02:00
Patrick von Reth
c2fc03a330 make tomahawk compile with ninja again 2013-07-16 19:36:23 +02:00
2503 changed files with 212160 additions and 544934 deletions

1
.gitignore vendored
View File

@@ -12,7 +12,6 @@ Makefile*
moc_*
*~
/tomahawk
thirdparty/qtweetlib/WARNING-twitter-api-keys
.kdev4
*.kdev4
*.kate-swp

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "thirdparty/libcrashreporter-qt"]
path = thirdparty/libcrashreporter-qt
url = https://github.com/dschmidt/libcrashreporter-qt

View File

@@ -1,5 +1,5 @@
[main]
host = https://www.transifex.net
host = https://www.transifex.com
[tomahawk.tomahawk-master]
file_filter = lang/tomahawk_<lang>.ts

View File

@@ -14,6 +14,7 @@ Contributors include:
* Michael Zanetti <dreadhead@follefuder.org>
* Christopher Reichert <christopher@tomahawk-player.org>
* Uwe L. Korn <uwelk@xhochy.com>
* Patrick von Reth <vonreth@kde.org>
Thanks to:

View File

@@ -1,7 +1,22 @@
PROJECT( tomahawk )
CMAKE_MINIMUM_REQUIRED( VERSION 2.8.6 )
SET( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
CMAKE_POLICY(SET CMP0017 NEW)
CMAKE_POLICY(SET CMP0022 NEW)
# TODO:
# Update to NEW and fix things up
CMAKE_POLICY(SET CMP0023 OLD)
# TODO:
# Disable automatic qtmain linking
CMAKE_POLICY(SET CMP0020 OLD)
find_package(ECM 1.7.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
INCLUDE(CMakeDependentOption)
###
### Tomahawk application info
@@ -10,6 +25,14 @@ 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_APPLICATION_PACKAGE_NAME "org.tomahawk-player.Tomahawk")
IF(APPLE)
SET( TOMAHAWK_TARGET_NAME "Tomahawk" )
ELSE()
SET( TOMAHAWK_TARGET_NAME "tomahawk" )
ENDIF()
STRING(TOLOWER "${TOMAHAWK_TARGET_NAME}" TOMAHAWK_BASE_TARGET_NAME)
IF( WIN32 )
SET( TOMAHAWK_SYSTEM "Windows" )
@@ -22,72 +45,106 @@ ELSE()
ENDIF()
SET( TOMAHAWK_VERSION_MAJOR 0 )
SET( TOMAHAWK_VERSION_MINOR 7 )
SET( TOMAHAWK_VERSION_PATCH 100 )
#SET( TOMAHAWK_VERSION_RC 0 )
SET( TOMAHAWK_VERSION_MINOR 8 )
SET( TOMAHAWK_VERSION_PATCH 99 )
SET( TOMAHAWK_VERSION_RC 0 )
SET( TOMAHAWK_TRANSLATION_LANGUAGES ar bg bn_IN ca cs de en el es fi fr hi_IN hu gl it ja lt pl pt_BR ru sv tr zh_CN zh_TW )
SET( TOMAHAWK_TRANSLATION_LANGUAGES ar bg bn_IN ca cs da de en el es es_419 fi fr hi_IN hu gl id it ja lt nl pl pt_BR pt_PT ro ru sq sv th tr uk vi zh_CN zh_TW )
# add_definitions is only in the scope of this directory and all directories
# below it. Tomahawk Libraries and plugins that are built with Tomahawk are
# not included in out-of-source build so we need to re-add_definitions there.
macro(tomahawk_add_definitions DEFINITION)
add_definitions( ${DEFINITION} )
set( TOMAHAWK_DEFINITIONS "${TOMAHAWK_DEFINITIONS} ${DEFINITION}")
endmacro()
macro(tomahawk_add_cxx_flags FLAGS)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAGS}")
set( TOMAHAWK_CXX_FLAGS "${TOMAHAWK_CXX_FLAGS} ${FLAGS}")
endmacro()
macro(tomahawk_add_c_flags FLAGS)
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAGS}")
set( TOMAHAWK_C_FLAGS "${TOMAHAWK_C_FLAGS} ${FLAGS}")
endmacro()
if(NOT WIN32)
# enforce proper symbol exporting on all platforms but Windows
tomahawk_add_cxx_flags( "-fvisibility=hidden" )
tomahawk_add_c_flags( "-fvisibility=hidden" )
endif()
# enforce proper symbol exporting on all platforms
add_definitions( "-fvisibility=hidden" )
# enforce using constBegin, constEnd for const-iterators
add_definitions( "-DQT_STRICT_ITERATORS" )
tomahawk_add_definitions( "-DQT_STRICT_ITERATORS" )
# build options
option(BUILD_GUI "Build Tomahawk with GUI" ON)
option(BUILD_RELEASE "Generate TOMAHAWK_VERSION without GIT info" OFF)
option(BUILD_TESTS "Build Tomahawk with unit tests" ON)
option(BUILD_HATCHET "Build the Hatchet plugin" OFF)
if(BUILD_RELEASE)
set(BUILD_NO_RELEASE OFF)
else()
set(BUILD_NO_RELEASE ON)
endif()
option(WITH_BREAKPAD "Build with breakpad integration" ON)
option(WITH_CRASHREPORTER "Build with CrashReporter" ON)
option(BUILD_GUI "Build Tomahawk with GUI" ON)
option(BUILD_TESTS "Build Tomahawk with unit tests" ${BUILD_NO_RELEASE})
option(BUILD_TOOLS "Build Tomahawk helper tools" ${BUILD_NO_RELEASE})
option(BUILD_HATCHET "Build the Hatchet plugin" ON)
option(BUILD_WITH_QT4 "Build Tomahawk with Qt4 instead of Qt5" OFF)
if(UNIX AND NOT APPLE)
set(CRASHREPORTER_ENABLED_BY_DEFAULT OFF)
else()
set(CRASHREPORTER_ENABLED_BY_DEFAULT ON)
endif()
option(WITH_CRASHREPORTER "Build with CrashReporter" ${CRASHREPORTER_ENABLED_BY_DEFAULT})
option(WITH_BINARY_ATTICA "Enable support for downloading binary resolvers automatically" ON)
option(LEGACY_KDE_INTEGRATION "Install tomahawk.protocol file, deprecated since 4.6.0" OFF)
option(WITH_UPOWER "Build with support for UPower events" OFF)
option(WITH_GNOMESHORTCUTHANDLER "Build with shortcut handler for GNOME" OFF)
option(WITH_KDE4 "Build with support for KDE specific stuff" ON)
IF( CMAKE_SYSTEM_PROCESSOR MATCHES "arm" )
message(STATUS "Build of breakpad library disabled on this platform.")
SET(WITH_BREAKPAD OFF)
# build options for development purposes
option(SANITIZE_ADDRESS "Enable Address Sanitizer for memory error detection" OFF)
option(TOMAHAWK_FINEGRAINED_MESSAGES "Enable even more verbose logging (will hurt performance significantly" OFF)
CMAKE_DEPENDENT_OPTION(WITH_UPOWER "Build with support for UPower events" ON
"UNIX;NOT APPLE" OFF)
CMAKE_DEPENDENT_OPTION(WITH_GNOMESHORTCUTHANDLER "Build with shortcut handler for GNOME" ON
"UNIX;NOT APPLE" OFF)
IF( CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/libcrashreporter-qt/CMakeLists.txt")
message(STATUS "Build of crashreporter disabled.")
SET(WITH_CRASHREPORTER OFF)
ENDIF()
# add definitions based on build options
IF( WITH_BREAKPAD )
message(STATUS "Build with support for breakpad.")
IF( CMAKE_COMPILER_IS_GNUCXX )
ADD_DEFINITIONS( -DSTDC_HEADERS -std=gnu++98 )
# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTDC_HEADERS -std=gnu++98" )
ENDIF()
ENDIF()
# generate version string
# base string used in release and unstable builds
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION_MAJOR}.${TOMAHAWK_VERSION_MINOR}.${TOMAHAWK_VERSION_PATCH} )
SET( TOMAHAWK_VERSION_SHORT "${TOMAHAWK_VERSION}" )
SET( TOMAHAWK_VERSION_TMP "${TOMAHAWK_VERSION_MAJOR}.${TOMAHAWK_VERSION_MINOR}.${TOMAHAWK_VERSION_PATCH}")
SET( TOMAHAWK_VERSION_SHORT "${TOMAHAWK_VERSION_TMP}" )
IF( TOMAHAWK_VERSION_RC )
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION}rc${TOMAHAWK_VERSION_RC} )
SET( TOMAHAWK_VERSION_TMP "${TOMAHAWK_VERSION_TMP}rc${TOMAHAWK_VERSION_RC}")
ENDIF()
# additional info for non-release builds
IF( NOT BUILD_RELEASE AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git/" )
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} )
SET( TOMAHAWK_VERSION_TMP ${TOMAHAWK_VERSION_TMP}.${TOMAHAWK_VERSION_DATE} )
ENDIF()
INCLUDE( CMakeVersionSource )
IF( CMAKE_VERSION_SOURCE )
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION}-${CMAKE_VERSION_SOURCE} )
SET( TOMAHAWK_VERSION_TMP ${TOMAHAWK_VERSION_TMP}-${CMAKE_VERSION_SOURCE} )
ENDIF()
ENDIF()
# write Tomahawk version to cache
SET(TOMAHAWK_VERSION "${TOMAHAWK_VERSION_TMP}" CACHE STRING "Tomahawk Version")
# set paths
SET( THIRDPARTY_DIR ${CMAKE_SOURCE_DIR}/thirdparty )
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}" )
@@ -102,20 +159,40 @@ INCLUDE( TomahawkCPack.cmake )
INCLUDE( MacroOptionalFindPackage )
INCLUDE( MacroLogFeature )
# headless mode
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 ***" )
endif()
message( STATUS "Building Tomahawk ${TOMAHAWK_VERSION} ***" )
if( NOT BUILD_WITH_QT4 )
find_package(Qt5Core QUIET)
if( Qt5Core_DIR )
find_package(Qt5Widgets QUIET)
message(STATUS "Found Qt5! Be aware that Qt5-support is still experimental and not officially supported!")
# CMAKE 2.8.13+/3.0.0+ requires these for IMPORTed targets
find_package(Qt5Concurrent REQUIRED)
find_package(Qt5Svg REQUIRED)
find_package(Qt5UiTools REQUIRED)
find_package(Qt5WebKitWidgets REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Xml REQUIRED)
find_package(Qt5X11Extras NO_MODULE QUIET)
if(Qt5X11Extras_FOUND)
set(HAVE_X11 TRUE)
else()
set(HAVE_X11 FALSE)
endif()
message(STATUS "Found Qt5!")
if( UNIX AND NOT APPLE )
# We need this to find the paths to qdbusxml2cpp and co
find_package(Qt5DBus REQUIRED)
endif()
if(APPLE)
find_package(Qt5MacExtras REQUIRED)
endif()
if(WIN32)
find_package(Qt5WinExtras REQUIRED)
endif()
macro(qt_wrap_ui)
qt5_wrap_ui(${ARGN})
@@ -130,26 +207,31 @@ if( NOT BUILD_WITH_QT4 )
qt5_add_translation(${ARGN})
endmacro()
macro(qt_add_dbus_interface)
qt5_add_dbus_interface(${ARGN})
endmacro()
if( UNIX AND NOT APPLE )
macro(qt_add_dbus_interface)
qt5_add_dbus_interface(${ARGN})
endmacro()
macro(qt_add_dbus_adaptor)
qt5_add_dbus_adaptor(${ARGN})
endmacro()
macro(qt_add_dbus_adaptor)
qt5_add_dbus_adaptor(${ARGN})
endmacro()
endif()
macro(setup_qt)
endmacro()
set(QT_RCC_EXECUTABLE "${Qt5Core_RCC_EXECUTABLE}")
#FIXME: CrashReporter depends on deprecated QHttp
set(WITH_CRASHREPORTER OFF)
set(WITH_BREAKPAD OFF)
set(WITH_KDE4 OFF)
endif()
endif()
if( NOT Qt5Core_DIR )
message(STATUS "Could not find Qt5, searching for Qt4 instead...")
if(NOT FORCE_QT4)
message(FATAL_ERROR "Qt4 support is broken, if you plan to fix it, add -DFORCE_QT4=ON to your cmake arguments otherwise you should compile Tomahawk with Qt5")
endif()
set(NEEDED_QT4_COMPONENTS "QtCore" "QtXml" "QtNetwork")
if( BUILD_GUI )
list(APPEND NEEDED_QT4_COMPONENTS "QtGui" "QtWebkit" "QtUiTools" "QtSvg")
@@ -159,7 +241,7 @@ if( NOT Qt5Core_DIR )
endif()
macro_optional_find_package(Qt4 4.7.0 COMPONENTS ${NEEDED_QT4_COMPONENTS} )
macro_log_feature(QT4_FOUND "Qt" "A cross-platform application and UI framework" "http://qt.nokia.com" TRUE "" "If you see this, although libqt4-devel is installed, check whether the \n qtwebkit-devel package and whatever contains QtUiTools is installed too")
macro_log_feature(QT4_FOUND "Qt" "A cross-platform application and UI framework" "http://qt-project.org" TRUE "" "If you see this, although libqt4-devel is installed, check whether the \n qtwebkit-devel package and whatever contains QtUiTools is installed too")
macro(qt5_use_modules)
endmacro()
@@ -198,49 +280,94 @@ if( NOT Qt5Core_DIR )
include( ${QT_USE_FILE} )
endmacro()
# Qt5 C++11 Macros not defined within Qt4
# TODO: Add C++11 support
tomahawk_add_definitions( "-DQ_DECL_FINAL=" )
tomahawk_add_definitions( "-DQ_DECL_OVERRIDE=" )
endif()
if( Qt5Core_DIR )
set( TOMAHAWK_QT5_TMP TRUE)
else( Qt5Core_DIR )
set( TOMAHAWK_QT5_TMP FALSE )
endif( Qt5Core_DIR )
set( TOMAHAWK_QT5 ${TOMAHAWK_QT5_TMP} CACHE BOOL "Build Tomahawk with Qt5")
if( BUILD_GUI AND UNIX AND NOT APPLE )
find_package( X11 )
macro_optional_find_package( X11 )
macro_log_feature(X11_FOUND "X11" "The Xorg libraries" "http://www.x.org/wiki/" TRUE "" "Xorg libraries are used by libqnetwm to bring windows to front reliably")
endif()
IF( UNIX AND NOT APPLE AND QT_QTDBUS_FOUND )
SET( WITH_UPOWER ON )
SET( WITH_GNOMESHORTCUTHANDLER ON )
ENDIF( UNIX AND NOT APPLE AND QT_QTDBUS_FOUND )
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")
include(CheckCXXCompilerFlag)
check_cxx_compiler_flag( "-std=c++11" CXX11_FOUND )
check_cxx_compiler_flag( "-std=c++0x" CXX0X_FOUND )
check_cxx_compiler_flag( "-stdlib=libc++" LIBCPP_FOUND )
if(CXX11_FOUND)
tomahawk_add_cxx_flags( "-std=c++11" )
elseif(CXX0X_FOUND)
tomahawk_add_cxx_flags( "-std=c++0x" )
else()
message(STATUS "${CMAKE_CXX_COMPILER} does not support C++11, please use a
different compiler")
endif()
if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR APPLE) AND LIBCPP_FOUND)
tomahawk_add_cxx_flags( "-stdlib=libc++" )
endif()
macro_optional_find_package(Echonest 2.1.0)
macro_log_feature(ECHONEST_FOUND "Echonest" "Qt library for communicating with The Echo Nest" "http://projects.kde.org/libechonest" TRUE "" "libechonest 2.1.0 is needed for dynamic playlists and the infosystem")
macro_optional_find_package(Echonest 2.3.0)
macro_log_feature(ECHONEST_FOUND "Echonest" "Qt library for communicating with The Echo Nest" "http://projects.kde.org/libechonest" TRUE "" "libechonest 2.3.0 is needed for dynamic playlists and the infosystem")
macro_optional_find_package(CLucene 0.9.23)
macro_log_feature(CLucene_FOUND "CLucene" "The open-source, C++ search engine" "http://clucene.sf.net" TRUE "" "CLucene is used for indexing the collection")
find_package(Boost REQUIRED COMPONENTS filesystem system)
macro_log_feature(Boost_FOUND "Boost" "Provides free peer-reviewed portable C++ source libraries" "http://www.boost.org" TRUE "" "") #FIXME: give useful explanation
macro_optional_find_package(QJSON)
macro_log_feature(QJSON_FOUND "QJson" "Qt library that maps JSON data to QVariant objects" "http://qjson.sf.net" TRUE "" "libqjson is used for encoding communication between Tomahawk instances")
macro_optional_find_package(Lucene++ 3.0.0)
macro_log_feature(LUCENEPP_FOUND "Lucene++" "The open-source, C++ search engine" "https://github.com/luceneplusplus/LucenePlusPlus/" TRUE "" "Lucene++ is used for indexing the collection")
macro_optional_find_package(Taglib 1.6.0)
if( NOT TOMAHAWK_QT5 )
macro_optional_find_package(QJSON 0.8.1)
macro_log_feature(QJSON_FOUND "QJson" "Qt library that maps JSON data to QVariant objects" "http://qjson.sf.net" TRUE "" "libqjson is used for encoding communication between Tomahawk instances")
ENDIF()
macro_optional_find_package(Taglib 1.8.0)
macro_log_feature(TAGLIB_FOUND "TagLib" "Audio Meta-Data Library" "http://developer.kde.org/~wheeler/taglib.html" TRUE "" "taglib is needed for reading meta data from audio files")
include( CheckTagLibFileName )
check_taglib_filename( COMPLEX_TAGLIB_FILENAME )
find_package(Boost REQUIRED)
macro_log_feature(Boost_FOUND "Boost" "Provides free peer-reviewed portable C++ source libraries" "http://www.boost.org" TRUE "" "") #FIXME: give useful explanation
macro_optional_find_package(Sparsehash)
macro_log_feature(SPARSEHASH_FOUND "Sparsehash"
"An extremely memory-efficient hash_map implementation."
"https://code.google.com/p/sparsehash/" TRUE ""
"Sparsehash is needed for reading metadata of mediastreams and fast
forward/backward seeking in HTTP streams")
macro_optional_find_package(QCA2)
macro_optional_find_package(GnuTLS)
macro_log_feature(GNUTLS_FOUND "GnuTLS"
"GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them."
"http://gnutls.org/" TRUE ""
"GnuTLS is needed for serving the Playdar/HTTP API via TLS")
if( TOMAHAWK_QT5 )
macro_optional_find_package(Qca-qt5)
if(Qca-qt5_DIR)
set(QCA2_FOUND ON CACHE BOOL "QCA2 was found")
set(QCA2_LIBRARIES "qca-qt5" CACHE STRING "QCA2 Qt5 target")
endif()
else()
macro_optional_find_package(QCA2)
endif()
macro_log_feature(QCA2_FOUND "QCA2" "Provides encryption and signing functions necessary for some resolvers and accounts" "http://delta.affinix.com/qca/" TRUE "" "")
macro_optional_find_package(LibAttica 0.4.0)
macro_log_feature(LIBATTICA_FOUND "libattica" "Provides support for installation of resolvers from the Tomahawk website" "https://projects.kde.org/projects/kdesupport/attica" TRUE "" "")
if( TOMAHAWK_QT5 )
macro_optional_find_package(KF5Attica 1.0.0)
set(LIBATTICA_FOUND ${KF5Attica_FOUND})
else()
macro_optional_find_package(LibAttica 0.4.0)
endif()
macro_log_feature(LIBATTICA_FOUND "libattica" "Provides support for installation of resolvers from the Tomahawk website" "http://download.kde.org/stable/attica/" TRUE "" "")
macro_optional_find_package(QuaZip)
macro_log_feature(QuaZip_FOUND "QuaZip" "Provides support for extracting downloaded resolvers automatically." "http://quazip.sourceforge.net/" TRUE "" "")
macro_log_feature(QUAZIP_FOUND "QuaZip" "Provides support for extracting downloaded resolvers automatically." "http://quazip.sourceforge.net/" TRUE "" "")
macro_optional_find_package(Jreen 1.0.5)
macro_log_feature(JREEN_FOUND "Jreen" "Qt XMPP Library" "http://qutim.org/jreen / https://github.com/euroelessar/jreen" FALSE "" "Jreen is needed for the Jabber SIP plugin.\n")
@@ -248,14 +375,26 @@ if( PC_JREEN_VERSION STREQUAL "1.1.0" )
message(FATAL_ERROR "Jreen 1.1.0 has a very annoying bug that breaks accepting auth requests in Tomahawk. Please upgrade to 1.1.1 or downgrade to 1.0.5.")
endif()
macro_optional_find_package(QTweetLib)
macro_log_feature(QTWEETLIB_FOUND "QTweetLib" "Qt Twitter Library" "https://github.com/minimoog/QTweetLib" FALSE "" "QTweetLib is needed for the Twitter SIP plugin.\n")
macro_optional_find_package(LibLastFm 1.0.0)
macro_log_feature(LIBLASTFM_FOUND "liblastfm" "Qt library for the Last.fm webservices" "https://github.com/lastfm/liblastfm" TRUE "" "liblastfm is needed for scrobbling tracks to Last.fm and fetching cover artwork")
macro_optional_find_package(QtKeychain 0.1.0)
if( NOT APPLE )
if( TOMAHAWK_QT5 )
macro_optional_find_package(Qt5Keychain 0.1.0)
else()
macro_optional_find_package(QtKeychain 0.1.0)
endif()
macro_log_feature(QTKEYCHAIN_FOUND "QtKeychain" "Provides support for secure credentials storage" "https://github.com/frankosterfeld/qtkeychain" TRUE "" "")
endif()
if( UNIX AND NOT APPLE )
macro_optional_find_package(TelepathyQt 0.9.3)
if ( TOMAHAWK_QT5 )
macro_log_feature(TelepathyQt5_FOUND "Telepathy-Qt" "Telepathy-Qt is a Qt high-level binding for Telepathy, a D-Bus framework for unifying real time communication." FALSE "" "Telepathy-Qt is needed for sharing Jabber/GTalk accounts with Telepathy.\n")
else ( TOMAHAWK_QT5)
macro_log_feature(TelepathyQt4_FOUND "Telepathy-Qt" "Telepathy-Qt is a Qt high-level binding for Telepathy, a D-Bus framework for unifying real time communication." FALSE "" "Telepathy-Qt is needed for sharing Jabber/GTalk accounts with Telepathy.\n")
endif()
endif()
# we need pthreads too
macro_optional_find_package(Threads)
@@ -267,7 +406,14 @@ if( WIN32 )
macro_log_feature(QTSPARKLE_FOUND "qtsparkle" "Library for creating auto updaters written in Qt" "https://github.com/davidsansome/qtsparkle" FALSE "" "")
endif( WIN32 )
#TODO: support external qxt
if( WIN32 OR APPLE )
macro_optional_find_package(LibsnoreQt5 0.6.0 QUIET)
macro_log_feature(LibsnoreQt5_FOUND "Libsnore" "Library for notifications" "https://projects.kde.org/projects/playground/libs/snorenotify" FALSE "" "")
endif()
find_package(LIBVLC REQUIRED 2.1.0)
macro_log_feature(LIBVLC_FOUND "LibVLC" "Provides audio output" "https://www.videolan.org/vlc/" TRUE "" "")
set(QXTWEB_FOUND TRUE)
set(QXTWEB_LIBRARIES qxtweb-standalone)
set(QXTWEB_INCLUDE_DIRS ${THIRDPARTY_DIR}/qxt/qxtweb-standalone/web ${THIRDPARTY_DIR}/qxt/qxtweb-standalone/network ${THIRDPARTY_DIR}/qxt/qxtweb-standalone/core ${CMAKE_CURRENT_BINARY_DIR})
@@ -292,13 +438,13 @@ add_subdirectory(${THIRDPARTY_DIR}/libportfwd)
#### submodules end
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
if (WITH_KDE4)
macro_optional_find_package(KDE4)
macro_optional_find_package(KDE4Installed)
endif(WITH_KDE4)
macro_log_feature(KDE4_FOUND "KDE4" "Provides support for configuring Telepathy Accounts from inside Tomahawk" "https://www.kde.org" FALSE "" "")
# macro_optional_find_package(KDE4)
IF( KDE4_FOUND )
IF( CMAKE_C_FLAGS )
# KDE4 adds and removes some compiler flags that we don't like
@@ -321,33 +467,48 @@ CONFIGURE_FILE(
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
# 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")
# KDE4 defines an uninstall target for us automatically (and at least with Qt4 Phonon does as well no matter if kdelibs was found)
# IF( NOT KDE4_FOUND )
# ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
# ENDIF()
IF( ( NOT APPLE ) AND ( NOT SANITIZE_ADDRESS ))
# Make linking as strict on linux as it is on osx. Then we don't break linking on mac so often
#
# On using Address Sanitizer, we cannot link to the ASAN lib, so
# --no-undefined would break the build.
SET( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined" )
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
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined" )
ENDIF( NOT APPLE )
IF ( SANITIZE_ADDRESS )
SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address -fno-omit-frame-pointer")
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fno-omit-frame-pointer")
ENDIF()
SET( TOMAHAWK_LIBRARIES tomahawklib )
SET( TOMAHAWK_WIDGETS_LIBRARIES tomahawk-widgets )
# Early configure these files as we need them later on
configure_file(TomahawkUse.cmake.in "${PROJECT_BINARY_DIR}/TomahawkUse.cmake" @ONLY)
file(COPY TomahawkAddPlugin.cmake DESTINATION "${PROJECT_BINARY_DIR}")
file(COPY TomahawkAddLibrary.cmake DESTINATION "${PROJECT_BINARY_DIR}")
SET( TOMAHAWK_LIBRARY ${TOMAHAWK_BASE_TARGET_NAME}lib )
SET( TOMAHAWK_LIBRARIES ${TOMAHAWK_LIBRARY} )
SET( TOMAHAWK_WIDGETS_LIBRARIES ${TOMAHAWK_BASE_TARGET_NAME}-widgets )
SET( TOMAHAWK_PLAYDARAPI_LIBRARIES ${TOMAHAWK_BASE_TARGET_NAME}-playdarapi )
ADD_SUBDIRECTORY( thirdparty )
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( admin )
if( BUILD_TESTS )
enable_testing()
add_subdirectory( tests )
endif()
IF(BUILD_TESTS)
enable_testing()
ADD_SUBDIRECTORY( src/tests )
ENDIF()
# Add all targets to the build-tree export set
set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/Tomahawk" CACHE PATH "Installation directory for CMake files")
set(CMAKE_INSTALL_FULL_CMAKEDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_CMAKEDIR}")
export(TARGETS tomahawklib
export(TARGETS ${TOMAHAWK_LIBRARY}
FILE "${PROJECT_BINARY_DIR}/TomahawkLibraryDepends.cmake")
# Export the package for use from the build-tree
@@ -363,10 +524,6 @@ file(RELATIVE_PATH CONF_REL_INCLUDE_DIR "${CMAKE_INSTALL_FULL_CMAKEDIR}" "${CMAK
configure_file(TomahawkConfig.cmake.in "${PROJECT_BINARY_DIR}/TomahawkConfig.cmake" @ONLY)
configure_file(TomahawkConfigVersion.cmake.in "${PROJECT_BINARY_DIR}/TomahawkConfigVersion.cmake" @ONLY)
file(COPY TomahawkUse.cmake DESTINATION "${PROJECT_BINARY_DIR}")
file(COPY TomahawkAddPlugin.cmake DESTINATION "${PROJECT_BINARY_DIR}")
file(COPY TomahawkAddLibrary.cmake DESTINATION "${PROJECT_BINARY_DIR}")
# Install the cmake files
install(
FILES

View File

@@ -1,114 +0,0 @@
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>
# Copyright (c) 2006, 2007, Laurent Montel, <montel@kde.org>
# Copyright (c) 2007 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 [in KDE repositories].
# adds application icon to target source list
# for detailed documentation see the top of FindKDE4Internal.cmake
macro (KDE4_ADD_APP_ICON appsources pattern)
set (_outfilename ${CMAKE_CURRENT_BINARY_DIR}/${appsources})
if (WIN32)
if(NOT WINCE)
find_program(PNG2ICO_EXECUTABLE NAMES png2ico)
else(NOT WINCE)
find_program(PNG2ICO_EXECUTABLE NAMES png2ico PATHS ${HOST_BINDIR} NO_DEFAULT_PATH )
endif(NOT WINCE)
find_program(WINDRES_EXECUTABLE NAMES windres)
if(MSVC)
set(WINDRES_EXECUTABLE TRUE)
endif(MSVC)
if (PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE)
string(REPLACE "*" "(.*)" pattern_rx "${pattern}")
file(GLOB files "${pattern}")
foreach (it ${files})
string(REGEX REPLACE "${pattern_rx}" "\\1" fn "${it}")
if (fn MATCHES ".*16.*" )
list (APPEND _icons ${it})
endif (fn MATCHES ".*16.*")
if (fn MATCHES ".*32.*" )
list (APPEND _icons ${it})
endif (fn MATCHES ".*32.*")
if (fn MATCHES ".*48.*" )
list (APPEND _icons ${it})
endif (fn MATCHES ".*48.*")
if (fn MATCHES ".*64.*" )
list (APPEND _icons ${it})
endif (fn MATCHES ".*64.*")
if (fn MATCHES ".*128.*" )
list (APPEND _icons ${it})
endif (fn MATCHES ".*128.*")
endforeach (it)
if (_icons)
add_custom_command(OUTPUT ${_outfilename}.ico ${_outfilename}.rc
COMMAND ${PNG2ICO_EXECUTABLE} ARGS --rcfile ${_outfilename}.rc ${_outfilename}.ico ${_icons}
DEPENDS ${PNG2ICO_EXECUTABLE} ${_icons}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
if (MINGW)
add_custom_command(OUTPUT ${_outfilename}_res.o
COMMAND ${WINDRES_EXECUTABLE} ARGS -i ${_outfilename}.rc -o ${_outfilename}_res.o --include-dir=${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ${WINDRES_EXECUTABLE} ${_outfilename}.rc
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
list(APPEND ${appsources} ${_outfilename}_res.o)
else(MINGW)
list(APPEND ${appsources} ${_outfilename}.rc)
endif(MINGW)
else(_icons)
message(STATUS "Unable to find a related icon that matches pattern ${pattern} for variable ${appsources} - application will not have an application icon!")
endif(_icons)
else(PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE)
message(STATUS "Unable to find the png2ico or windres utilities - application will not have an application icon!")
endif(PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE)
endif(WIN32)
if (Q_WS_MAC)
# first convert image to a tiff using the Mac OS X "sips" utility,
# then use tiff2icns to convert to an icon
find_program(SIPS_EXECUTABLE NAMES sips)
find_program(TIFF2ICNS_EXECUTABLE NAMES tiff2icns)
if (SIPS_EXECUTABLE AND TIFF2ICNS_EXECUTABLE)
file(GLOB_RECURSE files "${pattern}")
# we can only test for the 128-icon like that - we don't use patterns anymore
foreach (it ${files})
if (it MATCHES ".*128.*" )
set (_icon ${it})
endif (it MATCHES ".*128.*")
endforeach (it)
if (_icon)
# first, get the basename of our app icon
add_custom_command(OUTPUT ${_outfilename}.icns ${outfilename}.tiff
COMMAND ${SIPS_EXECUTABLE} -s format tiff ${_icon} --out ${outfilename}.tiff
COMMAND ${TIFF2ICNS_EXECUTABLE} ${outfilename}.tiff ${_outfilename}.icns
DEPENDS ${_icon}
)
# This will register the icon into the bundle
set(MACOSX_BUNDLE_ICON_FILE ${appsources}.icns)
# Append the icns file to the sources list so it will be a dependency to the
# main target
list(APPEND ${appsources} ${_outfilename}.icns)
# Install the icon into the Resources dir in the bundle
set_source_files_properties(${_outfilename}.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
else(_icon)
# TODO - try to scale a non-128 icon...? Try to convert an SVG on the fly?
message(STATUS "Unable to find an 128x128 icon that matches pattern ${pattern} for variable ${appsources} - application will not have an application icon!")
endif(_icon)
else(SIPS_EXECUTABLE AND TIFF2ICNS_EXECUTABLE)
message(STATUS "Unable to find the sips and tiff2icns utilities - application will not have an application icon!")
endif(SIPS_EXECUTABLE AND TIFF2ICNS_EXECUTABLE)
endif(Q_WS_MAC)
endmacro (KDE4_ADD_APP_ICON)

View File

@@ -1,132 +0,0 @@
#
# 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
# CLUCENE_VERSION = The CLucene version string
# CLucene_FOUND = set to 1 if clucene is found
#
INCLUDE(CheckSymbolExists)
INCLUDE(FindLibraryWithDebug)
# try to locate a patched unstable version (for comp's sake *sigh*) first
FIND_PACKAGE(CLuceneUnstable QUIET)
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)
ENDIF(EXISTS ${PROJECT_CMAKE}/CLuceneConfig.cmake)
SET(TRIAL_LIBRARY_PATHS
$ENV{CLUCENE_HOME}/lib${LIB_SUFFIX}
${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
/usr/local/lib${LIB_SUFFIX}
/usr/lib${LIB_SUFFIX}
/sw/lib${LIB_SUFFIX}
/usr/pkg/lib${LIB_SUFFIX}
/usr/lib64
/usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}
)
SET(TRIAL_INCLUDE_PATHS
$ENV{CLUCENE_HOME}/include
${CMAKE_INSTALL_PREFIX}/include
/usr/local/include
/usr/include
/sw/include
/usr/pkg/include
)
FIND_LIBRARY_WITH_DEBUG(CLUCENE_CORE_LIBRARY
WIN32_DEBUG_POSTFIX d
NAMES clucene-core
PATHS ${TRIAL_LIBRARY_PATHS})
IF (CLUCENE_CORE_LIBRARY)
MESSAGE(STATUS "Found CLucene core library: ${CLUCENE_CORE_LIBRARY}")
ENDIF (CLUCENE_CORE_LIBRARY)
FIND_LIBRARY_WITH_DEBUG(CLUCENE_SHARED_LIBRARY
WIN32_DEBUG_POSTFIX d
NAMES clucene-shared
PATHS ${TRIAL_LIBRARY_PATHS})
IF (CLUCENE_SHARED_LIBRARY)
MESSAGE(STATUS "Found CLucene shared library: ${CLUCENE_SHARED_LIBRARY}")
ENDIF (CLUCENE_SHARED_LIBRARY)
IF(CLUCENE_CORE_LIBRARY AND CLUCENE_SHARED_LIBRARY)
SET(CLUCENE_LIBRARIES ${CLUCENE_CORE_LIBRARY} ${CLUCENE_SHARED_LIBRARY})
ENDIF(CLUCENE_CORE_LIBRARY AND CLUCENE_SHARED_LIBRARY)
FIND_PATH(CLUCENE_INCLUDE_DIR
NAMES CLucene.h
PATHS ${TRIAL_INCLUDE_PATHS})
IF (CLUCENE_INCLUDE_DIR)
MESSAGE(STATUS "Found CLucene include dir: ${CLUCENE_INCLUDE_DIR}")
ENDIF (CLUCENE_INCLUDE_DIR)
IF(WIN32)
SET(TRIAL_LIBRARY_PATHS ${CLUCENE_INCLUDE_DIR})
ENDIF(WIN32)
SET(CLUCENE_GOOD_VERSION TRUE)
FIND_PATH(CLUCENE_LIBRARY_DIR
NAMES CLuceneConfig.cmake/CLuceneConfig.cmake CLucene/CLuceneConfig.cmake
PATHS ${TRIAL_LIBRARY_PATHS} ${TRIAL_INCLUDE_PATHS} NO_DEFAULT_PATH)
IF (CLUCENE_LIBRARY_DIR)
MESSAGE(STATUS "Found CLucene library dir: ${CLUCENE_LIBRARY_DIR}")
# include CLuceneConfig/CLuceneConfig.cmake
IF(EXISTS ${CLUCENE_LIBRARY_DIR}/CLuceneConfig.cmake/CLuceneConfig.cmake)
INCLUDE(${CLUCENE_LIBRARY_DIR}/CLuceneConfig.cmake/CLuceneConfig.cmake)
ENDIF(EXISTS ${CLUCENE_LIBRARY_DIR}/CLuceneConfig.cmake/CLuceneConfig.cmake)
# include CLucene/CLuceneConfig.cmake
IF(EXISTS ${CLUCENE_LIBRARY_DIR}/CLucene/CLuceneConfig.cmake)
INCLUDE(${CLUCENE_LIBRARY_DIR}/CLucene/CLuceneConfig.cmake)
ENDIF(EXISTS ${CLUCENE_LIBRARY_DIR}/CLucene/CLuceneConfig.cmake)
IF (CLUCENE_VERSION STRLESS "${CLUCENE_MIN_VERSION}")
MESSAGE(ERROR " CLucene version ${CLUCENE_VERSION} is less than the required minimum ${CLUCENE_MIN_VERSION}")
SET(CLUCENE_GOOD_VERSION FALSE)
ENDIF (CLUCENE_VERSION STRLESS "${CLUCENE_MIN_VERSION}")
IF (CLUCENE_VERSION STREQUAL "0.9.17")
MESSAGE(ERROR "CLucene version 0.9.17 is not supported.")
SET(CLUCENE_GOOD_VERSION FALSE)
ENDIF (CLUCENE_VERSION STREQUAL "0.9.17")
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}")
ENDIF(NOT CLucene_FIND_QUIETLY)
ELSE(CLucene_FOUND)
IF(CLucene_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find CLucene.")
ENDIF(CLucene_FIND_REQUIRED)
ENDIF(CLucene_FOUND)
MARK_AS_ADVANCED(
CLUCENE_INCLUDE_DIRS
CLUCENE_INCLUDE_DIR
CLUCENE_LIBRARY_DIR
CLUCENE_LIBRARIES
)

View File

@@ -1,37 +0,0 @@
# - 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,9 +6,14 @@
# ECHONEST_FOUND, whether libechonest was found
FIND_PACKAGE(PkgConfig QUIET)
PKG_CHECK_MODULES(PC_ECHONEST QUIET libechonest)
FIND_PATH(ECHONEST_INCLUDE_DIR NAMES echonest/Track.h
if( TOMAHAWK_QT5 )
set(LIBECHONEST_SUFFIX "5")
endif()
PKG_CHECK_MODULES(PC_ECHONEST QUIET libechonest${LIBECHONEST_SUFFIX})
FIND_PATH(ECHONEST_INCLUDE_DIR NAMES echonest${LIBECHONEST_SUFFIX}/Track.h
HINTS
${PC_ECHONEST_INCLUDEDIR}
${PC_ECHONEST_INCLUDE_DIRS}
@@ -16,7 +21,7 @@ FIND_PATH(ECHONEST_INCLUDE_DIR NAMES echonest/Track.h
${KDE4_INCLUDE_DIR}
)
FIND_LIBRARY(ECHONEST_LIBRARIES NAMES echonest
FIND_LIBRARY(ECHONEST_LIBRARIES NAMES echonest${LIBECHONEST_SUFFIX}
HINTS
${PC_ECHONEST_LIBDIR}
${PC_ECHONEST_LIBRARY_DIRS}
@@ -26,6 +31,7 @@ FIND_LIBRARY(ECHONEST_LIBRARIES NAMES echonest
IF(ECHONEST_LIBRARIES AND ECHONEST_INCLUDE_DIR AND NOT PC_ECHONEST_VERSION)
MESSAGE(WARNING "You don't have pkg-config and so the libechonest version check does not work!")
set(PC_ECHONEST_VERSION "999.9.9")
ENDIF()
INCLUDE(FindPackageHandleStandardArgs)

View File

@@ -6,7 +6,13 @@
# LIBJREEN_FOUND, whether libjreen was found
FIND_PACKAGE(PkgConfig QUIET)
PKG_CHECK_MODULES(PC_JREEN QUIET libjreen)
if( TOMAHAWK_QT5 )
set(JREEN_LIB_SUFFIX "-qt5")
set(JREEN_INCLUDE_SUFFIX ${JREEN_LIB_SUFFIX})
else()
set(JREEN_INCLUDE_SUFFIX "-qt4")
endif()
PKG_CHECK_MODULES(PC_JREEN QUIET libjreen${JREEN_LIB_SUFFIX})
FIND_PATH(JREEN_INCLUDE_DIR NAMES jreen/jreen.h
HINTS
@@ -14,9 +20,12 @@ FIND_PATH(JREEN_INCLUDE_DIR NAMES jreen/jreen.h
${PC_JREEN_INCLUDE_DIRS}
${CMAKE_INSTALL_INCLUDEDIR}
${KDE4_INCLUDE_DIR}
PATH_SUFFIXES
jreen${JREEN_INCLUDE_SUFFIX}
)
FIND_LIBRARY(JREEN_LIBRARIES NAMES jreen
FIND_LIBRARY(JREEN_LIBRARIES NAMES jreen${JREEN_LIB_SUFFIX}
HINTS
${PC_JREEN_LIBDIR}
${PC_JREEN_LIBRARY_DIRS}

View File

@@ -0,0 +1,34 @@
find_package(PkgConfig QUIET)
pkg_check_modules(PC_LIBVLC QUIET libvlc)
set(LIBVLC_DEFINITIONS ${PC_LIBVLC_CFLAGS_OTHER})
find_path(LIBVLC_INCLUDE_DIR vlc/vlc.h
HINTS
${PC_LIBVLC_INCLUDEDIR}
${PC_LIBVLC_INCLUDE_DIRS}
/usr/local/opt/vlc/include
)
find_library(LIBVLC_LIBRARY NAMES vlc libvlc
HINTS
${PC_LIBVLC_LIBDIR}
${PC_LIBVLC_LIBRARY_DIRS}
/usr/local/opt/vlc/lib
)
set(LIBVLC_VERSION ${PC_LIBVLC_VERSION})
include(CheckCXXSourceCompiles)
check_cxx_source_compiles("
#include <vlc/libvlc.h>
#include <vlc/libvlc_media.h>
int main(int argc, char *argv[]) {
libvlc_meta_t meta = libvlc_meta_AlbumArtist;
}"
HAVE_VLC_ALBUMARTIST)
find_package_handle_standard_args(LibVLC
REQUIRED_VARS LIBVLC_LIBRARY LIBVLC_INCLUDE_DIR
VERSION_VAR LIBVLC_VERSION
)

View File

@@ -7,16 +7,20 @@
# (c) Dominik Schmidt <dev@dominik-schmidt.de>
#
if( TOMAHAWK_QT5 )
set(LASTFM_LIB_SUFFIX "5")
endif()
# Include dir
find_path(LIBLASTFM_INCLUDE_DIR
# Track.h doesn't exist in liblastfm-0.3.1, was called Track back then
NAMES lastfm/Track.h
NAMES lastfm${LASTFM_LIB_SUFFIX}/Track.h
PATHS ${KDE4_INCLUDE_DIR}
)
# Finally the library itself
find_library(LIBLASTFM_LIBRARY
NAMES lastfm
NAMES lastfm${LASTFM_LIB_SUFFIX}
PATHS ${KDE4_LIB_DIR}
)

View File

@@ -0,0 +1,103 @@
#
# This module looks for lucene++ support
# It will define the following values
#
# LUCENEPP_INCLUDE_DIRS = LUCENEPP_INCLUDE_DIR + LUCENEPP_LIBRARY_DIR
# LUCENEPP_INCLUDE_DIR = where lucene++/Lucene.h can be found
# LUCENEPP_LIBRARY_DIR = where liblucene++.so can be found
# LUCENEPP_LIBRARIES = the libraries to link against lucene++
# LUCENEPP_VERSION = The lucene++ version string
# LUCENEPP_FOUND = set to 1 if lucene++ is found
#
INCLUDE(CheckSymbolExists)
INCLUDE(FindLibraryWithDebug)
IF(LUCENEPP_FIND_VERSION)
SET(LUCENEPP_MIN_VERSION ${LUCENEPP_FIND_VERSION})
ELSEIF()
SET(LUCENEPP_MIN_VERSION "3.0.0")
ENDIF(LUCENEPP_FIND_VERSION)
SET(TRIAL_LIBRARY_PATHS
$ENV{LUCENEPP_HOME}/lib${LIB_SUFFIX}
${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
${CMAKE_INSTALL_PREFIX}/lib
/usr/local/lib${LIB_SUFFIX}
/usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE}
/usr/lib${LIB_SUFFIX}
/sw/lib${LIB_SUFFIX}
/usr/pkg/lib${LIB_SUFFIX}
/usr/lib64
/usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}
)
SET(TRIAL_INCLUDE_PATHS
$ENV{LUCENEPP_HOME}/include
${CMAKE_INSTALL_PREFIX}/include
/usr/local/include
/usr/include
/sw/include
/usr/pkg/include
)
FIND_LIBRARY_WITH_DEBUG(LUCENEPP_CORE_LIBRARY
WIN32_DEBUG_POSTFIX d
NAMES lucene++
PATHS ${TRIAL_LIBRARY_PATHS})
IF (LUCENEPP_CORE_LIBRARY)
MESSAGE(STATUS "Found Lucene++ core library: ${LUCENEPP_CORE_LIBRARY}")
ENDIF (LUCENEPP_CORE_LIBRARY)
FIND_LIBRARY_WITH_DEBUG(LUCENEPP_SHARED_LIBRARY
WIN32_DEBUG_POSTFIX d
NAMES lucene++-contrib
PATHS ${TRIAL_LIBRARY_PATHS})
IF (LUCENEPP_SHARED_LIBRARY)
MESSAGE(STATUS "Found Lucene++ contrib library: ${LUCENEPP_SHARED_LIBRARY}")
ENDIF (LUCENEPP_SHARED_LIBRARY)
IF(LUCENEPP_CORE_LIBRARY AND LUCENEPP_SHARED_LIBRARY)
SET(LUCENEPP_LIBRARIES ${LUCENEPP_CORE_LIBRARY} ${LUCENEPP_SHARED_LIBRARY} ${Boost_SYSTEM_LIBRARY})
ENDIF(LUCENEPP_CORE_LIBRARY AND LUCENEPP_SHARED_LIBRARY)
FIND_PATH(LUCENEPP_INCLUDE_DIR
NAMES lucene++/Lucene.h
PATHS ${TRIAL_INCLUDE_PATHS})
IF (LUCENEPP_INCLUDE_DIR)
MESSAGE(STATUS "Found Lucene++ include dir: ${LUCENEPP_INCLUDE_DIR}")
ENDIF (LUCENEPP_INCLUDE_DIR)
SET(LUCENEPP_GOOD_VERSION TRUE)
FIND_PATH(LUCENEPP_LIBRARY_DIR
NAMES liblucene++.dylib liblucene++.so liblucene++.dll.a lucene++
PATHS ${TRIAL_LIBRARY_PATHS} ${TRIAL_INCLUDE_PATHS} NO_DEFAULT_PATH)
IF (LUCENEPP_LIBRARY_DIR)
MESSAGE(STATUS "Found Lucene++ library dir: ${LUCENEPP_LIBRARY_DIR}")
IF (LUCENEPP_VERSION STRLESS "${LUCENEPP_MIN_VERSION}")
MESSAGE(ERROR " Lucene++ version ${LUCENEPP_VERSION} is less than the required minimum ${LUCENEPP_MIN_VERSION}")
SET(LUCENEPP_GOOD_VERSION FALSE)
ENDIF (LUCENEPP_VERSION STRLESS "${LUCENEPP_MIN_VERSION}")
ENDIF (LUCENEPP_LIBRARY_DIR)
IF(LUCENEPP_INCLUDE_DIR AND LUCENEPP_LIBRARIES AND LUCENEPP_LIBRARY_DIR AND LUCENEPP_GOOD_VERSION)
SET(LUCENEPP_FOUND TRUE)
SET(LUCENEPP_INCLUDE_DIRS ${LUCENEPP_LIBRARY_DIR} ${LUCENEPP_INCLUDE_DIR})
ENDIF(LUCENEPP_INCLUDE_DIR AND LUCENEPP_LIBRARIES AND LUCENEPP_LIBRARY_DIR AND LUCENEPP_GOOD_VERSION)
IF(LUCENEPP_FOUND)
IF(NOT LUCENEPP_FIND_QUIETLY)
MESSAGE(STATUS "Found Lucene++: ${LUCENEPP_LIBRARIES} version ${LUCENEPP_VERSION}")
ENDIF(NOT LUCENEPP_FIND_QUIETLY)
ELSE(LUCENEPP_FOUND)
IF(LUCENEPP_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find Lucene++.")
ENDIF(LUCENEPP_FIND_REQUIRED)
ENDIF(LUCENEPP_FOUND)
MARK_AS_ADVANCED(
LUCENEPP_INCLUDE_DIRS
LUCENEPP_INCLUDE_DIR
LUCENEPP_LIBRARY_DIR
LUCENEPP_LIBRARIES
)

View File

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

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

@@ -5,13 +5,19 @@
# QTSPARKLE_LIBRARY, the path to qtsparkle
# QTSPARKLE_FOUND, whether qtsparkle was found
FIND_PATH(QTSPARKLE_INCLUDE_DIR NAMES qtsparkle/Updater
if( TOMAHAWK_QT5 )
set(QTSPARKLE_SUFFIX "-qt5")
else()
set(QTSPARKLE_SUFFIX "")
endif()
FIND_PATH(QTSPARKLE_INCLUDE_DIR NAMES qtsparkle${QTSPARKLE_SUFFIX}/Updater
HINTS
${CMAKE_INSTALL_INCLUDEDIR}
${KDE4_INCLUDE_DIR}
)
FIND_LIBRARY(QTSPARKLE_LIBRARIES NAMES qtsparkle
FIND_LIBRARY(QTSPARKLE_LIBRARIES NAMES qtsparkle${QTSPARKLE_SUFFIX}
HINTS
${CMAKE_INSTALL_LIBDIR}
${KDE4_LIB_DIR}

View File

@@ -1,10 +1,43 @@
find_path(QuaZip_INCLUDE_DIR quazip/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()
# QUAZIP_FOUND - QuaZip library was found
# QUAZIP_INCLUDE_DIR - Path to QuaZip include dir
# QUAZIP_INCLUDE_DIRS - Path to QuaZip and zlib include dir (combined from QUAZIP_INCLUDE_DIR + ZLIB_INCLUDE_DIR)
# QUAZIP_LIBRARIES - List of QuaZip libraries
# QUAZIP_ZLIB_INCLUDE_DIR - The include dir of zlib headers
IF (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES)
# in cache already
SET(QUAZIP_FOUND TRUE)
ELSE (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES)
IF (Qt5Core_FOUND)
set(QUAZIP_LIB_VERSION_SUFFIX 5)
ENDIF()
IF (WIN32)
FIND_PATH(QUAZIP_LIBRARY_DIR
WIN32_DEBUG_POSTFIX d
NAMES libquazip${QUAZIP_LIB_VERSION_SUFFIX}.dll
HINTS "C:/Programme/" "C:/Program Files"
PATH_SUFFIXES QuaZip/lib
)
FIND_LIBRARY(QUAZIP_LIBRARIES NAMES libquazip${QUAZIP_LIB_VERSION_SUFFIX}.dll HINTS ${QUAZIP_LIBRARY_DIR})
FIND_PATH(QUAZIP_INCLUDE_DIR NAMES quazip.h HINTS ${QUAZIP_LIBRARY_DIR}/../ PATH_SUFFIXES include/quazip${QUAZIP_LIB_VERSION_SUFFIX})
FIND_PATH(QUAZIP_ZLIB_INCLUDE_DIR NAMES zlib.h)
ELSE(WIN32)
FIND_PACKAGE(PkgConfig)
# pkg_check_modules(PC_QCA2 QUIET qca2)
pkg_check_modules(PC_QUAZIP quazip)
FIND_LIBRARY(QUAZIP_LIBRARIES
WIN32_DEBUG_POSTFIX d
NAMES quazip${QUAZIP_LIB_VERSION_SUFFIX}
HINTS /usr/lib /usr/lib64
)
FIND_PATH(QUAZIP_INCLUDE_DIR quazip.h
HINTS /usr/include /usr/local/include
PATH_SUFFIXES quazip${QUAZIP_LIB_VERSION_SUFFIX}
)
FIND_PATH(QUAZIP_ZLIB_INCLUDE_DIR zlib.h HINTS /usr/include /usr/local/include)
ENDIF (WIN32)
INCLUDE(FindPackageHandleStandardArgs)
SET(QUAZIP_INCLUDE_DIRS ${QUAZIP_INCLUDE_DIR} ${QUAZIP_ZLIB_INCLUDE_DIR})
find_package_handle_standard_args(QUAZIP DEFAULT_MSG QUAZIP_LIBRARIES QUAZIP_INCLUDE_DIR QUAZIP_ZLIB_INCLUDE_DIR QUAZIP_INCLUDE_DIRS)
ENDIF (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES)

View File

@@ -0,0 +1,25 @@
# - Find google-sparsehash
# Find the google-sparsehash includes
# This module defines
# SPARSEHASH_INCLUDE_DIR, root jreen include dir.
# SPARSEHASH_FOUND, whether libjreen was found
FIND_PACKAGE(PkgConfig QUIET)
PKG_CHECK_MODULES(PC_SPARSEHASH QUIET libsparsehash)
FIND_PATH(SPARSEHASH_INCLUDE_DIR NAMES google/sparsetable
HINTS
${PC_SPARSEHASH_INCLUDEDIR}
${PC_SPARSEHASH_INCLUDE_DIRS}
${CMAKE_INSTALL_INCLUDEDIR}
)
IF(SPARSEHASH_INCLUDE_DIR AND NOT PC_SPARSEHASH_VERSION)
MESSAGE(WARNING "You don't have pkg-config and so the google-sparsehash version check does not work!")
ENDIF()
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Sparsehash
REQUIRED_VARS SPARSEHASH_INCLUDE_DIR)
MARK_AS_ADVANCED(SPARSEHASH_INCLUDE_DIR)

View File

@@ -34,10 +34,10 @@ ELSE()
exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
if(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
if(TAGLIB_VERSION VERSION_LESS "${TAGLIB_MIN_VERSION}")
message(STATUS "TagLib version not found: version searched :${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}")
set(TAGLIB_FOUND FALSE)
else(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
else(TAGLIB_VERSION VERSION_LESS "${TAGLIB_MIN_VERSION}")
exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES)
@@ -48,7 +48,7 @@ ELSE()
# message(STATUS "Found taglib: ${TAGLIB_LIBRARIES}")
endif(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS)
string(REGEX REPLACE " *-I" ";" TAGLIB_INCLUDES "${TAGLIB_CFLAGS}")
endif(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
endif(TAGLIB_VERSION VERSION_LESS "${TAGLIB_MIN_VERSION}")
mark_as_advanced(TAGLIB_CFLAGS TAGLIB_LIBRARIES TAGLIB_INCLUDES)
else(TAGLIBCONFIG_EXECUTABLE)

View File

@@ -0,0 +1,27 @@
# Copyright (c) 2013, Teo Mrnjavac <teo@kde.org>
include(FindPackageHandleStandardArgs)
if( NOT BUILD_WITH_QT4 )
find_package(TelepathyQt5 NO_MODULE)
set(TelepathyQt_FOUND ${TelepathyQt5_FOUND})
set(TELEPATHY_QT_VERSION ${TELEPATHY_QT5_VERSION})
set(TELEPATHY_QT_INSTALL_DIR ${TELEPATHY_QT5_INSTALL_DIR})
set(TELEPATHY_QT_INCLUDE_DIR ${TELEPATHY_QT5_INCLUDE_DIR})
set(TELEPATHY_QT_LIB_DIR ${TELEPATHY_QT5_LIB_DIR})
set(TELEPATHY_QT_SHARE_DIR ${TELEPATHY_QT5_SHARE_DIR})
set(TELEPATHY_QT_LIBRARIES ${TELEPATHY_QT5_LIBRARIES})
else()
find_package(TelepathyQt4 NO_MODULE)
set(TelepathyQt_FOUND ${TelepathyQt4_FOUND})
set(TELEPATHY_QT_VERSION ${TELEPATHY_QT4_VERSION})
set(TELEPATHY_QT_INSTALL_DIR ${TELEPATHY_QT4_INSTALL_DIR})
set(TELEPATHY_QT_INCLUDE_DIR ${TELEPATHY_QT4_INCLUDE_DIR})
set(TELEPATHY_QT_LIB_DIR ${TELEPATHY_QT4_LIB_DIR})
set(TELEPATHY_QT_SHARE_DIR ${TELEPATHY_QT4_SHARE_DIR})
set(TELEPATHY_QT_LIBRARIES ${TELEPATHY_QT4_LIBRARIES})
endif()
set(TELEPATHY_QT_FOUND ${TelepathyQt_FOUND})
find_package_handle_standard_args(TelepathyQt DEFAULT_MSG TELEPATHY_QT_INSTALL_DIR )

View File

@@ -15,16 +15,24 @@
;-----------------------------------------------------------------------------
; Some paths.
;-----------------------------------------------------------------------------
!ifndef MING_PATH
!define MING_PATH "/usr/i686-w64-mingw32/sys-root/mingw"
!ifndef MINGW_ROOT
!define MINGW_ROOT "/usr/i686-w64-mingw32/sys-root/mingw"
!endif
!define MING_BIN "${MING_PATH}/bin"
!define MING_LIB "${MING_PATH}/lib"
!define APPLICATION_NAME "@CPACK_PACKAGE_NAME@"
!define TARGET_NAME "@CPACK_PACKAGE_TARGET_NAME@"
;define app id needed for Windows 8 notifications
!define AppUserModelId "@TOMAHAWK_APPLICATION_PACKAGE_NAME@"
!define MINGW_BIN "${MINGW_ROOT}/bin"
!define MINGW_LIB "${MINGW_ROOT}/lib"
!define MINGW_SHARE "${MINGW_ROOT}/share"
!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"
!define QT_DLL_PATH "${MINGW_BIN}"
!define QT_QML_PATH "${MINGW_SHARE}/qt5/qml"
!define SQLITE_DLL_PATH "${MINGW_LIB}/qt5/plugins/sqldrivers"
!define IMAGEFORMATS_DLL_PATH "${MINGW_LIB}/qt5/plugins/imageformats"
; We use official release plugins
; mingw32-vlc from obs misses a lot and has even broken ones probably
@@ -52,11 +60,11 @@
; Initial installer setup and definitions.
;-----------------------------------------------------------------------------
Name "@CPACK_NSIS_PACKAGE_NAME@"
Caption "Tomahawk Installer"
BrandingText "Tomahawk ${VERSION} -- ${BUILD_TIME}"
Caption "${APPLICATION_NAME} Installer"
BrandingText "${APPLICATION_NAME} ${VERSION} -- ${BUILD_TIME}"
OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
InstallDir "$PROGRAMFILES\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
InstallDirRegKey HKCU "Software\Tomahawk" ""
InstallDirRegKey HKCU "Software\{APPLICATION_NAME}" ""
InstType Standard
InstType Full
InstType Minimal
@@ -79,12 +87,18 @@ ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
!include WinVer.nsh ;Windows version detection.
!include WordFunc.nsh ;Used by VersionCompare macro function.
!include UAC.nsh ;Used by the UAC elevation to install as user or admin.
!include ${NSI_PATH}\SnoreNotify.nsh ; Macro for creation of a shortcut with a AppUserModelId.
;-----------------------------------------------------------------------------
; Memento selections stored in registry.
;-----------------------------------------------------------------------------
!define MEMENTO_REGISTRY_ROOT HKLM
!define MEMENTO_REGISTRY_KEY Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk
!define MEMENTO_REGISTRY_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}"
;-----------------------------------------------------------------------------
; Setup macros for the creation of a shortcut supporting Windows 8 notifications.
;-----------------------------------------------------------------------------
!define SnoreToastExe "$INSTDIR\SnoreToast.exe"
;-----------------------------------------------------------------------------
; Modern User Interface (MUI) defintions and setup.
@@ -147,7 +161,7 @@ Function LaunchTomahawk
FunctionEnd
Function LaunchTomahawkAsUser
Exec "$INSTDIR\tomahawk.exe"
Exec "$INSTDIR\${APPLICATION_NAME}.exe"
FunctionEnd
##############################################################################
@@ -157,31 +171,31 @@ FunctionEnd
##############################################################################
!macro CheckForProcess processName gotoWhenFound gotoWhenNotFound
Processes::FindProcess ${processName}
StrCmp $R0 "0" ${gotoWhenNotFound} ${gotoWhenFound}
Processes::FindProcess "${processName}"
StrCmp $R0 "0" "${gotoWhenNotFound}" "${gotoWhenFound}"
!macroend
!macro ConfirmEndProcess processName
!macro ConfirmEndProcess processTitle 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:
IDYES "process_${processTitle}_kill" IDNO "process_${processTitle}_ended"
process_${processTitle}_kill:
DetailPrint "Killing ${processName} processes."
Processes::KillProcess ${processName}
Processes::KillProcess "${processName}"
Sleep 1500
StrCmp $R0 "1" process_${processName}_ended
StrCmp $R0 "1" "process_${processTitle}_ended"
DetailPrint "Process to kill not found!"
process_${processName}_ended:
process_${processTitle}_ended:
!macroend
!macro CheckAndConfirmEndProcess processName
!insertmacro CheckForProcess ${processName} 0 no_process_${processName}_to_end
!insertmacro ConfirmEndProcess ${processName}
no_process_${processName}_to_end:
!macro CheckAndConfirmEndProcess processTitle processName
!insertmacro CheckForProcess "${processName}" 0 "no_process_${processTitle}_to_end"
!insertmacro ConfirmEndProcess "${processTitle}" "${processName}"
no_process_${processTitle}_to_end:
!macroend
Function EnsureTomahawkShutdown
!insertmacro CheckAndConfirmEndProcess "tomahawk.exe"
!insertmacro CheckAndConfirmEndProcess "${TARGET_NAME}" "${APPLICATION_NAME}.exe"
FunctionEnd
##############################################################################
@@ -191,40 +205,40 @@ FunctionEnd
##############################################################################
Function PageReinstall
ReadRegStr $R0 HKLM "Software\Tomahawk" ""
ReadRegStr $R0 HKLM "Software\${APPLICATION_NAME}" ""
StrCmp $R0 "" 0 +2
Abort
;Detect version
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionMajor"
ReadRegDWORD $R0 HKLM "Software\${APPLICATION_NAME}" "VersionMajor"
IntCmp $R0 ${VER_MAJOR} minor_check new_version older_version
minor_check:
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionMinor"
ReadRegDWORD $R0 HKLM "Software\${APPLICATION_NAME}" "VersionMinor"
IntCmp $R0 ${VER_MINOR} build_check new_version older_version
build_check:
ReadRegDWORD $R0 HKLM "Software\Tomahawk" "VersionBuild"
ReadRegDWORD $R0 HKLM "Software\${APPLICATION_NAME}" "VersionBuild"
IntCmp $R0 ${VER_BUILD} same_version new_version older_version
new_version:
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "An older version of Tomahawk is installed on your system. It is recommended that you uninstall the current version before installing. Select the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "An older version of ${APPLICATION_NAME} 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."
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose how you want to install ${APPLICATION_NAME}."
StrCpy $R0 "1"
Goto reinst_start
older_version:
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "A newer version of Tomahawk is already installed! It is not recommended that you install an older version. If you really want to install this older version, it is better to uninstall the current version first. Select the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "A newer version of ${APPLICATION_NAME} 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."
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose how you want to install ${APPLICATION_NAME}."
StrCpy $R0 "1"
Goto reinst_start
same_version:
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "Tomahawk ${VERSION} is already installed.\r\nSelect the operation you want to perform and click Next to continue."
!insertmacro INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 1" "Text" "${APPLICATION_NAME} ${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 INSTALLOPTIONS_WRITE "NSIS.InstallOptions.ini" "Field 3" "Text" "Uninstall ${APPLICATION_NAME}"
!insertmacro MUI_HEADER_TEXT "Already Installed" "Choose the maintenance option to perform."
StrCpy $R0 "2"
@@ -239,12 +253,12 @@ Function PageLeaveReinstall
StrCmp $R0 "2" 0 +3
StrCmp $R1 "1" reinst_done reinst_uninstall
reinst_uninstall:
ReadRegStr $R1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "UninstallString"
ReadRegStr $R1 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "UninstallString"
HideWindow
ClearErrors
ExecWait '$R1 _?=$INSTDIR'
IfErrors no_remove_uninstaller
IfFileExists "$INSTDIR\tomahawk.exe" no_remove_uninstaller
IfFileExists "$INSTDIR\${APPLICATION_NAME}.exe" no_remove_uninstaller
Delete $R1
RMDir $INSTDIR
no_remove_uninstaller:
@@ -260,38 +274,40 @@ FunctionEnd
# INSTALLER SECTIONS #
# #
##############################################################################
Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
Section "${APPLICATION_NAME}" SEC_TOMAHAWK_PLAYER
SectionIn 1 2 3 RO
SetDetailsPrint listonly
SetDetailsPrint textonly
DetailPrint "Installing Tomahawk Player essentials."
DetailPrint "Installing ${APPLICATION_NAME} essentials."
SetDetailsPrint listonly
SetOutPath "$INSTDIR"
!ifdef INSTALL_PATH
;Main executable.
File "${INSTALL_PATH}\bin\tomahawk.exe"
File "${INSTALL_PATH}\bin\${APPLICATION_NAME}.exe"
File "${INSTALL_PATH}\bin\tomahawk_crash_reporter.exe"
File "${INSTALL_PATH}\bin\${TARGET_NAME}_crash_reporter.exe"
File "${INSTALL_PATH}\bin\libtomahawk.dll"
File "${INSTALL_PATH}\bin\libtomahawk-widgets.dll"
File "${INSTALL_PATH}\bin\lib${TARGET_NAME}.dll"
File "${INSTALL_PATH}\bin\lib${TARGET_NAME}-widgets.dll"
File "${INSTALL_PATH}\bin\lib${TARGET_NAME}-playdarapi.dll"
; plugins
File "${INSTALL_PATH}\lib\libtomahawk_*_*.dll"
File "${INSTALL_PATH}\lib\lib${TARGET_NAME}_*_*.dll"
!endif
!ifndef INSTALL_PATH
;Main executable.
File "${BUILD_PATH}\tomahawk.exe"
File "${BUILD_PATH}\${APPLICATION_NAME}.exe"
File "${BUILD_PATH}\tomahawk_crash_reporter.exe"
File "${BUILD_PATH}\${TARGET_NAME}_crash_reporter.exe"
File "${BUILD_PATH}\libtomahawk.dll"
File "${BUILD_PATH}\libtomahawk-widgets.dll"
File "${BUILD_PATH}\lib${TARGET_NAME}.dll"
File "${BUILD_PATH}\lib${TARGET_NAME}-widgets.dll"
File "${BUILD_PATH}\lib${TARGET_NAME}-playdarapi.dll"
; plugins
File "${BUILD_PATH}\libtomahawk_*_*.dll"
File "${BUILD_PATH}\lib${TARGET_NAME}_*_*.dll"
!endif
;License & release notes.
@@ -299,75 +315,139 @@ Section "Tomahawk Player" SEC_TOMAHAWK_PLAYER
File /oname=NOTES.txt ${NSI_PATH}\RELEASE_NOTES.txt
;QT stuff:
File "${QT_DLL_PATH}\QtCore4.dll"
File "${QT_DLL_PATH}\QtGui4.dll"
File "${QT_DLL_PATH}\QtNetwork4.dll"
File "${QT_DLL_PATH}\QtSql4.dll"
File "${QT_DLL_PATH}\QtScript4.dll"
File "${QT_DLL_PATH}\QtUiTools4.dll"
File "${QT_DLL_PATH}\QtWebKit4.dll"
File "${QT_DLL_PATH}\QtXml4.dll"
File "${QT_DLL_PATH}\QtSvg4.dll"
File "${QT_DLL_PATH}\Qt5Network.dll"
File "${QT_DLL_PATH}\Qt5Qml.dll"
File "${QT_DLL_PATH}\Qt5Sql.dll"
File "${QT_DLL_PATH}\Qt5Xml.dll"
File "${QT_DLL_PATH}\Qt5Core.dll"
File "${QT_DLL_PATH}\Qt5OpenGL.dll"
File "${QT_DLL_PATH}\Qt5Quick.dll"
File "${QT_DLL_PATH}\Qt5Svg.dll"
File "${QT_DLL_PATH}\Qt5Widgets.dll"
File "${QT_DLL_PATH}\Qt5Gui.dll"
File "${QT_DLL_PATH}\Qt5PrintSupport.dll"
File "${QT_DLL_PATH}\Qt5Sensors.dll"
File "${QT_DLL_PATH}\Qt5WebKit.dll"
File "${QT_DLL_PATH}\Qt5WinExtras.dll"
File "${QT_DLL_PATH}\Qt5WebKit.dll"
File "${QT_DLL_PATH}\Qt5WebKitWidgets.dll"
File "${QT_DLL_PATH}\Qt5Multimedia.dll"
File "${QT_DLL_PATH}\Qt5MultimediaWidgets.dll"
File "${QT_DLL_PATH}\Qt5Positioning.dll"
;SQLite driver
SetOutPath "$INSTDIR\sqldrivers"
File "${SQLITE_DLL_PATH}\qsqlite4.dll"
SetOutPath "$INSTDIR"
;Qt deps
File "${QT_DLL_PATH}\libpcre16-0.dll"
File "${QT_DLL_PATH}\libxml2-2.dll"
File "${QT_DLL_PATH}\libxslt-1.dll"
File "${QT_DLL_PATH}\libEGL.dll"
File "${QT_DLL_PATH}\libGLESv2.dll"
File "${QT_DLL_PATH}\libwebp-5.dll"
File "${QT_DLL_PATH}\icuuc56.dll"
File "${QT_DLL_PATH}\icudata56.dll"
File "${QT_DLL_PATH}\icui18n56.dll"
;Image plugins
SetOutPath "$INSTDIR\imageformats"
File "${IMAGEFORMATS_DLL_PATH}\qgif4.dll"
File "${IMAGEFORMATS_DLL_PATH}\qjpeg4.dll"
File "${IMAGEFORMATS_DLL_PATH}\qsvg4.dll"
SetOutPath "$INSTDIR"
;SQLite driver
SetOutPath "$INSTDIR\sqldrivers"
File "${SQLITE_DLL_PATH}\qsqlite.dll"
SetOutPath "$INSTDIR"
File "${MINGW_BIN}\libsqlite3-0.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"
;Qt platform plugins
SetOutPath "$INSTDIR\platforms"
File "${MINGW_LIB}/qt5/plugins/platforms/qwindows.dll"
SetOutPath "$INSTDIR"
;Phonon stuff
File "${MING_BIN}\libphonon.dll"
SetOutPath "$INSTDIR\phonon_backend"
File "${VLC_BIN}\phonon_backend\phonon_vlc.dll"
SetOutPath "$INSTDIR"
;Image plugins
SetOutPath "$INSTDIR\imageformats"
File "${IMAGEFORMATS_DLL_PATH}\qgif.dll"
File "${IMAGEFORMATS_DLL_PATH}\qjpeg.dll"
File "${IMAGEFORMATS_DLL_PATH}\qsvg.dll"
SetOutPath "$INSTDIR"
;VLC
File "${VLC_BIN}\libvlc.dll"
File "${VLC_BIN}\libvlccore.dll"
SetOutPath "$INSTDIR\plugins"
File /r "${VLC_PLUGIN_PATH}\*.dll"
SetOutPath "$INSTDIR"
;Qt qml plugins
SetOutPath "$INSTDIR\QtQuick.2"
File /r /x *.debug "${QT_QML_PATH}\QtQuick.2\*"
SetOutPath "$INSTDIR\QtQuick\Window.2"
File /r /x *.debug "${QT_QML_PATH}\QtQuick\Window.2\*"
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"
;Cygwin/c++ stuff
File "${MINGW_BIN}\libgcc_s_sjlj-1.dll"
File "${MINGW_BIN}\libstdc++-6.dll"
File "${MING_BIN}\libechonest.dll"
File "${MING_BIN}\liblastfm.dll"
File "${MING_BIN}\libQTweetLib.dll"
File "${MING_BIN}\libquazip.dll"
File "${MING_BIN}\libqtkeychain.dll"
;VLC
File "${VLC_BIN}\libvlc.dll"
File "${VLC_BIN}\libvlccore.dll"
SetOutPath "$INSTDIR\plugins"
File /r "${VLC_PLUGIN_PATH}\*.dll"
SetOutPath "$INSTDIR"
; Other
File "${MINGW_BIN}\libtag.dll"
File "${MINGW_BIN}\libpng16-16.dll"
File "${MINGW_BIN}\libjpeg-8.dll"
File "${MINGW_BIN}\zlib1.dll"
File "${MINGW_BIN}\libfreetype-6.dll"
File "${MINGW_BIN}\libglib-2.0-0.dll"
File "${MINGW_BIN}\libharfbuzz-0.dll"
; ANGLE
File "${MINGW_BIN}\D3DCompiler_43.dll"
File "${MINGW_BIN}\libechonest5.dll"
File "${MINGW_BIN}\liblastfm5.dll"
File "${MINGW_BIN}\libquazip5.dll"
File "${MINGW_BIN}\libqt5keychain.dll"
; GnuTLS
File "${MINGW_BIN}\libgnutls-28.dll"
File "${MINGW_BIN}\libtasn1-6.dll"
File "${MINGW_BIN}\libgmp-10.dll"
File "${MINGW_BIN}\libhogweed-4-1.dll"
File "${MINGW_BIN}\libintl-8.dll"
File "${MINGW_BIN}\libnettle-6-1.dll"
File "${MINGW_BIN}\libp11-kit-0.dll"
File "${MINGW_BIN}\libffi-6.dll"
; Snorenotify
File "${MINGW_BIN}\SnoreToast.exe"
File "${MINGW_BIN}\libsnore-qt5.dll"
File "${MINGW_BIN}\libsnoresettings-qt5.dll"
File "${MINGW_BIN}\snoresettings.exe"
File "${MINGW_LIB}\plugins\libsnore-qt5\libsnore_backend_growl.dll"
File "${MINGW_LIB}\plugins\libsnore-qt5\libsnore_settings_backend_growl.dll"
File "${MINGW_LIB}\plugins\libsnore-qt5\libsnore_backend_snarl.dll"
File "${MINGW_LIB}\plugins\libsnore-qt5\libsnore_settings_backend_snarl.dll"
File "${MINGW_LIB}\plugins\libsnore-qt5\libsnore_backend_snore.dll"
File "${MINGW_LIB}\plugins\libsnore-qt5\libsnore_settings_backend_snore.dll"
File "${MINGW_LIB}\plugins\libsnore-qt5\libsnore_backend_windowstoast.dll"
; Snoregrowl
File "${MINGW_BIN}\libsnoregrowl++.dll"
File "${MINGW_BIN}\libsnoregrowl.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 "${MINGW_BIN}\libjreen-qt5.dll"
File "${MINGW_BIN}\libidn-11.dll"
File "${MINGW_BIN}\libgsasl-7.dll"
File "${MINGW_BIN}\libqca-qt5.dll"
SetOutPath "$INSTDIR\crypto"
File "${MINGW_LIB}\qca-qt5\crypto\libqca-ossl.dll"
SetOutPath "$INSTDIR"
File "${MINGW_BIN}\libssl-10.dll"
File "${MINGW_BIN}\libcrypto-10.dll"
File "${MING_BIN}\libclucene-core.dll"
File "${MING_BIN}\libclucene-shared.dll"
; LucenePlusPlus
File "${MINGW_BIN}\liblucene++.dll"
File "${MINGW_BIN}\libboost_system-mt.dll"
File "${MINGW_BIN}\libboost_filesystem-mt.dll"
File "${MINGW_BIN}\libboost_iostreams-mt.dll"
File "${MINGW_BIN}\libboost_regex-mt.dll"
File "${MINGW_BIN}\libboost_thread-mt.dll"
File "${MINGW_BIN}\libbz2-1.dll"
File "${MING_BIN}\libqtsparkle.dll"
File "${MING_BIN}\libattica.dll"
File "${MINGW_BIN}\libqtsparkle-qt5.dll"
File "${MINGW_BIN}\libKF5Attica.dll"
SectionEnd
SectionGroup "Shortcuts"
@@ -376,15 +456,16 @@ SectionGroup "Shortcuts"
${MementoSection} "Start Menu Program Group" SEC_START_MENU
SectionIn 1 2
SetDetailsPrint textonly
DetailPrint "Adding shortcuts for the Tomahawk program group to the Start Menu."
DetailPrint "Adding shortcuts for the ${APPLICATION_NAME} program group to the Start Menu."
SetDetailsPrint listonly
SetShellVarContext all
RMDir /r "$SMPROGRAMS\Tomahawk"
CreateDirectory "$SMPROGRAMS\Tomahawk"
CreateShortCut "$SMPROGRAMS\Tomahawk\LICENSE.lnk" "$INSTDIR\LICENSE.txt"
CreateShortCut "$SMPROGRAMS\Tomahawk\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
CreateShortCut "$SMPROGRAMS\Tomahawk\Release notes.lnk" "$INSTDIR\NOTES.txt"
CreateShortCut "$SMPROGRAMS\Tomahawk\Uninstall.lnk" "$INSTDIR\uninstall.exe"
RMDir /r "$SMPROGRAMS\${APPLICATION_NAME}"
CreateDirectory "$SMPROGRAMS\${APPLICATION_NAME}"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\LICENSE.lnk" "$INSTDIR\LICENSE.txt"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Notification Settings.lnk" "$INSTDIR\snoresettings.exe" "-a ${APPLICATION_NAME}"
!insertmacro SnoreShortcut "$SMPROGRAMS\${APPLICATION_NAME}\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_NAME}.exe" "${AppUserModelId}"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Release notes.lnk" "$INSTDIR\NOTES.txt"
CreateShortCut "$SMPROGRAMS\${APPLICATION_NAME}\Uninstall.lnk" "$INSTDIR\uninstall.exe"
SetShellVarContext current
${MementoSectionEnd}
!endif
@@ -395,7 +476,7 @@ SectionGroup "Shortcuts"
SetDetailsPrint textonly
DetailPrint "Creating Desktop Shortcuts"
SetDetailsPrint listonly
CreateShortCut "$DESKTOP\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
CreateShortCut "$DESKTOP\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_NAME}.exe"
${MementoSectionEnd}
!endif
@@ -405,7 +486,7 @@ SectionGroup "Shortcuts"
SetDetailsPrint textonly
DetailPrint "Creating Quick Launch Shortcut"
SetDetailsPrint listonly
CreateShortCut "$QUICKLAUNCH\Tomahawk.lnk" "$INSTDIR\tomahawk.exe"
CreateShortCut "$QUICKLAUNCH\${APPLICATION_NAME}.lnk" "$INSTDIR\${APPLICATION_NAME}.exe"
${MementoSectionEnd}
!endif
@@ -416,10 +497,10 @@ ${MementoSectionDone}
; Installer section descriptions
;--------------------------------
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_TOMAHAWK_PLAYER} "Tomahawk player essentials."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_START_MENU} "Tomahawk program group."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_DESKTOP} "Desktop shortcut for Tomahawk."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QUICK_LAUNCH} "Quick Launch shortcut for Tomahawk."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_TOMAHAWK_PLAYER} "${APPLICATION_NAME} essentials."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_START_MENU} "${APPLICATION_NAME} program group."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_DESKTOP} "Desktop shortcut for ${APPLICATION_NAME}."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_QUICK_LAUNCH} "Quick Launch shortcut for ${APPLICATION_NAME}."
!insertmacro MUI_FUNCTION_DESCRIPTION_END
Section -post
@@ -436,32 +517,98 @@ Section -post
SetDetailsPrint listonly
;Version numbers used to detect existing installation version for comparisson.
WriteRegStr HKLM "Software\Tomahawk" "" $INSTDIR
WriteRegDWORD HKLM "Software\Tomahawk" "VersionMajor" "${VER_MAJOR}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionMinor" "${VER_MINOR}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionRevision" "${REVISION}"
WriteRegDWORD HKLM "Software\Tomahawk" "VersionBuild" "${VER_BUILD}"
WriteRegStr HKLM "Software\${APPLICATION_NAME}" "" $INSTDIR
WriteRegDWORD HKLM "Software\${APPLICATION_NAME}" "VersionMajor" "${VER_MAJOR}"
WriteRegDWORD HKLM "Software\${APPLICATION_NAME}" "VersionMinor" "${VER_MINOR}"
WriteRegDWORD HKLM "Software\${APPLICATION_NAME}" "VersionRevision" "${REVISION}"
WriteRegDWORD HKLM "Software\${APPLICATION_NAME}" "VersionBuild" "${VER_BUILD}"
;Add or Remove Programs entry.
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "UninstallString" '"$INSTDIR\Uninstall.exe"'
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "InstallLocation" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayName" "Tomahawk"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "Publisher" "Tomahawk-player.org"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayIcon" "$INSTDIR\Uninstall.exe,0"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "DisplayVersion" "${VERSION}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "VersionMajor" "${VER_MAJOR}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "VersionMinor" "${VER_MINOR}.${REVISION}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "URLInfoAbout" "http://tomahawk-player.org/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "HelpLink" "http://tomahawk-player.org/"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "NoModify" "1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk" "NoRepair" "1"
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "UninstallString" '"$INSTDIR\Uninstall.exe"'
WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "InstallLocation" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "DisplayName" "${APPLICATION_NAME}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "Publisher" "@TOMAHAWK_ORGANIZATION_DOMAIN@"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "DisplayIcon" "$INSTDIR\Uninstall.exe,0"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "DisplayVersion" "${VERSION}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "VersionMajor" "${VER_MAJOR}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "VersionMinor" "${VER_MINOR}.${REVISION}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "URLInfoAbout" "http://@TOMAHAWK_ORGANIZATION_DOMAIN@/"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "HelpLink" "http://@TOMAHAWK_ORGANIZATION_DOMAIN@/"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "NoModify" "1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "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\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR "tomahawk\shell" "" "open"
WriteRegStr HKCR "tomahawk\shell\open\command" "" '"$INSTDIR\tomahawk.exe" "%1"'
WriteRegStr HKCR "tomahawk\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
; Register file associations
WriteRegStr HKCR ".mp3" "" "MPEG Audio Layer 3"
WriteRegStr HKCR ".mp3\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".mp3\shell" "" "open"
WriteRegStr HKCR ".mp3\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".oga" "" "Ogg Audio File"
WriteRegStr HKCR ".oga\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".oga\shell" "" "open"
WriteRegStr HKCR ".oga\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".ogg" "" "Ogg Audio File"
WriteRegStr HKCR ".ogg\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".ogg\shell" "" "open"
WriteRegStr HKCR ".ogg\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".opus" "" "OPUS File"
WriteRegStr HKCR ".opus\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".opus\shell" "" "open"
WriteRegStr HKCR ".opus\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".mp4" "" "AAC File"
WriteRegStr HKCR ".mp4\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".mp4\shell" "" "open"
WriteRegStr HKCR ".mp4\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".aac" "" "AAC File"
WriteRegStr HKCR ".aac\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".aac\shell" "" "open"
WriteRegStr HKCR ".aac\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".m4a" "" "AAC File"
WriteRegStr HKCR ".m4a\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".m4a\shell" "" "open"
WriteRegStr HKCR ".m4a\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".mpc" "" "Musepack Audio File"
WriteRegStr HKCR ".mpc\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".mpc\shell" "" "open"
WriteRegStr HKCR ".mpc\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".wma" "" "Windows Media Audio"
WriteRegStr HKCR ".wma\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".wma\shell" "" "open"
WriteRegStr HKCR ".wma\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".aiff" "" "AIFF File"
WriteRegStr HKCR ".aiff\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".aiff\shell" "" "open"
WriteRegStr HKCR ".aiff\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".aif" "" "AIFF File"
WriteRegStr HKCR ".aif\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".aif\shell" "" "open"
WriteRegStr HKCR ".aif\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".wv" "" "WavePack Audio File"
WriteRegStr HKCR ".wv\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".wv\shell" "" "open"
WriteRegStr HKCR ".wv\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
WriteRegStr HKCR ".flac" "" "FLAC Audio File"
WriteRegStr HKCR ".flac\DefaultIcon" "" "$INSTDIR\${APPLICATION_NAME}.exe,1"
WriteRegStr HKCR ".flac\shell" "" "open"
WriteRegStr HKCR ".flac\shell\open\command" "" '"$INSTDIR\${APPLICATION_NAME}.exe" "%1"'
SetDetailsPrint textonly
DetailPrint "Finsihed."
@@ -479,7 +626,7 @@ Var UnPageUserAppDataCheckbox_State
Var UnPageUserAppDataEditBox
Function un.UnPageUserAppData
!insertmacro MUI_HEADER_TEXT "Uninstall Tomahawk" "Remove Tomahawk's data folder from your computer."
!insertmacro MUI_HEADER_TEXT "Uninstall ${APPLICATION_NAME}" "Remove ${APPLICATION_NAME}'s data folder from your computer."
nsDialogs::Create /NOUNLOAD 1018
Pop $UnPageUserAppDataDialog
@@ -487,10 +634,10 @@ Function un.UnPageUserAppData
Abort
${EndIf}
${NSD_CreateLabel} 0 0 100% 12u "Do you want to delete Tomahawk's data folder?"
${NSD_CreateLabel} 0 0 100% 12u "Do you want to delete ${APPLICATION_NAME}'s data folder?"
Pop $0
${NSD_CreateText} 0 13u 100% 12u "$LOCALAPPDATA\Tomahawk"
${NSD_CreateText} 0 13u 100% 12u "$LOCALAPPDATA\${APPLICATION_NAME}"
Pop $UnPageUserAppDataEditBox
SendMessage $UnPageUserAppDataEditBox ${EM_SETREADONLY} 1 0
@@ -508,39 +655,41 @@ Function un.UnPageUserAppDataLeave
FunctionEnd
Section Uninstall
IfFileExists "$INSTDIR\tomahawk.exe" tomahawk_installed
MessageBox MB_YESNO "It does not appear that Tomahawk is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?" IDYES tomahawk_installed
IfFileExists "$INSTDIR\${APPLICATION_NAME}.exe" tomahawk_installed
MessageBox MB_YESNO "It does not appear that ${APPLICATION_NAME} is installed in the directory '$INSTDIR'.$\r$\nContinue anyway (not recommended)?" IDYES tomahawk_installed
Abort "Uninstall aborted by user"
tomahawk_installed:
;Delete registry keys.
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Tomahawk"
DeleteRegValue HKLM "Software\Tomahawk" "VersionBuild"
DeleteRegValue HKLM "Software\Tomahawk" "VersionMajor"
DeleteRegValue HKLM "Software\Tomahawk" "VersionMinor"
DeleteRegValue HKLM "Software\Tomahawk" "VersionRevision"
DeleteRegValue HKLM "Software\Tomahawk" ""
DeleteRegKey HKLM "Software\Tomahawk"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}"
DeleteRegValue HKLM "Software\${APPLICATION_NAME}" "VersionBuild"
DeleteRegValue HKLM "Software\${APPLICATION_NAME}" "VersionMajor"
DeleteRegValue HKLM "Software\${APPLICATION_NAME}" "VersionMinor"
DeleteRegValue HKLM "Software\${APPLICATION_NAME}" "VersionRevision"
DeleteRegValue HKLM "Software\${APPLICATION_NAME}" ""
DeleteRegKey HKLM "Software\${APPLICATION_NAME}"
DeleteRegKey HKCR "tomahawk"
;DeleteRegKey HKCR "Software\${APPLICATION_NAME}"
;DeleteRegKey HKCR "Software\${APPLICATION_NAME}Spotify"
DeleteRegKey HKCR "${APPLICATION_NAME}"
;Start menu shortcuts.
!ifdef OPTION_SECTION_SC_START_MENU
SetShellVarContext all
RMDir /r "$SMPROGRAMS\Tomahawk"
RMDir /r "$SMPROGRAMS\${APPLICATION_NAME}"
SetShellVarContext current
!endif
;Desktop shortcut.
!ifdef OPTION_SECTION_SC_DESKTOP
IfFileExists "$DESKTOP\Tomahawk.lnk" 0 +2
Delete "$DESKTOP\Tomahawk.lnk"
IfFileExists "$DESKTOP\${APPLICATION_NAME}.lnk" 0 +2
Delete "$DESKTOP\${APPLICATION_NAME}.lnk"
!endif
;Quick Launch shortcut.
!ifdef OPTION_SECTION_SC_QUICK_LAUNCH
IfFileExists "$QUICKLAUNCH\Tomahawk.lnk" 0 +2
Delete "$QUICKLAUNCH\Tomahawk.lnk"
IfFileExists "$QUICKLAUNCH\${APPLICATION_NAME}.lnk" 0 +2
Delete "$QUICKLAUNCH\${APPLICATION_NAME}.lnk"
!endif
;Remove all the Program Files.
@@ -548,7 +697,7 @@ Section Uninstall
;Uninstall User Data if option is checked, otherwise skip.
${If} $UnPageUserAppDataCheckbox_State == ${BST_CHECKED}
RMDir /r "$LOCALAPPDATA\Tomahawk"
RMDir /r "$LOCALAPPDATA\${APPLICATION_NAME}"
${EndIf}
SetDetailsPrint textonly
@@ -602,7 +751,7 @@ Function .onInit
;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"
ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPLICATION_NAME}" "InstallLocation"
StrCmp $R0 "" SkipSetInstDir
StrCpy $INSTDIR $R0
SkipSetInstDir:

View File

@@ -1,16 +1,91 @@
Version 0.9.0:
* Resolved various playback issues by switching to a new audio engine.
* Fixed collection sorting.
* Fixed volume/mute state not being reset correctly on startup.
Version 0.8.4:
* Fixed drag & drop issues on sidebar.
* Fixed starting Tomahawk with a filename as parameter.
* Update column view when collection changes.
* (Linux) Don't crash on environments with invalid locales.
Version 0.8.3:
* Performance improvements for collection browsing.
* Improved memory footprint.
* Show cloud collections above your friends in the sidebar.
* Keep looking for alternative sources even when we found a perfect match.
* Fixed crash in network code.
* Fixed repeat one/all icons.
* Be more lenient about accepting JSPF and M3U playlists.
* Improved support for compilation albums.
* (Windows) Fixed support for Windows XP.
* (OS X) Fixed settings dialog appearance on Yosemite.
* (OS X) Fixed SSL errors on Yosemite.
Version 0.8.2:
* Show error message if saving tags failed.
* Fixed painting issue on search page.
* (OS X & Windows) Fixed crash during collection scan.
Version 0.8.1:
* Disabled sorting for stations.
* Fixed drag & drop behavior in combination with certain resolvers.
* Fixed infinite scanning recursion.
* Prevented adding dupes to the collection when scanning.
* When playing an artist or album, don't give up when the first track
in list isn't playable.
* Fixed importing M3U playlists.
* Sort album grids by artist name.
* Fixed painting issue on 'More Albums' grid.
* Fixed crash when editing/saving track tags.
Version 0.8.0:
* Redesigned - Shiny new interface. Simplified. New icons.
* Added Friend Feed.
* Now Playing notifications (OS X & Windows) - support for OS-level
notification systems (e.g. Notification Center) with fallback to its own
native notification system.
* Many actions now available in context menu - including Favorite and Send
to a Friend.
* Drag and drop support for iTunes, Deezer, Beats Music, Rdio, Spotify,
SoundCloud links (into Tomahawk) for playlists/tracks/artists/album urls.
* Support for clicking source icon for currently playing track in audio
controls to take user to associated page on source's site.
* Added Hatchet plug-in.
* Added Google Play Music and Beats Music support.
* Add links to Support site, Bug Reports and Translations to Help menu.
* Add "What's New" page to display on first launch (or until dismissed).
Also available from Help menu.
* Changed label from "Resolvers" and "Services" to more generic "Plug-Ins".
* Clarified some labels, help text and status messages.
* Changed icon color a bit.
* Added "Acoustic" and "Electric" songtypes to Stations options.
* Removed some stale Chart sources.
* Playback Queue now saves its state across sessions.
* Queue now moved to sidebar.
* Added "Inbox" feature, showing incoming song recommendations. Dropping
a track on a user in the sidebar sends a recommendation to them.
* You will now be asked whether you want to trust invalid SSL certificates.
* Improved connecting between Tomahawk peers and support having multiple IPs
(including IPv6)
* Added Network Activity showing you the most played tracks of your friends.
* JavaScript-Resolver can now handle URLs (e.g. when dropped from a browser)
and resolve them to Playlists/Tracks/Artists/Albums
Version 0.7.1:
* Improved connecting between Tomahawk peers and support multiple IPs
(including IPv6).
* Removed Top Loved from sidebar.
* Removed Spotify playlist syncing (will return in future versions).
* HTTP(S) streaming is now done by Tomahawk instead of the Phonon backend
(fixed HTTPS streaming on MacOS).
* Heavily reduced memory footprint during and after indexing the database.
* Retina display and DPI scaling fixes.
* New Collection views. Re-added support for tracklist view of Collection.
* Added Telepathy support.
* Plugin refactoring (and .AXE resolver binaries).
* Removed Twitter due to change in Twitter's API.
* Removed auto-playlists.
* Improved error messages.
* Added basic remote control API.
* Add support for Opus codec (requires TagLib 1.9).
* Support rtmp:// streams.
* Support custom headers in CustomUrlHandler.
* Fuzzy search indices for JS Resolvers.
* Add metadata retrieval of HTTP(S) streams in JavaScript resolvers.
Version 0.7.0:
* JavaScript Resolvers can now expose collections.

78
PACKAGING.md Normal file
View File

@@ -0,0 +1,78 @@
# Packaging Tomahawk
General distribution agnostic packaging documentation for Linux.
## Stay up to date!
We will try to keep this document up to date, but we also let our packagers know if our dependencies get important updates - especially if they fix crashes or add new features - or if we add completely new ones. Last but not least, of course we want to let you know about new releases of Tomahawk!
If you want to be notified too subscribe to our [Google Group](https://groups.google.com/forum/#!forum/tomahawk-packagers).
## CMake build options
CMake build options are prefixed with ```-D``` and get their value passed after an ```=```.
You could for example specify the build type like this ```-DCMAKE_BUILD_TYPE=RelWithDebInfo```.
This document contains only options relevant to packaging, to have a complete overview you should check our CMake scripts yourself. Looking at it the other way round, this also means that you should read everything in here really carefully.
##### ```CMAKE_BUILD_TYPE```
Make sure to specify the build type as ```Release``` or even better ```RelWithDebInfo``` if your distribution supports debug packages. If you do not do this, your users might see asserts (that look like crashes to them) which are only really useful to developers.
##### ```CMAKE_INSTALL_LIBDIR``` (PATH)
You can specify the path where Tomahawk install the libs. This is very helpful to support multilib on linux machines.
##### ```CMAKE_SKIP_RPATH``` (boolean) (default: OFF)
Build without using rpath prevents from overriding of the normal library search path, possibly interfering with local policy and causing problems for multilib, among other issues.
##### ```BUILD_RELEASE``` (boolean) (default: OFF)
If you're not using our tarballs you can turn this on to suppress putting Git revision hashes into the version string. This also disables building tools and tests by default (although you can do that manually) it's more future-proof to simply pass ```-DBUILD_RELEASE=ON``` because we might make use of it in later releases.
##### ```BUILD_TOOLS``` (boolean) (default: OFF, when BUILD_RELEASE=ON)
Tomahawk provides some tools that help highlight where crashes (of course we only crash in theory!) come from. To make them really useful, we need debug symbols to be available. If your distribution supports/allows it, you could put them into the -debug package.
##### ```BUILD_HATCHET``` (boolean) (default: ON)
Build the account plugin for Hatchet (http://hatchet.is). Requires [websocketpp](https://github.com/zaphoyd/websocketpp).
##### ```BUILD_WITH_QT4``` (boolean) (default: ON)
This enforces CMake to link against Qt4 regardless of whether Qt5 was found or not. Currently Qt4 is still our main development target, so this is still recommended. If you feel adventurous or are preparing Qt5 repositories for your distribution, feel free to give ```-DBUILD_WITH_QT4=OFF``` a shot.
##### ```WITH_CRASHREPORTER``` (boolean) (default: ON)
The crash reporter is built by default if libcrashreporter-qt is available in ```thirdparty/libcrashreporter-qt/``` (for example via git submodule). Usually distributions don't allow packagers to upload debug symbols to the Tomahawk HQ so to give crash reports more meaning for us, that's why we have no standardised submit process in place yet. If you can do that in your distribution, please get in touch with us!
##### ```WITH_KDE``` (boolean) (default: ON)
The KDE Telepathy plugin to configure Telepathy accounts from our Telepathy plugin can be disabled, if for some reason KDE is available in your build environment but you don't need this plugin.
##### ```WITH_UPOWER``` (boolean) (default on Linux: ON)
Build with support for UPower events.
##### ```WITH_GNOMESHORTCUTHANDLER``` (boolean) (default on Linux: ON)
Build with shortcut handler for GNOME.
#### Runtime dependencies
##### QSql
If your distribution splits the QSqlite plugin for QSql into a separate package, make it a requirement of Tomahawk - otherwise it might fail to start.
##### XMPP / jreen
Either jreen or (at least) Tomahawk's package should require the qca-ossl plugin, otherwise there will be no GTalk/Jabber support.
### Icon caches
In openSUSE there are macros for updating icon caches in KDE and GNOME (```%desktop_database_post[un]``` ```%icon_theme_cache_post[un]```) after [un]installation, check if your distribution offers the same.
### Firewall
Tomahawk offers P2P functionality, if your distribution offers a default firewall, it's nice to support a default profile for the standard Tomahawk P2P-port (50210). (cf. [openSUSE integration](https://build.opensuse.org/package/view_file/KDE:Extra/tomahawk/tomahawk.SuSEfirewall2?expand=1))

176
README.md
View File

@@ -1,68 +1,144 @@
Tomahawk
========
# WHAT TOMAHAWK IS
Compiling and running Tomahawk
------------------------------
Tomahawk is a free multi-source and cross-platform music player. An application that can play not only your local files, but also stream from services like Spotify, Beats, SoundCloud, Google Music, YouTube and many others. You can even connect with your friends' Tomahawks, share your musical gems or listen along with them. Let the music play!
Compile:
![Tomahawk Screenshot](/data/screenshots/tomahawk-screenshot.png?raw=true)
## HOW TOMAHAWK WORKS
Tomahawk is basically a **player for music metadata**. At its core it decouples the metadata about a song from the source and reassembles it for each user based on their individual music accessibility and rights. In short, given the name of a song and artist, Tomahawk will find the right source, for the right user at the right time. This fundamentally different approach to music enables a range of new music consumption and sharing experiences previously not possible.
## MUSIC SOURCES
* Local music library (MP3, Ogg, FLAC and many other formats)
* Networked music libraries (other connected computers)
### Subscription Music Services
* Spotify
* Beats Music
* Google Play Music (on-demand streaming and music locker)
* TIDAL
* Rdio (Android only)
* Deezer (Android only)
### Free Streaming/Music Promotion Platforms
* Soundcloud
* Bandcamp
* Last.fm
* Jamendo
* Official.fm
* YouTube
### Network/Cloud storage
* Ampache
* Owncloud
* Subsonic
* Beets
Third party-developed resolvers have also been written for services like YouTube, Qobuz and others. We've also heard of digital music distributors writing their own for their internal CMSes to help them navigate and preview their content. That's cool.
Packaged binary resolvers (.axes) are available: [here](http://teom.org/axes).
Source code (and examples) can be found in our [Resolver repository](https://github.com/tomahawk-player/tomahawk-resolvers).
## DOWNLOAD TOMAHAWK
You can download one of our nightly or stable builds:
| *BUILD* | MAC / OSX | WINDOWS | LINUX |
|:-------:|:---------:|:-------:|:-----:|
|**NIGHTLY** | [**latest**](http://download.tomahawk-player.org/nightly/mac/Tomahawk-latest.dmg) | [**latest**](http://download.tomahawk-player.org/nightly/windows/tomahawk-latest.exe) | [**latest**](https://launchpad.net/~tomahawk/+archive/ubuntu/nightly) (Ubuntu) |
|**STABLE** | [**0.8.4**](http://download.tomahawk-player.org/Tomahawk-0.8.4.dmg) | [**0.8.4**](http://download.tomahawk-player.org/tomahawk-0.8.4.exe) | [**0.8.4**](http://www.tomahawk-player.org/#page-about) (various distros) |
## BUILD TOMAHAWK
... or you can compile it yourself:
$ mkdir build && cd build
$ cmake ..
$ make
Start the application on Linux:
### Detailed Build Instructions
$ ./tomahawk
| Linux: | [Arch](http://wiki.tomahawk-player.org/index.php/Building_ArchLinux_package) **-** [Debian](http://wiki.tomahawk-player.org/index.php/Building_on_Debian) **-** [Fedora](http://wiki.tomahawk-player.org/index.php/Building_on_Fedora) **-** [openSUSE](http://wiki.tomahawk-player.org/index.php/Building_on_openSUSE) **-** [Ubuntu](http://wiki.tomahawk-player.org/index.php/Building_on_Ubuntu) |
|------:|:------|
| **Windows**: | [**Windows**](http://wiki.tomahawk-player.org/index.php/Building_Windows_Binary) |
| **Mac**: | [**OS X**](http://wiki.tomahawk-player.org/index.php/Building_OS_X_Application_Bundle) |
Start the application on OS X:
$ open tomahawk.app
Detailed building instructions for Ubuntu
-----------------------------------------
See: http://wiki.tomahawk-player.org/index.php/Building_Binary_on_Ubuntu_Precise_(12.04)
Detailed building instructions for OS X
---------------------------------------
See: http://wiki.tomahawk-player.org/index.php/Building_OS_X_Application_Bundle
Doxygen Documentation
---------------------
See: http://dev.tomahawk-player.org/api/classes.html
Dependencies
------------
### Dependencies
Required dependencies:
* CMake 2.8.6 - http://www.cmake.org/
* Qt 4.7.0 - http://qt-project.org/
* Phonon 4.6.0 - http://phonon.kde.org/
* QJson 0.7.1 - http://qjson.sourceforge.net/
* SQLite 3.6.22 - http://www.sqlite.org/
* TagLib 1.6.2 - http://developer.kde.org/~wheeler/taglib.html
* Boost 1.3 - http://www.boost.org/
* CLucene 0.9.23 (0.9.21 will fail) - http://clucene.sourceforge.net/download.shtml
* libechonest 2.0.3 - http://projects.kde.org/projects/playground/libs/libechonest/
* Attica 0.4.0 - ftp://ftp.kde.org/pub/kde/stable/attica/
* QuaZip 0.4.3 - http://quazip.sourceforge.net/
* liblastfm 1.0.1 - https://github.com/lastfm/liblastfm/
* QtKeychain 0.1 - https://github.com/frankosterfeld/qtkeychain/
* [CMake 3](http://www.cmake.org/)
* [Qt 5.4.0](http://qt-project.org/)
* [VLC 2.1.0](https://videolan.org/vlc/)
* [SQLite 3.6.22](http://www.sqlite.org/)
* [TagLib 1.8](https://taglib.github.io/)
* [Boost 1.3](http://www.boost.org/)
* [Lucene++ 3.0.6](https://github.com/luceneplusplus/LucenePlusPlus/)
* [libechonest 2.3.1](http://projects.kde.org/projects/playground/libs/libechonest/)
* [Attica 5.6.0](http://ftp.kde.org/stable/attica/)
* [QuaZip 0.4.3](http://quazip.sourceforge.net/)
* [liblastfm 1.0.9](https://github.com/lastfm/liblastfm/)
* [QtKeychain 0.1](https://github.com/frankosterfeld/qtkeychain/)
* [Sparsehash](https://code.google.com/p/sparsehash/)
* [GnuTLS](http://gnutls.org/)
The following dependencies are optional, but recommended:
The following dependencies are optional (but *recommended*):
* Jreen 1.0.5 (1.1.0 will fail, 1.1.1 is fine) - http://qutim.org/jreen/
* QTweetLib 0.5.0 - https://github.com/minimoog/QTweetLib/
* [Jreen 1.1.1](http://qutim.org/jreen/)
* [Snorenotify 0.5.2](https://github.com/Snorenotify/Snorenotify/)
Third party libraries that we ship with our source:
* MiniUPnP 1.6 - http://miniupnp.free.fr/
* Breakpad - http://code.google.com/p/google-breakpad/
* Qocoa - https://github.com/mikemcquaid/Qocoa/
* libqnetwm - http://code.google.com/p/libqnetwm/
* libqxt (QxtWeb module) - http://libqxt.org/
* SPMediaKeyTap - https://github.com/nevyn/SPMediaKeyTap/
* kdSingleApplicationGuard - http://www.kdab.com/
* [MiniUPnP 1.6](http://miniupnp.free.fr/)
* [Qocoa](https://github.com/mikemcquaid/Qocoa/)
* [libqnetwm](https://code.google.com/p/libqnetwm/)
* [libqxt](http://libqxt.org/) (QxtWeb module)
* [SPMediaKeyTap](https://github.com/nevyn/SPMediaKeyTap/)
* [kdSingleApplicationGuard](http://www.kdab.com/)
Enjoy!
## SUPPORT TOMAHAWK
* [Bug / Issue Tracker](https://bugs.tomahawk-player.org/secure/Dashboard.jspa)
* [Translations](https://www.transifex.com/projects/p/tomahawk/)
* [Donations](https://flattr.com/thing/169312/Tomahawk)
## GET HELP
* [Support & Feedback](https://tomahawk.uservoice.com)
* Chat with us in IRC: **#tomahawk** on Freenode, and [Scrollback.io](https://scrollback.io/tomahawk)
* [Twitter](https://twitter.com/tomahawk)
* [Facebook](https://facebook.com/tomahawkplayer)
* [Developer API Documentation](http://dev.tomahawk-player.org/api/classes.html)
## SCREENSHOTS
BROWSE FRIENDS' MUSIC & LISTEN ALONG
![Browse](https://dchtm6r471mui.cloudfront.net/hackpad.com_ZRZMJDdxrVe_p.242147_1410998050088_listen-along.jpg)
INBOX - RECEIVED & FORWARDING
![Inbox](https://dchtm6r471mui.cloudfront.net/hackpad.com_ZRZMJDdxrVe_p.242147_1410997751044_inbox.jpg)
CHARTS - BILLBOARD'S TASTEMAKER ALBUMS
![Charts](https://dchtm6r471mui.cloudfront.net/hackpad.com_ZRZMJDdxrVe_p.242147_1410997901969_charts.jpg)
FRIEND FEED
![Feed](https://dchtm6r471mui.cloudfront.net/hackpad.com_ZRZMJDdxrVe_p.242147_1410971283885_heroshot.png)
DYNAMIC (AUTO-UPDATING) PLAYLIST
![Xspf](https://dchtm6r471mui.cloudfront.net/hackpad.com_ZRZMJDdxrVe_p.242147_1410998362549_dynamic-playlist-1.jpg)
PLUG-INS / RESOLVER SETTINGS
![Settings](https://dchtm6r471mui.cloudfront.net/hackpad.com_ZRZMJDdxrVe_p.242147_1410998587408_prefs.jpg)
##Enjoy!

View File

@@ -4,8 +4,8 @@ function(tomahawk_add_library)
# parse arguments (name needs to be saved before passing ARGN into the macro)
set(NAME ${ARGV0})
set(options NO_INSTALL NO_VERSION)
set(oneValueArgs NAME TYPE EXPORT_MACRO TARGET TARGET_TYPE EXPORT VERSION SOVERSION)
set(multiValueArgs SOURCES UI LINK_LIBRARIES COMPILE_DEFINITIONS)
set(oneValueArgs NAME TYPE EXPORT_MACRO TARGET TARGET_TYPE EXPORT VERSION SOVERSION INSTALL_BINDIR)
set(multiValueArgs SOURCES UI LINK_LIBRARIES LINK_PRIVATE_LIBRARIES COMPILE_DEFINITIONS QT5_MODULES)
cmake_parse_arguments(LIBRARY "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
set(LIBRARY_NAME ${NAME})
@@ -46,8 +46,7 @@ function(tomahawk_add_library)
endif()
# HACK: add qt modules - every lib should define its own set of modules
qt5_use_modules(${target} Core Network Widgets Sql Xml DBus)
qt5_use_modules(${target} Core Network Widgets Sql Xml ${LIBRARY_QT5_MODULES})
# definitions - can this be moved into set_target_properties below?
add_definitions(${QT_DEFINITIONS})
@@ -62,6 +61,9 @@ function(tomahawk_add_library)
# At least in CMake 2.8.8, you CANNOT set more than one COMPILE_DEFINITIONS value
# only takes the first one if called multiple times or bails out with wrong number of arguments
# when passing in a list, thus i redefine the export macro here in hope it won't mess up other targets
# Dear domme,
# "The COMPILE_DEFINITIONS property may be set to a semicolon-separated list"
# Sincerely, CMake Documentation
add_definitions( "-D${LIBRARY_EXPORT_MACRO}" )
set_target_properties(${target} PROPERTIES COMPILE_DEFINITIONS ${LIBRARY_COMPILE_DEFINITIONS})
@@ -72,6 +74,9 @@ function(tomahawk_add_library)
if(LIBRARY_LINK_LIBRARIES)
target_link_libraries(${target} ${LIBRARY_LINK_LIBRARIES})
endif()
if(LIBRARY_LINK_PRIVATE_LIBRARIES)
target_link_libraries(${target} LINK_PRIVATE ${LIBRARY_LINK_PRIVATE_LIBRARIES})
endif()
# add soversion
if(NOT LIBRARY_NO_VERSION)
@@ -84,13 +89,27 @@ function(tomahawk_add_library)
set_target_properties(${target} PROPERTIES SOVERSION ${LIBRARY_SOVERSION})
endif()
if(NOT LIBRARY_INSTALL_BINDIR)
set(LIBRARY_INSTALL_BINDIR "${CMAKE_INSTALL_BINDIR}")
endif()
# make installation optional, maybe useful for dummy plugins one day
if(NOT LIBRARY_NO_INSTALL)
include(GNUInstallDirs)
if(NOT LIBRARY_EXPORT)
install(TARGETS ${target} DESTINATION ${CMAKE_INSTALL_LIBDIR})
install( TARGETS ${target}
RUNTIME DESTINATION ${LIBRARY_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
else()
install(TARGETS ${target} EXPORT ${LIBRARY_EXPORT} DESTINATION ${CMAKE_INSTALL_LIBDIR})
install( TARGETS ${target}
EXPORT ${LIBRARY_EXPORT}
RUNTIME DESTINATION ${LIBRARY_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()
endif()
endfunction()

View File

@@ -19,35 +19,50 @@ function(tomahawk_add_plugin)
# message("NO_INSTALL: ${PLUGIN_NO_INSTALL}")
# create target name once for convenience
set(target "tomahawk_${PLUGIN_TYPE}_${PLUGIN_NAME}")
set(target "${TOMAHAWK_BASE_TARGET_NAME}_${PLUGIN_TYPE}_${PLUGIN_NAME}")
# determine target type
if(NOT ${PLUGIN_SHARED_LIB})
set(target_type "MODULE")
else()
set(target_type "SHARED")
# create option to disable plugins
string(TOUPPER "${PLUGIN_TYPE}" PLUGIN_TYPE_UPPER)
string(TOUPPER "${PLUGIN_NAME}" PLUGIN_NAME_UPPER)
set(PLUGIN_OPTION "BUILD_${PLUGIN_TYPE_UPPER}_${PLUGIN_NAME_UPPER}")
if(NOT DEFINED ${PLUGIN_OPTION})
set(${PLUGIN_OPTION} ON)
endif()
list(APPEND tomahawk_add_library_args
"${target}"
"EXPORT_MACRO" "${PLUGIN_EXPORT_MACRO}"
"TARGET_TYPE" "${target_type}"
"SOURCES" "${PLUGIN_SOURCES}"
)
option(${PLUGIN_OPTION} "Build Tomahawk with the ${PLUGIN_NAME} ${PLUGIN_TYPE}" ${${PLUGIN_OPTION}})
if(PLUGIN_UI)
list(APPEND tomahawk_add_library_args "UI" "${PLUGIN_UI}")
if(${PLUGIN_OPTION})
# determine target type
if(NOT ${PLUGIN_SHARED_LIB})
set(target_type "MODULE")
else()
set(target_type "SHARED")
endif()
list(APPEND tomahawk_add_library_args
"${target}"
"EXPORT_MACRO" "${PLUGIN_EXPORT_MACRO}"
"TARGET_TYPE" "${target_type}"
"SOURCES" "${PLUGIN_SOURCES}"
)
if(PLUGIN_UI)
list(APPEND tomahawk_add_library_args "UI" "${PLUGIN_UI}")
endif()
if(PLUGIN_LINK_LIBRARIES)
list(APPEND tomahawk_add_library_args "LINK_LIBRARIES" "${PLUGIN_LINK_LIBRARIES}")
endif()
if(PLUGIN_COMPILE_DEFINITIONS)
list(APPEND tomahawk_add_library_args "COMPILE_DEFINITIONS" ${PLUGIN_COMPILE_DEFINITIONS})
endif()
list(APPEND tomahawk_add_library_args "NO_VERSION")
list(APPEND tomahawk_add_library_args "INSTALL_BINDIR" "${CMAKE_INSTALL_LIBDIR}")
tomahawk_add_library(${tomahawk_add_library_args})
endif()
if(PLUGIN_LINK_LIBRARIES)
list(APPEND tomahawk_add_library_args "LINK_LIBRARIES" "${PLUGIN_LINK_LIBRARIES}")
endif()
if(PLUGIN_COMPILE_DEFINITIONS)
list(APPEND tomahawk_add_library_args "COMPILE_DEFINITIONS" ${PLUGIN_COMPILE_DEFINITIONS})
endif()
list(APPEND tomahawk_add_library_args "NO_VERSION")
tomahawk_add_library(${tomahawk_add_library_args})
endfunction()

View File

@@ -2,7 +2,7 @@ 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
SET( CPACK_PACKAGE_FILE_NAME "${TOMAHAWK_TARGET_NAME}-${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
@@ -13,7 +13,9 @@ SET( CPACK_PACKAGE_DESCRIPTION_SUMMARY ${TOMAHAWK_DESCRIPTION_SUMMARY} ) # Des
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_TARGET_NAME ${TOMAHAWK_TARGET_NAME} ) # Used to build library and executable names
SET( CPACK_PACKAGE_VENDOR ${TOMAHAWK_ORGANIZATION_NAME} ) # Package vendor name
SET( TOMAHAWK_APPLICATION_PACKAGE_NAME ${TOMAHAWK_APPLICATION_PACKAGE_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} )
@@ -22,7 +24,7 @@ SET( CPACK_PACKAGE_VERSION_PATCH ${TOMAHAWK_VERSION_PATCH} )
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
SET( CPACK_SOURCE_PACKAGE_FILE_NAME ${TOMAHAWK_APPLICATION_NAME}-${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

View File

@@ -18,4 +18,7 @@ include("${TOMAHAWK_CMAKE_DIR}/TomahawkLibraryDepends.cmake")
# These are IMPORTED targets created by TomahawkLibraryDepends.cmake
set(TOMAHAWK_LIBRARIES tomahawklib)
set(TOMAHAWK_USE_FILE "${TOMAHAWK_CMAKE_DIR}/TomahawkUse.cmake")
set(TOMAHAWK_USE_FILE "${TOMAHAWK_CMAKE_DIR}/TomahawkUse.cmake")
set(TOMAHAWK_DEFINITIONS "@TOMAHAWK_DEFINITIONS@")
set(TOMAHAWK_CXX_FLAGS "@TOMAHAWK_CXX_FLAGS@")
set(TOMAHAWK_C_FLAGS "@TOMAHAWK_C_FLAGS@")

View File

@@ -1,35 +0,0 @@
#FIXME: this only handles qt4 and duplicates top level cmakelists: how can we reduce code duplication?
find_package(Qt4 COMPONENTS QtNetwork QtCore QtGui QtSql REQUIRED)
include( ${QT_USE_FILE} )
set(NEEDED_QT4_COMPONENTS "QtCore" "QtXml" "QtNetwork")
if(BUILD_GUI OR NOT DEFINED BUILD_GUI)
list(APPEND NEEDED_QT4_COMPONENTS "QtGui" "QtWebkit" "QtUiTools" "QtSvg")
endif()
find_package(Qt4 4.7.0 COMPONENTS ${NEEDED_QT4_COMPONENTS})
include( ${QT_USE_FILE} )
macro(qt5_use_modules)
endmacro()
macro(qt_wrap_ui)
qt4_wrap_ui(${ARGN})
endmacro()
macro(qt_add_resources)
qt4_add_resources(${ARGN})
endmacro()
macro(qt_add_translation)
qt4_add_translation(${ARGN})
endmacro()
if(NOT TOMAHAWK_CMAKE_DIR)
set(TOMAHAWK_CMAKE_DIR ${CMAKE_CURRENT_LIST_DIR})
endif()
include( "${TOMAHAWK_CMAKE_DIR}/TomahawkAddLibrary.cmake" )
include( "${TOMAHAWK_CMAKE_DIR}/TomahawkAddPlugin.cmake" )

110
TomahawkUse.cmake.in Normal file
View File

@@ -0,0 +1,110 @@
#FIXME: this duplicates top level cmakelists: how can we reduce code duplication?
set( TOMAHAWK_QT5 @TOMAHAWK_QT5@ )
if(TOMAHAWK_QT5)
# CMAKE 2.8.13+/3.0.0+ requires these for IMPORTed targets
find_package(Qt5Core REQUIRED)
find_package(Qt5Concurrent REQUIRED)
find_package(Qt5Svg REQUIRED)
find_package(Qt5UiTools REQUIRED)
find_package(Qt5WebKitWidgets REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Xml REQUIRED)
find_package(Qt5Sql REQUIRED)
macro(qt_wrap_ui)
qt5_wrap_ui(${ARGN})
endmacro()
macro(qt_add_resources)
qt5_add_resources(${ARGN})
endmacro()
find_package(Qt5LinguistTools REQUIRED)
macro(qt_add_translation)
qt5_add_translation(${ARGN})
endmacro()
if( UNIX AND NOT APPLE )
# We need this to find the paths to qdbusxml2cpp and co
find_package(Qt5DBus REQUIRED)
endif()
if(APPLE)
find_package(Qt5MacExtras REQUIRED)
endif()
if(WIN32)
find_package(Qt5WinExtras REQUIRED)
endif()
macro(qt_wrap_ui)
qt5_wrap_ui(${ARGN})
endmacro()
macro(qt_add_resources)
qt5_add_resources(${ARGN})
endmacro()
find_package(Qt5LinguistTools REQUIRED)
macro(qt_add_translation)
qt5_add_translation(${ARGN})
endmacro()
if( UNIX AND NOT APPLE )
macro(qt_add_dbus_interface)
qt5_add_dbus_interface(${ARGN})
endmacro()
macro(qt_add_dbus_adaptor)
qt5_add_dbus_adaptor(${ARGN})
endmacro()
endif()
macro(setup_qt)
endmacro()
set(QT_RCC_EXECUTABLE "${Qt5Core_RCC_EXECUTABLE}")
#FIXME: CrashReporter depends on deprecated QHttp
set(WITH_KDE4 OFF)
else(TOMAHAWK_QT5)
find_package(Qt4 COMPONENTS QtNetwork QtCore QtGui QtSql REQUIRED)
include( ${QT_USE_FILE} )
set(NEEDED_QT4_COMPONENTS "QtCore" "QtXml" "QtNetwork")
if(BUILD_GUI OR NOT DEFINED BUILD_GUI)
list(APPEND NEEDED_QT4_COMPONENTS "QtGui" "QtWebkit" "QtUiTools" "QtSvg")
endif()
find_package(Qt4 4.7.0 COMPONENTS ${NEEDED_QT4_COMPONENTS})
include( ${QT_USE_FILE} )
macro(qt5_use_modules)
endmacro()
macro(qt_wrap_ui)
qt4_wrap_ui(${ARGN})
endmacro()
macro(qt_add_resources)
qt4_add_resources(${ARGN})
endmacro()
macro(qt_add_translation)
qt4_add_translation(${ARGN})
endmacro()
endif(TOMAHAWK_QT5)
if(NOT TOMAHAWK_CMAKE_DIR)
set(TOMAHAWK_CMAKE_DIR ${CMAKE_CURRENT_LIST_DIR})
endif()
include( "${TOMAHAWK_CMAKE_DIR}/TomahawkAddLibrary.cmake" )
include( "${TOMAHAWK_CMAKE_DIR}/TomahawkAddPlugin.cmake" )
add_definitions( ${TOMAHAWK_DEFINITIONS} )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TOMAHAWK_CXX_FLAGS}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${TOMAHAWK_C_FLAGS}")

View File

@@ -5,31 +5,31 @@
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Tomahawk</string>
<string>@TOMAHAWK_APPLICATION_NAME@</string>
<key>CFBundleIdentifier</key>
<string>org.tomahawk-player.Tomahawk</string>
<string>@TOMAHAWK_APPLICATION_PACKAGE_NAME@</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleVersion</key>
<string>TOMAHAWK_VERSION</string>
<string>@TOMAHAWK_VERSION@</string>
<key>CFBundleShortVersionString</key>
<string>TOMAHAWK_VERSION</string>
<string>@TOMAHAWK_VERSION@</string>
<key>CFBundleSignature</key>
<string>tomahawk</string>
<string>@TOMAHAWK_BASE_TARGET_NAME@</string>
<key>CFBundleIconFile</key>
<string>Tomahawk.icns</string>
<string>@TOMAHAWK_APPLICATION_NAME@.icns</string>
<key>CFBundleName</key>
<string>Tomahawk</string>
<string>@TOMAHAWK_APPLICATION_NAME@</string>
<key>LSMinimumSystemVersion</key>
<string>10.5.0</string>
<string>10.7.0</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<true />
<key>SUFeedURL</key>
<string>http://download.tomahawk-player.org/sparkle/update.php</string>
<string>@TOMAHAWK_SPARKLE_UPDATE_URL@</string>
<key>SUPublicDSAKeyFile</key>
<string>sparkle_pub.pem</string>
<key>SUEnableSystemProfiling</key>
@@ -63,6 +63,174 @@
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>jspf</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>Generic.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/jspf</string>
</array>
<key>CFBundleTypeName</key>
<string>JSPF Playlist</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>mp3</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>mp3.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/mpeg</string>
</array>
<key>CFBundleTypeName</key>
<string>MPEG Audio Layer 3</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>oga</string>
<string>ogg</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>ogg.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/ogg</string>
</array>
<key>CFBundleTypeName</key>
<string>Ogg Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>opus</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>ogg.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/opus</string>
<string>application/opus</string>
<string>audio/ogg; codecs=opus</string>
</array>
<key>CFBundleTypeName</key>
<string>OPUS file</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>aac</string>
<string>mp4</string>
<string>m4a</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>audio.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/aac</string>
<string>audio/mp4</string>
</array>
<key>CFBundleTypeName</key>
<string>AAC file</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>mpc</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>audio.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/x-musepack</string>
<string>audio/mpc</string>
</array>
<key>CFBundleTypeName</key>
<string>Musepack Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>wma</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>audio.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/x-ms-wma</string>
</array>
<key>CFBundleTypeName</key>
<string>Windows Media Audio</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>flac</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>audio.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/flac</string>
</array>
<key>CFBundleTypeName</key>
<string>FLAC Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>aiff</string>
<string>aif</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>audio.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/aiff</string>
</array>
<key>CFBundleTypeName</key>
<string>AIFF File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>wv</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>audio.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/x-wavpack</string>
</array>
<key>CFBundleTypeName</key>
<string>WavePack Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
</dict>
</plist>

View File

@@ -1,9 +1,12 @@
#!/bin/bash
#
# Usage: ./admin/mac/build-release-osx.sh [--no-clean]
# Usage: ./admin/mac/build-release-osx.sh VERSION CERT_SIGNER [--no-clean]
#
################################################################################
TARGET_NAME="Tomahawk"
set -e
function header {
echo -e "\033[0;34m==>\033[0;0;1m $1 \033[0;0m"
@@ -16,43 +19,41 @@ function die {
}
################################################################################
if [ -z $1 ]
if [ -z "$2" ]
then
echo This script expects the version number as a parameter, e.g. 1.0.0
echo This script expects the version number and cert-signer as parameters, e.g. "1.0.0 John Doe"
exit 1
fi
ROOT=`pwd`
VERSION=$1
CERT_SIGNER=$2
################################################################################
mv tomahawk.app Tomahawk.app
mv Tomahawk.app/Contents/MacOS/tomahawk Tomahawk.app/Contents/MacOS/Tomahawk
header "Fixing and copying libraries"
$ROOT/../admin/mac/macdeploy.py Tomahawk.app quiet
$ROOT/../admin/mac/macdeploy.py "${TARGET_NAME}.app" quiet
cd Tomahawk.app
cd "${TARGET_NAME}.app"
header "Renaming icon"
mv Contents/Resources/tomahawkSources.icns Contents/Resources/Tomahawk.icns
cp $ROOT/../admin/mac/qt.conf Contents/Resources/qt.conf
header "Copying Sparkle framework"
cp -R /Library/Frameworks/Sparkle.framework Contents/Frameworks
header "Creating DMG"
cd ..
header "Fixing fonts"
mkdir "${ROOT}/${TARGET_NAME}.app/Contents/Resources/Fonts"
cp -R $ROOT/../data/fonts/*.ttf "${ROOT}/${TARGET_NAME}.app/Contents/Resources/Fonts"
header "Signing bundle"
codesign -s "Developer ID Application: Leonardo Franchi" -f -v ./Tomahawk.app
cd ..
if [ -f ~/sign_step.sh ];
then
~/sign_step.sh "$CERT_SIGNER" "${TARGET_NAME}.app"
fi
header "Creating DMG"
$ROOT/../admin/mac/create-dmg.sh "${TARGET_NAME}.app"
mv "${TARGET_NAME}.dmg" "${TARGET_NAME}-$VERSION.dmg"
$ROOT/../admin/mac/create-dmg.sh Tomahawk.app
mv Tomahawk.dmg Tomahawk-$VERSION.dmg
header "Creating signed Sparkle update"
$ROOT/../admin/mac/sign_bundle.rb $VERSION ~/tomahawk_sparkle_privkey.pem
mv Tomahawk.app tomahawk.app
# $ROOT/../admin/mac/sign_bundle.rb "${TARGET_NAME}" $VERSION ~/tomahawk_sparkle_privkey.pem
header "Done!"

View File

@@ -43,7 +43,7 @@ ln -s /Applications "$TMP/Applications"
cp -R "$IN" "$TMP"
# create
hdiutil makehybrid -hfs -hfs-volume-name Tomahawk -hfs-openfolder "$TMP" "$TMP" -o tmp.dmg
hdiutil makehybrid -hfs -hfs-volume-name "$NAME" -hfs-openfolder "$TMP" "$TMP" -o tmp.dmg
hdiutil convert -format UDZO -imagekey zlib-level=9 tmp.dmg -o "$OUT"
# cleanup

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python
# This file is part of Tomahawk.
# This file is part of Tomahawk.
# It was inspired in large part by the macdeploy script in Clementine.
#
# Clementine is free software: you can redistribute it and/or modify
@@ -20,42 +20,41 @@ import re
import subprocess
import commands
import sys
import glob
TARGET_NAME="tomahawk"
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', '.']
LIBRARY_SEARCH_PATH=['/usr/local/lib', '/usr/local/opt/vlc/lib', '/usr/local/Cellar/gettext/0.19.2/lib', '.']
VLC_PLUGINS=[
'libaccess_attachment_plugin.dylib',
'libattachment_plugin.dylib',
#'libaccess_avio_plugin.dylib',
#'libaccess_fake_plugin.dylib',
'libaccess_ftp_plugin.dylib',
'libaccess_http_plugin.dylib',
'libaccess_imem_plugin.dylib',
'libftp_plugin.dylib',
'libhttp_plugin.dylib',
'libhttplive_plugin.dylib',
'libimem_plugin.dylib',
#'libaccess_mmap_plugin.dylib',
'libaccess_mms_plugin.dylib',
'libaccess_realrtsp_plugin.dylib',
'libaccess_tcp_plugin.dylib',
'libaccess_udp_plugin.dylib',
'libtcp_plugin.dylib',
'libudp_plugin.dylib',
'libcdda_plugin.dylib',
'libfilesystem_plugin.dylib',
'libqtcapture_plugin.dylib',
'librtp_plugin.dylib',
'libzip_plugin.dylib',
'libaccess_output_dummy_plugin.dylib',
'libaccess_output_file_plugin.dylib',
'libaccess_output_http_plugin.dylib',
'libaccess_output_shout_plugin.dylib',
'libaccess_output_udp_plugin.dylib',
'liba52tofloat32_plugin.dylib',
'liba52tospdif_plugin.dylib',
'libaudio_format_plugin.dylib',
'libaudiobargraph_a_plugin.dylib',
'libchorus_flanger_plugin.dylib',
'libconverter_fixed_plugin.dylib',
#'libconverter_fixed_plugin.dylib',
'libdolby_surround_decoder_plugin.dylib',
'libdtstofloat32_plugin.dylib',
'libdtstospdif_plugin.dylib',
@@ -70,10 +69,10 @@ VLC_PLUGINS=[
'libspatializer_plugin.dylib',
'libtrivial_channel_mixer_plugin.dylib',
'libugly_resampler_plugin.dylib',
'libfloat32_mixer_plugin.dylib',
'libfloat_mixer_plugin.dylib',
#'libspdif_mixer_plugin.dylib',
#'libtrivial_mixer_plugin.dylib',
'libaout_file_plugin.dylib',
#'libaout_file_plugin.dylib',
'libauhal_plugin.dylib',
'liba52_plugin.dylib',
'libadpcm_plugin.dylib',
@@ -86,7 +85,7 @@ VLC_PLUGINS=[
'libfaad_plugin.dylib',
#'libfake_plugin.dylib',
'libflac_plugin.dylib',
'libfluidsynth_plugin.dylib',
#'libfluidsynth_plugin.dylib',
#'libinvmem_plugin.dylib',
'liblpcm_plugin.dylib',
'libmpeg_audio_plugin.dylib',
@@ -97,10 +96,10 @@ VLC_PLUGINS=[
'libtheora_plugin.dylib',
'libtwolame_plugin.dylib',
'libvorbis_plugin.dylib',
'libgestures_plugin.dylib',
'libhotkeys_plugin.dylib',
'libmotion_plugin.dylib',
'libnetsync_plugin.dylib',
#'libgestures_plugin.dylib',
#'libhotkeys_plugin.dylib',
#'libmotion_plugin.dylib',
#'libnetsync_plugin.dylib',
#'libsignals_plugin.dylib',
'libaiff_plugin.dylib',
'libasf_plugin.dylib',
@@ -109,7 +108,7 @@ VLC_PLUGINS=[
'libavi_plugin.dylib',
'libdemux_cdg_plugin.dylib',
'libdemuxdump_plugin.dylib',
'libdirac_plugin.dylib',
'libdiracsys_plugin.dylib',
'libes_plugin.dylib',
'libflacsys_plugin.dylib',
'liblive555_plugin.dylib',
@@ -139,24 +138,24 @@ VLC_PLUGINS=[
'libxa_plugin.dylib',
'libfolder_plugin.dylib',
'libtaglib_plugin.dylib',
'libaudioscrobbler_plugin.dylib',
#'libaudioscrobbler_plugin.dylib',
'libdummy_plugin.dylib',
'libexport_plugin.dylib',
'libfreetype_plugin.dylib',
'libgnutls_plugin.dylib',
#'libfreetype_plugin.dylib',
#'libgnutls_plugin.dylib',
'liblogger_plugin.dylib',
'liblua_plugin.dylib',
'libosd_parser_plugin.dylib',
'libquartztext_plugin.dylib',
'libstats_plugin.dylib',
#'libosd_parser_plugin.dylib',
#'libquartztext_plugin.dylib',
#'libstats_plugin.dylib',
'libvod_rtsp_plugin.dylib',
'libxml_plugin.dylib',
#'libxtag_plugin.dylib',
'libi420_rgb_mmx_plugin.dylib',
'libi420_yuy2_mmx_plugin.dylib',
'libi422_yuy2_mmx_plugin.dylib',
'libmemcpymmx_plugin.dylib',
'libmemcpymmxext_plugin.dylib',
#'libmemcpymmx_plugin.dylib',
#'libmemcpymmxext_plugin.dylib',
'libmux_asf_plugin.dylib',
'libmux_avi_plugin.dylib',
'libmux_dummy_plugin.dylib',
@@ -179,18 +178,19 @@ VLC_PLUGINS=[
'libi420_yuy2_sse2_plugin.dylib',
'libi422_yuy2_sse2_plugin.dylib',
'libdecomp_plugin.dylib',
'libstream_filter_rar_plugin.dylib',
'libstream_filter_record_plugin.dylib',
'libvisual_plugin.dylib',
#'libstream_filter_rar_plugin.dylib',
'librecord_plugin.dylib',
#'libvisual_plugin.dylib',
'libsecuretransport_plugin.dylib'
]
VLC_SEARCH_PATH=[
'/usr/local/lib/vlc/plugins/',
'/usr/local/opt/vlc/lib/vlc/plugins/',
]
QT_PLUGINS = [
'crypto/libqca-ossl.dylib',
'phonon_backend/phonon_vlc.so',
# 'crypto/libqca-ossl.dylib',
'platforms/libqcocoa.dylib',
'sqldrivers/libqsqlite.dylib',
'imageformats/libqgif.dylib',
'imageformats/libqico.dylib',
@@ -199,27 +199,41 @@ QT_PLUGINS = [
'imageformats/libqmng.dylib',
]
SNORE_PLUGINS = [
'libsnore_backend_growl.so',
'libsnore_backend_osxnotificationcenter.so',
]
TOMAHAWK_PLUGINS = [
'libtomahawk_account_xmpp.so',
'libtomahawk_account_google.so',
'libtomahawk_account_twitter.so',
'libtomahawk_account_zeroconf.so',
'libtomahawk_infoplugin_adium.so',
'libtomahawk_infoplugin_charts.so',
'libtomahawk_infoplugin_discogs.so',
'libtomahawk_infoplugin_echonest.so',
'libtomahawk_infoplugin_hypem.so',
'libtomahawk_infoplugin_musicbrainz.so',
'libtomahawk_infoplugin_musixmatch.so',
'libtomahawk_infoplugin_newreleases.so',
'libtomahawk_infoplugin_rovi.so',
'libtomahawk_infoplugin_spotify.so',
'lib%s_account_xmpp.dylib' % TARGET_NAME,
'lib%s_account_google.so' % TARGET_NAME,
'lib%s_account_zeroconf.so' % TARGET_NAME,
'lib%s_account_hatchet.so' % TARGET_NAME,
'lib%s_infoplugin_adium.so' % TARGET_NAME,
'lib%s_infoplugin_charts.so' % TARGET_NAME,
# 'lib%s_infoplugin_discogs.so' % TARGET_NAME,
'lib%s_infoplugin_echonest.so' % TARGET_NAME,
'lib%s_infoplugin_hypem.so' % TARGET_NAME,
# 'lib%s_infoplugin_musicbrainz.so' % TARGET_NAME,
'lib%s_infoplugin_musixmatch.so' % TARGET_NAME,
'lib%s_infoplugin_newreleases.so' % TARGET_NAME,
# 'lib%s_infoplugin_rovi.so' % TARGET_NAME,
'lib%s_infoplugin_snorenotify.so' % TARGET_NAME,
'lib%s_infoplugin_spotify.so' % TARGET_NAME,
'lib%s_viewpage_dashboard.so' % TARGET_NAME,
# 'lib%s_viewpage_networkactivity.so' % TARGET_NAME,
'lib%s_viewpage_charts.so' % TARGET_NAME,
'lib%s_viewpage_newreleases.so' % TARGET_NAME,
'lib%s_viewpage_whatsnew_0_8.so' % TARGET_NAME,
]
QT_PLUGINS_SEARCH_PATH=[
'/usr/local/Cellar/qt/4.8.4/plugins',
'/usr/local/opt/qt5/plugins',
]
SNORE_PLUGINS_SEARCH_PATH=[
'/usr/local/opt/snorenotify/lib/plugins/libsnore-qt5',
]
class Error(Exception):
pass
@@ -232,11 +246,17 @@ class CouldNotFindQtPluginErrorFindFrameworkError(Error):
class InstallNameToolError(Error):
pass
class CouldNotFindFrameworkError(Error):
pass
class CouldNotFindQtPluginError(Error):
pass
class CouldNotFindSnorePluginError(Error):
pass
class CouldNotFindVLCPluginError(Error):
pass
@@ -245,19 +265,22 @@ 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 = []
framework_paths = []
binary_dir = os.path.join(bundle_dir, 'Contents', 'MacOS')
frameworks_dir = os.path.join(bundle_dir, 'Contents', 'Frameworks')
commands.append(['mkdir', '-p', frameworks_dir])
vlcplugins_dir = os.path.join(frameworks_dir, 'vlc', 'plugins')
commands.append(['mkdir', '-p', vlcplugins_dir])
snoreplugins_dir = os.path.join(binary_dir, 'libsnore')
commands.append(['mkdir', '-p', snoreplugins_dir])
resources_dir = os.path.join(bundle_dir, 'Contents', 'Resources')
commands.append(['mkdir', '-p', resources_dir])
plugins_dir = os.path.join(bundle_dir, 'Contents', 'qt-plugins')
@@ -286,7 +309,7 @@ def GetBrokenLibraries(binary):
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):
elif re.match(r'^\s*@executable_path', line) or re.match(r'^\s*@loader_path', line) and not re.match(r'^\s*@loader_path/../lib', line):
# Potentially already fixed library
if '.framework' in line:
relative_path = os.path.join(*line.split('/')[3:])
@@ -310,6 +333,11 @@ def FindFramework(path):
if os.path.exists(abs_path):
return abs_path
# replace rpath with /Library/Frameworks for Sparkle
abs_path = path.replace("@rpath/", "/Library/Frameworks/")
if os.path.exists(abs_path):
return abs_path
raise CouldNotFindFrameworkError(path)
def FindLibrary(path):
@@ -369,12 +397,12 @@ def FixLibrary(path):
for library in broken_libs['libs']:
FixLibraryInstallPath(library, new_path)
def FixVLCPlugin(abs_path, subdir):
def FixVLCPlugin(abs_path):
broken_libs = GetBrokenLibraries(abs_path)
FixAllLibraries(broken_libs)
#print "Copying plugin....%s %s %s" % (plugins_dir, subdir, os.path.join(abs_path.split('/')[-2:]))
new_path = os.path.join(plugins_dir, subdir, os.path.basename(abs_path))
new_path = os.path.join(vlcplugins_dir, 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]
@@ -427,7 +455,14 @@ def CopyFramework(path):
for i, part in enumerate(parts):
if re.match(r'\w+\.framework', part):
full_path = os.path.join(frameworks_dir, *parts[i:-1])
framework_name = part.split(".framework")[0]
break
if full_path in framework_paths:
return os.path.join(full_path, parts[-1])
framework_paths.append(full_path)
args = ['mkdir', '-p', full_path]
commands.append(args)
args = ['ditto', '--arch=i386', '--arch=x86_64', path, full_path]
@@ -437,9 +472,44 @@ def CopyFramework(path):
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]
args = ['cp', '-rf', menu_nib, resources_dir]
commands.append(args)
# Fix framework structure for signing
path_base_dir = os.path.join(os.path.split(path)[0], '..', '..')
path_versions_dir = os.path.join(path_base_dir, 'Versions')
if not os.path.exists(os.path.join(full_path, 'Versions', 'Current')):
framework_base_dir = os.path.join(full_path, '..', '..')
framework_versions_dir = os.path.join(framework_base_dir, 'Versions')
versionParts = glob.glob(path_versions_dir+'/*')[0].split(os.sep)
args = ['ln', '-s', versionParts[-1], framework_versions_dir+'/Current']
commands.append(args)
args = ['ln', '-s', 'Versions/Current/'+framework_name, framework_base_dir+'/'+framework_name]
commands.append(args)
args = ['ln', '-s', 'Versions/Current/Resources', framework_base_dir+'/Resources']
commands.append(args)
# Copy Contents/Info.plist to Resources/Info.plist if Resources/Info.plist does not exist
# If Contents/Info.plist doesn't exist either, error out. If we actually see this, we can copy QtCore's Info.plist
info_plist_in_resources = os.path.join(os.path.split(path)[0], '..', '..', 'Resources', 'Info.plist')
if os.path.exists(info_plist_in_resources):
info_plist_in_contents = os.path.join(os.path.split(path)[0], '..', '..', 'Resources', 'Info.plist')
framework_resources_dir = os.path.join(framework_versions_dir, versionParts[-1], 'Resources')
args = ['mkdir', '-p', framework_resources_dir]
commands.append(args)
if os.path.exists(info_plist_in_contents):
args = ['cp', '-rf', info_plist_in_contents, framework_resources_dir]
commands.append(args)
args = ['chmod', '+rw', os.path.join(framework_resources_dir, 'Info.plist')]
commands.append(args)
else:
print "%s: Framework does not contain an Info.plist file in Resources/ folder." % (path)
sys.exit(-1)
return os.path.join(full_path, parts[-1])
def FixId(path, library_name):
@@ -489,6 +559,12 @@ def FindQtPlugin(name):
return os.path.join(path, name)
raise CouldNotFindQtPluginError(name)
def FindSnorePlugin(name):
for path in SNORE_PLUGINS_SEARCH_PATH:
if os.path.exists(path):
if os.path.exists(os.path.join(path, name)):
return os.path.join(path, name)
raise CouldNotFindSnorePluginError(name)
def FindVLCPlugin(name):
for path in VLC_SEARCH_PATH:
@@ -500,15 +576,18 @@ def FindVLCPlugin(name):
FixBinary(binary)
for plugin in VLC_PLUGINS:
FixVLCPlugin(FindVLCPlugin(plugin), '../plugins')
FixVLCPlugin(FindVLCPlugin(plugin))
for plugin in TOMAHAWK_PLUGINS:
FixPlugin(plugin, '../MacOS')
for plugin in SNORE_PLUGINS:
FixPlugin(FindSnorePlugin(plugin), '../lib/plugins/libsnore-qt5')
try:
FixPlugin('tomahawk_crash_reporter', '../MacOS')
FixPlugin('%s_crash_reporter' % TARGET_NAME, '../MacOS')
except:
print 'Failed to find tomahawk_crash_reporter'
print 'Failed to find %s_crash_reporter' % TARGET_NAME
for plugin in QT_PLUGINS:
FixPlugin(FindQtPlugin(plugin), os.path.dirname(plugin))

View File

@@ -6,9 +6,9 @@ if ARGV.length < 2
exit
end
tarball = "tomahawk-#{ARGV[0]}.tar.bz2"
tarball = "#{ARGV[0].downcase}-#{ARGV[1]}.tar.bz2"
puts "Zipping: #{tarball}..."
`tar jcvf "#{tarball}" Tomahawk.app`
`tar jcvf "#{tarball}" #{ARGV[0]}.app`
puts "Signing..."
puts `openssl dgst -sha1 -binary < "#{tarball}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64`
puts `openssl dgst -sha1 -binary < "#{tarball}" | openssl dgst -dss1 -sign "#{ARGV[2]}" | openssl enc -base64`

View File

@@ -6,14 +6,16 @@ GenericName=Music Player
GenericName[de]=Musik Player
GenericName[fi]=Musiikkisoitin
GenericName[pl]=Odtwarzacz Muzyki
GenericName[ro]=Redare muzică
GenericName[se]=Musikspelare
TryExec=tomahawk
Exec=tomahawk %u
Comment=Tomahawk — Social Music Player
Comment=Tomahawk — Multi Source Music Player
Comment[fi]=Tomahawk sosiaalinen musiikkisoitin
Comment[pl]=Tomahawk Społecznościowy Odtwarzacz Muzyki
Comment[ro]=Tomahawk Redare muzică în mod social
Comment[se]=Tomahawk — Den Sociala Musikspelaren
Icon=tomahawk
Terminal=false
Categories=Qt;AudioVideo;Audio;Player;
MimeType=x-scheme-handler/tomahawk;x-scheme-handler/spotify;
MimeType=x-scheme-handler/tomahawk;x-scheme-handler/spotify;audio/aac;audio/mp4;audio/mpeg;audio/mpegurl;audio/vorbis;audio/x-flac;audio/x-mp3;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-oggflac;audio/opus;application/opus;audio/x-vorbis;application/x-ogm-audio;audio/x-vorbis+ogg;audio/ogg;application/xspf+xml;application/jspf;

View File

@@ -7,7 +7,9 @@ SET(CMAKE_SYSTEM_NAME Windows)
# specify the cross compiler
SET(CMAKE_C_COMPILER ${MINGW_PREFIX}-gcc)
SET(CMAKE_CXX_COMPILER ${MINGW_PREFIX}-g++)
SET(CMAKE_RC_COMPILER ${MINGW_PREFIX}-windres)
SET(CMAKE_RC_COMPILER /usr/bin/${MINGW_PREFIX}-windres CACHE FILEPATH "windres")
SET(CMAKE_AR /usr/bin/${MINGW_PREFIX}-ar CACHE FILEPATH "ar")
# where is the target environment containing libraries
SET(CMAKE_FIND_ROOT_PATH /usr/${MINGW_PREFIX}/sys-root/mingw)
@@ -26,9 +28,11 @@ SET(QT_PLUGINS_DIR ${CMAKE_FIND_ROOT_PATH}/lib/qt4/plugins)
SET(QT_MKSPECS_DIR ${CMAKE_FIND_ROOT_PATH}/share/qt4/mkspecs)
SET(QT_QT_INCLUDE_DIR ${CMAKE_FIND_ROOT_PATH}/include)
# qt tools
SET(QT_QMAKE_EXECUTABLE ${MINGW_PREFIX}-qmake )
SET(QT_MOC_EXECUTABLE ${MINGW_PREFIX}-moc)
SET(QT_RCC_EXECUTABLE ${MINGW_PREFIX}-rcc)
SET(QT_UIC_EXECUTABLE ${MINGW_PREFIX}-uic)
SET(QT_LRELEASE_EXECUTABLE ${MINGW_PREFIX}-lrelease)
SET(QT_QMAKE_EXECUTABLE /usr/bin/${MINGW_PREFIX}-qmake CACHE FILEPATH "qmake" )
SET(QT_MOC_EXECUTABLE /usr/bin/${MINGW_PREFIX}-moc CACHE FILEPATH "moc")
SET(QT_RCC_EXECUTABLE /usr/bin/${MINGW_PREFIX}-rcc CACHE FILEPATH "rcc")
SET(QT_UIC_EXECUTABLE /usr/bin/${MINGW_PREFIX}-uic CACHE FILEPATH "uic")
SET(QT_LRELEASE_EXECUTABLE /usr/bin/${MINGW_PREFIX}-lrelease CACHE FILEPATH "lrelease")
# phonon -_-
SET(Automoc4_DIR "/usr/lib64/automoc4/")

View File

@@ -0,0 +1,22 @@
!include LogicLib.nsh
!include WordFunc.nsh
Function SnoreWinVer
ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
${VersionCompare} "6.2" $R0 $R0
${If} $R0 == 1
Push "NotWin8"
${Else}
Push "AtLeastWin8"
${EndIf}
FunctionEnd
!macro SnoreShortcut path exe appID
Call SnoreWinVer
Pop $0
${If} $0 == "AtLeastWin8"
nsExec::ExecToLog '"${SnoreToastExe}" -install "${path}" "${exe}" "${appID}"'
${Else}
CreateShortCut "${path}" "${exe}"
${EndIf}
!macroend

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

@@ -9,19 +9,20 @@ fi
rm -rvf vlc/
VLC_TARBALL="vlc.tar.bz2"
echo "Download phonon archive..."
# wget -c "http://downloads.sourceforge.net/project/vlc/1.1.9/win32/vlc-1.1.9-win32.7z?r=http%3A%2F%2Fwww.videolan.org%2Fvlc%2Fdownload-windows.html&ts=1306272584&use_mirror=leaseweb"
# wget -c "http://download.tomahawk-player.org/tomahawk-vlc-0.1.zip"
# wget -c http://people.videolan.org/~jb/phonon/phonon-vlc-last.7z
# wget -c http://people.videolan.org/~jb/phonon/phonon_phonon-vlc_20111128.7z
wget -c http://download.tomahawk-player.org/test/pvlc.tar.bz2
wget -c "http://download.tomahawk-player.org/test/$VLC_TARBALL"
echo "Extract binary..."
# 7z x phonon*.7z
# mv -v vlc-*/ vlc/
# unzip tomahawk-vlc-0.1.zip
tar xvjf pvlc.tar.bz2
tar xvjf "$VLC_TARBALL"
# echo "Download phonon_vlc_no_video.dll..."
# wget -c http://people.videolan.org/~jb/phonon/phonon_vlc_no_video.dll
@@ -50,6 +51,7 @@ tar xvjf pvlc.tar.bz2
# this is for vlc-2.x
cd vlc/plugins
rm -rvf \
video_*/ \
gui/ \
@@ -68,17 +70,18 @@ rm -rvf \
services_discovery/ \
visualization/ \
control/ \
misc/ \
**/libi420* \
**/libi422* \
mux/ \
stream_filter/ \
stream_filter/*dash* \
stream_filter/*smooth* \
stream_filter/*record* \
**/libtheora_plugin* \
**/liblibbluray_plugin* \
**/libdtv_plugin* \
**/*.dll.a \
**/*.la
**/*.la \
misc/liblogger_plugin*
echo "Downloaded and stripped VLC"

Binary file not shown.

BIN
data/fonts/Roboto-Black.ttf Normal file

Binary file not shown.

Binary file not shown.

BIN
data/fonts/Roboto-Bold.ttf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
data/fonts/Roboto-Light.ttf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
data/fonts/Roboto-Thin.ttf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -1,23 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="3100px" height="3100px" viewBox="0 0 3100 3100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>tomahawk-icon</title>
<svg width="512px" height="512px" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>tomahawk-icon-512x512</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs>
<filter x="-20%" y="-20%" width="140%" height="140%" filterUnits="objectBoundingBox" id="filter-1">
<feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
<feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0" in="shadowBlurOuter1" type="matrix" result="shadowMatrixOuter1"></feColorMatrix>
<feMerge>
<feMergeNode in="shadowMatrixOuter1"></feMergeNode>
<feMergeNode in="SourceGraphic"></feMergeNode>
</feMerge>
</filter>
</defs>
<g id="Page 1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<circle d="M1546,3051 C2374.42717,3051 3046,2379.42717 3046,1551 C3046,722.572834 2374.42717,51 1546,51 C717.572834,51 46,722.572834 46,1551 C46,2379.42717 717.572834,3051 1546,3051 Z M1546,3051" id="Oval 1" stroke="#979797" fill="#FFFFFF" sketch:type="MSShapeGroup" cx="1546" cy="1551" r="1500"></circle>
<g id="Group" sketch:type="MSLayerGroup" transform="translate(46.000000, 48.000000)">
<path d="M1500.00026,326.562245 C852.333832,326.562245 325.623384,853.409757 325.623384,1501.14467 C325.623384,2148.84339 852.297589,2675.87184 1500.00026,2675.87184 C1592.85982,2675.87184 1682.97119,2664.36909 1769.71967,2643.75096 L1769.71967,1630.53256 L961.97175,2202.26973 C954.812018,2207.15297 945.916593,2209.9744 937.346612,2209.9744 C930.693123,2209.9744 923.894994,2208.56369 917.783909,2205.05499 C903.464446,2197.74821 894.56902,2183.06231 894.56902,2167.32742 L894.56902,827.040286 C894.56902,811.305396 903.464445,796.474809 917.783909,788.951001 C932.103373,781.969774 949.026377,783.199628 961.97175,792.27884 L1769.71967,1364.0522 L1769.71967,784.284802 L1804.10807,784.284802 L2127.56161,784.284802 L2127.56161,2492.84071 C2455.75216,2284.34437 2674.34095,1918.13743 2674.34095,1501.10857 C2674.34087,853.446289 2147.48558,326.562245 1500.00026,326.562245 L1500.00026,326.562245 L1500.00026,326.562245" id="Shape" sketch:type="MSShapeGroup"></path>
<path d="M1500.00026,0.904613118 C672.870406,0.904613118 0.0726019231,673.923876 0.0726019231,1501.14494 C0.0726019231,2328.4023 672.870475,3001.38527 1500.00026,3001.38527 C2326.94928,3001.38527 2999.78337,2328.40223 2999.78337,1501.14494 C2999.74681,673.923394 2326.94887,0.904613118 1500.00026,0.904613118 L1500.00026,0.904613118 L1500.00026,0.904613118 M2127.56146,2492.87708 L2127.56146,784.321176 L1804.10793,784.321176 L1769.71952,784.321176 L1769.71952,1364.08857 L961.971604,792.315213 C949.06239,783.236001 932.103228,782.006148 917.783763,788.987375 C903.464299,796.511184 894.568874,811.341769 894.568874,827.076659 L894.568874,2167.3638 C894.568874,2183.09869 903.464299,2197.78459 917.783763,2205.09136 C923.894847,2208.60006 930.692976,2210.01078 937.346465,2210.01078 C945.880287,2210.01078 954.775711,2207.18935 961.971604,2202.30611 L1769.71952,1630.56893 L1769.71952,2643.78733 C1682.97105,2664.36929 1592.85968,2675.90821 1500.00012,2675.90821 C852.333686,2675.90821 325.623237,2148.87983 325.623237,1501.18104 C325.623237,853.482317 852.297442,326.598618 1500.00012,326.598618 C2147.48578,326.598618 2674.377,853.44613 2674.377,1501.18104 C2674.34087,1918.17376 2455.75215,2284.38047 2127.56146,2492.87708 L2072.56159,399.051282" id="Shape" fill="#E63E30" filter="url(#filter-1)" sketch:type="MSShapeGroup"></path>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="Oval-1-+-Shape" sketch:type="MSLayerGroup" transform="translate(18.000000, 19.000000)">
<g id="Oval-1" transform="translate(0.927734, 0.927734)" fill-opacity="0.9" fill="#FFFFFF" sketch:type="MSShapeGroup">
<path d="M236.572266,473.144531 C367.227527,473.144531 473.144531,367.227527 473.144531,236.572266 C473.144531,105.917005 367.227527,0 236.572266,0 C105.917005,0 0,105.917005 0,236.572266 C0,367.227527 105.917005,473.144531 236.572266,473.144531 Z"></path>
</g>
<path d="M237.385542,0 C106.48012,0 -1.70530257e-13,106.48012 -1.70530257e-13,237.356928 C-1.70530257e-13,368.239458 106.48012,474.713855 237.385542,474.713855 C368.262349,474.713855 474.748193,368.239458 474.748193,237.356928 C474.74247,106.48012 368.262349,0 237.385542,0 L237.385542,0 Z M336.706325,394.261446 L336.706325,123.946386 L285.51506,123.946386 L280.07259,123.946386 L280.07259,215.672892 L152.234639,125.211145 C150.191566,123.774699 147.50753,123.58012 145.241265,124.684639 C142.975,125.875 141.567169,128.221386 141.567169,130.710843 L141.567169,342.761145 C141.567169,345.250602 142.975,347.574096 145.241265,348.73012 C146.208434,349.285241 147.284337,349.508434 148.337349,349.508434 C149.687952,349.508434 151.095783,349.062048 152.234639,348.289458 L280.07259,257.833434 L280.07259,418.137349 C266.343373,421.393675 252.081928,423.219277 237.385542,423.219277 C134.882831,423.219277 51.5231928,339.836747 51.5231928,237.362651 C51.5231928,134.888554 134.877108,51.5289157 237.385542,51.5289157 C339.859639,51.5289157 423.247892,134.882831 423.247892,237.362651 C423.242169,303.336145 388.647289,361.274699 336.706325,394.261446 L336.706325,394.261446 Z" id="Shape" fill="#FF004C" sketch:type="MSShapeGroup"></path>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -1,16 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="55px" height="55px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>account-none</title>
<svg width="63px" height="63px" viewBox="0 0 63 63" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>Slice 1</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs>
<radialGradient cx="50%" cy="42.571189%" fx="50%" fy="42.571189%" r="57.428813%" id="radialGradient-1">
<stop stop-color="rgb(113,114,112)" offset="0%"></stop>
<stop stop-color="rgb(60,60,60)" offset="100%"></stop>
<radialGradient cx="50%" cy="0%" fx="50%" fy="0%" r="50%" id="radialGradient-1">
<stop stop-color="#000000" offset="0%"></stop>
<stop stop-color="#FFFFFF" offset="100%"></stop>
</radialGradient>
</defs>
<g id="Page 1" fill="rgb(215,215,215)" fill-rule="evenodd">
<g id="g430" fill="rgb(0,0,0)">
<path d="M6.25636752,11.5187741 C4.20816486,14.5775092 3,18.3321999 3,22.3856982 C3,31.7567891 9.30999994,39.4618424 17.6929998,40.778919 L17.6929998,49.303531 C17.6929998,50.1410367 18.2039998,50.8957889 18.9839998,51.2088565 C19.2339998,51.3085596 19.4939998,51.356417 19.7519999,51.356417 C20.3029999,51.356417 20.8429998,51.1360733 21.2399999,50.7242996 L22.9542104,48.9393602 L30.5949994,40.98331 L35.5949994,40.98331 C45.0989991,40.98331 52.8309995,32.6411552 52.8309995,22.385698 C52.8319998,12.131227 45.0989981,3.78908268 35.5950003,3.78908268 L20.2360001,3.78908268 C14.488848,3.78908268 9.3896678,6.83958098 6.25636752,11.5187741 Z M6.25636752,11.5187741" id="path432" fill="url(#radialGradient-1)"></path>
</g>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<path d="M39.4882425,50.1164605 L31,62 L22.2995024,49.8193034 C9.95141137,46.556924 1,36.9024496 1,25.5 C1,11.4167382 14.6553143,0 31.5,0 C48.3446857,0 62,11.4167382 62,25.5 C62,37.2723466 52.4583986,47.1814694 39.4882425,50.1164605 Z" id="Triangle-1" fill="#000000" sketch:type="MSShapeGroup"></path>
<path d="M4.5,62 L56.5,62" id="Line" stroke="url(#radialGradient-1)" stroke-width="2" stroke-linecap="square" sketch:type="MSShapeGroup"></path>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -1,16 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="55px" height="55px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>account-offline</title>
<svg width="63px" height="63px" viewBox="0 0 63 63" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>Slice 1</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs>
<radialGradient cx="50%" cy="40.9965298%" fx="50%" fy="40.9965298%" r="132.924116%" id="radialGradient-1">
<stop stop-color="rgb(254,255,254)" offset="0%"></stop>
<stop stop-color="rgb(178,177,177)" offset="100%"></stop>
<radialGradient cx="50%" cy="0%" fx="50%" fy="0%" r="50%" id="radialGradient-1">
<stop stop-color="#000000" offset="0%"></stop>
<stop stop-color="#FFFFFF" offset="100%"></stop>
</radialGradient>
</defs>
<g id="Page 1" fill="rgb(215,215,215)" fill-rule="evenodd">
<g id="g430" fill="rgb(0,0,0)">
<path d="M6.25636752,11.5187741 C4.20816486,14.5775092 3,18.3321999 3,22.3856982 C3,31.7567891 9.30999994,39.4618424 17.6929998,40.778919 L17.6929998,49.303531 C17.6929998,50.1410367 18.2039998,50.8957889 18.9839998,51.2088565 C19.2339998,51.3085596 19.4939998,51.356417 19.7519999,51.356417 C20.3029999,51.356417 20.8429998,51.1360733 21.2399999,50.7242996 L22.9542104,48.9393602 L30.5949994,40.98331 L35.5949994,40.98331 C45.0989991,40.98331 52.8309995,32.6411552 52.8309995,22.385698 C52.8319998,12.131227 45.0989981,3.78908268 35.5950003,3.78908268 L20.2360001,3.78908268 C14.488848,3.78908268 9.3896678,6.83958098 6.25636752,11.5187741 Z M6.25636752,11.5187741" id="path432" stroke="rgb(0,0,0)" stroke-width="0.25" fill="url(#radialGradient-1)"></path>
</g>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<path d="M39.4882425,50.1164605 L31,62 L22.2995024,49.8193034 C9.95141137,46.556924 1,36.9024496 1,25.5 C1,11.4167382 14.6553143,0 31.5,0 C48.3446857,0 62,11.4167382 62,25.5 C62,37.2723466 52.4583986,47.1814694 39.4882425,50.1164605 Z" id="Triangle-1" fill="#D6D6D6" sketch:type="MSShapeGroup"></path>
<path d="M4.5,62 L56.5,62" id="Line" stroke="url(#radialGradient-1)" stroke-width="2" stroke-linecap="square" sketch:type="MSShapeGroup"></path>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="55px" height="55px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>account-online</title>
<svg width="63px" height="63px" viewBox="0 0 63 63" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>Slice 1</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs></defs>
<g id="Page 1" fill="rgb(215,215,215)" fill-rule="evenodd">
<g id="g430" fill="rgb(113,175,250)">
<path d="M5.25636752,11.5187741 C3.20816486,14.5775092 2,18.3321999 2,22.3856982 C2,31.7567891 8.30999994,39.4618424 16.6929998,40.778919 L16.6929998,49.303531 C16.6929998,50.1410367 17.2039998,50.8957889 17.9839998,51.2088565 C18.2339998,51.3085596 18.4939998,51.356417 18.7519999,51.356417 C19.3029999,51.356417 19.8429998,51.1360733 20.2399999,50.7242996 L21.9542104,48.9393602 L29.5949994,40.98331 L34.5949994,40.98331 C44.0989991,40.98331 51.8309995,32.6411552 51.8309995,22.385698 C51.8319998,12.131227 44.0989981,3.78908268 34.5950003,3.78908268 L19.2360001,3.78908268 C13.488848,3.78908268 8.3896678,6.83958098 5.25636752,11.5187741 Z M5.25636752,11.5187741" id="path432"></path>
</g>
<defs>
<radialGradient cx="50%" cy="0%" fx="50%" fy="0%" r="50%" id="radialGradient-1">
<stop stop-color="#000000" offset="0%"></stop>
<stop stop-color="#FFFFFF" offset="100%"></stop>
</radialGradient>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<path d="M39.4882425,50.1164605 L31,62 L22.2995024,49.8193034 C9.95141137,46.556924 1,36.9024496 1,25.5 C1,11.4167382 14.6553143,0 31.5,0 C48.3446857,0 62,11.4167382 62,25.5 C62,37.2723466 52.4583986,47.1814694 39.4882425,50.1164605 Z" id="Triangle-1" fill="#198DE7" sketch:type="MSShapeGroup"></path>
<path d="M4.5,62 L56.5,62" id="Line" stroke="url(#radialGradient-1)" stroke-width="2" stroke-linecap="square" sketch:type="MSShapeGroup"></path>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="51px" height="51px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>account-settings</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="173.920641%" id="linearGradient-1">
<stop stop-color="rgb(123,125,121)" offset="0%"></stop>
<stop stop-color="rgb(0,0,0)" offset="100%"></stop>
</linearGradient>
</defs>
<g id="Page 1" fill="rgb(215,215,215)" fill-rule="evenodd">
<path d="M42.6990051,13.3120117 L34.1450043,21.8679199 L31.2910004,19.3811035 L40.029007,10.6398926 L41.1909943,7.73510742 L44.7319946,5.10107422 L48.2409973,8.60595703 L45.6109924,12.1420898 Z M47.8320007,37.1010742 C50.8619995,40.1311035 50.8609924,45.0620117 47.830001,48.094075 C46.3610006,49.5630749 44.4080008,50.3710749 42.3320008,50.3710749 C40.2560008,50.3710749 38.3050009,49.563075 36.8050009,48.061075 L18.6350008,27.2010744 C16.945001,27.5510744 15.2170009,27.7350744 13.6140009,27.7350744 L13.6130009,27.7350744 C9.79200126,27.7350744 6.73800124,26.7000743 4.77900125,24.7420743 C1.4870012,21.4480747 0.0610011965,16.7530745 0.967001215,12.1790746 C1.01600121,11.9290746 1.19800121,11.7300746 1.4380012,11.6580746 C1.67900117,11.5850746 1.94000117,11.6500746 2.12000118,11.8290746 L8.08200108,17.7890746 L13.8480009,18.9820746 L18.7180008,14.1140746 L17.5240007,8.34707436 L11.5620009,2.38407454 C11.3840009,2.20707455 11.3190009,1.94407453 11.3920009,1.70407453 C11.4660009,1.46207453 11.6650009,1.28207453 11.9130009,1.23207453 C12.8040009,1.05607454 13.7180009,0.965074539 14.629001,0.965074539 C18.3490008,0.965074539 21.8470007,2.41407442 24.4750007,5.04507446 C28.4720007,9.04007435 27.4830007,16.2210746 26.9350007,18.8990746 L31.4470008,22.8290746 L32.0090008,23.3190746 Z M43.7059937,43.9680176 C42.9479936,44.7270176 41.7209936,44.7270176 40.9629936,43.9690176 L40.9619936,43.9680176 C40.2049936,43.2100176 40.2049936,41.9810176 40.9619936,41.2240176 C41.7199936,40.4680176 42.9479936,40.4680176 43.7059936,41.2260176 L43.7069936,41.2260176 C44.4629974,41.9829102 44.4629974,43.2099609 43.7059937,43.9680176 Z M17.6609955,30.9750977 L21.8529949,35.8560972 C22.5449949,36.5490971 22.5449949,37.6720971 21.8529949,38.3640971 L10.574995,49.6410975 C9.88099515,50.3320975 8.75899512,50.3320975 8.06699514,49.6410975 L3.53299522,45.1050978 C2.84099525,44.4110978 2.84099525,43.2890978 3.53299522,42.5980978 L15.1539955,30.9750977 C15.8469955,30.2830977 16.9689955,30.2830977 17.6609955,30.9750977 Z M17.6609955,30.9750977" id="Shape" fill="url(#linearGradient-1)"></path>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -1,20 +1,77 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="60px" height="60px" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>add-contact</title>
<title>Slice 1</title>
<description>Created with Sketch (http://www.bohemiancoding.com/sketch)</description>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
<stop stop-color="rgb(95,88,88)" offset="0%"></stop>
<stop stop-color="rgb(34,31,31)" offset="100%"></stop>
</linearGradient>
<linearGradient x1="50%" y1="0%" x2="50%" y2="173.920641%" id="linearGradient-2">
<stop stop-color="rgb(123,125,121)" offset="0%"></stop>
<stop stop-color="rgb(0,0,0)" offset="100%"></stop>
</linearGradient>
</defs>
<g id="Page 1" fill="rgb(215,215,215)" fill-rule="evenodd">
<g id="Group" stroke="rgb(150,150,150)" stroke-width="1" fill="url(#linearGradient-1)">
<path d="M41.7720032,33.5539551 C35.769989,34.1109619 31.052002,39.1710205 31.0530045,45.3179558 C31.0530045,47.0919557 31.4560045,48.7689556 32.1580045,50.2799557 L24.0980041,50.2799557 C24.0580041,50.2919557 24.0180041,50.2979557 23.9740041,50.2979557 L9.86000377,50.2979557 C9.73200378,50.2979557 9.60800378,50.2459557 9.51900378,50.1529557 C9.42900378,50.0609557 9.37900378,49.9379557 9.38200378,49.8099557 C9.5860033,40.1639548 13.6520033,32.344955 20.2560034,28.897955 C20.4300034,28.808955 20.6390034,28.832955 20.7870034,28.958955 C22.2620035,30.2229551 24.0390035,31.1019551 25.9240035,31.4979551 C25.9260033,31.4979551 26.8810034,31.680955 28.2380034,31.680955 C29.0350033,31.680955 29.8120033,31.618955 30.5480033,31.496955 C32.4120032,31.1009549 34.1890031,30.221955 35.6620032,28.9589549 C35.8100032,28.8329549 36.0190032,28.8079549 36.1930032,28.8979549 C38.3370032,30.0169551 40.2090032,31.6009551 41.7720032,33.5539551 Z M28.2260132,28.9150391 C22.1520081,28.9150391 17.2109985,23.8580322 17.211013,17.643039 C17.211013,15.2640388 17.9400131,13.0580389 19.1740131,11.2380388 C19.2140131,11.1140388 19.2780131,10.9950388 19.3690131,10.8910388 C19.4080131,10.8460388 19.4590131,10.8220388 19.5040131,10.7870388 C21.5200133,8.10803878 24.6740131,6.37203884 28.2260132,6.37203884 C34.3000126,6.37203884 39.2390127,11.4290385 39.2390127,17.6430387 C39.2390127,23.8580389 34.2990131,28.9150391 28.2260132,28.9150391 Z M44.8389893,36.3830566 C50.303009,36.3830566 54.7520142,40.8299561 54.7519894,46.2940569 C54.7519894,51.7610569 50.3029895,56.207057 44.8389893,56.207057 C39.3719893,56.207057 34.9259892,51.7610569 34.9259892,46.2940569 C34.9259892,40.8300567 39.3719893,36.3830566 44.8389893,36.3830566 Z M44.8389893,54.6779785 C40.2149892,54.6779785 36.453989,50.9169786 36.453989,46.2939787 C36.453989,41.6719785 40.2149889,37.9119787 44.8389893,37.9119787 C49.4609895,37.9119787 53.2209892,41.6719787 53.2209892,46.2939787 C53.2210083,50.9169922 49.4609985,54.6779785 44.8389893,54.6779785 Z M46.1209874,45.1409912 L46.1209874,41.3059912 C46.1209874,40.9709912 45.8499874,40.6989912 45.5169874,40.6989912 L44.3059875,40.6989912 C43.9749875,40.6989912 43.7019875,40.9709912 43.7019875,41.3059912 L43.7019875,45.1409912 L40.0379875,45.1409912 C39.7019875,45.1409912 39.4319875,45.4119912 39.4319875,45.7469912 L39.4319875,46.8789912 C39.4319875,47.2139912 39.7029875,47.4849912 40.0379875,47.4849912 L43.7019875,47.4849912 L43.7019875,51.3579911 C43.7019875,51.6919911 43.9749875,51.9629911 44.3059875,51.9629911 L45.5169874,51.9629911 C45.8509874,51.9629911 46.1209874,51.6919911 46.1209874,51.3579911 L46.1209874,47.4849912 L49.7869873,47.4849912 C50.1209873,47.4849912 50.3919873,47.2139912 50.3919873,46.8789912 L50.3919873,45.7469912 C50.3930054,45.4110107 50.1210022,45.1409912 49.7869873,45.1409912 Z M46.1209874,45.1409912" id="Shape" fill="url(#linearGradient-2)"></path>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="icon_Connect1" sketch:type="MSLayerGroup">
<g id="Layer_2"></g>
<g id="Layer_3"></g>
<g id="Layer_4"></g>
<g id="Layer_5"></g>
<g id="Layer_6"></g>
<g id="Layer_8"></g>
<g id="Layer_9"></g>
<g id="Layer_10"></g>
<g id="Layer_11"></g>
<g id="Layer_12"></g>
<g id="Layer_13"></g>
<g id="Layer_14"></g>
<g id="Layer_15"></g>
<g id="Layer_16"></g>
<g id="Layer_17"></g>
<g id="Layer_18"></g>
<g id="Layer_19"></g>
<g id="Layer_20"></g>
<g id="Layer_21"></g>
<g id="Layer_24"></g>
<g id="Layer_25"></g>
<g id="Layer_26"></g>
<g id="Layer_27"></g>
<g id="Layer_28"></g>
<g id="Layer_29"></g>
<g id="Layer_47"></g>
<g id="Layer_30"></g>
<g id="Layer_31"></g>
<g id="Layer_32"></g>
<g id="Layer_33"></g>
<g id="Layer_34"></g>
<g id="Layer_35"></g>
<g id="Layer_36"></g>
<g id="Layer_37"></g>
<g id="Layer_38"></g>
<g id="Layer_39"></g>
<g id="Layer_40"></g>
<g id="Layer_41"></g>
<g id="Layer_42"></g>
<g id="Layer_43"></g>
<g id="Layer_44"></g>
<g id="Layer_45"></g>
<g id="Layer_46"></g>
<g id="Layer_48"></g>
<g id="Layer_49"></g>
<g id="Layer_51"></g>
<g id="Layer_52"></g>
<g id="Layer_53"></g>
<g id="Layer_54" fill="#000000" sketch:type="MSShapeGroup">
<g id="Group">
<path d="M36,32.25 C35.25,33 34.5,33.375 34.125,34.125 C31.875,36 30,38.25 28.125,40.125 C25.125,37.5 22.5,34.5 19.875,31.875 L21.375,30.375 L27.75,24 C28.5,23.25 28.5,22.125 27.75,21.375 C27.375,20.625 26.25,20.625 25.5,21.375 C25.125,21.75 24.75,22.125 24.375,22.125 L16.875,29.625 C16.125,28.5 15.375,27.75 14.25,26.625 C12,29.25 9.375,31.5 7.5,34.125 C5.625,36.375 5.25,39 5.625,42 C5.625,44.25 6.75,46.5 7.875,48.375 L0.375,55.875 L4.125,59.625 L11.625,52.125 C16.125,54.75 20.625,55.125 25.5,52.5 C28.875,50.625 30.75,47.625 33.75,45 C32.625,44.25 31.875,43.125 30.75,42.375 L34.125,39 C35.625,37.5 37.125,36 39,34.5 C39.75,33.75 40.125,32.625 39.375,31.875 C37.875,31.5 36.75,31.5 36,32.25 L36,32.25 Z" id="Shape"></path>
<path d="M60,3.75 L56.25,0 L48.75,7.5 C48.375,7.5 48.375,7.125 48,7.125 C43.5,4.875 38.625,4.5 34.125,7.5 C31.5,9.375 29.25,12 27,14.25 L45.75,33 C47.625,31.125 49.5,29.625 51.375,27.375 C53.625,24.75 54.75,21.375 54.375,18 C54.375,15.75 53.625,13.5 52.125,11.625 L60,3.75 L60,3.75 Z" id="Shape"></path>
</g>
</g>
<g id="Layer_55"></g>
<g id="Layer_56"></g>
<g id="Layer_57"></g>
<g id="Layer_58"></g>
<g id="Layer_59"></g>
<g id="Layer_60"></g>
<g id="Layer_61"></g>
<g id="Layer_62"></g>
<g id="Layer_63"></g>
<g id="Layer_64"></g>
<g id="Layer_65"></g>
<g id="Layer_66"></g>
<g id="Layer_50"></g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

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