Filip Klembara
258df07928
Replace less then with less then or equal in removeLast(_:) and removeFirst (_BTree)
2024-01-04 09:05:27 +01:00
Filip Klembara
c623860624
Add tests for clearing btree using removeLast
2024-01-04 08:49:28 +01:00
Filip Klembara
9f3cced986
Add tests for clearing btree using removeFirst
2024-01-04 08:49:04 +01:00
Karoy Lorentey
cc1c037a73
Merge pull request #333 from compnerd/debug
...
build: support building in Debug mode on Windows
2023-12-08 15:44:47 -05:00
Saleem Abdulrasool
e732790fde
build: support building in Debug mode on Windows
...
With this tweak, we should be able to build the package in debug mode
even on Windows. We always use the release mode DLL form of the C/C++
runtime on Windows and can build the Swift code in Debug or Release mode
optimizations.
2023-11-30 16:48:40 -08:00
Karoy Lorentey
27432ccb77
Merge pull request #332 from lorentey/merge.2023-11-27.release-1.1→main
...
Merge release/1.1 to main
2023-11-27 16:24:33 -05:00
Karoy Lorentey
cd03e5b471
Merge branch 'release/1.1'
...
# Conflicts:
# Sources/BitCollections/CMakeLists.txt
# Sources/HashTreeCollections/CMakeLists.txt
2023-11-27 12:02:32 -08:00
Karoy Lorentey
646f788209
Merge pull request #330 from compnerd/vendoring
2023-11-26 14:19:08 -05:00
Karoy Lorentey
799543d525
Merge pull request #331 from compnerd/update
2023-11-26 14:18:03 -05:00
Saleem Abdulrasool
3bd3d3ba28
build: update the build rules for adjusted tree layout
...
Update the file list and locations to allow building with CMake once
again.
2023-11-26 10:10:19 -08:00
Saleem Abdulrasool
0b7ebf4977
build: support using swift-collections in larger projects
...
This enables the use of swift-collections with CMake in a larger project
with CMake. In particular, this enables the use of swift-collections
with FetchContent to enable integration with other projects for
vendoring.
2023-11-23 19:23:13 -08:00
Karoy Lorentey
5fab05b1ea
Actually fix merge conflict
2023-11-14 18:21:56 -08:00
Karoy Lorentey
33e2e610f5
Merge branch 'release/1.0' into release/1.1
...
# Conflicts:
# Tests/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift
2023-11-14 18:06:24 -08:00
Karoy Lorentey
c44d56f4c8
Merge pull request #327 from lorentey/heap-better-bulk-insert
...
[Heap] insert(contentsOf:) Switch to Floyd’s if we’re inserting too many items
2023-11-14 17:56:22 -08:00
Karoy Lorentey
e8699cc57d
Merge pull request #322 from kati-kms/fix/document-typo
...
Fix typos: OrderedSet Documentation
2023-11-14 17:41:06 -08:00
Karoy Lorentey
f0f06ed4ec
Merge pull request #326 from lorentey/heap-doc-improvements
...
[Heap] Improve type-level doc comment
2023-11-14 16:40:29 -08:00
Karoy Lorentey and Stephen Canon
19ec155f60
Update Sources/HeapModule/Heap.swift
...
Co-authored-by: Stephen Canon <stephentyrone@gmail.com >
2023-11-14 11:06:05 -08:00
Karoy Lorentey
069dd4e5df
[Heap] insert(contentsOf:) Switch to Floyd’s if we’re inserting too many items
2023-11-13 21:28:24 -08:00
Karoy Lorentey
7686af1555
[Heap] Improve type-level doc comment
2023-11-13 18:33:43 -08:00
kati-kms
b72a6cfd93
Fix typos: OrderedSet.swift DocC
2023-11-10 15:38:16 +09:00
kati-kms
5193e405bd
Fix typos: OrderedSet.md Documentation
2023-11-10 15:38:16 +09:00
Karoy Lorentey
b2c7faa198
Merge pull request #323 from apple/lorentey-patch-2
...
Update release checklist
2023-11-08 11:16:56 -08:00
Karoy Lorentey
90b67c44ea
Update ReleaseChecklist.md
2023-11-07 17:56:09 -08:00
Karoy Lorentey
4a1d92ba85
Merge pull request #320 from lorentey/remove-unnecessary-typealiases
...
[RopeModule] Remove unnecessary typealiases
2023-10-18 18:24:58 -07:00
Karoy Lorentey
33f23b6a06
[RopeModule] Remove unnecessary typealiases
...
These render the emitted .swiftinterface unusable when the module is built with library evolution enabled.
2023-10-18 17:57:00 -07:00
Karoy Lorentey
3c8cfc7b07
Merge pull request #319 from lorentey/update-build-configs
...
[CMake, Xcode] Update configurations for alternate build systems
2023-10-18 16:22:43 -07:00
Karoy Lorentey
bd1a622735
[CMake, Xcode] Update buid configurations
2023-10-18 15:54:07 -07:00
Karoy Lorentey
9436aab34c
[HashTreeCollections] _StorageHeader.swift → _HashNodeHeader.swift
2023-10-18 15:52:05 -07:00
Karoy Lorentey
a067b75fb8
Merge pull request #318 from lorentey/enable-stable-ropes
...
[RopeModule] Fix issues in Swift's ABI stable dialect
2023-10-18 15:44:30 -07:00
Karoy Lorentey
de2c8a9086
[RopeModule] Allow building with library evolution enabled
...
rdar://114659667
2023-10-18 14:22:12 -07:00
Karoy Lorentey
a902f1823a
Merge pull request #314 from lorentey/fix-c++-benchmarks
...
[1.0][benchmark] Update std::function syntax for current C++
1.0.5
2023-10-02 21:27:26 -07:00
Karoy Lorentey
d30ebedb30
Merge pull request #315 from lorentey/fix-test-warning
...
[1.0][test] Fix typename shadowing warning in Swift 5.9
2023-10-02 21:27:14 -07:00
Karoy Lorentey
9efa05c583
[benchmark] Update std::function syntax for current C++
2023-10-02 21:10:12 -07:00
Karoy Lorentey
bf742617f3
[test] Fix typename shadowing warning in Swift 5.9
2023-10-02 21:09:11 -07:00
Karoy Lorentey
873690c60e
Merge pull request #302 from lorentey/fix-descriptions
...
Fix CustomStringConvertible/CustomDebugStringConvertible conformances
2023-07-07 11:36:06 -07:00
Karoy Lorentey
09c09f0f73
Fix CustomStringConvertible/CustomDebugStringConvertible conformances
...
- For CustomStringConvertible, `description` should print elements using `String(reflecting:)` rather than `String(describing:)`, to avoid element output from interfering with syntactically relevant punctuation within structured list displays.
- To make this work without making displays overly verbose, make `debugDescription` mostly the same as `description`, except for escaping raw string displays when and if needed.
- Avoid printing type names in `debugDescription` — it is generally not helpful, as the type is already easily accessible elsewhere. Including it makes for overly verbose displays when the type serves as an Element of a collection.
- Avoid having `debugDescription` return the empty string — it can be confusing when such a description appears in list displays.
Resolves #301 .
2023-07-06 17:25:11 -07:00
Karoy Lorentey
9eece74f39
Merge pull request #297 from hassila/patch-2
...
Update TreeSet.md
2023-06-22 13:23:45 -07:00
Joakim Hassila
b3d089e37d
Update TreeSet.md
...
Fix typo
Replace this paragraph with a description of your changes and rationale. Provide links to an existing issue or external references/discussions, if appropriate.
2023-06-21 09:42:04 +02:00
Karoy Lorentey
d8003787ef
Merge pull request #291 from lorentey/rope-fix-find-at-end
...
`Rope.find` returns a bogus remainder for the end position
2023-06-02 17:49:14 -07:00
Karoy Lorentey
03e7f0c401
[Rope] Fix find to return a zero remainder for the end position
2023-06-02 17:37:30 -07:00
Karoy Lorentey
c52a1fbf05
Merge pull request #290 from lorentey/remove-range-from-empty-rope
...
Rope: Fix trap when replaceSubrange is called on an empty rope
2023-06-02 13:57:53 -07:00
Karoy Lorentey
03c9ef743a
[Rope] Fix crash when calling replaceSubrange/removeSubrange on an empty rope
2023-06-01 20:24:24 -07:00
Karoy Lorentey
374c3a4805
Migrate rope tests to CollectionsTestSupport assertions
2023-06-01 20:23:49 -07:00
Karoy Lorentey
d93d1dccc1
Merge pull request #285 from lorentey/fix-code-signing
...
[Xcode] Set a code sign identity in the Xcode project
2023-05-18 19:20:46 -07:00
Karoy Lorentey
9c91c5a3ee
Merge pull request #288 from lorentey/fix-test-issues
...
Grab bag of fixes for small test issues
2023-05-18 19:19:50 -07:00
Karoy Lorentey
523a409ba4
Merge pull request #287 from lorentey/fix-BitSet-isEqualSet
...
[BitSet] Fix a thinko in BitSet.isEqualSet
2023-05-18 19:09:33 -07:00
Karoy Lorentey
7de462edfc
Merge pull request #286 from lorentey/silence-32bit-warning
...
[CollectionUtilities] Silence a warning on 32 bit platforms
2023-05-18 18:59:50 -07:00
Karoy Lorentey
a5fda7c368
[RopeModule] Reduce test workload on watchOS
2023-05-18 18:42:54 -07:00
Karoy Lorentey
d13dc28dbe
[CollectionsTestSupport] Fix rare overflow in integer square root tests
2023-05-18 18:42:29 -07:00
Karoy Lorentey
4b1aa5a640
[HashTreeCollections] Resolve issues with running tests on 32 bit systems
2023-05-18 18:41:42 -07:00