Commit Graph

76 Commits

Author SHA1 Message Date
Tobrun
e5243b7691 [android] - ignore activity gen tests 2017-11-01 09:23:53 -04:00
Tobrun
0f1296c01c [android] - run all instrumenetation tests 2017-10-31 14:14:11 -07:00
Lauren Budorick
2de89a99bc Implement icon-anchor property 2017-08-28 13:32:56 -07:00
Tobrun
78322a3f16 [android] - update activity test generation with newest classes, make FillExtrusionActivity conform to generated activity test setup. (#9276) 2017-06-20 09:16:55 +02:00
Tobrun
e59766f4e8 [android] - run MapboxMap invocations to ui thread for instrumentation tests (#9198) 2017-06-12 11:02:36 +02:00
Tobrun
5716bd3aec [android] - add binding support for Light (#9013) 2017-05-26 16:04:09 +02:00
Antonio Zugaldia
08916f2d5f [android] Update release script to support CircleCI builds (#8950)
* update release script to trigger builds on circleci now

* update release script to trigger builds on circleci now
2017-05-11 09:19:24 -04:00
Lauren Budorick
f6e79d7073 [core] Render fill-extrusion layers (#8431) 2017-04-27 15:56:55 -07:00
Tobrun
eed7dedf03 [android] - rework instrumentation tests (#8793) 2017-04-21 23:07:19 +02:00
Konstantin Käfer
9544dcc483 [android] move build to Android Studio 2017-03-17 14:25:37 +01:00
Konstantin Käfer
3eaf984357 [android] upgrade to Android NDK r14 2017-03-10 10:00:06 -08:00
Konstantin Käfer
c880560f80 [build] require Android r13b
We're trying to use a local NDK, but in case it is too old or too new, we fall back to downloading the correct version via Mason, like in the olden times.
2017-03-08 17:41:33 -08:00
Pablo Guardiola
87be62f9e4 [android] fix units in runtime styling javadoc (#8161) 2017-02-23 19:47:40 +01:00
Konstantin Käfer
341e65f7d5 [build] use system-provided Android NDK when available
and fall back to Mason if it isn't
2017-02-22 18:06:20 +01:00
John Firebaugh
94a3c272ff [core] Update gl-js; fix $id filters with GeoJSON source 2017-02-08 19:07:53 -06:00
Konstantin Käfer
bb931505c5 [build] Remove Mason submodule in favor of CMake mason 2017-02-08 19:07:16 +01:00
Ivo van Dongen
f562ecdfc3 [android] data driven style implementation 2017-02-02 09:44:42 -08:00
John Firebaugh
9c5abc1221 [build] Use style-spec from gl-js monorepo 2017-02-01 08:11:01 -08:00
Tobrun
2629f22a43 [android] - update changelog with 4.x entries (#7825)
* [android] - update changelog with 4.x entries

* update release script
2017-01-27 15:03:00 +01:00
Konstantin Käfer
62ea1f2185 [core] remove trailing whitespace, add trailing newlines, add space after // 2017-01-27 11:44:16 +01:00
John Firebaugh
82856fd08b [darwin, android] SDK bindings for circle-stroke properties 2016-12-09 09:35:21 -08:00
Pablo Guardiola
6ecad41858 Add simple map activity to testapp (#7136)
* [android] 6481 - add simple map activity to test app

* [android] #6481 - exclude SimpleMapActivity
2016-11-22 10:05:29 +01:00
Konstantin Käfer
36a04e49c8 [build] add binary size logging to Android nightlies 2016-11-15 10:07:47 -08:00
Tobrun
33aa14c939 [android] - instrumentation tests upgrade, move view checking to utility class, remove inheritance in runtime style test (#6803)
update gitignore for generated tests

add camera move test

add realtime geojson to be excluded when generating Activity sanity tests

by default show workaround for showing a MapView in a dialog

add annotation tests

remove older camera tests, introduce tests for move, ease and animate, bring back setLatLng and getLatLng on MapView, add tests for internal camera API.

compass view tests

add tests for attribution and logo.

fix annotation tests

Rename Actiivity test class, split up annotation tests, added MarkerView tests, added infowindow tests, added MyLocationView tests

fix addRemoveLayer test by integrating map interactions inside a ViewAction
2016-11-09 12:56:49 +01:00
Konstantin Käfer
2411ec83b1 [build] don't rewrite style code for every build
revert of 93166aef48

On Android, we always rewrote the style code files, which lead to gratuitous recompiles
2016-11-09 11:10:22 +01:00
Konstantin Käfer
a4d259c33f [core] move gl::Context to Backend and refactor View 2016-10-25 13:52:36 -07: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
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
Ivo van Dongen
b3468f5db7 [android] fix android style code gen script 2016-10-17 14:01:31 +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
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
Ivo van Dongen
dd7713f6ee [android] javadoc - inter-link style properties properly 2016-10-05 12:15:15 +02:00
Justin R. Miller
ee4715a821 update style generation code for new style spec enum values docs (#6508)
Documentation for enum values landed in mapbox/mapbox-gl-style-spec#510. 

This updates Android, iOS, and macOS documentation code gen scripts to capitalize on them.
2016-09-30 15:55:46 -07:00
Tobrun
3835ed556b 6402 update offline metadata android (#6456)
* [android] - update offline metadata jni integration

* extract offline utils for reuse

* add test activity for update metadata

* fix requested signature changes
2016-09-28 07:48:01 +02:00
Ivo van Dongen
625785e4b8 [android] enable RELRO (#6419) 2016-09-21 18:32:51 +02:00
Tobrun
d412f5d111 [android] - get firebase test lab results with gsutil (#6220)
* [android] - get results with gustily

debug

fix debug

debug fix

correct file path

remove duplicate ls

fix bash script + add deploy step + debug file system

install crcmod

zip output

correct option for zipping

add compression to output. This allows including subfolders

cleanup

remove json from artefact

always upload test results

always run step to true

* [android] - disable query rendered test

* fix name in test
2016-09-06 10:49:55 -07:00
Ivo van Dongen
3e71b84d28 [android][build] Only strip the resulting libraries (#6222) 2016-08-31 15:16:16 +02:00
Tobrun
50da6e5e71 6039 focal point uses MyLocationView padding (#6108)
* [android] - don't auto tint drawables + formatting

* [android] - formatting

* [android] #6039 - fixes focal point when padding mylocationview

* [android] #5977 - MyLocationView.setPadding example + formatting Manifest

* [android] - Reset to default configuration, cleanup class
2016-08-23 12:53:36 +02:00
Tobrun
d1c8dd5038 [android] #5211 - update yaml to run on device lab, update test with NoSuchSource exception (#6073) 2016-08-18 16:23:34 +02:00
Tobrun
fff0ebaa17 5859 generate sanity tests (#5870)
* [android] #5859 - generate espresso tests

[android] #5859 - cleanup xml files, use all the same resource id for map view

[android] #5859 - update scripts

[android] #5859 - update Activity to match mapboxMap naming

[android] #5859 - make SurfaceViewMediaControlActivity compatible

[android] #5859 - make MarkerViewScaleActivity test generation compatible

[android] #5859 - make PolygonActivity test generation compatible

[android] #5859 - integration within make file

[android] #5859 - made CameraPostion generation safe

[android] #5859 - generate sanity test

[android] #5859 - add generated test cases

[android] #5859 - add documentation

* [android] #5859 - remove generated files, introduce gen package, added gitignore to package

* [android] #5859 - regenerated test code

* [android] #5859 - added AWS gradle plugin + bitrise configuration

* [android] #5859 - fixes running locally without having the properties configured

* [android] #6010 - remove python from android sdk

* [android] #5859 - update docs about aws gradle plugin
2016-08-17 08:53:33 +02:00
Ivo van Dongen
5ac95b9dcf [android] #5885 - fix invalid jobject error and some build system updates 2016-08-08 08:54:58 -04:00
Konstantin Käfer
3cc3461cb5 [build] Use the JNIDIR as the platform string, since that's what Android Studio uses 2016-08-05 11:42:22 +02:00
Ivo van Dongen
5f70a65a2c [build] cmake android 2016-08-05 11:42:22 +02:00
Konstantin Käfer
692fe1f3ff [build] switch to CMake
This is very much a work in progress.
2016-08-05 11:42:22 +02:00
Ivo van Dongen
10b2cc60a7 [android] #5610 - Runtime style api - part 2 2016-08-02 16:58:03 -04:00
Vladimir Agafonkin
9ecc0d9597 GeoJSON point clustering (#5724)
* add supercluster dependency
* prepare GeoJSONTile for Supercluster
* prepare GeoJSONSource for accepting options
* try removing mbgl::GeoJSON
* fix setGeoJSON types
* add GeoJSONSource getURL
* add geojson to include path
* add Supercluster index in GeoJSONSource
* fix GeoJSONSource getZoomRange
* bring back mbgl::GeoJSON header
* fix tidy warnings hopefully
* try test-suite with enabled cluster test
* fix formatting in clustering-related files
2016-07-27 20:18:41 +03:00
Ivo van Dongen
9a3eadfd5b [android] #5610 - Initial Runtime Style Bindings
[android] #5610 - Adjusted public api after discussion

[android] #5610 - added jni binding for NativeMapView#getLayer

[android] #5610 - Added initial test Activity

[android] #5610 - Started on NativePeer implementation for Layer

[android] #5610 - replaced low-level jni code with high-level for native getLayer

[android] 5610 - completed basic layer peer class - constructible from java and c++

[android] #5610 - removed reference that was redundant and causing the finalizer exception

[android] #5610 - Added a property peer

[android] #5610 - added value type to do type conversions - wip

[android] #5610 - simplified property conversion approach - wrapped value with jenv

[android] #5610 - added some more value conversions

[android] #5610 - Finished conversion for basic types

[android] #5610 - allow color's to be set as either an android color int or a String to support all formats in the spec

[android] #5610 - encode color ints as rgba to retain alpha channel

[android] #5610 - recalculate classes after paint property

[android] #5610 - more examples

[android] #5610 - fixed the example

[android] #5610 - cleaned up example code before continueing

[android] #5610 - added layout property example

[android] #5610 - set visibility on layer

[android] #5610 - added removeLayer and example

[android] #5610 - added more type conversions

[android] #5610 - Started on peer classes for layer implementations - WIP

[android] #5610 - First complete layer subclass peer implementation

[android] #5610 - added a little bit of structure before adding the other layer types

[android] #5610 - generate the c++ headers from the style spec

[android] #5610 - make sure the visibility is set as a string

[android] #5610 - Generate c++ layer peer class implementations from the style spec

[android] #5610 - generate java layer peer classes

[android] #5610 - cleanup comments

[android] #5610 - register all c++ peer classes with jni

[android] #5610 - addLayer

[android] #5610 - comment out broken case

[android] #5610 - Sources api - very much WIP

[android] 5610 - GeoJson source implementation and geojson conversion

[android] #5610 - cleanup add source/layer example a bit

[android] #5610 - initial filter api

[android] #5610 - Added filter api on the relevant Layer classes

[android] #5610 - raster layer is not filterable

[android] #5610 - actually make it compile

[android] #5610 - completed filter implementation

[android] #5610 - Vector and Raster Source + examples

[android] #5610 - removed superfluous interface, moved filters to the correct package

[android] #5610 - fixed comments

[android] #5610 - moved tests to the right package

[android] #5610 - hide difference between paint and layout properties in public api, make more performant set method for proeprties

[android] #5610 - fix rebase issue
2016-07-26 16:29:26 -04:00
Bruno de Oliveira Abinader
26a9213f6e [build] Upgrade geojson-vt-cpp@6.1.2 2016-07-26 16:35:29 +03:00
Vladimir Agafonkin
a9e4e98e8e Revert "add supercluster dependency"
This reverts commit f84e9fdb2b.
2016-07-18 16:58:32 +03:00
Vladimir Agafonkin
f84e9fdb2b add supercluster dependency
[skip ci]
2016-07-18 16:21:28 +03:00