Commit Graph

3572 Commits (3066c86e38c8297c4c534a31c9631bb8bd6535cf)
 

Author SHA1 Message Date
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.
10 years ago
Qingping Hou 47e65af4ed Merge pull request #1073 from chrox/fulltext_search
add new sorting methods for file list in filemanager
10 years ago
chrox a32991d898 add new sorting methods for file list in filemanager
Now files can be sorted by filename or last accessed time
10 years ago
HW 197c2f55b9 Merge pull request #1071 from chrox/fulltext_search
various fixes
10 years ago
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.
10 years ago
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.
10 years ago
chrox f48c073357 persistent cache item now need an explicit persistent flag 10 years ago
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.
10 years ago
chrox 72f9449de8 ignore more markup tags in dictionary window 10 years ago
HW c20532e823 Merge pull request #1065 from chrox/fulltext_search
fix koreader not shown in recent app list
10 years ago
chrox 2cde181f51 fix koreader not shown in recent app list
when started by view intent.
10 years ago
HW 896ccd4372 Merge pull request #1062 from chrox/fulltext_search
fix #1048
10 years ago
chrox f2f2833b6a fix #1048 10 years ago
HW 7edbfef073 Merge pull request #1060 from chrox/fulltext_search
fix #1046
10 years ago
chrox 19180e8e70 fix #1046 10 years ago
HW 6d9daa066a Merge pull request #1059 from chrox/fulltext_search
fix no k2pdfopt lib on Android
10 years ago
chrox 1154afdedf fix no k2pdfopt lib on Android 10 years ago
HW a3dec7d088 Merge pull request #1058 from chrox/reader_history
add history view in the info panel of reader menu
10 years ago
HW 776f61d9eb Merge pull request #1057 from chrox/fix_1034
fix #1034 by refactoring path chooser to a download manager
10 years ago
chrox bdebe90412 keep only one readerui instance running 10 years ago
chrox 4897d70b1f add reader history in the info panel 10 years ago
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
10 years ago
Qingping Hou 387114812c Merge pull request #1056 from chrox/fix_1035
fix #1035
10 years ago
chrox 6b2768f801 fix cannot set default dictionary 10 years ago
chrox fea7b93b62 fix #1035 by CDATA tidy 10 years ago
Huang Xin 7a22c60256 Merge pull request #1055 from hwhw/fix_1040
update to latest base
10 years ago
Hans-Werner Hilse a2a53c0bf4 update to latest base 10 years ago
HW 717e101db1 Merge pull request #1054 from chrox/8bit_bb
save two blitbuffer memory allocations for crengine on each page turn
10 years ago
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.
10 years ago
Huang Xin f7cf20f86b Merge pull request #1053 from hwhw/fix_1052
Fix 1052
10 years ago
Hans-Werner Hilse a84dcb061f update to latest base
fixes annotation writing to PDFs.
10 years ago
Hans-Werner Hilse 0a74dc6072 add needed ffi module when saving annotations 10 years ago
Huang Xin 3484920718 Merge pull request #1051 from gontofe/cover_screensaver
Added option for proportional cover image screensaver
10 years ago
Michael Hall 79cb75b153 Added option for proportional cover image screensaver 10 years ago
Huang Xin 2dcf65c912 Merge pull request #1049 from gontofe/wifi_toggle
Leave both readerconfig and readermenu open on wifi toggle
10 years ago
Huang Xin 717422dac6 Merge pull request #1047 from houqp/kindle-legacy
Kindle legacy
10 years ago
Michael Hall dd80d61155 Leave both readerconfig and readermenu open on wifi toggle 10 years ago
Qingping Hou b0682b0470 chore: code clean up 10 years ago
Qingping Hou 580a35481e build: update koreader base for legacy kindle build fix 10 years ago
Qingping Hou 17586c7ef4 chore: readme clean up 10 years ago
Qingping Hou 70537f83ab build: supress make clean output 10 years ago
Qingping Hou df61760c82 test: add spec for Menu.itemTableFromTouchMenu 10 years ago
Huang Xin 1340ba8e62 Merge pull request #1041 from houqp/dxg
more fixes for none touch kindles
10 years ago
Qingping Hou 6aabc62f73 fix(reader): crash on closing reader menu 10 years ago
Qingping Hou 394c847e2b fix(app): initilize menu properly in reader and filemanager 10 years ago
Qingping Hou d1627337e0 fix(ui): fix dynamic menu height calculation 10 years ago
Huang Xin dba6bf5d9f Merge pull request #1036 from hwhw/noninvert
Unroll inversion, introduce color values
10 years ago
Hans-Werner Hilse cd15d95f30 update to latest base 10 years ago
Hans-Werner Hilse ba40cc56e9 fill background of intermediary blitbuffers
we need to explicitly fill those buffers, now that white is not "0"
anymore.
10 years ago
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.
10 years ago