Commit Graph

15008 Commits

Author SHA1 Message Date
Mikhail Pozdnyakov
5abb4aebc7 [ios][Android] Add a change log entry 2019-09-18 16:21:59 +03:00
Mikhail Pozdnyakov
30e659beed [core] Fix formatting 2019-09-18 16:21:59 +03:00
Mikhail Pozdnyakov
e3137d86d2 [core] Use LayerInfo::tileKind in sources 2019-09-18 16:21:59 +03:00
Mikhail Pozdnyakov
152d4c35fc [core] Add LayerTypeInfo::TileKind 2019-09-18 16:21:59 +03:00
Julian Rex
a6618dc0f9 [ios] Speculative fix for failing test: MGLDocumentationExampleTests.testMGLHillshadeStyleLayer() 2019-09-18 16:21:59 +03:00
Julian Rex
461358be4b [ios] Fix for failing tests:
- testRemovingLayerBeforeAddingSameLayer
- testRemovingSourceInUse
2019-09-18 16:21:59 +03:00
Mikhail Pozdnyakov
19cbad2261 [ios] Fix testForRaisingExceptionsOnStaleLayerObject test 2019-09-18 16:21:59 +03:00
Mikhail Pozdnyakov
224d49cc90 [core] Check layer compatibility with source 2019-09-18 16:21:59 +03:00
Juha Alanen
8b355c7f8b [build] Disable clang-tidy 2019-09-18 14:29:15 +03:00
Juha Alanen
6b13c42314 [build] Fix clang format and tidy checks 2019-09-18 14:29:15 +03:00
Juha Alanen
0042f0b9f5 [glfw] Add feature state support 2019-09-18 14:29:15 +03:00
Juha Alanen
7c4c091a2b [node] Add changelog entry for feature state APIs 2019-09-18 14:29:15 +03:00
Juha Alanen
693a104220 [node] enable feature state tests 2019-09-18 14:29:15 +03:00
Juha Alanen
a186e6a27d [node] Add support for feature state APIs 2019-09-18 14:29:15 +03:00
Juha Alanen
fd179de6fb [core] Update mapbox-gl-js version 2019-09-18 14:29:15 +03:00
Juha Alanen
045018905b [render-test] Add support for feature state APIs 2019-09-18 14:29:15 +03:00
Juha Alanen
97c4f13bec [tests] Add feature state unit test 2019-09-18 14:29:15 +03:00
Juha Alanen
1b639d0819 [tests] Update expression unit test for feature state 2019-09-18 14:29:15 +03:00
Juha Alanen
599fa581f4 [tests] Update bucket unit test for feature state 2019-09-18 14:29:15 +03:00
Juha Alanen
48f462bc7b [core] Add removeFeatureState API 2019-09-18 14:29:15 +03:00
Juha Alanen
7ce9b0d47d [core] Feature state support to RenderLayer classes 2019-09-18 14:29:15 +03:00
Juha Alanen
598df1897d [core] Add feature state support to queryRenderedFeatures API 2019-09-18 14:29:15 +03:00
Juha Alanen
8e19be9d9c [core] Add support for set/getFeatureState APIs 2019-09-18 14:29:15 +03:00
Juha Alanen
46eab5f148 [core] Add SourceFeatureState class to handle feature states 2019-09-18 14:29:15 +03:00
Juha Alanen
1ac8e3c161 [core] Add setFeatureState API to Tile classes 2019-09-18 14:29:15 +03:00
Juha Alanen
413278ca20 [core] Add feature state support to bucket classes 2019-09-18 14:29:15 +03:00
Juha Alanen
91171bc1a9 [core] Add feature-state compound expression 2019-09-18 14:29:15 +03:00
Juha Alanen
9e262ee55f [core] Add feature state support to isFeatureConstant expression 2019-09-18 14:29:15 +03:00
Juha Alanen
75d18e32fc [core] Add feature state support to expression 2019-09-18 14:29:15 +03:00
Juha Alanen
e51fafd4eb [core] Add new types for feature states 2019-09-18 14:29:15 +03:00
Juha Alanen
8795bd6d55 [build] Update mapbox-base version 2019-09-18 14:29:15 +03:00
Guillaume
77420b98c8 [android] fix: MapSnapshotter.withApiBaseUri function 2019-09-18 09:19:23 +02:00
Julian Rex
fc7d2938dd [ios] Fixed test name (since validAccessToken has been removed in another PR). Added some more asserts. (#15643) 2019-09-17 16:18:14 -04:00
Julian Rex
634c95c8d9 [ios, macos] Ensure potential variables that might be nil have a fallback. (#15645)
* [ios] Ensure potential variables that might be nil have a fallback.

* [ios, macos] (potentially) free the returned arch info.
2019-09-17 16:13:50 -04:00
Julian Rex
3dbc44404f [ios, macos] Tail work from 15385 (#15647)
* [ios] Tweak iosapp headers.

* [ios] Revert bundle identifier change.

* [ios, macos] Remove parameter not referenced.
2019-09-17 15:52:18 -04:00
zmiao
0a219d182c [Core] Fix wrong maxzoom setting of tileSet when using URL source (#15581)
* [core] Take max/min zoom option from style if they are set

* [core] std::move input value

* [Core] Add changelogs

* [Core] Fix clang-format reported error

* [Core] fix clang-tidy reported error
2019-09-17 18:00:37 +03:00
Łukasz Paczos
4f91073414 [android] - ignore location tracking mode based animations when the camera is transitioning 2019-09-17 15:03:35 +02:00
Thiago Marcos P. Santos
5254876b39 [build] Remove Qt builds from legacy buildsystem 2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
5d8dbefdb1 [build] Do not run clang-tidy on the legacy workflow
Already running on the new build.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
f6bb784439 [build] CI config
Run it in parallel with the old build system. This will offer
a migration path and make sure we keep everything working at
the cost of running many CI bots. New stuff is prefixed with "next".

Appveyor already got migrated to the next buildsystem.

After merging, we will follow-up removing duplicated core bots.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
ef1a7aad70 [build] Add simple instructions 2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
eb02f8e96d [build] Rewrite our CMake buildsystem
- Try as much as possible not to use explicit compiler flags,
  relying on CMake to do the job in a portable away.
- Build mbgl-core as a single static library and leverage lto as
  much as possible.
- Support a MinSizRel build for other platforms.
- Make GLFW and Node a client of mbgl-core public interface.
- Same for the offline tool and static render tool.
- Use only target settings (do not pollute the global scope)
- Confine core code in a single file.
- Confine platform code inside a single include (exception being Qt
  that needs AUTOMOC before adding the targets)
- Align the Android build with the Android toolchain file.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
f28d14c7c5 [build] Install missing node deps
Needed to run the query tests.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
a10254f1ec [build] Fix expression-test build 2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
f604280812 [build] Do not override new/delete on render-test for sanitize builds
Sanitizers will also do the same and it will conflict.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
83a019d021 [build] Fix clang format and tidy checks 2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
1304502f81 [build] Fix iOS nits
- Hardcoded the bundle identifier on Info.plist, CMake is not
  picking it up.
- Do not use installed headers when building the framework.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
c507cc4c8a [build] Disable a test that requires a debug build
Overdraw debug layer is only available on debug builds.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
3cc026dc16 [build] Remove Qt test dependency on core
This test is testing the Qt bindings and should only
link with QMapboxGL.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
5cf2c7eb50 [build] Use the system CURL on Linux
And we don't need to use Mason anymore.
2019-09-17 12:28:55 +03:00