Jeff Mitchell
1640872bd9
Update infosystemcache to load from disk on demand. It still uses a (much smaller) amount of memory for one optimization: tracking known hashes to file paths. This prevents re-reading directory trees over and over and constantly refiltering them.
2011-04-21 12:11:51 -04:00
Jeff Mitchell
d727f3a319
Merge branch 'master' into single-file-cache
2011-04-21 10:38:55 -04:00
Dominik Schmidt
3e20fd1f6a
Let SipHandler set the avatar for MyCollection
2011-04-21 13:42:26 +02:00
Frank Osterfeld
3182a294d7
Do not truncate FLAC playback.
...
If "finish" is set, play until the buffer is empty.
2011-04-20 23:34:13 +02:00
Dominik Schmidt
84019e5d11
Add DLLEXPORT macro to SipHandler
2011-04-20 21:43:14 +02:00
Dominik Schmidt
26be5c954d
Merge branch 'jreen-avatars'
...
Conflicts:
src/libtomahawk/source.h
2011-04-20 21:31:44 +02:00
Dominik Schmidt
d9a4b71414
Use the AvatarManager and show avatars in the MainWindow.
2011-04-20 21:26:16 +02:00
Dominik Schmidt
ddb7e012df
sipjreen: Add AvatarManager class
2011-04-20 21:12:04 +02:00
Dominik Schmidt
47fd7b8285
Add avatar support to controlconnection, source and sourcetreeview.
2011-04-20 20:36:49 +02:00
Dominik Schmidt
def3e3d868
Move SipHandler from application to library
2011-04-20 20:22:06 +02:00
Jeff Mitchell
e36b6bd41e
Merge remote branch 'origin/master' into single-file-cache
2011-04-20 13:01:41 -04:00
Jeff Mitchell
439521424b
Merge branch 'master' into single-file-cache
2011-04-20 12:59:30 -04:00
Alejandro Wainzinger
af9d2d388c
Lower the amount of time PortFwdThread waits until destruction. Greatly reduces shutdown time in the case where it can't communicate properly.
2011-04-20 12:58:59 -04:00
Christian Muehlhaeuser
2e80475a9d
* Moved --demo stuff to Source class.
2011-04-20 16:21:12 +02:00
Alejandro Wainzinger
cbd5196080
Fix CMake.
2011-04-19 22:26:18 -04:00
Dominik Schmidt
d87398c47a
First shitty implementation of loading avatars
2011-04-20 00:26:13 +02:00
Jeff Mitchell
248e3e7a4a
Rename some values and make slots and other functions use const values,
...
for sanity checking
2011-04-19 16:37:37 -04:00
Jeff Mitchell
edaabc0ae6
Efficiency++
2011-04-19 15:57:13 -04:00
Jeff Mitchell
9310755e92
Fix loading files, and preventing duplicates
2011-04-19 15:53:26 -04:00
Jeff Mitchell
66358d2103
Use hex in the filename
2011-04-19 15:22:29 -04:00
Jeff Mitchell
b916125756
Whoops, actually start the sync timer!
2011-04-19 09:48:42 -04:00
Jeff Mitchell
d391b9bd66
Per-file cache entry saving and loading
2011-04-19 09:43:53 -04:00
Jeff Mitchell
b9f80edea9
Move infosystem register meta types to the location as the other register
...
statements
2011-04-19 08:48:02 -04:00
Jeff Mitchell
43834a17bc
Add sync timer to cache to avoid saving everything at shutdown (runs
...
once a minute)
2011-04-19 08:38:47 -04:00
Dominik Schmidt
ed93084315
Merge branch 'jreen-tpqt4-comp'
2011-04-18 22:35:42 +02:00
Dominik Schmidt
04b4c69ab3
sipjreen: Add I'm-not-a-person-auto-response
2011-04-18 22:35:30 +02:00
Dominik Schmidt
01980ab6d1
sipjreen: Add authError signal
2011-04-18 22:35:18 +02:00
Dominik Schmidt
35d51a2cd2
sipjreen: Fix some signal and slot connections
2011-04-18 22:35:09 +02:00
Jeff Mitchell
309024a467
Switch some calls from InfoCustomData to InfoCriteriaHash, much simplifying
2011-04-18 10:40:45 -04:00
Jeff Mitchell
8bafe8bb9a
Rename InfoCacheCriteria into something more generic since many plugins will probably use it for input data
2011-04-18 10:12:37 -04:00
Dominik Schmidt
5b01ae5268
On default use system jreen package, allow the user to enforce in-tree compilation with -DINTERNAL_JREEN=ON.
2011-04-17 21:25:24 +02:00
Dominik Schmidt
cadc72da2e
sipjreen: Clean up debug output and add legacy mode
2011-04-16 17:27:39 +02:00
Dominik Schmidt
5610abfcde
Merge remote branch 'origin/master' into jreen-tpqt4-comp
...
Conflicts:
CMakeLists.txt
src/sip/jreen/jabber_p.cpp
src/tomahawkapp.cpp
2011-04-16 15:32:46 +02:00
Dominik Schmidt
3254e602e3
Merge branch 'master' into jreen-tpqt4-comp
2011-04-16 15:07:17 +02:00
Jeff Mitchell
f7c440ed4f
Don't let cache requests go through until the cache is fully loaded
2011-04-16 03:40:15 -04:00
Jeff Mitchell
5334dbf037
Whoops. C'mon, do what I mean, not what I tell you to do.
2011-04-16 03:31:40 -04:00
Jeff Mitchell
9202113a43
Attempt to speed up infosystemcache loading on startup
2011-04-16 03:03:59 -04:00
Christian Muehlhaeuser
cdd3684dba
* Fixed style.
2011-04-16 01:31:20 +02:00
Leo Franchi
ed2c1513a8
wasn't meant to commit that
2011-04-15 19:14:48 -04:00
Leo Franchi
fe08bf2175
and set properly
2011-04-15 19:13:54 -04:00
Leo Franchi
ab72ee2302
if we are created remotely, use their creation date
2011-04-15 19:12:40 -04:00
Christian Muehlhaeuser
dca94f864d
* Fixed style / typo.
2011-04-16 00:18:20 +02:00
Leo Franchi
1ecb799694
add a createdOn property to playlists, and sort sourcetree
2011-04-15 17:27:27 -04:00
Leo Franchi
3671f35928
don't crash if we try to feed QxT a result that we don't have a proper length for
2011-04-15 14:00:11 -04:00
Frank Osterfeld
db4fc8bd03
Fix compiler warnings.
2011-04-15 13:46:51 +02:00
Christian Muehlhaeuser
aad9dd4d75
* Fixed rejecting default covers for artist images, too.
2011-04-15 10:25:32 +02:00
Christian Muehlhaeuser
abd5c3c567
* Fixed bad url detection in last.fm plugin.
2011-04-15 09:09:20 +02:00
Christian Muehlhaeuser
66e3d07aee
* Use canonicalPath() wherever dealing with file- & dir-paths.
2011-04-15 07:50:38 +02:00
Frank Osterfeld
9af6ff7911
Do not crash when the collection folders contains cycles (symlinks).
...
Example: /my/collection/subfolder/link -> /my/collection
Use canonicalFilePath to detect cycles and also check m_newdirtimes for an existing timestamp before recursing into subfolders.
2011-04-15 13:52:49 +08:00
Christian Muehlhaeuser
04d30913f9
* Show artist images in ArtistView (lazy-loading).
...
* Added artist image api to LastFmPlugin.
2011-04-15 07:35:42 +02:00