Commit Graph

206 Commits

Author SHA1 Message Date
Jonas Kvinge 0da0e0a6db macdeployqt: Fix typo 2021-10-09 01:50:19 +02:00
Jonas Kvinge de2b6d1dee macdeployqt: Replace QSet with QList 2021-10-09 01:50:19 +02:00
Jonas Kvinge 1fd0d1a330 macdeployqt: Remove FinalCheck from header 2021-10-08 23:47:33 +02:00
Jonas Kvinge 84d9b30fec macdeployqt: Replace bearer with tls 2021-10-08 23:40:41 +02:00
Emmanuel 0637b65846
Fix a few narrowing conversions (#761)
* Fix narrowing conversion in album cover loader

* Fix narrowing conversions in discogs cover provider

* Fix narrowing conversions in spotify cover provider

* Add explicit conversion in moodbarbuilder

* Fix narrowing conversions in osd dbus

* Make WordyTimeNanosec use unsigned quint64

* Fix narrowing conversions in song

* Fix narrowing conversions in qobuz stream url request

* Make ConnectionInfo.msgLen use unsigned quint64

* Make AnalizerBase.timeout to signed int

* Fix narrowing conversions in album cover fetcher

* Make fht type be unsigned int

* Correct for type in blockanalizer and use std::fill where possible

* Revert "Fix narrowing conversions in song"

This reverts commit 3de291394d.
2021-09-12 21:24:22 +02:00
Jonas Kvinge 6e0a5fb5c6 Make const 2021-08-25 02:29:05 +02:00
Jonas Kvinge ea2bfbda44 Formatting 2021-08-23 21:21:08 +02:00
Jonas Kvinge ed7794f396 macdeployqt: Replace foreach with C++11 for loop 2021-08-23 01:44:35 +02:00
Jonas Kvinge 679b468618 macdeployqt: Fix QLibraryInfo::LibraryExecutablesPath with Qt 5 2021-08-19 20:27:21 +02:00
Jonas Kvinge 9cc995cb52 Add macdeploycheck 2021-08-19 19:17:43 +02:00
Jonas Kvinge 42d414797a macdeployqt: Formatting 2021-08-19 19:17:43 +02:00
Jonas Kvinge b071a4df70 macdeployqt: Simplify code in changeInstallName 2021-08-19 19:17:43 +02:00
Jonas Kvinge 46d927291c macdeployqt: Adapt upstream change 2021-08-19 19:17:43 +02:00
Jonas Kvinge 50ab01d9c9 macdeployqt: Remove unused option to specify plugins dir 2021-08-19 19:17:43 +02:00
Jonas Kvinge 7ce922b084 Simplify CMake by using macros 2021-07-30 21:17:50 +02:00
Jonas Kvinge 190b23b702 Fix build with macports 2021-07-18 15:23:57 +02:00
Jonas Kvinge 4251bee3ca Change some uses of QMap to QHash 2021-07-12 08:28:52 +02:00
Jonas Kvinge e48b7d83a3 Formatting 2021-07-11 09:49:38 +02:00
Jonas Kvinge cd82b0a669 Fix spelling and typos 2021-07-02 18:45:53 +02:00
Jonas Kvinge d614a94203 Remove const from SingleApplication methods 2021-06-22 16:15:04 +02:00
Jonas Kvinge 584f5e5935 Change bool/int condition 2021-06-22 14:04:42 +02:00
Jonas Kvinge 58a5367015 Make const 2021-06-22 14:04:42 +02:00
Jonas Kvinge 8c2b907ff5 Make static 2021-06-22 14:04:42 +02:00
Jonas Kvinge 3a3305c020 Uppercase literal suffix 2021-06-20 23:49:04 +02:00
Jonas Kvinge 1295033fae Clang-Tidy and Clazy fixes 2021-06-20 19:04:08 +02:00
Jonas Kvinge 6fa331ad06 Make macdeployqt work with Qt 5 too 2021-04-10 03:28:38 +02:00
Jonas Kvinge beacea0482 Improve macdeployqt patch 2021-03-31 01:00:51 +02:00
Jonas Kvinge 59bffed47f Use static_cast 2021-03-21 18:53:02 +01:00
Jonas Kvinge ee5a191e39 Change to qint64 2021-03-21 06:07:11 +01:00
Jonas Kvinge 645da2713d Remove emit from slots 2021-03-21 04:36:54 +01:00
Jonas Kvinge 9498638988 Make macdeployqt use environment variables for gstreamer 2021-03-20 14:19:49 +01:00
Jonas Kvinge 87dad82210
Update README.md 2021-03-19 00:35:13 +01:00
Jonas Kvinge 6fb48af598 Fix macOS deployment 2021-03-18 23:08:50 +01:00
Jonas Kvinge 8193be36e5 Use a modified version of macdeployqt 2021-03-17 21:12:12 +01:00
Jonas Kvinge 32b94555c3 Remove 3rdparty taglib 2021-02-27 16:55:41 +01:00
Jonas Kvinge f908336ec6 Add back old MPEG::File::File constructor
The unit tests still uses it.

Fixes #650
2021-02-15 21:47:50 +01:00
Jonas Kvinge 877319a8e5 taglib: Change while to for loop in TableOfContentsFrame 2021-02-13 00:41:49 +01:00
Jonas Kvinge 295db43bca taglib: Remove unused methods 2021-02-13 00:31:54 +01:00
Jonas Kvinge 4285f43316 taglib: Make Frame::asProperties virtual 2021-02-13 00:15:51 +01:00
Mikalai Daronin 57709413e1
Add SPMediaKeyTap back (#621) 2021-01-06 14:46:21 +01:00
Jonas Kvinge 160e4570a2
Use C++17 (#579)
* Use C++17

* Replace std::random_shuffle with std::shuffle

* Add random include
2020-11-05 22:28:49 +01:00
Jonas Kvinge 23ee17594d Simplify CMake Qt 2020-10-27 20:54:25 +01:00
Jonas Kvinge eec4b2cc0e Call QLocalSocket::flush() after QLocalSocket::waitForBytesWritten() 2020-10-05 22:05:37 +02:00
Jonas Kvinge eb749bd76f Fix compile 2020-10-05 21:40:31 +02:00
Jonas Kvinge 7d1e404efd Fix header guard 2020-10-05 21:34:45 +02:00
Jonas Kvinge 4a01a578d1 Update singleapplication 2020-10-05 21:31:03 +02:00
Jonas Kvinge 28d0cc8795 Format singleapplication sources 2020-10-04 02:18:10 +02:00
Jonas Kvinge ae6a50626d Change Qt 5/6 option 2020-10-01 19:43:39 +02:00
Jonas Kvinge 900a4071ed Use bytearray for qChecksum with Qt 6 2020-09-04 21:54:59 +02:00
Jonas Kvinge d2ac081177 Fix taglib cmake type size checks 2020-08-11 16:23:07 +02:00
Jonas Kvinge f5b245c72d Add option to compile with Qt 6 2020-07-18 04:47:54 +02:00
Jonas Kvinge 1c70e3be25 Ignore format nonliteral in tutils.h 2020-07-17 16:34:37 +02:00
Jonas Kvinge 614a09db1d Fix some compile warnings 2020-07-13 18:11:57 +02:00
Jonas Kvinge cd2932adea taglib: Only match APE if MAC is found in the beginning of the file 2020-06-27 02:01:24 +02:00
Jonas Kvinge 26586fb9ef Fix some includes in taglib 2020-06-27 00:06:02 +02:00
Jonas Kvinge 5f71a558b9 Adapt most changes from taglib2 2020-06-26 23:30:30 +02:00
Jonas Kvinge 837ae2932f Add SYSTEM to system includes in target_include_directories 2020-06-26 23:26:04 +02:00
Jonas Kvinge b51cc21140 Use override 2020-06-26 23:01:57 +02:00
Jonas Kvinge dc36aee7ff Change some explicit usage 2020-06-26 22:41:38 +02:00
Jonas Kvinge 2beb4b8c6f taglib: Remove virtual functions workaround in audioproperties 2020-06-22 03:20:17 +02:00
Jonas Kvinge ad4230f7fa taglib: Remove added explicit in tiostream 2020-06-22 03:11:58 +02:00
Jonas Kvinge 00369a2cfe taglib: Fix some formatting 2020-06-22 03:11:35 +02:00
Jonas Kvinge 248e487dd5 taglib: Remove unused functions + add virtual and explicit 2020-06-22 02:32:37 +02:00
Jonas Kvinge 3a3dc02a66 taglib: Rename Properties to AudioProperties 2020-06-22 00:49:25 +02:00
Jonas Kvinge 3b58c02db0
Improve CMake files (#460) 2020-06-17 22:56:20 +02:00
Jonas Kvinge 651020388d Use override 2020-06-15 21:55:05 +02:00
Jonas Kvinge 72ede666d4 Replace use of C style casts 2020-06-15 17:59:02 +02:00
Jonas Kvinge a68c249d4e Use parentheses for macro arguments 2020-06-15 00:33:47 +02:00
Jonas Kvinge 56caab4461 Remove redundant initialization 2020-06-15 00:11:52 +02:00
Jonas Kvinge 13b60351a6 Replace use of deprecated C++ headers 2020-06-14 23:54:18 +02:00
Jonas Kvinge 082c9097e4 Fix parameter name mispatches 2020-06-14 18:58:24 +02:00
Jonas Kvinge ef34dce4dc Additional manual formatting to taglib sources 2020-06-14 17:01:05 +02:00
Jonas Kvinge 4ce099294c Format taglib sources 2020-06-13 19:02:42 +02:00
Jonas Kvinge 5d5723ad58 Replace qrand with QRandomGenerator when using Qt 5.10 or higher 2020-05-29 17:37:46 +02:00
Jonas Kvinge 8a5d5ad952 Fix some compile warnings in taglib 2020-04-23 21:51:14 +02:00
Jonas Kvinge f0b529952d Fix some compile warnings in singleapplication 2020-04-23 21:00:43 +02:00
Jonas Kvinge c1ac2debb8 Fix some compile warnings in taglib 2020-04-23 21:00:16 +02:00
Jonas Kvinge ac40094d37 Update CMakeLists.txt files 2020-04-23 20:59:09 +02:00
Jonas Kvinge 6fe47e78f1 Remove APE file detection by content
Fixes #373
2020-04-09 00:26:25 +02:00
Jonas Kvinge 7ae049b559 Require Qt 5.6 or higher 2020-02-29 21:50:10 +01:00
Jonas Kvinge 3d3efe1117 Remove extra whitespace 2020-02-17 20:21:45 +01:00
Jonas Kvinge 8e0d792bf0 Reduce includes 2020-02-08 03:40:30 +01:00
Jonas Kvinge ab85b716bb Replace use of QTime::start() with QElapsedTimer 2019-12-21 18:11:54 +01:00
Jonas Kvinge 1b65dcd7df Fix comparison between signed/unsigned 2019-11-15 00:23:06 +01:00
Jonas Kvinge bbad45f1e7 Minor cmake fixes 2019-11-15 00:22:41 +01:00
Jonas Kvinge e7b5e02657 Update taglib 2019-09-20 18:07:13 +02:00
Jonas Kvinge bdc089290d Add fallthrough comments and remove -Wimplicit-fallthrough=0
Signed-off-by: Jonas Kvinge <jonas@jkvinge.net>
2019-09-16 21:20:12 +02:00
Jonas Kvinge 2d67279180 Fix minor code issues 2019-09-15 20:27:32 +02:00
Jonas Kvinge 9fb50b8a73 Update taglib 2019-09-11 00:36:03 +02:00
Jonas Kvinge 114f862ea4 TagLib MP4 - setTrack()/setYear() accepts 0 to remove the tag 2019-08-26 23:50:14 +02:00
Jonas Kvinge 5a490a8b5a SingleApplication: Fallback to qgetenv for username on Windows too 2019-08-26 17:31:49 +02:00
Jonas Kvinge 8fdc1c1b21 SingleApplication: Use initialization list 2019-08-26 17:22:11 +02:00
Jonas Kvinge 32cac90720 SingleApplication: Remove debug output of username 2019-08-26 02:18:02 +02:00
Jonas Kvinge b2160255d3 SingleApplication: Use geteuid / getpwuid to get username and reformat
sources
2019-08-26 02:00:47 +02:00
Jonas Kvinge 0105a53765 Use qgetenv instead of QProcess/whoami to get username 2019-08-22 21:38:54 +02:00
Jonas Kvinge d199a2be0d Fix typos and spelling 2019-08-22 18:45:32 +02:00
Jonas Kvinge 44649fd950 Remove remaining references to SPMediaKeyTap 2019-08-11 21:06:25 +02:00
Martin Delille 0e97f99f93 remove 3rdparty SPMediaKeyTap (#239) 2019-08-11 20:44:32 +02:00
Jonas Kvinge 61253b5551 Update taglib 2019-08-07 19:29:40 +02:00
Jonas Kvinge d5ca0ca283 Change compiler flags 2019-07-08 21:59:07 +02:00