2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
Dobrica Pavlinusic
b1ffb5af7e cleanup two column panning
It's important for us to take maring into account because rouding error
can force us to skip right marging. However, this shouldn't be done
when not in pan_by_page mode, so this diff is artifically large
2012-03-05 14:05:26 +01:00
Qingping Hou
f50e8d695c mod: add UniReader:cleanUpTOCTitle()
re-apply the changes introduced by HW in commit:
3c56f50cae

I mistakenly overwrote it when merging from djvu
branch. :(

Since the title needs to be cleaned in two places,
I turn it into a method.
2012-03-05 13:47:02 +08:00
Qingping Hou
989e915c8f mod: add notes in jumpstack
NOTE that the jumpstack maintaining strategy has
been changed in this commit compared to commit #15
and #31. Now current viewing page in kept in the
stack to preserve the notes.
2012-03-05 13:15:34 +08:00
Qingping Hou
ca3a712521 fix: bug in jump stack
* remove page to jump from the stack
2012-03-05 11:25:51 +08:00
Qingping Hou
ab2cd3ec8c mod: save jump_stack after exit 2012-03-05 10:48:03 +08:00
Qingping Hou
51dd8472b9 mod: bug fix in zooming
update self.global_orig after dc:setZoom
2012-03-05 10:38:02 +08:00
Qingping Hou
8cfae790ed mod: clear pan_by_page if not in two column mode 2012-03-05 10:33:56 +08:00
Qingping Hou
50d5604c79 mod: code cleanup for readers
closes #26
2012-03-05 09:58:19 +08:00
Qingping Hou
b318ca08e3 mod: merge djvu branch with master 2012-03-05 09:46:16 +08:00
Qingping Hou
f370842a88 mod: record self.globalzoom_orig to help zoom in/out
see: https://github.com/hwhw/kindlepdfviewer/issues/24
2012-03-04 19:47:17 +08:00
Qingping Hou
56470a75b0 add: unireader class
Add unireader class for better code reuse.
Now pdfreader and djvureader are subclass of
unireader.

Every subclass needs to have a init() method
that will be called in reader.lua.
2012-03-04 19:32:49 +08:00