Commit Graph
1379 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 ead06d8983 Merge pull request #563 from apple/t/main/dependendot
GHA: Add weekly dependabot
2026-01-27 16:58:42 -08:00
Karoy Lorentey 905c015a0c Merge pull request #560 from lorentey/inlinable-deinits
[RigidArray, HashTrees] Mark deinitializers inlinable
2026-01-27 12:26:46 -08:00
Bassam Khouri de54709ca9 GHA: Add weekly dependabot
Have dependabot scan for new version of the re-usable workflows
2026-01-27 15:25:31 -05:00
Karoy Lorentey cc3b2b26cf Merge pull request #562 from lorentey/workaround-buggy-linux-6.3-snapshot
Temporarily stop testing RigidArray & UniqueArray on release/6.3 snapshots on Linux
2026-01-27 12:25:31 -08:00
Karoy Lorentey 59bb505b1a Update to github-workflows 0.0.6 2026-01-27 10:49:59 -08:00
Karoy Lorentey d0169b7d8c Temporarily stop testing RigidArray & UniqueArray on release/6.3 snapshots on Linux
The current snapshot (2026-01-16) appears to include a miscompilation issue.

https://github.com/apple/swift-collections/issues/561
2026-01-26 15:23:26 -08:00
Karoy Lorentey fdaf3fe24c [RigidArray, HashTrees] Mark deinitializers inlinable 2026-01-26 10:22:59 -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 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
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
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 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
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 82bd4f2d20 Merge pull request #526 from lorentey/degyb-package
Adopt `package` access modifier and get rid of gybbing
2025-09-29 13:53:38 -07:00
Karoy Lorentey 864ef273be Merge pull request #527 from lorentey/fix-gh-pr-templates
Fix links in GitHub templates
2025-09-29 13:53:19 -07:00