Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [test] add test checking that unclipped tiles are not used by ClipIDGenerator | Molly Lloyd | 2018-10-02 | 1 | -0/+41 |
| | |||||
* | [core] Do not constrain on X axis in ConstrainMode::HeightOnly | Bruno de Oliveira Abinader | 2018-10-02 | 2 | -9/+12 |
| | |||||
* | [core] Always request 1x and @2x sprite images for portability | Konstantin Käfer | 2018-09-24 | 1 | -5/+7 |
| | | | | When creating a offline region, we've previously only requested the sprite image for the specified resolution. This lead to offline packs not being usable on devices that have a different pixel ratio. We're now requesting both 1x and 2x sprites. Some devices use even higher or fractional pixel ratios. However, we only ever use 1x and 2x sprite images in our requests. | ||||
* | [core] don't break ascent in the overscaled tile phase | Konstantin Käfer | 2018-09-21 | 1 | -0/+50 |
| | | | | We optimize our updateRenderable algorithm by breaking ascent when we've already checked a certain tile. So far, we've compared the UnwrappedTileIDs, but they don't include the overscale component. When ascending through overscaled tile IDs, we've stopped the ascent too early, when we should've kept the search going. | ||||
* | [core] For string-valued properties, do coercion rather than assertion | John Firebaugh | 2018-09-19 | 1 | -5/+5 |
| | |||||
* | [linux,qt] Remove remainder of WebP support | Konstantin Käfer | 2018-09-13 | 3 | -30/+2 |
| | |||||
* | [android] add support for gnustl | Konstantin Käfer | 2018-09-11 | 4 | -19/+23 |
| | |||||
* | [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵ | Molly Lloyd | 2018-08-31 | 3 | -31/+37 |
| | | | | expressions in `*-pattern` properties | ||||
* | Enforce Offline tile limit when merging sideloaded databases | Asheem Mamoowala | 2018-08-28 | 1 | -0/+31 |
| | |||||
* | Require minimum side-loaded database user_version=6 | Asheem Mamoowala | 2018-08-28 | 1 | -1/+1 |
| | |||||
* | Add unit tests and fixtures for OfflineDatabase::mergeDatabase | Asheem Mamoowala | 2018-08-28 | 4 | -0/+203 |
| | |||||
* | [core] add exception for unimplemented expressions in tests | Molly Lloyd | 2018-08-21 | 1 | -1/+5 |
| | |||||
* | [core] offline region definition - add support for arbitrary geometries | Ivo van Dongen | 2018-08-20 | 3 | -91/+81 |
| | |||||
* | [core] make style/conversion.hpp implementation private | Konstantin Käfer | 2018-08-19 | 2 | -2/+2 |
| | |||||
* | [core] Evict unused font stacks from GlyphManager | John Firebaugh | 2018-08-17 | 1 | -8/+8 |
| | |||||
* | [core] recreate offline database when it is deleted out from under our feet | Konstantin Käfer | 2018-08-14 | 1 | -4/+4 |
| | |||||
* | WIP: use expected<T, E> for passing on errors | Konstantin Käfer | 2018-08-14 | 2 | -19/+20 |
| | |||||
* | [test] add test for pending offline download when the disk is full | Konstantin Käfer | 2018-08-14 | 1 | -1/+77 |
| | |||||
* | [core] harden OfflineDatabase | Konstantin Käfer | 2018-08-14 | 8 | -192/+850 |
| | |||||
* | [core] Fix querying for annotations near tile boundaries at high zoom. | Chris Loer | 2018-08-14 | 1 | -0/+13 |
| | | | | | | | | 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] add test for comparing filter name to id | Konstantin Käfer | 2018-08-14 | 1 | -0/+4 |
| | |||||
* | [android, linux] Upgrade to SQLite 3.24.0, compiled to minimize binary size | John Firebaugh | 2018-08-10 | 1 | -6/+10 |
| | |||||
* | Revert "[core] Replace Boost.Spirit with std::regex in CacheControl::parse()" | Bruno de Oliveira Abinader | 2018-08-08 | 1 | -9/+0 |
| | | | | This reverts commit 990b3b11b9427ffd86f693d3f4c3dd351891e5d0. | ||||
* | [core] Replace unique_any with peer from mapbox-bindgen | Bruno de Oliveira Abinader | 2018-08-08 | 2 | -218/+194 |
| | |||||
* | [core] Replace Boost.Spirit with std::regex in CacheControl::parse() | Bruno de Oliveira Abinader | 2018-08-08 | 1 | -0/+9 |
| | |||||
* | [core] Replace remaining dynamic_cast with static_cast | Bruno de Oliveira Abinader | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | [core] Add lineMetrics to GeoJSONOptions | Mikhail Pozdnyakov | 2018-08-08 | 1 | -1/+4 |
| | | | | | This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option. | ||||
* | Fix TileJSON conversion to allow single point bounds | Asheem Mamoowala | 2018-08-02 | 1 | -0/+10 |
| | |||||
* | [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) | John Firebaugh | 2018-07-31 | 3 | -17/+16 |
| | |||||
* | Fix compilation errors with libc++ on QNX 7 | Sudarsana Babu Nagineni | 2018-07-30 | 1 | -1/+1 |
| | | | | | | | | | | 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] Check all bucket dynamic_casts | John Firebaugh | 2018-07-24 | 2 | -0/+49 |
| | | | | A mismatch can occur when a layer changes from one type to another. | ||||
* | [core] coveredByChildren is false if at least one child is uncovered | Bruno de Oliveira Abinader | 2018-07-24 | 1 | -1/+43 |
| | |||||
* | Keep original input for filters using legacy syntax. | Asheem Mamoowala | 2018-07-23 | 1 | -0/+55 |
| | |||||
* | [core] Convert token strings to expressions | John Firebaugh | 2018-07-20 | 1 | -1/+19 |
| | |||||
* | [core] Replace {Source,Camera,Composite}Function with PropertyExpression | John Firebaugh | 2018-07-20 | 9 | -110/+78 |
| | |||||
* | Add fuzz tests for TileCover and fix out of bounds access crash. | Asheem Mamoowala | 2018-07-16 | 1 | -1/+58 |
| | |||||
* | Fix TileCover asserts. The create_bounds_towards_* methods were treating | Asheem Mamoowala | 2018-07-16 | 1 | -0/+14 |
| | | | | | all point arrays as rings. Simplify the logic to only compare against the next pt in the bound. | ||||
* | [core] Convert legacy functions directly to expressions | John Firebaugh | 2018-07-13 | 2 | -40/+0 |
| | |||||
* | [core] Harden Projection::project() | Bruno de Oliveira Abinader | 2018-07-09 | 1 | -0/+43 |
| | |||||
* | [core] Fix sort order for queryRenderedFeatures when features are filtered. | Chris Loer | 2018-07-03 | 1 | -1/+1 |
| | | | | Fixes issue #12104. | ||||
* | [core] Avoid blocking in Thread<Object> constructor (#12151) | Anand Thakker | 2018-07-03 | 2 | -16/+144 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 1 | -1/+1 |
| | | | | Cross platform parsing and evaluation code. | ||||
* | [core] Introduce LanguageTag for parsing BCP 47 tags | Chris Loer | 2018-07-03 | 1 | -0/+45 |
| | |||||
* | Add pitch argument to cameraThatFits functions (#12213) | Bobby Sudekum | 2018-07-02 | 1 | -2/+30 |
| | |||||
* | [core] Add assertions to expression constructors | John Firebaugh | 2018-06-29 | 1 | -1/+1 |
| | |||||
* | [core] Replace use of *Stops with expressions DSL | John Firebaugh | 2018-06-29 | 8 | -223/+143 |
| | |||||
* | [core] fix crash when trying to parse legacy filters | Konstantin Käfer | 2018-06-29 | 1 | -0/+4 |
| | | | | Legacy filters aren't part of the style specification, but you can generate them by parsing a legacy filter in a stylesheet, and obtaining the parsed Filter and serializing it. | ||||
* | [tests] Replaced the ZoomHistory test with a render test | John Firebaugh | 2018-06-28 | 2 | -71/+0 |
| | |||||
* | [core] Fix issues in unique_any | John Firebaugh | 2018-06-25 | 1 | -4/+36 |
| | | | | | | | * Eliminate unnecessary temporary in VTableStack::move, which also fixes calling the destructor on the incorrect instance * Make move consistent: it destructs the src, not the dest, which is always empty * delete doesn't need a null guard * Conversions to void* don't need a cast | ||||
* | [core] Fix GCC8's new -Wcatch-value warnings | Zsolt Bölöny | 2018-06-25 | 3 | -3/+3 |
| | | | Polymorphic types shouldn't be caught by value, as the warning message says. Catch them by constant reference instead. |