Syo Ikeda
bbf0b5c0e6
Use 'default_subspec' and separate the WebP support to its sub-spec
...
This removes unnecessary dependency to 'libwebp' for users who don't need WebP support.
2013-08-14 16:02:06 +09:00
Olivier Poitrey
67a28d90ef
Change version to 3.4
2013-08-13 10:22:25 -07:00
Olivier Poitrey
9f1ac247e7
Merge pull request #471 from PinchProject/hotfix/fast_enumeration_fix
...
The callbacksForURL: method in SDWebImageDownloader should return a copy of the mutable array!
2013-08-13 05:51:31 -07:00
Kevin Cador
f356b86c29
The callbacksForURL: method of SDWebImageDownloader now returns a copied array. This should fix the crash in multithread environment such as:
...
Collection <__NSArrayM: 0x226d9310> was mutated while being enumerated.
2013-08-13 10:40:46 +02:00
Matt Pennig
fa987a1818
Canceling the SDWebImageOperation will also cancel the expensive disk cache query operation.
2013-08-11 23:12:55 -07:00
Olivier Poitrey
ffd9e02e1e
Update README.md
2013-08-11 13:16:47 -07:00
Olivier Poitrey
4540745382
Fix the dead thread bug on iOS 5 ( fix #466 )
2013-08-09 15:08:05 -07:00
Olivier Poitrey
5f12cabdac
Fix unreleased operation ( fix #466 , fix #444 )
2013-08-09 00:39:46 -07:00
Olivier Poitrey
5dd219ffa7
Try to fix the thread block ( #399 )
2013-08-08 12:44:54 -07:00
Olivier Poitrey
1e63f33a85
Always call the completedBlock from main thread ( fix #397 )
...
This is not a good practice but doing otherwise leads to a lot of mistakes
2013-08-07 21:15:32 -07:00
Olivier Poitrey
3a6d9481c9
Call handlers on the main thread synchronously to enhance responsivity ( fix #462 )
2013-08-07 21:07:59 -07:00
Olivier Poitrey
f07a34da59
Fix downloadImageWithURL:options:progress:completed returning nil ( fix #464 )
2013-08-07 20:53:34 -07:00
Olivier Poitrey
8b37b16f45
Merge branch 'master' of git://github.com/gringoireDM/SDWebImage into gringoireDM-master
2013-07-31 13:54:40 -07:00
Chang Luo
fb196ead9b
Added background clean disk to UIApplicationDidEnterBackgroundNotification #306
2013-07-31 13:45:04 -07:00
Giuseppe Lanza
6faa7bfcb5
added multiple download of images for animationImages property of UIImageView
2013-07-30 17:14:52 +02:00
masarusanjp
282e817919
Use an empty string to if str was NULL.
2013-07-11 11:12:33 +02:00
Olivier Poitrey
b3895a5124
Merge pull request #446 from tissak/master
...
Tiny Doc fix
2013-07-07 02:51:18 -07:00
Tony Issakov
b54f530925
Update README.md
...
Minor fix to callback arguments. NSData included now.
2013-07-07 12:46:04 +08:00
Olivier Poitrey
42468464b5
Merge pull request #444 from hsoi/scrolling-lockup
...
Break a retain cycle
2013-07-05 08:31:48 -07:00
John C. Daub
95277bae45
Break a retain cycle
2013-07-05 09:58:20 -05:00
Olivier Poitrey
834ffada11
Merge pull request #436 from jparise/unused-callbacksForURL
...
Remove an unused call to -callbacksForURL:.
2013-06-27 13:19:12 -07:00
Jon Parise
4a4e496171
Remove an unused call to -callbacksForURL:.
...
We don't currently signal cancellation via a callback.
2013-06-27 10:16:25 -07:00
Olivier Poitrey
8a95ce759c
Merge pull request #434 from jparise/calculate-size
...
Add -calculateSizeWithCompletionBlock:.
2013-06-25 23:50:31 -07:00
Jon Parise
18334bcc8f
Add -calculateSizeWithCompletionBlock:.
...
This method provides a way to asynchronously calculate the size of the
disk cache, reporting both the number of files and the total file
size.
This is useful when querying large disk caches because the file system
enumeration operation can take some time.
2013-06-25 19:27:20 -07:00
Olivier Poitrey
48ce95f0ae
Merge pull request #423 from BB9z/superfluous-semicolon
...
Minor typo fix.
2013-06-16 22:39:32 -07:00
BB9z
d76779196f
Minor typo fix.
2013-06-17 11:09:16 +08:00
Olivier Poitrey
0b330b562b
Merge pull request #422 from BB9z/WebP_switch
...
Import WebP category only when the macro is activated.
2013-06-16 03:15:57 -07:00
BB9z
4eaf0d7cee
Import WebP category only when the macro is activated.
2013-06-16 18:04:28 +08:00
Olivier Poitrey
2f98db9888
Change version to 3.3
2013-06-14 16:22:27 +02:00
Olivier Poitrey
c6664248f1
Ensure we always set the UIKit image properties from the main thread ( fix #403 , fix #417 , fix #398 )
2013-06-12 17:02:40 +02:00
Olivier Poitrey
9a1f072e5e
Merge pull request #418 from dalexsoto/master
...
Fix for #416
2013-06-12 07:32:02 -07:00
Alex Soto
10a0f21856
Fix for issue #416 Undefined symbols for architecture armv7 since WebP introduction when deploying to device
...
Added Functions to resolve some undefined symbols when using WebP and force_load flag
void WebPInitPremultiplyNEON(void) {}
void WebPInitUpsamplersNEON(void) {}
void VP8DspInitNEON(void) {}
Changes under MIT License
2013-06-11 18:58:44 -05:00
Alex Soto
63805ef590
// Fix for issue #416 Undefined symbols for architecture armv7 since WebP introduction when deploying to device
...
Added Functions to resolve some undefined symbols when using WebP and force_load flag
void WebPInitPremultiplyNEON(void);
void WebPInitUpsamplersNEON(void);
void VP8DspInitNEON(void);
Changes under MIT License
2013-06-11 18:57:07 -05:00
Olivier Poitrey
5ecb8d56af
Do not enable webp when not explicitly activated by a macro ( fix #415 )
2013-06-10 21:42:58 +02:00
Olivier Poitrey
90d120258e
Merge pull request #413 from stylight/master
...
Fixed dependency on libwebp in the podspec
2013-06-08 00:22:54 -07:00
Alexander Kolov
c1e686bff0
Added libwebp dependency. Also fix a typo in description.
2013-06-08 07:31:36 +02:00
Olivier Poitrey
04fa4c97b5
Add WebP format support ( fix #410 )
...
How awesome is that?! =)
2013-06-07 20:43:51 +02:00
Olivier Poitrey
1dbb79f903
Refactor GIF support
...
Remove GIF specific code from main source, isolate it in a UIImage category to ease future addition of format support
2013-06-07 19:39:07 +02:00
Salvatore Randazzo
447f1ccc23
Custom image cache search paths
...
This is particularly useful if you are bundling images with your app that have been cached by SDWebImage. (ie. if you are 'seeding' your app with a core-data file that contains a lot of URL's to images and would like to also seed those images without having to copy every one of them over)
For example, you can tell SDImageCache to add '[[NSBundle mainBundle] resourcePath]' as a custom path, so that the main bundle will be queried for cached images.
This prevents the need for you to copy pre-cached images over to the caches/ImageCache folder that SDImageCache normally checks for.
The custom paths are read-only.
2013-06-07 17:57:28 +02:00
Olivier Poitrey
d38e13c58d
Merge pull request #408 from dlbuckley/issue-406-Failed-URL-Problem
...
#406 - Fixed failed URL problem
2013-06-04 05:12:07 -07:00
Dale Buckley
7d9c93fb51
#406 - Fixed a problem where hitting a failed URL more than once wouldn't call the completion block
2013-06-04 12:04:36 +01:00
Olivier Poitrey
d04fd47f5b
Fix typo in download page URL
2013-06-01 14:23:45 -07:00
Olivier Poitrey
4ab6d18900
Merge pull request #401 from docallag/master
...
Prevent warnings on iOS
2013-05-31 09:12:39 -07:00
David O'Callaghan
1b7305c8a7
Update SDWebImageCompat.h
...
Undefine macros before define to prevent warning on iOS
2013-05-31 12:07:16 +02:00
Olivier Poitrey
e8c5ed17c0
Merge pull request #400 from BB9z/fix/document-parameter
...
Some document improves.
2013-05-27 09:53:45 -07:00
BB9z
51bdfdf0b2
Format code in document.
2013-05-27 18:19:02 +08:00
BB9z
5b6e84a953
Adjust indenting.
2013-05-27 18:10:42 +08:00
BB9z
1f31915e59
Fix a mismatch description.
2013-05-27 18:03:57 +08:00
BB9z
124a87b85f
Fix some document error.
2013-05-27 18:00:26 +08:00
Olivier Poitrey
ff2b30e263
Merge pull request #383 from garthex/white_png_issue
...
fix alpha pngs turning into white pngs
2013-05-14 02:57:12 -07:00