Jordan Rose
|
979e4a8e34
|
stdlib: Rename {Float,Double.CGFloat}.NaN to 'nan'
This follows the API guidelines and is consistent with the printed form.
'quietNaN' does not change, though.
|
2016-02-24 17:46:12 -08:00 |
|
Max Moiseev
|
61c837209b
|
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
|
2016-02-04 16:13:39 -08:00 |
|
practicalswift
|
ca9e488f30
|
[gardening] Add "-*- swift -*-" to *.swift.gyb. Remove from *.swift.
|
2016-01-23 10:27:03 +01:00 |
|
Doug Gregor
|
7d70b704e4
|
Merge commit '5e11e3f7287427d386636a169c4065c0373931a8' into swift-3-api-guidelines
|
2016-01-19 23:18:20 -08:00 |
|
practicalswift
|
ff0bf801e5
|
Remove empty line.
|
2016-01-12 00:28:36 +01:00 |
|
practicalswift
|
21c3d93bea
|
Remove unused imports.
|
2016-01-09 01:39:22 +01:00 |
|
Max Moiseev
|
f51e708a8f
|
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
|
2016-01-04 12:25:25 -08:00 |
|
practicalswift
|
50baf2e53b
|
Use consistent formatting in top of file headers.
|
2016-01-04 02:17:48 +01:00 |
|
Zach Panzarino
|
e3a4147ac9
|
Update copyright date
|
2015-12-31 23:28:40 +00:00 |
|
Max Moiseev
|
2f7b64e475
|
Merge remote-tracking branch 'origin' into swift-3-api-guidelines
|
2015-12-21 12:02:13 -08:00 |
|
Dmitri Gribenko
|
15a9649062
|
Repeated(repeating:length:) => repeatElement(_:count:)
|
2015-12-17 16:24:47 -08:00 |
|
Dmitri Gribenko
|
86f1258810
|
Repeat => Repeated
|
2015-12-17 16:24:11 -08:00 |
|
Dmitri Gribenko
|
73ce9ae7e9
|
Collection.count => .length
And other API changes that naturally fall out from this, like
Array(repeating:count:) => Array(repeating:length:).
|
2015-12-17 15:55:29 -08:00 |
|
Patrick Pijnappel
|
e6b08b9781
|
Add tests for Int(_:radix) accepting unintentional cases (SR-187)
|
2015-12-17 11:22:07 +11:00 |
|
Max Moiseev
|
2021dd5a4d
|
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
|
2015-12-15 12:49:22 -08:00 |
|
Erik Eckstein
|
0830c36974
|
[tests] add import statements to prevent unresolved symbols when compiling StdlibUnittest with -sil-serialize-all.
This is the second part of 308f39fe56.
It fixes (better: works-around) linker errors when testing in optimized mode.
|
2015-12-15 10:46:10 -08:00 |
|
Dmitri Gribenko
|
df17ddbc9b
|
init(count: Int, repeatedValue: Element) => init(repeating:count:)
Affected types: _ArrayType, Array, ArraySlice, ContiguousArray, Repeat,
String (initializers from Character and UnicodeScalar)
|
2015-12-09 17:14:37 -08:00 |
|
Dave Abrahams
|
b3ca7eed40
|
gyb parsing fixes
Fixes <rdar://problem/18900352> gyb miscompiles nested loops
Swift SVN r32863
|
2015-10-24 04:47:57 +00:00 |
|
Arnold Schwaighofer
|
f7771859d8
|
Rename the optimize_test feature to executable_test and document that feature.
Swift SVN r29213
|
2015-06-01 23:44:13 +00:00 |
|
Arnold Schwaighofer
|
3643c614a3
|
Run tests in optimize test modes
This runs all files that have a target-build-swift or target-run-stdlib-swift
RUN line in optimize test mode.
Swift SVN r29206
|
2015-06-01 21:23:31 +00:00 |
|
Dmitri Hrybenko
|
270ec3b67c
|
stdlib: protocol extensions: de-underscore reduce()
Swift SVN r28237
|
2015-05-07 00:30:25 +00:00 |
|
Dmitri Hrybenko
|
9c03811987
|
stdlib: add initializers from String to integer and floating-point types
rdar://17232531
Swift SVN r27159
|
2015-04-09 03:20:41 +00:00 |
|
Dave Abrahams
|
ac3f047496
|
[stdlib] Renaming fallout from Mirror API review
toString(x) => String(x)
toDebugString(x) => String(reflecting: x)
Printable => CustomStringConvertible
DebugPrintable => CustomDebugStringConvertible
Also updated comments to clarify these protocols
Swift SVN r27090
|
2015-04-07 20:32:26 +00:00 |
|
Dmitri Hrybenko
|
5ca75b75e3
|
Move integer parsing APIs to SwiftExperimental
These APIs did not go through API review.
Swift SVN r25890
|
2015-03-09 19:04:21 +00:00 |
|
Dmitri Hrybenko
|
652eb8f948
|
stdlib: on Linux, create a non-NULL locale for strto*_l functions
Unlike Darwin, GNU libc does not provide a shortcut to access the C
locale by using a NULL locale_t.
Swift SVN r25847
|
2015-03-08 04:06:43 +00:00 |
|
Dave Abrahams
|
c2aa4f9be9
|
[stdlib] numeric parsing: floating over/underflow
For consistency with the integers, constructing a Float/Double/Float80
from a String produces nil upon overflow.
Swift SVN r25692
|
2015-03-02 22:32:29 +00:00 |
|
Dave Abrahams
|
35cf43ae25
|
[stdlib] numeric parsing: Address Dmitri's review
- Made floating-point parsing truly locale-independent.
- Added tests for non-ASCII strings.
Swift SVN r25688
|
2015-03-02 21:35:50 +00:00 |
|
Dave Abrahams
|
367f308888
|
[stdlib] Floating-point parsing
Swift SVN r25627
|
2015-02-28 00:12:30 +00:00 |
|
Graham Batty
|
849b7fda1f
|
Update new tests for linux.
Swift SVN r25605
|
2015-02-27 19:13:38 +00:00 |
|
Dave Abrahams
|
9f68930f6b
|
[stdlib] Integer parsing: allow leading '+'
also add doc comments to the public API.
Swift SVN r25588
|
2015-02-27 02:08:45 +00:00 |
|
Dave Abrahams
|
ab07daa73d
|
[stdlib] Drop validation tests for numeric parsing
The smoke tests can give us enough checking.
Swift SVN r25587
|
2015-02-27 02:08:44 +00:00 |
|
Dave Abrahams
|
c5e47c0b76
|
[stdlib] Integer parsing: Add two important checks
Swift SVN r25550
|
2015-02-26 11:36:31 +00:00 |
|
Dave Abrahams
|
bd12dcf135
|
[stdlib] Add integer parsing
Addresses <rdar://17232531>; floating point still remains to be done.
Swift SVN r25549
|
2015-02-26 11:22:35 +00:00 |
|