summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* [core] Merge DataDrivenPropertyValue into PropertyValue (#12513)John Firebaugh2018-07-311-2/+0
|
* [core] Tweak conversions to reduce binary sizeJohn Firebaugh2018-07-301-0/+2
| | | | | * return {} → return nullopt * error = { "..." } → error.message = "..."
* Update geometry, geojsonvt and vector-tile modulesSudarsana Babu Nagineni2018-07-301-3/+3
| | | | | Update mason modules geometry, geojsonvt and vector-tile to latest.
* [core] Compress all shader source as a single corpusJohn Firebaugh2018-07-251-0/+2
|
* [build] Bump benchmark to v1.4.1Bruno de Oliveira Abinader2018-07-231-2/+2
|
* [build] See what happened when `npm install` failsJohn Firebaugh2018-07-201-1/+5
|
* [core] Move expression.cpp to expression directoryJohn Firebaugh2018-07-201-3/+1
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-202-8/+2
|
* [build] vendor Google TestKonstantin Käfer2018-07-202-8/+3
|
* [build] organize CMake targets in folders for IDEsKonstantin Käfer2018-07-1710-0/+21
|
* [core] treat parsedate as C++ file to remove C build rulesKonstantin Käfer2018-07-161-2/+2
| | | | It is already wrapped with #ifdef __cplusplus extern "C", so we can safely compile it as C++ but retain C linkage
* [core] make the offline DB schema a regular include fileKonstantin Käfer2018-07-161-0/+1
|
* [core] Convert legacy functions directly to expressionsJohn Firebaugh2018-07-132-13/+2
|
* [build] Move all mason_use statements to a single fileJohn Firebaugh2018-07-131-0/+66
| | | | So its checksum can be used in a CI cache key name.
* [build] add Node as executable for profiling actionKonstantin Käfer2018-07-061-3/+10
| | | | This is now the same as the Run action
* Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue`Mikhail Pozdnyakov2018-07-051-2/+2
| | | | | | | | 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.
* [core] Avoid blocking in Thread<Object> constructor (#12151)Anand Thakker2018-07-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce AspiringActor, EstablishedActor This pair of objects represents the two-phase (parent-thread / child-thread) construction that's needed to support constructing Thread<Object> without blocking until the child thread is up and running. An `AspiringActor<O>` is responsible for: - ownership of the actor's `Mailbox` - allocating the memory for (but *not* constructing) the target object `O` Using these two pieces--the mailbox and a stable address for `O`--an `AspiringActor<O>` can accept messages for the target object, or provide `ActorRef<O>`s that do so, before the object has actually been constructed by the corresponding `EstablishedActor<O>`. (Such messages are queued in the mailbox until after the object is constructed.) This allows for an `AspiringActor<O>` to be created and safely used by a thread other than the one on which the target object will (eventually) live. An `EstablishedActor<O>` is responsible for managing the lifetime of the target object `O` and the open/closed state of the parent's `mailbox`. The `O` object's lifetime is contained by that of its owning `EstablishedActor<O>`: the `EstablishedActor` constructor executes the `O` constructor via "placement new", constructing it at the address provided by the parent `AspiringActor`, and the `~EstablishedActor` destructor similarly executes the `~O` destructor (after closing the mailbox). `EstablishedActor` should therefore live entirely on the thread intended to own `O`. * Remove Actor#{invoke,ask}
* [core] Introduce "collator" expressionsChris Loer2018-07-031-0/+3
| | | | Cross platform parsing and evaluation code.
* [core] Introduce LanguageTag for parsing BCP 47 tagsChris Loer2018-07-032-0/+3
|
* [core, vendor] Create vendored nunicode 1.8.Chris Loer2018-07-033-0/+24
| | | | | - Version bump to 1.8 necessary for "unaccent" functionality - Qt now depends on nunicode, ruling out use of precompiled binaries
* [core] Remove stops-based *Function constructorsJohn Firebaugh2018-06-291-0/+1
|
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-291-0/+2
|
* [tests] Replaced the ZoomHistory test with a render testJohn Firebaugh2018-06-281-1/+0
|
* [core] Split Interpolator into a separate fileJohn Firebaugh2018-06-281-0/+1
|
* [node] Build and publish for node 6.x, 8.x, and 10.xJohn Firebaugh2018-06-261-1/+3
| | | | Note that we're still only testing the 6.x ABI (48).
* [node] Drop node 4.x supportJohn Firebaugh2018-06-261-1/+4
|
* [node] add compatibility with node-pre-gyp binary publishingKonstantin Käfer2018-06-261-1/+1
|
* [core] fix undefined behavior in LineAtlas::addDashKonstantin Käfer2018-06-121-0/+1
|
* [build] cache Node + Nan headers globally, not build-specificKonstantin Käfer2018-06-041-0/+1
|
* [ios, build] Remove obsolete UI tests, KIF and OHHTTPStubs submodulesupstream/fb-remove-dead-uitest-infraJason Wray2018-05-241-1/+1
|
* [build] disable parts of the build that require node when WITH_NODEJS=OFF is setKonstantin Käfer2018-05-241-0/+5
|
* Accept constant expressions in non-dds properties (#11960)Anand Thakker2018-05-231-0/+1
| | | Closes #11940
* [android] - remove mips and armeabi as supported ABIsTobrun2018-05-221-7/+1
| | | | | | | | | | [android] - bump CI image to NDK 17 compatible [core] - remove setting edgeDistance to 0, comparison 'const short' > 32767 is always false [android] - remove throwing in desructor, undefined behaviour [android] - bump dependency versions of project
* [node] allow building all ABIs at onceKonstantin Käfer2018-05-224-659/+107
|
* Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-masterFabian Guerra2018-05-171-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # mapbox-gl-js # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/gradle/dependencies.gradle # platform/darwin/src/MGLVectorTileSource.mm # platform/darwin/src/MGLVectorTileSource_Private.h # platform/ios/CHANGELOG.md # src/mbgl/style/expression/compound_expression.cpp
| * [core] Convert "legacy" filters directly into expressions (#11610)Lucas Wojciechowski2018-05-101-2/+0
| | | | | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp
* | [linux] Don't compile linux mbgl-loop-uv against node headersJohn Firebaugh2018-05-042-23/+17
| | | | | | | | Previously, `target_include_directories(mbgl-loop-uv PUBLIC ${NODEJS_INCLUDE_DIRS})` always applied. Compiles were working by accident because node is always installed in CI. Instead, split and inline loop-uv.cmake contents: linux uses `target_add_mason_package(mbgl-loop-uv PUBLIC libuv)`, node uses `target_include_directories(mbgl-loop-node PUBLIC ${NODEJS_INCLUDE_DIRS})`.
* | [core] Remove unused 'Throttler' class.Chris Loer2018-04-301-2/+0
| | | | | | | | Throttler was previously used to control how frequently background placement ran.
* | [core] Streaming TileCover for polygonal regions (#11267)Asheem Mamoowala2018-04-262-0/+3
|/ | | A per-tile streaming algorithm for tile cover on points, lines, and polygons. Works for individual zoom levels, and not zoom ranges.
* Don't enforce ["zoom"] constraints for filters (#11672)Anand Thakker2018-04-121-1/+0
| | | | | | | | | | | | * Don't enforce ["zoom"] constraints for filters Fixes #11594 * Add a couple of comments * Fix ambiguous constructor call * ParsingContext(optional<Type>) => ParsingContext(Type)
* [test] Update Map.PrefetchTilesupstream/fb-11334-boba-cherry-pickBruno de Oliveira Abinader2018-03-301-0/+1
|
* [core] Add expression filter support (#11251)Lucas Wojciechowski2018-03-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * WIP * WIP * Remove Filter::operator()(const Feature&) * WIP * WIP * WIP * WIP * Hook up expression filter evaluator * Replace `shared_ptr` with &reference * Fill in implementation of `void operator()(const ExpressionFilter&)` * Fix failing tests * Switch back to a shared_ptr per chat with @anandthakker * Fix benchmark compilation * Shot in the dark to fix CI * Shot in the dark to fix CI (part 2) * Shot in the dark to fix CI (part 3) * In src/mbgl/style/conversion/filter.cpp, add a port of isExpressionFilter and use it to decide in Converter<Filter>::operator() whether to parse the incoming JSON as an ExpressionFilter or one of the legacy filter types * Remove bool Filter::operator()(const GeometryTileFeature&) const * Ensure the map zoom is passed into filtering operations wherever applicable * Add expression filter tests * Addressed PR feedback * Implement `NSPredicate *operator()(mbgl::style::ExpressionFilter filter)` * Fix formatting& nit
* Relax type checking for "length"John Firebaugh2018-03-011-0/+2
|
* Replace embedded telem implementation with mapbox-mobile-events library (#10698)Jesse Bounds2018-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Introduce mobile events dependency This adds the mobile events dependency including the events library's namespaced header file so that the related compiled symbols are prefixed to make them specific to the maps SDK. A pre-compiled header file is added so that the namespaced header file is added in all places where it is needed (most importantly every events library file). * [ios] Use new events library for telemetry events This makes the following significant changes: Refactors the MGLMapboxEvents singleton to delegate internally to an instance of MMEEventsManager that it keeps for itself. The MGLMapboxEvents public API is refactored to reflect this. Note: MGLMapboxEvents continues to handle checking for opt out Uses that new events API in MGLMapboxEvents to send all telem events (and turnstile) All embedded certs are removed since the new telem library uses public key info pinning Legacy telemetry utility classes for location and networking are removed since those are implemented in the telem library * [ios] Update submodules initialized by cmake We no longer bring in SMCalloutView as a submodule so it is removed. We now vendor the telemetry events library as a submodule so it is added. * Update mapbox-mobile-events * Update mobile events lib * Set events options with MGL user defaults values For options that historically could be set with user defaults in the Maps SDK, collect them and set the appropriate property values in the new events library. Also, check the existence of two new optional configuration values MGLTelemetryAccessToken and MGLTelemetryBaseURL so that the events endpoint and access token can be configured and the access token can easily be set dynamically and apart from the access token for the maps API. MGLTelemetryBaseURL replaces the legacy MGLTelemetryTestServerURL. This is ok because this value was never intended to be used by client applications. The new name better reflects the fact that the URL can be changed to any backend stack, not just a test server. Because it is possible for the configuration values to be read from user defaults before the events manager is fully set up, this also adds a local cache for the baseURL and accessToken values so that they can be stored and applied once it is time to setup the the events manager. * Update mapbox-mobile-events mapbox-mobile-events was forced pushed to include https://github.com/mapbox/mapbox-events-ios/pull/28 * Rename MGLMapboxEvents singleton access method Manager is not in the name of the class. Just call it an instance. * Update mapbox-mobile-events * Add comments about config value loading * Guard against creating events for IB * Refactor user defaults update handler This updates the handling logic for user defaults to break apart config changes that require a check for pausing or resuming the events lib’s telemetry collection from config changes that can happen with no update to the pause/resume state. It also ports the optimization from https://github.com/mapbox/mapbox-gl-native/pull/10803 so that the call to pause and resume is not performed unless the user defaults store has new values that have not yet been applied to the events library. * Update mapbox-mobile-events * Rename events submodule folder * Fix incorrect events library refs * Update mapbox-mobile-events * Update user user agent id value This value aligns with our schme of {source-sdk-platform} and will be used by the events library in the user agent and vendorid. * Update mapbox-mobile-events Pin to v3.0.0 (d522b18) * Improve code comments * [ios] Fixed a broken file reference to MGLTelemetryConfig.
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-151-0/+20
| | | | | 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>
* [core] Make RendererObserver a public interfaceThiago Marcos P. Santos2018-02-091-1/+1
| | | | Needed by backends implementing asyncronous rendering
* [build] convert CMake file list generation code to JavaScriptKonstantin Käfer2018-01-244-43/+51
| | | | Bash sorting is weird...
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-232-0/+32
|
* [core] Improve typing for !=, == expressionsJohn Firebaugh2018-01-091-0/+2
|
* [core] Use separate shaders for background and clippingLauren Budorick2018-01-091-0/+10
|