Commit Graph

263 Commits

Author SHA1 Message Date
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
Garrett Moon
bbf05dec24 Merge pull request #16 from jmah/jmah/thread-safety-fix
Fix concurrency issue: Only alter completions dictionary while locked
2015-08-01 14:06:28 -07:00
Jon Parise
bb8c9db99f Merge pull request #18 from jmah/jmah/bool-clean
Ensure BOOLs are YES / NO
2015-08-01 13:10:57 -07:00
Garrett Moon
5036a71446 Remove extra qualityOfService set 2015-08-01 12:43:26 -07:00
Jon Parise
b6ce589aac Merge pull request #21 from pinterest/clearContextFirst
Context should be nil'd before image source
2015-08-01 12:41:07 -07:00
Garrett Moon
99b34850c7 Context should be nil'd before image source 2015-08-01 09:28:07 -07:00
Garrett Moon
144327ae99 Set QOS / Thread priority
Surprisingly, it seems that leaving the qos priority to default does not actually lead to a qos of background like the documentation states. I've found that the QOS gets upgraded to user interactive in some cases. This explicitly sets the QOS on all operations to background so we don't affect scroll performance.
2015-08-01 09:24:47 -07:00
Jonathon Mah
735852c800 Ensure BOOLs are YES / NO
Previously some could be greater than 1.
2015-07-31 18:45:44 -07:00
Jonathon Mah
ffd92b70af Optimize cancelling operations a little 2015-07-31 18:42:13 -07:00
Jonathon Mah
18bfff532b Fix concurrency issue: Only alter completions dictionary while locked 2015-07-31 18:28:30 -07:00
Jon Parise
ce50f3c2be Merge pull request #15 from jparise/early-check 2015-07-31 15:28:23 -07:00
Jon Parise
ead45bf18a Pass options directly to our early return routine.
This is a more flexible approach that will allow this routine to consider the
full set of options when evaluating an early return.

Also, the `queue` parameter was never being used so it has been removed.
2015-07-31 15:11:04 -07:00
Jon Parise
5cc919cbf9 Merge branch 'UUID' 2015-07-31 15:05:35 -07:00
Jon Parise
fd073e394e Simplify UUID parameter handler. 2015-07-31 14:54:52 -07:00
Garrett Moon
da1a21045c Merge pull request #13 from pinterest/addOlderSDKs
Add older sdks
2015-07-30 17:13:22 -07:00
Garrett Moon
49226213bf Can't specify simulator 2015-07-30 16:53:41 -07:00
Garrett Moon
b0a923a99c Add Travis tests for older SDKs. Only build master. 2015-07-30 16:51:32 -07:00
Garrett Moon
b1d7d1fe5f Merge pull request #12 from pinterest/fixQOSTestAndDocumentLimitations
Fix QOS Test (and add cleanup)
2015-07-30 16:18:02 -07:00
Garrett Moon
3cbbaf758b Move key fetch outside of for loop 2015-07-30 15:47:34 -07:00
Garrett Moon
faa6264b65 Fix QOS Test (and add cleanup)
- Remove lower quality images from cache if a higher quality one is to be downloaded
- Document weirdness around QOS and caching
- Fix QOS test
2015-07-30 15:27:44 -07:00
Garrett Moon
d45faa3044 Merge pull request #11 from pinterest/fixEarlyReturnTest
Fixing the early return test.
2015-07-30 14:26:47 -07:00
Garrett Moon
f64da583c1 Switch to for loop so this times out. 2015-07-30 14:22:22 -07:00
Garrett Moon
9fd2ca9c28 Fixing the early return test. I forgot about the optimization to execute callbacks before images are stored in the cache. 2015-07-30 14:11:23 -07:00
Garrett Moon
aaf11794c4 Merge pull request #10 from pinterest/addLinguistAttributes
Add .gitattributes to help github correctly identify language repo.
2015-07-30 13:46:30 -07:00
Garrett Moon
72c6a6556d Add .gitattributes to help github correctly identify language repo. 2015-07-30 13:42:53 -07:00
Garrett Moon
6186c59c51 Merge pull request #9 from jparise/lock-names
Name our locks.
2015-07-29 15:05:21 -07:00
Jon Parise
38d9f8e3c9 Name our locks. 2015-07-29 14:43:23 -07:00
Garrett Moon
ddcfbf1d5f Merge pull request #3 from ZevEisenberg/bugfix/zeveisenberg/1-prefix-category-methods
prefix category methods
2015-07-29 08:56:10 -07:00
Zev Eisenberg
e142bfa43f Fix dangling deprecated calls. 2015-07-27 17:58:24 -04:00
Zev Eisenberg
87fe6e7185 Minor ReadMe cleanup. 2015-07-27 17:58:23 -04:00
Zev Eisenberg
c9f1796b3f Prefix category methods. 2015-07-27 17:57:37 -04:00
Garrett Moon
ccc27640fb Publish scheme 2015-07-27 11:11:19 -07:00