Commit Graph

2523 Commits

Author SHA1 Message Date
Luis Ángel San Martín
dc68387fbc Update ImportWidget to support XML scan mode 2021-09-27 15:39:59 +02:00
Luis Ángel San Martín
da51bd45c6 Use InitialComicInfoExtractor everywhere 2021-09-27 15:39:37 +02:00
Luis Ángel San Martín
2bebe9714e Add files to the project 2021-09-27 15:32:57 +02:00
Luis Ángel San Martín
6e340e5011 Add class for scanning a whole library looking for xml info in all the files 2021-09-27 15:32:39 +02:00
Luis Ángel San Martín
4deb5e1911 Extract and rename ThumbnailCreator to its own files
It adds support for getting XML info files and for skipping cover extraction.
2021-09-27 15:31:49 +02:00
Luis Ángel San Martín
0910937e39 Add function for parsing xml info into ComicInfo 2021-09-27 15:28:47 +02:00
Luis Ángel San Martín
a77facce6d Add helper properties for parsing day/month/year sequentially 2021-09-27 15:28:05 +02:00
Luis Ángel San Martín
b0a6411528 Initialize attributes in constructor 2021-09-27 15:27:44 +02:00
Luis Ángel San Martín
1e81b58e5c Add message about wrong type in ageRating field 2021-09-26 18:44:35 +02:00
Luis Ángel San Martín
a67fee3ea9
Merge pull request #263 from selmf/clazy_autorefactoring
Clazy autorefactoring for SIGNAL/SLOT to new syntax
2021-09-26 09:33:02 +02:00
Luis Ángel San Martín
2717f755bb Fix signal name 2021-09-26 09:02:41 +02:00
Luis Ángel San Martín
b8ad2b540b
Merge branch 'develop' into clazy_autorefactoring 2021-09-26 08:52:23 +02:00
Luis Ángel San Martín
53f92ba1f6 Enable hdpi scaling 2021-09-13 17:34:15 +02:00
Felix Kauselmann
0e51b3fdac Update changelog 2021-07-30 08:58:39 +02:00
Felix Kauselmann
22c2431cc5 Render: Remove obsolete debug messages 2021-07-30 08:58:39 +02:00
Felix Kauselmann
3d9873db75 Always export libraries as .ydb 2021-07-30 08:58:39 +02:00
Felix Kauselmann
abcb4b1f26 GoTo flow: Sync slide and page index in quick navigation mode 2021-07-30 08:58:39 +02:00
Felix Kauselmann
40d4d224be Viewer: Always start GoTo flow on correct page 2021-07-30 08:58:39 +02:00
Felix Kauselmann
df32cf01fb GoTo dialogs: Restrict input values to existing pages 2021-07-30 08:58:39 +02:00
Felix Kauselmann
54b9952253 YACReader: Show error when opening nonexistent open recent entry 2021-07-30 08:58:39 +02:00
Felix Kauselmann
768de98c2a Fix cancel button in add library dialog 2021-06-30 17:49:52 +02:00
Felix Kauselmann
a623dfb133 Database Models: Remove obsolete signals
Folder model and comic model contain two signal relais which do not
serve any obvious purpose.
Remove them.
2021-06-29 13:53:12 +02:00
Felix Kauselmann
76ab23b776 Common: Convert last signals to new slot syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
d7a9e66377 ComicVine: Convert to new slot syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
f1e4396dc5 YACReaderLibrary: Convert a bunch of widgets/dialogs to new slot syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
79d004c42b ComicViews: Convert to new syntax, add clazy exception for QML signals 2021-06-29 13:53:12 +02:00
Felix Kauselmann
5b66153390 YACReader/viewer: Convert a bunch of loosely related signals to new syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
d9ca26faf0 Convert spin widget to new slot syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
5dbbaad73b GoTo flows: Untangle and refactor goTo signal to new syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
a3a1e32198 New slot syntax: Manually convert leftover QButtons
There is a bunch of QButton and similar widget connnections which
cannot be converted to new slot syntax automatically.

