Commit Graph

268 Commits

Author SHA1 Message Date
Jordan Rose
8c62851c66 [docs] Demote several proposals to archive/. 2015-11-05 08:52:52 -08:00
Jordan Rose
6cdeb226dc [docs] Make a new subfolder for rejected proposals. 2015-11-05 08:52:52 -08:00
Joe Groff
8146a97519 Remove stale proposals
Swift SVN r32955
2015-10-28 23:47:44 +00:00
Arnold Schwaighofer
4e855add17 Add a motivation section to the Swift level attributes proposal and remove the
old low-level attributes proposal.

Swift SVN r32679
2015-10-14 13:54:11 +00:00
Andrew Trick
39acb24c1d Effects doc, minor spelling typos.
Swift SVN r32647
2015-10-13 01:18:54 +00:00
Erik Eckstein
3d08ee0e67 OptimizerEffects proposal: Add some thoughts on pure value types.
Swift SVN r32632
2015-10-12 19:25:30 +00:00
Arnold Schwaighofer
a1f4abeb99 Add a Swift-level CoW attributes proposal
Swift SVN r32623
2015-10-12 00:59:45 +00:00
Andrew Trick
98069493aa OptimizerEffects. Add a little note.
Swift SVN r32586
2015-10-10 03:39:26 +00:00
Andrew Trick
bd1b6ab729 Add a reference to eff-lang.
Swift SVN r32535
2015-10-08 20:55:40 +00:00
Andrew Trick
a60464a1df Add a reference to koka's effects
Swift SVN r32533
2015-10-08 20:40:30 +00:00
Andrew Trick
fff88496af FunctionEffects -> OptimizerEffects
Swift SVN r32532
2015-10-08 20:25:37 +00:00
Andrew Trick
9578d5d109 FunctionEffects notes
Swift SVN r32529
2015-10-08 19:15:33 +00:00
Andrew Trick
7abf2e8f14 Write a proper introduction for FunctionEffects.rst.
Swift SVN r32528
2015-10-08 19:15:33 +00:00
Andrew Trick
7dea5179f2 Finish formatting FunctionEffects for .80-col.
Swift SVN r32527
2015-10-08 19:15:32 +00:00
Arnold Schwaighofer
d5f1f060b5 Add the copy-on-write effects proposal to the function effects document.
Swift SVN r32522
2015-10-08 17:17:35 +00:00
Andrew Trick
46cb33d1d6 The beginning of a working document on function effects.
This is to capture ideas, issues an examples. I expect it to morph
into a real document over time.

Swift SVN r32521
2015-10-08 07:12:21 +00:00
Slava Pestov
b8c5f50926 Update 'Failable Initializers' proposal with feedback from Jordan Rose and Joe Groff
Basically, the Objective-C side of the equation was too simplistic
and had to be re-thought. We need to handle -release being sent to
a partially-initialized instance, so unfortunately in the general
case we have to add some state to the instance itself.

Swift SVN r32170
2015-09-23 00:52:39 +00:00
Slava Pestov
7ae77cd896 New proposal for designated initialized failure
Swift SVN r32155
2015-09-22 21:08:04 +00:00
Erik Eckstein
a2eb979893 The doc builder doesn't like upper case Swift in code-block directive.
Swift SVN r32035
2015-09-17 15:23:11 +00:00
Nadav Rotem
8fdceeac7a Make it clear that this is a proposal and not a plan of record.
Swift SVN r32028
2015-09-17 04:40:12 +00:00
Nadav Rotem
f1ceaacf62 Add the Swift thread-safety proposal.
Swift SVN r32021
2015-09-16 23:52:05 +00:00
Slava Pestov
0c71c3e5c3 Update @c proposal with some feedback from Jordan Rose before I forget and lose the e-mail thread
Swift SVN r31948
2015-09-15 00:08:36 +00:00
Slava Pestov
e809fbd11d Draft proposal for out-of-process heap object introspection
Swift SVN r31938
2015-09-14 21:53:01 +00:00
Slava Pestov
06b89dbc9c Fix typos
Swift SVN r31689
2015-09-04 02:08:57 +00:00
Slava Pestov
f12ccd584d Proposal for @c attribute on function, struct and enum declarations
Swift SVN r31687
2015-09-04 01:50:07 +00:00
Joe Groff
2111b6bea8 WIP proposal for addressing heterogeneous comparison in the stdlib
I plan to send this out for comment once DaveA is back and we have bandwidth to think about it. Nothing to see here for now.

