Commit Graph

5798 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
ff5d405958 [core] Update::Classes already implies repaint 2015-11-09 15:05:08 +02:00
Leith Bade
1a68241bb0 [android] Fix Canvas.quickReject() crash on API 15
Also tidy android.os.Build refs
Fixes #2976
2015-11-09 21:33:30 +11:00
Leith Bade
83cf2197fa [android] Make Annotation.getId() suitable for public use.
Fixes #2914
2015-11-09 20:06:14 +11:00
Leith Bade
23d1b75e78 [android] Check for location permission in MyLocationTrackingModeActivity
Fixes #2110
2015-11-09 20:05:09 +11:00
Tobrun
30cac4ff00 [android] #2974 - Update documentation token.txt
Update documentation due to migration of the token from testapp to SDK
2015-11-08 18:39:00 +01:00
Justin R. Miller
0e5063799a bump iOS version to 3.0.0-pre.5 2015-11-06 17:57:47 -08:00
Justin R. Miller
815516a6f7 fixes #2961: download payload over HTTPS 2015-11-06 17:04:11 -08:00
Justin R. Miller
423cfc11e5 refs #2966: remove -ObjC linker flag & bring in categories via other means 2015-11-06 16:16:50 -08:00
Minh Nguyễn
17451418cc [core] Update after final frame of transition
The final frame is self-destructing – it destroys the frame and finish functions – so technically we’re no longer inTransition(). Yet there still needs to be an update after that final frame.

Also, avoid a redundant change notification on the last frame. (It would come too late, after the DidChange notification, anyhow.)

Fixes #2946.
2015-11-06 11:06:53 -08:00
John Firebaugh
10858ab382 [core] Remove the ability to change cross-fade durations via transition
We shouldn't overload transition duration to mean the duration of the
cross-fade when moving between stops. If we want to allow styles to
override the default 300ms fade duration, it should be a dedicated
property like raster-fade-duration.

