chrox
8430850a39
move k2pdfopt source to a submodule libk2pdfopt
...
Currently libk2pdfopt is staticly linked to kpdfview.
12 years ago
chrox
f70ef06ea6
use koptcontext to keep dozons of parameters for k2pdfopt
12 years ago
chrox
3a7535d350
add trim page option
12 years ago
chrox
f4e542306f
update K2pdfopt to the latest version 1.60
12 years ago
chrox
f7be331318
add defect size option
12 years ago
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.
12 years ago
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.
12 years ago
{Qingping,Dave} Hou
bd132ea2ad
Merge pull request #595 from houqp/new_ui_code
...
some minor tweaks before introducing gesture detection module
12 years ago
Qingping Hou
e3617676a1
fix deprecated debug call in credocument.lua
12 years ago
Qingping Hou
9a4d6d4a2e
Merge branch 'new_ui_code' of github.com:houqp/kindlepdfviewer into new_ui_code
12 years ago
Qingping Hou
262d742204
add back waitForInput timeout for emulator
12 years ago
Qingping Hou
85341d86b9
Merge branch 'new_ui_code' of github.com:houqp/kindlepdfviewer into new_ui_code
12 years ago
Qingping Hou
263c8bb110
add time subtable to lua inputevent table
12 years ago
Qingping Hou
36a4ead630
update document.lua according to API change in cre.cpp
12 years ago
Qingping Hou
818043752f
refine single tap touch input simulation in input.c
12 years ago
{Qingping,Dave} Hou
8784d20816
Merge pull request #534 from houqp/new_ui_code
...
rewrite emu mode input handling
12 years ago
Qingping Hou
ba60e641a9
add emu_event to clean target
12 years ago
Qingping Hou
e000bde0be
remove old comment in inputevent init
12 years ago
Qingping Hou
03595f8701
use os.remove instead of calling "rm" in os.execute
12 years ago
Qingping Hou
ad089c4930
delete unused macro in input.c
12 years ago
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.
12 years ago
Qingping Hou
9fca67b6cb
add back type casting when sending event to lua stack
12 years ago
Qingping Hou
c90e2ae797
delete dulplicate code
12 years ago
Qingping Hou
c96fc292f9
adapt inputevent.lua to new emu input implementaion
12 years ago
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.
12 years ago
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.
12 years ago
Dobrica Pavlinušić
43a6781a9c
Merge pull request #526 from houqp/new_ui_code
...
merge latest changes from master branch
12 years ago
Qingping Hou
df5ccc9530
add createInputEvent helper function
12 years ago
Qingping Hou
0b08992591
update djvulibre target dependence for LIBDIR
12 years ago
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).
12 years ago
Tigran Aivazian
87d0b94d9b
Mkdir clipboard at build, not runtime
...
Conflicts:
filechooser.lua
12 years ago
Tigran Aivazian
2bd8dd3389
build: mkdir libs if does not exist
...
Since we are doing this for emulator we might as well do this for normal
build too.
12 years ago
Dobrica Pavlinušić
581be526df
Merge pull request #517 from houqp/new_ui_code
...
merge latest changes from master branch
12 years ago
Qingping Hou
e2abd32606
gitignore cleanup
12 years ago
Qingping Hou
625de9b260
update pic.c from latest code
...
after lots of cherry-pick I found that for some strange reason,
pic.c is not updated and I cannot find out which commit I missed.
So I simply copied the latest pic.c from the master branch here.
12 years ago
Qingping Hou
6f6cb3c1a9
build: create libs-emu dir if not found
12 years ago
Tigran Aivazian
d4642a5df1
Build djvulibre as a shared library
12 years ago
chrox
0b2f89d830
add screen rotation in koptconfig
...
Conflicts:
koptconfig.lua
koptreader.lua
12 years ago
chrox
2c3b4fa968
add auto straighten option for scanned pages
...
Conflicts:
koptconfig.lua
koptreader.lua
12 years ago
chrox
148dc48556
add column detection in koptconfig
...
Conflicts:
koptconfig.lua
koptreader.lua
12 years ago
chrox
06f3c382ac
add font size option in koptconfig dialog
...
Conflicts:
koptconfig.lua
koptreader.lua
12 years ago
chrox
8424011286
cleanup: dst_justify is assigned according to both justification and
...
full_just
12 years ago
chrox
ddb46eeb41
merge justification and full justification to one option
...
Conflicts:
koptconfig.lua
koptreader.lua
12 years ago
Qingping Hou
75b1e716fe
rm koptconfig.lua for new ui branch
12 years ago
chrox
5294d178a0
add justification option in koptconfig dialog
...
Conflicts:
koptconfig.lua
koptreader.lua
12 years ago
chrox
72aeb42441
default dst_mar in k2pdfopt should be 0.06
12 years ago
chrox
ad4deb26be
add page margin and text wrap and contrast option in koptconfig
...
Conflicts:
koptconfig.lua
koptreader.lua
12 years ago
chrox
ce0b3acd6b
add config dialog for koptreader
...
For now only line spaceing and word spaceing are configurable with
'F'/'Aa' commands. And device size are passed to k2pdfopt in place of
the hard-coded default width and height(via @dpavlin).
Conflicts:
koptreader.lua
12 years ago
Tigran Aivazian
5c0201d3e3
Makefile: extr depends on MUPDFLIBS/THIRDPARTYLIBS
12 years ago
Tigran Aivazian
c0cd31be6d
Adjust the error message as well.
12 years ago