Ivo van Dongen
28be37fcbe
[core] Swap order of Style::recalculate and Style::relayout
...
Style::relayout uses source.baseImpl->loaded, a flag which is updated by Style::recalculate. So recalculate first, then relayout.
2016-12-12 16:49:02 -08:00
John Firebaugh
b0a928dcbc
[core] Ensure a non-zero source tile cache size
...
Previously, for viewport sizes less than 512 pixels in either direction, the computed size was 0.
2016-12-12 16:49:02 -08:00
John Firebaugh
3718e1fa15
[tests] Implement "wait" command with Map#render
...
This ensures that a "wait" command will always fully flush pending update flags. This was not the case with the prior conditional map.loaded() logic.
2016-12-12 16:49:02 -08:00
Bruno de Oliveira Abinader
b65b2f1c29
[qt] Skip ICU if WITH_QT_I18N is set
2016-12-12 22:34:52 +02:00
Bruno de Oliveira Abinader
c0e18ad80c
[core] Added BidiImpl to avoid ICU types exposure
2016-12-12 22:34:52 +02:00
Bruno de Oliveira Abinader
ce5ed9e649
[build] ICU is now configured per platform
2016-12-12 22:34:52 +02:00
Tobrun
eff986bfc4
[android] - update gradle wrapper and gradle plugin ( #7381 )
2016-12-12 19:22:33 +01:00
Konstantin Käfer
6fb24b2082
[build] only build active architecture for Debug builds on iOS
2016-12-12 18:53:46 +01:00
Ivo van Dongen
e9f101a52f
[ios, macos] handle duplicate layer error
2016-12-12 09:05:23 -05:00
Ivo van Dongen
a32e62cb0f
[android] test duplicate layer id exception handling
2016-12-12 09:05:23 -05:00
Ivo van Dongen
028db7feba
[core] guard against duplicate layer ids
2016-12-12 09:05:23 -05:00
Ivo van Dongen
c76a933514
[core] use raii to guard backend deactivation
2016-12-12 09:05:23 -05:00
YunjieLi
ffd74c309e
Simplified Chinese localization ( #7316 )
...
* translated into Chinese
* light edits to translations
* update two changelogs; remove .stringsdict files
* remove update from macos changelog
2016-12-09 12:25:41 -08:00
Tobrun
ee7e58fd46
[android] - invalidate camera after gesture, cleanup. ( #7354 )
2016-12-09 21:19:59 +01: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
4a2f53e6e5
[android] - fix ndk stack CI step ( #7363 )
2016-12-09 16:22:19 +01:00
Tobrun
970a0dab44
[android] - cleanup initialisation code for MapboxMap ( #7330 )
2016-12-09 15:38:09 +01:00
Thiago Marcos P. Santos
d6b8866975
[Qt] Allow strings as data source in the QML Item
...
Data values starting with ':' will be assumed to be a resource.
2016-12-09 11:28:31 -02:00
Thiago Marcos P. Santos
97df99c134
[Qt] Remove route before adding
...
This will allow to bind a GeoJSON to the source data property
without throwing an exception.
2016-12-09 11:28:31 -02:00
Bruno de Oliveira Abinader
a8c2688ca3
[qt] Added copyrightsChanged() signal
2016-12-08 16:36:38 +01:00
Konstantin Käfer
0eede631ce
[build] only use Identical Code Folding on platforms that support the gold linker
2016-12-08 15:38:38 +01:00
Tobrun
1d93ffc5eb
[android] - refactor marker selection and listener invocation, reformatted code ( #7304 )
2016-12-08 14:37:15 +01:00
Tobrun
7cf10ee524
[android] - remove location enabled flag from MapboxMap ( #7308 )
...
* [android] - remove location enabled flag from MapboxMap, decouple TrackingSettings from MyLocationViewSettings using a FocalPointChangeListener interface, Move state related to tracking modes to MyLocationView (shared object between MyLocationViewSettings and FocalPointChangeListener).
* fixup tests
2016-12-08 14:37:01 +01:00
Tobrun
3d2dc47191
[android] - only apply screen density to instance variables of MapboxMapOptions. ( #7327 )
2016-12-07 21:56:40 +01:00
Bruno de Oliveira Abinader
aa9bf7139c
[qt, macos] Remove workaround for a bug in Qt 5.7
2016-12-07 17:46:09 +01:00
Konstantin Käfer
11229d72f5
[build] bump mason to update Android compile flags
2016-12-07 15:28:13 +01:00
Konstantin Käfer
6be56ff9c2
[render] allow passing URLs to mbgl-render
2016-12-07 10:46:43 +01:00
Konstantin Käfer
dc1bda435f
[core] add util::isURL() for checking whether a string starts with a URL scheme
2016-12-07 10:46:43 +01:00
John Firebaugh
cc6e5c9df9
[core] Move CrossFadedPropertyEvaluator to its own file
2016-12-06 15:05:45 -08:00
John Firebaugh
05b0dcd0f8
[core] Move evaluation algorithm to Function
2016-12-06 15:05:45 -08:00
John Firebaugh
0adf830b9a
[core] Inline friend equality operators
2016-12-06 15:05:45 -08:00
Chris Voll
e7c30de021
[other] fix spelling on month in node.js changelog
2016-12-06 22:15:36 +01:00
Tobrun
e706ede0b4
[android] - remove overlay SurfaceView examples ( #7278 )
2016-12-06 19:40:40 +01:00
Tobrun
077d685656
[android] - make rotation gesture easier to trigger ( #7299 )
2016-12-06 19:40:20 +01:00
Tobrun
bcf911ba8b
[android] Fix javadoc for MapboxMap.updateMarker() ( #7301 )
2016-12-06 19:40:01 +01:00
Konstantin Käfer
467fa30f05
[android] use Identical Code Folding to reduce binary size
2016-12-06 14:58:38 +01:00
Tobrun
9a9e7978db
[android] - Refactor dependencies, introduce focused components ( #7189 )
...
* [android] - refactor dependencies
* ignore tests
2016-12-06 13:46:49 +01:00
Minh Nguyễn
890b681b18
[ios, macos] Update changelogs ( #7287 )
...
* [ios, macos] Updated changelogs
* [ios, macos] Removed duplicate changeset entries
2016-12-05 16:05:20 -08:00
John Firebaugh
c8e34d581b
[node] Update brew package name
2016-12-05 15:06:34 -08:00
John Firebaugh
385fbe6a07
[all] Upgrade to boost 1.62.0
2016-12-05 08:31:00 -08:00
Minh Nguyễn
3503c0e767
Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.4-master
2016-12-03 15:36:42 -08:00
Jesse Bounds
9eb7f88b2c
[ios, macos] Update MGLStyle API documentation with warnings for dupes
...
This adds notes to the methods for adding sources and layers to warn
of the hazards of using duplicate instances or identifiers.
2016-12-02 14:21:05 -08:00
Jesse Bounds
179e9c610f
[ios, macos] Consolidate tests of MGLStyle addSource in MGLStyleTests
...
This replaces the integration test of `addSource` when duplicate
identifiers are used in `MGLSourceTests` with a more direct unit test
in the style class's unit test file `MGLStyleTests`. Although tests of
the case where the same instance are actually integration tests where
the source instance itself throws, it is easier to test all of this
functionality in one place using the public facing MGLStyle API.
2016-12-02 14:21:05 -08:00
Jesse Bounds
1db0a96927
[ios, macos] Raise NSException if layer or source added more than once
...
When MGLSource and MGLLayer instances are added to the style, they lose
ownership of their std::unique_ptr<T> after it is moved to the mbgl
level. Subsequent attempts to add such instances result in a C++
exception.
This adds logic in the Darwin platform to raise a NSException if the
source and layer addToMapView methods are called more than once and the
pointer is invalid. In addition, the documentation in MGLStyle for
addSource: and addLayer: has been update to warn developers to avoid
adding the same instance twice and, for that matter, instances with the
same identifier.
2016-12-02 14:21:05 -08:00
Jesse Bounds
2db31be8bc
[ios, macos] Rename MGLMapViewTests back to MGLStyleLayerTests
2016-12-02 13:03:05 -08:00
Ivo van Dongen
37026a14ff
[ios, macos] handle duplicate source error
2016-12-02 11:39:16 -08:00
Ivo van Dongen
d44d1c8401
[ios, macos] renamed MGLStyleLayerTests to MGLMapViewTests
2016-12-02 11:28:34 -08:00
Ivo van Dongen
2c4e7ae70f
[core] guard against duplicate source id’s
2016-12-02 11:25:30 -08:00
Minh Nguyễn
84038832e4
[test] Updated mapbox-gl-test-suite version
...
Followup to #7123 .
2016-12-02 09:11:45 -08:00