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

8199 Commits

Author SHA1 Message Date
Dobrica Pavlinusic
69a8ee83bb specify multiple keys for single command #55
This code still doesn't support different modifiers on keys, but
I would rather refactor it in small steps first

Current changes adds support for Kindle 3 left page keys
reported by @houqp in issue #55
2012-03-27 20:10:56 +02:00
Dobrica Pavlinusic
d3318beb84 print defined commands using dump 2012-03-27 19:54:07 +02:00
Dobrica Pavlinusic
71c36064e2 added K3 left page keys for emulator on F3 and F4 2012-03-27 18:31:41 +02:00
Qingping Hou
6ad4721f6a add: crengine as submodule 2012-03-27 16:32:41 +08:00
Dobrica Pavlinušić
a65178ba92 Merge pull request #74 from traycold/e2e5af1c6135f846a0995e45cff0a73bc5a2063d
custom memory allocation for muPdf; may be useful for issue #58
2012-03-27 00:20:18 -07:00
{Qingping,Dave} Hou
1de55cae21 Merge pull request #73 from dpavlin/test-2col
test pdf file for two-column zoom #69
2012-03-26 20:42:05 -07:00
Dobrica Pavlinusic
461c00eb98 test pdf file for two-column zoom #69
It also demonstrate nicely need to manually re-invoke two-column
zoom which was first reported by vmonkey at

http://www.mobileread.com/forums/showpost.php?p=1992328&postcount=119

I'm not quite sure that I prefer manual interaction any more :-)

This file is created using Inkscape and pdftk, so it's free for
re-distribution as a test suite, possibly using something
like Perceptual Image Diff http://pdiff.sourceforge.net/
to automate it.
2012-03-26 21:28:14 +02:00
Dobrica Pavlinušić
e4990efcc3 Merge pull request #71 from houqp/djvu-highlight
Cursor and Djvu highlight support

Judging from @hwhw comment on #72 we seem to have consensus :-)
2012-03-26 11:54:04 -07:00
Qingping Hou
d37e81ad0c Merge remote-tracking branch 'upstream/master' into djvu-highlight
Conflicts:
	unireader.lua
