Luis Ángel San Martín
a47b706e29
Fix a bunch of warnings
2023-04-30 14:00:09 +02:00
Luis Ángel San Martín
b364501a2c
Do not use GUI code in non GUI components
2022-10-29 08:57:08 +02:00
Luis Ángel San Martín
150d27c3ad
Make import ComicInfo.XML from new comics optional
...
It is disabled by default.
2022-10-28 23:31:55 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
0fcf9d0cba
Fix memory leak in LibraryCreator
2022-08-31 18:27:04 +02:00
Luis Ángel San Martín
b70556eb41
Fix emit syntax
2022-08-31 18:26:30 +02:00
BEN ENGLISCH
862c220069
Add libarchive decompression backend
2022-08-31 09:32:23 +02:00
Luis Ángel San Martín
98851cf40f
Use Qt::endl
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
Luis Ángel San Martín
da51bd45c6
Use InitialComicInfoExtractor everywhere
2021-09-27 15:39:37 +02:00
Igor Kushnir
3c9ed6ef8f
Deprecated qSort => std::sort
...
This change gets rid of some GCC's -Wdeprecated-declarations warnings.
2021-03-09 21:32:23 +01:00
Luis Ángel San Martín
d402999991
Set all new imported comics and folders as manga if the parent folder is manga
2021-01-16 18:31:13 +01:00
Felix Kauselmann
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
Luis Ángel San Martín
bb334cfd50
Use auto to avoid duplicating the type name
2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
e3ec56aa43
Format code using clang-format
2019-05-30 19:46:37 +02:00
Felix Kauselmann
d5a11fb16b
Add .gitattributes rules for text and binary handling
2018-07-30 15:04:04 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
062e8a1a8c
Fix orignalCoverSize initialization.
2018-03-12 21:25:05 +01:00
Luis Ángel San Martín
69395398e1
Partial support for storing the cover information in the DB. Work in progress.
2018-03-11 14:43:07 +01:00
Luis Ángel San Martín
f149f314e0
Merge
2017-08-26 16:54:10 +02:00
Luis Ángel San Martín
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