Commit Graph

14542 Commits

Author SHA1 Message Date
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
Tobrun
86b9c06c74 [node] - fix README type, granualar to granular (#14933) 2019-06-17 12:16:19 +02:00
Thiago Marcos P. Santos
2125080dc3 [core] Change severity of too many data-driven properties to "Info"
So it can be filtered by the SDKs using a Log::Observer.
2019-06-15 03:39:45 +03:00
Jason Wray
1cfb0ed10d [ios, build] Add MORE_SIMULATORS option to iOS make commands 2019-06-14 15:23:16 -07:00
Julian Rex
823670ea35 [ios, macos] Optionally include a developer xcconfig file in generated config.xcconfig file. (#14766) 2019-06-14 16:47:48 -04:00
Jason Wray
9872416c1f [build, darwin] Enable aggressive API usage warnings 2019-06-14 09:20:10 -07:00
Fabian Guerra
d7ac45da33 [ios] Bump podspec to v5.1.0-beta.1 2019-06-13 15:44:51 -07:00
Sam Fader
5fbfd1bbeb [ios, docs] Fix grammatical issue in GeoJSON guide 2019-06-13 13:40:50 -07:00
Thiago Marcos P. Santos
cf153c34ee [benchmark] Add performance test for cache 2019-06-13 22:28:16 +03:00
Thiago Marcos P. Santos
9815fc0d16 [tests] Improve unit test for deleting offline region and concurrent use
Test if the physical size of the database will also reduce.

Clear the cache while adding resource on another connection.
2019-06-13 22:28:16 +03:00
Thiago Marcos P. Santos
4b1f9a3b3f [tests] Add unit test for clearing the ambient cache 2019-06-13 22:28:16 +03:00
Thiago Marcos P. Santos
bf0be56946 [core] Fix bug of auto_vacuum not working 2019-06-13 22:28:16 +03:00
Thiago Marcos P. Santos
5b4bb1398b [core] Surface cache management APIs
These APIs need to be on the DefaultFileSource in order to
be visible for the SDKs bindings.
2019-06-13 22:28:16 +03:00
Thiago Marcos P. Santos
32e0b7beec [core] Add API for clearing tile cache 2019-06-13 22:28:16 +03:00
Langston Smith
427e6e7615 [android] updated android changelog for 8.1.0-beta.1 (#14916) 2019-06-13 11:44:33 -07:00
Nadia Barbosa
92f282b52d [iosapp] Introduce map state manager (#14591) 2019-06-13 09:35:41 -07:00
Mikhail Pozdnyakov
6b7d3a16c0 [android][mac][ios] Update changelogs 2019-06-12 20:39:03 +03:00
Mikhail Pozdnyakov
2acfa8b86f [core] Keep the same sort index for all feature rings 2019-06-12 20:39:03 +03:00
Konstantin Käfer
ce91218b42 [core] don't call glFlush on every frame 2019-06-12 18:08:18 +02:00
Konstantin Käfer
d372124219 [ios] fix benchmark app 2019-06-12 18:08:18 +02:00
Tobrun
c2fb3cc76f [android] - add resource usage to HttpRequest, add offline query parameter flag to http request (#14837) 2019-06-12 16:40:59 +02:00
Konstantin Käfer
844299f1c3 [build] remove roundtrip through <experimental/optional> when using optional 2019-06-12 12:04:07 +02:00
Julian Rex
edd04d31eb [ios] Added offline query parameter (#14857) 2019-06-11 18:22:20 -04:00
Langston Smith
ec0fa4c85a [android] Removed mapboxJavaServices dependency (#14896) 2019-06-11 14:48:07 -07:00
Tobrun
e3d87ed826 Merge pull request #14898 from mapbox/tvn-allow-null-updates
Allow null updates to GeoJsonSource#setGeoJson
2019-06-11 19:14:21 +02:00
tobrun
314032d814 [android] - update changelog v8.0.1 2019-06-11 19:13:46 +02:00
Fredrik Karlsson
ad1b448da5 [ios] get sku token return value 2019-06-11 18:35:07 +02:00
tobrun
685a9e5e94 [android] - change library loader to soloader 2019-06-11 18:22:45 +02:00