summaryrefslogtreecommitdiff
path: root/source/html/html-doc.c
AgeCommit message (Collapse)Author
2016-11-14Add/fix page coordinates to link targets.Tor Andersson
Correctly transformed target coordinates for PDF. Target coordinates for EPUB and HTML.
2016-10-28epub: Add links to XHTML and FB2 formats.Tor Andersson
2016-10-12Split 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-11Free document in fz_drop_document(), not in subclassing documents.Sebastian Rasmussen
2016-10-09html: Fix leak of buffer when opening as stream.Sebastian Rasmussen
2016-10-09html: Add missing function pointer when opening as stream.Sebastian Rasmussen
2016-09-26Fix memory leak when opening html/loading raw stream.Sebastian Rasmussen
2016-07-15Add interface indicating if a document is reflowable.Sebastian Rasmussen
2016-07-08Separate 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-17Use '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-26Improve fz_new_documentRobin Watts
Use a macro to make fz_new_document nicer (akin to fz_malloc_struct).
2016-04-26fb2: Add basic FictionBook support.Tor Andersson
No images. The default stylesheet is preliminary, and will need improvements.
2016-04-06epub: Change order of arguments to fz_draw_html.Tor Andersson
2016-03-30Use fz_new_document for pdf and html docs.Robin Watts
In particular for html docs we were getting the refcount wrong, causing us to leak on closedown.
2016-01-08epub: Fix memory leaks.Tor Andersson
2015-09-24epub: Add metadata function.Tor Andersson
Still a no-op except for returning the document format.
2015-05-19epub: 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-15epub: Apply @page selector margins.Tor Andersson
2015-04-20epub: Also accept ".htm" file extension.Tor Andersson
2015-04-07Add 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-07Trigger 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-26Clean up some type casts.Tor Andersson
2015-02-23Merge branch 'html'Tor Andersson
Conflicts: Makefile
2014-12-03html: Clean up some naming.Tor Andersson
2014-12-03html: Free css structures.Tor Andersson
2014-12-03html: Rename style, box and flow structs.Tor Andersson
2014-12-03html: Rename files.Tor Andersson