Commit Graph

22 Commits

Author SHA1 Message Date
f2bf53ce5b Add new fields to the DB and make then available to be used in the apps 2023-05-12 16:59:23 +02:00
a47b706e29 Fix a bunch of warnings 2023-04-30 14:00:09 +02:00
b364501a2c Do not use GUI code in non GUI components 2022-10-29 08:57:08 +02:00
150d27c3ad Make import ComicInfo.XML from new comics optional
It is disabled by default.
2022-10-28 23:31:55 +02:00
8a6ec5fcc6 Assign covers to folders from subfolders & comics
Before this commit folder with no direct comics (only subfolders) didn't have a cover image to be displayed. Now updating the children info  is done recursively and subfolders are taken into account.

This affects the iOS client remote browser so far, but it is also needed for the future browser update (display folders as a grid instead of using EmptyFolderWidget)
2022-08-31 18:58:25 +02:00
0fcf9d0cba Fix memory leak in LibraryCreator 2022-08-31 18:27:04 +02:00
b70556eb41 Fix emit syntax 2022-08-31 18:26:30 +02:00
862c220069 Add libarchive decompression backend 2022-08-31 09:32:23 +02:00
98851cf40f Use Qt::endl 2021-10-19 00:00:09 +02:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
da51bd45c6 Use InitialComicInfoExtractor everywhere 2021-09-27 15:39:37 +02:00
3c9ed6ef8f Deprecated qSort => std::sort
This change gets rid of some GCC's -Wdeprecated-declarations warnings.
2021-03-09 21:32:23 +01:00
d402999991 Set all new imported comics and folders as manga if the parent folder is manga 2021-01-16 18:31:13 +01:00
4b3042def4 Fix object leaks in database code
Qt's database and query model requires that both the queries and the database
objects are out of scope before a database connection can safely be removed.

Solution: Properly encapsulate databases and queries in "{ }" and use a string
to cache the connection name for out-of-scope removal.
2020-08-25 17:34:46 +02:00
bb334cfd50 Use auto to avoid duplicating the type name 2019-06-01 16:04:48 +02:00
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
52c76d5482 Create unique database connections per thread and remove them using the database connection name from the QSqlDatabase instance being used. 2018-04-24 20:53:24 +02:00
062e8a1a8c Fix orignalCoverSize initialization. 2018-03-12 21:25:05 +01:00
69395398e1 Partial support for storing the cover information in the DB. Work in progress. 2018-03-11 14:43:07 +01:00
f149f314e0 Merge 2017-08-26 16:54:10 +02:00
d6898e9a4e Fixed data base info retrieving through DBHelper, value(QString) should never be used because it is really slow. All items sorting should be done at db level or using std::sort. 2017-08-26 16:16:11 +02:00