Commit Graph

2833 Commits

Author SHA1 Message Date
DreamPiggy 40957da785 Fix `sd_blurredImageWithRadius` CGImage implementation bug that does not considerate bitmap other than BGRA 2019-12-30 22:40:06 +08:00
DreamPiggy 0c15223111 Fix CIGaussianBlur cropping rect 2019-12-30 22:40:06 +08:00
DreamPiggy a67ea9d371 Fix the regression of sd_tintedImageWithColor with `CISourceAtopCompositing` filter 2019-12-30 22:40:06 +08:00
DreamPiggy eda7422c82 Fix the issue of sd_croppedImageWithRect (UIKit) and sd_rotatedImageWithAngle for CIImage 2019-12-30 22:40:06 +08:00
DreamPiggy ac19d18d3c Fix compile issue on watchOS, add `sd_tintedImageWithColor` support for CIImage 2019-12-30 22:40:06 +08:00
DreamPiggy 4425c823ad Add CIImage support on transform methods 2019-12-30 22:40:06 +08:00
DreamPiggy cb7c4d5990 Add the compatible method for CIImage on macOS 2019-12-30 22:40:06 +08:00
DreamPiggy 48fe948b8f Fix the bug that watchOS sd_rotatedImageWithAngle does not works 2019-12-30 22:33:54 +08:00
DreamPiggy 8da50c4a8d Merge branch '5.4.x' of https://github.com/SDWebImage/SDWebImage 2019-12-29 11:26:04 +08:00
DreamPiggy 247f74a5d1 Bumped version to 5.4.1
Update the CHANGELOG
2019-12-27 15:05:43 +08:00
DreamPiggy 0b3079d66b Fix the test case compile warning of `SDWebImageTestDiskCache` 2019-12-27 15:02:39 +08:00
DreamPiggy d44a5a331e update the Readme with PDF/SVG/Link plugin repos from SDWebImage organization 2019-12-27 15:02:39 +08:00
DreamPiggy 0d44d70e62 Fix the issue that "There may be no complete callback when download the picture of the local path" 2019-12-27 15:01:30 +08:00
DreamPiggy cc3f8a3ecd
Merge pull request #2915 from dreampiggy/feature_disk_cache_createion_change_date
Support to use the creation date and the change date to determine the disk cache expire date compare
2019-12-26 18:47:04 +08:00
DreamPiggy 751d52bbaf
Merge pull request #2917 from dreampiggy/5.x_fix_local_download_operation_finished_without_callback
Fix the issue that "There may be no complete callback when download the picture of the local path"
2019-12-26 18:11:44 +08:00
DreamPiggy e38388e13f Fix the issue that "There may be no complete callback when download the picture of the local path" 2019-12-26 17:44:09 +08:00
DreamPiggy f041dcabef Support to use the creation date and the change date to determine the disk cache expire date compare 2019-12-26 14:53:53 +08:00
DreamPiggy 69a62ff39d
Merge pull request #2907 from dreampiggy/performance_UIGraphicsImageRenderer
Performance - Using UIGraphicsImageRenderer on iOS 10+, save memory when image bitmap is RGB(-25%) or Grayscale(-75%)
2019-12-23 19:55:05 +08:00
DreamPiggy a7682d58b4 Add the test case testSDGraphicsImageRenderer, update the documentation 2019-12-21 20:15:59 +08:00
DreamPiggy 5cb365ece9 Revert "Replace the background decode core function CGImageCreateDecoded with UIGraphicsRenderer, this one should use the perferred format"
This reverts commit 3929f2cd2a.
2019-12-21 17:20:19 +08:00
DreamPiggy 1ee04f64b0 Update all the documentation of the SDGraphicsImageRenderer, fix small behavior to match Apple's documentation 2019-12-16 17:29:58 +08:00
DreamPiggy 92e3bfcc3e Fix the sd_rotatedImageWithAngle on macOS, which should not apply the counterclockwise reverse 2019-12-16 17:29:58 +08:00
DreamPiggy 3929f2cd2a Replace the background decode core function CGImageCreateDecoded with UIGraphicsRenderer, this one should use the perferred format 2019-12-16 17:29:58 +08:00
DreamPiggy 1e778f0fe6 Refactory the `sd_flippedImageWithHorizontal` with the UIGraphicsRenderer, do not always need ARGB8888 2019-12-16 17:29:58 +08:00
DreamPiggy 48a7b7f943 Fix the issues during refactory, the UIGraphicsRenderer using the point size, not pixel size 2019-12-16 17:29:58 +08:00
DreamPiggy c49bc5c925 Change the implementation of `sd_rotatedImageWithAngle` using the UIGraphicsRenderer, avoid always using ARGB8888 2019-12-16 17:29:58 +08:00
DreamPiggy d5734cd6cd Fix the implementation of SDGraphicsImageRendererFormat, now use the dynamic getter/setter to forward to UIGraphicsImageRendererFormat 2019-12-16 17:29:58 +08:00
DreamPiggy 8fa6c7519c Replace the SDGraphicsBeginImageContextWithOptions with SDGraphicsImageRenderer 2019-12-16 17:29:58 +08:00
DreamPiggy ee0aa220e0 Fix the compile issue on watchOS/macOS 2019-12-16 17:29:58 +08:00
DreamPiggy 6ff83fde6b Added SDGraphicsImageRenderer (which bridge to UIGraphicsImageRenderer on iOS 10+), prepare to replace old CGContext create code 2019-12-16 17:29:58 +08:00
DreamPiggy 0b12058427 Fix the test case compile warning of `SDWebImageTestDiskCache` 2019-12-16 12:44:52 +08:00
DreamPiggy 5cf8ddc6cb update the Readme with PDF/SVG/Link plugin repos from SDWebImage organization 2019-12-13 17:26:20 +08:00
DreamPiggy 7ef9a314b1 Update the CHANGELOG for 5.4.0 2019-12-06 15:44:40 +08:00
DreamPiggy 421ed8fa8a
Merge pull request #2903 from dreampiggy/fix_thread_safe_datatask
Fix the thread safe issue with Downloader and DownloaderOperation during cancel
2019-12-06 14:21:02 +08:00
DreamPiggy 1601418d51 Remove one unused import 2019-12-05 19:40:45 +08:00
DreamPiggy 9dae0e7b96 Fix the thread safe issue with Downloader and DownloaderOperation during cancel 2019-12-05 19:33:10 +08:00
DreamPiggy bc9b488bf3 Bumped version to 5.4.0
Update the CHANGELOG
2019-12-05 19:26:18 +08:00
DreamPiggy 73daf38db8
Merge pull request #2902 from dreampiggy/fix_ensure_UIImage_associated_object
Using one global function to ensure we always sync all the UIImage category assocaited object status correctly inside our framework
2019-12-05 15:13:44 +08:00
DreamPiggy 7f0789aca9 memory cost should not be copied between different UIImage, it's a getter-only method in general 2019-12-04 16:18:52 +08:00
DreamPiggy 69d163fc37 Using one global function to ensure we always sync all the UIImage category assocaited object status correctly inside our framework 2019-12-03 21:21:07 +08:00
DreamPiggy 936d04f726 Fix the build issue on SDWebImage Static library target 2019-12-03 20:42:46 +08:00
DreamPiggy d6068191d7 Merge branch '5.3.x' 2019-12-03 20:05:19 +08:00
DreamPiggy 1f801b44ef Bumped version to 5.3.3
Update the CHANGELOG
2019-12-03 19:40:36 +08:00
Ben Cherry 9f6422b506 Support using NSCache delegate with SDMemoryCache default implementation 2019-12-03 19:30:22 +08:00
DreamPiggy 0139a8004e
Merge pull request #2899 from bcherry/nscache_delegate
Support using NSCache delegate with SDMemoryCache default implementation
2019-12-02 20:36:47 +08:00
DreamPiggy 96bb7b753e
Merge pull request #2900 from dreampiggy/feature_wait_store_cache
Add `SDWebImageWaitStoreCache`, which wait for all the async disk cache written finished and then callback, useful for advanced user who want to touch the cache right in completion block
2019-12-02 20:34:16 +08:00
DreamPiggy e37d07bda8 Add `SDWebImageWaitStoreCache`, which wait for all the async disk cache written finished and then callback, useful for advanced user who want to touch the cache right in completion block 2019-11-29 15:02:16 +08:00
DreamPiggy 6d7a68e07e
Merge pull request #2898 from dreampiggy/feature_extended_metadata_disk_cache
Allows advanced user to read/write extended metadata associated with image data from disk cache
2019-11-29 14:58:43 +08:00
DreamPiggy 5c1351a2fd Added `test47DiskCacheExtendedData` test case 2019-11-28 21:02:26 +08:00
DreamPiggy 5f2a9695d8 Add the test case for SDFileAttributeHelper, fix the issue that associated object is lost 2019-11-28 19:49:51 +08:00