Commit Graph

10429 Commits (master)
 

Author SHA1 Message Date
Qingping Hou e5acbeb363 mod: fix bug in cursor move
only move cursor to word in current view
12 years ago
Qingping Hou c756fcbf10 fix: cursor move in zoom in mode
only move cursor to word within screen range
12 years ago
Qingping Hou 35abbc93d4 add: configurable highlight drawer
* underscore style (default)
* marker style
12 years ago
Qingping Hou e30b88d135 add: delete feature in djvu highlight 12 years ago
Qingping Hou 81a1f3d366 demo of text highlight
* text selection
* highlight save and restore
12 years ago
Qingping Hou 7c81f60a58 rewrite highlight again :( finished the cursor part 12 years ago
traycold e2e5af1c61 added some debug code to better understand memory usage by muPdf 12 years ago
Qingping Hou 9aa9bc802f mod: add highlight after merged command module 12 years ago
Qingping Hou 46f171df3b Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	unireader.lua
12 years ago
Qingping Hou 1e2d7f62ac record and save highlight table 12 years ago
{Qingping,Dave} Hou 5b2cd6cfc9 Merge pull request #65 from traycold/master
issue #55 and help page
12 years ago
traycold ce30d9c652 use font metric to better display help page (to exted to other pages in future) 12 years ago
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
12 years ago
traycold bfcad367bb using font module for getting fonts (commit f95231d789)
renamed function names using camelCase (issue #62)
12 years ago
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
12 years ago
Qingping Hou a185f238eb mod: rewrite highlight feature 12 years ago
Qingping Hou f4ea1cdb62 Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	blitbuffer.c
	unireader.lua
12 years ago
HW 7e3e38be62 Password input, handling for broken documents 12 years ago
HW b037208fb1 factored pages count out, better error and password handling 12 years ago
HW 87ec4bbf6b factored pages counter out of document struct 12 years ago
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
12 years ago
HW 14b26a4aeb make muPDF cache size configurable from Lua 12 years ago
HW 48463d4739 add XPS and CBZ support (muPDF provides this) 12 years ago
HW 2fcfe4a329 fixed bug for odd rendering widths 12 years ago
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)
12 years ago
HW a49c8fa2e5 forgot Makefile change when factoring out drawcontext 12 years ago
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
12 years ago
traycold c11ecce55a draft commit, test implementation 12 years ago
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.
12 years ago
HW 9ee7afa86d separate DC out of pdf.c and djvu.c (cleanup) 12 years ago
Qingping Hou ac8206fa95 first demo for pan by page highlight 12 years ago
HW 929ea1e703 removed obsolete page rotation handling, closes #70 12 years ago
Qingping Hou 7bbc5b5ed2 highlight with cursor demo 12 years ago
Qingping Hou 44d7d6cd29 fix: handle -1 index when deleting characters in inputbox 12 years ago
Qingping Hou 81f5d55d55 Merge branch 'cursor' into djvu-highlight 12 years ago
Qingping Hou e7f0a8bddb mod: rewrite highlight feature
waiting for integrate test with cursor support
12 years ago
HW 7b120b0ee0 allow easier customization of toolchain for libdjvu 12 years ago
Qingping Hou 84c8230730 POC of text highlight in current page! 12 years ago
Qingping Hou 6441c34040 fix: bug in page text table construction 12 years ago
Qingping Hou baf98c0fcd add: POC getPageText method in djvu.c 12 years ago
Qingping Hou 46de106e8a fix: clear input_text before input result return 12 years ago
Qingping Hou c8f87d5661 fix: remove page number checking in displaying TOC
Former showTOC() method checks the page number in each
entry and only display entry whose page number is greater
than the previous one. However, I think this is too
"clever", we should better leave the TOC untouched to keep
consistent with other pdf readers.
12 years ago
Qingping Hou 9eff3e3224 mod: delete debug lines in inputbox.lua 12 years ago
Qingping Hou 709a9003d2 fix: handle default text in inputbox 12 years ago
Qingping Hou 7b0f2ad815 mod: cursor finished, add to inputbox 12 years ago
Qingping Hou a231b944c1 add: first demo of cursor support 12 years ago
Qingping Hou 9dd3994dd8 fix: handle LPGBCK and LPGFWD in selectmenu 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