summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-11Remove unneccessary CURL_CFLAGS from non-curl make targets.Tor Andersson
2013-11-11Add tree structure to win32 build.Tor Andersson
2013-11-11Cast signature display name when reading itSebastian Rasmussen
2013-11-11Fix error message typoSebastian Rasmussen
2013-11-11Remove unused variables causing warningsSebastian Rasmussen
2013-11-11Fix Makefile output directory dependency for curl library.Tor Andersson
Don't call mkdir explicitly in the build rule. Use the ALL_DIR variable.
2013-11-08Use an end pointer for the annotation list to avoid unnecessary iterationPaul Gardiner
2013-11-07iOS: fix non-appearance of buttons for files with no outlinePaul Gardiner
2013-11-06Place newly created annotations at the end of the annotation listPaul Gardiner
This fixes bug 694755. Thank you to Michael Cadihac for the patch
2013-11-05Fix bug 694730: Wrong bbox in one-point ink annotationPaul Gardiner
Zero and one-point case both lead to an empty rectangle, but the one-point case needs expanding but wasn't because fz_expand_rect treats an empty rectangle as a special case (as it should)
2013-11-05Allow stroke states to be kept on the stack.Tor Andersson
Add a function to clone stroke states, a magic number to keep in the reference count to signal that a stroke state is stack-stored, and automatically clone stack stored stroke states in the keep function. Use fz_default_stroke_state to initialise stack stored stroke states.
2013-11-05Add binary search tree for mapping strings to void* pointers.Tor Andersson
Self balancing AA-tree.
2013-11-05Fix bug in fz_debug_xml.Tor Andersson
Print node and children, not node, children and siblings.
2013-11-05Improve stroke state function names that take the dash array length.Tor Andersson
2013-11-05Ignore <!DOCTYPE ...> declaration in XML parser.Tor Andersson
2013-11-04Fix of tab/space issues as well as changing thumbnail scale look ahead to ↵Michael Vrhel
+/- 2. Thanks to Robin for catching this.
2013-11-04Make sure declarations come first. This would not compile with default ↵Michael Vrhel
windows settings.
2013-11-04Addition of printing support.Michael Vrhel
This uses the xaml printing methods. It is likely that I need to go do a DirectX approach since the xaml printing method could run into memory problems as it seems the architecture requires all the pages to be rendered prior to the print job even starting. Currently checking on this with a contact at MS. I wanted to get this code in place now since it is working and it has the needed framework for much of what we want. A change to DirectX requires a changes in the solution file that may be complicated and so it makes sense to do a split here with respect to providing printing support.
2013-11-04Fix UI so that consistent zoom size is maintained as pages changed.Michael Vrhel
Also fix issue that occurs in Windows 8.1 with an unhandled exception if a mouse scroll occurs before a document is even opened. Fix issue with keyboard based update of page slider.
2013-10-31Fix segv bug in clear_pixmap_with_value functions.Tor Andersson
Image masks don't have a colorspace; check before dereferencing.
2013-10-31Fix bug in gray to cmyk color converters.Tor Andersson
2013-10-31Special case clear_pixmap_with_value for CMYK colorspaces.Tor Andersson
2013-10-31Add CMYK and CMYK Alpha colorspaces to mudraw options.Tor Andersson
2013-10-31Add CMYK support to PWG output.Tor Andersson
2013-10-31Add CMYK support to PAM output.Tor Andersson
2013-10-23Fix so that multi-threaded rendering of display list works.Michael Vrhel
Proper use of mutex lock in areas where we multiple threads can not be accessing the document or page level objects at the same time. With this fix, multiple threads can be rendering different display lists at the same time. Also fix for use of page selection scroll bar so that it does not render the page until the user lifts off the bar. This is the same as the Android app and avoids smaller devices getting overloaded if you do rapid scrolling in a document.
2013-10-17Remove duplicated line.Robin Watts
Thanks to Micha for spotting this.
2013-10-16Fix cross document store object hash collisions.Robin Watts
When putting store objects into the store, ensure that they do cannot collide across documents.
2013-10-16Adopt backported bugfix from openjpeg2 into our version.Robin Watts
If header field is too large, warn, but don't bale out.
2013-10-16page->contents should be a reference, not the original object.Robin Watts
2013-10-16Fix null device clip stack scissor handling.Robin Watts
Was failing to correctly initialise scissors when extending the stack. This caused the fill text to disappear in fts_15_109.pdf
2013-10-16iOS: add support for selecting form choice fieldsPaul Gardiner
2013-10-16iOS: use partial updates to display annotation changesPaul Gardiner
2013-10-16iOS: keep reference to the fz_pixmaps.Paul Gardiner
2013-10-16iOS: support filling in of text form fieldsPaul Gardiner
2013-10-15Fix typo in page tree manipulation when inserting new pages.Tor Andersson
2013-10-15Add local .vimrc to .gitignore.Tor Andersson
2013-10-14Create Contents entry in PDF write device if one doesn't exist already.Robin Watts
Avoids a SEGV on writing.
2013-10-14Handle stroke+fill operations with transparency/blendmodes.Robin Watts
When stroking and filling in a single operation, we are supposed to form the complete stroke+fill image, then blend it back, rather than filling and blending, then stroking and blending. This only matters during transparency, or with non-normal blend modes. We fix MuPDF to push a knockout group when doing such operations.
2013-10-11SVG: Fix alpha issues.Robin Watts
While looking at fts_09_0921, I spotted that the alpha values on images and fills aren't being sent. Fix that here, together with broken colors being sent for masks. fts_09_0921 still renders badly due to the lack of support for blend modes.
2013-10-11SVG: Add simple smask support.Robin Watts
The luminosity flag and background color are currently ignored. The clip stack optionally held in the null device is updated here to be a container stack, together with a flags word (currently just used to indicate the type of the container at the current place in the stack), and a user value (used by the SVG device to stash the id for the mask it's generating).
2013-10-11SVG: Add dumb group implementation.Robin Watts
Really just a structure indicator as SVG 1.1 doesn't support blending etc.
2013-10-11SVG: Fix clip stack handling etc.Robin Watts
fts_09_0919.pdf shows up some silly mistakes in the clip stack handling and in the handling of 0 sized pixmaps. Simple fixes.
2013-10-11Update documentation of multithreading and contexts.Robin Watts
Attempt to improve the clarity of the explainations pertaining to cloning contexts and bound contexts.
2013-10-11prevent potential heap access violationSimon Bünzli
fz_reset_gel fails to reset the length of active edges, which could (AFAICT) lead to pointers in gel->active pointing to memory that's been previously freed by fz_resize_array.
2013-10-10SVG: Fix fts_01_0106.pdfRobin Watts
A gradient fill that doesn't fill the bbox should be see through (unless background color is set, but we'll worry about that case when I find an example file that uses it). Arrange for the pixmap we draw the gradient fill into to be transparent initially. Also ensure that when we convert to png we preserve transparency.
2013-10-10SVG: Add image mask clip support.Robin Watts
2013-10-10Rename the draw devices 'stack_max' member to be 'stack_cap'Robin Watts
For consistency with the rest of the code.
2013-10-10SVG device: All gradient output (using images).Robin Watts
2013-10-10Use the 'rect' param to fz_clip_path.Robin Watts
fz_clip_path takes a rect parameter, but all the callers of it use NULL. In most cases they have a perfectly reasonable value that they could pass to hand anyway. Update the code to pass this value, which saves the need for the scissor stack keeping code to recalculate it.