Commit Graph

193 Commits

Author SHA1 Message Date
DreamPiggy 9faa68dc15 Added xcprivacy to framework target and SPM
CocoaPods does not has this feature currently
2023-09-12 15:40:57 +08:00
DreamPiggy 50c8acefd7 Remove the script target output file, since it's dynamic based 2023-09-11 17:37:51 +08:00
DreamPiggy 35089a0b9b Added the visionOS support for "Build XCFramework" script target
Move the scripts from xcproj into the actual Scripts folder
2023-09-11 15:31:49 +08:00
DreamPiggy 9ccedcc09e Update xcodeproj to add support on MapKit for visionOS 2023-09-02 20:25:19 +08:00
DreamPiggy a986a77734 Add better support for stateful view (UIButton) for image URL/progress state management
Key idea:
1. Image Loading pipeline is based on `operation key`, when start/cancel it always need operation key
2. Stateful view has multiple operation key for different image property, we can use KeyPath as the hint to generate operation key
3. To make exists API compatible, we do not change much, however, in 6.0 we may do refactory and store all the loadState/operation/result into the single object, instead of 3
2023-07-31 10:35:47 +08:00
DreamPiggy a206229905 Introduce frame pool for SDAnimatedImage playback. Solve when multiple image view references the same URL image cause un-wanted decode which waste RAM/CPU 2023-05-09 16:50:41 +08:00
DreamPiggy e21e9f19e6 Update Carthage project 2023-01-09 22:08:48 +08:00
DreamPiggy 43ec4726e1 Added context option `callbackQueue` for advanced user to control which queue to callback
This is used for user who call SDWebImage outside from main queue and need precise queue control, such as avoid chain queue blocking (like AVKit lazy load)
2023-01-04 18:47:50 +08:00
DreamPiggy 46912090f9 Fix the warning, enable `APPLICATION_EXTENSION_API_ONLY` for all framework target 2021-05-21 11:50:12 +08:00
DreamPiggy 6fb20ce312 Refactory the implementation of that canDecode/canEncode, use single method with Set to check, instead of creating different internal files 2020-07-06 11:22:53 +08:00
DreamPiggy d09ff5a654 Fix the SwiftPM support and Static library 2020-07-03 16:37:01 +08:00
DreamPiggy 62a6ab8e71 Update the project settings for WebP coder 2020-07-03 12:55:49 +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 4173f9f3c1 Fix the issue that NSOperation conforms to `SDWebImageOperation` check failed. And fix the SDAsyncBlockOperation cancel logic 2020-04-30 18:50:18 +08:00
DreamPiggy 8323aa7564
Merge pull request #2985 from dreampiggy/feature_convient_mac_transition
Added the convenient transition options for macOS user. Deprecate the old timingFunction, which can use System API to achieve
2020-04-29 20:10:00 +08:00
DreamPiggy 34b59d1f79 Fix the support for SDWebImageMapKit 2020-04-19 12:53:12 +08:00
DreamPiggy 1cb0d2e2ba Added the convenient transition options for macOS user. Deprecate the old timingFunction, which can use System API to achieve 2020-04-17 15:36:08 +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 6ff83fde6b Added SDGraphicsImageRenderer (which bridge to UIGraphicsImageRenderer on iOS 10+), prepare to replace old CGContext create code 2019-12-16 17:29:58 +08:00
DreamPiggy 69d163fc37 Using one global function to ensure we always sync all the UIImage category assocaited object status correctly inside our framework 2019-12-03 21:21:07 +08:00
DreamPiggy 936d04f726 Fix the build issue on SDWebImage Static library target 2019-12-03 20:42:46 +08:00
DreamPiggy 9aa4ac1ca7 Rename the NSFileManager+ExtendedAttributes into the SDFileAttributeHelper, because it does not have any reply on NSFileManager API 2019-11-25 21:53:12 +08:00
DreamPiggy 46b0c4bae8 Use the NSCoding object instead of `NSData`, make it possible to directlly get the extended data from memory cache without unarhive by user. 2019-11-25 15:43:31 +08:00
DreamPiggy 7c8d3225c8 Rename the the extended data to bind it into the UIImage object, which make it compatible for memory cache 2019-11-24 01:33:08 +08:00
DreamPiggy 892a7ad892 Add the feature to allows advanced user to provided extended data associarted with image data, used for scale factor saving, rich link metadata saving, etc 2019-11-23 18:50:39 +08:00
DreamPiggy 5d5679a75b Add SDDeviceHelper to hold the memory calculation method, instead of that Static function 2019-11-03 22:40:56 +08:00
DreamPiggy 7e85869e6c Refactory the display link with a cross-platform implementation, CADisplayLink. for iOS/tvOS, CVDDisplayLink for macOS, NSTimer for watchOS 2019-10-17 01:21:15 +08:00
DreamPiggy 34e736375e Refactory to seperate the response modifier and data decryptor, one for HTTP response, one for Data decrypt. 2019-10-15 20:16:52 +08:00
DreamPiggy 6825b2c9be Fix the issue of response modifier, including Public header, initialize, etc 2019-10-15 16:40:59 +08:00
DreamPiggy 68d73f4cb2 Add the response modifier and data decrypter, which allows user to provide a modified version of URL Response and image data, like Gzip or other encoding form 2019-10-15 14:36:41 +08:00
DreamPiggy 9b8712e04b Add HEICCoder (HEIF naming is taken by SDWebImageHEIFCoder repo), supports animated HEICS format as well 2019-09-22 15:05:30 +08:00
DreamPiggy a04ddceb3c Fix the public API configuration of CI build for framework target 2019-09-20 16:47:51 +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 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 e0b9b9cde4 Update the XCFramework script for macOS catalyst 2019-08-15 17:32:27 +08:00
DreamPiggy 99857f346d Fix SwiftPM build issue, by moving all the Core source files && headers, into SDWebImage/Core, which is used as public headers directory 2019-07-25 18:42:05 +08:00
DreamPiggy 5df70628be
Merge pull request #2780 from dreampiggy/project_upgrade_xcode_10
Follow App Store submit rule, upgrade the minimum Xcode version to Xcode 10.0
2019-07-03 16:45:56 +08:00
DreamPiggy 5c22cc73ae Update the project warning for unnecessary xcconfig files 2019-07-02 18:23:39 +08:00
DreamPiggy 57894763be Open Finder when build all frameworks finished on Xcode 10 as well (Xcode 11 will open when xcframework build finished) 2019-06-26 16:39:50 +08:00
DreamPiggy c2037417a6 Update the build script to support Xcode 10 without xcframework. Also change to build simulator platform using Debug configuration instead of Release configuration 2019-06-26 16:38:36 +08:00
DreamPiggy 13fdc685f6 Provide a script target to directly build all SDWebImage framework and generate one XCFramework, all in on for manual installation user 2019-06-19 16:42:56 +08:00
DreamPiggy 8c4c8d3aad
Merge pull request #2736 from dreampiggy/feature_global_control_options
Supports global control on options and context for individual image request
2019-06-13 16:22:59 +08:00
DreamPiggy 46ecde48e9 For simple solution, remove the custom modulemap, let CocoaPods generate one instead 2019-06-13 11:59:57 +08:00
DreamPiggy 22844887a2 Fix the header to static library target 2019-06-13 11:52:52 +08:00
DreamPiggy 4683e5a0ad Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into feature_global_control_options
# Conflicts:
#	SDWebImage.xcodeproj/project.pbxproj
2019-06-13 11:50:41 +08:00
DreamPiggy 2e920abfb5 Fix the Static Library target issue of headers, which cause the integrated application failed to Archive because of copied headers 2019-06-03 18:43:33 +08:00
DreamPiggy 26d1a95cca Add SDWebImageOptionsProcessor, which can have a global control for both WebCache options and context option for image loading 2019-05-23 21:44:57 +08:00
Kinarobin 959a1618cb Delete prepare shell when archive static library and update manual installation doc. (#2685)
* Delete prepare shell when archive static library and update manual installation Doc

* Update the Manual Install Guide, with both the Build SDWebImage as Framework or Static Library, as well as using SDWebImage as Sub Xcode Project

* Re-format the Manual Installation Guide to make it easy to read

* Updated to the latest Manual Install Guide

* Update the latest manual install guide
2019-04-10 16:45:48 +08:00
DreamPiggy 319322fbd5 Update the Readme, migration guide and API-diff to the latest version 2019-04-02 21:38:17 +08:00
DreamPiggy 110b49633f Fix the warning of deprecated project localization after upgrading Xcode 10.2 2019-03-26 18:03:14 +08:00