Commit Graph

1388 Commits

Author SHA1 Message Date
Max Howell
46451dde7d
Add new test 2020-10-04 19:48:23 -04:00
Max Howell
ef9b9ee63d
Fix Swift 5.x warnings 2020-10-04 12:01:43 -04:00
Max Howell
59997dd6d9
Fix NSError().isCancelled crashing 2020-10-04 12:00:25 -04:00
Max Howell
6c954ab704
Updates for Xcode 12 2020-10-04 12:00:24 -04:00
Max Howell
aea48ea185
Update PMKStoreKit to 3.1.4 2020-08-31 09:09:37 -04:00
Max Howell
f6b15b7626
Merge pull request #1154 from SixFiveSoftware/tech/remove_unused_variables
Remove unused index var in when.swift
2020-06-24 10:22:33 -04:00
BJ Miller
817ea8c3f4 Remove unused index var in when.swift 2020-06-19 09:51:43 -04:00
Bruno Virlet
953665d28b Minor correction to chaining sequence example 2020-05-24 18:22:01 -04:00
Luka Bratos
f9cc0d67dc Fix typo 2020-03-14 09:21:50 -04:00
Cong Liu
f95e7b2614 Fixed a typo
"excecutes" should be "executes".
2020-02-24 09:44:41 -05:00
Max Howell
f14f16cc26
Correct Travis labels 2020-01-16 10:29:09 -05:00
Max Howell
80053b1db5
Update PMKHomeKit to 1.1.0
Also syncs other submodules, but they have no source code changes.
2020-01-16 10:29:09 -05:00
Max Howell
34f74c1b8f
Merge pull request #1121 from RomanPodymov/master
More map by keyPath
2020-01-15 17:01:33 -05:00
Roman Podymov
87a0b0e30b
Tests for the functions that are using KeyPath require !swift(>=5.2) (Thenable) 2020-01-14 22:03:22 +01:00
Roman Podymov
98e3f1cd28
Tests for the functions that are using KeyPath require !swift(>=5.2) (Guarantee) 2020-01-14 22:02:07 +01:00
Roman Podymov
8fd461350f
Functions that are using KeyPath require !swift(>=5.2) (Thenable) 2020-01-14 22:01:01 +01:00
Roman Podymov
6652ad3d07
Functions that are using KeyPath require !swift(>=5.2) (Guarantee) 2020-01-14 21:59:42 +01:00
Roman Podymov
9ea7d3daed
Fixed tests ordering 2020-01-08 22:26:55 +01:00
Roman Podymov
bf293b7395
New items in GuaranteeTests and ThenableTests 2020-01-08 21:17:06 +01:00
Roman Podymov
15a73f95cd
Tests for new mapping functions 2020-01-08 21:15:05 +01:00
Roman Podymov
35379bb8a0
struct Person and tests for new mapping functions 2020-01-08 21:12:41 +01:00
Roman Podymov
5fb0714f47
New compactMap, mapValues, compactMapValues, filterValues 2020-01-08 21:10:42 +01:00
Roman Podymov
10c9e75f81
New mapValues, compactMapValues and filterValues 2020-01-08 21:07:59 +01:00
Roman Podymov
f8a593a320 Map by keyPath (#1118)
* Added func map<U>(_ keyPath: KeyPath<T, U>)

* Added swift version

* Added func map<U>(_ keyPath: KeyPath<T, U>)

* testMap

* testMap for Guarantee

* Added missing __allTests__GuaranteeTests

* Added all missing tests

* Removed #if swift

* Tests ordering

* Fixed tests
2020-01-07 17:02:16 +00:00
Max Howell
8b97eb2599
https://tidelift.com/security 2019-12-05 16:28:31 -05:00
Max Howell
586da3519a
Merge pull request #1113 from jfahrenkrug/clarify_faq_about_when_promises_start
Documentation: Clarify when a promise "starts" in the FAQ
2019-11-15 16:18:20 -05:00
Johannes Fahrenkrug
5e2e7e3a75
Documentation: Clarify when promise body gets executed 2019-11-15 11:57:38 -05:00
Johannes Fahrenkrug
8fbf6985b4
Documentation: Clarify when a promise "starts" in the FAQ
Provide a simpler exlanation and examples about when promises "start".
Make it clear that the promise's body executes after the promise is created,
without the need to call `then` or `done` on it. Also clarify that async
tasks that a being kicked off from a promise's body behave the same way
regardless of whether PromiseKit is being used or not.
2019-11-15 11:39:21 -05:00
Max Howell
e135aab767
Merge pull request #1112 from emrcftci/master
refactor(*): Change empty tuples to `Void`
2019-11-13 09:58:38 -05:00
emrcftci
c864814c1d refactor(*): Change empty tuples to Void 2019-11-13 08:54:47 +03:00
Max Howell
e36de47eac
Merge pull request #1097 from mxcl/swift-5.1-linux
Swift 5.1 release travis linux
2019-10-18 15:09:57 -04:00
Max Howell
f7e53175f2
Swift 5.1 release travis linux 2019-09-25 13:26:24 -04:00
Roman Podymov
10a10ed8bd Promise.value and Guarantee.value when T == Void (#1096)
* Promise.value when T == Void

* Guarantee.value where T == Void

* Replace class with static because Promise is final

* Optimised Guarantee.value where Value == Void

* Add comment

* Implementation with Void()

* Tests for Promise<Void>.value

* Tests for Guarantee<Void>.value

* Added tests for Promise<Void> and Guarantee<Void>
2019-09-25 13:24:39 -04:00
Max Howell
08fb076071
Update CommonPatterns.md 2019-09-04 14:01:49 -04:00
Max Howell
4d8d1287d2
Merge pull request #1090 from mxcl/xcode10.3
[ci] Xcode 10.2 -> 10.3
2019-08-23 10:04:30 -04:00
Max Howell
2136f01c21
Tidelift can ignore node 2019-08-23 08:58:05 -04:00
Max Howell
2305c38634
Only enable errors as warnings in Travis 2019-08-22 09:42:56 -04:00
Max Howell
b8c2dff1a7
Fix git submodules
Cannot push to CoreBluetooth since I archived it
2019-08-21 13:21:58 -04:00
Max Howell
346dd2c98d
[ci] Xcode 10.2 -> 10.3 2019-08-21 13:10:54 -04:00
Max Howell
bee0497eb9
Merge pull request #1086 from Skoti/feature/correcting_descriptions
correcting and aligning documentation regarding `resolve` and `fulfil…
2019-08-13 07:27:29 -04:00
Skoti
93a098f33b correcting and aligning documentation regarding resolve and fulfill usages 2019-08-10 16:56:26 +02:00
Max Howell
8818af27ba
Update Foundation extension with fix (ee06d95) 2019-07-24 10:50:13 -04:00
Max Howell
951993371a
Update gitsubmodules to LICENSE added extensions 2019-07-24 10:39:13 -04:00
Max Howell
8e5f5d0945
Merge pull request #1079 from mxcl/xcode11
Xcode 11 / Swift 5.1 support
2019-07-09 17:22:17 -04:00
Max Howell
c394b5231e
Xcode 11 / Swift 5.1 support 2019-07-09 15:07:50 -04:00
Max Howell
2fdb8c64a8
Merge pull request #1078 from RomanPodymov/master
Add AnyPromise.wait
2019-06-28 10:23:21 -04:00
Roman Podymov
6303e93089
Update AnyPromiseTests.m 2019-06-28 12:58:15 +02:00
Roman Podymov
9cd56c237d
Update AnyPromiseTests.m 2019-06-28 12:33:21 +02:00
Roman Podymov
ee961e1f59
Update AnyPromise.swift 2019-06-28 12:03:32 +02:00
Roman Podymov
0452552590
Update AnyPromise.m 2019-06-28 12:02:03 +02:00