2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

1406 Commits

Author SHA1 Message Date
chrox
c2726a8f62 save two blitbuffer memory allocations for crengine on each page turn
One for drawbuffer at CreDocument:drawCurrentView and another for
resizing of drawBuf at cre.drawCurrentPage.
2014-10-27 22:05:24 +08:00
Hans-Werner Hilse
0a74dc6072 add needed ffi module when saving annotations 2014-10-26 23:16:27 +01:00
Michael Hall
79cb75b153 Added option for proportional cover image screensaver 2014-10-26 14:47:48 +00:00
Huang Xin
2dcf65c912 Merge pull request #1049 from gontofe/wifi_toggle
Leave both readerconfig and readermenu open on wifi toggle
2014-10-26 19:27:44 +08:00
Michael Hall
dd80d61155 Leave both readerconfig and readermenu open on wifi toggle 2014-10-26 09:41:28 +00:00
Qingping Hou
b0682b0470 chore: code clean up 2014-10-26 03:05:17 -04:00
Qingping Hou
6aabc62f73 fix(reader): crash on closing reader menu 2014-10-25 06:01:37 -04:00
Qingping Hou
394c847e2b fix(app): initilize menu properly in reader and filemanager 2014-10-25 05:46:02 -04:00
Qingping Hou
d1627337e0 fix(ui): fix dynamic menu height calculation 2014-10-25 04:03:37 -04:00
Hans-Werner Hilse
ba40cc56e9 fill background of intermediary blitbuffers
we need to explicitly fill those buffers, now that white is not "0"
anymore.
2014-10-24 13:48:42 +02:00
Hans-Werner Hilse
5982e24d57 unify color specification
colors were a mixture of 4bpp integers (0=white, 15=black) and
fractional blackness levels (0=white, 1.0=black) before. This is
now unified to use the color specification of the Blitbuffer API.
2014-10-24 13:48:42 +02:00
chrox
281df50da5 fix #1028 2014-10-23 13:49:35 +08:00
chrox
2ff12af50c protected call of mupdf.renderImage 2014-10-23 13:49:35 +08:00
chrox
91400f8fef expand/collapse for the left one third region should be more resonable 2014-10-21 22:40:43 +08:00
chrox
c994e30cff fix #1024
if toc item has expand/collapse state and tap select on the left side
the state switch action is triggered, otherwise goto the
linked page.
2014-10-21 22:18:07 +08:00
HW
1cb3c85f34 Merge pull request #1021 from chrox/fix_1011
fix #1011
2014-10-21 12:42:16 +02:00
Huang Xin
3c1d2c69df Merge pull request #1014 from hwhw/master
use new FFI based mupdf API
2014-10-21 18:13:21 +08:00
chrox
07ae0cba81 fix #1011
The #1011 bug is caused by the `contains` check of link box with
visible area. When the link is at the very right (left?) of
the page, enlarged link box often exceeds the page bound rendering
the mentioned `contains` check failed. This patch uses an `intersectWith`
test to check if the link is in current page.
2014-10-21 17:26:16 +08:00
chrox
2050c0aa66 fix renderImage invocation 2014-10-21 17:22:20 +08:00
HW
3a42557b19 Merge pull request #1020 from chrox/fix_1013
fix #1013
2014-10-20 17:51:35 +02:00
chrox
1462d382d9 fix #1013 2014-10-20 22:55:39 +08:00
Hans-Werner Hilse
e0868826ad use new FFI based mupdf API
This will use the new API where the Lua/C interface was used before
and also drop usage of mupdfimg wrapper which is now implemented
within the mupdf interface
2014-10-20 16:49:10 +02:00
chrox
2ad63fc1a3 expand/collapse TOC only by tap on the icon 2014-10-20 22:19:31 +08:00
chrox
0a863f07c7 show 50 ticks on the mini progress bar at most 2014-10-20 22:17:53 +08:00
Qingping Hou
c1c3bcb3fe fix: various fixes for kindle dxg 2014-10-20 02:17:57 -04:00
Frans de Jonge
3334903e8c Actually flush stdio rather than all io. 2014-10-18 15:31:05 +02:00
Frans de Jonge
65d3cacd7c Flush stdio to prevent buffering multiple debugging messages when redirecting output to file. 2014-10-18 15:18:01 +02:00
Frans de Jonge
f3d5d5b030 Kobo Aura H2O: fix offset for reverse landscape (rotation_mode 3) 2014-10-17 13:25:13 +02:00
Frans de Jonge
7117235414 Kobo Aura H2O: fix bezel. 2014-10-16 15:17:31 +02:00
Frans de Jonge
c50bdfd11c Kobo Aura H2O detection: slight code refactoring. 2014-10-16 10:59:11 +02:00
HW
0f40042e57 Merge pull request #999 from Frenzie/master
Changes for Kobo Aura H2O.
2014-10-15 20:35:39 +02:00
Frans de Jonge
629c32f6ba Changes for Kobo Aura H2O. 2014-10-15 18:28:13 +02:00
Paulo Matias
8bbdf03ccb Merge pull request #998 from chrox/fix_970
fix #970
2014-10-15 11:40:57 -03:00
Paulo Matias
2843bf362d Merge pull request #996 from chrox/djvu_render_mode
add djvu render mode options in readermenu
2014-10-15 11:29:44 -03:00
chrox
834c994ed8 fix #970
by rendering full page if bbox is larger than native page size when
zooming mode is fit to content*
2014-10-15 22:01:42 +08:00
chrox
c99288f3ad fix #995 by reseting readertoc on init 2014-10-15 20:47:13 +08:00
chrox
d30709edb0 add djvu render mode options in readermenu 2014-10-15 20:31:24 +08:00
Paulo Matias
ef80cc6a4e Merge pull request #994 from chrox/fix_987
fix #987
2014-10-15 08:08:00 -03:00
chrox
f3417c5488 fix #987 2014-10-15 18:17:16 +08:00
chrox
506bf96379 add menu entry to lookup input word in dictionary
This should close #971.
2014-10-15 18:02:02 +08:00
chrox
96960cd554 don't dim icon button by default 2014-10-14 21:34:56 +08:00
chrox
7c9130744c add collapsable TOC menu 2014-10-14 21:34:56 +08:00
chrox
46963df0bb don't need to rebuild ota installed package if it's detected 2014-10-14 21:34:56 +08:00
WS64
f537125756 Bugfix 2014-10-13 15:40:48 +02:00
chrox
e714caed8d refactoring restoreScreenMode from readerview to filemanager
This should fix #983.
2014-10-12 17:26:36 +08:00
chrox
de38ea1199 count only leaf nodes of toc tree when level is zero 2014-10-11 21:10:07 +08:00
chrox
2b26e599d9 return to previous filemanager view instead of opening a new one 2014-10-10 18:14:33 +08:00
chrox
6dd3f99c35 reset ticks cache 2014-10-10 18:14:33 +08:00
chrox
b422eb90cc refactoring readerrolling
and fix lossing progress when switching screen mode
2014-10-10 18:14:33 +08:00
chrox
e34ad5ffe5 refactoring module registration in readerui
now every module can be looked up in readerui so that
unit test of these modules is possible.
2014-10-09 17:41:27 +08:00