Ivo van Dongen
c76a933514
[core] use raii to guard backend deactivation
2016-12-12 09:05:23 -05:00
John Firebaugh
82856fd08b
[darwin, android] SDK bindings for circle-stroke properties
2016-12-09 09:35:21 -08:00
John Firebaugh
3b2a4216a2
[core] Implement circle-stroke properties
...
Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
2016-12-09 09:35:21 -08:00
Tobrun
9a9e7978db
[android] - Refactor dependencies, introduce focused components ( #7189 )
...
* [android] - refactor dependencies
* ignore tests
2016-12-06 13:46:49 +01:00
Ivo van Dongen
c810d16f0d
[android][build] core tests - initial setup for rendering tests
2016-11-27 18:50:24 +02:00
Pablo Guardiola
fe68b9bc4a
Fix incorrect command comment in templates ( #7158 )
...
* [android] - fix incorrect command comment in templates and regenerate classes (#7157 )
* [android] - fix incorrect command comment in layer templates and regenerate classes (#7157 )
2016-11-23 19:28:24 +01:00
Konstantin Käfer
e76de05402
[build] move logging to util
2016-11-22 20:58:51 +01:00
Konstantin Käfer
3bc79e316e
[build] move default ThreadPool implementation to platform/default
2016-11-22 20:58:51 +01:00
Fredrik Karlsson
d959fe1522
[android] fixed horizontal panning going the opposite direction
2016-11-18 09:21:38 +01:00
Bruno de Oliveira Abinader
1c79147a84
[android] Update GLSL + ensure binding to OpenGL ES 2.0
2016-11-14 17:45:22 +01:00
Ivo van Dongen
36dea5ea0d
[android] return source ownership on remove
2016-11-14 14:05:18 +01:00
Ivo van Dongen
8d53f9f091
[android] return layer ownership on remove
2016-11-14 14:05:18 +01:00
Ivo van Dongen
822b83ae4e
[android] fix source ownership
2016-11-11 13:46:10 +01:00
Ivo van Dongen
3a4a27c95f
[android] fix layer ownership
2016-11-11 13:46:10 +01:00
Konstantin Käfer
108a28faa8
[android] update viewport size when framebuffer size changed
2016-11-10 17:04:18 +01:00
Tobrun
772324e8f2
Cherry pick release v4.2.0 ( #6944 )
...
* [android] - MyLocationView should facing above when location and compass bearing tracking are enabled. (#6829 )
* [android] - use current animated rotation value for calculating animated marker rotation difference (#6826 )
fix unit tests, input limiting is not handled by animateRotationBy instead of MarkerView.
Changed test to validate if method was called with correct value.
* [android] - only calculated offset margins for InfoWindow if View is found in current viewport, added example to the test app to test for regressions (#6877 )
* upgraded okhttp dependency to latest version (#6880 )
* Cancelable callback invocation (#6891 )
* [android] - allow onCancel to be invoked from camera cancel callbacks
* set to null after finish
* [android] - using bearing clockwise versus counterclockwise (#6917 )
* [android] - using bearing clockwise versus counterclockwise
* fixup brackets
* [android] - convert bearing values from core to Android SDK equivalent.
2016-11-09 10:42:18 +01:00
Ivo van Dongen
505bf7db7a
[android] update custom layer example with invalidation example
2016-11-07 09:38:04 +01:00
Konstantin Käfer
29c5c13aa2
[core] move OpenGL debug information printing to core
2016-11-04 21:24:05 +01:00
Konstantin Käfer
c90a559599
[core] move framebuffer reading to gl::Context
2016-11-04 21:24:05 +01:00
Konstantin Käfer
f7801e5d82
[core] correctly set the framebuffer size on retina screens
...
Also asserts in Debug mode that the internal state and the OpenGL state are identical
2016-11-01 10:46:04 +01:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07:00
Ivo van Dongen
31a7925205
[android] fix exception class
2016-10-25 12:41:28 +02:00
Tobrun
7a4cd67aa8
[android] - remove jni method logging, only keep lifecycle related logs ( #6787 )
2016-10-21 22:23:16 +02:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Ivo van Dongen
5527887c4b
[android] geojson source - remove explicit repaint requests
2016-10-20 11:41:24 +03:00
Tobrun
0ccc7f51ba
[android] - fixup MyLocationView heading ( #6671 )
...
[android] - convert angles to radiants in jni, correct follow animation for MyLocationView
do not sanitise input when recreating from other camera object, input is already sanitised before
cleanup mylocationview, made animation bit more smooth, improved UX when switching between tracking modes
cleanup CameraUpdateFactory, hide internally used api.
only invalidate position if required, remove outdated comments
correct camera position values
made zoom activity a bit more interesting
made dynamic marker activity a bit more interesting
FIXUP
2016-10-18 17:56:39 +02:00
Ivo van Dongen
e5a473a301
[android] don't delete local reference on value copy
2016-10-15 10:51:19 +03:00
Bruno de Oliveira Abinader
d00a32fe66
[android] Using mbgl::AnnotationIDs in JNI code
2016-10-12 18:59:40 +03:00
Ivo van Dongen
61d8ecefda
[android] Runtime Style Filter enhancements ( #6623 )
...
* [android] Additional null check - prevents errors in array conversion
* [android] style conversion - delete local refs asap to avoid ref table overflow
* [android] Filter - hide concrete implementation classes to avoid confusion
2016-10-11 10:30:38 +03: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
Ivo van Dongen
8fbc1bc750
[android] addImage / removeImage jni bindings
2016-09-30 17:11:22 +02:00
Konstantin Käfer
2ec2860ce5
[core] move OpenGL extension loading to their own headers
2016-09-29 13:19:27 -07:00
Ivo van Dongen
2b05776f97
[android] user agent string
2016-09-29 18:40:10 +02: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
Tobrun
0c0671bff0
[android] - disable general purpose logging during transformation change ( #6452 )
2016-09-27 15:08:49 +02:00
Konstantin Käfer
63e53de157
[core] standardize on uint16_t for texture sizes
2016-09-27 10:42:10 +02:00
Ivo van Dongen
71c71e43e6
[android] offline - prevent OOME
2016-09-23 10:47:54 +02:00
Ivo van Dongen
e968f4ed55
[android] timer - prevent overflow in due time
2016-09-23 10:47:54 +02:00
Ivo van Dongen
742d6d8275
[android] set connectivity state pro-actively
2016-09-23 10:47:54 +02:00
Young Hahn
6a2ce352d1
Better handling for undefined icon|text-rotation-alignment ( #6253 )
...
* [core, ios, android] Use `auto` value for properties with calculated defaults
* Fix render tests
2016-09-21 16:07:33 -07:00
Ivo van Dongen
eb97dbe383
[android] Sources: peer model, mutability ( #6054 )
2016-09-21 11:04:32 +02:00
Tobrun
9ef65440b6
[core] [android] - public api configurable base endpoint ( #6309 )
...
add runloop to test
2016-09-15 22:01:09 -07:00
Ivo van Dongen
ed4e37ba9f
[android] HttpFileSource - rate limit
2016-09-13 14:21:38 +02:00
John Firebaugh
030234c7a6
[core] Rework invokeWithCallback so that the callback is last
2016-09-08 16:36:47 -07:00
John Firebaugh
8edf995946
[android] Remove declaration of deleted method ( #6276 )
2016-09-07 08:42:19 -07:00
John Firebaugh
fe2a26225f
[core, ios, android, qt] Observe style layer mutations rather than requiring SDKs to use Map::update
...
This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
2016-09-06 14:29:22 -07:00
Ivo van Dongen
e1a2ee733c
[android] jni - fix boolean to JsonPrimitive conversion ( #6256 )
2016-09-06 17:58:28 +02:00
Tobrun
8deb7aaa79
[android] - 5844 remove stop gap for update-able shape annotations ( #6187 )
...
* [android] - remove stopgap updatable shape annotations
2016-08-29 17:43:32 +02:00