2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

3938 Commits

Author SHA1 Message Date
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
Qingping Hou
8babbf4896 Merge pull request #1079 from chrox/fulltext_search
add fulltext search for EPUB documents
2014-11-04 23:56:01 -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
HW
137c328fc3 Merge pull request #1078 from erosennin/fb2.zip
Add support for .fb2.zip files.
2014-11-04 20:19:19 +01: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
b3cee4b6b9 update to latest base
need Blitbuffer:viewport() for new hardware abstraction
2014-11-03 10:06:46 +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
Qingping Hou
47e65af4ed Merge pull request #1073 from chrox/fulltext_search
add new sorting methods for file list in filemanager
2014-10-31 00:10:59 -04: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
HW
197c2f55b9 Merge pull request #1071 from chrox/fulltext_search
various fixes
2014-10-30 10:56:41 +01: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
c20532e823 Merge pull request #1065 from chrox/fulltext_search
fix koreader not shown in recent app list
2014-10-29 09:27:13 +01:00
chrox
2cde181f51 fix koreader not shown in recent app list
when started by view intent.
2014-10-29 15:47:58 +08:00
HW
896ccd4372 Merge pull request #1062 from chrox/fulltext_search
fix #1048
2014-10-28 20:03:56 +01:00
chrox
f2f2833b6a fix #1048 2014-10-29 02:27:29 +08:00
HW
7edbfef073 Merge pull request #1060 from chrox/fulltext_search
fix #1046
2014-10-28 17:29:28 +01:00
chrox
19180e8e70 fix #1046 2014-10-29 00:16:20 +08:00
HW
6d9daa066a Merge pull request #1059 from chrox/fulltext_search
fix no k2pdfopt lib on Android
2014-10-28 15:17:21 +01:00
chrox
1154afdedf fix no k2pdfopt lib on Android 2014-10-28 22:04:38 +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
Qingping Hou
387114812c Merge pull request #1056 from chrox/fix_1035
fix #1035
2014-10-28 04:54:02 -04: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
Huang Xin
7a22c60256 Merge pull request #1055 from hwhw/fix_1040
update to latest base
2014-10-28 00:37:22 +08:00
Hans-Werner Hilse
a2a53c0bf4 update to latest base 2014-10-27 17:28:11 +01:00
HW
717e101db1 Merge pull request #1054 from chrox/8bit_bb
save two blitbuffer memory allocations for crengine on each page turn
2014-10-27 16:00:48 +01: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
Huang Xin
f7cf20f86b Merge pull request #1053 from hwhw/fix_1052
Fix 1052
2014-10-27 06:35:40 +08:00
Hans-Werner Hilse
a84dcb061f update to latest base
fixes annotation writing to PDFs.
2014-10-26 23:16:47 +01:00
Hans-Werner Hilse
0a74dc6072 add needed ffi module when saving annotations 2014-10-26 23:16:27 +01:00
Huang Xin
3484920718 Merge pull request #1051 from gontofe/cover_screensaver
Added option for proportional cover image screensaver
2014-10-26 23:37:15 +08:00
Michael Hall
79cb75b153 Added option for proportional cover image screensaver 2014-10-26 14:47:48 +00:00