Commit Graph

311 Commits

Author SHA1 Message Date
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
Garrett Moon
ae91afe047 Merge branch 'feature/add-download-progress' of https://github.com/maicki/PINRemoteImage into maicki-feature/add-download-progress 2016-02-10 18:16:45 -08:00
Michael Schneider
c2a5f4220b Call PINRemoteImageDownloadTask callback blocks outside the PINRemoteImageManager lock
We call the callback blocks outside the lock that way blocking the callback won't lock up PINRemoteImageManager.
2016-02-10 14:36:25 -08:00
Michael Schneider
07b779eb4b Rename PINRemoteImageManagerDownloadProgress to PINRemoteImageManagerProgressDownload 2016-02-10 14:23:57 -08:00
Michael Schneider
5d5dada353 Rename downloadProgress: to progressDownload: 2016-02-10 14:13:56 -08:00
Michael Schneider
e2f8f67c1d Change progress block name to progressImage 2016-02-10 13:54:00 -08:00
Garrett Moon
2ec7ea23e3 Merge pull request #137 from pinterest/fixPriorityCrashOniOS7
Priority is only available on iOS 8 and above.
2016-02-10 13:16:43 -08:00
Garrett Moon
dd3738bc4a Priority is only available on iOS 8 and above. 2016-02-09 15:31:18 -08:00
Justin Williams
447deae273 Enable bitcode on compilation from Xcodeproj. 2016-02-09 11:52:49 -07:00
Garrett Moon
9c5c68f58a Fix Carthage project 2016-02-09 10:19:59 -08:00
Garrett Moon
0db4543285 Merge pull request #135 from maicki/feature/fix-missing-categories
Replace UI* with PIN* category files in the PINRemoteImage project
2016-02-09 09:16:03 -08:00
Michael Schneider
3bc906d167 Replace UI* with PIN* category files in PINRemoteImage project file 2016-02-08 20:58:40 -08:00
Michael Schneider
da255a576c Add optional block to track download progress of image 2016-02-08 20:28:29 -08:00
Garrett Moon
75b1e67226 Update for 2.0 2016-02-08 18:49:15 -08:00
Garrett Moon
2082c10959 Update for 2.0 2016-02-08 18:48:48 -08:00
Garrett Moon
3d34d8f499 Fix podspec for 2.0 2016-02-08 18:37:12 -08:00
Garrett Moon
35471c41d9 Merge pull request #133 from pinterest/removeDeprecatedMethodsInPreperationOf2
Remove deprecated methods in preperation for 2.0
2016-02-08 17:15:14 -08:00
Garrett Moon
ec0fa5b85a Remove deprecated methods in preperation for 2.0 2016-02-08 17:02:30 -08:00
Garrett Moon
95f5dc3fc0 Updating podspec for 2.0 release 2016-02-08 16:46:09 -08:00