Commit Graph

2144 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
3952ff5c34 [core] Replace unique_any with peer from mapbox-bindgen 2018-08-08 14:14:34 +03:00
Dan Nesfeder
1dabfe783d Update Java Services to v3.4.0 (#12564) 2018-08-07 09:52:39 -04:00
John Firebaugh
e31f2ecb67 [build] Push binary size history to S3 (#12538) 2018-08-06 13:10:54 -07:00
John Firebaugh
eb153a7d04 [android] Enable LTO in release builds (#12546) 2018-08-06 13:00:12 -07:00
Łukasz Paczos
d6c602b48c [android] changelog for 6.4.0-alpha.2 2018-08-01 18:14:41 +02:00
John Firebaugh
9bdd765a02 [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) 2018-07-31 14:21:47 -07:00
Osana Babayan
f05199e2d9 VisibleRegion on rotated bounds (#12135) (#12255) 2018-07-27 09:31:33 -07:00
Tobrun
1be63108bb [android] - wait for the initial render to occur before showing the map to the end-user 2018-07-27 11:40:04 +02:00
Kiyong Jung
37bbed5b9c [android] Reuse Bitmap, Paint & Canvas instances in LocalGlyphRasterizer
- Make LocalGlyphRasterizer.drawGlyphBitmap() non-static
- Store and reuse Bitmap, Paint & Canvas instances
2018-07-27 11:24:26 +02:00
Łukasz Paczos
94ad8e2ff8 [android] using @Keep annotation across the project with the help of lint checks 2018-07-26 19:47:11 +02:00
Tobrun
5fcd6e38a9 [android] - add minimal touch target to marker click detection 2018-07-26 13:04:32 +02:00
Łukasz Paczos
524a645f0b [android] - changelog for 6.4.0-alpha.1 2018-07-25 19:41:40 +02:00
John Firebaugh
2bbc792060 [core] Check all bucket dynamic_casts
A mismatch can occur when a layer changes from one type to another.
2018-07-24 11:08:40 -07:00
Chris Loer
0b2221cb74 [android, ios, macos] Generate symbol-placement: line-center wrappers 2018-07-23 13:33:27 -07:00
tobrun
bfe714eebe [android] - fix accesstoken validation 2018-07-23 14:31:18 +02:00
tobrun
bbc2529c50 [android] - replace deprecated javacompile with getJavaCompiler() 2018-07-23 13:56:50 +02:00
John Firebaugh
fb736e8ef0 [ios, macos, android] Add changelog entries 2018-07-20 12:35:00 -07:00
John Firebaugh
5793283142 [android] Test token strings for icon-image and text-field 2018-07-20 12:35:00 -07:00
John Firebaugh
c8edbb0500 [core] Replace {Source,Camera,Composite}Function with PropertyExpression 2018-07-20 11:56:30 -07:00
Tobrun
418bcc2f21 [android] - expose getMap on native_map_view 2018-07-20 10:31:22 +02:00
Tobrun
91179afa49 [android] - update changelog for v6.3.0 final 2018-07-18 17:07:53 +02:00
Łukasz Paczos
c29740e73f [android] VisibleRegion instrumentation tests 2018-07-18 15:03:31 +02:00
Łukasz Paczos
6d24ef9a03 [android] option to request the visible region restricted by the content padding 2018-07-18 15:03:31 +02:00
Thiago Marcos P. Santos
bffc60fefd [android] Fix possibly race on undefined behavior
`runnable->iter = runnables.end()` assumes that `::end()` is a
`static` or `constxpr` and thread-safe. This is likely to be true
for most of the implementations. That said we cannot rely on
undefined behavior and we should assume the worse case scenario.
2018-07-17 18:36:37 +02:00
Łukasz Paczos
7d686dfcba [android] bump SNAPSHOT version building on master to 6.4.0 2018-07-17 15:30:26 +02:00
Łukasz Paczos
a45dd30e44 [android] harden map events creation 2018-07-17 11:20:26 +02:00
tobrun
aeb85dbd8c [android] - bump used gradle tools version 2018-07-17 11:19:23 +02:00
Tobrun
6c9b627eaa [android] - bump kotlin, timber and okhttp to most recent stable versions 2018-07-16 15:37:52 +02:00
John Firebaugh
ca9ba9cb43 [build] Move all mason_use statements to a single file
So its checksum can be used in a CI cache key name.
2018-07-13 11:50:39 -07:00
tobrun
c6e43fa482 [android] - add geojson regression tests for java method look up from JNI 2018-07-13 11:04:18 +02:00
tobrun
e16c964465 [android] - add convenience method for destroyed state on MapView, can be used to determine if an asynchrous result should be set on map. 2018-07-12 10:46:57 +02:00
tobrun
b79b971f56 [android] - validate if gesture detector is able to handle gesture 2018-07-12 10:46:40 +02:00
Łukasz Paczos
8817f05699 [android] - bumped telemetry to v3.1.4 2018-07-09 18:12:17 +02:00
tobrun
e08ee7338a [android] - remove unique LatLng validation of LatLngBounds builder 2018-07-09 15:00:57 +02:00
tobrun
bf7792eae0 [android] - fix jni method lookup of GeometryCollection accessor geometries, add regression test 2018-07-09 12:51:34 +02:00
Łukasz Paczos
282f89a9f3 [android] - added DraggableMarkerActivity 2018-07-06 13:22:08 +02:00
Łukasz Paczos
3bd24e655f [android] - added Kotlin dependencies to the test app 2018-07-06 13:22:08 +02:00
Chris Loer
310d844b5f [docs] Add changelog entries for #12294 2018-07-05 11:56:38 -07:00
Tobrun
aa07dc5461 [android] - update changelog for release v6.3.0-alpha.2 2018-07-05 19:53:04 +02:00
tobrun
99f9787cc4 [core] - add LatLng for screencoordinate to mapsnapshotter 2018-07-05 18:50:21 +02:00
tobrun
473dd9b23f [android] - add LatLng for pixel conversion feature to MapSnapshotter 2018-07-05 18:50:21 +02:00
Mikhail Pozdnyakov
514485502d Rename HeatmapColorPropertyValue to ColorRampPropertyValue
Based on patch from @lbud (Lauren Budorick).

Give `HeatmapColorPropertyValue` a more generic name,
since the same value type will be used for both `heatmap-color`
and `line-gradient` properties.
2018-07-05 15:11:14 +03:00
tobrun
32dce870d7 [android] - create device independent tests for camera position testing 2018-07-05 13:30:50 +02:00
tobrun
ec78936e18 [android] - add bearing and pitch to get camera for geometry 2018-07-05 13:30:50 +02:00
tobrun
add9eecd99 [android] - add bearing and tilt to LatLngBounds, incorporate current tilt and bearing transformation in old api 2018-07-05 13:30:50 +02:00
tobrun
9920b25af3 [android] - avoid race condition when calling getMapAsync from OnMapReadyIdlingResource 2018-07-05 11:11:51 +02:00
Anand Thakker
cfd436c287 [core] Avoid blocking in Thread<Object> constructor (#12151)
* Introduce AspiringActor, EstablishedActor

This pair of objects represents the two-phase (parent-thread /
child-thread) construction that's needed to support constructing
Thread<Object> without blocking until the child thread is up and
running.

An `AspiringActor<O>` is responsible for:
 - ownership of the actor's `Mailbox`
 - allocating the memory for (but *not* constructing) the target object `O`

Using these two pieces--the mailbox and a stable address for `O`--an
`AspiringActor<O>` can accept messages for the target object, or provide
`ActorRef<O>`s that do so, before the object has actually been
constructed by the corresponding `EstablishedActor<O>`.  (Such messages
are queued in the mailbox until after the object is constructed.)

This allows for an `AspiringActor<O>` to be created and safely used by a
thread other than the one on which the target object will (eventually)
live.

An `EstablishedActor<O>` is responsible for managing the lifetime of the
target object `O` and the open/closed state of the parent's `mailbox`.

The `O` object's lifetime is contained by that of its owning
`EstablishedActor<O>`: the `EstablishedActor` constructor executes the
`O` constructor via "placement new", constructing it at the address
provided by the parent `AspiringActor`, and the `~EstablishedActor`
destructor similarly executes the `~O` destructor (after closing the
mailbox). `EstablishedActor` should therefore live entirely on the
thread intended to own `O`.

* Remove Actor#{invoke,ask}
2018-07-03 17:17:39 -04:00
John Firebaugh
840a5cf120 [build] Record binary size via GitHub check 2018-07-03 14:03:32 -07:00
Chris Loer
11c333672f [android] Android "collator" implementation
- Uses java.text.Collator for comparison
 - Uses java.util.Locale for locale loading
 - Uses LanguageTag for BCP 47 parsing
 - Falls back to non-locale-aware nunicode/default comparison for case-sensitive/diacritic-insensitive.
 - Testing these changes depends on running Android render tests
 - "collator" is not yet exposed in the SDK bindings.
2018-07-03 10:03:05 -07:00
Chris Loer
251f5e605f [core, vendor] Create vendored nunicode 1.8.
- Version bump to 1.8 necessary for "unaccent" functionality
- Qt now depends on nunicode, ruling out use of precompiled binaries
2018-07-03 10:03:05 -07:00