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

5143 Commits

Author SHA1 Message Date
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
poire-z
e1c3448d0e ImageWidget optimisations (#2394)
Avoid multiple renderings.
Don't cache big images (ie: screensaver images)
2016-12-04 12:03:11 -08:00
poire-z
2c01f3add9 Fix: dog ears disappearance when switching fonts (#2394)
or switching orientation, or some other page layout setting.
Reverted commit a049edd, which should be done better (see #2395).
2016-12-04 12:03:11 -08:00
poire-z
adbe76c156 Reset refresh rate counter on explicit full refreshs (#2394) 2016-12-04 12:03:11 -08:00
poire-z
0145ab0410 Fix: crash if wpa_supplicant has already connected (#2394) 2016-12-04 12:03:11 -08:00
poire-z
bbba2799a5 Fix: unexpendable TOC in some cases (#2394)
When on a page in a 2nd level section, after switching orientation,
TOC was stuck with the section we're in unexpandable.
2016-12-04 12:03:11 -08:00
poire-z
08a92de179 Fix: avoid system hang when disabling wifi (#2394) 2016-12-04 12:03:11 -08:00
cibersheep
922cd0fecf Update manifest.json
- Update to current framework

- "name": should match: «hooks name».«nickname»
2016-12-03 15:21:20 -08:00
cibersheep
14155c3662 Policy_version version bump 2016-12-03 15:20:43 -08:00
Robert
fdbab3e11d frontlightwidget(fix): prog_button does not honor powerd.fl_min (#2396) 2016-12-03 12:21:31 -08:00
Robert
64a79f6892 Frontlight progress bar (#2385) 2016-12-01 09:58:06 -08:00
Frans de Jonge
e9b6fa746f Merge pull request #2390 from sorganov/master
Make koreader more useful on high-DPI screen (PW3 300dpi)
2016-12-01 16:57:32 +01:00
Sergey Organov
3800a3077a DictQuickLookup:update(): strip all leading empty lines/spaces
This gets rid of sometimes huge spacing between a word and its
description taken from dictionary, and thus need for scrolling just to
read fisrs few lines of description.
2016-12-01 18:03:33 +03:00
Sergey Organov
48ff941764 Custom DPI: increase upper bound from 330 to 600
It's useful on 300dpi devices to get this value above 330 to enlarge
entire UI.
2016-12-01 18:03:33 +03:00
poire-z
4ec7efb2d0 Fix selection in dictionary window (#2126)
Fix #2126 (hold on a word on the 2nd page of a definition was triggering
lookup of the word at the same place in 1st page).
2016-11-30 10:36:30 -08:00
Frans de Jonge
ba1b9cf6c5 Merge pull request #2384 from baskerville/ka1-vp
Kobo Aura ONE: no viewport adjustments needed
2016-11-28 18:01:47 +01:00
Bastien Dejean
c71b176e0a Kobo Aura ONE: no viewport adjustments needed
Test image:
https://cloud.githubusercontent.com/assets/159419/20651651/5e344d1c-b4e9-11e6-8450-6fb165c792db.png

Fixes #2372.
2016-11-28 10:06:25 +01:00
Frans de Jonge
a13f55cfe8 Merge pull request #2383 from koreader/houqp-master
fix: disable network info menu when device is not connected
2016-11-28 06:35:27 +01:00
Qingping Hou
bd43e59fe7 fix: disable network info menu when device is not connected 2016-11-27 16:48:42 -08:00
Robert
171d40d287 feat: Would you like to read the downloaded book for OPDS (#2370) 2016-11-27 07:06:24 -08:00
Huang Xin
2859d8ee07 Merge pull request #2381 from Hzj-jie/master3
PR #2356 breaks CJK character splitting
2016-11-26 10:22:04 +08:00
Hzj_jie
9efc723388 PR #2356 breaks CJK character splitting 2016-11-25 16:46:56 -08:00
Dimitrios Semitsoglou-Tsiapos
2ed6cf760d Finish renaming utils to tools
Continues the work of 9afad43a3e
2016-11-25 14:43:08 -08:00
Huang Xin
b16a33a232 Merge pull request #2375 from koreader/houqp-master
readerpaging(fix): handle edge cases where paging pan will crash the reader
2016-11-25 10:27:33 +08:00
Dimitrios Semitsoglou-Tsiapos
b87ce7fe12 footer: update when toggling markers 2016-11-24 11:45:51 -08:00
chrox
fcb766784b fix build on OSX 2016-11-24 11:41:00 -08:00
Qingping Hou
2242751d4a build: fix automated documentation build 2016-11-24 02:23:25 -08:00
Qingping Hou
8e76ed4f0b fix: flush reader setting on change from filemanagermenu 2016-11-24 02:03:48 -08:00
Qingping Hou
cd24eb82d7 readerpaging(fix): handle edge cases where paging pan will crash the reader 2016-11-24 00:41:29 -08:00
retrue
529b365b11 Arranges alphabetically list of languages and
uses caps for first letter of language name.
I have left English in first place because it is the default language, but it could be placed between Deutsch and Español.
2016-11-23 02:03:47 -08:00
Bastien Dejean
cffb21f7be Add new setting: auto_book_status
Fixes #2363.
2016-11-23 01:52:19 -08:00
Frans de Jonge
80cf111fcf Merge pull request #2369 from robert00s/master
Change GoodReadsApi to GoodreadsApi
2016-11-22 10:38:01 +01:00