Commit Graph

14569 Commits

Author SHA1 Message Date
Tobrun
012ccecaa4 [android] - update changelog for v8.2.0-alpha.1 2019-06-26 19:40:04 +02:00
tobrun
6aa0792977 [android] - bring back opacity manual regression test 2019-06-26 19:22:04 +02:00
Bruno de Oliveira Abinader
962311a0dc [build] GCC 8.0 now implements 'cast-function-type' 2019-06-26 17:43:54 +03:00
Michael Muesch
abf60753cb Remove assert from deconstructor of run_loop.cpp
In the deconstructor of run_loop.cpp there is an assert that checks to make sure the Scheduler is null before setting it to null. In some rare scenarios where the app is being put into the background or closed the Scheduler can be null before the deconsturctor is called. This can cause an unnecessary crash. Since the goal here is to just set the Scheduler to null either way, it should not matter what the state of the Scheduler is before the function call.
2019-06-26 17:15:39 +03:00
Kevin Li
3b90d95b93 [android]Add MicroSoft AppCenter lib. (#14995) 2019-06-26 16:33:59 +08:00
Bruno de Oliveira Abinader
3b0e5a59a2 [core] Implement C++ render test runner 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
78e5a264e0 [core] Fix macOS clang exception error in expression-tests/to-number/2-ary 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
1a9e07e4ed [core] DefaultFileSource dynamic support for cache-only requests 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
8367c2ed5c [core] Added vendor/filesystem 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
3f83c8a9de [darwin] Ensure the runloop is awake in RunLoop::runOnce() 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
1a70150d81 [build] Update boost vendor module 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
777f0f0bcc [build] Added vendor/mapbox-gl-styles 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
dfc6ec229a [build] Added vendor/mvt-fixtures 2019-06-25 20:10:21 +03:00
tobrun
c5b04677f0 [android] - add setVerbosity to Logger, add LogLevel IntDef 2019-06-25 14:39:14 +02:00
Łukasz Paczos
8fbe63b51b [android] invalidate camera when setting a padding 2019-06-25 13:29:20 +02:00
Mikhail Pozdnyakov
658d68e38c [core] Introduce RenderOrchestrator 2019-06-25 12:53:52 +03:00
Mikhail Pozdnyakov
4283c9bb34 [core] Introduce RenderTree
Split orchestration from rendering in the `Renderer::Impl` implementation.
2019-06-25 12:53:52 +03:00
Mikhail Pozdnyakov
c09cbaf6e0 [core] PaintParameters do not need UpdateParameters 2019-06-25 12:53:52 +03:00
Mikhail Pozdnyakov
cfe11f563d [core] Remove RenderPass::Upload 2019-06-25 12:53:52 +03:00
Mikhail Pozdnyakov
23d8ae5e73 [core] Simplify RenderLayer::upload()
Now `RenderLayer::upload()` accepts only `uploadPass`, similar to other uploadable objects.

Few simplifications were made in the `LineLayer` prepare stage.
2019-06-25 12:53:52 +03:00
Jason Wray
290a9fcad5 [darwin] Add warning about certain tests requiring en_US locale 2019-06-24 16:52:17 -07:00
tobrun
22741891c1 [android] - change Firebas test lab device to Nexus 7 2019-06-24 12:16:53 +02:00
Łukasz Paczos
41980af469 [android] refactor LocationComponentTest to use consistent mocking tools 2019-06-24 11:37:21 +02:00
Łukasz Paczos
fe570fb206 [android] reset location layer animators when render mode changes 2019-06-24 11:37:21 +02:00
Tobrun
e60b48eca9 [android] - update LatLngBounds example with animating bottomsheet scroll behavior (#14924) 2019-06-24 09:08:26 +02:00
Minh Nguyễn
f7f74a6deb [ios, macos] Added completion handlers to animated MGLMapView methods 2019-06-21 17:45:36 -07:00
Julian Rex
c40b7279a2 [ios] Fix failing annotation selection integration tests (#14976) 2019-06-21 20:34:33 -04:00
Langston Smith
da69a88c04 [android] updated android 8.1.0 changelog with kitkat crash info (#14975) 2019-06-20 10:47:30 -07:00
Jason Wray
b98dbd2121 [ios] Require two fingers for duration of tilt gesture 2019-06-20 10:33:32 -07:00
Langston Smith
6aa065c7a1 [android] updated android changelog for stable 8.1.0 release (#14973) 2019-06-20 09:25:39 -07:00
Tobrun
24b7b413b5 [android] - limit concurrent request for Android 4.4 and below to 10 (#14971) 2019-06-20 17:34:39 +02:00
Łukasz Paczos
577e03f949 [android] ensure to re-enable move when quickzoom finishes
Because the double tap event can be canceled and stop delivering events whenever ACTION_CANCEL or ACTION_POINTER_DOWN is dispatched, we need to make the #onScaleEnd callback responsible for re-enabling the move detector as well
2019-06-20 10:28:02 +02:00
Jason Wray
3d6da49073 [ios] Address iosapp state manager tailwork 2019-06-19 16:35:26 -07:00
Jason Wray
3f9fd46fd4 [ios] Prepare for ios-v5.1.0 release 2019-06-19 13:22:33 -07:00
Jason Wray
aa0beaddaf [ios] Simplify -[MGLOfflineStorageTests testAddFileContent] 2019-06-19 12:20:53 -07:00
Tobrun
18885def71 [android] - optimise CameraUpdateFactory#newLatLngBounds to use camera position tilt and bearing values (#14953) 2019-06-19 19:51:44 +02:00
Thiago Marcos P. Santos
24df7fe5f5 [core] Add storage unit tests for MapboxTileLimitExceeded 2019-06-19 17:19:10 +03:00
Thiago Marcos P. Santos
ea63541ad1 [core] Fix offline regions reporting the wrong number of tiles
- The SQL query used for checking if the tile was already in the
  cache was wrong.

- Tiles being refereed by two or more regions were not always
  counted as one.

Fixes #13437.
2019-06-19 17:19:10 +03:00
Jason Wray
bd481b1d60 [ios, build] Add more specific iOS testing flags 2019-06-18 17:45:28 -07:00
Langston Smith
962793beca [android] added noneCompass and noneGps to LocationModesActivity (#14945) 2019-06-18 09:57:37 -07:00
Langston Smith
42489da108 [android] removed duplicate soloader changelog line (#14946) 2019-06-18 09:57:04 -07:00
Łukasz Paczos
8ed0d53875 [android] bump SNAPSHOT version to 8.2.0 2019-06-18 15:42:36 +02:00
Thiago Marcos P. Santos
ffecb4d6d6 [benchmark] Add benchmark tests for resizing the database 2019-06-18 16:26:51 +03:00
Thiago Marcos P. Santos
1977934bdb [tests] Add unit tests for cache size 2019-06-18 16:26:51 +03:00
Thiago Marcos P. Santos
68e3cbacbc [core] Add method for setting a maximum size for the ambient cache
- Removed this parameter from the constructor, now that we
  have a method to set it.
- Add the method and enforce the limits if the ambient cache exceeds the
  size.
2019-06-18 16:26:51 +03:00
Thiago Marcos P. Santos
78eeffe171 [core] Clear/Invalidate should also work on non-tile resources
These methods were only affecting tiles, but they should really
work on every resource like style, glyphs, etc.
2019-06-18 16:26:51 +03:00
Thiago Marcos P. Santos
59e7b9a878 [core] Rename resetCache to resetDatabase
Avoid confusion about what is being reset. In this case, the whole
database and not only the ambient cache.
2019-06-18 16:26:51 +03:00
Thiago Marcos P. Santos
9beb740fb7 [tests] Follow-up of previews PR, these tests need write permission 2019-06-18 16:26:51 +03:00
Łukasz Paczos
55527d0412 [android] accept floating numbers during core->platform color conversion 2019-06-18 13:22:44 +02:00
Tobrun
c3e94a0648 [android] - store shared librariesas CI artefact (#14937) 2019-06-17 13:35:12 +02:00