summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-19Fixed a typo. If fz_debug cannot fit the resulting string into a static ↵Tor Andersson
buffer, it allocates a dynamic string. Unfortunately it still printed the static string. This fixes disappearing objects in the pdftool show command.
2009-02-17Propagate restrict type specifiers to other ximage_convert functions.Ralph Giles
2009-02-17Fix a comment typo.Ralph Giles
"'i' before 'e' except after 'c'," goes the rhyme.
2009-02-17Remove a spurious restrict in cast.Ralph Giles
As far as I can tell, restrict only matters on the declaration side and doesn't mean anything in a cast. Unlike const. Flagged by Coverity.
2008-12-09Ignore errors where the endobj keyword is missing and print a warning ↵Tor Andersson
instead. Workaround for broken LaTeX or PDF PT 2.37 (pdf-tools.com) generated files.
2008-12-09strlcat() has been moved from util_strlcat.c to util_strlcpy.c.Sebastian Rasmussen
2008-12-06Add new mupdftool info command.Sebastian Rasmussen
2008-12-06Add interface to retrieve page object reference.Sebastian Rasmussen
2008-12-06Properly handle the case where a pagetree not is completely missing.Sebastian Rasmussen
2008-12-02Fix a typo in the PDF version string.Tor Andersson
2008-11-25Const-ify this arc4 interface.Ralph Giles
Header changes which were omitted in the original patch.
2008-10-01Const-ify the arc4 interface.Ralph Giles
Allow passing const data into the api without generating warnings.
2008-11-25Recognize .PDF as an extension in mupdftool draw.Ralph Giles
Currently the implementation of 'mupdftool draw' looks for a .pdf file extension to distinguish filename arguments from page range arguments. Prior to this patch 'mupdftool draw FILE.PDF' would print the usage since no filename was recognized. This commit adds the upcase version. Really, something more robust should be used, like looking for valid page ranges, and testing arguments for existance in the filesystem.
2008-11-18Disable inlines in the debug build.Ralph Giles
I find this useful when tracing through the code.
2008-10-01Don't pretend encryption v4 is v2.Ralph Giles
The original patch adding v4 support forces the dict version back to 2 after parsing some v4 features, despite later range checks for v
2008-09-30Fix a buffer signedness warning.Ralph Giles
2008-11-24Improve error message when encountering unknown xobject resources.Sebastian Rasmussen
2008-11-23Added object refence to error message.Sebastian Rasmussen
2008-11-14Handle nil in reference counting as it may be called in the error case.Sebastian Rasmussen
2008-11-14Attempt to recover when pagetree nodes lack the correct types.Sebastian Rasmussen
2008-11-13Improved pagetree error messages.Sebastian Rasmussen
2008-11-13Use a lowercase build directory, and provide build variants again.Tor Andersson
2008-11-13Fixed reference counting for shadings found in resource object store.Sebastian Rasmussen
2008-11-12Keep all operators in the postscript calculator function name table.Tor Andersson
2008-11-12Properly drop references to resources after preloading them in the store.Tor Andersson
2008-11-12Add debug printout for pdf store.Tor Andersson
2008-11-12Corrected bug in postscript function "copy" operator.Tor Andersson
2008-11-12Make object number printouts be more consistent.Tor Andersson
2008-11-11Warn when creating empty paths. Do not realloc to trim path data.Tor Andersson
2008-11-11Cap extreme font sizes.Tor Andersson
2008-11-05Show stack trace in windows error dialog.Tor Andersson
2008-11-05Look in PUA encoding if characters are not found in the regular encoding.Tor Andersson
2008-11-05Allow /Bounds that are not strictly monotonic in stitching functions.Tor Andersson
2008-11-03Fix LTEXT syntax in winres.rc.Tor Andersson
2008-10-26Move page range check out of loop and print range of pages drawn.Sebastian Rasmussen
2008-10-16Put buffer->eof handling in filter struct, not in individual process functions.Tor Andersson
2008-10-13Take md5 checksum of rasters in pdftool, and clean up messages a bit.Tor Andersson
2008-10-07Fix typo in the previous typo fix.Tor Andersson
2008-10-02Fix typo that prevented file buffers from rewinding when flushing a stream.Tor Andersson
2008-10-02Warn and continue after encountering unknown keywords.Tor Andersson
2008-10-02Branch apps as mupdf.Ralph Giles
Previously the example front end applications were called generically 'pdfview' and 'pdftool'. In preparation for release we'd like to brand them more uniquely. Since the user-facing part of the tree is the mupdf library, we intend to brand the releases mupdf. In support of this, 'pdfview' becomes 'mupdf' and 'pdftool' becomes 'mupdftool'.
2008-09-29Add _XOPEN_SOURCE for sys/ipc.h.Ralph Giles
Fix a warning from the xorg headers about sys/ipc.h requiring _SVID_SOURCE or _XOPEN_SOURCE. Doing it just in this file may not be entirely safe; it should probably project-wide so all system headers return the same declarations.
2008-09-30Remove a cast now that md5 buffers are const.Ralph Giles
2008-09-30Remove an unused variable.Ralph Giles
The S key is obviously planned for future use. I've updated the comment to preserve that intent.
2008-09-30Remove a spurious reference drop.Ralph Giles
I'm not sure if this was a typo or just stale code, but csi->clip is an integer flag, so calling fz_dropobj() on it will lead to trouble. Alas for cast class-conversion hiding type errors. Flagged by gcc with a size mismatch warning on x86_64.
2008-09-29const-ify md5 interface.Ralph Giles
Allow passing const data into the api without generating warnings. This requires propagating the const into the underlying implementation.
2008-09-29Use sane variable names.Sebastian Rasmussen
2008-08-28Follow common idiom for allocating shade triangle mesh.Sebastian Rasmussen
2008-09-29Fixed uninitialized compiler warnings.Tor Andersson
2008-09-29Removed signed/unsigned char pointer warnings.Tor Andersson