Swift SVN r31305
2015-08-18 19:09:14 +00:00
Doug Gregor
447b9094d3 Fix a few ReST issues.
Swift SVN r31304
2015-08-18 19:06:53 +00:00
Doug Gregor
e78b3dd44e Proposed new architecture for the declaration type checker.
Swift SVN r31296
2015-08-18 17:57:34 +00:00
Joe Groff
17dbf6f4aa Mark proposal as :orphan:
Swift SVN r31269
2015-08-17 17:54:45 +00:00
Joe Groff
7e4d792c66 Proposal for revamping enum style
Swift SVN r31266
2015-08-17 17:13:25 +00:00
Dmitri Hrybenko
c83fcf0570 Rename GeneratorOf and SequenceOf in the docs
Swift SVN r29631
2015-06-24 20:41:59 +00:00
Dmitri Hrybenko
f46f16ae82 stdlib: implement new print() API
rdar://20775683

Swift SVN r28309
2015-05-08 01:37:59 +00:00
Joe Groff
655b2d3e93 Inplace: let -> var
Swift SVN r26800
2015-04-01 03:58:10 +00:00
Joe Groff
4b6c2803de Inplace proposal: Clarify the section on classes.
Try to make it more plain that assignment method syntax is still allowed with class methods; only explicit implementation of the assignment form is not allowed.

Swift SVN r26799
2015-04-01 03:54:30 +00:00
Joe Groff
42d94be16a Update Inplace.rst proposal as accepted by language review.
Swift SVN r24486
2015-01-16 23:27:33 +00:00
Dave Abrahams
65a7108ccf [proposal] In-place operations update
Changes from previous version:

* Support classes
* Support protocols and generics
* Make the obvious extensions to cover assignment operator pairs

Swift SVN r23954
2014-12-16 06:51:44 +00:00
Joe Groff
2e5faa7c79 Ramble about KVO2-related stuff
Swift SVN r23891
2014-12-12 19:19:30 +00:00
Dave Abrahams
d63e8e02d4 [proposal] Inplace.rst fixup
s/let/var/

Swift SVN r23617
2014-12-02 18:10:02 +00:00
Dave Abrahams
747c279bb3 [proposal] Rewrite Inplace.rst
The basic proposal is newly-relevant; this is a first revision to
prepare it for discussion.

Swift SVN r23614
2014-12-02 17:34:58 +00:00
John McCall
3cd28b9e62 Document the rules for formal accesses to ? and ! l-values.
! is obvious, but ? raises a more fundamental difficulty.

Swift SVN r23491
2014-11-20 23:01:13 +00:00
Dave Abrahams
e455dec9fa Accessors: various ReST fixups
Swift SVN r23349
2014-11-15 02:13:11 +00:00
Andrew Trick
70fe4a3065 Accessors.rst:879: ERROR: Unexpected indentation.
Swift SVN r23347
2014-11-15 01:10:28 +00:00
John McCall
26b7dd190a Edits to the accessor proposal in response to Dave's feedback.
The main change here is a total restructuring of the
unspecified behavior rule.  (Note that the rule has not
changed; I'm simply specifying it differently, hopefully
better.)

I still owe some examples for the unspecified behavior rule.

Swift SVN r23344
2014-11-15 00:50:37 +00:00
Andrew Trick
06bfed16f6 Make Accessors doc an orphan so it doesn't break my build.
Swift SVN r23343
2014-11-15 00:37:36 +00:00
John McCall
ca59995032 The most recent accessors proposal, with a few editorial
changes that Dave pointed out.

Swift SVN r23338
2014-11-14 22:32:46 +00:00
Dave Abrahams
8c7a971b4b Correct a doc edit-o
Swift SVN r20499
2014-07-24 17:20:54 +00:00
Dave Abrahams
d00e888d95 [stdlib] Rename reinterpretCast => unsafeBitCast
Also give unsafeBitCast an explicit type parameter.  So

  let x: T = reinterpretCast(y)

becomes

  let x = unsafeBitCast(y, T.self)

Swift SVN r20487
2014-07-24 13:17:36 +00:00
Dave Abrahams
d44a953d1d [docs] comment out nonsens ReST, which breaks the build
Swift SVN r20391
2014-07-23 12:45:20 +00:00
Dmitri Hrybenko
5a5525d005 Remove some temporary files
Swift SVN r20383
2014-07-23 08:41:45 +00:00
John McCall
1ae1f750d0 Move most type metadata lookups into their own readnone
functions, and make those functions memoize the result.

This memoization can be both threadsafe and extremely
fast because of the memory ordering rules of the platforms
we're targeting: x86 is very permissive, and ARM has a
very convenient address-dependence rule which happens to
exactly match the semantics we need.

Swift SVN r20381
2014-07-23 07:38:26 +00:00