| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Use new interface for android jni adaptation classes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [core] Introduce FileSourceManager and use it for default platform impl
- Add `FileSourceManager` interface that provides access to `FileSource`
instances and means of registering / unregistering `FileSource` factories
- Split `DefaultFileSource` into smaller parts
- Add `DatabaseFileSource` interface and it's default implementation
- Remove inter-dependencies between concrete `FileSource` classes
* [build] Add files to next build system
* [core] Add generic property setters / getters
* [core] Remove setOnlineStatus from OnlineFileSource interface
* [core] Hide threading implementation details from DatabaseFileSource interface
* [core] Make DB file source methods virtual
* [core] Add documentation for DatabaseFileSource and rename one method
* [core] Use simple callback instead of ActorRef
* [core] Remove ActorRef from OnlineFileSource public header
* [core] Add callback to FileSource::forward async API
* [core] Pass OfflineRegionDefinition by value
* [core] Update tests to use modular file sources
* [core] Update unit tests
* [core] Update unit tests after rebase
* [core] Backport low prio fix for cached requests
* [core] Backport pack database
* [core] Return removed factory from unRegisterFileSourceFactory
* [core] Rename shadowed args in onlinefilesource
* [core] Remove simple std::function callback aliases
* [core] Expose online file source property keys in public header file
* [test-runner] Add proxy file source test runner
* [cache] Update mbgl-cache utility to use new file source
* [metrics] Rebaseline binary size metrics
* [offline] Update offline utility
* [core] Update changelog
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Do not remove tasks from the RunLoop in processRunnables(). Otherwise
the task is run only once.
|
|
|
|
|
|
| |
* [ios] Add native_apple_interface to ios.cmake
* [ios] Use Xcode for next-macos-xcode11-release
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this change, the `GeoJSONVTData` instance was retained at the scheduled
lambda, which run on the worker thread represented by the `GeoJSONVTData::scheduler`
class member:
```
std::weak_ptr<GeoJSONVTData> weak = shared_from_this();
scheduler->scheduleAndReplyValue(
[id, weak, this]() -> TileFeatures {
if (auto self = weak.lock()) {
return impl.getTile(id.z, id.x, id.y).features;
}
return {};
},
fn);
```
It caused program termination in case `self` turned to be the last reference to `this`,
as the `std::thread` destructor was called from the thread it represented.
Now, only the `GeoJSONVTData::impl` class member is retained.
|
|
|
|
|
|
|
|
|
| |
for `getVisibleCoordinateBounds`. (#16069)
* [android] Add getVisibleCoordinateBounds method.
* Fix Map::latLngBoundsForCamera, add Android binding for getVisibleRegionBounds.
* Add unit tests for CameraToLatLngBoundsWithRotation and CameraToLatLngBoundsCrossDateLine.
* Move API breaking changes to a new method name latLngBoundsForCameraUnwrapped.
|
|
|
|
| |
Not needed after the render tests are using the offline cache.
|
|
|
|
| |
At the moment we have an invalid path as default.
|
|
|
|
| |
Not in use, for running a single test, use -f instead.
|
|
|
|
| |
More accurate now since everything goes through the FileSource.
|
|
|
|
|
|
| |
Needed for Android, because the database is in readonly filesystem
and also because it is annoying to see files modified every time we
run the tests.
|
|
|
|
|
| |
Need further investigation on why these tests are failing
after we started to use the cache database.
|
|
|
|
|
| |
Now that we use a cache, we no longer need "asset_path" and
"vendor_path".
|
|
|
|
| |
Instead of trying to read it from the filesystem.
|
| |
|
|
|
|
|
| |
Needed if we want to run tests online. Will default to the
MAPBOX_ACCESS_TOKEN environment value.
|
|
|
|
|
| |
And also make it not go to the network by setting the status
explicitly when when the -o flag is not passed.
|
|
|
|
| |
A path relative to the manifest pointing at the data cache.
|
| |
|
|
|
|
|
| |
A tool for adding resources to a cache database, important for
adding fixtures to our render test cache database.
|
| |
|
|
|
|
| |
In order to remove the repeated code.
|
| |
|
| |
|
|
|
|
|
|
| |
borders
Do not try the following variable anchors, if the first variable anchor placement failed.
|
| |
|
| |
|
| |
|
|
|
|
| |
In tile mode, stick to the first variable anchor if the label intersects tile borders.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Moved the Android flags to the compilation options interface
and removed build options we are not using and go back to CMake
defaults.
|
| |
|