Tony Parker
c883a1729a
Add support for embedded Swift mode
...
Remove calls to `debugPrint` (which does not exist), and ifdef out support for `Codable` and `Reflection`.
2025-07-17 16:36:56 -07:00
Alex Azarov
9f68408a70
Update OrderedSet.swift
...
Make values immutable if they are never mutated in example usage docs.
2025-06-30 11:35:45 +02:00
Alex Azarov
d7301b7278
Fix OrderedSet example usage
2025-06-29 16:48:57 +02:00
Karoy Lorentey
4216d2ad1b
Merge pull request #478 from ozumin/patch-1
...
fix comment for OrderedSet.appending(contentsOf:)
2025-05-21 09:24:42 -07:00
Karoy Lorentey
0f73f0ace7
Merge branch 'release/1.2'
...
# Conflicts:
# .github/workflows/pull_request.yml
# .swiftci/5_10_ubuntu2204
# .swiftci/5_7_ubuntu2204
# .swiftci/5_8_ubuntu2204
# .swiftci/5_9_ubuntu2204
# .swiftci/nightly_6_0_macos
# .swiftci/nightly_6_0_ubuntu2204
# .swiftci/nightly_main_macos
# .swiftci/nightly_main_ubuntu2204
2025-05-20 11:13:32 -07:00
Mizuo Nagayama
1812091001
fix comment for OrderedSet.appending(contentsOf:)
2025-05-20 18:38:06 +09:00
Peter Meyers
3fb4855e0e
[OrderedSet] Add OrderedSet.appending(contentsOf:)
2025-05-16 00:16:00 -07:00
Peter Meyers
e00243217e
[OrderedSet] Add OrderedSet.appending(contentsOf:)
2025-02-20 15:34:04 -05:00
김봉균
1cb3ca50a6
fix typo
2025-02-06 17:54:37 -08:00
김봉균
4450b7c622
fix typo
2025-01-07 11:26:40 +09:00
Karoy Lorentey
2709b96947
Minor code style updates
2024-11-18 13:59:31 -08:00
David Nadoba
13245da5f5
Optimize unspecialized OrderedSet.init and OrderedSet.firstIndex(of:)
2024-11-18 13:59:23 -08:00
Karoy Lorentey
5dd817c33d
Merge branch 'release/1.1'
2024-08-05 20:10:26 -07:00
Jeremy Schonfeld
3e120b48bb
[CMake] Reduce path lengths in single-module build ( #392 )
...
* Eliminate relative paths from the cmake single-module build
* Attempt to reduce length of paths in single module build
2024-06-26 08:39:11 -07:00
Karoy Lorentey
ad79ce5b6a
Merge branch 'release/1.1'
...
# Conflicts:
# .swiftci/5_10_ubuntu2204
# .swiftci/5_7_ubuntu2204
# .swiftci/5_8_ubuntu2204
# .swiftci/5_9_ubuntu2204
# .swiftci/nightly_6_0_macos
# .swiftci/nightly_6_0_ubuntu2204
# .swiftci/nightly_main_macos
# .swiftci/nightly_main_ubuntu2204
2024-06-05 10:28:47 -07:00
Jeremy Schonfeld
ee97538f5b
Add Single Module Build Mode to CMake for Foundation ( #385 )
...
* Add new single-module and foundation-toolchain-module modes to CMake build
* Fix allowable client flag syntax
2024-06-03 16:15:50 -07:00
Karoy Lorentey
35d5746117
Rename _CollectionsUtilities to InternalCollectionsUtilities
...
We are forced to do this due to an Xcode issue (#364 ) with underscored module names.
This module remains unstable, despite the removal of the underscore. Directly importing it from outside the package remains unsupported. This module and/or its entire contents may go away or change in incompatible ways in any future swift-collections release.
2024-05-29 14:00:13 -07:00
Charles Hu
89b3ca0146
Fix the incorrect file name in OrderedCollections cmake file
...
- Currently OrderedCollections cmake incorrectly list "Utilities/_UnsafeBitSet.swift" instead of "Utilities/_UnsafeBitset.swift", causing build failures
2024-05-21 19:24:08 -07:00
Karoy Lorentey
e004cd36fa
Merge branch 'release/1.1' into merge.1.1→main
...
# Conflicts:
# CMakeLists.txt
# README.md
2024-02-07 17:35:40 -08:00
Dimitris Apostolou
7539583245
Fix typos
...
# Conflicts:
# Sources/SortedCollections/BTree/_BTree+BidirectionalCollection.swift
# Sources/SortedCollections/BTree/_BTree+UnsafeCursor.swift
# Sources/SortedCollections/BTree/_BTree.Builder.swift
# Sources/SortedCollections/BTree/_BTree.swift
# Sources/SortedCollections/BTree/_Node.Splinter.swift
# Sources/SortedCollections/BTree/_Node.Storage.swift
# Sources/SortedCollections/BTree/_Node.UnsafeHandle+Insertion.swift
# Sources/SortedCollections/BTree/_Node.swift
# Tests/SortedCollectionsTests/BTree/Node+Join Tests.swift
2024-02-06 15:52:26 -08:00
Dimitris Apostolou
ab744afc39
Fix typos
2024-02-04 20:35:42 +02:00
Karoy Lorentey
64b286d63d
[OrderedCollections] Update copyright notices
2024-02-02 16:20:21 -08:00
Karoy Lorentey
f59aeeb56a
[OrderedCollections] Adopt modern generic declaration syntax and _specialize
2024-02-02 16:20:21 -08:00
Karoy Lorentey
1a0ac8c06c
Merge branch 'release/1.0' into release/1.1
...
# Conflicts:
# Sources/DequeModule/CMakeLists.txt
# Sources/DequeModule/Deque+Collection.swift
# Sources/DequeModule/Deque+Sendable.swift
# Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift
# Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift
# Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sendable.swift
# Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Sequence.swift
# Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Values.swift
# Sources/OrderedCollections/OrderedSet/OrderedSet+Sendable.swift
# Sources/OrderedCollections/OrderedSet/OrderedSet+SubSequence.swift
# Sources/OrderedCollections/OrderedSet/OrderedSet+UnorderedView.swift
# Sources/OrderedCollections/OrderedSet/OrderedSet+UnstableInternals.swift
2023-12-21 15:17:15 -08:00
Karoy Lorentey
cdcf9e606a
Update CMake configuration
2023-12-19 17:45:02 -08:00
Karoy Lorentey
9d4a1e5ad2
[OrderedSet] Don’t try to conform to Sendable below Swift 5.5
2023-12-19 17:10:37 -08:00
Karoy Lorentey
03d60bed63
Merge pull request #343 from lorentey/sendable-1.0
...
[1.0] Backport Sendable conformances on all public types
2023-12-18 18:43:30 -05:00
Karoy Lorentey
8bfcaddd5f
[1.0] Update copyright dates
2023-12-18 15:35:56 -08:00
Karoy Lorentey
7d43c07a71
Backport Sendable conformances on all public types
...
Resolves #317
2023-12-18 15:25:38 -08:00
Karoy Lorentey
40e737cdaf
[OrderedDictionary] Fix usage of deprecated API in index(forKey:) docs
...
Resolves #289 .
2023-12-18 15:00:55 -08:00
Karoy Lorentey
8b8a14f0e1
Merge pull request #340 from vanvoorden/vanvoorden/ordered-set-equality
...
[OrderedSet] forward ordered set equality to elements property
2023-12-12 21:54:30 -05:00
Rick van Voorden
e37e505da5
ordered set fix compiler error
2023-12-12 12:33:38 -08:00
Rick van Voorden and Karoy Lorentey
9430147598
ordered set bounds equality check
...
Co-authored-by: Karoy Lorentey <klorentey@apple.com >
2023-12-12 12:27:48 -08:00
Rick van Voorden
e2b033c8ea
forward ordered set subsequence equality to elements property
2023-12-11 15:24:07 -08:00
Rick van Voorden
3caf13b4f8
forward ordered set equality to elements property
2023-12-08 20:32:31 -08:00
Rick van Voorden
e42fb868b7
forward ordered dictionary values equality to values property
2023-12-08 17:39:25 -08:00
Karoy Lorentey
cd03e5b471
Merge branch 'release/1.1'
...
# Conflicts:
# Sources/BitCollections/CMakeLists.txt
# Sources/HashTreeCollections/CMakeLists.txt
2023-11-27 12:02:32 -08:00
Karoy Lorentey
33e2e610f5
Merge branch 'release/1.0' into release/1.1
...
# Conflicts:
# Tests/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift
2023-11-14 18:06:24 -08:00
kati-kms
b72a6cfd93
Fix typos: OrderedSet.swift DocC
2023-11-10 15:38:16 +09:00
Karoy Lorentey
09c09f0f73
Fix CustomStringConvertible/CustomDebugStringConvertible conformances
...
- For CustomStringConvertible, `description` should print elements using `String(reflecting:)` rather than `String(describing:)`, to avoid element output from interfering with syntactically relevant punctuation within structured list displays.
- To make this work without making displays overly verbose, make `debugDescription` mostly the same as `description`, except for escaping raw string displays when and if needed.
- Avoid printing type names in `debugDescription` — it is generally not helpful, as the type is already easily accessible elsewhere. Including it makes for overly verbose displays when the type serves as an Element of a collection.
- Avoid having `debugDescription` return the empty string — it can be confusing when such a description appears in list displays.
Resolves #301 .
2023-07-06 17:25:11 -07:00
Karoy Lorentey
3f4d8f9912
Merge branch 'release/1.1' into 'main'
...
# Conflicts:
# Package.swift
2023-04-24 14:24:15 -07:00
Karoy Lorentey
3e4a8b4dff
Merge branch 'release/1.0' into release/1.1
...
# Conflicts:
# .gitignore
# Package.swift
# Sources/Collections/Collections.docc/Collections.md
# Sources/Collections/Collections.docc/Extensions/Deque.md
# Sources/Collections/Collections.docc/Extensions/OrderedSet.UnorderedView.md
# Sources/Collections/Collections.docc/Extensions/OrderedSet.md
# Sources/DequeModule/DequeModule.docc/DequeModule.md
# Sources/DequeModule/DequeModule.docc/Extensions/Deque.md
# Sources/OrderedCollections/HashTable/_HashTable+UnsafeHandle.swift
# Sources/OrderedCollections/OrderedCollections.docc/Extensions/OrderedSet.UnorderedView.md
# Sources/OrderedCollections/OrderedCollections.docc/Extensions/OrderedSet.md
# Sources/OrderedCollections/OrderedCollections.docc/OrderedCollections.md
# Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift
# Sources/OrderedCollections/OrderedSet/OrderedSet.swift
# Sources/OrderedCollections/Utilities/_UnsafeBitset.swift
# Utils/generate-docs.sh
2023-04-24 13:45:55 -07:00
Karoy Lorentey
a8dad62bc9
Remove obsolete swift(>=5.5)/swift(>=5.6) checks
2023-04-10 18:33:52 -07:00
Ryan McLeod
7f63914a71
[OrderedDictionary] Explicitly mention in documentation that keys/values are ordered
...
(cherry picked from commit fef3839500 )
2023-04-10 17:36:49 -07:00
Felix Herrmann
26de4aa094
Fix deprecated UnsafeMutablePointer.assign(repeating:count) method
2023-03-29 19:05:43 +02:00
Karoy Lorentey
cbab9e3737
Introduce COLLECTIONS_SINGLE_MODULE condition
2023-03-21 18:42:33 -07:00
Ryan McLeod
fef3839500
[OrderedDictionary] Explicitly mention in documentation that keys/values are ordered
2022-12-19 14:23:40 +01:00
Karoy Lorentey
a874de5f7f
[OrderedCollections] Refresh some docs with DocC links
2022-12-06 19:00:59 -08:00
Karoy Lorentey
08b38129b9
[OrderedSet] Fix outdated documentation
2022-12-06 18:41:29 -08:00
Karoy Lorentey
141c3939bf
[DocC] Add documentation bundles for all three targets
2022-12-06 18:41:04 -08:00