Commit Graph

488 Commits

Author SHA1 Message Date
John Firebaugh
141e995806 [core] Add support for data-driven styling 2017-02-02 09:44:42 -08:00
John Firebaugh
9c5abc1221 [build] Use style-spec from gl-js monorepo 2017-02-01 08:11:01 -08:00
Konstantin Käfer
a253a15a7c [linux] update CA bundle and add script for automated updates
also removes the ca-bundle.crt from the Android build, since it's entirely unused
2017-01-27 14:52:21 +01:00
Konstantin Käfer
62ea1f2185 [core] remove trailing whitespace, add trailing newlines, add space after // 2017-01-27 11:44:16 +01:00
John Firebaugh
0ccc255f0e [linux] mesa 13.0.3 2017-01-23 11:13:42 -06:00
John Firebaugh
df2b6cfec1 [linux] No need for CXXABI suffix for mesa 2017-01-17 13:05:10 -06:00
John Firebaugh
255f09a73c [linux] Use valgrind 3.12.0 2017-01-13 14:53:39 +02:00
John Firebaugh
a3e9c74dc6 [build] Upgrade clang-tidy and clang-format
Version 3.8.0 was removed from mason.
2017-01-13 14:53:39 +02:00
John Firebaugh
3b2a4216a2 [core] Implement circle-stroke properties
Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
2016-12-09 09:35:21 -08:00
Konstantin Käfer
ba2e44d4d7 [build] publish binary size statistics to S3 2016-11-22 17:33:25 +01:00
Konstantin Käfer
5f010b0979 [build] don't abort with an error code to allow reporting partial builds 2016-11-17 15:42:44 +01:00
Bruno de Oliveira Abinader
0ef52d7f7c [build] Added EGL & GLX CI builds 2016-11-17 01:01:15 +01:00
Konstantin Käfer
223a95a74f [build] add binary size logging to Linux Release builds 2016-11-15 10:07:47 -08:00
Konstantin Käfer
2411ec83b1 [build] don't rewrite style code for every build
revert of 93166aef48

