Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-16 | epub: Drop container xml objects upon error. | Sebastian Rasmussen | |
2017-06-16 | epub: Free chapter, path and buffer in case of error. | Sebastian Rasmussen | |
2017-04-27 | Include required system headers. | Tor Andersson | |
2017-04-27 | Make HTML header private. | Tor Andersson | |
2017-04-13 | Move extension/mimetype detection to common function. | Sebastian Rasmussen | |
A document handler normally only exposes a list of extensions and mimetypes. Only formats that use some kind of extra detection mechnism need to supply a recognize() callback, such as xps that can handle .xps-files unpacked into a directory. | |||
2017-03-28 | Return fz_document from all document handlers. | Sebastian Rasmussen | |
To make it possible to avoid casting in most cases. | |||
2017-03-23 | Introduce fz_new_derived_... | Robin Watts | |
Instead of having fz_new_XXXX(ctx, type, ...) macros that call fz_new_XXXX_of_size etc, use fz_new_derived_... Clearer naming, and doesn't clash with fz_new_document_writer. | |||
2017-03-22 | Update fz_new_page. | Robin Watts | |
Move this into the same style as fz_new_document and fz_new_image. | |||
2017-02-06 | Make sure to fill in 'doc' field of HTML links. | Tor Andersson | |
2017-02-06 | Add bookmarks so we can find a location after reflowing a document. | Tor Andersson | |
2017-01-09 | Make fz_parse_xml take a fz_buffer. Make xps_part contain a fz_buffer. | Tor Andersson | |
2017-01-09 | Add fz_terminate_buffer function. | Tor Andersson | |
Non-destructively zero terminate a fz_buffer for use as a C string. | |||
2016-12-16 | Move page size and margins into fz_html struct. | Tor Andersson | |
2016-12-16 | gl: Print warning when link destinations cannot be found. | Tor Andersson | |
2016-11-14 | Make fz_buffer structure private to fitz. | Robin Watts | |
Move the definition of the structure contents into new fitz-imp.h file. Make all code outside of fitz access the buffer through the defined API. Add a convenience API for people that want to get buffers as null terminated C strings. | |||
2016-11-14 | Add/fix page coordinates to link targets. | Tor Andersson | |
Correctly transformed target coordinates for PDF. Target coordinates for EPUB and HTML. | |||
2016-11-03 | Fix signed/unsigned and size_t/int/fz_off_t warnings. | Robin Watts | |
All seen in MSVC, mostly in 64bit builds. | |||
2016-10-28 | epub: Add links to XHTML and FB2 formats. | Tor Andersson | |
2016-10-28 | epub: Add 'id' attribute to all HTML elements, not just <a> tags. | Tor Andersson | |
Allows id anchoring to block elements as well as inline elements. Fix for bug 697123. | |||
2016-10-28 | Clean up link destination handling. | Tor Andersson | |
All link destinations should be URIs, and a document specific function can be called to resolve them to actual page numbers. Outlines have cached page numbers as well as string URIs. | |||
2016-10-14 | epub: Add hyperlinks. | Tor Andersson | |
2016-10-12 | Split fz_html into fz_html and fz_html_box for nodes. | Tor Andersson | |
Removes the need to carry fz_pool along in all boxes. | |||
2016-10-12 | Always call fz_drop_document() to drop the document. | Sebastian Rasmussen | |
2016-10-11 | Free document in fz_drop_document(), not in subclassing documents. | Sebastian Rasmussen | |
2016-10-10 | Bug 697123: epub: Adjust anchor positions using fragments. | Robin Watts | |
2016-10-10 | Simplify linked list handling in epub-doc.c | Robin Watts | |
2016-09-08 | EPUB and XPS may only be zip archives or directories. | Sebastian Rasmussen | |
2016-07-15 | Add interface indicating if a document is reflowable. | Sebastian Rasmussen | |
2016-07-08 | Separate close and drop functionality for devices and writers. | Tor Andersson | |
Closing a device or writer may throw exceptions, but much of the foreign language bindings (JNI and JS) depend on drop to never throw an exception (exceptions in finalizers are bad). | |||
2016-06-17 | Use 'size_t' instead of int as appropriate. | Robin Watts | |
This silences the many warnings we get when building for x64 in windows. This does not address any of the warnings we get in thirdparty libraries - in particular harfbuzz. These look (at a quick glance) harmless though. | |||
2016-04-26 | Improve fz_new_document | Robin Watts | |
Use a macro to make fz_new_document nicer (akin to fz_malloc_struct). | |||
2016-04-06 | epub: Remove debug logging printfs. | Tor Andersson | |
2016-04-06 | epub: Change order of arguments to fz_draw_html. | Tor Andersson | |
2016-01-08 | epub: Fix memory leaks. | Tor Andersson | |
2015-10-02 | epub: Parse NCX table of contents. | Tor Andersson | |
2015-10-02 | epub: Parse enough metadata to find title and author. | Tor Andersson | |
2015-09-24 | epub: Add metadata function. | Tor Andersson | |
Still a no-op except for returning the document format. | |||
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-15 | epub: Apply @page selector margins. | Tor Andersson | |
2015-05-05 | epub: Bail if rights.xml or encryption.xml are present (not DRM-free EPUB). | Tor Andersson | |
2015-05-05 | epub: Decode URL escapes in epub paths. | Tor Andersson | |
2015-04-15 | epub: Check version number and warn if it's not an EPUB 2.0 file. | Tor Andersson | |
2015-04-08 | Fix windows builds of epub-doc.c | Robin Watts | |
Variables need to be defined at the top of blocks. | |||
2015-04-07 | Add some basic page margins to EPUB layout. | Tor Andersson | |
Add margins of 1 em at the top and bottom of every page at the top level. TODO: This should be set from the CSS using the @page selector, and be collapsed with the body margins at the start and end of each chapter, as well as the left and right body margins. | |||
2015-04-07 | Trigger default layout in fz_document layer. | Tor Andersson | |
Trigger the default layout when needed, but only if no manual layout has been done. This avoids doing a pointless double layout (once with default when loading the document, then with the manual layout call with the desired layout options). | |||
2015-02-26 | Clean up some type casts. | Tor Andersson | |
2015-02-23 | Merge branch 'html' | Tor Andersson | |
Conflicts: Makefile | |||
2014-12-03 | html: Clean up some naming. | Tor Andersson | |
2014-12-03 | html: Free css structures. | Tor Andersson | |