Commit Graph

14444 Commits

Author SHA1 Message Date
Ander Conselvan de Oliveira
7d19115720 [core] Don't use exceptions in MapObserver::onDidFailLoadingMap
Using different exception pointers to specify the loading failure makes
an awkward API. Most users rethrow the exception only to figure out what
type of error happened so it can be reported properly. So replace the
exception pointer with a enum an string description of the failure.
2019-03-13 11:58:27 +02:00
Jason Wray
565792606d [ios, build] Remove unnecessary clean step from release packaging 2019-03-12 16:19:32 -07:00
Bruno de Oliveira Abinader
096dea16e3 [node] Change Map/FileSource relationship to composition 2019-03-12 23:52:40 +02:00
Jason Wray
fb1b601038 [darwin] Fix MGLMapView.direction wrapping
Re-adds the 0-to-360° wrapping for MGLMapView.direction. Without this wrapping, we’d get ±180° from core, which results in invalid CLLocationDirection for the negative half of the rotational spectrum.
2019-03-12 14:49:49 -07:00
Łukasz Paczos
103f86c4bc [android] set a blank style when an empty builder is provided 2019-03-12 16:53:19 +01:00
Łukasz Paczos
8ce404e645 [android] explicitly declare MapboxIssueRegistry's lint version 2019-03-12 15:17:22 +01:00
Łukasz Paczos
2a4b67f4ae [android] fix quick-zoom + double-tap gestures combo regression 2019-03-12 13:10:19 +01:00
Konstantin Käfer
e27f330629 [core] add texture bindings to draw call instead of Context member fn 2019-03-12 11:03:54 +01:00
Konstantin Käfer
cb64c380fb [core] add texture bindings to draw call invocations 2019-03-12 11:03:54 +01:00
Konstantin Käfer
54847ea986 [core] add place for specifying textures/samplers separately from uniforms 2019-03-12 11:03:54 +01:00
Konstantin Käfer
9b5bbfcbdd [core] use abstract Context interface where possible 2019-03-12 11:03:54 +01:00
Konstantin Käfer
a7f151ab48 [core] move Texture to the gfx namespace 2019-03-12 11:03:54 +01:00
Konstantin Käfer
2a25270298 [core] move Texture related enums to gfx namespace 2019-03-12 11:03:54 +01:00
Lloyd Sheng
60ceac5efc [iOS] Enable developers to change position of ornaments (#13911)
* APIs for change position of ornaments

* Use anchors APIs and emove iOS8 layout code

* Add ornaments layout tests
2019-03-11 23:06:16 +08:00
Łukasz Paczos
5ccc5b7c36 [android] throw an exception if the component is accessed before the activation 2019-03-11 13:30:59 +01:00
Łukasz Paczos
278347548d [android] remove unnecessary JSON style declaration in the gradient line example 2019-03-11 13:28:28 +01:00
Alexander Shalamov
f84019cb89 [core, node] Use es5 syntax for imports in expressions tests
Instead of forcing ES6 module syntax, at this point, it is less
distruptive to fix expression tests to use ES5 import syntax.
2019-03-11 13:43:08 +02:00
Alexander Shalamov
debbd08ff0 Revert "[core] Use ES6 import / export syntax for node test harness"
This reverts commit c6598fc5da.
2019-03-11 13:43:08 +02:00
Thiago Marcos P. Santos
7cdc39bee9 [Qt] Fix race when locking a FileSource
We were returning the FileSource, it could have expired
already. We _need_ to check if the lock() on the weak
pointer worked before returning.
2019-03-08 20:56:45 +02:00
Sudarsana Babu Nagineni
5e2b6bf636 [core] Add MapOptions to define properties of Map
To simplify the Map constructor, introduce MapOptions
interface to define the properties that can be set on
a Map.
2019-03-08 18:20:55 +02:00
Łukasz Paczos
c4115f0539 [android] publish SNAPSHOTs to oss.jfrog.org 2019-03-08 17:04:27 +01:00
Sudarsana Babu Nagineni
744d92e763 [core] consolidate Axonometric rendering API
Instead of having individual APIs for setting axonometric
and skew options, create ProjectionMode struct that holds
all the relevant options for Axonometric rendering and
introduce setter/getter on the Map for those options.
2019-03-08 17:36:40 +02:00
Alexander Shalamov
c6598fc5da [core] Use ES6 import / export syntax for node test harness 2019-03-08 16:53:01 +02:00
Fabian Guerra Soto
79f3307c4b [ios, macos] Fix a bug with multiple format expressions. (#14064)
Fixed a bug where `format` expressions using the generic `MGL_FUNCTION` binding ignored multiple formatting parameters.
2019-03-07 19:28:20 -08:00
Jason Wray
d0ffaa4245 [ios] Reset access token state after running tests 2019-03-07 11:36:04 -08:00
Jason Wray
baaa9ca249 [ios] Enable test run-order randomization 2019-03-07 11:36:04 -08:00
Julian Rex
9283f3f8df [ios] Trigger mobile metrics tests (#14061) 2019-03-07 14:34:03 -05:00
Łukasz Paczos
86e44bf5d6 [android] changelog for 7.3.0-alpha.1 2019-03-07 19:24:11 +01:00
Łukasz Paczos
a0fd38eb29 [android] get vector drawables using AppCompatResources and set vector drawables programmatically 2019-03-07 18:47:10 +01:00
Łukasz Paczos
b4e315ee28 [android] ignore SNAPSHOT builds 2019-03-07 18:46:51 +01:00
Łukasz Paczos
d1109257dc [android] build correct POM when publishing to maven 2019-03-07 18:46:51 +01:00
Langston Smith
13a6f4c3db [android] initial additions for bintray plugin setup 2019-03-07 18:46:51 +01:00
Jordan Kiley
fa4fa5d9fe [ios] Release ios-v4.10.0-alpha.1 (#14056) 2019-03-06 16:28:13 -08:00
Minh Nguyễn
f5c7f976a5 Removed hybrid library table from readme
Most of the hybrid libraries have already been removed. The OSM Wiki has a fuller listing of GL-based libraries enjoying varying levels of maintenance.
2019-03-06 14:46:47 -08:00
Jason Wray
9bfc733168 [darwin, build] Explicitly specify number of jobs for CLI builds 2019-03-06 11:38:58 -08:00
Jason Wray
af370275d2 [build] Adjust CircleCI resource classes and job counts 2019-03-06 11:38:58 -08:00
Bruno de Oliveira Abinader
bc033ad8d4 [core] util::wrap(): std::fmod is not lossless 2019-03-06 18:09:14 +02:00
Mikhail Pozdnyakov
06a8ecdb17 Update mapbox-gl-js submodule to v0.53.0 2019-03-06 18:00:19 +02:00
Konstantin Käfer
8a8291d8f4 [core] introduce gfx::Context and move Buffer creation/update methods to it 2019-03-06 16:12:51 +01:00
Konstantin Käfer
ec42b2a5a4 [core] move BufferUsage enum to gfx namespace 2019-03-06 16:12:51 +01:00
Konstantin Käfer
458bb65510 [core] rename gl/*_buffer.hpp to gl/*_buffer_resource.hpp 2019-03-06 16:12:51 +01:00
Konstantin Käfer
3a57aa65d7 [core] move VertexBuffer<> to gfx namespace 2019-03-06 16:12:51 +01:00
Konstantin Käfer
4737a45383 [core] move IndexBuffer to gfx namespace 2019-03-06 16:12:51 +01:00
Konstantin Käfer
f13c2b86e4 [core] unify *Buffer/Vector naming 2019-03-06 16:12:51 +01:00
Konstantin Käfer
2f646af255 [core] make vertex descriptors constexpr 2019-03-06 16:12:51 +01:00
Konstantin Käfer
d5816b6db2 [core] remove unused template parameter from gl::IndexBuffer 2019-03-06 16:12:51 +01:00
Konstantin Käfer
63e81b9aa8 [core] move VertexVector/IndexVector to gfx namespace 2019-03-06 16:12:51 +01:00
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
m-stephen
383fde6804 Add option to prefetch low-resolution tiles (#14031)
* Add option to prefetch low-resolution tiles
2019-03-06 12:02:31 +08:00