Commit Graph

3757 Commits

Author SHA1 Message Date
Qingping Hou
62f73c177b add getFontSize in cre.cpp 2012-06-12 20:40:39 +08:00
Qingping Hou
845aae3e37 rename getXPointer to getCurrentXPointer in cre.cpp 2012-06-12 20:27:12 +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
84c435ebdc use getProvider and openDocument in reader.lua
we use getProvider for file extension filter
2012-06-12 14:38:52 +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
379d6216a0 read reader settings in reader.lua 2012-06-12 12:10:44 +08:00
Qingping Hou
bb450c81d4 read arguemtns in reader.lua 2012-06-12 00:37:58 +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
HW
873af20deb Merge pull request #203 from houqp/new_ui_code
add sub menu support for menu widget
2012-06-11 05:06:26 -07: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
HW
5b4ce0af82 Merge pull request #200 from houqp/new_ui_code
add getOrientation method
2012-06-10 10:03:01 -07:00
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