Commit Graph

5455 Commits

Author SHA1 Message Date
Hzj_jie c8be27481c Fix synchronizing issue of Kobo front light between KOReader and nickel (#2977) 2017-06-21 19:10:44 -07:00
Hzj_jie b5c77af15c Typo in last change. (BasePowerD -> KoboPowerD) 2017-06-20 23:58:33 -07:00
Hzj_jie 05769872c7 Allow Kobo to entirely turn off the front light. 2017-06-20 23:57:18 -07:00
Hzj_jie d83de47204 Add onFrontlightStateChanged event (#2966)
So we do not need the hacky solution in KoboLight plugin anymore. PageFooter can receive and process the event itself.
2017-06-19 19:00:36 -07:00
Robert bd92d68b7f Remove Set default Fine Tuning (#2971) 2017-06-19 08:34:01 +08:00
Huang Xin 8938786472 [fix] stop propagation of tap events when triggering reader menu (#2934)
* [fix] stop propagation of tap events
when triggering reader menu
And also get rid of unnecessary screen refreshes on Kindle Voyage.
The "progress" window for dict lookup is also eliminated as most of the time dict lookup is an instant process, and the "progress" window is preserved for wikipedia lookup as it may take longer time to show the result window.

* [up] add an option to disable dictionary fuzzy search

* [fix] tidy up require

* [fix] fix read settings
2017-06-19 00:08:57 +08:00
Hzj_jie b680a3f940 Delete autofrontlight_spec.lua
It seems this file has been unexpectedly included in my change.
2017-06-16 23:29:46 -07:00
Hzj_jie bc487b7fe6 Force refresh when kindle is out of screensaver or usb is unpluged. (#2965)
* Force refresh when kindle is out of screensaver or usb is unpluged.

* unused variable warning
2017-06-17 11:57:57 +08:00
Frans de Jonge 28524a5847 ReaderUI: return to filemanager instead of quitting if no document (#2956)
This affects #2335, at least for documents covered by `validDjvuFile()` (see https://github.com/koreader/koreader/blob/76cef07c079e979de6aac6b540c9cc2b672b6f57/frontend/document/djvudocument.lua#L15-L23). However, that's only with regard to `touch invalid.djvu` and should not affect whatever happened in the OP.
2017-06-17 11:44:29 +08:00
Hzj_jie 63f2284f21 Fix several crash errors triggered by legacy code (#2962) 2017-06-15 15:27:04 -07:00
Hzj_jie 53eb4dee50 AutoFrontlight plugin (#2941)
* Add AutoFrontlight plugin

* Add configuration to control autofrontlight feature
2017-06-14 19:32:16 +02:00
Frans de Jonge ed0ba6737e test: add optmath spec stub (#2950)
* test: add optmath spec stub
2017-06-13 09:40:56 -07:00
Frans de Jonge 2096a27b65 test: add translator spec (#2953) 2017-06-13 00:11:43 -07:00
Frans de Jonge bbb80ab93a Travis: update shfmt to 1.3.1 (#2949) 2017-06-12 18:55:38 -07:00
Frans de Jonge 6870bc2996 Bump luajit-launcher
Includes
* Android fullscreen mode (fa9dd61)
* add lib file name without suffix as fallback (c139b54)
v2017.06.12-nightly
2017-06-11 15:47:57 +02:00
Frans de Jonge 011143bfe3 Bump base 2017-06-08 20:20:01 +02:00
alexandrahurst 71d38ac647 Refactor modifier keys and add basic Japanese keyboard layout (#2930)
* Add a basic Japanese keyboard layout

Allow for entring Japanese text into text boxes.  Only supports kana
and latin letters due to limitations of current VirtualKeyboard
implementation (complex text input with conversion is not possible).

* Allow keyboard layouts to declare custom modifiers

Refactor modifier key setup code and existing keyboard layouts so
that each layout can declare custom modifier key labels.  This
allows for greater extensibility and for future keyboard layouts.
2017-06-03 11:14:36 +02:00
chrox fef18ec73a [fix] revert removing tap gestures to show menus
as the tap gesture on the upper part (mostly) of the screen is
a conventional design to show menus in almost all ereaders as well as
some mobile phone apps. While users not farmilar with the Android world
have no experience with swipe down to show menus that's why we need a
quick start guide for this feature. And experienced Koreader users
probably will turn pages by mistake each time they want to popup the menus.

The solution here is adding back the tap gestures as they were and keep
the new swipe to show menu feature as a supplementary function when
link's tap area blocks menu's tap area.
2017-06-01 20:04:14 +02:00
Zijie He 0a02b529ae Remove BatteryStat:initCurrentState() 2017-05-31 22:21:35 +02:00
Frans de Jonge 750be8cc5a Revert "(chore) Remove storage satistics menu order leftovers (#2922)"
This reverts commit 8fc50335df.
2017-05-30 03:02:16 -07:00
Frans de Jonge 8fc50335df (chore) Remove storage satistics menu order leftovers (#2922)
Fixes #2921. Leftover from #2764.
2017-05-27 09:29:41 -07:00
Qingping Hou ed36ab3f9b language: remove out of date Russian translation 2017-05-24 10:55:58 +02:00
Frans de Jonge 6815959f06 ReaderView: add long-press to set default
Fixes #2915
2017-05-24 01:46:24 -07:00
Hzj_jie d4756d777f (chore)Fix A typo in BatteryStat plugin (#2912) 2017-05-21 10:44:53 +02:00
robert00s c749c42b4b Fix #2667 2017-05-21 00:35:45 -07:00
Hzj_jie cc020b901a Fix KOsync crash when closing document (#2911) 2017-05-21 08:36:41 +02:00
mwoz123 66b0c54d4d (chore) NewsDownloader: don't require restart for changing download directory (#2901) 2017-05-17 22:24:49 +02:00
Frans de Jonge 87049a8020 (minor) NewsDownloader: Koreader to KOReader 2017-05-16 22:49:09 -07:00
Hzj_jie 30378eb2a8 Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 2017-05-16 02:11:11 -07:00
Frans de Jonge 3492b8b117 (minor, lang) improve text clarity for downloadmgr dialogs (#2897)
It's not necessarily clear that you need to long-press, see https://www.mobileread.com/forums/showpost.php?p=3520376&postcount=7
2017-05-15 21:48:18 -07:00
Martín Fernández 474c011f21 [kobo]: add reboot and poweroff menu actions (#2888) 2017-05-14 09:43:08 -07:00
mwoz123 79830f3041 News Downloader: Select Custom download folder (#2886) 2017-05-14 01:46:12 -07:00
poire-z 9e346f5559 Allow wikipedia lookup from filemanager
Also allow taking screenshot when on dictionary window.
2017-05-12 19:10:26 +02:00
Qingping Hou b33c9268d2 build(fix): fail release command by default if make po failed 2017-05-11 03:23:13 -07:00
Qingping Hou bde2139b27 wifi(fix): quote ssid and password for wpa_passphrase 2017-05-09 09:43:47 +02:00
mwoz123 4eb8664c95 News downloader atom support (#2736)
* newsDownloader - atom support initial version

* NewsDownloader: update example feed config (use Reuters atom source)

* NewsDownloader: InfoMessage when unsupported urls

* NewsDownloader: update menu_item id

* NewsDownloader: change text label
2017-05-08 22:15:42 +02:00
Robert f21550b3d5 minor: translate "Save as epub" and "Close" in full Wikipedia window (#2875)
* translate save as epub and close

* epub to EPUB
2017-05-08 18:14:29 +02:00
Qingping Hou 6d3349d84b goodreads(fix): remove incorrect image_disposable setting 2017-05-08 02:39:51 -07:00
Qingping Hou 3541320cd2 goodreads(fix): double free 2017-05-08 09:55:02 +02:00
Qingping Hou 23c2955500 chore: style cleanup for infomessage 2017-05-08 09:38:48 +02:00
Robert 0b47c81b1a Add Greek keyboard (#2866)
* Add Greek keyboard

* Fix fix raw to row in comments
2017-05-07 13:28:01 +02:00
Frans de Jonge e7f4af1065 DevDocs: ui.downloadmgr 2017-05-06 18:25:24 -07:00
Robert 394be8a651 Remove run twice onPageUpdate() when document is opening (#2855)
* Remove run twice onPageUpdate() when document is opening
2017-05-06 19:54:31 +02:00
poire-z cca9c09bb4 Bump base/crengine for SVG images support
Parsing and rasterisation provided by nanosvg (some svg tags like text,
span and images are not supported).
Only svg image included as files in the .epub are supported
(embedded svg tags in html are not).
Holding on svg image shows it 4x zoomed in ImageViewer.
2017-05-02 17:28:48 +02:00
poire-z 3b813c761f Fix crash on Swipe to follow links with DJVU documents 2017-05-02 00:18:55 -07:00
Frans de Jonge 773e24fc79 (chore) some require sorting. v2017.04.30-nightly 2017-04-29 11:41:24 -07:00
poire-z 2dc604bb74 Allow for setting a default or fallback hyph dictionary
It makes no sense to have both, so setting a default removes
the fallback, and setting a fallback removes the default.
Also save hyph_alg to document setting only if it has been
manually chosen, so that later changes to default or fallback
can be used.
2017-04-29 14:48:42 +02:00
Frans de Jonge e1aa57f27e Font: unify font styling 2017-04-29 03:01:38 -07:00
Frans de Jonge 19928f2b1b KeyValuePage: smaller font and padding 2017-04-29 03:01:38 -07:00
Frans de Jonge 4616339ef8 KeyValuePage: improve looks
Fixes #2578.

* key bolded
* values normally left-aligned at 50%
* allows misalignment for the sake of fitting everything on one line
2017-04-29 03:01:38 -07:00