summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-05-24Android: Update makefiles for new single lib V8 builds.Robin Watts
We have a new method of making V8 libs for android that results in a single lib rather than 2, and works on armeabi and x86 as well as armeabi-v7a.
2013-05-24Bug 694092: Android: Redraw performance (overdraw) fixesRobin Watts
Thanks to Goncalo Ferreira(*) (aka monxalo) for this patch. Firstly, we move our textured background off the layout and into a style applied to MuPDFActivity. By using "windowBackground", we avoid the default background being redrawn only to be overlaid with ours. This cuts out one level of overdrawing. Secondly, when drawing each PageView, the old code would render the background for the page, then would draw the bitmap over the top of that. While it's important to draw the background of the page before we have a bitmap for the page, we can avoid that stage once a page bitmap arrives. (* apologies for not being able to put the cedilla on the 'c' in your name, but git gives problems with top bit set chars.)
2013-05-24Avoid assert, and pull in changes.zeniko
Fix from zeniko.
2013-05-24Fix from zeniko for memory leak in fz_load_jpxRobin Watts
2013-05-24Take on zenikos OpenJPEG2 fixes.Robin Watts
2013-05-24Update build to use the latest openJPEG2Shailesh Mistry
2013-05-22Bug 693540: Update OpenJPEG2 with fix for expected number of parts.Robin Watts
2013-05-22Bug 693503: Fix infinite loop within JPEG2K stream reading.Robin Watts
The openjpeg stream reading code is supposed to return -1 to mean 'EOF'. Update our implementation in line with this. This stops samples_mupdf_001/402.pdf.SIGSEGV.2e4.2672 going into an infinite loop.
2013-05-22Update openjpeg with latest commits.Robin Watts
2013-05-22Update OpenJPEG to v2.0.0.Robin Watts
2013-05-22Fix end-of-line handling in text search.Tor Andersson
2013-05-22Rewrite pdfapp search to use common search functions.Tor Andersson
2013-05-22Fix typo in comment.Tor Andersson
2013-05-21Android: Fix crash when selecting text.Robin Watts
We were failing to setup and maintain the span number correctly.
2013-05-21Fix app breakages.Robin Watts
Android app was still thinking that we had only one fz_device_rgb rather than one per context. Android app had a typo in resulting in searching ending in an infinite loop. Text search failed to search outside the first block of each page.
2013-05-21Addition of support for password input.Michael Vrhel
Also rework of startup based upon password entry. Fix for bug that caused a crash when slider was used, thumbs were still rendering and a new document was opened.
2013-05-21Add monochrome PWG output routines.Robin Watts
2013-05-21Remove useless -lpng from doc/example.c and doc/multi-threaded.cTor Andersson
2013-05-21Mudraw: Add -c colorspace flag.Robin Watts
2013-05-21Split PWG code into a separate file.Robin Watts
2013-05-21Add PWG options structure for writing PWGs.Robin Watts
This should (pretty much) give us enough to write a mupdftoraster equivalent of gstoraster.
2013-05-17Add colorspace context dummy functions to cmapdump.cTor Andersson
2013-05-16Add colorspace context.Tor Andersson
To prepare for color management, we have to make the device colorspaces per-context and able to be overridden by users.
2013-05-16Reorder #ifdef's in base_time.cTor Andersson
2013-05-16Only link with X11 for X11 viewer.Tor Andersson
2013-05-16winrt: Strip trailing whitespace.Tor Andersson
2013-05-16Merge branch 'winRT2'Robin Watts
2013-05-16Addition of progress bar code with cancel during text search.Michael Vrhel
Also place holders for password support and initial work towards keyboard based zooming.
2013-05-16Mutex fixRobin Watts
2013-05-16Miscellaneous tidying.Robin Watts
Remove stray win32 changes. Update indentation style.
2013-05-16Minor fixes to winRT project and text search code to account for changes in ↵Michael Vrhel
golden
2013-05-16Code cleanup and removal of c++ if def in fitz headersMichael Vrhel
2013-05-16Implemented zooming and fixed and simplified the binding of several objects ↵Michael Vrhel
to the UI XAML
2013-05-16Fix for some memory leaks as well as a stack growth issue in the text search.Michael Vrhel
Also made text search a bit more robust in the viewer code.
2013-05-16Fix to ensure thumbnails that are rendered asynchronously out of order get ↵Michael Vrhel
placed in order into the thumbnail structure. Also fix to remove race condition between when the page view is updated with a full res image and the links are displayed. Previously the thumbnail was getting the link on occasion
2013-05-16Text search working now. This is done in a similar fashion the the linksMichael Vrhel
Still need a to fix a few minor issues including a progress bar
2013-05-16Support for going to the links.Michael Vrhel
Used tag attribute in rectangle object to store the index value into the collection of rectangles to get back the page number or uri.
2013-05-16Display of link in document reworked.Michael Vrhel
They are now bound to the UI xaml as a collection of rectangle coordinate and color.
2013-05-16Fix for crash with rotation of devices. Added rescale for thumb images with ↵Michael Vrhel
device rotation.
2013-05-16Rework of background task set up for rendering the thumbnails of the pages ↵Michael Vrhel
in the background. these are stored and swapped in and out of the page collection that is viewed as the user goes through the flip view. had some issues with respect to getting the background tasks shut down and mupdf cleaned up when someone opens a new file. that is now all resolved. This all simplified the code significantly.
2013-05-16Fix so that we can open a new document after already opening oneMichael Vrhel
2013-05-16Code cleanupMichael Vrhel
2013-05-16Removal of old winapp projectMichael Vrhel
2013-05-16Addition of html viewing with winRT library callMichael Vrhel
2013-05-16Addition of content display into WinRT libraryMichael Vrhel
2013-05-16Major changes in the entire design.Michael Vrhel
Initial commit of this and it has several issues that have to be worked through. Lots of broken stuff but I needed to get it in place. Added 2 new classes. One is muctx which contains all the interfacing to mupdf and uses standard c++ types. The other is mudocument which interfaces between muctx and the WinRT world. It passes WinRT objects to and from applications which can be written in C++, C#, Visual Basic, Javascript etc. mudocument and muctx will reside in a winRT DLL. The Viewer application (c++ version) is now in mupdf_cpp project and now has a flip view structure that includes a scroll viewer which has data binding to a collection. This enables much easier zooming and updating, however I am still trying how to bind the canvas elements that contain the text search or link information.
2013-05-16Fix for issues in links as well as search. Also some general clean up.Michael Vrhel