Commit Graph

6121 Commits (5871132c2559f5456ca4b8398957a7e6832c190e)
 

Author SHA1 Message Date
onde2rock c6c740d1da [build] Remove kindle5 target (#3902) 6 years ago
Frans de Jonge f6f2670e87
bump base (#3907)
Includes:
* Adds Pic.openGIFDocumentFromData() https://github.com/koreader/koreader-base/pull/657
* [build] Remove the kindle5 target https://github.com/koreader/koreader-base/pull/650
6 years ago
poire-z d601eabc4a TextBoxWidget: optimize memory usage (#3904)
By reducing the number of data structures, and avoiding nested tables,
which seemed to impose a lot of work on the garbage collector.
6 years ago
onde2rock 941df475b6 [Menusorter] Ignore warning for the plus_menu. (#3903)
The plus_menu break the assumption of the menusorter about a tab beeing
always present.
See : https://github.com/koreader/koreader/pull/3844#issuecomment-383092219
6 years ago
NiLuJe 3cc9313cc6 Update OTA mirrors (#3901)
Drop outdated mirror
Relocate mine, and give them actually accurate name given their location
6 years ago
NiLuJe 2d713c55ce
Merge pull request #3900 from Frenzie/bump-base
bump base
6 years ago
Frans de Jonge c4811dcacc bump base
Includes:
* picdocument: fix rendering of animated GIFs https://github.com/koreader/koreader-base/pull/653
* [build] Some minor build tweaks https://github.com/koreader/koreader-base/pull/651
* [chore, CI] Update to latest Docker images https://github.com/koreader/koreader-base/pull/654
* [chore, Kobo] Deprecate Kobo always UTF8Filename() patch https://github.com/koreader/koreader-base/pull/655 (upstream integrated workaround for https://github.com/koreader/koreader/issues/542 previous fix in https://github.com/koreader/koreader/pull/3845)
6 years ago
NiLuJe 95bc5d7081 [fix] tar args order & Kobo IR grid regression (#3895)
* Fix order of tar args

Otherwise, current tar versions abort

* Unbreak Kobo IR grid resume workaround

Regression after f402ee5f6f

I'm going to assume my H2O is really, really weird, because that
commit's more than a year old o_O.
6 years ago
Ruoyu Sun 7f15b3a142 Fix the bug where "Press" key does not open config menu on Kindle 4 NT (#3898) 6 years ago
poire-z 9e4e71d630 coverbrowser: close sqlite db after init (#3897)
Don't keep a handle on bookinfo_cache.sqlite3 when
"Start with: last book"
6 years ago
poire-z 7f6aebe399
cre hyphenation: allow for setting min left/right fragment length (#3890)
When hyphenating a word, the existing algorithms enforced a minimal
length of 2 for each word fragments on left or right side.
This adds a widget to allow changing these minimal sizes (from 1 to 10).
6 years ago
Frans de Jonge 3223ae670f bump base for crengine (#3896)
Various improvements, mostly hyphenation.
6 years ago
poire-z 58f6352d60 Wiki saved as EPUB: stylesheet fix (#3894)
Removed width:80% as it was never supported by crengine (the effect
was achieved thanks to margins and paddings).
Wikipedia saved articles from now on won't be effected by a double
effect if we later add full support for width: into crengine.
6 years ago
Frans de Jonge 138cc0f497
[fix] Better fix for libSDL2-2.0.so.0 (#3893)
Systems with libSDL2.so seem to have libSDL2-2.0.so.0, but those without only have libSDL2-2.0.so.0
6 years ago
Frans de Jonge 1934ebd911
[fix] Build AppImage on more system configurations (#3892) 6 years ago
NiLuJe 3f92525ec7 Fix WiFi on Kobo (#3891)
Regression after bdb82d09c1
TL;DR: That thing is race-y as hell.

The more I play with Kobos, the more it feels like the whole thing's
held together by pieces of fraying strings...
6 years ago
NiLuJe a36407080b Don't use a square icon on Kobo (#3889)
We ship it for use with fmon, and that means it gets processed by
Nickel, which expects an optimal AR of 0.75
6 years ago
Frans de Jonge 698778f4d4 bump base for BB:dimRect/lightenRect: add missing bounds check when use_cblitbuffer (#3887)
Fix segfaults with highlights spanning multiple pages
6 years ago
Frode Austvik f12f317e9d [spec] Replace custom assert[Not]AlmostEquals with assert.is[_not].near (#3885)
Also, change "make static-check" to also check the tests.
6 years ago
Frans de Jonge 88dee4194d
[feat] SDL2: add window icon (new logo) (#3884)
Also update Ubuntu Touch icon

Fixes #2000, fixes #3858
6 years ago
onde2rock ed36173e38 [fix, build] release kindle5 and kindlepw2 (#3883) 6 years ago
Frans de Jonge 975a5834d7
[Android] Update icon to new logo (#3882)
Includes
https://github.com/koreader/android-luajit-launcher/pull/83

References
koreader/koreader-icons#1
koreader/koreader#3881
koreader/koreader#3858
koreader/koreader#2000
6 years ago
Frans de Jonge 4993d577e5
README: add new logo and links from koreader.rocks homepage (#3881)
References #3858 #2000
6 years ago
NiLuJe bdb82d09c1 [chore] A round of Kobo specific script cleanup (#3876)
* Flag those scripts as executable in git

Somewhat irrelevant because we'll end up living on a FAT32 drive, but,
still.

* Cleanup Kobo startup script

Support KFMon >= 0.9.5

Don't siphon PRODUCT from nickel, it's exported by rcS, so fmon/KFMon
already inherit it.
Siphon NICKEL_HOME, on the off-chance nickel fails to figure that one
out for itself on restart.
Siphon LANG (This may be a terrible idea, rcS sets LANG to en_US.UTF-8,
while we set LC_ALL to en_US.UTF-8, but I don't know if nickel itself
ever updates LANG, since I have mine set to en_US also ;)).
My secret hope if that everything's working as it should and this ensures
we default to Nickel's locale on fresh installs?

Remove the extra sync on startup, both @Baskerville's fmon and KFMon are
smart enough not to do anything overly stupid, and recent FW versions
have a slightly more resilient DB anyway (rollback journal -> WAL).
This effectively shaves over a second off our startup time.

* Slimmed down the nickel restart script.

Based on current rcS
Scrapped a bucketload of irrelevant & legacy crap, since we're never
bootstrapping nickel, only restarting it.

* Update Kobo install instrcutions.

Point to KSM09, @Baskerville's fmon, and KFMon.
Deprecate legacy fmon, and as such, stop shipping a useless KoboRoot
tarball.
6 years ago
onde2rock 2e094f97c9 [chore] Remove kindle4 from legacy target (#3879)
Same hardware/software as kindle5, see https://github.com/koreader/koreader-base/pull/640#issuecomment-379886833
6 years ago
Frode Austvik 58d9f5c0b3 [fix, spec] Stop the kobo_touch_probe test from causing problems for other tests. (#3877)
Previously, it caused problems because it was overriding G_reader_settings,
which caused the Translator test to fail on the second (but not first) run.
6 years ago
poire-z 82b13a64b0
Fix overlap in scroll mode for cre documents (#3870)
Use a setting 'copt_overlap_lines' (default to 1) for the
number of text lines from previous page to show on next
page (instead of a hardcoded and unscaled 20).
Take footer height into account for overlap calculation
and dim area.
Show overlap only when changing pages (not when panning).

Also fix ReaderFooter:getHeight() which was returning
a higher height than the real one since footer refactoring.
6 years ago
Frode Austvik 2dc508537c [fix] Update charpos in InputText after moving the cursor up/down. (#3874) 6 years ago
poire-z 46a2571d3f
Bump base/crengine: fix use of long hyphenation patterns (#3873)
And Automatic crengine rebuild on source changes
6 years ago
Frans de Jonge c16cfa0e59
[chore] platform/appimage/AppRun: remove debug flag (#3868)
Output is a bit verbose otherwise, see https://github.com/koreader/koreader/issues/3853#issuecomment-381098701
6 years ago
Frans de Jonge 666c9f1fcc
bump base for: [fix, build] AppImage use `-mtune=generic -march=x86-64` (#3867)
Fixes #3853.
6 years ago
Frans de Jonge 9fa493c0d3
[fix] AppImage advanced settings location (#3866)
Reported on the forum by roger64: https://www.mobileread.com/forums/showthread.php?t=296184
6 years ago
Frans de Jonge 88dad166f2
[fix] AppImage: use $XDG_DOCUMENTS_DIR if available (#3865)
Fall back to `pwd` otherwise.

Fixes #3861.
6 years ago
mwoz123 a6b824ed90 NewsDownloader: add date time to filename (#3863)
* Download all files from ftp server(Not only epub). Show failed download number

* add date and time to filename

* optimalization - decrese max redirect number

* remove new external lib from luacheck

* add new lib licence info
6 years ago
Frans de Jonge e66b4882dc
[fix] setupkoenv: change "ERROR" to "(warning)" (#3860)
Not all failures to load are fatal. I still worry that this might be too noisy but it'd be useful to always have available.
6 years ago
poire-z f63975d9db ReaderBack: allow for disabling back history (#3862)
Mostly useful for developers for quick launch & quit of
the emulator.
6 years ago
Frans de Jonge dd8e08fd00
[chore] Always io.write ffi.load error message (#3859)
As per https://github.com/koreader/koreader/issues/3853#issuecomment-380521086
6 years ago
Frans de Jonge fc2cb476a8
[chore] setupkoenv: output some info about library loading (#3857)
That way it's always available.

Refrences #3853
6 years ago
poire-z 305e75c5ea Wikipedia Save as EPUB: various encoding fixes (#3851)
* Wiki Save as EPUB: various encoding fixes

Fix display of & in article titles
Fix display of &, <, > in TOC entries and in targeted anchor (the mismatch
with the target id made these TOC entries invalid and simply not displayed).
Remove percent-encoded URLs tweaks for crengine now that crengine
correctly supports them (each percent encode handled as an UTF8 byte).
Bump crengine for that.
Don't include <meta name="cover"> when no cover present.

* bump base/crengine
6 years ago
probonopd 3585067796 [fix] Add Categories= key to koreader.desktop (#3854) 6 years ago
Frans de Jonge e39ed902e9
[build] AppImage: support creation in Docker container (#3852) 6 years ago
onde2rock 5aacc761e1 [UX] Implement back_to_exit option (#3838)
Also goes back to File Manager as default view first.
6 years ago
Frans de Jonge ab712f1a29
[feat] Build AppImage (#3850)
References #1417.
6 years ago
Frans de Jonge 0e61eb7a7b
[fix] Cache: don't overwrite same CacheItem (#3847)
If the most recently used global cache item refers to the same
page, it would be overwritten. This will happen when closing a
paged (PDF/DjVu) document on the same page you opened it, as well
as when opening and closing EPUBs with crengine because it uses
its own cache.

Fixes #3846.
6 years ago
onde2rock d7a7a78731 [fix] MenuSorter: don't leave ghost top level items (#3844)
See https://github.com/koreader/koreader/pull/3773#issuecomment-379181517
6 years ago
Frans de Jonge afb07a8ca7
bump base for [build] djvulibre: add Kobo always UTF-8 filenames patch (#3845)
https://github.com/koreader/koreader-base/pull/639

Fixes #542.
6 years ago
David Engster 7a28c7d7aa [fix, UX] frontlightwidget: More space for text and centering
Otherwise clock display will have a line break for low DPI (see issue
6 years ago
David Engster 7c527aa5dd [chg] kobo/powerd: Keep max. warmth 2h after bedtime (issue #3825)
Keep max. warmth for 2h after bedtime, and then start reducing for 2h,
so that 4h after bedtime we have reached zero warmth.
6 years ago
David Engster 33c8c36f7a [fix, UX] frontlightwidget: Reduce text for automatic warmth
Reduce text size because for larger fonts this would not fit into
widget's size (issue #3825).
6 years ago
David Engster cb0fadb80b [fix, UX] naturallightwidget: Reduce text size in button
'Save settings' was too large a string for larger fonts, so replace
with just 'Save' (issue #3825).
6 years ago