2012-03-27 02:50:15 +08:00
Qingping Hou
8159b24a46 add: simple highlight lists menu 2012-03-27 02:46:03 +08:00
Dobrica Pavlinusic
b496c2081f ignore djvulibre and generated zips 2012-03-26 20:35:51 +02:00
Dobrica Pavlinusic
6886ae9830 exit reader with just Home as before #55 2012-03-26 20:16:36 +02:00
Qingping Hou
a8c40cd5b6 fix: highlight words that partially fit into screen 2012-03-27 01:15:58 +08:00
Qingping Hou
1113759972 fix: add virtual startHighLightMode method for all readers. 2012-03-26 20:25:44 +08:00
Qingping Hou
eac9893958 fix: add KEY_LPGFWD and KEY_LPGBCK to filechooser 2012-03-26 20:19:48 +08:00
traycold
96894ec1a5 update mupdf submodule to commit bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 and small modification to source code to adapt to mupdf modifications 2012-03-24 17:47:52 +01:00
Qingping Hou
0c2afd805e fix: enable pan by page from right end to next line left end 2012-03-24 22:06:29 +08:00
Qingping Hou
74d1760260 fix: start position of cursor 2012-03-24 21:27:35 +08:00
Qingping Hou
5d087d0a84 fix: handle out or view range word in highlight mode 2012-03-24 20:12:00 +08:00
Qingping Hou
e15fc5e21e mod: delete useless variable is_next_view 2012-03-24 18:39:33 +08:00
Qingping Hou
e5acbeb363 mod: fix bug in cursor move
only move cursor to word in current view
2012-03-24 18:28:52 +08:00
Qingping Hou
c756fcbf10 fix: cursor move in zoom in mode
only move cursor to word within screen range
2012-03-23 18:28:15 +08:00
Qingping Hou
35abbc93d4 add: configurable highlight drawer
* underscore style (default)
* marker style
2012-03-23 17:20:51 +08:00
Qingping Hou
e30b88d135 add: delete feature in djvu highlight 2012-03-23 16:56:01 +08:00
Qingping Hou
81a1f3d366 demo of text highlight
* text selection
* highlight save and restore
2012-03-23 15:51:48 +08:00
Qingping Hou
7c81f60a58 rewrite highlight again :( finished the cursor part 2012-03-22 23:12:57 +08:00
traycold
e2e5af1c61 added some debug code to better understand memory usage by muPdf 2012-03-22 02:08:31 +01:00
Qingping Hou
9aa9bc802f mod: add highlight after merged command module 2012-03-21 11:20:07 +08:00
Qingping Hou
46f171df3b Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	unireader.lua
2012-03-21 10:52:51 +08:00
Qingping Hou
1e2d7f62ac record and save highlight table 2012-03-21 10:37:18 +08:00
{Qingping,Dave} Hou
5b2cd6cfc9 Merge pull request #65 from traycold/master
issue #55 and help page
2012-03-20 19:19:08 -07:00
traycold
ce30d9c652 use font metric to better display help page (to exted to other pages in future) 2012-03-20 23:28:49 +01:00
traycold
81f99e4921 Merge remote branch 'origin/master' into txt
* origin/master:
  using font module for getting fonts (commit f95231d789)
  Password input, handling for broken documents
  factored pages count out, better error and password handling
  factored pages counter out of document struct
  make muPDF cache size configurable from Lua
  add XPS and CBZ support (muPDF provides this)
  fixed bug for odd rendering widths
  refactored muPDF integration to use strictly the fitz.h API
  forgot Makefile change when factoring out drawcontext
  fix a Lua 5.0 syntax that was deprecated in 5.1
  separate DC out of pdf.c and djvu.c (cleanup)
  removed obsolete page rotation handling, closes #70
  allow easier customization of toolchain for libdjvu
  fix: remove page number checking in displaying TOC
  fix: handle LPGBCK and LPGFWD in selectmenu
2012-03-20 22:53:20 +01:00
traycold
bfcad367bb using font module for getting fonts (commit f95231d789)
renamed function names using camelCase (issue #62)
2012-03-20 20:15:24 +01:00
traycold
fd6c6dbe60 Merge remote branch 'hwhw/master'
* hwhw/master:
  Password input, handling for broken documents
  factored pages count out, better error and password handling
  factored pages counter out of document struct
2012-03-20 18:40:43 +01:00
Qingping Hou
a185f238eb mod: rewrite highlight feature 2012-03-20 16:42:22 +08:00
Qingping Hou
f4ea1cdb62 Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	blitbuffer.c
	unireader.lua
2012-03-20 10:36:35 +08:00
HW
7e3e38be62 Password input, handling for broken documents 2012-03-20 00:10:19 +01:00
HW
b037208fb1 factored pages count out, better error and password handling 2012-03-20 00:03:35 +01:00
HW
87ec4bbf6b factored pages counter out of document struct 2012-03-20 00:03:09 +01:00
traycold
c2fe6f9bee Merge remote branch 'hwhw/master'
* hwhw/master:
  make muPDF cache size configurable from Lua
  add XPS and CBZ support (muPDF provides this)
  fixed bug for odd rendering widths
  refactored muPDF integration to use strictly the fitz.h API
  forgot Makefile change when factoring out drawcontext
2012-03-19 23:21:23 +01:00
HW
14b26a4aeb make muPDF cache size configurable from Lua 2012-03-19 22:48:54 +01:00
HW
48463d4739 add XPS and CBZ support (muPDF provides this) 2012-03-19 22:35:16 +01:00
HW
2fcfe4a329 fixed bug for odd rendering widths 2012-03-19 22:29:06 +01:00
HW
ee51fe7e6d refactored muPDF integration to use strictly the fitz.h API
This will allow for reading XPS and CBZ documents, since those are
supported by muPDF (not tested yet)
2012-03-19 22:27:00 +01:00
HW
a49c8fa2e5 forgot Makefile change when factoring out drawcontext 2012-03-19 22:04:49 +01:00
traycold
3d2a748aee Merge remote branch 'hwhw/master'
* hwhw/master:
  fix a Lua 5.0 syntax that was deprecated in 5.1
  separate DC out of pdf.c and djvu.c (cleanup)
  removed obsolete page rotation handling, closes #70
  allow easier customization of toolchain for libdjvu
  fix: remove page number checking in displaying TOC
  fix: handle LPGBCK and LPGFWD in selectmenu
2012-03-19 20:23:54 +01:00
traycold
c11ecce55a draft commit, test implementation 2012-03-19 19:41:09 +01:00
HW
8869c52c31 fix a Lua 5.0 syntax that was deprecated in 5.1
luaL_reg is now renamed to luaL_Reg. Lua 5.2 does not know about
the old name anymore, Lua 5.1.x had backward compatibility.
2012-03-19 19:11:32 +01:00
HW
9ee7afa86d separate DC out of pdf.c and djvu.c (cleanup) 2012-03-19 18:59:36 +01:00