Commit Graph

5776 Commits (1ba316aff008354d0669ab7d0a36133c8d74af92)
 

Author SHA1 Message Date
poire-z 1e17e4c291 Fix crash when tapping on toggleswitch left or bottom borders (#3181) 7 years ago
Hzj_jie 12af617b46 Revert last change to autofrontlight.koplugin 7 years ago
Robert 2a0e424a17 Prevent crash on exit in scroll mode (#3171) 7 years ago
Frans de Jonge cfaa119c35 [fix, UX] Allow modal widget on top of modal widget (#3170)
Fixes #2653.
7 years ago
Frans de Jonge ba7fad2cdf [fix] Dict settings NaN in installed dicts submenu (#3173) 7 years ago
Frans de Jonge 829e2fffd8 [fix] MenuSorter: take care of orphaned submenus
See https://github.com/koreader/koreader/pull/3167#issuecomment-326805768
7 years ago
poire-z d4fd0b9428 frontlight on kobo: a few fixes (#3163)
* frontlight on kobo: a few fixes

Rewritten to not update NickelConf on every change, and never
if KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = false.
Reintroduce global settings frontlight_intensity and
is_frontlight_on to keep level and state across koreader
sessions.
Fix a few of the remaining issues on kobo light.
Ensure settings are saved when rebooting/powering off from
File browser.

* Ensure untoggle works when starting with light off
7 years ago
Robert dbaea8c1c8 Refresh Kindle with SO on exit (#3168) 7 years ago
Frans de Jonge 177485f84f [UX] Add exit menu (#3167)
* fixes #2898 (prevents accidentally triggering reboot or poweroff)
  Add ConfirmBox before reboot/power off
* increases clarity by preventing second page
* add "sleep" menu entry
* Add exit menu hold callback
7 years ago
poire-z c24d75f18c Fix use of default font with font-family: styles
Base bumped.
Previsouly, parts of document in <p style="font-family: serif">
would be rendered with the first font set, and would not
follow change of font (unline other texts without styles).
That was observable with Embedded Styles set to On, but is even
more noticiable with the new Embedded Fonts setting set to off.
7 years ago
poire-z 774d2345e0 Added Embedded Fonts config toggle
Just under the existing "Embedded Styles". Support for this
was already there in crengine, and interfacing is similar to
what is done with Embedded Styles.
7 years ago
Robert 40ec848098 Remove % from frontlight level on devices other than Kobo (#3162) 7 years ago
Robert 568e8f667a Fix: Crash when highlight a word (#3155)
* Fix: Crash when highlight a word

* reorganize highlight strings

* Remove redundant var
7 years ago
Robert a003b375c2 Fix: Remove primary key from page_stat (#3157)
* Fix: Remove primary key from page_stat

* Fix: Prevent crash on Reading progress when no data from last 7 days

* Add indexes
7 years ago
poire-z 6efcfce479 Fix "Info on dictionaries ordering" string for translation (#3156) 7 years ago
Frans de Jonge 103afea9e0 Bump base (#3154)
* Don't log if SVG image with no supported shape (https://github.com/koreader/crengine/pull/81)
* Add hyphenation dictionary for: Catalan, Galician, Norwegian, Turkish (https://github.com/koreader/crengine/pull/82)
7 years ago
Hzj_jie 1ff46a67b4 SwitchPlugin and BackgroundTaskPlugin with tests (#3137) 7 years ago
Frans de Jonge 199b6aba51 [fix] NetworkManager: check DNS from dns.msftncsi.com instead of www.example.com (#3150)
Sometimes www.example.com doesn't resolve. Fixes #3142.
7 years ago
Frans de Jonge a8d65aad35 [fix] Statistics: translation (#3151)
* [fix] Statistics: translation
7 years ago
poire-z cc26be4a17 Bump base/sdcv to work with utf8 -u params 7 years ago
poire-z d5924f1d3d Use multiple sdcv -u params instead of renaming .ifo 7 years ago
poire-z 6d8d202f3b Dict settings menu: list dicts, and allow disabling them 7 years ago
Robert aae809ba48 max_width in buttontable - prevent overlong text (#3145)
* max_width in buttontable - prevent overlong text

* fix max_width
7 years ago
Robert 7cec63e77a database name change to statistics.sqlite3 (#3147)
Clearer filename.
7 years ago
poire-z c6cfed92d7 Fix kobo fl_min and frontlightwidget (#3143)
* Put back fl_min=0 as it is for all other devices (the idea
fl_min should be 1 and toggling managed some other way is
not implemented in current code).
* Fix a few frontlightwidget issues
7 years ago
Robert 0e2d20353a Statistics plugin v2 (SQLite) (#2893) 7 years ago
poire-z efac2721bf Bump base (#3141)
crengine bump: fix parsing of long decimal values in css and
new Polish and French hyph dictionaries
base: added cre.setEmbeddedFonts() to make this crengine feature available
to koreader.
7 years ago
Frans de Jonge d931869ae3 [doc] RenderText:getGlyph() and truncateTextByWidth() (#3140) 7 years ago
Robert c78f6989b4 Fix: truncateTextByWidth() should respect kerning and bold (#3139) 7 years ago
poire-z 1ab2a542dd ImageViewer: fix rotation angle in landscape mode (#3136) 7 years ago
poire-z 17014f9281 Avoid settings double save when leaving Reader (#3131) 7 years ago
poire-z 2595dbb0ec Add some settings to Display mode/Other settings menu (#3129) 7 years ago
Hzj_jie b89435b432 Move PluginShare.backgroundJobs into PluginShare module (#3128) 7 years ago
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.
7 years ago
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)
7 years ago
poire-z 7284ad4bf7 Use checkmarks with Set render style items (#3122) 7 years ago
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.
7 years ago
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
7 years ago
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.
7 years ago
Frans de Jonge c8ab9183aa [UX] ReaderUI: save/don't save document instead of yes/no
Brings it in line with UX guidelines.
7 years ago
Frans de Jonge 1f75bc645c Bump base; fixes #914 7 years ago
Frans de Jonge e23c2fd7ae [fix] InputText: dirty dimensions 7 years ago
Frans de Jonge 4513718a2a [fix] MenuSorter: ignore separator as first item
See https://github.com/koreader/koreader/pull/3107#issuecomment-323581851
7 years ago
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.
7 years ago
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.
7 years ago
Frans de Jonge 9f3ec235ff [fix] wbuilder crash 7 years ago
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.
7 years ago
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.
7 years ago
poire-z 967a09c810 ImageViewer: make Hold (trigger full refresh) easier 7 years ago
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.
7 years ago