Commit Graph

516 Commits

Author SHA1 Message Date
Cosmin Gorgovan 3e656d71e0 WiFi manager bugfix: delete the cached psk when changing the password
Previously, the cached psk, which is derived from the password and
passed to wpa_supplicant, was not updated when changing the password.
2017-03-26 20:23:39 -07:00
Frans de Jonge 1e351e6b87 Menu: remove "Show advanced options"
See #2610 for discussion.
2017-03-26 11:12:44 +02:00
Frans de Jonge 99349173be TouchMenu [widget]: remove check for missing menu item 2017-03-26 11:12:44 +02:00
Frans de Jonge 8f31a81601 MenuSorter: some documentation
MenuSorter: forgot to add plugin style change

MenuSorter: worked out the final quirks

* Menu always compressed into tables without missing indexes for ipairs compatibility
* Orphans attached
* Separators no longer count as items
2017-03-26 11:12:44 +02:00
Frans de Jonge 5b20106db7 MenuSorter: initial implementation
* Menus are now sanely configurable
* Custom separator placement for clearer menus
2017-03-26 11:12:44 +02:00
Qingping Hou fc12ee6537 decouple reader footer from dictquicklookup widget & translation fix (#2664)
* chore: fix strings for translations

* dictionary(chore): decouple reader footer from dictquicklookup widget
2017-03-24 00:20:37 -07:00
Hzj_jie 8f4ec13841 Remove powerd:refreshCapacity() (#2671) 2017-03-24 00:18:03 -07:00
poire-z 39d1afe37d Update footer when refreshing screen with diagonal swipe
And added diagonal swipe support to readerrolling.
2017-03-20 11:19:14 -07:00
Qingping Hou ee0e337433 opds(fix): avoid infinite loop on paging 2017-03-19 15:09:57 +01:00
Robert 4f40250b88 Prompt users to turn on Wifi in Cloud Storage and OPDS Browser (#2650)
* prompt users to turn on Wifi in Cloud Storage and OPDS Browser
2017-03-18 13:49:28 +01:00
Robert dccbf4cf96 Fix crash when downloading books with unknown characters in title (#2628) 2017-03-15 00:59:42 -07:00
Frans de Jonge ce8f568486 Revert "TouchMenu: keep file/exit button on the right" 2017-03-04 09:35:08 +01:00
Adrian Sampaleanu fc5e8f1242 OPDS catalog: improve download dialog (#2445)
* Add action clarification to format download dialog

The format download dialog now has a title reflecting where a format will be downloaded with a prefix making it clear that choosing a format will download it.
2017-03-03 00:12:36 -08:00
Bastien Dejean f72514f99d Use a simple gray line to separate menu items 2017-03-02 22:36:06 -08:00
Frans de Jonge a9b969b58f TouchMenu: keep file/exit button on the right
References #2555.
2017-03-02 22:13:55 -08:00
Frans de Jonge d1785e1863 Reorganize menus
* Replace "home" (exit) menu with hamburger
* Discard pokeball and put items in hamburger
* Introduce search menu in reader

Cf. #2562
2017-02-26 13:50:59 -08:00
Qingping Hou 4fce69d18d bookstatus(minor): read setting only once 2017-02-26 07:38:52 +01:00
robert00s 8b95b8fd96 Fix #2176 - Wrong book's review and rating stars are shown 2017-02-25 22:35:19 +01:00
Frans de Jonge 1ed0ce0c21 FileManager: fix up arrow issue 2017-02-25 15:34:28 +01:00
Frans de Jonge 6458c8e9eb File Manager: rename to "KOReader File Browser" and add up arrow to ".."
This should make it clearer to new users what's going on. Fixes #2529.
2017-02-23 23:28:49 -08:00
Bastien Dejean ee54e127b1 FileManager: replace arrows by ellipsis to indicate cut-off long filenames 2017-02-20 18:08:28 -08:00
Bastien Dejean f0b63003e9 Use a smaller font to display the filename
More information regarding the file!
2017-02-20 19:39:23 +01:00
Hzj_jie 726b15ad01 More sorting orders in file manager (#2535) 2017-02-11 18:55:31 -08:00
Zijie He b502047635 Removing metadata file instead of purging .sdr folder 2017-02-08 10:38:24 -08:00
Frans de Jonge bec5f46245 Merge pull request #2524 from Hzj-jie/master2
Add characters in menu items to indicate sub menus
2017-02-08 10:43:40 +01:00
Hzj_jie 18117584c0 Resolve review comments 2017-02-03 20:26:47 -08:00
poire-z 56d1a26a8b ImageViewer: allow zoom with vertical swipe on sides
For devices without multi touch support, where pinch & spreak don't work.
2017-02-02 02:15:12 -08:00
Frans de Jonge 6257bae77f Language: mostly Wikipedia-related changes 2017-02-02 02:09:51 -08:00
Hzj_jie c33d1aa43b Use 25b9 instead of > 2017-02-01 19:52:47 -08:00
Hzj_jie fa848719ae > 2017-02-01 08:17:01 -08:00
Hzj_jie 98a86ba62f prepose plus signal 2017-02-01 07:46:35 -08:00
Hzj_jie c90a484d01 Add a + for menu items with sub menu 2017-02-01 07:34:51 -08:00
Hzj_jie f91ad679d9 swithItemTable -> switchItemTable 2017-02-01 06:26:06 -08:00
poire-z 7166efd777 ImageViewer: added zoom & pan via gestures
ImageWidget: removed 'autostretch' setting (replaced by scale_factor=0)
and renamed 'autoscale' setting to 'scale_for_dpi'.
2017-01-30 08:28:51 -08:00
Qingping Hou 9b7aba3fba fix: override readerhighlight hold in readerfooter
Also fix touch zone dependency graph generation code.

ReaderHighlight has now been migrated to use touch zone

Inputcontainer's touch event handling logic changed to only stop
propagation when handler returns `true`. Previously, it stops
propagation when a handler is found. This is needed to support
both readerhighlight_tap and tap_forward touch zones.
2017-01-30 05:53:44 -08:00
robert00s 0bbb4bbc16 Fix: missing letters from portuguese language 2017-01-26 01:03:16 -08:00
Frans de Jonge 399190c520 Merge pull request #2508 from NickSavage/master
OPDS: Fixed Wifi prompt and enabled removing default catalogs.
2017-01-24 16:05:02 +01:00
poire-z 2ded2bce5e Wikipedia: save full page as epub (html, with optional images)
Also for the current text-only wikipedia full page: replace
the ==s in section titles with some unicode symbols for a better
visual feeling of hierarchy. These same symbols are also used
in the .epub.
Both can be disabled by adding ["wikipedia_prettify"] = false
to settings.reader.lua

readerhighlight: close ButtonTable (like other buttons do) when looking
up wikipedia, otherwise if we save as epub, and swtich to new document,
this ButtonTable will never be closed and stays in UI.
2017-01-24 01:16:23 -08:00
Nick Savage 85585a0973 Fixed bug where only calibre OPDS catalogs would prompt to enable Wifi.
Tested on Kindle PW3. The error message my device threw was different from what was coded in OPDSBrowser.lua in getCatalog(). Perhaps we should test other devices and see if there are other error messages thrown as well.
2017-01-23 11:15:35 -05:00
Nick Savage ebb290f0ba OPDSCatalog: Normalize default and user-added catalogs
This patch makes the OPDS Browser treat the default catalogs (Project Gutenberg, Feedbooks, etc.) the same as a user-added catalog. This makes them removable and editable if the user so chooses.
2017-01-23 11:15:35 -05:00
Frans de Jonge 81bc115cee ImageViewer: "best fit" to "scale" 2017-01-22 05:00:14 -08:00
poire-z 97d34c5bb0 Better handling of tap on invalid/external links
Tap on external urls or invalid links would jump to
document's 1st page. We check first the validity of the
link, and deal with wikipedia links or just show the external
url.
ConfirmBox: allow dismissing/cancelling by taping outside,
to keep UX consistent.
2017-01-18 09:03:31 -08:00
poire-z ee06171c83 New ImageViewer widget + hold on image show it fullscreen
Simple image viewer with Best Fit/Original size and Rotate
(for landscape images) buttons.
readerhighlight: check if hold is on an image to show it
fullscrren
2017-01-18 09:03:31 -08:00
poire-z 0577fde59e Better tracking, management and freeing of BlitBuffers
This should fix the most obvious memory leaks (noticable when
using images as screensaver).
ImageWidget: added a few more options needed by ImageViewer,
and removed 'overflow' option as logic was wrong.
2017-01-18 09:03:31 -08:00
poire-z 130f7b0773 wikipedia: fix languages rotation and query
Fix innacurate language query and rotation when back from nested lookups.
More informative lookup message (langage used, search or full page)
Allow for screen refresh with diagonal swipe (like in readerpaging).
2017-01-12 19:50:12 -08:00
poire-z ebe0c08bfb dict/wiki: definitions' text justification
This can be disabled by adding ["dict_justify"] = false to settings.reader.lua
2017-01-12 19:50:12 -08:00
robert00s 7ff1731aab Fix #2326 2017-01-10 19:02:46 +01:00
Robert 7bfbc9f06a Sanitize filename for vfat, fix #2433 (#2464) 2017-01-09 16:05:15 -08:00
Qingping Hou f95ad00b9e feat: add logger module & rewrite kobo suspend script in lua 2017-01-02 19:52:09 -08:00
Hzj_jie 5bda44473d Add dictionary to filemanager 2017-01-02 10:12:34 -08:00