Commit graph

74 commits

Author SHA1 Message Date
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
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
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
22884ccdf3 Eliminated hard dependency on expat 2015-06-28 22:28:54 +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
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
Slava Monich
7565921037 Per-view ZLTextParagraphCursorCache and ZLTextElementPool 2015-05-27 00:08:27 +03:00
Slava Monich
8653f9512d Made shared_ptr thread-safe if compiled by gcc 2015-05-27 00:07:48 +03:00
Slava Monich
448a70f889 Fixed compilation warnings
Mostly, by making base class destructors virtual.
2015-05-27 00:07:12 +03:00
Slava Monich
56a5d7f63f Merge commit 'cd357843cb255424e745fd05ab93d1ec4b3f8334' as 'fbreader/fbreader' 2015-05-26 23:59:24 +03:00
Slava Monich
cd357843cb Squashed 'fbreader/fbreader/' content from commit 7abc80d
git-subtree-dir: fbreader/fbreader
git-subtree-split: 7abc80d12fab06b05ea1fe68a0e73ea5e9486463
2015-05-26 23:59:24 +03:00
Slava Monich
df123124ea Initial import of fbreader 2015-05-26 23:58:01 +03:00