Commit Graph
33 Commits
Author SHA1 Message Date
Karoy Lorentey 99da8a72e0 [BasicContainers] RigidArray, UniqueArray: Add formIndex(before:) 2026-02-03 15:10:11 -08:00
Karoy Lorentey 030f751515 [BasicContainers] RigidArray, UniqueArray: Fill out missing indexing APIs 2026-02-03 14:06:03 -08:00
Karoy Lorentey 1e310e2908 [BasicContainers] RigidArray, UniqueArray: Rename copy() → clone() 2026-02-03 13:20:48 -08:00
Karoy Lorentey 3d4423f33e [BasicContainers] RigidArray, UniqueArray: Gather all public initializers into the same source file 2026-02-03 13:20:09 -08:00
Karoy Lorentey 0c376aceb6 [BasicContainers] Move array implementations into subdirectories
(This sets the stage for more data structures in BasicContainers)
2026-02-03 13:05:03 -08:00
Karoy Lorentey 80b8a6fb80 Use the OutputSpan workaround everywhere 2026-01-29 15:35:35 -08:00
Karoy Lorentey 70dd9cd5d9 Merge branch 'main' into all-hands-on-deque
# Conflicts:
#	Sources/BasicContainers/RigidArray+Insertions.swift
#	Sources/ContainersPreview/OutputSpan+Extras.swift
2026-01-29 14:29:47 -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 b186c82bb8 Merge branch 'inlinable-deinits' into all-hands-on-deque 2026-01-26 12:31:38 -08:00
Karoy Lorentey 4c9a0da7f1 Update CMake configuration 2026-01-26 12:31:36 -08:00
Karoy Lorentey 9a4ee93406 Simplify some RIgidArray operations 2026-01-26 11:18:59 -08:00
Karoy Lorentey f496dcfb61 Flesh out UniqueDeque operations 2026-01-26 11:18:59 -08:00
Karoy Lorentey fdaf3fe24c [RigidArray, HashTrees] Mark deinitializers inlinable 2026-01-26 10:22:59 -08:00
Karoy Lorentey e4aba4c1c9 Iterable → BorrowingSequence, BorrowIterator → BorrowingIterator 2026-01-25 16:42:37 -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 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 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 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 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 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 174efda735 RigidArray/UniqueArray: Final API cleanup pass
- Set availability to match Span availability
- Split implementation into multiple source files
- Add OutputSpan-based primitives that can be the bases of all append/insertion/replaceSubrange variants
- Add the ability to consume a subrange of items using an InputSpan
- Add bulk copying operations generic over the new Container protocol
2025-09-26 18:39:56 -07:00
Karoy Lorentey 8890f47600 Remove workaround for lack of recent snapshots for Swift 6.2 on Windows 2025-09-04 15:28:15 -07:00
Karoy Lorentey 7a4e26b4c3 Renaming: DynamicArray → UniqueArray; ArrayModule → BasicContainers 2025-09-04 15:26:13 -07:00