Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | Auto-generated mupdf C++ wrappers | |||||||
> > | Auto-generated C++ and Python APIs for mupdf. | |||||||
Status | ||||||||
Changed: | ||||||||
< < | As of 2020-4-28: | |||||||
> > | As of 2020-5-4: | |||||||
Changed: | ||||||||
< < |
| |||||||
> > | C++
| |||||||
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
Python
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
General
| |||||||
Comments | ||||||||
Line: 31 to 44 | ||||||||
Added: | ||||||||
> > |
mutool.pymudpdf:scripts/mutool*.py are a Python re-implementation of the mutool application. They do not use threads, or the include/mupdf/pdf/ functionality. | |||||||
FilesAuto-generated C++ headers and implementation files, plus test outputs (.html files have syntax-colouring): | ||||||||
Line: 48 to 69 | ||||||||
The generated Python module is tested by the (rather hacky) test_mupdfcpp_swig() function in mupdfwrap.py. For convenience, this function and its output can be viewed in https://ghostscript.com/~julian/mupdf/platform/python![]() | ||||||||
Deleted: | ||||||||
< < | In mupdfwrap.py:
| |||||||
Integration with mupdf git. | ||||||||
Deleted: | ||||||||
< < | In mupdf, have added various things: | |||||||
mupdf/ build/ | ||||||||
Changed: | ||||||||
< < | release-shared/ libmupdf.so [generated file] libmupdfcpp.so [generated file, implements C++ API] debug-shared/ | |||||||
> > | shared-release/ | |||||||
libmupdf.so [generated file] libmupdfcpp.so [generated file, implements C++ API] | ||||||||
Added: | ||||||||
> > | mupdf.py [generated file, implements Python API] _mupdf.so [generated file, implements Python API internals] shared-debug/ libmupdf.so libmupdfcpp.so [implements C++ API] mupdf.py [implements Python API] _mupdf.so [implements Python API internals] | |||||||
platform/ c++/ implementation/ | ||||||||
Line: 75 to 94 | ||||||||
mupdf/ *.h [generated files] python/ | ||||||||
Changed: | ||||||||
< < | mudf.py [generated file, implements Python API] _mupdf.so [generated file, implements Python API internals] | |||||||
> > | mupdfcpp_swig.cpp [generated by SWIG] mupdf_swig.i [generated by mupdfwraw.pynput to SWIG] | |||||||
scripts/ mupdfwrap.py jlib.py | ||||||||
Added: | ||||||||
> > | mutool.py mutool_draw.py | |||||||
Line: 98 to 119 | ||||||||
Changed: | ||||||||
< < | Have also added crude support for building mupdf as a shared object, which is required for integrating with the SWIG python module. At the moment, mupdfwrap.py drives this to build mupdf.so. | |||||||
> > | ||||||||
|