Commit graph

112 commits

Author SHA1 Message Date
Slava Monich
213828811c Fixed a few issues with re-paging after rotation
The situation when device is rotated before the current paging task
has completed wasn't handled correctly. E.g. current book position
wasn't restored after rotating the device back, page count in the
progress indicator wasn't restarted etc.
2015-07-11 04:56:38 +03:00
Slava Monich
d6cacd2fd1 Invert colors on double-click 2015-07-11 01:35:13 +03:00
Slava Monich
0efb865586 Version 1.0.3 2015-07-07 20:20:46 +03:00
Slava Monich
16ee7b07c6 Calculate margins relative to the base style 2015-07-07 20:19:44 +03:00
Slava Monich
248b307696 Major refactoring of CSS support
Also, improved support for line breaks.
2015-07-07 20:17:30 +03:00
Slava Monich
a7e40b8d34 Align text to the left by default 2015-07-07 18:07:14 +03:00
Slava Monich
4ab57a9a45 Moved library stubs into a separate directory 2015-07-07 13:11:16 +03:00
Slava Monich
11f516e8fa Implemented ZLUnixFSManager::mimeType 2015-07-07 13:05:12 +03:00
Slava Monich
7a975c122a Export main for booster 2015-07-06 22:26:58 +03:00
Slava Monich
40b3051801 Avoid unnecessary repaints in BooksPageWidget 2015-07-06 22:16:29 +03:00
Slava Monich
b927acc010 Version 1.0.2 2015-07-06 19:40:01 +03:00
Slava Monich
1d524ceafb When the book is moved, move the custom image as well
Right now the image gets re-coded which isn't perfect but it's better
than nothing.
2015-07-06 19:26:56 +03:00
Slava Monich
e92df4c0a3 Fixed move between the shelves 2015-07-06 19:07:27 +03:00
Slava Monich
74ff222bf1 Make sure the right font family is used by BooksTitleText by default 2015-07-06 18:46:19 +03:00
Slava Monich
cc6729f440 Fixed task object leaks 2015-07-06 18:21:29 +03:00
Slava Monich
dfe56dcfc1 Don't reset the cover image until scaling is done 2015-07-06 17:46:41 +03:00
Slava Monich
54247bb4d0 Books -> Documents/Books for the internal storage
To safisfy Jolla harbour requirements
2015-07-06 17:16:17 +03:00
Slava Monich
6385be36c0 Fixed a bug in ZLTextStyleEntry::apply 2015-07-06 16:46:37 +03:00
Slava Monich
27e8af932d Removed a few unused files from the project 2015-07-05 12:34:00 +03:00
Slava Monich
7befd36e32 Updated README 2015-07-04 02:40:56 +03:00
Slava Monich
219949f588 Improved position selection after rotation 2015-07-04 02:38:12 +03:00
Slava Monich
a6a5773fb6 Support multiple inline styles 2015-07-04 02:37:30 +03:00
Slava Monich
c787512e99 Support multiple selectors per CSS rule
Also, added more length units for margins
2015-07-04 02:25:14 +03:00
Slava Monich
eb5928a5ba Only apply first line indent to left-aligned and justified layouts 2015-07-04 00:36:46 +03:00
Slava Monich
b704fb1289 Fixed CSS comment handling
Control characters inside the comment were not ignored, and the
statement following such comment was usually lost.
2015-07-03 23:20:16 +03:00
Slava Monich
758e91dd6c Corrected "loading" property for the page widget 2015-07-03 17:24:59 +03:00
Slava Monich
752c8b1dd7 Fixed repaining after orientation change 2015-07-03 17:24:20 +03:00
Slava Monich
220f4feaa3 Support <percentage> and <relative-size> values for "font-size" property 2015-07-03 15:22:54 +03:00
Slava Monich
74d70a9d3a Respect "page-break-before" and "page-break-after" inline styles 2015-07-03 14:52:42 +03:00
Slava Monich
fc3171abad Ignore "!important" modifier for the "margin" property 2015-07-03 13:59:09 +03:00
Slava Monich
5648764c62 Version 1.0.1 2015-07-03 01:55:31 +03:00
Slava Monich
4875ee62d3 Added changes file to the project 2015-07-03 01:51:03 +03:00
Slava Monich
c009edfec6 Tweaking import page UI 2015-07-03 01:49:07 +03:00
Slava Monich
d2789e5662 Fixed infinite loop if left indent is greater than available width 2015-07-03 01:43:35 +03:00
Slava Monich
e8914786d1 Create one combined CSS entry per XHTML element 2015-07-03 01:42:03 +03:00
Slava Monich
c9419843cc Don't allow setting invalid or unknown language 2015-07-03 01:01:05 +03:00
Slava Monich
fd0852a60d Don't wait longer than 10 sec for the task thread to terminate
If the current task is stuck for too long after being canceled it's probably
stuck forever. Let "too long" be 10 seconds. And let it get stuck forever in
debug build only.
2015-07-02 15:25:07 +03:00
Slava Monich
22884ccdf3 Eliminated hard dependency on expat 2015-06-28 22:28:54 +03:00
Slava Monich
9c910a90c2 Fixed compilation warnings in release build 2015-06-28 14:49:54 +03:00
Slava Monich
f69b1999dc Added changelog 2015-06-28 14:35:46 +03:00
Slava Monich
e9db1e773a Sailfish integration 2015-06-28 14:22:35 +03:00
Slava Monich
9629f7bb46 Sum up lineStart/EndIndent values rather than overwrite them
Perhaps the same thing should be done to vertical margins as well.
2015-06-26 23:47:46 +03:00
Slava Monich
562c507a75 Handle "margin" element 2015-06-26 23:46:56 +03:00
Slava Monich
a6a17622d7 Fixed potential crash in ZLInputStreamDecorator::open() 2015-06-17 01:00:56 +03:00
Slava Monich
c143108ff3 Removed executable attributes from installable xml files 2015-06-09 11:40:05 +03:00
Slava Monich
a66d4e8b16 Changed submodule URLs to http 2015-06-02 13:12:25 +03:00
Slava Monich
b0cd2188a7 Enabled USE_SIMPLE_MALLOC for thread safety 2015-05-31 00:41:57 +03:00
Slava Monich
c07daf74a5 Added ZLTextArea::isVisible() 2015-05-31 00:41:30 +03:00
Slava Monich
04db4057e4 Added option to disable refrences to BooksDB 2015-05-29 22:07:17 +03:00
Slava Monich
4248e14b73 Added option to disable ZLFile::ourPlainStreamCache 2015-05-29 21:39:26 +03:00