2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

868 Commits

Author SHA1 Message Date
Tigran Aivazian
b96f4f509f Remove the Debug() call I added when debugging the previous issue. 2012-09-02 15:45:29 +01:00
Tigran Aivazian
6f1dea294c Merge remote branch 'upstream/master' 2012-09-02 15:39:34 +01:00
Tigran Aivazian
2d4189fc84 Bugfix: moving files to/from clipboard works now. 2012-09-02 15:38:25 +01:00
Dobrica Pavlinušić
a56e49c3f3 Merge pull request #240 from tigran123/master
DjVu rendering mode and other changes.
2012-09-01 16:00:09 -07:00
Tigran Aivazian
b2e0ecb7b0 Add description of MASK ONLY djvu page rendering mode. 2012-09-01 22:21:29 +01:00
Tigran Aivazian
3b1da21cfd Merge remote branch 'upstream/master'
Conflicts:
	djvureader.lua
	unireader.lua
2012-09-01 16:36:52 +01:00
{Qingping,Dave} Hou
45d9b10aa6 Merge pull request #239 from NuPogodi/master
Restored: partial screen refresh; Moved: djvu render mode to djvureader; Added: menu with zoom-modes
2012-09-01 07:08:35 -07:00
NuPogodi
4bb8ef7f45 unireader: refresh frequency; zoommode-menu, etc.
1. Restored default value rcountmax=5; the function to make manual full screen refresh is no more silent; at first, it asks user to set a number of partial refreshes (rcountmax) and then performs full refresh. TODO: saving parameter 'rcountmax' in the global reader settings (or separately, for each document). 
2. The hotkey 'R' and the respective function toggle_render_mode() for djvu-documents are moved to djvureader.
3. Added hotkey 'M' and the respective function that calls menu with zoom-modes. Probably, one needs to remove unappropriate items, like "Fit zoom to page" and, less probably, the hotkeys (A, S, D, F and ^A, ^S, ^D, ^F) to set zoom-mode directly.
2012-09-01 13:39:14 +03:00
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
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