Slava Pestov
2e5aef9c8d
stdlib: Remove redundant @usableFromInline attributes
2018-04-06 00:02:30 -07:00
Slava Pestov
e1f50b2d36
SE-0193: Rename @_inlineable to @inlinable, @_versioned to @usableFromInline
2018-03-30 21:55:30 -07:00
Lance Parker
0661de22a2
[stdlib]Un-revert string comparison ( #14694 )
...
Restore (un-revert) sting comparison, with fixes
More exhaustive testing of opaque strings, which consistently reproduces prior sporadic failure. Shims fixups. Some test tweaking.
2018-02-18 10:50:33 -08:00
Lance Parker
abe6a6d177
Revert string comparison ( #14657 )
2018-02-15 14:37:43 -08:00
Lance Parker
897963a6f8
Unified String comparison strategy for all platforms
2018-02-14 15:44:11 -08:00
Michael Ilseman
6d1866f846
[StringGuts] Clean-up in preparation for merge.
...
Clean up a lot of the scattered utility functions, FIXMEs, etc in
preparation for the merge to master.
2018-01-21 12:38:49 -08:00
Karoy Lorentey
90e894729a
[StringGuts] Linux support
...
Add support for compiling StringGuts without the Objective-C runtime.
2018-01-21 12:37:36 -08:00
Karoy Lorentey
f2a96496a0
[StringGuts] Support for 32-bit platforms
...
Add 32-bit support to the new StringGuts.
2018-01-21 12:36:09 -08:00
Michael Ilseman
3be2faf5d3
[String] Initial implementation of 64-bit StringGuts.
...
Include the initial implementation of _StringGuts, a 2-word
replacement for _LegacyStringCore. 64-bit Darwin supported, 32-bit and
Linux support in subsequent commits.
2018-01-21 12:32:26 -08:00
Greg Parker
da14cd79a6
[runtime] Clean up symbol exports in libc functions. ( #13202 )
2017-12-01 17:49:11 -08:00
Slava Pestov
c272d41e2f
Re-apply "SIL: Remove special meaning for @_semantics("stdlib_binary_only")"
...
With -sil-serialize-all gone, this no longer means anything; just
don't declare the function as @_inlineable instead.
Fixes <rdar://problem/34564380>.
2017-10-04 14:07:52 -07:00
Jordan Rose
aab5f7aa4f
Revert "SIL: Remove special meaning for @_semantics("stdlib_binary_only")" ( #12270 )
...
It still affects StdlibUnittest, which is still using -sil-serialize-all.
2017-10-04 12:49:21 -07:00
Slava Pestov
0fad13eeba
SIL: Remove special meaning for @_semantics("stdlib_binary_only")
...
With -sil-serialize-all gone, this no longer means anything; just
don't declare the function as @_inlineable instead.
Fixes <rdar://problem/34564380>.
2017-10-03 13:48:22 -07:00
Max Moiseev
53b8419279
[stdlib] Make all the stdlib APIs @_inlineable
...
This change in theory should allow us to remove a special stdlib-only
sil-serialize-all compilation mode.
<rdar://problem/34138683>
2017-09-29 11:26:56 -07:00
Maxim Moiseev
a5ff35cd41
[stdlib] extendingOrTruncating: => truncatingIfNeeded:
2017-07-26 11:09:36 -07:00
Ben Cohen
28c470da45
Test if two ascii string pointers are equal before memcmp ( #10018 )
2017-06-01 15:01:42 -07:00
Max Moiseev
2d49d17a75
[stdlib] Addressing the benchmark regression
2017-05-05 10:51:32 -07:00
Maxim Moiseev
1c1b2b966d
[stdlib] String : RangeReplaceableCollection & BidirectionalCollection ( #8921 )
...
* [stdlib] String : RangeReplaceableCollection & BidirectionalCollection
* Add source compatibility hack for Swift.max
* Add source compatibility hack for Swift.min
* Remove redundant conformance in benchmarks
* Fix stupid typo I thought I'd already pushed
* XFAIL testing now-redundant conformance
* XFAIL an IDE test for now
2017-04-23 20:04:54 -07:00
Max Moiseev
2f5fd8e2ed
Improving benchmarks
2017-03-27 14:59:27 -07:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
Dmitri Gribenko
ef974af339
stdlib: disable an incorrect String comparison optimization on platforms that call ICU directly
...
... and add a test to ensure that the next attempt at writing this
optimization won't introduce a regression.
2016-09-06 22:46:40 -06:00
Dmitri Gribenko
fc6add3880
stdlib: move 'String : Comparable' conformance to a separate file
...
I'm about to add more code around it.
2016-09-04 14:01:35 -07:00