summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] fix icon-text-fitupstream/fix-icon-text-fitKonstantin Käfer2019-10-147-235/+214
| | | | This fixes rendering by account for the 1px texture padding around icons that were stretched with icon-text-fit. We've added the 1px padding before, but didn't scale it accordingly when we are resizing the icon when it is stretched to fit the text. Adjusts the code to match the logic in GL JS.
* [core] map image type to string until we have a dedicated implementationKonstantin Käfer2019-10-145-37/+44
|
* [core] map image type to string until we have a dedicated implementationKonstantin Käfer2019-10-143-0/+18
|
* Add iOS bindings for cluster properties (#15515)Jordan Kiley2019-10-1111-8/+244
|
* [ios] Fix for iOS 9 crash (seen in simulator) (#15771)Julian Rex2019-10-112-1/+28
| | | | | | | | * [ios] Fix for iOS 9 crash (seen in simulator) * [ios] Update change log * [ios, macos] Add #if around new function.
* [render-test] No camelCase on the metrics.json tagThiago Marcos P. Santos2019-10-1116-12/+12
| | | | It is ugly.
* [render-test] Prettyfy metrics outputThiago Marcos P. Santos2019-10-115-5/+57
|
* [render-test] Add more probe tests for file sizeThiago Marcos P. Santos2019-10-1113-32/+50
| | | | Also make the tests simpler.
* [render-test] Fix UPDATE_METRICS=1 changing the path of file size testsThiago Marcos P. Santos2019-10-114-9/+11
| | | | Should use the exact same path as described on style.json
* [render-test] Fix bots not running the render tests self checksThiago Marcos P. Santos2019-10-111-12/+1
|
* [offline] Document the database schemaThiago Marcos P. Santos2019-10-111-30/+134
|
* [build] Make sure offline_schema.hpp is up-to-dateThiago Marcos P. Santos2019-10-113-4/+7
| | | | | - Get the bots to verify that. - Fix the paths.
* [render-test] Update location of render / query test html pageAlexander Shalamov2019-10-101-1/+1
|
* [ios, android] Update curl command to indicate there is no password (as per ↵Julian Rex2019-10-101-3/+3
| | | | https://circleci.com/docs/api/#authentication) (#15796)
* [android] update changelog for 8.5.0-alpha.2android-v8.5.0-alpha.2tobrun2019-10-101-1/+9
|
* [render-test] Only write metrics if they are availableThiago Marcos P. Santos2019-10-101-18/+20
| | | | Otherwise the file will have an empty tag.
* [render-test] Add tests for filesize probeThiago Marcos P. Santos2019-10-1015-7/+173
| | | | And make sure we run it on the bots
* [render-test] Make clang-format happyThiago Marcos P. Santos2019-10-101-44/+25
|
* [render-test] Add instruction for verifying file sizeThiago Marcos P. Santos2019-10-103-1/+98
| | | | | | | | | | For a given absolute or relative path, measure the size of the file. This is useful for measuring if the cache has increased as expected after moving a camera or decreased after cleaning up. In a more hackish manner, could be used for collecting binary size statistics of shared libraries.
* [render-test] Fix rootPath parameter being ignoredThiago Marcos P. Santos2019-10-101-2/+2
| | | | It was doing nothing and always using the default root path.
* [tests] Do not run tests in parallelThiago Marcos P. Santos2019-10-101-1/+1
| | | | Introduces too much flakeness.
* [build] Check for code generation on DarwinThiago Marcos P. Santos2019-10-101-0/+6
| | | | | Sadly, it can only be done inside macOS because of how examples are generated.
* [build] Remove redundant botsThiago Marcos P. Santos2019-10-101-245/+0
| | | | We have something equivalent on the `next` workspace for these bots.
* [android] - manually write and read camera's padding array to parcelŁukasz Paczos2019-10-102-3/+31
| | | | This avoids relying on Parcel's util methods that do not handle null arrays gracefully.
* [android][ios] Change log entriesMikhail Pozdnyakov2019-10-102-1/+8
|
* [core] Introduce Scheduler::bindOnce() and use it in ImageManagerMikhail Pozdnyakov2019-10-103-6/+21
|
* [ci] Fixed duplicated render tests run on MacOSMikhail Pozdnyakov2019-10-101-1/+1
|
* [core] Update ImageManager.OnStyleImageMissingBeforeSpriteLoaded unit testMikhail Pozdnyakov2019-10-101-0/+14
| | | | So that it checks missing images requests coalescing.
* [core] Disallow coalesced requests for patternsMikhail Pozdnyakov2019-10-101-6/+14
| | | | | | | Unlike icons, pattern changes are not caught with style-diff meaning that the existing request could be from the previous style and we cannot coalesce requests for them.
* [core] Coalesce requests for the same missing imageMikhail Pozdnyakov2019-10-102-29/+43
| | | | | | | This commit coalesces the repeated `onStyleImageMissing` calls for the same image. It also simplifies the image manager code.
* [core] Introduce Scheduler::makeWeakPtr()Mikhail Pozdnyakov2019-10-096-0/+15
|
* bump to v5 (#15781)Dane Springmeyer2019-10-092-2/+4
|
* [ios] Podspec & changelog updates for v5.5.0-alpha.2ios-v5.5.0-alpha.2Nadia Barbosa2019-10-094-6/+4
|
* [test runner] Fix finding of expected images pathsMikhail Pozdnyakov2019-10-093-6/+16
| | | | | | | Before this change, the found paths to the expected images erroneously included the path to the `metrics.json` file (if this file was present) leading to raising of an unhandled exception.
* node package improvements (#15748)Dane Springmeyer2019-10-085-16/+49
| | | | | | * node package improvements * npm run test-suite does not do anything anymore
* [ios] Skip metrics.sh step (#15779)Julian Rex2019-10-081-2/+5
|
* [android] Expose pre-fetching zoom delta. (#15769)Peng Liu2019-10-0811-94/+260
| | | | | | | | | | | | | | | | | | * [android] Expose pre-fetching zoom delta. * [android] Fix Clang format. * [android] Add MapboxMap unit test. * [android] Add prefetching zoom delta into MapboxMapOptions. * [android] Deprecate setPrefetchesTiles to migrate to setPrefetchZoomDelta. * [android] Deprecate getPrefetchesTiles() and migrate to setPrefetchZoomDelta(). * [android] Add unit test to NativeMapViewTest. * [android] Add IntRange annotation to getPrefetchZoomDelta.
* [tests] Share common code between test runnersJuha Alanen2019-10-088-222/+155
|
* [docs] add SMCalloutView to LICENSE.md (#15774)Chloe Krawczyk2019-10-071-1/+13
|
* [core] Introduce SequencedScheduler and ParallelSchedulerMikhail Pozdnyakov2019-10-073-43/+74
| | | | | | | | | | | This commit refactors `utils::ThreadPool` into a template `ThreadedScheduler` class and provides aux type aliases. So that it is possible to obtain a sequenced schedule,where all the scheduled tasks are guarantied to be executed consequently. The sequenced lightweight scheduler is required by both the orchestration thread and the refactored `FileSource` implementation.
* [build] enable query tests on native test runnerJuha Alanen2019-10-072-6/+39
|
* [expression-test] fix result diffingJuha Alanen2019-10-071-2/+2
|
* [render-test] Add support for query testsJuha Alanen2019-10-0716-18/+387
|
* [render-test] Support feature-state tests where featureID is a numberJuha Alanen2019-10-071-4/+16
|
* [render-test] Add support for setPitch operationJuha Alanen2019-10-071-0/+7
|
* [ios, macos] Changed exception to assert and nil return, since attribution ↵Julian Rex2019-10-053-3/+18
| | | | methods can be called via user interaction (without a mechanism to try/catch) (#15764)
* [ios] Fixes an issue that caused the ornaments ignore contentInset property. ↵Fabian Guerra Soto2019-10-049-35/+670
| | | | | | | | | | | | | | | | | | | | | | | | | | (#15584) * [ios] Add mapView content inset tests. * [ios] Fix an issue that caused the ornaments ignore the contentInsets. Fixed an issue that caused ornaments ignore the contentInset. Added a new property automaticallyAdjustContentInset that has the same purpose as UIViewController. automaticallyAdjustsScrollViewInsets. This was changed due to the latter being deprecated. * [ios] Fix automaticallyAdjustsScrollViewInsets legacy behavior. The property automaticallyAdjustsScrollViewInsets overrode automaticallyAdjustsScrollViewInsets which caused a breaking change. This is fixed to consider the legacy property when calculating the content insets and added tests for both cases. * [ios] Fix the contentInset value after adding padding to the camera. Fixed an issue that caused a discrepancy between the contentInset in MGLMapView and the padding in the transformation state. When padding is passed through methods such as setCamera it’s persisted. This fix resets the contentInsets. * [ios] Fix pinch test. * [ios] Update automaticallyAdjustsScrollViewInsets name and documentation. * [ios] Update changelog.
* [ios] Adds pointForCoordinate/coordinateForPoint to MGLMapSnapshotOverlay ↵Julian Rex2019-10-047-12/+177
| | | | | | | | | | | | | | (#15746) * [ios] Adds `pointForCoordinate:`/`coordinateForPoint:` to MGLMapSnapshotOverlay * [ios] Adds PR # * [ios, macos] Update file lists & mac contexts * [macos] Fix for image scale in overlay. * [ios] Updated change log based on PR feedback.
* [android] keep Mapbox.java when obfuscating code to allow look up from JNItobrun2019-10-041-0/+2
|
* [ios] Fix layout of Scale bar components (#15703)Julian Rex2019-10-045-74/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Add failing tests for scale bar updates. * [ios] Remove borderLayer * [ios] Ensure bar sections have non-fractional width * [ios] Add RTL override * [ios] Update constraints/layout * [ios] Invalidate scalebars size, after the parent's layout has happened (to ensure the view dimensions are correct when re-laying out the scale bar. * [ios] Refactor layout * [ios] Update changelog / remove commented code. * [ios] Remove whitespace * [ios] Stop integration tests asserting (when scale bar is hidden). Also reduces the # of calculations (since updateConstraints and layoutSubviews can be called outside of our control). * [ios] Moves declaration of properties for testing. * [ios] Removes redundant property attribute * [ios] Updated change log