2
0
mirror of https://github.com/koreader/koreader synced 2024-11-08 07:10:27 +00:00
Commit Graph

9444 Commits

Author SHA1 Message Date
{Qingping,Dave} Hou
eab72cfb27 Merge pull request #50 from houqp/master
3 fixes, closes #47
2012-03-08 03:46:40 -08:00
Qingping Hou
03f658f59e fix: push mupdf commit to e7bb1c4937593c95065dbbbdd7eb15a73996c470 2012-03-08 19:45:16 +08:00
Qingping Hou
72e4808889 fix: add double quotes
this should fix issue #47
2012-03-08 19:29:30 +08:00
Qingping Hou
2ac4272933 fix: export LC_ALL when running kpdfview in launchpad 2012-03-08 19:23:17 +08:00
Qingping Hou
e0f1564c7a fix: exit filesearcher with home key 2012-03-08 14:24:30 +08:00
Qingping Hou
3474e56d30 fix: check key mode properly for manual crop 2012-03-08 10:35:33 +08:00
{Qingping,Dave} Hou
98154a4eb4 Merge pull request #49 from houqp/master
fix: passing wrong page number to ddjvu_document_get_pageinfo in djvu.c
2012-03-07 17:59:53 -08:00
{Qingping,Dave} Hou
bb3d3949a4 Merge pull request #48 from dpavlin/35_manual_crop
#35 manual crop for odd and even pages
2012-03-07 17:59:18 -08:00
Qingping Hou
b3fb1dbcce fix: passing wrong page number to ddjvu_document_get_pageinfo 2012-03-08 09:35:15 +08:00
Dobrica Pavlinusic
4bc0bca413 store globalzoom and globalzoommode settings 2012-03-08 01:29:17 +01:00
Dobrica Pavlinusic
4d7fa2d12f Alt+Z to toggle bbox cropping 2012-03-08 00:55:12 +01:00
Dobrica Pavlinusic
c2f2e617ad correct bbox loading and Shift+Z removes page bbox
this moves #35 a *little* bit closer to release ;-)
2012-03-08 00:38:34 +01:00
Dobrica Pavlinusic
9575d23f63 save bbox layout
inspired by f79ae48de8
2012-03-08 00:18:58 +01:00
Dobrica Pavlinusic
0c7eb32d48 Merge branch 'master' into 35_manual_crop 2012-03-08 00:12:21 +01:00
Dobrica Pavlinusic
fdca464b96 don't pre-cache next page if we are going to modify bbox 2012-03-08 00:11:30 +01:00
HW
dd8c1324b7 djvulibre wants utf8-based filenames to be handed differently. closes #47 2012-03-07 19:37:03 +01:00
Dobrica Pavlinusic
f62a12a629 more debugging output for secting bboxes 2012-03-07 18:50:16 +01:00
Dobrica Pavlinusic
9bd93fe9c1 move third-party git checkouts into submodules #43 2012-03-07 17:19:52 +01:00
Dobrica Pavlinušić
16e70ac719 Merge pull request #45 from houqp/master
two modifications
2012-03-07 06:50:36 -08:00
Qingping Hou
bf267ef0ef mod: add ZOOM_FIT_TO_CONTENT_WIDTH_PAN mode
This mode is used with ZOOM_FIT_TO_CONTENT_WIDTH, so
when press KEY_PGFWD, you jump to lower part of current
page. When hit page bottom, you do a real page turn. It
now behaviors the same like the native reader as I
mentioned in issue #41.

