Commit Graph

105 Commits (dd7e26a9862565f4d0efe3d812ef210cb9020618)

Author SHA1 Message Date
Qingping Hou 01e1f72bdd ReaderConfig: bind touch event listener range with widget dimen
So we only need to change widget dimen on SetDimensions event
12 years ago
Qingping Hou d4ff6f9291 first demo of screen rotate 12 years ago
Qingping Hou c755309682 set self.css to nil when there is no external css 12 years ago
Qingping Hou 69260aaac8 cosmetic changes to menu wording 12 years ago
Qingping Hou f216be49a7 two changes to ReaderTypeset
* now we only use Embedded CSS by default
* add toggleEmbeddedStyleSheet methods
12 years ago
Qingping Hou bcae90593d Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_houqp 12 years ago
Huang Xin f99cea8354 Merge pull request #720 from houqp/new_ui_fix
fix: check number of pages before calling hintPage
12 years ago
Qingping Hou 50e8750db4 fix: check number of pages before calling hintPage
otherwise, we will reach out page limit when reached last page
12 years ago
Qingping Hou fe6d161382 add readertypeset.lua 12 years ago
chrox 15f41935b6 use page info to calculate percent finished in crereader 12 years ago
Qingping Hou 874890aaec save and restore gamma_index for crengine 12 years ago
Qingping Hou 5abf3cb92d save header_font_face 12 years ago
Qingping Hou b7ced36957 read LineSpace from config 12 years ago
Qingping Hou 02ea5f1fbf read header font from config 12 years ago
Qingping Hou 687aabc173 adapt ui to loadDocument before setFont 12 years ago
Huang Xin b4bad21535 Merge pull request #698 from houqp/new_ui_houqp
retrive new toc when document is re-formatted
12 years ago
Qingping Hou e7e6a2be9c use xpointer instead of read percent to mark read progress 12 years ago
Qingping Hou 00a7d5a61c leave cvm proccess running on KPV start and SS resume
Otherwise, lipc-wait-event won't be able to catch any events
12 years ago
Qingping Hou 688540c25b singla UpdatePos event on view mode change
this event also force renew toc
12 years ago
Qingping Hou 4c6420abba fix: retrieve toc when page or height of document is changed 12 years ago
Qingping Hou 3a65a9ddde also check page changes on UpdatePos event 12 years ago
Qingping Hou 79839021ed Merge branch 'new_ui_code' into hint_page_fix
Conflicts:
	frontend/ui/reader/readerview.lua
12 years ago
Qingping Hou c8dce5f351 Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into hint_page_fix
Conflicts:
	frontend/document/document.lua
12 years ago
Qingping Hou 1fa0d886bd add render mode to hint page 12 years ago
Qingping Hou 8c973457a0 save and restore line_space_percent in ReaderFont 12 years ago
Qingping Hou e03963f4f2 replace InfoMessage with Notification in readerfont.lua 12 years ago
Qingping Hou db49f1b09c add ReaderRolling:onRedrawCurrentView() 12 years ago
Qingping Hou 61613323fe add ReaderFont:onChangeFontGamma() 12 years ago
Qingping Hou 204cfb2b17 return true in event handlers
we should do that when we know a event handler is only used in
that widget
12 years ago
Qingping Hou e573fcf2de add ReaderFont:onToggleFontBolder 12 years ago
Qingping Hou 9a1a584e19 add option args for config so we can send string arg in events 12 years ago
Qingping Hou bce849b743 Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_houqp 12 years ago
Qingping Hou 2f36d6604b add setViewMode handler for readerrolling and readerview 12 years ago
{Qingping,Dave} Hou 5f53d7d16b Merge pull request #689 from chrox/sync_last_percent
add last_percent field in pdf/djvu document history
12 years ago
chrox c4bc6e3cd3 add percent_finished for KPVBooklet and restore original last_percent 12 years ago
Qingping Hou fdc05b066c add readerconfig to document supported by crengine
* now font size can be changed by readerconfig
12 years ago
chrox f41f645465 add last_percent field in pdf/djvu document history
And normalize last_percent for cre document
12 years ago
Qingping Hou 44eb70bcf5 use ReaderRolling.view_mode instead of self.ui.document.view_mode
view_mode is removed from self.ui.document
12 years ago
chrox aa152a8a51 make readerconfig independent of koptoptions
So that other readers could reuse readerconfig
12 years ago
{Qingping,Dave} Hou bac3ae568b Merge pull request #686 from chrox/prerendering
add pre-rendering in pdf/djvu readers
12 years ago
chrox 12a76fee33 add pre-rendering in pdf/djvu readers
"HintPage" tasks are scheduled into the execution stack of UIManager
after each page drawing. These tasks should be checked immediately after
screen is refreshed so tasks are double-checked in the main loop.
12 years ago
chrox bfe7b5e332 move Reflow option to More options dialog 12 years ago
{Qingping,Dave} Hou 3ec818a3cd Merge pull request #684 from chrox/koptreader-new-ui
add reflow mode in pdf/djvu readers
12 years ago
chrox 349bcb996e use koptinterface to reflow text in pdf/djvu readers 12 years ago
Qingping Hou 06444e3420 add notification widget and used it in readerbookmark 12 years ago
Qingping Hou fff8658530 notify user if page already book marked 12 years ago
Qingping Hou d04ab4e4ae add readerbookmark 12 years ago
Qingping Hou 9e7d41d129 bug fix in readertoc
* typo in fillToc method
* handle xpointer in getTocTitleByPage
* return true in onShowToc
12 years ago
Qingping Hou d295e28046 remove unused onPageUpdate and onPosUpdate in readertoc 12 years ago
Qingping Hou 943d56699e remove dulplicate onSetDimensions handler in readertoc 12 years ago