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

5229 Commits

Author SHA1 Message Date
Frans de Jonge
bec5f46245 Merge pull request #2524 from Hzj-jie/master2
Add characters in menu items to indicate sub menus
2017-02-08 10:43:40 +01:00
Hzj_jie
65e2d6630f Use small triangle 2017-02-07 20:38:34 -08:00
Frans de Jonge
3ea18208d7 Removed deprecated Confirmbox option cancel_on_tap_outside = true 2017-02-04 07:25:56 -08:00
Frans de Jonge
67a6eb271d Language: Would you like to read this Wikipedia %1 article?
Discussion on https://www.transifex.com/houqp/koreader/translate/#nb_NO/koreader/106518021

@Frenzie Second option is I came to too. Very consistent and nice.
by kingu, 6 minutes ago

Let's see, I'm not entirely happy with the phrase. Here are a couple of brainstorms.

Would you like to read the full version of this Wikipedia EN article?

Would you like to read this Wikipedia EN article?
by Frenzie, an hour ago

@kingu It's the language code, such as EN, FR, etc.

http://imgur.com/u1q6tT4l.png
by Frenzie, an hour ago

ISSUE
What is %1 here?
by kingu, 3 days ago
2017-02-04 07:25:56 -08:00
Hzj_jie
18117584c0 Resolve review comments 2017-02-03 20:26:47 -08:00
Frans de Jonge
d4d6e99474 Update base
Includes czmq glibc 2.24 workaround.
2017-02-02 05:49:25 -08:00
poire-z
56d1a26a8b ImageViewer: allow zoom with vertical swipe on sides
For devices without multi touch support, where pinch & spreak don't work.
2017-02-02 02:15:12 -08:00
Frans de Jonge
6257bae77f Language: mostly Wikipedia-related changes 2017-02-02 02:09:51 -08:00
Frans de Jonge
187ef61821 Merge pull request #2523 from Hzj-jie/master
swithItemTable -> switchItemTable
2017-02-02 09:06:38 +01:00
Hzj_jie
c33d1aa43b Use 25b9 instead of > 2017-02-01 19:52:47 -08:00
Hzj_jie
fa848719ae > 2017-02-01 08:17:01 -08:00
Hzj_jie
98a86ba62f prepose plus signal 2017-02-01 07:46:35 -08:00
Hzj_jie
c90a484d01 Add a + for menu items with sub menu 2017-02-01 07:34:51 -08:00
Hzj_jie
f91ad679d9 swithItemTable -> switchItemTable 2017-02-01 06:26:06 -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