Commit Graph

558 Commits

Author SHA1 Message Date
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
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
Bogdan Poplauschi 7edeef9f1a Updated README.md with CocoaPods install 2014-05-28 09:46:40 +03:00
Olivier Poitrey fca411224b Merge pull request #728 from kejinlu/master
The ioQueue is "SERIAL" ,so "dispatch_barrier_async" is not needed.
2014-05-24 10:38:16 -07:00
卢克 dab65ae8f5 The ioQueue is "SERIAL" ,so "dispatch_barrier_async" is not needed. 2014-05-24 21:08:39 +08:00
Olivier Poitrey 7764e47a36 Merge pull request #727 from kejinlu/master
It's generally a bad idea to remove items from a container while iterating through it.
2014-05-23 15:00:20 -07:00
卢克 b1203d4a9e It's generally a bad idea to remove items from a container while iterating through it. And fix the thread safe issue. 2014-05-23 17:44:59 +08:00
Olivier Poitrey 1c5060369e Merge pull request #721 from rivera-ernesto/improve_logging
Improve logging and fix arm64 warnings when printing integers with %d
2014-05-21 22:44:47 -07:00
Olivier Poitrey 36d5069b66 Merge pull request #720 from rivera-ernesto/update_projects
Update projects to Xcode recommended settings
2014-05-21 07:47:16 -07:00
利辺羅エルネスト 29302f49b3 Improve logging and fix arm64 warnings when printing integers with %d 2014-05-21 17:15:01 +09:00
利辺羅エルネスト 6c79daad00 Update projects to recommended settings 2014-05-21 17:10:25 +09:00
Olivier Poitrey 6f02d77add Merge pull request #646 from Whirlwind/master
add category for imageView's highlighted state
2014-05-20 23:39:25 -07:00
Olivier Poitrey 8fe72023dc Merge pull request #700 from herrernst/master
Save image in cache before calling completion block
2014-04-28 12:31:04 +02:00
herrernst 83843a493a Save image in cache before calling completion block 2014-04-26 12:43:25 +02:00
Olivier Poitrey c9a24e294a Merge pull request #698 from salling/master
Fixing race in SDWebImageDownloaderOperation leading to erroneous timeout.
2014-04-22 18:35:30 +02:00
Jonas Salling bdef7651f0 Update SDWebImageDownloaderOperation.m
Fixing race condition that causes cancellation of one download operation to stop a run loop that is now used for another download operation. Race is introduced through -performSelector:onThread:withObject:waitUntilDone:
2014-04-22 14:52:20 +02:00
Olivier Poitrey 88e6ca3e49 Merge pull request #694 from shifu/master
Port Max's crash fix to my 3.6 fork
2014-04-16 20:22:13 -07:00
Chang Luo 1f202ed7a3 Port Max's crash fix to my 3.6 fork 2014-04-16 16:06:22 -07:00
Olivier Poitrey db86161132 Merge pull request #685 from jeffleeismyhero/patch-1
Updates progress callback to use NSInteger
2014-04-03 07:52:00 -07:00
Jeffrey Lee 065db6db0c Updates progress callback to use NSInteger
Pull Request #606 resolves this issue in the code but not in the Documentation.
2014-04-03 09:37:08 -05:00
Olivier Poitrey b49243d147 Bump version to 3.6.0 2014-03-24 13:32:45 -07:00
Olivier Poitrey 710908ed91 Merge pull request #676 from matej/cache-gcd-fixes
Various GCD related fixes for SDImageCache
2014-03-24 13:27:54 -07:00
Matej Bukovinski 556665d8a7 Exposed cleanDiskWithCompletionBlock:, added some additional documentation and fixed a typo. 2014-03-24 21:14:32 +01:00
Matej Bukovinski 87aed00733 Fixed the background task handled in backgroundCleanDisk.
- the background task had no effect, since cleanDisk returns immediately and thereby cancels the background task
 - adding cleanDiskWithCompletionBlock: and modifying backgroundCleanDisk to use this method resolves the issue
2014-03-24 21:14:21 +01:00
Matej Bukovinski 63f5c9706e Performing getSize and getDiskCount on the ioQueue. 2014-03-24 20:48:06 +01:00
Matej Bukovinski 1c463ad46b Using the private fileManager instance when on the ioQueue. 2014-03-24 20:35:52 +01:00
Matej Bukovinski dd682c92b5 Performing cache callbacks from the ioQueue asynchronously.
- more appropriate than dispatch_main_sync_safe, since we’ll always be on the ioQueue when calling
- prevents deadlock situation described in #625
2014-03-24 20:14:18 +01:00
Olivier Poitrey 4b26a89ac4 Merge pull request #671 from T-Pham/patch-1
Typo in README.md
2014-03-18 20:19:44 -07:00
Phạm Minh Thành 65163ea1ac Typo in README.md 2014-03-19 10:14:57 +07:00
Olivier Poitrey 71de51d658 Merge pull request #665 from taichino/fix_backgrounding_task
Call endBackgroundTask at the end of start method
2014-03-16 00:26:53 -07:00
Matsumoto Taichi efb0b359bf SDWebImageDownloaderOperation: call endBackgroundTask after operation is finished so that beginBackgroundTaskWithExpirationHandler and endBackgroundTask are balanced 2014-03-15 07:56:09 -04:00
Olivier Poitrey 938c2e0f3f Fix some indentation issues 2014-03-14 23:56:40 -07:00
Olivier Poitrey a883c63e9c Merge pull request #664 from xuki/master
add support for high priority download
2014-03-14 23:49:01 -07:00
jason 8b315a3585 add support for high priority download 2014-03-15 03:24:02 +08:00
Olivier Poitrey 4e4ecd6d02 Merge pull request #649 from finik/patch-1
Add typedef for cache operation complete block
2014-03-10 00:02:17 -07:00
Dmitry Fink b9bb5558e4 Add typedef for cache operation complete block
Makes it cleaner when users want to define the block independantly
2014-03-09 23:51:56 -07:00