Commit graph

191 commits

Author SHA1 Message Date
Åke Engelbrektson
61b6537915
Update harbour-books-sv.ts
new strings translated
2018-07-24 08:28:23 +02: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
Slava Monich
5a765e391f [app] Added settings UI for page payout 2018-07-23 23:30:20 +03:00
Slava Monich
73f4e53933 [app] Allow to fix page layout
Some users are annoyed by page layout changing after accident tap
2018-07-23 00:52:14 +03:00
Slava Monich
7b38eca3f2 [app] Support for SD-card labels containing spaces
Spaces which are part of the path get replaced with \040 in /proc/mounts
2018-06-08 17:26:12 +03:00
Slava Monich
fbadaf142c [app] Support new SD-card mount location in Sailfish OS 2.2.0
It used to be mounted at /media and now it's /run/media
I need to find a better way to detect removable media.
2018-06-08 15:17:57 +03:00
Slava Monich
6ee937d06e [app] Added Polish translations to the build 2018-05-21 17:26:37 +03:00
A
0d10315090
Create harbour-books-pl.ts 2018-05-21 13:47:43 +02:00
Slava Monich
c6fefd05fe [app] Translate app name to Brazilian Portuguese 2018-05-19 12:46:50 +03:00
Slava Monich
654b2b6c94 [app] Added Brazilian Portuguese translations
Thanks to TamarindoJuice from OpenRepos.net
2018-05-19 12:08:10 +03:00
Slava Monich
e1b87d528b
Merge pull request #44 from 1Zgp/patch-1
[app] Updated Hungarian translations
2018-05-18 11:26:25 +03:00
1Zgp
a1fc2c3354
Update harbour-books-hu.ts 2018-05-18 08:12:03 +03:00
Åke Engelbrektson
d823075f96
Update harbour-books-sv.ts
Translated new strings
2018-05-18 06:30:25 +02:00
Slava Monich
cfcb0b7fbc [app] Set target thread for HashTask 2018-05-17 20:15:29 +03:00
Slava Monich
6c62bad2a7 [app] Added settings UI for keepDisplayOn option
New strings are only translated to English, Finnish and Russian.
Help is needed to translate them to other languages.
2018-05-17 11:52:04 +03:00
Slava Monich
3ccc36e335 [app] Added keepDisplayOn option 2018-05-16 23:55:43 +03:00
Slava Monich
57801ed140 [app] Dropped BooksTask in favor of HarbourTask 2018-05-16 18:27:12 +03:00
Slava Monich
b78201060b [app] Fixed a few memory leaks 2018-05-06 02:02:15 +03:00
Slava Monich
12eb3919dc [app] Added openrepos variant 2018-04-27 01:06:15 +03:00
Slava Monich
5cd1036db7 [app] Added translations for the app grid label (es, hu, nl) 2018-02-26 17:43:41 +02:00
Slava Monich
c8f643d8e3 [app] Fixed compatibility with Sailfish OS < 2.1.0
Notification object didn't have the "icon" property until Sailfish OS 2.1.0.
Its presense needs to be checked at run time.
2018-02-26 17:39:30 +02:00
Slava Monich
7822f05631 [app] Added Hungarian translations to the build 2018-02-18 20:35:02 +02:00
1Zgp
0545fc6312 [app] Create harbour-books-hu.ts
Hungarian translation for Books.
2018-02-18 20:32:49 +02:00
Slava Monich
8e9def08eb [app] One more place where currentPageChanged should be emitted 2018-02-10 20:26:08 +03:00
Slava Monich
fb23764d9c [app] Use separate task queue for the hashing task 2018-02-04 13:11:07 +03:00
Slava Monich
9e9d954722 [app] UI tweaks 2018-02-04 13:09:08 +03:00
Slava Monich
fec438e494 [app] When renaming the folder, rename the config/cache directory too 2018-02-04 11:55:16 +03:00
Slava Monich
bf38202e31 [app] Added missing BooksStorage::fullConfigPath implementation 2018-02-04 11:14:22 +03:00
Slava Monich
28a814dd26 [app] Handle the case if hash can't be stored as fs attr (e.g. SD-card)
Assume that the hash from page marks file is correct and verify it
later when the file hash gets recalculated.
2018-02-02 11:51:32 +03:00
Slava Monich
01987a8fa5
Merge pull request #37 from p4moedo/master
Spanish (es) translation
2018-02-02 01:35:39 +03:00
Slava Monich
76b1e20e1a [app] BooksUtil::computeFileHash should take const BooksTask pointer
And so should BooksUtil::computeFileHashAndSetAttr
2018-02-02 01:11:23 +03:00
p4moedo
eb105f7f9d
Added Spanish (es) translation 2018-02-01 22:45:13 +01:00
p4moedo
0ff9832450
Create harbour-books-es.ts
Spanish (es) translation
2018-02-01 22:44:01 +01:00
Slava Monich
09fc0cbe3e [app] Turned some warnings into debug messages 2018-01-31 15:15:57 +02:00
Slava Monich
7b7f8b9e97 [app] Tweaked the selection background 2018-01-31 15:00:27 +02:00
Slava Monich
f16e0a8a61 Added Dutch translations to the build 2018-01-30 18:28:17 +02:00
d9h20f
f002c8fbe4 Dutch translation 2018-01-30 14:14:57 +01:00
Slava Monich
ee5a949d41 [app] Speed up book loading by caching page marks 2018-01-30 01:41:57 +02:00
Slava Monich
2082fbc09d [app] BooksShelf now automatically moves itself to the main thread
So does BooksBook
2018-01-30 00:28:11 +02:00
Slava Monich
ca38e3cd92 [app] Added hash attribute to BooksBook 2018-01-30 00:27:40 +02:00
Slava Monich
ed219c1af1 [app] Moved hashing utilities to BooksUtil 2018-01-30 00:26:06 +02:00
Slava Monich
26510f1d9e [app] A few BooksTask tweaks
1. Added QThread attribute to the constructor
2. Made isCanceled() public
2018-01-30 00:24:17 +02:00
Slava Monich
4f293dd7ff [app] Added BooksPos::List::fromVariant() and toVariantList()
Also moved BooksPos::fromVariant() and toVariant() to the .cpp file.
They seem to be a bit too large for inline functions.
2018-01-28 02:00:07 +02:00
Slava Monich
209280a3e4 [app] Memory map the book to calculate its hash
It's more efficient
2018-01-27 01:55:36 +02:00
Slava Monich
3325aad1b2 [app] Eliminated unnecessary QML object creation 2018-01-20 13:49:51 +02:00
Slava Monich
feffa61273 [app] Corrected page stack behaviour
It couldn't push the same position that was just popped.

Also, some countChanged signals were not being deferred - it
was probably not intentional, at least I couldn't remember why
it was done like that. Let all countChanged signals be deferred.
2018-01-20 13:36:01 +02:00
Slava Monich
7a7067869d [fbreader] Fixed FB2 footnotes
FB2 reader strips the leading hash sign from href, XHTML wasn't doing it.
Unified their behavior.
2018-01-20 02:43:05 +02:00
Slava Monich
02d86ffa67 [app] Use HarbourPluginLoader from HarbourLib 2017-12-04 01:37:33 +03:00