tobrun
531448828d
[android] - ignore render tests from ignores.json
2018-06-08 11:29:14 +02:00
Ansis Brammanis
58b6c42f5d
[core] always commit placement to fix #11795
...
Since placements will be committed even if they do not need the full
fade duration to fade features in, we need the new `fadeStartTime` to
keep track of how long we still need to fade. This is important because
if we fade too long we will trigger another placement and never stop
rendering.
2018-06-07 13:40:17 -04:00
Łukasz Paczos
0a15be07ae
[android] - automate tag release
2018-06-07 17:21:09 +02:00
Łukasz Paczos
2c29d3b714
[android] - parsing fragment's xml attributes
2018-06-07 17:20:06 +02:00
Anand Thakker
2da57bd157
[core] Fix crash due to mixing legacy filters and expressions ( #12065 )
...
* Fix crash due to mixing legacy filters and expressions
In some cases, (invalid) nested filters that used a mix of legacy filter
syntax and expression syntax caused a crash due to a failure to
propagate parsing errors from deeper within the filter expression.
These errors went undetected in part because these conversion functions
returned unique_ptr<Expression> values (or vectors thereof), using
{nullptr} to represent a parsing error, but the core expression classes
expect unique_ptr<Expression> that are never null.
This changes over to using expression::ParseResult (aka
optional<unique_ptr<Expression>>), to represent conversion failure
the same way we do in the rest of the expression system.
* Fix clang 3.8 / gcc 4.9 issue
2018-06-06 11:26:08 -04:00
Chris Loer
6eee872955
[test,ios] Disable multiple mapsnapshotter test.
...
8 simultaneous mapsnapshotter test periodically deadlocks in simulator.
Also, increase timeouts to decrease chance of spurious test failure.
2018-06-04 11:32:20 -07:00
Chris Loer
050337fb68
[docs,ios,macos] Changelog entries for MGLMapSnapshotter fix.
2018-06-04 11:32:20 -07:00
Chris Loer
8fdcd76d6e
[ios, macos] Use NSCAssert instead of assert.
2018-06-04 11:32:20 -07:00
Julian Rex
df4d8bab31
[ios, macos] Raise exception if MGLMapSnapshotter is used from thread without active run loop.
2018-06-04 11:32:20 -07:00
Chris Loer
af4efd4fa7
[ios, test] Add MGLMapSnapshotter integration tests.
2018-06-04 11:32:20 -07:00
Chris Loer
552b982a33
[ios, macos] Fix MGLMapSnapshotter concurrency bugs (issue #11827 ).
...
- Biggest change: when we apply the watermark on a background thread, don't capture self (turn most of the related instance methods into class methods)
- Don't call mbglMapSnapshotter->snapshot from a user-provided queue, since it's an asynchronous call anyway and starting it on the user's queue requires capturing self.
2018-06-04 11:32:20 -07:00
Ivo van Dongen
d928908ec8
[core] offline database - batch region resource inserts
2018-06-04 12:09:32 +03:00
Ivo van Dongen
4146d8d9be
[core] offline database - move transaction scope to public api level
2018-06-04 12:09:32 +03:00
Konstantin Käfer
4943260d3b
[build] cache Node + Nan headers globally, not build-specific
2018-06-04 10:43:21 +02:00
Konstantin Käfer
9ebb504164
[node] hide all symbols from the Node.js addons
2018-06-04 10:43:21 +02:00
Konstantin Käfer
3ef67a827e
[core] fix bogus unused variable with GCC 7
2018-06-04 10:43:21 +02:00
Konstantin Käfer
d66251234d
[core] don't use floating point versions of pow/log
...
GLIBC 2.27 added new versioned symbols of powf and logf, while the double versions of pow and log remained stable.
Prefer the double version to avoid introducing a dependency on a newer version of GLIBC than strictly necessary.
See https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00000.html
2018-06-04 10:43:21 +02:00
Konstantin Käfer
d232a7a6f3
[linux] link EGL backend against SwiftShader to avoid Mesa dependency
2018-06-04 10:43:21 +02:00
Konstantin Käfer
500cf3864e
[linux] load cURL dynamically for wider compatibility
2018-06-04 10:43:21 +02:00
Konstantin Käfer
0b305aca7d
[linux] statically link the C++ standard library
...
Most of the STL is header-only anyway, and statically linking it only has a small overhead. On the other hand, it allows us to build more portable executables.
2018-06-04 10:43:21 +02:00
Tobrun Van Nuland
be66de6fcd
[android] - Render tests with PixelMatch
2018-06-01 20:05:56 +02:00
Jason Wray
a721b74b87
[ios] Use 'Recognized' state for tap gesture handlers
...
Tap gestures have no `Began`/`Ended` states — they can only be `Possible` or `Recognized`.
2018-06-01 13:43:50 -04:00
tobrun
d11fe3687c
[android] - update changelog for v6.2.0-beta.1
2018-06-01 16:55:46 +02:00
Łukasz Paczos
37b27d2eb5
[android] - ensure that camera is invalidated before generating telemetry event
2018-06-01 11:58:01 +02:00
“osana”
a5a86615b5
[android] changed version of mapbox-java to 3.2.0
2018-05-31 14:45:32 +02:00
tobrun
930d0bc17c
[core] [android] - optional map snapshotter camera position
2018-05-31 07:23:06 +02:00
tobrun
4894093971
[android] - expose enableOnUserRequest and disableOnUserRequest on Telemetry
2018-05-30 20:31:48 +02:00
tobrun
7193a43729
[core] [android] - add style json setter/getter to map snapshotter
2018-05-30 20:23:57 +02:00
Jason Wray
e67f0be813
Merge tag 'ios-v4.0.2' into master
...
Conflicts:
mapbox-gl-js
platform/android/CHANGELOG.md
platform/android/gradle/dependencies.gradle
platform/ios/CHANGELOG.md
platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
platform/ios/Mapbox-iOS-SDK-symbols.podspec
platform/ios/Mapbox-iOS-SDK.podspec
platform/node/test/ignores.json
src/mbgl/geometry/feature_index.cpp
src/mbgl/geometry/feature_index.hpp
src/mbgl/layout/symbol_layout.cpp
2018-05-30 13:01:04 -04:00
Jason Wray
43efd61813
[ios, build] Install npm packages before deploying
2018-05-29 17:04:33 -04:00
Jason Wray
884721c71f
[ios] Prepare ios-v4.0.2 release
2018-05-29 16:39:19 -04:00
tobrun
83ebd5f6ff
[android] - fix literal wrapping in comparission expressions
2018-05-29 15:53:38 +02:00
tobrun
2e2d5bf03c
[android] - null check access token in filesource initializer
2018-05-29 15:33:04 +02:00
Łukasz Paczos
4d9cd75d2d
[android] - allow literal expression property arguments
2018-05-28 17:56:37 +02:00
Łukasz Paczos
22741a0ce1
[android] - raw expression support
2018-05-28 14:58:51 +02:00
Jason Wray
f2d2f2d6a9
[ios] Bump mapbox-mobile-events to avoid build warning ( #12005 )
2018-05-25 12:13:21 -04:00
Tobrun
c00710dbfb
[android] - update changelog for v6.2.0-alpha.2 ( #12006 )
2018-05-25 13:17:08 +02:00
Tobrun
7aaf492ef2
UI thread checking ( #12000 )
...
* [android] - add UI thread checking
2018-05-25 11:46:04 +02:00
Tobrun
7710934ff0
[android] - remove requirement of having a mapbox access token ( #12001 )
2018-05-25 11:42:57 +02:00
Jason Wray
7d050c4cda
[ios, build] Remove obsolete UI tests, KIF and OHHTTPStubs submodules
2018-05-24 19:11:28 -04:00
Konstantin Käfer
2694c0df03
[build] disable parts of the build that require node when WITH_NODEJS=OFF is set
2018-05-24 21:50:29 +02:00
Asheem Mamoowala
b1f696155e
Set Tile loaded/rendered instead of marking tile as optional.
2018-05-24 14:01:21 -04:00
Jason Wray
6e0d6ef44a
[ios, build] Populate GitHub releases with templated notes
...
Replicates our existing release notes format as an EJS template and Node JS script, then uploads the formatted notes during the deployment process.
2018-05-24 13:27:26 -04:00
Jason Wray
3c74bbb9d0
[ios, build] Remove unused build scripts
2018-05-24 13:27:26 -04:00
Łukasz Paczos
47ff2b84d1
[android] - update onMapChange docs for possible values
2018-05-24 16:38:36 +02:00
Julian Rex
9e4a16d7ee
[ios] Updated MGLScaleBar to use rendered UIImages instead of MGLScaleBarLabel ( #11921 )
2018-05-24 10:29:56 -04:00
Anand Thakker
40da4daded
Accept constant expressions in non-dds properties ( #11961 )
...
Closes #11940
2018-05-24 09:06:20 -04:00
Konstantin Käfer
4067a61c80
[core] wrap glGetString in MBGL_CHECK_ERROR too
2018-05-24 11:19:59 +02:00
Julian Rex
0212fd385c
[ios] Provide custom hit test for callout views ( #11939 )
2018-05-24 01:01:20 -04:00
Julian Rex
5e65cb7812
[ios, macos] Added macro to handle pending iOS tests (rather than disabling via scheme) ( #11806 )
2018-05-24 00:43:29 -04:00