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

1451 Commits

Author SHA1 Message Date
HW
a7938b1680 Merge pull request #1090 from chrox/fix_869
fix #869
2014-11-06 16:16:24 +01:00
Frans de Jonge
011c5b6544 Fix Kobo resume in new hardware abstraction. 2014-11-06 10:33:48 +01:00
Qingping Hou
4053e37387 Merge pull request #1091 from chrox/fix_1016
add user defined event map
2014-11-06 03:37:13 -05:00
Qingping Hou
f7e0800297 Merge pull request #1089 from chrox/fix_1039
add option to turn off e-ink optimization
2014-11-06 03:15:09 -05:00
Qingping Hou
d788d91fca Merge pull request #1088 from chrox/fix_968
fix #968 by check the nullity of text range
2014-11-06 02:52:14 -05:00
Qingping Hou
a6b832f3e7 Merge pull request #1087 from chrox/fix_973
add option to disable highlighting as well as dictionary lookup
2014-11-06 02:51:36 -05:00
Qingping Hou
d052a8543f Merge pull request #1086 from chrox/fix_1070
fix #1070 by associating conentwidth zoom mode to auto cropping
2014-11-06 02:45:44 -05:00
chrox
a5cff2c42b add user defined event map
This should fix #1016.

Usage for #1016:
Create a file named "custom.event.map.lua" in the koreader directory
with the following content:

return {
    [102] = "LPgFwd",
}
2014-11-06 15:02:06 +08:00
chrox
dd308f6be1 allow closing non-existent widget but throw a warning 2014-11-06 14:00:47 +08:00
chrox
461afa25a8 add 'Home' key event to close filemanager 2014-11-06 13:39:38 +08:00
chrox
0dd3a1f8a1 add option to turn off e-ink optimization
which currently just sets free the limitation of panning gestures
emitting rate. This should fix #1039 when unchecking the
"E-ink optimization" in the "Screen settings".
2014-11-06 13:16:35 +08:00
chrox
8f5691d586 fix #968 by check the nullity of text range 2014-11-06 11:18:04 +08:00
chrox
d5f6d743bd add option to disable highlighting as well as dictionary lookup
This should also fix #973.
2014-11-06 11:07:52 +08:00
chrox
405b8e0be2 fix #1070 by associating conentwidth zoom mode to auto cropping 2014-11-06 10:20:55 +08:00
chrox
9d5ff580a3 fix #1083 2014-11-06 08:58:02 +08:00
HW
f0fba63f67 Merge pull request #1082 from chrox/cover_50
screenshot to PNG files by default
2014-11-05 11:44:55 +01:00
chrox
ae1dd3b380 screenshot to PNG files by default 2014-11-05 16:58:09 +08:00
Huang Xin
62eef02c86 Merge pull request #1080 from houqp/fix
fix kobo aura hd input handling
2014-11-05 15:57:31 +08:00
Qingping Hou
8927f901da fix(input): use elseif conditional logic in adjustTouchSwitchXY 2014-11-05 02:54:04 -05:00
Qingping Hou
6eca26f610 fix(screensaver): lastfile will be nil for fresh installation 2014-11-05 01:02:12 -05:00
chrox
bd0975896d add fulltext search for EPUB documents 2014-11-05 12:28:28 +08:00
chrox
8ddca4bf49 close reader config panel when touching reader menu 2014-11-05 12:28:28 +08:00
chrox
a766ec51ae only update neccessary screen regions when typing with virtual keyboard 2014-11-05 12:28:28 +08:00
chrox
3a1fe689e2 update multiple screen regions
This is useful when updating keyboard and inputbox.
2014-11-05 12:28:28 +08:00
Huang Xin
a300f1e981 Merge pull request #1076 from hwhw/hal
Hardware abstraction: refactoring
2014-11-05 08:36:16 +08:00
Andrey Golovizin
86c53f94e1 Make the suffix lowercase before comparing. 2014-11-04 19:56:11 +01:00
Andrey Golovizin
e66dbdda29 Add support for .fb2.zip files. 2014-11-04 19:11:29 +01:00
Andrey Golovizin
a08ac46e80 Move credocument before pdfdocument in the registry. 2014-11-04 18:57:09 +01:00
Andrey Golovizin
4eda3f5a17 Add support for files with multiple extensions (like .fb2.zip). 2014-11-04 18:56:19 +01:00
Hans-Werner Hilse
64601ffe3b add wrapper for FFI input.open() 2014-11-04 09:56:04 +01:00
Hans-Werner Hilse
3eae0cdcb7 Bugfixes: test leftovers, wrong paths 2014-11-03 10:08:55 +01:00
Hans-Werner Hilse
3066c86e38 Refactoring hardware abstraction
This is a major overhaul of the hardware abstraction layer.
A few notes:

