Commit Graph

1710 Commits

Author SHA1 Message Date
tobrun
6ce38ccc6f [android] - add orientation change regression test 2018-01-02 17:14:11 +01:00
tobrun
65203dca77 [android] - refactor surface destruction NPE fix 2018-01-02 12:31:44 +01:00
hashfunction
580605e132 [android] Fixes #10563 NPE addAnnotationIcon 2018-01-02 12:31:44 +01:00
tobrun
0f7f4b38af [android] - use US local when converting between int color and RGBA String. 2018-01-02 12:31:25 +01:00
Osana Babayan
28a21f3b0b LatLng.wrap should return a new instance of LatLng (#10769)
LatLng.wrap shoudl wrap mulpiples of max value to max
2017-12-21 16:04:26 -05:00
Łukasz Paczos
d744b5033b [android] getting bitmap from drawable fix 2017-12-20 18:21:22 +01:00
Łukasz Paczos
de5357c95f Saving/restoring MyLocationViewSettings (#10746)
[android] saving/restoring MyLocationViewSettings, updated BitmapUtils
2017-12-19 16:59:02 +01:00
Osana Babayan
fccdd7d7cf LatLngBounds.union parameters should be specified in NESW order (#10728) 2017-12-19 10:32:43 -05:00
Antonio Zugaldia
28a42b925a [android] update lifecycle documentation for fragments (#10736) 2017-12-19 10:32:01 -05:00
Tobrun
228aadc07e [android] - bump gradle syntax to 4.1 2017-12-19 13:39:38 +01:00
Tobrun
1b0a5f633a [android] - replace anonymous inner classes with lambda 2017-12-19 13:39:38 +01:00
Tobrun
7f14f0270d [android] - enable java 8 language features 2017-12-19 13:39:38 +01:00
Tobrun
639c033d8e [android] - update project to gradle 4.1, gradle tools 3.0, build tools 26.0.2 2017-12-19 13:39:38 +01:00
Tobrun
757cc0f2be [android] - add binding integration for expressions (#10654) 2017-12-19 08:55:48 +01:00
Minh Nguyễn
9759ba7836 [android] Updated Spanish, Vietnamese translations 2017-12-18 13:23:44 -08:00
Langston Smith
04cbf346e9 Updated location layer plugin link in MapboxMap object's javadocs (#10707) 2017-12-18 08:10:52 -08:00
Tobrun
0fddad6e0b [all] update CI images (#10695) 2017-12-15 14:50:12 +01:00
paczos
d2cc855cd3 [android] new map touch listeners API comments 2017-12-14 16:23:33 +01:00
paczos
fc50605507 [android] checkstyle fixup 2017-12-14 16:23:33 +01:00
paczos
2afa8a1725 [android] added map touch listeners test 2017-12-14 16:23:33 +01:00
paczos
44363d4826 [android] added map touch listeners api based on lists 2017-12-14 16:23:33 +01:00
Chris Loer
78545723fe [android] Add basic JavaDoc comment for LocalGlyphActivity. 2017-12-11 10:43:00 -08:00
Chris Loer
e8daa84de6 [android] Tweak LocalGlyphActivity description to be a bit more specific than the title. 2017-12-11 10:43:00 -08:00
Chris Loer
f2d70aa890 [android] Fixups for LocalGlyphActivity 2017-12-11 10:43:00 -08:00
Asheem Mamoowala
bee60130d3 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-11 10:43:00 -08:00
Chris Loer
00ed34f7d7 [android] Android implementation of local CJK glyph rendering
- Draws bold version of glyph if font stack contains string "bold"
 - Not hooked up to global configuration yet
2017-12-11 10:43:00 -08:00
Chris Loer
1661af1cb4 [core] Enable local glyph generation using TinySDF.
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization.
 - Default platform implementation doesn't locally generate any glyphs -> no behavior change
 - Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs
 - Rename glyph_loader.test to glyph_manager.test
2017-12-11 10:43:00 -08:00
Asheem Mamoowala
f26c5ef2f0 [android] null check 2017-12-06 19:44:12 -08:00
LukasPaczos
d783611d1a Updated README for Arch Linux users 2017-12-06 20:21:58 +01:00
Tobrun
86fdb2682d [android] - build boba snapshots from master 2017-12-06 17:38:32 +01:00
Tobrun
c311e69e0e [android] - add FileSource activation/deactivation to MapSnapshotter, handle multiple deactivate scenario in FileSource (#10556) 2017-12-06 11:51:33 +01:00
Langston Smith
cb5dc2eed8 Android SDK renaming (#10609)
* changes in various markdown files

* more tweaks

* Updated attribution title
2017-12-04 08:19:47 -08:00
Tobrun
7e6ca6793a [android] - handle destroying activity programmatically as part of theme switching (#10589) 2017-11-30 11:45:40 +01:00
Konstantin Käfer
8757164ac8 [build] standardize on -fvisibility=hidden for all targets
Enables -fvisibility=hidden for iOS and Linux, and adds a workaround for GCC 6.3-7.1
Adds a GCC 6 build
Enables diagnostics for C files
Fixes a shadow warning in parsedate.c
2017-11-29 17:31:33 +01:00
Konstantin Käfer
2eec5a1980 [core] move HeadlessBackend extension initialization code into Impl 2017-11-29 15:48:51 +01:00
Tobrun
ed5e009062 [android] - use concurrent lists for camera change listeners (#10542) 2017-11-29 12:26:52 +01:00
Chris Loer
5da5ba7706 [core, ios, qt, android] Close race condition in RunLoop (issue #9620)
Because a message we queue from the foreground may cause the background to complete, exit, and tear down the AsyncTask, we have to block queue processing until we've finished our call to AsyncTask::send().
Broadening the scope of a mutex is scary, but I audited the code of our four implementations of AsyncTask and I don't see any way this could cause a deadlock.
2017-11-27 14:42:44 -08:00
Tobrun
405d141b9e [android] - update bottom sheet example with popable fragment backstack (#10506) 2017-11-23 08:17:09 +01:00
Asheem Mamoowala
e2702c76ea [android] Use inherited javaPeer in CustomGeometrySource C++ peer 2017-11-22 13:56:38 -08:00
Asheem Mamoowala
f06ebcc967 [android] Reuse Java Source objects by holding on to a strong reference in the C++ peer. 2017-11-22 13:56:38 -08:00
Asheem Mamoowala
934fa4933c [android] Add Grid source sample for Custom Geometry Source 2017-11-22 13:56:38 -08:00
Asheem Mamoowala
eb6de2c434 [android] Bindings for Custom Geometry Sources 2017-11-22 13:56:38 -08:00
Tobrun
e3f1d8e3a0 [android] - harden MarkerView integration by checking for null bitmap (#10532) 2017-11-22 18:46:31 +01:00
Tobrun
59a8fd2ff8 [android] - activate filesource to list offline regions (#10531) 2017-11-22 17:08:23 +01:00
Tobrun
d46641cad6 [android] - use TextureView for ViewPager carousel (#10519) 2017-11-21 20:33:13 +01:00
Ivo van Dongen
7dabec61b6 [android] Enable map rendering when app is paused 2017-11-20 17:30:24 +02:00
Tobrun
a47f8245da Monkey crashes (#10440)
* [android] - avoid null map from trackballevent

* [android] - fixup animated marker test activity from monkey runs

* [android] - harden NativeMapView OnMapChangeListener

* [android] - harden against destroyed wrapper activity while moving touch pointers

* [android] - harden bulk marker activity for monkey runner

* [android] - harden scale end gesture event for null velocity tracker

* [android] - invalid mapboxMap invocation

* [android] - reset test setup
2017-11-10 16:33:51 +01:00
Tobrun
225fba8a0a Merge branch 'release-agua' into tvn-merge-release 2017-11-10 06:16:35 +01:00
Ivo van Dongen
c30161e4c8 [android] MapRendererRunnable - avoid weak reference table overflow
Apparently on some devices the weak reference table is limited (numbers around 52000). Even though we don't use that many weak references, when GC is not called for a while they can stack up and a crash will occur before the GC has had the time to clear the references. The C++ peer now holds on to a global ref (strong) which can be obtained to queue the java peer and then release automatically so that the GC can take over after the runnable has been executed.
2017-11-09 15:24:34 +02:00
Ivo van Dongen
43f89d6b6a [android] fix map snapshotter marker example
The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd
2017-11-09 15:24:15 +02:00