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
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
Bogdan Poplauschi
fc0de57066
Readded `shouldUseCredentialStorage` to preserve backwards compatibility
2016-06-06 21:24:11 +03:00
Bogdan Poplauschi
473054879c
Updated the changelog
2016-06-06 21:08:17 +03:00
Bogdan Poplauschi
5d42a2ac5e
Merge pull request #1586 from oanapopescu/nsurlsession
...
Updated image downloader with a single session that manages all tasks
2016-06-06 21:00:34 +03:00
Oana Popescu
1e412927cc
Keeping both owned and unowned sessions around as part of the operation.
...
We need different ownership for both because we need to invalidate the owned session upon completion.
The unowned session is wet to avoid cyclical references.
2016-06-06 20:09:43 +03:00
Oana Popescu
eab4279140
Updated image downloader with a single session that manages all tasks
...
- the URL session is created and maintained y the image downloader
- the session will be injected to each operation and it will use it to create the data task
- when delegate callbacks are called, the downloader will call the same delegate methods on the appropriate operation
- if no session is injected upon creating a operation, it will create its own session for backwards compatibility.
2016-06-06 19:12:56 +03:00
Bogdan Poplauschi
1bf62d475a
Fixed #1583 crash in `SDWebImageManager cacheKeyForURL:` when url is nil - replaced #1585
2016-06-06 07:32:34 +03:00
Bogdan Poplauschi
d8dc6a25aa
Merge pull request #1584 from minsOne/master
...
fixed crash on ios7 user device
2016-06-06 07:25:00 +03:00
Ahn Jung Min
335a437b2e
fixed crash on ios7 user device
...
fixed that string property of NSURLComponents can`t use on iOS7
2016-06-06 04:42:02 +09:00
Bogdan Poplauschi
cb7a3db23c
Updated the changelog
2016-06-02 19:19:42 +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
9137b65d3b
Merge pull request #1578 from oanapopescu/nsurlsession
...
Replace deprecated NSURLConnection with NSURLSession
2016-06-02 18:59:05 +03:00
Oana Popescu
09a9e74eae
Removed dealloc method and added comment regarding sending nil for delegateQueue
2016-06-02 18:23:49 +03:00
Oana Popescu
5580c78282
Replace deprecated NSURLConnection with NSURLSession. See #1291 #1318 #823 #1566
...
- one session per operation to preserve the ordering and priority functionalities
- removed all the runloop code that was only used to keep the operation running. I am relying on non-setting the isFinished property to keep the operation running
- todo: check deallocation, test background tasks
2016-06-02 09:02:03 +03:00
Bogdan Poplauschi
94c1ec3ed0
Revisited all copyright comments and decided for just one format
2016-06-01 15:53:08 +03:00
Bogdan Poplauschi
7761afca92
Trying to fix the random build failures (probably timeout due to this image url)
2016-06-01 11:58:39 +03:00
Bogdan Poplauschi
b059b04fd2
Updated the tests
2016-06-01 10:32:40 +03:00
Bogdan Poplauschi
d1f7694004
Trying to fix the build, seems like Travis cannot work with ssh urls
2016-06-01 10:17:59 +03:00
Bogdan Poplauschi
44cb993ee9
Successfull attempt to override the UIImageView(WebCache) methods in the FLAnimatedImageView(WebCache) category. This should make the integration easier. Not sure if it will always work
2016-06-01 10:11:46 +03:00
Bogdan Poplauschi
d75bc2765d
Updated the podspec so the GIF+FLAnimatedImage is a separate subspec
2016-06-01 10:10:46 +03:00
Bogdan Poplauschi
8a488d377b
Updated the example project so it supports the animated images as well.
2016-06-01 10:06:37 +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
f6cd50bb65
Converted our example xibs to the new Xcode format
2016-06-01 10:05:40 +03:00