Commit Graph

10 Commits (9bd2d428340004cfb6fcdc1bc900b02bd0c8ff1d)

Author SHA1 Message Date
Qingping Hou 9bd2d42834 build: enforce luacheck in travis build 8 years ago
chrox f2d38336c1 fix #1642 GFW block in China may also cause Network unavailable error 9 years ago
chrox 82393f0ed3 fix loading frontend/JSON.lua for json.lua on Kindle
The VFAT file system of `/mnt/us` is case insensitive so that
require("json") from Spore which intends to load luajson module in
rock directory actually will load `frontend/JSON.lua`, the two JSON
parser libraries have slightly different APIs.

This patch remove the pure Lua JSON library in favor of `luajson` which
uses LPeg pattern marching backend for better performance.
9 years ago
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 6b2768f801 fix cannot set default dictionary 10 years ago
chrox 506bf96379 add menu entry to lookup input word in dictionary
This should close #971.
10 years ago
chrox f575797b01 use original lookup word in wikipedia lookup 10 years ago
chrox a275a8cc89 strip punctuations in word before wikipedia lookup 10 years ago
chrox 557c29a7d9 prompt users to turn on Wifi in OTA update and Wikipedia lookup 10 years ago
chrox 7b10d66e1b enable Wikipedia support
Since wikipedia server is language specific we should first detect
language of the text by querying Google Translate. Make sure you have
access to both Google Translate and Wikipedia service to use this
function.
10 years ago