Commit Graph

1410 Commits

Author SHA1 Message Date
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
Qingping Hou 4036e2c460 kobo(fix): do not wake up device when cover is closed 2016-09-21 23:29:22 -07:00
Qingping Hou 93b3262db7 kobo(fix): make sure sleep cover is not interrupting sleeping when ignore_power_sleepcover is set 2016-09-21 23:29:22 -07:00
Qingping Hou 22964a77a0 kobo(fix): always put device to suspend state when cover is closed 2016-09-21 23:29:17 -07:00
Qingping Hou ebc7055b43 chore: move kobo specific code into kobo/device.lua 2016-09-19 01:10:53 -07:00
Zijie He 9b66bf1149 Restore WIFI state when koreader starts. 2016-09-12 11:53:42 -07:00
Hzj_jie da2c57f93a Automatically connect WIFI after Kobo has been resumed (#2215)
* Add bash scripts to control WIFI / IP, so we can share them with frontend/device/kobo/device.lua.

* add test cases
2016-09-01 00:05:40 -07:00
chrox b0498ec9b9 revert 9ab005a changes to UIManager:sendEvent
which would make readerui handle swipe event twice.

And use broadcastEvent to emit `FlushSettings` event.

This should fix #2225 and fix #2226.
2016-08-19 00:00:01 +08:00
chrox 166aa52a24 move painting and drawing debug log to verbose 2016-08-12 17:47:35 +08:00
chrox 9ab005a1d3 fix unit test of readerlink and readerpaging
and have more confidence with the unit testing framework.

Now `make testfront` won't retry on failure and testing files are
ordered in each run so that it's possible to reproduce testing failure.

And this patch also fix flush settings not working before suspend issue:
at some point the `FlushSettings` event is sent to `UIManager` instead
of `ReaderUI`, but `UIManager` only delegated events to active widgets
and `ReaderUI` is actually not an active widgets thus will miss the event.

This patch also add a verbose debug mode with "-v" as a switch to turn
on this mode. With verbose mode on, event handling will be logged.
2016-08-12 17:05:07 +08:00
bingo619 43797ed813 Oasis orientation 2016-08-02 19:43:16 +10:00
Qingping Hou ec6da5318c screensaver(fix): add back menu toggle to support screensaver folder 2016-07-31 18:26:26 -07:00
Qingping Hou 29578d74eb touchmenu(fix): reset page num before switching to sub menu 2016-07-31 18:22:41 -07:00
Hzj_jie ccbf8eac0c Add a network info page (#2187)
Add network info page
2016-07-26 21:32:13 -07:00
Qingping Hou 086dbdb657 scrolltextwidget(fix): add moveCursor method 2016-07-18 22:38:54 -07:00
Hzj_jie d4c31d683f Add a setting to disable save document (#2138)
* Add a setting to disable save document
* Add UI elements to control save-document settings
2016-07-14 10:38:00 -07:00
chrox 41c79407b9 diable double tap by default in the widget stack
This should fix #2141 and fix #2130.
2016-07-14 08:56:10 +08:00
Qingping Hou 4cdafedcc8 Merge pull request #2147 from koreader/houqp-master
move setDirty call from TextWidget:setText to FileManager
2016-07-13 10:52:32 -07:00
Huang Xin b8f23d162d filemanager(fix): refresh banner in filemanager insteand of TextWidget 2016-07-12 21:34:17 -07:00
Qingping Hou 20eb36a03d feat: add network management UI for kobo 2016-07-11 23:50:19 -07:00
Qingping Hou 44d62f6f41 networkmanager: move device specific code into device module 2016-07-10 23:25:32 -07:00
Qingping Hou a10a4f65a5 minor: use predefined color instead of gray method 2016-07-10 23:25:32 -07:00
Hzj_jie 273a0cb7ee We should set TextWidget.parent as dirty. 2016-07-07 22:38:24 -07:00