Commit Graph

628 Commits

Author SHA1 Message Date
Alexander Shalamov
905ca29866 [core] Enable 'symbol-sort-key' layout property and generate style code 2019-04-17 15:04:08 +03:00
Alexander Shalamov
e329492f0f [core] Add 'auto' enum value to symbol-z-order layout property 2019-04-17 15:04:08 +03:00
Konstantin Käfer
3ceabcd3ec [core] clang-tidy fixes 2019-04-05 11:49:17 +02:00
Konstantin Käfer
b0c012fdc5 [build] don't add gl to outputPath 2019-04-05 11:49:17 +02:00
Julian Rex
bf21fa1ff8 [core] Adds target branch parameter to clang-tools.sh (#14301) 2019-04-02 16:44:02 -04:00
Mikhail Pozdnyakov
9fc42b9c3c [core] auto value for 'text-justify' field 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
2b9a52f5e4 [core] Enable 'text-radial-offset' property 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
a6d8742e63 [core] Enable text-variable-anchor property 2019-03-29 16:18:41 +02:00
Sudarsana Babu Nagineni
4adfc5d323 [scripts] Add retry logic to fetch coverage report
Retry fetching coverage report from codecov in case
of timeout issues.
2019-03-29 14:31:44 +02:00
Bruno de Oliveira Abinader
fe8c07710f [build] Metrics: publish Github Stats 2019-03-28 16:35:19 +02:00
Sudarsana Babu Nagineni
bbefcb6d51 [core] Add code coverage metrics for core
Collect code coverage ratio from codecov.io for a
given commit hash, and upload it to the S3 bucket.
2019-03-28 14:02:43 +02:00
Bruno de Oliveira Abinader
c397fd853c [core] Bump args to 6.2.2 (does not use RTTI) 2019-03-25 22:52:40 +02:00
Łukasz Paczos
2d371a3860 [build] correct the code_coverage time to follow ISO 8601 2019-03-20 20:55:22 +01:00
Konstantin Käfer
1e30fdac36 [core] move ProgramMap to within the gl::Program object 2019-03-20 15:40:47 +01:00
Konstantin Käfer
53ab65d811 [core] use constexpr string concatenation for uniform/attribute names 2019-03-20 15:40:47 +01:00
Konstantin Käfer
0ad2375e10 [core] remove a_/u_ prefix from attribute/uniform types 2019-03-20 15:40:47 +01:00
Jordan Kiley
41b25e2aa2 [build] Add sha to the coverage json (#14145) 2019-03-18 17:53:15 -07:00
Konstantin Käfer
c8cfdb1ced Merge pull request #14126 from mapbox/gfx-refactor-4
Graphics refactor #4
2019-03-15 20:31:12 +01:00
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