Commit Graph

846 Commits

Author SHA1 Message Date
NuPogodi
c9e20704a4 djvureader: moved render-mode functions
Since parameter 'render_mode' is related to djvu-documents only, the hotkey 'R' and the respective function to toggle 'render_mode' are moved from unireader to djvureader.
2012-09-01 13:12:32 +03:00
NuPogodi
a2f7f62a3d crereader: remove not crengine-related 'M'-hotkey
Since I've added new unireader-hotkey that calls menu with zoom-modes, one has to remove it from crereader.lua. Done...
2012-09-01 13:01:17 +03:00
NuPogodi
4d6b03052a crereader: some corrections
1. Improved the method to restore position in document after rescaling font face, size, weight, interline spacing,  etc.
2. Fixed rotation functions inherited from unireader.lua
3. Removed hotkey for the function of manual cropping inherited from unireader.lua; reason: not crengine-related
4. Added fast navigation functions via Shift+fiveway: jump to previous / next TOC-entry; scroll 10 pages backwards / forward
2012-08-31 20:41:36 +03:00
Qingping Hou
461c135c5d patch for #234 by Nupogoddi
refresh screen if no input from search highlight.

close #234
2012-08-30 12:44:13 +08:00
NuPogodi
25edd3101f TOC position on current place in the tree #235 2012-08-29 22:47:16 +02:00
NuPogodi
20fae9369e Update rendertext.lua
Minor modification in function renderUtf8Multiline(...) to solve Issue #214
2012-08-29 15:42:20 +02:00
Dobrica Pavlinusic
d577ed9b00 show search results as inverted block 2012-08-29 12:26:25 +02:00
Dobrica Pavlinusic
989016ece5 disable DEBUG_CRENGINE 2012-08-28 23:15:34 +02:00
Dobrica Pavlinušić
cd3f72136e Merge pull request #231 from dpavlin/cre-search
coolreader search highlight
2012-08-28 14:13:53 -07:00
NuPogodi
bfe8a5d84f added calculator to filechooser
closes #232
2012-08-28 23:09:28 +02:00
Dobrica Pavlinušić
ebe6b87587 Merge pull request #233 from hwhw/nupogodi-inputbox
Nupogodi inputbox
2012-08-28 14:03:43 -07:00
NuPogodi
282d8e693e improvements to rename if file browser
closes #219
2012-08-28 23:00:18 +02:00
NuPogodi
63e1c4b66c a lot of inputbox improvements
closes #194, closes #218

1. Lowercase layout is default
2. Uppercase chars by pressing Shift+Key; it will probably require us to
   remap some old MOD_SHIFT-commands to MOD_ALT (not the upper raw that is
   responsible for digits: Alt-Q = 1, etc.)
3. New 'documentation' functions
   - usual helppage with active hotkeys (Alt+H)
   - list of available math functions (Alt+M, active in the calculator
     mode)
4. Added two small functions to move cursor to the first/last position
   in inputbox (Shift+FW-left/FW-right)
5. Some minor rearrangement for layouts (mostly for convenient work with
   calculator)
6. Keeping initial "d_text" in InputBox:input(... d_text, is_hint) when
   is_hint is not true (say, for minor changing of long filenames #219, etc.)
   or incremental search.

Added: calculator with a proper documentation of available math
functions
2012-08-28 22:59:54 +02:00
NuPogodi
3f410bdb6b To allow arbitrary header title 2012-08-28 22:28:29 +02:00
Dobrica Pavlinusic
bc0a911e7e showInfoMsgWithDelay with number of results 2012-08-28 22:14:57 +02:00
Dobrica Pavlinusic
f0476ab481 hide inputbox after entry 2012-08-28 22:14:04 +02:00
Dobrica Pavlinusic
7d10a636e7 correctly return first search position and refresh screen 2012-08-28 21:56:46 +02:00
Dobrica Pavlinusic
adf0b42e5b coolreader search highlight
This is rough port of Android code, but seems to work
2012-08-28 20:56:05 +02:00
Dobrica Pavlinusic
5a897fba77 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-08-27 21:01:31 +02: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