2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

5174 Commits

Author SHA1 Message Date
Qingping Hou
d16688c43c feat: show full menu on menu key for touch devices 2016-12-29 00:02:22 -08:00
Qingping Hou
cb195e9ce8 feat: support disable show file name in bold
also rename show_opened_doc_in_bold setting to show_file_in_bold
2016-12-29 00:02:22 -08:00
Robert
31218fa79e Skim to widget (New Go to page/location widget ) (#2460) 2016-12-28 23:27:48 -08:00
Alexander Pletnev
2bc1be9956 #2447 Perception expander plugin (Improve peripheral vision) (#2455) 2016-12-27 16:37:26 -08:00
Hzj_jie
ce6bc3df8d Implement keepalive plugin (#2456) 2016-12-27 02:03:11 -08:00
Frans de Jonge
9e9f4be5be Merge pull request #2454 from koreader/houqp-master
Make readerview extensible by plugins
2016-12-26 09:44:44 +01:00
Qingping Hou
ead5dfd9b4 readerview(feat): add registerViewModule method 2016-12-25 12:13:53 -08:00
Qingping Hou
0f931517ba doc: fix document build 2016-12-25 12:13:53 -08:00
Frans de Jonge
d4df82182c Merge pull request #2453 from koreader/houqp-master
feat: new setting to show opened book name in bold
2016-12-25 09:46:04 +01:00
Qingping Hou
dc2746f1d7 chore: various minor cleanups 2016-12-24 23:43:58 -08:00
Qingping Hou
36763a1ad7 feat: new setting to show opened book name in bold 2016-12-24 23:43:09 -08:00
Robert
957e8ce768 Add open last book menu item in file manager (#2450) 2016-12-24 22:36:46 -08:00
Frans de Jonge
4f64ac4b69 Minor language fixes
Unsubscribe from was suggested by Allan Nordhøy (kingu) on Transifex.
2016-12-22 01:39:47 -08:00
robert00s
ae9261b685 Fix #2440 2016-12-20 22:10:02 -08:00
Robert
187598deb2 Cloud storage - dropbox and ftp integration (#2424) 2016-12-19 23:34:00 -08:00
Hzj_jie
c662ca4cc8 Load plugins also in FileManager (#2426)
added is_doc_only plugin attribute
2016-12-19 23:19:54 -08:00
Frans de Jonge
1a83eb5725 Merge pull request #2438 from koreader/houqp-master
override reader menu touch zone with reader footer
2016-12-19 08:45:55 +01:00
Qingping Hou
d2743b6f15 fix: migrate readermenu to use touch zone 2016-12-18 20:28:13 -08:00
Qingping Hou
33367d3a6c inputcontainer(fix): update gesture range on screen resize properly 2016-12-18 20:28:13 -08:00
Frans de Jonge
d28b30ff82 Merge pull request #2436 from koreader/houqp-master
fix: migrate readerrolling to touch zones
2016-12-18 08:25:23 +01:00
Qingping Hou
070be5bfb1 fix: migrate readerrolling to touch zones 2016-12-17 16:01:47 -08:00
poire-z
5b2aee3c81 textboxwidget: added some sanity checks
fix #2434 and avoid strange things when holding from/to outside dimension.
Also fix crash when tap (move cursor) in an inputtext with no text at all.
2016-12-17 13:35:35 -08:00
Frans de Jonge
4e2836187b Language: fixed a couple of Transifex issues
https://www.transifex.com/houqp/koreader/translate/#nb_NO/koreader/102219198
https://www.transifex.com/houqp/koreader/translate/#nb_NO/koreader/102219164
2016-12-16 22:49:08 -08:00
poire-z
359c1ae265 textboxwidget: enhanced CJK text wrapping
(changes only in util.isSplitable(), but used by textboxwidget)
Implemented line breaking rules from :
https://en.wikipedia.org/wiki/Line_breaking_rules_in_East_Asian_languages
2016-12-16 22:38:10 -08:00
Frans de Jonge
0fb29e9cd3 Kobo: fix Kobo Aura second edition highlighting 2016-12-16 22:37:19 -08:00
poire-z
a8dd8c6f30 textboxwidget: even better text wrapping
util.isSplitable() accepts now also the previous char to help
decide if a space can be used to split a line.
TextBoxWidget:_splitCharWidthList() : simplified logic
2016-12-14 11:39:46 -08:00
poire-z
fe56ecd301 Clear readers' cache: invalidate in-memory references
This avoids crash on exit after clearing caches.
2016-12-14 11:39:46 -08:00
poire-z
65881738b5 disable-wifi.sh: decreased sleep duration 2016-12-14 11:39:46 -08:00
retrue
eae730d140 Some uppercase fixes (#2421) 2016-12-14 11:08:57 -08:00
Frans de Jonge
ba7377065e Doc: miscellaneous improvements. 2016-12-13 14:40:16 -08:00
Frans de Jonge
69f70ac16e Kobo: initial support for Kobo Aura second edition (Kobo star)
This fixes #2418.
2016-12-13 14:39:24 -08:00
Frans de Jonge
7f318c0762 Merge pull request #2416 from koreader/houqp-master
doc: event propagation for widgets
2016-12-12 09:21:24 +01:00
poire-z
1708fd5e1c Dictionary and wikipedia enhancements (#2393)
Stardict:
- remove duplicate results
- better cleaning of selection
- append results from a 2nd query of a 2nd set of dictionaries
  in data/dict_ext/

Wikipedia:
- use the search API for better results
- allow viewing the full page content of a result in a bigger window
- allow queries for multiple languages
- available languages can be set in settings.reader.lua :
    ["wikipedia_languages"] = {"en", "fr", "it"}
- "Wikipedia lookup" added to Tools menu

For both:
- allow selection of multiple words for a new lookup (so one can
  actually browse wikipedia)
- allow continuous reading with Tap
- display "current result / total number of results"

Details in #2393
2016-12-11 14:32:02 -08:00
poire-z
5040bfe4c5 textboxwidget and scrolltextwidget enhancements (#2393)
util: made isSplitable() accept an optional next_char
for wiser decision

textboxwidget: speed up rendering, enhanced text wrapping,
allow selection of multiple words with Hold.

scrolltextwidget: allow scrolling with Tap.

Details in #2393
2016-12-11 14:32:02 -08:00
Qingping Hou
09564d4b4d doc: event propagation for widgets 2016-12-11 12:20:59 -08:00
Qingping Hou
d1f9cf932b kobo(minor): add debug log for suspend action 2016-12-10 16:06:51 -08:00
Qingping Hou
744115de9f crash.log(fix): obviously I suck at counting zeros 2016-12-10 16:06:51 -08:00
Qingping Hou
11f55d2aff doc: Event and WidgetContainer 2016-12-10 16:06:51 -08:00
Qingping Hou
329fd55302 filemanager: show new books in bold 2016-12-10 16:06:51 -08:00
Qingping Hou
a6c506dc10 kobolight(refactor): move into plugin & only enable for kobo 2016-12-10 16:06:51 -08:00
Qingping Hou
0c49b915de refactor: add touch zone subsystem to inputcontainer
Touch zone decouples screen size from gesture event registration.

The win here is each individual widget does not need to update
gesture range on screen rotate/resize anymore.

Another advantage is we now have a centralized ordered array to handle
all registered touch event listeners, makes it much easier to resolve
gesture range conflicts between multiple widgets.

This patch also includes the following changes:

* migrate readerpaging to use readerui's touch zone
* migrate readerfooter to use readerui's touch zone
* move inverse read direction setting to touch menu's setting tab
* moved kobolight widget from readerview into readerui
* various dead code cleanups and comments
2016-12-10 16:06:51 -08:00
Qingping Hou
8799b4b6b1 doc: geometry module 2016-12-10 16:06:51 -08:00
Robert
93e075feb6 Adding the buttondialogtitle widget and show long filename in filemanager (#2414) 2016-12-10 16:06:10 -08:00
robert00s
e0ad600bc7 Fix: prevent step_min lower than fl_min 2016-12-07 00:36:13 -08:00
Robert
7e1c0c15c6 Refresh filemanager after exit from OPDS browser (#2405) 2016-12-05 10:17:49 -08:00
poire-z
ca59efc5b6 FileManager Menu: added "Developer options" (#2391)
and "Clear readers' caches" subitem.
2016-12-04 15:51:12 -08:00
poire-z
949e5ba54d FileManager: added button to purge sidecar directory (#2391)
Also move its sidecar directory when moving a file.
2016-12-04 15:51:12 -08:00
poire-z
0aa19d72a0 FileManager: show files with sidecar dir in bold (#2391)
docsettings : added hasSidecarDir() and made getSidecarDir() more robust
widget/menu : allow items to specify themselves to be displayed in bold
2016-12-04 15:51:12 -08:00
poire-z
efd6c7f556 Added "Swipe to follow first link" option (#2392)
Allow swipe west to jump to current page's first link (easier than clicking on small links)
Also fixed existing function names to comply with style guide.
2016-12-04 14:22:20 -08:00
poire-z
283429fe9b Network Info: prettier and additional infos (#2394)
Left alignment of existing infos.
Added SSID and default gateway ping result.
2016-12-04 12:03:11 -08:00