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

105 Commits

Author SHA1 Message Date
Qingping Hou
5e58a94632 mod: rm unused shortcuts in crereader 2012-04-06 20:13:46 +08:00
Qingping Hou
a5a5c477ac mod: save and restore font face for each book in crereader 2012-04-06 19:11:18 +08:00
Qingping Hou
c8a51bb4bd Merge branch 'master' into epub 2012-04-04 00:00:49 +08:00
Qingping Hou
c48ed22fce fix: typo in drawOrCache() method 2012-04-03 23:55:19 +08:00
Qingping Hou
9e4b2675f0 Merge branch 'master' into epub
Conflicts:
	unireader.lua
2012-04-01 08:27:25 +08:00
Qingping Hou
0dd063b7ce Merge branch 'master' of github.com:hwhw/kindlepdfviewer
Conflicts:
	unireader.lua
2012-04-01 01:12:59 +08:00
Qingping Hou
8764b8aa4f fix: force freeing biltbuffer on cache evict
Also move cache display code above reading progress
code.
2012-04-01 00:59:16 +08:00
Dobrica Pavlinusic
244a6077ab cache_item_max_pixels is not used #79 2012-03-31 16:31:41 +02:00
Dobrica Pavlinušić
fd8a7283c0 Merge pull request #83 from houqp/master
This should fix #78
2012-03-31 06:36:07 -07:00
Dobrica Pavlinusic
661c7be893 use @traycold code from #74 to show current mupdf cache usage 2012-03-31 15:29:17 +02:00
Qingping Hou
dc30c491f7 add: Shift+R for manual full screen refresh
fix #78
2012-03-31 21:18:04 +08:00
Qingping Hou
a035998b20 add: partial refresh configure entry in .readker.kpdfview.lua
fix #78
2012-03-31 21:12:31 +08:00
Dobrica Pavlinusic
5884f69b60 setCacheSize cleanup 2012-03-31 15:10:20 +02:00
Dobrica Pavlinusic
2754d996c4 move memory info to top of page
This allows section name to be displayed on bottom, and it won't push
memory info out of screen
2012-03-31 14:32:36 +02:00
Dobrica Pavlinusic
3e83dcc2a4 pass cache_document_size to document open
This is how mupdf API is structured
2012-03-31 14:10:41 +02:00
Dobrica Pavlinusic
4f0b41ebc5 show cache_current_memsize 2012-03-31 13:57:35 +02:00
Dobrica Pavlinusic
60b7ccb3cb added cleanCache bound to C key in menu #80 2012-03-31 13:38:33 +02:00
Dobrica Pavlinusic
91bd1277d7 control renderer memory usage #80
added setCacheSize and cache_document_size configuration vairable
2012-03-31 13:24:38 +02:00
Dobrica Pavlinusic
92ec4213c0 show djvu cache size #80
Currently it shows cache_max_memsize and cache_item_max_pixels from
lua and djvu cache size on menu key
2012-03-31 12:54:45 +02:00
Qingping Hou
37dfc84d5a fix: move commands initilization from global init to local
If we call addAllCommands in initGlobalSettings, all
the readers will share the same commands and we cannot
adjust commands for a specific reader. I thus moved this
method call to Unireader:init() method.
2012-03-30 14:10:04 +08:00
Qingping Hou
8a2b86e203 mod: factor last reading page saving and resotring 2012-03-30 13:07:48 +08:00
Qingping Hou
9b500189f2 Merge branch 'master' into epub 2012-03-29 19:36:32 +08:00
Qingping Hou
ad9d13a947 mod: rename TOC to Toc, adapt showMenu to CREReader 2012-03-29 18:17:32 +08:00
Qingping Hou
b09110a38d Merge branch 'djvu-highlight' into epub 2012-03-29 17:54:48 +08:00
Qingping Hou
4821f10dda half done demo for crengine 2012-03-29 00:09:26 +08:00
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
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
6886ae9830 exit reader with just Home as before #55 2012-03-26 20:16:36 +02:00
Qingping Hou
1113759972 fix: add virtual startHighLightMode method for all readers. 2012-03-26 20:25:44 +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
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
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
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
HW
9ee7afa86d separate DC out of pdf.c and djvu.c (cleanup) 2012-03-19 18:59:36 +01:00
Qingping Hou
e7f0a8bddb mod: rewrite highlight feature
waiting for integrate test with cursor support
2012-03-19 11:05:23 +08:00
Qingping Hou
84c8230730 POC of text highlight in current page! 2012-03-17 12:17:20 +08:00
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.
2012-03-16 12:27:27 +08:00
traycold
496ab3720e small bugfix 2012-03-14 00:07:19 +01:00
traycold
943b511b7c complete implementation of issue #55
created a help page
2012-03-13 22:51:25 +01:00
traycold
abf9696221 Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer.git
Conflicts:
	reader.lua
	unireader.lua
2012-03-13 22:14:26 +01:00
Qingping Hou
56a00d79a0 mod: delete debug print 2012-03-13 17:16:05 +08:00