Dmitri Gribenko
bf712c5757
Merge pull request #1401 from practicalswift/header-consistency-80-chars
...
[gardening] Fix header consistency for newly introduced header
2016-02-22 18:54:29 -08:00
Dmitri Gribenko
7235595264
Merge pull request #1108 from tinysun212/porting-to-cygwin
...
Porting to cygwin
2016-02-22 18:53:30 -08:00
swiftix
c978092bec
Merge pull request #1392 from swiftix/wip-prespecializations-module
...
Move pre-specializations of popular types away from the stdlib to reduce the stdlib code size.
2016-02-22 18:17:57 -08:00
Dmitri Gribenko
196188b9c8
stdlib: add 'to:' label to dump()
2016-02-22 18:16:38 -08:00
Dmitri Gribenko
3085c4937f
stdlib: add argument labels to _didEnterMain
2016-02-22 18:16:38 -08:00
Dmitri Gribenko
82998a155a
stdlib: _TeeStream: unlock streams in the order opposite to locking order
2016-02-22 18:16:38 -08:00
Dmitri Gribenko
e2f5e05ec4
stdlib: Streamable.writeTo() => .write(to:)
2016-02-22 18:16:37 -08:00
Dmitri Gribenko
8c3fbc51a4
stdlib: rename Optional and IUO intrinsics
2016-02-22 18:16:37 -08:00
Max Moiseev
4b9eab6288
appendContentsOf => appendContents(of:)
2016-02-22 18:02:04 -08:00
Max Moiseev
481bcabcba
[stdlib] API naming guidelines applied to split and join
...
- `separator` label for first argument of `split`
- `join` and related types are renamed to `joined`
2016-02-22 15:43:33 -08:00
Han Sangjin
8c829eef36
Moved LLVM_OPTIONAL_SOURCES
2016-02-23 07:52:43 +09:00
practicalswift
15f88a4a39
[gardening] Fix header consistency for newly introduced header
2016-02-22 23:33:30 +01:00
Max Moiseev
fcad164e18
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-22 12:59:57 -08:00
Dmitri Gribenko
46daf00a43
Merge pull request #1395 from modocache/private-libc-extras
...
[stdlib] Rename "PrivateDarwin" to "PrivateLibc"
2016-02-22 12:57:25 -08:00
Xi Ge
131612d260
Module group: Add protocol group.
2016-02-22 12:47:21 -08:00
Xi Ge
bd86f41ae3
Module group: Move Bit.swift to Math.
2016-02-22 12:47:21 -08:00
Joe Groff
a44b09b6b6
stdlib: Fix handling of standard library types in _typeByName.
...
Mangling for the Swift module is 's', not 'Ss'.
2016-02-22 12:40:38 -08:00
Max Moiseev
675f457c3d
Introducing by argument label to Sequence.split
2016-02-22 12:00:27 -08:00
Xi Ge
9b4f24ef71
Module group: Add Optional and Pointer groups.
2016-02-22 11:50:34 -08:00
Xi Ge
845304a90d
Module group: Address @natecook1000 and @dabrahams's comments.
2016-02-22 11:50:34 -08:00
Brian Gesiak
e7c022679d
[stdlib] Rename "PrivateDarwin" to "PrivateLibc"
...
SwiftPrivateDarwinExtras is used by non-Darwin platforms as well; its
name is misleading. Rename it to SwiftPrivateLibcExtras, which is
closer to its actual function.
2016-02-22 11:07:24 -05:00
Roman Levenstein
4d4c2cdba9
Move pre-specializations of popular types away from the standard library.
...
Pre-specializations were only used by Onone builds, but were kept inside the standard library dylyb anyways. This commit moves all the pre-specializations into a dedicated Swift module and a dynamic library, which are only used by Onone builds.
This reduces the code size of libswiftCore.dylib by 5%.
2016-02-22 07:54:44 -08:00
Han Sangjin
f0e10a281c
Merged LLVM_OPTION_SOURCES in runtime CMakeLists.txt
2016-02-22 20:46:28 +09:00
Han Sangjin
e06c7136cb
Porting to Cygwin. rebased and squashed
2016-02-22 13:20:21 +09:00
Dmitri Gribenko
fdf978828d
Merge pull request #1366 from froody/section-magic
...
[stdlib] Use add_swift_library to build section_magic
2016-02-21 17:04:21 -08:00
Dmitri Gribenko
f27315b6f8
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-20 15:36:04 -08:00
Dmitri Gribenko
3d3d4540e1
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-20 14:37:49 -08:00
Dmitri Gribenko
835ef4186c
Merge pull request #1381 from Nirma/constant_transform_closure
...
Change _transform from variable to constant
2016-02-20 14:25:28 -08:00
Xi Ge
0fc0f6dd23
Module groups: partially address @gribozavr and @natecook1000's comments.
2016-02-20 13:10:06 -08:00
Nicholas Maccharoli
7be032b146
Unify usage of shorthand
...
Use plus-equals shorthand instead of longhand throughout index.swift
2016-02-21 02:46:11 +09:00
Nicholas Maccharoli
09e884bac9
Change _transform from variable to constant
...
Since `_transform` never changes after being given an initial value in `init` it might be best to make it a constant.
2016-02-21 02:20:27 +09:00
Chris Lattner
76b2577236
Merge pull request #1377 from WorldDownTown/refactor_zero_count_separator
...
Rewrite _copyToNativeArrayBuffer to use early return if separator count is zero
2016-02-20 09:03:20 -08:00
WorldDownTown
bb762496bb
Rewrite _copyToNativeArrayBuffer to use early return if separator count is zero
2016-02-20 21:09:55 +09:00
Dmitri Gribenko
7e88bd7b2f
stdlib: remove dead code
2016-02-20 02:30:46 -08:00
Dmitri Gribenko
a5bdf9bc32
stdlib: Optional._unsafelyUnwrapped => ._unsafelyUnwrappedUnchecked
2016-02-20 00:55:36 -08:00
Dmitri Gribenko
a6696ef996
stdlib: lowercase option set names in a comment
2016-02-20 00:55:36 -08:00
Dmitri Gribenko
9968dee759
stdlib: remove dead code
2016-02-20 00:55:36 -08:00
Dmitri Gribenko
2c14a00de2
stdlib: add labels to DictionaryLiteral.Element tuple
2016-02-20 00:55:35 -08:00
Dmitri Gribenko
63481be8bd
stdlib: lowercase cases of the PlaygroundQuickLook enum
2016-02-20 00:55:35 -08:00
Dmitri Gribenko
ad604ed7c4
Merge pull request #1367 from practicalswift/remove-redundant-nil-initialization
...
[gardening] Remove redundant assignments: "var foo: Foo? = nil" → "var foo: Foo?"
2016-02-19 20:45:46 -08:00
Max Moiseev
78ba5d5f3f
[stdlib] Requires in comments changed to Precondition
2016-02-19 18:57:26 -08:00
Max Moiseev
40b1a0b7e0
[stdlib] all sorts of require renamed back to precondition
2016-02-19 18:21:29 -08:00
Xi Ge
239c803dbb
Module group: Add a Json file to primitively group stdlib source files.
2016-02-19 17:21:28 -08:00
Dmitri Gribenko
b1ef18fb75
stdlib: lowercase cases of AncestorRepresentation and DisplayStyle enums
2016-02-19 16:06:26 -08:00
Dmitri Gribenko
380a13e98f
stdlib: lowercase cases of the _DefaultDescendantRepresentation enum
2016-02-19 15:18:55 -08:00
Dmitri Gribenko
f64f0be93a
stdlib: ManagedBuffer.create(_:) => .create(minimumCapacity:)
2016-02-19 15:04:54 -08:00
Dmitri Gribenko
08229b21f7
stdlib: fix coding style
2016-02-19 15:04:54 -08:00
Tom Birch
cb4e11b53e
[stdlib] Use add_swift_library to build section_magic
...
Add_library doesn't build per-target variants of the library, but
add_swift_library does. Also changed to install as part of stdlib, since it's
needed even if you aren't building the compiler.
2016-02-19 13:46:38 -05:00
practicalswift
401fe4e577
[gardening] Remove redundant assignment: "var foo: Foo? = nil" → "var foo: Foo?"
2016-02-19 19:09:08 +01:00
Dmitri Gribenko
b90470e2fe
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-19 09:51:53 -08:00