Commit Graph

950 Commits (27148c3c8be8129d53ac44954eb4840c0f690d15)

Author SHA1 Message Date
chrox 55734f6aaa export highlighted rect in scanned page to Evernote 11 years ago
chrox 71eda7a0ca busted test for frontend 11 years ago
chrox 709755cd9e fix ffi.cast to uint32_t in ARM
I don't know if it's a bug in luajit but on an x86_64 CPU:
```lua
> = ffi.cast("uint32_t", 0xFFFFFFFFE) + 0
4294967294LL
```
while on an ARM CPU:
```lua
> = ffi.cast("uint32_t", 0xFFFFFFFFE) + 0
4294967295LL
```
11 years ago
chrox 31aebe1caf disable exporting hightlights to My Clippings 11 years ago
chrox 1cd7ee9501 remove newline when exporting highlight to My Clipping 11 years ago
chrox 3b1e05bb7f switch to setIntProperty api for setting page margins 11 years ago
chrox 6bf1a9d033 use setStringProperty method to set font face
This should fix #569.
11 years ago
chrox 8f982faa7b fix page to screen rect transform for highlighting 11 years ago
Huang Xin 4156b2edd0 Merge pull request #559 from Markismus/master
Return to Home screen for Kobo devices Mini, Touch and Aura
11 years ago
Markismus a153286f44 Kobo Frontlight Tweaks
Now the frontlight remains unchanged from Nickel to koreader and vice
versa.
Also ffi/kobolight.lua has been changed to allow for usage of the toggle
button in the filemanager.
11 years ago
chrox e1527611c5 show a box indicator when tapping on a link
only for PDF/DJVU docs for now since there is no easy way
to get link box from crengine
11 years ago
chrox 7000727cac center align message in notification 11 years ago
chrox 5b99b478b2 fix not fully filled items in filechooser
reported by mobileread user @ignacy
11 years ago
chrox 30e6b3529b hide Nimbus fonts in font selecting dialog 11 years ago
chrox ae3b84138e fix embeded css setting not persistent between launchings 11 years ago
chrox eeb81f1c39 persistent reader footer mode 11 years ago
chrox 877cff2933 invert button on tap 11 years ago
chrox 775e5ea3b4 serialize the most recently used blitbuffer/koptcontext
to speedup koreader startup for PDF/DJVU documents
especially when reflowing
11 years ago
chrox f9302cd17d fix recalculate from close document pageno 11 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.
11 years ago
chrox 34fd9f3efa add koreader plugin mechanism
This should implement #505.
11 years ago
chrox df65c1069a remove unnecessary DEBUG 11 years ago
chrox c6c4cbcab1 add dewatermark option for pdf/djvu documents 11 years ago
chrox 4a32f4415e use borderless flat bookmark/toc window 11 years ago
chrox ac396e3aa9 highlight current toc entry 11 years ago
chrox 47f986941f tap on reader footer to hide footer 11 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
11 years ago
chrox 714bc13720 fix wrong screen dpi on Kindle paperwhite 2 11 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?
11 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 11 years ago
chrox bd0ba69d08 reset configurable before loading new options 11 years ago
chrox 5157a67ce2 code refactoring 11 years ago
chrox 9f50393f35 replace paging and zoomming order in readerui 11 years ago
chrox 0385374c07 code refactoring 11 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>
11 years ago
chrox 560444c168 add fallback_font option in G_reader_settings 11 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.
11 years ago
danan72 e03c103364 Update language.lua 11 years ago
chrox 1b55339186 cleanup readerui init for pdf 11 years ago
chrox 0eee130f5a clipping page bbox 11 years ago
chrox b1acbb2446 make overlap pixels configurable 11 years ago
chrox cb757a9ddf fix missing page margin settings 11 years ago
chrox bae842540a get rid of several dirty hacks 11 years ago
chrox 68757794a2 fix conflicts of two finger swipe gesture for flipping mode and showing TOC/Bookmark 11 years ago
chrox 45ca50458b fix broken toggle frontlight on kpw2 11 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.
11 years ago
chrox 8e11a5bf6d fix page states not updated in scroll mode 11 years ago
chrox b26f040403 fix hinting beyond page range 11 years ago
chrox 0b2cc17b69 hold progress bar to show goto dialog 11 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
11 years ago