1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-11 01:14:24 +01:00
Commit Graph

72 Commits

Author SHA1 Message Date
Chocobozzz
631a6cdabd Merge branch 'master' into qt5 2015-09-16 17:40:54 +02:00
Chocobozzz
7a866ac46b Fix compilation with Qt5.5 2015-07-26 09:54:19 +02:00
John Maguire
b2a532be62 Experiment with typesafe time units 2015-07-20 14:35:13 +01:00
Chocobozzz
149e870ab4 Fix log messages (lines and classname) 2015-06-16 19:58:36 +02:00
Chocobozzz
98a450ad77 Fix compilation error (logging macros) 2015-06-13 20:51:18 +02:00
Chocobozzz
d755d5b602 Use functions instead of macros for logs 2015-06-11 18:11:19 +02:00
Chocobozzz
4943bca877 Fix release compilation error because of qt_no_debug_output flag 2015-06-11 11:35:30 +02:00
Chocobozzz
afda8f7505 Update again from master 2015-04-17 16:06:57 +02:00
John Maguire
aa22a43f44 Add exponential back-off to Amazon requests. 2015-04-17 12:10:40 +01:00
Chocobozzz
7bfe32c7df Avoid warning message when the level exceeds the threshold 2015-04-16 23:22:53 +02:00
Chocobozzz
e986ab5a4b Merge master branch and adapt it to qt5 2015-04-16 17:16:34 +02:00
Chocobozzz
8b226c2171 Update non optionnals sources to qt5 2015-04-11 23:24:07 +02:00
Chocobozzz
ded70d6555 Update internals CMakeLits to qt5 2015-04-11 23:24:06 +02:00
John Maguire
705cdf11fc Move ScopedNSAutoreleasePool to ext 2015-03-02 17:51:17 +01:00
John Maguire
41e9c15248 Add arraysize macro from Chromium 2014-04-29 14:11:52 +02:00
John Maguire
192b60d965 Use nullptr as parent parameter default everywhere 2014-02-10 16:03:54 +01:00
John Maguire
3323c2d094 Convert all instances of foreach() to a C++11 for
find ext src -name '*.cpp' -exec \
    sed -i -e 's/foreach(\([^,]\+\),/for (\1 :/' {} \;
2014-02-10 14:43:32 +01:00
John Maguire
bebd781fdf Reformat all non-3rd-party C/C++/Objective-C++.
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
 -style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire
71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
John Maguire
d309d4ab27 Use c++11 instead of boost where possible. 2014-02-06 16:51:39 +01:00
John Maguire
cc43e339c1 Use boost function for compatibility 2013-11-22 11:53:47 +00:00
John Maguire
b17b075361 Compile fixes for 10.9 2013-11-21 17:59:31 +00:00
David Sansome
f0b9120c43 Create a Fatal logging level, and use it when sqlite symbols can't be resolved. 2013-09-18 00:15:46 +10:00
John Maguire
dd59aaada0 Delete closures if the receiver is deleted. 2013-02-26 16:27:44 +01:00
John Maguire
195e1cb2ad Support arbitrary return type in closure for member function pointer. 2012-12-13 16:55:23 +01:00
John Maguire
020f08438f Support member function pointers in Closure.
Bonus: type-safe slots
2012-12-13 16:27:55 +01:00
John Maguire
94f76a9d08 Support function pointers and std functions with arguments in Closure. 2012-12-13 16:13:38 +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
db586ca00e Read tags from Ubuntu One files and add to local database. 2012-11-28 14:43:03 +01:00
John Maguire
c294098aef Use tr1 for mac compatibility 2012-11-26 10:10:20 +01:00
John Maguire
11f664083a Add support for standard function callbacks in NewClosure (including C++11 lambdas). 2012-11-26 09:41:26 +01:00
John Maguire
4e9231976e Unpack variadic arguments into QGenericArguments without boost::tuple. 2012-11-22 17:57:26 +01:00
John Maguire
8171192df5 Port Closure to variadic templates. 2012-11-22 17:19:04 +01:00
Arnaud Bienner
c848d311b8 Remove useless comment now we have variadic templates for ConcurrentRun 2012-11-22 02:08:59 +01:00
John Maguire
fddce90624 Use boost::bind & boost::function instead of std equivalents for better compatibility. 2012-11-21 17:17:37 +01:00
John Maguire
1fd0515168 Make variadic version of ConcurrentRun::Run() 2012-11-21 16:39:10 +01:00
John Maguire
a12ffa829e Try C++0x instead of C++11 for older compilers. 2012-11-19 19:38:29 +01:00
John Maguire
e5d02fddb6 Enable C++11 for Clementine & libclementine 2012-11-13 17:03:53 +01:00
David Sansome
36ac3a2ec0 Use the full protobuf instead of protobuf-lite, to hopefully fix
a crash on Windows.
2012-11-12 18:16:35 +11:00
David Sansome
95df1a4c25 Remove a useless message copy 2012-11-07 09:18:49 +11:00
Arnaud Bienner
09596e3732 Don't get stuck when exiting Clementine while library is being created/updated 2012-08-30 00:01:28 +02:00
Arnaud Bienner
eded1daca1 Correct typo in comments 2012-07-16 00:39:00 +02:00
Arnaud Bienner
20987e140d Oops: missing to update CMakeList.txt 2012-07-16 00:21:56 +02:00
Arnaud Bienner
0e3dc5a8be Add new ConcurrentRun templates for void functions, and functions with 3 arguments + corresponding test cases.
+ SongLoader now has its own QThreadPool to load folders/playlist in background.
Update issue 2598
This should fix slowliness problems reported.
2012-07-16 00:06:55 +02:00
John Maguire
58a3a6831a Move loading of devices from the database onto a different thread. 2012-06-29 16:56:17 +02:00
David Sansome
1c338455c3 Add missing copyright headers 2012-06-23 11:31:48 +01:00
John Maguire
b9d2d3326d Only support override in Clang. 2012-06-21 16:13:41 +02:00
John Maguire
09d37aaa01 Add OVERRIDE macro like Java's @Override. 2012-06-20 16:49:41 +02:00
Arnaud Bienner
dcc26b01ff Correct define guard's name 2012-04-25 01:22:30 +02:00
Arnaud Bienner
01daea7090 Commit missing modifications/change ConcurrentRun description a bit 2012-04-25 00:29:19 +02:00