Commit Graph

199 Commits

Author SHA1 Message Date
Jason Wray
fc802daa62 [core] Ignore more flaky node render tests 2019-06-07 12:39:48 -07:00
Jason Wray
012e3931bf [core] Ignore flaky fill-pattern render tests 2019-06-04 10:43:44 -07:00
Juha Alanen
f9796d2a28 [core] Fix symbol rendering under opaque fill layers 2019-06-04 16:35:53 +03:00
Thiago Marcos P. Santos
d60df973a6 [tests] Removed passing tests from the ignore list 2019-05-23 18:05:54 +03:00
Ander Conselvan de Oliveira
d502b72449 [core] Pass legacy/categorical/*-default expression tests
Handle categorical function default value properly in conversion to
expreexpression so related tests pass.
2019-05-21 12:14:22 +03:00
Ander Conselvan de Oliveira
1e620d3bd8 [core] Fix legacy/{interval,exponential}/*-default expression tests
Consider the function default value in interval and exponential
functions conversion.
2019-05-21 12:14:22 +03:00
Ander Conselvan de Oliveira
343df18954 [core] Fix some of the legacy interval function expression tests
The tests for conversion of legacy interval functions to expressions
expects that the first stop in the "step" expression be omitted.
2019-05-21 12:14:22 +03:00
Ander Conselvan de Oliveira
33cfd080c2 [core] Fix most identity function with default legacy expression tests
Add handling of default value to the conversion of legacy identity
functions. The color and enum tests still don't pass though.
2019-05-21 12:14:22 +03:00
Ander Conselvan de Oliveira
80edc3b821 [node] Convert legacy functions to expressions in NodeExpression::Parse
In order to test the conversion from function to expressions using the
legacy tests in the expression test suite, parse function objects into
expressions in NodeExpression::Parse.

v2: Coding style fixes.
2019-05-21 12:14:22 +03:00
Konstantin Käfer
a53c88159f [core] upgrade mapbox-gl-js pin to the most recent version 2019-05-08 14:10:11 +02:00
Konstantin Käfer
20a807fdf3 [core] render extrusions directly in the main framebuffer 2019-05-08 12:25:22 +02:00
Alexander Shalamov
cd5f87e9d2 [core] Unskip symbol-sort-key render tests 2019-04-17 15:04:08 +03:00
Mikhail Pozdnyakov
94d8cb4f7f [core] Single line optimization for variable label placement 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
106e592a55 Enable text-variable-anchor render tests 2019-03-29 16:18:41 +02: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
Alexander Shalamov
c6598fc5da [core] Use ES6 import / export syntax for node test harness 2019-03-08 16:53:01 +02:00
Mikhail Pozdnyakov
06a8ecdb17 Update mapbox-gl-js submodule to v0.53.0 2019-03-06 18:00:19 +02:00
Mikhail Pozdnyakov
be2a4a0189 Skip failing render tests 2019-03-05 14:04:52 +02:00
Vladimir Agafonkin
fdcfdaa8ee remove some outdated integration test ignores (#13800) 2019-01-28 20:08:01 +02:00
Bruno de Oliveira Abinader
369d1f005b [core] Do not consider X axis when constraining scale 2018-11-29 14:23:55 +02:00
Konstantin Käfer
8bf66ef7a7 [core] remove some uses of <iostream> and <sstream> 2018-10-23 12:23:40 +02:00
Ryan Hamley
0c6b1629ef [Core] Ensure queryRenderedFeatures accounts for icon-rotate (#13105) 2018-10-18 12:14:52 -07:00
Chris Loer
ce76bde13d [core] Initial implementation of 'format' expression 2018-10-15 13:15:46 -07:00
Bruno de Oliveira Abinader
19179e08bc [core] Do not constrain on X axis in ConstrainMode::HeightOnly 2018-10-02 06:16:13 -07:00
Chris Loer
ab8b6b74dc [test] Bump gl-js pin. 2018-09-19 14:54:38 -07:00
John Firebaugh
20adb486f7 [core] Make "to-number" of null behave as documented 2018-09-13 15:55:34 -07:00
John Firebaugh
b64b4cd1f7 [tests] Update mapbox-gl-js 2018-09-13 15:55:34 -07:00
Ander Conselvan de Oliveira
6367fcb2a8 [node] Ignore custom layer tests in node platform
Custom layers are not implemented in node platform so ignore tests that
require it.
2018-09-13 08:42:36 +03:00
Chris Loer
d735d89835 [core] Port "collision group" plumbing to gl-native.
[node] Hook up map-wide "crossSourceCollisions" option, defaulting to true.
[test] Pass "crossSourceCollisions" test option through test harness; enable cross-source-collisions tests on native.
2018-09-12 14:10:46 -07:00
Molly Lloyd
4cf6138e38 [test] ignore legacy expression tests 2018-08-31 13:08:47 -07:00
Molly Lloyd
2cdbe934c2 [windows, qt] fix windows compiler errors, remove tao + tuple polyfill 2018-08-31 13:08:47 -07:00
Molly Lloyd
4a5dc37245 [core] Implement CrossFadedDataDrivenProperty to add support for feature expressions in *-pattern properties 2018-08-31 13:08:47 -07:00
Konstantin Käfer
30272924a9 [node] capture invalid input data as ParseError objects
This allows us to distinguish them from other types of errors
2018-08-27 14:07:40 -07:00
Mikhail Pozdnyakov
fb5afd34b9 [core] Add line-gradient property
Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303
See the link above for the description of the feature and
its limitations).

Based on patch from @lbud (Lauren Budorick).
2018-08-23 19:01:40 +03:00
Chris Loer
fd1767efba [core, test] Bump GL JS pin to bring gl-native back in sync with gl-js.
Requires changing `generate-style-code` to treat 'formatted' as being the same as 'string' until gl-native gets 'formatted' support with https://github.com/mapbox/mapbox-gl-native/pull/12624.
To make nitpick happy, PropertyFunction.java uses the latest "text-field" description from v8.json. It's technically correct, just kind of pointless since the "If a plain `string` is provided" clause will always be true.
2018-08-21 22:02:51 -07:00
John Firebaugh
7fb2aade96 [build] Update gl-js 2018-08-08 08:58:15 -07:00
Chris Loer
da5966b932 [test] Add native ignore for symbol-cross-fade test. 2018-07-23 13:33:27 -07:00
Chris Loer
d734f670e8 [core] Fix sort order for queryRenderedFeatures when features are filtered.
Fixes issue #12104.
2018-07-03 15:28:00 -07:00
Chris Loer
10a6d1bf23 [ios, macos] Try to make darwin "resolvedLocale" BCP 47 compliant 2018-07-03 10:03:05 -07:00
Chris Loer
a5b0fe8a75 [test] Remove "collator" ignores 2018-07-03 10:03:05 -07:00
Dane Springmeyer
a70727245c Change error message with invalid render usage (#12265)
* Change error message with invalid render usage

This change disambiguates this error condition with a different error with the same error message at 789baf4c1f/src/mbgl/map/map.cpp (L157-L160)

* fix test expectation
2018-06-29 22:17:29 -07:00
John Firebaugh
ab5e496219 [tests] Replaced the ZoomHistory test with a render test 2018-06-28 16:31:48 -07:00
John Firebaugh
eabf209bad [tests] Remove ignores for implemented features 2018-06-27 20:52:51 -07:00
Molly Lloyd
e1af62e87d [core] add raster-resampling property (#12176)
* update style-code for raster-resampling

* implement user-defined raster-resampling

* invert filter condition

* raster-resampling -> raster-resampling-mode for darwin language conventions
2018-06-21 14:37:17 -07:00
Molly Lloyd
325ad2f711 [core] port zero line-width fix from gl-js (#12175)
* port zero line-width fix from gl-js

* ignore transition test

* ignore feature-state tests
2018-06-19 13:46:12 -07:00
John Firebaugh
b2fabe5eef [core] Align match behavior with case/==
Makes `["match", ["get", k], label, match, otherwise]` equivalent to `["case", ["==", ["get", k], label], match, otherwise]`. This changes the behavior of match expressions where the runtime type of the input does not match the type of the labels: previously such expressions produced a runtime type error and then fell back to the property default value; now they produce the fallback value from the match expression.
2018-05-18 12:10:31 -07:00
Lauren Budorick
62c875e01b [core] Rework spec function/expression taxonomy
Ports https://github.com/mapbox/mapbox-gl-js/pull/6521, updating codegen scripts to parse new expression taxonomy.
2018-05-14 12:38:14 -07:00
Chris Loer
65a4ee2373 [core] Port is-supported-script to native.
Native port is much simpler because RTL text support is always enabled.
2018-04-27 16:05:14 -07:00
Chris Loer
1a39d7db48 [core] Remove circle-pitch-scale test ignores. 2018-04-26 18:03:17 -04:00