Commit Graph

255 Commits

Author SHA1 Message Date
John Maguire d309d4ab27 Use c++11 instead of boost where possible. 2014-02-06 16:51:39 +01:00
John Maguire 4c23072bef Link dynamically against sqlite3 but still use a copy of QSqlLiteDriver 2013-11-22 16:31:41 +00:00
Andreas 10369cdbbb revert last commit. 2013-10-30 22:36:44 +01:00
Andreas 9bc605dc58 Try to fix the config path in windows. 2013-10-30 22:27:08 +01:00
John Maguire 981bbdce72 D'oh 2013-10-28 17:39:18 +01:00
John Maguire b08898bf2d Add workaround for weird font issue in 10.9. 2013-10-28 17:12:23 +01:00
Andreas 8b8d3e2849 Rearrange main.cpp, so no GetConfigPath() is called before instanciating QApplication and CheckPortable(). 2013-10-10 18:36:12 +02:00
Andreas 4584b50d18 Fix wrong networkcache dir. 2013-10-10 10:00:57 +02:00
Andreas acb18cdcde First tries on a portable version. 2013-09-29 10:43:34 +02:00
David Sansome 65b8e147ed Make the Spotify downloader optional again on Windows and Mac
(cherry picked from commit 4e8dba16d4)
2013-09-18 01:25:02 +02:00
David Sansome 96a8c5a9fe Make the GPL spotify code non-optional
(cherry picked from commit 2c55688601)
2013-09-18 01:24:49 +02:00
David Sansome 1a3f6af1bd Clean up the network remote settings page, add a "Get it on Google Play" button. 2013-07-27 15:27:08 +10:00
David Sansome eb20fb5945 Remove all the soruce for WMDM devices. Fixes issue 3748 2013-06-30 08:25:12 +00:00
John Maguire 2cdbe9ea82 Do not use deprecated function in glib 2.36+
Fixes issue #3596
2013-04-06 13:45:40 -07:00
Andreas a4d26bc249 - Actually fix the SIGPIPE (Broken Pipe) Error. It was caused by the QTcpSocket::flush().
- Revert previous SIGPIPE fixes.
- Rename method in RemoteClient to match its function.
2013-01-28 22:45:26 +01:00
Andreas a2c07527bf Included signal header file in main.cpp. 2013-01-28 15:40:00 +01:00
Andreas cf47331cf8 Small code style fix. 2013-01-28 14:40:04 +01:00
Andreas fcc0da554b Moved signal(SIGPIPE, SIG_IGN) to main. 2013-01-28 14:39:31 +01:00
David Sansome d9ea96033a Print the version number on startup 2012-12-26 12:37:57 +11:00
John Maguire ea8655af83 Add Dropbox service and settings page. 2012-11-29 20:48:34 +01:00
John Maguire 6bf0b4736a Start of dropbox support. Only whitelisted accounts work for now. 2012-11-29 20:48:25 +01:00
John Maguire 6c5e831a7d Remove tag encoding detection as we don't really use it anymore. 2012-11-29 13:41:20 +01:00
John Maguire d1845bc70e ifdef WmdmThread::StaticInit() in main() 2012-11-19 18:56:35 +01:00
John Maguire 80d35ef128 Merge remote branch 'origin/mingw-w64' 2012-11-19 18:17:19 +01:00
David Sansome 141bdc6888 Try parsing a message in main(), both in the main thread and in a QtConcurrent thread.
(cherry picked from commit 4446b277814ae4afe7d4aba85eb4fd5475843880)

