Commit graph

487 commits

Author SHA1 Message Date
Slava Monich
5fd1827e57 Version 1.0.21 2017-08-03 21:52:58 +03:00
Slava Monich
1ca5fb3653 Added UI state with pager but without tools 2017-08-03 21:48:27 +03:00
Slava Monich
bd403f44c9 Hide history controls if there's no history
Also, long-press on the history arrow clears the history
2017-08-03 21:24:03 +03:00
Slava Monich
9ac726c523 Implemented history (position stack)
Allows the user to return back after selecting a cross-page link
2017-08-03 18:48:17 +03:00
Slava Monich
59f49be0c3 Specify slider animation duration in addition to velocity 2017-08-03 18:41:59 +03:00
Slava Monich
8344963cc9 Tweaking tool icons 2017-08-03 16:19:51 +03:00
Slava Monich
077e86da62 [fbreader] Fixed a problem with displaying certain images
Some images (those with empty style stack) were erroneously
recognized as hidden.
2017-08-01 18:16:26 +03:00
Slava Monich
34ed5ac9ce [fbreader] Fixed crash in ZLTextModel::addText with certain models 2017-08-01 18:15:26 +03:00
Slava Monich
1320c9d61d [fbreader] Feed expat with a random hash salt
That's supposed to prevent DoS attacks based on predicting hash
function behavior (although it's hard to imagine that someone
would ever decide to attack the poor little Books app).
2017-04-30 22:57:48 +03:00
Slava Monich
d0051015c1 [app] Fixed Qt 5.6 compilation 2017-04-24 13:02:59 +03:00
Slava Monich
1048d631b4 [harbour-books] Pulled recent changes from harbour-lib
Fixes Qt4 compilation issues
2017-04-24 12:41:40 +03:00
Slava Monich
4ac2d2a4d6 Reduced verbosity of the debug log 2017-01-29 23:56:23 +02:00
Slava Monich
87d736284e Version 1.0.20 2017-01-28 18:53:08 +02:00
Slava Monich
ca2afa3dec [app] Fixed a problem with generation of .qm files 2017-01-28 18:25:31 +02:00
Slava Monich
41765e9b95 [fbreader] Ignore images with display:none 2017-01-28 18:25:12 +02:00
Slava Monich
0f9c90e7ca Version 1.0.19 2017-01-20 00:57:45 +02:00
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