Commit graph

142 commits

Author SHA1 Message Date
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
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