"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "stdlib/public/core/UnicodeScalarProperties.swift" between
swift-swift-5.8-RELEASE.tar.gz and swift-swift-5.8.1-RELEASE.tar.gz

About: Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns (developed by Apple).

UnicodeScalarProperties.swift  (swift-swift-5.8-RELEASE):UnicodeScalarProperties.swift  (swift-swift-5.8.1-RELEASE)
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// //
// This source file is part of the Swift.org open source project // This source file is part of the Swift.org open source project
// //
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Copyright (c) 2014 - 2023 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception // Licensed under Apache License v2.0 with Runtime Library Exception
// //
// See https://swift.org/LICENSE.txt for license information // See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// Exposes advanced properties of Unicode.Scalar defined by the Unicode // Exposes advanced properties of Unicode.Scalar defined by the Unicode
// Standard. // Standard.
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
skipping to change at line 1206 skipping to change at line 1206
case (0xAC00 ... 0xD7A3): case (0xAC00 ... 0xD7A3):
return _hangulName() return _hangulName()
// Variation Selector-17 through Variation Selector-256 // Variation Selector-17 through Variation Selector-256
case (0xE0100 ... 0xE01EF): case (0xE0100 ... 0xE01EF):
return "VARIATION SELECTOR-\(_scalar.value - 0xE0100 + 17)" return "VARIATION SELECTOR-\(_scalar.value - 0xE0100 + 17)"
case (0x3400 ... 0x4DBF), case (0x3400 ... 0x4DBF),
(0x4E00 ... 0x9FFF), (0x4E00 ... 0x9FFF),
(0x20000 ... 0x2A6DF), (0x20000 ... 0x2A6DF),
(0x2A700 ... 0x2B738), (0x2A700 ... 0x2B739),
(0x2B740 ... 0x2B81D), (0x2B740 ... 0x2B81D),
(0x2B820 ... 0x2CEA1), (0x2B820 ... 0x2CEA1),
(0x2CEB0 ... 0x2EBE0), (0x2CEB0 ... 0x2EBE0),
(0x30000 ... 0x3134A): (0x30000 ... 0x3134A),
(0x31350 ... 0x323AF):
return "CJK UNIFIED IDEOGRAPH-\(scalarName)" return "CJK UNIFIED IDEOGRAPH-\(scalarName)"
case (0xF900 ... 0xFA6D), case (0xF900 ... 0xFA6D),
(0xFA70 ... 0xFAD9), (0xFA70 ... 0xFAD9),
(0x2F800 ... 0x2FA1D): (0x2F800 ... 0x2FA1D):
return "CJK COMPATIBILITY IDEOGRAPH-\(scalarName)" return "CJK COMPATIBILITY IDEOGRAPH-\(scalarName)"
case (0x17000 ... 0x187F7), case (0x17000 ... 0x187F7),
(0x18D00 ... 0x18D08): (0x18D00 ... 0x18D08):
return "TANGUT IDEOGRAPH-\(scalarName)" return "TANGUT IDEOGRAPH-\(scalarName)"
 End of changes. 3 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)