Commit Graph

6113 Commits

Author SHA1 Message Date
Konstantin Käfer
132b68e4fc [core] split Source parsing into separate functions 2015-12-11 15:25:12 -08:00
Konstantin Käfer
2b9f20461a [core] move SourceInfo to its own file 2015-12-11 15:25:12 -08:00
John Firebaugh
65b3220368 [core] Reduce custom layer API to lowest common denominator 2015-12-11 12:44:54 -08:00
Tobrun
78691fa9e6 [android] #3245 Reverse Tilt Gesture 2015-12-11 09:26:19 -08:00
Tobrun
f2b22666b0 [android] #3246 disable zoom controls 2015-12-11 09:22:29 -08:00
Tobrun
b832969b81 [android] #3248 - enforce application context in a singleton 2015-12-11 09:14:18 -08:00
Tobrun
18d451f393 [android] #3238 inconsistent package name 2015-12-11 09:11:26 -08:00
danswick
09bf5570e1 updates order of lifecycle methods. Addresses #2957 2015-12-10 21:09:14 -08:00
Stephen Niedzielski
9747caa435 Fix Android ProGuard View rules & release signing
- Enable ProGuard for the test app so the most common use case may be tested.
- Update ProGuard to keep all Mapbox views and their methods.
  Previously, ProGuard was stripping numerous class methods including
  UserLocationView.g/setAccuracy(). These particular methods are
  accessed via reflection. On newer APIs, this manifests only in Logcat
  and loss of functionality:

   PropertyValuesHolder  W  Method setAccuracy() with type float not found on target class class com.mapbox.mapboxsdk.views.UserLocationView
                         W  Method getAccuracy() with type null not found on target class class com.mapbox.mapboxsdk.views.UserLocationView

  On Android 4.03 and 4.04 (API 15), this causes an NPE:

    java.lang.NullPointerException
      at android.animation.PropertyValuesHolder.setupSetterAndGetter(PropertyValuesHolder.java:513)
      at android.animation.ObjectAnimator.initAnimation(ObjectAnimator.java:385)
      at android.animation.ValueAnimator.setCurrentPlayTime(ValueAnimator.java:537)
      at android.animation.ValueAnimator.start(ValueAnimator.java:927)
      at android.animation.ValueAnimator.start(ValueAnimator.java:950)
      at android.animation.ObjectAnimator.start(ObjectAnimator.java:363)
      at com.mapbox.mapboxsdk.views.UserLocationView.setLocation(UserLocationView.java:401)
      at com.mapbox.mapboxsdk.views.UserLocationView.toggleGps(UserLocationView.java:300)
      at com.mapbox.mapboxsdk.views.UserLocationView.setEnabled(UserLocationView.java:230)
      at com.mapbox.mapboxsdk.views.MapView.setMyLocationEnabled(MapView.java:3122)
      ...

  Also add Support libraries rules to the test. Further amendments may
  be made by examining usage.txt[0,1].

