Commit Graph

3629 Commits

Author SHA1 Message Date
Olivier Poitrey 5aa5b46952 Merge pull request #118 from jcole/master
Allows you to set SDWebImageOptions for SDWebImageOptions.  Defaults to SDWebImageLowPriority.
2012-05-11 17:34:26 -07:00
Jeff Cole 35b6553eac Allows SDWebImagePrefetcher options to be set set. Defaults to SDWebImageLowPriority. 2012-05-11 18:44:37 -04:00
Olivier Poitrey aa25f3a67b Enable more useful warnings 2012-05-12 00:37:37 +02:00
Olivier Poitrey b52f85b31f Merge branch 'rebasedMaster' of https://github.com/cbowns/SDWebImage into cbowns-rebasedMaster 2012-05-12 00:26:55 +02:00
Olivier Poitrey fc24642149 Fix ARC warning (fix #116) 2012-05-12 00:25:17 +02:00
Olivier Poitrey af3924c447 Merge pull request #115 from jcole/master
Added a few methods to SDImageCache to get number of items in file cache and memory cache, and size of items in memory
2012-05-11 12:47:04 -07:00
Jeff Cole 102d7bd484 Fix the description for getMemorySize 2012-05-11 10:02:00 -04:00
Jeff Cole d6534c7fbc Add getDiskCount, getMemorySize, and getMemoryCount methods to SDImageCache for diagnostic purposes 2012-05-11 07:40:49 -04:00
Olivier Poitrey f94ecf0600 Add URL to the API documentation to the README 2012-05-10 14:16:10 +02:00
Olivier Poitrey 110799614f Add appledoc comments 2012-05-10 14:07:38 +02:00
Olivier Poitrey 6574083a95 Add image decoder and retina support to partial images when progressive download is used 2012-05-10 12:57:30 +02:00
Olivier Poitrey ea819b2a45 Rework static library settings and documentation and add an example project
Inspired by http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules
2012-05-10 00:30:48 +02:00
Olivier Poitrey ba71333e17 Add support for optional progressive downloading using ImageIO (fix #114)
Thanks to @Xenofex for his idea and implementation example
2012-05-09 22:33:28 +02:00
Eli Wang 16d661488a Update README.md with syntax color. 2012-05-09 12:42:09 +02:00
Olivier Poitrey dd5f15055d Move all source to a subdirectory to comply with XCode 4 standards 2012-05-09 12:37:35 +02:00
Olivier Poitrey 10aff8e1f0 Add cache key filter support to SDWebManager in order to allow custom cache key generation 2012-05-09 11:04:09 +02:00
Olivier Poitrey 6aee6411f9 Do not check request response status code when the protocol isn't HTTP (fix #110) 2012-05-04 16:30:38 +02:00
Olivier Poitrey dd6d8dba6e Add SDImageCache removeImageForKey:fromDisk: to allow cache item removal from memory only (fix #111) 2012-05-01 20:01:51 +02:00
Christopher Bowns 0237551b8f Remove spaces to match code style 2012-04-27 12:14:38 -07:00
Christopher Bowns 89b8cf5cb0 Update README.md 2012-04-26 17:56:41 -07:00
Christopher Bowns 5b0a45e6ec Converts ints to NSUInts to avoid signed-comparison warnings 2012-04-26 17:56:40 -07:00
Christopher Bowns 2aeed9830e Brace-wraps inline struct initializer 2012-04-26 17:56:40 -07:00
Christopher Bowns cdb651b6a3 Adds newlines to ends of files 2012-04-26 17:56:40 -07:00
Olivier Poitrey ffc247f479 Merge pull request #106 from athasach/patch-1
Added missing newline at end of file to fix a compilation error
2012-04-26 02:41:29 -07:00
Kent Wong 16cae985fc Added missing newline at end of file to fix a compilation error where warnings are stricter [-Werror,-pedantic,-Wnewline-eof]. 2012-04-25 22:46:47 -03:00
Olivier Poitrey 973591d433 Merge pull request #97 from muhku/master
UIButton+WebCache: set the cached image in the UIControlStateSelected and UIControlStateHighlighted states
2012-04-25 16:22:30 -07:00
Olivier Poitrey a677421ad3 Merge pull request #105 from rickygu/patch-1
Update static library instruction to be more comprehensive.
2012-04-25 16:16:47 -07:00
Ricky Gu 7030a8f802 Update static library instruction to be more comprehensive. 2012-04-25 15:05:43 -07:00
Olivier Poitrey 8e27086802 Merge pull request #104 from piotrb/master
Updated README to match the header location changes from #101
2012-04-25 05:38:33 -07:00
Olivier Poitrey c145057d11 Merge pull request #103 from fannheyward/master
Fix warning: "performSelector may cause a leak because its selector is unknown."
2012-04-25 05:38:10 -07:00
Piotr Banasik 6c402c1cc6 Updated README to match the header location changes from #101 2012-04-25 10:02:42 +08:00
Heyward Fann d0ca6dec2c fix warning: performSelector may cause a leak because its selector is unknown. 2012-04-25 09:56:56 +08:00
Olivier Poitrey 3f28c9e6ea Merge pull request #102 from piotrb/master
Updated the project to use RestKit style ../../Headers/$(TARGET_NAME) Headers path
2012-04-24 06:05:40 -07:00
Piotr Banasik 2125d13252 Updated the project to use RestKit style ../../Headers/$(TARGET_NAME) Headers path to avoid issues in Archive builds 2012-04-24 17:46:53 +08:00
Matias Muhonen 7283ce7bb0 Set the cached image in UIControlStateSelected and UIControlStateHighlighted.
This is required that the UIViewContentModeScaleAspectFit contentMode works
correctly for UIButton.
2012-04-16 21:25:23 +03:00
Olivier Poitrey f89508d6f7 Merge pull request #92 from andybee/master
Fix for SDWebImageManger block issue (84)
2012-04-13 01:45:31 -07:00
andybee 5cacab1b30 Tweaked the safe release methodology for the copied blocks to remove un-necessary autorelease. 2012-04-05 10:24:46 +02:00
andybee f87c057cb8 Made fix ARC-safe 2012-04-04 22:15:06 +02:00
andybee ba818f0d65 Attempting to fix rs/SDWebImage#84 by passing success/failure blocks in user info dictionary. This avoids holding success and failure block in manager object which is used as a singleton by the UIImageView and UIButton additions classes, thus repeatedly calling the same block multiple times when making multiple requests. 2012-04-04 21:19:57 +02:00
Olivier Poitrey e63e925821 Merge pull request #91 from andybee/master
@2x retina support is broken when images pass through UIImage (ForceDecode) addition
2012-04-04 05:36:25 -07:00
andybee 0cd7f6953b Allowed original image scale to be preserved. 2012-04-04 13:34:55 +02:00
Olivier Poitrey 61df06926a Fix placeholder not passed to the designated follow up method (fix #87) 2012-03-29 11:27:14 +02:00
Olivier Poitrey 2283e2e458 Merge pull request #86 from tvon/patch-1
SDWebImageDownloader adds excessive observers when SDNetworkActivityIndicator is used
2012-03-28 13:34:27 -07:00
Tom von Schwerdtner 6ca759f182 Two observers get added every time downloaderWithURL is called, which is unnecessary and seems to result in an imbalance in SDNetworkActivityIndicator between startActivity and stopActivity calls (which leads to the indicator not showing when it should during any initial app activity).
This fix is possibly not ideal, but it does the trick.
2012-03-28 16:27:31 -03:00
Olivier Poitrey dfa03af19f Fix a mem leak in SDWebImageDownloader (fix #83) 2012-03-22 11:40:05 +01:00
Olivier Poitrey a8d5b3ec72 Fix a bug in SDImageCache making first request to disk cache to always return nil (fix #81) 2012-03-22 10:37:23 +01:00
Olivier Poitrey 14b79734d2 Add some common problem tips 2012-03-22 10:33:07 +01:00
Olivier Poitrey 24f0842ea0 Treat image URL with response status code >= 400 as errors (fix #79) 2012-03-19 19:13:18 +01:00
Olivier Poitrey 1cf1703ec1 Add MKAnnotationView+WebCache category (fix #78) 2012-03-14 22:05:03 +01:00
Olivier Poitrey 580a90d6a0 Better ARC support 2012-03-12 11:46:16 +01:00