Luis Ángel San Martín
ffd8fd3bfb
Fix Drag&Drop in the comics grid view
2022-11-06 11:48:27 +01:00
Luis Ángel San Martín
a7ff96b9ce
Fix indentation
2022-11-06 10:15:00 +01:00
Felix Kauselmann
a35cb979e4
Unix: Fix regression in translation install target
...
The introduction of CONFIG+= lrelease introduced a regression in the
installation of translation files on systems using make install targets.
This is fixed by replacing the old translation targets with the target
supplied by lrelease.
Fixes #349
2022-10-31 13:19:50 +01:00
Luis Ángel San Martín
45a480ae68
Update UI strings
2022-10-29 11:09:00 +02:00
Luis Ángel San Martín
ae990d82af
Add a new action to scan the xml info from a folder
2022-10-29 11:07:57 +02:00
Luis Ángel San Martín
76642737fd
Implement XML scanning for a folder
2022-10-29 11:07:40 +02: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
f8d89f7c14
Show the general tab first in the options dialog (YACReaderLibrary)
2022-10-28 22:45:06 +02:00
Luis Ángel San Martín Rodríguez
9dc66f532f
boolean -> bool
2022-10-25 08:51:52 +02:00
Luis Ángel San Martín
02df90f3bd
Don't do any more iteration if we found the right index
2022-10-25 07:48:39 +02:00
Luis Ángel San Martín
cea26ecc20
Missing ;
2022-10-25 07:40:50 +02:00
Luis Ángel San Martín
72a8d318c9
Merge remote-tracking branch 'origin/develop' into develop
2022-10-24 23:00:35 +02:00
Luis Ángel San Martín
54d2fba53d
Restore the selected index in the folders view when doing partial updates
2022-10-24 22:59:21 +02:00
Luis Ángel San Martín
8530f1f80a
Merge pull request #345 from selmf/openhack
...
YACReaderLibrary Server: Add webui status page
2022-10-24 20:39:22 +02:00
Felix Kauselmann
0533d5d9a3
Server: Check for v2 api before webui
2022-10-24 19:20:45 +02:00
Luis Ángel San Martín
0556276374
Implement comics metadata deletion
2022-10-24 19:00:21 +02:00
Luis Ángel San Martín
689e31891f
Extract method
2022-10-24 19:00:04 +02:00
Luis Ángel San Martín
0cf40e06eb
Add new action to delete all the metadata from the selected comics
2022-10-24 18:58:18 +02:00
Luis Ángel San Martín
3fecc3316e
Use the updated folders
2022-10-24 07:38:17 +02:00
Luis Ángel San Martín
a2541a4c96
Exclude root folder
2022-10-24 07:37:36 +02:00
Felix Kauselmann
f9c07707f3
Fix code formatting
2022-10-23 20:21:16 +02:00
Felix Kauselmann
62ef567280
YACReaderLibrary Server: Add webui status page
2022-10-23 20:01:05 +02:00
Luis Ángel San Martín
a07ac4a956
Merge pull request #344 from selmf/fix_docroot_path
...
Server: Don't overwrite template and docroot path
2022-10-23 19:30:16 +02:00
Felix Kauselmann
25a32314a2
Server: Don't overwrite template and docroot path
2022-10-23 18:35:35 +02:00
Luis Ángel San Martín
6fac77b6f1
Merge pull request #341 from selmf/library_loading
...
QRencode: Add fallback for Linux distros that don't provide unversion…
2022-10-23 17:47:06 +02:00
Luis Ángel San Martín
21461ce8a0
Update context menu(s) icons to svg
2022-10-23 14:36:11 +02:00
Luis Ángel San Martín
6e62fc0a0c
Replace icon in the search edit with SVG versions
2022-10-23 12:45:50 +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
c7a1a73432
Convert more icons to SVG
2022-10-22 16:26:10 +02:00
Luis Ángel San Martín
75c08885be
Replace more icons with svg
2022-10-22 11:40:49 +02:00
Luis Ángel San Martín
4c66b8ecad
Use SVG icons in YACReader's toolbar (windows/linux) and in shortcuts dialog
2022-10-20 17:51:22 +02:00
Luis Ángel San Martín
ebcb3d8a91
Implement LibraryWindow::showContinueReadingContextMenu
2022-10-17 21:17:04 +02:00
Luis Ángel San Martín
60c650d820
Remove TODO
2022-10-17 20:51:05 +02:00
Luis Ángel San Martín
b9c1f0b505
Update translation files with new strings
2022-10-16 18:23:17 +02:00
Luis Ángel San Martín
4839b416bd
Add english translations
2022-10-16 18:20:42 +02:00
Luis Ángel San Martín
424f3c3014
Fix qm files build output in windows
2022-10-16 17:59:41 +02:00
Luis Ángel San Martín
68e67fd777
Copy qm files manually after linking to the output folder
...
Windows only
2022-10-16 17:25:20 +02:00
Felix Kauselmann
fa90982a2d
YACReaderLibrary: Don't load YACReader translation
2022-10-16 14:33:49 +02:00
Felix Kauselmann
76a12cd7e3
Translations: Don't use QLocale::system::name
...
Older versions of the Qt documentation advocate using QLocale::system::name
for system language resolving. This is deprecated and causes misbehavior,
such as selecting the system unit language instead of system display language
on Windows.
Solution: Use QTranslator::load(QLocale(), ... ...), which is display language
aware.
2022-10-16 14:33:49 +02:00
Lisa Thamer
1243346e9a
Fixed typo in word YACReader
2022-10-16 11:19:06 +02:00
Lisa Thamer
a106d899c8
Added unfinished German translations
...
As requested, I have added all unfinished German translations.
2022-10-16 11:19:06 +02:00
Felix Kauselmann
17b0d357b1
QRencode: Add fallback for Linux distros that don't provide unversioned library symlinks
2022-10-15 15:26:19 +02:00
Luis Ángel San Martín
569a699c1d
Typo
2022-10-15 13:55:37 +02:00
Luis Ángel San Martín
e8f31b39ee
Update the current comic model when the server gets a syn request
...
Sadly the grid view resets its scroll to origin. Not sure if it is going to bother anyone, we'll see.
2022-10-15 12:53:02 +02:00
Luis Ángel San Martín
928afa4675
Wrap functionality
2022-10-15 12:46:17 +02:00
Luis Ángel San Martín
2093c072b6
Remove commented code
2022-10-15 12:34:56 +02:00
Luis Ángel San Martín
75b2daac76
Fix call to renamed method
2022-10-15 12:34:23 +02:00
Luis Ángel San Martín
ba9a008cd8
Make grid view the default
2022-10-15 12:34:02 +02:00
Luis Ángel San Martín
a6e98ae31e
Rename method
2022-10-15 12:33:23 +02:00
Luis Ángel San Martín
d8a35d767c
Update the UI when a client synchronizes back the libraries
...
Only the top banners for now.
TODO: ComicModel should also be updated.
2022-10-15 11:52:34 +02:00
Luis Ángel San Martín
e7b6f46cd3
Update the UI when a comic is updated using the http api
2022-10-15 11:42:46 +02:00
Luis Ángel San Martín
61458b966c
Add a output parameter to know if a comic is found in the DB when we try to load it
2022-10-15 11:42:20 +02:00
Luis Ángel San Martín
c576140e6a
Notify using a signal when a comic is updated using the http api
2022-10-15 11:41:06 +02:00
Luis Ángel San Martín
bf36672ade
Provide information about the comic updated in UpdateComicControllerV2
2022-10-15 11:39:55 +02:00
Luis Ángel San Martín
a4a2b3ce6c
Rename method
2022-10-14 20:59:43 +02:00
Luis Ángel San Martín
f4656ad210
Update if needed the continue reading list whenever we get an update about a comic
2022-10-14 20:56:03 +02:00
Luis Ángel San Martín
6c575c1b71
Add method to reload the continue reading list in FolderContentView
...
The reload is only triggered for the root folder.
2022-10-14 20:54:52 +02:00
Luis Ángel San Martín
901f05feb1
Add a method to make a comics model reload the continue reading list
2022-10-14 20:54:07 +02:00
Luis Ángel San Martín
f1dd6d339d
Fix comicsViewsManager -> contentViewsManager renaming
2022-10-14 13:11:59 +02:00
Luis Ángel San Martín
374758fd41
Move header and declaration to the top of the file
2022-10-13 23:34:08 +02:00
Luis Ángel San Martín
75b44558d6
Remove reference to files that aren't in the project yet
2022-10-13 23:31:19 +02:00
Luis Ángel San Martín
05a3172012
Rename s to httpServer
2022-10-13 23:30:04 +02:00
Luis Ángel San Martín
be0c0ff341
Rename Startup class to YACReaderHttpServer
2022-10-13 23:24:35 +02:00
Luis Ángel San Martín
59639ad68c
Rename instance name to match class name
2022-10-13 23:23:18 +02:00
Luis Ángel San Martín
7317467a13
Rename class
2022-10-13 21:11:13 +02:00
Luis Ángel San Martín
00f7d92c9a
Make sure that the changes made to folders are propagated to the subfolder model in FolderContentView
2022-10-13 19:28:55 +02:00
Luis Ángel San Martín Rodríguez
23deb889b9
Use always the first comic as the cover of a folder
...
There is no way to show comics and folders together in YACReaderLibrary yet, so it looks confusing to use the cover from a sub-folder.
2022-10-12 22:17:22 +02:00
Luis Ángel San Martín Rodríguez
db7fd66474
Fix navigation history (fordward was broken)
2022-10-12 19:41:15 +02:00
Luis Ángel San Martín Rodríguez
c40e915541
Add comment
2022-10-12 19:40:50 +02:00
Luis Ángel San Martín Rodríguez
3a58f71096
Tweak color
2022-10-11 21:32:16 +02:00
Luis Ángel San Martín
abfa03fa16
Use the new widget instead of EmptyFolderWidget
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
d2dff7b4a5
Add new type of view to display the content of a folder that doesn't contain comics
...
It is a replacement for EmptyFolderWidget for now, but it should evolve to show comics and folders
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
f25524e64c
Update the cover size when the grid comics view is shown
...
The size may have changed while it was away
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
2e16dec51a
Update FolderModel to support new functionality
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
0a00fd3020
Add a new type of role to ComicModel to display a title composed with the available info
2022-10-09 11:32:06 +02:00
Luis Ángel San Martín
1a420c9679
Add a new type of view to show the content of a folder when it doesn't contain comics
...
This view will display subfolders only, but at some point it should evolve to show the full content in a folder.
2022-10-09 11:32:06 +02:00
Felix Kauselmann
99114b00e7
Qmake: Use lrelease to automate language file compilation
2022-10-08 19:19:50 +02:00
sabriunal
64d9c6ca3e
Update Turkish translation
2022-10-08 01:47:58 +03:00
Luis Ángel San Martín
685d70c624
Revert commit to prevent bounce when the wheel mouse is used
2022-10-03 19:31:44 +02:00
Luis Ángel San Martín Rodríguez
7331945eb0
Disable horizontal scrolling in the synopsis text
...
For some reason the content size is not properly calculated and you can scroll horizontally endlessly.
2022-10-01 08:27:29 +02:00
Luis Ángel San Martín
1b36dd7de9
Remove hack to keep content inside the grid view content size
...
This seems no longer necessary in Qt6 (maybe it got fixed after bumping QtQuick to 2.15)
2022-09-30 23:36:23 +02:00
Luis Ángel San Martín
c255182b1c
Remove custom scroll bar for the synopsis
2022-09-30 23:34:47 +02:00
Luis Ángel San Martín
1596aa2347
Fix comic properties dialog sizing
2022-09-19 18:07:39 +02:00
Luis Ángel San Martín Rodríguez
4ef90ab660
Add some padding to the right of the search edit in macos
2022-09-17 09:45:54 +02:00
Luis Ángel San Martín
3260a15884
Add 2x versions of the icons used in the search bar in macos
2022-09-17 09:22:28 +02:00
Luis Ángel San Martín
98041fc641
Fix search icon background color (qt6)
2022-09-17 08:45:29 +02:00
Luis Ángel San Martín
50ca560f5a
Fix folder selection on search mode
2022-09-17 08:33:06 +02:00
Luis Ángel San Martín
3bb8f88e3c
Do not use the folders view select index workaround in Qt6
2022-09-16 20:27:57 +02:00
Luis Ángel San Martín
2de84f5780
Fix connection by registering the types used in the signal
2022-09-16 19:38:45 +02:00
Luis Ángel San Martín
aa44ad4143
Remove old code
2022-09-16 19:32:30 +02:00
Luis Ángel San Martín Rodríguez
e026f25617
QMacToolBar is not available in Qt6
...
This commit adds new qt pure versions of the mac toolbar to be used in qt6.
2022-09-12 19:24:56 +02:00
Luis Ángel San Martín Rodríguez
450d3c18b2
Fix compile error on macos qt6 due to __OBJC_BOOL_IS_BOOL macro
2022-09-12 19:24:56 +02:00
Luis Ángel San Martín Rodríguez
3b01e993c0
macextras is not available in qt6
2022-09-12 19:24:56 +02:00
Luis Ángel San Martín
bc35b5d65f
Fix QML in Qt6
...
This means having two versions of everything, the idea is to migrate to Qt6, test that everything works fine and drop Qt5 as soon as possible.
2022-09-12 19:24:56 +02:00
Luis Ángel San Martín
60e2255886
Fix infinite loop when propagateFolderUpdatesToParent is invoked using the root folder
2022-09-12 19:24:41 +02:00
Luis Ángel San Martín
91909f748d
Reenable flickable behavior in the GridView
...
Touchpads aren't properly mapped to the wheelhandler in qt 5.15, there is a fix in Qt6
2022-09-03 23:53:58 +02:00
Luis Ángel San Martín
aee337f776
Fix export/import comic tags
...
It should be ready to work as a backup system
2022-09-01 11:10:01 +02:00
Luis Ángel San Martín
243892f5d3
Remove debug output
2022-09-01 11:09:02 +02:00
Luis Ángel San Martín
0ee18b0aea
Tag comics from ComicVine should be marked as edited
2022-09-01 11:08:50 +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
Luis Ángel San Martín
36538abc18
Fix memory leaks
2022-08-31 18:26:14 +02:00
Luis Ángel San Martín
c9bb429ad6
Remove unused method
2022-08-31 16:13:28 +02:00
BEN ENGLISCH
862c220069
Add libarchive decompression backend
2022-08-31 09:32:23 +02:00
Luis Ángel San Martín
a0dfa4e447
Limit max cover height
...
Otherwise we can end with huge cover files if the source content has abnormally tall covers. This large files could end exhausting RAM in the iOS client.
2022-08-29 20:04:00 +02:00
Luis Ángel San Martín
c37bc33161
Update properties dialog to be able to edit comics sequentially
2022-08-26 21:05:26 +02:00
Luis Ángel San Martín
769214fe5c
Watch for potential empty proxy model
2022-08-21 08:59:53 +02:00
Luis Ángel San Martín
7df011e181
Add an edit for filtering series results returned by Comic Vine
2022-08-18 16:22:07 +02:00
Luis Ángel San Martín
8b4b586acc
Show the automatic volume text that is going to be used in comic vine dialog
...
The user can chose to use it or edit it before starting the search.
2022-08-18 14:35:25 +02:00
Luis Ángel San Martín
160604040e
Empty titles should be nulls in the db
2022-08-13 16:10:00 +02:00
Luis Ángel San Martín
59ff02631e
Fix comic number missing from reading lists content provided through the server
2022-08-09 16:42:18 +02:00
tuwulin
788a3ef434
Update simplified Chinese.
...
Add traditional Chinese (Hong Kong, Taiwan).
2022-07-06 15:54:54 +02:00
Luis Ángel San Martín
4c54f2a07c
Fix clicking on the folders treeview when it shown results from search
...
This was a bug introduced when support for folder navigation using the keyboard was added.
2022-03-28 22:32:52 +02:00
Luis Ángel San Martín
9e9f035f35
Use Qt::HighDpiScaleFactorRoundingPolicy::PassThrough
...
It will be the default in Qt6 and respecting the scale factor that the user sets is the right thing to do.
2022-03-12 11:51:29 +01:00
Luis Ángel San Martín
f27de78fe1
Fix grid cell selection border
...
Moving the DropShadow broke things in Qt5.15
2022-02-20 18:02:11 +01:00
Luis Ángel San Martín
72670ea6c8
Move connections to happen later
...
Otherwise QQuickItem(s) don't work properly in Qt6. I couldn't find the root cause.
2022-01-19 21:13:53 +01:00
Luis Ángel San Martín
f48201fb91
Initialize fields to nullptr
2022-01-19 21:12:37 +01:00
Luis Ángel San Martín
2d741140e6
Add nullptr check
2022-01-19 21:12:26 +01:00
Luis Ángel San Martín
4bb227aff2
Fix trace message
2022-01-19 21:12:00 +01:00
Luis Ángel San Martín
1b54a407b8
Move common initialization code to the parent class
2022-01-19 19:16:27 +01:00
Luis Ángel San Martín
ab927d791b
Avoid code duplication
2022-01-19 18:30:38 +01:00
Luis Ángel San Martín
8d0beee195
Use parent instead of id
2022-01-19 18:29:09 +01:00
Luis Ángel San Martín
24ad06e839
Remove icon
2022-01-19 18:28:49 +01:00
Luis Ángel San Martín
d73a9a2207
Move DropShadow block
2022-01-19 18:28:38 +01:00
Luis Ángel San Martín
26b4a85928
Rename id
2022-01-19 18:27:22 +01:00
Luis Ángel San Martín
6892a28d0a
Check for undefined and null values in QML
...
Conditional chaining is not available in Qt5.15, so this is uglier than it should be.
2022-01-19 18:24:29 +01:00
Luis Ángel San Martín
68dbd90413
Update listeners definitions
2022-01-19 18:22:04 +01:00
Luis Ángel San Martín
1a25fd0740
Update listeners definitions
2022-01-19 18:20:05 +01:00
Luis Ángel San Martín
f3e08a04d7
Add some initial values for context variables
2022-01-19 18:17:53 +01:00
Luis Ángel San Martín
27383da945
Configure the initial size of the covers
2022-01-19 18:17:04 +01:00
Luis Ángel San Martín
59ae6c5e51
Extract method
2022-01-19 18:16:13 +01:00
Luis Ángel San Martín
2ae9b83bbf
Make sure that opengl is used
...
QQuickWidget requires opengl.
2022-01-19 18:15:36 +01:00
Luis Ángel San Martín
b841aff4a3
Wrap booleans in QVariant when updating the qml context
2022-01-19 18:14:29 +01:00
Luis Ángel San Martín
768d7ee73c
Set initial dummy values for some context references
2022-01-19 18:13:20 +01:00
Luis Ángel San Martín
e80f5a9f64
Move common initialization to the parent class
2022-01-19 18:12:40 +01:00
Luis Ángel San Martín
77c96de0ea
Remove unused resources
2022-01-15 15:51:59 +01:00
Luis Ángel San Martín
565bc3a5d0
Replace all uses of devicePixelRatio with devicePixelRatioF
2022-01-14 19:22:50 +01:00
Luis Ángel San Martín
a1e0340b3d
Fix some warnings
2021-12-29 17:58:40 +01:00
Luis Ángel San Martín
d8f224645d
Remove YACReader::SearchModifiers
...
They are no longer used
2021-12-29 14:58:03 +01:00
Igor Kushnir
ea2c90011a
Library: exit search mode before creating a folder
...
Creating a folder in search mode selects it and makes the UI look
half-way between Normal and Searching navigation statuses.
An alternative fix is to disable addFolderAction in search mode. But
this is more difficult to implement and inconsistent with the other
always-enabled folder and reading list actions.
2021-12-29 11:02:01 +01:00
Igor Kushnir
40ca07f8f8
Extract YACReaderNavigationController::exitSearchMode()
2021-12-29 11:01:35 +01:00
Igor Kushnir
61cd245037
Document ConcurrentQueue and de-inline its implementation
...
ConcurrentQueue is currently used only by two classes and a test, but
modifying concurrent_queue.h requires recompiling 30 source files. None
of the member functions is so lightweight as to make it worth inlining.
An alternative to `@note ConcurrentQueue is unable to execute jobs if
@p threadCount == 0.` is `assert(threadCount != 0);`. But this would
force classes that contain a ConcurrentQueue data member to always start
a thread, even if they detect at runtime that they are never going to
enqueue a job.
Add Job type alias to avoid repeating the type.
Use default member initializers instead of the member initializer list
to make it clear [to the reader of the header] that no data member is
left uninitialized.
2021-12-29 09:36:44 +01:00
Igor Kushnir
228fe1284e
Fix a typo in ConcurrentQueue::cancelPending function name
2021-12-29 09:36:44 +01:00
Igor Kushnir
b0b0849cbc
Extract DEFINES += NOMINMAX into common config.pri
2021-12-29 09:36:44 +01:00
Luis Ángel San Martín
040883a107
Fix static assert when compiling with Qt 6.2.2
...
QtConcurrent::run doesn't like that reference anymore
2021-12-28 17:48:35 +01:00
Luis Ángel San Martín
55f7c4e1b0
Modify the scale of the cell on mouse over
...
This will differentiate the mouse over accent vs the selection accent
2021-12-27 16:25:43 +01:00
Luis Ángel San Martín
88de0ae25a
Add publication date to the classic comics view table
2021-12-26 20:26:16 +01:00
Luis Ángel San Martín
2cb20cd11e
Remove commented code
2021-12-26 20:23:32 +01:00
Luis Ángel San Martín
62464a450c
Fix method overriding
2021-12-26 20:22:35 +01:00
Luis Ángel San Martín
868c6aa269
Use the new signal to trigger YACReaderNavigationController::selectedFolder
2021-12-26 17:33:04 +01:00
Luis Ángel San Martín
e882ad272b
Qt.labs.animation is not used yet
2021-11-07 09:31:23 +01:00
Joan Karadimov
2d533949f4
Remove duplicate variables from YACReaderLibrary.pro
2021-11-02 11:02:32 +01:00
Joan Karadimov
6aeed9ae90
Include some missing headers
2021-11-02 11:02:32 +01:00
Joan Karadimov
1c3fd4d16f
Do not pass MSVC arguments to mingw/gcc
2021-11-02 11:02:32 +01:00
Luis Ángel San Martín
45b94cd8ef
Migrate GridComicsView and InfoComicsView to QtQuick and QtQuick.Controls 2.15
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
71b17fe258
Trivial migrations to QtQuick 2.15
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
17064a12e6
Remove qml components what won't be used anymore
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
c5d3ebebc8
Remove commented code
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
997b82eb79
Add quickcontrols2 to YACReaderLibrary
...
QtQuick.Controls v1 to v2 migration, yay! -_-
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
89459a470d
Use Qt::endl
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
2dbfc6cab5
Simplify connection from QComboBox
...
All we want is the new text after it changes.
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
ffc0f9ec8a
Don't use QDesktopWidget
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
86a31c0ea5
Use QRegularExpression
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
2c0dccd764
Use constructor explicitly
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
47e7eb3801
Remove unused includes
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
98851cf40f
Use Qt::endl
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
0bfa0eb31e
More setContentsMargins migrations
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
fe3ae36cc2
Move to QFontMetrics new api
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
542b04287b
Remove unused function
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
fdd98fc012
Return Qt::NoItemFlags instead of nullptr
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
509b33e991
Methods are not slots
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
6f1f8198d9
Use MultiMap instead of Map
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
ec95f8f5c3
Do not use screengeometry
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
36227a1354
QtConcurrent::run has changed in Qt6
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
314b6295de
Remove qt4 support
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
0bf7977145
background role is now window
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
34aabb0685
Use QTransform instead of QMatrix
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
ec4deaf594
background role is now window
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
8173f9f94c
Use setContentsMargins instead of setMargin
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
4c2d6be1ef
Use angleDelta instead of delta
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
baccb1a21b
Include QRegExp
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
24b2def878
Compare with QString
2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
2de4b26b71
Start supporting Qt6
...
Everything is broken but we want to start fixing as much as possible
2021-10-19 00:00:08 +02:00
Luis Ángel San Martín
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
Luis Ángel San Martín
175f533b75
Typo in ComicVine field
2021-09-27 18:45:09 +02:00
Luis Ángel San Martín
def1cd56d0
Fix macos build
2021-09-27 17:45:29 +02:00
Luis Ángel San Martín
80f808bd68
Insert xml info while adding a comic to the library
2021-09-27 15:41:33 +02:00
Luis Ángel San Martín
b4c90a8920
Add support for scanning xml info from the libraries context menu
...
This will let people to rescan their existing libraries.
2021-09-27 15:40:48 +02:00
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
1e81b58e5c
Add message about wrong type in ageRating field
2021-09-26 18:44:35 +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
3d9873db75
Always export libraries as .ydb
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
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
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
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
Vítor Galvão
82a94113e1
macOS Info.plis: remove deprecated CFBundleGetInfoString
2021-06-26 00:39:05 +01: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
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
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
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
Luis Ángel San Martín
4fc60c72aa
Update YACReaderLibrary <-> YACReader communication to support reading lists
2021-05-27 18:56:31 +02:00
Luis Ángel San Martín
945b24a8f8
Extract opening a comic from YACReaderLibrary to its own file
...
And send a new param `--readingListId` to tell YACReader that the comic is opened from a reading list.
2021-05-27 18:48:52 +02:00
Luis Ángel San Martín
f9285bd099
Add a flag to getReadingListFullContent so it can load all the fields
2021-05-27 18:39:00 +02:00
Luis Ángel San Martín
7bb450408c
Extract "query to ComicInfo" to its own method to avoid duplicated code
2021-05-27 18:38:24 +02:00
Luis Ángel San Martín
50840e955d
Map the new controller to its path
2021-05-25 21:46:35 +02:00
Luis Ángel San Martín
0333c9f050
Add a new server controller for opening comics from reading lists
2021-05-25 21:45:07 +02:00
Luis Ángel San Martín
6cf11f47e1
Avoid potential null pointer access
2021-05-25 21:41:45 +02:00
Luis Ángel San Martín
6848295ba4
Remove unused imports and forward definitions
2021-05-25 21:40:55 +02:00
Luis Ángel San Martín
e2483217d9
Configure OpenGL settings earlier to avoid wrong state in the options dialog
2021-05-16 09:37:05 +02:00
Luis Ángel San Martín
13d0f5fc75
Do not show the what's new dialog when there are no libraries
...
No libraries probably means fresh installation.
2021-05-16 09:21:42 +02:00
Luis Ángel San Martín
b1713fc184
Fix crash on null pointer
2021-05-16 09:11:00 +02:00
Luis Ángel San Martín
13a29e2657
Make "delete" icon work properly in the "Reading" list
...
Only the "Favorites" special list was handled.
2021-05-16 09:01:35 +02:00
Luis Ángel San Martín
e799513fb4
Reset the grid current index when the grid content changes
...
`model` object doesn't really change so we can't use `onModelChanged` in QML to reset the index.
2021-05-16 08:57:18 +02:00
Ruoh-Shoei LIN
dbe1da58dc
Update Simplified Chinese GUI translation for YACReader &
...
YACReaderLibrary
2021-05-09 11:55:52 +02:00
Luis Ángel San Martín
c3a99b19a5
Fix library creation on 9.8.0 by adding missing manga
field to folder
2021-05-08 15:21:30 +02:00
Luis Ángel San Martín
5f3824ff3c
Fix order when getting next/previous remote comics
...
This sorting matches what the remote browser uses.
2021-04-30 09:53:35 +02:00
Luis Ángel San Martín
b8ad99fcaa
Exract struct to reuse it
2021-04-30 09:52:31 +02:00
Luis Ángel San Martín
811c3fcfe4
Add function to get comics from a folder properly sorted
2021-04-30 09:52:10 +02:00
Luis Ángel San Martín
b447226bc1
Avoid indexes out of range when processing v1 updated session data
2021-04-10 09:51:14 +02:00
Luis Ángel San Martín
58a74a0c03
Merge pull request #216 from vedgy/update-toolbar-title-on-history-navigation
...
Library: update toolbar title on history navigation
2021-03-14 16:28:33 +01:00
Luis Ángel San Martín
84c43e456e
Merge pull request #209 from vedgy/add-focus-shortcuts
...
Add focus shortcuts
2021-03-13 17:09:46 +01:00
Luis Ángel San Martín
06814d066a
Merge pull request #200 from vedgy/rename-processor-class-typo
...
Fix a typo in ComicQueryResultProcessor class name
2021-03-13 15:54:22 +01:00
Igor Kushnir
288b9cbec6
ComicsView's derived classes: use explicit, nullptr, override
2021-03-13 15:33:38 +02:00
Igor Kushnir
fc57378a85
Remove unused sizeHint() from GridComicsView and ComicsViewTransition
...
QWidget::sizeHint() is const-qualified, so Clang warns that non-const
sizeHint() member functions merely hide the virtual function of the base
class.
664dac3401
and
9f53ae6efc
introduced these member
functions in 2014 without const qualifiers. QWidget::sizeHint() was
const-qualified even in Qt 3. Since these member functions have never
had any effect, they should be removed rather than const-qualified to
preserve the long-standing behaviors of the two classes.
Add a TODO for a similar but less straightforward issue with
PropertiesDialog::sizeHint().
2021-03-13 15:33:34 +02:00
Igor Kushnir
8a54100804
Library: allow configuring a shortcut to focus comics view
...
Focusing the current comics view allows to use keyboard arrow keys to
choose among the visible comics.
The shortcut for this new action should not be a single character
without modifiers because it won't work when the search line has focus.
The Qt::FocusReason parameter in ComicsView::focusComicsNavigation()
allows to reuse this function for other keyboard navigation features.
For instance the search line can transfer focus to comics navigation
when the user presses Return or Enter key. In this case
Qt::OtherFocusReason can be used (an application-specific reason).
2021-03-13 15:08:33 +02:00
Igor Kushnir
81e40dabec
Library: add a shortcut to focus search line
...
The Ctrl+F shortcut gives focus to a search bar in many applications.
In this case it allows to search the library without touching a mouse.
YACReaderMacOSXSearchLineEdit::setFocus() will have to be implemented to
make the shortcut work on macOS.
2021-03-13 14:59:29 +02:00
Luis Ángel San Martín
6ab5a83e01
Merge pull request #231 from vedgy/remove-unused-variable
...
PageController*::service: remove unused libraryName variable
2021-03-13 12:16:05 +01:00
Felix Kauselmann
97377cdcf4
Eliminate qsort, use std::sort
2021-03-13 10:46:43 +01:00
Igor Kushnir
f60e17674e
Server controllers: remove unused libraryName variable
2021-03-13 10:16:27 +02:00
Igor Kushnir
b87be81037
Deprecated QSortFilterProxyModel::clear() => invalidate()
2021-03-09 21:32:23 +01:00
Igor Kushnir
8af4c01a03
Port away from deprecated QFlags(Zero) constructor
...
This change gets rid of a few GCC's -Wdeprecated-declarations warnings.
2021-03-09 21:32:23 +01:00