Commit Graph

14800 Commits

Author SHA1 Message Date
Mikhail Pozdnyakov
5de27d5200 [test runner] Expectations paths are represented with std::vector 2019-08-16 16:25:59 +03:00
Mikhail Pozdnyakov
1580216469 [test-runner] UPDATE_GENERIC variable updates results at mapbox-gl-js submodule 2019-08-16 16:25:59 +03:00
Mikhail Pozdnyakov
8792e7c322 Enable text-variable-anchor/{pitched-rotated-debug|rotated-offset} render tests 2019-08-16 16:25:59 +03:00
Mikhail Pozdnyakov
a1904e802c [test-runner] Introduce mapbox-gl-native test expectations
The `mapbox-gl-native`-specific render tests expected results will
be stored at the `render-test/expected/` subfolder.

Test runner will automatically put new expected results there if
invoked with `UPDATE=true`.
2019-08-16 16:25:59 +03:00
Dane Springmeyer
1165f62df6 [core][test] fix leaks from sqlite usage 2019-08-16 15:51:42 +03:00
zmiao
0f34eb7b25 Indroduce clusterProperty option for aggregation (#15287)
* indroduce clusterProperty option for aggregation

* remove unnecessary codes

* update geojson_option conversion

* fix reviewing findings
2019-08-16 15:03:48 +03:00
Łukasz Paczos
9f8696c00c [build] do not skip tag-initiated builds 2019-08-16 11:53:48 +03:00
Łukasz Paczos
61e07b7b48 [android] changelog for 8.3.0-alpha.3 2019-08-16 10:54:13 +03:00
Alexander Shalamov
5f477e310b [core] Check type of a convertible value when constructing legacy filter 2019-08-16 00:19:30 +03:00
Łukasz Paczos
8e1bd18eae [android] execute quickzoom scale change based on the Y axis delta change
Using finger's Y axis position allows for a linear zoom additions/deductions during the quick-zoom changes. This is in contrast to the previously used scale factor, which is based on the current span (distance from the origin) to previous span ratio and increases the closer the finger is to the origin of a gesture because the values are smaller.

The scale ratio based changes are also reliant on series of motion events' values and because the Android framework can skip some events, going back and forth during a quick-zoom might not have resulted in the same transformation. This was reproduced by the round-tripping test introduced in this commit.
2019-08-15 20:34:29 +03:00
Dane Springmeyer
074dba57a2 add back test-memory target, removed in 692fe1f3f (#15383) 2019-08-15 10:20:27 -07:00
Alexander Shalamov
1cb30268d7 [core] Ignore updated icon-text-fit render tests 2019-08-15 18:25:10 +03:00
Alexander Shalamov
148d65bced [core][node] Serialize formatted expression's text-color option
This enables proper round-tripping for serialized format expression.
2019-08-15 18:25:10 +03:00
Alexander Shalamov
2f9a544f9b [core] Bump gl-js version 2019-08-15 18:25:10 +03:00
Łukasz Paczos
eab3fbf5bf [android] bring back scale delta span threshold when rotation is started first 2019-08-15 18:08:29 +03:00
Łukasz Paczos
acc6079b08 [android] improve rotation inertia, adjust velocity ratios for screen density 2019-08-15 18:08:29 +03:00
Łukasz Paczos
3e73e4d49f [android] improve scale + rotation behavior 2019-08-15 18:08:29 +03:00
Łukasz Paczos
18971395d6 [android] improve scale inertia 2019-08-15 18:08:29 +03:00
Łukasz Paczos
09fd9dace6 [android] bump gestures library to v0.5.0 2019-08-15 18:08:29 +03:00
Jordan Kiley
cb186aa33d [ios] Release v5.3.0-alpha.3 (#15379) 2019-08-14 15:03:41 -07:00
Alexander Shalamov
cd129612c1 [core] Clear collision text boxes between symbol placement iterations 2019-08-14 13:54:53 +03:00
Jason Wray
f8901e2b10 [build] Look further back for branch merge base 2019-08-13 14:43:11 -07:00
Langston Smith
1ffb417bdb [android] Test app tweaks from 8.3.0-alpha.2 QA (#15360) 2019-08-13 07:58:51 -07:00
Alexander Shalamov
b330375aeb [core] Unskip text-rotate/with-offset fixed by #14932 2019-08-13 16:55:33 +03:00
Mikhail Pozdnyakov
12615d4927 [ios][Android] Add changelog entries 2019-08-13 15:20:46 +03:00
Mikhail Pozdnyakov
f1f732d09c Bump mapbox-gl-js version 2019-08-13 15:20:46 +03:00
Mikhail Pozdnyakov
f660e1be2d [core] Enable variable placement with allowed text overlap 2019-08-13 15:20:46 +03:00
Mikhail Pozdnyakov
ead7132548 [core] Simplifications to variable text placement code path 2019-08-13 15:20:46 +03:00
Mikhail Pozdnyakov
0c0bee52cb Enable number format expression tests 2019-08-13 15:17:09 +03:00
Alexander Shalamov
75874cb546 [macos][ios][android][node] Add changelog entry for text-writing-mode layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
f0f1d7130f [core] Update shaping unit test 2019-08-13 13:32:56 +03:00
Alexander Shalamov
1b9d4d792c [core] Render half-width glyphs in upright orientation
This change forces glyphs whose natural orientation in vertical writing
mode is 'sideways' to be rendered in upright orientation (only for non complex
text layouts). This is different compared to W3C / browser behavior that is by
default, renders glyphs in their respective natural orientation.

In the future, there  might need to add a new layout property that would control
glyph orientation separately (e.g., text-glyph-orientation: natural | upright).
2019-08-13 13:32:56 +03:00
Alexander Shalamov
03bb17f8c5 [core] Use constexpr map for verticalized punctiation 2019-08-13 13:32:56 +03:00
Alexander Shalamov
e6e751abd3 [darwin] Update documentation text for enum array value 2019-08-13 13:32:56 +03:00
Alexander Shalamov
603c02ccc2 [darwin] Generate plural version of property name, yet, keep singular version of an enum 2019-08-13 13:32:56 +03:00
Alexander Shalamov
0ff218d688 [darwin] Add plural override for 'text-writing-mode' layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
f944600413 [darwin] Bindings for new 'text-writing-mode' layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
dad43ba8fc [android] Android bindings for new 'text-writing-mode' layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
e9ca844d66 [core] Update unit tests 2019-08-13 13:32:56 +03:00
Alexander Shalamov
44c92b837a [core] Break lines for vertical writing mode 2019-08-13 13:32:56 +03:00
Alexander Shalamov
be974ea65c [core] Rotate text collision box based on text-rotation value 2019-08-13 13:32:56 +03:00
Alexander Shalamov
9aa529576f [core] Implement support for "text-writing-mode" layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
075d458403 [core] Add style bindings for "text-writing-mode" layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
fc94852b28 [core] Bump mapbox-gl-js verstion 2019-08-13 13:32:56 +03:00
Jason Wray
ee1b4948e2 [ios] Bump to libmbxaccounts 1.0.1 2019-08-12 13:35:07 -07:00
Langston Smith
8fbe30be58 [android] Added #15330 to the 8.3.0-alpha.2 changelog (#15335) 2019-08-12 10:55:15 -07:00
tobrun
58d7734722 [android] add fallback support to local ideograph font families, allow setting a collection of fonts 2019-08-12 14:30:07 +03:00
Jason Wray
bc09cdbf76 [build] Fix pluralization nit 2019-08-08 18:21:28 -07:00
Jason Wray
bbaf1ee1ad [ios] Minor style edits to changelog 2019-08-08 18:13:17 -07:00
Jason Wray
a3a661e846 [build] Skip CI jobs if there are no relevant changed files 2019-08-08 15:35:56 -07:00