summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Mark allow-overlap symbols visible even outside of collision grid.Chris Loer2018-09-061-1/+20
| | | | Fixes issue #12683.
* [core] simplify dependency layout process and refactor data structuresMolly Lloyd2018-08-3115-146/+147
|
* [core] Simplify GeometryTileWorkerJohn Firebaugh2018-08-312-58/+25
| | | | | | | * The worker no longer needs to maintain symbol layer order. * No need for separate symbolLayoutsNeedPreparation state. That dates back to when we had "two phase" symbol layout. Now we can just check symbolLayouts.empty(). (Similarly for pattern layouts.) * No need to loop over symbol layouts twice in performSymbolLayout. Same reason as above. * Simplify iconAtlas initialization. It initialized via every possible branch, so just do it up front.
* [core] remove redundant Uniform::Type aliasMolly Lloyd2018-08-312-6/+3
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-31102-2023/+2888
| | | | expressions in `*-pattern` properties
* [core] move PaintProperty::Attribute to TypeList and pass to Binder constructorsKonstantin Käfer2018-08-312-3/+17
|
* [core] introduce TypeListConcat and TypeList::ExpandIntoKonstantin Käfer2018-08-315-44/+10
|
* [core] allow passing multiple AttributeTypes to a PaintPropertyBinderKonstantin Käfer2018-08-311-9/+9
|
* [core] rename gl::Attribute to gl::Attribute to remove overloaded namingKonstantin Käfer2018-08-314-33/+33
|
* [core] simplify attribute/location typesKonstantin Käfer2018-08-312-22/+10
|
* [core] Added pragma to remove warning ("unknown warning group ↵Julian Rex2018-08-281-0/+1
| | | | '-Wtautological-constant-compare', ignored") on iOS build (#12753)
* Add unit tests and fixtures for OfflineDatabase::mergeDatabaseAsheem Mamoowala2018-08-281-1/+1
|
* [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
|