Commit Graph

788 Commits

Author SHA1 Message Date
Qingping Hou cbed96867b Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 2012-06-11 00:13:15 +08: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 df9231906c Merge pull request #199 from houqp/new_ui_code
K4 framebuffer support
2012-06-10 08:59:45 -07:00
Qingping Hou 7ce032c6a6 Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 2012-06-10 23:54:54 +08:00
Qingping Hou aaa6b38ef3 add getOrientation method for einkfb module 2012-06-10 23:54:27 +08:00
HW 5025be971d separated dialog.lua into source files for each individual function 2012-06-10 17:52:09 +02:00
HW 1e9fdd818f a new base file for the reader in new_ui_code branch 2012-06-10 17:38:16 +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 33ec40f29a added boundary checking to setPixel() for development purposes 2012-06-10 17:34:46 +02:00
Qingping Hou fba5ce51bd Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 2012-06-10 21:50:43 +08:00
Qingping Hou b122e41351 k4 8bpp framebuffer support 2012-06-10 21:50:26 +08:00
Qingping Hou a26f6ed9a5 update customupdate target for new ui framework 2012-06-10 21:20:48 +08:00
HW 0a4d49edfb added tracebacks on error 2012-06-10 14:37:12 +02:00
HW 88a7781913 removed one case of Lua <5.1 varargs handling 2012-06-10 13:05:30 +02:00
Kefu Chai 869c7b573f remove dependency on <linux/fb.h> 2012-06-10 12:39:27 +02:00
Qingping Hou e6777ef43d update building section in Makefile 2012-06-10 12:39:22 +02:00
Qingping Hou 7fda49e897 update README, for emulator example 2012-06-10 12:39:14 +02:00
Qingping Hou 219b2d7f30 add usb charging events
for issue #127

Conflicts:
	keys.lua
2012-06-10 12:38:36 +02:00
Qingping Hou 2108b6daeb fix CC for luajit compilation
Conflicts:
	Makefile
2012-06-10 12:37:26 +02:00
Qingping Hou b53e421a27 add getPosFromXPointer in cre.cpp 2012-06-10 12:31:42 +02:00
Qingping Hou 8f410bdbbe fix cleanthirdparty target 2012-06-10 12:31:04 +02:00
Qingping Hou 1533f29ced bump crengine version to 3.0.57-15
Conflicts:
	kpvcrlib/crengine
2012-06-10 12:30:12 +02:00
HW 31df51cc80 update to freetype-2.4.9 2012-06-10 12:27:32 +02:00
HW e359ea4938 fixed missing return values
those did not trigger problems with Lua-5.1.x, but they do with LuaJIT
2012-06-10 12:26:23 +02:00
HW a381e11a9e switch to LuaJIT-2.0
LuaJIT is a JIT compiler for Lua code. It's phenomenal work, and
you can read about it here: http://luajit.org/
2012-06-10 12:26:12 +02:00
HW 1c05fa2a24 added shortcuts for Kite
as per suggestion from NuPogodi:
http://www.mobileread.com/forums/showpost.php?p=2090800&postcount=465
2012-06-10 12:13:18 +02:00
{Qingping,Dave} Hou 4182297a15 Merge pull request #188 from houqp/new_ui_code
djvu and crengine support for readerui
2012-06-06 02:41:40 -07: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 293f22c7ad update wtest.lua for two new document engines 2012-06-05 15:24:32 +08:00
Qingping Hou 69d1ed9a79 test file for djvu format 2012-06-05 15:23:58 +08:00
Qingping Hou e7d16de4e2 first demo for credocument 2012-06-05 15:23:36 +08:00
Qingping Hou 75ee86b2cb fix offset calculation in djvu.c
use 4th and 5th args in renderrect in drawPage method.
2012-06-04 13:15:54 +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
HW a92f63bfed Merge pull request #177 from houqp/new_ui_code
First try on Toc Menu
2012-05-27 06:27:02 -07: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
HW 2a2a0828c8 added example usage for reader widget 2012-05-19 00:50:57 +02:00
HW f685f68852 added reader widget implementation
zooming, rotating, panning works already
2012-05-19 00:50:26 +02:00