Commit Graph

970 Commits

Author SHA1 Message Date
stephane-fueled 4499441661 feat(failedURLs): add additional error codes that shouldn't be considered as a permanent failure 2015-06-24 10:54:58 -04:00
Marco Meschini e622b290c9 fix directive
apologies. yeah, #elseif was quite inappropriate for this case
2015-06-24 09:58:19 +01:00
Konstantinos K. 0e761f4aa7 404 image url was causing the test to fail 2015-06-24 10:37:31 +03:00
Konstantinos K. 43115af147 Merge pull request #1177 from aschuch/master
libwebp submodule moved to another location
2015-06-24 09:56:35 +03:00
Konstantinos K. 01a5cfb86b Merge pull request #1193 from rs/revert-1175-master
Revert "Fixes http://git.chromium.org/webm/libwebp.git/info/refs not …
2015-06-24 09:52:53 +03:00
Konstantinos K ef1a1c3c47 Revert "Fixes http://git.chromium.org/webm/libwebp.git/info/refs not valid" 2015-06-24 09:47:14 +03:00
Jean-Charles SORIN 5d2963ac73 Add an option called "SDWebImageAvoidAutoImageFill" to avoid automatic image addition in UIImageView and let developer to do it himself 2015-06-18 19:18:45 +02:00
Marco Meschini 26698f9da0 add webp accepted content type only if WebP enabled
Send WebP as accepted content type only if it is enabled. In case it's not, stick with the standard formats in order to avoid the server sending us back WebP images.
2015-06-12 17:04:33 +01:00
Konstantinos K. 48d10c1773 Merge pull request #1175 from joelchen/master
Fixes http://git.chromium.org/webm/libwebp.git/info/refs not valid
2015-06-12 18:13:56 +03:00
Alexander Schuch 1f65ca773f Update .gitmodules 2015-06-12 16:48:10 +02:00
Joel dfc57ac94c Fix http://git.chromium.org/webm/libwebp.git/info/refs not valid 2015-06-11 15:14:23 +08:00
Konstantinos K. 8f3b5e9330 fixed typ in method description
should say asynchronously in methods ```removeImageForKey...```
2015-06-08 10:05:58 +03:00
拔萝卜的☂Tank be0791233c Update UIImage+MultiFormat.m
fix <Error>: ImageIO: CGImageSourceCreateWithData data parameter is nil bug
2015-06-02 20:23:40 +08:00
Andrey Marinov 8f309e194e Fixed an issue that causes URLs with trailing parameters to be assigned an incorrect image scale value 2015-05-25 19:48:23 +03:00
Luke Durrant d7bc2c0036 Improved by using makeDiskCachePath 2015-05-20 17:30:23 +10:00
Luke Durrant 737140d4cb Added support for custom disk cache folder with fall back for caches directory 2015-05-20 17:28:06 +10:00
Olivier Poitrey 91b4251115 Merge pull request #1085 from flovilmart/AppExtensionSafe
Determines at runtime is UIApplication is available as per #1082
2015-05-17 21:06:19 -07:00
Olivier Poitrey 393d4f1601 Merge pull request #1143 from rromanchuk/feature/auto-purge-on-memory-event
Purge nscache on system memory notifications
2015-05-13 12:14:50 -07:00
Ryan Romanchuk 78be42ee3b Use subclassed NSCache 2015-05-13 11:03:13 -07:00
Ryan Romanchuk 4756d5dcbe Purge nscache on system memory notifications 2015-05-12 16:24:23 -07:00
Konstantinos K. a51688168d Merge pull request #1111 from molon/master
failedURLs can be removed at the appropriate time.
2015-05-12 08:37:14 +03:00
Olivier Poitrey 98989d9524 Merge pull request #1140 from rromanchuk/feature/add-count-limits
Add NSCache countLimit property
2015-05-11 12:48:37 -07:00
Ryan Romanchuk f72f4c183d Add NSCache countLimit property in attempts to get better control of cache eviction. 2015-05-11 11:02:33 -07:00
Milen Halachev 9f719ca2f9 Applied patch for issue #1074
When the code is copied within a swift module, or when a target is linked against the static library or when using from cocoapods - the debugger not longer gets broken.
2015-05-08 02:56:08 +03:00
Pau Ruiz 79eb6e77c5 Added all methods of the cache module, almost all directly and some of them indirectly used
Unable to test sync call to diskImageExistsWithKey, hoped due to problems with the file manager and the test bundle being different from the main bundle
2015-04-19 10:01:35 +01:00
Pau Ruiz 66ddb23593 Added image for testing cache 2015-04-19 09:24:34 +01:00
molon 9ae8f97425 failedURLs can be removed at the appropriate time. 2015-04-08 18:24:52 +08:00
Dan Dofter 38a6edb02a Only store an image with unknown format as PNG if it has an alpha channel. 2015-04-02 17:50:20 -07:00
Pete Callaway 7e50d78c80 Don’t pass the original image data to be cached if the image has been transformed as transparency may have been added 2015-04-02 17:41:16 -07:00
Bogdan Poplauschi 704c630567 Merge pull request #1104 from pollarm/master
Fix parenthesis to avoid crashes
2015-03-31 12:32:37 +03:00
Mike Pollard 4dd5a6681a Fix parenthesis to avoid crashes 2015-03-30 21:30:16 +01:00
Bogdan Poplauschi 6690de8ccf Merge pull request #1101 from samritchie/master
Carthage build fails in Xcode 6.2
2015-03-30 12:04:02 +03:00
Sam Ritchie 9c00f5cd7b Changed deployment target to 8.0 2015-03-29 12:29:25 +08: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 17a4803661 Determines at runtime is UIApplication is available as per #1082 2015-03-20 15:29:28 -04:00
Bogdan Poplauschi 70dfe15144 Merge pull request #1081 from flovilmart/Carthage
Adds shared scheme for WebImage in SDWebImage.xcodeproj
2015-03-20 08:28:49 +02:00
Florent Vilmart f2252b3499 Adds shared scheme for WebImage in SDWebImage.xcodeproj 2015-03-19 21:15:53 -04:00
Bogdan Poplauschi 9620fffa64 @3x support - replaced #1005 2015-03-19 23:44:25 +02:00
Bogdan Poplauschi 4f97897a41 Merge pull request #1045 from mariusschulz/patch-1
Updates Podfile entry to v3.7
2015-03-19 23:38:13 +02:00
Bogdan Poplauschi cd0c57f43e Merge pull request #1071 from flovilmart/Carthage
Adds support for iOS 8+ Framework and Carthage
2015-03-19 23:33:06 +02:00
Florent Vilmart c0c5e0d714 Adds Carthage WebImage scheme to workspace 2015-03-19 14:14:11 -04:00
Bogdan Poplauschi 2b68869927 Merge pull request #1075 from ikesyo/refactor-image-cache-cost
[Refactor] Implement cache cost calculation as a inline function
2015-03-19 14:23:33 +02:00
Bogdan Poplauschi d56c4f3d22 Merge pull request #1054 from heistings/develop
Use __typeof(self) when assigning weak reference for block.
2015-03-19 14:19:58 +02:00
Bogdan Poplauschi eac0b816f8 Merge pull request #1041 from john-07/master
allow override diskCachePath
2015-03-19 14:13:34 +02:00
Bogdan Poplauschi 85dde52173 Merge pull request #1038 from rounak/patch-1
fixed typo
2015-03-19 14:10:13 +02:00
Bogdan Poplauschi 88ee3c6774 Replacing #1018 - avoid warning "<Error>: ImageIO: CGImageSourceCreateWithData data parameter is nil" if imageData is nil 2015-03-19 13:52:44 +02:00
Bogdan Poplauschi 6e947240a0 Merge pull request #1017 from warld-limited/prefetcher_patch
[Memory Issue] Clear SDWebImagePrefetcher progressBlock when it has completed
2015-03-19 13:47:17 +02:00
Bogdan Poplauschi 7f99c01804 Replaces #1016 2015-03-19 12:10:59 +02:00
Bogdan Poplauschi 72ed897c53 Formatting in the readme.md 2015-03-19 12:09:45 +02:00