2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

197 Commits

Author SHA1 Message Date
Qingping Hou
49fa943306 mod: fix typo in comments 2012-03-05 10:02:39 +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
145d700685 mod: add fake toc method in djvu.c 2012-03-05 09:04:00 +08:00
Qingping Hou
bd02f93d50 mod: remove sqlite in kpdfview dependence 2012-03-05 08:58:11 +08:00
{Qingping,Dave} Hou
74c09a51eb Merge pull request #30 from dpavlin/master
djvu support based on master code
2012-03-04 16:40:46 -08:00
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
2012-03-05 00:18:34 +01:00
Qingping Hou
1b1fc2b3ae integrate djvu support 2012-03-04 23:30:08 +01:00
HW
4f46f9fa7a proper exit when pressing HOME, store settings etc 2012-03-04 21:39:34 +01:00
HW
aa51a0c7db Merge branch 'master' of github.com:hwhw/kindlepdfviewer 2012-03-04 21:18:42 +01:00
HW
7efdbaf215 clamp fit-to-content to page dimensions (BBox) 2012-03-04 21:18:09 +01:00
Dobrica Pavlinusic
a0f0f7a661 Merge branch 'master' of github.com:hwhw/kindlepdfviewer 2012-03-04 19:48:40 +01:00
Dobrica Pavlinusic
13ec6e42b5 moving to right column should take margin into account to provenet skipping columns #27 2012-03-04 19:40:22 +01:00
HW
3c56f50cae switched TOC entry sanitizing to Lua code 2012-03-04 18:59:50 +01:00
Dobrica Pavlinusic
0e3c91931d fix bottom y for getUsedBBox #25 2012-03-05 01:14:49 +08:00
HW
8816285ec7 removed SQLite and lsqlite for the moment 2012-03-04 17:50:25 +01:00
HW
788eb90455 added simple serializer, use lua instead of SQLite 2012-03-04 17:29:19 +01:00
HW
357da594d4 disable ARM specific CFLAGS when in emu mode 2012-03-04 16:56:19 +01:00
HW
48299b118c Merge branch 'master' of github.com:hwhw/kindlepdfviewer 2012-03-04 15:37:24 +01:00
HW
b7d0e657a8 disabled debug symbol output, enabled optimization 2012-03-04 15:36:17 +01:00
HW
42b72a727f Merge pull request #27 from dpavlin/master
fix bounding boxes from mupdf, closes #25
2012-03-04 04:52:37 -08:00
Dobrica Pavlinusic
2c48d4a107 handle invalid bounding boxes from mupdf, closes #25 2012-03-04 13:28:55 +01:00
Dobrica Pavlinusic
b8cc9c9a36 exit reader on HOME key 2012-03-04 13:06:35 +01:00
Dobrica Pavlinusic
31847e585f Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer 2012-03-04 12:47:19 +01:00
HW
09c6c108c5 Merge pull request #23 from houqp/master
four bug fixes & one refactoring
2012-03-03 15:32:01 -08:00
Dobrica Pavlinusic
c11e10070a dump debugging output 2012-03-03 19:55:26 +01:00
Qingping Hou
8abfa55999 mod: change to Keys.shiftmode for SHIFT+B binding 2012-03-04 02:05:48 +08:00
Qingping Hou
9441c17a65 Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer 2012-03-04 02:04:11 +08:00
HW
324f2076d6 Merge pull request #22 from dpavlin/master
added Shift+B to add current page to jumpstack
2012-03-02 04:49:36 -08:00
Qingping Hou
8a03358139 fix: fail to set search path correctly in readdir() 2012-03-02 20:27:53 +08:00
Qingping Hou
6614bbe33d mod: handle shift and alt key events in adjustKeyEvents() 2012-03-02 18:38:34 +08:00
Qingping Hou
1713e2ab0b fix: refresh screen more elegantly after reader exit 2012-03-02 14:22:27 +08:00
Qingping Hou
aa5806accd Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
Conflicts:
	pdfreader.lua
2012-03-02 13:58:39 +08:00
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.
2012-03-02 13:46:15 +08:00
Qingping Hou
e42f4ae38e mod: bug fix in reading TOC
change misplaced carriage ret characters (0x0d) in toc entry
to white space (0x20) to avoid displaying empty boxes.
2012-03-02 13:27:44 +08:00
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
2012-03-02 01:44:52 +01:00
HW
6698cf157c Merge pull request #21 from dpavlin/master
implement new two-column zoom mode (F)
2012-03-01 15:16:36 -08:00
Dobrica Pavlinusic
5de749f457 adjust fiveway rotation 2012-03-01 23:04:17 +01:00
Dobrica Pavlinusic
de1725d395 fiveway left in pan mode with position to bottom of column 2012-03-01 00:20:46 +01:00
Dobrica Pavlinusic
a839f82bac change pages with just left/right fiveway 2012-02-29 23:48:27 +01:00
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
2012-02-29 23:37:16 +01:00
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
2012-02-29 23:19:31 +01:00
Dobrica Pavlinusic
03be0680c5 correctly pass path to FileSearcher 2012-02-29 20:56:37 +01:00
Dobrica Pavlinusic
33829e1815 save pan position when entering pan_by_page 2012-02-29 20:47:21 +01:00
HW
9aedee416c Merge pull request #20 from dpavlin/master
Reset panning when changing pages
2012-02-29 11:13:01 -08:00
Dobrica Pavlinusic
4481fc5178 reset x and y position when moving between pages in pan_by_page mode 2012-02-29 19:39:03 +01:00
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).
2012-02-29 19:32:03 +01:00
HW
22042f1b09 Merge pull request #19 from dpavlin/master
fix panning on page in ZOOM_BY_VALUE mode
2012-02-29 09:59:14 -08:00
HW
f05e295688 Merge pull request #18 from houqp/master
bug fix for font menu & switch key binds in pdfreader.lua
2012-02-29 09:58:49 -08:00
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.
2012-02-29 18:56:03 +01:00