Fix them by hand and bundle them for testing.
2021-06-29 13:53:12 +02:00
Felix Kauselmann
485ce1c9d8 Convert Mac toolbar to new slot syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
47324e7f22 Comic/Render: Use overloads refactor some SIGNAL/SLOT connections to new syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
ae8e47d863 Clazy: Add second batch of SIGNAL/SLOT removal 2021-06-29 13:53:12 +02:00
Felix Kauselmann
f813a018d2 Comic: Virtual prototype for process(), fix signal/slot 2021-06-29 13:53:12 +02:00
Felix Kauselmann
8377de7c3e Clazy: Use fixits to refactor some old style signal connections 2021-06-29 13:53:12 +02:00
Luis Ángel San Martín
ca81b5424a
Merge pull request #264 from vitorgalvao/patch-1
compileOSX.sh: add version to app
2021-06-26 19:19:25 +02:00
Vítor Galvão
82a94113e1 macOS Info.plis: remove deprecated CFBundleGetInfoString 2021-06-26 00:39:05 +01:00
Vítor Galvão
986f5ef571
compileOSX.sh: add version to app 2021-06-25 15:19:44 +01:00
Luis Ángel San Martín
c859a4d2d5 Uninstall vcredist before trying to reinstall it again
For some reason vcredist doesn't check if it is already installed and a second install breaks it
2021-06-20 16:52:59 +02:00
Luis Ángel San Martín
85677afc7b
Merge pull request #203 from vedgy/fix-library-crash-at-exit-after-deletion
Library: don't crash at exit after a folder or a comic is deleted
2021-06-19 18:13:51 +02:00
Luis Ángel San Martín
891546b423 9.8.2 release 2021-06-19 18:13:01 +02:00
Luis Ángel San Martín
91c9375dc1 Fix opening a comic from the current/next comic banner in the grid view 2021-06-19 07:24:29 +02:00
Luis Ángel San Martín
ad036ec6ae Include the hashes of the prev/next comics in the comic info when opening a comic in the server 2021-06-18 22:55:08 +02:00
Luis Ángel San Martín
af13279c18 Fix open comic signal 2021-06-11 22:36:33 +02:00
Luis Ángel San Martín
cfb91ed9b8 Update CHANGELOG 2021-06-02 21:58:40 +02:00
Luis Ángel San Martín
1c382aef72 Update version to 9.8.1 2021-06-02 18:57:41 +02:00
Luis Ángel San Martín
02739ec140 Do not reuse v1 docroot and template paths
They can go stale and break v1 browsing
2021-06-01 19:34:54 +02:00
Luis Ángel San Martín
3683ace654 Remove message box used during development 2021-05-29 10:34:42 +02:00
Igor Kushnir
68e9f06a13 GridComicsView: ignore unhandled key presses
When a key not handled by Grid view is pressed while it has focus, the
following warning appears in Library's output
qrc:/qml/GridComicsView.qml:776: Error: Cannot assign [undefined] to int
AND the top-left cover is selected. The added early return fixes both
issues.
2021-05-28 19:35:05 +02:00
Igor Kushnir
2acfbbfac7 Library: add Quit shortcut
The Ctrl+Q shortcut is assigned to Quit action in most applications on
GNU/Linux. Command+Q is used on macOS. The added shortcut should be
automatically mapped to Command+Q on macOS judging by the following
quote from QKeySequence class documentation:
Note: On macOS, references to "Ctrl", Qt::CTRL, Qt::Key_Control and
Qt::ControlModifier correspond to the Command keys on the Macintosh
keyboard

QKeySequence::Quit could be used as the default key sequence in place of
`Qt::CTRL | Qt::Key_Q`. This would leave the shortcut unassigned by
default on Windows. But YACReader doesn't use QKeySequence::StandardKey
anywhere, so perhaps this shortcut should be hard-coded too.

The shortcut is particularly useful when Close to tray option is
enabled, because in this case closing the Library window with a system
window manager shortcut simply hides it.
2021-05-28 19:34:24 +02:00