Commit Graph

22 Commits

Author SHA1 Message Date
chrox 2bb3c7c286 append page number in toc entry 2013-12-19 23:14:27 +08:00
HW 2154e7e852 Further refactoring
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
2013-10-22 17:11:31 +02:00
HW ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00
chrox cd2ee14b91 various fixes on Device:hasKeyboard check 2013-10-16 20:56:18 +08:00
Qingping Hou b639b34d5c use gettext in readertoc 2013-04-07 16:36:16 +08:00
chrox 039eea17ae bugfix: set toc/bookmark window dimension smaller than screen size
Otherwise if text widgets in toc window expands out of screen, memory
free on these widgets will mess up the heap. It sounds ridiculous but
after we restrict toc window well inside the screen the bug in #815
is fixed.
2013-03-25 16:26:47 +08:00
Qingping Hou b6e0a4ca9a add show_parent in readermenu 2013-03-16 14:19:51 -04:00
Qingping Hou 1fcb5281a0 use touchmenu widget in readermenu 2013-03-14 13:58:42 +08:00
Qingping Hou d116c6bacb bug fix: reader crashes when table of content is empty 2013-02-17 07:17:31 +08:00
Qingping Hou 4c6420abba fix: retrieve toc when page or height of document is changed 2013-01-09 16:53:42 +08:00
Qingping Hou 9e7d41d129 bug fix in readertoc
* typo in fillToc method
* handle xpointer in getTocTitleByPage
* return true in onShowToc
2013-01-01 14:45:44 -05:00
Qingping Hou d295e28046 remove unused onPageUpdate and onPosUpdate in readertoc 2013-01-01 14:40:24 -05:00
Qingping Hou 943d56699e remove dulplicate onSetDimensions handler in readertoc 2013-01-01 14:40:17 -05:00
Qingping Hou a19b3cc1b4 bug fix: set toc menu height and width 2012-12-31 00:49:43 -05:00
Qingping Hou 8a8b993ade add toc menu for touch UI 2012-12-30 19:13:46 -05:00
Qingping Hou dfff1906fd return only one value in ReaderToc:cleanUpTocTitle(title) 2012-09-17 20:21:03 -04:00
Qingping Hou 51ed793d14 add screen rotate support 2012-06-13 00:14:23 +08:00
Qingping Hou acaf8d660e font menu for readerui 2012-06-12 17:42:28 +08: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
Qingping Hou e7d16de4e2 first demo for credocument 2012-06-05 15:23:36 +08: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