summaryrefslogtreecommitdiff
path: root/platform/ios
AgeCommit message (Collapse)Author
2016-07-14Simple update due to API changeMichael Vrhel
2016-07-14Update iOS code to call fz_close_device.Robin Watts
Reflect the change in API in the ios code.
2016-07-13Bug 696699: Fix Text extraction mediabox information.Robin Watts
Since the removal of the begin_page device function, structured text extraction has been unable to correctly establish the mediabox for extracted pages. Update the fz_new_stext_page call to take this mediabox information. This is an API change, but hopefully most people are calling fz_new_stext_page_from_page or fz_new_stext_page_from_display_list which are updated here to cope. Update all the apps/tools to behave properly.
2016-07-11Fixes to iOS application for recent API changesMichael Vrhel
2016-06-09iOS: Run Xcode's "Convert to Modern ObjC" for "ObjC literals"Joseph Heenan
Uses the more modern/concise syntax that arrived in Xcode 4.4
2016-06-09iOS: Replace property like accessors with propertiesJoseph Heenan
2016-06-09iOS: Use modern instancetype instead of id for init return typeJoseph Heenan
2016-06-09iOS: Fix a bad call to super in MuDocumentController.mJoseph Heenan
We're a subclass of UIViewController, so must call one of UIViewController's designated initialisers.
2016-06-09iOS: Replace char * with NSString in ObjC APIsJoseph Heenan
What is effectively our external API on iOS would be expected to use NSString rather than char *.
2016-06-09iOS: Remove some printfsJoseph Heenan
We shouldn't output any debug in default release build.
2016-05-25iOS: Update after pixmap alpha made optionalJoseph Heenan
2016-04-21Bump patch-level.Tor Andersson
2016-04-21ios: Fix memory leak of outline controller.Tor Andersson
2016-04-21ios: Regenerate app icons from original source image.Tor Andersson
The original app icon is in docs/logo/mupdf-simplified-logo.png mutool draw -o Icon-120.png -w 120 mupdf-simplified-logo.png mutool draw -o Icon-167.png -w 167 mupdf-simplified-logo.png mutool draw -o Icon-72.png -w 72 mupdf-simplified-logo.png mutool draw -o Icon-72@2x.png -w 144 mupdf-simplified-logo.png mutool draw -o Icon-76.png -w 76 mupdf-simplified-logo.png mutool draw -o Icon-76@2x.png -w 152 mupdf-simplified-logo.png mutool draw -o Icon.png -w 57 mupdf-simplified-logo.png mutool draw -o Icon@2x.png -w 114 mupdf-simplified-logo.png
2016-04-20Fix bug 696718 by deferring creation of the outline until it's about to be ↵fredrossperry
shown.
2016-04-19add 167x167 iconfredrossperry
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