Commit Graph

258 Commits

Author SHA1 Message Date
Luis Ángel San Martín
4adad5f966 Format 2025-05-09 21:33:14 +02:00
Luis Ángel San Martín
8b159c9da6 Support drag&drop for setting a custom cover in the properties dialog 2025-05-09 19:58:52 +02:00
Luis Ángel San Martín
28952180ab Remove commented code 2025-05-09 19:27:35 +02:00
Luis Ángel San Martín
508ff6d547 Add support for loading custom comic images 2025-05-09 19:25:02 +02:00
Luis Ángel San Martín
b976b7f809 Add support for setting custom covers on folders 2025-05-08 22:00:55 +02:00
Luis Ángel San Martín
a51252ca0d Add settings to the options dialog to control the mouse behavior 2025-05-04 09:51:17 +02:00
Luis Ángel San Martín
257436c040 Move FitMode to configuration.h 2025-05-03 15:44:41 +02:00
Luis Ángel San Martín
181884a85f More migrations to LibraryPaths 2025-03-30 15:17:24 +02:00
Luis Ángel San Martín
d4b7c6dd8a Extract library paths methods to it's own struct in yacreader_global.h and use it everywhere 2025-03-29 11:31:53 +01:00
Luis Ángel San Martín Rodríguez
1cd8635808 Use QProcess as intented by parsing the input command arguments 2025-01-06 09:24:07 +01:00
Luis Ángel San Martín
f5eb81dcac Add setting to hide the "Continue Reading..." banner from the home view. 2024-12-28 14:36:42 +01:00
Luis Ángel San Martín
9b6e03bcc4 Add setting to setup third party readers to work with YACReaderLibrary 2024-10-15 22:11:52 +02:00
Luis Ángel San Martín
1aa36f8892 Update format 2024-10-12 12:26:19 +02:00
Luis Ángel San Martín
f0c142b300 Build and install 7z.so, loading Codecs/Rar.so is broken
Also use multistage builds to have smaller images
2024-09-22 15:20:30 +02:00
Luis Ángel San Martín
a9aa661bbb Load Rar.so if it exists 2024-09-22 12:29:06 +02:00
Luis Ángel San Martín
ae1b698825 Add missing include 2024-09-22 11:33:38 +02:00
Luis Ángel San Martín
97a416f7e4 Fix load7zLibrary()
QLibrary just checks the extension, but it doesn't check that the file exists...
2024-09-22 11:28:29 +02:00
Luis Ángel San Martín
63fcde8035 Extract 7z loading to it's own function
This will unify 7z loading in all scenarios and it also fixes the search path in Linux, now the apps will always try to load 7z.so from LIBDIR/yacreader/7z.so, if it fails they'll try 7zip/7z.so
2024-09-15 15:50:09 +02:00
Luis Ángel San Martín
289b42fb26 Fix Qt5 compilation 2024-09-05 18:32:25 +02:00
Luis Ángel San Martín
1c48f05398 Add support for printing more information in diagnosis log
Also yacreaderlibraryserver can now print this with the --system-info option

This will help when giving support to users.
2024-09-05 17:48:48 +02:00
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