Commit Graph

7892 Commits

Author SHA1 Message Date
Jesse Bounds
c9520713ca [ios] Update telem domain and certs (#5181)
Change domain from api -> events
Replace old certs with new ones with the same name. The new certs
have an expiry that is further out.
2016-05-27 18:43:39 -07:00
Jesse Bounds
6ec9295ab5 [ios] Force update from display link when display link is created. (#5164)
This forces the call of the map view's display link target when the
display link is created. When a map view is shown the first time
this is not required. However, if the display link was torn down
and then recreated due to the map view being removed / obscured in the
view hierarchy the map view delegate may expect to be informed when
the map view did finish loading the map when it is shown again.

This adds a call to `updateFromDisplayLink` just after a display link
is created which helps trigger a full refresh of the map in the sense
that all delegate methods get exercised including
`mapViewDidFinishLoadingMap`.
2016-05-27 17:37:09 -07:00
Thiago Marcos P. Santos
9db75f1be3 [core] Fill the initial changeTimes with the reference timestamp of the first frame
On the Javascript implementation the array is automatically filled with
zeroes which is not the same thing as `TimePoint::min()`. Here we need
to get our own "zero" which is the timestamp of the first frame.

Fixes #5109
2016-05-27 23:30:12 +03:00
Jesse Bounds
5c9968b089 [ios] Update changelog for annotation view distance scaling. 2016-05-27 12:52:10 -07:00
Tobrun Van Nuland
78fe86fcb1 [android] #5106 - add check for destroyed map view for addMarker() 2016-05-27 11:43:59 -05:00
Minh Nguyễn
71caee2e49 [osx] Updated changelog for #5141
Same as 2f25c1ac43, but for OS X.
2016-05-27 09:30:30 -07:00
Jason Wray
2f25c1ac43 [ios] Update changelog for raster memory leak fix in #5141 2016-05-27 12:23:50 -04:00
Mike Morris
95f1804053 node-v3.1.3 2016-05-27 11:53:17 -04:00
Rob | Labs
c53a1a3dce [privacy] [android] Remove logging of location due to privacy leak.
* Location logs are not just kept on the device.
* Some logging packages, e.g.,
 Firebase, now has the option to upload logs to cloud.
* This closes a potential privacy leak.
2016-05-27 10:50:04 -05:00
Thiago Marcos P. Santos
5be5bab730 [Qt] Share the same RunLoop if in the same thread 2016-05-27 15:44:59 +03:00
Thiago Marcos P. Santos
d0561c5d6c [Qt] Assert that we run the async on the right loop 2016-05-27 15:44:59 +03:00
Tobrun Van Nuland
6cfee1db7c [android] #5113 - added javadoc to the MarkerView API 2016-05-27 14:12:01 +02:00
Tobrun Van Nuland
d54f951785 [android] #5113 - added javadoc for MarkerViewManager 2016-05-27 14:11:42 +02:00
Konstantin Käfer
1b8d280e3f [core] refactor updateRenderables algorithm 2016-05-27 10:15:06 +02:00
Konstantin Käfer
ebff2234e4 [core] remove unused template definition 2016-05-27 10:15:02 +02:00
Jesse Bounds
c90f51a1a9 [ios] Add annotation view scaling (#5085)
This adds an option to MGLAnnotationView so that a developer can control
how their annotation views scale in size as they approach the top of
the map view (along the Y axis). The size change is also affected by
the pitch (tilt) of the map view. If there is no tilt then scaling
is not performed. As the map is tilted scaling is gradually applied.

This turns the MGLAnnotationView implementation into an Objective C++
class so that SDK constants from C++ files can be used.

The new behavior is enabled by default to maintain consistency with
annotations backed by GL sprites. The MBXViewController redundantly
sets the new property as an illustration of use.
2016-05-26 23:10:02 -07:00
Minh Nguyễn
8ace0d37d1 [core] AnnotationTileLayer vends its own name (#5163)
Fixes #5159.
2016-05-26 13:12:23 -07:00
Konstantin Käfer
27f9a85fea [node] don't fire callback for canceled AsyncRequest 2016-05-26 20:17:36 +02:00
Bruno de Oliveira Abinader
c111250fcc [core] s/operator bool/created()/ in {GL,TexturePool}Holder
Prevents confusing usage of GL holder objects.
2016-05-26 19:36:52 +03:00
Bruno de Oliveira Abinader
b2b2797c2a [core] Move objectStore in {GL,TexturePool}Holder::reset()
Fixes an issue where a moved {GL,TexturePool}Holder would use an invalid
pointer when accessing 'objectStore'.

Fixes #5136.
2016-05-26 19:36:51 +03:00
Bruno de Oliveira Abinader
26a425fa6d [Qt] QMapboxGLPrivate::getPixelRatio() cleanup 2016-05-26 17:52:34 +03:00
Tore Halset
f3ec50da12 overide canBecomeFirstResponder to return YES to be able to use UIMenuController on the map (#5156) 2016-05-26 07:43:53 -07:00
Tobrun Van Nuland
af6ae05ca3 [android] #3629 - smooth animation for non location tracking 2016-05-26 15:55:01 +02:00
Tobrun Van Nuland
bd0f0d3a21 [android] #3629 - smooth MyLocationView animation when tracking the user location, introducing a new easeTo method with a linear interpolator 2016-05-26 15:35:03 +02:00
Bruno de Oliveira Abinader
bdeabc492c Revert "[build] Use 'npm update --dev' to install devDependencies"
This reverts commit f4ebda09be.
2016-05-26 16:16:15 +03:00
Konstantin Käfer
d5e62136b2 [docker] upgrade docker scripts [skip ci] 2016-05-26 14:26:01 +02:00
Bruno de Oliveira Abinader
f4ebda09be [build] Use 'npm update --dev' to install devDependencies 2016-05-26 15:00:55 +03:00
Tobrun Van Nuland
cd517b90fa [android] #5034 - calculate correct padding for left, top, right and bottom 2016-05-26 11:30:30 +02:00
Tobrun
034246e00a [android] #5034 - LatLngBounds Camera update not taking map padding in account
[android] #5034 - padding not being included in getVisibleBounds
2016-05-26 11:30:27 +02:00
Minh Nguyễn
102e62ae55 [ios] KIF tests require submodules
Documented the submodule step for running KIF-based SDK UI tests. This happened as part of installing core dependencies until #5122.
2016-05-25 22:49:22 -07:00
John Firebaugh
172e645686 [core] Port "combine line-width and line-gap-width in shader"
a9559e911b
fcb9bcebae
2016-05-25 21:37:58 -07:00
John Firebaugh
c568a8ad77 [core] Port "separate u_opacity from u_color"
0d34125196
1f5afa7db0
2016-05-25 21:37:58 -07:00
John Firebaugh
d7a477b165 [core] Update mapbox-gl-shaders 2016-05-25 21:37:58 -07:00
John Firebaugh
e49d538e77 [docs] Update INSTALL.md
* git submodules are init'd automatically by the build script
* styles are no longer bundled
* Don't list libtool and automake: if mason fails to find a prebuilt binary, it's a bug and we want to fix it
2016-05-25 21:37:58 -07:00
John Firebaugh
2d44ee1b1a [docs] Add Node.js to INSTALL.md 2016-05-25 21:37:58 -07:00
John Firebaugh
45c5b2a66c [core] Share shaders with gl-js 2016-05-25 21:37:58 -07:00
John Firebaugh
4e2c743eba [android] Install node in CI 2016-05-25 21:37:58 -07:00
John Firebaugh
672eb61079 [core] box_shader ⇢ collision_box_shader 2016-05-25 21:37:22 -07:00
John Firebaugh
30ec1c1fed [core] Remove unused dot shader 2016-05-25 21:37:22 -07:00
John Firebaugh
2846e2a424 [build] Move express dependency to package.json 2016-05-25 21:37:17 -07:00
Brad Leege
485a644d32 [android] #5075 - Setting MapboxAccountManager as preferred source for access token 2016-05-25 20:40:17 -05:00
Brad Leege
50b891561f [android] #5075 - Removing options.accessToken() usage in MapFragmentActivity and SupportMapFragmentActivity 2016-05-25 20:40:17 -05:00
Brad Leege
e02a753de9 [android] #5075 - Adding deprecation notices 2016-05-25 20:40:17 -05:00
Jason Wray
842de0e859 [ios] Fix points/shapes typo that caused crash (#5142)
https://github.com/mapbox/mapbox-gl-native/pull/5097 introduced different arrays for points and shapes, but only ever attempted to use the points array. Adding a shape would crash.
2016-05-25 17:48:51 -04:00
Konstantin Käfer
b4de5f472a [core] rename TileData::State to DataAvailability and make it private 2016-05-25 21:51:25 +02:00
Konstantin Käfer
6f1477f2d4 [core] split TileData::State::obsolete into its own thing 2016-05-25 21:51:25 +02:00
Konstantin Käfer
c91e4ee1f4 [core] normalize TileData::State::obsolete handling 2016-05-25 21:51:25 +02:00
Konstantin Käfer
c52a0c65f4 [core] remove TileData::State::loaded 2016-05-25 21:51:25 +02:00
Konstantin Käfer
95dc8ff3e1 [core] remove unused TileData::hasData() 2016-05-25 21:51:25 +02:00
Konstantin Käfer
d1ea695b96 [core] remove unused TileData::State::invalid 2016-05-25 21:51:25 +02:00