Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-03 | html: Pick a reasonable default page size. | Tor Andersson | |
2014-12-03 | html: Don't create boxes for invisible elements. | Tor Andersson | |
2014-12-03 | html: Fix line breaking bugs resulting in infinite loops. | Tor Andersson | |
2014-12-03 | html: Fix adjacency selector matching. | Tor Andersson | |
2014-12-03 | html: Insert space for page breaks so lines don't get split across pages. | Tor Andersson | |
2014-12-03 | html: Only draw the boxes and lines if they're on the current page. | Tor Andersson | |
2014-12-03 | html: Print log messages when starting the layout stages. | Tor Andersson | |
2014-12-03 | html: Fix CSS parsing mixed-case selectors and comments. | Tor Andersson | |
2014-12-03 | html: Text alignment. | Tor Andersson | |
2014-12-03 | html: Parse external CSS files and basic pagination. | Tor Andersson | |
Show a translated view of the continuous layout for each page. | |||
2014-12-03 | html: Create value lists in the correct order. | Tor Andersson | |
2014-12-03 | html: Line breaking and font styling. | Tor Andersson | |
2014-12-03 | html: Fix bug in percentage from_number calculations. | Tor Andersson | |
2014-12-03 | html: Collapse top/top and bottom/bottom margins. | Tor Andersson | |
2014-12-03 | html: Collapse adjacent top/bottom margins. | Tor Andersson | |
2014-12-03 | html: Draw text and shade padding boxes. | Tor Andersson | |
2014-12-03 | html: Generate flow nodes during box generation. | Tor Andersson | |
2014-12-03 | html: Create word and glue list for flow boxes. | Tor Andersson | |
2014-12-03 | html: Parse white-space property. | Tor Andersson | |
2014-12-03 | html: Prune unused style properties in computed_style. | Tor Andersson | |
2014-12-03 | html: Partially compute styles when generating boxes. | Tor Andersson | |
Resolve final width and em-scaled numbers at layout time. | |||
2014-12-03 | html: Rename ANONYMOUS to FLOW box and fix typo. | Tor Andersson | |
2014-12-03 | html: Apply margins. | Tor Andersson | |
2014-12-03 | html: Create lists in order when parsing CSS. | Tor Andersson | |
2014-12-03 | html: Start laying out boxes. | Tor Andersson | |
2014-12-03 | html: Don't compute full styles during box generation. | Tor Andersson | |
Apply the style sheet rules and save the raw properties in each box. Only resolve the 'display' property that is needed for box generation. | |||
2014-12-03 | html: Split inline box around in-flow block boxes. | Tor Andersson | |
2014-12-03 | html: Box generation. | Tor Andersson | |
2014-12-03 | html: Use float for dimensions. | Tor Andersson | |
2014-12-03 | html: Parse inline style attributes. | Tor Andersson | |
2014-12-03 | html: CSS lexer and parser. | Tor Andersson | |
2014-12-03 | html: Add scaffolding. | Tor Andersson | |
2014-12-03 | Update MuJS to latest. | Tor Andersson | |
2014-12-03 | Fix leak of directory string in fz_archive. | Tor Andersson | |
2014-12-03 | Don't automatically trim buffer during fz_keep_buffer. | Tor Andersson | |
It's surprising and may cause unexpected effects for code that may have saved pointers to the underlying data in read only buffers, such as fz_new_image_from_buffer. | |||
2014-12-03 | Add fz_layout_document function. | Tor Andersson | |
2014-12-03 | Add dirname and cleanname path manipulation functions. | Tor Andersson | |
2014-12-03 | cbz: Use ZIP archive module. | Tor Andersson | |
2014-12-03 | xps: Use ZIP archive module. | Tor Andersson | |
2014-12-03 | Add ZIP file and directory reading module. | Tor Andersson | |
2014-12-03 | Fix off-by-one in fz_write_buffer_byte. | Tor Andersson | |
2014-12-03 | Add convenience fz_read_file function. | Tor Andersson | |
Read the contents of a file into a fz_buffer in one go. | |||
2014-12-03 | Don't always trim the buffer when calling fz_read_all. | Tor Andersson | |
Many instances just use the data and free it, so reallocing to shrink is a waste of time. Other instances need to append a terminating zero, such as the XML and CSS parsers. | |||
2014-12-03 | xml: Make accessors NULL-resistant. Add fz_xml_find functions. | Tor Andersson | |
Find the first sibling, next sibling or first child matching tag name. | |||
2014-12-03 | xml: Optimize creation of really long lists by keeping a tail pointer. | Tor Andersson | |
2014-12-03 | xml: Don't emit empty text nodes between tags when preserving whitespace. | Tor Andersson | |
2014-11-26 | Change xref representation to cope better with sparse xrefs. | Robin Watts | |
Currently each xref in the file results in an array from 0 to num_objects. If we have a file that has been updated many times this causes a huge waste of memory. Instead we now hold each xref as a list of non-overlapping subsections (exactly as the file holds them). Lookup is therefore potentially slower, but only on files where the xrefs are highly fragmented (i.e. where we would be saving in memory terms). Some parts of our code (notably the file writing code that does garbage collection etc) assumes that lookups of object entry pointers will not change previous object entry pointers that have been looked up. To cope with this, and to cope with the case where we are updating/creating new objects, we introduce the idea of a 'solid' xref. A solid xref is one where it has a single subsection record that spans the entire range of valid object numbers for a file. Once we have ensured that an xref is 'solid', we can safely work on the pointers within it without fear of them moving. We ensure that any 'incremental' xref is solid. We also ensure that any non-incremental write makes the xref solid. | |||
2014-10-28 | more liberally accept page trees with unexpected content | Simon Bünzli | |
pdf_lookup_page_loc_imp currently throws if any object in the page tree is neither a /Pages node nor a /Page leaf. This unnecessarily rejects slightly broken documents such as the ones from https://code.google.com/p/sumatrapdf/issues/detail?id=2582 and https://code.google.com/p/sumatrapdf/issues/detail?id=2608 . pdf_count_pages_before_kid currently wrongly throws if a /Pages node doesn't contain any kids and correctly states so (which even seems to be permitted by the PDF specification). | |||
2014-10-28 | fix memory leaks in load_sample_func and pdf_load_compressed_inline_image | Simon Bünzli | |
In load_sample_func, the stream is not closed and thus leaked if one of the fz_read_byte or fz_read_bits calls throws (which might happen e.g. on a Deflate data error). In pdf_load_compressed_inline_image, the allocated buffer is not freed if one of the stream initializers or the tile creation throws (fz_open_leecher does not take ownership of the stream). | |||
2014-10-22 | Fix warnings. | Tor Andersson | |