Commit Graph

238 Commits

Author SHA1 Message Date
Luis Ángel San Martín
e4469dc7a7 Don't use sorting heuristic in comics with more than 1000 pages
Sorting heuristic to try to find spreads in the content of a comic is now only used for files with less than 1000 pages to avoid false positives.
2024-08-09 16:00:30 +02:00
Luis Ángel San Martín
f9039c7a26 Add support for setting the content type to a whole library 2024-07-09 19:18:22 +02:00
Luis Ángel San Martín Rodríguez
f29c3a4f96 BUMP minimum render size for PDF pages 2024-06-20 17:12:03 +02:00
Luis Ángel San Martín
2bebec95bf Save magnifying glass size and zoom level 2024-03-02 12:14:01 +01:00
Luis Ángel San Martín
374898702d Fix folders type when they are added 2024-02-12 19:33:14 +01:00
Luis Ángel San Martín
7baf144c69 Fix columns in the search results. 2024-02-06 18:13:57 +01:00
Luis Ángel San Martín
89c9895db7 Bump the max number of visible covers a little bit 2024-01-27 10:27:06 +01:00
Luis Ángel San Martín
c2988f8353 BUMP version to 9.14.1 2024-01-14 12:27:53 +01:00
Luis Ángel San Martín
e005f5b26d Don't check the type value if it is null 2023-11-28 17:38:31 +01:00
Felix Kauselmann
5a8b22afdd Remove YACReaderComicInfoPair metatype
When doing modularized builds, the definition of YACReaderComicInfoPair as
a metatype can lead to redefinition of Qt internal metatypes at the
moc stage. This is currently not happening in qmake, but is a problem for
our CMake migartion.

As we don't really use this type, it is safe to remove.
2023-10-29 15:30:18 +01:00
Felix Kauselmann
9278160bbc
ComicInfo::getTypeString: Return an empty string for unhandled enums (#403)
* ComicInfo::getTypeString: Add default return for unhandled enum

* CXX flags: Promote warnings about missing branches in enum-based switches as errors

* Add missing case in switch

* Catch conversion errors in debug mode and silence missing return warnings

* Replace default with missing cases

* ComicInfo::getTypeString: Use QStringLiterals

* Revert "CXX flags: Promote warnings about missing branches in enum-based switches as errors"

This reverts commit d22c115925.

---------

Co-authored-by: Luis Ángel San Martín <luisangelsm@gmail.com>
2023-10-28 17:07:32 +02:00
Luis Ángel San Martín
74c16f5c81 Add a safety check before accessing lists in the comic flow 2023-10-25 20:56:44 +02:00
Luis Ángel San Martín
f319b00c70 Add a data migration to ensure that the number types are migrated to text in the db schema
This fixes a problem storing some text number formats in the db when the type is integer.
2023-10-15 12:53:30 +02:00
Luis Ángel San Martín
737c8e7638 Change settings key value for COMICS_VIEW_HEADERS 2023-10-09 19:25:36 +02:00
Luis Ángel San Martín
dea3d0a3f7 Bump version number 9.14.0 2023-08-26 16:50:38 +02:00
Luis Ángel San Martín
5706407778 Add options for disabling scroll animation 2023-08-26 10:18:52 +02:00
Luis Ángel San Martín
d0915024e2 Fix YACReaderFlowGL::remove
last image wasn't getting it's index modified
2023-08-17 19:39:51 +02:00
Luis Ángel San Martín
024f6df9de Add methods to the flow implementations to add new items dynamically 2023-08-13 11:15:47 +02:00
Luis Ángel San Martín
86e0e7be0a Add setting keys for automatic library updates 2023-08-13 10:22:11 +02:00
Luis Ángel San Martín
fe5d1e4d3b Add enum to represent the update interval for automatic updates 2023-08-13 10:21:23 +02:00
Luis Ángel San Martín
dd411db9ef Remove commented code 2023-08-13 10:05:09 +02:00
Luis Ángel San Martín
71a7a07274 Add DB_VERSION to keep track of DBs versions
This will make easy to track compatibility with a certain DB structure across different flavors of YACReader. It will only change when the DB structure changes.
2023-08-06 08:55:55 +02:00
Luis Ángel San Martín
f7717f0465 Bump version number 2023-07-16 14:59:40 +02:00
Luis Ángel San Martín
51a4dbf049 Remove deprecated property manga from folder and comic_info 2023-06-10 11:09:55 +02:00
Luis Ángel San Martín
5dac3e1402 Add setting to control dates comparison on updates 2023-06-07 22:41:31 +02:00
Luis Ángel San Martín
68ece533e1 Replace Q_OS_MAC with Q_OS_MACOS 2023-06-04 20:55:11 +02:00
Luis Ángel San Martín
315d2deced Don't use Q_OS_MAC for ui specifics, Y_MAC_UI is the replacement 2023-05-23 18:51:33 +02:00
Luis Ángel San Martín
45af72520b Add setting to control what "recent" is considered. 2023-05-20 17:43:38 +02:00
Luis Ángel San Martín
6a6a239cc7 Add the possibility to show a recently added/updated indicator 2023-05-20 16:17:40 +02:00
Luis Ángel San Martín
880e17acff Display new metadata in the info views 2023-05-16 21:47:59 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
9b196a655a Remove obsolete setting that doesn't have any effect 2023-04-29 08:54:31 +02:00
Luis Ángel San Martín
8f738766ed BUMP version to 9.12 2023-04-23 19:51:48 +02:00
Luis Ángel San Martín
ad4139e017 Don't clear numPages when deleting metadata 2023-01-16 18:14:21 +01:00
Luis Ángel San Martín
49ef617757 Bump version number and what's new 2023-01-07 10:34:34 +01:00
Luis Ángel San Martín
7fed222cb7 Format 2022-12-12 21:53:07 +01:00
Felix Kauselmann
4a59dd6db6 Add support for poppler-qt6
Fixes #352
2022-11-19 20:02:31 +01:00
Felix Kauselmann
be85954b0c Use std::unique_ptr for pdf objects 2022-11-19 20:02:31 +01:00
Felix Kauselmann
0414104067 YACReader: Fix crash when exiting while processing a comic
When quitting YACReader while processing a comic, the comic thread needs
to be properly terminated to avoid segfaults and other possible problems.
2022-11-19 19:27:52 +01:00
Luis Ángel San Martín
3e2bda7cf1 Extract function 2022-10-29 11:07:10 +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
d22e5eaaa7 Add method to delete metadata from ComicInfo 2022-10-24 18:42:38 +02:00
Luis Ángel San Martín
4b58efc5c7 Use more generic signal 2022-10-23 15:49:27 +02:00
Luis Ángel San Martín
31c4ae6561 More left side bar png to svg assets conversion 2022-10-23 10:43:37 +02:00
Luis Ángel San Martín
c29eb79d88 Add helper function to create pixmaps from assets with the right resolution for hdpi screens 2022-10-22 16:25:42 +02:00
Luis Ángel San Martín
8f1c63fcf0 Move functions 2022-10-22 11:40:16 +02:00
Luis Ángel San Martín
67211154ec Bump version number and what's new 2022-10-15 12:58:52 +02:00
Luis Ángel San Martín
41767958d0 Add full constructor 2022-10-09 11:32:06 +02:00
Luis Ángel San Martín Rodríguez
f6dc6ac232 Bump version to 9.9.2 2022-10-01 08:35:13 +02:00