Commit Graph

  • ba009ef465 fix:del redundant autoreleasepool, because frameProperties is not a __autoreleasing reference object, for-Loop does not cause untimely release chendongran06039 2022-08-15 15:05:28 +0800
  • 7fd8526984 fix:del redundant autoreleasepool, because prefetchOperation is strongly referenced by self.prefetchQueue chendongran06039 2022-08-15 14:26:49 +0800
  • 1c03f21ed2 Remove redundant operations and expensive conformsToProtocol call. Tim Johnsen 2022-07-28 16:11:16 -0700
  • 8d0db3af09 Remove -conformsToProtocol: with much cheaper -respondsToSelector: call. Tim Johnsen 2022-07-28 15:26:18 -0700
  • be282336c3 Remove double dictionary access. Tim Johnsen 2022-07-28 09:57:31 -0700
  • 69274d43b6 Sharing is caring. Tim Johnsen 2022-07-27 16:28:47 -0700
  • f46851a3f5 Skip unneeded assignment to local variable. Tim Johnsen 2022-07-27 16:08:06 -0700
  • 9091334f4a Skip unneeded ObjC method calls, dictionary lookups, and (very expensive) conformsToProtocol check. Tim Johnsen 2022-07-27 16:07:39 -0700
  • c60e8389ec Fix SDImageIOAnimatedCoder crash only happened on iOS 15 Diomidis Papas 2022-06-15 14:08:57 +0100
  • e16470c053 Skip unneeded ObjC method calls and dictionary lookups. Tim Johnsen 2022-07-27 16:06:42 -0700
  • 3e48cb68d8 Bumped version to 5.13.2 5.13.2 DreamPiggy 2022-07-23 23:09:12 +0800
  • 7d7debbd26
    Merge pull request #3380 from dreampiggy/bugfix_edge_case_cancel_cache_callback_twice DreamPiggy 2022-07-23 23:04:55 +0800
  • bcaf918b83 Fix the old test case warning DreamPiggy 2022-07-23 22:43:01 +0800
  • 62e3a8f52a Update test case about the cacheOperation and loaderOperation DreamPiggy 2022-07-23 22:05:49 +0800
  • 3d1197b820 When download start, mark the query cache operation finished to avoid bug behavior DreamPiggy 2022-07-23 21:59:14 +0800
  • 2729096221 Added test case `test15CancelQueryShouldCallbackOnceInSync` DreamPiggy 2022-07-23 21:26:18 +0800
  • 0643cb81c3 Fix the rare case when cancel an async disk cache query may cause twice callback DreamPiggy 2022-07-23 21:08:55 +0800
  • b88d576f75
    Merge pull request #3379 from amonshiz/patch-1 DreamPiggy 2022-07-23 16:39:13 +0800
  • 2bad528bfb
    Fix pragma mark typo Andrew Monshizadeh 2022-07-22 21:49:09 -0600
  • 9e439da6d1
    Merge pull request #2 from tumblr/declan/5.3.1-update Declan McKenna 2022-07-20 14:36:14 +0300
  • eae157853c Fix SDImageIOAnimatedCoder crash only happened on iOS 15 Diomidis Papas 2022-06-15 14:08:57 +0100
  • cc1995b738 Bumped version to 5.13.1 5.13.1 DreamPiggy 2022-07-16 19:51:48 +0800
  • 7269107908
    Merge pull request #3373 from dreampiggy/fix_clang_analyze_issue DreamPiggy 2022-07-16 19:46:17 +0800
  • 0757241822 Fix the clang analyze issue DreamPiggy 2022-07-16 19:43:48 +0800
  • d0f3c39335
    Merge pull request #3368 from dreampiggy/optimize_force_decode_solution DreamPiggy 2022-07-16 19:33:46 +0800
  • a88e669422 Added SDImageCoderDecodeSolutionAutomatic, which check image format as well DreamPiggy 2022-07-16 16:27:30 +0800
  • 213a8b8def Added `SDImageCoder.defaultDecodeSolution` to control the force decode solution, defaults to CoreGraphics (the same as 5.12) DreamPiggy 2022-07-11 16:28:10 +0800
  • ff6b3b9bb5 Change only ImageIO decoded CGImage should enter the `Force Decode` logic DreamPiggy 2022-07-11 15:50:55 +0800
  • 3277824d43
    Merge pull request #3372 from dreampiggy/bugfix_color_at_point_grayscale DreamPiggy 2022-07-16 18:01:54 +0800
  • 1ed76f4f47 Fix the bitmapInfo support for greyscale color, update test case DreamPiggy 2022-07-16 17:43:48 +0800
  • 34236ac522 Fix sd_colorAtPoint and sd_colorsWithRect support for grayscale image (white and alpha) DreamPiggy 2022-07-16 17:27:04 +0800
  • 4d4e631183
    Merge pull request #3370 from dreampiggy/bugfix_pdf_draw_bitmap_dpi DreamPiggy 2022-07-14 15:24:11 +0800
  • 2fe3879b15 Fix the case that provided DPI cause `kCGImagePropertyPixelWidth` return non-zero value DreamPiggy 2022-07-14 14:52:26 +0800
  • f1fe4ca8b8 Calculate the DPI based on PDF mediaBox, support thumbnailPixelSize DreamPiggy 2022-07-13 18:18:21 +0800
  • f91d35ef8d Fix the PDF image without thumbnailPixelSize will result huge bitmap size, now fixed into 72 DPI matching PDFKit DreamPiggy 2022-07-13 16:04:29 +0800
  • e163072edb
    Merge pull request #1 from revolut-mobile/revolut-release-5.12.6 Declan McKenna 2022-07-08 14:24:35 +0300
  • c4b8660bb3 Bumped version to 5.13.0 5.13.0 DreamPiggy 2022-06-27 02:37:44 +0800
  • 0805bc0f4d
    Merge pull request #3364 from dreampiggy/bugfix_thumbnail_full_loading_same_time_cache_issue DreamPiggy 2022-06-27 02:33:45 +0800
  • 3358859b46 Fix the issue when thumbnail first and full size loading at the same time, the thumbnail image will write to memory with wrong key DreamPiggy 2022-06-27 01:26:03 +0800
  • 282714883e Update the Demo project DreamPiggy 2022-06-26 23:55:12 +0800
  • 16cf157658
    Merge pull request #3363 from dreampiggy/fix_multiple_cancel_cache_callback_order DreamPiggy 2022-06-26 23:52:55 +0800
  • ad953cdcc5 Fix the case when user cancel the image loading for same URL in sequence cause placeholder mass DreamPiggy 2022-06-26 19:51:51 +0800
  • d58a1006c2
    Merge pull request #3362 from dreampiggy/behavior_thumbnail_store_cache DreamPiggy 2022-06-26 15:29:55 +0800
  • 071a8934e3 Fix the assert case when loader callback nil image data DreamPiggy 2022-06-25 23:41:36 +0800
  • 69acd5a158 Added all the 3 test cases DreamPiggy 2022-06-25 23:20:36 +0800
  • 31c4a09430 Fix one bug that callback the wrong cache type DreamPiggy 2022-06-25 22:59:16 +0800
  • c47158362d Limit the re-deocde case only when image was downloaded, avoid when thumbnail hit cache DreamPiggy 2022-06-25 22:52:48 +0800
  • ecac56b726 Use the new solution, store the original decode options, when multiple loading pipeline share the same URL callback, check it and re-decode if needed DreamPiggy 2022-06-25 22:13:24 +0800
  • 5ae10f31fe [B] Fixes operations responding in the wrong context, setting previous placeholder on other URLs Patrik Schmittat 2022-06-22 17:04:04 +0200
  • 911328c1b4 Fix the case when previous pipeline use thumbnail transformer use together, second pipeline use the full size loading DreamPiggy 2022-06-23 19:37:13 +0800
  • 2c9290f109 Added sd_isThumbnail to mark metadata, avoid the case when full size image request re-use the image from thumbnail decoding for the same URL DreamPiggy 2022-06-23 18:46:21 +0800
  • e7e9268a7e Fix the case that query full size key with thumbnail, cause the write back of thumnail to memory cache with wrong key DreamPiggy 2022-06-23 17:54:27 +0800
  • 613a2bf988 Opt the thumbnail cache behavior, now it prefers to store/query original data from disk, thumbnail image from memory DreamPiggy 2022-06-23 02:50:30 +0800
  • 0b661344fe
    Merge pull request #3359 from dreampiggy/api_thumbnail_scale_calculation DreamPiggy 2022-06-22 17:56:22 +0800
  • 1f3ee8e9d5 Added new API for custom coder better handling the thumbnail size DreamPiggy 2022-06-22 16:53:40 +0800
  • 19b4b47c60
    Merge pull request #3357 from dreampiggy/bugfix_encode_max_pixel_size DreamPiggy 2022-06-20 21:01:07 +0800
  • 018cf32ab3 Added test23ThatThumbnailEncodeCalculation test case DreamPiggy 2022-06-20 18:20:34 +0800
  • fcb53cb5ff Fix the encodeMaxPixelSize logic DreamPiggy 2022-06-20 18:02:38 +0800
  • 3746c5d4c6 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage DreamPiggy 2022-06-20 17:33:00 +0800
  • 9362505aeb
    Merge pull request #3336 from Insofan/feat/store_data DreamPiggy 2022-06-20 17:18:42 +0800
  • 8743cdd633
    Merge pull request #3355 from dreampiggy/feature_support_uiimage_preparefordisplay DreamPiggy 2022-06-20 17:17:10 +0800
  • f9d8c78cbf Fix SDImageIOAnimatedCoder crash only happened on iOS 15 Diomidis Papas 2022-06-15 14:08:57 +0100
  • b729cc14f6 Bumped version to 5.12.6 5.12.6 DreamPiggy 2022-06-12 18:28:19 +0800
  • 9b9fc6fc9b Support using iOS 15 UIImage new API imageByPreparingForDisplay for faster force decoding DreamPiggy 2022-06-12 18:13:30 +0800
  • eeb25d6e9c
    Merge pull request #3354 from dreampiggy/bugfix_thumbnail_calculate DreamPiggy 2022-06-12 17:11:14 +0800
  • a66972bdc8
    Update SDImageCache.m DreamPiggy 2022-06-12 17:10:23 +0800
  • 754de4d7c8
    Update SDImageCache.m DreamPiggy 2022-06-12 17:04:52 +0800
  • 2fc131c44b
    Update SDImageCache.h DreamPiggy 2022-06-12 17:03:04 +0800
  • 3b0b232616 Added test case test22ThatThumbnailPreserveAspectRatio DreamPiggy 2022-06-12 16:44:21 +0800
  • f90373ce14 Fix the thumbnail pixel size calculation when preserveAspectRatio is true DreamPiggy 2022-06-12 16:32:33 +0800
  • 91c9966d77
    Merge pull request #3353 from amonshiz/amonshiz/fix-3352 DreamPiggy 2022-06-08 23:08:20 +0800
  • c231320913 Include necessary CoreImage import Andrew Monshizadeh 2022-06-07 14:33:18 -0400
  • 362ba2d43f
    Merge pull request #3349 from turrisxyz/Pinned-Dependencies-GitHub DreamPiggy 2022-06-01 14:46:44 +0800
  • 24d4cda885 chore: Set permissions for GitHub actions naveen 2022-06-01 00:29:19 +0000
  • fda0a57de9
    Merge pull request #3346 from timonus/faster-file-url Kinarobin 2022-05-17 14:13:43 +0800
  • 484de40e3b Small performance improvement to generating file URLs in SDDiskCache -setData:forKey:. Tim Johnsen 2022-05-12 15:42:17 -0700
  • 482dbf2712 SDImageIOAnimatedCoder fixed crash by adding lock Yuri Moisieienko 2022-04-28 12:54:03 +0300
  • d01eb3f8ac
    Merge pull request #3337 from GetToSet/ethanwong/nsscreen-thread DreamPiggy 2022-04-02 17:48:17 +0800
  • 30c9563511
    Fix crash of accessing mainScreen from background thread on 10.11. Ethan Wong 2022-03-28 20:17:53 +0800
  • 7c66265ee8 refactor: refactor store data to memory cache logic Inso 2022-03-30 15:24:32 +0800
  • 6a2eaf707e feat: store image data Inso 2022-03-28 12:41:22 +0800
  • 2e63d0061d Bumped version to 5.12.5 5.12.5 DreamPiggy 2022-03-16 15:58:50 +0800
  • 4974524a47
    Merge pull request #3334 from dreampiggy/bugfix_force_decode_use_image_renderer_and_argb8888 DreamPiggy 2022-03-16 15:55:31 +0800
  • 874b674cb6 Unify the colorspace on macOS/watchOS choosen for draw to use sRGB firstly DreamPiggy 2022-03-16 14:56:34 +0800
  • 368825eff6 Update the test case, now when using force decode, the image orientation is always UP DreamPiggy 2022-03-15 22:56:03 +0800
  • c0cc245632 Update AppKit SDGraphics convenient API to use main screen colorspace DreamPiggy 2022-03-15 22:35:52 +0800
  • fce270631f Use RGBX8888 for non-alpha image force decoding, which workaround iOS 15+ issue DreamPiggy 2022-03-15 22:01:49 +0800
  • 51d1b50ef4 Fix the false decode implementation using the ImageRenderer instead of directly create CGContext DreamPiggy 2022-03-15 17:54:44 +0800
  • 0228390699 Bumped version to 5.12.4 5.12.4 lizhuoli 2022-03-08 15:26:41 +0800
  • ba66c41fd6
    Merge pull request #3332 from dreampiggy/workaround_prefer_input_cgimage_bitmap_info DreamPiggy 2022-03-08 15:17:04 +0800
  • 3eb553d251 Update the test case again for checking non-blank image lizhuoli 2022-03-04 17:55:07 +0800
  • 6dcbec2b87 Update the test case and use Xcode 13.2.1 with iOS 15.3+ simulator lizhuoli 2022-03-03 22:06:04 +0800
  • 64902962e3 Fix the test case by adding a little inaccuracy for blur effect result lizhuoli 2022-03-03 21:49:49 +0800
  • 1b0fdd8cb6 Fix the iOS 15+ draw image blank because that CoreGraphics may not transcode on BGRX8888 pixel format context lizhuoli 2022-03-03 20:49:57 +0800
  • 4589048fdd Fix the some transform test case does not check the color hex lizhuoli 2022-03-03 19:35:35 +0800
  • 020481d5c8
    Merge pull request #3327 from soondl/fix/imageView_blink_diskDataSync DreamPiggy 2022-03-03 18:27:06 +0800
  • 4302777c6f Add test case `testUIImageViewSetImageWithURLDiskSync` soondl 2022-02-20 19:01:12 +0900
  • 8445f2b1a7 Fix imageView blinks with option 'SDImageCacheQueryDiskDataSync' soondl 2022-02-20 16:08:40 +0900
  • 2c53f531f1 Bumped version to 5.12.3 5.12.3 lizhuoli 2022-01-27 21:46:56 +0800
  • 81ea1c9a9c
    Merge pull request #3321 from ty0x2333/fix_scale_down_image DreamPiggy 2022-01-27 21:34:48 +0800