summaryrefslogtreecommitdiff
path: root/source/tools/murun.c
AgeCommit message (Collapse)Author
2016-04-21Fix potential segfault when mapping JS strings to PDF.Tor Andersson
2016-04-05Clean up bidi enum names.Tor Andersson
And use the same enum for both the internal bidi code and the layout code.
2016-03-23js: Create 'argv' global containing arguments passed to mutool run.Tor Andersson
2016-03-23js: Add some low level document object access.Tor Andersson
pdf.createObject() will create a new (blank) object and return an indirect reference to it. This wraps pdf_create_object. ref.writeObject(obj) will update the object pointed to. This wraps pdf_update_object.
2016-03-23Compile embedded fonts in separate C files.Tor Andersson
Also change unsigned char into const char for embedded data.
2016-03-21Fix compiler warnings in murun.c and pdf-js.c by tagging rethrow as noreturn.Tor Andersson
2016-03-14Remove begin_page and end_page device calls.Tor Andersson
To be moved into a new document writer interface later.
2016-03-14js: Document password and metadata.Tor Andersson
2016-03-14js: Add DisplayList and DisplayListDevice.Tor Andersson
2016-03-14js: Fix some reference counting errors.Tor Andersson
2016-03-14js: Add upcasting to fz_document from pdf_document.Tor Andersson
2016-03-14js: More object accessor functions.Tor Andersson
2016-03-14js: Add pdf.countPages and pdf.findPage.Tor Andersson
2016-03-14js: Add buffer.save() to write contents of buffer to file.Tor Andersson
2016-03-14js: Add obj.writeStream and writeRawStream to update stream contents.Tor Andersson
2016-03-14js: Add obj.readStream and obj.readRawStream.Tor Andersson
2016-03-14js: Add PDFObject.forEach(f) to iterate over dictionaries and arrays.Tor Andersson
2016-03-11Implement fz_text_language support functions.Robin Watts
Add code to convert to and from fz_text_language codes from ISO 639 language strings. No validation is carried out.
2016-03-11Rejig Bidirectional and Text code.Robin Watts
We move to using bidirectional "levels" throughout. This should give us better behaviour vis-a-vis nested l2r/l2r text. This also allows us to carry xps levels throughout with no loss of information. This also avoids the need to special case numbers. We accordingly carry more information into fz_text. As well as wmode, also hold additional details about the text spans. We now include the directionality of the bidi level text (either as derived from bidi code, or from the original document (e.g. xps)), the directionality of text (as specified in the original document (e.g. html)), and the language of the text (if specified in the original document).
2016-03-07murun: Avoid returning values from void functions.Robin Watts
2016-03-02js: Add PDF resource and page functions.Tor Andersson
2016-03-02js: Fix reference counting errors.Tor Andersson
2016-03-02js: Add fz_buffer.Tor Andersson
2016-03-01js: Add PDF document and object access.Tor Andersson
2016-02-29js: Add struct accessors.Tor Andersson
Use image.getWidth() rather than image.width property access to match JNI interface.
2016-02-29js: Add "mutool run" tool to run javascript scripts.Tor Andersson
Use an API similar to the JNI bindings.