Commit graph

165 commits

Author SHA1 Message Date
Slava Monich
4dbe01fed0 [app] Removed references to non-existent menu item 2015-08-24 12:27:49 +03:00
Slava Monich
c90983070c [app] Moved font controls from pulley menu to toolbar
Tool icon replaces double-click as the night/day mode switch.
2015-08-23 14:47:25 +03:00
Slava Monich
de7028bf5a [fbreader] Enabled thread-local plain file stream cache 2015-08-21 15:18:07 +03:00
Slava Monich
c9a7225138 [fbreader] Read the path to the default OPF from container.xml 2015-08-21 14:41:34 +03:00
Slava Monich
ba402d79ff [fbreader] Handle slightly broken zip files
Only DEFLATED entries can have EXT descriptor, ignore this flag
for STORED entries.
2015-08-21 13:42:45 +03:00
Slava Monich
36a1bcad0c [app] Allow larger fonts 2015-08-21 00:10:42 +03:00
Slava Monich
87ebcecd28 [app] Store the current directory in dconf, not just the mountpoint
This will play better with the folder support when it gets implemented.
2015-08-19 18:18:25 +03:00
Slava Monich
ae06b6f808 [app] Use constants defined by HarbourSystemState 2015-08-19 01:14:42 +03:00
Slava Monich
041ba20f60 [harbour-books] Pulled updates from harbour-lib 2015-08-19 01:14:27 +03:00
Slava Monich
450156f2b8 [app] Select the last used storage at startup 2015-08-19 00:37:22 +03:00
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