Commit Graph

61 Commits (2a2a0828c8be75c51ad12f2f070704d9902fc879)

Author SHA1 Message Date
Qingping Hou 3306346dba use debug to print debug info 12 years ago
Dobrica Pavlinusic b6d167f8ca remove page:getPageText debug dump to improve performance on device
And leave it in unireader if we can't find text on page
12 years ago
Qingping Hou 56d4700001 mod: changes APIs in highlighting code 12 years ago
HW 46d197954b put highlight implementation into unireader 12 years ago
Qingping Hou ecd56a3745 mod: prefix global variables width and height with G_ 12 years ago
Dobrica Pavlinusic 3e83dcc2a4 pass cache_document_size to document open
This is how mupdf API is structured
12 years ago
HW 7e3e38be62 Password input, handling for broken documents 12 years ago
HW 9ee7afa86d separate DC out of pdf.c and djvu.c (cleanup) 12 years ago
Qingping Hou 50d5604c79 mod: code cleanup for readers
closes #26
12 years ago
Qingping Hou b318ca08e3 mod: merge djvu branch with master 12 years ago
Dobrica Pavlinusic efe2ef7efe integrate djvu into PDFReader, alternative to #26
This code is based on current master but doesn't include unireader, but
leaves all names to old PDFReader to preserve compatilbity
12 years ago
HW 4f46f9fa7a proper exit when pressing HOME, store settings etc 12 years ago
HW aa51a0c7db Merge branch 'master' of github.com:hwhw/kindlepdfviewer 12 years ago
HW 7efdbaf215 clamp fit-to-content to page dimensions (BBox) 12 years ago
Dobrica Pavlinusic a0f0f7a661 Merge branch 'master' of github.com:hwhw/kindlepdfviewer 12 years ago
Dobrica Pavlinusic 13ec6e42b5 moving to right column should take margin into account to provenet skipping columns #27 12 years ago
HW 3c56f50cae switched TOC entry sanitizing to Lua code 12 years ago
Dobrica Pavlinusic 0e3c91931d fix bottom y for getUsedBBox #25 12 years ago
Dobrica Pavlinusic 2c48d4a107 handle invalid bounding boxes from mupdf, closes #25 12 years ago
Dobrica Pavlinusic b8cc9c9a36 exit reader on HOME key 12 years ago
Dobrica Pavlinusic 31847e585f Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer 12 years ago
Dobrica Pavlinusic c11e10070a dump debugging output 12 years ago
Qingping Hou 8abfa55999 mod: change to Keys.shiftmode for SHIFT+B binding 12 years ago
Qingping Hou 9441c17a65 Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer 12 years ago
HW 324f2076d6 Merge pull request #22 from dpavlin/master
added Shift+B to add current page to jumpstack
12 years ago
Qingping Hou 6614bbe33d mod: handle shift and alt key events in adjustKeyEvents() 12 years ago
Qingping Hou aa5806accd Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
Conflicts:
	pdfreader.lua
12 years ago
Qingping Hou 53d4016c64 fix: move shiftmode and altmode to global
now shiftmode and altmode is recoreded in Keys module.  So all the UIs
are sharing these two mode instead of remembering their own. These fix
the bug in UI switchings.

For instance, you use combo 'Alt'+'b' to fire up some menu in pdfreader,
the altmode is set, but the alt key was released after the menu show
up. Then the key release event will only be captured by the menu. So
after you exit from the menu, the altmode is still set in pdfreader,
which is not what we want.
12 years ago
Dobrica Pavlinusic 07420bda07 added Shift+B to add current page to jumpstack
This allows us to bootstap jumpstack if we don't have table of contents
12 years ago
HW 6698cf157c Merge pull request #21 from dpavlin/master
implement new two-column zoom mode (F)
12 years ago
Dobrica Pavlinusic 5de749f457 adjust fiveway rotation 12 years ago
Dobrica Pavlinusic de1725d395 fiveway left in pan mode with position to bottom of column 12 years ago
Dobrica Pavlinusic a839f82bac change pages with just left/right fiveway 12 years ago
Dobrica Pavlinusic 321181052a fine-tune offsets and panning
It's better to leave small margin at top, and remove margin when
panning left-right since we have margins anyway
12 years ago
Dobrica Pavlinusic 54e7ae3296 implement new zoom mode (F) for two-colum layout
It zooms to left column and turns on panning mode, so simple sequence
of down,down...,right,down,down... will get you through whole page
12 years ago
Dobrica Pavlinusic 33829e1815 save pan position when entering pan_by_page 12 years ago
HW 9aedee416c Merge pull request #20 from dpavlin/master
Reset panning when changing pages
12 years ago
Dobrica Pavlinusic 4481fc5178 reset x and y position when moving between pages in pan_by_page mode 12 years ago
Dobrica Pavlinusic ba13e6b410 make up/down levels same
I use addition and substraction instead of multipiciation with factor
to make zoom deterministic (and this, one zoom up too many can be undone
with simple zoom out which wasn't the case).
12 years ago
HW 22042f1b09 Merge pull request #19 from dpavlin/master
fix panning on page in ZOOM_BY_VALUE mode
12 years ago
Dobrica Pavlinusic 12fee4f7c5 reset y panning when moving left or right
This makes this pan mode really useful, because you don't need
to go all the way to top of page when you get to bottom of first
column.
12 years ago
Dobrica Pavlinusic ffc411096e fix pan by one screen in manual zoom mode 12 years ago
Qingping Hou f4f5e38823 mod: switch ALT+BACK and BACK bindings 12 years ago
Qingping Hou b33720a567 mod: change shortcut for jumpstack & fix: inputbox 12 years ago
Qingping Hou 15b8f4d574 mod: fontchooser and pdfreader code clean up 12 years ago
Qingping Hou fa5b0c9874 mod: toc and jumpstack refactored 12 years ago
Qingping Hou 02713ae2ab add: demo for jumpstack 12 years ago
Qingping Hou ea498e7a5a add: toc menu 12 years ago
Qingping Hou e60242d3f6 initial demo, only one level support 12 years ago
Qingping Hou 72397af9c2 mod: listen event for KEY_LPBCK and KEY_LPFWD 12 years ago