summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix result value from parseProperty when T = std::array<float, 2>Bruno de Oliveira Abinader2015-06-223-2/+27
|
* Fix resource loading flaky testThiago Marcos P. Santos2015-06-221-14/+15
| | | | | | | | | | When testing failed vector tiles requests, we check for error messages of a very specific tiles, but mbgl will requests 4 tiles. We might get the error callback before the tile we are checking for reports error, so the test fails. Now we use a regex to match the log message we are looking for.
* Adding extraneous settings files to gitignoreBrad Leege2015-06-221-0/+3
|
* Substitute lightweight generics macros in docsetMinh Nguyễn2015-06-221-4/+10
| | | | Followup to 91641ffb01dcf8d303b13216797bb41d1f770124 for #1711: also preprocess the generics macros when generating a docset.
* Screenshot III: The ReduceningJustin R. Miller2015-06-191-0/+0
|
* Merge branch 'release-v0.4.0'Justin R. Miller2015-06-199-8/+29
|\
| * Screenshot II: The Return of ScreenshotJustin R. Miller2015-06-194-3/+3
| |
| * avoid release candidates in determining versionJustin R. Miller2015-06-192-2/+2
| |
| * [publish ios-v0.4.0]Justin R. Miller2015-06-190-0/+0
| |
| * fixes #1756: call out breaking changesJustin R. Miller2015-06-191-3/+3
| |
| * update podspec (0.4.0 final, no symbols)v0.4.0Justin R. Miller2015-06-191-1/+1
| |
| * another symbol fix for appledoc parsingJustin R. Miller2015-06-191-1/+1
| |
| * Merge pull request #1761 from mapbox/unavailable-docsJustin R. Miller2015-06-192-3/+0
| |\ | | | | | | remove docs for unavailable API