The first time you set to ZOOM_FIT_TO_CONTENT_WIDTH mode,
the reader will setup proper zoom factor and offset, then
switch to ZOOM_FIT_TO_CONTENT_WIDTH_PAN mode. When you hit
the page bottom, the reader will set the mode back to
ZOOM_FIT_TO_CONTENT_WIDTH mode and do a real page turn.
2012-03-07 21:44:59 +08:00
Qingping Hou
f79ae48de8 add: UniReader:initGlobalSettings()
Use this method to read settings that may shared
among all readers. For instance, pan_overlap_vertical
2012-03-07 18:16:46 +08:00
Qingping Hou
f9ba833568 Merge branch 'master' of github.com:hwhw/kindlepdfviewer 2012-03-07 17:59:19 +08:00
Qingping Hou
68b94fa337 mod: code clean up for KEY_2 to KEY_9 bindings
inspired by commit:
796b42cc36
2012-03-07 17:57:27 +08:00
Dobrica Pavlinušić
a2fdbc890f Merge pull request #44 from houqp/master
set default offset to the top of page in fit to content mode
2012-03-07 01:45:40 -08:00
Qingping Hou
2ca5f2302c fix: set offset to top in unireader
set offset to top even usedbox is larger than
or equal to pagesize.
2012-03-07 11:59:32 +08:00
Qingping Hou
dce80b7b1c mod: change default offset in fit_page_width/height mode
set to the top of page
2012-03-07 07:59:03 +08:00
Qingping Hou
20474ce411 fix: page number in fast jump in percent
use math.floor to convert page number to integer
2012-03-07 07:37:45 +08:00
Dobrica Pavlinusic
b65973990a Merge branch 'master' of github.com:hwhw/kindlepdfviewer 2012-03-07 00:27:35 +01:00
{Qingping,Dave} Hou
d754cff50b Merge pull request #42 from traycold/master
Keyboard shortcuts to jump to 0%, 10%, 20%, .. , 100% of currently reading document.
2012-03-06 15:27:05 -08:00
Dobrica Pavlinusic
5de2fb1a53 implement separate odd/even bboxes 2012-03-07 00:26:56 +01:00
traycold
41e9b216cc Shortcut to jump to page corresponding to 0%, 10%, 20%, .., 100%
of document using respectively key 1, 2, .., 9, 0.
2012-03-06 23:46:10 +01:00
Dobrica Pavlinusic
24ca5854c5 override getUsedBBox for cropping #35 2012-03-06 23:18:52 +01:00
Dobrica Pavlinusic
80efc822d4 added simple dump() serializer for debugging 2012-03-06 23:17:37 +01:00
traycold
01399292db Merge remote-tracking branch 'hwhw/master' 2012-03-06 22:14:12 +01:00
Dobrica Pavlinusic
0e48785e0e fix #36: enable file path back 2012-03-06 22:11:00 +01:00
Dobrica Pavlinusic
73ec285957 switch to ZOOM_BY_VALUE to enable panning on fiveway move 2012-03-06 21:31:58 +01:00
Dobrica Pavlinusic
3a38e81d58 exit from filechooser on BACK and HOME
This makes it easy to exit completly from document with HOME+HOME
which is much easier and intuitive than HOME+BACK
2012-03-06 20:07:08 +01:00
Dobrica Pavlinusic
796b42cc36 track last shortcut assigned and ignore other keys
This change also takes advantage of fact that ev.code increases by 1
with each key in same row which removes a lot of duplication
2012-03-06 19:51:09 +01:00
Dobrica Pavlinusic
88d5f578f8 added last row of keyboard for DXG
DXG has bigger screen, so we have to make sure that we don't have more
than 30 options on screen (or we will run out of shortcuts)
2012-03-06 14:37:00 +01:00
Dobrica Pavlinusic
a416423798 Merge branch 'master' of github.com:dpavlin/kindlepdfviewer 2012-03-06 13:49:46 +01:00
Dobrica Pavlinušić
77e11feccf Merge pull request #40 from houqp/master
change short cuts for menu items
2012-03-06 04:48:03 -08:00
Dobrica Pavlinusic
c470c0328a renderUtf8Text shouldn't die witout a text
this is exposed by #38 and #40
2012-03-06 12:32:15 +01:00
Qingping Hou
89cfac17bd mod: change shortcuts for menu items
Uses Q-P and A-Del
2012-03-06 19:28:12 +08:00
Dobrica Pavlinušić
db6b997cab Merge pull request #38 from houqp/master
bug  fix & new feature
2012-03-06 02:02:51 -08:00
Qingping Hou
25d014634b mod: add 5 pixel margin to the left 2012-03-06 15:50:00 +08:00
Qingping Hou
b45450ed67 mod: remove printf workaround in djvu.c
the bug seems to be fixed by commit:
4a5b12aaa4
2012-03-06 13:06:31 +08:00
Qingping Hou
330d08de68 mod: change variable name in selectmenu.lua 2012-03-06 12:27:19 +08:00
Qingping Hou
6a1b71eaf3 mod: add fast menu item access shortcut 2012-03-06 12:25:04 +08:00
Qingping Hou
9c41d0468e fix: remove misplaced backslash in Makefile 2012-03-06 11:58:44 +08:00
Qingping Hou
936ce2d661 fix: bug in paintRect
When calculating index of byte for rightmost column,
it should be (x + w)/2 not (x + w + 1)/2.
2012-03-06 11:10:20 +08:00