GauravDS
ff15547551
fix typo arthmetic => arithmetic
2015-12-08 17:13:33 +05:30
rajkumarpunchh
7a7efeb3cd
Fixed Typo. “forumula” to “formula”.
2015-12-08 17:05:10 +05:30
Nadav Rotem
1171ed7081
Merge pull request #338 from gauravds/gds-FixTypo
...
Fix typo characterstics => characteristics
2015-12-08 03:09:00 -08:00
GauravDS
8ac4d21fb0
Fix typo characterstics => characteristics
2015-12-08 15:09:50 +05:30
Dmitri Gribenko
31598d41bf
Rename GeneratorType to IteratorProtocol
2015-12-07 17:08:32 -08:00
Dmitri Gribenko
3505975a75
Make EnumerateGenerator and EnumerateSequence initializers internal
2015-12-07 16:56:31 -08:00
Dmitri Gribenko
866ce291c3
Fix coding style
2015-12-07 16:56:18 -08:00
Dmitri Gribenko
f230ebeda9
Change EnumerateGenerator.Element's label from 'index' to 'offset'
2015-12-07 16:54:38 -08:00
Maxim Moiseev
7372e9e045
COpaquePointer => OpaquePointer
2015-12-07 16:52:45 -08:00
Max Moiseev
d0e1cb3a0e
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2015-12-07 16:43:20 -08:00
Doug Coleman
86d99cea9b
Fix eight Linux warnings.
...
Fix spurious docs warning that @in and @in_guaranteed should be ``fn``.
Add ``#ifdef SWIFT_OBJC_INTEROP`` to silence a -Wunused-function
on linux since that function is only used from within that #ifdef
elsewhere.
Fix three -Wunused-function warnings on linux.
Fix two -Wunreachable-code warnings on linux dealing with
SWIFT_HAVE_WORKING_STD_REGEX.
2015-12-07 15:29:41 -08:00
Nick van der Ploeg
42b4b02df3
Fixed typos in comments throughout the project.
2015-12-07 12:15:52 -06:00
Florian Reinhart
2134e55c25
Fix typo in comment
2015-12-07 14:24:11 +01:00
Dmitri Gribenko
3fb38535d8
Capitalize 'Swift' in a comment
2015-12-06 15:09:28 -07:00
Radek Pietruszewski
d029f7e5ae
Fix typo in UnavailableStringAPIs.swift.gyb
2015-12-06 11:28:35 +01:00
Dmitri Gribenko
8bba74eaee
Merge pull request #241 from codestergit/master
...
[stdlib] Used map and guard for nil handling
2015-12-05 23:48:59 -08:00
Dmitri Gribenko
403b46ccea
stdlib: simplify code
2015-12-05 23:29:31 -08:00
Dmitri Gribenko
4b8fff424b
Merge pull request #270 from hamin/cleaning-up-cstyle-loops
...
A small step towards removing C-style loops
2015-12-05 22:47:26 -08:00
Haris Amin
0d001480a9
A small step towards removing C-style loops
2015-12-06 01:07:24 -05:00
codestergit
6e85e69283
[stdlib] Using map and guard let for nil handling
2015-12-06 04:01:33 +05:30
Alfredo Delli Bovi
e437c4557c
Fix typo in comments
2015-12-05 15:34:45 +01:00
Dmitri Gribenko
f47f206ca0
Merge pull request #164 from jawwad/remove-trailing-semicolons-from-stdlib
...
Remove trailing semicolons from files in stdlib
2015-12-05 01:28:37 -08:00
yyx290799684
36798c4be1
Update README.txt
2015-12-05 15:27:18 +08:00
Chris Willmore
fb6f4be77f
Merge pull request #227 from LeoShimonaka/master
...
Fix typos in docs / comments / method name
2015-12-04 22:44:18 -08:00
Dmitri Gribenko
16de5d1fc4
Merge pull request #203 from landonf/landonf/freebsd-patchset-1
...
Partial FreeBSD Support
2015-12-04 22:14:38 -08:00
Dmitri Gribenko
884df464a9
Merge pull request #222 from ken0nek/master
...
SceneKit overlay: format code
2015-12-04 22:11:48 -08:00
Ted Kremenek
4c153f6a95
Merge pull request #230 from wxxsw/whitespaces
...
Erase redundant whitespaces.
2015-12-04 21:56:30 -08:00
Leo Shimonaka
70e66973ee
Fix spelling error in documentation / comments / method name
2015-12-05 00:28:08 -05:00
Rob Hudson
a75fb69259
Fix typo
2015-12-05 00:22:48 -05:00
Joe Groff
ee2d390fc4
Runtime: Reinstate _stdlib_demangleName hook.
...
This is needed for Xcode support, even though it appeared dead within the Swift repo itself.
2015-12-05 00:22:48 -05:00
Ge Sen
20030242bd
Erase redundant whitespaces.
2015-12-05 12:11:47 +08:00
Rob Hudson
14960fdb1e
Fix typo
2015-12-04 22:48:17 -05:00
Joe Groff
76eb96e29e
Runtime: Reinstate _stdlib_demangleName hook.
...
This is needed for Xcode support, even though it appeared dead within the Swift repo itself.
2015-12-04 18:45:51 -08:00
Patrick
14fdf744b0
Make documented complexity consistent
...
Since most of the documentation in the code use O(`self.count`) instead of O(`count`), change the inconsistent code documentation to O(`self.count`).
2015-12-04 17:15:55 -08:00
ken0nek
ae7b5b62f4
Format code
2015-12-05 10:02:58 +09:00
Landon Fuller
83b706df8a
Merge branch 'master' into landonf/freebsd-patchset-1
2015-12-04 17:11:54 -07:00
aschwaighofer
ea848834f9
Merge pull request #193 from chriseidhof/use-map
...
Use Optional's built-in map
2015-12-04 18:06:08 -05:00
Landon Fuller
0aeef6fec3
Merge branch 'master' into landonf/freebsd-patchset-1
2015-12-04 14:22:28 -07:00
John McCall
4d1b6e2eb6
Reform the runtime interface for unowned reference-counting.
...
This is a bit of a hodge-podge of related changes that I decided
weren't quite worth teasing apart:
First, rename the weak{Retain,Release} entrypoints to
unowned{Retain,Release} to better reflect their actual use
from generated code.
Second, standardize the names of the rest of the entrypoints around
unowned{operation}.
Third, standardize IRGen's internal naming scheme and API for
reference-counting so that (1) there are generic functions for
emitting operations using a given reference-counting style and
(2) all operations explicitly call out the kind and style of
reference counting.
Finally, implement a number of new entrypoints for unknown unowned
reference-counting. These entrypoints use a completely different
and incompatible scheme for working with ObjC references. The
primary difference is that the new scheme abandons the flawed idea
(which I take responsibility for) that we can simulate an unowned
reference count for ObjC references, and instead moves towards an
address-only scheme when the reference might store an ObjC reference.
(The current implementation is still trivially takable, but that is
not something we should be relying on.) These will be tested in a
follow-up commit. For now, we still rely on the bad assumption of
reference-countability.
2015-12-04 13:18:14 -08:00
Erik Eckstein
79517a8edf
Re-apply "Compile StdlibUnittest with -sil-serialize-all."
...
Should now be ok with the workaround in the AtomicInt.swift test
2015-12-04 12:58:38 -08:00
Landon Fuller
0f6380ef4d
Match the Linux approach of assuming only the 4K NULL page is reserved.
2015-12-04 12:26:14 -07:00
Landon Fuller
d206dcba34
Define malloc_size() support for FreeBSD.
2015-12-04 12:26:06 -07:00
Landon Fuller
30080ae2c4
FreeBSD hides getline()'s prototype by default.
...
The alternative to _WITH_GETLINE would be to define _POSIX_C_SOURCE
>= 200809.
2015-12-04 12:25:47 -07:00
Landon Fuller
23fee41713
Add missing va_list include.
2015-12-04 12:25:30 -07:00
Landon Fuller
a7ec794287
Add basic build system and Driver support for FreeBSD targets/hosts.
2015-12-04 12:24:46 -07:00
Chris Eidhof
44b0e4f2dd
Use Optional's built-in map
2015-12-04 09:15:29 -08:00
ken0nek
2735dc32f7
Remove whitespaces
2015-12-05 00:07:27 +09:00
Nadav Rotem
88de1ee150
Merge pull request #171 from ken0nek/master
...
Add whitespaces.
2015-12-04 06:41:44 -08:00
Ge Sen
7c3abdf974
Add whitespaces and erase redundant whitespaces.
2015-12-04 22:04:28 +08:00
ken0nek
68a59a0258
Add whitespaces
2015-12-04 21:04:01 +09:00