Commit Graph

153 Commits

Author SHA1 Message Date
DreamPiggy 106a8d1a15 Use placehold.co to replace the down site via.placeholder.com
This only effect test cases
2023-11-16 18:37:04 +08:00
DreamPiggy e1c01fe28b Introduce `SDImageForceDecodePolicy`, which can controls whether to force-decode using automatic check, always or never
Deprecate the `SDWebImageAvoidDecodeImage`

This can help for some user who don't use ImageIO and need to ensure the memory footprint
2023-07-13 22:58:32 +08:00
DreamPiggy 91162ce5dc Update the example with new SDWebImageScaleDownLargeImages 2023-05-15 17:34:38 +08:00
DreamPiggy 8bd4e72c33 Fix macOS Demo applicationDidFinishLaunching not called 2023-02-12 02:58:13 +08:00
DreamPiggy 1ec6cd06f7 Change all placeholder.com sample from http into https 2023-02-06 18:56:25 +08:00
DreamPiggy 9c0c715d6a Move the SD_CHECK_CGIMAGE_RETAIN_SOURCE assertion to SDWebImage Demo and Tests only
This does not effects user who use this framework, only useful for ourselves to ensure Apple does not break our code
2022-11-14 17:07:29 +08:00
DreamPiggy b1b16a17b3 Support use url.path or custom UTI hint passed to ImageIO, solve the TIFF/NEF/SRW raw image decoding with wrong size
This is because file extension will cause ImageIO use different codec, which does not support all of them without context
2022-10-27 11:11:28 +08:00
DreamPiggy 282714883e Update the Demo project 2022-06-26 23:55:12 +08:00
DreamPiggy c0cc245632 Update AppKit SDGraphics convenient API to use main screen colorspace
Update macOS demo URL as well
2022-03-15 22:38:48 +08:00
DreamPiggy 351e76b2b9 Update the demo to remove the usage of `SDWebImageRefreshCached` 2021-03-09 14:33:00 +08:00
DreamPiggy 6e34315e6c Bumped the min deployment target version to iOS 9, macOS 10.11. Bumped the min Xcode version to Xcode 11
This follows Apple's App Store submit rule, and user request from the dependency
2020-11-22 11:05:40 +08:00
DreamPiggy 2c9eaccf23 Remove the `SDWebImageForceTransitionAsync`, change the default behavior because it's most suitable for UI rendering and common use case. No need this hack. If user want, we may produce a `setTransitionBlock` in the future 2020-08-27 10:49:57 +08:00
DreamPiggy 53b2420789 Mark the API available for HEIC/AWebP coders, update the example 2020-07-06 10:55:01 +08:00
DreamPiggy 7bfd67a94f Update the Example of WebP coder for iOS/macOS/tvOS/watchOS 2020-07-03 12:55:49 +08:00
DreamPiggy 62a6ab8e71 Update the project settings for WebP coder 2020-07-03 12:55:49 +08:00
DreamPiggy 5c3c40288f
Merge pull request #2936 from dreampiggy/feature_better_vector_support_pdf
Feature - better support for vector format detection, now PDF rasterized bitmap is built-in
2020-02-26 16:02:20 +08:00
DreamPiggy d56636e15b Update the Example and Test case about URLSessionMetrics, expose the API in UIVIew+WebCache to make it easy to write code (or user have to write NSStringFromClass) 2020-01-30 18:33:16 +08:00
DreamPiggy eeec6de698 Update the PDF demo and test cases 2020-01-30 15:29:57 +08:00
DreamPiggy 150ad1b104 Apply a `Thumbnail-` prefix for the cache key for all the thumbnail images, this can avoid cache issue when you query the same URL with different thumbnail size 2020-01-10 23:35:43 +08:00
DreamPiggy 767ea25525 Revert the example to use thumbnail 2020-01-10 19:44:35 +08:00
DreamPiggy d29dfda82a Update the Example to use thumbnail decoding 2020-01-10 19:30:17 +08:00
DreamPiggy d1be404b63 Remove the untracked DS_Store file 2019-11-22 16:16:20 +08:00
zxiou d5da5dbef7 delete useless files 2019-11-21 19:32:11 +08:00
zxiou fe0e42afc2 fix the core render of SDAnimatedImagePlayer and fix assignment animationRepeatCount does not work
Signed-off-by: zxiou <zhangxu6@xiaomi.com>
2019-11-21 19:17:44 +08:00
DreamPiggy aa3d2225db Update the example with toggle animation button 2019-11-05 20:50:13 +08:00
DreamPiggy 9461bd5c11 Update the WatchKit demo with the `SDAnimatedPlayer` to show the simple usage 2019-11-04 03:59:48 +08:00
DreamPiggy 4ba92b6749 Update the example with HEIC coder, this can be used to investigate future performance enhancement from Apple 2019-09-27 11:44:09 +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 9c28ce40a9 Update the Example for Appkit using the aligning and scaling layout 2019-08-31 23:23:47 +08:00
DreamPiggy 0f27617152 Try to fix the Xcode 10 compatible 2019-08-16 17:26:13 +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 5c22cc73ae Update the project warning for unnecessary xcconfig files 2019-07-02 18:23:39 +08:00
DreamPiggy 6ba2640ca4 Update the storyboard with Xcode 10.2 version format 2019-07-02 18:20:12 +08:00
DreamPiggy df5be0e34c Update CI to use Xcode 10.2. Combine both the Example and Test Podfile into one. Make CocoaPods only generate one `Pods.xcodeproj` and fix the New Build System issue 2019-06-18 15:46:08 +08:00
DreamPiggy d67aebeeed Fix that macOS indicator always use dynamic mode. Now only the `largeIndicator` and `mediumIndicator` supports dynamic dark mode switch 2019-06-13 17:03:27 +08:00
DreamPiggy 2357dabc17 Fix the Demo WebP coder import issue when enable modular headers 2019-06-03 17:53:00 +08:00
DreamPiggy c66f5c90ef Replace the unavailable Demo test images with the new images from Kodak site 2019-05-29 15:12:14 +08:00
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 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
DreamPiggy 110b49633f Fix the warning of deprecated project localization after upgrading Xcode 10.2 2019-03-26 18:03:14 +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
Bogdan Poplauschi 887eeb4bc3 Fixes (use xcode10 image, no need for inputFileListPaths or outputFileListPaths) 2018-11-11 21:10:50 -06: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
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
zhongwuzw 735bbf6f8c Remove input/outputFileListPaths attributes in Xcodeproj 2018-09-10 16:21:07 +08: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 3cd71e09ce Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	SDWebImage/NSData+ImageContentType.h
#	SDWebImage/SDWebImageDownloader.m
#	SDWebImage/SDWebImageImageIOCoder.m
2018-08-10 15:20:55 +08:00
DreamPiggy 7ddb75710c Add SDImageFormatHEIF represent mif1 && msf1 brands
Fix the current hard-coded system version checking with Image/IO source uttypes checking
2018-08-06 17:53:24 +08:00
DreamPiggy dd6e4a1d2e Follow App Store submit rule, upgrade the min Xcode version to Xcode 9.0
Using `@available` and `API_AVAILABLE` to check API availability
2018-07-06 12:57:43 +08:00
DreamPiggy 799ef18c06 Add the support for watchOS to use View Category method (sd_setImageWithURL:) on WKInterfaceImage 2018-05-31 11:32:52 +08:00