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

5216 Commits

Author SHA1 Message Date
Hzj_jie
c90a484d01 Add a + for menu items with sub menu 2017-02-01 07:34:51 -08:00
poire-z
7166efd777 ImageViewer: added zoom & pan via gestures
ImageWidget: removed 'autostretch' setting (replaced by scale_factor=0)
and renamed 'autoscale' setting to 'scale_for_dpi'.
2017-01-30 08:28:51 -08:00
Qingping Hou
f402ee5f6f chore: remove all echo shell out in kobo resume routine 2017-01-30 05:53:44 -08:00
Qingping Hou
9b7aba3fba fix: override readerhighlight hold in readerfooter
Also fix touch zone dependency graph generation code.

ReaderHighlight has now been migrated to use touch zone

Inputcontainer's touch event handling logic changed to only stop
propagation when handler returns `true`. Previously, it stops
propagation when a handler is found. This is needed to support
both readerhighlight_tap and tap_forward touch zones.
2017-01-30 05:53:44 -08:00
Qingping Hou
0b9c9d6ddb test(chore): remove side effects 2017-01-30 05:53:44 -08:00
robert00s
0bbb4bbc16 Fix: missing letters from portuguese language 2017-01-26 01:03:16 -08:00
robert00s
042eb660e8 Can't display the doc name in Statistics page 2017-01-24 20:14:36 -08:00
Frans de Jonge
399190c520 Merge pull request #2508 from NickSavage/master
OPDS: Fixed Wifi prompt and enabled removing default catalogs.
2017-01-24 16:05:02 +01:00
poire-z
2ded2bce5e Wikipedia: save full page as epub (html, with optional images)
Also for the current text-only wikipedia full page: replace
the ==s in section titles with some unicode symbols for a better
visual feeling of hierarchy. These same symbols are also used
in the .epub.
Both can be disabled by adding ["wikipedia_prettify"] = false
to settings.reader.lua

