Commit Graph

610 Commits

Author SHA1 Message Date
Nadia Barbosa
c16bfe52e2 [android, ios] Fix issue in binary size script 2019-03-13 14:53:53 -07:00
Jordan Kiley
fb0b0d5a2b [ios] Generate iOS code coverage for metrics (#14015) 2019-03-13 12:58:24 -07:00
Konstantin Käfer
979433eddb [build] update Boost to 1.69 and remove RTTI 2019-03-13 20:42:30 +01:00
Sudarsana Babu Nagineni
b17c7e76fe [scripts] Fix local code coverage script
Fix the code cov script for coverage data collection
and report generation.
2019-03-13 18:30:28 +02:00
Alexander Shalamov
8be135231d [core] Add possibility of overriding paint properties inside format expression #14062
* [core] Add format override expression and formatted section to evaluation context

* [core] Add textColor to TaggedString's formatted section

* [core] Add FormatSectionOverrides and introduce overridable properties

* [core] Populate symbol layer paint properties for text sections

* [core] Add benchmark for style that uses text-color override

* [core] Add unit test for FormatOverrideExpression

* [core] Add unit test for FormatSectionOverrides
2019-03-13 17:14:53 +02:00
Ander Conselvan de Oliveira
8a51362bcc [build] Upload documentation coverage metrics to S3 2019-03-13 15:06:56 +02:00
Ander Conselvan de Oliveira
7bac0c7cba [build] Check documentation coverage on CI
Add a CI target that checks documentation coverage and reports back to
github. While at it, change the output of doxy-coverage to a json file
so it is easy to consume.
2019-03-13 15:06:56 +02:00
Ander Conselvan de Oliveira
3c4d41559a [build] Ignore private symbols when calculating documentation coverage 2019-03-13 15:06:56 +02:00
Ander Conselvan de Oliveira
8afb24b539 [build] A build target to check for doxygen documentation coverage
Add a cmake target that builds doxygen documentation and reports on
coverage using doxy-coverage. Script was copied from:

29a0bbf43b
2019-03-13 15:06:56 +02:00
Mikhail Pozdnyakov
06a8ecdb17 Update mapbox-gl-js submodule to v0.53.0 2019-03-06 18:00:19 +02:00
Mikhail Pozdnyakov
7f4cd536c4 [scripts] Disable unsupported style spec features 2019-03-05 14:04:52 +02:00
Konstantin Käfer
53628a455b [core] remove special casing in code gen 2019-03-01 09:33:37 +01:00
Nadia Barbosa
570f0a1432 [build] More granular timestamps for binary metrics collection 2019-02-26 08:46:17 -08:00
Nadia Barbosa
d34f0f0ef1 [build] Publish Android/iOS binary sizes to S3 2019-02-25 12:36:26 -08:00
Konstantin Käfer
6f60ccf08e [build] generate header maps instead of -files.txt 2019-01-09 10:26:53 +01:00
Chris Loer
d3bb518976 [docs] Changelog entry for offline CJK glyph control. 2018-12-21 15:13:48 -08:00
Konstantin Käfer
1d8235f5b8 [build] rework platform/default directory and add -files.txt for vendored libs 2018-12-14 11:03:03 +01:00
Chris Loer
70c2d5a4ca [core, darwin, android] Add onDidEnterIdle to MapObserver.
didEnterIdle fires whenever render completes and no repaint is scheduled.
2018-12-11 11:46:16 -08:00
Vladimir Agafonkin
c89daf6bf1 Add basic shader minification (#13500)
* add basic shader minification (same GL JS does)

* don't remove line break at shader end
2018-12-04 16:09:43 +02:00
Chris Loer
f87ef3f72a [core] OverscaledTileID::isChildOf should check wrap values.
Fixes issue #13478
2018-11-30 12:30:50 -08:00
Minh Nguyễn
be56409d80 [core] Cleared out staged changelog entries 2018-11-08 14:22:21 -08:00
Thiago Marcos P. Santos
69960afb8d [build] Add build system for submodules
Vendorize the submodules and a simple CMake build
system for all them. The dependencies will inherit
compilation options for core.

The goal is to make Mapbox GL Core completely self
contained with a simple offline build.
2018-10-31 18:19:28 +02:00
Ryan Hamley
3ec0231bb7 [core] Avoid wrapping longitude values of exactly 180 and 360 (#12797) (#13006) 2018-10-24 18:38:54 -07:00
Ryan Hamley
0c6b1629ef [Core] Ensure queryRenderedFeatures accounts for icon-rotate (#13105) 2018-10-18 12:14:52 -07:00
Chris Loer
6086a6f0df [docs] Changelog draft for putResourceForURL 2018-10-17 12:53:24 -07:00
Chris Loer
bd389a3962 [docs] Changelog draft for 'format' expression 2018-10-15 13:15:46 -07:00
Chris Loer
fc11d2e872 [core, test] Add BiDi unit test
- Port of arabic.test.js from mapbox-gl-rtl-text
- Modify BiDi::getLine to remove trailing nulls in the event UBIDI_REMOVE_BIDI_CONTROLS causes the string to shorten.
- Patch vendored ICU to avoid undefined undefined bit shifting behavior (triggered sanitizer failure)
2018-10-15 13:15:46 -07:00
Chris Loer
ce76bde13d [core] Initial implementation of 'format' expression 2018-10-15 13:15:46 -07:00
Chris Loer
f7a69d15ab [docs] Include uncompressed shader source in .cpp comments
This is meant to
(1) Make it easier for new developers to find the source
(2) Make it easier to look at shader diffs when the GL JS pin changes
2018-09-19 16:19:28 -07:00
John Firebaugh
2e93a9ddcf [core] For string-valued properties, do coercion rather than assertion 2018-09-19 14:54:38 -07:00
John Firebaugh
28b14f097f [build] Don't let the binary size query get confused by post-dated commits 2018-09-13 09:01:10 -07:00
Chris Loer
46853dce15 [docs] Experiment: stage changelog entry. 2018-09-12 14:10:46 -07:00
Konstantin Käfer
2fccdecfb1 [build] add script to generate a standalone version of Mapbox GL 2018-09-11 11:43:54 +02:00
Konstantin Käfer
e51eb0fc23 [build] use vendored version of ICU 2018-09-05 12:26:15 +02:00
Konstantin Käfer
679d66f36d [build] use vendored SQLite for LTO benefits + custom compile flags 2018-09-05 12:26:15 +02:00
Konstantin Käfer
0e95e8f6b2 [build] add ability to extract zip files 2018-09-05 12:26:15 +02:00
Molly Lloyd
4a5dc37245 [core] Implement CrossFadedDataDrivenProperty to add support for feature expressions in *-pattern properties 2018-08-31 13:08:47 -07:00
Jason Wray
4061e9026e [build] Add Slack notifications for important iOS builds
- Notifies #apple when nightly builds fail.
- Notifies #apple when release deployment jobs start/finish.
2018-08-28 14:53:56 -04: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
Konstantin Käfer
52275f835a [build] add plain text file lists for iOS/macOS 2018-08-23 14:09:48 +02: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
Konstantin Käfer
bded6c65d5 [build] use plain text files for file lists to simplify integration with other build systems 2018-08-20 19:11:31 +02:00
Konstantin Käfer
6e06e55b95 WIP: use expected<T, E> for passing on errors 2018-08-14 17:03:46 -07:00
Konstantin Käfer
a3b6fc1498 [build] vendor std::expected polyfill 2018-08-14 17:03:46 -07:00
John Firebaugh
b2f60a4bf2 [core] Eliminate setProperty & co. 2018-08-13 12:39:44 -07:00
Jason Wray
2dc18d2ada [build] Print binary size stats to CI logs, too 2018-08-08 12:04:18 -04:00
Jason Wray
fd73dea05e Handle >2 branches by switching to split[0] 2018-08-07 20:01:05 -04:00
Jason Wray
dfa7e37476 [build] Fix CI failure when master and release branch are identical
The search for branches containing the previous hash could return multiple matches on different lines, if, for instance, a newly-cut release branch were identical to master.
2018-08-07 15:11:00 -04:00
John Firebaugh
e31f2ecb67 [build] Push binary size history to S3 (#12538) 2018-08-06 13:10:54 -07:00
John Firebaugh
9bdd765a02 [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) 2018-07-31 14:21:47 -07:00