Commit Graph

73 Commits (72ae80870ca406728ee155d43de93a948e0fdd31)

Author SHA1 Message Date
Qingping Hou 3767c58574 fix typo 8 years ago
Qingping Hou 5382a06858 readerpaging: set scroll mode as the default view mode 8 years ago
chrox 5983050d79 PDF free zoom mode revisit
this should implement feature request of zoom mode for multi-columns
page in #501
This PR depends on koreader/koreader-base#435

How to use?
1. Tap the top left corner of a PDF/Djvu page to get into the flipping
mode
2. Double-tap on text block will zoom in to that column
3. Double-tap on any area will zoom out to an overview of the page
4. repeat step 2 to focus to another page block

How does it work?
1. We first find the mask of text blocks in the page. (Pic 1)
2. Then we intersect page boxes with user tap to form a page block. (Pic 2)
3. Finally we zoom the page to the page block and center current view to
that block. (Pic 3)
8 years ago
Qingping Hou 790472fb38 Merge pull request #1969 from Hzj-jie/screen-saver
Update ImageWidget to support more stretch settings, and enable screensaver on kobo
8 years ago
Hzj_jie 1be9264a0c Resolve review comments 8 years ago
Frans de Jonge 5638819f25 Removed a bunch of "successfully", replaced an ellipsis, and some deviant spellings of KOReader. 8 years ago
Zijie He 865b2a8f90 Update ImageWidget to support more stretch settings, and enable screensaver on kobo 8 years ago
Qingping Hou 9857cfb93a defaults: change minimal cre font size to 12 8 years ago
Dimitrios Semitsoglou-Tsiapos eb47c5a39f Synchronise frontlight level with nickel config
* Drops support for mocking the frontlight setting internally which may
  cause incorrect in-memory values.

* Adds new supported value for `KOBO_LIGHT_ON_START` (-2), which sets
  'Kobo eReader.conf' as the source to update `settings.reader.lua`'s
  brightness setting on startup, thus using the value from it
  indirectly.

* Adds the `KOBO_SYNC_BRIGHTNESS_WITH_NICKEL` configuration variable
  which updates 'Kobo eReader.conf' every time the brightness setting is
  changed within koreader.

* Fixes missing call to save brightness when modifying via two-finger
  swipe.

Closes #1523.
8 years ago
chrox 42d139ce07 enlarge maximum cache size to reflect hardware development in the last 4 years
Actually I'm not sure if the hardware manufacturers double their RAM in
the last 4 years. Moore's law? Are you kidding me?
This should close #1672.
9 years ago
chrox 8d7ebaff5d add external font dir option for Android 9 years ago
chrox c7cac7b333 disable turbo lib by default 9 years ago
chrox 35abf4bfaf move minibar configurations to reader menu
and fix #1446 by adding progress percentage in minibar.
9 years ago
chrox b767394fc2 fix #1150 by adding FOLLOW_LINK_TIMEOUT variable 10 years ago
Hans-Werner Hilse 3d03713cb1 implement case-insensitive sort, make default and configurable
This will convert any file name to lowercase before doing the comparison.
Note that this will only work for ASCII character range, a full Unicode
aware solution will be much more complicated. And in the end, file names
are byte arrays, not character strings ;-)

fixes #1183.
10 years ago
Frans de Jonge c4f1687c22 Remove KOBO_LIGHT_OFF_ON_SUSPEND option and move workaround to ffi/kobolight.ua 10 years ago
chrox 3147ffb08a http proxy support by setting NETWORK_PROXY variable
This should implement feature request in #919.
10 years ago
Ebrehem 19520f6d3b Update defaults.lua 10 years ago
chrox 11a8a1dce6 show file size and directory items in filemanager 10 years ago
Huang Xin e4ab31de31 Merge pull request #825 from WS64/master
Add last book screensaver for Kobo, also covers to book info screen
10 years ago
WS64 23db9ddcb0 Parameter to turn "last-book-screensaver" off 10 years ago
chrox fe14809bdf update mupdf and k2pdfopt to latest versions 10 years ago
chrox 30898a3cd8 config line space/font gamma values directly 10 years ago
WS64 8224cd714b Added a sedond library path 10 years ago
WS64 d72ff42a0d Can't convert false back to string in "set defaults", so the default needs to be a string 10 years ago
WS64 20d335befd Points to the picture(s) 10 years ago
WS64 7fb9940063 Added two light parameter for Kobo 10 years ago
NiLuJe e2efb230a6 Make the geometry of the minibar user-configurable
As well as the width of the toc notches
Lower the default value of the container size a bit to avoid eating into
the last line on small borders setup (I checked on 167 & 212 DPI
devices, Feel free to revert to the previous value (19) if that causes
trouble).
10 years ago
WS64 f25ff7a345 Add missing quotation marks in example and add option to turn on/off chapter markers in mini progress bar 10 years ago
WS64 d7739a25e6 Default = progressbar visible 10 years ago
WS64 32d96abc01 Add some parameters to define the search 10 years ago
WS64 0edbc0c6e4 Adde DCREREADER_TWO_PAGE_THRESHOLD 10 years ago
WS64 1c1adb83cd Added entry for battery status in mini bar 10 years ago
WS64 a8ba0247ed Add double click tap zones for going to next/prev chapter and switches for changed swipe behaviour 10 years ago
WS64 c32af15854 set DMINIBAR_ALL_AT_ONCE = false 10 years ago
WS64 ddf90f2391 Update defaults.lua 10 years ago
Markismus aaa84808e8 add persistent option for defaults.lua 10 years ago
Markismus 5d53d4c1d6 Update defaults.lua
Frontlight decrease of sensitivity for two-fingered pan gesture
10 years ago
chrox 1fd45c3903 add tap zone configuration for the minibar 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 19e50a1098 hinting one page by default
since reflowed page has a minimum height of screen height.
There are no more than two pages displayed on screen
simultaneously even in scroll mode.
10 years ago
chrox b1acbb2446 make overlap pixels configurable 10 years ago
chrox 4fcb39494c use mini progress bar by default 10 years ago
chrox 8b09ee7cf1 disable tap zone for config menu by default 10 years ago
chrox 904a5f1ebe calculate maximum global cache size from free RAM
In reflowing scroll mode with 2 pages hinting, 4 full page blitbuffers
and koptcontexts should stay well in cache in the most demanding cases,
with two pages shown on screen and two pages rendered in background.
Since blitbuffer size is halved the size of page, we need cache size
to be 6 times an average reflowed page size.

For Kobo Aura HD which has a resolution of 1440×1080, a reflowed page
could become 1080×4800. So 30MB of cache is demanded for this case.

This PR implements dynamic cache size allocating according to size of
system free memory. By default it will use 20 percent of free RAM with
a clip specified by DGLOBAL_CACHE_SIZE_MINIMUM and
DGLOBAL_CACHE_SIZE_MAXIMUM which are 10MB and 30MB respectively by default.
10 years ago
chrox 63ddc3dd04 tweaks on default page margins 10 years ago
Paulo Matias 9072a30cb5 Avoid off-limits dictionary title and make font size adjustable 10 years ago
chrox a5594e8e42 tweaks on default page margins with new punctuation calculation 11 years ago
chrox ae9b68e1b9 adjust default page margins 11 years ago
chrox 819fece802 add DLANDSCAPE_CLOCKWISE_ROTATION option in defaults.lua 11 years ago