Commit graph

221 commits

Author SHA1 Message Date
Slava Monich
83ca0db6bb [fbreader] Improved handling of broken CSS input
Particularly, curly brackets in inline CSS would make the parser crash.
Generally, it's better to stop parsing than crash when we get into an
unexpected state.
2017-01-20 00:39:24 +02:00
Slava Monich
b96b822474 [test] Added option to test inline css parsing 2017-01-20 00:28:04 +02:00
Slava Monich
77be4b68e8 [app] Workaround for positionViewAtIndex not working for the first time
This is probably a bug in QQuickListView - it first calculates the
item position and then starts instantiating the delegates. The very
first time the item position always turns out to be zero because the
average item size isn't known yet. So if we are trying to position the
list at a non-zero index and instead we got positioned at zero, try it
again.
2016-11-24 20:02:53 +02:00
Slava Monich
32013a8ac5 [app] Added BooksPos::toString() method 2016-11-24 17:49:54 +02:00
Slava Monich
1a8aad3139 [app] Added positionViewAtIndex method to BooksListWatcher
It allows to avoid binding loops
2016-11-24 14:18:59 +02:00
Slava Monich
6900ed151d [harbour-books] Pulled updates from harbour-lib 2016-11-22 00:17:40 +02:00
Slava Monich
3ffcd7cdf2 [app] Housekeeping 2016-11-06 21:52:09 +03:00
Slava Monich
3fbe9561be [app] BooksListWatcher should emit sizeChanged when view is assigned 2016-11-02 23:52:40 +03:00
Slava Monich
b227c42e1d Version 1.0.18 2016-11-02 20:01:27 +03:00
Slava Monich
e3b0e1c453 [app] Support for footnotes 2016-11-02 19:51:34 +03:00
Slava Monich
35757ce03d [fbreader] Support for footnotes 2016-11-02 16:28:59 +03:00
Slava Monich
c2558fbb3f [fbreader] Removed unnecessary stuff from ZLTextParagraphCursorCache
ourLastAdded member was causing a crash on destruction (double free),
get() and put() methods were just unnecessary.
2016-10-30 11:40:57 +03:00
Slava Monich
8169b31531 [app] Fixed the problem with the font size adjustment being ignored
Per-book font size adjustment was essentially ignored until the font
size is changed for the first time.
2016-10-30 01:07:20 +03:00
Slava Monich
75ce1acb1c Version 1.0.17 2016-10-24 10:40:29 +03:00
Slava Monich
981145b666 Merge pull request #20 from eson57/patch-1
Update harbour-books-sv.ts
2016-10-24 10:36:23 +03:00
Åke Engelbrektson
9a9e5a5006 Update harbour-books-sv.ts 2016-10-24 04:57:21 +02:00
Slava Monich
95eb80a9b5 Version 1.0.16 2016-10-23 20:19:16 +03:00
Slava Monich
bbeac12891 [app] Tweaking Russian translations 2016-10-23 20:18:59 +03:00
Slava Monich
417bf0371e [app] Made books folder on the memory card configurable 2016-10-23 20:17:40 +03:00
Slava Monich
af9271dff5 [app] Made root directory configurable for removable storage
The dconf entry is /apps/harbour-books/removableRoot
2016-10-23 20:17:13 +03:00
Slava Monich
1d4fdeaea9 [app] Fixed beginResetModel/endInsertRows mismatch in BooksImportModel 2016-10-17 02:02:37 +03:00
Slava Monich
0f492594c7 [app] Slightly refactored BooksSettings
Internal stuff has been moved inside, leaving only interfaces in the header
2016-10-17 00:48:25 +03:00
Slava Monich
caf858b581 [app] Use shared instance of BooksSettings 2016-10-16 23:36:13 +03:00
Slava Monich
55b47f18f2 [app] Took out unused slider code 2016-10-16 22:41:29 +03:00
Slava Monich
b2d01710e8 [app] Support for internal hyperlinks 2016-10-16 20:07:03 +03:00
Slava Monich
cd3194e1a2 [app] Improved link detection
The previous one was detecting any tap after the link within the
paragraph as a tap on the link. That's wrong. You have to hit the
link between its start and the end, otherwise it's a miss.
2016-10-15 13:27:43 +03:00
Slava Monich
6d0b79fb16 [fbreader] Added NUM_KINDS to FBTextKind 2016-10-15 13:18:32 +03:00
Slava Monich
01c9f0744b [app] Fixed condition for BooksBookView being interactive 2016-10-15 13:16:06 +03:00
Slava Monich
35cb3cd8ca Version 1.0.15 2016-10-09 12:52:55 +03:00
Slava Monich
13c3c73004 [app] Make sure that book path is mixed into the image id
That fixes the problem with different books having images with
the same ids.
2016-10-09 12:50:37 +03:00
Slava Monich
50600c3268 Version 1.0.14 2016-10-08 23:38:08 +03:00
Slava Monich
1cdafb5fd0 [app] Tweaking image view transitions 2016-10-08 23:36:28 +03:00
Slava Monich
08e35376a4 Version 1.0.13 2016-10-08 20:16:23 +03:00
Slava Monich
4c918861d0 [app] Zoom images on long tap 2016-10-08 20:16:08 +03:00
Slava Monich
c15d6b840d [app] Open external links on long tap 2016-10-08 19:41:27 +03:00
Slava Monich
1c7c897909 [app] Housekeeping 2016-10-08 14:55:20 +03:00
Slava Monich
0a42d93e14 [app] Fixed the problem with the initial slider position 2016-10-08 01:09:57 +03:00
Slava Monich
44e40dbb3a [app] Added ~/android_storage/Download to the search path 2016-10-07 19:52:15 +03:00
Slava Monich
d8964ee8b1 [app] Allow to fix orientation 2016-10-07 19:40:18 +03:00
Slava Monich
5be7de14ba [app] Prefixed all string ids with harbour-books- 2016-10-07 18:47:27 +03:00
Slava Monich
0fc574936c [app] Require qt5-qtsvg-plugin-imageformat-svg 2016-10-07 18:00:36 +03:00
Slava Monich
833775f0b0 [app] Added settings page 2016-10-07 17:57:08 +03:00
Slava Monich
a2585f8967 [rpm] Require libudev rather than systemd 2016-08-30 12:11:51 +03:00
Slava Monich
cc2f24acea Version 1.0.12 2016-07-27 23:29:03 +03:00
Slava Monich
fd0724aa90 [app] Fixed wrapping of "No books" label 2016-07-27 23:25:20 +03:00
Slava Monich
a6727badb6 Version 1.0.11 2016-07-27 12:44:12 +03:00
Slava Monich
fcdf92acc5 [app] Even better way to determine screen DPI. 2016-07-27 12:34:15 +03:00
Slava Monich
43d54a8a20 [app] Fixed truncation of long folder names 2016-06-25 00:35:15 +03:00
Slava Monich
ca2f50cb4b [app] Restore current folder at startup 2016-06-23 18:34:13 +03:00
Slava Monich
93b07f46fa Merge pull request #16 from rabauke/master
Merged, thanks!
2016-04-19 15:15:41 +03:00