Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Typo | Thiago Marcos P. Santos | 2015-06-29 | 1 | -1/+1 |
| | |||||
* | Add YCM config file for VIM users | Thiago Marcos P. Santos | 2015-06-29 | 1 | -0/+123 |
| | | | | | | | Tailor-made for Mapbox GL Native. For instructions of how to use, see: https://github.com/Valloric/YouCompleteMe | ||||
* | Fit to coordinates | Minh Nguyễn | 2015-06-26 | 5 | -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. Miller | 2015-06-26 | 0 | -0/+0 |
| | |||||
* | bump podspec & move back to symbols versionv0.4.1 | Justin R. Miller | 2015-06-26 | 1 | -1/+1 |
| | |||||
* | Avoid removing content size constraints | Minh Nguyễn | 2015-06-26 | 1 | -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 render | John Firebaugh | 2015-06-26 | 1 | -3/+0 |
| | |||||
* | Send MapChangeRegionIsChanging notifications | John Firebaugh | 2015-06-26 | 1 | -0/+3 |
| | |||||
* | Remove duration argument from View::notifyMapChange | John Firebaugh | 2015-06-26 | 6 | -49/+28 |
| | | | | Fixes #1026 | ||||
* | currentState() ⇢ getState() | John Firebaugh | 2015-06-26 | 4 | -17/+11 |
| | |||||
* | Move Transform from MapData to Map | John Firebaugh | 2015-06-26 | 10 | -130/+76 |
| | | | | | Pass current state to MapContext where needed. Remove mutex from Transform. | ||||
* | Move getMin/MaxZoom to TransformState | John Firebaugh | 2015-06-26 | 6 | -52/+50 |
| | |||||
* | Inline updateTiles and recalculateStyle | John Firebaugh | 2015-06-26 | 2 | -14/+2 |
| | |||||
* | drive Android rendering from the main thread via invalidate() calls | Konstantin Käfer | 2015-06-26 | 6 | -3/+92 |
| | |||||
* | drive map rendering from main thread | Konstantin Käfer | 2015-06-26 | 14 | -35/+71 |
| | |||||
* | remove unused renderAsync() function | Konstantin Käfer | 2015-06-26 | 2 | -5/+0 |
| | |||||
* | Implemented -setVisibleCoordinateBounds: | Minh Nguyễn | 2015-06-25 | 2 | -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 bounds | Minh Nguyễn | 2015-06-25 | 1 | -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 functions | Minh Nguyễn | 2015-06-25 | 9 | -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 padding | Minh Nguyễn | 2015-06-25 | 4 | -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 bounds | Minh Nguyễn | 2015-06-25 | 5 | -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 Wray | 2015-06-25 | 1 | -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 Whitman | 2015-06-25 | 1 | -1/+1 |
| | |||||
* | Add xcpretty dependency to README | Brent Whitman | 2015-06-25 | 1 | -0/+1 |
| | |||||
* | Reversed direction to be clockwise | Minh Nguyễn | 2015-06-25 | 2 | -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 regex | Thiago Marcos P. Santos | 2015-06-25 | 1 | -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. Santos | 2015-06-25 | 12 | -281/+9 |
| | | | | | mbgl::Environment is not used anymore and can removed. | ||||
* | Introduce GLObjectStore | Thiago Marcos P. Santos | 2015-06-25 | 12 | -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 ThreadContext | Thiago Marcos P. Santos | 2015-06-25 | 13 | -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 logging | Thiago Marcos P. Santos | 2015-06-25 | 1 | -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 ThreadContext | Thiago Marcos P. Santos | 2015-06-25 | 1 | -0/+29 |
| | |||||
* | Introduce the ThreadContext | Thiago Marcos P. Santos | 2015-06-25 | 14 | -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 unused | John Firebaugh | 2015-06-24 | 1 | -4/+1 |
| | |||||
* | Remove MapData dependency from AnnotationManager | John Firebaugh | 2015-06-24 | 3 | -22/+18 |
| | |||||
* | Transform needs only a single TransformState | John Firebaugh | 2015-06-24 | 3 | -100/+85 |
| | |||||
* | Cleaned up remaining bool function return values | Bruno de Oliveira Abinader | 2015-06-23 | 2 | -35/+35 |
| | |||||
* | Improve readibility for style parser results | Bruno de Oliveira Abinader | 2015-06-23 | 2 | -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 Abinader | 2015-06-22 | 3 | -2/+27 |
| | |||||
* | Fix resource loading flaky test | Thiago Marcos P. Santos | 2015-06-22 | 1 | -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 gitignore | Brad Leege | 2015-06-22 | 1 | -0/+3 |
| | |||||
* | Substitute lightweight generics macros in docset | Minh Nguyễn | 2015-06-22 | 1 | -4/+10 |
| | | | | Followup to 91641ffb01dcf8d303b13216797bb41d1f770124 for #1711: also preprocess the generics macros when generating a docset. | ||||
* | Screenshot III: The Reducening | Justin R. Miller | 2015-06-19 | 1 | -0/+0 |
| | |||||
* | Merge branch 'release-v0.4.0' | Justin R. Miller | 2015-06-19 | 9 | -8/+29 |
|\ | |||||
| * | Screenshot II: The Return of Screenshot | Justin R. Miller | 2015-06-19 | 4 | -3/+3 |
| | | |||||
| * | avoid release candidates in determining version | Justin R. Miller | 2015-06-19 | 2 | -2/+2 |
| | | |||||
| * | [publish ios-v0.4.0] | Justin R. Miller | 2015-06-19 | 0 | -0/+0 |
| | | |||||
| * | fixes #1756: call out breaking changes | Justin R. Miller | 2015-06-19 | 1 | -3/+3 |
| | | |||||
| * | update podspec (0.4.0 final, no symbols)v0.4.0 | Justin R. Miller | 2015-06-19 | 1 | -1/+1 |
| | | |||||
| * | another symbol fix for appledoc parsing | Justin R. Miller | 2015-06-19 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #1761 from mapbox/unavailable-docs | Justin R. Miller | 2015-06-19 | 2 | -3/+0 |
| |\ | | | | | | | remove docs for unavailable API |