Commit Graph

  • 67520b9f55 Fix the new added storeCache API which passing callbackQueue DreamPiggy 2023-01-06 19:49:35 +0800
  • fdd9a98210 Do not check nil block, useless in our use case DreamPiggy 2023-01-06 19:34:37 +0800
  • 57403c9d3f Rename to use `dispatch_block_t` alias DreamPiggy 2023-01-06 19:09:39 +0800
  • b5d712a378 Implements the Callback queue dispatch DreamPiggy 2023-01-06 18:41:29 +0800
  • 43ec4726e1 Added context option `callbackQueue` for advanced user to control which queue to callback DreamPiggy 2023-01-04 18:47:50 +0800
  • 4178d12a44 Bumped version to 5.14.3 5.14.3 DreamPiggy 2022-12-27 20:03:04 +0800
  • 8be9f2c3f9
    Merge pull request #3461 from dreampiggy/bugfix/yuv420_jpeg_hevc DreamPiggy 2022-12-27 19:57:48 +0800
  • d2221403e1 Removed the unused options for CGImageSourceCopyPropertiesAtIndex DreamPiggy 2022-12-27 19:55:12 +0800
  • a53eb92988 Update the test case `test23ThatThumbnailEncodeCalculation` DreamPiggy 2022-12-27 19:23:58 +0800
  • a99c0de68d Fix the iOS 15+ force-decode hack break Apple's HEIF and JPEG YUV420 optimization DreamPiggy 2022-12-27 18:14:13 +0800
  • 7bc087b081
    Merge pull request #3460 from dreampiggy/feat/ioqueue_concurrent_config DreamPiggy 2022-12-27 17:57:09 +0800
  • ffc91663bf Added test case `test48CacheUseConcurrentIOQueue` DreamPiggy 2022-12-27 17:37:07 +0800
  • c60e6714dd Added `ioQueueAttributes` to use concurrent or control QoS for image cache internal IO Queue DreamPiggy 2022-12-27 17:24:07 +0800
  • 0274aa85fe
    Merge pull request #3452 from kinarobin/fetch-frame-early-for-animated-image-render DreamPiggy 2022-12-27 16:51:54 +0800
  • 707db2e016
    Merge pull request #3459 from dreampiggy/bugfix/player_cache_poster_image DreamPiggy 2022-12-27 15:47:17 +0800
  • 717461459f Hack the first frame to ensure it always displayed in first screen refresh DreamPiggy 2022-12-26 19:05:39 +0800
  • b5db7fac68 The poster image should not trigger a frameChange callback DreamPiggy 2022-12-26 18:50:05 +0800
  • a15f594869 prefetch image in advance kinarobin 2022-12-02 21:24:36 +0800
  • 774e026a25 Calculate max buffer count in real time Jiang Teng 2022-11-18 11:33:53 +0800
  • 3312bf5e67 Bumped version to 5.14.2 5.14.2 DreamPiggy 2022-11-14 18:49:54 +0800
  • 430ef4d73c
    Merge pull request #3443 from dreampiggy/project/move_assert_check_to_demo_tests DreamPiggy 2022-11-14 18:47:05 +0800
  • 9c0c715d6a Move the SD_CHECK_CGIMAGE_RETAIN_SOURCE assertion to SDWebImage Demo and Tests only DreamPiggy 2022-11-14 17:07:29 +0800
  • 80683c20d8 Bumped version to 5.14.1 5.14.1 DreamPiggy 2022-11-11 15:35:47 +0800
  • a97d502304
    Merge pull request #3439 from dreampiggy/bugfix/thread_safe_callback DreamPiggy 2022-11-11 15:30:36 +0800
  • 736f3f41f7 Move block before sending to the main queue DreamPiggy 2022-11-11 14:29:20 +0800
  • 384b2d7c8b Fix the missing lock for callbackTokens which may cause thread-safe issue DreamPiggy 2022-11-11 14:22:49 +0800
  • bc3f09ccbd
    Merge pull request #3436 from dreampiggy/bugfix/ios16_pdf_use_coregraphics DreamPiggy 2022-11-11 14:17:17 +0800
  • 30f165abd5 Change from instance method to class method DreamPiggy 2022-11-11 00:07:32 +0800
  • f4706453d6 Use CoreGraphics to decode PDF instead of ImageIO to solve iOS 16's issue DreamPiggy 2022-11-10 23:47:34 +0800
  • 8a26bb3f3d
    Merge pull request #3434 from dreampiggy/bugfix/underlying_queue_crash_ios12 DreamPiggy 2022-11-10 22:41:26 +0800
  • d96ea392d1 Fix the iOS 12 crash because the underlyingQueue is nil DreamPiggy 2022-11-10 19:55:18 +0800
  • b6aa428b7d Bumped version to 5.14.0 5.14.0 DreamPiggy 2022-11-08 22:48:52 +0800
  • 35b28d4179
    Merge pull request #3430 from dreampiggy/feat/add_is_thumbnail DreamPiggy 2022-11-08 22:42:00 +0800
  • bfa91a291b Added the helper convenient API `sd_isThumbnail` DreamPiggy 2022-11-08 22:39:57 +0800
  • 03b46475eb Revert #2792, the autoreleasepool does not solve the issue DreamPiggy 2022-11-08 21:49:26 +0800
  • 6ce59aa8c1
    Merge pull request #3429 from dreampiggy/perf/remove_conforms_to_protocol DreamPiggy 2022-11-08 21:44:07 +0800
  • 7ddf3214e6 Fix the test case again on below iOS 15 DreamPiggy 2022-11-08 21:18:20 +0800
  • f8d353b50c Update test case `test06ThatUsingACustomDownloaderOperationWorks` DreamPiggy 2022-11-08 20:04:36 +0800
  • 9aa27b61e8 Replace conformsToProtocol call with appropriate respondsToSelector check DreamPiggy 2022-11-08 19:45:21 +0800
  • 359036eae9
    Merge pull request #3428 from dreampiggy/opt/avoid_store_again_when_origin_disk_exits DreamPiggy 2022-11-08 19:16:05 +0800
  • 6a9b578369 Added test case `test21ThatQueryOriginalDiskCacheFromThumbnailShouldNotWriteBackDiskCache` DreamPiggy 2022-11-08 17:08:34 +0800
  • 9599a78ff9
    Fix del redundant autoreleasepool (#3388) riv1r 2022-11-08 17:29:49 +0800
  • c826a4bea4
    Update SDWebImagePrefetcher.m DreamPiggy 2022-11-08 17:20:57 +0800
  • a4883637a7
    Update SDWebImagePrefetcher.m DreamPiggy 2022-11-08 17:20:26 +0800
  • f93cf96832 Avoid store original disk cache again when using thumbnail or transformer from the full size data DreamPiggy 2022-11-08 16:44:40 +0800
  • 5a89f80816
    Merge pull request #3427 from dreampiggy/bugfix/logic_nullable_check DreamPiggy 2022-11-08 16:41:40 +0800
  • cdd77d5ebe
    Merge pull request #3426 from dreampiggy/bugfix/UTI_hint_ignore_dynamic_log DreamPiggy 2022-11-08 16:20:33 +0800
  • 0d1c603d50 Add the possible nullable logic check when the force-decode/copy failed DreamPiggy 2022-11-08 16:19:49 +0800
  • c81aec4ccd Ignore the dynamic UTI type hint to avoid extra log DreamPiggy 2022-11-08 14:57:18 +0800
  • f6769186b9
    Merge pull request #3425 from dreampiggy/feature/imageio_force_decode_option_control DreamPiggy 2022-11-08 14:36:55 +0800
  • 6c83696800 Update test case `test17ThatMinimumProgressIntervalWorks` to make it more stable DreamPiggy 2022-11-07 18:39:33 +0800
  • 7c4649c7cc Update the test case `test23ThatThumbnailEncodeCalculation` DreamPiggy 2022-11-07 15:25:52 +0800
  • 136d05fce8 Add extra check when user provide SDImageCoderDecodeUseLazyDecoding DreamPiggy 2022-11-07 12:42:32 +0800
  • 3000dd5098 Fix the `sd_isDecoded` did not set after we use SDCGImageCreateCopy DreamPiggy 2022-11-07 12:20:04 +0800
  • db25af9506 Recovery the assert check on only iPhone/TV simulator in debug mode DreamPiggy 2022-11-03 19:16:30 +0800
  • abc06f020a Added `SDImageCoderDecodeUseLazyDecoding` to control whether to use lazy-decoding for ImageIO or not DreamPiggy 2022-11-03 19:10:12 +0800
  • ddcf347c7d Update README about GitHub action status DreamPiggy 2022-11-01 14:20:44 +0800
  • 5ee6ac2476
    Merge pull request #3423 from dreampiggy/feature/refactor_thumbnail_hack_with_decode_options DreamPiggy 2022-11-01 00:14:17 +0800
  • 279f636ac5 Minor check the logic that UTI has high priority than path extension DreamPiggy 2022-10-31 23:41:46 +0800
  • e3c6cfa066 Update test case to make clear that transformed image and thumbnailed image will callback without data DreamPiggy 2022-10-31 23:03:29 +0800
  • 980e0dd14a Added test case test30ThatDifferentThumbnailLoadShouldCallbackDifferentSize DreamPiggy 2022-10-31 22:54:38 +0800
  • 2fd75638fe Refactor the hack for multiple thumbnail image request at the same time DreamPiggy 2022-10-31 19:58:35 +0800
  • 4a72e4fee2
    Merge pull request #3421 from dreampiggy/feature/decode_options_in_from_loader_instead DreamPiggy 2022-10-30 18:34:30 +0800
  • 851b60e0f3 Added test case `test20ThatContextPassDecodeOptionsWorks` DreamPiggy 2022-10-30 17:54:03 +0800
  • 2f3652dc2e Feature: Introduce SDWebImageContextImageDecodeOptions, deprecate SDImageCoderWebImageContext DreamPiggy 2022-10-29 19:09:08 +0800
  • b014808ddd Merge branch '5.13.x' of github.com:SDWebImage/SDWebImage DreamPiggy 2022-10-29 20:40:00 +0800
  • 318cca556b Fix the issue that progressive decode logic does not get updated 5.13.5 5.13.x DreamPiggy 2022-10-29 20:34:04 +0800
  • 55a3809412 Bumped version to 5.13.5 DreamPiggy 2022-10-29 20:26:05 +0800
  • 34f2a9b823
    Merge pull request #3420 from dreampiggy/fix_5.13_retain_cycle_web_context DreamPiggy 2022-10-29 20:22:21 +0800
  • b46fe38c72 Quick fix the issue that UIImage.sd_decodeOptions cause retain cycle when pass custom cache in context option DreamPiggy 2022-10-29 19:50:45 +0800
  • 3a52ef5aeb
    Merge pull request #3419 from dreampiggy/feature/tiff_uti_hint DreamPiggy 2022-10-29 18:34:56 +0800
  • 8dd6e25cd8 Added NEF test case, as well as BMP type enum DreamPiggy 2022-10-29 18:13:36 +0800
  • b1b16a17b3 Support use url.path or custom UTI hint passed to ImageIO, solve the TIFF/NEF/SRW raw image decoding with wrong size DreamPiggy 2022-10-27 11:09:29 +0800
  • 9248fe561a Bumped version to 5.13.4 5.13.4 DreamPiggy 2022-09-26 20:57:44 +0800
  • 3c7c949637
    Merge pull request #3408 from dreampiggy/threadsafe_fix_imageio_incremental_animation DreamPiggy 2022-09-26 20:55:27 +0800
  • 364034d11a Fix test cases `test15CancelQueryShouldCallbackOnceInSync` DreamPiggy 2022-09-26 18:43:26 +0800
  • 080db1afb9 Try to investigate test case failure issue DreamPiggy 2022-09-26 18:24:41 +0800
  • 9b2ddc9ea8 [NFC] A little optimization for MutableArray creation DreamPiggy 2022-09-26 17:34:55 +0800
  • 347cf1d1cc Fix the potential out of bounds crash for ImageIO incremental animation decoding (like GIF) DreamPiggy 2022-09-26 17:32:25 +0800
  • 484bc774e1 Bumped version to 5.13.3 5.13.3 DreamPiggy 2022-09-19 18:35:34 +0800
  • 9f9d226083
    Merge pull request #3387 from dreampiggy/thread_safe_ios15_animation_cgimage_retain_source DreamPiggy 2022-09-19 18:30:51 +0800
  • ea9f573744 Remove the temp assert code (for debugging usage) DreamPiggy 2022-09-19 18:29:57 +0800
  • 89178a7d89 Update to force decode CGImage before any UIImage initialization on iOS 15+ DreamPiggy 2022-08-26 17:48:51 +0800
  • 3994006cb4 Try to workaround iOS 15+ crash that CGImage retain the CGImageSource during animation image playing DreamPiggy 2022-08-11 14:51:02 +0800
  • 524d4f53eb
    Merge pull request #3403 from dreampiggy/revert_isCancelled_block_with_recursive DreamPiggy 2022-09-19 18:20:06 +0800
  • 6b8075a2e1 Using the same synchornized to guard _cancelled status, which need recursive lock DreamPiggy 2022-09-19 17:33:04 +0800
  • ad592765cb Revert "Synchronise getter and setter of the cancelled property of the SDWebImageCombinedOperation in order to eliminate data race." DreamPiggy 2022-09-19 17:28:38 +0800
  • 122c3d7ca5
    Merge pull request #3402 from dreampiggy/fix_macOS_animatedview_render DreamPiggy 2022-09-19 17:23:56 +0800
  • 61c3c5ba2d Fix the switching from animated image rendering to static image does not works on macOS 11+ DreamPiggy 2022-09-19 16:27:21 +0800
  • d3b111deb1
    Merge pull request #3401 from dreampiggy/fix_unlock_unbalanced DreamPiggy 2022-09-19 14:30:03 +0800
  • 6eb74a177f Fix the unbalanced lock which cause crash DreamPiggy 2022-09-19 12:05:41 +0800
  • 3a6e01ab20
    Merge pull request #3393 from alexander-gaidukov/synchronize_operation_cancellation DreamPiggy 2022-09-09 18:15:44 +0800
  • 5a18c84529 Synchronise getter and setter of the cancelled property of the SDWebImageCombinedOperation in order to eliminate data race. Alexander Gaidukov 2022-09-05 16:32:32 +0700
  • be006f24fa Restrict solution to tvOS15 Declan McKenna 2022-08-16 15:25:54 +0300
  • 9b18c2dd63 Restrict access of lock to iOS15+ Declan McKenna 2022-08-16 14:40:46 +0300
  • 2f8bf13de3 Restrict current lock usage to iOS 15+ Declan McKenna 2022-08-16 14:40:09 +0300
  • db3dc4e3bc
    Merge pull request #6 from tumblr/declan/v5.13.2-rebase Declan McKenna 2022-08-16 17:50:53 +0300
  • b5c375c4e2 Fix SDImageIOAnimatedCoder crash only happened on iOS 15 Diomidis Papas 2022-06-15 14:08:57 +0100
  • 9bccb57c06 fix:del redundant autoreleasepool, because sourceTileImageRef is released by CGImageRelease, for-Loop does not cause untimely release chendongran06039 2022-08-15 15:10:59 +0800
  • c18e18ca70 fix:del redundant autoreleasepool, because frame is strongly referenced by frames, for-Loop does not cause untimely release chendongran06039 2022-08-15 15:08:14 +0800