Commit Graph
733 Commits
Author SHA1 Message Date
Guillaume Lessard ce574378f8 improve bounds-checking and bounds-validation api 2024-06-25 10:27:59 -07:00
Guillaume Lessard 683e1cfb98 make withUnsafe* functions be inlined 2024-06-21 14:18:53 -07:00
Guillaume Lessard 4a20e6c3c9 remove some keywords that are inferred by default 2024-06-21 14:18:53 -07:00
Guillaume Lessard 637518426d a few corrections 2024-06-21 12:55:08 -07:00
Guillaume Lessard b7ccc7206c use byteCount instead of count for RawSpan
- use the label `byteOffset` more consistently
2024-06-20 15:05:33 -07:00
Guillaume Lessard 539d11545e de-emphasize indices property on Span 2024-06-20 15:00:29 -07:00
Guillaume Lessard 3d819ebabf add parsing utilities 2024-06-20 03:04:42 -07:00
Guillaume Lessard 5334c14ad9 doc-comments for load and loadUnaligned 2024-06-20 02:12:50 -07:00
Guillaume Lessard d0dcbb12c6 doc-comment tweak 2024-06-20 01:45:57 -07:00
Guillaume Lessard 228f3f3422 fix tests and ContiguousStorage 2024-06-19 18:10:42 -07:00
Guillaume Lessard 3af133efec renamings and doc-comments in RawSpan 2024-06-19 18:10:26 -07:00
Guillaume Lessard 79ec3505da reorder initializers, improve labels, 80-column trimming 2024-06-19 17:52:00 -07:00
Guillaume Lessard 26d20e4a4e fix CMakeLists for the Future target 2024-06-19 17:47:01 -07:00
Guillaume Lessard a06bed5279 improve one of the Span initializers 2024-06-17 17:08:19 -07:00
Guillaume Lessard b30103588f Rename prefix, suffix, dropFirst and dropLast 2024-06-17 11:09:30 -07:00
Guillaume Lessard 7f26f2705c Rename elementsEqual with an underscore 2024-06-14 12:47:25 -07:00
Guillaume Lessard 8e40715e6a add more doc-comments for Span API 2024-06-14 12:44:32 -07:00
Guillaume Lessard fc451765e9 rename a property of RawSpan 2024-06-14 12:44:12 -07:00
Guillaume Lessard e94873a993 add Span and RawSpan, with tests 2024-06-14 11:31:48 -07:00
Guillaume Lessard 00b3b5f2e3 Remove a dummy file 2024-06-14 10:13:43 -07:00
Alejandro Alonso 908dafa21b Introduce the Inout type 2024-06-12 13:52:12 -07:00
Karoy Lorentey 5316942c30 Add a dummy Future module
This is a temporary staging area for prototyping potential future stdlib additions.