General platform distinction happens in
  frontend/device.lua
which will delegate everything else to
  frontend/device/<platform_name>/device.lua
which should extend
  frontend/device/generic/device.lua

Screen handling is implemented in
  frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.

The same goes for input handling.
2014-11-02 21:19:04 +01:00
chrox
a32991d898 add new sorting methods for file list in filemanager
Now files can be sorted by filename or last accessed time
2014-10-30 22:41:52 +08:00
chrox
84029e9694 add modal widget type that will stay on the top of window stack
ConfirmBox and InfoMessage are default to be modal.
Now returning to filamanager after highlighting a PDF page
the confirmbox asking users to save the document will not be hidden by
the filamanager window.
And it's tested on Kindle that #791 is already been solved probably by
out refacorting of MuPDF backend.
2014-10-30 16:01:04 +08:00
chrox
dfcd67c5bf move screenshot settings to submenu of Screenshot entry in readermenu
And also fix a touchmenu bug that prevent some menu entries
(always at the bottom of the menu) from showing submenus. The reason is
that the onTapSelect method of TouchMenuItem doesn't return true, so that
the tap gesture will propagate to the parent widget and be captured by
touchmenu itself. But at this time the dimen of touchmenu is changed to
the submenu of the tapped menuitem. If the submenu is short enough the
tap will be outside of touchmenu which will cause a TapCloseAllMenus
event and the submenu will never be shown.
2014-10-30 15:51:35 +08:00
chrox
f48c073357 persistent cache item now need an explicit persistent flag 2014-10-30 11:16:37 +08:00
chrox
8c9751744e fix #1064 by adding timestamp of document in cache key
so that when document is modified the persistent cache will
be invalidated automatically because the cache key will not
be matched. There is no perfermance overhead here at all. We
even don't need to check the modification time of the cache item
on disk, because the name of the on disk cache is a md5sum of the
cacheitem key, now the filename of the cache files contains the
modification time information.
If the document is modified since one rendered page is cached to disk,
the cache key won't match the cache file. And the cache file will
be discarded without the need to open the cache file or to check
the modification time of the cache file itself.
2014-10-30 11:05:26 +08:00
chrox
72f9449de8 ignore more markup tags in dictionary window 2014-10-29 16:42:00 +08:00
HW
a3dec7d088 Merge pull request #1058 from chrox/reader_history
add history view in the info panel of reader menu
2014-10-28 11:16:40 +01:00
HW
776f61d9eb Merge pull request #1057 from chrox/fix_1034
fix #1034 by refactoring path chooser to a download manager
2014-10-28 11:16:15 +01:00
chrox
bdebe90412 keep only one readerui instance running 2014-10-28 18:09:22 +08:00
chrox
4897d70b1f add reader history in the info panel 2014-10-28 17:42:06 +08:00
chrox
68265336f4 fix #1034 by refactoring path chooser to a download manager
Now directories visible in the filemanager should also
be visible in the path chooser
2014-10-28 17:14:06 +08:00
chrox
6b2768f801 fix cannot set default dictionary 2014-10-28 15:58:04 +08:00
chrox
fea7b93b62 fix #1035 by CDATA tidy 2014-10-28 15:57:01 +08:00
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