Commit Graph

38 Commits

Author SHA1 Message Date
Luis Ángel San Martín
8f84fc7902 Log libraries validation when YACReaderLibrary and YACReaderLibraryServer start 2025-03-30 22:24:17 +02:00
Luis Ángel San Martín
5715801616 Always use 7zip instead of p7zip 2024-09-08 12:23:27 +02:00
Luis Ángel San Martín
ed82f0c801 Add more info to the start log in YACReaderLibrary 2023-12-16 08:27:46 +01:00
Luis Ángel San Martín Rodríguez
b6eedd4e05 Fix macos macros 2023-06-06 22:28:36 +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
250c48848c setAllocationLimit is Qt6 only 2022-12-12 22:07:30 +01:00
Luis Ángel San Martín
fc1f48aaa5 Remove image allocation limit
This commit fixes this error: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 128 megabytes
2022-12-12 18:37:29 +01:00
Luis Ángel San Martín
0f9d782bb8 Detect back/forward mouse buttons to move back and forward through the browsing history 2022-11-10 21:46:51 +01: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
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
a4a2b3ce6c Rename method 2022-10-14 20:59:43 +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
BEN ENGLISCH
862c220069 Add libarchive decompression backend 2022-08-31 09:32:23 +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
5aa02a19bb clang-format 2021-10-18 21:56:52 +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
8377de7c3e Clazy: Use fixits to refactor some old style signal connections 2021-06-29 13:53:12 +02:00
Luis Ángel San Martín
f4b2b3d8e3 Update comments 2021-01-28 19:56:35 +01:00
Luis Ángel San Martín
d96d01d963 Fix launch sequence to avoid http port collisions 2021-01-25 15:48:15 +01:00
Felix Kauselmann
1af613663c Fix QsLog setup in Library and LibraryServer
The calls changed, so we need to adapt them.
2020-08-20 17:41:56 +02:00
Luis Ángel San Martín
b5f3799753 Restore the code to start the app into the system tray 2019-09-21 10:44:03 +02:00
Luis Ángel San Martín
a632480422 Format 2019-09-19 21:16:56 +02:00
Felix Kauselmann
e587f59ddb Add support for minimize and start to tray. 2019-09-19 20:22:14 +02:00
Luis Ángel San Martín
bb334cfd50 Use auto to avoid duplicating the type name 2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
Felix Kauselmann
0e9a3a6407 Stop QtWebApp from eating out debug messages
QtWebapp installs a custom logger/message handler which reroutes all
debug messages to it's custom logger class.

As the default logging level for QtWebApp's logger is set to "critical"
this means that all debug messages are sent to nirvana. Solution:
Replace QtWebApp's messageHandler with our own (using QsLog).
2018-08-04 12:31:34 +02:00
Felix Kauselmann
3530528282 Add a commandline option to set YACReaderLibrary opengl renderer on windows. 2018-08-04 12:31:34 +02:00
Felix Kauselmann
afad6c7ab7 Add parser option for setting loglevel to YACReaderLibrary and YACReaderLibraryServer 2018-08-04 12:31:34 +02:00
Felix Kauselmann
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
Luis Ángel San Martín
4be84c6845 Set TraceLevel for logging only in debug builds. 2018-05-22 18:16:55 +02:00
Luis Ángel San Martín
f6d389ff35 Add current/next comic view to GridView. 2018-04-23 19:22:51 +02:00
Felix Kauselmann
9103ee0c0c YACReaderLibrary: Add a barebone commandline parser 2018-02-16 15:26:33 +01:00
Felix Kauselmann
f9ed9b19b5 Code cleanup for main.cpp files
Remove ancient OS detection code, unneeded includes and ugly workarounds.
2018-02-12 22:30:19 +01:00
Felix Kauselmann
2cbbf8d433 Headless server: simplify system config logger 2018-01-28 13:32:56 +01:00