Ilya Samartsev
6cda5dcf4d
update version check to make #if work for iOS >= 4
2011-10-25 11:02:50 +04:00
Olivier Poitrey
92d7a01a52
Perform image decoding/optimization in the IO thread instead of main thread for better responsiveness ( fix #18 )
...
This new optimization is currently disabled by default so you can test it and give us feedback.
To enable it, add #define ENABLE_SDWEBIMAGE_DECODER and to not forget to add SDWebImageDecoder class
to your projet.
Thanks to Adam Jernst (https://github.com/adamjernst ) and James Tang (https://github.com/mystcolor )
for this great optimization. See https://github.com/rs/SDWebImage/pull/18 for more info.
2011-10-04 13:07:26 +02:00
Olivier Poitrey
e9d43e443a
When storeImage:imageData:forKey:toDisk: is called with toDisk:YES but no data, do not prevent memory caching ( fix : #24 )
2011-09-21 15:03:14 +02:00
Olivier Poitrey
4005884df5
Fix coding style
2011-07-13 21:23:13 +02:00
siuying
314837de7e
Fix a leak on Mac OSX
2011-07-13 20:47:54 +02:00
Jamie Pinkham
3116810b18
Added Mac OS X compatibility
2011-03-18 00:17:59 +01:00
Olivier Poitrey
1fe20c25d6
Remove the need for storeDataQueue dictionnary which required synchronization
2010-10-10 01:13:44 +02:00
Olivier Poitrey
2b352c3c3a
Perform disk cache out operations asynchronousely in order to prevent from blocking the main runloop when a lot of cache queries are performed at the same time
2010-09-16 22:56:11 +02:00
Olivier Poitrey
d2dc4cbbac
Do not convert images to JPEG when stored to disk for caching
...
This saves CPU and memory in all cases and alpha channel / image clearness if orignal format was PNG or GIF.
2010-08-29 03:22:20 +02:00
Olivier Poitrey
1b0cf3a3fb
Add a compile time condition in order to compile with Base SDK pre iOS4
2010-06-11 15:14:42 +02:00
Olivier Poitrey
467be16671
Fix some iOS 4.0 deprecated method use
2010-06-08 14:44:03 +02:00
Olivier Poitrey
4fedcee49e
Add multitasking support by cleaning the memory when app is sent to background
2010-06-08 14:38:55 +02:00
Olivier Poitrey
58a24963b5
Set references to nil after release in dealloc methods
2010-06-02 01:37:39 +02:00
Henrik N
1753b2d844
Fix potential crasher in SDImageCache. Don't rely on memory cache to retain a returned value.
2010-03-20 20:13:27 +01:00
Olivier Poitrey
a230f6aba8
Handle nil image urls nicely
2009-12-31 14:12:50 +01:00
Olivier Poitrey
0bdd448ca8
Fix some warnings when most warnings are activated
2009-11-11 15:43:11 +01:00
Olivier Poitrey
b2a3d31557
Use user cache directory instead of ducment directory to prevent from cache to be synced back and forth in iTunes
2009-09-22 17:13:56 +02:00
Olivier Poitrey
a7734af511
Remove Dailymotion paternity and move to joined paternity with Fraggle behind the Simple Design (SD) team name
2009-09-21 19:36:47 +02:00