Commit Graph

5151 Commits (359c1ae265659fe8d48158a4f387dd40fafbeaed)
 

Author SHA1 Message Date
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
8 years ago
Frans de Jonge 0fb29e9cd3 Kobo: fix Kobo Aura second edition highlighting 8 years ago
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
8 years ago
poire-z fe56ecd301 Clear readers' cache: invalidate in-memory references
This avoids crash on exit after clearing caches.
8 years ago
poire-z 65881738b5 disable-wifi.sh: decreased sleep duration 8 years ago
retrue eae730d140 Some uppercase fixes (#2421) 8 years ago
Frans de Jonge ba7377065e Doc: miscellaneous improvements. 8 years ago
Frans de Jonge 69f70ac16e Kobo: initial support for Kobo Aura second edition (Kobo star)
This fixes #2418.
8 years ago
Frans de Jonge 7f318c0762 Merge pull request #2416 from koreader/houqp-master
doc: event propagation for widgets
8 years ago
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
8 years ago
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
8 years ago
Qingping Hou 09564d4b4d doc: event propagation for widgets 8 years ago
Qingping Hou d1f9cf932b kobo(minor): add debug log for suspend action 8 years ago
Qingping Hou 744115de9f crash.log(fix): obviously I suck at counting zeros 8 years ago
Qingping Hou 11f55d2aff doc: Event and WidgetContainer 8 years ago
Qingping Hou 329fd55302 filemanager: show new books in bold 8 years ago
Qingping Hou a6c506dc10 kobolight(refactor): move into plugin & only enable for kobo 8 years ago
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
8 years ago
Qingping Hou 8799b4b6b1 doc: geometry module 8 years ago
Robert 93e075feb6 Adding the buttondialogtitle widget and show long filename in filemanager (#2414) 8 years ago
robert00s e0ad600bc7 Fix: prevent step_min lower than fl_min 8 years ago
Robert 7e1c0c15c6 Refresh filemanager after exit from OPDS browser (#2405) 8 years ago
poire-z ca59efc5b6 FileManager Menu: added "Developer options" (#2391)
and "Clear readers' caches" subitem.
8 years ago
poire-z 949e5ba54d FileManager: added button to purge sidecar directory (#2391)
Also move its sidecar directory when moving a file.
8 years ago
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
8 years ago
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.
8 years ago
poire-z 283429fe9b Network Info: prettier and additional infos (#2394)
Left alignment of existing infos.
Added SSID and default gateway ping result.
8 years ago
poire-z e1c3448d0e ImageWidget optimisations (#2394)
Avoid multiple renderings.
Don't cache big images (ie: screensaver images)
8 years ago
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).
8 years ago
poire-z adbe76c156 Reset refresh rate counter on explicit full refreshs (#2394) 8 years ago
poire-z 0145ab0410 Fix: crash if wpa_supplicant has already connected (#2394) 8 years ago
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.
8 years ago
poire-z 08a92de179 Fix: avoid system hang when disabling wifi (#2394) 8 years ago
cibersheep 922cd0fecf Update manifest.json
- Update to current framework

- "name": should match: «hooks name».«nickname»
8 years ago
cibersheep 14155c3662 Policy_version version bump 8 years ago
Robert fdbab3e11d frontlightwidget(fix): prog_button does not honor powerd.fl_min (#2396) 8 years ago
Robert 64a79f6892 Frontlight progress bar (#2385) 8 years ago
Frans de Jonge e9b6fa746f Merge pull request #2390 from sorganov/master
Make koreader more useful on high-DPI screen (PW3 300dpi)
8 years ago
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.
8 years ago
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.
8 years ago
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).
8 years ago
Frans de Jonge ba1b9cf6c5 Merge pull request #2384 from baskerville/ka1-vp
Kobo Aura ONE: no viewport adjustments needed
8 years ago
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.
8 years ago
Frans de Jonge a13f55cfe8 Merge pull request #2383 from koreader/houqp-master
fix: disable network info menu when device is not connected
8 years ago
Qingping Hou bd43e59fe7 fix: disable network info menu when device is not connected 8 years ago
Robert 171d40d287 feat: Would you like to read the downloaded book for OPDS (#2370) 8 years ago
Huang Xin 2859d8ee07 Merge pull request #2381 from Hzj-jie/master3
PR #2356 breaks CJK character splitting
8 years ago
Hzj_jie 9efc723388 PR #2356 breaks CJK character splitting 8 years ago
Dimitrios Semitsoglou-Tsiapos 2ed6cf760d Finish renaming `utils` to `tools`
Continues the work of 9afad43a3e
8 years ago
Huang Xin b16a33a232 Merge pull request #2375 from koreader/houqp-master
readerpaging(fix): handle edge cases where paging pan will crash the reader
8 years ago