Age | Commit message (Collapse) | Author |
|
"0.00-70" should be parsed as one token, not two tokens as we did.
|
|
In general, we should use 'const fz_blah' in device calls whenever
the callee should not alter the fz_blah.
Push this through. This shows up various places where we fz_keep
and fz_drop these const things.
I've updated the fz_keep and fz_drops with appropriate casts
to remove the consts. We may need to do the union dance to avoid
the consts for some compilers, but will only do that if required.
I think this is nicer overall, even allowing for the const<->no const
problems.
|
|
|
|
Makes valgrind somewhat usable (glfw and xlib still leak plenty of
global objects at exit).
|
|
|
|
|
|
|
|
It's slower, but will work for CJK fonts as well.
|
|
|
|
|
|
|
|
stm.avail_out is only set if !only_metadata.
Reverse the order of the if tests to silence valgrind.
|
|
Keeps operations in the int domain as long as possible,
and only resorts to floats if required.
|
|
|
|
|
|
Add a caching table for the lower planes of unicode, which cover the
latin, greek, cyrillic, hebrew and arabic scripts.
|
|
|
|
|
|
js_pcall was leaving crap on the stack in case of errors.
AFSimple_Calculate needs access to the doc object, but cannot use the
usual 'this' binding since it's a function. Add a global reference to
the doc object MuPDF_Doc.
|
|
Remove strcpy and strtok calls when matching class conditions.
|
|
|
|
|
|
|
|
|
|
|
|
During pdf_save_document the main performance bottleneck is the formatting
of floats to decimal ASCII representations in fz_ftoa.
Fix this by using the Grisu2 algorithm, the fastest known algorithm for
accurate printing of IEEE floating point numbers while minimizing the number
of produced decimal digits.
This requires no libc support, only integer arithmetic.
|
|
CSS doesn't need precision, and doesn't support exponential notation.
Use a simpler string to float conversion algorithm, which is magnitudes
of order faster.
|
|
|
|
The +1's for zero terminating bytes are not needed: printf to a fz_buffer
or fz_output does not write a zero terminator. The extra code to add
space for a zero terminator when calling snprintf internally are
merely confusing.
|
|
|
|
|
|
|
|
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.
|
|
MuPrintPageRenderer.h:2:9: error: 'MuDocRef.h' file not found with <angled> include; use "quotes" instead
MuPrintPageRenderer.m:35:16: warning: if statement has empty body [-Wempty-body]
MuPrintPageRenderer.m:35:16: note: put the semicolon on a separate line to silence this warning
|
|
|
|
In preparation of adding pdf_write_document that writes a document
to a fz_output stream.
|
|
|
|
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>
|
|
A new TestFlight build could not be uploaded without making sure that
the default launch screen image was getting placed in the app package.
<log></log>
|
|
Starting with Xcode 7, bit code is enabled by default. This change enables it
in the static libraries that are linked, by adding the appropriate compiler
switch.
Also added UIRequiresFullScreen to the plist; this seems to have no ill
effect when uing XCode 6.
<log></log>
|
|
|
|
|
|
|
|
Separate naming of functions that save complete files to disk
from functions that write data to streams.
|
|
Will be required for JNI bindings.
|
|
Will be required for JNI bindings.
|