Commit Graph

1075 Commits

Author SHA1 Message Date
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
Bogdan Poplauschi c1451f28af Built a FLAnimatedImageView category that hooks this class to the SDWebImage system. It's very similar to UIImageView (WebCache). There are explicit methods for loading an animated image. 2016-06-01 10:05:16 +03:00
Bogdan Poplauschi 881da8fbe0 Corrected comment (was changed unintentionally). 2016-06-01 10:02:41 +03:00
Bogdan Poplauschi 32f4e4d234 Updated the doc with the new completion type (SDWebImageManager loadImageWithURL) 2016-06-01 10:02:20 +03:00
Bogdan Poplauschi ada86ab939 Based on the previous change, we now can avoid the memory cache for GIFs, as the memory cache only holds UIImage instances and we need the NSData. Forced to load from disk if the image is a GIF 2016-06-01 09:45:13 +03:00
Bogdan Poplauschi 9ea1602157 Changed the current internal GIF implementation. We will only return an UIImage with a single animated frame (basically a static image). We do set it in the images array so we can distinguish between those and real static images. Dropped all other GIF code. 2016-06-01 09:43:53 +03:00
Bogdan Poplauschi debc0d4827 Exposed the activity indicator methods from UIImageView+WebView so we can use them in a future category 2016-06-01 09:42:39 +03:00
Bogdan Poplauschi 8f4a9dae2d For consistency with the previous change, also renamed `SDWebImageCompletionBlock` to `SDExternalCompletionBlock` 2016-06-01 09:41:44 +03:00
Bogdan Poplauschi aecb13d421 Extended the SDWebImageManager `loadImageWithURL:options:progress:completed:` so it also returns the NSData (we will need it later for the GIF images).
- had to add an NSData param to `SDWebImageCompletionWithFinishedBlock `, so to make it simpler see this change for users, renamed the block type to `SDInternalCompletionBlock`
- pass the NSData from the ImageCache or the Downloader
- updated all classes using this method with the new signature
2016-06-01 09:40:36 +03:00
Bogdan Poplauschi e775b444ef Extended the SDImageCache `queryDiskCacheForKey:done:` so it also returns the NSData (we will need it later for the GIF images).
- had to add an NSData param to `SDWebImageQueryCompletedBlock`, so to make it simpler see this change for users, renamed the block type to `SDCacheQueryCompletedBlock`
- pass the NSData when getting the image from disk cache
2016-06-01 09:35:36 +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 81df4611a1 Added FLAnimatedImage as submodule 2016-06-01 06:54:38 +03:00
Bogdan Poplauschi 22fded56cf Fixed #1573 - Update to cc510a6 - Cached file name with path extension UIWebView issue - for iOS 7 and above, remove the query from the url (prior to iOS 7 the behavior remains the same). 2016-06-01 06:43:42 +03:00
Bogdan Poplauschi 9112170ea3 Replaces #1398 Allow to customise cache and image downloader instances used with SDWebImageManager - added a new initializer (`initWithCache:downloader:`) 2016-06-01 06:43:39 +03:00
Bogdan Poplauschi 795832aadc Fixed #1415 documentation was not updated when `removeImageForKey:` became async 2016-06-01 06:40:36 +03:00
Bogdan Poplauschi fb0cdb6dc4 Fixed #1553 Cached file name with path extension UIWebView issue - for iOS 7 and above, remove the query from the url (prior to iOS 7 the behavior remains the same). 2016-06-01 06:40:31 +03:00
Bogdan Poplauschi af7b587936 Fixed #1573 - Update to cc510a6 - Cached file name with path extension UIWebView issue - for iOS 7 and above, remove the query from the url (prior to iOS 7 the behavior remains the same). 2016-05-31 14:51:33 +03:00
Bogdan Poplauschi 86fc47bf7b Replaces #1398 Allow to customise cache and image downloader instances used with SDWebImageManager - added a new initializer (`initWithCache:downloader:`) 2016-05-30 07:31:01 +03:00
Bogdan Poplauschi e6e5c5156b Fixed #1415 documentation was not updated when `removeImageForKey:` became async 2016-05-29 22:32:15 +03:00
Bogdan Poplauschi cc510a6a4e Fixed #1553 Cached file name with path extension UIWebView issue - for iOS 7 and above, remove the query from the url (prior to iOS 7 the behavior remains the same). 2016-05-29 16:25:31 +03:00
Bogdan Poplauschi b5a504f326 Trying to get around this last build error "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.google.gr” which could put your confidential information at risk." by using a different image 2016-05-29 13:08:29 +03:00
Bogdan Poplauschi 512c536fcf The pod setup output is huge with CocoaPods 1.0.0 (10.000+ lines), causes Travis to "This log is too long to be displayed. Please reduce the verbosity of your build or download the raw log." 2016-05-29 13:08:15 +03:00
Bogdan Poplauschi 0dc2c41112 Trying to get around this last build error "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.google.gr” which could put your confidential information at risk." by using a different image 2016-05-29 12:49:06 +03:00
Bogdan Poplauschi f8a7b6bac7 The pod setup output is huge with CocoaPods 1.0.0 (10.000+ lines), causes Travis to "This log is too long to be displayed. Please reduce the verbosity of your build or download the raw log." 2016-05-29 12:48:26 +03:00
Bogdan Poplauschi d625be8d98 Need to clean the SDWebImage scheme to allow the tests to rebuild it using their required platform. 2016-05-29 00:53:49 +03:00
Bogdan Poplauschi 8e300c92a4 Need to clean the SDWebImage scheme to allow the tests to rebuild it using their required platform. 2016-05-29 00:50:24 +03:00
Bogdan Poplauschi 44eac986bb Another attempt at the build 2016-05-29 00:44:02 +03:00
Bogdan Poplauschi afaf306222 This should fix the build (the tests project) 2016-05-29 00:00:33 +03:00
Bogdan Poplauschi 5ac4e308c7 Fixed the Tests/Podfile, the Target ios was not to be found, so took advantage of this change to simplify it 2016-05-28 23:00:16 +03:00
Bogdan Poplauschi e9e7edffde Fixed #1444 and the master build thanks to 5034c334be 2016-05-28 22:53:38 +03:00
Bogdan Poplauschi f1a471e93f Fixed #1444 and the master build thanks to 5034c334be 2016-05-28 22:50:53 +03:00
Bogdan Poplauschi 4d295fdaf0 Improved the formatting of the Readme/Communication section 2016-05-28 22:08:31 +03:00
Bogdan Poplauschi 11840d1313 Attempt to fix the latest build (failed because of Invalid `Podfile` file: [!] The specification of `link_with` in the Podfile is now unsupported, please use target blocks instead.) 2016-05-28 22:07:18 +03:00
Bogdan Poplauschi 9aa95e83b9 Added Communication section to the readme 2016-05-28 21:52:11 +03:00
Bogdan Poplauschi 842d6aac7b Added CONTRIBUTING, ISSUE and PULL_REQUEST TEMPLATE 2016-05-28 21:48:23 +03:00
Bogdan Poplauschi 1f165b48ee Added CONTRIBUTING, ISSUE and PULL_REQUEST TEMPLATE 2016-05-28 21:46:40 +03:00
Bogdan Poplauschi 64382b9100 Modern Objective-C syntax 2016-05-23 07:58:02 +03:00
Bogdan Poplauschi 8a78586d4e Update to <Fix multiple requests for same image and then canceling one> feature - exposed the SDWebImageDownloadToken class 2016-05-23 07:38:48 +03:00
Bogdan Poplauschi 13cfc5b89a Merge pull request #883 from mattjgalloway/fix_multiple_downloads
Fix multiple requests for same image and then canceling one
2016-05-23 07:13:01 +03:00
Bogdan Poplauschi 162174ccc1 Updated the diagrams + new sequence diagram 2016-05-17 19:02:45 +03:00
Bogdan Poplauschi aa1d2905c9 Created a Docs folder with md files and the diagrams. Moved all the HowToUse code samples to a dedicated file (HowToUse.md) to lighten up the Readme. 2016-05-10 08:50:55 +03:00
Bogdan Poplauschi 123f2fd2e6 Updated docs - tried to cleanup the readme, reorder based on other great projects examples and include the diagram 2016-05-10 08:39:46 +03:00