https://github.com/apple/swift

sort by:
Revision Author Date Message Commit Date
9e755c2 Merge pull request #1519 from kballard/objc-blocks-include-param-names [Swift 2.2][PrintAsObjC] Print argument names for function/block types 24 March 2016, 23:04:49 UTC
e19dc7c Merge pull request #1804 from glessard/warning-typo [Swift 2.2] typo correction 23 March 2016, 17:02:52 UTC
8991f50 typo correction 23 March 2016, 01:23:33 UTC
226f288 Bump version to 2.2.1 for a potential future dot release. 22 March 2016, 18:40:22 UTC
c9e72b3 Merge pull request #1684 from johnno1962a/swift-2.2-branch Fix #! typo 15 March 2016, 04:34:51 UTC
e57cb34 Fix #! typo 14 March 2016, 23:07:41 UTC
dfdaaf5 Merge pull request #1641 from johnno1962a/swift-2.2-branch [SourceKit] Fix majority of 7.3b5 “Quick Help” crashes 12 March 2016, 18:10:20 UTC
441e36a Add of comment affected line offsets of test 12 March 2016, 00:19:28 UTC
38a4154 Make test self-contained using CHECK: 11 March 2016, 23:48:51 UTC
73a1e3b Tidy-up of test. 11 March 2016, 23:05:12 UTC
adeafef A test case for the most common SourceKit failure. 11 March 2016, 18:42:40 UTC
60785cc Fix majority of SourceKit "source.request.cursorinfo" crashes due to assertion failure. 11 March 2016, 09:24:16 UTC
45353ca Merge pull request #1563 from johnno1962/swift-2.2-script Add script to build toolchain 10 March 2016, 02:33:40 UTC
4a24a8c Specify bundle prefix as argument 09 March 2016, 18:59:18 UTC
911f36a Tidy up toolchain script 09 March 2016, 15:47:17 UTC
f628602 Fix typo 07 March 2016, 17:50:08 UTC
66dac9d Better OS X detection 07 March 2016, 17:48:49 UTC
5e1b324 Merge branch 'swift-2.2-branch' into swift-2.2-script 07 March 2016, 15:30:08 UTC
dcc486b Add script to build toolchain 07 March 2016, 15:20:34 UTC
51c4e53 [PrintAsObjC] Print argument names for function/block types Including the argument names helps code completion in Xcode. Fixes SR-365. Also fixes an issue where a property of a block/function type whose name is a clang keyword would produce an invalid declaration, e.g. var `struct`: (Int -> Int)? was printing as @property (nonatomic, copy, getter=struct, setter=setStruct:) NSInteger (^ _Nullable struct)(NSInteger)_; 03 March 2016, 05:10:26 UTC
96628e4 Merge pull request #1485 from tkremenek/swift-2.2-PR-LetPropertiesOptPass-Miscompile Fix a bug in LetPropertiesOptPass 29 February 2016, 22:48:56 UTC
27123b9 Merge branch 'swift-2.2-branch' into swift-2.2-PR-LetPropertiesOptPass-Miscompile 29 February 2016, 21:44:27 UTC
7a0b677 Merge pull request #1486 from shahmishal/swift-2.2-branch Sync utils/update-checkout with master 29 February 2016, 21:43:11 UTC
ee924ad Fix grammar issue in help text 29 February 2016, 20:55:01 UTC
a05023b Fix new PEP8 violation: "continuation line with same indent as next logical line" 29 February 2016, 20:54:40 UTC
93f67b5 update-checkout: add an option to skip given repositories 29 February 2016, 20:54:00 UTC
a54f318 update-checkout: change --clone to also update repositories --clone used to skip updating the repositories, which was causing confusion. Developers expect update-checkout to update their local copy, and optionally clone extra repositories. 29 February 2016, 20:50:14 UTC
00dfc58 Rename --fast to --skip-history 29 February 2016, 20:49:48 UTC
986afaf Add --fast flag to utils/update-checkout 29 February 2016, 20:49:14 UTC
0df6839 [update-checkout] Always update llvm/clang/llbuild Get rid of the `--all` flag, since having an out-of-date llvm or clang can cause build failures, and it's not immediately obvious that `swift/utils/update-checkout` isn't updating those repos. 29 February 2016, 20:48:05 UTC
5852e5d Fix a bug in LetPropertiesOptPass The optimization should not proceed if there is more than one assignment to a let property inside an initializer. In this case, the value of the let property is considered unknown. 29 February 2016, 20:07:33 UTC
b316a3f Suppress diagnostics when using #if swift around declarations There are two similar but separate code paths for conditionally compiling declarations and statements. Previously, only statements were properly covered with a diagnostic transaction. rdar://problem/24844513 26 February 2016, 00:34:43 UTC
9e0b896 Consistently use list(APPEND for adding linker arguments The Xlinker flags were getting globbed into a single string since we started adding current/compatibility version arguments to the linker. rdar://problem/24622276 24 February 2016, 00:45:27 UTC
1db4552 dramatically improve error recovery when "typealias" keyword is used in a class or struct conforming to a protocol. Now we produce a single error with a fixit hint (rewriting to typealias). Before we produced: t.swift:7:3: error: associated types can only be defined in a protocol; define a type or introduce a 'typealias' to satisfy an associated type requirement associatedtype T = Int ^ t.swift:7:17: error: consecutive declarations on a line must be separated by ';' associatedtype T = Int ^ ; t.swift:7:18: error: expected declaration associatedtype T = Int ^ t.swift:6:7: error: type 'C' does not conform to protocol 'P' class C : P { ^ t.swift:3:18: note: protocol requires nested type 'T' associatedtype T ^ 23 February 2016, 21:19:01 UTC
da5b8a0 [SourceKit] Fix issue where the offset of diagnostic fixits is not updated after an edit request. rdar://23919223 20 February 2016, 08:56:03 UTC
0eb70b6 EscapeAnalysis: fix a problem where a inconsistent connection graph can be generated. rdar://problem/24686791 19 February 2016, 16:15:12 UTC
9376b4e Merge pull request #1359 from slavapestov/fix-closure-capture-boxes-regression-2.2 Fix closure capture boxes regression 19 February 2016, 08:15:42 UTC
6a0cc67 SIL: Add test case for <rdar://problem/24470533> This is one of the reductions from <https://bugs.swift.org/browse/SR-661>. 19 February 2016, 05:47:40 UTC
f0ad2a1 SIL: Don't use interface types in abstraction pattern This is broken in Swift 2.2 and was only fixed in master. It looks like passing of the interface type into type lowering was introduced by this commit from a recent redesign of closure captures: https://github.com/apple/swift/commit/b76c0abc37c86236ade80db033b14fe095658479 Fixes <rdar://problem/24470533>, which is part of <https://bugs.swift.org/browse/SR-661>. 19 February 2016, 05:46:57 UTC
72e40d5 [SourceKit] Don't forget to check for nullptr After 7400d484 we tried to walk into enum elements, but forgot to check for missing types (which caused an assertion in getType) or element decls (which caused an assertion or crash inside passReference). rdar://problem/24634223 Conflicts: lib/IDE/SourceEntityWalker.cpp 18 February 2016, 23:53:14 UTC
ae90d46 Merge pull request #1358 from natecook1000/natecook-2.2-abstracts [Swift 2.2] Add missing abstracts for types and protocols. 18 February 2016, 22:52:37 UTC
dd3f101 Revert "Runtime: Remove retainCount entry points." This reverts commit 51e0594e1cdadc6beec7cf4dfb01bd32bf9dbd58. The retainCount entry points are used by Instruments. 18 February 2016, 19:03:06 UTC
cf8d5da Add missing abstracts for types and protocols. 18 February 2016, 03:55:09 UTC
ef1c502 Reapply "[Swift 2.2] StdLib documentation improvements" ...now that it has been approved This reverts commit 2d3fcf1601b40a5d5c97057765d5754c23a7438a. and reinstates commit fb5c9a0 Signed-off-by: Dave Abrahams <dabrahams@apple.com> 17 February 2016, 22:28:45 UTC
849bdf2 Merge pull request #1330 from DougGregor/swift-2.2-branch [Sema] An initializer in a protocol extension is effectively 'required'. 17 February 2016, 00:50:00 UTC
9b97c2d Merge pull request #1332 from apple/revert-1327-natecook-2.2-doc-fixes Revert "[Swift 2.2] StdLib documentation improvements" 16 February 2016, 23:59:15 UTC
2d3fcf1 Revert "[Swift 2.2] StdLib documentation improvements" 16 February 2016, 23:58:54 UTC
fb5c9a0 Merge pull request #1327 from natecook1000/natecook-2.2-doc-fixes [Swift 2.2] StdLib documentation improvements 16 February 2016, 23:58:33 UTC
cbbb8a1 [Sema] An initializer in a protocol extension is effectively 'required'. Fixes rdar://problem/24575507. 16 February 2016, 23:07:50 UTC
608adb6 Fix tests with updated documentation. 16 February 2016, 20:54:06 UTC
81f1506 Mark `true` as code in documentation comments. 16 February 2016, 20:50:24 UTC
5d1059a Convert imperative function summaries to present. i.e., "Return ..." -> "Returns ..." 16 February 2016, 20:50:14 UTC
acc07c5 Remove style on *generator* and friends. 16 February 2016, 20:49:03 UTC
d0b0efb Make doc consistency fix for String.UnicodeScalarView´ 16 February 2016, 20:48:22 UTC
3f5c53a [stdlib] Fix a spate of typos. Fix bulleted list formatting in Unsafe(Mutable)Pointer. Fix incorrect type mentions on CustomPlaygroundQuickLookable. Use 'An' instead of 'A' before '8-bit (un)signed integer. Fix error in Range sample code. Fix typo in Dictionary.updateValue(_:forKey:) doc comment. Remove extra documentation in Mirror.AncestorRepresentation. Fix improper case for operators and methods in IntegerArithmeticType. 16 February 2016, 20:47:20 UTC
e53037a Merge pull request #1320 from slavapestov/failing-init-early-return-2.2-fix Runtime: Fix crash with non-pointer isa in swift_deallocPartialClassI… 15 February 2016, 22:37:37 UTC
ccfaec7 Runtime: Fix crash with non-pointer isa in swift_deallocPartialClassInstance() Deallocation of partially-initialized instances of @objc classes isn't supported yet, but let's avoid a regression compared to Swift 2.1 behavior by fixing the one case that used to work, where the early return occurs after all stored properties have been initialized. Fixes SR-704. 15 February 2016, 22:27:34 UTC
973e4a6 Merge pull request #1284 from slavapestov/generic-objc-subclass-fix-2.2 Fix for non-generally-sized-but-generic subclasses of @objc classes 15 February 2016, 22:25:31 UTC
08e2a7c IRGen: Always use swift_initClassMetadata_UniversalStrategy() even if the class does not have generically-sized fields This function points the ivar offsets at per-metadata field offsets before passing off the class to the Objective-C runtime, ensuring we don't slide the global ivar offsets multiple times. The swift_initializeSuperclass() function does not do this ivar cloning, so it cannot be used for generic classes even if they do not have generically-sized fields. An alternative would be to refactor the runtime to clone ivar offset vectors in swift_initializeSuperclass(), but this doesn't seem to be worth it for now. Fixes <rdar://problem/24592548>. 12 February 2016, 19:27:35 UTC
3f64dd3 Merge pull request #1258 from jckarter/dependent-generic-superclass-constraint-2.2 IRGen: Work around crash lowering generic base class-constrained type parameter. 10 February 2016, 21:39:26 UTC
0027316 IRGen: Work around crash lowering generic base class-constrained type parameter. Type lowering a type with abstract type parameters requires a generic signature, but type lowering does not ever affect class types, so we can be unprincipled and bypass the problem. Work around for rdar://problem/24590570. 10 February 2016, 21:12:29 UTC
9ae9537 IRGen: Don't try to bind witness tables for archetype protocol requirements that don't need them. Fixes rdar://problem/24568361. 09 February 2016, 23:22:15 UTC
f77d3b3 Warn about implicit tuple splat in a parameter list. 09 February 2016, 22:43:40 UTC
2436e53 Merge pull request #1248 from DougGregor/objc-enum-renamed-reference-2_2 [PrintAsObjC] Use @objc name for enums in enum references 09 February 2016, 22:23:22 UTC
a9a8be3 [PrintAsObjC] Use @objc name for enums in enum references Also make sure the `FooDomain` constant for `ErrorType` enums uses the correct name. Fixes SR-693: Custom named @objc enum still exposes original Swift name in Objective-C 09 February 2016, 21:50:42 UTC
b9ccdf4 [CodeCompletion] Disallow type variables in result of typeCheckUnresolvedExpr Fixes a use-after-free when doing code-completion where the expected type is an array of generic type (or any bound generic type). takeArray<T>(x: [T]) {} takeArray(foo.<here>) rdar://problem/24521470 09 February 2016, 19:34:54 UTC
29c7a5f Add missing requires objc_interop to recent test It broke on the linux bots. 09 February 2016, 14:33:50 UTC
59a4b52 [InterfaceGen] Fix deserializing submodule ImportDecls Use the isScoped() bit to distinguish scoped imports from submodule imports (both of which are split by null bytes in the string) so that we don't try to lookup a submodule name as if it were a decl (leading to assertion failures when it wasn't found). This fixes interface generation of swift modules that import clang submodules. rdar://problem/24534122 09 February 2016, 14:33:43 UTC
d45cca1 Merge pull request #1225 from apple/fix-compiler-version-build [Swift 2.2] Extract Version value out of optional when parsing _compiler_version 07 February 2016, 05:50:52 UTC
37f6b57 Extract Version value out of optional when parsing _compiler_version rdar://problem/24476174 07 February 2016, 02:52:23 UTC
b59a23b Merge pull request #1219 from tkremenek/swift-2.2-PR-ObjectCollectionLitralDisambiguation [Swift 2.2][Parser] Disambiguate between object literals and collection literals. 06 February 2016, 02:33:24 UTC
9620193 [Parser] Disambiguate between object literals and collection literals. Now that we have expressions that start with #, the [# introducer for object literals is no longer guaranteed to indicate an object literal. For example: [#line, #column] is an array literal and [#line : #column] is a dictionary literal. Use additional lookahead in the parser to disambiguate these cases from object literals. Fixes rdar://problem/24533081. 06 February 2016, 02:09:26 UTC
4de228d Merge pull request #1218 from tkremenek/swift-2.2-PR-SE-0028 [Swift 2.2] Pull in changes for SE-0028. 06 February 2016, 02:08:35 UTC
76ed0c2 Revert "[Parser] Disambiguate between object literals and collection literals." This reverts commit b6d4027d01756bb82e9c1c383db32f55b9730d12. 06 February 2016, 02:02:02 UTC
479b595 [CodeCompletion] Fix completion after unspaced binary operator We were miscalculating 'isRightBound' when the RHS was a code-completion token leading to missing completions in unspaced binary expressions 1+<here> 1...<here> rdar://problem/24278699 06 February 2016, 01:56:09 UTC
b6d4027 [Parser] Disambiguate between object literals and collection literals. Now that we have expressions that start with #, the [# introducer for object literals is no longer guaranteed to indicate an object literal. For example: [#line, #column] is an array literal and [#line : #column] is a dictionary literal. Use additional lookahead in the parser to disambiguate these cases from object literals. Fixes rdar://problem/24533081. 06 February 2016, 01:44:54 UTC
47e75b1 update changelog. 06 February 2016, 00:33:58 UTC
3983f83 Switch the stdlib to use #file instead of __FILE__, and deprecate the __FILE__ identifiers. This also updates the tests that would otherwise fail. # Conflicts: # stdlib/private/StdlibCollectionUnittest/MinimalCollections.swift.gyb 06 February 2016, 00:33:41 UTC
a0983c3 Add support for #file/#line, etc according to SE-0028. __FILE__ and friends are still accepted without deprecation warning as of this patch. 06 February 2016, 00:31:33 UTC
f06dc30 Centralize the parsing logic for #identifiers and make it more similar to the identifier parsing logic. 06 February 2016, 00:30:47 UTC
e74d836 Merge pull request #1193 from johnno1962/swift-2.2-branch Fixes missing Xcode "Quick Help" for enum values as switch case patterns 05 February 2016, 17:13:40 UTC
ceb17b8 Don't error when lexing UTF-8 BOM 05 February 2016, 15:34:04 UTC
2f02635 [SourceKit] Bring back the 'com.apple.' prefix for the bundle identifier of the XPC service. We need this currently. Later-on we can make this more configurable. 05 February 2016, 01:52:41 UTC
ccf18e7 Fixes missing Xcode "Quick Help" for enum values as switch case patterns. 04 February 2016, 22:11:09 UTC
6a0736c Merge pull request #1188 from DougGregor/remove-swift-3-migration [Swift 2.2] Remove hackery introduced for Swift 3 migration 04 February 2016, 17:32:14 UTC
ff70ca6 Merge pull request #1195 from tkremenek/swift-2.2-PR-CodeCompletionFix-Keywords-as-Labels [Swift 2.2] Fix putting back-ticks around argument labels that are keywords. 04 February 2016, 02:24:04 UTC
df60089 [Code completion] Only escape var/let/inout in call argument lists. Argument labels don't need to be escaped in calls, so don't escape them in code completions for calls. Fixes <rdar://problem/24460721>. 03 February 2016, 22:38:49 UTC
9db57b3 Fixes missing Xcode "Quick Help" for enum values as switch case patterns. 03 February 2016, 21:59:33 UTC
167e039 Merge pull request #1185 from DougGregor/selector-code-completion [Swift 2.2] Code completion improvements for #selector 03 February 2016, 21:57:54 UTC
078a9a0 Remove hackery introduced for Swift 3 migration that should be in the 2.2 compiler. 03 February 2016, 19:08:55 UTC
fbe2c08 [Code completion] Fix InObjCSelectorExprRAII destructor from f5cb115 03 February 2016, 17:26:49 UTC
f5b317d [Code completion] Code complete compound function names within #selector. When we're code completing a postfix or dot expression inside the subexpression of an #selector expression, prefer compound function names. This helps us write, e.g., #selector(UIView. and get completions such as "insertSubview(_:aboveSubview:)". Fixes rdar://problem/24470075. 03 February 2016, 17:17:53 UTC
1c3f362 [Code completion] For a Selector argument, provide #selector(<#objc method#>). 03 February 2016, 17:16:13 UTC
634acb4 Merge pull request #1156 from tkremenek/SR-650 [Swift 2.2] fix SR-650: REGRESSION: Assertion failed 03 February 2016, 02:16:12 UTC
58c5c85 Merge pull request #1159 from aschwaighofer/my-swift-2.2-branch [Swift 2.2] Perform a dynamic method call if a class has objc ancestry in specula… 03 February 2016, 02:12:08 UTC
d16df7a build-script: force LLVM to use libc++ on Darwin rdar://problem/24452118 03 February 2016, 02:06:57 UTC
9df572b Merge pull request #1171 from shahmishal/swift-2.2-branch [Preset] Add preset to test all platform 02 February 2016, 22:15:41 UTC
f2797f1 [utils] Add preset to test all platform 02 February 2016, 22:14:01 UTC
3952722 Merge pull request #1169 from shahmishal/swift-2.2-branch Support to checkout specific branch using update-checkout script 02 February 2016, 22:02:40 UTC
fc23740 Merge pull request #1170 from tkremenek/Swift2.2-selector [Swift 2.2] pull in SE-0022 into swift-2.2-branch. 02 February 2016, 21:55:13 UTC
back to top