[0] http://developer.android.com/tools/help/proguard.html#enabling
[1] http://proguard.sourceforge.net/manual/usage.html#shrinkingoptions
2015-12-10 20:47:11 -08:00
Thiago Marcos P. Santos
37ca365469 [tests] Force classic locale on toString tests
Fix an issue where the test result can be affected
depending on the current locale settings of the
machine running the tests.
2015-12-10 18:25:51 -08:00
John Firebaugh
0ff9295ca8 [core] Move linux and osx to platform subdirectory 2015-12-10 16:50:39 -08:00
Konstantin Käfer
93c000dd18 [core] viewport is handled by embedding applications 2015-12-10 14:16:11 -08:00
Vladimir Agafonkin
bd56c8634b [core] update annotation simplification [skip ci]
This matches VT default
https://github.com/mapbox/tilelive-bridge/commit/6bd5b3cc68e86990cc9cf2b
fde5e956373cb5b0c
2015-12-10 13:16:40 -08:00
Vladimir Agafonkin
b44331245a [core] update geojson-vt options
- fix the code to use the same simplification tolerance
- remove outdated indexMaxZoom/Points values and rely on default
- bump buffer 2x to fix bleeding linecaps on thick lines
2015-12-10 12:59:49 -08:00
Konstantin Käfer
da7b6bb8b9 [core] upgrade to GeoJSON VT 3.0.0 2015-12-10 12:54:58 -08:00
Konstantin Käfer
655b777635 [core] don't rebuild shaders unless they change 2015-12-10 11:59:51 -08:00
Tobrun
b7a238f425 [android] #3240 - Reimplemented compass algorithm for compass bearing, fixed switching between user location tracking modes 2015-12-09 17:22:06 -08:00
Adam Hunter
095a8be300 Implementation of flyTo. 2015-12-09 17:14:22 -08:00
John Firebaugh
896245e510 [test] Update test suite 2015-12-09 16:25:45 -08:00
Tobrun
50ed524e51 [android] #3224 - add espresso test for TiltActivity 2015-12-09 14:54:38 -08:00
John Firebaugh
bde07c8f0e [core] Custom layers 2015-12-09 13:51:28 -08:00
Brad Leege
0346cfd865 [android] #2954 - Refactoring UserLocationView to use common LocationServices for location data 2015-12-09 12:45:35 -08:00
Brad Leege
220006fecb [android] #2954 - Building LocationListener infrastructure 2015-12-09 12:45:35 -08:00
Brad Leege
cddedf6966 [android] #2954 - Setting up specific toggle GPS functionality 2015-12-09 12:45:35 -08:00
Brad Leege
a7307f01bb [android] #2954 - Setting up LOST client 2015-12-09 12:45:34 -08:00
Brad Leege
96591c47cf [android] #2954 - LocationServices Singleton setup 2015-12-09 12:45:34 -08:00
John Firebaugh
45c7b472ad [core] Ensure GL state is set to necessary values in more places 2015-12-09 12:10:23 -08:00
Konstantin Käfer
249966a9d7 [node] don't go through npm to debug in Xcode 2015-12-09 11:54:04 -08:00
Antonio Zugaldia
9bd6abb023 [android] Set the bearing of the checked object to avoid a null exception
Fixes #3213
2015-12-09 09:40:28 -08:00
Thiago Marcos P. Santos
40b2d81a22 [core] Use compilation database for YCM
Now the .ycm_extra_conf.py is very close to the YCM
upstream reference file.
2015-12-08 15:47:23 -08:00
Tobrun
b7037bb4b1 [android] #3221 - added unit test for Polyline and Polygon, updated test for Marker 2015-12-08 15:04:04 -08:00
Mike Morris
55d97c1ad1 [node] document EventEmitter interface [skip ci] 2015-12-08 14:36:38 -08:00
Mike Morris
515a4fffab node-v2.1.0 2015-12-08 11:39:12 -08:00
Konstantin Käfer
7bfeaca85c [core] Reverse direction of line-offset 2015-12-08 10:49:23 -08:00
Justin R. Miller
318ea16c4c fix erroneous changelog 2015-12-08 10:36:44 -08:00
Justin R. Miller
1d5f9b08f5 update changelog for ios-v3.0.1 2015-12-08 10:30:00 -08:00
Thiago Marcos P. Santos
0a97145d05 [core] Better C++ usage on RunLoop
Follow-up of #3179.
2015-12-08 10:23:11 -08:00
Tobrun
cfd93a803d [android] #3215 added unit test for marker, moved tests to their own dedicated packages, added toString method to Marker 2015-12-07 18:30:49 -08:00
John Firebaugh
e04c5f6506 [core] Replace StyleLayerType with RTTI 2015-12-07 18:22:33 -08:00
Konstantin Käfer
8bfc5de1dc [build] use ccache 2015-12-07 17:53:38 -08:00
Konstantin Käfer
e1390f4f6f [test] restructure .travis.yml and remove Android tests from Travis
they're now built on Bitrise
2015-12-07 16:10:08 -08:00
Mike Morris
e0ef94c37a [core] reapply 263702b to fix Linux g++-4.9 builds 2015-12-07 15:51:56 -08:00
Minh Nguyễn
959f47280e [core] patch gyp to fix mac_bundle_resources
copy-bundle-resources defaults to not converting to binary
2015-12-07 15:50:30 -08:00
Mike Morris
d467ae6e78 [core] upgrade gyp to git commit 6fb8bd8
6fb8bd829f
2015-12-07 15:48:34 -08:00
John Firebaugh
59ef8da695 [node] Drop node 0.12 from build matrix 2015-12-07 15:26:27 -08:00
Justin R. Miller
b561678ce3 bring back symbols for iOS CocoaPods direct uses 2015-12-07 13:10:53 -08:00
Justin R. Miller
7beb051c26 Merge branch 'release-ios-v3.0.1' 2015-12-07 13:03:26 -08:00
Justin R. Miller
c8c485090b properly point to distributed license file 2015-12-07 13:01:28 -08:00
Justin R. Miller
8fb141a3e4 bump build for ios-v3.0.1 (no symbols) 2015-12-07 12:21:22 -08:00
Justin R. Miller
9507bc038e fixes #3181: move from vendored lib to framework
- Add license file to framework build step to satisfy CocoaPods linting.
- Log version when rolling framework (refs #3046).
- fixes #1426: get rid of dummy file since we make our own framework.
2015-12-07 12:16:41 -08:00