1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-26 21:03:31 +01:00

294 Commits

Author SHA1 Message Date
Leo Franchi
26be23fdd5 Create dyn playlist with type always 2011-01-14 19:46:55 -05:00
Leo Franchi
a78e3d996a serialize and deserialize dynamic playlist commands too 2011-01-14 19:27:33 -05:00
Leo Franchi
92c96c5de6 misc 2011-01-14 16:45:53 -05:00
Leo Franchi
ce53bf1024 fix playlists not being deletable
minor label fix
2011-01-14 16:26:08 -05:00
Leo Franchi
4ab5a7d176 Add support for incremental fetching for generators
Add logic in DynamicWidget to handle on-demand playists
2011-01-14 16:02:25 -05:00
Leo Franchi
b540b9b1f6 add signal that reports when a query was not resolved successfully. not emitted yet 2011-01-14 16:02:07 -05:00
Leo Franchi
35681e47ac Merge remote branch 'origin/master' into dynamic
Conflicts:
	src/libtomahawk/CMakeLists.txt
2011-01-14 12:56:37 -05:00
Christian Muehlhaeuser
d4c82bf4f7 * CMakeLists.* cleanup. 2011-01-14 17:44:29 +01:00
Christian Muehlhaeuser
9c6e098841 * Safely handle unknown DB commands. 2011-01-14 17:07:30 +01:00
Leo Franchi
c465325cdf add a quick spinbox to control generated number 2011-01-13 18:41:50 -05:00
Leo Franchi
327df4bedc fix loading and saving of dynamic playlists, forgot to update the mode and type settings when setting a new revision 2011-01-13 18:33:38 -05:00
Leo Franchi
9ff370199c Merge branch 'master' into dynamic
Conflicts:
	src/libtomahawk/result.h
2011-01-13 17:44:22 -05:00
Christian Muehlhaeuser
a4e140972e * Initialize m_portfwd so we don't crash deleting a bogus pointer. 2011-01-13 17:34:16 +01:00
Christian Muehlhaeuser
5beda42d57 * Set initial connection state. 2011-01-13 17:31:34 +01:00
Christian Muehlhaeuser
ff512d8289 * Fixed Servent not emitting ready() if it's not meant to setup UPNP. 2011-01-13 17:28:14 +01:00
Christian Muehlhaeuser
e828972b95 * Port-Forwards are now being setuped in a separate thread to avoid blocking the GUI. 2011-01-13 17:23:52 +01:00
Christian Muehlhaeuser
b95d8a6b93 * Fixed missing return statement. 2011-01-13 15:05:50 +01:00
Christian Muehlhaeuser
c0852e8871 * Fixed a few margin / spacing issues across all platforms (well, hopefully). 2011-01-13 14:09:15 +01:00
Christian Muehlhaeuser
05a919c16a * A few more QueryLabel fixes / design changes. 2011-01-13 11:12:11 +01:00
Christian Muehlhaeuser
6ebafa26a6 * QueryLabel now supports dragging.
* Needs support for dragging Artist / Album.
2011-01-13 08:40:21 +01:00
Christian Muehlhaeuser
81c4267263 * Fixed DatabaseCommand_PlaybackHistory's sql limiter. 2011-01-12 14:04:30 +01:00
Christian Muehlhaeuser
d09fb9a428 * Forgot to force a repaint when leaveEvent() is triggered. 2011-01-12 13:30:21 +01:00
Christian Muehlhaeuser
c3c6da389e * Fixed resetting the label while an area is hovered. 2011-01-12 13:25:10 +01:00
Christian Muehlhaeuser
80269932ad * Added QueryLabel, a QLabel-like widget which displays any combination of a query/result's Artist, Album and Track.
* Paints a nice rounded-rect around the artist / album / track item when hovered with the mouse.
* Drag and drop / detailed click signal support coming up.
2011-01-12 13:18:32 +01:00
Leo Franchi
3f1696c16f fix resolving, still a load bug: losing the playlist current revision in the in-memory object when creating initially 2011-01-11 23:04:28 -05:00
Leo Franchi
ecb72eb449 activate modeswitch button 2011-01-11 22:02:57 -05:00
Leo Franchi
d3c48a5342 change the dynamic header a bit, still not final or anything, but more bearable
add logo to generators
2011-01-11 21:51:20 -05:00
Leo Franchi
6adae0c1d9 fix wrong widgets shown on dynamic control creation 2011-01-11 20:15:25 -05:00
Leo Franchi
5df5938ec1 fix deleting controls 2011-01-11 19:58:04 -05:00
Leo Franchi
ee78eb52dd fix crashes, but deleting controls doesn't work of course :) 2011-01-10 23:54:10 -05:00
Leo Franchi
34799e36e0 Merge branch 'master' into dynamic
Conflicts:
	src/libtomahawk/collection.h
	src/libtomahawk/database/databasecommand_loadplaylistentries.cpp
	src/libtomahawk/database/databasecommand_setplaylistrevision.cpp
	src/libtomahawk/database/databasecommand_setplaylistrevision.h
	src/libtomahawk/playlist.cpp
	src/libtomahawk/playlist.h
