Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Fix image type of Map::renderStill | John Firebaugh | 2015-11-25 | 21 | -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 tests | John Firebaugh | 2015-11-25 | 20 | -21/+116 |
| | |||||
* | [core] Add image tests | John Firebaugh | 2015-11-25 | 8 | -0/+94 |
| | |||||
* | [core] Always manually premultiply libpng output | John Firebaugh | 2015-11-25 | 3 | -23/+47 |
| | | | | It appears to be the only way to get the results we want in all cases. | ||||
* | [core] Rewrite image handling | John Firebaugh | 2015-11-25 | 34 | -696/+307 |
| | | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation | ||||
* | [core] [iOS] Completion handlers for animated methods | Minh Nguyễn | 2015-11-25 | 5 | -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 timer | Minh Nguyễn | 2015-11-25 | 1 | -15/+28 |
| | |||||
* | [iOS] Ensure consistent willChange/didChange notifications | Minh Nguyễn | 2015-11-25 | 1 | -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.1 | Mike Morris | 2015-11-25 | 2 | -1/+5 |
| | |||||
* | [node] test and publish binaries for Node.js v5.x | Mike Morris | 2015-11-25 | 1 | -0/+10 |
| | |||||
* | [android] #3008 - upgrade android grade plugin to 1.5.0 | Tobrun | 2015-11-25 | 133 | -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 ↵ | Tobrun | 2015-11-25 | 1 | -10/+25 |
|\ | | | | | | | git://github.com/brewin/mapbox-gl-native into brewin-android-quickzoom-fix | ||||
| * | Don't double-tap zoom when quickzooming on Android | Braden Ewing | 2015-11-25 | 1 | -10/+25 |
| | | |||||
* | | Fix GCC5 complaining about -Wunused-variable. | Thomas Voß | 2015-11-25 | 4 | -1/+12 |
| | | |||||
* | | Corrected changelog | Minh Nguyễn | 2015-11-24 | 1 | -1/+1 |
| | | | | | | | | [skip ci] | ||||
* | | Demonstrate show annotations in iosapp | Minh Nguyễn | 2015-11-24 | 1 | -6/+1 |
| | | | | | | | | ref #3110 | ||||
* | | Attach compass gesture recognizer to compass view | Minh Nguyễn | 2015-11-24 | 2 | -1/+6 |
| | | | | | | | | Fixes #3099. | ||||
* | | [node] update package.json depsnode-v2.0.0 | Mike Morris | 2015-11-24 | 1 | -6/+6 |
| | | |||||
* | | Updated guide URL | Minh Nguyễn | 2015-11-23 | 1 | -1/+1 |
| | | |||||
* | | [core] Remove unused | John Firebaugh | 2015-11-23 | 6 | -63/+42 |
| | | |||||
* | | [core] For binary image data use uint8_t, not char | John Firebaugh | 2015-11-23 | 13 | -34/+31 |
| | | |||||
* | | change iOS Bitrise Slack room | Justin R. Miller | 2015-11-23 | 1 | -1/+1 |
|/ | | | | [skip ci] | ||||
* | reduce framework binary size with more stripping | Justin R. Miller | 2015-11-23 | 1 | -0/+1 |
| | |||||
* | node-v2.0.0-pre.16node-v2.0.0-pre.16 | Mike Morris | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | [node] Allow GC in spite of reference loops through the request method | John Firebaugh | 2015-11-20 | 6 | -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__ property | Minh Nguyễn | 2015-11-20 | 1 | -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 root | Minh Nguyễn | 2015-11-20 | 3 | -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 PopupWindowView | Tobrun | 2015-11-20 | 7 | -42/+79 |
| | |||||
* | [core] more robust max-age parsing | Konstantin Käfer | 2015-11-20 | 5 | -5/+128 |
| | |||||
* | [iOS] Added missing documentation comment | Minh Nguyễn | 2015-11-20 | 1 | -1/+6 |
| | |||||
* | [core] Force style-sourced annotations to be visible | John Firebaugh | 2015-11-19 | 2 | -0/+4 |
| | |||||
* | [core] Followup fix to #3037 | John Firebaugh | 2015-11-19 | 2 | -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 style | Minh Nguyễn | 2015-11-19 | 1 | -10/+10 |
| | |||||
* | Ported replaceTokens() tests from GL JS | Minh Nguyễn | 2015-11-18 | 2 | -0/+51 |
| | |||||
* | refs #2380: plop Settings.bundle inside of framework distribution | Justin R. Miller | 2015-11-18 | 3 | -0/+36 |
| | |||||
* | refs #2922: update display link in all common modes (inc. scrolling) | Justin R. Miller | 2015-11-18 | 1 | -1/+1 |
| | |||||
* | [node] Fix race condition in tests | John Firebaugh | 2015-11-18 | 1 | -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 test | John Firebaugh | 2015-11-18 | 4 | -88/+14 |
| | | | | Previous test was invalid; Map::setSprite is only for annotations. | ||||
* | [core] Avoid calling AnnotationManager::updateStyle until the style is loaded | John Firebaugh | 2015-11-18 | 3 | -1/+8 |
| | | | Fixes #3037 | ||||
* | Ensure proper will/is/didChange for resetNorth | Minh Nguyễn | 2015-11-18 | 1 | -3/+11 |
| | |||||
* | [ios] update changelog for willStart/didFinishLoading | Jason Wray | 2015-11-18 | 1 | -0/+1 |
| | |||||
* | [ios] document willStart/didFinish map loading delegate methods | Jason Wray | 2015-11-18 | 1 | -4/+10 |
| | | | | Fixes #2706 | ||||
* | [core] Added ConstrainMode::{HeightOnly,WidthAndHeight} | Bruno de Oliveira Abinader | 2015-11-18 | 9 | -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 coordinates | Bruno de Oliveira Abinader | 2015-11-18 | 6 | -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::render | Bruno de Oliveira Abinader | 2015-11-18 | 8 | -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 recursion | Justin R. Miller | 2015-11-17 | 19 | -10/+47 |
| | |||||
* | clarify how to run individual tests | Justin R. Miller | 2015-11-17 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | add IB additions to umbrella header to avoid framework warnings | Justin R. Miller | 2015-11-17 | 1 | -0/+1 |
| | |||||
* | fixes #3054: move desktop test app keybindings output to startup log | Justin R. Miller | 2015-11-17 | 3 | -14/+27 |
| | |||||
* | [core] allow changing pitch in GLFW based apps | Konstantin Käfer | 2015-11-17 | 6 | -1/+24 |
| |