Commit Graph

602 Commits

Author SHA1 Message Date
Bogdan Poplauschi dfceb49d2b Reordered categories in project file 2014-06-19 10:35:55 +03:00
Bogdan Poplauschi e4b9ef512b Fixed a warning in the demo project 2014-06-19 10:21:09 +03:00
Bogdan Poplauschi 455188355f Merge pull request #764 from n13/master
support for image orientation
2014-06-19 00:02:20 +03:00
Bogdan Poplauschi 9dcd68d5ee Merge pull request #751 from robertmryan/master
Avoid premature completion of prefetcher if request fails
2014-06-18 15:39:57 +03:00
Bogdan Poplauschi e4104942ee Return nil from SDScaledImageForKey if the input image is nil. Replaces #750. Fixes #365 2014-06-18 15:28:13 +03:00
Bogdan Poplauschi f6fdaeb6ae Merge pull request #766 from Whirlwind/origin_master
should not add url to failedURLs when timeout, cancel and so on. #707
2014-06-17 21:57:54 +03:00
Whirlwind 364f5c4d7a should not add url to failedURLs when timeout, cancel and so on. #707 2014-06-18 00:14:23 +08:00
Bogdan Poplauschi b81b7f9b4a Merge pull request #765 from Whirlwind/fix_highlight_error
fix UIImageView+HighlightedWebCache call error method
2014-06-17 19:08:28 +03:00
Bogdan Poplauschi 6c409cd8a0 Exposing the SDWebImageManager from the SDWebImagePrefetcher class. Fixes #394 2014-06-17 18:54:04 +03:00
Nikolaus Heger c76aba6c00 support for image orientation 2014-06-17 22:38:37 +07:00
Bogdan Poplauschi 2973aedd09 Merge pull request #683 from brynbodayle/master
Fixed issue where cancelled operations aren't removed from runningOperations.
2014-06-17 17:04:34 +03:00
Bogdan Poplauschi 0772019e4d SDWebImageManager uses the shared instance of SDWebImageDownloader. This was requested by several developers for easier setup of their downloads. Replaces #486 2014-06-16 18:21:06 +03:00
Bogdan Poplauschi 22782052a1 Updated README.md 2014-06-16 18:10:23 +03:00
Bogdan Poplauschi 6759e5982e Merge pull request #376 from ivanoblomov/master
Added alternate compiler flag for frameworks that extend optional libraries, like Parse and RestKit
2014-06-16 18:07:39 +03:00
Bogdan Poplauschi d6a7e1a8c3 Merge pull request #763 from dchohfi/master
#761 fixing potential bug when sending a nil url for UIButton+WebCache
2014-06-16 17:59:22 +03:00
Diego Chohfi f5d0ddc270 #761 fixing potential bug when sending a nil url for UIButton+WebCache 2014-06-16 11:46:19 -03:00
Bogdan Poplauschi 689586f73a Merge pull request #687 from rokemoon/master
Create NSOperation when start operation.
2014-06-15 22:38:07 +03:00
Bogdan Poplauschi e6c0f56d1f Exposed cache paths - fixes #339 2014-06-15 22:23:48 +03:00
Bogdan Poplauschi a0bc09df7d Merge pull request #644 from kencoken/master
Added method to SDWebImageManager to check if an image exists in either ...
2014-06-15 18:29:23 +03:00
Bogdan Poplauschi 5fd21e5ce1 Exposed SDWebImageManager cacheKeyForURL 2014-06-15 18:08:32 +03:00
Bogdan Poplauschi 5b1451e11c Since we use tag 3.6, the podspec file must match that. Fixes #757 2014-06-13 18:23:17 +03:00
Bogdan Poplauschi b29850b61b Merge pull request #714 from derpoliuk/master
Saves image to cache without downloading it.
2014-06-13 10:11:28 +03:00
Bogdan Poplauschi 7abff886ae Merge pull request #560 from klaaspieter/imageURL-property
Keep a reference to the image URL
2014-06-13 10:07:30 +03:00
Klaas Pieter Annema 1ac6b92d9d Conform to coding style 2014-06-12 13:31:40 -04:00
Klaas Pieter Annema b9389350cb Store image URLs by state in the UIButton category 2014-06-12 13:31:40 -04:00
Klaas Pieter Annema 67ed774c0c Scratch that, this won't work on UIButton 2014-06-12 13:31:40 -04:00
Klaas Pieter Annema 825207d1d0 Add imageURL property to remaining categories 2014-06-12 13:31:40 -04:00
Klaas Pieter Annema 77be243598 Add documentation to imageURL property 2014-06-12 13:30:48 -04:00
Klaas Pieter Annema 074ce1f4cf Keep a reference to the image URL 2014-06-12 13:30:48 -04:00
Olivier Poitrey f5bd783b5e Merge pull request #701 from billburgess/delayplaceholder
Delay the loading of the placeholder image until after load
2014-06-12 06:38:34 -07:00
Bogdan Poplauschi 3284e157ff Documented SDWebImageDownloaderOperation initWithRequest:options:progress:completed:cancelled: method. Fixes #526 2014-06-12 14:58:32 +03:00
Bogdan Poplauschi fe48ee54f3 Added SDWebImageCompat.m to SDWebImage+MKAnnotation target 2014-06-11 12:46:20 +03:00
Bogdan Poplauschi 5b59677437 Fixed #384 (documentation wrognly stated a return type was NSOperation) 2014-06-11 11:52:06 +03:00
Bogdan Poplauschi 12ee2d114b Updated README.md to fix #476 2014-06-11 11:44:45 +03:00
robertmryan f63a45add6 Adjusted completion logic in prefetcher, as the old implementation would finish prematurely if any requests were skipped.
Also adjusted documentation in headers to make it clear that the `finishedCount` includes both successful and unsuccessful requests.
2014-06-11 02:36:47 -04:00
robertmryan a46f6149e5 Resolve race condition.
While exceedingly unlikely, the old construct introduced potential race condition where it checked wself first, and assigned sself second. This now assigns sself first, and then checks that, which is the correct pattern, already used elsewhere in SDWebImage.
2014-06-11 02:14:40 -04:00
Bogdan Poplauschi 257da39e4d Merge pull request #732 from dchohfi/master
#725 adding completition block when removing image from cache
2014-06-10 13:41:43 +03:00
Bogdan Poplauschi caf3299c27 Merge pull request #744 from Pei116/master
fixed SDWebImageRefreshCached bug for large images
2014-06-10 13:38:28 +03:00
Bogdan Poplauschi 3b32f1dd9d Merge pull request #741 from martinblech/master
Synthesize `executing` and `finished` properties.
2014-06-08 19:00:31 +03:00
Edison Chang f43dd896fa fixed SDWebImageRefreshCached bug for large images 2014-06-04 12:36:11 +08:00
Olivier Poitrey 542d930f10 Merge pull request #742 from openresearch/master
Fix getter names. Fixes commit: 097b502eae
2014-06-03 14:26:08 -07:00
Philipp Schmid 5f239c07b8 Fix getter names. Fixes commit: 097b502eae
The getters of the properties “executing” and
“finished” both use custom getter names.

