Commit Graph

2569 Commits

Author SHA1 Message Date
DreamPiggy 7e83241c37 Fix the macOS SDAnimatedImageRep to match Netscape standard of GIF loop count, which should use 1 when there are no loop count information 2019-09-20 18:59:14 +08:00
Kinarobin d7ce577b90
Merge pull request #2846 from dreampiggy/refactory_imageio_animated_coder
Refactor APNG and GIF coder implementation with abstract base class
2019-09-20 18:43:48 +08:00
DreamPiggy a7ae1053ec Fix the test case issue. The loop count test case need another PR to fix 2019-09-20 17:44:38 +08:00
DreamPiggy a04ddceb3c Fix the public API configuration of CI build for framework target 2019-09-20 16:47:51 +08:00
DreamPiggy 113c20ad9e Add the test case for GIF image which does not have any Loop Count extension metadata 2019-09-20 16:29:26 +08:00
DreamPiggy a657d970e4 Fix the defaultLoopCount function during refactory 2019-09-20 16:01:14 +08:00
DreamPiggy 786d5f8173 Update the exception name description 2019-09-20 15:57:20 +08:00
DreamPiggy fb6819add0 Add test case to ensure the `SDImageIOAnimatedCoder` abstract class can not be used as normal coder 2019-09-20 14:32:35 +08:00
DreamPiggy 2aa4e7d8a7 Refactory current GIF/APNG coder, use abstract base class `SDImageIOAnimatedCoder` for subclass to implements the required method. 2019-09-20 14:32:35 +08:00
DreamPiggy f53b0512a2 Merge branch '5.1.x' of https://github.com/SDWebImage/SDWebImage 2019-09-06 11:58:28 +08:00
DreamPiggy 5aa04257e7
Merge pull request #2832 from michaelmou/fix_symbol_mac
Fix macOS 10.10 symbol definition of NSURLSessionTaskPriorityHigh
2019-09-06 11:43:47 +08:00
毛泽智 050aa883c8 Fix (iOS 8 Foundation.framework extern these symbol but the define is in CFNetwork.framework. We just fix this without import ) but not available in MacOS 2019-09-05 22:20:41 +08:00
DreamPiggy 24739b21e6 Merge branch 'master' of https://github.com/dreampiggy/SDWebImage; branch '5.1.x' of https://github.com/SDWebImage/SDWebImage 2019-09-05 00:10:16 +08:00
DreamPiggy 8ffbe8b8c1 Bumped version to 5.1.1 2019-09-05 00:03:59 +08:00
DreamPiggy ac2ddc4d15 update CHANGELOG 2019-09-05 00:03:03 +08:00
DreamPiggy 40b3ed4f4f Merge pull request #2820 from dreampiggy/bugfix_sdanimatedimageview_mac_aligning
Fix the macOS that SDAnimatedImageView does not works for imageScaling and imageAlignment properties
2019-09-04 20:13:39 +08:00
Kinarobin c9ea3f12bf Merge pull request #2825 from dreampiggy/fix_sdanimatedimageview_dealloc_on_global_queue
Fix the case when SDAnimatedImageView dealloc on the fetch queue, will cause it trigger the UIKit/AppKit method on non-main queue and captured by UI Main Thread Checker
2019-09-04 20:13:30 +08:00
DreamPiggy ea76da958f Merge pull request #2819 from dreampiggy/bugfix_options_mask_check_32bit
Fix that some option mask check with local BOOL variable, error result on 32 bit device.
2019-09-04 20:13:01 +08:00
DreamPiggy cc47b24ca6 Change the stale date for issues from 30 days to 60 days 2019-09-04 20:06:51 +08:00
DreamPiggy e2cc90215e
Merge pull request #2820 from dreampiggy/bugfix_sdanimatedimageview_mac_aligning
Fix the macOS that SDAnimatedImageView does not works for imageScaling and imageAlignment properties
2019-09-04 19:54:32 +08:00
DreamPiggy bba155421a Revert the changes to use super.image, make it still possible for subclassing and override 2019-09-04 17:55:09 +08:00
DreamPiggy eb05b9f4fc Revert "Fix the test case by using the same lock in SDAnimatedImageView to avoid thread-safe issue"
This reverts commit 031f21a18d.
2019-09-04 12:01:37 +08:00
DreamPiggy 0de548f103 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into bugfix_sdanimatedimageview_mac_aligning 2019-09-04 11:58:52 +08:00
Kinarobin 048ba902fe
Merge pull request #2825 from dreampiggy/fix_sdanimatedimageview_dealloc_on_global_queue
Fix the case when SDAnimatedImageView dealloc on the fetch queue, will cause it trigger the UIKit/AppKit method on non-main queue and captured by UI Main Thread Checker
2019-09-04 11:55:13 +08:00
DreamPiggy 7bd12dac54 Fix the case when SDAnimatedImageView dealloc on the fetch queue, will cause it trigger the UIKit/AppKit method on non-main queue and captured by UI Main Thread Checker 2019-09-03 16:38:14 +08:00
DreamPiggy 1806c59e46
Merge pull request #2819 from dreampiggy/bugfix_options_mask_check_32bit
Fix that some option mask check with local BOOL variable, error result on 32 bit device.
2019-09-03 14:10:15 +08:00
DreamPiggy 031f21a18d Fix the test case by using the same lock in SDAnimatedImageView to avoid thread-safe issue 2019-09-02 13:27:17 +08:00
DreamPiggy 9c28ce40a9 Update the Example for Appkit using the aligning and scaling layout 2019-08-31 23:23:47 +08:00
DreamPiggy 1487f6762f Try to fix the SDAnimatedImageView's imageScaling and imageAligning behavior compared to the built-in NSImageView 2019-08-31 23:19:40 +08:00
DreamPiggy 491fefdd48
Merge pull request #2815 from dreampiggy/feature_animated_clear_when_stop
Support to clear frame buffer or reset frame index when stopped for SDAnimatedImageView
2019-08-30 21:19:44 +08:00
DreamPiggy dfa871b20e Fix that some option mask check with local BOOL variable, will result error result on 32 bit device. Use a macro help to solve this issue 2019-08-30 17:56:06 +08:00
DreamPiggy 70b8fec54a Fix the compile issue for test cases on macOS 2019-08-30 17:25:10 +08:00
kinarob dd8f58917f reuse frame buffer container 2019-08-28 15:25:42 +08:00
DreamPiggy 1f74aea686 Add the test case for these two new properties 2019-08-27 19:41:27 +08:00
DreamPiggy 1abc05e05c Add new properties `clearBufferWhenStopped` and `resetFrameIndexWhenStopped` 2019-08-27 17:40:05 +08:00
DreamPiggy 2350dcf77d Change the stale date for issues from 30 days to 60 days 2019-08-26 15:44:23 +08:00
DreamPiggy 8898909f1d
Merge pull request #2808 from dreampiggy/project_uikit_macos
Feature: Support UIKit for macOS (Catalyst)
2019-08-19 14:55:03 +08:00
DreamPiggy 1775374feb Update the XCFramework build script, fix the DerivedData path issue (avoid Xcode's default path conflict) and cleanup the code structure 2019-08-16 19:32:21 +08:00
DreamPiggy 0f27617152 Try to fix the Xcode 10 compatible 2019-08-16 17:26:13 +08:00
DreamPiggy 6185bcd788 Change the Travis-CI env to Xcode 10.3 2019-08-15 18:04:27 +08:00
DreamPiggy 0635a7cd59 Temporary comment the macOS catalyst build on Travis-CI, since it does not have macOS 10.15 env yet. 2019-08-15 17:57:28 +08:00
DreamPiggy 3e8c55e87b Update the travis-CI script for the macOS catalyst 2019-08-15 17:37:23 +08:00
DreamPiggy e0b9b9cde4 Update the XCFramework script for macOS catalyst 2019-08-15 17:32:27 +08:00
DreamPiggy 2aa0b8bae6 Update the travis ci script 2019-08-13 19:36:27 +08:00
DreamPiggy 940c09ff80 Remove `SDWebImage.xcodeproj` from the workspace, try to solve the Xcode New Build System issue of implicit dependency for `SDWebImage.framework` (Both CocoaPosd and SDWebImage.xcodeproj can produce this framework), which cause build issue 2019-08-13 19:34:23 +08:00
DreamPiggy cb2baac522 Update Podspec for MapKit supports catalyst 2019-08-13 13:23:13 +08:00
DreamPiggy 3f248552b3 Update the test case for catalyst 2019-08-13 13:22:10 +08:00
DreamPiggy 054c5186b8 Use UIImage.class for conformsToSelector detect, which fix the current Xcode 11 Beta5 's runtime behavior of UIKit for macOS 2019-08-12 20:55:07 +08:00
DreamPiggy 77e54697c5 Update the demo of UIKit for macOS, which should not contains the WatchKit Extension 2019-08-12 20:52:46 +08:00
DreamPiggy 1b7b377c60 Update the podspec for xcconfig 2019-08-12 20:51:01 +08:00