Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
When using .incbin, we forgot to zero-terminate. Add a -0 option to the
hexdump script.
|
|
Define PATH_MAX in the few files that use it, should it be missing.
|
|
|
|
This really should have been part of commit
5030ba7ebf7b3706ac065deef750d647570525b3
which changed most places where ucdn.h is used.
|
|
Replace fz_print_hash with fz_hash_for_each iterator.
Use string formatting callback.
|
|
|
|
|
|
|
|
PATH_MAX is Linux specific.
|
|
Also remove -I../../ucdn from the visual studio project.
|
|
|
|
This avoids altering the matrices previously given to the Text walker.
|
|
|
|
Previously to_Annotation() would fz_throw() upon errors,
but the code calling it couldn't handle that. Create
to_Annotation_safe() that does not throw and remove the
now unused to_Annotation().
|
|
|
|
|
|
|
|
|
|
|
|
Previously when a java exception was pending CallObjectMethod()
was called. This is not permitted and so the exception must be
cleared before this function is called.
Secondly if the method called by CallObjectMethod() throws an
exception this exception was left pending when fz_throw() for
unknown java errors was called. Later on jni_rethrow() would
be called which in turn called ThrowNew(). This is not
permitted either, so the pending exception must be cleared
if caused by the call to CallObjectMethod().
Because fz_throw_java() always ends with a fz_throw() it is
safe to assume that the pre-existing exception (or the one
caused by CallObjectMethod()) will always be converted into
a fz_throw(), which in turn will be converted back to a java
exception since all calls to fz_throw_java() are enclosed in
fz_try() where fz_catch() ends with calling jni_rethrow().
|
|
When NewStringUTF() throws an exception NewObject() may not
be called. Change to code to avoid this.
|
|
|
|
|
|
|
|
|
|
|
|
Remove AdobeCA.p7c from autogenerated files. Just include the
array in the source.
Simplifies makefile dependencies and makes the sizes of each
bit of data easier to look at.
It also paves the way for eventually using objcopy to create binary
objects for the fonts instead of needing to use hexdump.
|
|
|
|
|
|
|
|
Previously a too long line could be copied into the too short path buffer.
|
|
|
|
|
|
In keeping with the rest of the code.
|
|
It seems odd for a document writer to pass a device pointer
out, and then require it to be passed back in.
Hide that in the public API.
|
|
Call fz_append_string instead of fz_append_printf for static strings.
Call fz_write_string instead of fz_write_printf for static strings.
|
|
Rename fz_write to fz_write_data.
Rename fz_write_buffer_* and fz_buffer_printf to fz_append_*.
Be consistent in naming:
fz_write_* calls write to fz_output.
fz_append_* calls append to fz_buffer.
Update documentation.
|
|
|
|
|
|
Still need specialty tools for namedump and cmapdump.
|
|
|
|
When creating the GLFW window, filename was used as the title. That makes it
impossible to apply window manager rules based on class or instance since each
invocation gets a different string based on the filename.
|
|
|
|
|
|
If we have mutool depend on libluratech, then it won't build
when luratech is not installed.
If we don't have mutool depend on libluratech, then it won't
build the Commercial versions.
The basic problem is that dependencies in MSVC can't be dependent
on configuration.
Therefore, move the guts of mutool into libmutool, and have mutool
and mutool-lura projects that depend on it. mutool-lura can also
depend on libluratech.
mutool builds in non commercial configurations, and mutool-lura in
the commercial ones.
|
|
|
|
Better to have this defined at the system level
rather than scattered about in various files.
|