2
0
mirror of https://github.com/koreader/koreader synced 2024-11-02 15:40:16 +00:00
Commit Graph

66 Commits

Author SHA1 Message Date
Qingping Hou
9857cfb93a defaults: change minimal cre font size to 12 2016-02-24 00:02:34 -08:00
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.
2016-01-11 23:30:22 +02:00
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.
2015-10-21 23:04:50 +08:00
chrox
8d7ebaff5d add external font dir option for Android 2015-06-06 17:22:09 +08:00
chrox
c7cac7b333 disable turbo lib by default 2015-06-02 13:07:17 +08:00
chrox
35abf4bfaf move minibar configurations to reader menu
and fix #1446 by adding progress percentage in minibar.
2015-03-12 14:35:49 +08:00
chrox
b767394fc2 fix #1150 by adding FOLLOW_LINK_TIMEOUT variable 2014-12-03 12:55:53 +08:00
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.
2014-11-16 19:27:31 +01:00
Frans de Jonge
c4f1687c22 Remove KOBO_LIGHT_OFF_ON_SUSPEND option and move workaround to ffi/kobolight.ua 2014-11-09 16:37:15 +01:00
chrox
3147ffb08a http proxy support by setting NETWORK_PROXY variable
This should implement feature request in #919.
2014-10-05 16:04:52 +08:00
Ebrehem
19520f6d3b Update defaults.lua 2014-09-27 12:59:33 +02:00
chrox
11a8a1dce6 show file size and directory items in filemanager 2014-09-10 13:27:15 +08:00
Huang Xin
e4ab31de31 Merge pull request #825 from WS64/master
Add last book screensaver for Kobo, also covers to book info screen
2014-08-23 15:27:21 +08:00
WS64
23db9ddcb0 Parameter to turn "last-book-screensaver" off 2014-08-21 22:31:47 +02:00
chrox
fe14809bdf update mupdf and k2pdfopt to latest versions 2014-08-19 12:11:49 +08:00
chrox
30898a3cd8 config line space/font gamma values directly 2014-08-19 12:11:49 +08:00
WS64
8224cd714b Added a sedond library path 2014-08-16 22:28:29 +02:00
WS64
d72ff42a0d Can't convert false back to string in "set defaults", so the default needs to be a string 2014-08-15 15:58:53 +02:00
WS64
20d335befd Points to the picture(s) 2014-08-14 22:16:52 +02:00
WS64
7fb9940063 Added two light parameter for Kobo 2014-08-12 13:09:22 +02:00
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).
2014-08-11 05:09:45 +02:00
WS64
f25ff7a345 Add missing quotation marks in example and add option to turn on/off chapter markers in mini progress bar 2014-08-09 08:52:20 +02:00
WS64
d7739a25e6 Default = progressbar visible 2014-08-07 20:23:11 +02:00
WS64
32d96abc01 Add some parameters to define the search 2014-08-07 09:13:27 +02:00
WS64
0edbc0c6e4 Adde DCREREADER_TWO_PAGE_THRESHOLD 2014-07-15 12:16:41 +02:00
WS64
1c1adb83cd Added entry for battery status in mini bar 2014-07-04 14:41:05 +02:00
WS64
a8ba0247ed Add double click tap zones for going to next/prev chapter and switches for changed swipe behaviour 2014-07-03 18:12:41 +02:00
WS64
c32af15854 set DMINIBAR_ALL_AT_ONCE = false 2014-07-02 14:47:07 +02:00
WS64
ddf90f2391 Update defaults.lua 2014-07-02 10:30:22 +02:00
Markismus
aaa84808e8 add persistent option for defaults.lua 2014-06-18 19:18:27 +02:00
Markismus
5d53d4c1d6 Update defaults.lua
Frontlight decrease of sensitivity for two-fingered pan gesture
2014-06-11 20:49:24 +02:00
chrox
1fd45c3903 add tap zone configuration for the minibar 2014-06-08 19:07:14 +08:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
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.
2014-03-09 16:48:13 +08:00
chrox
b1acbb2446 make overlap pixels configurable 2014-02-16 19:42:50 +08:00
chrox
4fcb39494c use mini progress bar by default 2014-02-12 15:43:52 +08:00
chrox
8b09ee7cf1 disable tap zone for config menu by default 2014-02-12 15:43:52 +08:00
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.
2014-01-19 11:40:34 +08:00
chrox
63ddc3dd04 tweaks on default page margins 2014-01-16 18:32:09 +08:00
Paulo Matias
9072a30cb5 Avoid off-limits dictionary title and make font size adjustable 2014-01-10 01:12:51 -02:00
chrox
a5594e8e42 tweaks on default page margins with new punctuation calculation 2014-01-08 15:27:42 +08:00
chrox
ae9b68e1b9 adjust default page margins 2014-01-07 21:38:26 +08:00
chrox
819fece802 add DLANDSCAPE_CLOCKWISE_ROTATION option in defaults.lua 2014-01-03 23:38:47 +08:00
chrox
d2f03c9f73 save page margins for credocument 2014-01-03 11:23:11 +08:00
chrox
210293b561 add floating punctuation option for crereader
Luckily after disabling floating punctuation left/right margin
are able to be same now (with large enough margins, should be
more than 1em). So I also changed the default page margins for
crereader and removed the dirty hack.
2014-01-03 02:07:32 +08:00
chrox
8b24c0a8e9 revert to previous margin sizes 2013-12-29 15:24:51 +08:00
chrox
b2cc4b5b73 tweaks on default margin sizes 2013-12-28 19:40:45 +08:00
chrox
1cbc6b9669 move crereader margin options into defaults.lua 2013-12-28 18:39:42 +08:00
chrox
ee8838960b add auto save settings option 2013-12-27 23:18:16 +08:00
chrox
42c5ae2ac0 add option to display file size in filemanager
file size is not shown by default
2013-12-19 23:20:16 +08:00