summaryrefslogtreecommitdiff
path: root/ios
AgeCommit message (Collapse)Author
2012-08-06Always rebuild static libraries in unix, instead of updating themSebastian Rasmussen
The u modifier to to the ar replace command tells ar to only insert those object files into a static library that are newer than those already in the library (both having the same name). Moreover ar only stores timestamps down to second accuracy. This may cause situations where the object file already inside the library is considered equal to a newly built object file (which might include a new function) because their timestamps differ only in the sub-second part. One of the apps might have an object file that references this new function. Since the static library retains the old object file there will be a linking error when linking the app. Even re-running make will not fix the issue since the static library will have its modification time updated to a timestamp later than the newly built object file, which means that ar will not be run again. The only option is to make nuke and rebuild from scratch. From now on, the u modifier to the ar replace command is removed. This means that ar will rebuild static libraries without taking timestamps of object files into account, to make sure that the build never ends up in the situation described above.
2012-04-27Register iOS app as handler for PDF, XPS and CBZ files.Tor Andersson
2012-03-28Update application icons.Tor Andersson
2012-03-21Update iOS app.Tor Andersson
2012-03-13Rename some functions and accessors to be more consistent.Tor Andersson
Debug printing functions: debug -> print. Accessors: get noun attribute -> noun attribute. Find -> lookup when the returned value is not reference counted. pixmap_with_rect -> pixmap_with_bbox. We are reserving the word "find" to mean lookups that give ownership of objects to the caller. Lookup is used in other places where the ownership is not transferred, or simple values are returned. The rename is done by the sed script in scripts/rename3.sed
2012-02-09Update iOS code to latest changes.Tor Andersson
2012-02-09Update ios and Android projects with locking changes.Robin Watts
I forgot to update Android and iOS projects with the extra arg to fz_new_context. Fixed here.
2012-02-07Rename a few functions.Tor Andersson
2012-02-03Allow ZIP as extension for CBZ files.Tor Andersson
2012-02-01Fix missing argument in iOS app.Tor Andersson
2012-01-30Add CBZ (comic book zip-file) parser.Tor Andersson
2012-01-27Rename pdf_xref type to pdf_document.Tor Andersson
2012-01-19Remove confusing optional 'password' argument to pdf_open_xref.Tor Andersson
Require that clients call pdf_needs_password/pdf_authenticate_password instead. For dumb clients, we still allow for decrypting a file with a blank password without calling those functions.
2012-01-12Use the same coordinate system for pdf and xps pages in the interface.Tor Andersson
Move coordinate space tweaks into pdf_ and xps_run_page, and provide neutral pdf_ and xps_bound_page functions to return the page size as a zero-origined bounding box.
2012-01-11Add xps_run_page function.Tor Andersson
2012-01-11Hide glyph cache in context.Tor Andersson
2012-01-11Set default values for alloc context and max store size if none are given.Sebastian Rasmussen
2012-01-11Stylistic comment and whitespace fixes.Tor Andersson
2012-01-05Update iOS app to context branch.Tor Andersson
2011-11-24Prepare for App Store release.Tor Andersson
2011-11-24Resize searchBar manually instead of relying on automatic resizing.Tor Andersson
2011-11-22Add password dialog to iOS app.Tor Andersson
2011-11-22Fix memory leaks in iOS app.Tor Andersson
The use of a set for visible pages was causing reference counting cycles. viewDidUnload is only called in low memory warning situations, not as part of the normal tear down.
2011-11-22Tweak search UI and use iOS 5 features for better toolbar buttons.Tor Andersson
2011-11-22Update About document and fix some search UI bugs in iOS app.Tor Andersson
2011-11-22Display search results and search in background thread.Tor Andersson
2011-11-22Add search buttons and search bar to iOS app.Tor Andersson
2011-11-22Add searching to the high level document API in the iOS app.Tor Andersson
2011-11-10Add XPS outline parsing and move outline data struct to fz_outline.Tor Andersson
2011-11-09Add simple document interface and XPS support to iOS app.Tor Andersson
2011-11-08Support iPhone 4 retina display.Tor Andersson
2011-11-08Small tweaks to iOS app.Tor Andersson
2011-11-08Force MuPageView dealloc to always occur in main thread.Tor Andersson
When a page view was removed (because it scrolled off too far) while the background thread had its page queued, when the block completed and released the page view in the cancel case (thus not passing a block back to the main queue), the dealloc would trigger in the worker thread. This is not safe to do with UIKit, causing crashes!
2011-11-07Calculate bbox for page and tiles correctly when zooming.Tor Andersson
2011-11-04Put Run Script build phase in a separate target so that Xcode can keep track ↵Tor Andersson
of dependecies.
2011-11-03Overlay a high resolution tile when viewing a zoomed in page.Tor Andersson
2011-11-03Fix race conditions when rotating the view.Tor Andersson
If you rotate the screen while pages are being rendered, they will arrive at the wrong size, and will have to be reloaded. We must take care not to mess up the currently displayed image view, since the new rendering may arrive in the middle of a rotation animation.
2011-11-03Use nested UIScrollViews to support zooming as well as page flipping.Tor Andersson
2011-11-02Change Xcode project file search paths.Tor Andersson
2011-11-02Fix double free bug when cleaning up the document controller.Tor Andersson
2011-11-01Dynamically change navigation bar titles based on context.Tor Andersson
2011-11-01Tweak scale factors, and fix one reference count error.Tor Andersson
Consider rotated pages when calculating the fit page to screen scaling factors. Also adjust the scale factors to always map the mediabox to an integral number of pixels.
2011-11-01Use timer to reload list of files when the library view is open.Tor Andersson
We can't use applicationDidBecomeActive in iOS 5 to trigger a reload, since the file sync can happen in the background.
2011-11-01Remember and restore view to last page visited for each document.Tor Andersson
Also remember which document was open last time the application was closed.
2011-11-01Rename About.pdf and add high-res icon.Tor Andersson
2011-11-01Use a smaller font for the table of contents.Tor Andersson
2011-11-01Remove flexible spaces that are not needed, and cause issues with iOS < 5.Tor Andersson
2011-11-01Fix scrolling/page flipping glitches by using real animations.Tor Andersson
The UIScrollView animated scrolling doesn't interact with the regular animation framework, nor does it work well with gesture recognizers. When tapping quickly to flip pages, the repeated taps overwrite the animations already started. Fix this by queuing real animations instead.
2011-11-01Add howto sample document, page indicator and page scrubber.Tor Andersson
2011-11-01Add Icon to iOS viewer.Tor Andersson