Commit Graph

262 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
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
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 72f9449de8 ignore more markup tags in dictionary window 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 6b2768f801 fix cannot set default dictionary 10 years ago
chrox fea7b93b62 fix #1035 by CDATA tidy 10 years ago
Michael Hall 79cb75b153 Added option for proportional cover image screensaver 10 years ago
Qingping Hou b0682b0470 chore: code clean up 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
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
chrox 91400f8fef expand/collapse for the left one third region should be more resonable 10 years ago
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.
10 years ago
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.
10 years ago
HW 3a42557b19 Merge pull request #1020 from chrox/fix_1013
fix #1013
10 years ago
chrox 1462d382d9 fix #1013 10 years ago
chrox 2ad63fc1a3 expand/collapse TOC only by tap on the icon 10 years ago
chrox 0a863f07c7 show 50 ticks on the mini progress bar at most 10 years ago
Paulo Matias 8bbdf03ccb Merge pull request #998 from chrox/fix_970
fix #970
10 years ago
Paulo Matias 2843bf362d Merge pull request #996 from chrox/djvu_render_mode
add djvu render mode options in readermenu
10 years ago
chrox 834c994ed8 fix #970
by rendering full page if bbox is larger than native page size when
zooming mode is fit to content*
10 years ago
chrox c99288f3ad fix #995 by reseting readertoc on init 10 years ago
chrox d30709edb0 add djvu render mode options in readermenu 10 years ago
chrox 506bf96379 add menu entry to lookup input word in dictionary
This should close #971.
10 years ago
chrox 7c9130744c add collapsable TOC menu 10 years ago
WS64 f537125756 Bugfix 10 years ago
chrox e714caed8d refactoring restoreScreenMode from readerview to filemanager
This should fix #983.
10 years ago
chrox de38ea1199 count only leaf nodes of toc tree when level is zero 10 years ago
chrox 2b26e599d9 return to previous filemanager view instead of opening a new one 10 years ago
chrox 6dd3f99c35 reset ticks cache 10 years ago
chrox b422eb90cc refactoring readerrolling
and fix lossing progress when switching screen mode
10 years ago
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.
10 years ago
chrox d01ae145b8 guess plugin name from plugin path 10 years ago
chrox a4d5ec6534 plugin modules have 'name' field 10 years ago
chrox 896ad0e8f8 fix #976 10 years ago
chrox cec8ee3c29 add isChapterBegin/End API for readertoc
and add missing test epub
10 years ago
chrox b09bb87d4e refactoring readertoc and readerfooter
so that they don't repeat themselves.
10 years ago
chrox 9467eab6e1 strip generic punctuation (U+2000 - U+206F) in lookup word
This should fix #921.
10 years ago
chrox 14e2bf3d69 refatoring: lazy loading of packages 10 years ago
Huang Xin 8fda638da6 Merge pull request #936 from WS64/master
fix the nil tags data bug
10 years ago
WS64 d790f8aafe fix the nil tags data bug 10 years ago
Ebrehem 44ecf74ba3 Update readerfooter.lua 10 years ago
WS64 4ee35bb972 Add "exclude screensaver" to menu 10 years ago
chrox 2299ac118a fix infinit loop when OPDSCatalog is created without onExit definded 10 years ago
WS64 de1d8d7cac Switch back to portrait before leaving book 10 years ago
chrox 84abe620d2 refresh filemanager when closing opdscatalog 10 years ago
chrox 11a8a1dce6 show file size and directory items in filemanager 10 years ago
Qingping Hou 18d4c7550a chore: cleanup FileManagerHistory:updateItemTable() 10 years ago