Commit graph

332 commits

Author SHA1 Message Date
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
cbe5b76cfd Version 1.0.25 2018-02-04 13:14:26 +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
Slava Monich
fac364922c
Merge pull request #36 from d9h20f/master
Dutch translation
2018-01-30 18:22:02 +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
c60b96ecc3 Version 1.0.24 2018-01-20 13:52:39 +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
Slava Monich
f699d3cb34 [app] Added "Copied to clipboard" pop-up notification 2017-12-04 01:24:39 +03:00
Slava Monich
b16f5e986b [app] Provide haptic feedback on entering/leaving selection mode 2017-12-03 16:23:25 +03:00
Slava Monich
2aa3b9e568 [app] Fixed check for null image in setClipboardImage 2017-10-10 00:52:59 +03:00
Slava Monich
53233b17b1 Version 1.0.23 2017-09-07 23:50:46 +03:00
Slava Monich
2295ebfb7f [app] Added "Select all" pulley menu item to the import view 2017-09-07 23:46:52 +03:00
Slava Monich
89775f269e [app] Implemented text selection (whole words)
The selected text is getting copied to clipboard.
2017-09-07 19:03:17 +03:00
Slava Monich
a48fe1d0e4 [app] Added BooksTask::isStarted() method
Allows the owner of the task to check whether the task has actually
started to execute. This is a one-way flag, not synchronized (and
doesn't need to be).
2017-09-07 18:25:56 +03:00
Slava Monich
a1adc666aa [app] Always use the default clipboard
Also, make sure that the QClipboard methods are invoked on the main thread.
2017-09-07 18:21:08 +03:00
Slava Monich
6f6e037eb3 [fbreader] Added optional arguments to ZLTextSelectionModel methods
... extendTo() and selectWord() to make it easier to implement selection
by words.
2017-09-07 18:16:03 +03:00
Slava Monich
c8bad41b7f [fbreader] Added ZLTextArea::selectionIsEmpty() and clearSelection() 2017-09-07 18:13:54 +03:00
Slava Monich
48cb24f8a1 [app] Fixed the behavior of the position stack
It didn't do the right thing when it reached the depth limit.
2017-09-07 18:10:11 +03:00
Slava Monich
e0eb60b8a1 [fbreader] Removed unnecessary files from the project 2017-08-29 12:31:53 +03:00
Slava Monich
cc0d7bbe6b Merge pull request #29 from eson57/patch-1
Update harbour-books-sv.ts
2017-08-09 17:38:04 +03:00
Åke Engelbrektson
35d9a674db Update harbour-books-sv.ts 2017-08-09 15:38:46 +02:00
Slava Monich
66d1328d85 Version 1.0.22 2017-08-08 16:44:21 +03:00
Slava Monich
0e8d758879 Turn pages with volume keys
And allow to configure volume key actions.
2017-08-08 16:19:30 +03:00
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