Fixes issue 3265
2012-11-18 09:44:03 +11:00
John Maguire 8501ac0d96 Do WMDM static init in main() to avoid static mutex. 2012-11-15 22:08:04 +00:00
Arnaud Bienner 4fd45e0028 uiLanguages returns strings with "-" as separators for language/region; however QTranslator needs "_" separators 2012-11-05 19:36:13 +01:00
John Maguire 6cadc9321d Remove legacy config file migration code for mac. 2012-10-29 12:47:59 +00:00
John Maguire a56947e356 Add support for new musicbrainz cover art archive.
See: http://blog.musicbrainz.org/?p=1616
2012-10-10 14:45:13 +02:00
John Maguire a1361dfa7e Enable fullscreen support for OS X 10.7+
Fixes issue #2329
2012-10-09 14:56:17 +02:00
John Maguire f98f1ff6df Fix Qt 4.7 compilation. 2012-09-26 12:38:55 +02:00
John Maguire b6276d53cf Use UI language where available instead of system language.
Fixes issue #3175
2012-09-26 12:05:43 +02:00
Arnaud Bienner c2723008a2 Blacklist all NVidia drivers 2012-09-24 20:54:46 +02:00
John Maguire 27975c7a16 Separate out spotify blob downloader into a new optional component. 2012-09-03 17:38:07 +02:00
John Maguire 4719a347fa Blacklist nvidia driver 304.37
Fixes issue #3115
2012-08-23 12:07:16 +02:00
David Sansome 1fe1a9def3 Set the qtsparkle language on startup 2012-08-08 19:16:23 +01:00
John Maguire 06f7acd96b Ship some GIO modules on Mac so HTTPS works correctly. 2012-07-30 17:52:21 +02:00
John Maguire 74fe419659 Factor out metatype registration. 2012-06-20 15:07:28 +02:00
John Maguire 0d5d1dbad1 Filter out songkick concerts that are too far away. 2012-06-20 14:13:15 +02:00
John Maguire ba95cc7788 Move the setting of the gstreamer environment variables into main() to avoid a race condition where the spotify blob would start up before the gstreamer initialisation happened in the main process and thus would try and load the system gstreamer plugins. 2012-06-20 11:19:34 +02:00
David Sansome b427fc8a24 Merge branch 'globalsearch-tree'
Fixes issue 2238
Fixes issue 2241
Fixes issue 2368
Fixes issue 2375
Fixes issue 2843
Fixes issue 2872
Fixes issue 2938
2012-06-16 21:24:29 +01:00
John Maguire 4da488d6f0 Force native windows on OS X to mostly fix focus issue with NSSearchField.
See QTBUG-11401.
2012-06-13 15:50:58 +02:00
David Sansome 9c36cfa199 Replace the global search widget with a "Search" view on the sidebar. Organise results in a tree automatically. 2012-06-10 16:36:15 +01:00
David Sansome 13e13ccd9a Work around a bug in Qt where the wheelScrollLines setting is ignored. Fixes issue 2824. 2012-05-13 17:41:38 +01:00
David Sansome 6677d0fe30 Remove Android remote control support for now 2012-04-13 15:01:22 +01:00
John Maguire 66c8d6d360 Tidy up a bit. 2012-04-13 15:53:17 +02:00
John Maguire 133c2e1640 Postpone the database check & backup to a little while after startup. 2012-04-13 15:49:56 +02:00
David Sansome c5f5b8b597 Register Podcast list metatypes for Qt < 4.7 2012-03-12 14:10:56 +00:00
Arnaud Bienner 886f489353 Try to fix Mac builds 2012-02-27 02:58:15 +01:00
David Sansome 04dcfeb9d2 Fix a compile error in a minimal build 2012-02-26 16:00:00 +00:00
David Sansome bacef04405 Refactoring: remove a couple of the AlbumCoverLoader instances and instead use a shared CurrentArtLoader. 2012-02-26 14:40:51 +00:00
David Sansome 48f15c9fc7 Refactoring: instead of passing individual pointers to useful core classes (like TaskManager or LibraryBackend) to each class that uses them, pass one singleton-like Application instance everywhere. 2012-02-26 14:40:51 +00:00
David Sansome 62d5c8224b Remove the hack to disable clementine's global menubar, since the appmenu-qt bug has been fixed upstream. 2012-02-11 16:28:43 +00:00
Alan Briolat dbca026a66 Added support for shipping GIO modules (e.g. glib-networking) on win32 2012-02-01 20:58:54 +00:00
Martin Björklund 8d63ddd3eb Add a Discogs cover provider
Fixes issue 1794
2012-01-29 14:27:07 +00:00
David Sansome 0335d57a0f Improve pipeline buffering: on an underrun event playback will now pause until the buffer is completely full. Fixes audio stuttering on when listening to radio streams on slow networks. 2012-01-23 15:01:39 +00:00
David Sansome 6ab38e0093 Add ValiCert's root CA to QSslSocket's list to fix an "invalid username/password" error when connecting to Grooveshark on a Windows machine that didn't have all the root CAs installed.
Fixes issue 2532
2012-01-09 22:57:24 +00:00
Arnaud Bienner c2d794c014 Merge branch 'master' into appearance 2012-01-09 20:15:10 +01:00
Arnaud Bienner ea063e1c39 Add missing modifications 2012-01-09 20:08:09 +01:00
David Sansome 3e0f252b34 Exit worker processes when their sockets are closed, and make sure the main app closes sockets when exiting - fixes a crash dialog on Windows. 2012-01-08 16:35:01 +00:00
David Sansome 9be641ee87 The external tagreader mostly works now:
* Make TagReaderClient a singleton until it's easier to pass dependencies around
 * Add a WaitForSignal() that uses a local event loop to wait for a signal to be emitted
 * Add a WaitForFinished() to _MessageReplyBase that blocks using a semaphore
 * Add blocking versions of all TagReaderClient methods
 * Use the TagReaderClient everywhere that Song::InitFromFile and friends were used before
