summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-06-28Ensure altered objects are moved to the incremental xref sectionPaul Gardiner
2013-06-28Modify FZ_NORETURN to work on MSVC too.Robin Watts
We need to have it as a prefix, not a postfix now, but it should work on both gcc and MSVC now.
2013-06-27Move to using a flags bit rather than "Dirty" dict entries.Robin Watts
Correct the naming scheme for pdf_obj_xxx functions.
2013-06-26Silence compiler warnings.Tor Andersson
2013-06-25Rework storing internal flags in PDF objects.Robin Watts
Before we render a page we need to evaluate whether we need transparency or not. To establish this, we recursively walk the resources looking for certain markers (blend modes, alpha levels, smasks etc). To avoid doing this repeatedly we'd like to stash the results somewhere. Currently we write a '.useBM' entry into the top level dictionary object, but with the recent changes to support incremental update this is not ideal - it has the effect of forcing all resources into the new section of the xref. So we avoid that horrible hack and use a different one; we make use of the new flags word in the pdf_obj structure. 1 bit is used to indicate whether we have stashed a (boolean) value here, and another bit is used to indicate what that value was.
2013-06-25Rid the world of "pdf_document *xref".Robin Watts
For historical reasons lots of the code uses "xref" when talking about a pdf document. Now pdf_xref is a separate type this has become confusing, so replace 'xref' with 'doc' for clarity.
2013-06-25Update pdf_obj's to have a pdf_document field.Robin Watts
Remove the fz_context field to avoid the structure growing.
2013-06-24Update annotation handling in preparation for incremental updatePaul Gardiner
When incremental update is in place, functions that alter one structure may have the side-effect of altering another: i.e., updating an annotation may require the Annots array or even the page to be cloned. This commit makes the existing annotation code hardy to this eventuallity. It also cleans up a slight mess of the past where not all annotation-altering functions had access to the pdf_annot struture, instead having to work with just the pdf object.
2013-06-21Initial PDF editing/page creation commitRobin Watts
2013-06-21Fix Android builds.Robin Watts
Had to rejig the thumb entry/exit veneers to allow for NDK_PROFILER operation, but this seems to have negated the need for Core2.mk, so removed that here.
2013-06-20Rename fz_image_to_pixmap to fz_new_pixmap_from_image.Tor Andersson
Match our naming conventions.
2013-06-20Update source, makefiles and win32 projects.Tor Andersson
2013-06-20Comment fixes (rename fz_ to pdf_ was missed)Robin Watts
2013-06-19Exception handling changesRobin Watts
In preparation for work on progressive loading, update the exception handling scheme slightly. Until now, exceptions (as thrown with fz_throw, and caught with fz_try/fz_catch) have merely had an informative string. They have never had anything that can be compared to see if an error is of a particular type. We now introduce error codes; when we fz_throw, we now always give an error code, and can optionally (using fz_throw_message) give both an error code and an informative string. When we fz_rethrow from within a fz_catch, both the error code and the error message is maintained. Using fz_rethrow_message we can 'improve' the error message, but the code is maintained. The error message can be read out using fz_caught_message() and the error code can be read as fz_caught(). Currently we only define a 'generic' error. This will expand in future versions to include other error types that may be tested for.
2013-06-18Move fz_write_pixmap wrapper into pdfextract (its only user).Tor Andersson
2013-06-18Split pdf.h into subheaders.Tor Andersson
2013-06-18Add explicit #include for header file interdependencies.Tor Andersson
2013-06-18Split fitz.h into subheaders.Tor Andersson
2013-06-18Fix win32 project files.Tor Andersson
2013-06-18Merge common and internal headers into one.Tor Andersson
2013-06-18Move header files into separate include directory.Tor Andersson
2009-02-28Merge and move header files into the source directories.Tor Andersson
2009-02-28Move cmapdump and fontdump tools inside mupdf directory.Tor Andersson
2009-02-28Pre-compile the standard CMaps into c-structs instead of parsing them at ↵Tor Andersson
runtime.
2009-02-27Use compiled in CMaps instead of looking for them in $CMAPDIR.Tor Andersson
2009-02-27Enable hinting hack for dynalab fonts.Tor Andersson
2009-02-23Refactor fz_font and pdf_font mess into fz_font and pdf_fontdesc with more ↵Tor Andersson
font logic on the PDF side and freetype rendering on the fitz side.
2008-12-06Add interface to retrieve page object reference.Sebastian Rasmussen
2008-10-01Const-ify the arc4 interface.Ralph Giles
Allow passing const data into the api without generating warnings.
2008-10-16Put buffer->eof handling in filter struct, not in individual process functions.Tor Andersson
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-29Removed signed/unsigned char pointer warnings.Tor Andersson
2008-09-05Put back the NEED_STRLCPY, NEED_STRSEP and NEED_GETOPT flags.Tor Andersson
2008-09-05Simplify sysdep stuff to support only c99 and msvc.Tor Andersson
2008-09-03Revamp build system to compile in windows under both MSVC and MinGW.Tor Andersson
2008-09-02Use unsigned char type for coverage calculations to keep the value inside ↵Tor Andersson
the ring 0..255. This fixes a leaking pixel bug when drawing alpha blended paths.
2008-08-15Simplify (and possibly reduce performance) of fz_readall().Tor Andersson
2008-08-15Update static instances of fz_error objects to the new non-refcounted form.Tor Andersson
2008-08-14Remove unused type and struct member for link annotations.Tor Andersson
2008-08-14Remove unneccesary reference counting in the error objects.Tor Andersson
2008-08-14vs 2008 compatibility (kjk)Tor Andersson
2008-08-14add names for permission flags (kjk)Tor Andersson
2008-08-14Print freetype error messages.Sebastian Rasmussen
2008-07-06Added support for prefixing filenames when doing pixmap debugging.Sebastian Rasmussen
2008-04-26Add blend nodes instead of over nodes when isolated/knockout and blendmode ↵Tor Andersson
is not Normal.
2008-04-25Remove unused meta node type.Tor Andersson
2008-03-31fixes for native windows build with Visual StudioKrzysztof Kowalczyk
2008-04-20Missed this bit.Glenn Kennard
2008-04-19Support hairlines (zero-width lines)Glenn Kennard
2008-04-11Added support for standard security handler rev 4. Thanks to Krzysztof ↵Sebastian Rasmussen
Kowalczyk.