Commit Graph

80 Commits

Author SHA1 Message Date
ee151fc077 Remove unused widget 2026-02-19 18:06:31 +01:00
ecee7d0aa4 Add new pri files for including the theme related files 2026-02-19 18:06:30 +01:00
283475bee2 Remove software and opengl flow implementations
This simplifies the code base A LOT.
2026-02-19 18:00:53 +01:00
41b02725d7 Use the fragment shader to calculate the shading effect for a more uniform shading than the one based on vertex 2026-02-19 18:00:52 +01:00
816d5bfe9a Extract the comic and page flow classes to their own files 2026-02-19 18:00:52 +01:00
3381754c12 Add an initial rhi implementation that mimics the opengl implementation 2026-02-19 18:00:52 +01:00
2ec2defc8c Remove ANGLE support 2026-02-19 17:57:45 +01:00
b976b7f809 Add support for setting custom covers on folders 2025-05-08 22:00:55 +02:00
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
58ec456fc7 Extract the library QActions to its own file 2024-06-23 19:02:13 +02:00
afa9763499 Add class to coordinate automatic library updates 2023-08-13 10:33:24 +02:00
16faacec65 Debounce input from the search edit
This makes writing there a little bit more pleasant
2023-06-03 20:25:14 +02:00
6a6a239cc7 Add the possibility to show a recently added/updated indicator 2023-05-20 16:17:40 +02:00
c100edfcd0 Move network interface filtering to separate file 2023-04-07 20:22:49 +02:00
9f67bb5e53 Server: Port IP detection and filtering to QNetworkInterface 2023-04-07 20:22:49 +02:00
ceb34a1409 Extract sql queries creation for the search engine so we can reuse them 2023-04-07 10:49:09 +02:00
8f631763ce Replace libqrencode with nayuki/QR-Code-generator 2023-03-25 11:06:17 +01:00
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
4839b416bd Add english translations 2022-10-16 18:20:42 +02:00
424f3c3014 Fix qm files build output in windows 2022-10-16 17:59:41 +02:00
68e67fd777 Copy qm files manually after linking to the output folder
Windows only
2022-10-16 17:25:20 +02:00
75b44558d6 Remove reference to files that aren't in the project yet 2022-10-13 23:31:19 +02:00
be0c0ff341 Rename Startup class to YACReaderHttpServer 2022-10-13 23:24:35 +02:00
7317467a13 Rename class 2022-10-13 21:11:13 +02:00
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
99114b00e7 Qmake: Use lrelease to automate language file compilation 2022-10-08 19:19:50 +02:00
3b01e993c0 macextras is not available in qt6 2022-09-12 19:24:56 +02:00
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
862c220069 Add libarchive decompression backend 2022-08-31 09:32:23 +02:00
788a3ef434 Update simplified Chinese.
Add traditional Chinese (Hong Kong, Taiwan).
2022-07-06 15:54:54 +02:00
77c96de0ea Remove unused resources 2022-01-15 15:51:59 +01:00
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
b0b0849cbc Extract DEFINES += NOMINMAX into common config.pri 2021-12-29 09:36:44 +01:00
2d533949f4 Remove duplicate variables from YACReaderLibrary.pro 2021-11-02 11:02:32 +01:00
1c3fd4d16f Do not pass MSVC arguments to mingw/gcc 2021-11-02 11:02:32 +01:00
997b82eb79 Add quickcontrols2 to YACReaderLibrary
QtQuick.Controls v1 to v2 migration, yay! -_-
2021-10-19 00:00:09 +02:00
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
2bebe9714e Add files to the project 2021-09-27 15:32:57 +02:00
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
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
81b4d25b5c Remove unneeded QtOpenGL dependency
Qt OpenGL in Qt5 is a deprecated module that is discouraged for
new code usage. We have been including this module in our builds
despite not relying on its functionality for a long time now -
probably an oversight from porting to the newer functions.

Time to remove it.

IMPORTANT INFORMATION: In Qt6, a lot of functionality that was
provided by Qt GUI was moved into the 'new' Qt6 Qt OpenGL module.
Thus, even if it makes perfectly sense to remove it for Qt5 builds
we will likely have to restore it for Qt6 builds at a later time.
2021-03-09 18:26:01 +01:00
a315021a22 Update qmake files 2021-03-09 18:22:52 +01:00
51a9c72d05 Replace QtScript with QJson*
QtScript is deprecated and this was needed to start supporting Qt6
2021-02-27 12:02:57 +01:00
6f182b2bb3 Extract CONFIG += c++11 into common config.pri 2021-02-18 19:49:43 +01:00
12c2ff027a ComicQueryResultProcessor: fix a typo in the class name 2021-02-06 20:08:44 +02:00
74840f9914 Enable SVG explicitly 2021-01-22 10:48:13 +01:00
24c0a783de Remove reference to lexertl's license 2021-01-14 18:42:21 +01:00
dde60b78ea YACReaderLibrary compiles using c++11 just fine
It is probably worth to bump this to c++14 and ideally use c++17, but it will be done in a separate branch.
2021-01-14 11:38:45 +01:00
5343d24f26 Run folder search filtering in the background
It uses the same approach used by the comics search filter
2021-01-14 11:37:17 +01:00
dbdc7bd965 Add a class for processing search queries and create the comics model data 2021-01-14 09:10:58 +01:00