Commit Graph

960 Commits

Author SHA1 Message Date
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
Sethathi Morokole 11521aa040 Update README.md
Minor grammar fix
2016-04-18 16:03:39 +02:00
Konstantinos K 83240bd781 Merge pull request #1527 from yebw/master
Fix #1524
2016-04-12 21:14:14 +03:00
yebw 32787175ac Optimize the decoder to avoid of unwanted blended layer 2016-04-12 17:27:33 +08:00
Bogdan Poplauschi 0da78a4ce6 Merge pull request #1486 from bestswifter/master
typo fix
2016-03-27 18:54:37 +03:00
Konstantinos K 09556f2d21 Merge pull request #1464 from Brain89/fixDecodedImageWithImage(1423)
[fix] Issue #1423
2016-03-25 12:47:52 +02:00
Simon Burbidge ed7df926ea Added "cancelAllDownloads" method to SDWebImageDownloader. 2016-03-21 13:16:05 +08:00
Konstantinos K 16e1862afc Merge pull request #1390 from ttgb/patch-1
Update .gitmodules
2016-03-17 09:50:03 +02:00
Konstantinos K 1ef791bad9 Merge pull request #1496 from yamasakitomohiro/master
fixes  CGContextDrawImage: invalid context 0x0
https://github.com/rs/SDWebImage/issues/1401
https://github.com/rs/SDWebImage/issues/1454
https://github.com/rs/SDWebImage/issues/1457
2016-03-17 09:46:40 +02:00
山崎友弘 32ca18b523 To and modify the "Downloaded image has 0 pixels" error exits bug download a file of the png format 2016-03-15 18:41:35 +09:00
张星宇 1189f74c00 typo fix 2016-03-09 09:46:02 +08:00
Bogdan Poplauschi 469d8bbfd8 Merge pull request #1466 from toshi0383/fix-license
Remove XML special characters from LICENSE
2016-02-17 15:43:34 +02:00
toshi0383 2489074417 Also update copyright year 2016-02-17 20:18:49 +09:00
Toshihiro Suzuki b39fab3180 Remove XML special characters from LICENSE 2016-02-17 20:16:32 +09:00
Aleksandr Sychev 974141f5a2 [fix] Issue #1423 2016-02-15 18:45:57 +03:00
Bogdan Poplauschi e7fa11058b Merge pull request #1462 from ReadmeCritic/master
Correct the spelling of CocoaPods in README
2016-02-11 11:44:38 +02:00
ReadmeCritic 8fe7ed5ca7 Correct the spelling of CocoaPods in README 2016-02-10 13:38:58 -08:00
Jawwad Ahmad cbb50e986e Improve documentation for SDWebImageHighPriority
- Fixed grammar issues in the first sentence.
- Removed the second sentence since it is redundant. Moving to the front of the queue implies that they will be loaded first. Also doesn't seem necessary to inform the user that the queued images might take a while to download.
2016-02-11 01:24:14 +05:00
Martin Oppetit 68ae502797 Adhering to coding style
- also added new line at the end of SDImageCacheTests.m file
2016-02-04 10:14:53 +00:00
Mutix 6e1b2aa8f0 Merge pull request #1 from Mutix/feature/store-NSData
Added API to save image NSData to disk cache
2016-02-01 15:20:28 +00:00
Martin Oppetit 9c4fcfa844 Added API to save image NSData to disk cache
- exposing new `- (void)storeImageDataToDisk:(NSData *)imageData
forKey:(NSString *)key` function on SDImageCache
- added unit tests for this new API
- added file extension to kImageTestKey to ensure cache path is valid
for creating NSData
2016-02-01 15:19:59 +00:00
Olivier Poitrey e41af47e2f Merge pull request #1447 from slackhq/master
Protect against malformed frame
2016-01-30 02:54:23 +01:00
sukeban 070cbc63ee Add braces 2016-01-25 14:27:41 -08:00
sukeban 3b039d5910 Protect against malformed image
Don’t add nil to the array, just skip the frame.
2016-01-25 14:21:17 -08:00
Bogdan Poplauschi 64f621081c Bumped version to 3.7.5 and added to changelog 2016-01-21 16:34:36 +02:00
Bogdan Poplauschi b426975b9f Replaced the demo images from static2.dmcdn.net that were no longer working with the demo images from FastImageCache 2016-01-21 15:36:36 +02:00
Bogdan Poplauschi fca618fb61 Fixed #1422 - Added a fallback for #976 so that if there are images saved with the old format (no extension), they can still be loaded. Not the greatest way to fix it, but the simplest one. 2016-01-21 15:14:16 +02:00
Bogdan Poplauschi 9ecf488aff Merge pull request #1439 from Moral-Piggy/master
Without creating a NSError instance when completedBlock is nil
2016-01-20 17:28:44 +02:00
Bogdan Poplauschi a8fca6584f Continuation of Fix #1366, addresses #1350 and reverts a part of #1221 - from commit 6406d8e, the wrong usage of dispatch_apply
This one fixes: #1425 and #1426
2016-01-19 19:08:18 +02:00
liushuaikobe 47115e2593 If the sd_imageURL of the UIImageView or UIButton is nil, won't create a NSError Instance 2016-01-18 16:29:28 +08:00
Bogdan Poplauschi 6a623cd58f Updated Changelog and added Changelod to workspace 2016-01-08 17:44:08 +02:00
Bogdan Poplauschi a45b222e70 Bump version to 3.7.4 2016-01-08 17:17:58 +02:00
Bogdan Poplauschi aa3598f3e0 Merge pull request #1348 from yirenjun/master
Create a strong ref of weakOperation in the entry of The image downlo…
2016-01-08 16:53:15 +02:00
Bogdan Poplauschi 8aca4ca1b3 Merge pull request #1363 from muer2000/patch-3
Fixed #1361 sd_cancelBackgroundImageLoadForState
2016-01-08 16:50:00 +02:00