Commit Graph

602 Commits

Author SHA1 Message Date
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
Whirlwind acac18d6a2 fix UIImageView+HighlightedWebCache call error method 2014-05-22 22:55:21 +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
derpoliuk 78a50d3929 Adds -[SDWebImageManager saveImageToCache:forURL:] method 2014-05-13 11:11:36 +03:00
Bill Burgess 9a45faac3f Wrapped placeholder check in parens to work with bitwise 2014-04-29 10:27:54 -05:00
Bill Burgess 7ca81d0e36 Updated bitwise operator to correctly find option if more than 1 are included 2014-04-29 10:13:28 -05:00
Bill Burgess f7ee9d3375 Moved the delay placeholder flag to SDWebImageOptions 2014-04-28 12:30:27 -05:00
Bill Burgess 12715da31b Overload -setImageWithURL to delay setting of placeholder image until after loading 2014-04-28 10:07:43 -05: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
Ruslan Ahapkin c285074321 Create NSOperation when start operation.
Method getDiskCount returns NSUInteger.
2014-04-03 23:16:48 +04: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
Bryn Bodayle ec5369db13 Fixed issue where cancelled operations aren't removed from runningOperations 2014-04-01 10:21:11 -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
Olivier Poitrey 1293582047 Merge pull request #647 from musaicapp/bug
Prefetcher: check progressBlock is not nil before executing.
2014-03-03 20:58:05 -08:00
Michael Henderson f2546c7333 Check progressBlock is not nil before executing. 2014-03-04 14:10:50 +10:00
Whirlwind 986794012d add category for imageView's highlighted state 2014-03-03 12:32:27 +08:00
Ken Chatfield 25d20ead49 Added method to SDWebImageManager to check if an image exists in either the disk OR the memory cache 2014-02-27 21:07:00 +00:00
Olivier Poitrey 5f3e9272c8 Fix deployement target for arm64 2014-02-24 09:43:14 -08:00
Olivier Poitrey e34e8e6c65 Bump version to 3.5.4 2014-02-24 09:38:08 -08:00
Olivier Poitrey 657bd81658 Merge pull request #638 from limbo-lab/master
added clearDiskOnCompletion
2014-02-18 00:27:53 -08:00
limbo-lab 1d8bfa6064 added clearDiskOnCompletion 2014-02-18 15:30:14 +08:00