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

922 Commits

Author SHA1 Message Date
Qingping Hou
61bc799de4 update README.md 2012-09-17 20:44:09 -04:00
Qingping Hou
eb79e1c95c handle file with no extension in filechooser 2012-09-17 20:36:39 -04:00
Dobrica Pavlinusic
83d910b7d3 use README.md in distribution zip
Conflicts:

	Makefile
2012-09-17 20:29:55 -04:00
Qingping Hou
68eeeaa0d2 delete README.TXT 2012-09-17 20:24:02 -04:00
Qingping Hou
825de1ea4f remove leading tab in command in README 2012-09-17 20:23:05 -04:00
Qingping Hou
6ad8afebbb rename README.TXT to README.md
for better rendering in Github
2012-09-17 20:22:58 -04:00
Qingping Hou
cc78a43b92 update readme 2012-09-17 20:22:51 -04:00
Qingping Hou
e6a8f5558c move -l argument to the end of GCC call 2012-09-17 20:22:40 -04:00
Tigran Aivazian
97f59ed07c 1. It is customary to call DjVu context by the name of the program.
2. When changing DjVu page rendering mode there is no need to clear DjVu cache, only our own tile cache.

Conflicts:

	djvureader.lua
2012-09-17 20:22:34 -04:00
Qingping Hou
dfff1906fd return only one value in ReaderToc:cleanUpTocTitle(title) 2012-09-17 20:21:03 -04:00
Qingping Hou
25af917170 call cre.initCache() in CreDocument:engineInit() 2012-09-17 20:12:33 -04:00
Qingping Hou
619f5a0f34 set crengine cache size in lua code
Conflicts:

	crereader.lua
2012-09-17 20:10:43 -04:00
Dobrica Pavlinusic
e23cc2a1de use 64Mb for on disk DOM cache for crengine
Previously we had cache size limit of 100 bytes, so crengine would erase
all on-disk cache on each file open as described in #206
2012-09-17 20:10:02 -04:00
Dobrica Pavlinusic
04e6df1fd0 use ldomDocCache::init to cache crengine DOM
This should improve performance of crengine #206
2012-09-17 20:09:31 -04:00
Tigran Aivazian
3278ef5a29 Correct the comment (the existing text was referring to a different file). 2012-09-17 20:09:06 -04:00
Tigran Aivazian
bbbd64d96e Comment out the setting of dithering bits because djvulibre ignores anything less than 8 bits anyway. 2012-09-17 20:08:00 -04:00
Tigran Aivazian
b761418236 Small optimization in djvu.c:drawPage() --- there is no need to create and destroy
djvu pixel format on each redraw of the page as this can be done once on open and close
of the document. Also, set dither bits to 4 to help djvulibre choose the most
optimal dithering algorithm for the Kindle. Also, make coding style of "if(" -> "if ("
consistent (both instances were used, but "if (" was more frequent).

Conflicts:

	djvu.c
2012-09-17 20:03:47 -04:00
Tigran Aivazian
7f6d3097a2 Remove the local variable render_mode from drawPage() (although it would be optimized away by gcc anyway). 2012-09-17 19:32:13 -04:00
Tigran Aivazian
0d23340738 Move render_mode support out of unireader.lua into djvureader.lua as it is djvu-specific.
Also added support for all other rendering modes handled by djvulibre.
Also made the message print a human-readable description of the mode rather than just the number.

Conflicts:

	djvureader.lua
	unireader.lua
2012-09-17 13:04:04 -04:00
Dobrica Pavlinusic
3d291f52ac disable DEBUG_CRENGINE 2012-09-17 13:03:13 -04:00
Dobrica Pavlinusic
3cd19db601 showInfoMsgWithDelay with number of results
Conflicts:

	crereader.lua
2012-09-17 13:02:14 -04:00
Dobrica Pavlinusic
09440f600c correctly return first search position and refresh screen
Conflicts:

	crereader.lua
2012-09-17 13:00:41 -04:00
Dobrica Pavlinusic
dadbf000c9 coolreader search highlight
This is rough port of Android code, but seems to work

Conflicts:

	cre.cpp
	crereader.lua
