Commit Graph

168 Commits

Author SHA1 Message Date
Bogdan Poplauschi 4c6eb5e72e OSX compatibility and target. (NSImage+WebCache) for UIImage compatibility
Clarified and simplified the usage of TARGET_OS_* macros. Added SD_MAC, SD_UIKIT, SD_IOS, SD_TV, SD_WATCH.
Updated Travis CI
2016-06-12 23:23:53 +03:00
Bogdan Poplauschi cc7fa8fd93 Projects cleanup, properly set targeted device family, sdkroot and supported platforms. Tried not to set things on the project level that need redefinition at the target level 2016-06-12 21:10:18 +03:00
Cory Dolphin f4875b0efb Enables BITCODE for tvOS builds 2016-06-11 21:43:28 -07:00
Bogdan Poplauschi 3d122e550b WatchOS support - just added a target and the conditional compiling - seems to work (pod lib lint works).
There is an issue, the SDWebImage watchOS target doesn't show the simulator, only Generic Device.
Also need to add some demo and test code.
2016-06-10 08:49:51 +03:00
Bogdan Poplauschi 17d8690127 Merge branch '4.x' into gif
# Conflicts:
#	SDWebImage/MKAnnotationView+WebCache.h
#	SDWebImage/MKAnnotationView+WebCache.m
#	SDWebImage/SDImageCache.h
#	SDWebImage/SDImageCache.m
#	SDWebImage/SDWebImageManager.h
#	SDWebImage/SDWebImageManager.m
#	SDWebImage/UIButton+WebCache.h
#	SDWebImage/UIButton+WebCache.m
#	SDWebImage/UIImageView+HighlightedWebCache.h
#	SDWebImage/UIImageView+HighlightedWebCache.m
#	SDWebImage/UIImageView+WebCache.h
#	SDWebImage/UIImageView+WebCache.m
2016-06-07 12:42:26 +03:00
Bogdan Poplauschi 0df12218b7 Enabled CLANG_ANALYZER_NONNULL per http://indiestack.com/2016/06/nullable-edge-cases/. Small fix for a case where trying to get from a set using a nil key 2016-06-07 08:48:45 +03:00
Bogdan Poplauschi 7684fbd9a7 Merge branch '4.x' into gif
# Conflicts:
#	SDWebImage.xcodeproj/project.pbxproj
2016-06-07 08:39:17 +03:00
Bogdan Poplauschi 3364a981d5 Merge branch 'master' into 4.x
+ SDWebImageDownloader downloadImageWithURL:... properly use the weakself-strongself pattern

