Tony Parker

Results 15 issues of Tony Parker

`Decimal` is used by a few core types in `Essentials`, but it probably also needs some updates to be a better citizen in Swift. In ObjC it is a C...

Implement `Locale`'s `identifier(from:)` in Swift. Perf test: ```swift let c1 = ["kCFLocaleLanguageCodeKey" : "en"] let c2 = ["kCFLocaleLanguageCodeKey" : "zh", "kCFLocaleScriptCodeKey" : "Hans", "kCFLocaleCountryCodeKey" : "TW"] let c3 = ["kCFLocaleLanguageCodeKey"...

The swift stdlib [deprecated](https://github.com/apple/swift/blob/060d81f6537e5949493d2f28c4506de754f0d2b4/stdlib/public/core/StringGuts.swift#L403) `_isContiguousASCII`, but Foundation depends on it for `String` extensions. Is there a better entry point to use, or should we remove the deprecation from stdlib? ```...

The `testAPIStatement` test winds up using a Swift string processing symbol that is marked available as of 5.8 but is actually only available in 5.9.

Factor out the Markdown support in `AttributedString` (which relies on a customized version of libcmark) and bring it to the package.

In the Swift 6 timeframe, we should see if we can stop including swift-corelibs-foundation in the Linux toolchain completely, and transition clients to the package. It's unclear what kind of...

After we have `Locale` and the `FormatStyle` APIs (https://github.com/apple/swift-foundation/issues/42), implement ISO8601 for JSON.

`Locale`'s `canonicalIdentifier` depends on a table in CoreFoundation: https://github.com/apple/swift-corelibs-foundation/blob/main/CoreFoundation/Locale.subproj/CFLocaleIdentifier.c Without support for constant collections in Swift, a naive port of this would result in a pretty large allocation and memory...

It would be nice if Essentials could have some basic support for formatting well-known date types like ISO8601 without relying upon the entire data set of ICU. `Locale` could be...

If using `FoundationPreview` on Darwin and the file imports something which transitively imports `Foundation` (notably `XCTest`), we wind up with ambiguous definitions of Foundation's API. Some of this can be...