Commit Graph

1050 Commits

Author SHA1 Message Date
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
Bogdan Poplauschi 503d3aed27 Schemes update (naming) 2016-05-10 08:37:12 +03:00
Bogdan Poplauschi 572f26af27 Updated the diagrams 2016-05-10 08:36:50 +03:00
Bogdan Poplauschi 6279424b1c Added 1st version of design (StarUML) 2016-05-08 23:58:26 +03:00
Bogdan Poplauschi 718cbcad3e The tests target should also use xcpretty 2016-05-08 23:41:31 +03:00
Bogdan Poplauschi 3902ed7dec Fixed the build (the test target cannot do clean) 2016-05-08 23:29:29 +03:00
Bogdan Poplauschi 7913b45fae Added the missing Tests scheme 2016-05-08 23:14:48 +03:00
Bogdan Poplauschi 56c1ba63ad Cleanup for the Travis CI config file 2016-05-08 23:04:40 +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
Bogdan Poplauschi a32a1775c2 Renamed SDWebImageManager `downloadImageWithURL:options:progress:completed:` to `loadImageWithURL:options:progress:completed:` as it makes more sense, since we check the cache first and download only if needed
Conflicts:
	SDWebImage/UIImageView+WebCache.m
2016-05-08 21:16:23 +03:00
Bogdan Poplauschi 0384a059c4 Fixed #774 - remove deprecated methods. Since 4.0 is a major release, we don't need the backwards compatible methods
Conflicts:
	SDWebImage/UIImageView+WebCache.h
	SDWebImage/UIImageView+WebCache.m
2016-05-08 21:13:52 +03:00
Bogdan Poplauschi edb4bc3554 Updated the changelog 2016-05-08 19:49:06 +03:00
Bogdan Poplauschi 990f85bce2 Bumped version to 3.7.6 2016-05-08 19:32:10 +03:00
Bogdan Poplauschi b40124c95d Fixed #1449: Version 3.7.5 breaks semantic versioning (removes public API). Re-added `sd_setImageWithPreviousCachedImageWithURL:andPlaceholderImage:options:progress:completed:` and deprecated it. Will remove it in 4.0.0 2016-05-08 19:00:39 +03:00
Bogdan Poplauschi 371533549c Merge pull request #1453 from Mutix/master
Added API to save image NSData to disk cache.
2016-05-08 18:53:26 +03:00
Bogdan Poplauschi d4d11ef0b0 Merge pull request #1461 from jawwad/patch-1
Improve documentation for SDWebImageHighPriority
2016-05-08 18:43:52 +03:00
Bogdan Poplauschi d6d9a5c233 Merge pull request #1504 from siburb/master
Added "cancelAllDownloads" method to SDWebImageDownloader.
2016-05-08 18:41:36 +03:00
Bogdan Poplauschi 1fba8d99f3 Merge pull request #1549 from iOSPandaLee/master
Repair memory release in the iPad environment
2016-05-08 18:35:47 +03:00
iOSPandaLee 5cc5abae03 Repair memory release in the iPad environment
In the iPad environment, NSCache lead to anonymous VM very high, if reaches a certain value, app will be crash. Because of SDImageCache don't clear memory when receive memory warning notification, modify define TARGET_OS_IPHONE to TARGET_OS_IOS can resolve this issue.
2016-05-05 11:51:19 +08:00
Konstantinos K 19041b44c2 Merge pull request #1547 from maxoly/master
Fixed completion logic in MKAnnotationView+WebCache
2016-05-04 20:04:15 +03:00
Massimo Oliviero d2b648e8ff Fixed completion logic in MKAnnotationView+WebCache 2016-05-04 17:23:05 +02:00
Konstantinos K 29c9c5d68a Merge pull request #1540 from futuretap/fix-1437
Fixed changed image size (#1437)
2016-04-25 20:31:18 +03:00
Ortwin Gentz 4709774dc2 Revert dcde40fc01
fixes #1437
2016-04-25 16:16:00 +02:00
Konstantinos K 0979d5b5f7 Merge pull request #1532 from Sethathi/patch-1
Update README.md
2016-04-18 21:49:53 +03:00