Karoy Lorentey
6c31865359
[test] Add tests for Rope.join’s copy-on-write behavior
2024-05-31 16:59:25 -07:00
Karoy Lorentey
e166904974
Merge pull request #382 from lorentey/rename-underscored-module
...
Rename _CollectionsUtilities to InternalCollectionsUtilities
2024-05-29 14:58:55 -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
Karoy Lorentey
e74e76afa7
Merge pull request #370 from lorentey/stop-polluting-test-output
...
[test] TreeDictionary.Keys: Remove stray print that’s flooding test output
2024-05-28 17:00:20 -07:00
Karoy Lorentey
1ada2437a0
Merge pull request #381 from lorentey/bogus-assert-in-Deque
...
[Deque]: Fix bogus assert in Deque._Storage._ensureUnique
2024-05-28 16:46:41 -07:00
Karoy Lorentey
ead6314a1c
[Deque]: Fix bogus assert in Deque._Storage._ensureUnique
...
A non-unique reference to a storage instance can legitimately become unique at any point, due to other references (say, held, by another thread) getting destroyed.
`Deque`’s `ensureUnique` implementation currently invokes the uniqueness check two times in quick succession, expecting it to return false both times. In rare circumstances, this can lead to a spurious trap in concurrent environments.
Fix this by avoiding calling `isUnique` more than once.
2024-05-24 13:13:00 -07:00
Karoy Lorentey
28161fc21f
Merge pull request #377 from iCharlesHu/charles/fix-ordered-collections-cmake
...
Fix the incorrect file name in OrderedCollections cmake file
2024-05-21 20:48:59 -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
e861d3eb3c
Update CODEOWNERS
...
(cherry picked from commit e3954cdae4 )
2024-05-10 18:00:54 -07:00
Karoy Lorentey
fdc7c921d0
Merge pull request #373 from iCharlesHu/charles/cmake-rename-rope-module
...
Rename RopeModule to _RopeModule in CMakeLists.txt to match Package.swift
2024-04-30 13:28:19 -07:00
Charles Hu
ba5154b934
Rename RopeModule to _RopeModule in CMakeLists.txt to match Package.swift
2024-04-30 11:23:27 -07:00
Karoy Lorentey
e9112f40dd
[test] TreeDictionary.Keys: Remove stray print that’s flooding test output
2024-04-23 15:53:40 -07:00
Mishal Shah
08347cc2d3
Add post-merge CI support for Swift 6.0 nightly macOS and Ubuntu 22.04
2024-04-18 21:59:19 -07:00
Mishal Shah
31d3880150
Merge pull request #368 from apple/add_swift-ci-post-merge-release-1.1
...
Add post-merge CI support for release/1.1 branch
2024-04-18 18:25:17 -07:00
Mishal Shah
7425af3a9e
Add post-merge CI support for release/1.1 branch
2024-04-18 18:22:55 -07:00
Karoy Lorentey
1ceeb5012b
Merge pull request #360 from lorentey/update-readme-1.1
...
Update README
2024-02-12 11:39:07 -08:00
Karoy Lorentey
e424b48761
[README] Describe branching strategy
2024-02-12 11:07:48 -08:00
Karoy Lorentey
20dd1fc504
[README] Update doc links
2024-02-12 11:07:34 -08:00
Karoy Lorentey
94cf62b3ba
Merge pull request #352 from vanvoorden/vanvoorden/tree-dictionary-keys-equality
...
[TreeDictionary][Keys] Add Equatable and Hashable Conformance to TreeDictionary.Keys
1.1.0
2024-02-06 18:58:46 -08:00
Rick van Voorden
c61e5e23c8
tree dictionary keys hashable cleanup
2024-02-06 17:26:21 -08:00
Karoy Lorentey
97b1949c05
Merge pull request #357 from lorentey/cherry-pick-356
...
[1.1] Fix typos
2024-02-06 16:54:40 -08:00
Rick van Voorden
a04721360b
tree dictionary keys hashable cleanup
2024-02-06 16:25:33 -08:00
Rick van Voorden
ffa9e65ccc
wip tree dictionary keys hashable
2024-02-06 15:58:31 -08:00
Rick van Voorden
ff73ed71bb
wip tree dictionary keys hashable
2024-02-06 15:57:54 -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
Karoy Lorentey
def1b63177
Merge pull request #355 from lorentey/release-1.1-prep
...
Release preparations for 1.1
2024-02-06 15:43:23 -08:00
Rick van Voorden
3abf60adae
wip tree dictionary keys hashable
2024-02-06 14:21:29 -08:00
Karoy Lorentey
30ed8ac94c
Merge pull request #351 from vanvoorden/vanvoorden/equality-benchmarks
...
[Benchmarks] Add Collection Equality Benchmarks
2024-02-05 19:56:32 -08:00
Karoy Lorentey
8e64f064f5
[Xcode] Update the Xcode project
2024-02-02 22:02:05 -08:00
Karoy Lorentey
4d1e23176b
[Benchmark] Require Swift 5.7
2024-02-02 22:01:15 -08:00
Karoy Lorentey
41b95865a2
Update README
2024-02-02 16:27:21 -08:00
Karoy Lorentey
e21c18c05c
Update Swift version references in docs
2024-02-02 16:20:22 -08:00
Karoy Lorentey
ffa4a58bc1
Update remaining copyright notices
2024-02-02 16:20:22 -08:00
Karoy Lorentey
5bce3c9ceb
[RopeModule] Adopt _specialize and extend adoption of modern generic decl syntax
2024-02-02 16:20:21 -08: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
540348f147
[Heap] Update copyright notices
2024-02-02 16:20:21 -08:00
Karoy Lorentey
3c99c84286
[Heap] Clean up description
...
- Don’t print the type name
- Include some information identifying the heap instance
2024-02-02 16:20:21 -08:00
Karoy Lorentey
37e66d0e49
[Heap] Modernize generic declaration syntax
2024-02-02 16:20:21 -08:00
Karoy Lorentey
c33444df6f
[HashTreeCollections] Update copyright notices
2024-02-02 16:20:20 -08:00
Karoy Lorentey
d1e52208a3
[HashTreeCollections] Modernize declaration syntax of generic functions; adopt _specialize(_:for:)
2024-02-02 16:20:19 -08:00
Karoy Lorentey
a5117b49f4
[Collections] Add a note why _RopeModule isn’t reexported
2024-01-31 19:34:37 -08:00
Karoy Lorentey
55db6d936c
Remove workaround for SR-14663
...
Our updated minimum toolchain requirement is Swift 5.7, and the stdlib in that version has the fix included.
We’ve seen reports that the bug may not deploy back in all cases to earlier OS releases, but it still seems worth trying to remove the workaround, as it has some undesirable runtime implications.
2024-01-31 19:34:37 -08:00
Karoy Lorentey
d45ccb0028
[BitSet] Fix missing import
2024-01-31 19:34:37 -08:00
Karoy Lorentey
a0da2df799
[BitArray] Update LosslessStringConvertible initializer to accept new description format
2024-01-31 19:34:36 -08:00
Karoy Lorentey
ae641c3d5d
[BitArray] Fix description implementation; update tests
2024-01-31 19:34:36 -08:00
Karoy Lorentey
e01391e562
[BitArray] Fix logic error in toggleAll()
...
D’oh — lucky the test coverage caught this; unlucky that the test wasn’t deterministic, and the chances of this occurring were quite low.
2024-01-31 19:34:36 -08:00
Karoy Lorentey
e27e422927
[Deque] Update copyright notices
2024-01-31 19:34:36 -08:00
Karoy Lorentey
04ee7c0b1d
[Deque] Modernize generic declaration syntax
2024-01-31 19:34:34 -08:00
Karoy Lorentey
3bc1c3be46
[BitCollections] Update copyright dates
2024-01-30 18:09:37 -08:00