readerhighlight: close ButtonTable (like other buttons do) when looking
up wikipedia, otherwise if we save as epub, and swtich to new document,
this ButtonTable will never be closed and stays in UI.
2017-01-24 01:16:23 -08:00
Nick Savage
85585a0973 Fixed bug where only calibre OPDS catalogs would prompt to enable Wifi.
Tested on Kindle PW3. The error message my device threw was different from what was coded in OPDSBrowser.lua in getCatalog(). Perhaps we should test other devices and see if there are other error messages thrown as well.
2017-01-23 11:15:35 -05:00
Nick Savage
ebb290f0ba OPDSCatalog: Normalize default and user-added catalogs
This patch makes the OPDS Browser treat the default catalogs (Project Gutenberg, Feedbooks, etc.) the same as a user-added catalog. This makes them removable and editable if the user so chooses.
2017-01-23 11:15:35 -05:00
Frans de Jonge
81bc115cee ImageViewer: "best fit" to "scale" 2017-01-22 05:00:14 -08:00
poire-z
8f6a38db69 Fix sidecar file name
Get back "metadata." part forgotten while refactoring.
2017-01-22 02:42:34 -08:00
poire-z
642cb8871b Fix for links clickable out of bounds
Fix #2412
base bummped with crengine bumped, including fix for segfault when
hold on list items.
2017-01-21 09:02:53 -08:00
Hzj_jie
529d1b3d33 evernote: ReadHistory integration and text file output (#2498) 2017-01-21 01:32:42 -08:00
Nick Savage
d33fee3a40 Statistics: Add percentage completed to Statistics plugin
Makes percentage completed easily accessible through the statistics plugin. It has always been accessible through the status bar, but not through the statistics menu.
2017-01-20 02:58:11 -08:00
poire-z
97d34c5bb0 Better handling of tap on invalid/external links
Tap on external urls or invalid links would jump to
document's 1st page. We check first the validity of the
link, and deal with wikipedia links or just show the external
url.
ConfirmBox: allow dismissing/cancelling by taping outside,
to keep UX consistent.
2017-01-18 09:03:31 -08:00
poire-z
ee06171c83 New ImageViewer widget + hold on image show it fullscreen
Simple image viewer with Best Fit/Original size and Rotate
(for landscape images) buttons.
readerhighlight: check if hold is on an image to show it
fullscrren
2017-01-18 09:03:31 -08:00
poire-z
0577fde59e Better tracking, management and freeing of BlitBuffers
This should fix the most obvious memory leaks (noticable when
using images as screensaver).
ImageWidget: added a few more options needed by ImageViewer,
and removed 'overflow' option as logic was wrong.
2017-01-18 09:03:31 -08:00
poire-z
d648d2b66c Added getImageFromPosition() and isXPointerInDocument()
Bump base (depends on koreader-base PR #470)
2017-01-18 09:03:31 -08:00
Zijie He
8549d98805 Add checked tag for keepalive plugin 2017-01-18 07:03:22 -08:00
Hzj_jie
9b605c95a0 Rename onSaveSettings to saveSettings 2017-01-18 06:33:49 -08:00
Frans de Jonge
9e14fcc748 Fix "line thick" typo to "line thickness" (#2482)
Thanks to @kingu on Transifex.
2017-01-15 07:02:25 -08:00
Nick Savage
5346bbc935 StorageStat: Improve output #2486
This improves the output a little of StorageStat to make it easily read.
2017-01-14 20:29:55 -08:00
robert00s
fe5379814d Ask for connection when clicking on Wikipedia 2017-01-14 18:33:55 -08:00
poire-z
130f7b0773 wikipedia: fix languages rotation and query
Fix innacurate language query and rotation when back from nested lookups.
More informative lookup message (langage used, search or full page)
Allow for screen refresh with diagonal swipe (like in readerpaging).
2017-01-12 19:50:12 -08:00
poire-z
ebe0c08bfb dict/wiki: definitions' text justification
This can be disabled by adding ["dict_justify"] = false to settings.reader.lua
2017-01-12 19:50:12 -08:00
poire-z
fc8d26ad89 Remove unnecessary PerceptionExpander:onSaveSettings()
All the explicite self:saveSettings() needed are done when needed,
and this onSaveSettings() made the file being rewritten unchanged on
each suspend/exit, and created even if people have never used the
plugin.
2017-01-12 19:10:52 -08:00
poire-z
5012fb79d3 Set hyphenation dict fallback with Hold
For documents without language defined in metadata (.txt, .html),
crengine would fallback to hardcoded English_US_hyphen_(Alan).pdb.
This allows for setting a different one.
2017-01-12 19:10:52 -08:00
robert00s
aa918c7773 Fix: wifi prompt in calibre wireless connection 2017-01-11 20:25:47 -08:00
Frans de Jonge
84c1c1d99e Merge pull request #2484 from robert00s/master
Fix #2326 (The file manager forgets the current page)
2017-01-10 19:48:42 +01:00
robert00s
7ff1731aab Fix #2326 2017-01-10 19:02:46 +01:00
Robert
7bfbc9f06a Sanitize filename for vfat, fix #2433 (#2464) 2017-01-09 16:05:15 -08:00
Hzj_jie
6b8ff76507 EvernoteExporter plugin can be docless 2017-01-09 00:58:19 -08:00
Hzj_jie
489b46dedb StorageStat plugin (#2475) 2017-01-08 01:38:24 -08:00
Hzj_jie
dbdce45129 Update statistics plugin to support docless mode 2017-01-08 01:14:22 -08:00
Qingping Hou
f95ad00b9e feat: add logger module & rewrite kobo suspend script in lua 2017-01-02 19:52:09 -08:00
Hzj_jie
5bda44473d Add dictionary to filemanager 2017-01-02 10:12:34 -08:00
Qingping Hou
81796fbfd3 build(fix): bump base for new zlib download url 2017-01-02 10:09:11 -08:00
Hzj_jie
f5601fe5ac Implement TimeSync plugin (#2459) 2017-01-01 10:29:29 -08:00
Qingping Hou
86e924aa45 ci(fix): run luacheck on plugins dir 2016-12-29 00:02:22 -08:00
Qingping Hou
581039aed5 opds(fix): unescape name and value 2016-12-29 00:02:22 -08:00
Qingping Hou
d16688c43c feat: show full menu on menu key for touch devices 2016-12-29 00:02:22 -08:00
Qingping Hou
cb195e9ce8 feat: support disable show file name in bold
also rename show_opened_doc_in_bold setting to show_file_in_bold
2016-12-29 00:02:22 -08:00
Robert
31218fa79e Skim to widget (New Go to page/location widget ) (#2460) 2016-12-28 23:27:48 -08:00
Alexander Pletnev
2bc1be9956 #2447 Perception expander plugin (Improve peripheral vision) (#2455) 2016-12-27 16:37:26 -08:00
Hzj_jie
ce6bc3df8d Implement keepalive plugin (#2456) 2016-12-27 02:03:11 -08:00
Frans de Jonge
9e9f4be5be Merge pull request #2454 from koreader/houqp-master
Make readerview extensible by plugins
2016-12-26 09:44:44 +01:00
Qingping Hou
ead5dfd9b4 readerview(feat): add registerViewModule method 2016-12-25 12:13:53 -08:00
Qingping Hou
0f931517ba doc: fix document build 2016-12-25 12:13:53 -08:00