Commit Graph

2241 Commits

Author SHA1 Message Date
DreamPiggy c292fcccc4 Remove the unused ENABLE_BITCODE xcconfig, which cause issue for watchOS platform. Even without this xcconfig, all 4 platforms build product have the correct bitcode support 2019-03-27 22:07:42 +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 b09da860b9 Fix the issue cause build failure for Xcode 10.2.
Fix the wrong relative path of SDWebImage.xcodeproj
Fix the wrong xcconfig using ENABLE_BITCODE on debug configuration
2019-03-26 17:36:35 +08:00
DreamPiggy 6621f6a37d
Merge pull request #2647 from dreampiggy/project_weak_strong_macros
Introduce the internal macros and replace the weak-strong dance code with weakify && strongify
2019-03-25 18:28:01 +08:00
DreamPiggy 9453c2e095 Remove the deprecated GCC_VERSION build settings for Demo project 2019-03-23 10:10:04 +08:00
DreamPiggy d36d5e7936 Revert "Move the dispatch_main_async_safe into internal macros, since it's used in implementation files but not headers"
This reverts commit e702214f82.
2019-03-22 10:57:23 +08:00
DreamPiggy 57ad6853ed Update SDWebImagePrefetcher weak-strong dance code into weakify && strongify 2019-03-21 19:46:25 +08:00
DreamPiggy 08c6e22906 Rename metamacro.h filename with SDmetamacro.h 2019-03-21 19:38:09 +08:00
DreamPiggy c6fe902a30 Fix the SDWebImage Test project using the framework xcconfig, should ignore the prefix header 2019-03-21 19:38:09 +08:00
DreamPiggy a065fa2379 Rename pch file with Prefix.pch, make it easy to distinguish from the umbrella headers 2019-03-21 19:38:09 +08:00
DreamPiggy e702214f82 Move the dispatch_main_async_safe into internal macros, since it's used in implementation files but not headers
SDWebImageCompat.h should only contain the macros support used in header
2019-03-21 19:38:09 +08:00
DreamPiggy c6247d2d63 Using pch for the internal macros, to avoid each implementation files import this macro 2019-03-21 19:38:09 +08:00
DreamPiggy e31a44f6a1 Replace all the weak-strong dance code with @weakify and @strongify 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
Kinarobin 07204d5a60
Merge pull request #2645 from zhongwuzw/fix_prefetch_hung_up
Fix prefetch hung up
2019-03-21 10:42:23 +08:00
zhongwuzw 21565dbc8f Add assert to check operation nil 2019-03-20 11:21:04 +08:00
zhongwuzw ebf41a3b01 Consolidate cancel code 2019-03-19 20:26:00 +08:00
Bogdan Poplauschi de4e2344ba
Updated README.md 2019-03-19 10:29:46 +02:00
Bogdan Poplauschi 97e6b64f0e Updated logos per #2579 2019-03-19 10:27:41 +02:00
zhongwuzw ff3a3e827d Fix prefetch cancellation issues 2019-03-18 12:01:46 +08:00
DreamPiggy d76dd081ca
Merge pull request #2642 from zhongwuzw/break_retain_of_prefetch_block
Break strong retain cycle for prefetch block
2019-03-16 11:01:58 +08:00
zhongwuzw 0686584771 Remove shadow variable warning 2019-03-16 00:16:01 +08:00
zhongwuzw 9c3b7a84b7 Break strong retain cycle for prefetch block 2019-03-15 23:51:18 +08:00
DreamPiggy 21b2244b81 Bumped version to 5.0.0-beta6 2019-03-15 15:47:29 +08:00
DreamPiggy 4483cdcc23 update CHANGELOG 2019-03-15 15:46:17 +08:00
DreamPiggy 528871455d Update travis script to avoid using pre-release of cocoapods 2019-03-14 21:51:59 +08:00
DreamPiggy 41f11642b1 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	SDWebImage.podspec
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageWebPCoder.m
#	WebImage/Info.plist
2019-03-14 21:50:09 +08:00
DreamPiggy e36c505b17
Merge pull request #2641 from Insofan/5.x
simplify assign downloaderOperation's minimumProgressInterval code
2019-03-14 21:40:34 +08:00
Insofan ce753df0cc simplify assign downloaderOperation's minimumProgressInterval code 2019-03-14 15:27:29 +08:00
DreamPiggy 71bff450b3
Merge pull request #2635 from dreampiggy/bugfix_transformer_cache_key
Fix the current transformer cache key generating rules, try to keep the image file extension
2019-03-12 20:42:23 +08:00
Kinarobin c319ec8cc3
Merge pull request #2634 from dreampiggy/project_move_internal_class_into_private_headers
Move some internal classes into private header files, make it easy to maintain the code
2019-03-11 15:46:20 +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 9fb9ac7ad4 Fix the current transformer cache key generating rules, try to keep the image file extension as much as we can 2019-03-09 17:07:47 +08:00
DreamPiggy 44b39715bb
Merge pull request #2628 from zhongwuzw/fix_libwebp_version
Update libwebp constraint to lower 2.0
2019-03-09 15:34:11 +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
Kinarobin 78e408c537
Merge pull request #2631 from dreampiggy/bugfix_prefetch_concurrent_query_cache
Fix the issue that SDWebImagePrefetch in 5.x, will submit all prefetch URLs to manager without any concurrent limit
2019-03-09 13:40:08 +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 c35229251e
Merge pull request #2629 from zhongwuzw/update_comments
Update color space filter comment when create icc profile color space
2019-02-28 20:01:39 +08:00
zhongwuzw 31856f3cdb Update color space filter comment when create icc profile color space 2019-02-27 19:50:37 +08:00
zhongwuzw 3f173c48fc Update libwebp constraint to lower 2.0 2019-02-26 21:57:41 +08:00
DreamPiggy f023c9bb6c Bumped version to 4.4.6
update CHANGELOG
2019-02-26 18:32:00 +08:00
DreamPiggy 46fae667ea
Merge pull request #2627 from dreampiggy/bugfix_webp_icc_monochrome
Fix the issue when WebP contains the ICC Profile with colorSpace other than RGB, which cause the CGImageCreate failed
2019-02-26 17:50:20 +08:00
DreamPiggy 4e620c55a5
Merge pull request #2625 from dreampiggy/project_libwebp_dependency
Update the libwebp dependency to support using 1.0 version and above
2019-02-26 15:51:06 +08:00
DreamPiggy 8c3cfbdfc1 Fix the issue when WebP contains the ICC Profile with colorSpace other than RGB, which cause the CGImageCreate failed 2019-02-26 13:13:22 +08:00
DreamPiggy 7050a79c33 Update the libwebp dependency to support using 1.0 version and above, which can fix some rare WebP issues 2019-02-26 11:22:43 +08:00
DreamPiggy bede907ab7
Merge pull request #2624 from zhongwuzw/nil_image_data
Nil imageData before decode process to free memory
2019-02-26 11:13:28 +08:00
zhongwuzw 50f9ddd5a8 Nil imageData before decode process to free memory 2019-02-21 22:28:23 +08:00
Wu Zhong a54af636a8
Merge pull request #2621 from dreampiggy/bugfix_webp_icc_profile_crash
Fix that WebP with custom ICC Profile will randomly crash, because `CGColorSpaceCreateWithICCProfile` does not copy the ICC data pointer
2019-02-18 15:59:05 +08:00
Wu Zhong 5076a1dd45 Fix small typos 2019-02-18 15:35:35 +08:00