Takeru Chuganji
62e2320f2d
make sure inmutable
2015-02-26 09:23:08 +09:00
Olivier Poitrey
17c3cf3aa0
Merge pull request #996 from harishkashyap/fix-memory-issues
...
Adds option to decompress images and select prefetcher Queue
2015-02-25 07:54:44 -08:00
Takeru Chuganji
ffa3962992
fix threading issue
2015-02-25 02:45:37 +09:00
Bogdan Poplauschi
feca1e8d0d
Merge pull request #987 from wantedly/fix-notification-dispatch
...
Fix NSNotificationCenter dispatch on subthreads.
2015-01-07 10:33:01 +02:00
Harish Krishnamurthy
c59160e6da
Reverts queue property to assign
2014-12-23 17:37:27 -05:00
Harish Krishnamurthy
e97fea7233
Changes property of queue from weak to strong
2014-12-23 16:34:27 -05:00
Harish Krishnamurthy
4ceb6665b2
* Adds Queue options to SDWebImagePrefetcher.
...
* Adds option to decompress images in cache and post download.
2014-12-22 16:03:45 -05:00
Dick
cded20c736
duplicate failed urls are added into failedURLs
...
fix bug when download image with option SDWebImageRetryFailed
2014-12-22 16:58:16 +08:00
Naoki Morita
3d3471e490
Fix NSNotificationCenter dispatch on subthreads.
2014-12-16 10:52:34 +09:00
Konstantinos K
b271cbb371
initialise kPNGSignatureData data
...
in SDImageCache initWithNamespace method.
This ensures the kPNGSignatureData is always initialised even if the we
alloc SDImageCache without using the sharedImageCache singleton
2014-12-10 14:42:43 +02:00
Bogdan Poplauschi
6698910fe1
Revert "Loading Indicator view with 2 lines of code"
...
This reverts commit 2cfa5ccb88
.
2014-11-06 19:59:27 +02:00
mythodeia
2cfa5ccb88
Loading Indicator view with 2 lines of code
...
added support for UIActivityIndicatorView while the image is
downloaded, without adding extra ‘setImageWithUrl’ methods to the
UIImageView+WebCache category.
I used [this pull
request](https://github.com/mythodeia/UIActivityIndicator-for-SDWebImage
), original author is [JJSaccolo](https://github.com/JJSaccolo ), and
modded it a bit to support loading indicator while the image is
downloading.
the usage is basically this right before the usual sd_setImage...
methods:
```
// show activity indicator
[cell.imageView setShowActivityIndicatorView:YES];
// choose indicator style
[cell.imageView
setIndicatorStyle:UIActivityIndicatorViewStyleGray];
```
2014-11-06 19:26:44 +02:00
Bogdan Poplauschi
914ed45a44
Merge pull request #941 from mishagray/cost_compute_fix
...
Cost compute fix
2014-11-02 23:55:23 +02:00
Bogdan Poplauschi
b596c9c120
Merge pull request #942 from Krivoblotsky/master
...
'304 Not Modified' HTTP status code handling.
2014-11-02 23:52:10 +02:00
Bogdan Poplauschi
7f39e5e60e
The code from SDWebImageDownloaderOperation connection:didFailWithError: should match the code from connectionDidFinishLoading:. This fixes #872
2014-11-02 23:20:16 +02:00
Bogdan Poplauschi
759f0b9a3e
Merge pull request #897 from MrAlek/fix/max-concurrency-count
...
Increased default maxConcurrentOperationCount, fixes #527
2014-11-02 19:33:11 +02:00
Alek Åström
09b6ee941a
Increased default maxConcurrentOperationCount, fixing issue #527
2014-11-02 18:06:17 +01:00
Serg Krivoblotsky
3d94e34415
304 http status code handling
2014-10-31 23:30:27 +02:00
Michael Gray
dfd2e2a2f1
Merge commit '7d9337406760603ddee47d5515e1e4835618b6b2' into cost_compute_fix
2014-10-31 14:32:51 -04:00
Bogdan Poplauschi
1a3ccc2e8d
Merge pull request #840 from foxling/master
...
fix #610 display progressive jpeg issue
2014-10-31 20:12:38 +02:00
Bogdan Poplauschi
125515d7f1
Merge pull request #876 from matias-pequeno/custom_operations
...
Allows user to override default SDWebImageDownloaderOperation
2014-10-31 20:08:45 +02:00
Bogdan Poplauschi
a4c213ecbd
Merge pull request #886 from hsoi/fix-implicit-atomicity-declaration
...
Fix implicit atomicity declaration of the SDWebImageManager.cacheKeyFilter
2014-10-31 20:05:25 +02:00
Bogdan Poplauschi
c3c55784cb
Merge pull request #936 from flexih/master
...
Decoding webp, depends on source image data alpha status.
2014-10-31 20:00:55 +02:00
Bogdan Poplauschi
52b2b70abf
Merge pull request #937 from pavelosipov/master
...
Implement 'SDWebImageDownloaderAllowInvalidSSLCertificates' option.
2014-10-31 19:59:31 +02:00
Bogdan Poplauschi
62a8ee1ab6
Fixed #774 - remove deprecated methods. Since 4.0 is a major release, we don't need the backwards compatible methods
2014-10-31 19:12:42 +02:00
Pavel Osipov
75944258f0
Implement 'SDWebImageDownloaderAllowInvalidSSLCertificates' option.
2014-10-23 17:16:28 +04:00
flexih
83ad6fa977
Decoding webp, depends on source image data alpha status.
2014-10-23 12:14:43 +08:00
Alexis Creuzot
98082a6791
Handle empty urls NSArray
...
In some cases the user may end up with an empty urls NSArray, in which case the completion block is never called.
This commit handle such case to call immediately the completion block (if any)
2014-10-14 11:16:58 +02:00
Bogdan Poplauschi
2233b5e77d
Merge pull request #896 from skrew/master
...
Update UIImageView+WebCache.m
2014-09-22 22:23:19 +03:00
Bogdan Poplauschi
ee3c351abd
Fixed #900 by adding a new flag SD_LOG_NONE that allows silencing the SD logs from the Prefetcher
2014-09-22 22:15:45 +03:00
eric@skrobs
54a772ebb9
Update UIImageView+WebCache.m
...
Can cause animation losing or crash if you are in a thread.
2014-09-12 20:03:34 +02:00
Brett Koonce
5284ac6623
minor spelling (forth->fourth)
2014-09-11 19:24:54 -07:00
John C. Daub
3c82278727
atomicity was implicit (compiler complained). Declared 'nonatomic' as that's fairly standard on iOS
2014-09-04 09:08:47 -05:00
Matias Pequeno
3671cdde0f
Adds setter to override default SDWebImageDownloaderOperation.
2014-08-14 18:12:37 -07:00
Gabriele Petronella
ec6b6e7267
More explicit error message in case of nil completedBlock
...
NSParameterAssert doesn't provide enough information for understanding the API misuse.
Pointing the API user to SDWebImagePrefetcher makes more sense, as a nil completedBlock most likely signifies the intention of prefetching the image.
2014-08-12 11:23:31 +02:00
Tony Arnold
a31b9d46a1
Fix misnamed parameters in comment documentation
2014-08-11 17:27:05 +10:00
Bogdan Poplauschi
044abf402d
Merge pull request #838 from justjimmy/master
...
fix cancelAll crash (Issue #809 )
2014-08-06 19:20:47 +03:00
Andrew Shu
a8c4fa48b7
Flag to transform animated images
...
Using a new SDWebImageOptions flag: SDWebImageTransformAnimatedImage
2014-08-04 01:42:12 -07:00
foxling
b2909fb2da
fix #610
2014-08-04 15:17:58 +08:00
Jimmy Lee
3587b8d1e0
fix cancelAll crash
2014-07-31 10:10:52 +10:00
Bogdan Poplauschi
7815923c48
Fixed other misspells from appledoc (additions to #829 )
2014-07-23 16:15:16 +03:00
David Messing
b9d9456e21
Fixed documentation spelling.
2014-07-23 08:59:52 -04:00
Bogdan Poplauschi
e95224bf5f
Temporary fix for #809 , until we can figure out the cause of the crash
2014-07-23 08:13:25 +03:00
BB9z
f6d7d60b98
Missing mark.
2014-07-22 16:58:08 +08:00
Bogdan Poplauschi
222e6bca0d
Merge pull request #795 from xlchen/master
...
fix duplicate symbols when using with webp via pods
2014-07-21 15:32:45 +03:00
Bogdan Poplauschi
28109c4c70
Fixed SDWebImageCombinedOperation cancel crash ( #798 #809 )
2014-07-21 15:27:16 +03:00
mishagray
7d93374067
Modified the cost calculuations to appropriately compute the 'scale' of an image
2014-07-20 18:10:02 -04:00
Bogdan Poplauschi
681a7c4222
Merge pull request #819 from n13/master
...
guarding against image source == NULL
2014-07-18 16:21:16 +03:00
Nikolaus Heger
9faee5356c
guarding against image source == NULL
2014-07-18 11:07:13 +07:00
Bogdan Poplauschi
b88a552fba
Updated all block params and properties, using defined blocks that have var names (for proper autocomplete). Created a SDWebImageNoParamsBlock to distinguish easier from other no params blocks. Fixes #810
2014-07-16 15:17:08 +03:00