Commit Graph

3248 Commits

Author SHA1 Message Date
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
9f38fc45d3 Update CHANGELOG 2023-10-19 19:34:13 +02:00
Luis Ángel San Martín
682f5761b2 Propagate updates to all the parent folders 2023-10-19 19:34:02 +02:00
Luis Ángel San Martín
14fccb01d0 Clean code 2023-10-19 19:32:03 +02:00
Luis Ángel San Martín
24a3602b27 Make sure that columns without title are always hidden 2023-10-15 13:05:59 +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
54fc070a2e Load the default columns if the .ini file doesn't have a config for the headers 2023-10-12 22:41:34 +02:00
Luis Ángel San Martín
d167f7f671 Update what's new 2023-10-12 18:08:54 +02:00
Luis Ángel San Martín
f20c3cda77 Update CHANGELOG 2023-10-09 19:29:04 +02:00
Luis Ángel San Martín
88d81c9cc3 Fix rating item delegate implementation by using the right column 2023-10-09 19:28:49 +02:00
Luis Ángel San Martín
3747c71c66 Add context menu to pick what columns are visible in the classic comics view 2023-10-09 19:27:47 +02:00
Luis Ángel San Martín
e6e5208001 Add new columns to the comics model 2023-10-09 19:26:53 +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
585ec86b61 Use DB_VERSION instead of VERSION 2023-09-02 22:20:38 +02:00
Luis Ángel San Martín
25638a64dc Update what's new 2023-08-26 20:40:37 +02:00
Luis Ángel San Martín
12495c60ef Use white as background color 2023-08-26 20:40:21 +02:00
Luis Ángel San Martín
c5800d98b2 Fix busy indicator in hdpi 2023-08-26 20:39:56 +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
39ba4efcd2 Add rescan-xml-info command to YACReaderLibraryServer 2023-08-26 14:09:18 +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
d1533174b0 Try to send files and folders to the bin before trying to delete them 2023-08-25 16:21:21 +02:00
Luis Ángel San Martín
094d7ec5a3
Merge pull request #397 from YACReader/automatic-updates
Automatic libraries updates
2023-08-25 16:19:39 +02:00
Luis Ángel San Martín
a425c528eb Update CHANGELOG 2023-08-25 15:35:39 +02:00
Luis Ángel San Martín
71e1d250fa Remove extra quotes 2023-08-25 15:35:25 +02:00
Luis Ángel San Martín
7bfe9ea6b3 Keep disabled actions during navigation while automatic updates are happening 2023-08-24 17:51:18 +02:00
Luis Ángel San Martín
a0dff3a03b Fix LibrariesUpdateCoordinator instantiation in YACReaderLibraryServer 2023-08-24 11:56:25 +02:00
Luis Ángel San Martín
b513103d9b Add a mechanism to control if automatic updates can start
For now they won't start if the user is editing comics information.
2023-08-23 22:45:09 +02:00
Luis Ángel San Martín
e4fb0fd40c lupdate 2023-08-23 22:00:18 +02:00
Luis Ángel San Martín
8e2910607d Make automatic updates cancelable by the user 2023-08-23 21:50:21 +02:00
Luis Ángel San Martín
b709e000cf Update doc 2023-08-22 22:37:50 +02:00
Luis Ángel San Martín
726ae067dd Update ts files 2023-08-22 22:06:37 +02:00
Luis Ángel San Martín
b6282b9bd4 Add a warning about library updates 2023-08-22 22:04:20 +02:00
Luis Ángel San Martín
060131d66a Don't reload anything if the model is not loaded 2023-08-21 22:43:59 +02:00
Luis Ángel San Martín
fe983c2cd2 Early finish if the database is not valid 2023-08-21 22:43:34 +02:00
Luis Ángel San Martín
9d8766938b updateLibrary should only try to update the library 2023-08-21 22:42:36 +02:00
Luis Ángel San Martín
7249988837 Return invalid databases if the database doesn't exist 2023-08-21 22:40:27 +02:00
Luis Ángel San Martín
d70ea49c53 Minimize the amount of actions available during updates 2023-08-20 18:42:11 +02:00
Luis Ángel San Martín
a6696f35b2 Restore value change committed by mistake 2023-08-20 17:28:27 +02:00
Luis Ángel San Martín
3cd83eb31b Missing declaration 2023-08-20 14:14:54 +02:00
Luis Ángel San Martín
0623a6b101 Implement stop/cancel on LibrariesUpdateCoordinator 2023-08-20 12:39:04 +02:00
Luis Ángel San Martín
bf35d0a621 Stop library creation/updates on exit 2023-08-20 12:38:35 +02:00
Luis Ángel San Martín
45043cf36e Make possible to cancel updates/creations 2023-08-20 12:36:40 +02:00
Luis Ángel San Martín
a6caf98af9 Reload comic cover when it changes 2023-08-17 19:42:10 +02:00
Luis Ángel San Martín
7f129ac1fa Emit a signal when the cover of a comic changes 2023-08-17 19:41:43 +02:00
Luis Ángel San Martín
ab9472cb58 Add a method for triggering the change of a comic cover from the model
Sad day for nice code.
2023-08-17 19:41:13 +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
5b8ec75e5f Update secondary views when the model gets reloaded 2023-08-16 17:46:33 +02:00
Luis Ángel San Martín
f3b551f72a Add libraries_update_coordinator.cpp/h files to YACReaderLibraryServer.pro 2023-08-14 18:45:37 +02:00
Luis Ángel San Martín
5b4205a19b Print some more help in yacreaderlibraryserver's description 2023-08-14 18:20:47 +02:00