Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-28 | Ensure altered objects are moved to the incremental xref section | Paul Gardiner | |
2013-06-28 | Modify 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-27 | Move to using a flags bit rather than "Dirty" dict entries. | Robin Watts | |
Correct the naming scheme for pdf_obj_xxx functions. | |||
2013-06-26 | Silence compiler warnings. | Tor Andersson | |
2013-06-25 | Rework 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-25 | Rid 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-25 | Update pdf_obj's to have a pdf_document field. | Robin Watts | |
Remove the fz_context field to avoid the structure growing. | |||
2013-06-24 | Update annotation handling in preparation for incremental update | Paul 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-21 | Initial PDF editing/page creation commit | Robin Watts | |
2013-06-21 | Fix 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-20 | Rename fz_image_to_pixmap to fz_new_pixmap_from_image. | Tor Andersson | |
Match our naming conventions. | |||
2013-06-20 | Update source, makefiles and win32 projects. | Tor Andersson | |
2013-06-20 | Comment fixes (rename fz_ to pdf_ was missed) | Robin Watts | |
2013-06-19 | Exception handling changes | Robin 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-18 | Move fz_write_pixmap wrapper into pdfextract (its only user). | Tor Andersson | |
2013-06-18 | Split pdf.h into subheaders. | Tor Andersson | |
2013-06-18 | Add explicit #include for header file interdependencies. | Tor Andersson | |
2013-06-18 | Split fitz.h into subheaders. | Tor Andersson | |
2013-06-18 | Fix win32 project files. | Tor Andersson | |
2013-06-18 | Merge common and internal headers into one. | Tor Andersson | |
2013-06-18 | Move header files into separate include directory. | Tor Andersson | |
2009-02-28 | Merge and move header files into the source directories. | Tor Andersson | |
2009-02-28 | Move cmapdump and fontdump tools inside mupdf directory. | Tor Andersson | |
2009-02-28 | Pre-compile the standard CMaps into c-structs instead of parsing them at ↵ | Tor Andersson | |
runtime. | |||
2009-02-27 | Use compiled in CMaps instead of looking for them in $CMAPDIR. | Tor Andersson | |
2009-02-27 | Enable hinting hack for dynalab fonts. | Tor Andersson | |
2009-02-23 | Refactor 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-06 | Add interface to retrieve page object reference. | Sebastian Rasmussen | |
2008-10-01 | Const-ify the arc4 interface. | Ralph Giles | |
Allow passing const data into the api without generating warnings. | |||
2008-10-16 | Put buffer->eof handling in filter struct, not in individual process functions. | Tor Andersson | |
2008-09-29 | const-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-29 | Removed signed/unsigned char pointer warnings. | Tor Andersson | |
2008-09-05 | Put back the NEED_STRLCPY, NEED_STRSEP and NEED_GETOPT flags. | Tor Andersson | |
2008-09-05 | Simplify sysdep stuff to support only c99 and msvc. | Tor Andersson | |
2008-09-03 | Revamp build system to compile in windows under both MSVC and MinGW. | Tor Andersson | |
2008-09-02 | Use 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-15 | Simplify (and possibly reduce performance) of fz_readall(). | Tor Andersson | |
2008-08-15 | Update static instances of fz_error objects to the new non-refcounted form. | Tor Andersson | |
2008-08-14 | Remove unused type and struct member for link annotations. | Tor Andersson | |
2008-08-14 | Remove unneccesary reference counting in the error objects. | Tor Andersson | |
2008-08-14 | vs 2008 compatibility (kjk) | Tor Andersson | |
2008-08-14 | add names for permission flags (kjk) | Tor Andersson | |
2008-08-14 | Print freetype error messages. | Sebastian Rasmussen | |
2008-07-06 | Added support for prefixing filenames when doing pixmap debugging. | Sebastian Rasmussen | |
2008-04-26 | Add blend nodes instead of over nodes when isolated/knockout and blendmode ↵ | Tor Andersson | |
is not Normal. | |||
2008-04-25 | Remove unused meta node type. | Tor Andersson | |
2008-03-31 | fixes for native windows build with Visual Studio | Krzysztof Kowalczyk | |
2008-04-20 | Missed this bit. | Glenn Kennard | |
2008-04-19 | Support hairlines (zero-width lines) | Glenn Kennard | |
2008-04-11 | Added support for standard security handler rev 4. Thanks to Krzysztof ↵ | Sebastian Rasmussen | |
Kowalczyk. |