Commit Graph

2609 Commits

Author SHA1 Message Date
tobrun
500080ea64 [android] - fix dialog fragment setup, add regression test 2019-03-06 14:22:43 +01:00
tobrun
be75dc9a48 [android] - clear callbacks as part of OnDestroy not as part of OnDestroyView 2019-03-06 14:18:05 +01:00
Langston Smith
7e4824960c [android] Adding builder pattern for LocationComponent activation (#13941)
* initial additions of activation builder

* [android] refactoring LocationComponentActivationOptions based on code review

* [android] initial addition of LocationComponentActivationOptionsTest unit tests

* [android] more refactoring based on code review

* [android] refactoring test app location examples

* [android] espresso test refactor with LocationComponentActivationOptions usage

* [android] locationComponent builder instrumentation test tweaks and log removal

* [android] method and docs refactoring based @lukaspaczos 's review

* [android] locationEngine setting logic refactor

* [android] add null locationEngine to stillStaleAfterResuming test

* added .locationEngine(null) to other tests

* [android] javadocs, method, and test adjustments based on @lukaspaczos review

* [android] test tweaks based on Lukasz review
2019-03-05 11:05:06 -08:00
Langston Smith
4bc56cc576 [android] added areAllGesturesEnabled() method and test (#14022) 2019-03-04 07:21:06 -08:00
Bruno de Oliveira Abinader
586b22c0df [core] Remove map coordinate setters/getters 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
ba7427b4ac [core] Transform{State}: s/angle/bearing/ 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
73ac3c784f [core] Remove map bearing setters/getters 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
21a39306da [core] Remove map pitch setters/getters 2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
f5f10ec119 [core] Remove map zoom setters/getters 2019-03-04 14:45:32 +02:00
Łukasz Paczos
2ce70f7335 [android] verify no native method is called when saving state 2019-03-04 12:33:39 +01:00
Łukasz Paczos
638b91afc4 [android] add plural style builder methods 2019-03-04 12:33:14 +01:00
Mikhail Pozdnyakov
810999fadf [core] Simplify util::peer
Remove custom vtable, base implementation on `std::unique_ptr`.
2019-02-28 17:45:21 +02:00
Langston Smith
619df84b5e [android] Update to changelog with stable 7.2.0 changes (#14003)
* [android] update to changelog with final 7.2.0 changes

* Removed relinker
2019-02-27 10:56:24 -08:00
Langston Smith
a0c3e2321d [android] Android README link and writing updates (#13995) 2019-02-27 07:25:18 -08:00
Łukasz Paczos
5e41fd44f2 [android] clear singleton instance of Mapbox after running unit test suite 2019-02-26 15:06:21 +01:00
Łukasz Paczos
e7562a2974 [android] replace remaining hardcoded delays with the idle event 2019-02-26 15:05:48 +01:00
Nadia Barbosa
d34f0f0ef1 [build] Publish Android/iOS binary sizes to S3 2019-02-25 12:36:26 -08:00
tobrun
f66848efaf [android] - make ReLinker default library loader, create library loader provider for modularisation 2019-02-25 16:58:15 +01:00
Ivo van Dongen
fee22273be [android] gl surfaceview renderer - only destroy context when destroying the mapview 2019-02-23 09:42:50 +02:00
Ivo van Dongen
96fef8172b [android] re-create renderer on surface update after app backgrounding (in case egl context is preserved, but surface is not) 2019-02-23 09:42:50 +02:00
Ivo van Dongen
7c874ab815 [android] fix naming for re-open tests 2019-02-23 09:42:50 +02:00
tobrun
4b8cff5b15 [android] - add UiAutomator tests for testing clicking home and returning with recent apps 2019-02-23 09:42:50 +02:00
tobrun
6a840d45f0 [android] - add missing package-info.java files to packages for javadoc generation 2019-02-22 11:14:10 +01:00
Langston Smith
a0b2b5d570 [android] Android 7.2.0-beta.1 changelog update (#13968)
* [android] android 7.2.0-beta.1 changelog update

* Whitespace fixes
2019-02-21 09:20:39 -08:00
Łukasz Paczos
57988ad113 [android] bump snapshot to 7.3.0 2019-02-21 17:44:29 +01:00
Łukasz Paczos
3cf24f3329 [android] initialize vendor submodules as a CI step 2019-02-21 15:23:08 +01:00
Łukasz Paczos
14e67369ea [android] ignore android-nitpick's non-zero exit value when updating submodules 2019-02-20 17:04:25 +01:00
kevin
4540f80375 Add javadocs for local font family 2019-02-19 19:42:28 +01:00
kevin
68cea961f2 [android] set localIdeographFontFamily default to sans-serif 2019-02-19 19:42:28 +01:00
Łukasz Paczos
9750921dac [android] do not post stale state message when new option provided but the component is stopped 2019-02-19 19:15:59 +01:00
Łukasz Paczos
f5a0e96a5f [android] keep location component's layers hidden when new style with the "layer-below" option is applied 2019-02-19 19:15:59 +01:00
tobrun
8d31a5a7e2 [android] - bring back style loading test to native map, add onDestroy to after test 2019-02-14 20:17:39 +02:00
Langston Smith
a471d896e9 [android] Update changelog for v7.2.0-alpha.2 (#13930)
* [android] updated android changelog for 7.2.0-alpha.2 release

* [android] Added additional bug fix to changelog
2019-02-14 08:50:10 -08:00
Ivo van Dongen
3802f7e922 [android] hook into surface holder to cleanup renderer on the right thread before the surface is destroyed 2019-02-14 13:58:03 +02:00
Łukasz Paczos
98eac18a21 [android] invalidate the camera position when gesture finishes 2019-02-13 13:50:13 +01:00
tobrun
ca4648964a [android] - update codebase for Roboelectric v4.x 2019-02-13 11:29:49 +02:00
tobrun
841875b3e0 [android] - bump dependencies and tooling 2019-02-13 11:29:49 +02:00
Thiago Marcos P. Santos
65cec8be34 [android,darwin,ios,qt] Remove unused code
These files are no longer needed after the new GL abstraction.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
690833ef92 [core] Switch to the new OpenGL abstraction
This patch will make Mapbox GL Core never use OpenGL
directly. We should consider locking into OpenGL ES 2.0
to simplify the code path and remove #ifdefs.
2019-02-12 19:42:08 +02:00
Thiago Marcos P. Santos
470b01847d [android,linux,darwin,qt] Load OpenGL for the platform
These loaders will provide pointers to the platform implementation
of OpenGL. On Android, Linux and Darwin, we simply link with the
OpenGL implementation that is expected to exist on the platform.

Qt has its own GL loader, so we just connect the dots.
2019-02-12 19:42:08 +02:00
Ivo van Dongen
1fadf56368 [android] change lock scope in run_loop to avoid deadlocks. simplify as
well
2019-02-12 17:56:35 +02:00
Łukasz Paczos
ca7d9422b6 [android] use #onDidBecomeIdle event instead of layer querying during instrumentation tests 2019-02-12 16:38:55 +01:00
Langston Smith
e1092e4148 [android] remove duplicates (#13901) 2019-02-11 09:57:22 -08:00
Langston Smith
7acaa3b467 [android] updates to changelog for 7.2.0-alpha.1 release (#13893) 2019-02-07 11:30:55 -08:00
tobrun
6773a876e9 [android] - update changelog for v7.1.2 2019-02-07 16:39:49 +01:00
tobrun
a3a601699e [android] - migrate tests from #13882 2019-02-07 15:41:54 +01:00
tobrun
7ad9f3450d [android] - remove faulty conversion, explict casting for cluster API 2019-02-07 15:41:54 +01:00
Tobrun
47fa19444e [android] - add experimental pointer (#13889) 2019-02-07 15:22:36 +01:00
Łukasz Paczos
8ad13cd577 [android] expose symbol placement transition duration option 2019-02-04 14:52:14 +01:00
Łukasz Paczos
b07db0f8d0 [android] changelog for v7.1.1 2019-02-01 15:43:47 +01:00