zmiao
068befa9df
[test-runner] Run render test runner as a NativeActivity app on android device ( #15827 )
...
* [test-runner]Add android render-test-runner NativeActivity app
* [test-runner] Fix cmake for CI build failure
* [test-runner] Update folder location, change app configureation
* [test-runner] Add running instruction
2019-10-22 16:32:21 +03:00
Mikhail Pozdnyakov
2cdc09dbb1
[ios][android] Add change log entries
2019-10-22 15:51:16 +03:00
Mikhail Pozdnyakov
ab603c5fed
[core] Enable incremental vacuum for Offline DB
...
Thus we avoid re-creating the whole database and keeping the backup file as it happens on calling VACUUM.
2019-10-22 15:51:16 +03:00
Mikko Pulkki
0ca96fd8a4
[render-test] Implement fps benchmarking tests ( #15803 )
2019-10-22 12:13:55 +03:00
Alexander Shalamov
a8558379db
[android] Check flag before runnable task invocation
2019-10-16 15:37:10 +03:00
zmiao
e829d1ae6f
[test-runner] make render-test a shared lib ( #15816 )
...
* [test-runner] make render-test a shared lib
[test-runner] nit
[test-runner] nit again
* [test-runner] Remove redundant linked file in cmake
2019-10-15 19:16:32 +03:00
Konstantin Käfer
2187980a87
[core] fix icon-text-fit
...
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.
2019-10-14 18:46:12 +02:00
Konstantin Käfer
9cac122c5c
[core] map image type to string until we have a dedicated implementation
2019-10-14 18:46:12 +02:00
Konstantin Käfer
8206ce0e02
[core] map image type to string until we have a dedicated implementation
2019-10-14 18:46:12 +02:00
Jordan Kiley
e4e2a78033
Add iOS bindings for cluster properties ( #15515 )
2019-10-11 13:46:41 -07:00
Julian Rex
a1f124c394
[ios] Fix for iOS 9 crash (seen in simulator) ( #15771 )
...
* [ios] Fix for iOS 9 crash (seen in simulator)
* [ios] Update change log
* [ios, macos] Add #if around new function.
2019-10-11 15:16:12 -04:00
Thiago Marcos P. Santos
a4e1707f6b
[offline] Document the database schema
2019-10-11 16:06:28 +03:00
Thiago Marcos P. Santos
990fdc43fa
[build] Make sure offline_schema.hpp is up-to-date
...
- Get the bots to verify that.
- Fix the paths.
2019-10-11 16:06:28 +03:00
tobrun
1dc01f6644
[android] update changelog for 8.5.0-alpha.2
2019-10-10 19:19:14 +02:00
Łukasz Paczos
3e06965f33
[android] - manually write and read camera's padding array to parcel
...
This avoids relying on Parcel's util methods that do not handle null arrays gracefully.
2019-10-10 17:52:29 +02:00
Mikhail Pozdnyakov
e909997a31
[android][ios] Change log entries
2019-10-10 15:39:34 +03:00
Mikhail Pozdnyakov
f62e5b00c9
[core] Introduce Scheduler::makeWeakPtr()
2019-10-09 23:46:11 +03:00
Dane Springmeyer
da490c2b90
bump to v5 ( #15781 )
2019-10-09 13:30:17 -07:00
Nadia Barbosa
32a73a5be5
[ios] Podspec & changelog updates for v5.5.0-alpha.2
2019-10-09 13:20:04 -07:00
Dane Springmeyer
d0281e3ca4
node package improvements ( #15748 )
...
* node package improvements
* npm run test-suite does not do anything anymore
2019-10-08 16:27:04 -07:00
Peng Liu
7139abdbf5
[android] Expose pre-fetching zoom delta. ( #15769 )
...
* [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.
2019-10-08 16:21:46 +03:00
Julian Rex
a90e5f6e97
[ios, macos] Changed exception to assert and nil return, since attribution methods can be called via user interaction (without a mechanism to try/catch) ( #15764 )
2019-10-05 13:06:28 -04:00
Fabian Guerra Soto
5c565a5e51
[ios] Fixes an issue that caused the ornaments ignore contentInset property. ( #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.
2019-10-04 17:13:00 -07:00
Julian Rex
33a70100b8
[ios] Adds pointForCoordinate/coordinateForPoint to MGLMapSnapshotOverlay ( #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.
2019-10-04 13:51:40 -04:00
tobrun
910e34b855
[android] keep Mapbox.java when obfuscating code to allow look up from JNI
2019-10-04 17:18:37 +02:00
Julian Rex
cab756374f
[ios] Fix layout of Scale bar components ( #15703 )
...
* [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
2019-10-04 11:15:20 -04:00
Mikhail Pozdnyakov
bef635765a
[core] Decouple Scheduler interface from actor model
...
So that it is possible to schedule normal `std::function` and use `mapbox::base::WeakPtr`.
2019-10-04 17:42:21 +03:00
Alexander Shalamov
198e345339
[android] Check if Mapbox instance exists before creating default file source
...
This check is needed for mbgl-benchmark target, as it does not require Mapbox
instance, nor Android asset manager.
2019-10-04 13:18:23 +03:00
Mikhail Pozdnyakov
946b9d2281
[ios][android] Add change log entries
2019-10-04 13:16:54 +03:00
Igor Tarasov
10c14bee45
[android] - changelog for 8.5.0-alpha.1 ( #15753 )
...
* [android] Update changelog for v8.5.0-alpha.1
2019-10-03 17:00:27 +03:00
Łukasz Paczos
7475247782
[android] - remove projected meters per pixel and pixel ratio relation
...
The projected meters per pixel calculation is not dependent on the pixel ratio but rather the tile size, therefore, the division when fetching the value is not necessary.
2019-10-03 11:11:05 +02:00
Nadia Barbosa
daf8e1289c
[ios] Podspec & changelog updates for v5.5.0-alpha.1
2019-10-02 13:38:51 -07:00
Ansis Brammanis
dfca8fb214
[core] fix opacity interpolation for composition expressions ( #15738 )
...
port https://github.com/mapbox/mapbox-gl-js/pull/8818
2019-10-02 13:49:33 -04:00
Mikhail Pozdnyakov
90b37927eb
[ios][android] Add change log entry
2019-10-02 20:45:46 +03:00
Łukasz Paczos
6965fc3100
[android] - changelog for v8.3.2
2019-10-01 12:24:22 +02:00
Alexander Shalamov
18dcf38a7a
[android] Remove usage of ResourceOptions::withPlatformContext
2019-09-26 11:37:50 +03:00
Alexander Shalamov
e5cdc4ecf3
[core][android][darwin] Move number format to i18n
2019-09-26 10:55:47 +03:00
Alexander Shalamov
9c8295c6a6
[core][android][darwin] Move platform specific Collator impls from expression
...
Platform specific Collator implementations should not be part of an expression APIs.
2019-09-26 10:55:47 +03:00
Alexander Shalamov
30ffbe9b8d
[core][android] Remove unaccent from platform interfaces
...
The unaccent is used only within collator, thus, there is no
need to have separate platform interface for it.
2019-09-26 10:55:47 +03:00
Julian Rex
7c2a7a263f
[ios] Update podspecs & changelog for v5.4.0 release ( #15716 )
2019-09-25 16:41:20 -04:00
Langston Smith
fb2413186c
[android] Updated Android changelog for 8.4.0 stable release (ristretto) ( #15713 )
2019-09-25 09:42:08 -07:00
Thiago Marcos P. Santos
c7bbd5bbef
[core] Fix performance-move-const-arg
2019-09-25 18:59:07 +03:00
Jason Wray
183ba62b09
[ios, build] Use Ruby 2.6.x for build dependencies on CI
2019-09-24 12:24:46 -07:00
Jason Wray
83a5aae67a
[ios, build] Update to jazzy 0.11.1
2019-09-24 12:24:46 -07:00
Langston Smith
b51dabe8aa
[android] Bumped Java SDK dependency to stable 4.9.0 ( #15700 )
2019-09-24 11:26:53 -07:00
tobrun
06e34ef358
[android] update gitignore to not track .cxx directories
2019-09-24 19:14:56 +02:00
tobrun
3be974cbf9
[android] update snapshot version for release-sangria
2019-09-24 19:14:41 +02:00
Peng Liu
426da3a6af
[android] Fix the crash when CameraPosition padding is set. ( #15699 )
...
* [android] Add test branch, navigate to Map Snapshotter activity to reproduce the bug.
* [android] Fix the crash when camera position padding is set.
2019-09-23 19:11:00 +03:00
Peng Liu
29dd824e3b
[android] Migrate Android SDK to GL JS–powered feedback form ( #15623 )
...
* [android] Add debug info.
* [android] Generate feedback url.
* [android] Add unit test for buildMapFeedbackMapUrl.
* [android] Remove debug logging.
* [android] Add github issue link to the TODO.
* [android] Change getPackageName to application context.
2019-09-23 14:54:57 +03:00
Mark Grimes
66c1d84890
Add layer_manager.cpp to mbgl-offline on macOS
...
This is to fix #15358
2019-09-20 17:28:43 +03:00