Commit Graph
1384 Commits
Author SHA1 Message Date
Karoy Lorentey e4aba4c1c9 Iterable → BorrowingSequence, BorrowIterator → BorrowingIterator 2026-01-25 16:42:37 -08:00
Karoy Lorentey fabe5d8c87 RigidArray, UniqueArray, RigidDeque tests: Rework some assertions 2026-01-20 17:46:23 -08:00
Karoy Lorentey 0e52141a65 withTemporary{Input,Output}Span: Add support for stdlibs before 6.3 2026-01-20 11:17:00 -08:00
Karoy Lorentey cd309d5a1f Speed up testing by default 2026-01-20 10:54:31 -08:00
Karoy Lorentey 7b5221ea24 RigidDeque: Add Container conformance and allow copying from Containers 2026-01-20 10:51:17 -08:00
Karoy Lorentey cda49ed5a8 Merge remote-tracking branch 'origin/main' into all-hands-on-deque
# Conflicts:
#	Sources/InternalCollectionsUtilities/UnsafeMutableBufferPointer+Extras.swift
2026-01-17 00:20:32 -08:00
Karoy Lorentey 39b83a1f44 Merge pull request #543 from lorentey/iterables
Replace Container with a far less powerful (but more universal) Iterable construct
2026-01-16 23:55:22 -08:00
Karoy Lorentey a617f5e2b1 Don’t use @unsafe/unsafe in code that needs to work on 6.1 2026-01-16 17:32:53 -08:00
Karoy Lorentey 7f7089eae6 Update Producer and Drain, fleshing them out a bit 2026-01-16 16:06:27 -08:00
Karoy Lorentey 33b50fdb76 FactoryIterator → Producer, ConsumingIterator → Drain 2026-01-12 14:10:25 -08:00
Karoy Lorentey 67abaf5182 Replace Container with a far less powerful (but more universal) Iterable construct
I’m hoping Container will return later.
2026-01-08 17:28:23 -08:00
Karoy Lorentey d1d757e425 [RigidDeque] Implement replacement operations 2026-01-08 17:25:21 -08:00
Karoy Lorentey e84db1974d [RigidDeque] Update removals 2026-01-08 13:11:52 -08:00
Karoy Lorentey 5943e6eb5c [RigidDeque] Flesh out insertions 2026-01-07 17:46:25 -08:00
Karoy Lorentey 16aac1913c [RigidDeque] Clean up initializers 2026-01-06 15:49:14 -08:00
Karoy Lorentey 54494e1c98 [RigidDeque] Flesh out prepend methods 2026-01-06 15:14:07 -08:00
Karoy Lorentey 722ed6ae90 [RigidDeque] Flesh out append methods 2026-01-05 18:29:31 -08:00
Karoy Lorentey 4e93bbdb8d [DequeModule] Move Deque sources to a subdirectory 2026-01-05 16:29:01 -08:00
Karoy Lorentey ec3fef1899 Merge pull request #549 from AZero13/ok
first should get the Initialized elements
2025-12-17 16:16:39 -08:00
Karoy Lorentey 3e306a23f1 Merge pull request #550 from AZero13/typo
Typo: symmetric difference should be the xor, not intersection
2025-12-17 16:16:09 -08:00
Karoy Lorentey 4c06858e2c Merge pull request #551 from AZero13/floyd-typo
Change useFloyd heuristic to match comment
2025-12-17 16:15:51 -08:00
Karoy Lorentey 464d529f2a Merge pull request #553 from AZero13/hash
Compare self.value to other, not itself
2025-12-17 16:14:29 -08:00
Karoy Lorentey 077984f74c Merge pull request #554 from lorentey/add-missing-imports
[BitCollections] Add missing imports for InternalCollectionsUtilities
2025-12-17 15:09:19 -08:00
Nate Cook ec89f90bd0 Expand RigidDeque test coverage 2025-12-15 10:39:46 -06:00
Karoy Lorentey c5d5d97c43 Pin workflow references to swiftlang/github-workflows@0.0.2 2025-12-11 15:10:22 -08:00
Karoy Lorentey 8687ef52ea [BitCollections] Add missing imports for InternalCollectionsUtilities
Recent development compiler versions have started emitting errors for previously undiagnosed cases where a conformance in another module is referenced by a source file that does not itself explicitly import that module. Add the missing imports.
2025-12-11 14:49:27 -08:00
Karoy Lorentey ad17682739 Update Sources/ContainersPreview/InputSpan.swift 2025-12-09 11:21:18 -08:00
AZero13 174b3135c3 Compare self.value to other, not itself. 2025-12-06 13:13:09 -05:00
AZero13 7f8a32c5a9 Change useFloyd heuristic to match comment
Comment says exceed, but this checks if it is less than the limit.
2025-12-06 12:58:07 -05:00
AZero13 3534960194 Typo: symmetric difference should be the xor, not intersection
Otherwise it is the same as the intersection.
2025-12-06 12:50:59 -05:00
AZero13 1c840e63da first should get the Initialized elements 2025-12-06 12:41:27 -05:00
Karoy Lorentey 8e5e4a8f36 Merge pull request #540 from incertum/chore/workflow-permissions
chore: restrict GitHub workflow permissions - future-proof
2025-11-07 12:53:45 -08:00
Nate Cook 8320ac8215 Add additional API and tests 2025-11-02 14:59:55 -06:00
Alejandro Alonso 3975774393 wip 2025-10-23 15:05:12 -07:00
Melissa Kilby 8b3d2878de chore: restrict GitHub workflow permissions - future-proof
Signed-off-by: Melissa Kilby <mkilby@apple.com>
2025-10-17 15:31:34 -07:00
Alejandro Alonso de68a98a82 wip 2025-10-16 14:45:22 -07:00
Alejandro Alonso b36ba8b429 Merge pull request #539 from Azoy/bring-back-utf16-api
[BigString] Bring back Index._isUTF16TrailingSurrogate
2025-10-14 10:26:36 -07:00
Alejandro Alonso 691855a60f Bring back _isUTF16TrailingSurrogate 2025-10-14 09:50:14 -07:00
Karoy Lorentey fb59949fcc Merge pull request #537 from lorentey/fix-bigstring-in-xcodeproj
Fix ability to build & test BigString with Xcode & CMake
2025-10-10 16:46:33 -07:00
Karoy Lorentey 65d174cc77 OrderedSetTests: Add missing import 2025-10-10 16:13:11 -07:00
Karoy Lorentey 6b8aa0202c [RopeModule] Update CMakeLists.txt 2025-10-10 16:01:03 -07:00
Karoy Lorentey 006ab60c42 Xcode/Collections.xcodeproj: Fix ability to build & test BigString 2025-10-10 15:53:16 -07:00
Karoy Lorentey 359726d1c1 Merge pull request #534 from lorentey/fix-warnings 2025-10-02 19:15:33 -07:00
Karoy Lorentey 5ffb580fee Merge pull request #533 from lorentey/unstable-sorted-collections-trait
Add new package trait UnstableSortedCollections
2025-10-02 18:29:50 -07:00
Karoy Lorentey a7e40d2055 Fix warnings 2025-10-02 18:29:35 -07:00
Karoy Lorentey ab649ca5fc Add new package trait UnstableSortedCollections
This re-enables the SortedCollections for easi(er) experimentation.

The module remains source unstable — it may go away entirely or it may receive arbitrary source-breaking changes in any new swift-collections release, with no special pre-announcement.
2025-10-02 17:00:32 -07:00
Alejandro Alonso 03cb4dac6e Merge pull request #488 from Azoy/chunk-identity-12
[BigString] Refactor _Chunk to be its own managed buffer of UTF8
2025-10-02 11:56:21 -07:00
Alejandro Alonso f9669dc418 Merge pull request #531 from Azoy/fix-more-docs
[Doc] Fix links in landing page
2025-09-30 15:28:13 -06:00
Alejandro Alonso a1f8f33a5b Make BigString unavailable in embedded 2025-09-30 12:40:09 -07:00
Alejandro Alonso 729869eb6d Use the underscored lifetime attribute 2025-09-30 09:11:47 -07:00