summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [node] capture invalid input data as `ParseError` objectsKonstantin Käfer2018-08-272-2/+4
| | | | This allows us to distinguish them from other types of errors
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-2320-1491/+1751
| | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick).
* fixed validation message for boundsJustyna Janczyszyn2018-08-221-2/+2
|
* [core] fix icon-size for small data-driven valuesChris Loer2018-08-214-192/+192
| | | | port of mapbox/mapbox-gl-js#7125
* [core, node] Re-implement "avoid edges" behavior for MapMode::TileChris Loer2018-08-204-41/+60
| | | | | | | - Fixes issue #12461. - Only implement "avoid edges" in MapMode::Tile since it's no longer relevant in Static or Continuous mode. - New: Force "avoid edges" to "true" for line labels, since in tile mode they'll always clip poorly at tile boundaries. - Remove unused "withinPlus0/inside" logic.
* [core] downgrade event severity for erroneous DDS rendering to WarningKonstantin Käfer2018-08-201-1/+1
|
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-1948-17/+253
|
* [core] Evict unused font stacks from GlyphManagerJohn Firebaugh2018-08-175-24/+58
|
* [core] Fix querying for annotations near tile boundaries at high zoom.Chris Loer2018-08-141-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 compareVladimir Kondrashov2018-08-141-2/+2
|
* [core] Don't default-show text/icons that depend on the placement of a ↵Chris Loer2018-08-131-2/+9
| | | | | | paired icon/text Fixes issue #12483.
* [core] Factor out setVisibility conversionJohn Firebaugh2018-08-1311-130/+29
|
* [core] Optimize generated set{Paint,Layout}Property codeJohn Firebaugh2018-08-1313-1292/+2260
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-1316-381/+2313
|
* [core] Fix build when building Qt Location plugin for AndroidSudarsana Babu Nagineni2018-08-102-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 Abinader2018-08-081-7/+21
| | | | This reverts commit 990b3b11b9427ffd86f693d3f4c3dd351891e5d0.
* [core] Use correct Log::record overload. (#12571)Chris Loer2018-08-081-1/+1
|
* [core] Replace Boost.Spirit with std::regex in CacheControl::parse()Bruno de Oliveira Abinader2018-08-081-21/+7
|
* [core] Replace remaining dynamic_cast with static_castBruno de Oliveira Abinader2018-08-0814-15/+30
|
* [core] Add lineMetrics to GeoJSONOptionsMikhail Pozdnyakov2018-08-082-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 Pozdnyakov2018-08-072-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 6Ivo van Dongen2018-08-071-0/+2
|
* Fix TileJSON conversion to allow single point boundsAsheem Mamoowala2018-08-021-2/+2
|
* [core] don't prefetch tiles for geojson sources (#12529)Molly Lloyd2018-08-021-1/+1
|
* Relax typing for comparison operators (#12537)Anand Thakker2018-08-025-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 Firebaugh2018-07-3118-326/+309
|
* [core] update parse_date from cURL 7.61.0Konstantin Käfer2018-07-312-108/+100
|
* [core] Tweak conversions to reduce binary sizeJohn Firebaugh2018-07-3014-292/+409
| | | | | * return {} → return nullopt * error = { "..." } → error.message = "..."
* [core] Simplify CompoundExpression implementationJohn Firebaugh2018-07-304-55/+110
|
* [core] Avoid unnecessary template instantiationsJohn Firebaugh2018-07-301-32/+23
|
* Remove use of noncopyable in ContextSudarsana Babu Nagineni2018-07-301-1/+3
|
* Fix compilation errors with libc++ on QNX 7Sudarsana Babu Nagineni2018-07-304-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 corpusJohn Firebaugh2018-07-2527-3675/+1554
|
* [core] Compress shader source codeJohn Firebaugh2018-07-2525-2854/+3675
|
* [core] Use hand-rolled RTTIJohn Firebaugh2018-07-2428-26/+104
|
* [core] Check all bucket dynamic_castsJohn Firebaugh2018-07-2410-34/+70
| | | | A mismatch can occur when a layer changes from one type to another.
* [core] Replace expressions RTTI with enums + static castBruno de Oliveira Abinader2018-07-2414-37/+70
|
* [core] coveredByChildren is false if at least one child is uncoveredBruno de Oliveira Abinader2018-07-241-4/+12
|
* [core] Add `symbol-placement: line-center`Chris Loer2018-07-2310-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 Mamoowala2018-07-231-1/+20
|
* [core] Convert token strings to expressionsJohn Firebaugh2018-07-208-63/+98
|
* [core] Move expression.cpp to expression directoryJohn Firebaugh2018-07-201-0/+0
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-2012-259/+216
|
* fixed typo in error messageJustyna Janczyszyn2018-07-191-1/+1
|
* Add fuzz tests for TileCover and fix out of bounds access crash.Asheem Mamoowala2018-07-161-0/+2
|
* Better describe the streaming tilecover algorithm in commentsAsheem Mamoowala2018-07-162-22/+57
|
* Fix TileCover asserts. The create_bounds_towards_* methods were treatingAsheem Mamoowala2018-07-161-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 rulesKonstantin Käfer2018-07-163-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 expressionsJohn Firebaugh2018-07-135-170/+708
|
* [core] Simplify Value conversionsJohn Firebaugh2018-07-121-66/+19
| | | | | | Use a single template function for each of {to,from}ExpressionValue, always dispatching to ValueConverter. Remove unused ValueConverter::ExpressionType typedefs.