Commit Graph

166 Commits

Author SHA1 Message Date
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
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
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
fd073e394e Simplify UUID parameter handler. 2015-07-31 14:54:52 -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
Jon Parise
38d9f8e3c9 Name our locks. 2015-07-29 14:43:23 -07:00
Zev Eisenberg
c9f1796b3f Prefix category methods. 2015-07-27 17:57:37 -04:00
Jared Sinclair
8dc2c2a4f5 fix(imports): change to module imports where relevant 2015-07-26 18:25:56 -04:00
Garrett Moon
9d2bd31f95 1.0 2015-07-22 17:29:31 -07:00