Commit Graph

50 Commits

Author SHA1 Message Date
Guillaume Lessard
044e53f3b2 [test] adjust String span tests 2025-06-23 18:38:33 -07:00
Guillaume Lessard
0433cd292c [stdlib] add UMBP.mutableSpan accessor 2025-06-16 22:28:21 -07:00
Guillaume Lessard
f952ca5988 [stdlib] add URMBP.mutableBytes accessor 2025-06-16 22:28:21 -07:00
Guillaume Lessard
694e94b360 [test] remove repetitions 2025-06-07 07:48:34 -07:00
Guillaume Lessard
8a2ff96521 [test] UTF8Span from inline-stored Substring instances 2025-06-07 07:48:33 -07:00
Guillaume Lessard
bc59aedc3f [test] UTF8Span from inline-stored String instances 2025-06-07 07:48:33 -07:00
Guillaume Lessard
594f46c47c Merge pull request #81170 from glessard/rdar150282203-false-positive-test-failure
[test] eliminate the possibility of a false positive
2025-04-30 12:28:33 -07:00
Guillaume Lessard
8f1ab06841 [test] eliminate the possibility of a false positive 2025-04-29 10:22:27 -07:00
Guillaume Lessard
493e853039 Merge pull request #80684 from glessard/rdar137710901-addressable-utf8view-span
[SE-0456] enable span properties for the small-String representation
2025-04-17 22:52:14 -07:00
Guillaume Lessard
f349282dff [test] adjust test values 2025-04-14 14:26:01 -07:00
Guillaume Lessard
f8d62d52d9 [test] remove an unnecessary feature flag 2025-04-14 10:48:42 -07:00
Guillaume Lessard
2d50c6cce9 Revert "[temporary] disable small-string support"
This reverts commit ea44ff9fc9.
2025-04-14 10:48:42 -07:00
Guillaume Lessard
1f93566d69 Merge pull request #80517 from glessard/rdar138440979-MutableSpan-mutableBytes
[SE-0467] add mutableBytes to MutableSpan
2025-04-13 10:33:09 -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
Guillaume Lessard
16750f6de5 [test] add Span tests 2025-03-05 16:28:11 -08:00