Commit Graph

109 Commits

Author SHA1 Message Date
Joe Groff
4caeb49449 Missed a heading.
Swift SVN r17733
2014-05-08 23:27:42 +00:00
Joe Groff
fa74bfc367 Add a proposal for the C pointer language model.
Swift SVN r17732
2014-05-08 23:26:26 +00:00
Ted Kremenek
4e70269c53 More renaming 'unchecked optional' to 'implicitly unwrapped optional'.
Swift SVN r17236
2014-05-02 06:22:01 +00:00
Dave Abrahams
8e2e7e9bfc [stdlib] Hide all BuiltinXXXConvertible's
During String API review we decided these weren't for user consumption.

Swift SVN r17167
2014-05-01 19:35:50 +00:00
Ted Kremenek
6caf910d32 Implement new syntactic sugar for UncheckedOptional<T>.
This leaves in the existing syntax for @unchecked T?.  That will
be addressed in later patches.

There's still a mysterious case where some of the SIL output
includes UncheckedOptional<T> and some places T!.

Moreover, this doesn't handle SourceKit's behavior for printing
for overrides.  This just handles parsing the 'T!' syntax.

Swift SVN r16945
2014-04-27 21:59:29 +00:00
Chris Lattner
61de944e51 typographical changes.
Swift SVN r15721
2014-04-01 05:00:37 +00:00
Joe Groff
2c804dabe2 Update failable initializers proposal.
Use the ``init() -> T?`` return type syntax we introduced for whole-object initializers, and limit the scope of initializer failure to @objc initializers; we don't need to be able to initiate initializer failure from Swift for 1.0.

