Commit Graph

253 Commits

Author SHA1 Message Date
80cd4f64f8 Rename setting
We are going to use close to system tray instead of minimize, easier to handle it at a crossplatform level
2019-09-21 10:42:15 +02:00
e587f59ddb Add support for minimize and start to tray. 2019-09-19 20:22:14 +02:00
82719573b5 Reader: store geometry instead of pos&size in Configuration
Qt documentation recommends calling saveGeometry() in closeEvent().

This commit fixes the following bug on my GNU/Linux with Xfce system:
    1. Move the top of the YACReader window to the top of the screen.
    2. Restart YACReader (exit and run again).
    2. Enter full screen mode.
    4. Restart YACReader.
    5. Exit full screen mode.
At this point YACReader's title bar is hidden beyond the top of the
screen, i.e. the window has moved up.
2019-09-18 18:10:40 +02:00
2649f58f15 Include lastTimeOpened in plain text comic info 2019-09-10 17:16:53 +02:00
fb2684292b Fix code formatting. 2019-08-24 14:37:25 +02:00
bcba08d344 OpenGL CoverFlow: Restore antialiasing
We previously had to disable antialiasing because z-buffer
picking did not work with multisampling enabled. Now we
have raytracing, so we can restore it.
2019-08-24 14:37:25 +02:00
622978b2bd OpenGL coverflow: Replace z-buffer picking with raytracing. 2019-08-24 14:37:25 +02:00
54fcb059b1 Bump version number 2019-08-24 11:11:51 +02:00
4f4c562a33 Add setting to disable the continue reading banner in the grid view 2019-08-11 11:47:14 +02:00
98a6ef5698 Initialize pointer and use less restrictive condition in destructor 2019-06-02 09:37:40 +02:00
5db5fb7e0c Fix crash when closing YACReader with an empty go to flow gl 2019-06-02 09:28:54 +02:00
c06e8c0fc6 Fix YACReaderPageFlowGL texture destruction 2019-06-01 16:13:29 +02:00
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
ca34e99ec4 Merge pull request #57 from vedgy/misc-code-fixes
Miscellaneous code fixes
2019-05-30 18:24:53 +02:00
92cf54980c Library: eliminate QPainter warnings
There were many run-time warnings in YACReaderLibrary built in Debug
mode with hardware acceleration disabled and with ClassicComicsView
as the active comics view:
    QWidget::paintEngine: Should no longer be called
    QPainter::begin: Paint device returned engine == 0, type: 1

The ComicFlowWidgetSW::paintEvent() implementation now corresponds to
ComicFlowWidgetGL::paintEvent(), which has been fixed earlier.

QWidget::repaint() calls paintEvent() immediately.
PictureFlow::paintEvent() calls d->renderer->paint(). So the
d->renderer->paint() call in PictureFlow::updateMarks() was redundant.
2019-05-22 17:37:04 +03:00
caca3191f9 Flow: Remove glu dependency 2019-05-06 07:38:33 +02:00
d9d93c6481 gl flow: clean up includes 2019-05-05 11:17:45 +02:00
7bd04ca7d5 remove legacy flow implementation
We no longer support builds using the legacy flow.
2019-05-05 09:39:07 +02:00
14f1609ffa Merge pull request #43 from mytskine/fix-gcc8-warnings-develop
Fix gcc8 warnings
2019-04-19 16:56:56 +02:00
88f668d663 bugfix: 'switch case' for OpenVG had no 'break' 2019-04-03 20:44:57 +00:00
b2f44a939e fix misleading indentation of YACReaderFlowGL::remove 2019-04-01 11:25:16 +02:00
f87e113f89 fix misleading indentation of YACReaderFlowGL::setCurrentIndex 2019-04-01 11:25:16 +02:00
472e9f9832 reorder initialization of YACReaderFlowGL 2019-04-01 11:25:16 +02:00
9ace47ccc0 explicit parenthesis in complex comparison 2019-04-01 11:23:33 +02:00
8879e7abc5 Initialize parent class 2019-04-01 11:23:33 +02:00
4f7f760960 fix misleading indentation of ComicDB::toTXT 2019-04-01 11:23:33 +02:00
7b9502bd97 fix misleading indentation of PictureFlow::showSlide 2019-04-01 11:23:33 +02:00
fae244b4e3 typecast comparison in PictureFlow::showSlide 2019-04-01 11:23:33 +02:00
e084bdd447 cases missing in 'switch' in PictureFlow 2019-04-01 11:23:33 +02:00
0c02564fc5 cases missing in 'switch' in PictureFlow 2019-04-01 11:23:33 +02:00
f012a6d30e reorder initialization of PictureFlowState 2019-04-01 11:23:33 +02:00
0e0d707faf reorder initialization of Comic::Comic 2019-04-01 09:08:45 +02:00
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
aba45b3011 Keep track of erros while opening a comic
This way we can query if an error ocurred opening a comic.
2018-04-28 17:55:48 +02:00
3cb6e2cd85 Check bookmarks nullity and return in Comic before updating the bookmark image. 2018-04-25 22:16:20 +02:00
932910d0a9 Fix memory leak, comics need to be in the right thread before deleting them. 2018-04-24 21:01:38 +02:00
040664d3ba Backout changeset c42e71e42d7968ddb6c63fd39011669503b9122c 2018-04-24 20:53:48 +02:00
b41884d5db Merge 2018-04-14 10:24:19 +02:00
e78de4da52 Merged in selmf/yacreader/9.0+ (pull request #69)
9.0+

Approved-by: Luis ?ngel San Mart?n <luisangelsm@gmail.com>
2018-04-14 08:16:07 +00:00
e5133c9765 merge develop 2018-03-25 13:16:27 +02:00
53b19ffecd Fix ComicDB::getTitleOrFileName() 2018-03-25 11:26:07 +02:00
fd4e2ebcb0 Bump version number to 9.5.0. 2018-03-12 21:43:42 +01:00
69395398e1 Partial support for storing the cover information in the DB. Work in progress. 2018-03-11 14:43:07 +01:00
aca67f2b2a merged - develop 2018-03-03 23:36:29 +01:00
4f779f7e22 yacreaderlibrary_ru.ts
Minor corrections in Russian translation.
2018-02-24 18:15:09 +00:00
cc72d30f5b Remove thread pingpong 2018-02-20 11:16:47 +01:00
2cbbf8d433 Headless server: simplify system config logger 2018-01-28 13:32:56 +01:00
e8c6f60c13 Merge 2017-11-26 07:39:08 +01:00
a0e3046be7 Fix build for Qt 5.3 2017-11-05 17:56:39 +01:00
02e7caf5c5 Bug fix. Updates through the server didn't update the read field in the DB. 2017-10-20 17:42:25 +02:00