Commit Graph

12 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 14e2bf3d69 refatoring: lazy loading of packages 10 years ago
Qingping Hou 18d4c7550a chore: cleanup FileManagerHistory:updateItemTable() 10 years ago
Qingping Hou 7c6790796a fix: replace showReaderUI with ReaderUI:showReader 10 years ago
chrox b7c7287bab remove more global variables 10 years ago
chrox 87e667748a add font size menu entry
It changes screen DPI and may needs to reboot the reader to take effect.
This should fix #746.
10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
Paulo Matias e9421d0aa5 Add option for deleting history entries and refactor dialogs
- Refactor FileDialog and HightlightDialog into ButtonDialog
- Create a new ButtonDialog when a file in the History dialog is hold,
  offering an option to delete the history entry.
10 years ago
chrox e4c77c272a sort history file with modification time 11 years ago
ciro cfd1f07f0e fixed issue: https://github.com/koreader/koreader/issues/354 11 years ago
HW 2154e7e852 Further refactoring
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago