chrox
f70ef06ea6
use koptcontext to keep dozons of parameters for k2pdfopt
2012-11-26 21:57:23 +08:00
chrox
3a7535d350
add trim page option
2012-11-26 21:56:22 +08:00
chrox
f4e542306f
update K2pdfopt to the latest version 1.60
2012-11-26 21:55:49 +08:00
chrox
f7be331318
add defect size option
2012-11-26 21:55:26 +08:00
chrox
486207ce1b
add render quality option
...
Many users complained that the reflowing process is too slow. This is
rather a speed-quality dilemma. Trade-off can be made by decreasing the
dpi of source page. And by default quality is prefered.
2012-11-26 21:54:47 +08:00
chrox
19c0d282aa
add indentation option in koptconfig
...
By default the indentaion detection is enabled in K2pdfopt. This will
sometimes generate very poor reflowed page when there are sidenotes on
the page which would be treated as indentation. Disabling indentaion
detection will rescue the reflowed page from this situation.
2012-11-26 21:50:34 +08:00
chrox
f503e9c2df
bugfix: waitForInput should return error when select returns zero
2012-11-26 18:13:00 +08:00
Qingping Hou
ba3973b2ac
add all zoom modes support to reader menu
2012-11-26 15:30:24 +08:00
Qingping Hou
cf3cc65c03
fix bug in multi-level menu support
...
The size of framecontainer is not reset after content changed.
2012-11-26 15:25:28 +08:00
Qingping Hou
c701248a8d
rename Input:setTimeOut to Input:setTimtout
...
To keep consistent with Javascript setTimeout function...
2012-11-25 15:57:29 +08:00
{Qingping,Dave} Hou
bd132ea2ad
Merge pull request #595 from houqp/new_ui_code
...
some minor tweaks before introducing gesture detection module
2012-11-24 08:24:19 -08:00
Qingping Hou
e3617676a1
fix deprecated debug call in credocument.lua
2012-11-23 01:10:34 -05:00
Qingping Hou
a7b2215249
bug fix in time.lua
...
a crazy typo
2012-11-23 01:04:56 -05:00
Qingping Hou
324f67412a
fix bug in timer_callbacks scheduling & change variable name
...
watiEvent should stop checking timer_callbacks when execceds
wait timeout set by timeout_us.
2012-11-17 13:51:34 -05:00
Qingping Hou
d3e0424122
add setTimeOut method in inputevent.lua
...
adapt all the state machine to use setTimeOut. Now supported gestures
includes tap, double tap and hold.
2012-11-17 13:41:26 -05:00
Qingping Hou
b7e62491bc
Merge branch 'new_ui_code' into ges-detect
2012-11-16 18:57:29 -05:00
Qingping Hou
a8e4c6ed73
add setTimeOut method in inputevet and use it in gesturedetector
2012-11-16 18:55:13 -05:00
Qingping Hou
dfd697453b
add time module
2012-11-16 18:54:01 -05:00
Qingping Hou
f06afb798e
rewrite gesturedetector state machine
2012-11-15 19:58:01 -05:00
Qingping Hou
9a4d6d4a2e
Merge branch 'new_ui_code' of github.com:houqp/kindlepdfviewer into new_ui_code
2012-11-16 08:22:41 +08:00
Qingping Hou
262d742204
add back waitForInput timeout for emulator
2012-11-16 08:22:23 +08:00
Qingping Hou
63ab121778
Merge branch 'new_ui_code' into ges-detect
2012-11-14 22:16:45 -05:00
Qingping Hou
85341d86b9
Merge branch 'new_ui_code' of github.com:houqp/kindlepdfviewer into new_ui_code
2012-11-14 22:14:24 -05:00
Qingping Hou
263c8bb110
add time subtable to lua inputevent table
2012-11-14 22:12:00 -05:00
Qingping Hou
1fb10efc43
introduce state methods in gesturedetector
2012-11-13 01:12:01 -05:00
Qingping Hou
d4e5b4cb06
add readerpaging and readermenu touch support
2012-11-11 15:25:49 +08:00
Qingping Hou
04942f9d94
Merge branch 'ges-detect' of github.com:houqp/kindlepdfviewer into ges-detect
...
Conflicts:
frontend/ui/menu.lua
2012-11-11 14:32:36 +08:00
Qingping Hou
5e2537210f
remove comments in menu.lua
2012-11-11 14:30:35 +08:00
Qingping Hou
032a71cbc4
bug fix in single tap detection
2012-11-11 14:30:35 +08:00
Qingping Hou
3486ae7e09
first demo of gesture parsing
2012-11-11 14:30:35 +08:00
Qingping Hou
36a4ead630
update document.lua according to API change in cre.cpp
2012-11-11 14:29:56 +08:00
Qingping Hou
d8568520c0
bug fix in single tap detection
2012-11-11 14:19:07 +08:00
Qingping Hou
7514a5686a
first demo of gesture parsing
2012-11-11 01:02:05 -05:00
Qingping Hou
818043752f
refine single tap touch input simulation in input.c
2012-11-11 13:58:00 +08:00
{Qingping,Dave} Hou
8784d20816
Merge pull request #534 from houqp/new_ui_code
...
rewrite emu mode input handling
2012-11-05 14:08:50 -08:00
Qingping Hou
ba60e641a9
add emu_event to clean target
2012-11-05 13:36:50 -05:00
Qingping Hou
e000bde0be
remove old comment in inputevent init
2012-11-05 10:50:15 -05:00
Qingping Hou
03595f8701
use os.remove instead of calling "rm" in os.execute
2012-11-05 10:27:21 -05:00
Qingping Hou
ad089c4930
delete unused macro in input.c
2012-11-04 13:43:27 +08:00
Qingping Hou
02d48dee3d
use only one process for emu input event emulation
...
Seems that SDL is not thread-safe, so forking leads to some
strange bugs. Thus I switch back to one process implementaion.
2012-11-04 13:25:04 +08:00
Qingping Hou
9fca67b6cb
add back type casting when sending event to lua stack
2012-11-04 11:24:29 +08:00
Qingping Hou
c90e2ae797
delete dulplicate code
2012-11-04 11:20:28 +08:00
Qingping Hou
c96fc292f9
adapt inputevent.lua to new emu input implementaion
2012-11-04 11:19:31 +08:00
Qingping Hou
3be08ec515
use fifofile for emu event piping
...
Using fifofile to pipe event makes it possible for other programs to
feed KPV input events. One use case for this might be automated testing.
2012-11-04 11:18:42 +08:00
Qingping Hou
f2bd4666fc
rewrite input module for emulator
...
In order to use mouse to simulate touch input, we have to
generate multiple events on single SDL mouse click event.
It is every hard to achieve this in original implementaion
so I used pipe to fake a input dev as slider_watcher did.
2012-11-04 10:38:17 +08:00
Dobrica Pavlinušić
43a6781a9c
Merge pull request #526 from houqp/new_ui_code
...
merge latest changes from master branch
2012-11-03 14:38:23 -07:00
Qingping Hou
df5ccc9530
add createInputEvent helper function
2012-11-04 02:42:56 +08:00
Qingping Hou
0b08992591
update djvulibre target dependence for LIBDIR
2012-11-02 16:18:16 -04:00
Tigran Aivazian
6580291e3a
Link against libraries in libs and libs-emu
...
Instead of linking against the location inside the original build tree
we should link against the copy in a single place. This makes the build
code cleaner and more compact even now and will do even more so when we
build more libraries as shared (which is what I am going to attempt
next).
2012-11-02 16:15:47 -04:00
Tigran Aivazian
87d0b94d9b
Mkdir clipboard at build, not runtime
...
Conflicts:
filechooser.lua
2012-11-02 16:07:08 -04:00