2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

6061 Commits

Author SHA1 Message Date
poire-z
99161d6b03 Wiki save as epub: close highlight menu when switching document (#3417) 2017-10-24 13:22:10 +00:00
poire-z
3639c3e7c6 [UX] Fix dict title width to not go over CloseButton (#3414) 2017-10-23 21:17:52 +00:00
poire-z
dd83b5bf85 Bump base (sdcv -u patch for android) (#3413) 2017-10-23 23:05:42 +02:00
poire-z
568a28889b KeyValuePage: option to align value to the right when half-overflow (#3407)
Applied in FileManagerBookInfo.
2017-10-23 19:30:06 +00:00
Frans de Jonge
5ee6c01223 Bump base (sdcv -u patch and framebuffer setViewport dynamically fix) (#3404) 2017-10-22 16:19:56 +00:00
Fabian Müller-Knapp
7009e98ee8 PocketBook: Basic device-detection / PocketBook631 (Touch HD) support (#3403)
Add basic device-detection via libinkview, support PocketBook631. Fixes https://github.com/koreader/koreader/issues/3312
2017-10-22 16:08:53 +00:00
Fabian Müller-Knapp
749112f57a [PocketBook] Use inkview-calls for battery-percentage/charging (#3402) 2017-10-22 15:49:48 +00:00
Frans de Jonge
8b36566c6a [Android] Bump luajit-launcher (more lib loading debug info) (#3401) 2017-10-22 15:28:31 +00:00
Robert
af61153df2 [feat] SkimToWidget chapter markers & next/prev chapter/bookmark (#3389)
https://github.com/koreader/koreader/issues/2819#issuecomment-332261968
+ refactoring code in skimtowidget
+ add chapter markers
+ add next/prev chapter buttons
+ add next/prev bookmark buttons
2017-10-22 11:09:49 +00:00
mwoz123
23ab33c0b9 NewsDownloader promptWifiOn (#3388) 2017-10-22 07:11:23 +00:00
Frans de Jonge
5c6161da66 [fix, Android] adjust touch location for #3392 (#3394) 2017-10-21 22:37:58 +00:00
mwoz123
822360666a Fullscreen android - resize window after toggle fullscreen (#3392) 2017-10-21 20:52:06 +00:00
poire-z
dff7b0896e Bump base (sdcv patch to allow enable/disable dicts) (#3393) 2017-10-21 20:32:10 +00:00
mwoz123
ff3d8f3df7 Android NetworkManager (#3386) 2017-10-21 20:27:09 +00:00
poire-z
c573bdd610 CoverBrowser: some optimizations
Speedup initialization (needs to be done only once, and avoid
saving current mode to sqlite each time) and reader-to-filebrowser
switch, by doing a single rendering (instead of 2 or 3 previously).
ListMenu: cache sidecar file parsing results (page/percent
completed) for the browsing session duration.
Fix "No choice available" when on last page and changing
to a display mode with less pages.
2017-10-21 19:09:24 +00:00
poire-z
591dc2119c FileBrowser: optimize 'change page to show last file'
This feature, introduced some days ago, was actually
doing 2 updateItems calls: the initial one, and a second
to switch to focused_file page (cheap with classic display mode,
less cheap with CoverBrowser modes).
This change allows doing that in a single call.
2017-10-21 19:09:24 +00:00
Frans de Jonge
e0bc0a1649 Bump android-luajit-launcher (contains x86 nightly build fix) (#3384) 2017-10-20 19:46:46 +00:00
poire-z
ecaeb4b6d7 Added util.getFormattedSize() (#3383) 2017-10-20 17:29:52 +00:00
Robert
ba6cc87424 Fix location of progress bar ticks (#3382) 2017-10-20 15:49:13 +00:00
poire-z
c15915a4ee Added util.getFriendlySize() (#3381)
* Added util.getFriendlySize()

* Allow for GB
2017-10-20 15:48:32 +00:00
poire-z
87a86e0dc1 Book Information: added file size (#3380) 2017-10-20 14:48:27 +00:00
Frans de Jonge
9f24b04362 kodev: add debug flags (#3379)
* `--gdb=X`
* `--valgrind=X`
2017-10-20 13:59:53 +00:00
Frans de Jonge
122c920b51 Bump base (sdcv 0.5.2; fix *buntu 17.10 build & segfault) (#3378)
Fixes #3302. Fixes #3071.
2017-10-20 10:42:54 +00:00
Frans de Jonge
ed3c0e707a [Kobo] Add preliminary Kobo Aura H2O2 definition (#3372)
Cf. ongoing discussion in KSM8 thread: https://www.mobileread.com/forums/showthread.php?p=3596020#post3596020
2017-10-18 22:42:59 -07:00
Robert
605df50fbd [fix] util.secondsToClock 00:60 should be 01:00 (#3371) 2017-10-18 15:27:27 +00:00
poire-z
29708884c7 Enable Edit (rename bookmark) when tap on highlight (#3369)
Also fix a few crash possibilities when unhighlighting.
Also fix bug with binary search that could not be able to remove bookmark
when there are multiple bookmarks/highlights on the same page.
2017-10-18 15:19:06 +00:00
Robert
3c99600835 close button alignment (#3367) 2017-10-16 18:23:50 +02:00
poire-z
8aa26edeb6 Fix some widget title height and close button alignment (#3366) 2017-10-16 17:51:56 +02:00
Frans de Jonge
f4dd504d2e Bump base (#3364)
*  Change JPG rendering to RGB in openJPGDocumentFromMem
*  fix build on Mac OSX and fix SDL input issues on OSX
* And some other bumps (glib, crengine, libiconv, libjpeg-turbo).
2017-10-16 09:52:39 +02:00
Frans de Jonge
6d3330ea3f README: fix "unarchieve" typo (#3362) 2017-10-15 13:52:29 +02:00
poire-z
cfa5c8a941 djvu: enable color rendering (#3361)
* djvu: enable color rendering

* Bump base
2017-10-15 13:03:42 +02:00
Frans de Jonge
74242025ff [Android] Enable DjVu (bump base) (#3358)
Closes #1534.
2017-10-14 22:14:07 +02:00
poire-z
8fd4154891 Small visual fixes to top menu (#3356)
To make it more alike bottom menu:
- left and right border not displayed
- line below icons extends to screen borders
- same bottom border size
And make separator lines have same padding on both sides
2017-10-14 22:00:58 +02:00
Robert
9f50ef696f [Goodreads] lookup improvement (#3354)
* add navigation button (next, prev) on the bottom of screen
* flash item when selecting
* small lookup improvements
* fix refresh "Please wait..."
2017-10-14 17:55:26 +02:00
Huang Xin
c22b8393d7 [android] fix hide nav bar on activity create (#3357) 2017-10-14 23:42:55 +08:00
Frans de Jonge
b4bb32254a kodev: Add $ANDROID_ARCH to enable x86 build (#3353)
You'll still have to call it with `ANDROID_ARCH=x86 ./kodev build/release/run android`.

Don't forget to `./mk-luajit.sh clean` in luajit-launcher when changing architectures.

* Bump android-luajit-launcher
  This includes the fix for Android 8. Fixes #3126.
* Bump base
2017-10-13 21:43:58 +02:00
poire-z
561caadc5c Avoid recalculation of partial_md5_checksum at each opening (#3352)
This is done by/for kosync plugin at each opening, because
the docsettings was re-opened and saved for this, but later
overwritten by the current koreader docsettings - so it was
redone each time. This correctly adds this partial_md5_checksum
to the current koreader docsettings, which will be saved on
document closing - so it will not be redone next time.
Note: this partial_md5_checksum is not (yet) used by anything.
2017-10-13 19:18:36 +02:00
poire-z
29707bd664 FileBrowser: change page to show last file or previous subdir (#3351)
When going from reader to filemanager, we are in the directory
containing the last_file. With this, we will also be on the page
showing this file.
When in filemanager and going up (".."), we will also be on the
page containing the directory we came from.
2017-10-13 18:43:02 +02:00
poire-z
532c850cbd Menu (TOC, bookmarks): add padding before right text (#3350) 2017-10-13 14:42:08 +02:00
poire-z
efd0d4f0de calibre 'series' metadata fixes (#3349)
Decode XML entities in series metadata and display decimal in series number
if any.
2017-10-13 00:31:40 +02:00
Hzj_jie
7461e396dd [chore] Ignore empty files and tables in DocSettings (#3348) 2017-10-12 19:52:01 +02:00
Frans de Jonge
0fa090ee47 [chore] Rework util spec, rework util.secondsToClock: round seconds to minutes in 00:00 mode + spec
Most of the tests in util_spec were the wrong way around.
It's `assert(expected, given)`.
2017-10-12 19:39:52 +02:00
Frans de Jonge
1508fe27c9 dbg_spec: setVerbose test 2017-10-12 19:39:52 +02:00
Frans de Jonge
a394e644b5 Add gettext_spec stub (#3343) 2017-10-11 14:22:11 +02:00
Frans de Jonge
d8ca501cbd Bump base (fixes landscape on Android) (#3342)
Includes https://github.com/koreader/koreader-base/pull/542
2017-10-11 14:19:06 +02:00
Frans de Jonge
9ece6408f3 [fix] gettext: die already you stupid language not found error (#3341) 2017-10-11 13:57:23 +02:00
Frans de Jonge
6e52e99b5b [fix] verbose_print deprecated by gtest 2017-10-11 09:08:18 +02:00
Frans de Jonge
53c0756def CircleCI: finishing touches (#3340)
* junit test results; unfortunately this seems to conflict with the verbose out

* fix deps cache: two files can change independently

* verbose print obsoleted by gtest in upsream busted
2017-10-11 08:38:30 +02:00
poire-z
f90973f73a Allow for disabling flashing of menu, icons and buttons (#3339) 2017-10-10 23:50:45 +02:00
poire-z
430b61ba76 Small visual fixes to Menu (#3338)
Rationalize horizontal construction of Menu items (TOC,
Bookmarks, Classic file views) for more even padding.
Align "x" close button diagonaly with top right border and title.

Also add forgotten scale_for_dpi to MultiConfirmBox
2017-10-10 22:23:25 +02:00