Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Fix querying for annotations near tile boundaries at high zoom. | Chris Loer | 2018-08-14 | 1 | -1/+7 |
| | | | | | | | | Fixes issue #12472. This commit doesn't address the underlying issues that come from symbolAnnotationTree using a slightly lower precision coordinate system than the annotations themselves. Instead, it just puts a small padding around each tile when it queries for tile data, so that symbols right at the tile boundary will be included in both tiles. The rendering/querying code will take care of only displaying one instance. The padding is in global coordinates, so at higher zoom the padding will be larger in tile units -- this is consistent with precision loss also being greater at higher zoom. | ||||
* | [core] Fix out of range exception for string compare | Vladimir Kondrashov | 2018-08-14 | 1 | -2/+2 |
| | |||||
* | [core] Don't default-show text/icons that depend on the placement of a ↵ | Chris Loer | 2018-08-13 | 1 | -2/+9 |
| | | | | | | paired icon/text Fixes issue #12483. | ||||
* | [core] Factor out setVisibility conversion | John Firebaugh | 2018-08-13 | 11 | -130/+29 |
| | |||||
* | [core] Optimize generated set{Paint,Layout}Property code | John Firebaugh | 2018-08-13 | 13 | -1292/+2260 |
| | |||||
* | [core] Eliminate setProperty & co. | John Firebaugh | 2018-08-13 | 16 | -381/+2313 |
| | |||||
* | [core] Fix build when building Qt Location plugin for Android | Sudarsana Babu Nagineni | 2018-08-10 | 2 | -2/+3 |
| | | | | | | | - log2 is not available on Android before API 18. - Android doesn't have 'round' on the std:: namespace when using g++. Co-authored-by: Thiago Marcos P. Santos <thiago@mapbox.com> | ||||
* | Revert "[core] Replace Boost.Spirit with std::regex in CacheControl::parse()" | Bruno de Oliveira Abinader | 2018-08-08 | 1 | -7/+21 |
| | | | | This reverts commit 990b3b11b9427ffd86f693d3f4c3dd351891e5d0. | ||||
* | [core] Use correct Log::record overload. (#12571) | Chris Loer | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | [core] Replace Boost.Spirit with std::regex in CacheControl::parse() | Bruno de Oliveira Abinader | 2018-08-08 | 1 | -21/+7 |
| | |||||
* | [core] Replace remaining dynamic_cast with static_cast | Bruno de Oliveira Abinader | 2018-08-08 | 14 | -15/+30 |
| | |||||
* | [core] Add lineMetrics to GeoJSONOptions | Mikhail Pozdnyakov | 2018-08-08 | 2 | -0/+11 |
| | | | | | This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option. | ||||
* | Rename `EvaluationContext::heatmapDensity` to `colorRampParameter` | Mikhail Pozdnyakov | 2018-08-07 | 2 | -4/+4 |
| | | | | | More generic name as the same class member is to be used by the linear gradient properties. | ||||
* | [core] support windows compilation with msvc2017 and clang 6 | Ivo van Dongen | 2018-08-07 | 1 | -0/+2 |
| | |||||
* | Fix TileJSON conversion to allow single point bounds | Asheem Mamoowala | 2018-08-02 | 1 | -2/+2 |
| | |||||
* | [core] don't prefetch tiles for geojson sources (#12529) | Molly Lloyd | 2018-08-02 | 1 | -1/+1 |
| | |||||
* | Relax typing for comparison operators (#12537) | Anand Thakker | 2018-08-02 | 5 | -137/+294 |
| | | | | | | | | | | * Relax typing for comparison operators Ports https://github.com/mapbox/mapbox-gl-js/pull/6961 * Review comments * Lint fixes | ||||
* | [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) | John Firebaugh | 2018-07-31 | 18 | -326/+309 |
| | |||||
* | [core] update parse_date from cURL 7.61.0 | Konstantin Käfer | 2018-07-31 | 2 | -108/+100 |
| | |||||
* | [core] Tweak conversions to reduce binary size | John Firebaugh | 2018-07-30 | 14 | -292/+409 |
| | | | | | * return {} → return nullopt * error = { "..." } → error.message = "..." | ||||
* | [core] Simplify CompoundExpression implementation | John Firebaugh | 2018-07-30 | 4 | -55/+110 |
| | |||||
* | [core] Avoid unnecessary template instantiations | John Firebaugh | 2018-07-30 | 1 | -32/+23 |
| | |||||
* | Remove use of noncopyable in Context | Sudarsana Babu Nagineni | 2018-07-30 | 1 | -1/+3 |
| | |||||
* | Fix compilation errors with libc++ on QNX 7 | Sudarsana Babu Nagineni | 2018-07-30 | 4 | -23/+23 |
| | | | | | | | | | | This patch fixes the compilation errors on QNX 7: 1) QNX 7 compiler (i.e qcc based GCC 5.4.0 with libc++ from LLVM) has a limited c++11 feature support and causing the compilation errors with the inheriting constructors. This fixes the issues by providing the required constructors explicitly. 2) Resolves an ambiguous overload error with optional<T> | ||||
* | [core] Compress all shader source as a single corpus | John Firebaugh | 2018-07-25 | 27 | -3675/+1554 |
| | |||||
* | [core] Compress shader source code | John Firebaugh | 2018-07-25 | 25 | -2854/+3675 |
| | |||||
* | [core] Use hand-rolled RTTI | John Firebaugh | 2018-07-24 | 28 | -26/+104 |
| | |||||
* | [core] Check all bucket dynamic_casts | John Firebaugh | 2018-07-24 | 10 | -34/+70 |
| | | | | A mismatch can occur when a layer changes from one type to another. | ||||
* | [core] Replace expressions RTTI with enums + static cast | Bruno de Oliveira Abinader | 2018-07-24 | 14 | -37/+70 |
| | |||||
* | [core] coveredByChildren is false if at least one child is uncovered | Bruno de Oliveira Abinader | 2018-07-24 | 1 | -4/+12 |
| | |||||
* | [core] Add `symbol-placement: line-center` | Chris Loer | 2018-07-23 | 10 | -46/+112 |
| | | | | | - Remove unused/vestigial 'maxCameraDistance' - Create a single collision circle for line labels that are less than half the width of a collision circle | ||||
* | Keep original input for filters using legacy syntax. | Asheem Mamoowala | 2018-07-23 | 1 | -1/+20 |
| | |||||
* | [core] Convert token strings to expressions | John Firebaugh | 2018-07-20 | 8 | -63/+98 |
| | |||||
* | [core] Move expression.cpp to expression directory | John Firebaugh | 2018-07-20 | 1 | -0/+0 |
| | |||||
* | [core] Replace {Source,Camera,Composite}Function with PropertyExpression | John Firebaugh | 2018-07-20 | 12 | -259/+216 |
| | |||||
* | fixed typo in error message | Justyna Janczyszyn | 2018-07-19 | 1 | -1/+1 |
| | |||||
* | Add fuzz tests for TileCover and fix out of bounds access crash. | Asheem Mamoowala | 2018-07-16 | 1 | -0/+2 |
| | |||||
* | Better describe the streaming tilecover algorithm in comments | Asheem Mamoowala | 2018-07-16 | 2 | -22/+57 |
| | |||||
* | Fix TileCover asserts. The create_bounds_towards_* methods were treating | Asheem Mamoowala | 2018-07-16 | 1 | -49/+19 |
| | | | | | all point arrays as rings. Simplify the logic to only compare against the next pt in the bound. | ||||
* | [core] treat parsedate as C++ file to remove C build rules | Konstantin Käfer | 2018-07-16 | 3 | -3/+3 |
| | | | | It is already wrapped with #ifdef __cplusplus extern "C", so we can safely compile it as C++ but retain C linkage | ||||
* | [core] Convert legacy functions directly to expressions | John Firebaugh | 2018-07-13 | 5 | -170/+708 |
| | |||||
* | [core] Simplify Value conversions | John Firebaugh | 2018-07-12 | 1 | -66/+19 |
| | | | | | | Use a single template function for each of {to,from}ExpressionValue, always dispatching to ValueConverter. Remove unused ValueConverter::ExpressionType typedefs. | ||||
* | [core] Comparison expressions can have 4th member | Minh Nguyễn | 2018-07-09 | 1 | -1/+1 |
| | | | | When detecting an expression used as a filter, relax the check for expressions to allow comparison expressions to contain a fourth member for the collator. | ||||
* | [core] Only update collision debug data if debug mode is on | Chris Loer | 2018-07-05 | 1 | -15/+27 |
| | | | | Fixes issue #12294: unused debug vertices would pile up in buckets over course of tile's lifetime. | ||||
* | Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue` | Mikhail Pozdnyakov | 2018-07-05 | 7 | -16/+21 |
| | | | | | | | | 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] Fix sort order for queryRenderedFeatures when features are filtered. | Chris Loer | 2018-07-03 | 5 | -21/+21 |
| | | | | Fixes issue #12104. | ||||
* | [core] Avoid blocking in Thread<Object> constructor (#12151) | Anand Thakker | 2018-07-03 | 6 | -15/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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" expressions | Chris Loer | 2018-07-03 | 7 | -14/+199 |
| | | | | Cross platform parsing and evaluation code. | ||||
* | [core] Introduce LanguageTag for parsing BCP 47 tags | Chris Loer | 2018-07-03 | 2 | -0/+281 |
| | |||||
* | Add pitch argument to cameraThatFits functions (#12213) | Bobby Sudekum | 2018-07-02 | 1 | -13/+24 |
| |