Commit Graph

14529 Commits

Author SHA1 Message Date
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
Aleksandar Stojiljkovic
d7fa18efa6 [core] Remove unused OffscreenTexture variant with depth render target 2019-06-11 11:39:51 +03:00
tobrun
df062afe6d [android] - fix reset behavior for setLatLngBoundsForCameraTarget 2019-06-11 10:10:51 +02:00
Vladimir Agafonkin
6262b83cc6 [core] Switch back to a more compact line attributes layout (#14851)
* [core] switch back to a more compact line attributes layout

* update mapbox-gl-js to point to master
2019-06-10 22:26:16 +03:00
Mikhail Pozdnyakov
6583204e69 [core] TilePyramind uses TransformState::getScale() 2019-06-10 19:36:47 +03:00
Mikhail Pozdnyakov
1edebf0035 [core] TilePyramid::getRenderTiles -> getRenderedTiles 2019-06-10 19:36:47 +03:00
Mikhail Pozdnyakov
f77af317c4 [core] Update algorithm::updateTileMasks tests 2019-06-10 19:36:47 +03:00
Mikhail Pozdnyakov
737665bc07 [core] Refactor tile pyramid
Tile pyramid is no longer operating with `RenderTiles` and does not perform
rendering operations (upload, finish render).

Render tiles belong to rendering, and tile pyramid belongs to orchestration.
2019-06-10 19:36:47 +03:00
Mikhail Pozdnyakov
f5631d8ef5 [core] Make tile id unwrapTo() const 2019-06-10 19:36:47 +03:00
Mikhail Pozdnyakov
ad53132e5d [core] Inherit RenderAnnotationSource from RenderTileSource 2019-06-10 19:36:47 +03:00
Thiago Marcos P. Santos
50e239a937 [core] Renamed to avoid collision with libcurl
Rename curlx_sltosi to mbgl_curlx_sltosi to avoid collision
when liking with libcurl statically.
2019-06-10 15:34:38 +03:00
Michael Muesch
774d32038f Fix namespace issue with OSMesa
HeadlessBackend seems to be part of the mbgl::gl namespace. Since OSMesaBackendImpl is only in the mbgl namespace this code does not compile.

Since this file is in the mbgl/gl folder I think it makes sense to just put the whole thing in the mbgl::gl namespace.
2019-06-10 15:13:38 +03:00
Jason Wray
fc802daa62 [core] Ignore more flaky node render tests 2019-06-07 12:39:48 -07:00
Andrew Harvey
1a3b865eee improve offline cli help page
The GeoJSON file can't be a FeatureCollection, it must be a single Feature GeoJSON, with simple geometry
2019-06-07 10:23:06 -07:00