Commit Graph

932 Commits (f9302cd17d297e1d48a41b1162c6f66467864bde)

Author SHA1 Message Date
chrox f9302cd17d fix recalculate from close document pageno 10 years ago
chrox 5c1d5c3314 add Evernote plugin to export highlights and notes
The "My Clipping" file that storing highlights and notes for Kindle
native readers could also be parsed and exported. The parser is
implemented in `evernote.koplugin/clip.lua`.

Parsed highlights and notes in one book will be packed and rendered
into html node with a slt2 template `note.tpl` that complies with
evernote markup language(ENML).

Finally the evernote client will create or update note entries and
push them to Evernote cloud.
10 years ago
chrox 34fd9f3efa add koreader plugin mechanism
This should implement #505.
10 years ago
chrox df65c1069a remove unnecessary DEBUG 10 years ago
chrox c6c4cbcab1 add dewatermark option for pdf/djvu documents 10 years ago
chrox 4a32f4415e use borderless flat bookmark/toc window 10 years ago
chrox ac396e3aa9 highlight current toc entry 10 years ago
chrox 47f986941f tap on reader footer to hide footer 10 years ago
Qingping Hou 4b357c1466 move reader code into frontend/apps/reader
it makes more sense to completely separate the UI framework and
application code

also move frontend/ui/configurable.lua to frontend/configurable.lua
10 years ago
chrox 714bc13720 fix wrong screen dpi on Kindle paperwhite 2 10 years ago
Markismus 7e26047af4 The last code changes resulted in crashes. Now they don't and it the fine tuning is improved.
It changes `steps` in line 13 for better finetuning,
`rate` in line 22 so that it has a nil value for `Kobo_phoenix'
and delta_int in line 48 to the last know working syntax.

Could someone check whether line 22 does result in 3.0 for non-phoenix devices?
10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox bd0ba69d08 reset configurable before loading new options 10 years ago
chrox 5157a67ce2 code refactoring 10 years ago
chrox 9f50393f35 replace paging and zoomming order in readerui 10 years ago
chrox 0385374c07 code refactoring 10 years ago
Markismus 175721a185 UPDATE readerfrontlight.lua
Code is added to switch between Kobo Aura (Phoenix) and others.

`ReaderFrontLight`, `self.ges_events` and the `function ReaderFrontLight:onAdjust` are now different for Kobo Aura. This enables me to do a two-fingered-pan over approx 1/4 Screenheight to change from full on to full off.

The difference to the default implementation is that both the `rate` and the `msg` are omitted and the `steps` are different.

FURTHER ROOM FOR IMPROVEMENT: It would be an improvement to get a final message after the two-fingered-pan is done stating the achieved setting.

Signed-off-by: Markismus <zulde.zuldemans@gmail.com>
10 years ago
chrox 560444c168 add fallback_font option in G_reader_settings 10 years ago
chrox 21b0b24b14 fix input timer queue
if new timer has a timeout later than a timer in queue, the
new timer will be discarded and never be pushed into timer queue.
This is fixed by pushing new timer without timeout checking
and then sorting the queue according to timer timeouts.

This should fix #520 and #495.
10 years ago
danan72 e03c103364 Update language.lua 10 years ago
chrox 1b55339186 cleanup readerui init for pdf 10 years ago
chrox 0eee130f5a clipping page bbox 10 years ago
chrox b1acbb2446 make overlap pixels configurable 10 years ago
chrox cb757a9ddf fix missing page margin settings 10 years ago
chrox bae842540a get rid of several dirty hacks 10 years ago
chrox 68757794a2 fix conflicts of two finger swipe gesture for flipping mode and showing TOC/Bookmark 10 years ago
chrox 45ca50458b fix broken toggle frontlight on kpw2 10 years ago
chrox 11ec22c33b dirty hack to fix wrong zoom level
This hack is to rescue wrong zoom level after removing unnecessary
`self:handleEvent(Event:new("SetDimensions", self.dimen))` at the
end of ReaderUI initialization which otherwise would confuse crengine
with two different dimens and would cause inconsistent reading progress.
10 years ago
chrox 8e11a5bf6d fix page states not updated in scroll mode 10 years ago
chrox b26f040403 fix hinting beyond page range 10 years ago
chrox 0b2cc17b69 hold progress bar to show goto dialog 10 years ago
chrox f21d34f682 add two finger swipe gestures for showing TOC and bookmarks
two_finger_swipe to east is for TOC
two_finger_swipe to west is for bookmarks
10 years ago
chrox 4fcb39494c use mini progress bar by default 10 years ago
chrox 9f507e6447 add 'full/mini' options for progress bar of crereader 10 years ago
chrox c0c33a3050 automatically set css according to file extention
even when embeded style sheet is on.
10 years ago
chrox 19b3d10d8c fix wrong xpointer when changing screen orientation 10 years ago
chrox b42b4ed204 save highlight to pdf document 10 years ago
Paulo Matias 1410860a2c One more setting to preserve in floating punctuation workaround 11 years ago
chrox 79b8f776d1 protected call of getWordFromPosition 11 years ago
chrox 22c437c393 fix init koptcontext with all zero bbox 11 years ago
Qingping Hou 648e0bb302 add missing gettext for buttondialog 11 years ago
Paulo Matias 1982e1154f Refresh current path in filemanager after file operation
This behavior is more consistent when e.g. a file is moved to ".."
11 years ago
Paulo Matias 6c68041824 If selected file is a directory, paste inside it 11 years ago
Paulo Matias e9421d0aa5 Add option for deleting history entries and refactor dialogs
- Refactor FileDialog and HightlightDialog into ButtonDialog
- Create a new ButtonDialog when a file in the History dialog is hold,
  offering an option to delete the history entry.
11 years ago
Paulo Matias 706526738b Save hyphenation algorithm as cre document setting
and add hyphenation restore to floating punctuation toggle workaround
11 years ago
Paulo Matias 5caba3f95a Cleanup link_states and fix a rare highlight bug 11 years ago
chrox 8abd8a8a1f loading KoptInterface only in pdf and djvu reader
This will save 4MB RAM in crereader which otherwise will load
liblept.so.3 and libk2pdfopt.so.2 automatically for nothing.
11 years ago
chrox 98f1c90d87 make dictionary title, toggle option and button text bold 11 years ago
chrox 24ed02bbee add bold property for text rendering 11 years ago
chrox bfff863861 fix cannot highlight hyphenated words in crereader 11 years ago