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
Dmitri Hrybenko
81dc5deee8
Change 'def' keyword back to 'func'
...
Swift SVN r10522
2013-11-17 07:45:28 +00:00
Joe Groff
3a50d63ffd
KeywordArguments proposal: Describe behavior with trailing closures.
...
Trailing closures get exceptions from the "required keyword for selector style argument" and "positional parameters must come before keyword parameters" rules.
Swift SVN r10415
2013-11-13 06:12:12 +00:00
Dave Abrahams
7315d38393
[proposals] OperatorMethods.rst: minor ReST fixup
...
Swift SVN r10358
2013-11-12 02:00:48 +00:00
Doug Gregor
b89f1fdae8
Minor tweaks to the initialization proposal
...
Swift SVN r10347
2013-11-11 23:35:47 +00:00
Joe Groff
ed252547c0
KeywordArguments proposal: Describe vararg keywords, note QoI issue with 'foo.bar:'
...
Swift SVN r10335
2013-11-11 19:10:56 +00:00
Doug Gregor
218d0224e9
Draft initialization proposal.
...
Swift SVN r10333
2013-11-11 18:15:01 +00:00
Joe Groff
8fc1dea287
KeywordArguments proposal revisions.
...
Define "named application" using AST peepholes instead of having different grammar productions; this is better for QoI and more flexible. For completeness, describe how named application lookup works with non-function decls.
Swift SVN r10332
2013-11-11 17:57:42 +00:00
Dave Abrahams
f08baf51a9
[proposals] Operator Methods (opportunity/2.0)
...
Recording an idea and its rationale. No discussion/review necessary
at this time.
Swift SVN r10048
2013-11-08 20:01:01 +00:00
Joe Groff
5ba10e7978
KeywordArguments proposal: Some QoI details.
...
Swift SVN r10039
2013-11-08 16:25:12 +00:00
Joe Groff
2c90207004
Sketch out a new proposal for how keyword args should work.
...
Swift SVN r10033
2013-11-08 02:52:40 +00:00
Joe Groff
c6cfd804ff
Remove CompoundNames proposal; we're going down a different path.
...
Swift SVN r10032
2013-11-08 01:34:27 +00:00
Dave Abrahams
1568c54160
[proposals] MutationModel.rst: fix a footnote
...
Churn complete; back to coding
Swift SVN r10012
2013-11-07 00:41:53 +00:00
Dave Abrahams
f63e16ff1e
[proposals] MutationModel.rst: ReST cleanups
...
Swift SVN r10011
2013-11-07 00:39:30 +00:00
Dave Abrahams
1149141f9c
[proposals] MutationModel.rst: edits to define formal language semantics and incorporate results of the last meeting
...
Some people might object to the way I've defined rvalue and lvalue,
but it just seemed to fall out of things. I started by talking about
writable and read-only data, and then read-only lvalues, but it was
complicated until all those distinctions fell away and left me with
the basic rule: rvalues can't be mutated and lvalues can.
If theoreticians object, we can find another way to phrase it.
Swift SVN r10010
2013-11-07 00:25:12 +00:00
Dave Abrahams
b781191aa9
[proposals] MutationModel.rst: cleanup
...
ReST errors fixed, prose smoothed
Swift SVN r9930
2013-11-04 19:21:59 +00:00
Dave Abrahams
f03082f41a
[proposals] ClassConstruction.rst: updates based on Doug's feedback
...
Swift SVN r9929
2013-11-04 18:28:35 +00:00
Joe Groff
010a12e639
CompoundNames proposal: specify when default args are evaluated...
...
...when evaluated as part of a partially-applied compound name.
Swift SVN r9923
2013-11-04 17:56:36 +00:00
Chris Lattner
f823a8b1ee
typo
...
Swift SVN r9919
2013-11-04 16:43:34 +00:00
Joe Groff
74cd1186a8
CompoundNames proposal: more revisions.
...
Swift SVN r9914
2013-11-04 02:02:25 +00:00
Joe Groff
502748fc00
CompoundNames proposal: Revise in response to DaveA feedback.
...
Remove confusing references to old dot-paren syntax. Move the discussion of the use of unsugared compound names after describing their idiomatic sugared uses.
Swift SVN r9913
2013-11-04 01:29:17 +00:00
Dave Abrahams
a41500f962
[proposals] Mutation Model Draft
...
Will post formatted version Monday morning
Swift SVN r9912
2013-11-03 22:18:45 +00:00