Commit Graph

2362 Commits

Author SHA1 Message Date
DreamPiggy 949024c2a6 Fix that all Example targets disable all NSLog output. We need to keep the log to investigate some issue from system framework 2019-05-29 14:24:01 +08:00
DreamPiggy 0e255db4df
Merge pull request #2739 from dreampiggy/fix_encoding_imageio_warning
Fix that `CGImageDestinationCreateWithData` 0 count arg will log a warning
2019-05-29 14:07:13 +08:00
DreamPiggy e1b4e5a2d4 Fix that `CGImageDestinationCreateWithData` 0 count arg will log a warning, this does not effect the encoding function. 2019-05-29 12:37:50 +08:00
DreamPiggy 51fc2e8f83
Merge pull request #2737 from kinarob/Fix_button_background_image_key_for_state_bug
Fix get button background image operation key bug
2019-05-26 14:25:29 +08:00
kinarob 3c24856541 `backgroundImageOperationKey` test should apply for SD_UIKIT only 2019-05-25 21:30:22 +08:00
kinarob 2396c2e7c0 Fix get button background image operation key bug 2019-05-24 21:09:59 +08:00
DreamPiggy 124509e9b6 Bumped version to 5.0.3
update CHANGELOG
2019-05-16 19:36:00 +08:00
DreamPiggy 8adfe3faeb Add the test cases for SDImageCacheDecodeFirstFrameOnly on memory cache 2019-05-16 17:42:17 +08:00
DreamPiggy daad5338e2
Merge pull request #2725 from cntrump/master
fix issues: SDWebImageDecodeFirstFrameOnly flag is ignored when image loaded from cache
2019-05-16 17:33:54 +08:00
vvveiii bc2b52007c
fix issues: SDWebImageDecodeFirstFrameOnly flag is ignored when image loaded from cache. 2019-05-16 16:41:23 +08:00
DreamPiggy e9eb60e506
Merge pull request #2728 from dreampiggy/bugfix_sdanimatedimageview_init_image
Fix that SDAnimatedImageView initWithImage will skip the initialize logic and crash
2019-05-16 15:12:21 +08:00
DreamPiggy dbc412baf4 A little optimization code for runLooMode setter 2019-05-16 12:52:16 +08:00
DreamPiggy 1d5b411f3c Using the lazy property for `lock` and `runLoopMode` to ensure this will not cause crash and logic issue. Without need of checking on `setImage:` 2019-05-16 11:32:10 +08:00
DreamPiggy 63c0794ad8 Fix that SDAnimatedImageView initWithImage will skip the initialize logic and crash 2019-05-15 20:26:39 +08:00
DreamPiggy ce5103bedf
Merge pull request #2723 from dreampiggy/project_replace_private_pch_with_import
Replace the private prefix header files with the manually import for each implementation files
2019-05-14 17:50:23 +08:00
zhongwuzw 0fea309b00 Farewell pch 2019-05-14 15:15:16 +08:00
DreamPiggy 44624767ad Remove the extra pch config in xcconfig 2019-05-13 18:12:11 +08:00
DreamPiggy 5c13490eeb Replace the private prefix header files with the manually import for each implementation files 2019-05-13 15:38:24 +08:00
Bogdan Poplauschi 28e3ca312b
Merge pull request #2722 from dreampiggy/documentation_page_update
Update the documentation coverage for jazzy. Use the correct format to provide class/protocol/type API Documentation
2019-05-11 18:15:02 +03:00
kinarob 8a8e527dea Fix typo in documentation page 2019-05-10 21:47:32 +08:00
DreamPiggy 0783287f95 Update the documentation coverage for jazzy. Use the correct format to provide class/protocol/type API Documentation 2019-05-10 17:20:49 +08:00
Bogdan Poplauschi 6c16889628
Merge pull request #2711 from dreampiggy/test_update_coverage
Added many test case to ensure the code behavior and coverage
2019-05-06 11:30:54 +03:00
kinarob 9f4bc99fe8 add macros checking in SDImageFilterTransformer 2019-05-06 14:38:31 +08:00
kinarob 430bebe274 Add cacheType checking in animatedImageView category 2019-05-06 11:33:26 +08:00
DreamPiggy bf047b6e1b Update more test cases for code coverage 2019-04-27 15:05:02 +08:00
DreamPiggy c1d58106dc Fix one bug of the macOS API `SDScaledImageForKey`, which does not modify the bitmapImageRep's size when scale is not equal to 1 2019-04-27 15:05:02 +08:00
DreamPiggy 873d9eddce Added many test case to ensure the code behavior. Upgrade the test coverage 2019-04-27 15:05:02 +08:00
DreamPiggy abdcc11461
Merge pull request #2709 from dreampiggy/test_update_script
Update the Codecov script, try to fix the report issue
2019-04-27 15:04:14 +08:00
DreamPiggy ccec69715d Fix the test project using the wrong min deployment target version 2019-04-27 14:40:08 +08:00
DreamPiggy 521a5f2b4b Don't run test during pod lib lint, run the test with next pipeline 2019-04-27 14:40:08 +08:00
DreamPiggy 17fd5da086 Using cocoapods cache to speed up the build time 2019-04-27 13:49:08 +08:00
DreamPiggy 06cac84af3 Try to use the latest curl from homebrew, instead of macOS' built-in one for uploading 2019-04-27 13:37:54 +08:00
DreamPiggy a95caa0a7e Try to reduce the build time during framework target 2019-04-27 00:21:12 +08:00
DreamPiggy b4f91a6e6b
Merge pull request #2710 from kinarob/Replace_MAX_function_with_if_judge_in_scale_less_than_1
Replace if judge with MAX() function in scale less than 1
2019-04-26 23:53:17 +08:00
DreamPiggy 140f19de9b Update the codecov script, try to fix the report issue 2019-04-26 21:52:14 +08:00
kinarob e837e0a3be Revert MAX() function in `SDImageScaleFactorForKey` 2019-04-26 17:34:13 +08:00
kinarob 2dd9fe4d9b Add MAX function with scale in `SDImageScaleFactorForKey` 2019-04-26 16:46:37 +08:00
kinarob 806e228867 Replace if judge with MAX() function in scale less 1 2019-04-26 16:35:54 +08:00
DreamPiggy 83997ca9e4 Bumped version to 5.0.2
update CHANGELOG
2019-04-25 22:15:42 +08:00
DreamPiggy 8dbc9ae8f4
Merge pull request #2708 from dreampiggy/bugfix_CGImage_create_orientation_wrong_ratio
Fix that `CGImageCreateDecoded:orientation:` use the wrong aspect ratio when orientation is left/leftMirrored/right/rightMirrored
2019-04-25 22:05:04 +08:00
DreamPiggy 774ecaf40f Fix the test case compile issue of macOS 2019-04-25 20:49:23 +08:00
DreamPiggy 46bf112de5 Fix one bug of `sd_colorAtPoint:`, which set the alpha value default to 255, which should be 1 2019-04-25 20:48:53 +08:00
DreamPiggy feed2e5abd Update the test cases, using a 150x200 image (which width is not equal to height) to ensure the rotation works 2019-04-25 18:58:40 +08:00
DreamPiggy 628e172047 Fix the wrong roration when the CGImage's width is not equal to its height 2019-04-25 18:14:23 +08:00
DreamPiggy 9c6c4927fb Add test case for CGImage create decoded with EXIF orientation 2019-04-25 16:10:39 +08:00
DreamPiggy 4dce559d44
Merge pull request #2706 from dreampiggy/bugfix_mac_SDAnimatedImage_NSImage
Fix the bug of SDAnimatedImageView, which can not render the normal NSImage (including animated image) at all. Only `SDAnimatedImage` can be rendered
2019-04-25 14:43:24 +08:00
DreamPiggy 9cce513a09 Add a simple test case to ensure SDAnimatedImageView should display the static NSImage 2019-04-25 14:13:56 +08:00
DreamPiggy 8c93519191 Fix the bug of SDAnimatedImageView, which can not render the normal NSImage (including animated image) at all. Only `SDAnimatedImage` can be rendered 2019-04-25 13:23:34 +08:00
Bogdan Poplauschi 8712f8d0d9
Merge pull request #2699 from matrejek/feature/config_typo
Fixes typo in SDImageCacheConfig maxDiskAge info
2019-04-23 17:10:30 -05:00
Mateusz Matrejek df2af72f79 Fixes typo in SDImageCacheConfig maxDiskAge info 2019-04-23 21:49:50 +02:00