Commit Graph

8541 Commits

Author SHA1 Message Date
Dave Abrahams
65dc48af03 [stdlib] Inclusive/closed ranges, e.g. 0..9
Fixes <rdar://problem/14586400>

Swift SVN r14337
2014-02-25 15:56:29 +00:00
Chris Lattner
7ee55ae0e0 remove caveat
Swift SVN r14334
2014-02-25 02:08:51 +00:00
Dave Abrahams
3f31a312ae [utils] buildbot-script: remove unused option
Swift SVN r14309
2014-02-24 19:25:10 +00:00
Chris Lattner
c52da63128 make the example more interesting, for no particular reason other
than that I suspect most people don't know you can have multiple 
subscript indices.


Swift SVN r14291
2014-02-24 00:40:57 +00:00
Chris Lattner
f3d7a6db4a fix a typo
Swift SVN r14290
2014-02-24 00:39:32 +00:00
Chris Lattner
494067ef91 release note properties and subscripts.
Swift SVN r14285
2014-02-23 08:12:20 +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
Greg Parker
866f0202d4 Use 10.10 Internal SDK for OS X builds in buildbot-script.
Swift SVN r14249
2014-02-22 02:49:58 +00:00
Argyrios Kyrtzidis
e77e43ff4a [utils/buildbot-script.sh] Another fix for running of SourceKit tests; SwiftUnitTests target does not exist.
Swift SVN r14202
2014-02-21 05:39:45 +00:00
Argyrios Kyrtzidis
44d35e0718 [utils/buildbot-script.sh] Fix running of SourceKit tests.
Swift SVN r14201
2014-02-21 05:09:37 +00:00
Doug Gregor
8772af9bb5 Fixup release notes now that we have more @properties in the SDKs.
Swift SVN r14167
2014-02-20 20:57:25 +00:00
Dave Zarzycki
55d9998d77 BuiltBot: Let's try the default toolchain but use the 10.10 SDK
Swift SVN r14159
2014-02-20 18:29:54 +00:00
Dave Zarzycki
53ecc9ee4e RelNote: better use case for Optional "cache" method
Swift SVN r14153
2014-02-20 15:38:07 +00:00
Dave Zarzycki
23a6e5704d RelNote Optional's new "to cache" method
Swift SVN r14135
2014-02-20 07:33:16 +00:00
Michael Gottesman
75632d4c11 [prim] Remove some cruft that snuck in.
Swift SVN r14121
2014-02-20 01:25:38 +00:00
Michael Gottesman
8ac2e799c6 [prims] Update prims given recent language changes.
Swift SVN r14119
2014-02-20 01:08:47 +00:00
Argyrios Kyrtzidis
57aa9e987f [utils/install-test-script.sh] Move to 10.10 SDK.
Swift SVN r14115
2014-02-20 00:05:11 +00:00
Michael Gottesman
b9cc632763 [julia] Update due to recent language changes.
Swift SVN r14100
2014-02-19 21:32:32 +00:00
Jordan Rose
ff8eeef5eb Release notes: remove controversial discussion about NSUInteger.
...because it seems that the NSUInteger plan is itself still controversial.
(See <rdar://problem/15368372>.)

The typealiases for NSInteger and other types will be reinstated soon,
at which point the behavior will be that the importer translates an API
using NSInteger to an API using Int, but the user can still utter "NSInteger"
to get an Int.

Swift SVN r14098
2014-02-19 21:20:32 +00:00
Michael Gottesman
4264719fa9 [julia] Add reference images for Julia benchmark.
Swift SVN r14096
2014-02-19 20:40:51 +00:00
Michael Gottesman
f1c9f5fd85 [julia] Change julia output png path based off of the problem size.
Swift SVN r14095
2014-02-19 20:40:49 +00:00
Michael Gottesman
6eaa67e184 [julia] Change benchmark size choice from being a cpp arg to an actual program arg.
Swift SVN r14094
2014-02-19 20:40:48 +00:00
Jordan Rose
9565f1b54d Provide release notes for NSInteger -> Int, uint16_t -> UInt16, etc.
Also include some explanation of NSUInteger -> Int, since people probably
didn't realize this was happening and may now freak out.

Swift SVN r14072
2014-02-19 02:38:03 +00:00
Jordan Rose
0b2541b58f Rename the standard library to "Swift" (instead of "swift")
This is more in line with all other modules currently on our system.
If/when we get our final name for the language, we're at least now set
up to rename the library without /too/ much trouble. (This is mostly just
a lot of searching for "import swift", "swift.", "'swift'", and '"swift"'.
The compiler itself is pretty much just using STDLIB_NAME consistently now,
per r13758.)

<rdar://problem/15972383>

Swift SVN r14001
2014-02-17 19:30:47 +00:00
Chris Lattner
061b301af8 release note s/let//g.
Swift SVN r13996
2014-02-17 16:57:19 +00:00
Michael Gottesman
f50163308c Added first graph benchmark prims, an implementation of prim's minimum spanning tree computation.
*NOTE* This is not ready yet. I still need to write tests for it.

Swift SVN r13933
2014-02-15 01:25:43 +00:00
Dave Abrahams
32aa71412a Fix the buildbot-script
oops.

Swift SVN r13926
2014-02-14 22:23:00 +00:00
Dave Abrahams
86f1cfd9e1 [buildbot-script] distcc support
If you have some spare hardware, you can save some time.

Swift SVN r13925
2014-02-14 22:17:32 +00:00
Dave Abrahams
655833e732 [buildbot-script] Support user-supplied CMake options
Makes all kinds of experimentation easier.

Swift SVN r13924
2014-02-14 22:17:32 +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
Dave Abrahams
5063c33cbb Rename "Stream" protocol back to "Generator"
The name Stream didn't seem to be working out as intended; we kept
gravitating back to calling it Generator, which is precedented in other
languages.  Also, Stream seems to beg for qualification as Input or
Output.  I think we'd like to reserve Stream for things that are more
bulk-character-API-ish.

Swift SVN r13893
2014-02-14 01:48:52 +00:00
Michael Gottesman
a2ecd159c6 Added new benchmark Julia.
There are two versions, one that runs a single drawing iteration in a loop and
the other which runs a timer for 60 seconds, calling a method every 0.001
seconds.

This version I am committing now does a single drawing iteration.

Currently the status of the benchmark is the following:

When running with -O0 -g,

objc: 0.15 seconds.
swift: 5.85 seconds.

When running with -O3,

objc: 0.12 seconds.
swift: 4.65 seconds.

Swift SVN r13877
2014-02-13 23:23:59 +00:00
Michael Gottesman
3cd1172875 Move each of the benchmarks in utils/benchmark into their own directories.
Swift SVN r13876
2014-02-13 23:23:58 +00:00
Michael Gottesman
01beec212c [inferior-swift-mode.el] Initial commit of an inferior-swift-mode based off of the swift repl.
Swift SVN r13868
2014-02-13 17:38:05 +00:00
Doug Gregor
2e1715e8f1 Add release notes for new message send syntax.
Swift SVN r13860
2014-02-13 06:35:49 +00:00
Chris Lattner
f7e9dca83b fix typo Mark pointed out.
Swift SVN r13829
2014-02-12 16:27:50 +00:00
Chris Lattner
b48cec9f1b release note 'let' -> 'val' with some rationale.
Swift SVN r13822
2014-02-12 06:32:55 +00:00
Doug Gregor
be8ed18722 Add release note for instancetype -> DynamicSelf import.
Swift SVN r13814
2014-02-12 05:49:13 +00:00
Chris Lattner
b44599fb36 nonmember observing properties are done.
Swift SVN r13784
2014-02-11 07:09:28 +00:00
Chris Lattner
04a5785a0d fix the release notes now that implicit argument naming works with the first chunk as well.
Swift SVN r13752
2014-02-10 17:41:08 +00:00
Chris Lattner
b9f667b3b2 Implement <rdar://problem/15920332> didSet/willSet variables need to allow initializers
With enough of the world's complexity pushed around, this is now straight-forward,
but we still need to use full parser lookahead to handle some more complex cases.



Swift SVN r13727
2014-02-09 23:15:43 +00:00
Dave Abrahams
54dc5ff6af [release notes] fix output formatting
We either have to bring back the crazy slashes and the quotes I forgot,
or strip out the spaces.

Swift SVN r13719
2014-02-09 21:26:21 +00:00
Dave Abrahams
4f2279994c [utils] Clarify release note clarification
Making the "next release" date clearer made what's there now a little
less clear.  Hopefully now it can't be improved :-)

Swift SVN r13718
2014-02-09 21:22:25 +00:00
Chris Lattner
6db7c16a21 remove some crazy slashes also.
Swift SVN r13716
2014-02-09 20:57:47 +00:00
Chris Lattner
b932a0aed0 clarify that 'next release' is next week.
Swift SVN r13715
2014-02-09 20:56:52 +00:00
Chris Lattner
3dc956e196 Implement <rdar://problem/15993514> Enhance method declaration syntax to be less redundant
and add it to the release notes.  Now you can elide the name on the second (or later) selector
chunk in a func declaration, and it gets implicitly named the same as the selector chunk.

This requires a speculative parse in the general case, but in the common cases
we don't need that.



Swift SVN r13691
2014-02-09 02:52:55 +00:00
Doug Gregor
543e7a7e3b Add release note for import of Objective-C properties with custom getter/setter.
Swift SVN r13681
2014-02-08 19:07:26 +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
Greg Parker
1f1cb6d46c [build] Enable 64-bit iOS simulator tests in buildbot-script.
build-script.sh still disables these by default along with everything else iOS.

Other iOS platform tests are still disabled because they are too dirty.


Swift SVN r13628
2014-02-07 05:29:01 +00:00
Chris Lattner
d6b01c1aa0 release note the inout syntax change.
Swift SVN r13568
2014-02-06 06:55:06 +00:00