Tigran Aivazian
10a23e81d6
Merge remote branch 'upstream/master'
2012-09-01 10:28:51 +01:00
{Qingping,Dave} Hou
ee83b6e043
Merge pull request #238 from NuPogodi/master
...
crereader
2012-08-31 17:15:26 -07:00
Tigran Aivazian
711cee787e
Merge remote branch 'upstream/master'
2012-09-01 00:17:25 +01: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
Tigran Aivazian
60b87b4b95
Update the name of the function cycle_render_mode() -> select_render_mode() in the comment.
2012-08-30 16:11:37 +01:00
Tigran Aivazian
9a22a022bf
Tidy up the help text on the 'R' command.
2012-08-30 13:38:18 +01: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
Tigran Aivazian
2e0876a4ae
Merge remote branch 'upstream/master'
2012-08-29 23:13:13 +01: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
Tigran Aivazian
c6a1d22bc9
Redraw the page even if the user did not select any rendering mode, otherwise nothing is displayed (except menu).
2012-08-29 12:09:41 +01:00
Tigran Aivazian
b0b0b85ca1
Re-implement the interface for setting DjVu page rendering mode as a menu.
...
Thanks to NuPogodi for showing how to do this.
2012-08-29 11:39:17 +01:00
Tigran Aivazian
3fd33805c5
Save/restore the setting of render_mode.
2012-08-29 11:37:38 +01:00
Dobrica Pavlinusic
d577ed9b00
show search results as inverted block
2012-08-29 12:26:25 +02:00
Tigran Aivazian
32333ca1d6
Make the function cycle_render_mode() slightly more readable.
2012-08-29 10:48:33 +01:00
Tigran Aivazian
7000f349c0
Allow renaming the whole file, including "extension".
2012-08-29 10:33:42 +01:00
Tigran Aivazian
42491bfefd
Merge remote branch 'upstream/master'
2012-08-29 10:17:21 +01:00
Tigran Aivazian
2d5a936480
Remove the local variable render_mode from drawPage() (although it would be optimized away by gcc anyway).
2012-08-29 10:02:31 +01:00
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
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