Commit Graph

3660 Commits

Author SHA1 Message Date
Olivier Poitrey 651d8ff583 Serialize all background operations 2012-11-06 11:30:23 +01:00
Olivier Poitrey 326890b476 Fix disk image cache read not setting memory cache + ensure decodedImageWithImage never fail 2012-11-06 10:14:21 +01:00
Olivier Poitrey b5bb74bf96 Ensure every data manipulation performed in NSURLConnection delegates are handled in the global background queue 2012-11-06 10:03:59 +01:00
Olivier Poitrey bf1b946b9a Fix double call to NSURLConnection start + wrong condition for low priority (fix #212) 2012-11-06 09:19:50 +01:00
Olivier Poitrey ed690465d8 Ensure we're not decoding the image in the main thread 2012-11-06 03:31:32 +01:00
Olivier Poitrey 570965f6cf Use dispatch_barrier to handle NSMutableDictionary thread unsafety instead of main thread dispatching 2012-11-06 03:31:03 +01:00
Olivier Poitrey 13210a6925 Use global low prio queue instead of a dedicated queue for caching I/Os 2012-11-06 03:01:16 +01:00
Olivier Poitrey a8a9b12896 Do not use dispatch_io_write as it generate random crashes
Either it's buggy under iOS or I didn't use it the right way...
2012-11-06 02:50:36 +01:00
Olivier Poitrey 73df9d7281 Track leaks 2012-11-05 23:05:54 +01:00
Olivier Poitrey 78a4df12c6 Fix aggregation tracking urls not cleaned in case of cancellation 2012-11-05 21:10:18 +01:00
Olivier Poitrey 149afed476 Add progress block support to UIImageView category 2012-11-05 20:45:15 +01:00
Olivier Poitrey f7d0f1d12f Fix example app 2012-11-05 20:38:31 +01:00
Olivier Poitrey d85d5833af Fix fucked-up merge 2012-11-05 20:04:58 +01:00
Olivier Poitrey 8a55d97fc9 Prevent caching of responses by NSURLCache (fix #211) 2012-11-05 19:57:15 +01:00
Olivier Poitrey df89ee44cd Update podspec 2012-11-05 18:21:20 +01:00
Olivier Poitrey efe65bfd3b Fix source file headers 2012-11-05 18:21:19 +01:00
Olivier Poitrey 56a0eea941 Setup NSURLRequest
- Activate pipelineing
- Disable cookie support
- Add image/* Accept header to force image on servers handling content negociation
2012-11-05 18:21:19 +01:00
Olivier Poitrey e91cbcf0aa Fix wrong cache policy used (fix #211) 2012-11-05 17:54:31 +01:00
Olivier Poitrey 9a283273f1 Fix typo in license URL 2012-11-05 12:20:18 +01:00
Olivier Poitrey 4f2b5bf674 Add Licenses section 2012-11-04 17:48:20 +01:00
Olivier Poitrey 64a745f2fc Add "How is SDWebImage better than X?" wiki link 2012-11-04 16:17:32 +01:00
Olivier Poitrey f8798294ab Remove outdated motivation section 2012-11-04 15:39:50 +01:00
Olivier Poitrey 535203d90c Add who use it section 2012-11-04 15:17:32 +01:00
Olivier Poitrey 2227266c41 First beta of SDWebImage 3.0
This version is a rewrite of the lib using iOS 5.0 as minimum target.
The lib as thus been refactored to use blocks/GCD from the ground up.
As a consequence, all delegate code style has been removed. The result
is a lot less lines of code and more flexibility.
2012-11-04 10:09:10 +01:00
Olivier Poitrey 8963f996e9 Add cancelAll method (fix #168) 2012-11-04 01:52:09 +01:00
Olivier Poitrey 55fd4a1d77 Merge pull request #205 from triposo/send-downloader-with-notification
Send downloader as part of notification.
2012-11-03 16:53:08 -07:00
Olivier Poitrey 048bdbb751 Fix alpha handling in image decoder (fix #204) 2012-11-04 00:51:35 +01:00
Jure Žove c609027314 Fixed Alpha chanel detection when decoding images. 2012-11-04 00:49:34 +01:00
Olivier Poitrey 1a360b6faf Revert "Fixed Alpha chanel detection when decoding images."
This reverts commit e6ede1104c.
2012-11-03 21:21:45 +01:00
Olivier Poitrey ead67a6c9c Change deployement target to 4.x as NSCache wasn't available in 3.0 2012-11-02 01:27:05 +01:00
Olivier Poitrey 9df9bf8498 Fix example app 2012-11-02 01:24:09 +01:00
Olivier Poitrey 497207466f Add NSCache's cost argument 2012-11-02 01:23:22 +01:00
Olivier Poitrey 16595c950d Merge pull request #183 from gotosleep/502f74042f10aa3a34d95a5e3f3e9a6500471554
Use NSCache instead of a dictionary for the memory cache.
2012-11-01 17:11:48 -07:00
Jon Tirsen fbad013800 Send downloader as part of notification. 2012-10-30 14:47:20 +01:00
Olivier Poitrey 520124114f Merge pull request #203 from Stigec/master
Fixed Alpha detection when decoding images.
2012-10-28 12:57:45 -07:00
Jure Žove e6ede1104c Fixed Alpha chanel detection when decoding images. 2012-10-28 19:58:14 +01:00
Olivier Poitrey ab07f23fbc Fix #200 crash on archived builds 2012-10-23 15:50:53 +02:00
Olivier Poitrey ccd3b025f0 Add missing installation instruction about linker flag 2012-10-20 04:06:04 +02:00
Olivier Poitrey 62a61ab249 Switch to framework distribution 2012-10-19 13:34:40 +02:00
Olivier Poitrey 0102bdf7b7 Merge pull request #195 from JaviSoto/bitmap-info-error
Creating the CGBitmapContext with the right bytes per pixel and bitmap info depending on the original image.
2012-10-12 15:22:03 -07:00
Javier Soto 487db1b385 Creating the CGBitmapContext with the right bytes per pixel and bitmap info depending on the original image.
This removes an error that was making CGBitmapContext return NULL with some images:
<Error>: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 32 bits/pixel; 3-component color space; kCGImageAlphaLast; 400 bytes/row.
2012-10-12 13:43:33 -07:00
Olivier Poitrey 6818520744 Merge pull request #194 from NachoSoto/patch-1
Keeping original image alpha info when decoding
2012-10-10 16:38:26 -07:00
Nacho Soto 1bf9668d97 Keeping original image alpha info when decoding
This fixes issue #26 and #55, after the change introduced in commit c32f9c03f816dac58a8cac25d6189310272ca9c1
2012-10-10 16:36:53 -07:00
Olivier Poitrey 3c4c61f54c Merge pull request #189 from kurige/master
Podspec: Add 'MK' as acceptable prefix for MKAnnotationView category
2012-10-01 13:20:22 -07:00
Christopher Gateley c5b712d09a Podspec: Add 'MK' as acceptable prefix for MKAnnotationView category 2012-10-01 15:50:12 -04:00
Olivier Poitrey cac29dc753 Add ImageIO dep 2012-09-12 13:02:33 +02:00
Olivier Poitrey c32f9c03f8 Remove alpha channel (may break some PNG/GIF with alpha, pull request welcome) 2012-09-12 02:45:54 +02:00
Olivier Poitrey 324aae620e Update podspec for 2.7 2012-09-10 19:06:10 +02:00
Olivier Poitrey b734f289d0 Add a cached parameter to the success block to tell the receiver if the image came from cache or network #181 2012-09-07 23:00:50 +02:00
Olivier Poitrey 3cdbb9b966 Merge pull request #149 from acoomans/master
Added build directory to gitignore
2012-09-06 16:22:58 -07:00