Thiago Marcos P. Santos
d15b9c1f9c
[core] Fix performance-unnecessary-value-param errors
...
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Minh Nguyễn
8212f94f07
[ios, macos] Redirect documentation to mapbox-gl-native-ios
2020-02-27 17:14:20 -08:00
Minh Nguyễn
206b9bde5e
[ios, macos] Deleted iOS/macOS map SDK sources, resources, scripts
2020-02-27 17:14:20 -08:00
Mikhail Pozdnyakov
ba4f5efa09
[core] OnlineFileSource is never accessed directly
2020-02-26 22:31:59 +02:00
Mikhail Pozdnyakov
aad13f6a3f
[core] FileSourceManager::getFileSource() returns PassRefPtr
2020-02-26 22:31:59 +02:00
Jordan Kiley
e27055ff21
Revert "[ios, macos] Include SKU token for offline requests ( #16130 )" ( #16193 )
...
* Revert "[ios, macos] Include SKU token for offline requests (#16130 ) (#16133 )"
This reverts commit d85ce77deba12167f1c25a911ef81f44e35daa2a.
* [ios] Keep skipping docs for ios-release
2020-02-19 15:10:50 -08:00
Mikhail Pozdnyakov
3bd2d0e4d7
style::Style::getImage() returns optional<style::Image>
2020-02-11 14:34:46 +02:00
zmiao
7424c4eecb
Bump GL-JS
...
Backport GL-JS fix 'Hide glyphs behind the camera'(https://github.com/mapbox/mapbox-gl-js/pull/9229 )
2020-02-11 11:05:18 +02:00
Thiago Marcos P. Santos
47f2b20435
[build] Remove unused files
...
Buck build is no longer needed, neither is the previous
CMake buildsystem.
2020-02-07 20:12:44 +02:00
Alexander Shalamov
4be2fa4f9a
[core] Add platform::setCurrentThreadPriority(double)
2020-02-06 23:54:19 +02:00
Thomas Moenicke
b64ed75444
[build] Adding a build flag to build without GL if needed ( #16120 )
...
* [build] Adding a build flag to build without GL if needed
* [build] Moving custom layer to mbgl/gl
2020-02-03 19:10:57 +02:00
Mikhail Pozdnyakov
d24c1d625a
[core] Pass std::shared_ptr<UpdateParameters> to the render orchestrator
...
So that it can retain ownership of the given parameters.
2020-01-22 14:30:26 +02:00
Jordan Kiley
942d9566d3
[ios, macos] Include SKU token for offline requests ( #16130 )
2020-01-21 13:35:57 -08:00
Alexander Shalamov
77c86bc6b9
[darwin] Use new FileSourceManager interface
2020-01-13 10:57:23 +02:00
Alexander Shalamov
879c44f661
[core] Modularize FileSource codebase ( #15768 )
...
* [core] Introduce FileSourceManager and use it for default platform impl
- Add `FileSourceManager` interface that provides access to `FileSource`
instances and means of registering / unregistering `FileSource` factories
- Split `DefaultFileSource` into smaller parts
- Add `DatabaseFileSource` interface and it's default implementation
- Remove inter-dependencies between concrete `FileSource` classes
* [build] Add files to next build system
* [core] Add generic property setters / getters
* [core] Remove setOnlineStatus from OnlineFileSource interface
* [core] Hide threading implementation details from DatabaseFileSource interface
* [core] Make DB file source methods virtual
* [core] Add documentation for DatabaseFileSource and rename one method
* [core] Use simple callback instead of ActorRef
* [core] Remove ActorRef from OnlineFileSource public header
* [core] Add callback to FileSource::forward async API
* [core] Pass OfflineRegionDefinition by value
* [core] Update tests to use modular file sources
* [core] Update unit tests
* [core] Update unit tests after rebase
* [core] Backport low prio fix for cached requests
* [core] Backport pack database
* [core] Return removed factory from unRegisterFileSourceFactory
* [core] Rename shadowed args in onlinefilesource
* [core] Remove simple std::function callback aliases
* [core] Expose online file source property keys in public header file
* [test-runner] Add proxy file source test runner
* [cache] Update mbgl-cache utility to use new file source
* [metrics] Rebaseline binary size metrics
* [offline] Update offline utility
* [core] Update changelog
2020-01-13 10:57:23 +02:00
m-stephen
f9b7284276
[ios, macos]Remove iOS/macOS codes from native codes ( #16031 )
...
* add source/header
* add ios files
* add configs
* modify name
* http_file_source
* add interface delegate when map init
* fix name
* fix delegate name
* support mac os
* add mac os support
* make optional delegate when mac os
* mac/ios difference
* add ios change log
* cancel iOS/mac OS judgement
* cancel iOS/mac OS judgement
* cancel judgement in .m
* update
* update
* update http_file_source
* update ios
* update mac os
* add mac os file
* add mac os file to `.cmake`
* change names
* add log & fix format
* reset changelog commit
* update changelog
* rename iOS network manager
* Add a test configuration(same as default configuration) when mac os run tests
* re-add account type into `http_file_source`
* refactor
2019-12-14 13:38:46 +08:00
Mikhail Pozdnyakov
cd4136ed4b
[core][android][darwin] Fix GeoJSONOptions handling
...
- share the `GeoJSONOptions` instances using `Immutable<GeoJSONOptions>` - avoid extra copying
- fix wrapping of the `GeoJSONOptions` instances in supercluster map/reduce lambdas.
Previously, local variables were wrapped by reference.
2019-11-29 09:53:28 +02:00
Julian Rex
21af0ff487
[ios] Refactor host checks ( #15948 )
2019-11-20 12:44:39 -05:00
Thiago Marcos P. Santos
f73467786d
[build] Enable more warnings on the next build
...
Make compilation more pedantic.
2019-11-15 23:38:47 +02:00
Alexander Shalamov
cd1a46785e
[darwin] Fix image roundrip conversion
2019-11-11 18:20:01 +02:00
Alexander Shalamov
9fc9cc30e8
[darwin] Add conversion for resolvedImage
2019-11-11 18:20:01 +02:00
Alexander Shalamov
3f7ed99d89
[darwin] Update image expression evaluated type name
2019-11-11 18:20:01 +02:00
Juha Alanen
360b8b4247
[core,android,darwin,qt] Add fields related to feature-state
...
Move the fields from geometry.hpp/feature.hpp as they are not
part of the GeoJSON specification.
2019-10-28 16:46:55 +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
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
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
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
Thiago Marcos P. Santos
c7bbd5bbef
[core] Fix performance-move-const-arg
2019-09-25 18:59:07 +03:00
m-stephen
8128d709b6
[ios]Add errors reporting ( #15391 )
...
* add errors reporting
* [ios] report error if rendering takes > 1 second. (#15633 )
2019-09-20 10:14:44 +08:00
Julian Rex
2b08c1d7bf
[ios, macos] Fix MGLOfflinePack invalidate crash ( #15582 )
2019-09-18 18:13:07 -04:00
Julian Rex
8805defe57
[ios, macos] (Re)add tilesize rounding. ( #15656 )
2019-09-18 11:52:15 -04: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
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
Nadia Barbosa
8331b7adfe
[ios, macos] Introduce custom drawing overlays for MGLMapSnapshotter
2019-09-16 12:55:36 -07:00
Mikhail Pozdnyakov
5207a36074
[core, ios, macos] SDK objects should hold weak pointers to the core style objects ( #15539 )
2019-09-09 23:55:38 -04:00
Jason Wray
8ccf15069d
[darwin] Use en_US as default test locale/language
2019-09-09 10:26:01 -07:00
Alexander Shalamov
907aaba93d
[darwin] Reset number formatter digits for currency style
...
As we are using singleton formatter, fraction digits must be reset
when number formatter is used when initialized for decimal / currency
style.
2019-09-04 10:37:50 +03:00
Mikhail Pozdnyakov
35733f44ab
[Darwin] Update MGLSymbolStyleLayer documentation
2019-09-03 11:45:17 +03:00
Ander Conselvan de Oliveira
21632a66f8
[core] Remove programCacheDir parameter from ProgramParameters
...
Binary shader support has been removed in commit c2f974f2a5 ([core]
Remove binary shader support). This left-over parameter is not used
anywhere anymore.
2019-08-27 16:23:48 +03:00
Jason Wray
0e57c7de44
[ios] Refactor NSUserDefaults key variable names
2019-08-21 12:14:20 -07:00
Jason Wray
00d4f812ac
[ios] Update MGLTileSetTests.testTileSetFromTileURLTemplates for Xcode 11
2019-08-21 11:08:44 +03:00
Jason Wray
2f43a7b87b
[ios] Updates for offline pricing
2019-08-20 17:21:55 -07:00
Alexander Shalamov
e6e751abd3
[darwin] Update documentation text for enum array value
2019-08-13 13:32:56 +03:00
Alexander Shalamov
603c02ccc2
[darwin] Generate plural version of property name, yet, keep singular version of an enum
2019-08-13 13:32:56 +03:00
Alexander Shalamov
0ff218d688
[darwin] Add plural override for 'text-writing-mode' layout property
2019-08-13 13:32:56 +03:00