Dmitri Gribenko
1d6b08ba97
stdlib: share the Unicode dataset across different test files
2016-08-07 23:29:24 -07:00
Robert Widmann
f2165a6e64
Restore test lost in transition to String(describing:)
2016-07-30 18:14:00 -07:00
Robert Widmann
7ad2620f5b
Keep cleaning up
2016-07-28 18:50:22 -07:00
Xin Tong
9709b0e510
Merge pull request #3662 from trentxintong/unicodescalar
...
SE-0128 - Change unicodescalar initializer to failable
2016-07-26 16:44:14 -07:00
Joe Groff
21c15d8fe9
Update validation tests for id-as-Any.
2016-07-25 06:40:37 -07:00
Xin Tong
bbf86865d6
Change unicodescalar to failable
...
We were using a precondition which crashes the program when invalid input is
provided. We want to provide a way to gracefully check and handle invalid input
or shutdown the program if necessary.
SR-1930
2016-07-21 15:27:13 -07:00
Dave Abrahams
a68f648fab
encode(_:output:) => encode(_:into processCodeUnit:)
2016-07-19 07:13:00 -06:00
Michael Gottesman
fc37603c5f
Revert "Implement SE-0118"
2016-07-18 16:44:58 -07:00
Dave Abrahams
da2947f079
encode(_:output:) => encode(_:into processCodeUnit:)
2016-07-18 14:30:46 -06:00
Michael Gottesman
40e1991e12
Revert "Name and label changes for closure parameters (for review only) ( #2981 )"
...
This reverts commit 18406900ba .
2016-07-15 19:45:26 -07:00
Dave Abrahams
18406900ba
Name and label changes for closure parameters (for review only) ( #2981 )
...
Implement SE-0118 Name and label changes for closure parameters
[SE-0118](https://github.com/apple/swift-evolution/blob/master/proposals/0118-closure-parameter-names-and-labels.md )
2016-07-15 15:31:48 -07:00
Patrick Pijnappel
2cce7dbb29
[stdlib] Remove iterator post-nil checks from UTF validation tests
2016-07-05 20:49:13 +10:00
rintaro ishizaki
4b51d85abb
[test] Add %target-run-simple-swiftgyb
...
* Utilize %target-run-simple-swiftgyb where possible
2016-06-15 11:49:44 +09:00
Mishal Shah
87b7bcfd3e
Update master to build with Xcode 8 beta 1, OS X 10.12, iOS 10, tvOS 10, and watchOS 3 SDKs.
2016-06-14 14:53:55 -07:00
Rintaro Ishizaki
1bdce7ced6
[lit] Add substitutions: %utils and %line-directive
...
%utils => ${SWIFT_SOURCE_DIR}/utils
%line-directive => ${SWIFT_SOURCE_DIR}/utils/line-directive
2016-06-11 02:41:15 +09:00
Maxim Moiseev
38f7ec2a32
[stdlib] Fix the String.decodeCString for UTF16 and UTF32 ( #2681 )
...
[stdlib] Fix the `String.decodeCString` for UTF16 and UTF32
Resolves [SR-1578](https://bugs.swift.org/browse/SR-1578 ]
Essentially the problem was that `strlen` is not the right way of
obtaining a length of anything but null-terminated UTF-8 sequence of
characters. Other encodings require alternative mechanisms.
2016-05-25 15:51:10 -07:00