# Conflicts:
#	.travis.yml
#	Examples/SDWebImage Demo.xcodeproj/project.pbxproj
#	README.md
#	SDWebImage.xcodeproj/project.pbxproj
#	SDWebImage/SDWebImageDownloader.m
#	SDWebImage/SDWebImageDownloaderOperation.h
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageManager.m
#	Tests/Podfile
#	Tests/SDWebImage Tests.xcodeproj/project.pbxproj
2016-06-07 08:36:45 +03:00
Bogdan Poplauschi 6545a3aba1 Bumped the deployment target to iOS 7 (due to NSURLSession) and also incremented the library version to 3.8.0 2016-06-02 19:10:31 +03:00
Bogdan Poplauschi 4df3934954 Added the FLAnimatedImageView category to the project and made the FLAnimatedImage headers public 2016-06-01 10:06:19 +03:00
Bogdan Poplauschi b4659f7648 Added FLAnimatedImage to the project. Had to bump the deployment target to 6.0 since FLAnimatedImage only supports iOS 6 and later. 2016-06-01 07:01:16 +03:00
Bogdan Poplauschi 503d3aed27 Schemes update (naming) 2016-05-10 08:37:12 +03:00
Bogdan Poplauschi e3ba4110a9 Renamed the schemes for consistency, dynamic frameworks are named SDWebImage instead of WebImage. Updated the Tests Podfile + project. Renamed the WebImage.h to SDWebImage.h to match the framework naming 2016-05-08 22:59:32 +03:00
Bogdan Poplauschi 2a29f4a0b7 Added the WebP files to the WebImage.framework target. Removed some old hack to define empty WebP methods (see #416), will re-add it if needed, right now it prevents the dynamic framework to build.
Sample app links the libSDWebImage.a
2016-05-08 22:41:33 +03:00
Bogdan Poplauschi 260a6f5234 Cleaning up the targets so they are easier to maintain. Right now the plan is to have:
- SDWebImage target that build as a static library (all subspecs included) -> libSDWebImage.a
- in the next step I will create "SDWebImageiOS" and "SDWebImagetvOS" targets that build as dynamic frameworks -> SDWebImageiOS.framework and SDWebImagetvOS.framework
2016-05-08 21:59:15 +03:00
jiangliancheng c2173c1e75 add animated webP support 2016-01-15 23:47:25 +08:00
hoseking 07fe1f0dfe Update project settings for Xcode 7 2015-10-16 11:23:28 -07:00
hoseking 4068b93386 Add tvOS Framework target 2015-10-16 11:23:28 -07:00
Florent Vilmart a897811eb5 Lowers deployment target to 8.0 2015-03-22 16:40:44 -04:00
Florent Vilmart a66a790eb2 Replaces direct calls to UIApplication by peformSelector 2015-03-20 18:37:55 -04:00
Florent Vilmart f2252b3499 Adds shared scheme for WebImage in SDWebImage.xcodeproj 2015-03-19 21:15:53 -04:00
Florent Vilmart c0c5e0d714 Adds Carthage WebImage scheme to workspace 2015-03-19 14:14:11 -04:00
Florent Vilmart 9ee89474ed Adds support for iOS 8+ Framework and Carthage
Adds Instructions for Carthage installation
2015-03-15 12:06:27 -04:00
Bogdan Poplauschi 87384290a4 Moved all schemes to the workspace container plus created scheme for Tests 2014-11-04 12:45:04 +02:00
Bogdan Poplauschi 01931d1d89 Updated libwebp reference to 0.4.2 2014-11-04 10:55:59 +02:00
Bogdan Poplauschi 16eea9f104 Updated references to libwebp files after the changes from their latest release (0.4.1) 2014-08-11 15:00:19 +03:00
Whirlwind 5615cf12de Merge branch 'master' into new_cancel_logic
Conflicts:
	SDWebImage/MKAnnotationView+WebCache.m
	SDWebImage/UIButton+WebCache.m
	SDWebImage/UIImageView+HighlightedWebCache.h
	SDWebImage/UIImageView+HighlightedWebCache.m
	SDWebImage/UIImageView+WebCache.m
2014-06-20 10:51:17 +08:00
Whirlwind 4c18545dbc Refactor the cancel logic 2014-06-19 22:46:37 +08:00
Bogdan Poplauschi dfceb49d2b Reordered categories in project file 2014-06-19 10:35:55 +03:00
Bogdan Poplauschi fe48ee54f3 Added SDWebImageCompat.m to SDWebImage+MKAnnotation target 2014-06-11 12:46:20 +03:00
利辺羅エルネスト 6c79daad00 Update projects to recommended settings 2014-05-21 17:10:25 +09:00
Whirlwind 986794012d add category for imageView's highlighted state 2014-03-03 12:32:27 +08:00
Olivier Poitrey 5f3e9272c8 Fix deployement target for arm64 2014-02-24 09:43:14 -08:00
Fabrice Aneche edc1d882e8 refs #620 move NSData+ImageContenttype to the SDWebImage subdirectory 2014-01-21 09:57:50 -08:00
Fabrice Aneche 5e3384e77b upgrade libwebp to 0.4.0 2014-01-06 14:46:20 -08:00
Fabrice Aneche 6d6796c31a explicit webp detection 2014-01-06 13:00:13 -08:00
Fabrice Aneche d3a9a57a0d support arm64 2014-01-03 17:14:13 -08:00
Olivier Poitrey 5df0eafc92 Fix WebP target 2013-10-04 11:43:27 -07:00
Olivier Poitrey 340db263fa Remove WebP support from default target and add a dedicated target
Too many people have issue with WebP library dependancy.
2013-09-20 10:53:11 -07:00
Olivier Poitrey 0076bb9a55 Share schema so it can be used by Xcode bots 2013-09-20 10:45:35 -07:00
Olivier Poitrey 22cd4e49c4 Fix xcode project settings 2013-08-27 16:23:59 -07:00
Olivier Poitrey 76d2fc8d0e Update project to comply with Xcode 5 2013-08-20 16:25:27 -07:00
Olivier Poitrey 8c295cfe80 Update webp to upstream head 2013-08-19 18:44:27 -07:00
Olivier Poitrey 5ecb8d56af Do not enable webp when not explicitly activated by a macro (fix #415) 2013-06-10 21:42:58 +02:00
Olivier Poitrey 04fa4c97b5 Add WebP format support (fix #410)
How awesome is that?! =)
2013-06-07 20:43:51 +02:00
Olivier Poitrey 1dbb79f903 Refactor GIF support
Remove GIF specific code from main source, isolate it in a UIImage category to ease future addition of format support
2013-06-07 19:39:07 +02:00
Andy LaVoy 3f98095704 support GIFs 2013-04-28 14:06:54 -07:00
odanu 474b0d9496 Added SDWebImageCompact.m to Compile sources of the SDWebImage+MKAnnotation target 2013-03-20 03:44:18 -07:00
Olivier Poitrey 3016754250 Share framework target 2013-01-21 09:27:53 +01:00
Olivier Poitrey c876cafa7a Fix Xcode 4.6 warnings 2012-12-19 16:41:06 +01:00
Matej Bukovinski 7ba77023c7 Using spaces instead of tabs for indentation.
- also configured the Xcode project to use spaces instead of tabs by default
2012-12-14 00:18:17 +01:00
Olivier Poitrey d3b5fd2bd2 Fix ARC compilation warning breaking some non-ARC projects (fix #229) 2012-12-11 16:11:06 +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 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 ab07f23fbc Fix #200 crash on archived builds 2012-10-23 15:50:53 +02:00
Olivier Poitrey 62a61ab249 Switch to framework distribution 2012-10-19 13:34:40 +02: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
Olivier Poitrey aa64d20128 Fix README for static library instruction with archiving 2012-05-16 20:42:19 +02:00
Olivier Poitrey 76132c3e84 Fix ARC target not activating ARC correctly 2012-05-14 11:53:25 +02:00
Olivier Poitrey aa25f3a67b Enable more useful warnings 2012-05-12 00:37:37 +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 dd5f15055d Move all source to a subdirectory to comply with XCode 4 standards 2012-05-09 12:37:35 +02: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
Olivier Poitrey 1cf1703ec1 Add MKAnnotationView+WebCache category (fix #78) 2012-03-14 22:05:03 +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
Olivier Poitrey b207dcc6a8 Setup xcode project to allow import in a project as a static library 2012-01-28 00:05:40 +01:00
Olivier Poitrey 86b60e9c98 Add Xcode project 2011-12-05 02:50:29 +01:00