Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [build] Run Android unit test on Firebaseupstream/jmalanen-android-unit-test | Juha Alanen | 2020-01-10 | 1 | -0/+35 |
| | |||||
* | [test] Increase the threshold for Map.Offline test on Android | Juha Alanen | 2020-01-10 | 1 | -1/+4 |
| | |||||
* | [test] Skip number-format expression tests on Android | Juha Alanen | 2020-01-10 | 1 | -0/+6 |
| | |||||
* | [android] Use stub HTTP file source for test runners | Juha Alanen | 2020-01-10 | 2 | -1/+22 |
| | |||||
* | [test] Run unit tests as NativeActivity application on Android | Juha Alanen | 2020-01-10 | 23 | -29/+532 |
| | |||||
* | [android] Fix a RunLoop bug where tasks are run only once | Juha Alanen | 2020-01-10 | 1 | -2/+1 |
| | | | | | Do not remove tasks from the RunLoop in processRunnables(). Otherwise the task is run only once. | ||||
* | [ios] Add native_apple_interface to ios.cmake (#16103) | Jordan Kiley | 2020-01-09 | 2 | -1/+2 |
| | | | | | | * [ios] Add native_apple_interface to ios.cmake * [ios] Use Xcode for next-macos-xcode11-release | ||||
* | [android] add CI bot that validates downstream API breakage | tobrun | 2020-01-09 | 1 | -0/+14 |
| | |||||
* | [core] Fix GeoJSONVTData ownership and life cycle | Mikhail Pozdnyakov | 2020-01-09 | 2 | -11/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | [android][core] Add `Map::latLngBoundsForCameraUnwrapped` and jni binding ↵ | Peng Liu | 2020-01-09 | 5 | -0/+87 |
| | | | | | | | | | 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. | ||||
* | [build] Remove uneeded submodules | Thiago Marcos P. Santos | 2020-01-08 | 3 | -6/+0 |
| | | | | Not needed after the render tests are using the offline cache. | ||||
* | [render-test] Make the manifest mandatory | Thiago Marcos P. Santos | 2020-01-08 | 3 | -13/+6 |
| | | | | At the moment we have an invalid path as default. | ||||
* | [render-test] Remove positional argument | Thiago Marcos P. Santos | 2020-01-08 | 3 | -43/+20 |
| | | | | Not in use, for running a single test, use -f instead. | ||||
* | [metrics] Add new baselines | Thiago Marcos P. Santos | 2020-01-08 | 109 | -218/+218 |
| | | | | More accurate now since everything goes through the FileSource. | ||||
* | [core] Make it possible to reopen the database read-only for testing | Thiago Marcos P. Santos | 2020-01-08 | 5 | -38/+120 |
| | | | | | | 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. | ||||
* | [metrics] Add 2 tests to the ignore list | Thiago Marcos P. Santos | 2020-01-08 | 1 | -0/+2 |
| | | | | | Need further investigation on why these tests are failing after we started to use the cache database. | ||||
* | [metrics] Use the cache database instead of file paths for fixtures | Thiago Marcos P. Santos | 2020-01-08 | 16 | -48/+27 |
| | | | | | Now that we use a cache, we no longer need "asset_path" and "vendor_path". | ||||
* | [render-test] Use image from the cache for addImage operation | Thiago Marcos P. Santos | 2020-01-08 | 4 | -11/+37 |
| | | | | Instead of trying to read it from the filesystem. | ||||
* | [render-test] Effectively use the offline cache for fixtures | Thiago Marcos P. Santos | 2020-01-08 | 9 | -267/+87 |
| | |||||
* | [render-test] Add access token to the test manifest | Thiago Marcos P. Santos | 2020-01-08 | 2 | -1/+27 |
| | | | | | Needed if we want to run tests online. Will default to the MAPBOX_ACCESS_TOKEN environment value. | ||||
* | [render-test] Add flag to run tests online | Thiago Marcos P. Santos | 2020-01-08 | 1 | -3/+11 |
| | | | | | And also make it not go to the network by setting the status explicitly when when the -o flag is not passed. | ||||
* | [render-test] Add cache database path to the manifest | Thiago Marcos P. Santos | 2020-01-08 | 2 | -0/+18 |
| | | | | A path relative to the manifest pointing at the data cache. | ||||
* | [render-test] Fixed typo and remove unused | Thiago Marcos P. Santos | 2020-01-08 | 1 | -29/+14 |
| | |||||
* | [tools] Added cache tool | Thiago Marcos P. Santos | 2020-01-08 | 2 | -0/+111 |
| | | | | | A tool for adding resources to a cache database, important for adding fixtures to our render test cache database. | ||||
* | Update change log and binary size metrics | Mikhail Pozdnyakov | 2020-01-08 | 2 | -4/+8 |
| | |||||
* | [core] Introduce CollisionIndex::getProjectedCollisionBoundaries() | Mikhail Pozdnyakov | 2020-01-08 | 3 | -21/+26 |
| | | | | In order to remove the repeated code. | ||||
* | [core] Introduce CollisionBoundaries and use it in CollisionIndex | Mikhail Pozdnyakov | 2020-01-08 | 3 | -100/+109 |
| | |||||
* | [test] Update render test expectations | Mikhail Pozdnyakov | 2020-01-08 | 1 | -0/+0 |
| | |||||
* | [core] Use only the first variable anchor for the symbols intersecting tile ↵ | Mikhail Pozdnyakov | 2020-01-08 | 1 | -7/+14 |
| | | | | | | borders Do not try the following variable anchors, if the first variable anchor placement failed. | ||||
* | [core] Fix CollisionIndex::featureIntersectsTileBorders() implementation | Mikhail Pozdnyakov | 2020-01-08 | 2 | -4/+3 |
| | |||||
* | [core] Performance fix for placement in tile mode | Mikhail Pozdnyakov | 2020-01-08 | 1 | -2/+10 |
| | |||||
* | [core] In tile mode, place labels from tile borders first | Mikhail Pozdnyakov | 2020-01-08 | 1 | -53/+88 |
| | |||||
* | [core] Pre-defined variable anchor at tile borders | Mikhail Pozdnyakov | 2020-01-08 | 2 | -20/+49 |
| | | | | In tile mode, stick to the first variable anchor if the label intersects tile borders. | ||||
* | [core] Add CollisionIndex::featureIntersectsTileBorders() | Mikhail Pozdnyakov | 2020-01-08 | 2 | -4/+33 |
| | |||||
* | [core] Consolidate more logic in calculateVariableLayoutOffset() | Mikhail Pozdnyakov | 2020-01-08 | 1 | -13/+25 |
| | |||||
* | [util] fix thread.cpp portability | Samuel Thibault | 2020-01-08 | 1 | -0/+6 |
| | |||||
* | [android] promote releaseCoreLayer from protected to public | tobrun | 2020-01-06 | 1 | -3/+3 |
| | |||||
* | [android] Share common code between test runners | Juha Alanen | 2020-01-03 | 7 | -475/+259 |
| | |||||
* | [build] Run Android benchmark on Firebase | Juha Alanen | 2020-01-03 | 1 | -0/+35 |
| | |||||
* | [benchmark] Run benchmark as NativeActivity application on Android | Juha Alanen | 2020-01-03 | 23 | -20/+772 |
| | |||||
* | [build] Make the configuration simpler | Thiago Marcos P. Santos | 2019-12-21 | 6 | -38/+27 |
| | | | | | | Moved the Android flags to the compilation options interface and removed build options we are not using and go back to CMake defaults. | ||||
* | remove unused code (#16077) | Dane Springmeyer | 2019-12-19 | 2 | -2/+0 |
| | |||||
* | [core] Handle zero text size | Mikhail Pozdnyakov | 2019-12-19 | 1 | -1/+1 |
| | | | | | | | | The style specification stipulates that `text-size` values must be positive (https://docs.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-text-size). However, a zero value could be passed to the engine (e.g. as a result of an expression) this patch handles it and avoids assertion hit in `shaping.cpp`. | ||||
* | [core] Offline download must clear batch buffer at load interrupt | Mikhail Pozdnyakov | 2019-12-18 | 2 | -1/+83 |
| | | | | | | | Otherwise, the stale buffer data are processed again at the repeated load. It is causing various problems like missing load completion notification or crashes (if the previously used observer instance has been deleted). | ||||
* | [tests] Update all-anchors-tile-map-mode expectations | Mikhail Pozdnyakov | 2019-12-18 | 5 | -36/+36 |
| | |||||
* | [test runner] Show all tiles independently in Tile mode | Mikhail Pozdnyakov | 2019-12-18 | 2 | -7/+59 |
| | |||||
* | [test runner] Rendering a single tile in Tile mode | Mikhail Pozdnyakov | 2019-12-18 | 3 | -11/+40 |
| | |||||
* | Include padding when testing camera scale in cameraForLatLngBounds | Aleksandar Stojiljkovic | 2019-12-17 | 2 | -11/+28 |
| | | | | | Repurpose LatLngBoundsToCameraWithBearingAndPitch to test scaling and camera setup, both with and without padding. This adds testing of path not covered in mapbox/mapbox-gl-native-ios#59. | ||||
* | correct insets camera management - see ↵ | Romain Quidet | 2019-12-17 | 1 | -16/+3 |
| | | | | https://github.com/mapbox/mapbox-gl-native-ios/issues/59 | ||||
* | [core] Update changelog | Alexander Shalamov | 2019-12-17 | 1 | -0/+4 |
| |