Commit Graph

454 Commits

Author SHA1 Message Date
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
John Firebaugh
6c05e51cbc [linux] Mesa 11.2.2 (#5290) 2016-06-08 16:24:39 -07:00
Bruno de Oliveira Abinader
269124ec26 [core] Include type in #pragmas
Part of https://github.com/mapbox/mapbox-gl-shaders/pull/13.
2016-06-07 15:04:02 +03:00
Bruno de Oliveira Abinader
8b28b6ab6b [core] Renamed OutlineShader's color uniform
Part of https://github.com/mapbox/mapbox-gl-shaders/issues/8.
2016-06-07 15:04:02 +03:00
John Firebaugh
47d6903f4e [core] Revert line-round-limit default to 1 (#5260)
Refs #5258, #5234.
2016-06-06 12:45:40 -07:00
Max Vilimpoc
e47fe86d5d Ensure version tag always has 3 parts. (#5225) 2016-06-03 09:15:56 -07:00
John Firebaugh
c902f9098b [core] Rationalize naming for style-related code 2016-06-02 14:51:39 -07:00
John Firebaugh
67ee51360c [core] Add Filter accessors 2016-06-02 14:51:39 -07:00
John Firebaugh
cadc617c76 [core] Introduce PropertyValue<T>
PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function.
2016-06-02 14:51:39 -07:00
John Firebaugh
a43940afb2 [core] Runtime style layer API 2016-06-02 14:51:39 -07:00
Bruno de Oliveira Abinader
af65da1ad7 [core] Support "#pragma mapbox:" commands in shader code
Fixes https://github.com/mapbox/mapbox-gl-native/issues/5174.
2016-06-02 15:42:42 +03:00
Konstantin Käfer
e2bcea90fc [core] use #pragma once instead of ifdef include guards 2016-05-25 21:35:37 +02:00
Bruno de Oliveira Abinader
60bce7014b [build] Restrict C++11 ABI check script for Linux 2016-05-24 19:26:27 +03:00
John Firebaugh
1f8de2be5c [build] Inline main.mk Android targets into Makefile 2016-05-23 21:33:17 -07:00
John Firebaugh
d5840beb47 [build] Inline main.mk linux and qt targets into Makefile 2016-05-23 20:29:14 -07:00
John Firebaugh
b611a6f5dc [build] Inline main.mk node targets into Makefile 2016-05-23 19:15:03 -07:00
John Firebaugh
c4ba219581 [build] Simplify control flow in main.mk 2016-05-23 18:26:54 -07:00
John Firebaugh
a8014dbe3f [build] Remove unnecessary exported variables 2016-05-23 17:38:11 -07:00
John Firebaugh
d378d1f823 [build] Avoid variable name coupling between main.mk and configure 2016-05-23 17:38:11 -07:00
John Firebaugh
58cd5cae12 [build] Avoid variable name coupling between main.mk and clang-tidy.sh 2016-05-23 17:36:20 -07:00
John Firebaugh
c6256de2e8 [build] Avoid variable name coupling between main.mk and collect-coverage.sh 2016-05-23 17:36:20 -07:00
John Firebaugh
f38f58f758 [build] Avoid variable name coupling between main.mk and configure.sh 2016-05-23 17:36:20 -07:00
Thiago Marcos P. Santos
6a9a8e2008 [build] Fix broken build on OSX 2016-05-10 14:41:04 +03:00
Thiago Marcos P. Santos
4213dc53dc [Qt] Use C++11 ABI packages
These were causing linking errors on more recent Linux distros.

Fixes #3123.
2016-05-10 11:36:56 +03:00
Bruno de Oliveira Abinader
433ca3026b [build] Fix parallel 'make linux' call 2016-05-04 18:12:56 +03:00
Bruno de Oliveira Abinader
fde981a4fc [build] Move Qt version define to configure.sh 2016-04-27 18:57:31 +03:00
Bruno de Oliveira Abinader
a083fcbd77 [Qt] Added qt-qml-app example 2016-04-27 17:36:35 +03:00
Bruno de Oliveira Abinader
72bcad210d [Qt] Added QQuickMapboxGL{,Renderer} 2016-04-27 17:36:35 +03:00
Thiago Marcos P. Santos
8b9f84d815 [Qt] Add toolchain support
Enables cross-compilation.
2016-04-25 16:44:28 +03:00
John Firebaugh
d77e35b686 [test] Run with --gtest_catch_exceptions=0 2016-04-22 15:53:18 -07:00
Thiago Marcos P. Santos
c8c69f1d2a [Qt] Build the Qt port 2016-04-20 20:55:51 +03:00
John Firebaugh
2d33ae5ed7 [ios, osx] Eliminate use of main.mk 2016-04-19 16:28:30 -07:00
Thiago Marcos P. Santos
301b4c7c4e [build] Use which instead of command
`command` is shell buitin on Linux.
2016-04-18 17:50:18 +03:00
Thiago Marcos P. Santos
87b27711d5 [build] Make run-glfw-app not working on Linux 2016-04-18 17:08:20 +03:00
Minh Nguyễn
b8c39667ff [ios] Moved SDK from gyp into Xcode project
Added a new Cocoa Touch dynamic framework target and Cocoa Touch static library target to the main iOS Xcode project. The targets are based on the templates provided by Xcode. They contain headers and source files in the darwin/ and ios/ subdirectories. Headers are explicitly marked public or project-internal instead of implicitly by subdirectory.

The SDK targets have a few dependencies that are managed by mason. Transform the config.gypi generated by configure into an .xcconfig file that Xcode uses to fill in compiler and linker flags.

Removed the iossdk target from platform.gypi and pared down the platform-lib target. make iproj opens the overall Xcode workspace instead of just the core project.

Resolved some warnings that are only now appearing because we’re using the standard warning and error flags instead of the pedantic and somewhat inappropriate flags that were forced by the gyp configuration files. Removed a console message informing developers of a long-ago deleted delegate method; the message was triggering a “selector not found” warning. Conditionalized some deprecated symbol usage that’s still needed for the static framework but not the dynamic framework, due to differing minimum deployment targets.

Added a build phase to the static library target that copies headers for use with the static library itself. This would allow us to potentially include a header in the dynamic framework but not the static library and vice-versa.

Updated the changelog to note that unused SVG files have been removed from the distribution.
2016-04-16 22:45:59 -07:00