Commit graph

255 commits

Author SHA1 Message Date
Slava Monich
033f54492e [app] Use the same cover size in landscape and portrait 2015-08-18 21:06:46 +03:00
Slava Monich
7042dbff79 [app] Set context properties prior to loading QML 2015-08-18 17:37:34 +03:00
Slava Monich
f30d83bf39 [fbreader] Added limited support for left/right auto margins
They only work if width property is set, otherwise they are ignored.
Top/bottom don't work at all (and never did)
2015-08-18 01:31:02 +03:00
Slava Monich
97ce479c50 [fbreader] Added support for text color
Specified with CSS color attribute
2015-08-11 13:53:21 +03:00
Slava Monich
75886f0a2e Version 1.0.6 2015-08-09 14:55:53 +03:00
Slava Monich
bab8b2f72f [test] Added check step to the rpm build
So far it only runs test-css but even that is better than nothing at all
2015-08-09 14:41:49 +03:00
Slava Monich
dac803cd4e [fbreader] Changed getPwdDir to return the current directory
It was returning the value of PWD environment variable which
isn't necessarily the same thing.
2015-08-09 14:36:51 +03:00
Slava Monich
87bdefbe05 [test] Housekeeping 2015-08-09 14:33:09 +03:00
Slava Monich
0b2cf32b84 [test] Added CSS parser test 2015-08-09 12:51:26 +03:00
Slava Monich
c6e46b94a2 [fbreader] Refactored CSS and XHTML support
This significantly improves EPUB rendering.
2015-08-09 00:54:38 +03:00
Slava Monich
ab68bef4e6 [fbreader] Housekeeping
Indentation
2015-08-07 15:55:06 +03:00
Slava Monich
ae8986bb4f [fbreader] Flush text buffer when adding HSpace or LineBreak 2015-08-05 19:10:29 +03:00
Slava Monich
764af720e4 [fbreader] Housekeeping
Indentation fix
2015-08-05 19:08:27 +03:00
Slava Monich
84d588d07d [harbour-books] Pulled a few changes from harbour-lib 2015-08-04 18:35:53 +03:00
Slava Monich
2457795ce8 [fbreader] Center justified images 2015-08-04 18:33:10 +03:00
Slava Monich
99100be8d7 [harbour-books] Pulled latest changes from harbour-lib 2015-07-29 18:58:09 +03:00
Slava Monich
b3acda416c [fbreader] Optimized ZLZipHeader::readShort and readLong
For little endian CPUs. Unnecessary byte shuffling does show up
on the performance graph. Both Jolla tablet and Jolla phone are
little endian.
2015-07-29 18:53:48 +03:00
Slava Monich
4026ae35d1 [fbreader] Optimized ZLUnicodeUtil::toLower and toUpper for ASCII
Performance analysis shows that UTF8->UCS4->UTF8 conversion takes
noticeable amount of CPU time. For ASCII strings it's unnecessary.
2015-07-29 18:46:36 +03:00
Slava Monich
61adf35e4f [app] Tweaked default styles
Particularly, turned off italic for Code
2015-07-29 17:52:58 +03:00
Slava Monich
44a7fe7553 [app] Fixed saving the shelf position for zipped books 2015-07-23 01:30:30 +02:00
Slava Monich
4417e55191 [app] Changed title color to match default cover 2015-07-20 22:48:23 +03:00
Slava Monich
92c2a9a59f Removed rpm/harbour-books.changes file
It interferes with Mer OBS build. My changelog gets mixed with
autogenerated entries and the build fails with

error: %changelog not in descending chronological order
2015-07-18 01:12:17 +03:00
Slava Monich
88e7b50d8d Version 1.0.5 2015-07-18 01:04:49 +03:00
Slava Monich
36e69aef3b [fbreader] Relax restrictions on EPUB files
Some epubs are detected by libmagic as application/zip rather than
application/epub+zip. Let's give those a chance too.
2015-07-18 00:49:10 +03:00
Slava Monich
135f196868 [app] Show number of scanned files to entertain the user 2015-07-16 23:51:57 +03:00
Slava Monich
1750361a7b [app] Fixed OBS build 2015-07-16 23:19:39 +03:00
Slava Monich
3a41165b09 [fbreader] Removed unnecessary define 2015-07-16 23:18:50 +03:00
Slava Monich
481d42d616 [app] Store book's MD-5 hash as xattr if the filesystem allows it
This significantly speeds up the process of scanning downloads for
new books. The attribute name is "user.harbour-books.md5-hash"
2015-07-16 00:01:04 +03:00
Slava Monich
b108c25f25 [app] Add support for loading books from compressed files 2015-07-15 22:59:00 +03:00
Slava Monich
dffa24d4e6 [app] Marked translation as finished 2015-07-15 00:05:00 +03:00
Slava Monich
c4960ff232 [app] Tweaked Finnish translation 2015-07-13 11:40:27 +03:00
Slava Monich
87447f4577 Version 1.0.4 2015-07-12 19:41:04 +03:00
Slava Monich
8065a8a724 [app] Settings need to be passed to BookModel 2015-07-12 19:39:55 +03:00
Slava Monich
af87d79ceb [app] Added left swipe hint 2015-07-12 18:50:12 +03:00
Slava Monich
c47ab22077 [app] Access to BooksShelf storage object from QML 2015-07-12 15:57:42 +03:00
Slava Monich
d677a150dc [app] Use global Settings object instead of passing it around
As an optimization measure.
2015-07-12 13:12:35 +03:00
Slava Monich
5bd39d1b39 Merge pull request #2 from monich/fi
Finnish translation
2015-07-12 12:53:27 +03:00
Slava Monich
83507c8a9e Finnish translation 2015-07-11 17:55:35 +03:00
Slava Monich
e88e9eeecd Updated README 2015-07-11 13:56:07 +03:00
Slava Monich
8cb679125a Integrated Swedish translations 2015-07-11 13:44:24 +03:00
Slava Monich
3b66d8dcbc Fixed Mer OBS build 2015-07-11 13:28:44 +03:00
Slava Monich
b7c092e20b Merge pull request #1 from eson57/patch-1
Create harbour-books-sv.ts
2015-07-11 13:09:16 +03:00
Åke Engelbrektson
564694e2c3 Create harbour-books-sv.ts
Swedish translation if you want.
2015-07-11 08:50:27 +02:00
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