Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [core] Replace unique_any with peer from mapbox-bindgen | Bruno de Oliveira Abinader | 2018-08-08 | 2 | -218/+194 | |
| | ||||||
* | 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] Harden Projection::project() | Bruno de Oliveira Abinader | 2018-07-09 | 1 | -0/+43 | |
| | ||||||
* | [core] Avoid blocking in Thread<Object> constructor (#12151) | Anand Thakker | 2018-07-03 | 1 | -2/+59 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] 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] Align URL token replacement behavior with GL JS | John Firebaugh | 2018-05-18 | 1 | -0/+3 | |
| | | | | I.e. preserve unknown tokens in URLs rather than replacing them with an empty string. | |||||
* | [core] Streaming TileCover for polygonal regions (#11267) | Asheem Mamoowala | 2018-04-26 | 2 | -17/+223 | |
| | | | A per-tile streaming algorithm for tile cover on points, lines, and polygons. Works for individual zoom levels, and not zoom ranges. | |||||
* | [core] Support a range of zooms in TileRange. Accounts for TilePyramid ↵ | Asheem Mamoowala | 2018-02-19 | 1 | -1/+12 | |
| | | | | requesting parent tiles of ideal zoom tiles. | |||||
* | [core] prioritize Thread::pause() calls | Konstantin Käfer | 2018-02-06 | 1 | -0/+14 | |
| | ||||||
* | Support TileJSON bounds property (#10701) | Asheem Mamoowala | 2018-01-05 | 1 | -0/+56 | |
| | | | | | | | | * [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. | |||||
* | [core] Support wrapped bounds in LatLngBounds::contains and ↵ | Asheem Mamoowala | 2017-12-07 | 1 | -3/+122 | |
| | | | | LatLngBounds::intersect. | |||||
* | [core, ios, macos] Implement unique_any and remove linb::any | Asheem Mamoowala | 2017-11-22 | 1 | -0/+186 | |
| | ||||||
* | [core] Split MapMode::Still into Static and Tile | Ansis Brammanis | 2017-11-17 | 1 | -3/+3 | |
| | | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode. | |||||
* | [core] Update unit tests for viewport collision. | Chris Loer | 2017-11-17 | 1 | -0/+53 | |
| | | | | Add 'GridIndex' unit test. | |||||
* | [core] Add LatLngBounds::contains(const LatLngBounds&) | Asheem Mamoowala | 2017-10-30 | 1 | -0/+6 | |
| | ||||||
* | [core] Move SourceType to the 'style' namespace | Anand Thakker | 2017-10-16 | 1 | -0/+1 | |
| | ||||||
* | Fast tileCount with help from @mapbox/sphericalmercator module | Asheem Mamoowala | 2017-09-08 | 1 | -0/+9 | |
| | ||||||
* | [node, tests] Consolidate headless rendering logic in HeadlessFrontend | John Firebaugh | 2017-07-26 | 2 | -62/+37 | |
| | ||||||
* | [test] allow only a single shared display to avoid egl errors | Ivo van Dongen | 2017-07-18 | 2 | -3/+3 | |
| | ||||||
* | [core] rename backend to renderer backend | Ivo van Dongen | 2017-07-18 | 2 | -2/+2 | |
| | ||||||
* | [core] renderer interface | Ivo van Dongen | 2017-07-18 | 1 | -13/+35 | |
| | ||||||
* | [core] split backend from mapobserver | Ivo van Dongen | 2017-07-18 | 1 | -7/+9 | |
| | ||||||
* | [core] Make sure ThreadLocal will not own the pointer it is managing | Thiago Marcos P. Santos | 2017-07-14 | 1 | -10/+18 | |
| | | | | | | | | | | | | | | ThreadLocal should not own the pointer it is managing because the use case in Mapbox GL is to keep a pointer to a stack allocated object, like: ``` MyObject foo; threadLocal.set(&foo); ``` To keep consistency, it is required that we clear the managed object before ThreadLocal gets destroyed by setting it to `nullptr`. | |||||
* | [core] GCC 4.9 bracket initialization issues | Bruno de Oliveira Abinader | 2017-07-12 | 1 | -33/+40 | |
| | ||||||
* | [test] Add utest to assert our dtoa implementation precision | Thiago Marcos P. Santos | 2017-07-12 | 1 | -0/+24 | |
| | ||||||
* | [core] Isolate pthread-based tls implementation | Thiago Marcos P. Santos | 2017-07-07 | 1 | -17/+9 | |
| | ||||||
* | [test] Reuse StubGeometryTileFeature in MergeLines | Bruno de Oliveira Abinader | 2017-07-06 | 1 | -34/+7 | |
| | ||||||
* | [core] Move setStyleJSON/URL to Style; add Map::setStyle | John Firebaugh | 2017-06-22 | 1 | -3/+4 | |
| | ||||||
* | [core] add MBGL_CHECK_ERROR to some locations where it was missing | Konstantin Käfer | 2017-06-21 | 1 | -2/+2 | |
| | ||||||
* | [core] Rename ThreadedObject to Thread | Thiago Marcos P. Santos | 2017-06-21 | 2 | -34/+34 | |
| | | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name. | |||||
* | [core] Remove util::Thread | Thiago Marcos P. Santos | 2017-06-21 | 1 | -296/+0 | |
| | | | | Fixes #6425 | |||||
* | [tests] Port the ThreadLocalStorage test to the actor model | Thiago Marcos P. Santos | 2017-06-21 | 1 | -16/+29 | |
| | ||||||
* | [tests] Port the AsyncTask test to the actor model | Thiago Marcos P. Santos | 2017-06-21 | 1 | -30/+29 | |
| | ||||||
* | [tests] Added tests for ThreadedObject | Thiago Marcos P. Santos | 2017-06-21 | 1 | -0/+277 | |
| | ||||||
* | [core] Per-tile glyph/icon atlases | John Firebaugh | 2017-06-13 | 1 | -16/+32 | |
| | ||||||
* | [core] Added Backend::{assume,set}ScissorTest | Bruno de Oliveira Abinader | 2017-06-13 | 1 | -0/+10 | |
| | ||||||
* | [test] Lower memory ceiling | John Firebaugh | 2017-05-26 | 1 | -1/+1 | |
| | | | | We gained a lot of overhead by reducing the initial SpriteAtlas size. | |||||
* | [core] leave Image objects in a valid state after premultiply/unpremultiply | Konstantin Käfer | 2017-05-19 | 1 | -0/+4 | |
| | ||||||
* | [core] Remove WorkQueue | John Firebaugh | 2017-05-17 | 1 | -59/+0 | |
| | | | | No longer used as of 5cdf838a387cae446dba500ac49a1c5524bf7949. | |||||
* | [tidy] modernize-deprecated-headers | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -1/+1 | |
| | ||||||
* | [tidy] modernize-pass-by-value | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -3/+4 | |
| | ||||||
* | [core, android, ios, macos, qt] v10 default styles | Minh Nguyễn | 2017-05-11 | 1 | -2/+2 | |
| | | | | Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL. | |||||
* | [core, android] Factor JSON string conversions | John Firebaugh | 2017-05-08 | 1 | -0/+27 | |
| | | | | | | | | | | | This adds a `convertJSON` template, to be used like: Error error optional<Foo> foo = convertJSON<Foo>(string, error); Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`. While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload. | |||||
* | [core] Make Map.addImage tests pass (#8843) | Asheem Mamoowala | 2017-05-02 | 1 | -0/+15 | |
| | | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core | |||||
* | [core] Render fill-extrusion layers (#8431) | Lauren Budorick | 2017-04-27 | 2 | -2/+52 | |
| | ||||||
* | [core] Move ProjectedMeters to projection.hpp | John Firebaugh | 2017-04-18 | 2 | -16/+15 | |
| | ||||||
* | [core] Tighten geo.hpp ctors | Bruno de Oliveira Abinader | 2017-04-14 | 2 | -5/+74 | |
| | ||||||
* | [all] Make LatLng coordinates read-only | John Firebaugh | 2017-04-06 | 2 | -33/+33 | |
| | ||||||
* | [core] Tighten LatLng and other geo.hpp classes | John Firebaugh | 2017-04-06 | 1 | -11/+6 | |
| | | | | | * Remove LatLng::null and enforce invariants * Remove unnecessary operator bool() |