Commit Graph

16 Commits (09cd5c4104a8cbdd57e50b0252bfcec091327bcf)

Author SHA1 Message Date
HW 09cd5c4104 Make DEBUG a require()d local 11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
chrox 4660a3532b synchronize hightlights in non-/reflowing modes
and there is no need to OCR word if we can extract text from
original page in reflowing mode thanks to the rect maps between
normal page and reflowed page.
11 years ago
chrox 2b29c70250 fix Geom:combine when sizeof rect is zero 11 years ago
Qingping Hou b40be3d0f8 remove trailing white spaces 11 years ago
chrox 9ef581e69c add two_finger_pan_release gesture & some refactorings in tap state 11 years ago
chrox dc22370cf1 bugfix: intersected geom should be initiated with a fresh copy of self 11 years ago
Qingping Hou f3452234ea add math.lua, move all math related helpers in to it 11 years ago
chrox a1aa41136c add manual page crop for pdf/djvu documents 11 years ago
Qingping Hou c8d43cd33c add Input:eventAdjustHook(ev)
so we can adjust input event for KT on the fly.
the touch input event coordinates in KT ranges from 0-4095
instead of the screen size.
12 years ago
Qingping Hou ae1c489a0f implement full pageturn by viewport for all modes
* add notIntersectWith method for Geom
* add math.roundAwayFromZero in geometry.lua
* Readerview:recalculate now signals ViewRecalculate event.
  For now, this event is only usefull for ReaderPaging
12 years ago
Qingping Hou 7b707ab367 add usedbbox support 12 years ago
Qingping Hou 3486ae7e09 first demo of gesture parsing 12 years ago
HW ce5614ef6f cleanup, also removal of G_* constants
a bit of cleanup, switched width/height combo over to use
Geom() objects, moved framebuffer handling to Screen object,
callback syntax sanitizing, lots of small changes
12 years ago
HW 60ccd7441e fixed menu info displaying, replaced debug() by DEBUG()
the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
12 years ago
HW 9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
12 years ago