Swift SVN r15703
2014-03-31 23:06:48 +00:00
Joe Groff
ad1297a094 [sooner] Save some thoughts about generators.
Swift SVN r15624
2014-03-29 17:30:04 +00:00
Doug Gregor
2477afe657 Rework the section on "dropping prepositions" to be more specific
Swift SVN r15464
2014-03-25 20:26:13 +00:00
Doug Gregor
2c94b6a259 Make it clearer that we're planning to drop "with" and "for".
Swift SVN r15463
2014-03-25 16:43:17 +00:00
Doug Gregor
751d5bd0f1 Reword and clarify an awful paragraph.
Swift SVN r15459
2014-03-25 16:28:30 +00:00
Doug Gregor
0e4044041f Take Jordan's suggestion to rename @selector(...) to @objc(...).
Swift SVN r15426
2014-03-24 22:49:55 +00:00
Doug Gregor
c5ffbcacc7 Fix a few typos
Swift SVN r15425
2014-03-24 22:47:51 +00:00
Doug Gregor
059a549e84 Formatting fixes.
Swift SVN r15424
2014-03-24 22:32:49 +00:00
Doug Gregor
ee599c0bdd Objective-C and Smalltalk don't have keyword arguments per se
Swift SVN r15423
2014-03-24 22:32:47 +00:00
Doug Gregor
a586b6d31d Unified function syntax: switch to space-separated API name / parameter name.
Swift SVN r15420
2014-03-24 17:55:22 +00:00
Doug Gregor
c3183aec70 Remove "by" as a dropped preposition (it's still a preposition).
In Cocoa selectors, "by" is often used before an action, i.e.,

  URLByAppendingPathExtension:
  characterRangeByExtendingPosition:inDirection:
  dateByAddingComponents:toDate:options:

Dropping the preposition doesn't make the argument name better.

Swift SVN r15417
2014-03-24 16:38:40 +00:00
Doug Gregor
e4260da123 Remove useless "dropped?" entries from the table.
Swift SVN r15415
2014-03-24 16:06:20 +00:00
Doug Gregor
41ca928cfc Selector splitting: kick "over", "per", and "without" off the island.
These prepositions are used in Cocoa, but result in crummy or useless splits.

Swift SVN r15414
2014-03-24 16:04:35 +00:00
Doug Gregor
e85e10690a Un-fuse two lines
Swift SVN r15409
2014-03-24 15:30:02 +00:00
Doug Gregor
4e0f866a4b Add a section on dropping leading prepositions "by", "for", "with".
Swift SVN r15408
2014-03-24 15:27:16 +00:00
Doug Gregor
b4e859b3c0 Fix typo "migreate"
Swift SVN r15407
2014-03-24 14:36:36 +00:00
Doug Gregor
6895597eba Re-order comment about in-compiler selector->method name mappings.
Swift SVN r15406
2014-03-24 14:35:17 +00:00
Doug Gregor
590aae3f0d Note that we need a mapping in the compiler from selectors to method names.
Swift SVN r15405
2014-03-24 14:31:06 +00:00
Doug Gregor
f78cf35e37 Unified function syntax proposal: reflow to split paragraphs for diff'ability. NFC
Swift SVN r15404
2014-03-24 14:27:43 +00:00
Doug Gregor
c4b0a7daee Unified function syntax: distinguish "argument name" from "parameter name".
Swift SVN r15377
2014-03-23 05:19:11 +00:00
Doug Gregor
bf5bbbfb65 Unified function syntax: address some of DaveA's suggestions.
More to come on this, thanks!


Swift SVN r15376
2014-03-23 05:11:10 +00:00
Doug Gregor
6d082e360e Add ToC
Swift SVN r15374
2014-03-23 01:21:35 +00:00
Doug Gregor
1d4848099b Add a section about @call_arguments(strict).
Swift SVN r15373
2014-03-23 01:15:14 +00:00
Doug Gregor
1ca71f0b14 Proposal: Unified Function Syntax via Selector Splitting
Swift SVN r15371
2014-03-22 20:37:52 +00:00
Joe Groff
b8bac9bc12 Save some notes about how container patterns should work for future development.
Waiting for an SDK to install (again)...

Swift SVN r15215
2014-03-19 00:19:58 +00:00
Joe Groff
d04b9d4da9 C Argument Interop: Fill in some examples.
Swift SVN r15207
2014-03-18 22:36:13 +00:00
Joe Groff
5888345330 Update "C Pointer Interop" proposal.
Focus on the immediate problem of handling arguments. Describe the desired user model followed by the necessary language features to support the user model using library implicit conversions.

Swift SVN r15161
2014-03-17 22:23:19 +00:00
Dave Abrahams
4ac6bebe94 [stdlib] Rename StreamOf => GeneratorOf
This change is overdue from the renaming of Stream to Generator

Swift SVN r14971
2014-03-12 22:27:38 +00:00
Chris Lattner
0f6c14cee3 fix typo
Swift SVN r14522
2014-02-28 17:01:02 +00:00
Dmitri Hrybenko
158acafbdc Documentation comment proposal: add summary from the meeting
Swift SVN r14517
2014-02-28 15:06:20 +00:00
Doug Gregor
a861f9c2c8 Initializer inheritance proposal.
Swift SVN r14489
2014-02-28 00:41:02 +00:00
Chris Lattner
25f9ebf958 fix a typo
Swift SVN r14464
2014-02-27 18:43:41 +00:00
Joe Groff
4e87971d81 Disallow bare type references.
Diagnose a metatype reference that doesn't appear as part of a call or member reference, offering fixits to either default-construct the type or get at the metatype explicitly using '.self'. Also diagnose an attempt to refer to 'T.type' by fixiting it to '.self'.

Swift SVN r14433
2014-02-27 00:22:02 +00:00
Doug Gregor
0bde325327 Collapse 'DynamicSelf' into 'Self'.
Swift SVN r14377
2014-02-26 05:04:05 +00:00
Dave Abrahams
11cc0fc26a [stdlib] Fix formatting of new property decls
Swift SVN r14321
2014-02-24 23:19:46 +00:00
Dave Abrahams
42e82dfe1b [stdlib] startIndex/endIndex are now properties
Use Chris' totally cool property requirements feature as it has long
been intended.

Swift SVN r14317
2014-02-24 22:21:03 +00:00
Dmitri Hrybenko
f42a354794 Add a proposal about documentation comments
Swift SVN r14297
2014-02-24 11:45:51 +00:00
Dmitri Hrybenko
3da05e347d Change property accessor syntax to include braces
See release notes update for details.

rdar://15966905


Swift SVN r14271
2014-02-22 21:00:56 +00:00
Dmitri Hrybenko
571c9b3c5e Split 'type' keyword into 'static' and 'class'
rdar://15911697


Swift SVN r13908
2014-02-14 14:50:32 +00:00
Joe Groff
2bb67f24ac Preserve some notes about inout COW optimization for later elaboration.
Swift SVN r13899
2014-02-14 05:15:23 +00:00
Dave Abrahams
e6c09b3f6c ArrayBridge.rst: minor tweaks and ReST cleanups
Swift SVN r13745
2014-02-10 14:23:30 +00:00
Dave Abrahams
9a2a3599c9 InoutCOWOptimization.rst: restore a dropped bullet
Swift SVN r13744
2014-02-10 13:56:00 +00:00
Chris Lattner
dbfa9cf97b rename builtin for clarity.
Swift SVN r13738
2014-02-10 05:49:20 +00:00
Chris Lattner
55e8182880 expand on the Optimization section, at DaveA's request.
Swift SVN r13737
2014-02-10 05:47:04 +00:00