Commit graph

430 commits

Author SHA1 Message Date
Slava Monich
5fb0779519 [app] Fixed scrolling of storage view on SD card insertion
It was producing strange results if contentX was non-zero
2020-11-01 17:07:33 +02:00
Slava Monich
4e479a3381 [app] Fixed detection of removable storage for non-nemo users
I'm wondering why it was renamed in the first place :/
2020-11-01 16:32:41 +02:00
Slava Monich
70b5753703
Merge pull request #60 from GNUuser/patch-1
[translations] Updated Spanish translation
2020-10-27 04:17:47 +02:00
carlosgonz
ad78da0107
Update harbour-books-es.ts 2020-10-26 21:37:43 -04:00
Slava Monich
c0bf4f92fb [settings] Optimized settings page for landscape orientation 2020-10-27 02:47:15 +02:00
Slava Monich
85c1f819f3 [app] Fixed a problem with marking pushed position as the current one 2020-10-26 02:08:30 +02:00
Slava Monich
f29facea94 [settings] Tweaked a string 2020-10-24 18:37:28 +03:00
Slava Monich
94a5f981a7 [app] Dropped HarbourImageProvider
HarbourHighlightIcon works better
2020-10-23 01:53:04 +03:00
Slava Monich
a03e4e3dc7 [app] Added UI to configure night mode brightnesss 2020-10-23 01:21:24 +03:00
Slava Monich
ca6f60132c [app] Release media keys when book page is inactive
E.g. when settings page is open on top of it.
2020-10-22 04:13:25 +03:00
Slava Monich
cfa9a1ad79 [harbour-lib] Pulled in HarbourLib updates
Replaced BooksMediaPlugin and BooksPolicyPlugin with
HarbourMediaPlugin and HarbourPolicyPlugin, respectively.
2020-10-22 04:01:33 +03:00
Slava Monich
8a247fb7e2 [settings] Fixed initial selection of orientation combo box 2020-10-10 19:02:42 +03:00
Slava Monich
b31da67dd3 [app] Explicitly set thread affinity for RenderTask
BooksPageWidget::paint() isn't necessarily called on the main GUI thread.
2020-09-28 05:17:58 +03:00
Slava Monich
2646d8ad4f [app] Fixed some references to non-existent QML properties
QML desperately needs a compiler or at least a validator
2020-09-28 03:28:52 +03:00
Slava Monich
57ba89da1b [translations] pt_BR => pt 2020-09-28 02:59:17 +03:00
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