Commit Graph

3592 Commits

Author SHA1 Message Date
Olivier Poitrey 34f18e012f Add a dedicated target with MKAnnotation category
This free other targets from unwanted MapKit framework requirement
2012-06-25 14:55:12 +02:00
Jesse Andersen 502f74042f Use NSCache instead of a dictionary for the memory cache. 2012-06-05 22:15:04 -07:00
Olivier Poitrey b357e8210c Add a dedicated target with MKAnnotation category
This free other targets from unwanted MapKit framework requirement
2012-06-05 23:31:27 +02:00
clowwindy 0bce0b99bc Memory cache reserves 12MB free RAM to prevent watchdog from killing the app before memory warning is sent 2012-06-05 01:34:16 +02:00
Olivier Poitrey 248fbc2148 Fix blocks not called when same URL requested for download several times simultanously (fix #137) 2012-06-05 01:16:52 +02:00
Olivier Poitrey b78238802d Fix an implicit conversion error (fix #129) 2012-05-22 16:39:21 +02:00
Olivier Poitrey aa64d20128 Fix README for static library instruction with archiving 2012-05-16 20:42:19 +02:00
Olivier Poitrey 960674fce1 Fix typo (fix #123) 2012-05-14 18:28:38 +02:00
Olivier Poitrey ea5b82d963 Fix a crash with progressive download activated in non-ARC env 2012-05-14 11:54:25 +02:00
Olivier Poitrey 76132c3e84 Fix ARC target not activating ARC correctly 2012-05-14 11:53:25 +02:00
Olivier Poitrey 874f944d8e Add support for setBackgroundImage:* in UIButton category (fix #121) 2012-05-14 11:17:30 +02:00
Olivier Poitrey eff6cac284 Set placeholder on all UIButton stats (fix #120) 2012-05-14 10:32:26 +02:00
Olivier Poitrey b6e0630b17 Fix some typos/misses (fix #119) 2012-05-14 08:45:09 +02:00
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