On Android, we always rewrote the style code files, which lead to gratuitous recompiles
2016-11-09 11:10:22 +01:00
Vladimir Agafonkin
efc427f9bb update to mapbox-gl-shaders with vertex/fragment preludes (#6971) 2016-11-08 15:01:53 -08:00
John Firebaugh
66bdbc3b96 [core] Introduce gl::Program template 2016-11-08 08:09:29 -08:00
Bruno de Oliveira Abinader
8e99ae44dd [build] Use mesa-13.0.0-glx in CI builds 2016-11-08 18:02:38 +02:00
Bruno de Oliveira Abinader
48a082a91b [linux] Use OSMesa when running Node tests 2016-11-04 18:43:08 +02:00
Bruno de Oliveira Abinader
c5c3145b9a [linux] Update target headless backends
Enable OSMesa backend via WITH_OSMESA=1 envvar.

OSMesa backend uses Gallium OSMesa implementation, which uses
LLVMpipe as default driver.
2016-11-04 18:43:08 +02:00
Bruno de Oliveira Abinader
f376827ed2 [build] Replace 'tidy' with 'check' 2016-11-04 16:10:06 +02:00
Konstantin Käfer
a4d259c33f [core] move gl::Context to Backend and refactor View 2016-10-25 13:52:36 -07:00
Thiago Marcos P. Santos
5829c0dbc6 [build] Re-add benchmark tests to the buildsystem
Probably lost on the cmake migration
2016-10-05 11:12:16 +03:00
Justin R. Miller
ee4715a821 update style generation code for new style spec enum values docs (#6508)
Documentation for enum values landed in mapbox/mapbox-gl-style-spec#510. 

This updates Android, iOS, and macOS documentation code gen scripts to capitalize on them.
2016-09-30 15:55:46 -07:00
Konstantin Käfer
e0ffde7bc2 [build] use git ls-files so we only include tracked files 2016-09-28 16:34:22 +02:00
John Firebaugh
63cce78cf1 [core] Add static getters for property default values (#6124) 2016-08-23 12:49:47 -07:00
Konstantin Käfer
f4b4f978ec [build] convert build-version script from Python to Node.js 2016-08-16 15:29:34 +02:00
Konstantin Käfer
63a2f896cc [build] remove unused script 2016-08-16 15:29:34 +02:00
Konstantin Käfer
51391740bf [build] convert build-shaders script from Python to Node.js 2016-08-16 15:29:34 +02:00
Bruno de Oliveira Abinader
0fb3b6e333 [build] Re-enable coverage run 2016-08-05 11:42:22 +02:00
Bruno de Oliveira Abinader
023ff83d88 [build] Fix 'make tidy' on linux 2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
c6313681d2 [build] Re-enable Qt bots 2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
6b44aa9095 [build] Use cxx11abi suffix when needed 2016-08-05 11:42:22 +02:00
Konstantin Käfer
692fe1f3ff [build] switch to CMake
This is very much a work in progress.
2016-08-05 11:42:22 +02:00
Konstantin Käfer
c88b05e110 [core] make code generator produce GL-compatible colors
this makes sure colors are premultiplied and the RGB values are in the 0..1 range rather than in the 0..255 range.
2016-07-07 11:33:42 +02:00
Bruno de Oliveira Abinader
f4c3611c8e [build] Fix for tidy output 2016-07-01 19:47:35 +03:00
Bruno de Oliveira Abinader
da863c6e52 [build] Added 'lint' Make target 2016-07-01 11:18:53 +03:00
John Firebaugh
16c435b151 [core, node] Implement bindings for addLayer 2016-06-24 09:39:51 -07:00
Bruno de Oliveira Abinader
76fc07c606 [core] Autogenerate Shader name 2016-06-20 13:24:20 +03:00
Young Hahn
24b66bc8cd Color class (#5361)
* Color class

* Switch to list initialization
2016-06-15 11:38:22 -04:00
Bruno de Oliveira Abinader
fe64238b4c [tidy] Switched to Travis CI
Fixes https://github.com/mapbox/mapbox-gl-native/issues/5341.
2016-06-14 22:38:40 +03:00
Bruno de Oliveira Abinader
b00e6fc7e1 [tidy] Install mason clang-tidy if CLANG_TIDY is not set
Also added HeaderFilterRegex to .clang-tidy.
2016-06-14 12:20:08 +03:00
Minh Nguyễn
b9702ef41a [macos] Renamed OS X SDK to macOS SDK
Also renamed as many references to OS X as possible to macOS in documentation.
2016-06-14 10:02:06 +02:00
John Firebaugh
3f5ea169f5 [node] Partial implementation of runtime styling API for node bindings 2016-06-13 17:22:05 -07:00
John Firebaugh
039b05ebb4 [core] Extract code templates to individual .ejs files 2016-06-13 17:22:05 -07:00
Bruno de Oliveira Abinader
9a43768667 [tidy] Bail out when a warning/error is found 2016-06-13 23:34:43 +03:00
Bruno de Oliveira Abinader
fe09510c1b [build] Re-enable tidy checks 2016-06-13 23:32:07 +03:00
Bruno de Oliveira Abinader
9142c447e8 [tidy] Check llvm-namespace-comment
Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
2016-06-13 23:32:05 +03:00
Young Hahn
ecd4aa1439 text-pitch-alignment (#5288)
* First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668

* RotationAlignmentType => AlignmentType

* Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment

* Update dependencies

* Move handling fo undefined default value out of camelize functions
2016-06-10 23:05:15 -04:00
Bruno de Oliveira Abinader
83a3c18bdb [build] Update compdb & tidy for Linux & OS X 2016-06-10 17:35:01 +03:00
Thiago Marcos P. Santos
8bbb721636 [Qt][build] Updated valgrind supression and make it a target for Qt 2016-06-09 19:56:35 +03:00