Commit Graph

94 Commits

Author SHA1 Message Date
Kurry
b795c4e384 added support for custom http request headers 2015-09-11 23:08:33 -04:00
Garrett Moon
6fddc34adc Merge pull request #52 from bulusoy/master
Authentication support
2015-09-11 14:35:00 -07:00
Bilge Taylan Ulusoy
a3b58bb706 Deleted forgotton nullabel 2015-09-11 22:21:40 +02:00
Bilge Taylan Ulusoy
0229cf1410 authenticationChallenge tests + removed nullable 2015-09-11 19:55:54 +02:00
Bilge Taylan Ulusoy
dff91d09d3 Added NSAppTransportSecurity for iOS9
WARNING, allows all requests!
2015-09-11 19:48:28 +02:00
Bilge Taylan Ulusoy
adb18d2da0 Updated readme (again) 2015-09-11 11:48:21 +02:00
Bilge Taylan Ulusoy
bad75075bc Updated readme 2015-09-11 11:42:01 +02:00
Bilge Taylan Ulusoy
dfd5a8d67e Call completionHandler if authenticationChallenge Block is not set
Using NSURLSessionAuthChallengePerformDefaultHandling
2015-09-11 11:36:56 +02:00
Bilge Taylan Ulusoy
f321dc4ce4 -didReceiveAuthenticationChallenge:forTask:completionHandler: Implementation 2015-09-11 11:29:33 +02:00
Bilge Taylan Ulusoy
cc47fddd36 Implemented -URLSession:task:didReceiveChallenge:completionHandler: in PINURLSessionManager 2015-09-11 11:27:06 +02:00
Bilge Taylan Ulusoy
03d930064e Include authentication handling in PINURLSessionManagerDelegate 2015-09-11 11:24:09 +02:00
Bilge Taylan Ulusoy
6ebe4cc42d Preparing to support authentication challenge handling 2015-09-11 11:20:35 +02:00
Garrett Moon
2c3a2d6885 Merge pull request #51 from Kurry/bugfix/image-not-found-but-error-null
Bugfix Image Not Found But Error null
2015-09-10 15:53:10 -07:00
Kurry
9765a37f97 initialized error to nil 2015-09-10 18:34:45 -04:00
Kurry
b7f1856d36 fixed issue with 404 response not returning error, and added test for empty url 2015-09-10 17:54:08 -04:00
Kurry
5ebba1967b fixed issue with error not being set when URL is nil 2015-09-10 15:22:25 -04:00
Garrett Moon
b699bac81a Merge pull request #49 from pinterest/fixCategoryProcessorCallOffMainThread
Pass through all the variables :/
2015-09-03 16:50:22 -07:00
Garrett Moon
0605492fc8 Merge pull request #46 from pinterest/fixProgressRaceCondition
Fix race conditions in progress generation
2015-09-03 16:49:37 -07:00
Garrett Moon
7bc11f8ebd Pass through all the variables :/ 2015-09-03 14:23:50 -07:00
Garrett Moon
f2bde95b2a Readability improvements, thanks Jon! 2015-09-03 14:21:33 -07:00
Garrett Moon
25b2a33444 Remove unused queue. Thanks Kurry Tran! 2015-08-29 15:27:17 -07:00
Jon Parise
a3908bce98 Merge pull request #47 from sasikiran/fix-readme-typo
Fixed typo in setPin_updateWithProgress
2015-08-28 10:36:32 -10:00
Sasi
2accfd815f Fixed typo in setPin_updateWithProgress
Corrected pin_setUpdateWithProgress with setPin_updateWithProgress
2015-08-28 13:30:42 +05:30
Garrett Moon
ea8fad0c20 More awesome fixes from Jon 2015-08-27 14:28:34 -07:00
Garrett Moon
578bfd2a28 Cleanup, thanks Jon! 2015-08-27 11:14:42 -07:00
Jon Parise
2f07f44e09 Merge pull request #45 from pinterest/addProgressType
add PINRemoteImageResultTypeProgress
2015-08-27 07:37:00 -10:00
Jon Parise
ba4273d729 Merge pull request #44 from garrettmoon/fixMissingError
Passing incorrect error
2015-08-27 07:30:51 -10:00
Garrett Moon
8d3d37dec2 Passing incorrect error 2015-08-27 07:30:17 -10:00
Garrett Moon
5e3ab338e1 Fix race conditions in progress generation 2015-08-26 13:48:52 -07:00
Garrett Moon
7e6d5e439c add PINRemoteImageResultTypeProgress 2015-08-26 13:46:26 -07:00
Garrett Moon
ea39f08954 Merge pull request #40 from waltflanagan/Fix39
Addresses #39
2015-08-20 06:39:55 -07:00
Mike Simons
0715074f0f Adding comments for CGImageOrientation enum
Until minimum sdk is >= 8.0 we can't use the actual enum
2015-08-17 20:01:27 -04:00
Mike Simons
bad4912543 Non-ARC memory management fixes. 2015-08-17 19:44:10 -04:00
Garrett Moon
a8a32deefe Merge pull request #42 from pinterest/fixDeprecationWarning
Fix threadPriority deprecation warning
2015-08-17 14:24:00 -07:00
Garrett Moon
aafb5d900c Fix threadPriority deprecation warning 2015-08-17 14:12:20 -07:00
Mike Simons
42a9aa255e Convert from class method to helper function 2015-08-14 20:30:00 -04:00
Mike Simons
892a788e0f Whitespace cleanup 2015-08-14 20:27:57 -04:00
Mike Simons
82fc354d39 Addresses #39
Converts the embeded EXIF orientation into UIImageOrientation to be used when creating the resulting UIImage
2015-08-14 17:09:10 -04:00
Garrett Moon
a1e946b06f Merge pull request #37 from jparise/license
Update the copyright year and assign to Pinterest.
2015-08-12 09:10:07 -07:00
Jon Parise
4ca70f90d8 Update the copyright year and assign to Pinterest. 2015-08-12 09:05:29 -07:00
Garrett Moon
5ac38885d7 Update podspec for 1.1.2 release 1.1.2 2015-08-04 11:08:42 -07:00
Garrett Moon
c25f698fa5 Merge pull request #26 from pinterest/fixUnderOS8
Fix under os8
2015-08-04 10:43:22 -07:00
Garrett Moon
ecf99c033f Remove unwanted checkin code 2015-08-04 10:21:22 -07:00
Garrett Moon
b76df8be03 Fixing < iOS 8 crash 2015-08-04 10:15:06 -07:00
Garrett Moon
f60bb2ab5e Updating podspec for 1.1.1 release 2015-08-03 14:13:35 -07:00
Garrett Moon
9923d1a978 Merge pull request #24 from jparise/canceled-unlock
Release our lock when we encounter a canceled task
1.1.1
2015-08-03 12:45:23 -07:00
Jon Parise
2b27e1f5c5 Release our lock when we encounter a canceled task
This early-out condition would exit while still holding our lock, resulting in
Very Bad Things (tm) down the line.
2015-08-03 12:35:36 -07:00
Garrett Moon
9409a5e073 Update podspec for 1.1 release 2015-08-01 18:15:13 -07:00
Jon Parise
a36d5ff37d Merge pull request #20 from pinterest/setOperationQOS
Set QOS / Thread priority
1.1
2015-08-01 15:18:27 -07:00
Garrett Moon
053ee6dfc3 Merge pull request #17 from jmah/jmah/mini-optimization
Optimize cancelling operations a little
2015-08-01 14:14:38 -07:00