summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bump podspec to 0.4.3v0.4.3Justin R. Miller2015-06-301-1/+1
|
* Go dormant before terminationMinh Nguyễn2015-06-301-0/+13
| | | | Speculative fix for #1460 per https://github.com/mapbox/mapbox-gl-native/issues/1460#issuecomment-99959434.
* Rationalize *RenderingMap notificationsJohn Firebaugh2015-06-306-14/+56
|
* Eliminate unnecessary NSNumber* wrappingJohn Firebaugh2015-06-301-21/+21
|
* Eliminate MapData::get/setFullyLoadedJohn Firebaugh2015-06-304-33/+25
|
* [publish ios-v0.4.2]Justin R. Miller2015-06-300-0/+0
|
* bump podspec to 0.4.2v0.4.2Justin R. Miller2015-06-301-1/+1
|
* Check if the style was loaded before renderingThiago Marcos P. Santos2015-06-301-2/+5
| | | | | | We now drive rendering from the main thread calling renderSync(), but if we do it just after we set the style URL it will assert because renderSync() expects the style to be fully loaded.
* Update test suiteJohn Firebaugh2015-06-291-0/+0
|
* Use array of structs rather than parallel arrays for annotationsJohn Firebaugh2015-06-298-171/+179
|
* Update test suiteJohn Firebaugh2015-06-291-0/+0
|
* Update test suiteJohn Firebaugh2015-06-291-0/+0
|
* add assert_always() macro for release build assertionsKonstantin Käfer2015-06-293-0/+23
|
* TypoThiago Marcos P. Santos2015-06-291-1/+1
|
* Add YCM config file for VIM usersThiago Marcos P. Santos2015-06-291-0/+123
| | | | | | | Tailor-made for Mapbox GL Native. For instructions of how to use, see: https://github.com/Valloric/YouCompleteMe
* Fit to coordinatesMinh Nguyễn2015-06-265-17/+76
| | | | Whoever determined the boundaries of the District of Columbia did not have fit-to-bounds implementations in mind. With this change, shapes that are not unrotated rectangles fit much, much better.
* [publish ios-v0.4.1]Justin R. Miller2015-06-260-0/+0
|
* bump podspec & move back to symbols versionv0.4.1Justin R. Miller2015-06-261-1/+1
|
* Avoid removing content size constraintsMinh Nguyễn2015-06-261-20/+71
| | | | | | Also, on iOS 8.0+, use `+[NSLayoutConstraint activateConstraints:]` and `+deactivateConstraints:` to efficiently prevent redundant constraints from lingering. Fixes #1779.
* Don't send MapChangeRegionIsChanging on every renderJohn Firebaugh2015-06-261-3/+0
|
* Send MapChangeRegionIsChanging notificationsJohn Firebaugh2015-06-261-0/+3
|
* Remove duration argument from View::notifyMapChangeJohn Firebaugh2015-06-266-49/+28
| | | | Fixes #1026
* currentState() ⇢ getState()John Firebaugh2015-06-264-17/+11
|
* Move Transform from MapData to MapJohn Firebaugh2015-06-2610-130/+76
| | | | | Pass current state to MapContext where needed. Remove mutex from Transform.
* Move getMin/MaxZoom to TransformStateJohn Firebaugh2015-06-266-52/+50
|
* Inline updateTiles and recalculateStyleJohn Firebaugh2015-06-262-14/+2
|
* drive Android rendering from the main thread via invalidate() callsKonstantin Käfer2015-06-266-3/+92
|
* drive map rendering from main threadKonstantin Käfer2015-06-2614-35/+71
|
* remove unused renderAsync() functionKonstantin Käfer2015-06-262-5/+0
|
* Implemented -setVisibleCoordinateBounds:Minh Nguyễn2015-06-252-3/+12
| | | Followup to #1783: Implemented the non-animated version of fit to bounds and makes it a KVO-compliant property.
* Maintain rotation when fitting to boundsMinh Nguyễn2015-06-251-13/+21
| | | | | | Also fit to the rotated bounds. A little more verbose than necessary due to <http://stackoverflow.com/a/2357688/4585461>. ref mapbox/mapbox-gl-js#1338
* Test fit to bounds; added MGLCoordinateBounds functionsMinh Nguyễn2015-06-259-16/+131
| | | | Added a bunch of functions to work with MGLCoordinateBounds in a separate header analogous to MKGeometry.h. Added resolution-independent tests for common fit to bounds scenarios.
* Fit to bounds with paddingMinh Nguyễn2015-06-254-11/+37
| | | | Each side of the bounding box is specified independently, allowing more flexibility than the offset + padding construct supported in mapbox/mapbox-gl-js’ Camera.
* Reimplemented fit to boundsMinh Nguyễn2015-06-255-11/+60
| | | | The new implementation is now public and takes advantage of MGLCoordinateBounds. It is re-ported from `Camera.prototype.fitBounds()` in mapbox/mapbox-gl-js to ensure correct behavior. A new function, MGLCoordinateBoundsMake(), makes it easier to create an MGLCoordinateBounds for use with this method.
* Remove redundant didChangeAuthorizationStatus: in favor of didFailWithError:Jason Wray2015-06-251-9/+0
| | | | Listening to both `locationManager:didChangeAuthorizationStatus:` and `locationManager:didFailWithError:` delegate methods is unnecessary. Setting `showsUserLocation = NO` in the first means that the second never gets called and our `mapView:didFailToLocateUserWithError:` delegate method never gets called.
* Fix typo which caused MGLMultiPoint to return longitude as latitude of bounds.Brent Whitman2015-06-251-1/+1
|
* Add xcpretty dependency to READMEBrent Whitman2015-06-251-0/+1
|
* Reversed direction to be clockwiseMinh Nguyễn2015-06-252-3/+3
| | | | | | For consistency with MapKit, the Google Maps SDK, and these methods’ own documentation. Fixes #1780.
* Be more strict on escaping at the test regexThiago Marcos P. Santos2015-06-251-4/+4
| | | | | | | | Apparently libc++ is more strict about escaping than libstdc++. Also, restrict the set of tiles we expect to the only possible tiles.
* Get rid of Environment et al.Thiago Marcos P. Santos2015-06-2512-281/+9
| | | | | mbgl::Environment is not used anymore and can removed.
* Introduce GLObjectStoreThiago Marcos P. Santos2015-06-2512-14/+126
| | | | | Make a class for keeping GL objects ids and attach it to the ThreadContext instead of hanging it on the Environment.
* Make the FileSource available from the ThreadContextThiago Marcos P. Santos2015-06-2513-32/+51
| | | | | | For now we set the FileSource for the Worker context but in the future after fixing #1664 we can assert() that FileSource are set only for the Map thread context.
* Use ThreadContext data for loggingThiago Marcos P. Santos2015-06-251-11/+2
| | | | | | | Do not use the Environment anymore. The Environment ID is not really necessary anymore as we are forwarding exceptions to the main thread, so we always know which Map object triggered the error.
* Add unit tests for ThreadContextThiago Marcos P. Santos2015-06-251-0/+29
|
* Introduce the ThreadContextThiago Marcos P. Santos2015-06-2514-36/+128
| | | | | | | | | mbgl::Thread will keep a ThreadContext for each running instance in a thread_local so we don't need to lookup a man in the Environment every time we need some info about the current thread. This patch is moving the ::currentlyOn check used on Debug build from the Environment class to the ThreadContext.
* Remove unusedJohn Firebaugh2015-06-241-4/+1
|
* Remove MapData dependency from AnnotationManagerJohn Firebaugh2015-06-243-22/+18
|
* Transform needs only a single TransformStateJohn Firebaugh2015-06-243-100/+85
|
* Cleaned up remaining bool function return valuesBruno de Oliveira Abinader2015-06-232-35/+35
|
* Improve readibility for style parser resultsBruno de Oliveira Abinader2015-06-232-96/+104
| | | | | Introduces StyleParser::Result being a std::tuple<Status, T>, where StyleParser::Status is a boolean enumerator which improves readibility.