This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
Restore macOS map SDK; clean up iOS, macOS changelogs #178
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
5ce6c41
[macos] Restored macOS make targets
1ec5 c180ec1
[ios, macos] Correctly escape project path
1ec5 90d8335
[ios, macos] Factored out Darwin build settings
1ec5 bfa2e62
[ios, macos] Synchronized, copyedited changelogs
1ec5 63b37c8
[macos] Build macOS on CI
1ec5 e9769ca
[macos] Fixed attribution round-tripping test
1ec5 516dd19
[macos] Disable codegen nitpick for now
1ec5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,10 +69,11 @@ - (void)testTileSetFromTileURLTemplates { | |
#if TARGET_OS_IPHONE | ||
UIColor *redColor = [UIColor redColor]; | ||
#else | ||
// CSS uses the sRGB color space. In macOS 10.12 Sierra and below, | ||
// -[NSColor redColor] is in the calibrated RGB space and has a slightly | ||
// different sRGB value than on iOS and macOS 10.13 High Sierra. | ||
NSColor *redColor = [NSColor colorWithSRGBRed:1 green:0 blue:0 alpha:1]; | ||
// CSS uses the sRGB color space. | ||
// AppKit incorrectly uses calibrated RGB when exporting HTML, so input | ||
// calibrated RGB to ensure round-tripping. | ||
// <rdar://problem/46115233> <http://www.openradar.me/46115233> | ||
NSColor *redColor = [NSColor colorWithCalibratedRed:1 green:0 blue:0 alpha:1]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a reprise of mapbox/mapbox-gl-native#13387 that’s now possible because CircleCI is running a newer version of macOS. |
||
#endif | ||
NSAttributedString *gl = [[NSAttributedString alloc] initWithString:@"GL" attributes:@{ | ||
NSBackgroundColorAttributeName: redColor, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#include "../darwin/darwin.xcconfig" | ||
|
||
LIBRARY_SEARCH_PATHS = $(LIBRARY_SEARCH_PATHS) $(PROJECT_DIR)/vendor/mapbox-accounts-ios |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This make rule got removed along with all the other macOS rules at some point, but it’s actually important for keeping both the iOS and macOS map SDKs in sync with Transifex.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @tmpsantos @mapbox/gl-native @brunoabinader