summaryrefslogtreecommitdiff
path: root/platform/darwin
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Match only one font name attribute at a timeMinh Nguyễn2020-04-241-7/+5
|
* [ios, macos] Added and updated documentationMinh Nguyễn2020-04-241-38/+96
|
* [ios, macos] Get glyph metrics from fontMinh Nguyễn2020-04-241-33/+56
| | | | | | Get glyph metrics from the font in the process of drawing each glyph into a bitmap context. These metrics result in more accurate kerning and better aligned baselines than the previous hard-coded values. Align iOS/macOS local glyph rasterization test fixture to Qt.
* [ios, macos] Avoid redundant fallback in font cascade listMinh Nguyễn2020-04-241-15/+38
| | | | A font descriptor should not be a fallback for itself.
* [ios, macos] Choose fonts from font stack that match local fontsMinh Nguyễn2020-04-241-47/+51
| | | | | | Prefer local fonts that match the names specified in the font stack (from the text-font layout property), except for the last resort fonts that mbgl hard-codes. Fall back to the list of fallback CJK fonts in user defaults, then the fonts passed in through the platform-agnostic interface (that come from Info.plist). Explicitly use the first font descriptor in the cascade list instead of the system default of Helvetica. Since the font stack can vary from one rasterization operation to the next, avoid caching the resolved font for now. Removed null checks that are unrealistic given the Core Text API contract.
* [ios, macos] Take font family names from user defaultsMinh Nguyễn2020-04-241-5/+8
| | | | Take font family names from user defaults before falling back to font family names in Info.plist.
* [ios, macos] Allow specifying multiple fonts or font families for local font ↵Minh Nguyễn2020-04-241-6/+25
| | | | | | rendering mbgl::Renderer and mbgl::MapSnapshotter can now contain a list of font family names, font display names, and font PostScript names, each name separated by a newline.
* [ios, macos] Fixed receiving local file URL responseMinh Nguyễn2020-04-241-0/+2
|
* [darwin] Remove debug leftoverThiago Marcos P. Santos2020-03-311-3/+0
| | | | Remove debug leftover added by 9009089a93.
* Add NSURLSession delegation to http_file_source.mm (#16321)Julian Rex2020-03-253-33/+58
|
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-232-4/+4
| | | | As reported by clang-tidy-8.
* [ios, macos] Redirect documentation to mapbox-gl-native-iosMinh Nguyễn2020-02-271-2/+3
|
* [ios, macos] Deleted iOS/macOS map SDK sources, resources, scriptsMinh Nguyễn2020-02-27306-57466/+0
|
* [core] OnlineFileSource is never accessed directlyMikhail Pozdnyakov2020-02-262-3/+3
|
* [core] FileSourceManager::getFileSource() returns PassRefPtrMikhail Pozdnyakov2020-02-261-2/+2
|
* Revert "[ios, macos] Include SKU token for offline requests (#16130)" (#16193)Jordan Kiley2020-02-192-4/+6
| | | | | | | * Revert "[ios, macos] Include SKU token for offline requests (#16130) (#16133)" This reverts commit d85ce77deba12167f1c25a911ef81f44e35daa2a. * [ios] Keep skipping docs for ios-release
* style::Style::getImage() returns optional<style::Image>Mikhail Pozdnyakov2020-02-111-1/+1
|
* Bump GL-JSzmiao2020-02-111-2/+4
| | | | Backport GL-JS fix 'Hide glyphs behind the camera'(https://github.com/mapbox/mapbox-gl-js/pull/9229)
* [build] Remove unused filesThiago Marcos P. Santos2020-02-072-21/+0
| | | | | Buck build is no longer needed, neither is the previous CMake buildsystem.
* [core] Add platform::setCurrentThreadPriority(double)Alexander Shalamov2020-02-061-0/+10
|
* [build] Adding a build flag to build without GL if needed (#16120)Thomas Moenicke2020-02-032-2/+2
| | | | | | * [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl
* [core] Pass std::shared_ptr<UpdateParameters> to the render orchestratorMikhail Pozdnyakov2020-01-221-1/+1
| | | | So that it can retain ownership of the given parameters.
* [ios, macos] Include SKU token for offline requests (#16130)Jordan Kiley2020-01-212-6/+4
|
* [darwin] Use new FileSourceManager interfaceAlexander Shalamov2020-01-137-36/+52
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [ios, macos]Remove iOS/macOS codes from native codes (#16031)m-stephen2019-12-145-20/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [core][android][darwin] Fix GeoJSONOptions handlingMikhail Pozdnyakov2019-11-293-22/+24
| | | | | | - 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.
* [ios] Refactor host checks (#15948)Julian Rex2019-11-201-2/+9
|
* [build] Enable more warnings on the next buildThiago Marcos P. Santos2019-11-153-5/+5
| | | | Make compilation more pedantic.
* [darwin] Fix image roundrip conversionAlexander Shalamov2019-11-118-21/+33
|
* [darwin] Add conversion for resolvedImageAlexander Shalamov2019-11-1113-38/+53
|
* [darwin] Update image expression evaluated type nameAlexander Shalamov2019-11-111-7/+7
|
* [core,android,darwin,qt] Add fields related to feature-stateJuha Alanen2019-10-284-15/+30
| | | | | Move the fields from geometry.hpp/feature.hpp as they are not part of the GeoJSON specification.
* [core] map image type to string until we have a dedicated implementationKonstantin Käfer2019-10-141-0/+9
|
* Add iOS bindings for cluster properties (#15515)Jordan Kiley2019-10-119-8/+239
|
* [ios] Fix for iOS 9 crash (seen in simulator) (#15771)Julian Rex2019-10-111-1/+27
| | | | | | | | * [ios] Fix for iOS 9 crash (seen in simulator) * [ios] Update change log * [ios, macos] Add #if around new function.
* [ios, macos] Changed exception to assert and nil return, since attribution ↵Julian Rex2019-10-053-3/+18
| | | | methods can be called via user interaction (without a mechanism to try/catch) (#15764)
* [ios] Adds pointForCoordinate/coordinateForPoint to MGLMapSnapshotOverlay ↵Julian Rex2019-10-043-10/+95
| | | | | | | | | | | | | | (#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.
* [core][android][darwin] Move number format to i18nAlexander Shalamov2019-09-262-29/+38
|
* [core][android][darwin] Move platform specific Collator impls from expressionAlexander Shalamov2019-09-261-6/+3
| | | | Platform specific Collator implementations should not be part of an expression APIs.
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-251-1/+1
|
* [ios]Add errors reporting (#15391)m-stephen2019-09-205-2/+58
| | | | | | * add errors reporting * [ios] report error if rendering takes > 1 second. (#15633)
* [ios, macos] Fix MGLOfflinePack invalidate crash (#15582)Julian Rex2019-09-186-6/+320
|
* [ios, macos] (Re)add tilesize rounding. (#15656)Julian Rex2019-09-181-1/+1
|
* [ios] Speculative fix for failing test: ↵Julian Rex2019-09-183-14/+16
| | | | MGLDocumentationExampleTests.testMGLHillshadeStyleLayer()
* [ios] Fix for failing tests:Julian Rex2019-09-181-44/+51
| | | | | - testRemovingLayerBeforeAddingSameLayer - testRemovingSourceInUse
* [ios, macos] Ensure potential variables that might be nil have a fallback. ↵Julian Rex2019-09-171-3/+12
| | | | | | | | (#15645) * [ios] Ensure potential variables that might be nil have a fallback. * [ios, macos] (potentially) free the returned arch info.
* [ios, macos] Tail work from 15385 (#15647)Julian Rex2019-09-171-1/+0
| | | | | | | | * [ios] Tweak iosapp headers. * [ios] Revert bundle identifier change. * [ios, macos] Remove parameter not referenced.
* [ios, macos] Introduce custom drawing overlays for MGLMapSnapshotterNadia Barbosa2019-09-162-17/+122
|
* [core, ios, macos] SDK objects should hold weak pointers to the core style ↵Mikhail Pozdnyakov2019-09-0916-50/+152
| | | | objects (#15539)