Commit Graph

999 Commits

Author SHA1 Message Date
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
Bogdan Poplauschi 843148139b Added some files to the workspace so they are easier to edit 2015-03-19 12:06:55 +02:00
Bogdan Poplauschi fb2063086d Merge pull request #985 from songfrank/master
Bug fix:Collection <__NSArrayM: > was mutated while being enumerated
2015-03-19 11:57:15 +02:00
Bogdan Poplauschi beabb1842b Merge pull request #988 from wantedly/improve-operation-behavior
Improve operation behavior
2015-03-19 11:54:01 +02:00
Bogdan Poplauschi 0ef0e07f77 Merge pull request #1011 from mattjgalloway/error_domain
Make a constant for the error domain
2015-03-19 10:55:59 +02:00
Bogdan Poplauschi 27e3038ec3 Merge pull request #1076 from ikesyo/faild-urls-nsset
[Refactor] Use NSMutableSet for failed URLs' storage instead of array
2015-03-18 11:24:55 +02:00
Syo Ikeda 210c13d124 [Refactor] Use NSMutableSet for failed URLs' storage instead of array 2015-03-18 12:33:28 +09:00
Syo Ikeda 021607a845 [Refactor] Implement cache cost calculation as a inline function 2015-03-18 12:27:23 +09:00
Bogdan Poplauschi d41bfaf8c8 Fix: xcodebuild: error: -destination implies architecture, -arch must not also be specified. 2015-03-17 16:53:00 +02:00
Bogdan Poplauschi 6c29c8b009 Another try to fix the travis builds 2015-03-17 16:36:50 +02:00
Bogdan Poplauschi b3ad18ea56 Updated travis.yml 2015-03-17 16:14:33 +02:00
Bogdan Poplauschi fd34a9a0fa Revert "Fixed #774 - remove deprecated methods. Since 4.0 is a major release, we don't need the backwards compatible methods"
This reverts commit 62a8ee1ab6.
2015-03-17 15:55:16 +02:00
Bogdan Poplauschi 36f5b1e4e9 The latest libwebp library has some warnings that cause our pod spec lint to fail 2015-03-17 15:43:11 +02:00
Bogdan Poplauschi 76ed37636f Updated libwebp submodule hash to 0.4.3 2015-03-17 15:29:07 +02:00
Florent Vilmart 9ee89474ed Adds support for iOS 8+ Framework and Carthage
Adds Instructions for Carthage installation
2015-03-15 12:06:27 -04:00
Olivier Poitrey 962bcb0323 Merge pull request #1059 from thedrick/thedrick-bump-podspec
Bumping podspec version
2015-03-09 15:34:01 -07:00
Tyler Hedrick 9b8aa8a12d Bumping podspec version 2015-03-09 14:50:45 -07:00
Olivier Poitrey 904f552e01 Merge pull request #1057 from heistings/dev_updateReadMe
Update README.md.
2015-03-08 20:20:51 -07:00
庞博 56e2c6283c Update README.md.
Signed-off-by: 庞博 <bopang@sohu-inc.com>
2015-03-09 10:14:43 +08:00
庞博 f83abb578a Use __typeof(self) when assigning weak reference for block.
Signed-off-by: 庞博 <bopang@sohu-inc.com>
2015-03-06 16:37:38 +08:00
Olivier Poitrey 9cc8269dcd Merge pull request #1049 from hoppenichu/fix_donwloader_2
Make sure callbacksForURL won't be modified
2015-02-25 17:04:13 -08:00
Takeru Chuganji 62e2320f2d make sure inmutable 2015-02-26 09:23:08 +09:00