Commit Graph

14811 Commits

Author SHA1 Message Date
Alexander Shalamov
9ba700fd47 [core] Fix combination of icon-text-fit with text-variable-anchors and text-writing-mode 2019-08-20 12:31:02 +03:00
tobrun
073a243862 [android] provide default font list for pre lollipop 2019-08-20 11:36:12 +03:00
Konstantin Käfer
71a334152a [core] also remove version info in ImageManager when removing an image (#15397) 2019-08-19 13:54:30 -07:00
Jason Wray
f4e187bde4 [ios, docs] Update CocoaPods installation instructions 2019-08-19 09:17:39 -07:00
Łukasz Paczos
1846c0582d [android] synchronize TextureView EGL context creation 2019-08-19 13:32:20 +02:00
Thiago Marcos P. Santos
0bdc5a2558 [ios,android] Added changelog entry for use after std::move fix 2019-08-19 13:37:23 +03:00
Thiago Marcos P. Santos
6dfe0e60ca [core] Fix use after std::move detected by clang-tidy
Detected by the bot being setup at
https://github.com/mapbox/mapbox-gl-native/pull/15385.
2019-08-19 13:37:23 +03:00
Łukasz Paczos
bf34fb0190 [android] check if the CustomGeometrySource's java peer is valid when the thread is shutting down 2019-08-19 10:22:45 +02:00
Łukasz Paczos
98dbed241b [android] move #15398 out of v8.3.0-alpha.3 changelog (#15401) 2019-08-16 16:54:59 -07:00
Mikhail Pozdnyakov
13fd3ad181 [android][ios] Add change log entry 2019-08-16 18:33:30 +03:00
Mikhail Pozdnyakov
c7169e6f8d [core] Fix layer impl cast in render layer implementations
This PR puts `impl()` functions definitions into a nameless namespace
to provide internal linkage and to make sure that appropriate cast function
is invoked.
2019-08-16 18:33:30 +03:00
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