Age | Commit message (Collapse) | Author |
|
|
|
|
|
Rename HAVE_PTHREADS to HAVE_PTHREAD to match naming of other defines,
where the macro is named after the library that is linked.
|
|
|
|
Run 'make android' to invoke ndk-build with the proper arguments.
The results are placed in build/android.
|
|
|
|
|
|
Fixes bug 697337.
|
|
Only libcrypto is used to do checking of digital signatures.
The SSL library openssl is never used.
|
|
|
|
|
|
Now we use the openjpeg repo automatically generated from the
gs repo. Diffing the two shows mostly only whitespace diffs,
but just a couple of fixes too.
Also change Makefile logic not to check for a file that isn't
there any more.
|
|
Part of the change in this code is to require opj_malloc
and co. Sadly, opj_malloc and co do not take a context field,
so a we need to wrap calls to openjpeg with a lock.
I am reusing the freetype lock here for simplicity.
|
|
|
|
|
|
If thirdparty/luratech is populated then this decoder will be preferred
over jbig2dec (even if both are present).
|
|
|
|
|
|
|
|
Because of a shortcoming in harfbuzz, we can't easily force
all its allocations through our allocators.
We fudge it, with the addition of some macros to change
malloc/free/calloc into hb_malloc/hb_free/hb_calloc. To
prevent thread safety issues, we use our freetype lock
around calls to harfbuzz.
We stash the current context in a static var.
|
|
|
|
|
|
Keep the extra thirdparty libraries (curl and glfw) separate.
This matches the build process for android and win32.
Also purge some unused makefile sections.
|
|
In particular this takes on the Memento fixes for bug 696183.
|
|
The gzip functions need lseek, open, read, write, close.
Those functions are only defined in unistd.h is included,
so make sure that happens.
|
|
- added four zlib files to Makethird that contain functions needed
by the new version.
- added -Wno-implicit-function-declaration so these new files, which
contain some implicit declarations, would build for iOS
- added a section to Info.plist that holds the new API key, with an
invalid value that the release build script will fill in.
- changes to MuAppDelegate for the new version.
<log></log>
|
|
|
|
Add OpenGL text rendering using textured quads, instead of using glut bitmap fonts.
|
|
|
|
Allows compilation with -DFT_DEBUG_LEVEL_TRACE to track down buggy fonts.
|
|
This adds a custom memory management layer between libjpeg and the calling
app - in such a way that the code can be shared between mupdf and
Ghostscript/PDL.
|
|
|
|
Adds simpler choice of Javascript library to makefiles.
Will prefer in order: MuJS, JavaScriptCore, V8, none based
on HAVE_MUJS, HAVE_JSCORE, and HAVE_V8.
For simplicity, we build mujstest even with no javascript implementation.
|
|
Only -I the config header directory if building the thirdparty library,
not if using the system library.
Fix bug 694808.
|
|
The OpenJPEG in gs is v2, with various patches for fixes. These are in
the process of being passed upstream. We now automatically pull the
openjpeg tree out of GhostPDL and put it in as one particular branch
in the thirdparty/openjpeg.git repo. Change to track this in MuPDF.
This is in keeping with what we have been doing with the jbig2dec
repo for a while now.
|
|
Only build mupdf-x11-curl if the curl thirdparty library exists.
|
|
Windows and X11. Allows files to be fetched and displayed
as they are downloaded both with and without linearization, using
hints if available.
|
|
|
|
|
|
|
|
Link with 64bit by default.
|
|
|
|
Also sets the -DHAVE_OPENSSL flag.
|
|
|
|
|
|
|
|
|
|
Only evaluate pkg-config variables if using system libraries,
using a := assignment in Makethird.
This silences warnings if the library is in thirdparty but not
installed on the system.
|
|
|
|
jbig2dec latest
freetype 2.4.10
jpeg 9
openjpeg 1.5.0
zlib 1.2.7
Update MSVC projects for thirdparty libraries as submodules.
Improve thirdparty library availability checks in Makethird by
checking for the existence of a README file instead of just the directory,
since a checkout without active git submodules has empty directories
for the third party libraries.
|