Jonas Kvinge
426de61525
Add const and std::as_const
2024-04-23 17:15:42 +02:00
Jonas Kvinge
227f5e5176
Replace QStringLiteral with QLatin1String
2024-04-23 16:57:49 +02:00
Jonas Kvinge
398db964b8
Use QDateTime::currentSecsSinceEpoch
2024-04-23 16:48:51 +02:00
Jonas Kvinge
c1a49da385
tests: Use QStringLiteral
2024-04-21 19:37:39 +02:00
Jonas Kvinge
e201f71a74
CMake: Simplify Qt detection
2023-09-16 14:55:42 +02:00
Jonas Kvinge
2e61235403
Application: Use shared pointers
...
Fixes #1239
2023-07-21 05:55:24 +02:00
Jonas Kvinge
d3ee749c14
CollectionBackendTest: Fix build
2023-07-01 22:34:51 +02:00
Jonas Kvinge
e20cbe4170
Save embedded cover in the same process as tags
...
Possible fix for #1158
2023-03-18 20:03:07 +01:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
knuxify
194e81205b
CollectionBackendTest: Fix compile
2023-01-10 17:38:30 +01:00
Jonas Kvinge
b5fa401db9
Collection: Make sure `RunQuery` does not access collection items
...
- Rename `QueryOptions` to `CollectionFilterOptions`.
- Create new class `CollectionQueryOptions` for passing options from model to `CollectionQuery`.
- Rename `Directory` to `CollectionDirectory`.
Fixes #1095
2023-01-08 18:16:16 +01:00
Jonas Kvinge
6329a7711d
Fix includes
2022-12-29 21:39:03 +01:00
Jonas Kvinge
7c0c9fccdb
Organize: Don't allow organizing files without unique tags
...
Fixes #1077
2022-11-26 23:37:41 +01:00
Jonas Kvinge
f59632ae59
TagReaderTest: Add tests for reading and writing compilation tag
2022-11-22 21:27:26 +01:00
Jonas Kvinge
b0704c654c
utilities_test: Fix QByteArray conversion
2022-10-13 21:37:11 +02:00
Ondrej Mosnáček
162190bcb8
Mark collectionmodel_test as not requiring GUI
...
The test doesn't seem to acually need gui_required = true, so set it to
false.
2022-08-31 12:40:46 -07:00
Jonas Kvinge
564211aceb
Prefer ICU to transliterate characters when available
...
Fixes #1008
2022-07-28 16:31:16 +02:00
Jonas Kvinge
dbbedee77f
CollectionBackendTest: Remove invalid song test
2022-07-10 19:09:09 +02:00
Jonas Kvinge
16ac9ea061
TagReaderTest: Remove use of deprecated QCryptographicHash constructor
2022-07-10 19:08:43 +02:00
Jonas Kvinge
b54c749e43
Replace use of C-style casts
2022-06-13 00:40:31 +02:00
Jonas Kvinge
d82fd421ed
Replace use of C-style casts
2022-06-13 00:23:42 +02:00
Jonas Kvinge
a2dad982f8
Move sqlrow to core
2022-05-13 18:15:04 +02:00
Jonas Kvinge
3acbe431f7
Replace non-translated characters with underscore
2022-02-04 19:07:15 +01:00
Jonas Kvinge
5eae3ddd8a
Use `float` for rating
2021-10-30 18:53:14 +02:00
Jonas Kvinge
79ac53b2d9
Fix narrowing conversions
2021-10-30 02:21:29 +02:00
Jonas Kvinge
ebadb4db0a
Use `const_iterator`
2021-10-30 01:57:12 +02:00
Jonas Kvinge
3ab86543ad
Add support for saving playcounts and ratings to tags
2021-10-24 16:08:17 +02:00
Jonas Kvinge
ddfc9d911b
Extend unit tests
2021-09-26 01:15:17 +02:00
Jonas Kvinge
d2d7f32c45
Add new method for updating songs based on song ID
...
Show status updating database.
Fixes #750
2021-09-19 15:43:36 +02:00
Jonas Kvinge
d35d3aabc3
Show error dialog for failed SQL queries
2021-09-09 21:45:46 +02:00
Jonas Kvinge
6ede400f3a
CMakeLists.txt formatting
2021-08-07 03:02:36 +02:00
Jonas Kvinge
7ce922b084
Simplify CMake by using macros
2021-07-30 21:17:50 +02:00
Jonas Kvinge
fc8ec6d7fa
Replace INSTANTIATE_TEST_CASE_P with INSTANTIATE_TEST_SUITE_P
2021-07-12 05:51:01 +02:00
Jonas Kvinge
c6da0864f2
Use std::make_shared
2021-07-11 19:57:18 +02:00
Jonas Kvinge
10fc6b4562
Fix tagreader test compile error with tagparser
2021-07-11 19:56:21 +02:00
Jonas Kvinge
2a7312f2b4
Fix tagreader test
2021-07-07 23:46:21 +02:00
Jonas Kvinge
cd82b0a669
Fix spelling and typos
2021-07-02 18:45:53 +02:00
Jonas Kvinge
b9f3f80d50
Use std::make_unique / std::make_shared
2021-07-01 02:02:02 +02:00
Jonas Kvinge
32729174bb
Make CollectionModelTest constructor public
2021-07-01 02:02:02 +02:00
Jonas Kvinge
2cf6fe8da7
Fix ConcurrentRunTest
2021-07-01 02:02:02 +02:00
Jonas Kvinge
215057ce6f
Remove unneeded get()
2021-06-22 14:04:42 +02:00
Jonas Kvinge
8c2b907ff5
Make static
2021-06-22 14:04:42 +02:00
Jonas Kvinge
ed09627fdb
Use std::make_unique
2021-06-21 15:40:44 +02:00
Jonas Kvinge
589bdf5dcd
Use default
2021-06-21 15:40:44 +02:00
Jonas Kvinge
e1bf4347ab
Fix uninitialized variables
2021-06-20 23:53:28 +02:00
Jonas Kvinge
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
8699790e78
Always call QFutureWatcher::setFuture after connects
2021-06-16 00:30:21 +02:00
Jonas Kvinge
e0c57e77a9
Disable failed tagreader checksum test
2021-03-13 15:28:51 +01:00
Jonas Kvinge
9723c3606a
Remove BUILD_TESTS cmake option
2021-03-13 15:18:38 +01:00
Jonas Kvinge
32b94555c3
Remove 3rdparty taglib
2021-02-27 16:55:41 +01:00