summaryrefslogtreecommitdiff
path: root/platform/ios
AgeCommit message (Collapse)Author
2016-04-12Fixes for building on XCode 7.3, and to use copies of images from the ↵fredrossperry
Android viewer project.
2016-04-06Bump version number.Tor Andersson
2016-03-31Initialize disabled document writing flags to zeroSebastian Rasmussen
Also remove redundant assignments. Fixes http://bugs.ghostscript.com/show_bug.cgi?id=695968
2016-01-05Remove fz_page argument from fz_annot function calls.Tor Andersson
2016-01-05Link required thirdparty libraries into one library: libmupdfthird.aTor Andersson
Keep the extra thirdparty libraries (curl and glfw) separate. This matches the build process for android and win32. Also purge some unused makefile sections.
2015-12-18iOS: Fix two warnings in MuPrintPageRenderer with latest XcodeJoseph Heenan
MuPrintPageRenderer.h:2:9: error: 'MuDocRef.h' file not found with <angled> include; use "quotes" instead MuPrintPageRenderer.m:35:16: warning: if statement has empty body [-Wempty-body] MuPrintPageRenderer.m:35:16: note: put the semicolon on a separate line to silence this warning
2015-12-18Remove fz_save_document and use pdf_save_document directly instead.Tor Andersson
In preparation of adding pdf_write_document that writes a document to a fz_output stream.
2015-12-15muPDF iOS app: Support for the latest (3.4.1) Crashlytics.fredrossperry
- added four zlib files to Makethird that contain functions needed by the new version. - added -Wno-implicit-function-declaration so these new files, which contain some implicit declarations, would build for iOS - added a section to Info.plist that holds the new API key, with an invalid value that the release build script will fill in. - changes to MuAppDelegate for the new version. <log></log>
2015-12-15muPDF iOS app: properly support 4-inch iPhone.fredrossperry
A new TestFlight build could not be uploaded without making sure that the default launch screen image was getting placed in the app package. <log></log>
2015-12-15muPDF iOS app: add bitcode and UIRequiresFullScreenfredrossperry
Starting with Xcode 7, bit code is enabled by default. This change enables it in the static libraries that are linked, by adding the appropriate compiler switch. Also added UIRequiresFullScreen to the plist; this seems to have no ill effect when uing XCode 6. <log></log>
2015-12-11Rename structured text structs and functions to 'stext'.Tor Andersson
Less risk of confusion with the text type used in the device interface.
2015-10-21Bump version number.Tor Andersson
2015-10-14Add proper support for when a combobox widget has options that are 2-element ↵Michael Vrhel
arrays The list box and combo box can have values that are 2-element arrays. The first element is the "export" value and the second element is the value that should be shown in the list box UI. This fix ensures that we get the proper value to show in the UI. Also, it adds the option to get the export values. These are needed if you wish to update the field dictionary's V (value) entry, which is the currently selected values(s). This fix works well with gsview. The other viewers will now display the proper content in their UI, (unlike before this fix) but may need a bit more work to ensure that the proper V (value) is updated with changes in the selections. In addition, we add selection rectangles to the selected list box items.
2015-05-07Update version number to 1.7a for the bugfix release.Tor Andersson
2015-04-15ios: add epub to the list of handled file formatsTor Andersson
2015-04-15Fix crash in iOS app when share button is usedPaul Gardiner
popover presentations need to be told which button to emerge from
2015-04-07Fix whitespace.Tor Andersson
2015-02-25iOS: Minor cleanups to match current best practiceJoseph Heenan
2015-02-25iOS: Fix some warnings in the 64bit buildJoseph Heenan
2015-02-25iOS: Disable empty body warningJoseph Heenan
This silences this warning: thirdparty/jbig2dec/jbig2_text.c:899:73: warning: for loop has empty body [-Wempty-body] for (SBSYMCODELEN = 0; (1 << SBSYMCODELEN) < SBNUMSYMS; SBSYMCODELEN++); ^ thirdparty/jbig2dec/jbig2_text.c:899:73: note: put the semicolon on a separate line to silence this warning
2015-02-25iOS: Suppress warnings about unused functionsJoseph Heenan
There are a fair number of warnings about unused functions, mostly in third-party modules, and we would like the build to be warning free. We need to change the main Makefile, as -Wall is currently added in Makerules, and we need our -Wno-unused-function in XCFLAGS to be after -Wall on the command line for it to have any effect.
2015-02-25iOS: conform to recent mupdf API changes.fredrossperry
2015-02-17Rename fz_close_* and fz_free_* to fz_drop_*.Tor Andersson
Rename fz_close to fz_drop_stream. Rename fz_close_archive to fz_drop_archive. Rename fz_close_output to fz_drop_output. Rename fz_free_* to fz_drop_*. Rename pdf_free_* to pdf_drop_*. Rename xps_free_* to xps_drop_*.
2015-02-17Reference count fz_document.Tor Andersson
2014-10-12iOS: Remove CFBundleIcon* keys from the Info.plistJoseph Heenan
These are now generated by Xcode at build time from the asset catalogue, and the CFBundleIconFiles we had here was upsetting the app store validator.
2014-10-05iOS: Run at native res on iphone6/6+Joseph Heenan
All that is necessary is to add a launch xib.
2014-10-05iOS: tweak types to avoid warnings in 64 bit buildsJoseph Heenan
Still more warnings left.
2014-10-04iOS: minor cleans upsJoseph Heenan
unused variables / functions / potential uninitialised variable usage
2014-10-04iOS: convert app icons & launch image into image cataloguesJoseph Heenan
2014-10-04iOS: Enable various warnings to match current best practiceJoseph Heenan
2014-10-04iOS: Fix an analyser warningJoseph Heenan
In MuDocRef initialise. it spotted cases where self could be released twice after a failure.
2014-10-04iOS: Remove empty didReceiveMemoryWarning implementationJoseph Heenan
2014-10-04iOS: Fix a warning in xcode 6Joseph Heenan
scrollViewDidEndZooming takes a CGFloat.
2014-10-04iOS: Add missing [super viewWillAppear/Disappear] callsJoseph Heenan
Spotted by xcode6 analyser
2014-10-04iOS: Move instance variables from .h to .mJoseph Heenan
These are private details that, since changes in Xcode, no longer need to be exposed in the headers.
2014-09-30Bump version number.Tor Andersson
2014-07-17Fix odd animation when opening a document on iOS.Matt Holgate
The background colour of the MuDocumentController's root view wasn't set, so the MuLibraryController was showing through until it had been removed from the screen. Fix by setting the background colour to gray - the same colour as the window.
2014-07-16Fix page changing when rotating the device.Matt Holgate
A bug in UIKit means our 'scrollViewDidScroll' method is called during screen rotation. This ended up corrupting our current page number because the width of the screen had changed at this point, but the pages hadn't yet been resized/repositioned (I assume). The workaround is to ignore calls to scrollViewDidScroll during rotation.
2014-07-16Remove iOS debug output.Matt Holgate
This debug output was listing the names of all the files to the iOS console every 3 seconds. Remove it.
2014-07-14Add the ability to hook a post-archive script into the build process.Matt Holgate
Used by the Testflight build. The post-archive step requires nastiness to pass the result of the script back to the caller via a temporary file. The reason for this is that a bug in Xcode means that failures from post-archive steps do not get propagated back to the user who called xcodebuild archive. Also, update the postbuild script to explicitly invoke bash (so we can avoid assuming /bin/sh is bash, and to avoid problems where executable permissions aren't set properly).
2014-07-10Convert Xcode schemes to shared schemes, so that they are tracked in git.Matt Holgate
It is recommended that you delete any personal schemes that have the same name as the shared ones, for example by cleaning your git tree with: cd platform/ios/MuPDF.xcodeproj && git clean -X -f -d (this will wipe out any .gitignore'd files in your tree - so be careful. Make sure you use an uppercase -X option; the lowercase version will wipe non-ignored files!).
2014-07-10Crashlytics support for official builds.Matt Holgate
Add hooks to allow us to pass in the Crashlytics SDK location and the API key from the command line. The SDK and API key will be held in a separate private repository. Should have no effect on regular builds.
2014-07-10Enable modules in iOS build.Matt Holgate
Speeds up compilation, and means we can avoid having to list all the system frameworks (so I've deleted them).
2014-07-07Fix disabled state of bar buttons on iPhone/iPod Touch.Matt Holgate
Previously on iOS 7, bar buttons didn't change visually when disabled. Also improves the look and feel - the buttons are now tinted in the highlighted state rather than showing a grey background. On iOS 7, the iPhone/iPad buttons style match. Tested on iOS 6 iPad/iPod and iOS 7 iPad/iPod.
2014-07-07Use tabs rather than spaces for the MuPDF project.Matt Holgate
2014-07-03Disable document interaction features when reflow enabled.Matt Holgate
The features do not work in reflow mode - Android already disables them.
2014-07-03Fix memory leak in MuDocRef.m.Matt Holgate
Remember to release self, if we're returning nil from the initialiser. Also, there is no need for fz_var(doc), because doc is an ivar and effectively equivalent to 'self->doc'.
2014-07-03Don't crash if a document fails to open on iOS.Matt Holgate
Handle exceptions from fz_open_document().
2014-07-01Fix bug #695346 - iOS app does not register to open CBZ files.Matt Holgate
Use the UTI 'public.cbz-archive' instead of the more generic 'public.zip-archive'. It's likely another app (or the OS) has an Exported UTI for 'public.zip-archive' which would take precedence over our Imported UTI and not have a 'cbz' extension. It's not entirely clear what the correct UTI to use for CBZs is (there are a few), but public.cbz-archive seems to be most likely candidate. Remove the 'zip' extension, as we probably don't want to load arbitrary zip files. Add mimetypes for all completeness, and separate OXPS from XPS as it has a different mimetype.
2014-06-30Switch to Artifex Team.Matt Holgate