Tigran Aivazian
824e9d139e
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.
2012-08-28 23:48:56 +01:00
Tigran Aivazian
5c9a8fbec6
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.
2012-08-27 15:33:32 +01:00
Tigran Aivazian
0a4e11d4af
In the status line shorten "Memory:" -> "M:" and "Section:" -> "Sec:" and also show the battery level.
2012-08-27 15:27:51 +01:00
Tigran Aivazian
424a6a895b
Refresh the screen completely on every page, not every 5th.
2012-08-27 15:25:29 +01:00
Tigran Aivazian
c4833b7557
Make sure the function that deletes history entry does NOT delete the physical file.
...
This is normal/expected behaviour, as in CoolReader and all other viewers I looked at.
2012-08-27 15:14:15 +01:00
Tigran Aivazian
8a583311c8
Trivial grammatical changes.
2012-08-27 15:11:07 +01:00
Tigran Aivazian
b605536567
Fix the "rename" function to include the file extension.
2012-08-27 14:53:26 +01:00
Tigran Aivazian
601b7b9d69
Memory leak in DrawFileItem(), found by NuPogodi.
2012-08-27 14:50:09 +01:00
Tigran Aivazian
5576890263
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-08-27 14:39:42 +01:00
Tigran Aivazian
de0f40ce9c
1. Disable filtering by file extension so that the program can be used as a proper filemanager.
...
2. Pass all files to crengine except those handled by PDF and DjVu modules.
2012-08-27 13:14:22 +01:00
Tigran Aivazian
2650faa000
Set up to compile with arm-kindle-linux-x-tools-glibc2.5-gcc4.2.4.tar.gz toolchain.
2012-08-27 12:57:26 +01:00
{Qingping,Dave} Hou
d952fff3f3
Merge pull request #228 from dpavlin/1c6421dc3f
...
naive implementation of search highlight
2012-08-26 17:48:23 -07:00
Dobrica Pavlinusic
1c6421dc3f
correctly show default value in inputbox
2012-08-26 16:50:16 +02:00
Dobrica Pavlinusic
2dfee0a2fb
remember last search so it's incremental now
2012-08-26 16:19:51 +02:00
Dobrica Pavlinusic
d827301639
search through whole document
2012-08-26 16:03:55 +02:00
Dobrica Pavlinusic
eb38dfedd4
show search highlight until next page refresh
2012-08-26 15:16:08 +02:00
Dobrica Pavlinusic
e8ab2381c3
extract code into new function UniReader:searchHighLight(search)
2012-08-26 14:48:51 +02:00
Dobrica Pavlinusic
ed59adecea
naive implementation of search highlight issue #75
2012-08-26 14:28:34 +02:00
Dobrica Pavlinušić
2a24f5a13a
Merge pull request #227 from houqp/master
...
integrate bmp and pgm support patch from NuPogodi
2012-08-26 03:05:13 -07:00
Qingping Hou
5be38246f5
fix comment in screen.lua
...
set default to no pack on bmp image
2012-08-26 03:19:59 +08:00
Qingping Hou
7a3de8b6b7
move battery info file to /tmp
2012-08-26 00:21:48 +08:00
NuPogodi
c06605e86c
Update master
2012-08-26 00:02:35 +08:00
NuPogodi
333537dfd6
to save screenshots as bmp (4bpp, 166dpi > fast) or pgm (8bpp, slow)
2012-08-26 00:01:57 +08:00
NuPogodi
17585c2bf4
Update master for comment on image size
2012-08-26 00:00:49 +08:00
NuPogodi
2e975fa18d
Update master
2012-08-26 00:00:13 +08:00
NuPogodi
ead3355a2b
Update master
2012-08-25 23:57:36 +08:00
NuPogodi
13ac163c51
save screenshots to bmp (or pgm)
2012-08-25 23:55:31 +08:00
NuPogodi
e580a7c278
Update master: fixes for BMP method
2012-08-25 23:40:35 +08:00
NuPogodi
f996a69568
add BMP and PGM methods. Use BMP in screenshot method
...
Update master
Conflicts:
screen.lua
2012-08-25 23:21:03 +08:00
{Qingping,Dave} Hou
a505cdaf34
Merge pull request #209 from dpavlin/master
...
fix path to lua for lua.h include
2012-06-13 10:23:28 -07:00
Dobrica Pavlinusic
2fd5c28007
fix lua include path
2012-06-13 18:49:46 +02:00
{Qingping,Dave} Hou
692b06fdcb
Merge pull request #208 from dpavlin/master
...
make on-screen keyboard lower case by default
2012-06-13 07:17:38 -07:00
Dobrica Pavlinusic
89fd8d22d6
make on-screen keyboard lower case by default
...
close #194
2012-06-13 16:03:06 +02:00
HW
ee7472be96
Merge pull request #202 from tchaikov/mac-fixes
...
fixes for mac
2012-06-10 12:02:09 -07:00
HW
a853dbbb1d
Merge pull request #201 from tchaikov/remove-dependency
...
remove dependency on <linux/input.h>
2012-06-10 12:01:18 -07:00
Kefu Chai
896c435840
remove dependency on <linux/input.h>
...
* and kill a warning
2012-06-11 02:49:45 +08:00
Kefu Chai
1ecab97c6f
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-06-11 02:46:50 +08:00
HW
4fb745a0df
Merge pull request #198 from tchaikov/remove-dependency
...
remove dependency on <linux/fb.h>
2012-06-10 03:00:56 -07:00
Kefu Chai
0e561c610a
remove dependency on <linux/fb.h>
2012-06-09 21:56:19 +08:00
Qingping Hou
794e9188fc
update building section in Makefile
2012-06-09 20:22:15 +08:00
Qingping Hou
1e3d72df70
update README, for emulator example
2012-06-09 20:18:32 +08:00
Qingping Hou
ad7a8d044c
update self.items and self.current after file deletion
2012-06-09 18:10:05 +08:00
{Qingping,Dave} Hou
9b263ca23a
Merge pull request #197 from tchaikov/remove-position-saved
...
stay at current page after deletion
2012-06-09 03:00:31 -07:00
Kefu Chai
8665a7567f
stay at current page after deletion
...
* prefer os.remove() to 'os.execute("rm "...)'
2012-06-09 14:46:45 +08:00
Dobrica Pavlinušić
388d4fb2ac
Merge pull request #196 from houqp/master
...
fix for #127
2012-06-08 07:35:53 -07:00
Qingping Hou
0558a5ec5a
reread current directory files after unplug from PC
2012-06-08 00:53:45 +08:00
Qingping Hou
2485a552eb
first try to fix #127
2012-06-07 23:39:28 +08:00
Dobrica Pavlinušić
9b0cb24200
Merge pull request #195 from houqp/master
...
add usb charging events
2012-06-07 08:01:51 -07:00
Qingping Hou
7ab59e9a5c
add usb charging events
...
for issue #127
2012-06-07 22:00:09 +08:00
Dobrica Pavlinušić
b46a4f5dbb
Merge pull request #192 from houqp/master
...
build environment & bookmark navi bug fix
2012-06-07 03:33:30 -07:00