summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-03make dev_bbox take clips into accountzeniko
Currently, dev_bbox creates a union of all bounding boxes of paths, text and images. If any of these are however clipped away or inside a tile, they should be ignored.
2013-06-03fix MSVC compilation warnings in appszeniko
* pdfapp_save in pdfapp.c contains unreachable code (and could be simplified by inverting most of the checked conditions) * RegSetValueExA expects a const BYTE pointer instead of a char pointer (warns about signedness mismatch) * same for SendMessageA where -1 is signed even though WPARAM isn't Also, there's no need to include mupdf.h, muxps.h, etc. at the top of applications which only use the fz_* API (fitz.h comes included with pdfapp.h).
2013-06-03prevent memory leak and unexpected exceptionzeniko
fz_free_device usually doesn't throw (throwing in clean-up code is quite pointless anyway) but freeing the text extraction device might do so under memory pressure. This patch catches any potential exception to guarantee a proper clean-up.
2013-06-03prevent deadlock under memory pressurezeniko
In multiple places, between acquiring and releasing the FREETYPE lock, exceptions may be thrown which aren't caught in order to properly release the lock. This patch introduces the necessary fz_try/fz_always/ fz_catch invocations to prevent a potential deadlock in these situations. RJW: Also fix another problem pointed out by zeniko. Thanks!
2013-06-03Removal of resource files from project.Michael Vrhel
2013-06-03Clean up of assets and manifest in preparation to submit to Windows App store.Michael Vrhel
Also added CBZ as input. Removed oxps since there appears to be an issue with that currently.
2013-06-03Added support for keyboard zooming (+/- key). Fixed issues when orientation ↵Michael Vrhel
changes. Also minor fixes for memory leaks in muctx.cpp, and clean up of some of the xaml code.
2013-06-03Fix for issue of link rectangle display when device is rotated.Michael Vrhel
The links rectangles need to be recomputed when we have a device orientation change occur. When a change in orientation occurs, the current rects are marked as being invalid and will be redrawn when needed.
2013-06-03Fix tile drawing problems with {x,y}step < width/heightRobin Watts
As seen in fts_15_1506.pdf
2013-06-03Improve rendering of fts_15_1506.pdfRobin Watts
Negative xstep or ysteps cause problems.
2013-06-03Fix SVG output.Robin Watts
Colorspace changes in mudraw had broken svg output.
2013-06-03Parse full PDF filespecs, not just filenamesSebastian Rasmussen
2013-06-03Do not print invalid hex character in warningSebastian Rasmussen
This means that warnings can now be rate limited.
2013-06-03Assume non-clang compilers support incbinSebastian Rasmussen
2013-06-03Clean out some old renaming scripts.Tor Andersson
2013-05-31Fix typo in text extraction RTL pass.Tor Andersson
2013-05-30Update Makefile for V8 MacOS X operation.Robin Watts
Link with 64bit by default.
2013-05-30Delete libraries before updating them.Tor Andersson
Makes sure that stale object files are cleared out to prevent build skew if a file is renamed or removed.
2013-05-30Fix header file dependencies and X11 CFLAGS in Makefile.Tor Andersson
2013-05-30Add fz_puts to the fz_output bestiary.Robin Watts
2013-05-30Android: Tweak towards api-7 compatibilityRobin Watts
Avoid using event.getActionMasked.
2013-05-30Android manifest tweaks.Robin Watts
Make it easier to do release builds.
2013-05-30Check signatures on clicking the corresponding form fieldPaul Gardiner
2013-05-30Add functions to return digital signature infoPaul Gardiner
2013-05-30Generate C-includable version of Adobe CA certificatePaul Gardiner
2013-05-29Rename some find/lookup functions to be in line with documentation.Tor Andersson
2013-05-29Add some documentation about naming and reference counting schemes.Tor Andersson
2013-05-29Access the xref table via an interfacePaul Gardiner
Avoid all direct access to the xref table so that the impementation can be altered to add new features
2013-05-29Access the trailer via an interfacePaul Gardiner
2013-05-29Fix a typo in Makethird where we used $(BUILD) rather than $(build).Tor Andersson
2013-05-29Add rules to configure and build openssl if it is present in thirdparty.Tor Andersson
Also sets the -DHAVE_OPENSSL flag.
2013-05-29Clean up thirdparty / system library makefile variables.Tor Andersson
2013-05-29Fix fontdump .incbin ifdef for clang.Tor Andersson
2013-05-29Killed pdf_cmap_token enum.Tor Andersson
2013-05-29Silence warnings.Tor Andersson
2013-05-29Trivial (and probably needless) simplification of git hook.Tor Andersson
2013-05-29Remove unneccessary variables in android makefiles.Tor Andersson
2013-05-29Add "thirdparty.txt"Chris Liddell
a list of third party libraries, their function, license and version shipped with mupdf
2013-05-28Android: disable whole "extras" menu when in reflow modePaul Gardiner
2013-05-28Document the android app classesPaul Gardiner
2013-05-27Android: Add label when deleting annotation.Robin Watts
Simple layout tweak to add 'Delete' into the header when deleting annotations.
2013-05-27Fix a crash when saving a file in the android app.Robin Watts
When saving, we'd close the document before we save it. As part of the leak fixing work, I'd freed the path as part of the closing process. Rework slightly to avoid this.
2013-05-27Solve fuzzing SEGV due to negative object number in xref.Robin Watts
2013-05-27Bring 2 versions of scaler code into line.Robin Watts
The check for width and height being stupidly large solves a SEGV that shows up while fuzzing.
2013-05-27Pull in latest fixes to jbig2dec.Robin Watts
Also fix android building with latest openjpeg2.
2013-05-27Treat multiple whitespace in search strings as single.Robin Watts
Skip over successive whitespace in search string. Make android use text_search.c
2013-05-27Fix indentation to be consistent with regard to tabs/spaces.Tor Andersson
2013-05-27Strip trailing whitespace.Tor Andersson
2013-05-27Add whitespace settings to .gitattributes and add commit hook script.Tor Andersson
Run "bash scripts/gitsetup.sh" to set up the hooks after cloning.
2013-05-27Fix of winRT solution for the changes with openjpeg plus fix for change in ↵Michael Vrhel
fz_device_bgr definition