Commit Graph

961 Commits

Author SHA1 Message Date
Jesse Bounds
dbb520662d [ios, android] Move der files to ios platform
.der files are used only by the iOS platform for SSL pinning. This
moves them out of the `platform/default/resources` directory and into
`platform/ios/resources`. The make configuration for Android is
updated so that it stops attempting to copy the files at all.
2016-11-30 16:19:22 -08:00
Konstantin Käfer
a4d259c33f [core] move gl::Context to Backend and refactor View 2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694 [core] separate Backend from View for headless rendering 2016-10-25 13:52:36 -07:00
Cameron Mace
45f4dc0166 removed brew cask install android studio instruction (#6723)
* removed brew cask install android studio instruction

* link to download JDK

* made fixes to instruction
2016-10-25 16:44:03 -04:00
Tobrun
3457eb1144 [android] - MarkerView is responsible for managing height and width of a Marker (opposed to the recycled view). (#6809) 2016-10-25 17:36:26 +02:00
Tobrun
b0485bccd9 [android] - remove timer from compassView, make fading when facing north optional. (#6786)
save state for recreating map view

fix review comments

unit test covering default value for fading and setting a new value

fixup setter, fix default value
2016-10-25 15:53:16 +02:00
Tobrun
94b1a53f06 [android] - move marker view click handling to core (#5639) 2016-10-25 15:11:49 +02:00
Ivo van Dongen
31a7925205 [android] fix exception class 2016-10-25 12:41:28 +02:00
Tobrun
ed1ceecc09 [android] - only pin certificates on current used environement. (#6766)
update certificates sha256 for certificate pinning.
2016-10-24 22:38:10 +02:00
Tobrun
bc4cf3220c [android] - cap width/height at maximum, don't throw exception. (#6788) 2016-10-24 10:34:40 +02:00
Tobrun
8633c34d01 Android Bitrise cleanup (#6782)
* [android] - update bitrise.yml, always use latest deploy step

cleanup bitrise.yml

formatting, separate download step -> if tests fail, build fails

improve shown console messages, correct package for firebase filter

update steps

add slack integration for all workflows

* fixup SKIPCI check
2016-10-21 22:24:52 +02:00
Tobrun
7a4cd67aa8 [android] - remove jni method logging, only keep lifecycle related logs (#6787) 2016-10-21 22:23:16 +02:00
Cameron Mace
da9864f25d Made telemetry dialog material (#6726)
* Made telemetry dialog material

* cleaned up attribution_main_menu
2016-10-21 10:29:12 -04:00
Mike Morris
817c26111a [core] [node] pass thread pool impl to Map constructor
Updates mbgl::Map constructor usage everywhere

Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Tobrun
04a9a98b98 [android] - add realtime geojson example from gl-js (#6751) 2016-10-20 15:45:57 +02:00
Ivo van Dongen
5527887c4b [android] geojson source - remove explicit repaint requests 2016-10-20 11:41:24 +03:00
Tobrun
6d50435880 [android] - Configure Gradle properties as part of the instalation process. (#6729) 2016-10-20 10:21:15 +02:00
Tobrun
9a7139b65c [android] - move instrumentation test code to correct package for Android Studio run configurations integration. (#6748) 2016-10-20 10:20:56 +02:00
Tobrun
76f91cc88d [android] - configures AWS Device farm plugin from testapp. (#6750) 2016-10-20 10:20:26 +02:00
Cameron Mace
61a534241f Adds map dialog activity to testapp (#6741)
* adds map dialog activity to testapp

* added to genertate-test-code script
2016-10-19 12:06:16 -04:00
Tobrun
e5762ab728 [android] - update map change events javadoc (#6732) 2016-10-19 00:00:15 +02:00
Tobrun
f45712a6b3 [android] - add package-info.java for net package (#6733) 2016-10-18 23:59:57 +02:00
Tobrun
0ccc7f51ba [android] - fixup MyLocationView heading (#6671)
[android] - convert angles to radiants in jni, correct follow animation for MyLocationView

do not sanitise input when recreating from other camera object, input is already sanitised before

cleanup mylocationview, made animation bit more smooth, improved UX when switching between tracking modes

cleanup CameraUpdateFactory, hide internally used api.

only invalidate position if required, remove outdated comments

correct camera position values

made zoom activity a bit more interesting

made dynamic marker activity a bit more interesting

FIXUP
2016-10-18 17:56:39 +02:00
Cameron Mace
76ed537be5 [android] added wearable module (#6702)
* added wearable module

* fixed spacing in feature list

* fixed tobruns suggestions and added checkstyle plugin
2016-10-17 09:30:30 -04:00
Tobrun
1bee9d34f5 Reusable point fromScreenLocation (#6652)
* Fixed bug where fromScreenLocation would modify the actual Point being passed in

* [android] - move reused point to Projection class, migrated screen density logic to projection

fixup code to be unit testable
2016-10-17 14:51:39 +02:00
Tobrun
d22d8a6c9b 6700 proguard update (#6718)
* [android] - include net package in proguard config, added the default EnclosingMethod disable warning and fixed up typo.

* update test app dependency leak canary to do a proguard release build, replaced keep support lib classes by dontwarn following Google guidelines, remove outdated/obsolete square configuration
2016-10-17 14:50:25 +02:00
Tobrun
bda0e94af2 MarkerView more robust when updates are asynchronous (#6717)
* [android] - remove ViewMarkers crash, show correct view cache size in test activity

* use MapboxMap to indicate a MarkerView is no longer added on a map, no future updates will be passed on to core.

* resolve memory leak
2016-10-17 14:50:09 +02:00
Ivo van Dongen
b3468f5db7 [android] fix android style code gen script 2016-10-17 14:01:31 +03:00
Ivo van Dongen
e5a473a301 [android] don't delete local reference on value copy 2016-10-15 10:51:19 +03:00
Tobrun
1898df606d [android] - add transparent image for MarkerViews ghosting SymbolAnnotations (#6675)
* [android] - add transparent image to core for MarkerView ghosting SymbolAnnotations. Removes logging messages: `Can't find sprite ... `. Cleanup MapView.

* [android] - use alpha_8 config to only allocate one byte, rename id for better readability.
2016-10-13 17:04:02 +02:00
Tobrun
b722d5c3a9 [android] - downscale amount of instrumentation tests run on CI to one (#6692) 2016-10-13 13:55:54 +02:00
Tobrun
7bbf4a286e [android] - allow gradle to allocate more memory when building the test app (#6678) 2016-10-12 20:03:34 +02:00
Tobrun
9669997181 [android] Fix gestures when MapView is not full screen (#5562)
This fixes #5528
2016-10-12 20:02:04 +02:00
Bruno de Oliveira Abinader
d00a32fe66 [android] Using mbgl::AnnotationIDs in JNI code 2016-10-12 18:59:40 +03:00
tomlocks
0fc7fd11d9 [android] Fixed wrong location view interpolation (#6668) 2016-10-12 11:07:25 +02:00
Tobrun
e0b025ab4d [android] - correct android to core conversion of camera options. (#6660)
* [android] - correct android to core conversion of camera options.

* fix MarkerView tilting, tilt is already in degrees

* same fix for MyLocationView
2016-10-12 10:56:38 +02:00
Tobrun
94a014cde3 [android] - revert making bearing and tilt to radiants (#6656) 2016-10-11 16:51:33 +02:00
Tobrun
fb2338ceca [android] - close response body to avoid connection leak (#6650) 2016-10-11 15:53:16 +02:00
Antonio Zugaldia
4cc7e7de4f [android] #6617 - Introduce a setConnected method to manually set a connected flag
* [android] introduce a setConnected method to manually set a connected flag

* extend connected state to ConnectivityReceiver

* extend connected state to ConnectivityReceiver
2016-10-11 09:17:07 -04:00
Josh Burton
e3c79bfd34 [android] - Use correct nullity annotation for convertView (#6521) 2016-10-11 15:07:47 +02:00
Ivo van Dongen
61d8ecefda [android] Runtime Style Filter enhancements (#6623)
* [android] Additional null check - prevents errors in array conversion

* [android] style conversion - delete local refs asap to avoid ref table overflow

* [android] Filter - hide concrete implementation classes to avoid confusion
2016-10-11 10:30:38 +03:00
Antonio Zugaldia
abdf7b1199 [android] #6635 - Sample multimap activity
* [android] sample multimap activity

* add MultiMapActivity to excludeActivities in generate-test-code.js
2016-10-10 21:19:05 -04:00
Tobrun
5bbd27eb8f [android] - correct degrees/radiants integration into transform.cpp, fixes camera position restoration from core and missing return value occurrence. (#6641) 2016-10-10 23:51:56 +02:00
Tobrun
e598bbfa7c Rotate markerview (#6640)
* [android] - MarkerView rotation bug, limit degrees from 0 to 360 while creating a MarkerView

* update MarkerView#setRotation to limit input from 0 - 360 degrees, calculates difference in angle and animates rotation by a certain amount instead of animating to a value. Exposed new AnimatorUtils#animateRotationTo. Integrated into MarkerViewManager. Cleanup some unused imports. Updated javadoc.

* updated MarkerViewActivity in test application to test for regressions.

* added tests to validate changes to MarkerView#setRotate
2016-10-10 23:51:30 +02:00
Tobrun
740c995c2b [android] - apply tilt to markerview with initial camera position (#6622) 2016-10-07 16:47:16 +02:00
Tobrun
79a80630fd [android] - image opt android layout editor image (#6624) 2016-10-07 15:55:58 +02:00
Antonio Zugaldia
7bcb04a609 [android] #6522 - Automate build process for Android SDK releases
* [android] draft release supporting snapshots

* [android] release.py ready for testing
2016-10-06 10:07:27 -04:00
Tobrun
c2333658f0 [android] - invalidate focal point when setting MyLocationView padding (#6413) 2016-10-05 22:55:54 +02:00
Tobrun
d96aabec43 [android] - correct focal point data when double tapping (#6595) 2016-10-05 22:54:54 +02:00
Tobrun
8b5228d6ec [android] - correct focal point with padding and tilt enabled + cleanup code MyLocationView (#6594) 2016-10-05 22:54:35 +02:00