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
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
zhongwuzw
3fbb7856e5
Transform protocol to category
2018-11-11 21:39:12 +08:00
DreamPiggy
025c5f833b
Expose the all image graphics methods to public method, make it easy for coder plugin user to reuse it instead of duplicate code
2018-10-31 15:25:52 +08:00
Bogdan Poplauschi
ae552f9350
Merged SDWebImage iOS + SDWebImage OSX + SDWebImage tvOS + SDWebImage watchOS targets into SDWebImage target (supports all platforms)
...
Merged SDWebImage iOS static + SDWebImage watchOS static targets into SDWebImage static target (supports all platforms)
Created dedicated SDWebImageMapKit target
All this is done for:
- ability to install via Carthage without MapKit dependency now we generate SDWebImage.framework and SDWebImageMapKit.framework so the users can choose to link against core or core+MapKit.
- simpler management of targets (no need to duplicate effort).
Replacement for #2078
Merged SDWebImage iOS + SDWebImage OSX + SDWebImage tvOS + SDWebImage watchOS targets into SDWebImage target (supports all platforms)
Merged SDWebImage iOS static + SDWebImage watchOS static targets into SDWebImage static target (supports all platforms)
Created dedicated SDWebImageMapKit target
All this is done for:
- ability to install via Carthage without MapKit dependency now we generate SDWebImage.framework and SDWebImageMapKit.framework so the users can choose to link against core or core+MapKit.
- simpler management of targets (no need to duplicate effort).
Replacement for #2078
2018-09-11 18:27:27 +03:00
Bogdan Poplauschi
64123734c3
Move webp component (and libwebp dependency) to SDWebImage/SDWebImageWebPCoder
...
- move the webp component + the libwebp dependency to SDWebImage/SDWebImageWebPCoder (including tests and demo)
- Xcode 9.4
- instead of directly linking the Demos to the frameworks, using CocoaPods (`Examples/Podfile`). This allows using SDWebImage/SDWebImageWebPCoder into our examples so we keep the WebP demos
- demos code cleanup and warnings resolved
- all links from docs (README, Migration guide, CHANGELOG) are full links, so they work even from external pages (i.e. https://cocoapods.org/pods/SDWebImage ).
- added "Additional modules" section to README
2018-09-07 12:40:25 +03:00
DreamPiggy
982ade8824
Remove all FLAnimatedImage from the Core SDWebImage repo. Move the code to SDWebImageFLPlugin repo
2018-07-13 22:17:02 +08:00
DreamPiggy
a82a4e15b2
Renaming UIImage+WebCache to the correct naming UIImage+Metadata, make clear of the category usage
2018-06-25 13:52:46 +08:00
DreamPiggy
f96c94ef7d
Renaming all `SDWebImageLoader` -> `SDImageLoader`
2018-06-06 14:41:44 +08:00
Bogdan Poplauschi
ebfe2cedc2
Merge pull request #2306 from dreampiggy/renaming_coder_protocol_and_coders
...
Renaming coder protocol and coders
2018-04-26 19:08:34 +03:00
Bogdan Poplauschi
18ecf8f96e
Merge pull request #2305 from dreampiggy/renaming_coder_helper
...
Renaming SDWebImageFrame & SDWebImageCoderHelper
2018-04-26 18:54:50 +03:00
DreamPiggy
6e5a0ea5f0
Rename Image/IO GIF APNG WebP coders to without `Web` prefix.
...
Rename `SDWebImageCodersManager` to `SDImageCodersManager`
2018-04-26 23:12:54 +08:00
DreamPiggy
15bceab71c
Rename `SDWebImageCoder` to `SDImageCoder`.
...
Rename `SDWebImageProgressiveCoder` to `SDProgressiveImageCoder`
Rename `SDWebImageAnimatedCoder` to `SDAnimatedImageCoder`
2018-04-26 23:05:13 +08:00
DreamPiggy
9ee3dac978
Renaming `SDWebImageFrame` -> `SDImageFrame`. `SDWebImageCoderHelper` -> `SDImageCoderHelper`
2018-04-26 23:04:20 +08:00
DreamPiggy
e862ea1b8e
Rename all `SDWebImageTransformer` to `SDImageTransformer`
2018-04-26 23:03:44 +08:00
DreamPiggy
f81480189d
Add modulemap files for SDWebImage to support modular framework, move the WebP & GIF into subdirectory to make Podspec works
2018-04-19 17:25:39 +08:00
Bogdan Poplauschi
af0eaccbc5
Merge pull request #2292 from dreampiggy/refactor_cache_webcache_protocol
...
Fix the custom cache protocol naming
2018-04-19 10:39:39 +03:00
Bogdan Poplauschi
eded5f026c
Merge pull request #2293 from dreampiggy/refactor_naming_NSImge_category
...
Renaming the NSImage category naming to `NSImage+Compatibility`
2018-04-19 10:26:51 +03:00
DreamPiggy
7cf58ad7c5
Renaming the NSImage category naming to `NSImage+Compatibility`, because it's only used for Cross-platform compatibility code. `Additions` is too wide
2018-04-18 21:14:34 +08:00
DreamPiggy
57db312cc5
Add `SDWebImageLoader` protocol for custom image loader. Also introduce the `SDWebImageLoadersManager` to manage multiple loaders with priority
2018-04-18 20:26:14 +08:00