Commit Graph

218 Commits

Author SHA1 Message Date
practicalswift
5d24d87d81 [gardening] Use consistent naming of .rst files in docs/ ("CamelCase.rst")
Fix some cases where "Camel Case.rst" is used instead of "CamelCase.rst".

File counts:
* Files in repo: 10 242
* Files in repo with spaces in file name: 10
* Files in repo with .rst suffix: 74
* Files in repo with .rst suffix and spaces in file name: 10

In addition to the consistency argument: spaces in file names create unnecessary
gotchas when it comes to bash scripting - see below.

Before this commit:

```
$ find . -name "*.rst" | xargs ls -dl > /dev/null
ls: cannot access ./docs/Dependency: No such file or directory
ls: cannot access Analysis.rst: No such file or directory
ls: cannot access ./docs/proposals/ObjC: No such file or directory
ls: cannot access Interoperation.rst: No such file or directory
ls: cannot access ./docs/proposals/C: No such file or directory
ls: cannot access Pointer: No such file or directory
ls: cannot access Argument: No such file or directory
ls: cannot access Interop.rst: No such file or directory
ls: cannot access ./docs/proposals/archive/Memory: No such file or directory
ls: cannot access and: No such file or directory
ls: cannot access Concurrency: No such file or directory
ls: cannot access Model.rst: No such file or directory
ls: cannot access ./docs/proposals/C: No such file or directory
ls: cannot access Pointer: No such file or directory
ls: cannot access Interop: No such file or directory
ls: cannot access Language: No such file or directory
ls: cannot access Model.rst: No such file or directory
ls: cannot access ./docs/proposals/rejected/Bridging: No such file or directory
ls: cannot access Container: No such file or directory
ls: cannot access Protocols: No such file or directory
ls: cannot access to: No such file or directory
ls: cannot access Class: No such file or directory
ls: cannot access Clusters.rst: No such file or directory
ls: cannot access ./docs/archive/Namespace: No such file or directory
ls: cannot access Level: No such file or directory
ls: cannot access Vars: No such file or directory
ls: cannot access and: No such file or directory
ls: cannot access Top: No such file or directory
ls: cannot access Level: No such file or directory
ls: cannot access Code.rst: No such file or directory
ls: cannot access ./docs/archive/Objective-C: No such file or directory
ls: cannot access Interoperability.rst: No such file or directory
ls: cannot access ./docs/Pattern: No such file or directory
ls: cannot access Matching.rst: No such file or directory
ls: cannot access ./docs/Failable: No such file or directory
ls: cannot access Initializers.rst: No such file or directory
$
```

After this commit:

```
$ find . -name "*.rst" | xargs ls -dl > /dev/null
$
```
2016-02-18 10:46:53 +01:00
practicalswift
71e00fefa1 [gardening] Fix typos: "word word" (two spaces) → "word word" (one space) 2016-01-24 21:27:16 +01:00
practicalswift
4b0571bae8 [gardening] Fix documentation typos 2016-01-24 12:52:01 +01:00
Nadav Rotem
193a285453 [Compression] Remove the compression prototype. 2016-01-20 17:08:41 -08:00
Tomohiro Kumagai
473b15648a [docs] Replace old-style array type annotations. 2016-01-13 04:09:39 +09:00
Dmitri Gribenko
f0d294b714 Merge pull request #884 from practicalswift/apostrophes
[gardening] Replace left/right quotation marks
2016-01-11 20:41:24 -08:00
Tomohiro Kumagai
01155076fa [stdlib] [docs] Modify Array's type parameter name and rename Slice to ArraySlice in comments.
In swift 1.2, `Slice` has been renamed  `ArraySlice`.
In swift 2.0, type parameter name of `Array` is changed from `T` to `Element`.
Therefore, modified the names which appear in code comments and a document.
2016-01-11 17:04:45 +09:00
Dmitri Gribenko
b5d5d82576 Merge pull request #935 from EZ-NET/correct_document_set-type-parameter-name
[stdlib] [docs] Modify Set's type parameter name in comments.
2016-01-10 23:19:50 -08:00
Tomohiro Kumagai
cf8a733a4d [stdlib] [docs] Modify Set's type parameter name in comments.
In swift 2.0, type parameter name of `Set` is changed from `T` to `Element`.
Therefore, modified the names which appear in code comments and a document.
2016-01-11 16:02:05 +09:00
practicalswift
6c8c9bfbc9 Consistently use normal quotes ("…") instead of curly quotes (“…”). 2016-01-06 21:38:32 +01:00
practicalswift
4d43f4a32c Replace left/right quotation marks 2016-01-06 12:41:08 +01:00
practicalswift
4689a22f1b Replace left/right quotation marks with apostrophes in non-quote contexts
* LEFT SINGLE QUOTATION MARK (U+2018) → APOSTROPHE (U+0027)
* RIGHT SINGLE QUOTATION MARK (U+2019) → APOSTROPHE (U+0027)
2016-01-06 12:29:40 +01:00
Nadav Rotem
8a15c5abde [Docs] Add a section that describes the use of the programs that generate the compression tables. 2016-01-01 16:13:16 -08:00
Zach Panzarino
e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Nadav Rotem
41148a71d7 [Mangling] Add a document that describes the proposed compressed mangling scheme. 2015-12-31 09:11:32 -08:00
practicalswift
07f57246ee Fix documentation typos. 2015-12-28 01:50:14 +01:00
practicalswift
fa0b339a21 Fix typos. 2015-12-26 17:51:59 +01:00
Dmitri Gribenko
3877d04a73 Merge pull request #731 from ken0nek/add-spaces-before-and-after-arrow
Add spaces before and after closure arrow
2015-12-23 10:53:22 -08:00
Ken Tominaga
1cc91b59dd Reformat comments in docs/proposals/valref.rst 2015-12-23 13:43:12 +09:00
ken0nek
50c88b9d15 Add spaces before and after closure arrow in docs 2015-12-23 05:04:58 +09:00
ken0nek
fcd8fcee91 Convert [Cc]an not -> [Cc]annot 2015-12-23 00:55:48 +09:00
Dmitri Gribenko
c0b4ef6ba3 Merge pull request #709 from wpegg-dev/patch-1
Corrected typos
2015-12-21 22:53:33 -08:00
practicalswift
36d7072013 Remove immediately adjacent repeated words ("the the", "for for", "an an", etc.). 2015-12-21 22:16:04 +01:00
wpegg-dev
510863e07a Corrected typos 2015-12-21 10:27:23 -05:00
zerotypos-found
0c1df3577e Fix typo: a --> an, an --> a. 2015-12-17 15:10:25 +09:00
Dmitri Gribenko
cbb098179c Merge pull request #505 from practicalswift/fix-typos-9
Fix typos (9 of 30)
2015-12-13 20:16:51 -08:00
practicalswift
462f7e6a82 Fix typo: dependences → dependencies 2015-12-14 00:11:36 +01:00
practicalswift
a1185ea614 Fix typo: clonability → cloneability 2015-12-14 00:11:23 +01:00
Arsen Gasparyan
6b6c6b6a1b Fix non-pure typo 2015-12-11 01:40:06 +03:00
Arnold Schwaighofer
365588da12 Fix OptimizerEffects.rst 2015-12-10 06:37:10 -08:00
Stephen Canon
4fbdbdf6e9 Merge pull request #392 from jutaz/bugfix/typos-in-docs
Bugfix - Typos in docs
2015-12-10 09:10:18 -05:00
Justas Brazauskas
7b941a6e9e Fixed typos in ./docs 2015-12-10 10:11:21 +02:00
vicky002
8f21af71ca typo and spelling fixes 2015-12-10 06:56:55 +05:30
TheGiantPanda
38402b8f81 Fixed spelling and grammar
The word “fullfill” was changed to “fulfill”. Formatting for other
lines was also fixed.
2015-12-07 18:19:24 -08:00
TheGiantPanda
e42724defa Fixed spelling and formatting
The spelling of “undesireable” was changed to “undesirable”. Formatting
for other lines was also fixed.
2015-12-06 11:41:45 -08:00
Chris Lattner
262d001fda Remove a really obsolete document which could be misleading - this isn't what led to the swift 2 error handling model. 2015-12-05 08:42:34 -08:00
Leo Shimonaka
70e66973ee Fix spelling error in documentation / comments / method name 2015-12-05 00:28:08 -05:00
Stefan Natchev
5eaa3c43d0 Fix typos in documentation 2015-12-04 09:29:24 -05:00
kabayan55
4df20a63b7 Fixed typo in Clonable.rst
Changed "Therfore" to "Therefore"
2015-12-04 12:22:33 +09:00
Ted Kremenek
f44f4a5a35 Merge pull request #81 from jordanekay/fix-misspellings
Fix misspellings
2015-12-03 11:32:32 -08:00
Jordan Kay
008a42fd65 Fix misspellings 2015-12-03 14:28:54 -05:00
Johan K. Jensen
fa76656c82 Remove instances of duplicated words 2015-12-03 20:00:29 +01:00
Nadav Rotem
3c2c8df424 [DOCS] Move the WMO document to /proposals
I moved the WMO document to /proposals because the document describes ideas for
implementing better WMO in future versions of swift.
2015-12-01 09:35:07 -08:00
Jordan Rose
cf8baedee2 Re-apply "Rename @transparent to @_transparent for now."
This re-applies 90fcbfe9a6. I'll be committing
the corresponding change to Foundation momentarily.
2015-11-16 10:53:56 -08:00
Xin Tong
16843684b2 Revert "Rename @transparent to @_transparent for now."
This reverts commit 90fcbfe9a6.

Seems there are still some tests that are left not modified.
2015-11-14 07:04:31 -08:00
Jordan Rose
90fcbfe9a6 Rename @transparent to @_transparent for now.
This feature has not been fully designed, let alone properly implemented.
For more information, see docs/TransparentAttr.rst.
2015-11-13 16:25:34 -08:00
Dave Abrahams
9035291301 Fix a ReST formatting error 2015-11-06 21:10:42 -08:00
Jordan Rose
42a466b299 [docs] Delete proposal for KVO-supporting features.
While this remains interesting for Swift, any KVO-supporting changes would
need a fair amount of Apple-internal discussion that isn't really suited
for open source at this time.
2015-11-05 08:54:23 -08:00
Jordan Rose
fe9143f50c [docs] Delete superseded proposals. 2015-11-05 08:54:23 -08:00
Jordan Rose
e038079c69 [docs] Promote Failable Initializers out of proposals/ as Plan of Record. 2015-11-05 08:52:52 -08:00