2012-09-17 12:58:43 -04:00
Dobrica Pavlinusic
cc52ee0a09 Revert "Set up to compile with arm-kindle-linux-x-tools-glibc2.5-gcc4.2.4.tar.gz toolchain."
This reverts commit 2650faa000
as described in #229
2012-09-17 11:26:44 -04:00
Tigran Aivazian
144f5c637a DjVu enhancements:
a) add support for switching the rendering mode between B&W (default, 1) and COLOUR (0) values.
b) handle the gamma values correctly.

Conflicts:

	unireader.lua
2012-09-17 11:24:46 -04:00
Tigran Aivazian
bcb85d7c07 Fix the Makefile to use freetype-2.4.10 and kpvcrlib/CMakeLists.txt to do the same and also zlib 1.2.5->1.2.7 and libjpeg 8d->9. 2012-09-17 11:21:07 -04:00
Tigran Aivazian
a52aee2f9a Set up to compile with arm-kindle-linux-x-tools-glibc2.5-gcc4.2.4.tar.gz toolchain. 2012-09-17 11:20:31 -04:00
Dobrica Pavlinušić
a10cac03e3 Merge pull request #224 from houqp/new_ui_code
some small fixes and cherry-picks for new_ui_code
2012-08-26 03:04:56 -07:00
Qingping Hou
98c752f50d Merge branch 'new_ui_code' of github.com:houqp/kindlepdfviewer into new_ui_code
for push
2012-08-25 22:52:56 +08:00
Qingping Hou
c1ccff70ad minor adjustment for Makefile and document.lua 2012-08-25 22:52:12 +08:00
Dobrica Pavlinusic
77fece8ad9 fix lua include path 2012-07-15 02:35:22 +08:00
Kefu Chai
e39bbd7077 fixes for mac
* per http://luajit.org/install.html, otherwise LuaJIT always fails
  to get desired memory chunk from mmap(2)
* kill a warning of clang
2012-07-15 02:35:12 +08:00
Kefu Chai
8ce1aef0af remove dependency on <linux/input.h>
* and kill a warning
2012-07-15 02:35:01 +08:00
Qingping Hou
ae780a543b check mupdf's thirdparty libs' version 2012-07-15 02:19:10 +08:00
Qingping Hou
10e723896b fix wrong warnning message in Makefile 2012-07-13 22:35:51 +08:00
Qingping Hou
59e81a0345 fix typo in makefile 2012-07-13 22:33:32 +08:00
NuPogodi
8566cfff1e added cr3.css for files without one 2012-07-13 13:09:07 +08:00
Qingping Hou
2e145dbf27 update README, for emulator example 2012-07-13 12:57:31 +08:00
Dobrica Pavlinušić
f9bd1625fd Merge pull request #213 from houqp/new_ui_code
setting feature part2
2012-07-03 06:00:12 -07:00
Qingping Hou
3fb28b08fd Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 2012-07-02 04:38:05 +08:00
Qingping Hou
ac385783ed remove menu item shortcut for k4 2012-06-27 16:26:06 +08:00
Qingping Hou
1c216b6458 add last read page/percent setting support 2012-06-27 01:00:21 +08:00
Qingping Hou
59592e862e read font settings on readsettings event 2012-06-27 00:59:47 +08:00
Qingping Hou
0e122b12bf read settings after readerui widgets initialization 2012-06-27 00:59:22 +08:00
Dobrica Pavlinušić
bcd50a44ad Merge pull request #211 from houqp/new_ui_code
add document setting support
2012-06-26 04:30:31 -07:00
Qingping Hou
45e9198ab2 add document fontface and fontsize settings support 2012-06-26 17:05:49 +08:00
Qingping Hou
fab19c3bfa add document settings support 2012-06-26 17:05:09 +08:00
HW
083b94f55e Merge pull request #210 from houqp/new_ui_code
k4 framebuffer support rewrite & screen saver, usb plugin support
2012-06-24 06:16:10 -07:00
Qingping Hou
ca46092f1b fix naming for fake events device, part 2 2012-06-24 10:13:24 +08:00
Qingping Hou
cee51b8db2 change menu item underline color to make refresh more responsive 2012-06-23 22:23:43 +08:00