Commit Graph
871 Commits
Author SHA1 Message Date
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 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
Nate Cook ec89f90bd0 Expand RigidDeque test coverage 2025-12-15 10:39:46 -06: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
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
Alejandro Alonso de68a98a82 wip 2025-10-16 14:45:22 -07:00
Alejandro Alonso 691855a60f Bring back _isUTF16TrailingSurrogate 2025-10-14 09:50:14 -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 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 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
Alejandro Alonso a9bfbeac39 Conditionalize big string sources on 6.2 compiler
add some more
2025-09-30 09:04:52 -07:00
Alejandro Alonso 235030c10b Refactor BigString._Chunk to be its own managed buffer of UTF8 2025-09-30 09:04:19 -07:00
Alejandro Alonso ea71bf2ce9 Fix links in landing page 2025-09-30 08:51:53 -07:00
Karoy Lorentey bb8d566833 Adopt package access modifier and get rid of gybbing 2025-09-29 11:56:14 -07:00
Karoy Lorentey ccb6059969 Update docs
Final documentation pass
2025-09-29 09:23:00 -07:00
Karoy Lorentey 8df8ae3537 More doc updates 2025-09-28 22:56:02 -07:00
Karoy Lorentey 9cf2cf254a Update RigidArray API docs 2025-09-27 17:26:13 -07:00
Karoy Lorentey c6cc6ed150 Add some rudimentary docs to Box 2025-09-27 16:05:25 -07:00
Karoy Lorentey e5577bb12b Update DocC documentation 2025-09-27 16:05:12 -07:00
Karoy Lorentey 1dc2b7717f Revert "Don’t allow backdeployment of any Span types below the most recent Darwin OS releases"
This reverts commit 485e69bfb1.

# Conflicts:
#	CMakeLists.txt
2025-09-27 12:15:30 -07:00
Karoy Lorentey bdfaffbba6 Merge pull request #505 from Steelskin/fabrice/main-build-install-swift-libraries-arch-folder
build: Install libraries in an `arch` sub-folder
2025-09-26 23:51:16 -07:00
Karoy Lorentey 485e69bfb1 Don’t allow backdeployment of any Span types below the most recent Darwin OS releases
References to Span types trigger an issue where SwiftPM isn’t able to run command line executable targets or tests on older OSes.

Set the availability of everything that needs span types to the most recent Apple OS releases.

Hopefully we’ll be able to revert this once we figure out a better workaround.
2025-09-26 22:38:18 -07:00
Karoy Lorentey 76c643222f Update CMake config 2025-09-26 22:38:18 -07:00
Karoy Lorentey 097ea09b6a Update Collections.xcodeproj 2025-09-26 22:38:17 -07:00