2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

1300 Commits

Author SHA1 Message Date
Qingping Hou
dfff1906fd return only one value in ReaderToc:cleanUpTocTitle(title) 2012-09-17 20:21:03 -04:00
Qingping Hou
25af917170 call cre.initCache() in CreDocument:engineInit() 2012-09-17 20:12:33 -04:00
Qingping Hou
c1ccff70ad minor adjustment for Makefile and document.lua 2012-08-25 22:52:12 +08:00
Qingping Hou
1c216b6458 add last read page/percent setting support 2012-06-27 01:00:21 +08:00
Qingping Hou
59592e862e read font settings on readsettings event 2012-06-27 00:59:47 +08:00
Qingping Hou
0e122b12bf read settings after readerui widgets initialization 2012-06-27 00:59:22 +08:00
Qingping Hou
45e9198ab2 add document fontface and fontsize settings support 2012-06-26 17:05:49 +08:00
Qingping Hou
fab19c3bfa add document settings support 2012-06-26 17:05:09 +08:00
Qingping Hou
ca46092f1b fix naming for fake events device, part 2 2012-06-24 10:13:24 +08:00
Qingping Hou
cee51b8db2 change menu item underline color to make refresh more responsive 2012-06-23 22:23:43 +08:00
Qingping Hou
d6a2c9908c enable partial and full refresh on widget redraw
also added halfdone code for repaint area on widget
redraw.
2012-06-19 10:44:54 +08:00
Qingping Hou
271701edfe screensaver and usbplugin events support 2012-06-14 01:52:08 +08:00
Qingping Hou
2d104d7792 adjust keycodes for k4 & add device.lua 2012-06-13 21:27:38 +08:00
Qingping Hou
51ed793d14 add screen rotate support 2012-06-13 00:14:23 +08:00
Qingping Hou
b71ac38d3b exit KPV on Ctrl+C 2012-06-12 21:18:39 +08:00
Qingping Hou
bad329811d add line space control feature for credocument 2012-06-12 21:12:04 +08:00
Qingping Hou
b3cdbeee19 add font size control feature for credocument
also rename getFont to getFontFace
2012-06-12 20:59:56 +08:00
Qingping Hou
0ddc9f6e99 add back readerfont.lua 2012-06-12 18:04:08 +08:00
Qingping Hou
acaf8d660e font menu for readerui 2012-06-12 17:42:28 +08:00
Qingping Hou
f8f188ff89 jump to first menu item if pagebck is pressed in first page 2012-06-12 16:02:08 +08:00
Qingping Hou
7d008bf622 fix end_position calculation in Menu:onNextPage 2012-06-12 15:59:35 +08:00
Qingping Hou
77761554d9 add CreDocument:engineInit() method 2012-06-12 14:52:35 +08:00
Qingping Hou
d89cbc43f9 replace getProvider with openDocument
now getProvider only returns the provider
2012-06-12 14:38:00 +08:00
Qingping Hou
07d6f66565 fix screen rotation mode restore for native system 2012-06-12 12:13:51 +08:00
Qingping Hou
348891c242 add start_pos and password for readerui.lua 2012-06-12 00:35:13 +08:00
Qingping Hou
4fb2c9d2e3 add gotoPercent for readerrolling.lua 2012-06-12 00:34:30 +08:00
Qingping Hou
2b39ba8b83 register all the supported formats for crengine 2012-06-11 23:50:11 +08:00
Qingping Hou
793a431c43 add sub menu support for menu widget 2012-06-11 13:46:19 +08:00
HW
4d3e6af106 small changes to menu and addition of a reader menu
the reader menu is still very bare-bone, I plan to enhance it now.
2012-06-10 20:14:29 +02:00
Qingping Hou
937a91c297 fix fb:getOrientation method, adjust mode numbering
also use it in screen.lua
2012-06-11 00:09:23 +08:00
HW
5025be971d separated dialog.lua into source files for each individual function 2012-06-10 17:52:09 +02:00
HW
ce5614ef6f cleanup, also removal of G_* constants
a bit of cleanup, switched width/height combo over to use
Geom() objects, moved framebuffer handling to Screen object,
callback syntax sanitizing, lots of small changes
2012-06-10 17:36:19 +02:00
HW
88a7781913 removed one case of Lua <5.1 varargs handling 2012-06-10 13:05:30 +02:00
Qingping Hou
371f9bb5af fix doc for key events 2012-06-05 19:03:50 +08:00
Qingping Hou
3ac00b90d6 add y direction panning for readerrolling.lua 2012-06-05 19:03:06 +08:00
Qingping Hou
e7d16de4e2 first demo for credocument 2012-06-05 15:23:36 +08:00
Qingping Hou
e4160a9909 fix table index in sequenceToString method 2012-06-04 10:38:52 +08:00
Qingping Hou
b40a748a78 move duplicate codes to document.lua 2012-06-03 22:26:16 +08:00
Qingping Hou
86a3ff6447 Merge remote-tracking branch 'origin/new_ui_code' into new_ui_code 2012-06-03 17:46:01 +08:00
Qingping Hou
7f6773dc6f demo for djvu support
wait for code clean up
2012-06-03 11:11:15 +08:00
HW
60ccd7441e fixed menu info displaying, replaced debug() by DEBUG()
the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
2012-05-28 18:59:16 +02:00
HW
8191cbe852 some fixes to filechoser and menu 2012-05-28 00:14:08 +02:00
HW
ca3247320f first filechooser implementation 2012-05-27 23:43:00 +02:00
HW
c136773203 some minor changes to avoid long access paths into tables 2012-05-27 18:23:01 +02:00
Qingping Hou
a1a9b5e9b0 move toc related methods to readertoc.lua 2012-05-27 21:24:33 +08:00
Qingping Hou
cf048e286d add toc menu support for readerui 2012-05-27 19:47:22 +08:00
Qingping Hou
284d5ce9d9 two bug fixes in menu widget
* update page info
* item shortcut support in all pages
2012-05-27 19:44:37 +08:00
Qingping Hou
07e17125b5 add select callback to menu and bug fix in shortcut 2012-05-27 14:03:13 +08:00
HW
d5c7e6ccb5 factored out pdfdocument implementation 2012-05-19 01:13:53 +02:00
HW
9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
2012-05-19 01:10:57 +02:00