Commit Graph

116 Commits (039947886fbc1de89f0236837015b1d817db99f5)

Author SHA1 Message Date
Hans-Werner Hilse 48ea442e28 close file descriptor of dictionary lookup pipe 10 years ago
Hans-Werner Hilse 22697adf20 switch from scaleByDPI() to scaleBySize() 10 years ago
chrox 566586619a add unit tests for readerdictionary and readerhighlight 10 years ago
Frans de Jonge 90d3c23030 Enter *a* word to look up. 10 years ago
Frans de Jonge ff4e2f3458 Minor English improvements. 10 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 72f9449de8 ignore more markup tags in dictionary window 10 years ago
chrox 6b2768f801 fix cannot set default dictionary 10 years ago
chrox fea7b93b62 fix #1035 by CDATA tidy 10 years ago
chrox 506bf96379 add menu entry to lookup input word in dictionary
This should close #971.
10 years ago
chrox 9467eab6e1 strip generic punctuation (U+2000 - U+206F) in lookup word
This should fix #921.
10 years ago
chrox f575797b01 use original lookup word in 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
chrox d34a7fb355 lookup input word when holding on word in dict lookup window 10 years ago
chrox 59dbe36d57 show 'no definition found' message when no definition found 10 years ago
Qingping Hou 4b357c1466 move reader code into frontend/apps/reader
it makes more sense to completely separate the UI framework and
application code

also move frontend/ui/configurable.lua to frontend/configurable.lua
10 years ago