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
5b59677437
Fixed #384 (documentation wrognly stated a return type was NSOperation)
2014-06-11 11:52:06 +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
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
Philipp Schmid
097b502eae
Fix build on Xcode6
2014-06-02 23:59:57 +02: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
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
卢克
dab65ae8f5
The ioQueue is "SERIAL" ,so "dispatch_barrier_async" is not needed.
2014-05-24 21:08:39 +08: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
利辺羅エルネスト
29302f49b3
Improve logging and fix arm64 warnings when printing integers with %d
2014-05-21 17:15:01 +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
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
herrernst
83843a493a
Save image in cache before calling completion block
2014-04-26 12:43:25 +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
Chang Luo
1f202ed7a3
Port Max's crash fix to my 3.6 fork
2014-04-16 16:06:22 -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
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
jason
8b315a3585
add support for high priority download
2014-03-15 03:24:02 +08: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
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
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
Rune Madsen
f717d507a5
Missing method definition in header file
2014-02-15 15:46:10 -05:00
burakkilic
c04e4efbf1
Update SDWebImagePrefetecher.m
...
I added "+ self.skippedCount" because it never completes if there are skipped operations.
2014-02-14 11:56:09 +02:00
burakkilic
159f08279a
Update SDWebImagePrefetecher.m
...
I added progress block that I need.
2014-02-14 11:38:20 +02:00
Hao Lian
c13ec87b15
SDWebImageDownloaderOperation: pass orientation to initWithCGImage during progressive rendering
2014-02-11 18:03:20 -05:00
Fabrice Aneche
edc1d882e8
refs #620 move NSData+ImageContenttype to the SDWebImage subdirectory
2014-01-21 09:57:50 -08:00
Fabrice Aneche
03eeb5842f
reformat a long method call
2014-01-06 17:37:52 -08:00
Fabrice Aneche
bdea43aec1
Dot-notation should always be used for accessing and mutating properties. Bracket notation is preferred in all other instances
2014-01-06 17:30:34 -08:00