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

1432 Commits

Author SHA1 Message Date
Qingping Hou
36763a1ad7 feat: new setting to show opened book name in bold 2016-12-24 23:43:09 -08:00
Qingping Hou
33367d3a6c inputcontainer(fix): update gesture range on screen resize properly 2016-12-18 20:28:13 -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
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
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
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
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
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
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
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
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
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
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
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
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
robert00s
2cfce6f369 OPDS - fix opds catalog for Wolne Lektury 2016-11-21 09:30:00 +01:00
Bastien Dejean
b959c4de1c Allow local overrides of use_lastfile_as_screensaver 2016-11-20 20:31:50 +01:00
Qingping Hou
b7cdf103e3 chore: fix luacheck error & add comment to release-ip.sh 2016-11-19 13:11:23 -08:00
Qingping Hou
17b453cd02 doc: add more doc for imagewidget 2016-11-19 12:15:27 -08:00
Bastien Dejean
64bc5cd63c Make the powered off state customizable
This changes the behavior of the powered off transition phase for the
Kobo devices: instead of displaying a confirmation dialog, a screensaver
is used after a 2 seconds press delay.

Users can specify separate directories/files/messages for the powered
off and sleeping states through the `path` and `message` attributes of
the `{poweroff,suspend}_screensaver` settings.

Fixes #2327 and closes #2306.
2016-11-18 12:54:00 -08:00
Bastien Dejean
fe738ef101 Don't try to return an element from an empty set 2016-11-17 14:12:31 +01:00
Qingping Hou
b2e1d9dc42 dictquicklookup(chore): simplify logic that disables wikipedia button 2016-11-13 00:06:54 -08:00
Frans de Jonge
b7671e9ae5 Merge pull request #2324 from koreader/houqp-master
update new OTA server & fix plugin check errors
2016-11-11 21:43:29 +01:00
robert00s
2238fdc882 Fix #2328 2016-11-10 12:21:42 +01:00
robert00s
09f2db3729 Fix long filename text in history textbox (#2322)
Fix long filename text in history textbox
2016-11-08 10:05:34 -08:00
Qingping Hou
8ff05707d2 ota: support legacy kindle devices 2016-11-08 00:53:46 -08:00
Qingping Hou
d6aa3b9c8c ota: add new default server 2016-11-07 21:17:01 -08:00
Qingping Hou
efae2ed16f network(fix): automaticallly obtain IP if network is already authenticated 2016-11-06 23:56:29 -08:00
robert00s
8a9811804d Add Polish keyboard (#2319)
Add Polish keyboard


* Optimization
2016-11-06 02:01:28 -08:00
Qingping Hou
816d0a551a kobo: handle charging/uncharging event 2016-10-30 15:25:51 -07:00
Qingping Hou
48c8470209 wpa_supplicant(fix): restore password bassed on SSID 2016-10-30 15:25:51 -07:00
Zijie He
f36f8cb464 KOSync plugin should respect onNetworkConnected and onFlushSettings events 2016-10-25 23:24:42 -07:00
Qingping Hou
ad711d8033 minor: show wifi scan error in UI 2016-10-17 22:28:13 -07:00
Frans de Jonge
6091378bc6 Various low-hanging language fruits
* Record to location, see https://github.com/koreader/koreader/pull/2268#issuecomment-252416860
* Defect size, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/11979947?issue=yes
* Stop publisher/subscriber, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031159?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031160?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031161?issue=yes
2016-10-17 10:19:33 -07:00
Qingping Hou
c998120a78 progressbar(performance): reuse calcauted value for ticks loop 2016-10-08 15:53:58 -07:00
Qingping Hou
ca21ab4be5 fix(defaults): type casting for user input 2016-09-21 23:57:45 -07:00
Qingping Hou
902403bf0a kobo(fix): prevent usb plug events from interrupting sleep 2016-09-21 23:32:56 -07:00
Qingping Hou
71afe3606c kobo(fix): set suspend wait timeout to 15 seconds
Otherwise, suspend might fail and the device will ended up in a false
sleep state and drain the battery.
2016-09-21 23:32:52 -07:00