summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-2521-67/+70
| | | | | | | It's a premultiplied image. This implies that we were misusing encodePNG in most cases, as we were passing premultiplied pixels which were then interpreted as unmultiplied. I changed encodePNG to accept premultipled pixels, and unpremultiply in the implementations.
* [test] Add pixelmatch; use in annotation testsJohn Firebaugh2015-11-2520-21/+116
|
* [core] Add image testsJohn Firebaugh2015-11-258-0/+94
|
* [core] Always manually premultiply libpng outputJohn Firebaugh2015-11-253-23/+47
| | | | It appears to be the only way to get the results we want in all cases.
* [core] Rewrite image handlingJohn Firebaugh2015-11-2534-696/+307
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [core] [iOS] Completion handlers for animated methodsMinh Nguyễn2015-11-255-6/+85
| | | | | | Added transition frame and finish functions to CameraOptions. Added Objective-C equivalents to the three main entry points to easeTo() in MGLMapView. Fixes #1581.
* [iOS] Wait for didChange notifications instead of timerMinh Nguyễn2015-11-251-15/+28
|
* [iOS] Ensure consistent willChange/didChange notificationsMinh Nguyễn2015-11-251-185/+60
| | | | | | Coalescing willChange/didChange notifications means keeping track of how many gestures are currently in progress; a boolean isn’t enough to track this state. This change refactors the gesture recognizers, making them more consistent with each other and more consistent in the case where more than one of them has fired. It also explicitly cancels transitions before all programmatic viewport-modifying methods, since mbgl only does so when animating. Fixes #2313, fixes #2379, fixes #3062.
* node-v2.0.1node-v2.0.1Mike Morris2015-11-252-1/+5
|
* [node] test and publish binaries for Node.js v5.xMike Morris2015-11-251-0/+10
|
* [android] #3008 - upgrade android grade plugin to 1.5.0Tobrun2015-11-25133-62/+247
| | | | | | [android] #2386 - Add vector drawable and rippleDrawable for attribution icon [android] #2736 - Replace bitmap assets with vector drawable
* Merge branch 'android-quickzoom-fix' of ↵Tobrun2015-11-251-10/+25
|\ | | | | | | git://github.com/brewin/mapbox-gl-native into brewin-android-quickzoom-fix
| * Don't double-tap zoom when quickzooming on AndroidBraden Ewing2015-11-251-10/+25
| |
* | Fix GCC5 complaining about -Wunused-variable.Thomas Voß2015-11-254-1/+12
| |
* | Corrected changelogMinh Nguyễn2015-11-241-1/+1
| | | | | | | | [skip ci]
* | Demonstrate show annotations in iosappMinh Nguyễn2015-11-241-6/+1
| | | | | | | | ref #3110
* | Attach compass gesture recognizer to compass viewMinh Nguyễn2015-11-242-1/+6
| | | | | | | | Fixes #3099.
* | [node] update package.json depsnode-v2.0.0Mike Morris2015-11-241-6/+6
| |
* | Updated guide URLMinh Nguyễn2015-11-231-1/+1
| |
* | [core] Remove unusedJohn Firebaugh2015-11-236-63/+42
| |
* | [core] For binary image data use uint8_t, not charJohn Firebaugh2015-11-2313-34/+31
| |
* | change iOS Bitrise Slack roomJustin R. Miller2015-11-231-1/+1
|/ | | | [skip ci]
* reduce framework binary size with more strippingJustin R. Miller2015-11-231-0/+1
|
* node-v2.0.0-pre.16node-v2.0.0-pre.16Mike Morris2015-11-231-1/+1
|
* [node] Allow GC in spite of reference loops through the request methodJohn Firebaugh2015-11-206-73/+35
| | | | | | | | | | | | | | The following produces a reference cycle: var map = new mbgl.Map({ request: function () { ... } }); map has a reference to the request function, which has a reference to its closure, which has a reference to map. Storing a the map options in an internal field, rather than a Persistent, allows V8 to collect the reference cycle when none of its members have other references.
* Discourage code usage of styleURL__ propertyMinh Nguyễn2015-11-201-0/+3
| | | | A hack atop the hack added in #2632. Pre-declare `styleURL__` with an attribute that prevents it from appearing in code completion suggestions, while leaving it available to Interface Builder, which is unable to parse attributes.
* [iOS] Set application root as asset rootMinh Nguyễn2015-11-203-14/+4
| | | | | | As of #2746, we no longer bundle any styles with the SDK, so the asset: URL scheme is unused. Instead, point asset: to the application root for developer convenience and consistency with the Android and default asset roots. Also fixed an issue that prevented relative URLs from being treated as asset: URLs. Fixes #1208, fixes #3050.
* [android] - #2658 improve window background PopupWindowViewTobrun2015-11-207-42/+79
|
* [core] more robust max-age parsingKonstantin Käfer2015-11-205-5/+128
|
* [iOS] Added missing documentation commentMinh Nguyễn2015-11-201-1/+6
|
* [core] Force style-sourced annotations to be visibleJohn Firebaugh2015-11-192-0/+4
|
* [core] Followup fix to #3037John Firebaugh2015-11-192-2/+2
| | | | | | | | | The previous fix resulted in annotations sometimes never being added. This would happen if, during the execution of MapContext::update where Update::Annotations was set, the style itself was loaded but some of its subresources (sprite or sources) were not. #3082 is a follow up issue to make MapContext::update less error-prone.
* Fixed Linux builds; code styleMinh Nguyễn2015-11-191-10/+10
|
* Ported replaceTokens() tests from GL JSMinh Nguyễn2015-11-182-0/+51
|
* refs #2380: plop Settings.bundle inside of framework distributionJustin R. Miller2015-11-183-0/+36
|
* refs #2922: update display link in all common modes (inc. scrolling)Justin R. Miller2015-11-181-1/+1
|
* [node] Fix race condition in testsJohn Firebaugh2015-11-181-8/+0
| | | | The message callback races with the rest of this test. We already have tests for errors being emitted from mbgl, so just remove it.
* Rewrite CustomSpriteImages testJohn Firebaugh2015-11-184-88/+14
| | | | Previous test was invalid; Map::setSprite is only for annotations.
* [core] Avoid calling AnnotationManager::updateStyle until the style is loadedJohn Firebaugh2015-11-183-1/+8
| | | Fixes #3037
* Ensure proper will/is/didChange for resetNorthMinh Nguyễn2015-11-181-3/+11
|
* [ios] update changelog for willStart/didFinishLoadingJason Wray2015-11-181-0/+1
|
* [ios] document willStart/didFinish map loading delegate methodsJason Wray2015-11-181-4/+10
| | | | Fixes #2706
* [core] Added ConstrainMode::{HeightOnly,WidthAndHeight}Bruno de Oliveira Abinader2015-11-189-33/+93
| | | | | | | | | | ConstrainMode gives flexibility to our engine to choose between constraining both vertically and horizontally, or just vertically (default behavior). Constrain in both axis means we can no longer pan the map beyond the map boundaries. This fixes an issue where e.g. annotations disappear upon crossing the map boundaries.
* [core] Fix LatLngBounds default coordinatesBruno de Oliveira Abinader2015-11-186-12/+20
| | | | | | | | | LatLngBounds southwest and northeast coordinate points were inverted, so they could be extended via LatLngBounds::extend(). However, this looks confusing and error-prone. A static LatLngBounds::getExtendable() is added to address cases when we want to extend LatLngBounds.
* [core] Avoid extra copy of TransformState in Painter::renderBruno de Oliveira Abinader2015-11-188-21/+20
| | | | | | In MapContext thread, TransformState gets updated from main thread to MapContext and Painter can safely reference MapContext's TransformState instead of copying it upon each Painter::render call.
* more clearly indicate Foundation imports to avoid recursionJustin R. Miller2015-11-1719-10/+47
|
* clarify how to run individual testsJustin R. Miller2015-11-171-1/+1
| | | | [skip ci]
* add IB additions to umbrella header to avoid framework warningsJustin R. Miller2015-11-171-0/+1
|
* fixes #3054: move desktop test app keybindings output to startup logJustin R. Miller2015-11-173-14/+27
|
* [core] allow changing pitch in GLFW based appsKonstantin Käfer2015-11-176-1/+24
|