Commit Graph

1904 Commits

Author SHA1 Message Date
Russell Currey
92053493ba docs: Update IR/SIL testing section to include powerpc64{le} 2016-05-11 11:54:55 +10:00
Austin Zheng
d5de71c056 [gardening] Fixing some typos 2016-05-08 16:12:51 -07:00
Chris Lattner
8c639ee93a minor doc clarification. 2016-05-08 09:50:45 -07:00
Brian Gesiak
2c886924a8 [Lexicon] Add USR (#2430) 2016-05-06 14:12:18 -07:00
practicalswift
1d82f7b457 [gardening] Normalize GenericsManifesto. Use same style as all other .md files in the repo. 2016-05-06 19:27:33 +02:00
Austin Zheng
0567d5f888 Adding markdown-formatted version of Generics Manifesto (#2390) 2016-05-03 23:43:05 -07:00
Slava Pestov
86dae6850c Reflection: Add SILBoxTypeRef, which can come up in capture descriptors 2016-05-02 19:26:12 -07:00
Brian Gesiak
4e9c4353d0 [docs][Android] Update libicu download link 2016-04-26 10:55:38 -04:00
Brian Gesiak
d49d88e53d [SR-1264] Fix missing information in Android docs
* Add instructions to symlink the Android linker.
* Make it clear that paths to `android-ndk-r11c` and `libiconv-libicu-android` may be different based on where the user may have downloaded them by prefixing the paths, such as `/path/to/android-ndk-r11c`.
* Link to https://bugs.swift.org/browse/SR-1321 and recommend Ubuntu 15.10 for now.
* Use HTTPS when invoking `git clone`.
2016-04-26 10:48:03 -04:00
Slava Pestov
4fa882aa06 Small update for ABI.rst 2016-04-22 19:03:14 -07:00
Brian Gesiak
2931c21540 [docs] Fix libicu paths for Android
https://bugs.swift.org/browse/SR-1264 identified a problem in the documentation: the `--android-icu-uc` and `--android-icu-i18n` are documented in `utils/build-script` as taking the path to *the directory that contains* the `libcicuuc.so` and `libicui18n.so` libraries, not the paths to the libraries themselves. Passing the path to the libraries themselves causes a build error.

Fix the path to prevent people from encountering an error when copying the build script invocation in the docs.
2016-04-22 12:46:41 -04:00
Brian Gesiak
a7e2329444 [android] Support latest Android NDK r11c
- Update the documentation to reflect that Swift supports (only)
  the latest NDK version. Based on what I've heard from Android
  developers that use the NDK, this is a reasonable requirement.
- The most recent version of the Android NDK no longer includes a
  "4.8" toolchain version. Change the default to "4.9", and update
  the paths in the documentation to match.
- The build script option "--android-ndk-version" was misleading.
  This parameter actually refers to the Android API level. Swift
  currently supports 21 (Android 5.0) and above (although supporting
  lower API levels would be desirable).
2016-04-20 11:20:29 -04:00
Mishal Shah
039331c461 Merge pull request #2213 from apple/build-script-long-tests
CMake & build-script: add a new tier of testing, "long tests"
2016-04-18 13:04:20 -07:00
Chris Lattner
9a82329116 Merge pull request #2229 from hitstergtd/hitstergtd-docfixes-2
[gardening] [docs] Properly capitalise 'swift' to 'Swift'
2016-04-17 15:29:07 -07:00
yanniks
d9d6705633 [docs][Android] Complete git command 2016-04-17 22:57:18 +02:00
hitstergtd
1ccca9d0f0 [gardening] Properly capitalise 'swift' to 'Swift' 2016-04-17 20:53:48 +01:00
practicalswift
db452dcbe9 [gardening] "[ a, b ]" → "[a, b]" 2016-04-17 21:26:08 +02:00
practicalswift
c2107f456c [gardening] "[ a, b ]" → "[a, b]" (#2227) 2016-04-17 21:02:18 +02:00
Hitster GTD
d95921e5a8 [doc] Fix broken links, permanent redirects and Rust-related inconsistencies (#2220)
* Fix almost every broken link and perm redirect

- Fix Xref from OptimizationTips.rst to Specialization section in Generics.rst
to use Sphinx syntax instead of a direct link to GitHub
- Fix over 12 broken links and permanent redirects

* Fix Rust related inconsistencies and broken links

- Update to reflect Rust does not have three types of pointers anymore
- Replace broken links to deprecated Rust documentation with alternatives,
comparable references in new Rust documentation
2016-04-17 20:52:29 +02:00
Chris Lattner
adfddc509a Merge pull request #2222 from modocache/lexicon-qoi-fix
[Lexicon] Fix "QoI" definition
2016-04-16 15:48:26 -07:00
Dmitri Gribenko
457f2b901c CMake & build-script: add a new tier of testing, "long tests"
* The behavior of `build-script -t` is unchanged.

* `build-script -T` continues to run primary and validation test suite,
  but without the long tests.

* `build-script --long-test` runs just the long tests.

* `build-script -T --long-test` runs all tests.
2016-04-16 14:03:54 -07:00
Dmitri Gribenko
81e53e721c Merge pull request #2195 from ahoppen/testing-doc-update
Added the -frontend parameter to the documentation
2016-04-16 13:56:42 -07:00
Brian Gesiak
9b7958b689 [Lexicon] Fix "QoI" definition
Fixed based on the discussion in 4b27df7644 (commitcomment-17126640).
2016-04-16 15:55:15 -04:00
practicalswift
050023060a [gardening] Fix inconsistent spacing. 2016-04-15 21:05:52 +02:00
Brian Gesiak
5373ab2a84 Merge pull request #2196 from modocache/lexicon-qoi
[docs] Add QoI to Lexicon.rst
2016-04-15 14:23:30 -04:00
Brian Gesiak
4b27df7644 [docs] Add QoI to Lexicon.rst
I had seen this term in several Swift discussions, and it took me quite a
bit of searching online before I could make a guess as to what it meant.
Add it to the lexicon.
2016-04-15 14:22:50 -04:00
Chris Lattner
fd5602e5c0 mention WHY we use NFC. 2016-04-15 10:13:20 -07:00
Jordan Rose
bc30fadd7d [docs] Add "NFC" to Lexicon.rst. 2016-04-15 08:12:04 -07:00
Alex Hoppen
cf05e83067 Added the -frontend parameter to the documentation of the %target-parse-verify-swift substitution since this is the command by which the tool can be invoked manually 2016-04-15 09:05:45 +02:00
Brian Gesiak
9174a4697d Merge pull request #2184 from modocache/android-documentation
[docs][Android] Add a "Getting Started" guide
2016-04-14 21:22:48 -04:00
Brian Gesiak
9618fe37b5 [docs][Android] Add a "Getting Started" guide
Until now the best instructions on how to get started with Swift on
Android were in the original pull request. This spruces those up and
places them in the documentation directory.
2016-04-14 21:19:54 -04:00
Andrew Trick
8d10e04290 [docs] Fix a link to the Generics doc.
Most people aren't using sphinx to read the docs, so just slap a
github URL in place of a proper rst :ref:.
2016-04-14 14:56:49 -07:00
practicalswift
c760f6dfbf [gardening] Add whitespace: "foo,bar" → "foo, bar" 2016-04-12 22:31:46 +02:00
practicalswift
befbebcd30 [gardening] "OSX" → "OS X" 2016-04-11 23:12:40 +02:00
practicalswift
fa40ad2f0c [gardening] "Objective C" → "Objective-C" 2016-04-09 12:22:18 +02:00
hitstergtd
b464548035 [docs] Doc and typo fixes (#2098)
* [docs] Doc and typo fixes

- properly hyphenate Objective-C
- replace *dynamicism* with *dynamism*

* [docs] Doc and typo fixes

- properly hyphenate Objective-C
- replace *dynamicism* with *dynamism*
2016-04-09 11:26:13 +02:00
practicalswift
1ef6ea8c4c [gardening] \t → " " 2016-04-08 21:59:13 +02:00
practicalswift
66183cdbf7 [gardening] Fix unjustified spacing 2016-04-07 10:10:24 +02:00
Jordan Rose
7a66c6ef74 [docs] Record some of the known problems with Swift's initializer model.
...in the hopes that this will guide future proposals and evolution.
2016-04-06 19:17:40 -07:00
Manav Gabhawala
7928140f79 [SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary 2016-04-06 20:21:58 -04:00
practicalswift
72c57c060c [gardening] Fix recently introduced typo: "refererences accross" → "references across" 2016-04-05 21:27:44 +02:00
practicalswift
b01c615e0d Merge pull request #2053 from practicalswift/spacing
[gardening] if ([space]…[space]) → if (…), for(…) → for (…), while(…) → while (…), [[space]x, y[space]] → [x, y]
2016-04-05 00:01:14 +02:00
Arnold Schwaighofer
6cc8f68baa Add an optimization tip about the use of Unmanaged._withUnsafeGuaranteedRef 2016-04-04 11:46:29 -07:00
practicalswift
abfecfde17 [gardening] if ([space]…[space]) → if (…), for(…) → for (…), while(…) → while (…), [[space]x, y[space]] → [x, y] 2016-04-04 16:22:11 +02:00
practicalswift
798877ae77 [gardening] "if (foo)[SPACE][SPACE]{" → "if (foo)[SPACE]{" 2016-04-03 22:57:05 +02:00
Ge Sen
5ad36b2962 [gardening] Put white spaces in between if/while clauses and braces where it is missing.
For instance:

'if (foo){' => 'if (foo) {'
2016-04-02 14:43:45 +08:00
Michael Gottesman
7361e35bb9 Revert "Putting white spaces in between if/while clauses and braces." 2016-04-01 22:00:25 -07:00
Ge Sen
7dd61bdfa9 [gardening] Put white spaces in between if/while clauses and braces where it is missing.
For instance:

'if (foo){' => 'if (foo) {'
2016-04-02 08:22:23 +08:00
Erik Eckstein
b332321457 docs: document the --build-sil-debugging-stdlib option 2016-03-30 11:26:15 -07:00
practicalswift
bbef13a050 [gardening] Fix recently introduced typo: "attribtue" → "attribute"
[gardening] Fix recently introduced typo: "delinated" → "delineated"

[gardening] Fix recently introduced typo: "abstactions" → "abstractions"

[gardening] Fix recently introduced typo: "cannoted" → "cannot"

[gardening] Fix recently introduced typo: "accomodate" → "accommodate"

[gardening] Fix recently introduced typo: "bulding" → "building"

[gardening] Fix recently introduced typo: "abstactions" → "abstractions"

[gardening] Fix recently introduced typo: "intiializers" → "initializers"
2016-03-30 18:20:53 +02:00