Commit Graph

96 Commits

Author SHA1 Message Date
Max Howell
34af92b718 Fix warnings and podspec deployment versions 2018-05-24 14:31:17 -04:00
Max Howell
fe4f8060c8 Fix podspec 2018-01-12 14:50:01 -05:00
Nathan Hosselton
328b707336 Update podspec to support tvOS/watchOS 2016-03-30 14:05:08 -05:00
Nathan Hosselton
98b2b52462 Fix link in podspec
Wouldn’t lint
2016-03-29 12:11:10 -05:00
Mo Firouz
315e2f84b0 Add tvOS and watchOS support to 1.x branch. Bump to 1.7.0 2016-03-15 17:22:43 +00:00
Max Howell
3ec110b557 Specify OMG dependency as ~> 2.1 2015-07-02 12:52:55 -05:00
Max Howell
e2c022d285 Remove Swift, use 2.0 for Swift 2015-05-14 17:38:56 -05:00
Max Howell
894edc923b Tag 1.5.3
Fixes for CocoaPods 0.37rc1
2015-04-28 11:39:59 -05:00
Max Howell
75cb9b7d9c Make CocoaPods happier 2015-04-17 10:26:23 -05:00
Max Howell
bfcebc2467 Time to remove these deprecations
Refs #169
2015-04-02 11:03:50 -05:00
Max Howell
99866898dd CloudKit subspec requires OS X 10.10
Tag 1.4.2
2015-03-27 14:39:11 -05:00
Max Howell
047f5ff867 pod 'PromiseKit/Swift/NSNotificationCenter' 2015-03-27 12:29:08 -05:00
Max Howell
1728bd4621 Add all Swift sub-subspecs 2015-03-20 12:59:18 -05:00
Max Howell
a241c413ee I don’t understand how the pod lint’d without this 2015-03-15 09:58:39 -05:00
Max Howell
bf8719185b Add some subspecs for Swift PromiseKit 2015-03-14 22:20:25 -05:00
Max Howell
dd29bdcc80 Allow unleashing Zalgo. If you’re sure about it.
Rationale: libraries should unleash zalgo for performance reasons, but they should be well tested and understand the implications.

These well-named functions make it clear what is happening.

Closes #141
Closes #142
2015-02-21 13:05:53 -06:00
Max Howell
650fe56669 hang to synchronously obtain a promise’s value
Closes #116

Tag 1.3.0
2015-02-21 13:05:52 -06:00
Max Howell
ba4b32c40d Move xcodeproj to root
Delete demo project.

Make umbrella header @import required frameworks; Fixes #115
2015-02-19 12:54:27 -06:00
Max Howell
cde7fac0c6 Add Join to pod spec; Fixes #148 2015-02-19 12:12:47 -06:00
Max Howell
513fd2a1fb Fixes for Swift on OS X 2015-02-11 17:19:00 -06:00
Max Howell
d7fe582aaa Get pod spec version from pbxproj; Tag 1.2.3
Swift version depends on OMGHTTPURLRQ.
2015-02-11 14:06:04 -06:00
Max Howell
43222ae946 Tag 1.2.2 2015-01-31 01:06:19 -06:00
Max Howell
8a926fa102 Swift PromiseKit requires AssetsLibrary
Sadly.
2015-01-30 18:12:36 -06:00
Max Howell
bffb816540 Tag 1.2.1 2015-01-30 15:55:55 -06:00
mike.owens
2f0b982fce Adding Swift subspec for building PromiseKit as a Swift framework 2015-01-12 13:35:26 -08:00
Max Howell
ee3550edc1 Make the wait array method generic
AnyObject sucks, and isn’t all encompassing. Also generally if you don’t have two or three promises to wait on, you have a bunch of the same type that you mapped from something, so this makes sense IMO.

Also you can still use AnyObject as T.

