Commit Graph

379 Commits

Author SHA1 Message Date
Justin Williams
fa2fee5c7a Include TargetConditionals in macros file 2016-03-17 08:45:57 -06:00
Justin Williams
0235250a5f More explicit TargetConditional intentions
First we check to see if we are on the iOS or tvOS. If not, then we defer back to OS X.

TARGET_OS_IPHONE is a variant of TARGET_OS_MAC, which makes this whole thing really stupid.
2016-03-17 08:45:57 -06:00
Garrett Moon
29c1735b3c 2.1 release 2.1 2016-03-11 21:06:45 -08:00
Garrett Moon
2214c0e133 Merge pull request #160 from ikesyo/fix-mac-example-and-carthage-support
Fix Example-Mac and Carthage support
2016-03-11 20:50:51 -08:00
Garrett Moon
7b00edd550 Merge pull request #162 from pinterest/addSupportForSynchronouslyGettingImageFromCache
Add support for synchronously getting images from the cache. Also, st…
2016-03-11 20:22:26 -08:00
Garrett Moon
2e3c844c28 UIImage should be PINImage 2016-03-11 16:35:46 -08:00
Garrett Moon
33b37abeea Shouldn't be deprecated :) 2016-03-11 15:52:25 -08:00
Garrett Moon
adef89e8a8 Merge pull request #161 from maicki/DisableImageSourceShouldCache
Set kCGImageSourceShouldCache false by default
2016-03-11 15:43:19 -08:00
Michael Schneider
42c45261da Fix using wrong variable 2016-03-11 15:24:42 -08:00
Garrett Moon
3b5164af98 Add support for synchronously getting images from the cache. Also, store images in cache even if they aren't decoded. 2016-03-11 15:17:30 -08:00
Michael Schneider
f6ae01a2b0 Set kCGImageSourceShouldCache false by default 2016-03-11 14:49:06 -08:00
Syo Ikeda
9109ff5a5f Fix Example-Mac and Carthage support
There is an invalid `Pods-PINRemoteImage-PINRemoteImage.xcscheme` scheme which does not have corresponding build target.
2016-03-12 00:05:23 +09:00
Garrett Moon
75a485e75d Merge pull request #131 from ioveracker/tvos
Added support for tvOS
2016-03-09 20:44:32 -08:00
Isaac Overacker
d492b7c3da Added tvOS subspec, tvOS example cleanup.
- tvOS subspec excludes FLAnimatedImage (for now)
- Removed GIF and WebP examples
- Added Pods directory
2016-03-09 20:16:37 -08:00
Isaac Overacker
b563875a3a Added tvOS example 2016-03-09 20:16:36 -08:00
Isaac Overacker
dfe601aef0 Added tvOS deployment target to podspec. 2016-03-09 20:16:36 -08:00
Garrett Moon
cb388415b2 No verbose on pod lint 2016-03-09 20:10:52 -08:00
Garrett Moon
e062c44b2c Merge pull request #157 from pinterest/fixXCPretty
Get XCPretty output
2016-03-06 12:05:26 -08:00
Garrett Moon
a10193f0cf Get XCPretty output 2016-03-06 11:34:52 -08:00
Garrett Moon
c75b7ffc95 Switch to latest instead of 9.2 2016-03-06 09:46:51 -08:00
Garrett Moon
afd6f20d82 Merge pull request #156 from pinterest/updateTravisScriptToUseXcodebuild
Update travis script to use xcodebuild
2016-03-06 09:20:15 -08:00
Garrett Moon
7c6a48f91f Update travis script to use xcodebuild 2016-03-06 09:03:42 -08:00
Garrett Moon
231ccb1b21 PIN_APP_EXTENSIONS is no longer necessary. 2016-03-05 15:28:13 -08:00
Garrett Moon
01820a229d Allow warnings in pod lint 2016-02-23 17:09:21 -08:00
Garrett Moon
a1bdc876ce Latest version of PINCache 2016-02-23 16:44:37 -08:00
Garrett Moon
0c57cc7df8 Merge pull request #150 from pinterest/2.0.1Release
2.0.1 release
2.0.1
2016-02-23 15:58:49 -08:00
Garrett Moon
38394f7e7f Add pod linting to travis 2016-02-23 15:52:50 -08:00
Garrett Moon
a189316e0f Bumping to 2.0.1 2016-02-23 15:36:14 -08:00
Garrett Moon
e7827ed67a Adding changelog 2016-02-23 15:35:47 -08:00
Garrett Moon
ae71a074ae Merge pull request #148 from pinterest/fixProgressCrash
Fixes a crash in task callbacks
2016-02-23 14:09:20 -08:00
Garrett Moon
cf7a88fe20 Added comments 2016-02-23 11:11:13 -08:00
Garrett Moon
dea281bed6 All access to callback should be done outside async 2016-02-23 11:09:53 -08:00
Garrett Moon
29b0b4ac65 Fixes a crash in task callbacks
While all methods on tasks are called within the manager's lock,
dispatching to another queue obviously means the manager may not
be locked anymore.

