summaryrefslogtreecommitdiff
path: root/platform/ios/Classes
AgeCommit message (Collapse)Author
2014-06-27iOS - Fix #695217 - don't allow annotation of encrypted PDFsMatt Holgate
2014-06-26Add missing fz_var() and fix potential memory leak.Matt Holgate
2014-06-26Fix deleting wrong file or crashing app if first file deleted.Matt Holgate
Correct an off-by-one error in the file deletion code.
2014-06-26Add missing 'period' to files launched via 'Open In' before file extension.Matt Holgate
Fixes bug #694711. As far as I could see, opening an XPS worked fine, the first time. However, if the same file was opened a second time, then it should have been saved with a number, e.g. foo(1).xps. However, the period was ommitted, so the file wasn't recognised as an XPS. This presumably wasn't an issue for PDF files, as PDF format is assumed by default (I am guessing).
2014-06-26Fix various Xcode analyzer warnings.Matt Holgate
Most were pretty harmless, and were addressed by renaming functions to match the Core Foundation naming conventions, but there was one actual memory leak, and some potential uses of uninitialised data.
2014-06-18Fix for bug #694405 - iOS Pdf CrashMatt Holgate
If an iOS app uses too much memory, the OS asks it to free up some space. If it doesn't do so in a timely manner, it will get a second warning before being killed by the OS. In other platforms, where malloc() return NULL in OOM, the store scavenger releases memory when mallocs fail. In iOS, mallocs usually never return NULL because the app is killed before this can happen. Therefore, we need to initiate a scavenge from the low memory notification instead. We evict the store to 50% of its current size when a memory warning occurs when it is in the foreground, and 0% when a memory warning occurs whilst it is in the background. Having said this, I didn't manage to get a background warning to occur, presumably because we don't request background execution Therefore, I think in practice the OS just kills the process. However, this will be useful if we ever add background execution.
2014-04-24iOS: remove the annotations button for non-interactive document typesPaul Gardiner
2014-04-24iOS: perform rendering for AirPrint in stripsPaul Gardiner
2014-04-24iOS: fix AirPrint quality to 300 dpiPaul Gardiner
2014-04-24iOS: refactor AirPrint code ready for printing at higher res and in stripsPaul Gardiner
2014-04-24iOS: copy files from Inbox to Documents so that they can be alteredPaul Gardiner
2014-04-24iOS: add support for sharing documents with other appsPaul Gardiner
2014-04-22Fix iOS formatting.Tor Andersson
2014-04-18iOS: use bitmap based printingPaul Gardiner
allows printing of file types other than PDF
2014-04-18iOS: add AirPrint supportPaul Gardiner
2014-04-02iOS: in 7.0 and above, allow the system to tint our custom menu buttonsPaul Gardiner
2014-04-02iOS: ensure that the slider has the correct size if hidden during device ↵Paul Gardiner
rotation
2014-03-26iOS: fix build and update to use mujsPaul Gardiner
2014-01-13iOS: attach the slider to the toolbar differently for iOS 7Paul Gardiner
Under iOS 7, the slider becomes inoperable when included a toolbar item in the standard way. Instead just add it as a subview, being careful to also remove it to avoid multiple copies
2014-01-10iOS: animate the custom buttons used for the iPhone buildPaul Gardiner
2014-01-10iOS: correctly handle document changes that may affect several pagesPaul Gardiner
Interaction with forms may change several pages, so all pages currently represented by view need updating.
2014-01-10iOS: better structure the page update codePaul Gardiner
2014-01-10iOS: on iPhone use custom buttons to accommodate shortage of spacePaul Gardiner
Otherwise, in portrait mode, there isn’t enough room for all five buttons and some are not displayed.
2014-01-09Remove comment header blurb from ios files.Tor Andersson
2014-01-09iOS: save changes on returning to the libraryPaul Gardiner
Also change the way the back button works, using an explicit action, rather than relying on the navigation controller. Doing so allowed an alert dialog to be displayed asking if document changes should be discarded or saved. It also allowed the word-based button to be replaced by an icon-based one, which saves space (important for iPod and iPhone). We may want to also save on other occasions, but this at least provides some way to do so.
2014-01-07iOS: remove search-bar-transparency hackPaul Gardiner
Doesn’t work in iOS 7.1: removes the the whole text view
2014-01-07iOS: don’t allow hiding of the navigation bar when it is other than at the ↵Paul Gardiner
root menu Seems more natural and avoids cases where tapping doesn’t bring the bar back, hence trapping the user in one of the submodes.
2014-01-07iOS: protect against crashing when handling accented chars in choice fieldsPaul Gardiner
Use conversion assuming ascii as a fallback to assuming utf8. The library should be converting to utf8 but doesn’t currently.
2014-01-07iOS: update the form filling dialogs to avoid the keyboard hiding the buttonsPaul Gardiner
Also bring up the keyboard automatically
2014-01-07iOS: fix for document handlersPaul Gardiner
2013-11-27iOS: some fixes for iOS 7Paul Gardiner
2013-11-22iOS: fix white-space inconsistencyPaul Gardiner
2013-11-22iOS; remove use of deprecated functions and fix other warningsPaul Gardiner
2013-11-22iOS: support annotation deletionPaul Gardiner
2013-11-22iOS: hold widget rectangles using document coordinatesPaul Gardiner
2013-11-20iOS: support creation of Ink annotationsPaul Gardiner
2013-11-19iOS: add support for creating markup annotationsPaul Gardiner
2013-11-07iOS: fix non-appearance of buttons for files with no outlinePaul Gardiner
2013-10-16iOS: add support for selecting form choice fieldsPaul Gardiner
2013-10-16iOS: use partial updates to display annotation changesPaul Gardiner
2013-10-16iOS: keep reference to the fz_pixmaps.Paul Gardiner
2013-10-16iOS: support filling in of text form fieldsPaul Gardiner
2013-10-09iOS: ensure link highlights scale correctly on zoom and stay visiblePaul Gardiner
2013-10-09iOS: implement internal-link followingPaul Gardiner
Also: add hooks for the other link types remove unnecessary protocol from MuPageViewReflow turn off optimizations for the debug build
2013-10-02iOS: unify the drawing of the main image and the tilePaul Gardiner
2013-10-02iOS: rework some positioning calclationsPaul Gardiner
The new code yields the same result as that that it replaces, but might be easier to understand.
2013-10-02iOS: Introduce use of display listsPaul Gardiner
Also add exception handling around library calls
2013-09-25iOS: while adjusting reflow zoom, refresh only the visible pagePaul Gardiner
At end of gesture all pages are refreshed so that newly-becoming-visible pages appear at the correct zoom.
2013-09-24iOS: add reflow modePaul Gardiner
2013-09-24iOS: use ObjC-level ref counting to control lifetime of fz_documentPaul Gardiner
With the latest version if iOS, timing changes were causing crashes during close down of a MuDocumentController. This change isolates us from those changes.