Karoy Lorentey
44b674265c
Update import statements
2026-09-29 15:41:05 -07:00
Alejandro Alonso
e773108091
Make RigidDictionary store a sentinel value for values ptr if null
2026-09-02 14:25:00 -07:00
Alejandro Alonso
b2a1f89cc6
Add mutableValue(forKey:) to new dictionary types
2026-08-10 17:48:13 -07:00
Karoy Lorentey
669eb09cea
Use Iterable from the Standard Library, replacing the local definition
2026-07-27 13:32:46 -07:00
Karoy Lorentey
70dc238938
[BasicContainers] RigidDictionary, UniqueDictionary: Add keys property
...
This replaces `withKeys`, which is now deprecated.
2026-07-07 16:52:33 -07:00
Karoy Lorentey
d0b4c4c215
IterableIterator_ → BorrowingIterator_
2026-07-07 14:21:53 -07:00
Karoy Lorentey
85cdb77d25
Fix build issues
2026-06-17 16:17:36 -07:00
Nate Cook
4bda43f4a9
Renaming BorrowingSequence_ to Iterable_
2026-06-17 14:27:29 -07:00
Franz Busch
3c373b900c
Use the defines from traits directly
...
Package traits already pass defines with their trait name when building. Instead of adding our own conditional defines based on the traits we can use the trait provided defines directly. I observed that various tooling behaves better with the trait provided defines.
2026-05-06 07:41:02 -07:00
Karoy Lorentey
685ef74751
Fix {Rigid,Unique}{Set,Dictionary}
2026-03-27 11:47:03 -07:00
Karoy Lorentey
597b7a7dd2
Revert most of the availability constraints from 419e2f and 4c0482 🎉
2026-03-27 11:25:43 -07:00
Karoy Lorentey
4c04822689
[ContainersPreview] Exhibit B in the case against prototyping things in the stdlib 😳
2026-03-26 18:13:22 -07:00
Karoy Lorentey
de436301e5
[BasicContainers] Allow standalone use of the UnstableHashedContainers trait
...
Oops, I lost a change that allowed enabling the UnstableHashedContainers trait without also opting into UnstableContainersPreview. Reimplement this functionality.
2026-03-09 15:59:38 -07:00
Karoy Lorentey
1c69635852
Add SPDX-License-Identifier tags
2026-03-05 19:39:24 -08:00
Karoy Lorentey
ffdc48e67e
[BasicContainers] Finalize requirements for hashed containers
...
- UnstableNoncopyableKeys → UnstableHashedContainers
- Delete the GeneralizedEquatable and GeneralizedHashable protocols, replacing them with the standard generalizations in the 6.4 stdlib
- Require Swift 6.4 for {Rigid,Unique}{Set,Dictionary}.
2026-03-03 16:01:45 -08:00
Karoy Lorentey
318ac805ea
[BasicContainers] Add Index to hashed containers. Implement dictionary iteration using indices
2026-02-27 12:19:54 -08:00
Karoy Lorentey
087197dc1a
[BasicContainers] Add removeAll() to hashed containers
2026-02-26 16:27:56 -08:00
Karoy Lorentey
e8cbb2f528
[BasicContainers] Make some tiny headway into UniqueDictionary test coverage
2026-02-24 16:48:51 -08:00
Karoy Lorentey
0528dc2600
[BasicContainers] Adjust compilation conditions
2026-02-23 14:05:16 -08:00
Karoy Lorentey
2654a0711e
[BasicContainers] Add removal operations to dictionaries
2026-02-23 13:59:36 -08:00
Karoy Lorentey
a14f9eb61c
[BasicContainers] Add missing imports of ContainersPreview
2026-02-23 13:56:38 -08:00
Karoy Lorentey
f7625351ae
[BasicContainers] RigidDictionary, UniqueDictionary: Add API exposing the set of keys
2026-02-23 11:56:48 -08:00