Commit Graph

1198 Commits

Author SHA1 Message Date
Bogdan Poplauschi 42a5e6f6ec Bumped version to 3.8.2 2016-09-05 20:11:18 +03:00
Bogdan Poplauschi e7bd5ab0fa Improvement for #1608 and #1623 should solve the issue for most of the cases. Apparently there is a race condition on NSURLCache and we avoid making those checks unless necesarry (basically we will query the NSURLCache only when `SDWebImageRefreshCached` is used and the image cannot be cached by the system when it's too big or behind authentication) 2016-09-05 19:53:39 +03:00
Bogdan Poplauschi dea7b4594d Actually we only want the RefreshCached flag for the 1st image (the HTTP Auth one) 2016-09-02 20:17:53 +03:00
Bogdan Poplauschi 20760d71e5 Updated code for #1608 #1623 - set a name for the download queue, avoid using the `_request` ivar and made sure we strip request of mutability 2016-09-01 15:05:30 +03:00
Bogdan Poplauschi 033899d0ac Example updated: all images use the SDWebImageRefreshCached option 2016-09-01 14:26:54 +03:00
Jeffrey Macko 3aa987db43 Update SDWebImageManagerTests.m
Using my cat for the test
2016-08-30 19:01:45 +02:00
Macko, Jeffrey 71da8bad7d Add support for downloading image behind a redirect 2016-08-30 18:56:15 +02:00
Bogdan Poplauschi 54adffa636 Merge pull request #1595 from rs/all_platforms
watchOS and OSX support (One platform to rule them all)
2016-08-26 22:41:26 +03:00
Bogdan Poplauschi 203c3712b2 Updated the CHANGELOG so it's easier when 4.0 is actually released 2016-08-26 21:46:17 +03:00
Bogdan Poplauschi 823b615281 Set 4.0.0-beta as the version from the podspec and the Info.plist file 2016-08-26 21:35:37 +03:00
Bogdan Poplauschi b360cbdc80 Updated the Readme with the supported platforms 2016-08-26 20:07:49 +03:00
Bogdan Poplauschi 1a2f81a5d5 Added the `WEBP_USE_INTRINSICS` flag per https://github.com/rs/SDWebImage/pull/1595#issuecomment-225984546 2016-08-26 19:52:44 +03:00
Bogdan Poplauschi 6de3e4c3bf Added logos and included in the readme 2016-08-26 12:45:33 +03:00
Sash Zats 1ac8c23723 Allow to specify NSURLSessionConfiguration for SDWebImageDownloader 2016-08-24 14:06:12 -07:00
Bogdan Poplauschi 5851f78aee Fixed issue "The value of CFBundleVersion in your WatchKit app's Info.plist (1) does not match the value in your companion app's Info.plist (1.0). There values are required to match" 2016-06-14 23:10:33 +03:00
Bogdan Poplauschi 0bcb35d697 Last commit missed to add 2 alpha_processing files. 2016-06-14 23:08:28 +03:00
Bogdan Poplauschi ccacfc768d Started using libwep 0.5.0 (changed the submodule hash, updated the files added to our project). To fix "gnu-style inline assembly is disabled" issues, explicitly set WEBP_USE_INTRINSICS for the watchOS targets 2016-06-14 22:03:58 +03:00
Bogdan Poplauschi 179362f55d Attempt to fix the tests as they were 2 tests trying to get the same image 2016-06-13 09:49:10 +03:00
Bogdan Poplauschi 8e81f4273f Added the osx platform to the podspec and set the osx deployment target to 10.8 because of some compiler issues (pod lib lint) 2016-06-13 09:47:09 +03:00
Bogdan Poplauschi 13cfa24cfe Proper file header copyright 2016-06-13 09:14:02 +03:00
Bogdan Poplauschi 98fd09ffae Updated the Travis CI script so it doesn't fail - both the "SDWebImage iOS Demo" and "SDWebImage Watch Demo" have dependencies with other platforms, so removing the -sdk option and added destination to make sure it builds for simulator 2016-06-13 08:56:06 +03:00
Bogdan Poplauschi a4da728a08 Updated deployment targets for the Demo project (no longer project level iOS target, set watch to 2.0 and appletv to 9.0) 2016-06-13 08:55:05 +03:00
Bogdan Poplauschi 67ef868d37 Let's try the build with Xcode 7.3 2016-06-13 08:25:34 +03:00
Bogdan Poplauschi a6dcf79e3b Updated the Travis CI script 2016-06-13 01:48:04 +03:00
Bogdan Poplauschi 9523b0543a Correct import of MapKit 2016-06-13 01:47:00 +03:00
Bogdan Poplauschi ac36b84463 Update on the libSDWebImage.a rename to libSDWebImage iOS static.a 2016-06-13 01:23:39 +03:00
Bogdan Poplauschi d760b43b66 Travis CI update 2016-06-13 01:15:28 +03:00
Bogdan Poplauschi f5171b3ba8 Added tvOS demo 2016-06-13 01:13:46 +03:00
Bogdan Poplauschi 683c7edce5 watchOS Demo, created a static watchos lib target, renamed static SDWebImage to "SDWebImage iOS static", added the webp files to all targets (as libwebp is compatible with all 4 platforms). Updated Travis CI 2016-06-13 00:53:08 +03:00
Bogdan Poplauschi 442b134206 OSX Example 2016-06-13 00:09:55 +03:00
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 b8e210dae9 Added the watch framework build to the Travis CI script 2016-06-12 21:11:35 +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 f63a236546 Adds automatic building with carthage to CI 2016-06-11 21:48:09 -07: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 546a579c62 Added short description about how to use GIFs 2016-06-10 07:04:34 +03:00
Bogdan Poplauschi 4e2a4f091a Merge pull request #1575 from rs/gif
GIF support using FLAnimatedImage
2016-06-07 12:57: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 42abd08935 Merge pull request #1581 from rs/Xcode_7_ObjC_updates
Xcode 7 ObjC updates
2016-06-07 12:20:14 +03:00
Bogdan Poplauschi bb0b84342f Merge branch 'master' into 4.x
# Conflicts:
#	SDWebImage/SDWebImageManager.m
2016-06-07 12:19:48 +03:00
Bogdan Poplauschi c012fc9bb2 Updated the changelog 2016-06-07 12:00:00 +03:00
Bogdan Poplauschi 67329ac512 Bumped the version 2016-06-07 11:57:03 +03:00
Bogdan Poplauschi de149aedaa Reverted all the changes for "Removed the URL query params from the filename (key)" fb0cdb6d 1bf62d4 #1584 - fixes #1433 #1553 #1583 #1585
This is a deal breaker for people. The solution for those issues (i.e. very long urls) is to set the SDWebImageManager cacheKeyFilter block and do their own calculations there.
2016-06-07 11:56:31 +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 2064f28d2f Implemented Nullability according to https://developer.apple.com/swift/blog/?id=25. Decided to make explicit nullable and nonnull and not use NS_ASSUME_NONNULL_BEGIN so everything is clearer when read. Done so in the implementation files as well 2016-06-07 08:48:45 +03:00
Bogdan Poplauschi 67f943b0fa Implemented Lightweight Generics - both for Swift interoperability and for easier to read code 2016-06-07 08:42:52 +03:00
Bogdan Poplauschi c4dd0eee49 Opening bracket styling 2016-06-07 08:41:07 +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