Commit Graph

907 Commits (4310b68b3bdc9249e021fa8d6d14381315902023)
 

Author SHA1 Message Date
Tigran Aivazian bbbd64d96e Comment out the setting of dithering bits because djvulibre ignores anything less than 8 bits anyway. 12 years ago
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
12 years ago
Tigran Aivazian 7f6d3097a2 Remove the local variable render_mode from drawPage() (although it would be optimized away by gcc anyway). 12 years ago
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
12 years ago
Dobrica Pavlinusic 3d291f52ac disable DEBUG_CRENGINE 12 years ago
Dobrica Pavlinusic 3cd19db601 showInfoMsgWithDelay with number of results
Conflicts:

	crereader.lua
12 years ago
Dobrica Pavlinusic 09440f600c correctly return first search position and refresh screen
Conflicts:

	crereader.lua
12 years ago
Dobrica Pavlinusic dadbf000c9 coolreader search highlight
This is rough port of Android code, but seems to work

Conflicts:

	cre.cpp
	crereader.lua
12 years ago
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
12 years ago
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
12 years ago
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. 12 years ago
Tigran Aivazian a52aee2f9a Set up to compile with arm-kindle-linux-x-tools-glibc2.5-gcc4.2.4.tar.gz toolchain. 12 years ago
Dobrica Pavlinušić a10cac03e3 Merge pull request #224 from houqp/new_ui_code
some small fixes and cherry-picks for new_ui_code
12 years ago
Qingping Hou 98c752f50d Merge branch 'new_ui_code' of github.com:houqp/kindlepdfviewer into new_ui_code
for push
12 years ago
Qingping Hou c1ccff70ad minor adjustment for Makefile and document.lua 12 years ago
Dobrica Pavlinusic 77fece8ad9 fix lua include path 12 years ago
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
12 years ago
Kefu Chai 8ce1aef0af remove dependency on <linux/input.h>
* and kill a warning
12 years ago
Qingping Hou ae780a543b check mupdf's thirdparty libs' version 12 years ago
Qingping Hou 10e723896b fix wrong warnning message in Makefile 12 years ago
Qingping Hou 59e81a0345 fix typo in makefile 12 years ago
NuPogodi 8566cfff1e added cr3.css for files without one 12 years ago
Qingping Hou 2e145dbf27 update README, for emulator example 12 years ago
Dobrica Pavlinušić f9bd1625fd Merge pull request #213 from houqp/new_ui_code
setting feature part2
12 years ago
Qingping Hou 3fb28b08fd Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 12 years ago
Qingping Hou ac385783ed remove menu item shortcut for k4 12 years ago
Qingping Hou 1c216b6458 add last read page/percent setting support 12 years ago
Qingping Hou 59592e862e read font settings on readsettings event 12 years ago
Qingping Hou 0e122b12bf read settings after readerui widgets initialization 12 years ago
Dobrica Pavlinušić bcd50a44ad Merge pull request #211 from houqp/new_ui_code
add document setting support
12 years ago
Qingping Hou 45e9198ab2 add document fontface and fontsize settings support 12 years ago
Qingping Hou fab19c3bfa add document settings support 12 years ago
HW 083b94f55e Merge pull request #210 from houqp/new_ui_code
k4 framebuffer support rewrite & screen saver, usb plugin support
12 years ago
Qingping Hou ca46092f1b fix naming for fake events device, part 2 12 years ago
Qingping Hou cee51b8db2 change menu item underline color to make refresh more responsive 12 years ago
Qingping Hou d06f71b3cd fix naming for fake events device 12 years ago
Qingping Hou 6102dc622f bug fixes for shadow framebuffer implementation 12 years ago
Qingping Hou 165585ecea fix typo in einkfb.c 12 years ago
Qingping Hou d6a2c9908c enable partial and full refresh on widget redraw
also added halfdone code for repaint area on widget
redraw.
12 years ago
Qingping Hou 81a846f32f properly free and unmap memory in closeFrameBuffer 12 years ago
Qingping Hou 271701edfe screensaver and usbplugin events support 12 years ago
Qingping Hou 47ec493da1 implement K4 framebuffer support with shadow blitbuffer
previous implementation make fb.bb has double pitch
compared to other blitbuffer, which leads to segfault
on blitFullFrom method.
12 years ago
Dobrica Pavlinušić 5d8e579b4f Merge pull request #204 from houqp/new_ui_code
some more adjustments to make it usable for my K4
12 years ago
Qingping Hou 2d104d7792 adjust keycodes for k4 & add device.lua 12 years ago
Qingping Hou 51ed793d14 add screen rotate support 12 years ago
Qingping Hou 4c71c628d3 release input devices on reader exit 12 years ago
Qingping Hou b71ac38d3b exit KPV on Ctrl+C 12 years ago
Qingping Hou bad329811d add line space control feature for credocument 12 years ago
Qingping Hou b3cdbeee19 add font size control feature for credocument
also rename getFont to getFontFace
12 years ago
Qingping Hou 9e6940621b add getFontFace in cre.cpp and credocument.lua
also move self.font_face to readerfont module
12 years ago