Commit graph

177 commits

Author SHA1 Message Date
Slava Monich
88e439e170 Version 1.0.7 2015-10-15 16:30:01 +03:00
Slava Monich
faf8581445 [test] Call ZLFile::initCache prior to running the tests
Otherwise test would crash
2015-09-13 13:18:37 +03:00
Slava Monich
94af49b211 [fbreader] Added ZLFile::flushCache 2015-09-13 13:17:52 +03:00
Slava Monich
b6a5dd4576 [fbreader] Reduced the number of atomic builtins used by the code 2015-09-13 13:16:19 +03:00
Slava Monich
b70dd1bcf9 [fbreader] Fixed incorrect use of atomic builtins
Which resulted in memory leaks
2015-09-13 13:14:13 +03:00
Slava Monich
c243a75376 Merge pull request #13 from eson57/patch-2
Update harbour-books-sv.ts
2015-09-12 22:44:52 +03:00
Åke Engelbrektson
d91d4c939b Update harbour-books-sv.ts
Correcting translation
2015-09-12 21:24:19 +02:00
Slava Monich
e00e5624f9 [app] Made it easier to cancel book loading
Also, show the book title at the top of the loading screen
2015-09-12 19:37:02 +03:00
Slava Monich
9f7c751e8d [app] Fade truncated title 2015-09-12 19:24:45 +03:00
Slava Monich
63c2ea50a3 [app] Fixed cover model filtering 2015-09-12 16:09:05 +03:00
Slava Monich
7d891bfd45 [app] Set window title 2015-08-26 13:24:51 +03:00
Slava Monich
a56349fe11 [app] Tell the user when we are applying new fonts
"Loading..." message may be misleading as the book is already loaded.
2015-08-24 13:23:24 +03:00
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