I don't think any styles use this functionality -- if they did, they
were broken for MapMode::Still rendering.
2015-11-06 10:39:06 -08:00
John Firebaugh
9b537fab29 [core] Use frame animation time, not Clock::now(), for fading 2015-11-06 10:38:48 -08:00
John Firebaugh
b81243daa9 [core] Merge PiecewiseConstantFunction into Function 2015-11-06 10:38:48 -08:00
John Firebaugh
7de4ce5bcb [core] Simplify Function 2015-11-06 10:38:47 -08:00
Bruno de Oliveira Abinader
5ef5d08867 [core] Reset GL values when needed 2015-11-06 20:05:01 +02:00
Bruno de Oliveira Abinader
8894982625 [core] Use GL_TRUE/GL_FALSE instead of true/false 2015-11-06 20:05:01 +02:00
Brad Leege
162ad67802 [android] #2953 - Removing old path to project 2015-11-06 10:43:31 -06:00
Konstantin Käfer
ec1a58d8ef [core] clear the render order when we're loading a new style
regression introduced by #2908
2015-11-06 16:42:44 +01:00
Thiago Marcos P. Santos
cb92290f9d [core] Use tileSize constant
Instead of hardcoding the tile size again.
2015-11-06 14:44:52 +02:00
Bruno de Oliveira Abinader
179917ccb6 [core] Replace GL config save/restore with setDirty mechanism 2015-11-06 13:36:00 +02:00
Konstantin Käfer
69564cc886 [core] fix logging so we don't use strings as a formatter 2015-11-06 10:16:52 +01:00
Brad Leege
bbf16b2b1d [android] #2891 - 23.0.2 Take 2 2015-11-05 17:49:53 -06:00
Brad Leege
c8de6fda51 [android] #2919 - Trimming whitespace during setAccessToken() 2015-11-05 17:33:00 -06:00
Mike Morris
36a8fb32d5 [node] Fixes 'make xnode' to configure HOST_SLUG.gypi
Adds node-gyp to dev-dependencies to support 'make xnode' on Node v0.10.x
Ignores -Wnested-anon-types around v8.h includes.
2015-11-05 18:16:33 -05:00
Brad Leege
9066552c13 [android] #2921 - Regenerating gradle-wrapper.jar and adding distribution sha check 2015-11-05 16:36:06 -06:00
Brad Leege
2c53e66527 [android] #2921 - Upgrading Gradle Wrapper to 2.8 2015-11-05 16:36:06 -06:00
Minh Nguyễn
99211bc168 [iOS] Defer didChange until after animation
Fixes #2436.
2015-11-05 13:28:17 -08:00
Mike Morris
ff801dc2a8 [node] only upload render test results on linux
They don't run on OS X because Travis OS X boxes don't have GPUs.
2015-11-05 14:45:34 -05:00
Mike Morris
3a91686a09 [node] autopublish node-pre-gyp binary
If $TRAVIS_TAG matches with node-v${PACKAGE_JSON_VERSION}.
2015-11-05 14:45:34 -05:00
Thiago Marcos P. Santos
be16c37e65 [core] Added missing virtual destructor to HTTPContextBase 2015-11-05 19:26:05 +02:00
Leith Bade
1fcc606d27 [android] Save polylines
Fixes #2906
2015-11-06 00:52:38 +11:00
Konstantin Käfer
177372b836 [core] only update the render order array when there are changes to tiles 2015-11-05 10:33:21 +01:00
Konstantin Käfer
24285926c2 [core] Include Linux-specific scheduling header
before, builds for Linux didn't include thread priority control
2015-11-05 10:32:45 +01:00
Mike Morris
ed1a761632 [node] update platform/node/CHANGELOG.md [skip ci] 2015-11-04 19:43:11 -05:00
Mike Morris
0403b282f3 [node] update platform/node/CHANGELOG.md [skip ci] 2015-11-04 19:40:06 -05:00
Mike Morris
5e58070dec [node] make ratio optional, default to 1.0 2015-11-04 18:18:08 -05:00
Mike Morris
3528002b58 [node] swap array order to [lng, lat] for render option center
For consistency with GeoJSON and mapbox-gl-js
2015-11-04 17:41:34 -05:00
Minh Nguyễn
d00f8e37c7 Disable callout view dimming when tap is a no-op
Fixes #2634.
2015-11-04 13:36:33 -08:00
Minh Nguyễn
4956c05042 [iOS] Wait for style loading, then rotation, then compass fading
Fixes #2920.
2015-11-04 13:02:32 -08:00
Adam Hunter
b55bd85886 Indicate target frame interval, with a comment about how it relates to FPS. 2015-11-04 10:33:30 -08:00
Justin R. Miller
3bab2ad7d6 more clearly indicate target FPS as relates to display link 2015-11-04 10:33:30 -08:00
Justin R. Miller
af758abf0f cleanups
- We don't need a mutex as everything is ensured on main thread.
 - Move internal-only properties to ivars.
 - Avoid API collision with needsDisplay.
 - Move code to lifecycle section.
2015-11-04 10:33:30 -08:00
Adam Hunter
36d90ea97d Fix #1975 - improve animation fluidity and response 2015-11-04 10:33:30 -08:00
Mike Morris
dfb36d6231 [core] move mbgl.gyp to gyp directory
So npm won't clobber binding.gyp, refs
https://github.com/npm/npm/issues/10243
2015-11-04 11:34:35 -05:00
Lucas Wojciechowski
da569c266b [node] enable npm to build mapbox-gl-native package from source
This reverts commit 311bf93abe.

more explicit require paths in tests
2015-11-04 11:34:35 -05:00
Konstantin Käfer
8e63084c9e [core] Move remaining GL state from Painter into GLConfig object 2015-11-04 13:38:51 +01:00
Konstantin Käfer
1468ff13e3 [core] catch compression/decompression errors and report them 2015-11-04 12:57:50 +01:00
Minh Nguyễn
1e27092669 Strip whitespace and newlines from access token and style URL
Just in case browser weirdness or a tendency to triple-click-select is causing some cases of #2012.
2015-11-03 14:46:30 -08:00
Brad Leege
2b5b6fad96 [android] - Adding Android SDK releases to changelog 2015-11-03 15:06:38 -06:00
Brad Leege
fb9df7674c [android] #2891 - Going back to Android Build Tools 23.0.1 2015-11-03 09:51:16 -06:00
Leith Bade
d0e96c5303 [android] Update to build tools 23.0.2
Fixes #2891
2015-11-03 21:31:41 +11:00