Commit Graph

5410 Commits (773e24fc79c8cbf6dcf48e3678237861149aabef)
 

Author SHA1 Message Date
Frans de Jonge 773e24fc79 (chore) some require sorting. 7 years ago
poire-z 2dc604bb74 Allow for setting a default or fallback hyph dictionary
It makes no sense to have both, so setting a default removes
the fallback, and setting a fallback removes the default.
Also save hyph_alg to document setting only if it has been
manually chosen, so that later changes to default or fallback
can be used.
7 years ago
Frans de Jonge e1aa57f27e Font: unify font styling 7 years ago
Frans de Jonge 19928f2b1b KeyValuePage: smaller font and padding 7 years ago
Frans de Jonge 4616339ef8 KeyValuePage: improve looks
Fixes #2578.

* key bolded
* values normally left-aligned at 50%
* allows misalignment for the sake of fitting everything on one line
7 years ago
Frans de Jonge ea9fa95a54 util.lua: fix lfs require in isEmptyDir()
Pointed out by @poire-z ed7937f65d (commitcomment-21956632)
7 years ago
Frans de Jonge bb70ae9eaf Dev docs: some widgets 7 years ago
Frans de Jonge ed7937f65d ReaderDictionary: add info message about installing dictionaries
Fixes #2816.
7 years ago
Frans de Jonge fa12f488e8 Fix garbled ImageWidget cache issues
Fixes #2805. Thanks to @poire-z, see https://github.com/koreader/koreader/issues/2805#issuecomment-296686695
7 years ago
Frans de Jonge b3a93d1456 Travis: update shfmt to v1.3.0 (#2821)
* Travis: update shfmt to v1.3.0

* better error message

* fix kodev problem & fix slightly broken formatting
7 years ago
poire-z 495accfec9 Reduce memory leaks when switching credocuments
CRE cache, hyphdict and fonts can be initialized only once
when first credocument is opened. Previously, they were
recreated for each document, and as previous instances were probably
not free'd, this caused memory leaks.
7 years ago
poire-z 96ea2ece96 Bump base/crengine for no more line wrap on no-break-space
Includes: framebuffer_linux(fix): compare pointer properly in mmap assert
7 years ago
Qingping Hou 55ec64a859 readermenu(fix): override pan gesture from scrolling 7 years ago
Frans de Jonge 1850ebca0d (chore) koreader.sh: remove 32-bit workaround
Final fix for #2502.
7 years ago
Qingping Hou 9af25cf20c kobo: bump base for 32bit framebuffer fix 7 years ago
Qingping Hou bdd0392a45 ota(fix): use gun tar in ubuntu touch and pocketbook 7 years ago
Qingping Hou 72ae80870c quickstart fix (#2804)
* translation text fix

* quickstart(fix): go back to home dir after document close

* quickstart(fix): purge old quick start files

* spec: fix quickstart tests
7 years ago
Qingping Hou 6f037cec30 ota(fix): do not create 0 size installed file if index is missing 7 years ago
Qingping Hou d1cc3bd6c2 ota(fix): always purge ota update files 7 years ago
Qingping Hou 76e427cbb4 kodev: add device simulation option for run command (#2802) 7 years ago
a-kohout 870c4d3859 Update koreader.sh; fixes #2791
tar fails to apply permissions on fat32 filesystem. thus mv doesn't get executed and consequently OTA package gets applied on every launch.
7 years ago
poire-z a05f23d8fe Really disable double tap when 'disable_double_tap' is set
Closes #1594
7 years ago
poire-z 76f6b49731 Fix crash with kopt semi-auto crop on blank page
When such blank page has only a few black pixels (dust), it would result in
a really small cropped area, than when scaled to fit screen, would cause a
crash with :
    ./ffi/mupdf.lua:63: could not allocate pixmap:
         malloc of array (451342 x 612558 bytes) failed (integer overflow) (1)
Fix similar to what is done in KoptInterface:getAutoBBox(): when cropped area too small,
fall back to whole page (or here: to user's manually set area).
7 years ago
Frans de Jonge a192178bf6 Version spec: slight improvements 7 years ago
Qingping Hou 8df1e14b6f plugin(fix): catch crash with pcall in event handlers 7 years ago
Qingping Hou f2671a3e20 plugin(fix): catch crash in addToMainMenu 7 years ago
Qingping Hou fd862f5e28 plugin(fix): catch plugin crash at init time 7 years ago
Robert 16192d2354 Pinch gesture for changing font size (#2768)
* Pinch gesture for changing font size
7 years ago
mwoz123 d6c81f5097 Simple News (RSS/Atom) downloader plugin (#2592)
* Simple News (RSS/Atom) downloader plugin
* Limit news from sources
* new News Downloader menu entry - goto news dir
* Initial configuration logic
* Download each feed source to separate folder
* 2 feed sources in example config
7 years ago
Qingping Hou a1ec64b3ed chore: skip en_US in gettext.changeLang 7 years ago
Qingping Hou 4a2ef591b7 tweak quick start guide formatting 7 years ago
Qingping Hou 8c4ea789de bump base for android build fix 7 years ago
Frans de Jonge 21622b5da8 Spec: Wikipedia stub 7 years ago
Frans de Jonge 76c7747171 l10n README.md: update client configuration URL 7 years ago
Frans de Jonge 89099e2c94 Swipe for menu and quickstart guide (#2761)
* Swipe for menu and quickstart guide

Because swiping for the menu is a big change from what we're used to, this commit includes a new quickstart guide.

Fixes #2608.

* add some dev docs
* add FileConverter spec
* add QuickStart spec
* add Version module
* add Version spec
7 years ago
Frans de Jonge 6542382a0c Travis: `git fetch --unshallow` for version number
Travis only makes a shallow clone of --depth=50. KOReader is small enough that we can just grab it all. This is necessary to generate the version number, without which some tests will fail.

I'm not entirely sure why something like `git fetch origin master tags/v2015.11` doesn't do the trick, but it doesn't matter much.
7 years ago
Qingping Hou 1922b2526b fix: normalize require path to reuse import result 7 years ago
Hzj_jie 999898fa69 Merge various information into systemstat (#2764)
* Merge various information to systemstat
7 years ago
Frans de Jonge 108ed374b3 Docs: dump & random 7 years ago
Frans de Jonge 96d4adb34c Docs: DocSettings (#2763) 7 years ago
Robert 9a247e86ae Screensaver on Kindle without Special Offers (#2757) 7 years ago
robert00s 7872bd3bc1 Fix: Frontlight level in Status bar in Kobos without light 7 years ago
Frans de Jonge 485295657c Docs: fix typo in listview.lua example 7 years ago
Frans de Jonge 0eec5b5174 Simplify koreader.sh
`-C "${KOREADER_DIR}"` isn't needed, see https://github.com/koreader/koreader/issues/2752#issuecomment-293698136.
7 years ago
Frans de Jonge 9b2128ecb8 FileConverter added with local Markdown to HTML conversion (#2737)
* FileConverter added with local Markdown to HTML conversion
7 years ago
Frans de Jonge c847d628e1 Docs: cosmetic updates and additions
* Content from wiki had some cosmetic leftover glitches
* Added/adapted some docs for other modules
7 years ago
Frans de Jonge 5de8310aa6 Kobo (koreader.sh): install OTA update in working directory
Thanks to @a-kohout

Fixes #2752
7 years ago
Frans de Jonge e8c01274f4 Travis: enforce shellscript coding style
* enormous coding style update

* update luajit-launcher

All changes are formatting only except for:

* new more correct pushd/popd style
	* keeps useful indentation
	* prevents execution of commands when pushd failed (cf. https://github.com/koalaman/shellcheck/wiki/SC2164 and https://github.com/koalaman/shellcheck/issues/863)

```
pushd some_dir && {
    command1
    command2
} || exit
popd
```
7 years ago
Qingping Hou f51285e89b revert code that enables screensaver on kindle by default 7 years ago
Qingping Hou 15fd7fc0ff bring back support for disabling progressbar in footer (#2753)
* footer(optimize): remove dead code

* footer(fix): disable auto refresh time option when current time is not checked

* fix: support disable progress bar again
7 years ago