Commit graph

465 commits

Author SHA1 Message Date
Slava Monich
f1f9dc226e [app] Allow to access settings from the book view
... at least in the Jolla store version. Most of those settings are
related to the book view, it may be quite convenient to access them
without closing the book.
2020-09-28 02:54:49 +03:00
Slava Monich
04e5a721e8 [app] Added bookPos role to the book model
And fixed a bunch of paging/rotation issues (or at least tried to)
2020-09-28 02:37:14 +03:00
Slava Monich
e4cbab0301 [app] Made night mode brightness configurable
Brightness control is implemented by rendering content with transparent
background, providing background as a separate item behind the content
and adjusting opacity of the content item according to the selected
brightness.
2020-09-21 00:53:21 +03:00
Slava Monich
09c5f99e11 [fbreader] Use magic /* fallthrough */ comment to silence gcc warning 2020-09-20 05:10:14 +03:00
Slava Monich
19c28e5c51 [app] Avoid unpleasant flicking when pages are being dragged 2020-09-17 01:44:58 +03:00
Slava Monich
429c58efb0 [app] Dropped BooksFeedback
Now that QtFeedback is allowed in Jolla Store, it's no longer needed
2020-09-17 01:30:34 +03:00
Slava Monich
4a4a78e769 [harbour-lib] Pulled in HarbourLib updates
Now this code has a chance to work on a 64-bit system
2020-09-15 17:55:20 +03:00
Slava Monich
80354b03a4 Version 1.0.41 2020-02-05 02:24:09 +02:00
Slava Monich
9c6ad2d862 [fbreader] Handle data: scheme for XHTML images 2020-02-04 20:07:49 +02:00
Slava Monich
902569313a [app] HarbourImageProvider needs HarbourTheme 2020-02-04 19:51:12 +02:00
Slava Monich
7ba8a502b3 [app] Colorize SD-card icon according to ambience 2020-02-04 01:48:10 +02:00
Slava Monich
d2bc2d10cd [app] Made BooksHints a singleton 2020-02-03 04:34:37 +02:00
Slava Monich
4bc47ef775 [app] Made BooksFeedback a singleton
And only do bzzzzz once, when selection is started.
2020-02-03 04:28:00 +02:00
Slava Monich
d1f8cf015b
Merge pull request #56 from dashinfantry/patch-4
[app] Updated Chinese translations
2020-02-03 03:12:20 +02:00
Slava Monich
6f97fb1d5c [harbour-lib] Pulled in HarbourLib updates 2020-02-03 03:09:35 +02:00
Slava Monich
8529942924 [app] A few more tweaks to reduce jumping between the pages 2020-02-03 03:09:13 +02:00
Slava Monich
6b5fb10b15 [app] React to jumpToPage signal from BooksBookModel
To ensure correct initial position of the view.
2020-02-03 02:50:03 +02:00
Slava Monich
6b5b268321 [fbreader] Added apparently missing breaks
Caught by -Wimplicit-fallthrough
2020-02-03 00:52:34 +02:00
dashinfantry
e081bc202b
Update harbour-books-zh_CN.ts 2020-01-04 02:28:41 +08:00
Slava Monich
0bd4373862 [app] Use fixed color for folder title
Because the background color is fixed too.
2019-12-10 03:43:58 +03:00
Slava Monich
022056efee [fbreader] Fixed apparent bug in ZLStringUtil::replaceAll
Caught by gcc:

ZLStringUtil.cpp:132:38: warning: comparison of constant '4294967295' with boolean
expression is always true [-Wbool-compare]
   while ((pos == str.find(find, pos)) != std::string::npos) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
2019-12-10 03:21:16 +03:00
Slava Monich
8c7988c0cd Version 1.0.40 2019-12-04 12:31:39 +02:00
Slava Monich
e76e6489dc [app] Added Chinese translation to the build 2019-12-04 12:27:07 +02:00
Slava Monich
8737d39840 [app] Fixed errors in harbour-books-zh_CN.ts 2019-12-04 12:26:20 +02:00
Slava Monich
caa0ce52ec
Merge pull request #55 from dashinfantry/patch-3
[app] Chinese translation
2019-12-04 12:19:58 +02:00
dashinfantry
35b6770bcd
Create harbour-books-zh_CN.ts 2019-12-04 13:20:49 +08:00
Slava Monich
1061c93833 Version 1.0.39 2019-12-04 04:21:42 +02:00
Slava Monich
bc0c285dc0 [harbour-lib] Pulled in HarbourLib updates 2019-11-28 00:55:50 +02:00
Slava Monich
85a121633b [fbreader] Prevent a crash in <aside> blocks 2019-11-28 00:52:04 +02:00
Slava Monich
556c3bd351 Version 1.0.38 2019-04-01 13:36:02 +03:00
Slava Monich
78372a0963 [app] Create sample book on the first time run 2019-04-01 13:34:33 +03:00
Slava Monich
85473cb2b4 [app] Use HarbourLib QML components 2019-04-01 02:06:55 +03:00
Slava Monich
9422fa4f68 [app] Slightly tweaked the toolbar 2019-04-01 01:25:37 +03:00
Slava Monich
e1f75ed04a [app] Only use those HarbourLib classes that we really need 2019-03-31 04:03:16 +03:00
Slava Monich
ef131690bb [harbour-lib] Pull in HarbourLib updates 2019-03-31 04:03:05 +03:00
Slava Monich
ffb9e883fa [fbreader] Don't require book language to be in languagePatterns.zip
There ain't that many languages there, really. Not setting the language
may cause some format plugins to reset book encoding to "windows-1252".
2019-03-31 02:02:42 +02:00
Slava Monich
6b81b44c47 Version 1.0.37 2018-07-27 01:46:29 +03:00
Slava Monich
e79aa80b83 [app] Bump marks file version to force re-paging
It's necessary because recent changes affect layout.
2018-07-27 01:30:22 +03:00
Slava Monich
99d4a63e93 [fbreader] Don't undo text styles that we haven't applied 2018-07-27 01:19:31 +03:00
Slava Monich
139460734b [fbreader] Fixed a bug in ZLTextForcedStyle::lineEndIndent 2018-07-27 01:18:24 +03:00
Slava Monich
bb587bd397 [fbreader] Ignore AT-rules like @charset "utf-8"; 2018-07-27 01:16:48 +03:00
Slava Monich
883110810e Version 1.0.36 2018-07-24 21:17:33 +03:00
Slava Monich
8441340207
Merge pull request #48 from atlochowski/patch-2
[app] Updated Polish translations
2018-07-24 10:55:19 +03:00
Slava Monich
418e81c394
Merge pull request #47 from eson57/patch-1
[app] Updated Swedish translations
2018-07-24 10:54:00 +03:00
A
ae511ba4fb
Update harbour-books-pl.ts 2018-07-24 09:46:05 +02:00
Åke Engelbrektson
61b6537915
Update harbour-books-sv.ts
new strings translated
2018-07-24 08:28:23 +02:00
Slava Monich
4c4724b935 Version 1.0.35 2018-07-24 00:33:04 +03:00
Slava Monich
4af6dfe06f [app] Added settings UI for "Turn page by tap" option 2018-07-24 00:29:52 +03:00
Slava Monich
278baef519 [app] Added dconf option to turn pages by tapping the screen 2018-07-24 00:06:39 +03:00
Slava Monich
be2b66f955 [app] Fixed a problem with paging animation 2018-07-23 23:55:24 +03:00