I also moved calling progress download callbacks to the download
task so it's similar to progress image.

Hopefully these issues have been fixed, but it leads me to believe
a better architecture would be to make the tasks immutable by the
manager and have the tasks manage a lock on themselves. I'll need
to think about that more.
2016-02-23 11:01:56 -08:00
Garrett Moon
2532dace02 Merge pull request #147 from pinterest/fixREADME
Fix readme link, thanks @cbttpaul!
2016-02-22 13:10:32 -08:00
Garrett Moon
c58713e8ff Fix readme link, thanks @cbttpaul! 2016-02-22 13:09:59 -08:00
Garrett Moon
06485660d2 Fix warning due to int conversion 2016-02-17 16:00:41 -08:00
Garrett Moon
7c641ab6e5 Merge pull request #143 from pinterest/dontSetQOSOnEveryOperation
We only need to check respondsToSelector once and set QOS on queue, n…
2016-02-17 15:59:50 -08:00
Garrett Moon
d23487c57e That would have been bad. 2016-02-17 13:43:01 -08:00
Garrett Moon
5f609a7cde Remove load and instead make supportsQOS method. Thanks @appleguy! 2016-02-17 13:43:01 -08:00
Garrett Moon
ed5fa6af52 We only need to check respondsToSelector once and set QOS on queue, not each operation. 2016-02-17 13:43:01 -08:00
Garrett Moon
5d77ef93a4 Merge pull request #144 from pinterest/fixWaitForCache
sleep is seconds, not milliseconds :(
2016-02-17 13:42:12 -08:00
Garrett Moon
065d7cde02 sleep is seconds, not milliseconds :( 2016-02-17 13:31:08 -08:00
Garrett Moon
0d322b3ea8 Merge pull request #139 from pinterest/fixProgressiveExamples
The example image is bigger than the max progressive render size.
2016-02-11 11:06:05 -08:00
Garrett Moon
41e031e4e9 Merge pull request #141 from justin/fix-module-map
Fixed modulemap file to reference PINButton/PINImageView.
2016-02-11 11:05:52 -08:00
Justin Williams
a165d45104 Make PINButton+PINRemoteImage & PINImageView+PINRemoteImage have public instead of project visibility. 2016-02-11 08:28:07 -07:00
Justin Williams
3a9d639c52 Fixed modulemap file to reference PINButton/PINImageView. 2016-02-11 08:27:07 -07:00
Garrett Moon
4d44e559a2 Merge pull request #136 from justin/bitcode
Enable bitcode on compilation from Xcodeproj.
2016-02-10 20:50:37 -08:00
Garrett Moon
a29fa8123a The example image is bigger than the max progressive render size. 2016-02-10 20:48:59 -08:00
Garrett Moon
2d7b0f997c Merge branch 'maicki-feature/add-download-progress' 2.0 2016-02-10 18:21:19 -08:00
Garrett Moon
b57161ddcb Callback on callback queue 2016-02-10 18:20:55 -08:00