2012-01-07 00:26:07 +00:00
David Sansome 9041117867 Move everything around in the source tree - static libraries and external binaries now go in "ext/". Add a generic worker pool. 2012-01-05 23:25:13 +00:00
David Sansome 85f2f087cb Start work on moving everything that uses taglib out into an external process. 2012-01-05 23:24:48 +00:00
John Maguire 058e421827 Move mac init code after logging init. 2012-01-04 14:08:31 +00:00
John Maguire e9d770a864 Remove pjsip/stun code and make PortForwarder at least compile. 2011-11-28 16:22:13 +01:00
John Maguire 85ab8e260a Restore Qt 4.7 behaviour by adding a content type to POST requests that don't have one. 2011-11-10 23:42:34 +01:00
David Sansome dac6c1bf09 Add a SomaFM search provider 2011-11-06 00:02:32 +00:00
David Sansome 8c69094931 Add a generic class for the "cached list of stuff" pattern used by last.fm and di.fm/sky.fm for keeping friend lists or stream lists around and refreshing them after a certain length of time 2011-11-06 00:02:32 +00:00
David Sansome fccd0a5458 Don't make QCA a requirement if we're bundling the spotify blob (since we won't need to download anything at runtime) 2011-11-05 15:44:56 +00:00
David Sansome c12b3ab399 Verify the signatures of spotify blob files downloaded at runtime. Should protect against MITM attacks, and compromises of our server. 2011-11-05 01:12:28 +00:00
John Maguire e1a99f1909 Change include to make glib happy. 2011-10-26 12:14:02 +02:00
David Sansome 5237c005c9 Work around an NVIDIA driver bug that would cause Clementine to use 100% cpu on shutdown. 2011-10-23 15:44:24 +01:00
David Sansome 9a739a3346 Add a DBus interface onto the global search engine, and add a KDE krunner plugin that performs global searches in Clementine.
This is optional and is not compiled unless you have the plasma developer packages installed.
2011-10-19 23:17:24 +01:00
David Sansome dea15c91ba Oops, fix a URL 2011-10-14 21:24:35 +01:00
David Sansome bde558f655 Force the menubar to be shown in the Clementine window instead of in Unity's global menubar thing. 2011-10-14 21:17:41 +01:00
David Sansome d59e21d709 Set permissions on Clementine's config file to 0600 2011-10-01 17:15:39 +01:00
David Sansome cc20d90a7a Last.fm global search provider 2011-09-24 17:01:18 +01:00
David Sansome d83736acc0 Initialise a GlobalSearch in main and pass it around, so providers can register themselves 2011-09-24 14:44:23 +01:00
David Sansome 1f8263d329 Add a C++ implementation of the Amazon cover provider 2011-07-23 19:34:54 +01:00
David Sansome 38100f5e59 Make CoverProviders not a singleton 2011-07-23 19:34:41 +01:00
David Sansome 387b5cd5ff Fix some bugs in loading premium di.fm and sky.fm streams 2011-07-20 20:06:28 +01:00
Tyler Rhodes ded8e5f6f0 Refactor "Radio" files into "Internet" files. 2011-07-15 13:27:50 +00:00
Arnaud Bienner eb55e1b53d Try to fix the build 2011-06-22 21:52:51 +00:00
David Sansome 4864d24e42 Only do the Ubuntu Unity hack on Linux 2011-06-22 20:52:49 +00:00
Arnaud Bienner 63300d79db Set tr function's codec to system encoding. Should (finally) resolve problems with already translated strings 2011-06-22 20:41:48 +00:00
David Sansome fd7d24b11a Add Clementine to the Unity system tray whitelist on startup. 2011-06-18 19:08:09 +00:00
David Sansome 7de618beff Fix registration of metatypes for list handlers on Qt 4.7 2011-05-29 14:08:55 +00:00
David Sansome 6dd1634946 Add Python bindings for Playlists, port the rainbowizer plugin to PythonQt and make its colours a bit more tasteful 2011-05-29 12:55:18 +00:00
David Sansome fc97e4bb8c Convert CoverSearchResult lists correctly 2011-05-22 14:10:54 +00:00
Paweł Bara 46a411844a some more corrections of the python API for cover providers; still not working ;) 2011-05-21 12:19:35 +00:00
David Sansome 147bbb9928 Add some more python bindings 2011-05-19 23:02:15 +00:00
John Maguire eab423f84e 2-way test infrastructure for ICE tunnelling. 2011-05-18 13:54:26 +00:00
David Sansome 255682b057 Remove the special load behaviour from Playlist Items and instead add URL Handlers that do the same job but for all playlist item types. 2011-04-28 15:10:28 +00:00
David Sansome e152e3a3e3 Start of some spotify support - builds a binary blob linked against libspotify that Clementine starts as a separate process. 2011-04-25 19:16:26 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
John Maguire 55021ef67d Fix compilation without pjsip. 2011-04-07 14:12:37 +00:00
John Maguire 18bfa12042 Add the beginnings of an ICE socket implementation.
Currently, it can be demoed using --stun-test and the icedemo from pjsip as the other client.
TODOs:
Add ability to do a full demo using only 2 clementine instances.
Complete session initiation over XMPP.
Add local & port forwarded sockets as options.
2011-04-07 13:38:27 +00:00
Paweł Bara 032b5f7e48 initial commit of "multiple covers providers" feature:
- simple API for cover providers (both C++ and SIP)
- a new "package" for cover related code
2011-04-02 13:34:06 +00:00
David Sansome d50cfaed46 Add google breakpad to 3rdparty, and gather crash reports 2011-03-23 21:53:24 +00:00
David Sansome b51566cdd9 Remove the dependencies on libtunepimp, libofa, libmusicbrainz. Use the gstreamer ofa plugin instead to fingerprint songs. 2011-03-12 21:19:41 +00:00