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
Pablo Guardiola
cec7d12e37
[android] revert adding mapbox-android-core dependency ( #10354 ) ( #10380 )
2017-11-09 12:43:28 +01:00
Pablo Guardiola
46fcc83097
[android] release 5.2.0-beta.4 ( #10384 )
2017-11-08 01:58:51 -08:00
Tobrun
cc67335499
[android] - add config file for excluding generated tests, refactor generation script output
2017-11-08 09:58:31 +01:00
tobrun
24de48b772
[android] - update android unit tests, update test make target to SDK
2017-11-06 18:53:50 +01:00
tobrun
4d486e10ce
[android] - check for null value when calling mapboxMap.clear
2017-11-06 17:16:27 +01:00
Tobrun
9aac976104
[android] - update getting started documentation
2017-11-03 17:44:29 -07:00
Pablo Guardiola
cdc5dde0ec
[android] revert adding mapbox-android-core dependency ( #10354 ) ( #10380 )
2017-11-03 15:39:53 -07:00
Ivo van Dongen
d1d0c20044
[android] TextureView - cleanup destruction code
2017-11-03 09:19:39 -07:00
Ivo van Dongen
8753edf08f
[android] test app - texture view test activities
2017-11-03 09:19:39 -07:00
Ivo van Dongen
3b2bd7ce4f
[android] bring back texture view
2017-11-03 09:19:39 -07:00
Ivo van Dongen
e9bb4d1582
[android] texture view map renderer
2017-11-03 09:19:39 -07:00
Ivo van Dongen
fd5f357d1d
[android] move egl under renderer package
2017-11-03 09:19:39 -07:00
Ivo van Dongen
6adeee601e
[android] encapsulate gl surfaceview rendering specifics in map renderer subclass
...
- preparation for re-introduction of texture view
2017-11-03 09:19:39 -07:00
Ivo van Dongen
c24721103d
[android] TextureView - cleanup destruction code
2017-11-03 12:31:44 +02:00
Tobrun
d9fe241761
[android] - workaround Android O OkHttp bug.
2017-11-02 13:27:50 -07:00
Ivo van Dongen
1970a94695
[android] test app - texture view test activities
2017-11-02 19:55:46 +02:00
Ivo van Dongen
8671b834b4
[android] bring back texture view
2017-11-02 19:55:46 +02:00
Ivo van Dongen
efc776e4f9
[android] texture view map renderer
2017-11-02 19:55:46 +02:00
Ivo van Dongen
0fb2629a37
[android] move egl under renderer package
2017-11-02 19:55:46 +02:00
Ivo van Dongen
b30ec535bf
[android] encapsulate gl surfaceview rendering specifics in map renderer subclass
...
- preparation for re-introduction of texture view
2017-11-02 19:55:46 +02:00
Tobrun
5dbd94016b
[android] - fix logo scale for MapSnapshot
2017-11-02 07:41:53 -07:00
Pablo Guardiola
29a94ae939
[android] make location provider optional ( #9488 ) ( #10354 )
2017-11-01 18:25:52 -07:00