Commit Graph

289 Commits

Author SHA1 Message Date
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
Chris Lattner
c11047c19a various tweaks, no substantitive change.
Swift SVN r13732
2014-02-10 04:26:17 +00:00
Chris Lattner
7e16637994 fit in 80 columns and convert awesome quotes to ascii quotes.
Swift SVN r13731
2014-02-10 04:17:05 +00:00
Dave Abrahams
e32adda71f [proposals] Array Bridging: first draft
This draft needs to be reviewed by Chris and Joe, who both did much of
the design work but haven't seen the text.  In particular, the
"Optimization" section is a bit hand-wavey and might benefit from being
beefed up by a core compiler engineer.

Swift SVN r13730
2014-02-10 03:50:51 +00:00
Dave Abrahams
965af3cddf [proposals] How now inout COW?
Re-title/rewrite my part of the Efficient Slice Mutation proposal, since
Joe and I have realized that it's a more general problem.  Also remove
our previous bogus solution and replace with a solution that works.

Swift SVN r13717
2014-02-09 21:19:31 +00:00
Dave Abrahams
6f03d836eb [stdlib] Half-open ranges are now spelled x...y
Fully-closed ranges are coming soon.  See the release notes for details.
Implements the "hard" part of <rdar://problem/14586400>

Swift SVN r13674
2014-02-08 05:37:57 +00:00
Dave Abrahams
828bc90581 [docs] Miscellaneous ReST fixups
I don't know why my machine at home is suddenly being stricter than the
one at work, but it found these legitimate formatting mistakes.

Swift SVN r13635
2014-02-07 08:33:40 +00:00
Dave Abrahams
6886655e83 [proposals] EfficientSliceMutation.rst: ReST fixup
Swift SVN r13633
2014-02-07 07:48:50 +00:00
Joe Groff
445973ec09 Proposal for bridging NSArray to the Collection protocol.
Swift SVN r13371
2014-02-03 21:40:16 +00:00
Joe Groff
e7d5afafe2 Commit updated 'Failable Initializers' proposal.
Compared to the proposal sent out to swift-dev, this is updated in concordance with the design decisions we made in the 2014-01-21 meeting:

- "fail" is used as the keyword for construction failure.
- Details of how "self" is discarded on failure have been added. Not-fully-initialized objects are destroyed piecemeal, whereas full initialized objects are *released* rather than directly destroyed in case they have already been captured.

Swift SVN r12989
2014-01-27 07:18:45 +00:00
Dave Abrahams
c8f552921f Updated Access Control Proposal
Swift SVN r12267
2014-01-14 01:32:08 +00:00
Joe Groff
15c0d75e5e EfficientSliceMutation: Fill out with implementation details.
Swift SVN r12216
2014-01-12 18:11:03 +00:00
Dave Abrahams
28c74c5eab [proposals] Efficient Slice Mutation, Introduction
Swift SVN r12130
2014-01-10 19:26:06 +00:00
Dave Abrahams
2a36ab3588 [proposals] Basic Access Control (first draft)
Swift SVN r12129
2014-01-10 19:26:05 +00:00
Doug Gregor
23aeafc195 Finish switching "static" over to "type" in examples, proposals, etc.
Swift SVN r12048
2014-01-08 05:28:59 +00:00
Dave Abrahams
6ec92b2ca6 [proposals] Delete OperatorMethods.rst
This proposal doesn't really solve the problem for plain-ol' non-generic
users of containers, so it is now withdrawn.

Swift SVN r11926
2014-01-06 16:40:35 +00:00
Joe Groff
f51347b12c Add a proposal for C pointer argument interop.
Swift SVN r11920
2014-01-06 05:02:29 +00:00
Chris Lattner
6ef6af223d move mutability model doc out of proposals since it is basically
agreed to and in progress.


Swift SVN r11204
2013-12-12 19:30:22 +00:00
Dave Abrahams
7ab9d369aa [stdlib] Rename Char => UnicodeScalar
Swift SVN r10864
2013-12-05 17:30:37 +00:00
Dave Zarzycki
83f953b80a 15242776 docs: Replace "Slice" with "Array"
Swift SVN r10710
2013-12-01 08:16:54 +00:00
Dave Abrahams
b1ac7ba7a4 [docs] Fix all ReST/Sphinx warnings, turn sphinx warnings into errors
Also revert r10607, which this change obsoletes

Swift SVN r10611
2013-11-20 23:27:13 +00:00