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
John Firebaugh
10e4ea0f28
[core] Compress all shader source as a single corpus
2018-07-25 11:39:05 -07:00
John Firebaugh
888a516f1f
[core] Compress shader source code
2018-07-25 11:39:05 -07:00
John Firebaugh
870d7fda4d
[build] Attempt to determine a likely base branch without a PR
...
Walk backward through the history (maximum of 10 commits) until finding a commit on either master or release-*; assume that's the base branch.
2018-07-23 11:21:51 -07:00
John Firebaugh
bbccce18c4
[build] Disable binary size checks for fork PRs
...
We can't run the checks without potentially exposing the Github App private key to malicious PRs.
2018-07-20 13:59:00 -07:00
Konstantin Käfer
6d7072162b
[build] add nitpick step for verifying that dependencies are up-to-date and unmodified
2018-07-20 10:58:50 -04:00
Konstantin Käfer
1985b893b7
[build] vendor Google Test
2018-07-20 10:58:50 -04:00
John Firebaugh
bea8f8d177
[build] Use CIRCLE_MERGE_BASE environment variable
2018-07-13 12:26:40 -07:00
John Firebaugh
63d6bca609
[build] Show diff to prior size
2018-07-13 12:26:40 -07:00
John Firebaugh
74ef93ab4f
[build] Improve ccache freshness
...
Save a fresh ccache on every build by including (a checksum of) the current revision in the cache key. In the worst case, saving the cache appears to take ~1:30 for android-release; other builds appear to take a small amount of time compared to the time saved by having a fresh cache, versus a cache that's up to a week old.
Restore caches in the following priority order (all scoped to current architecture and job):
1. The cache for the current branch and revision.
2. If that doesn't exist, the most recent cache for the current branch.
3. If that doesn't exist, the cache for the parent branch and merge base, where "parent branch" means the base branch of the pull request specified by $CIRCLE_PULL_REQUEST (obtained from the GitHub API), and "merge base" means the revision returned by `git merge-base` when given the parent branch and $CIRCLE_BRANCH (obtained by executing that shell command). The intent here is to start a newly created branch off with the most relevant cache from its parent branch.
4. If that doesn't exist, the most recent cache for the parent branch.
5. If that doesn't exist, the most recent cache for master.
6. If that doesn't exist, use the most recent cache for any build.
We cannot use the branch names or revisions themselves as key segments, because CircleCI lacks a way to interpolate arbitrary environment variables into the cache key name. Instead, we write the desired value into a file and use the `{{ checksum "filename" }}` syntax.
2018-07-13 11:50:39 -07:00
Mikhail Pozdnyakov
514485502d
Rename HeatmapColorPropertyValue to ColorRampPropertyValue
...
Based on patch from @lbud (Lauren Budorick).
Give `HeatmapColorPropertyValue` a more generic name,
since the same value type will be used for both `heatmap-color`
and `line-gradient` properties.
2018-07-05 15:11:14 +03:00
John Firebaugh
840a5cf120
[build] Record binary size via GitHub check
2018-07-03 14:03:32 -07:00
Chris Loer
251f5e605f
[core, vendor] Create vendored nunicode 1.8.
...
- Version bump to 1.8 necessary for "unaccent" functionality
- Qt now depends on nunicode, ruling out use of precompiled binaries
2018-07-03 10:03:05 -07:00
John Firebaugh
3a1c7f3b99
[build] Exit with nonzero status if file does not exist
2018-06-26 15:02:47 -07:00
Konstantin Käfer
7a76eb23ea
[build] Xcode 10 no longer exposes DEVELOPER_DIR to the compiler launcher
...
We'll have to extract the location of Xcode's developer dir from $PATH :(
2018-06-11 16:14:46 +02:00
Lauren Budorick
62c875e01b
[core] Rework spec function/expression taxonomy
...
Ports https://github.com/mapbox/mapbox-gl-js/pull/6521 , updating codegen scripts to parse new expression taxonomy.
2018-05-14 12:38:14 -07:00
Chris Loer
60cce56d46
Bump GL JS pin to get tests for global symbol querying.
...
- Pulls over an update to line.vertex.glsl (looks like a no-op?)
- Add test ignores for collator, is-supported-script, line-gradient
- Exclude collator, is-supported-script, line-gradient from code generation.
2018-04-25 14:39:03 -07:00
Vladimir Agafonkin
82de856c94
[core, ios, macos, android, node] Heatmap layer ( #11046 )
...
Co-Authored-By: Konstantin Käfer <mail@kkaefer.com >
Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com >
Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com >
2018-02-15 17:38:23 +02:00
Konstantin Käfer
2502a3ab2b
[core] update mapbox-gl-js submodule pin
...
* disables transition render test (transitions are not supported with Still image rendering in Node.js)
* removes support for hillshade-illumniation-direction-transition
2018-01-24 15:41:22 -08:00
Konstantin Käfer
25b85e43bd
[build] Add build that verifies that the code generator was run
2018-01-24 08:35:31 -08:00
Konstantin Käfer
7ffde741b7
[build] Add build that verifies the submodule pin is up-to-date
2018-01-24 08:35:31 -08:00
Konstantin Käfer
ecfb77c637
[build] Write out a list of files generated by our code generator scripts
...
This will help us tracking deleted/modified/added files
2018-01-24 08:35:31 -08:00
Konstantin Käfer
e7e6cffcf3
[build] convert CMake file list generation code to JavaScript
...
Bash sorting is weird...
2018-01-24 08:35:31 -08:00
Konstantin Käfer
13d27c700e
[build] Always use style-code's writeIfModified to unify file updates
2018-01-24 08:35:31 -08:00
Konstantin Käfer
9d1fa508a3
[build] Add temporary modifications to style spec + shaders
...
This ensures that the generated code matches what is checked in. Remove those temporary modifications once we add the features to master.
2018-01-24 08:35:31 -08:00
Thiago Marcos P. Santos
304ca35f28
[build] Make the appveyor build less verbose
2018-01-10 21:42:20 +02:00
John Firebaugh
7ca62ec602
[build] Special case heatmap-color so it doesn't crash make style-code
2018-01-10 11:15:49 -08:00
Thiago Marcos P. Santos
8597d50b5b
[windows] Build on AppVeyor CI
2018-01-08 22:58:20 +02:00
Fabian Guerra
187b6dc31c
Merge branch 'release-agua' into master
...
# Conflicts:
# circle.yml
# cmake/core-files.cmake
# platform/android/CHANGELOG.md
# platform/android/MapboxGLAndroidSDK/build.gradle
# platform/android/MapboxGLAndroidSDK/gradle.properties
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/CameraChangeDispatcher.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/text/LocalGlyphRasterizer.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/utils/BitmapUtils.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/DebugModeActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/LocalGlyphActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/userlocation/MyLocationTintActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml
# platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml
# platform/darwin/src/MGLMapSnapshotter.mm
# platform/darwin/src/MGLRendererConfiguration.h
# platform/ios/CHANGELOG.md
# platform/ios/DEVELOPING.md
# platform/ios/INSTALL.md
# platform/ios/README.md
# platform/ios/resources/bg.lproj/Localizable.strings
# platform/ios/resources/es.lproj/Localizable.strings
# platform/ios/resources/vi.lproj/Localizable.strings
# platform/ios/src/MGLMapView.mm
# platform/macos/macos.xcodeproj/project.pbxproj
# src/mbgl/text/glyph_manager.cpp
2018-01-04 12:55:19 -06:00
Konstantin Käfer
1dd5e405c1
[build] Remove unused files, and cleanup directories
2018-01-03 01:07:41 +01:00
Jason Wray
8e69a35d75
[ios, build] Stop packaging i386 simulator arch
...
Only builds and packages x86_64 architecture in our frameworks and dSYM. Removes support for 32-bit simulators, such as the iPhone 5 and iPad 2. This does not affect device support — 32-bit devices are still supported via the arm7 architecture.
2017-12-20 17:36:06 -08:00
John Firebaugh
4b2e1cddb4
Replace compile-time polymorphism with runtime polymorphism in the conversion system
2017-10-23 09:56:43 -07:00
Konstantin Käfer
64c75b442c
[build] split out DefaultFileSource and dependents to a separate target
...
We don't want to link it into the node bindings, so keep it in a separate target
2017-09-28 13:48:36 -04:00
Lauren Budorick
2de89a99bc
Implement icon-anchor property
2017-08-28 13:32:56 -07:00
John Firebaugh
822df3dd51
[core] Use separate attribute component for line normals
...
Broadcom GPUs don't cope well with using the least significant bit for this.
2017-08-08 18:06:44 -07:00
John Firebaugh
466728b441
[core] Simplify generate-shaders.js
...
We moved the #pragma ⇢ #ifndef logic into gl-js.
2017-08-02 09:59:50 -07:00
Thiago Marcos P. Santos
7dde832dc6
[tests] Bump clang-tidy/format version
...
4.0.0 was failing with the previous patch for no reason.
2017-07-26 18:51:11 +03:00
Konstantin Käfer
698542cf45
[build] make Xcode use the correct compiler when it is installed in a non-standard location
2017-07-18 11:54:14 +02:00
Thiago Marcos P. Santos
48ddfef89f
[core] Make sure ThreadLocal will not own the pointer it is managing
...
ThreadLocal should not own the pointer it is managing because
the use case in Mapbox GL is to keep a pointer to a stack allocated
object, like:
```
MyObject foo;
threadLocal.set(&foo);
```
To keep consistency, it is required that we clear the managed
object before ThreadLocal gets destroyed by setting it to `nullptr`.
2017-07-14 15:18:54 +03:00
Konstantin Käfer
6ca7b28e60
[build] add ccache + Circle CI caching
2017-07-13 15:11:12 +02:00
Konstantin Käfer
b0dcc25584
[build] upgrade to v4 CircleCI images that have logbt/mesa/gdb/apitrace installed
2017-07-13 15:11:12 +02:00
Konstantin Käfer
3aa807e1dc
[core] add LLDB summaries for types we use commonly
2017-07-12 17:19:03 +02:00
Jason Wray
90c61c1956
[darwin] Include polylabel via cmake
2017-07-11 01:37:09 -04:00
Bruno de Oliveira Abinader
461387343d
[build] Switch from Travis CI to CircleCI
2017-06-22 13:33:16 -07:00
Bruno de Oliveira Abinader
3a0c5b046c
[build] Updated valgrind suppressions
2017-06-22 13:33:16 -07:00