Commit Graph

884 Commits

Author SHA1 Message Date
Bogdan Poplauschi f611d5e52b Merge pull request #1188 from bill350/master
Add an option called "SDWebImageAvoidAutoImageFill" to avoid automati…
2015-07-02 18:07:44 +03:00
Jean-Charles SORIN 4d6693c813 Rename SDWebImageAvoidAutoImageFill option to SDWebImageAvoidAutoSetImage 2015-07-01 10:11:35 +02:00
Bogdan Poplauschi ef578240b3 Merge pull request #1199 from keslcod/master
A minor thing: Avoid compiler warning about the missing new line at the end of the file
2015-06-29 14:36:09 +03:00
Florian Buerger d107a80189 Add newline to avoid compiler warning 2015-06-29 11:48:49 +02:00
Bogdan Poplauschi b111d6246a Revert "Fixing casing for #import "webp/decode.h" (#import "WebP/decode.h") not"
This reverts commit 48d4adc210.
2015-06-29 11:41:32 +03:00
Bogdan Poplauschi 511ce9992e Merge pull request #1196 from unlucio/webp-case
Fixing casing for #import "webp/decode.h"
2015-06-25 10:38:04 +03:00
unLucio 48d4adc210 Fixing casing for #import "webp/decode.h" (#import "WebP/decode.h") not
working on case sensitive HDs
2015-06-25 11:04:55 +04:00
Bogdan Poplauschi 7e160e34a2 Merge pull request #1158 from akmarinov/master
Fixed an issue that causes URLs with trailing parameters to be assign…
2015-06-25 01:33:39 +03:00
Bogdan Poplauschi 466e4011d0 Merge pull request #1138 from KoCMoHaBTa/KoCMoHaBTa-patch-1074
Applied patch for issue #1074
2015-06-25 01:15:01 +03:00
Konstantinos K. 08e9962b5e Merge pull request #1167 from jiangmingz/patch-2
fix ImageIO: CGImageSourceCreateWithData data parameter is nil
2015-06-24 19:34:50 +03:00
Konstantinos K. 7692bd2610 Merge pull request #1178 from marciomeschini/marco/fix_accept_header
add webp accepted content type only if WebP enabled
2015-06-24 19:24:47 +03:00
Konstantinos K. 2ee4bfe24b Merge pull request #1159 from stephanecopin/errorCodeFailedURLs
Add handling for additional error codes that shouldn't be considered a permanent failure
2015-06-24 19:12:09 +03:00
Konstantinos K. 8021ddd313 Merge pull request #1121 from archfear/transparancy_fix
Fix for transparency being lost in transformed images.
2015-06-24 19:10:02 +03:00
stephane-fueled db4f3fc9b6 fix(): simplify logic for failed URLs error code on iOS6/7 2015-06-24 10:57:16 -04:00
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