summaryrefslogtreecommitdiff
path: root/win32
AgeCommit message (Collapse)Author
2013-05-30Check signatures on clicking the corresponding form fieldPaul Gardiner
2013-05-30Generate C-includable version of Adobe CA certificatePaul Gardiner
2013-05-22Update OpenJPEG to v2.0.0.Robin Watts
2013-05-21Split PWG code into a separate file.Robin Watts
2013-05-14svgwrite: First attempt at an SVG output device.Robin Watts
No font support (just font names are sent through). No group support. No shading support. No image mask support. Line art, text position/size, bitmaps, clipping all seem to work though.
2013-05-06Add UCDN unicode character library.Tor Andersson
2013-05-03Simple Image file format recogniserRobin Watts
Now can open jpeg/png/tiff files within mupdf.
2013-04-30Split dev_text into three parts.Tor Andersson
One for the raw span extraction pass, one for paragraph sorting, and another for HTML output.
2013-04-11Move pdf_image to fz_image.Robin Watts
In order to be able to output images (either in the pdfwrite device or in the html conversion), we need to be able to get to the original compressed data stream (or else we're going to end up recompressing images). To do that, we need to expose all of the contents of pdf_image into fz_image, so it makes sense to just amalgamate the two. This has knock on effects for the creation of indexed colorspaces, requiring some of that logic to be moved. Also, we need to make xps use the same structures; this means pushing PNG and TIFF support into the decoding code. Also we need to be able to load just the headers from PNG/TIFF/JPEGs as xps doesn't include dimension/resolution information. Also, separate out all the fz_image stuff into fitz/res_image.c rather than having it in res_pixmap.
2013-03-26Make pdf_functions public as fz_functions.Robin Watts
Implementations remain unexposed, but this means we can safely pass functions in shades without having to 'sample' them (though we may still choose to do this for speed).
2013-03-04Avoid interactive features causing bloat in mutoolPaul Gardiner
2013-02-06Change to pass structures by reference rather than value.Robin Watts
This is faster on ARM in particular. The primary changes involve fz_matrix, fz_rect and fz_bbox. Rather than passing 'fz_rect r' into a function, we now consistently pass 'const fz_rect *r'. Where a rect is passed in and modified, we miss the 'const' off. Where possible, we return the pointer to the modified structure to allow 'chaining' of expressions. The basic upshot of this work is that we do far fewer copies of rectangle/matrix structures, and all the copies we do are explicit. This has opened the way to other optimisations, also performed in this commit. Rather than using expressions like: fz_concat(fz_scale(sx, sy), fz_translate(tx, ty)) we now have fz_pre_{scale,translate,rotate} functions. These can be implemented much more efficiently than doing the fully fledged matrix multiplication that fz_concat requires. We add fz_rect_{min,max} functions to return pointers to the min/max points of a rect. These can be used to in transformations to directly manipulate values. With a little casting in the path transformation code we can avoid more needless copying. We rename fz_widget_bbox to the more consistent fz_bound_widget.
2013-02-04Add fz_output, and make output functions use it.Robin Watts
Various functions in the code output to FILE *, when there are times we'd like them to output to other things, such as fz_buffers. Add an fz_output type, together with fz_printf to allow things to output to this.
2013-01-30Parts of Robin's PDF editing/page creation commit useful for annotationsPaul Gardiner
2013-01-30Fix dependencies in VS solution.Robin Watts
libmupdf, libmupdf-v8 and libmupdf-nov8 were all calling generate.bat resulting in occasional build failures. As the latter 2 depend on the first, only libmupdf needs call it.
2012-12-20Add freetype include files to the win32 project.Robin Watts
This makes searching for things much easier.
2012-11-30Rejig VS projects to avoid compiling files twice.Robin Watts
We now have a libmupdf that has all the usual files in, plus a libmupdf-v8 and a libmupdf-nov8 with/without javascript respectively. libmupdf-v8 and libmupdf-nov8 both depend on libmupdf, and the apps depend on libmupdf-{no,}v8 as appropriate. This means every file is listed (and compiled) strictly once, and better matches the style of the unix builds. It also prevents VS getting confused and listing files twice in search results. Also, we strip out the unnecessary repeated calls to generate.bat, which result in occasional spurious build failures.
2012-11-26Remove xps/xps_xml.c from libmupdf-V8 VS project.Robin Watts
Was missed in previous commit.
2012-11-26Move XML parser into fitz directory.Tor Andersson
2012-11-16Move text searching function into fitz.Tor Andersson
2012-10-17First steps towards supporting transitions.Robin Watts
Only Fade, Wipe and Blinds supported so far. Hit 'p' in the viewer to go into 'presentation' mode. Page swaps then transition from page to page. Pages auto advance until key or mouse is used.
2012-10-05Rename mubusy to mutool.Tor Andersson
2012-10-05Refactor compressed stream loading.Robin Watts
Refactor 'short stopped' image stream loading into fz_compressed_buffer loading. Nicer overall, and reflects the fact that this can be used for non-image streams that we want to hold compressed in memory (for instance for shading streams). This is a preparatory step for pdfwrite, and enables further shading memory use optimisations. Remove unused jbig2 function pointer from the fz_compression_params (previously fz_image_params) structure to avoid confusion.
2012-09-26Add thirdparty libraries as git submodules.Tor Andersson
jbig2dec latest freetype 2.4.10 jpeg 9 openjpeg 1.5.0 zlib 1.2.7 Update MSVC projects for thirdparty libraries as submodules. Improve thirdparty library availability checks in Makethird by checking for the existence of a README file instead of just the directory, since a checkout without active git submodules has empty directories for the third party libraries.
2012-09-21Add ifdef option to embed either the small or full CJK fallback font.Tor Andersson
The default is to embed the full font.
2012-09-18Forms: add event handling api and specifically support for javascript alertPaul Gardiner
2012-09-04Tweak VS solution to solve build issues.Robin Watts
Make libmupdf-v8 depend on libmupdf. This dependency isn't true, but it stops both things trying to call fontdump at the same time during the build, which causes build failures.
2012-09-04Fix Release and Memento builds under VS.Robin Watts
Include paths for thirdparty stuff were wrong.
2012-08-09Forms: fix windows build after mergePaul Gardiner
No idea how it seemingly worked without these changes.
2012-08-08Merge branch 'master' into formsPaul Gardiner
Conflicts: Makefile apps/mudraw.c pdf/pdf_write.c win32/libmupdf-v8.vcproj
2012-08-07Update VS solutions to new thirdparty files.Robin Watts
2012-08-03Forms: move javascript utility filePaul Gardiner
2012-07-12Separate out the Javascript utility functions and autogenerate C stringPaul Gardiner
2012-06-20Move the Visual C solution over to new v8 library layoutRobin Watts
Previously, we've been working with a prebuild v8 lib, only available in a single (debug) configuration. Here, we move to reading the include files from thirdparty/v8-3.9/include and getting the built libs from thirdparty/v8-3.9/build/{Debug,Release}/lib/ as appropriate.
2012-06-14Solution changes to make release and memento builds of v8 linked things work.Robin Watts
We only seem to have a debug build of the v8 build to work with at the moment though...
2012-06-14First version of mujstest-v8.pdf and associated solution changes.Robin Watts
Simple command line tool made from cutting all the windows specifics out of win_main.c and adding a simple script handler in. Read lines from the script, and feed those events to pdfapp. Screenshot pages as required.
2012-06-01Merge branch 'master' into formsPaul Gardiner
Conflicts: fitz/doc_document.c fitz/fitz-internal.h fitz/fitz.h fitz/stm_buffer.c pdf/mupdf-internal.h pdf/pdf_object.c pdf/pdf_xobject.c pdf/pdf_xref.c win32/mupdf.sln
2012-05-16JavaScript: provide mechanism via which C++ js engines can fz_throw errorsPaul Gardiner
2012-05-15Add a dummy pdf_js implementation for use in non-form-supporting buildsPaul Gardiner
The calc.pdf specific version of pdf_jsimp is no longer needed and hence dropped.
2012-05-15Forms: make forms API separate to the main document APIPaul Gardiner
This also provides a way to test whether interactive methods are supported.
2012-05-11Split part of fz_document interface for pdf_document into separate file.Tor Andersson
Make a separate constructor function that does not link in the interpreter, so we can save space in the mubusy binary by not including the font and cmap resources.
2012-05-10Combine all small tools into mubusy and remove the separate executables.Tor Andersson
2012-05-08JavaScript: add v8 implementationPaul Gardiner
2012-05-08First go at Javascript-engine abstract APIPaul Gardiner
2012-05-08Forms: handle field appearance change on mouse up/downPaul Gardiner
2012-05-02Add omitted mupdfposter.vcproj file.Robin Watts
2012-04-30Simple mupdfposter appRobin Watts
Divides large format pdfs into a new pdf with multiple pages, that tile the original PDF.
2012-04-28Move guts of pdfclean into new pdf_write function.Robin Watts
Expose pdf_write function through the document interface.
2012-04-23Use jmemnobs.c instead of jmemansi.c in libjpeg.Tor Andersson
2012-04-23Update build files for new thirdparty package with freetype 2.4.9.Tor Andersson