2011-01-10 19:01:05 -05:00
Christian Muehlhaeuser
2edd93ab3c * BufferIODevice & FileTransferConnection now support seeking (needs testing). 2011-01-10 15:00:33 +01:00
Christian Muehlhaeuser
0dd7d1e0e0 * Fixed using resolv-hints for offline sources. 2011-01-10 12:00:52 +01:00
Leo Franchi
09dc882bac create dynamic playlists in GUI thread
not fixed everywhere yet, dbcmd unserialized from json creates it in the worker thread still
2011-01-10 00:04:12 -05:00
Leo Franchi
fbd9265d31 lots of work on dynamic playlists. loading, saving, updating, working, etc.
crashes on loading still
2011-01-09 21:48:53 -05:00
Leo Franchi
4a22e436ac fix deleting 2011-01-09 13:34:01 -05:00
Leo Franchi
6b110cf4b4 properly save and load dynamic playlists 2011-01-09 12:50:14 -05:00
Leo Franchi
19fe8217c6 Merge branch 'master' into dynamic
use ints instead of enums for properties
only connect to dynamic playlist revision changes signal

Conflicts:
	src/CMakeLists.txt
	src/libtomahawk/database/databaseimpl.cpp
	src/libtomahawk/database/schema.sql
	src/libtomahawk/database/schema.sql.h
	src/libtomahawk/playlist.h
	src/libtomahawk/result.h
	src/playlist/playlistmanager.cpp
	src/tomahawkwindow.cpp
2011-01-09 11:11:32 -05:00
Christian Muehlhaeuser
18d5d43695 * Temporary fix for infinite loop inside FLAC transcoder. 2011-01-09 10:57:30 +01:00
Christian Muehlhaeuser
3eeec206f1 * Fixed crash in DbSyncConnection. 2011-01-09 07:42:31 +01:00
Christian Muehlhaeuser
3061a95cb1 * Introduced result-hints for static playlists. Speeds up resolving - lots. It will also preserve whichever result you prefer for a query.
* If the last DatabaseCommand in a message is invalid, don't leave the source hanging in an unsynced state.
* DatabaseImpl can now resolve results by their URL.
* Updated README.
* Little fixes / cleanups all over the place.
2011-01-09 07:22:42 +01:00
Leo Franchi
9e3aab1e38 fix static mode dynamic playlists 2011-01-08 19:02:13 -05:00
Leo Franchi
8668b1013c more working static playlists 2011-01-07 22:37:31 -05:00
Christian Muehlhaeuser
7a9a117307 * Fixed recursive message fetching bug. 2011-01-07 08:51:40 +01:00
Christian Muehlhaeuser
e462c3a3d9 * Report last op's guid in DatabaseCommand_LoadOps' done signal. 2011-01-06 12:35:49 +01:00
Christian Muehlhaeuser
395a1a58c2 * Keep an internal last op guid for DbSyncConnection. 2011-01-06 12:19:44 +01:00
Christian Muehlhaeuser
64ebd68c1d * Some more DatabaseImpl cleanups. 2011-01-06 11:52:36 +01:00
Christian Muehlhaeuser
1eb4adaefe * Seemed unsafe to reuse the same sql query object over and over again. 2011-01-06 11:45:09 +01:00
Christian Muehlhaeuser
0b26cf1695 * Don't reset lastop for singleton commands. 2011-01-06 10:38:44 +01:00
Christian Muehlhaeuser
a60ae88ff8 * DatabaseCommands can now be marked "singleton-commands", which means that only the latest enqueued command of this type will be kept in the oplog. 2011-01-06 10:13:47 +01:00