Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-09-21 | Rename xps_context to xps_document. | Tor Andersson | |
2011-09-21 | Add warning context. | Tor Andersson | |
2011-09-21 | Rename malloc functions for arrays (fz_calloc and fz_realloc). | Tor Andersson | |
2011-09-21 | Don't thread ctx through safe fz_obj functions. | Tor Andersson | |
2011-09-15 | Add context to mupdf. | Robin Watts | |
Huge pervasive change to lots of files, adding a context for exception handling and allocation. In time we'll move more statics into there. Also fix some for(i = 0; i < function(...); i++) calls. | |||
2011-09-14 | Initial import of exception handling code | Robin Watts | |
Import exception handling code from WSS, modified to fit into the fitz world. With this code we have 'real' fz_try/fz_catch/fz_rethrow functions, handling a fz_except type. We therefore rename the existing fz_throw/ fz_catch/fz_rethrow to be fz_error_make/fz_error_handle/fz_error_note. We don't actually use fz_try/fz_catch/fz_rethrow yet... | |||
2011-09-06 | Don't invoke tiling device calls when there is only one tile to be drawn. | Tor Andersson | |
2011-08-09 | Fix bug 692284: return error for empty resource dictionaries. | Tor Andersson | |
2011-08-09 | Fix bug 692412: typo in buffer size. | Tor Andersson | |
2011-07-08 | Clip area optimisations for displaylist case: | Robin Watts | |
First, we add clipping rects to clipping functions. Various functions (the ones that handle clipping) are now additionally passed a rectangle that represents an additional bound for this clip in device space (i.e. it has already been mapped through the current ctm). Next, when constructing the displaylist, keep track of the bounding box for the contents of each clip. While writing the list, on every node we add, we add the bbox for that node to the enclosing clips content bbox (if there is an enclosing clip). When we pop a clip, write back to the corresponding push to update the bbox. This means if we get large clip regions, with only small areas used within them, we will only do the slow blending for those small areas. Finally, we fix a calculation in fz_bound_path which was incorrectly accounting for mitrelimits. This was showing up in testing on page 630 of the PDF reference v1.7. | |||
2011-05-31 | Use fz_atof in XPS interpreter. | Tor Andersson | |
2011-04-12 | Avoid conflict with compiler builtin definitions of tolower. | Tor Andersson | |
2011-04-11 | Add triangle caps; separate start, dash and end cap styles for XPS. | Tor Andersson | |
2011-04-10 | xps: Use specific font cache struct instead of hash table. | Tor Andersson | |
2011-04-08 | Add soft limit to pixmap allocation. | Tor Andersson | |
All image loading functions call the new fz_new_pixmap_with_limit allocation function, which will return NULL if the total amount of pixmap memory would exceed a set limit. Other vital pixmap allocations which are not as easily recoverable (such as font rendering, and the various buffers in the draw device) ignore the limit. | |||
2011-04-08 | Simplify arguments to fz_new_pixmap. | Tor Andersson | |
2011-04-08 | Various patches from SumatraPDF. | Tor Andersson | |
2011-04-08 | Remove inline keyword where it is not strictly necessary for performance. | Tor Andersson | |
Also put the function on the same line for inline functions, so they stick out and are easy to find with grep. | |||
2011-04-07 | Use fz_stream instead of FILE* to open XPS files. | Tor Andersson | |
2011-04-05 | Add wrapper functions around device calls. | Tor Andersson | |
They test for NULL and make the code look nicer. | |||
2011-04-05 | Clean up xps and pdf page access functions. | Tor Andersson | |
2011-04-04 | Le Roi est mort, vive le Roi! | Tor Andersson | |
The run-together words are dead! Long live the underscores! The postscript inspired naming convention of using all run-together words has served us well, but it is now time for more readable code. In this commit I have also added the sed script, rename.sed, that I used to convert the source. Use it on your patches and application code. | |||
2011-04-04 | xps: Convert CMYK with alpha to RGB early to avoid premul alpha headaches. | Tor Andersson | |
2011-04-04 | xps: Send a bigger view rect for X/Y flipped tiles. | Tor Andersson | |
2011-04-04 | Add device interface functions to draw tiled patterns. | Tor Andersson | |
2011-04-04 | Change how files are opened with fz_openfd/file/filew. | Tor Andersson | |
2011-04-04 | xps: Always use floats for floating point math. | Tor Andersson | |
2011-04-03 | xps: Plug memory leaks. | Tor Andersson | |
2011-04-03 | Merge branch 'xps' | Tor Andersson | |
2011-04-03 | xps: Fix bugs uncovered by QualityLogicMinBar tests. | Tor Andersson | |
2011-04-03 | xps: Propagate bounding box through canvas and tiles. | Tor Andersson | |
2011-04-03 | xps: Fix some issues with the XML parser. | Tor Andersson | |
The new XML parser doesn't strip namespace prefixes, so we need to look for "x:Key" rather than just "Key". Also increase the max tag name length to avoid truncating tag names like "LinearGradientBrush.GradientStops". | |||
2011-04-03 | xps: Use fz_pixmap directly instead of wrapping it in xps_image. | Tor Andersson | |
2011-04-03 | xps: Remove xps_context from hash table implementation. | Tor Andersson | |
2011-04-03 | xps: Rearrange files, part three. | Tor Andersson | |
2011-04-03 | xps: Rearrange files, part two. | Tor Andersson | |
2011-04-03 | xps: Rearrange files, part one. | Tor Andersson | |
2011-04-03 | xps: Remove dependency on expat. | Tor Andersson | |
2011-04-01 | xps: Fix trivial bug. | Tor Andersson | |
2011-04-01 | apps: Add XPS support to mupdf viewer. | Tor Andersson | |
2011-04-01 | Use a function pointer for resolveindirect. | Tor Andersson | |
This removes a static dependency between fitz and mupdf. Fitz should now be link time independent of mupdf again. | |||
2011-04-01 | xps: Pass bounding box to opacity mask brush. | Tor Andersson | |
2011-04-01 | xps: Remove 'path' and 'text' state objects from context. | Tor Andersson | |
2011-04-01 | xps: Repeat enough tiles to cover the shape being filled. | Tor Andersson | |
2011-04-01 | xps: Use Opacity attribute for setting constant alpha. | Tor Andersson | |
2011-04-01 | xps: Use opacity masks, and draw gradients with opacity. | Tor Andersson | |
2011-04-01 | xps: Respect PathGeometry.Transform attribute. | Tor Andersson | |
2011-04-01 | xps: fix clip/popclip nesting | Tor Andersson | |
2011-04-01 | xps: Remove dependency on libpng. | Tor Andersson | |
2011-03-31 | xps: Fix bugs in TIFF reader. | Tor Andersson | |
WhiteIsBlack was flipped for fax images. re-multiplying alpha with CMYK images needs special care because of subtractive colors. |