Commit Graph
864 Commits
Author SHA1 Message Date
Karoy Lorentey 1bced00e1c Sigh, disable withTemporaryOutputSpan on 6.2
The RigidDeque effort will land a polyfill for temporary allocations to let us use this on 6.2.
2026-01-29 12:08:01 -08:00
Karoy Lorentey e8d53861ae Move OutputSpan.wUMBP workaround to ContainersPreview, and use it there, too 2026-01-29 11:36:52 -08:00
Guillaume Lessard 1fe2fb03a8 rearrange horribleness to insert preconditions
(cherry picked from commit 085fc446b1bf449c5eedf4754bcc5f17c5fe7c42)
2026-01-29 11:26:42 -08:00
Guillaume Lessard bcbee23816 use the horrible replacement
(cherry picked from commit 3f38800c5abd3fa7decf813e8421b4421ec1dd72)
2026-01-29 11:26:31 -08:00
Guillaume Lessard 942cfbfd68 Add temporary workaround for broken OutputSpan.wUMBP in current toolchain snapshots
(cherry picked from commit 0b1ff87d6773fe568945d8af86a236dbbf9157d9)
2026-01-29 11:26:13 -08:00
Karoy Lorentey fdaf3fe24c [RigidArray, HashTrees] Mark deinitializers inlinable 2026-01-26 10:22:59 -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 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 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
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
Karoy Lorentey 31d3abcc22 Reindent TrailingElementsModule 2025-09-26 22:38:16 -07:00
Karoy Lorentey 346934794a Add package-wide source file header to TrailingElementsModule components 2025-09-26 18:53:13 -07:00
Karoy Lorentey 2ae7f11ecf Add draft version of borrowable Container protocol 2025-09-26 18:40:00 -07:00
Karoy Lorentey 155a8a010e InputSpan: Set availability to be consistent with other Span types 2025-09-26 18:40:00 -07:00
Karoy Lorentey 62ba5cf1ee Disable struct Shared for now 2025-09-26 18:39:59 -07:00
Karoy Lorentey 89c7e027ec struct Inout → struct Mut 2025-09-26 18:39:59 -07:00
Karoy Lorentey c0943d7658 struct Borrow → struct Ref 2025-09-26 18:39:59 -07:00