Commit Graph

333 Commits (c11ecce55a5e8763e4bc450fd528a3fe5421756b)
 

Author SHA1 Message Date
traycold c11ecce55a draft commit, test implementation 12 years ago
traycold 496ab3720e small bugfix 12 years ago
traycold 943b511b7c complete implementation of issue #55
created a help page
12 years ago
traycold abf9696221 Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer.git
Conflicts:
	reader.lua
	unireader.lua
12 years ago
HW ad6198efb8 A take at better boundary checks in blitbuffer
this will hopefully prevent segfaults resulting from bad
coordinate/size input when blitting
12 years ago
HW 00a9f0f363 Merge pull request #64 from houqp/fixcache
Try to fix some bugs in new cache system
12 years ago
Qingping Hou 56a00d79a0 mod: delete debug print 12 years ago
Qingping Hou 46cfd950c7 fix: typo 12 years ago
Qingping Hou 8c31dd3c5f fix: hanlde offset in ZOOM_FIT_TO_WIDTH_PAN mode
ZOOM_FIT_TO_WIDTH_PAN mode must be handled differently.
Because not like other zoom mode, its offset is not set
to middle of the screen or page.
12 years ago
Qingping Hou 734f94da89 fix: handle positive self.offset in draworcache method 12 years ago
HW 8410ac5cb7 fix forgotten corner case when caching 12 years ago
HW aab05c3002 Fix page caching
Fixed page caching. Cache strategy is the following:
prio 1: cache/render requested area
prio 2: cache/render as much of the current page as possible
prio 3: cache/render full page
prio 4: render next page

This is still a bit buggy when in fit-to-content mode.
12 years ago
HW 86ff74acd6 prepare for more elaborate caching policy
we allow for bigger render buffers, so the cache now returns
the ID (hash) of the relevant cashed tile PLUS offsets into that
tile, pointing to the coordinates where the requested frame
has its origin.
12 years ago
Qingping Hou 0e914c5fda revert 70b7e029d3 again
commit 5fae18298a mistakenly
reverted d8a58e8764, in which
commit 70b7e029d3 was reverted.
12 years ago
Qingping Hou 5fae18298a add: goto input box in reader 12 years ago
Dobrica Pavlinusic d8a58e8764 revert 70b7e029d3
It's not that simple since ZOOM_FIT_TO_CONTENT_HALF_WIDTH also
needs bounding boxes, and this seems like over-optimization
which seems to be bug infested especially because it deals
with negative numbers so code just *looks* wrong
12 years ago
Qingping Hou b7c04ada1a mod: clean up in inputbox.lua 12 years ago
Qingping Hou 72c032e7db fix: adjust page number in toc
djvulibre counts page number starts from 0, while
kpdfview starts from 1.
12 years ago
{Qingping,Dave} Hou 183d878c9c Merge pull request #61 from Germanc/master
Add djvu TOC support
12 years ago
Dobrica Pavlinusic 7ee77dee5c removed duplicate code 12 years ago
German Caro c074f19b0f Re-indented using tabs 12 years ago
German Caro 392d14606a Merge branch 'master' of github.com:Germanc/kindlepdfviewer 12 years ago
German Caro ab056e2e15 Add support to djvu TOC 12 years ago
German Caro 6362972707 Testing how git and github works and add support to djvu TOC 12 years ago
Dobrica Pavlinusic 09610d966e fix typo 12 years ago
Dobrica Pavlinušić 87d8df045b Merge pull request #57 from houqp/master
Add font.lua & status bar in reading menu
12 years ago
Qingping Hou 7389255503 fix: handle last section in getTOCTitleByPage() 12 years ago
Qingping Hou 3a6aaedb9f rm: fontchooser.lua 12 years ago
traycold 3fbb39fc05 Proof of concept for issue #55.
Still to be completed.
12 years ago
Qingping Hou f95231d789 add: status bar in reading menu & font.lua
* Since fontchooser is replaced by selectmenu, it
is no longer needed. So I rewrite it into font.lua
module which can cache faces that shared among all
UIs.

* add progressBar method in graphics.lua to draw
reading progress.

* add reading progress information in reading menu.
It is just a demo. Should be clean up in next release
when the real reading menu is out. :)
12 years ago
Dobrica Pavlinušić d3c9062c7c Merge pull request #53 from houqp/master
90 degree rotation support & 1 fix & 1 modification
12 years ago
Qingping Hou 5237ba947d fix: typo 12 years ago
Qingping Hou 319826c385 mod: screen rotation implemented by ioctl
Now you get a instance rotate :) With only one bug.
I have to restore to previous rotation state of the
native system after exists. Because the native system
does poll the new rotation state that changed by ioctl.

Currently, I don't know how to force the native system
to detect the changes.
12 years ago
Qingping Hou f795bda6e0 mod: read cache settings from .reader.kpdfview.lua 12 years ago
Qingping Hou 70b7e029d3 mod: only get usedBBox in fit to content mode
make fit to page mode a little bit faster
12 years ago
Qingping Hou f45671a747 fix: add screen.lua
forgot to add it in previous commit :(
12 years ago
Qingping Hou d2aaf15dce add: screen.lua
* move rotation mode to global variable, now check rotation
with Screen.cur_rotation_mode

* move screenRotate to screen module so other UIs can use it.
12 years ago
Qingping Hou 3dbf9877bc add: 90 degree rotation support
demo for issue #51
12 years ago
Dobrica Pavlinusic 65f95ca204 fix fetchthirdparty, closes #43
- added forgot git submodule init to make empty repository checkout work
- fetchthirdparty won't re-download exiting archives on disk
- moved mupdf-thirdparty.zip to root of repostory, since mupdf already
  has .gitignore and we shouldn't modify upstream submodule
12 years ago
{Qingping,Dave} Hou eab72cfb27 Merge pull request #50 from houqp/master
3 fixes, closes #47
12 years ago
Qingping Hou 03f658f59e fix: push mupdf commit to e7bb1c4937593c95065dbbbdd7eb15a73996c470 12 years ago
Qingping Hou 72e4808889 fix: add double quotes
this should fix issue #47
12 years ago
Qingping Hou 2ac4272933 fix: export LC_ALL when running kpdfview in launchpad 12 years ago
Qingping Hou e0f1564c7a fix: exit filesearcher with home key 12 years ago
Qingping Hou 3474e56d30 fix: check key mode properly for manual crop 12 years ago
{Qingping,Dave} Hou 98154a4eb4 Merge pull request #49 from houqp/master
fix: passing wrong page number to ddjvu_document_get_pageinfo in djvu.c
12 years ago
{Qingping,Dave} Hou bb3d3949a4 Merge pull request #48 from dpavlin/35_manual_crop
#35 manual crop for odd and even pages
12 years ago
Qingping Hou b3fb1dbcce fix: passing wrong page number to ddjvu_document_get_pageinfo 12 years ago
Dobrica Pavlinusic 4bc0bca413 store globalzoom and globalzoommode settings 12 years ago
Dobrica Pavlinusic 4d7fa2d12f Alt+Z to toggle bbox cropping 12 years ago