Commit Graph

51 Commits

Author SHA1 Message Date
Guillaume Lessard
5046c2a529 [stdlib] add UMBP.mutableSpan accessor 2025-06-23 11:20:48 -07:00
Guillaume Lessard
7ee3f85b7e [stdlib] add URMBP.mutableBytes accessor 2025-06-23 11:20:47 -07:00
Guillaume Lessard
9de70180f7 Revert "Merge pull request #82284 from glessard/rdar153219174-UMBP-mutableSpan-62"
This reverts commit 845b68a7c4, reversing
changes made to 3d1c592456.
2025-06-18 13:55:44 -07:00
Guillaume Lessard
ea14407cb1 [stdlib] add UMBP.mutableSpan accessor 2025-06-17 15:57:52 -07:00
Guillaume Lessard
7ab45ca442 [stdlib] add URMBP.mutableBytes accessor 2025-06-17 15:57:52 -07:00
Guillaume Lessard
4bc3eadc96 [test] UTF8Span from inline-stored Substring instances 2025-06-09 14:19:41 -07:00
Guillaume Lessard
d587809417 [test] UTF8Span from inline-stored String instances 2025-06-09 14:19:40 -07:00
Guillaume Lessard
3a0f890ef0 Merge pull request #80742 from glessard/rdar137710901-addressable-utf8view-span
[6.2, SE-0456] enable span properties for the small-String representation
2025-06-09 14:11:58 -07:00
Guillaume Lessard
c5acba54fa Merge pull request #80777 from glessard/rdar138440979-MutableSpan-mutableBytes
[6.2, SE-0467] add mutableBytes to MutableSpan
2025-04-30 09:46:44 -07:00
Guillaume Lessard
1dda72dceb Merge pull request #81172 from glessard/rdar150282203-false-positive-test-failure-6.2
[6.2, test] eliminate the possibility of a false positive
2025-04-29 18:54:46 -07:00
Guillaume Lessard
53eacb58b1 [test] eliminate the possibility of a false positive 2025-04-29 10:45:35 -07:00
Guillaume Lessard
4e0e2ee427 [test] adjust test values 2025-04-18 10:45:00 -07:00
Guillaume Lessard
637f0279ad [test] remove an unnecessary feature flag 2025-04-18 10:45:00 -07:00
Guillaume Lessard
4ae1ad744d Revert "[temporary] disable small-string support"
This reverts commit ea44ff9fc9.
2025-04-18 10:44:59 -07:00
Guillaume Lessard
e618f79691 [test] MutableSpan.mutableBytes property 2025-04-10 10:31:05 -07:00
Guillaume Lessard
f931d296a2 [stdlib] add InlineArray.mutableSpan 2025-04-09 09:56:06 -07:00
Guillaume Lessard
b90a6fcb41 [stdlib] add CollectionOfOne.mutableSpan 2025-04-09 09:56:06 -07:00
Guillaume Lessard
8e5506e0b2 Revert "[temporary] disable spans over inline elements"
This reverts commit 7b035936e4.
2025-04-04 14:50:51 -07:00
Guillaume Lessard
c37e1525e8 [test] adjust test values 2025-04-02 17:53:12 -07:00
Guillaume Lessard
0976b61ecc Apply suggestions from code review
Co-authored-by: Karoy Lorentey <klorentey@apple.com>
2025-04-02 17:53:12 -07:00
Guillaume Lessard
ea44ff9fc9 [temporary] disable small-string support 2025-04-02 17:53:12 -07:00
Guillaume Lessard
17412a9c64 [test] update bridged string tests
- move to a new file
- create a new `NSString` object for each new test
2025-03-31 12:05:50 -07:00
Guillaume Lessard
03208a693e [test] spans over bridged Substring instances 2025-03-31 12:05:50 -07:00
Guillaume Lessard
9ae58c992b [stdlib] span properties for bridged String instances 2025-03-31 12:05:50 -07:00
Guillaume Lessard
a061425aae [stdlib] add storage property to Substring.UTF8View 2025-03-31 12:05:50 -07:00
Guillaume Lessard
3015bf522d [stdlib] add storage property to String.UTF8View 2025-03-31 12:05:50 -07:00
Guillaume Lessard
7a160a2dfc [stdlib] de-underscore the extracting() methods 2025-03-27 16:55:05 -07:00
Guillaume Lessard
0c3f084630 [test] Array-family mutableSpan properties 2025-03-27 16:55:05 -07:00
Guillaume Lessard
5a087d1190 [stdlib] annotate unsafe initializers 2025-03-27 13:34:34 -07:00
Guillaume Lessard
51708d0f05 [test] add MutableSpan slicing tests 2025-03-27 13:34:34 -07:00
Guillaume Lessard
e470949083 [test] MutableRawSpan tests 2025-03-27 13:34:33 -07:00
Guillaume Lessard
ad8e91bc77 [test] MutableSpan tests 2025-03-27 13:30:13 -07:00
Guillaume Lessard
c21de062bb Merge pull request #78561 from glessard/rdar137710901-span-properties-prototype
[SE-0456] Span properties (part 1)
2025-03-24 08:47:47 -07:00
Guillaume Lessard
7b035936e4 [temporary] disable spans over inline elements 2025-03-21 17:26:29 -07:00
Guillaume Lessard
31daf5ccaf [test] amend test command 2025-03-21 17:24:45 -07:00
Guillaume Lessard
1125f758a2 [test] sending Spans shouldn’t require copyability 2025-03-13 13:54:18 -07:00
Guillaume Lessard
3d6070ddac [test] add a test case 2025-03-10 08:54:08 -07:00
Guillaume Lessard
2980878a0f Update test/stdlib/Span/InlineSpanProperties.swift
Co-authored-by: Ben Rimmington <me@benrimmington.com>
2025-03-10 08:54:08 -07:00
Guillaume Lessard
0e1d207aa0 Update test/stdlib/Span/ArraySpanProperties.swift
Co-authored-by: Ben Rimmington <me@benrimmington.com>
2025-03-10 08:54:07 -07:00
Guillaume Lessard
afb627d189 [test] rename files 2025-03-10 08:54:07 -07:00
Guillaume Lessard
7188d0b187 [stdlib] add span property to KeyValuePairs 2025-03-10 08:54:07 -07:00
Guillaume Lessard
d6ab6d0c2c [test] better names for test suites 2025-03-10 08:54:07 -07:00
Guillaume Lessard
d0d528521a [stdlib] add span property to InlineArray 2025-03-10 08:54:06 -07:00
Guillaume Lessard
264747ac77 [stdlib] add span property to CollectionOfOne 2025-03-10 08:51:56 -07:00
Guillaume Lessard
a5e04e0216 [test] span properties for Array family 2025-03-10 08:51:56 -07:00
Guillaume Lessard
3863b815df [test] test Span.bytes 2025-03-10 08:51:56 -07:00
Guillaume Lessard
1a4105de6d [test] remove uninteresting tests 2025-03-07 13:23:25 -08:00
Guillaume Lessard
22ae9c9367 [test] portability fix 2025-03-07 13:23:25 -08:00
Guillaume Lessard
bd32aa5f6e [stdlib] remove an extracting overload
- `RangeExpression` implicitly involves bounds checking, so this was misleading.
2025-03-05 17:15:03 -08:00
Guillaume Lessard
b70f0f622c [test] add RawSpan tests 2025-03-05 16:28:11 -08:00