097b502eae implemented the wrong getter names
without the “is” prefix.
2014-06-03 22:42:15 +02:00
Martin Blech 241dafdd57 Synthesize `executing` and `finished` properties.
It wouldn't build on Xcode 6 otherwise.
2014-06-03 11:37:22 -03:00
Olivier Poitrey a83f440269 Merge pull request #737 from openresearch/master
Fix build on Xcode6
2014-06-02 15:04:53 -07:00
Philipp Schmid 097b502eae Fix build on Xcode6 2014-06-02 23:59:57 +02:00
Olivier Poitrey 4566b67f98 Merge pull request #735 from nickhingston/pullRequestBranch
If NSURLConnection response statusCode not valid (e.g. 404) , downloader...
2014-06-02 10:10:16 -07:00
Nick Hingston db614bc53e If NSURLConnection response statusCode not valid (e.g. 404) , downloader never stops its runloop and hangs the operation queue 2014-06-02 12:42:24 +01:00
Olivier Poitrey 5b3c54ba16 Merge pull request #734 from soundcloud/master
add a suspension method to image downloaders
2014-06-02 02:23:59 -07:00
Richard Howell 2c5ee720ba add a suspension method to image downloaders 2014-06-02 11:12:26 +02:00
Diego Chohfi 2ca5eab0e5 #725 adding completition block when removing image from cache, added an extra method so we don't break compatibility with older versions 2014-05-29 11:05:43 -03:00