poire-z
2595dbb0ec
Add some settings to Display mode/Other settings menu ( #3129 )
2017-08-25 17:01:18 +02:00
Hzj_jie
b89435b432
Move PluginShare.backgroundJobs into PluginShare module ( #3128 )
2017-08-24 09:10:57 +02:00
kartoffelsalat
0dcdb2888f
[fix] Add libstc++-static package
to README ( #3125 )
...
Fixes #3069 and #3116 .
Add `libstc++-static package` as build prerequisite under Fedora to the README.
2017-08-23 13:35:03 +02:00
Frans de Jonge
bd096deab7
Bump base ( #3124 )
...
Fixes #3069 and #3116 .
* [fix] compile errors under Fedora due to -Werror (https://github.com/koreader/koreader-base/pull/500 )
2017-08-23 12:31:35 +02:00
poire-z
7284ad4bf7
Use checkmarks with Set render style items ( #3122 )
2017-08-22 18:30:21 +02:00
poire-z
5d2bebcc0b
Added Dictionary settings and Wikipedia settings menus ( #3121 )
...
Also removed OPDS `download_dir` from the candidates to Wikipedia
"Save as EPUB" dir.
2017-08-22 17:24:31 +02:00
Frans de Jonge
abaa699080
Bump android-luajit-launcher
...
* Sync LuaJIT with koreader-base at v2.1.0-beta2 https://github.com/koreader/android-luajit-launcher/pull/58
2017-08-21 16:26:22 +02:00
poire-z
9c08236b70
Update 'lastfile' if autoremove_deleted_items_from_history
...
For people who set autoremove_deleted_items_from_history to true,
file is removed from history when Deleted or 'Purge .sdr'. This also
update lastfile to the new top in history if needed.
2017-08-21 16:02:01 +02:00
Frans de Jonge
c8ab9183aa
[UX] ReaderUI: save/don't save document instead of yes/no
...
Brings it in line with UX guidelines.
2017-08-21 09:19:24 +02:00
Frans de Jonge
1f75bc645c
Bump base; fixes #914
2017-08-20 23:10:46 +02:00
Frans de Jonge
e23c2fd7ae
[fix] InputText: dirty dimensions
2017-08-20 21:39:00 +02:00
Frans de Jonge
4513718a2a
[fix] MenuSorter: ignore separator as first item
...
See https://github.com/koreader/koreader/pull/3107#issuecomment-323581851
2017-08-20 21:12:17 +02:00
poire-z
031df2ffee
Added PicDocument:getCoverPageImage() and :getProps()
...
So an image file can have a cover in coverbrowser's display.
It also allows for an alternative viewer (ImageViewer widget)
when holding on file / View full size cover.
2017-08-20 19:59:15 +02:00
Frans de Jonge
63241a20ea
[UX] Add CheckButton and use it for show password
...
Normal textinputs stay the same, password textinputs automatically gain a show password checkbutton underneath.
Thanks to @robert00s for the idea.
2017-08-20 11:44:15 +02:00
Frans de Jonge
9f3ec235ff
[fix] wbuilder crash
2017-08-20 11:44:15 +02:00
poire-z
a074876cc2
Added french keyboard
...
Same as std keyboard with only lowercase and uppercase letters layouts
adapted from QWERTY to the traditional french AZERTY layout.
2017-08-19 21:57:28 +02:00
Robert
a2320d2d9d
Prevent potential firewall problem with git clone ( #3094 )
...
The better solution might well be to do this locally, using either
```
git config --global url."https://".insteadOf git://
```
or
```
git config --global url."https://github.com ".insteadOf git://github.com
```
However, we don't live in an ideal world so this commit intends to lower the barrier to entry.
See https://stackoverflow.com/questions/16298986/unable-to-connect-to-github-com-for-cloning for more information.
2017-08-19 21:21:20 +02:00
poire-z
967a09c810
ImageViewer: make Hold (trigger full refresh) easier
2017-08-19 17:24:16 +02:00
poire-z
3cf419defa
Purge .sdr: also remove .old backup file
...
Otherwise, this .old backup is used when re-opening the document,
and we could never reset docsettings.
2017-08-19 16:49:52 +02:00
poire-z
3159548f3e
Avoid warning on input timeout on the emulator
2017-08-19 16:30:43 +02:00
poire-z
c3778bdb2a
Button and TextWidget: added max_width attribute
...
Simple way to ensure overlong text is truncated.
Used by dictquicklookup to truncate long titles.
2017-08-19 13:02:25 +02:00
poire-z
cf95f5e8d3
Ensure TextWidget's width and heigth are integer
...
And removed workarounds in coverbrowser plugin.
2017-08-18 23:01:37 +02:00
poire-z
b4e7dc947c
Added TextBoxWidget.has_split_inside_word flag
...
Used by coverbrowser's Text covers to choose the best font size.
2017-08-18 23:01:37 +02:00
Frans de Jonge
a8a7ebe1d4
[doc] some widget docs
2017-08-18 11:43:46 +02:00
Frans de Jonge
cda148e4b7
[UX] Add CheckMark and use in TouchMenu checkable indicator
...
Uses `✓` overlaid on `▢` to create the checkbox.
2017-08-18 11:43:46 +02:00
Frans de Jonge
7376c57ceb
[ci] after_success.sh: add --verbose flag to luacov-coveralls
2017-08-18 10:51:59 +02:00
poire-z
3dd18d2a3b
Fix "start with history" misalignment
...
due to a side effect with coverbrowser. CenterContainer is no
more needed as History is now full screen.
2017-08-18 10:37:46 +02:00
poire-z
3b5cd4c23b
CoverBrowser plugin: alt views for File Browser and History ( #2940 )
...
* CoverBrowser plugin: alt views for File Browser and History
* Added Prune cache and Compact cache menu actions
* Support for book descriptions, and settings stored in db
2017-08-17 19:34:36 +02:00
Frans de Jonge
7277059176
add unit test
2017-08-17 11:18:28 +02:00
Frans de Jonge
c8c4df2f31
[fix] util.isEmptyDir() crashes on non-existent dir
...
lfs.dir will crash rather than return nil if directory doesn't exist
Proper fix for 9f5e446701
which is nothing but a workaround. However, I do think creating more of those data dirs automatically is more user-friendly because otherwise Android users will have to look it up or guess.
2017-08-17 11:18:28 +02:00
Frans de Jonge
6bdb96c0f8
[UX] FileManager: add ConfirmBox for purge .sdr
...
Notified of destructive action without confirmation in https://www.mobileread.com/forums/showthread.php?p=3566978#post3566978
2017-08-17 08:54:10 +02:00
Zijie He
2ba079e3eb
Reserve last good docsetting
2017-08-17 08:50:15 +02:00
Frans de Jonge
1fd8989906
[ci] readerlink_spec.lua: #nocov on failing tests
2017-08-16 17:44:16 +02:00
Frans de Jonge
7b12954cad
[ci] #nocov on BatteryState
...
All tests fail while trying to do coverage.
2017-08-16 17:15:12 +02:00
Frans de Jonge
9ba69f4c4f
fix coverage
2017-08-16 16:32:21 +02:00
Robert
7f58a13626
Ability to setup clock ( #3085 )
...
* Ability to setup clock
2017-08-15 19:54:02 +02:00
Frans de Jonge
76a2dbc7c5
Bump base (LuaJIT to 2.1.0-beta3)
2017-08-14 22:57:11 +02:00
Frans de Jonge
16f8f7226e
[chore] util: deprecated string.gfind to string.gmatch
2017-08-14 22:39:38 +02:00
robert00s
ddd36d4150
Fix: Zsync -> Share this document crashes
2017-08-14 20:30:52 +02:00
Frans de Jonge
23cd585fae
Support history as default view for filemanager ( #3058 )
...
Fixes #2774
* make history view borderless
* add new menu for what to start with
Should combine nicely with #2940
2017-08-14 13:15:12 +02:00
robert00s
5e402419ed
Swipe down to close config menu
2017-08-14 12:59:54 +02:00
robert00s
6bded7aaf7
readerconfigmenu(fix): override pan gesture from scrolling
2017-08-14 11:24:40 +02:00
Robert
27c4e28e84
Fix: Cloud Storage not working on Kobo Aura ONE ( #3077 )
...
* Fix: Cloud storage opens in landscape mode when display is in portrait mode
Fix: If return is pressed when in root, koreader crashes
2017-08-13 12:57:19 +02:00
Frans de Jonge
74f3d6e820
Revert #3071 bump sdcv
...
Turns out it was merrily compiling for x86 instead of the intended architectures. Fixes #3075 but obviously needs follow-up.
2017-08-12 21:27:08 +02:00
Frans de Jonge
9f5e446701
[fix] DataStorage: create data/dict to prevent Android crash
...
```
08-12 14:32:17.325 9188 9216 E luajit-launcher: Failed to run script: frontend/util.lua:291: cannot open /storage/emulated/0/koreader/data/dict: No such file or directory
08-12 14:32:17.333 9188 9216 V threaded_app: android_app_destroy!
```
2017-08-12 14:39:02 +02:00
Frans de Jonge
16dd5170b8
Newsdownloader: add HTTPS support and fixes
...
* Fixes #3041 (HTTPS)
* Fixes unlimited (limit = 0) was broken
* Fixes titles and links with attributes
2017-08-11 21:02:21 +02:00
Marcin Mielniczuk
128d60a6d3
Fall back to ANDROID_NDK if NDK not set ( #3064 )
...
* Fall back to ANDROID_NDK if NDK not set
2017-08-11 17:28:54 +02:00
Frans de Jonge
8073a1d12f
Bump base (sdcv to upstream)
...
Should fix #2951
2017-08-11 16:42:10 +02:00
Frans de Jonge
7545d38198
fix: really skip en_US:us
in gettext.changeLang
...
`new_lang` isn't `en_US` but `en_US:en`
Also see https://github.com/koreader/koreader/issues/3069#issuecomment-321769322
2017-08-11 14:56:23 +02:00
Frans de Jonge
06d7eea507
[Kindle] Add support for Kindle PW3 "manga" model
...
Model number either `0LK` or `0LL`
See discussion in https://www.mobileread.com/forums/showthread.php?p=3565878#post3565878
2017-08-11 00:05:32 +02:00