Commit Graph

  • 6c6b951845 Bumped version to 5.15.0 5.15.0 DreamPiggy 2023-01-17 17:10:01 +08:00
  • 975502b4a6 Merge pull request #3469 from dreampiggy/feat/animated_image_encode DreamPiggy 2023-01-17 16:50:50 +08:00
  • 9dd8b6c08b Update test case DreamPiggy 2023-01-17 16:50:16 +08:00
  • a01715e196 Merge pull request #3468 from dreampiggy/feat/decode_solution_change DreamPiggy 2023-01-17 16:20:07 +08:00
  • 0bdb7865c7 Change the immutable frames array DreamPiggy 2023-01-17 16:18:17 +08:00
  • 985c84be75 Opt the macOS legacy animated encode, with the weak assigned frames to avoid re-decode again DreamPiggy 2023-01-17 16:16:09 +08:00
  • 8ec3bc83d7 Added encodeWithFrames API for animation encoding in custom coder, better for usage DreamPiggy 2023-01-17 15:24:39 +08:00
  • c0f7023472 Update the decode solution to allows CoreGraphics avoid using any UIKit method DreamPiggy 2023-01-17 14:38:00 +08:00
  • 7c63bad41c Merge pull request #3466 from dreampiggy/feat/encode_options DreamPiggy 2023-01-12 16:35:50 +08:00
  • 911a9a86a0 Fix the wrong test because now ioQueue and encodeQueue is different thing, we should not assume calling storeImage and queryDiskCache get the data (they are not guarded by the same serial queue) DreamPiggy 2023-01-12 15:20:51 +08:00
  • e083ab293f Fix the wrong behavior after 5.15.0 cache changes DreamPiggy 2023-01-12 14:49:02 +08:00
  • 78fa0a9cb5 Update test case test08ThatImageTransformerWork with encode options DreamPiggy 2023-01-11 16:38:00 +08:00
  • 08ec6cf253 Adjustment for manager && cache call, add deprecation DreamPiggy 2023-01-11 16:00:16 +08:00
  • 246cfa935d Change the cache's encoding in global queue to avoid block ioQueue for IO read/write, performance related DreamPiggy 2023-01-11 15:32:04 +08:00
  • d93a08fc91 Added SDWebImageContextImageEncodeOptions to pass encode options like compression quality to SDImageCache storeImage API DreamPiggy 2023-01-11 15:08:31 +08:00
  • 05f7fb9b0d Merge pull request #3465 from dreampiggy/feat/callback_queue DreamPiggy 2023-01-10 14:38:00 +08:00
  • 720a0974d4 Fix SwiftPM issue DreamPiggy 2023-01-10 12:49:20 +08:00
  • 397f851240 Update test case DreamPiggy 2023-01-09 22:14:53 +08:00
  • e21e9f19e6 Update Carthage project DreamPiggy 2023-01-09 21:56:15 +08:00
  • e1e0841102 Rename the internal property to avoid misleading DreamPiggy 2023-01-09 21:46:20 +08:00
  • 007100d18f Supports the old store cache API without context, which does not supports callback queue customization DreamPiggy 2023-01-09 21:42:32 +08:00
  • 1b086711ae Fix the issue because of main queue label hack DreamPiggy 2023-01-09 18:44:33 +08:00
  • 43d74211c3 Added test case testSDCallbackQueue DreamPiggy 2023-01-09 18:31:56 +08:00
  • 90eeb4d830 Deprecate SDWebImagePrefetcher.delegateQueue, translate to use context[SDWebImageContextCallbackQueue] instead DreamPiggy 2023-01-09 17:45:52 +08:00
  • 5a4b4cf16d Change the asyncSafe to the queue level configuration, introduce SDCallbackPolicy DreamPiggy 2023-01-09 17:24:13 +08:00
  • 67520b9f55 Fix the new added storeCache API which passing callbackQueue DreamPiggy 2023-01-06 19:49:35 +08:00
  • fdd9a98210 Do not check nil block, useless in our use case DreamPiggy 2023-01-06 19:34:37 +08:00
  • 57403c9d3f Rename to use dispatch_block_t alias DreamPiggy 2023-01-06 19:09:39 +08:00
  • b5d712a378 Implements the Callback queue dispatch DreamPiggy 2023-01-06 18:41:29 +08:00
  • 43ec4726e1 Added context option callbackQueue for advanced user to control which queue to callback DreamPiggy 2023-01-04 18:47:50 +08:00
  • 4178d12a44 Bumped version to 5.14.3 5.14.3 DreamPiggy 2022-12-27 20:03:04 +08:00
  • 8be9f2c3f9 Merge pull request #3461 from dreampiggy/bugfix/yuv420_jpeg_hevc DreamPiggy 2022-12-27 19:57:48 +08:00
  • d2221403e1 Removed the unused options for CGImageSourceCopyPropertiesAtIndex DreamPiggy 2022-12-27 19:55:12 +08:00
  • a53eb92988 Update the test case test23ThatThumbnailEncodeCalculation DreamPiggy 2022-12-27 19:23:58 +08:00
  • a99c0de68d Fix the iOS 15+ force-decode hack break Apple's HEIF and JPEG YUV420 optimization DreamPiggy 2022-12-27 18:14:13 +08:00
  • 7bc087b081 Merge pull request #3460 from dreampiggy/feat/ioqueue_concurrent_config DreamPiggy 2022-12-27 17:57:09 +08:00
  • ffc91663bf Added test case test48CacheUseConcurrentIOQueue DreamPiggy 2022-12-27 17:37:07 +08:00
  • c60e6714dd Added ioQueueAttributes to use concurrent or control QoS for image cache internal IO Queue DreamPiggy 2022-12-27 17:24:07 +08:00
  • 0274aa85fe Merge pull request #3452 from kinarobin/fetch-frame-early-for-animated-image-render DreamPiggy 2022-12-27 16:51:54 +08:00
  • 707db2e016 Merge pull request #3459 from dreampiggy/bugfix/player_cache_poster_image DreamPiggy 2022-12-27 15:47:17 +08:00
  • 717461459f Hack the first frame to ensure it always displayed in first screen refresh DreamPiggy 2022-12-26 19:05:39 +08:00
  • b5db7fac68 The poster image should not trigger a frameChange callback DreamPiggy 2022-12-26 18:50:05 +08:00
  • a15f594869 prefetch image in advance kinarobin 2022-12-02 21:24:36 +08:00
  • 3312bf5e67 Bumped version to 5.14.2 5.14.2 DreamPiggy 2022-11-14 18:49:54 +08:00
  • 430ef4d73c Merge pull request #3443 from dreampiggy/project/move_assert_check_to_demo_tests DreamPiggy 2022-11-14 18:47:05 +08:00
  • 9c0c715d6a Move the SD_CHECK_CGIMAGE_RETAIN_SOURCE assertion to SDWebImage Demo and Tests only DreamPiggy 2022-11-14 17:07:29 +08:00
  • 80683c20d8 Bumped version to 5.14.1 5.14.1 DreamPiggy 2022-11-11 15:35:47 +08:00
  • a97d502304 Merge pull request #3439 from dreampiggy/bugfix/thread_safe_callback DreamPiggy 2022-11-11 15:30:36 +08:00
  • 736f3f41f7 Move block before sending to the main queue DreamPiggy 2022-11-11 14:29:20 +08:00
  • 384b2d7c8b Fix the missing lock for callbackTokens which may cause thread-safe issue DreamPiggy 2022-11-11 14:22:49 +08:00
  • bc3f09ccbd Merge pull request #3436 from dreampiggy/bugfix/ios16_pdf_use_coregraphics DreamPiggy 2022-11-11 14:17:17 +08:00
  • 30f165abd5 Change from instance method to class method DreamPiggy 2022-11-11 00:07:32 +08:00
  • f4706453d6 Use CoreGraphics to decode PDF instead of ImageIO to solve iOS 16's issue DreamPiggy 2022-11-10 23:47:34 +08:00
  • 8a26bb3f3d Merge pull request #3434 from dreampiggy/bugfix/underlying_queue_crash_ios12 DreamPiggy 2022-11-10 22:41:26 +08:00
  • d96ea392d1 Fix the iOS 12 crash because the underlyingQueue is nil DreamPiggy 2022-11-10 19:55:18 +08:00
  • b6aa428b7d Bumped version to 5.14.0 5.14.0 DreamPiggy 2022-11-08 22:48:52 +08:00
  • 35b28d4179 Merge pull request #3430 from dreampiggy/feat/add_is_thumbnail DreamPiggy 2022-11-08 22:42:00 +08:00
  • bfa91a291b Added the helper convenient API sd_isThumbnail DreamPiggy 2022-11-08 22:39:57 +08:00
  • 03b46475eb Revert #2792, the autoreleasepool does not solve the issue DreamPiggy 2022-11-08 21:49:26 +08:00
  • 6ce59aa8c1 Merge pull request #3429 from dreampiggy/perf/remove_conforms_to_protocol DreamPiggy 2022-11-08 21:44:07 +08:00
  • 7ddf3214e6 Fix the test case again on below iOS 15 DreamPiggy 2022-11-08 21:18:20 +08:00
  • f8d353b50c Update test case test06ThatUsingACustomDownloaderOperationWorks DreamPiggy 2022-11-08 20:04:36 +08:00
  • 9aa27b61e8 Replace conformsToProtocol call with appropriate respondsToSelector check DreamPiggy 2022-11-08 19:45:21 +08:00
  • 359036eae9 Merge pull request #3428 from dreampiggy/opt/avoid_store_again_when_origin_disk_exits DreamPiggy 2022-11-08 19:16:05 +08:00
  • 6a9b578369 Added test case test21ThatQueryOriginalDiskCacheFromThumbnailShouldNotWriteBackDiskCache DreamPiggy 2022-11-08 17:08:34 +08:00
  • 9599a78ff9 Fix del redundant autoreleasepool (#3388) riv1r 2022-11-08 17:29:49 +08:00
  • f93cf96832 Avoid store original disk cache again when using thumbnail or transformer from the full size data DreamPiggy 2022-11-08 16:44:40 +08:00
  • 5a89f80816 Merge pull request #3427 from dreampiggy/bugfix/logic_nullable_check DreamPiggy 2022-11-08 16:41:40 +08:00
  • cdd77d5ebe Merge pull request #3426 from dreampiggy/bugfix/UTI_hint_ignore_dynamic_log DreamPiggy 2022-11-08 16:20:33 +08:00
  • 0d1c603d50 Add the possible nullable logic check when the force-decode/copy failed DreamPiggy 2022-11-08 16:19:49 +08:00
  • c81aec4ccd Ignore the dynamic UTI type hint to avoid extra log DreamPiggy 2022-11-08 14:57:18 +08:00
  • f6769186b9 Merge pull request #3425 from dreampiggy/feature/imageio_force_decode_option_control DreamPiggy 2022-11-08 14:36:55 +08:00
  • 6c83696800 Update test case test17ThatMinimumProgressIntervalWorks to make it more stable DreamPiggy 2022-11-07 18:39:33 +08:00
  • 7c4649c7cc Update the test case test23ThatThumbnailEncodeCalculation DreamPiggy 2022-11-07 15:25:52 +08:00
  • 136d05fce8 Add extra check when user provide SDImageCoderDecodeUseLazyDecoding DreamPiggy 2022-11-07 12:42:32 +08:00
  • 3000dd5098 Fix the sd_isDecoded did not set after we use SDCGImageCreateCopy DreamPiggy 2022-11-07 12:20:04 +08:00
  • db25af9506 Recovery the assert check on only iPhone/TV simulator in debug mode DreamPiggy 2022-11-03 19:16:30 +08:00
  • abc06f020a Added SDImageCoderDecodeUseLazyDecoding to control whether to use lazy-decoding for ImageIO or not DreamPiggy 2022-11-03 19:10:12 +08:00
  • ddcf347c7d Update README about GitHub action status DreamPiggy 2022-11-01 14:20:44 +08:00
  • 5ee6ac2476 Merge pull request #3423 from dreampiggy/feature/refactor_thumbnail_hack_with_decode_options DreamPiggy 2022-11-01 00:14:17 +08:00
  • 279f636ac5 Minor check the logic that UTI has high priority than path extension DreamPiggy 2022-10-31 23:41:46 +08:00
  • e3c6cfa066 Update test case to make clear that transformed image and thumbnailed image will callback without data DreamPiggy 2022-10-31 23:03:29 +08:00
  • 980e0dd14a Added test case test30ThatDifferentThumbnailLoadShouldCallbackDifferentSize DreamPiggy 2022-10-31 22:54:38 +08:00
  • 2fd75638fe Refactor the hack for multiple thumbnail image request at the same time DreamPiggy 2022-10-31 19:58:35 +08:00
  • 4a72e4fee2 Merge pull request #3421 from dreampiggy/feature/decode_options_in_from_loader_instead DreamPiggy 2022-10-30 18:34:30 +08:00
  • 851b60e0f3 Added test case test20ThatContextPassDecodeOptionsWorks DreamPiggy 2022-10-30 17:54:03 +08:00
  • 2f3652dc2e Feature: Introduce SDWebImageContextImageDecodeOptions, deprecate SDImageCoderWebImageContext DreamPiggy 2022-10-29 19:09:08 +08:00
  • b014808ddd Merge branch '5.13.x' of github.com:SDWebImage/SDWebImage DreamPiggy 2022-10-29 20:40:00 +08:00
  • 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 +08:00
  • 55a3809412 Bumped version to 5.13.5 DreamPiggy 2022-10-29 20:26:05 +08:00
  • 34f2a9b823 Merge pull request #3420 from dreampiggy/fix_5.13_retain_cycle_web_context DreamPiggy 2022-10-29 20:22:21 +08:00
  • 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 +08:00
  • 3a52ef5aeb Merge pull request #3419 from dreampiggy/feature/tiff_uti_hint DreamPiggy 2022-10-29 18:34:56 +08:00
  • 8dd6e25cd8 Added NEF test case, as well as BMP type enum DreamPiggy 2022-10-29 18:13:36 +08:00
  • 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 +08:00
  • 9248fe561a Bumped version to 5.13.4 5.13.4 DreamPiggy 2022-09-26 20:57:44 +08:00
  • 3c7c949637 Merge pull request #3408 from dreampiggy/threadsafe_fix_imageio_incremental_animation DreamPiggy 2022-09-26 20:55:27 +08:00
  • 364034d11a Fix test cases test15CancelQueryShouldCallbackOnceInSync DreamPiggy 2022-09-26 18:43:26 +08:00
  • 080db1afb9 Try to investigate test case failure issue DreamPiggy 2022-09-26 18:24:41 +08:00
  • 9b2ddc9ea8 [NFC] A little optimization for MutableArray creation DreamPiggy 2022-09-26 17:34:55 +08:00