Qingping Hou
47ec493da1
implement K4 framebuffer support with shadow blitbuffer
...
previous implementation make fb.bb has double pitch
compared to other blitbuffer, which leads to segfault
on blitFullFrom method.
2012-06-14 01:43:57 +08:00
Dobrica Pavlinušić
5d8e579b4f
Merge pull request #204 from houqp/new_ui_code
...
some more adjustments to make it usable for my K4
2012-06-13 07:04:38 -07: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
4c71c628d3
release input devices on reader exit
2012-06-12 22:48:57 +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
9e6940621b
add getFontFace in cre.cpp and credocument.lua
...
also move self.font_face to readerfont module
2012-06-12 20:48:39 +08:00
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