Commit Graph

813 Commits

Author SHA1 Message Date
Mark Grimes
66c1d84890 Add layer_manager.cpp to mbgl-offline on macOS
This is to fix #15358
2019-09-20 17:28:43 +03:00
Thiago Marcos P. Santos
3888af2460 [build] Move compression to platform
It depends on platform specific compression library.
2019-09-20 15:27:52 +03:00
Julian Rex
2b08c1d7bf [ios, macos] Fix MGLOfflinePack invalidate crash (#15582) 2019-09-18 18:13:07 -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
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
8ee6cfa8fb [build] Cosmetics on vendor packages
- Add include guards on all the files
- Add a vendor package for sqlite and gtest
- Use relative paths to all the files
2019-09-17 12:28:55 +03:00
Nadia Barbosa
8331b7adfe [ios, macos] Introduce custom drawing overlays for MGLMapSnapshotter 2019-09-16 12:55:36 -07:00
Mikhail Pozdnyakov
8af78ddbb9 [core] Update MapObserver::onDidFinishRenderingFrame() API 2019-09-12 00:40:08 +03: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
zmiao
81e62c8cc0 [Core] Update ChangeLog of Integer Overflow fix of pr #15560 (#15586)
*  Update ChangeLog

* Fix extra space
2019-09-09 11:52:47 +03:00
zmiao
f53143f1a1 [core] Fix Integer overflow when converting tileCoordinates to LatLon (#15560)
* [core] fix integer overflow

* [core] Add change log
2019-09-05 11:08:21 +03:00
Fabian Guerra Soto
74d6fdb533 [ios, macos] Fix content inset documentation. (#15552) 2019-09-04 12:18:22 -07:00
zmiao
6ef2710e5c [core] fix collisionBox alignment when Icon/text translation is enabled (#15467)
* add initial fix

* fix bug for collision circle

* refind code structure

* fix indentation

* update test

* refind code structure

* Add changelog

* Add comment for boolean
2019-08-30 08:24:03 +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
zmiao
482dfc501c Add changelog for fix of mixed SDF+non-SDF icon rendering in one layer (#15492)
* Add changelog for fix of mixed SDF+non-SDF icon rendering in one layer

* Add bracket for ios changelog number

* Add more brackets
2019-08-27 13:29:02 +03:00
Mikhail Pozdnyakov
ef3d04dee5 [core] Export symbol placement update status from MapObserver 2019-08-23 10:56:05 +03:00
Ansis Brammanis
ba2d80441e [core] add missing changelog for symbol fading issue (#15443) 2019-08-21 10:54:02 -07:00
Alexander Shalamov
1625aa0000 [ios][macos][android][node] Update changelog for icon-text-fit fixes 2019-08-20 12:31:02 +03:00
Alexander Shalamov
75874cb546 [macos][ios][android][node] Add changelog entry for text-writing-mode layout property 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
Aleksandar Stojiljkovic
7cdeed7cb4 Changelog entries and a nit for #15281 2019-08-08 12:14:48 +03:00
Aleksandar Stojiljkovic
8fda03a686 [core] Changelog entry for #15195 2019-08-01 09:28:36 +03:00
m-stephen
2e5897c0f4 [ios, macos]MGLLoggingConfiguration can filter logs from core (#15120)
* [ios, macos] update proj config

* [ios, macos] implement the logging logic

* [ios, macos] update comments

* [ios, macos] update mac os config

* [ios, macos] re-generate sdk files

* [ios, macos] re-generate sdk files json

* [ios, macos]re-generate json files

* [ios, macos] re-generate ios json files

* [ios] change conditions to bit mask

* [ios, macos]send messages to platform

* [ios, macos] add changelogs

* [ios, macos] revert `logging_nslog`

* [ios, macos] add event name and code into log msg

* [ios, macos] update changlog

* [ios, macos] fix a nit

* [ios, macos]Fix nits.
2019-07-25 15:39:01 +08:00
Nadia Barbosa
54fb5b046e [ios, macos] Update Jazzy theme (#15125)
* [ios, macos] Update Jazzy theme

module_version -> module-version

* Update platform/macos/scripts/document.sh
2019-07-17 13:02:30 -07:00
Heather Stenson
5f6f20e667 [ios, macos] Change "map ID" to "tileset ID" (#15116)
* map id --> tileset id

* styles map id -> style url

* update changelog
2019-07-16 18:36:07 -07:00
m-stephen
d2434d0751 [ios , macos] Exclude CJK resources from offline download by default (#14952)
* [iOS, macOS] exclude CJK glyphs resources download by default.

* [iOS, macOS] update iosapp

* [iOS, macOS] update macOS

* [iOS, macOS] update iOS change log

* [iOS, macOS] update macOS change log

* [iOS, macOS] update comment & add test cases

* Update platform/darwin/test/MGLOfflineRegionTests.m

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/darwin/test/MGLOfflineRegionTests.m

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/darwin/test/MGLOfflineRegionTests.m

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/ios/CHANGELOG.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/macos/CHANGELOG.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/darwin/test/MGLOfflineRegionTests.m

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
2019-07-16 11:39:34 +08:00
m-stephen
6b59db8fb0 [ios, macos] Default to local rendering of CJK characters, using system font (#14862)
* Change default CJK font from "PingFang" to "Helvetica"

* Add CHANGELOG.

* Update CHANGELOG.

* [ios] Enable client-side rendering and use `Helvetica` by default. Set `MGLIdeographicFontFamilyName` to `NULL` for using your custom remote font.

* [ios] Update change log

* [ios] Change default CJK configuration in `iosapp` project

* [ios] Update comment

* [ios] return local font name using default system font.

* [ios] Update changelog

* [ios] update changelogs & comments

* [iOS, macOS]Support mac os

* [iOS, macOS] fix bug

* [iOS, macOS] update change log

* [iOS, macOS] fix nit.

* [iOS, macOS] Ability to specify an array of fonts for fallbacks for `localIdeographicFontFamily`

* [iOS, macOS] Update comments

* [iOS, macOS] Update change log

* [iOS, macOS] update for mac OS font family names

* Fix nit.

* Update platform/ios/CHANGELOG.md

Co-Authored-By: Minh Nguyễn <mxn@1ec5.org>

* [iOS, macOS] Set `MGLIdeographicFontFamilyName` to a Boolean value `NO` for using your custom remote font.

* [iOS, macOS] remove `MGLIdeographicFontFamilyName` from info.plist & update Info.plist Keys.md

* [iOS, macOS] remove `MGLIdeographicFontFamilyName` from macOS demo app project and update info.plist Keys.md

* [iOS, macOS] update macOS changelog

* [iOS, macOS] Change docs

* Update Change log

* [iOS, macOS] Test case

* Update platform/macos/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/macos/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/ios/CHANGELOG.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/darwin/src/MGLRendererConfiguration.mm

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/darwin/test/MGLRendererConfigurationTests.mm

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/macos/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/macos/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/macos/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* [iOS, macOS] update comments

* [iOS, macOS] add plist value test && filter for invalid string

* [iOS, macOS] fix nit

* Update platform/ios/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/ios/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/ios/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/macos/CHANGELOG.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/ios/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* Update platform/ios/docs/guides/Info.plist Keys.md

Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>

* [iOS, macOS] add invalid value type test

* Apply own suggestions from code review
2019-07-10 10:00:35 +08:00
Aleksandar Stojiljkovic
286bc66ba4 Issue #15065 changelogs and nit fix. 2019-07-09 15:13:38 +02:00
Alexander Shalamov
81fc495023 [android][ios][macos] Update changelog for #14930 2019-07-09 11:43:46 +03:00
Fabian Guerra Soto
12e0a6b0c6 [ios] Add removeStyleImage to MGLMapView (#14769)
* [ios] Add shoulRremoveStyleImage to MGLMapViewDelegate.

* [ios] Changelog update.

* [ios, macos] Update shouldRemoveStyle method documentation.
2019-07-02 16:33:09 -07:00
Jason Wray
8a9567e072 [ios, macos] Deprecate methods in favor of new completion handler versions 2019-06-26 12:18:22 -07:00
Minh Nguyễn
f7f74a6deb [ios, macos] Added completion handlers to animated MGLMapView methods 2019-06-21 17:45:36 -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
Mikhail Pozdnyakov
6b7d3a16c0 [android][mac][ios] Update changelogs 2019-06-12 20:39:03 +03:00
Julian Rex
edd04d31eb [ios] Added offline query parameter (#14857) 2019-06-11 18:22:20 -04:00
m-stephen
6742017a9a [macos]Added an MGLMapView.prefetchesTiles property to configure lo… (#14816)
* [macos]Added an `MGLMapView.prefetchesTiles` property to configure lower-resolution tile prefetching behavior

* [macos]Update changelog
2019-06-04 11:05:24 +08:00
Fabian Guerra Soto
402645109f [ios] Fix content insets with custom edge padding. (#14813)
* [ios] Fix content insets with custom edge padding.

* [ios, macos] Consolidated edge insets math

* [macos] Add content insets to edge padding when setting camera

* [ios, macos] Updated changelogs

* [ios, macos] Clarify setCamera:withDuration:animationTimingFunction:edgePadding method documentation.
2019-06-03 07:32:20 -07:00
Fabian Guerra Soto
316584fabc [ios] Bump podspec to v5.1.0-alpha.1 (#14800)
* [ios] Podspec bump to v5.1.0-alpha.1

* [ios] Update changelog.
2019-05-29 14:29:11 -07:00
Konstantin Käfer
9eb43a587b [ios,macos] refactor MGLMapViewImpl 2019-05-29 18:27:42 +02:00
Aleksandar Stojiljkovic
e5431d0181 Asymmetric viewport changelog entry
Check edge insets difference, in addition to isEqualToMapCamera in all the places in MGLMapView before map.easeTo/map.flyTo.
2019-05-28 14:38:01 +03:00
Minh Nguyễn
179144a834 macos-v0.14.0 2019-05-22 17:30:21 -07:00
Aleksandar Stojiljkovic
3cd8c6c1fd [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)
Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx.
Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method.
GL dependent tests are still using gl::HeadlessBackend directly (not through gfx).
2019-05-21 07:37:49 +03:00
Minh Nguyễn
615c5387fc [macos] Copyedited changelog
Synchronized the changelog with the iOS changelog. Removed some entries about internal changes or iOS-only changes. Recategorized entries.
2019-05-10 08:08:51 -07:00
Thiago Marcos P. Santos
06f1dc48a2 [core] Make the BackgroundScheduler a singleton
- Do not carry it over everywhere as parameter, it is a shared
  instance anyway and the lifecycle is pretty much the app lifecycle
  from the moment we instantiate a map.
- Rename to BackgroundScheduler because it is a Scheduler that will
  do tasks in the background, we don't make assumptions if it is a
  thread pool or a single thread.
- Most importantly, remove the dependency from `core` on `platform`.
2019-05-10 14:20:38 +03:00
Nadia Barbosa
2ee967a036 [ios, macos] Premultiply color values for mgl_color
Fixes https://github.com/mapbox/mapbox-gl-native/issues/14329
2019-04-12 11:07:46 -07:00
Minh Nguyễn
0982efe830 [macos] Fixed Auto Layout warnings
Added constraints to the offline CJK checkbox and updated constraints around it.
2019-04-10 14:37:38 -07:00
Minh Nguyễn
1567281ee8 [macos] Fixed offline CJK checkbox outlet connection 2019-04-10 14:37:38 -07:00
Fabian Guerra Soto
2f0af0e8f4 [ios] Deactivate MGLMapView IBDesignable (#14379)
Removed MGLMapView's IBDesignable attribute. The map's view render attributes
uses GL, making changes through the inspectables were not reflected in the storyboard
and were causing IB crashes.

* [ios] Deactivate MGLMapView IBDesignable.

* [ios] Remove IBDesignable agent code.

* [ios, macos] Remove NSProcessInfo category from iOS.
2019-04-10 13:01:59 -07:00