Commit Graph

17 Commits

Author SHA1 Message Date
Qingping Hou e422842256 minor: a lot of luacheck fixes 2016-02-15 23:10:07 -08:00
Qingping Hou 186673587e chore: fix some of the luacheck errors 2015-04-26 20:57:45 -04:00
NiLuJe 50dbf6b581 Switch a few widgets to ui refresh modes
More closely matches native behavior on REAGL devices.
Closing those widgets should still trigger a partial refresh though,
because we usually get back to the reader, and text, so we want REAGL
;).
2015-04-26 20:07:17 +02:00
chrox 90a5e09bdc disable highlight in dict window if it's highlighted already
This should fix #1418.
2015-03-12 18:51:01 +08:00
chrox ca6b3d7e33 fix #1373 by checking the pos0 and pos1 of selected text 2015-02-02 00:09:07 +08:00
chrox 10db20f289 don't add duplicated bookmark and can delete bookmark
This should fix #1397.
2015-02-01 21:37:25 +08:00
chrox d9fa97df5a fix #1336 by ignoring uncompatiable saved highlights 2014-12-04 09:13:56 +08:00
chrox fe885be563 refactoring readerbookmark to show both bookmarks and highlights
in the bookmark menu
and use binary search of the sorted bookmarks table whenever is
possible.
2014-11-27 22:01:57 +08:00
Frans de Jonge d701d9b198 First util.template encapsulated strings 2014-11-19 12:23:37 +01:00
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.
2014-11-02 21:19:04 +01:00
Qingping Hou b0682b0470 chore: code clean up 2014-10-26 03:05:17 -04:00
pazos bad193346e Translate bookmarks page title 2014-08-14 13:37:06 +02:00
chrox f13a165c4b tweaks of font size 2014-06-10 21:33:31 +08:00
chrox b8ce85d3de use two finger swipe west/east to close TOC and bookmark respectively 2014-06-10 21:33:31 +08:00
chrox 857bd6fcc8 strings not shown on GUI will not be translated
This may encourage users in transifex to join Koreader project.
2014-06-05 14:59:06 +08:00
chrox 4a32f4415e use borderless flat bookmark/toc window 2014-04-04 23:37:50 +08:00
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
2014-04-02 17:02:01 -04:00