summaryrefslogtreecommitdiff
path: root/platform/node
Commit message (Collapse)AuthorAgeFilesLines
* [node] fixup bad mergeKonstantin Käfer2018-05-221-1/+1
|
* [node] allow building all ABIs at onceKonstantin Käfer2018-05-221-2/+1
|
* [node] move to Nan 2.10.0Konstantin Käfer2018-05-224-14/+33
|
* [node] prevent race condition for renderFinishedKonstantin Käfer2018-05-221-0/+6
|
* [core] Align match behavior with case/==John Firebaugh2018-05-181-0/+3
| | | | Makes `["match", ["get", k], label, match, otherwise]` equivalent to `["case", ["==", ["get", k], label], match, otherwise]`. This changes the behavior of match expressions where the runtime type of the input does not match the type of the labels: previously such expressions produced a runtime type error and then fell back to the property default value; now they produce the fallback value from the match expression.
* [core] Rework spec function/expression taxonomyLauren Budorick2018-05-141-1/+7
| | | Ports https://github.com/mapbox/mapbox-gl-js/pull/6521, updating codegen scripts to parse new expression taxonomy.
* [docs] Make per-platform installation docs self-containedJohn Firebaugh2018-04-302-4/+7
| | | | I've seen several issues where users followed platform-specific install docs, but were unaware of additional prerequisites spelled out in the top-level INSTALL.md. So let's try making each platform's installation documentation self contained.
* [core] Port is-supported-script to native.Chris Loer2018-04-271-3/+1
| | | | Native port is much simpler because RTL text support is always enabled.
* [core] Remove circle-pitch-scale test ignores.Chris Loer2018-04-261-4/+0
|
* Bump GL JS pin to get tests for global symbol querying.Chris Loer2018-04-251-0/+22
| | | | | | - 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.
* Port global symbol query from GL JS:Chris Loer2018-04-251-2/+0
| | | | | | | - Symbol querying is now global instead of per-tile - Symbols that bleed over tile boundaries no longer missed in queries - Symbol results now sorted based on rendering order (ie overlapping symbols change their sort order when a bearing change causes their render order to change) - Placement::retainedQueryData now responsible for maintaining symbol querying data for buckets that may no longer be in the TilePyramid.
* Don't enforce ["zoom"] constraints for filters (#11672)Anand Thakker2018-04-121-2/+2
| | | | | | | | | | | | * Don't enforce ["zoom"] constraints for filters Fixes #11594 * Add a couple of comments * Fix ambiguous constructor call * ParsingContext(optional<Type>) => ParsingContext(Type)
* Update layer immediately when changing its max/min zoom level (#11399)Łukasz Paczos2018-04-123-0/+30
| | | | | | * [android][core] update layer immediately when changing it's max/min zoom * [core] node bindings for layer zoom range
* Fix style parsing bug for constant expressions (#11606)Anand Thakker2018-04-091-0/+2
| | | | | | | | | | | | | | * Fix style parsing bug for constant expressions Closes #10849 * Ignore tests for unported GL JS change Refs https://github.com/mapbox/mapbox-gl-js/pull/6429 * Fuller fix * Update mapbox-gl-js
* Remove unused lambda capture (#11602)Anand Thakker2018-04-051-1/+1
| | | Fixes #11588
* [core] Don't resolve tokens after evaluating a text-field or icon-image ↵John Firebaugh2018-03-221-1/+0
| | | | expression (#11509)
* [core] don't hide icons if text is an empty stringAnsis Brammanis2018-03-191-1/+0
|
* [core] Update mapbox-gl-jsJohn Firebaugh2018-03-141-0/+2
|
* Port fix for "at" expression off-by-1 error (#11375)Anand Thakker2018-03-021-0/+3
| | | | | | | | | | * Port fix for "at" expression off-by-1 error Refs https://github.com/mapbox/mapbox-gl-js/pull/6269 * Consistency * Add ignores for symbol positiong differences in real-world tests
* [test] Native ignore for GL JS issue #6160Chris Loer2018-02-281-0/+1
|
* [test] Native expression test support for:Chris Loer2018-02-281-24/+36
| | | | | - Round-tripping expressions through serialization and checking that outputs don't change - Checking expression serialization against expected value from fixture
* [core] Implement Expression::serialize()Chris Loer2018-02-283-9/+25
| | | | | | | | Issue #10714 - Each expression stores its operator as a string, and default serialization is [operator, serialize(child1), ...] - Custom implementations of `serialize` for Expression types that don't follow the pattern - expression::Value -> mbgl::Value converter - node_expression bindings to expose `serialize`
* [core, node] Hold on to map handle during NodeMap::request.Chris Loer2018-02-231-0/+4
| | | | | Avoids a potential crash if garbage collection happens in the middle of a call to NodeMap::request from a map that's eligible for GC. Fixes issue #11281
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-152-18/+1
| | | | | 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] align raster-dem tiles to pixel grid (#11119)Molly Lloyd2018-02-061-25/+0
| | | | | | * align raster-dem tiles to pixel grid * revert ignored hillshade tests
* [test] Ignore slightly-different collision circles on native.Chris Loer2018-02-061-0/+1
|
* [test] Temporarily ignore hillshade tests pending PR #11119.Chris Loer2018-02-061-0/+29
|
* [node] add setLight supportKonstantin Käfer2018-01-244-6/+50
|
* [core] update mapbox-gl-js submodule pinKonstantin Käfer2018-01-241-0/+1
| | | | | * disables transition render test (transitions are not supported with Still image rendering in Node.js) * removes support for hillshade-illumniation-direction-transition
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-232-29/+8
|
* [core] Remove two obsolete ignoresJohn Firebaugh2018-01-111-2/+0
|
* [core, ios, macos, android] Add data-driven-styling support for `text-font`John Firebaugh2018-01-101-1/+0
|
* [core] Account for circle-stroke-width in queryRenderedFeaturesJohn Firebaugh2018-01-101-1/+0
|
* [core] Handle NaN input to interpolate and stepJohn Firebaugh2018-01-101-1/+0
|
* [core] Omit inferred type annotations for 'coalesce' argumentsJohn Firebaugh2018-01-091-1/+0
|
* [core] Fix alpha handling in rgba and to-rgba operatorsJohn Firebaugh2018-01-091-3/+0
|
* [core] Enable implicit type assertions for array typesJohn Firebaugh2018-01-091-3/+0
|
* [core] Improve typing for !=, == expressionsJohn Firebaugh2018-01-091-14/+0
|
* [core] Update debug collision circle shader.Chris Loer2018-01-091-0/+1
| | | | Fixes issue #10876.
* Support TileJSON bounds property (#10701)Asheem Mamoowala2018-01-051-1/+0
| | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
* Fix distant collision perspective ratios (#10794).Chris Loer2018-01-041-0/+1
| | | | | Analog of GL JS issue #5911. Add native ignore for tilejson-bounds.
* Update mapbox-gl-js submoduleLauren Budorick2017-12-201-0/+1
|
* [core] Better align fill-extrusion vertex layoutLauren Budorick2017-12-201-0/+1
|
* [core] Overzoomed image sources vanish (#10677)Asheem Mamoowala2017-12-131-5/+69
| | | Use z0 tile coordinates instead of screen coordinates to compute ideal zoom for image sources
* Add ignores for new ==, != tests (#10679)Anand Thakker2017-12-121-0/+13
| | | | GL JS change: https://github.com/mapbox/mapbox-gl-js/pull/5840 GL Native issue: https://github.com/mapbox/mapbox-gl-native/issues/10678
* [core] Include bucket name in queryRenderedSymbols duplicate feature filterChris Loer2017-12-111-1/+0
| | | | | - Port of GL JS PR #5703 - Fixes issue #10616
* Update gl-js submoduleJohn Firebaugh2017-12-011-2/+14
|
* [build] Added CircleCI macos-release-node{4,6} jobsBruno de Oliveira Abinader2017-11-232-78/+5
|
* [core] Remove ignores for passing tests.Chris Loer2017-11-171-8/+5
| | | | | Update ignore links to specific issues. Bump mapbox-gl-js version to get latest text-pitch-spacing test.
* [core] Skip fade animation for placed symbols that are currently offscreen.Chris Loer2017-11-171-0/+1
| | | | | Don't mark items that are outside the collision grid range as placed. Requires new ignore because GL JS issue #5654 allows insertion of symbols outside the CollisionIndex range, and those symbols can cascade in to affect items within the viewport.