Karoy Lorentey
6b63044bb9
Merge pull request #265 from compnerd/arm64
...
build: add ARM64 to the architecture mappings for Windows
2023-03-14 17:28:15 -07:00
Saleem Abdulrasool
5dc7a8970e
build: add ARM64 to the architecture mappings for Windows
...
Windows uses `ARM64` for `CMAKE_SYSTEM_PROCESSOR` which does not match
the current spellings.
2023-03-02 10:59:03 -08:00
Karoy Lorentey
937e904258
Merge pull request #252 from lorentey/add-documentation-bundles
...
[1.0] Add DocC documentation bundles
1.0.4
2022-12-08 10:54:21 -08:00
Karoy Lorentey
089666b32b
Add a separate package manifest for Swift 5.5+
2022-12-07 14:25:12 -08:00
Karoy Lorentey
b4c1070741
[Docs] Update high-level Collections docs
2022-12-06 21:02:34 -08:00
Karoy Lorentey
e14a0359ca
Add a configuration file for the Swift Package Index
2022-12-06 21:02:09 -08:00
Karoy Lorentey
847b548a03
[Manifest] Exclude documentation bundles from 5.3 manifest
...
We should have a separate Package@swift-5.5.swift manifest
that removes these exclusions; however, that requires some
additional validation testing — let’s do that later.
2022-12-06 19:39:08 -08:00
Karoy Lorentey
a874de5f7f
[OrderedCollections] Refresh some docs with DocC links
2022-12-06 19:00:59 -08:00
Karoy Lorentey
08b38129b9
[OrderedSet] Fix outdated documentation
2022-12-06 18:41:29 -08:00
Karoy Lorentey
141c3939bf
[DocC] Add documentation bundles for all three targets
2022-12-06 18:41:04 -08:00
Karoy Lorentey
08e91c6360
Merge pull request #214 from lorentey/OrderedSet-doc-updates
...
[OrderedSet] Small doc updates/fixes
2022-10-19 13:15:40 -07:00
Karoy Lorentey
2b4ec22949
[OrderedSet] Small doc updates/fixes
2022-10-18 22:03:29 -07:00
Karoy Lorentey
03a30ba5d8
Merge pull request #201 from lorentey/stable-sort
...
[OrderedCollections] Update docs to state that the sort algorithm is stable
2022-10-12 16:26:21 -07:00
Karoy Lorentey
51604cd196
[OrderedCollections] Oops, restore custom wording for areInIncreasingOrder variants
2022-10-12 15:11:57 -07:00
Karoy Lorentey
4997e15320
[Xcode] Update to latest package versions
2022-10-11 13:38:55 -07:00
Karoy Lorentey
a624614717
[OrderedCollections] Document that sort is stable (as of SE-0372)
2022-10-11 13:38:10 -07:00
Karoy Lorentey
8bf9206b53
Merge pull request #187 from ensan-hcl/patch-1
...
Fix `rethrows` position
2022-10-09 13:16:11 -07:00
ensan
0f92943ba3
Fix rethrows position
...
Minor typo fix.
2022-10-03 11:57:28 +09:00
Karoy Lorentey
45c3f308ac
Merge pull request #189 from lorentey/OrderedSet-doc-fix
...
[OrderedSet] Tiny doc fixes for isSuperset.
2022-09-30 14:51:02 -07:00
Karoy Lorentey
66651795d8
[OrderedSet] Tiny doc fixes for isSuperset.
2022-09-29 17:56:55 -07:00
Karoy Lorentey
f504716c27
Update README for 1.0.3
1.0.3
2022-09-01 17:32:57 -07:00
Karoy Lorentey
a9e2276472
Merge pull request #168 from lorentey/cherry-pick-1.0.3
...
Cherry pick recent fixes to release/1.0 in preparation of tagging 1.0.3
2022-09-01 17:21:25 -07:00
Karoy Lorentey
96c9d7a782
Merge pull request #169 from lorentey/fix-call-site-ambiguities
...
[OrderedDictionary] Resolve call-site ambiguities
2022-09-01 17:14:53 -07:00
Karoy Lorentey
71aa4a39ae
[OrderedDictionary] Resolve spurious(?) call-site ambiguities
2022-08-31 17:57:24 -07:00
Karoy Lorentey
b379fa7aee
[OrderedCollections] Force-inline all _modify accessors
...
(cherry picked from commit ee1b2de06e )
2022-08-31 17:13:53 -07:00
Karoy Lorentey
eb541ed4c6
[Deque] Add direct benchmarks for indexing subscript’s _modify accessor
...
(cherry picked from commit c82261a529 )
2022-08-31 17:13:53 -07:00
Karoy Lorentey
d5bd858758
[Deque] Fix testing in DequeModule.xcscheme
...
(cherry picked from commit 0a26362226 )
2022-08-31 17:13:53 -07:00
Karoy Lorentey
87c78de6b4
[Deque] Force-inline the subscript’s _modify accessor to work around a performance issue
...
Resolves #164 .
(cherry picked from commit 98cd753866 )
2022-08-31 17:13:53 -07:00
Karoy Lorentey
6cbecdb467
[OrderedSet] Work around weird name lookup issue in compiler
...
Resolves #157 .
(cherry picked from commit 1071b37294 )
2022-08-31 17:13:53 -07:00
Karoy Lorentey
d0f05d5cf5
[OrderedCollection] Use standard temp allocation facility, if available
...
The 5.6 stdlib introduced a new facility for temporary allocations
that promises better performance than direct allocations. Use it when
the toolchain version is above 5.6.
(cherry picked from commit ddb6d141b3 )
2022-08-31 17:13:53 -07:00
Karoy Lorentey
ac20a2c31d
[Xcode] Update schemes & file template
...
Update Collections scheme with support for testing.
Update the copyright year in file template.
(cherry picked from commit 3437abecc4 )
2022-08-31 17:13:53 -07:00
Karoy Lorentey
4908474e30
Fixup schemes
2022-08-31 17:06:34 -07:00
Karoy Lorentey
b816872d24
swift-collections.xcworkspace: Update dependencies
...
(cherry picked from commit 00a99aa77c )
2022-08-31 17:03:08 -07:00
Karoy Lorentey
8611b32dfe
Set up shared schemes in the xcworkspace under Utils/
...
(cherry picked from commit 3fce10a45a )
2022-08-31 17:03:03 -07:00
Hector Matos
85576263f6
Update .gitignore
...
(cherry picked from commit 7016a13f0e )
2022-08-31 17:02:38 -07:00
Hector Matos
3c856903e5
Delete .swiftpm directory
...
(cherry picked from commit 480b0af010 )
2022-08-31 17:02:19 -07:00
Karoy Lorentey
fe94c36ad2
Merge pull request #153 from lorentey/issue145
...
[OrderedDictionary][doc] Update docs for merge/filter operations
2022-05-23 16:26:53 -07:00
Karoy Lorentey
6cb037037d
[OrderedDictionary][doc] Update docs for merge/filter operations
...
Resolves #145
2022-05-23 16:17:35 -07:00
Karoy Lorentey
20e7fceec8
Merge pull request #140 from apple/fix-OrderedDictionary-grouping-inference
...
[OrderedDictionary] Fix type inference issue with `OrderedDictionary.init(grouping:by:)`
2022-02-09 11:55:48 -08:00
Karoy Lorentey
50e6a1ac71
[OrderedDictionary] Fix type inference issue with OrderedDictionary.init(grouping:by:)
...
This adds a new overload to help the type checker infer `[S.Element]` as the default `Value` type.
Resolves #139 .
2022-02-08 14:16:18 -08:00
Karoy Lorentey
48254824bb
Merge pull request #113 from lorentey/deque-scaling
...
[Deque] `append(contentsOf:):` Use exponential capacity reservation
1.0.2
2021-11-15 16:15:59 -08:00
Károly Lőrentey
efefae5653
[Deque] append(contentsOf:): Use exponential capacity reservation
...
Depending on the supplied sequence, `Deque.append(contentsOf:)` currently reserves just enough capacity as it needs to perform the append. This isn't right -- it can result in O(n) reallocs instead of O(log(n)) when items are incrementally appended in constant-sized `append(contents:)` batches.
2021-11-15 16:12:28 -08:00
Karoy Lorentey
1337897dc6
Merge pull request #128 from lorentey/full-test-improvements
...
[Utils] run-full-tests.sh: Add support for testing on Swift 5.3 without manual editing
2021-11-15 16:05:40 -08:00
Karoy Lorentey
9dde4b5603
[Utils] run-full-tests.sh: Add support for testing on Swift 5.3 without manual editing
2021-11-15 15:46:12 -08:00
Karoy Lorentey
da3a73ed90
Merge pull request #126 from lorentey/full-test-improvements
...
[Utils] run-full-tests.sh: Keep going after a failure
2021-11-15 14:50:57 -08:00
Károly Lőrentey
ddc8b9c66d
[Utils] run-full-tests.sh: Keep going after a failure
2021-11-15 14:08:09 -08:00
Karoy Lorentey
c86bf6adf0
Merge pull request #123 from lorentey/fix-OrderedSet
...
[OrderedSet] Add missing uniqueness check
2021-11-12 17:09:27 -08:00
Károly Lőrentey
074b0ad213
[OrderedSet] Add missing uniqueness check in OrderedSet._insertNew(_:at:in:)
2021-11-11 00:40:01 -08:00
Károly Lőrentey
13b5889757
[OrderedCollections][test] Strengthen withHiddenCopies tests
...
`withHiddenCopies(if:of:)` is supposed to check for value semantic violations where mutations of one copy affect another -- however, it currently only checks that iteration returns the same items before/after the change, not that the old copy is still in a fully consistent state.
Add an extra parameter that can be set to a closure that performs stricter checks.
Use it to call `_checkInvariants()` in ordered collections tests, uncovering a missing uniqueness check in `OrderedSet._insertNew(_:at:in:)`.
2021-11-11 00:39:29 -08:00
Karoy Lorentey
2d33a0ea89
Merge pull request #111 from neonichu/fix-aarch64
...
[CMake] Match lowercase "aarch64"
1.0.1
2021-09-14 12:05:08 -07:00