You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds accessor coverage for CFAttributedString: creating an attributed string and reading its type ID, string, length, attributes and single attribute with effective range, copying it, creating a mutable copy that keeps the string and attributes, and creating a mutable string then replacing whole and partial character ranges.
Rebased onto current master so this picks up the new CI workflows.
Doing the rebase surfaced a pre-existing bug in master that breaks CI for every branch, so I've opened #155 to fix it. In short: the new fast-enumeration tests (Tests/CFDictionary/fast_enumeration.m and Tests/CFSet/fast_enumeration.m, added in #117) import <Foundation/NSNumber.h>. GNUstep declares NSNumber in Foundation/NSValue.h and ships no standalone NSNumber.h, and the macOS compatibility compile (-framework Foundation) doesn't expose one as an includable header either, so both files fail to build on both runners with:
fast_enumeration.m:2:9: fatal error: 'Foundation/NSNumber.h' file not found
A failed build makes make check exit non-zero, which fails the whole Linux and Apple jobs on every PR. #155 switches those two imports to the <Foundation/Foundation.h> umbrella, which resolves NSNumber on both platforms. Once #155 lands, the rebased PRs should go green via the merge-ref build.
This file contains hidden or 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
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.
Adds accessor coverage for CFAttributedString: creating an attributed string and reading its type ID, string, length, attributes and single attribute with effective range, copying it, creating a mutable copy that keeps the string and attributes, and creating a mutable string then replacing whole and partial character ranges.
Verified against Apple CoreFoundation.