Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-05-25 | Style context reference should be 1 after creation | Sebastian Rasmussen | |
2015-05-25 | Bug 695949: Fix bug in pdf_dict_del. | Robin Watts | |
Fir typo in pdf_dict_del. Issue and fix both provided by Willus (William Menninger). | |||
2015-05-19 | Add locks to fz_set_device_xxx colorspace context functions. | Tor Andersson | |
2015-05-19 | epub: Parse CSS combinators left-associatively. | Tor Andersson | |
Fixes bug 695994 where multiple child selectors would not match properly. The "a > b > c" rule should be interpreted as ((a > b) > c) in order to match properly. | |||
2015-05-19 | epub: User stylesheets. | Tor Andersson | |
Add -U option to mupdf and mudraw to set a user stylesheet. Uses a context to store user the stylesheet, just like the AA level. | |||
2015-05-19 | epub: Use per chapter page margins. | Tor Andersson | |
2015-05-19 | epub: Support !important property declarations. | Tor Andersson | |
2015-05-18 | epub: Improve default stylesheet. | Tor Andersson | |
2015-05-15 | epub: Use flag bits for white-space enum. | Tor Andersson | |
2015-05-15 | epub: Don't inherit font-size textually, despite what the spec says. | Tor Andersson | |
Ignore inheritance on font-size properties altogether. Since we already inherit the font-size during the 'em' calculations when laying out text, inheriting the font-size property textually will result in doubling the effect of any scaling. | |||
2015-05-15 | epub: Apply @page selector margins. | Tor Andersson | |
2015-05-15 | epub: Parse (and ignore) @page selector. | Tor Andersson | |
2015-05-15 | epub: Move collapsed parent/child top margins to outside the parent. | Tor Andersson | |
2015-05-15 | epub: Improve margin collapsing. | Tor Andersson | |
2015-05-15 | epub: Handle white-space property. | Tor Andersson | |
Add 'break' nodes to flow list for forced line breaks. | |||
2015-05-15 | pdf_dict_find optimisation. | Robin Watts | |
When doing pdf_dict_put, we first call pdf_dict_find to hunt for an existing entry we can just update. Recently we introduced a 'location' return from pdf_dict_find that would (in the non-found case) return the location of where such an entry should be inserted. It's just dawned on me that we don't need a separate variable for this. We continue to return negative numbers for 'not found', but these negative numbers can contain the insertion point. | |||
2015-05-15 | Fix bug in pdf_dict_find. | Robin Watts | |
Sebras and Tor spotted that we could get occasional 'warning: cannot seek backwards' messages. An example command that shows this is: mutool show pdf_reference17.pdf grep They further tracked the problem down to the 'sorted' side of the pdf_dict_find function. In the binary search, I calculate c to be the comparison value between pairs of keys. In the case where both keys (names) are in the special case 'known' range below PDF_OBJ__LIMIT, I use pointer arithmetic for this. Unfortunately, I was forgetting that the compiler thinks that pdf_obj *'s are 4 (or 8) bytes in size, so was doing (a-b)/4. To workaround this I cast both keys to char *'s. This solves the bug. Thanks to Sebras and Tor for doing the hard work in tracking this down. | |||
2015-05-15 | Memento improvements. | Robin Watts | |
Firstly, when displaying a list of nested blocks, don't suppress outputting a block just because it contains a pointer to itself. Various valgrind fixes from the gs version of memento. Experimental C++ operators. See writeup in memento.h comments for how to integrate. | |||
2015-05-15 | Add Makefile flag for building large file variants. | Robin Watts | |
Use: "make largefile=yes" to force largefile support on. At the moment it defaults to off. | |||
2015-05-15 | Support pdf files larger than 2Gig. | Robin Watts | |
If FZ_LARGEFILE is defined when building, MuPDF uses 64bit offsets for files; this allows us to open streams larger than 2Gig. The downsides to this are that: * The xref entries are larger. * All PDF ints are held as 64bit things rather than 32bit things (to cope with /Prev entries, hint stream offsets etc). * All file positions are stored as 64bits rather than 32. The implementation works by detecting FZ_LARGEFILE. Some #ifdeffery in fitz/system.h sets fz_off_t to either int or int64_t as appropriate, and sets defines for fz_fopen, fz_fseek, fz_ftell etc as required. These call the fseeko64 etc functions on linux (and so define _LARGEFILE64_SOURCE) and the explicit 64bit functions on windows. | |||
2015-05-14 | Remove stray duplicate #define | Robin Watts | |
2015-05-14 | Move away from file descriptors to FILE *'s. | Robin Watts | |
2015-05-07 | Update CHANGES. | Tor Andersson | |
2015-05-07 | Update version number to 1.7a for the bugfix release. | Tor Andersson | |
2015-05-07 | Add some missing headers to MSVC solution. | Robin Watts | |
2015-05-07 | epub: Allow space between property name and ':'. | Tor Andersson | |
2015-05-07 | epub: Fix typo when parsing negative numbers. | Tor Andersson | |
2015-05-07 | epub: Whitespace separated by comments turn into two whitespace tokens. | Tor Andersson | |
Deal with it. | |||
2015-05-06 | WIP: Add debug printing function for generated boxes. | Tor Andersson | |
2015-05-06 | epub: Add 'auto' as a special number value. | Tor Andersson | |
2015-05-06 | epub: Rejig CSS parser -- whitespace is significant! | Tor Andersson | |
The selectors ".foo.bar" and ".foo .bar" are not equivalent! They should parse as "*.foo.bar" and "*.foo *.bar" but we parsed both as "*.foo.bar" due to us ignoring significant whitespace. | |||
2015-05-05 | epub: Ignore missing stylesheet files. | Tor Andersson | |
2015-05-05 | epub: Bail if rights.xml or encryption.xml are present (not DRM-free EPUB). | Tor Andersson | |
2015-05-05 | Ignore ENTITY declarations in XML. | Tor Andersson | |
2015-05-05 | epub: Parse (and ignore) display: inline-block. | Tor Andersson | |
2015-05-05 | epub: Fix signedness bug when testing character ranges. | Tor Andersson | |
2015-05-05 | epub: Decode URL escapes in epub paths. | Tor Andersson | |
2015-05-05 | epub: Ignore syntax errors in HTML tag style attributes. | Tor Andersson | |
2015-05-05 | epub: Fix list mark horizontal placement calculation. | Tor Andersson | |
2015-05-05 | epub: Parse negative decimal numbers that start with the decimal point. | Tor Andersson | |
2015-05-05 | epub: Use the correct word order in border style names. | Tor Andersson | |
2015-05-05 | Fix typo in fz_pack_path that caused us to malloc much more than needed. | Tor Andersson | |
2015-05-04 | epub: Parse rgb(x,y,z) type colors. | Tor Andersson | |
2015-05-04 | epub: Fix 695971: Don't confuse id selectors (#name) with colors in CSS. | Tor Andersson | |
2015-05-04 | epub: Anchor list mark to first flow node in list item. | Tor Andersson | |
2015-04-28 | epub: Only apply border widths when the border is visible. | Tor Andersson | |
The border_style field was changed from an enum to an array of enums, but one place where it was used was not updated. | |||
2015-04-28 | Add EPUB to windows viewer file assocations. | Tor Andersson | |
2015-04-27 | epub: Ugly hack so that table rows end up on their own lines at least. | Tor Andersson | |
We don't support tables yet, so this is a stop gap measure. | |||
2015-04-27 | epub: Support individual T,B,L,R border styles and colors. | Tor Andersson | |
2015-04-27 | epub: Fix (incorrectly) recursively multiplied relative font sizes. | Tor Andersson | |