Commit Graph

323 Commits

Author SHA1 Message Date
DreamPiggy 2c9eaccf23 Remove the `SDWebImageForceTransitionAsync`, change the default behavior because it's most suitable for UI rendering and common use case. No need this hack. If user want, we may produce a `setTransitionBlock` in the future 2020-08-27 10:49:57 +08:00
DreamPiggy 6f61b7e37e Added the test case about the doing transition when async callback 2020-08-24 16:46:35 +08:00
DreamPiggy c0e34ee391 Update some comments and fix typo 2020-08-15 19:41:48 +08:00
DreamPiggy 6b0ef2e741 Update the new test cases about this new behavior 2020-08-15 19:36:05 +08:00
DreamPiggy c1a5546350 Add the test case about the protect code, though in theory this can not be triggered. Need 87381 pixel width 2020-08-15 18:48:01 +08:00
DreamPiggy b483ec2959
Merge pull request #3070 from dreampiggy/bugfix_exif_thumbnail_pixel_size_large
Fix the bug when the thumbnail pixel size is larger than the pixel size, and the image has EXIF orientation, the final UIImage will use wrong image orientation
2020-08-14 14:19:45 +08:00
DreamPiggy dff33028a0 Added test case about this EXIF orientation and thumbnail decoding fix 2020-08-13 18:26:04 +08:00
DreamPiggy 5ed134fff6 Update the test case about default cache directory 2020-08-10 16:27:31 +08:00
kinarobin 088b356a1f fix race condition when use transition 2020-07-16 18:02:47 +08:00
DreamPiggy 8dbc0ac7d8 Add the test cases for WebP decoding. iOS 14 seems does not support Web Encoding currently 2020-07-03 15:53:35 +08:00
Philip Dukhov 30053c2ac3 animated image seek frame test added 2020-06-11 12:35:36 +07:00
liulichao e7386083f7 Test cases (test28AnimatedImageAutoPlayAnimatedImage) changes 2020-05-09 17:53:16 +08:00
liulichao bfc827c804 FIX Fixed AutoPlayAnimatedImage test case 2020-05-09 12:21:10 +08:00
刘立超 992f231f15 Add a test case for autoPlayAnimatedImage 2020-05-08 23:43:41 +08:00
DreamPiggy 7a430b23b9 Merge branch '5.7.x' of https://github.com/SDWebImage/SDWebImage
# Conflicts:
#	SDWebImage.xcodeproj/project.pbxproj
2020-05-06 21:51:03 +08:00
DreamPiggy 974c3ff4ad Update the test case to ensure thi silly problem will not occur again :) 2020-04-30 18:54:12 +08:00
DreamPiggy 3d1abaee82 Add the test case `test15ThatOriginalQueryCacheTypeWork` about original cache key and transformer 2020-04-29 22:11:28 +08:00
DreamPiggy e85beab792
Merge pull request #2990 from dreampiggy/feature_convenient_header
Add the convenient request/response modifier, which provide HTTP header directly
2020-04-27 15:48:40 +08:00
DreamPiggy cc3f03dfa4 Add the test case about conveniences modifier, rename the category name 2020-04-27 12:10:56 +08:00
DreamPiggy c4aaa8c63c
Merge pull request #2986 from dreampiggy/feature_pass_set_operation_key
Feature pass the set operation key into context option from upstream. Fix the potential retain cycle if user use custom manager
2020-04-26 13:45:04 +08:00
DreamPiggy 9a75441634 Fix test case compile issue on macOS 2020-04-21 17:49:40 +08:00
DreamPiggy d76fb76e0d Added the test cases`test19ThatEmbedThumbnailHEICWorks` to ensure the embed thumbnail works 2020-04-21 13:50:58 +08:00
DreamPiggy e8a357e504 Added test case `testUIViewOperationKeyContextWorks` to ensure this behavior 2020-04-17 16:03:36 +08:00
DreamPiggy e5adec920b Fix the test case about encoding check, the expect expression syntax is wrong 2020-04-13 11:22:30 +08:00
DreamPiggy 774571f498
Merge pull request #2977 from dreampiggy/attempt_fix_image_io_animated_image_thread_safe
SDAnimatedImageView animation rendering should not use CGContext force decoding, use `kCGImageSourceShouldCacheImmediately` instead which can avoid OOM for large number of GIFs
2020-04-11 17:40:59 +08:00
DreamPiggy d112d18088 Rename the private header `UIColor+HexString` and `NSBezierPath+SDRoundedCorners` with SD prefix, to avoid the conflict when using CocoaPods 2020-04-11 17:01:47 +08:00
DreamPiggy b65ea693ae Remove the time based test case for lazy decoding, because it's unstable. Now use offline manual test for this behavior 2020-04-11 16:40:55 +08:00
DreamPiggy a5e129dac7 SDAnimatedImageView animation rendering should not use CGContext force decoding, use `kCGImageSourceShouldCacheImmediately` instead which can avoid OOM for large number of GIFs #2977 2020-04-11 16:00:22 +08:00
DreamPiggy a8177c1327 Update the test case `test12ThatStoreCacheTypeWork` to ensure the transformed image does not inherit the image format or any attributes from original one 2020-04-08 11:18:03 +08:00
DreamPiggy 83a40c3679
Merge pull request #2973 from dreampiggy/behavior_uttype_from_unkown_format
Change the behavior to return the abstract type for unknown image format, this  can solve the accident issue for custom coder who provide a new format
2020-04-04 16:52:53 +08:00
DreamPiggy 6316f08bb8 Remove the compression quality when have max file size limit, and update the test cases for JPEG 2020-04-04 15:53:46 +08:00
DreamPiggy 1ce44a12b0 Change the behavior to return the abstract for unknown UTI type, this can solve the accident issue for custom coder who provide a new format 2020-04-04 14:19:08 +08:00
DreamPiggy db610363f4 Added the test case to ensure the background color encoding options on JPEG works 2020-04-04 13:07:20 +08:00
DreamPiggy f798b89fc2 Fix the maxPixelSize for animated images, update the readme 2020-04-04 00:01:26 +08:00
DreamPiggy dfc8fe27d9 Refactory to simplify the code to calculate the original cache key, pass null to disable this. 2020-04-02 20:15:22 +08:00
DreamPiggy 543b5c95d4 Fix the test case about the original cache key calculation rule 2020-04-02 20:15:22 +08:00
DreamPiggy ce4eced4d4 Added the query cache type cases as well, update some documentation 2020-04-02 16:15:10 +08:00
DreamPiggy 067174b1fd Added the test case about using the custom cache and loader with context option to manager, full pipeline testing 2020-04-02 12:49:15 +08:00
DreamPiggy d4da82e9c3 Update the test cases about the custom ImageCache protocol 2020-04-02 12:18:12 +08:00
DreamPiggy 7f540a6296 Fix the test cases for cacheType arg 2020-04-01 17:16:33 +08:00
DreamPiggy f415e51508 Update the test case, because previouslly we have no test case about the storeImage behavior when imageData is nil 2020-03-02 14:52:50 +08:00
DreamPiggy cc8e80ff84 Try to fix the test case `test11ThatCancelAllDownloadWorks` to make it stable 2020-03-02 14:52:50 +08:00
DreamPiggy d88b7d81db Update the test case with Case 3: UIAnimatedImage without sd_imageFormat should use GIF not APNG 2020-03-02 14:52:50 +08:00
DreamPiggy 12bdd57f31 Added the test case `test42StoreCacheWithImageAndFormatWithoutImageData` to ensure this behavior 2020-03-02 14:52:50 +08:00
DreamPiggy 5c3c40288f
Merge pull request #2936 from dreampiggy/feature_better_vector_support_pdf
Feature - better support for vector format detection, now PDF rasterized bitmap is built-in
2020-02-26 16:02:20 +08:00
DreamPiggy d56636e15b Update the Example and Test case about URLSessionMetrics, expose the API in UIVIew+WebCache to make it easy to write code (or user have to write NSStringFromClass) 2020-01-30 18:33:16 +08:00
DreamPiggy eeec6de698 Update the PDF demo and test cases 2020-01-30 15:29:57 +08:00
DreamPiggy cde0e48a6d Add one progressive animation test case to avoid this regression bug in the future 2020-01-18 16:46:00 +08:00
DreamPiggy b8b7438ce9 Fix the wrong behavior of current sd_blurredImageWithRadius, which calculate the wrong box size for consolve 2020-01-15 21:35:15 +08:00
DreamPiggy 7a8407d0be Fix the test case again because of the behavior changes for aspect ratio rect limit 2020-01-13 22:17:19 +08:00