Commit Graph

208 Commits

Author SHA1 Message Date
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
Olivier Poitrey ab97899a23 Add macro for ARC conditional call to [super dealloc] 2012-03-11 16:59:37 +01:00
Olivier Poitrey dcc6673bf1 Fix an EXC_BAD_ACCESS introduced by aa6956e9fc (fix #77) 2012-03-11 16:49:33 +01:00
Olivier Poitrey 6781045698 Add some backward compatible block support (fix #64) 2012-03-10 20:15:06 +01:00
Olivier Poitrey 30b9534294 Add some callback methods to SDWebImageManager protocol with requested URL appended (fix #67) 2012-03-10 18:22:07 +01:00
Olivier Poitrey 3074f55de2 Fix a conditing preventing from disk caching when data is not provided (fix #69) 2012-03-10 17:53:24 +01:00
Olivier Poitrey 8357f64a68 Add ARC info in README 2012-03-10 17:40:02 +01:00
Olivier Poitrey c327ee3737 Remove conditional activation of the new decoder optimization (now it's always activated) 2012-03-10 17:34:34 +01:00
Olivier Poitrey 40bcaa1181 Make SDWebImage ARC friendly by detecting if project is using ARC or not and do the right thing with retain and release 2012-03-10 17:32:24 +01:00
Olivier Poitrey aa6956e9fc Refactor 2x scale support 2012-03-10 16:30:43 +01:00
Sebastian Vieira c972489931 absoluteString for iOS 3 2012-03-10 16:30:43 +01:00
Sebastian Vieira 3ef0f609fd checking if uiimage supports the scale parameter for retina display phones (only supported form ios 4 onwards) 2012-03-10 16:30:43 +01:00
Sebastian Vieira baea8eed4a Adding the ability to render retina display images based on the file to which the url is pointing at 2012-03-10 16:30:43 +01:00
Olivier Poitrey 6660c51d36 Merge pull request #65 from ecentinela/master
Added a method to see the cache size
2012-03-10 06:01:48 -08:00
Olivier Poitrey 05725b4ab5 Merge pull request #70 from besi/patch-1
Fixed typos
2012-02-22 08:03:04 -08:00
Beat Besmer 03142f607c Fixed typos 2012-02-22 16:37:23 +01:00
Javier Martinez Fernandez e5cd63617f Added a method to see cache size. 2012-02-07 11:43:29 +01:00
Olivier Poitrey b207dcc6a8 Setup xcode project to allow import in a project as a static library 2012-01-28 00:05:40 +01:00
Adam Ernst 8318b295bf Introduce a cacheURLs array to prevent race conditions related to checking the on-disk image cache. (Fix #47)
If a cache check is initiated, then canceled with cancelForDelegate: before a new cache check
is started with a different URL but the same delegate, the ongoing disk cache check would still
message the delegate despite being canceled by cancelForDelegate:. This is because it only
checked to see if the delegate was in the cacheDelegates array; it had been removed by
cancelForDelegate:, but added back by the new unrelated cache check. cacheURLs keeps track
of which specific URLs are actually requested by the delegate. If the URL from a completed
disk cache check does not match the delegate in cacheDelegates, the delegate is not messaged
(since we know that request was canceled).
2011-12-05 15:56:32 +01:00
Olivier Poitrey 86b60e9c98 Add Xcode project 2011-12-05 02:50:29 +01:00
Fernando Saragoca 0dfb649faf Documented categories (appledoc) 2011-11-23 00:33:57 +01:00
Olivier Poitrey b3d7a5c450 Merge pull request #39 from 433/version_check_fix
update version check to make #if work for iOS >= 4
2011-10-25 04:00:34 -07:00