(We do not expect to ship it in any tagged release of swift-collections.)
2024-05-29 13:36:34 -07:00
Karoy Lorentey e004cd36fa Merge branch 'release/1.1' into merge.1.1→main
# Conflicts:
#	CMakeLists.txt
#	README.md
2024-02-07 17:35:40 -08:00
Karoy Lorentey 94cf62b3ba Merge pull request #352 from vanvoorden/vanvoorden/tree-dictionary-keys-equality
[TreeDictionary][Keys] Add Equatable and Hashable Conformance to TreeDictionary.Keys
2024-02-06 18:58:46 -08:00
Dimitris Apostolou 7539583245 Fix typos
# Conflicts:
#	Sources/SortedCollections/BTree/_BTree+BidirectionalCollection.swift
#	Sources/SortedCollections/BTree/_BTree+UnsafeCursor.swift
#	Sources/SortedCollections/BTree/_BTree.Builder.swift
#	Sources/SortedCollections/BTree/_BTree.swift
#	Sources/SortedCollections/BTree/_Node.Splinter.swift
#	Sources/SortedCollections/BTree/_Node.Storage.swift
#	Sources/SortedCollections/BTree/_Node.UnsafeHandle+Insertion.swift
#	Sources/SortedCollections/BTree/_Node.swift
#	Tests/SortedCollectionsTests/BTree/Node+Join Tests.swift
2024-02-06 15:52:26 -08:00
Rick van Voorden 3abf60adae wip tree dictionary keys hashable 2024-02-06 14:21:29 -08:00
Dimitris Apostolou ab744afc39 Fix typos 2024-02-04 20:35:42 +02:00
Karoy Lorentey 8e64f064f5 [Xcode] Update the Xcode project 2024-02-02 22:02:05 -08:00
Karoy Lorentey e21c18c05c Update Swift version references in docs 2024-02-02 16:20:22 -08:00
Karoy Lorentey ffa4a58bc1 Update remaining copyright notices 2024-02-02 16:20:22 -08:00
Karoy Lorentey 5bce3c9ceb [RopeModule] Adopt _specialize and extend adoption of modern generic decl syntax 2024-02-02 16:20:21 -08:00
Karoy Lorentey 64b286d63d [OrderedCollections] Update copyright notices 2024-02-02 16:20:21 -08:00
Karoy Lorentey f59aeeb56a [OrderedCollections] Adopt modern generic declaration syntax and _specialize 2024-02-02 16:20:21 -08:00
Karoy Lorentey 540348f147 [Heap] Update copyright notices 2024-02-02 16:20:21 -08:00
Karoy Lorentey 3c99c84286 [Heap] Clean up description
- Don’t print the type name
- Include some information identifying the heap instance
2024-02-02 16:20:21 -08:00
Karoy Lorentey 37e66d0e49 [Heap] Modernize generic declaration syntax 2024-02-02 16:20:21 -08:00
Karoy Lorentey c33444df6f [HashTreeCollections] Update copyright notices 2024-02-02 16:20:20 -08:00
Karoy Lorentey d1e52208a3 [HashTreeCollections] Modernize declaration syntax of generic functions; adopt _specialize(_:for:) 2024-02-02 16:20:19 -08:00
Karoy Lorentey a5117b49f4 [Collections] Add a note why _RopeModule isn’t reexported 2024-01-31 19:34:37 -08:00
Karoy Lorentey 55db6d936c Remove workaround for SR-14663
Our updated minimum toolchain requirement is Swift 5.7, and the stdlib in that version has the fix included.

We’ve seen reports that the bug may not deploy back in all cases to earlier OS releases, but it still seems worth trying to remove the workaround, as it has some undesirable runtime implications.
2024-01-31 19:34:37 -08:00
Karoy Lorentey d45ccb0028 [BitSet] Fix missing import 2024-01-31 19:34:37 -08:00
Karoy Lorentey a0da2df799 [BitArray] Update LosslessStringConvertible initializer to accept new description format 2024-01-31 19:34:36 -08:00
Karoy Lorentey ae641c3d5d [BitArray] Fix description implementation; update tests 2024-01-31 19:34:36 -08:00
Karoy Lorentey e01391e562 [BitArray] Fix logic error in toggleAll()
D’oh — lucky the test coverage caught this; unlucky that the test wasn’t deterministic, and the chances of this occurring were quite low.
2024-01-31 19:34:36 -08:00
Karoy Lorentey e27e422927 [Deque] Update copyright notices 2024-01-31 19:34:36 -08:00
Karoy Lorentey 04ee7c0b1d [Deque] Modernize generic declaration syntax 2024-01-31 19:34:34 -08:00
Karoy Lorentey 3bc1c3be46 [BitCollections] Update copyright dates 2024-01-30 18:09:37 -08:00
Karoy Lorentey c6018a29f0 Update & regenerate DocC extensions 2024-01-30 18:08:52 -08:00
Karoy Lorentey db3bd17b40 [BitCollections] Adopt some instead of classic generic where possible 2024-01-30 18:07:00 -08:00
Karoy Lorentey ad4ecc3d0f Port _specialize(_:for:) from the stdlib 2024-01-30 18:01:45 -08:00