Commit Graph

184 Commits

Author SHA1 Message Date
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
DreamPiggy 08c6e22906 Rename metamacro.h filename with SDmetamacro.h 2019-03-21 19:38:09 +08:00
DreamPiggy 367f4454b6 Add the private @weakify @strongify @onExit macros to simplify the code in implementation files 2019-03-21 19:38:09 +08:00
DreamPiggy 146530e1a2 Change the naming of private headers of internal methods, from `+Private.h` naming into `Internal.h` naming, follow other popular framework's naming rules 2019-03-10 10:53:46 +08:00
DreamPiggy 6bab2de69a Move some internal classes into private header files, make it easy to maintain the code 2019-03-09 15:25:44 +08:00
DreamPiggy cf0738abd9 Move the SDAsyncBlockOperation into the private header folder, this class is only used inside framework 2019-03-06 13:05:22 +08:00
DreamPiggy 2ce3b706c8 Fix the issue that SDWebImagePrefetch in 5.x, will submit all prefetch URLs to manager without any limit, which cause the disk cache query pending until all finished
Because they are implementation details, we can not always assume the cache and downloader use a load balancing algorithm
2019-03-03 16:52:44 +08:00
DreamPiggy b866c6aa97 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	SDWebImage.podspec
#	SDWebImage.xcodeproj/project.pbxproj
#	SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
#	SDWebImage/SDImageCache.m
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/UIView+WebCache.m
#	Tests/SDWebImage Tests.xcodeproj/project.pbxproj
2019-01-03 14:54:37 +08:00
DreamPiggy c95be0994e Update the category's naming for memory cache cost, a little code enhancement to avoid NSNumber generation 2019-01-03 12:08:18 +08:00
Bogdan Poplauschi edb9c45859 Xcode 10 - upgraded schemes, using xcode10 Travis image, removed some deprecated methods from our demos + formatting
Using xcconfig files - easier to maintain all the settings appart from target files, less conflicts, can reuse the values
2018-11-11 20:19:33 -06:00