Tag 1.2
2014-12-05 16:59:54 -06:00
Max Howell
21d0777b9c Merge pull request #117 from josejulio/master
Added CALayer+PromiseKit.
2014-12-05 16:56:05 -06:00
patricia.montalvo
4f16cdcef7 Added CALayer+PromiseKit.
Modified podspec.
2014-12-03 22:23:55 -06:00
Max Howell
b2172272fd Mark proxied Errors as consumed
Eventually an Error will not be proxied and if it is still not consumed with a catch we will log it.

Switched to NSLog as println is not thread-safe.

Tag 1.1
2014-11-27 10:37:01 -06:00
Max Howell
ce5e9bdfb0 Tag 1.0.3 2014-11-19 16:41:34 -06:00
Max Howell
f1406a237a Tag 1.0.2 2014-11-18 11:06:18 -06:00
Max Howell
bc1be6156a Revert "Revert "Xcode 6.1 GM fixes""
This reverts commit 3271427609.
2014-10-21 14:20:24 -05:00
Max Howell
3dca2f83c1 Version 1.0 2014-10-15 13:39:48 -05:00
Max Howell
80447ba3a7 Tests for until
Tag 0.9.21
2014-10-10 15:37:51 -05:00
Max Howell
bbd316aed6 Cleanup; Tag 0.9.20 2014-10-09 14:15:09 -05:00
Max Howell
67cde5a80a Set the urlResponse key to the urlResponse
Not the data.
2014-10-03 10:04:27 -05:00
Max Howell
0023d8e617 Tag 0.9.18
Closes #95
2014-09-29 10:39:25 -05:00
Max Howell
7f30652473 Xcode 6 fixes
Tag 0.9.17.1
2014-09-28 11:29:37 -05:00
Max Howell
0a3a6d8197 NSFileManager+PMKPromise 2014-09-08 13:15:53 -05:00
Max Howell
5d8445a8af Fix value when manifold was used 2014-09-05 16:45:38 -05:00
Max Howell
6d77e091ad Try to be severe in working around ARC issues
Refs #77
Refs #80
Refs #33

Tag 0.9.16.5
2014-09-05 12:38:25 -05:00
Max Howell
d6d38a00a0 Deprecated subspec warnings 2014-09-03 12:11:02 -05:00
Max Howell
288a5dda0d SKProductsRequest -> SKRequest
This is how it should have been to start with.
2014-08-30 17:22:35 -05:00
Max Howell
158c46a6ac ARC block/copy issues
This is worrying, but this copy fixes the crash.

I think we probably need to do more copies.

Fixes #77.
2014-08-29 23:05:22 -05:00
Max Howell
61528b47b2 Prevent compiler errors when using PMKManifold
Technically this happens whenever your block returns two different types, in those cases manually specify a return type of `id`.

Fixes #76

Tag 0.9.16.2
2014-08-22 10:17:26 -05:00
Max Howell
6859550174 Missing #imports
Tag 0.9.16.1
2014-08-20 14:49:53 -05:00
Max Howell
3ff86e357c NSTask+Promise
Tag 0.9.16
2014-08-20 11:22:47 -05:00
Max Howell
7be0a05fa6 Fix Mac use of PromiseKit
Tag 0.9.15.3

Fixes #74
2014-08-15 09:56:29 -05:00
Max Howell
53506aa0e4 Handle OS_OBJECT_USE_OBJC=0
The leak was because for targets < 5 CocoaPods added the define `OS_OBJECT_USE_OBJC=0` which made it our responsibility to deallocate `dispatch_queue_t`s.

We now check for OS_OBJECT_USE_OBJC and deallocate the dispatch queue in those circumstances, however I also boosted the minimum iOS deployment target to 6. I think this is reasonable in this day and age.

I kept OS X at 10.7 however, people still want to support 10.7. This means leaks may happen in various components that expect ARC but don’t realize some parts of Foundation require explicit releases etc.
2014-08-14 12:23:21 -05:00
Max Howell
d9b9cb0623 Don’t leak; Fixes #73
Tag 0.9.15.1
2014-08-14 09:46:36 -05:00