Commit Graph

2310 Commits

Author SHA1 Message Date
DreamPiggy 95dba7307d Update the migration guide for cache path about 5.0.0-beta version 2018-12-10 13:28:06 +08:00
zhongwuzw 216ba9c7e1 Fix crash when NSMapTable empty keys 2018-12-10 10:41:17 +08:00
DreamPiggy 1fc1de5da9 Update the migration guide for cache path 2018-12-09 15:23:26 +08:00
DreamPiggy b68730bedf Use the more intuitive and suitable cache path for SDImageCache. Defaults now to `~Library/Caches/com.hackemist.SDImageCache/default/`, namespace controls the sub-directory name.
Remove the namespacePrefix property because now it's not follows what it says
2018-12-09 15:23:26 +08:00
zhongwuzw cff0f33430 Add update image memory cost method 2018-12-09 11:56:51 +08:00
zhongwuzw 45427b1eed Merge branch 'remote-master' into fix-cache-cost-miscalculation-for-master 2018-12-09 10:45:38 +08:00
Chester Liu 9c527f0ebe
Merge pull request #2549 from zhongwuzw/add_define_module
Let SD can be imported using static library by CocoaPods
2018-12-09 09:06:56 +08:00
Wu Zhong b15abdd792
Merge pull request #2555 from dreampiggy/bugfix_macOS_xcconfig_bitcode
Fix that macOS does not support bitcode, current xcconfig cause build issue on Legacy Build System
2018-12-08 16:12:24 +08:00
DreamPiggy b0c84e8aec Fix that macOS does not support bitcode, this cause build issue on Legacy Build System 2018-12-08 12:57:11 +08:00
DreamPiggy 2cebcb7419 updated CHANGELOG 2018-12-05 18:36:45 +08:00
DreamPiggy 32d096a478
Merge pull request #2548 from SDWebImage/revert-2531-fix_reuse_wrong_image
Revert "Add image url check when set image"
2018-12-05 18:25:15 +08:00
zhongwuzw 72a34cf2cf Let SD can be imported using static library by CocoaPods 2018-12-03 10:58:24 +08:00
DreamPiggy 1b1cf603ed
Revert "Add image url check when set image" 2018-12-01 14:56:31 +08:00
Wu Zhong 2bdc51e65c
Merge pull request #2543 from langyanduan/master
fix: FLAnimatedImage custom property
2018-11-29 13:07:57 +08:00
langyanduan f47d60a802 fix: FLAnimatedImage custom property 2018-11-29 11:10:51 +08:00
DreamPiggy f663cab2c9 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into 5.x
# Conflicts:
#	CHANGELOG.md
#	README.md
#	SDWebImage.podspec
#	SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.m
#	SDWebImage/SDImageCache.m
#	SDWebImage/SDWebImageCompat.m
#	SDWebImage/SDWebImageDownloaderOperation.m
#	SDWebImage/SDWebImageManager.m
#	SDWebImage/UIView+WebCache.h
#	SDWebImage/UIView+WebCache.m
#	Tests/Tests/SDImageCacheTests.m
#	WebImage/Info.plist
2018-11-17 11:54:18 +08:00
Bogdan Poplauschi 4fd0e83521
Merge pull request #2531 from zhongwuzw/fix_reuse_wrong_image
Add image url check when set image
2018-11-16 10:28:40 -06:00
Bogdan Poplauschi e7c29639cb
Merge pull request #2532 from zhongwuzw/fix_comments
Fix comments in code
2018-11-15 20:18:26 -06:00
zhongwuzw 9dacf99738 update 2018-11-15 21:32:05 +08:00
zhongwuzw 8c7764e122 Fix comments in code 2018-11-15 21:13:27 +08:00
zhongwuzw c95c35d6db Add image url check when set image 2018-11-15 13:55:32 +08:00
Bogdan Poplauschi 944c57eaa9
Merge pull request #2530 from zhongwuzw/fix_flanimatedImage_step_2
Fix FLAnimatedImageView reuse wrong image && remove GCD strong retained
2018-11-14 09:40:07 -06:00
Bogdan Poplauschi 226f92f344
Merge pull request #2529 from zhongwuzw/fix_cacheType
Fix wrong image cache type when disk and memory cache missed
2018-11-14 09:38:05 -06:00
zhongwuzw 7e7a332278 Fix FLAnimatedImageView reuse wrong image && remove GCD strong retained 2018-11-14 21:03:29 +08:00
zhongwuzw 5611863f6a Fix wrong image cache type when disk and memory cache missed 2018-11-14 16:18:50 +08:00
DreamPiggy 772b79c824
Merge pull request #2494 from bpoplauschi/xcode_10
Xcode 10 + using xcconfig for project settings
2018-11-14 11:58:22 +08:00
Bogdan Poplauschi d89b735708 Fixed some warnings in the tests 2018-11-11 21:50:44 -06:00
Bogdan Poplauschi 205ce2af9a
Merge pull request #2524 from dreampiggy/fix_graphics_helper_bug
Fix the `SDGraphicsBeginImageContext` method recursive call issue
2018-11-11 21:35:54 -06:00
Bogdan Poplauschi f7a37ce72c iPhone 8 sim doesn't exist on Xcode10 (when targetting watch simulator). Use iPhone XS 2018-11-11 21:29:13 -06:00
Bogdan Poplauschi 887eeb4bc3 Fixes (use xcode10 image, no need for inputFileListPaths or outputFileListPaths) 2018-11-11 21:10:50 -06:00
Bogdan Poplauschi e056218bbf Bumped version to 4.4.3 + updated CHANGELOG 2018-11-11 20:58:55 -06:00
Bogdan Poplauschi 0e77a30000
Merge pull request #2441 from dreampiggy/performance_FLAnimatedImage_compatible_code
Revert the hack code for FLAnimatedImage compatible, because of the FLAnimatedImage initializer method block main queue.
2018-11-12 04:44:47 +02:00
Bogdan Poplauschi f7cd511941 Merge pull request #2511 from tshirt101/master
Tidy up spacing
2018-11-11 20:30:59 -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
zhongwuzw 62ce1d3b5e Fix macos build failed 2018-11-11 22:16:03 +08:00
zhongwuzw 3fbb7856e5 Transform protocol to category 2018-11-11 21:39:12 +08:00
DreamPiggy 5d097bbc8d Fix the `SDGraphicsBeginImageContext` method recursive call issue 2018-11-01 11:18:14 +08:00
Bogdan Poplauschi 93af30e39b
Merge pull request #2523 from dreampiggy/feature_sd_graphics_helper_method
Expose the graphics helper method for coder plugin author and fix scale issue
2018-10-31 10:50:11 +02: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
DreamPiggy ee6f99f204 Fix that the graphics helper method will return nil when scale = 0, match the UIKit behavior 2018-10-31 14:40:10 +08:00
Bogdan Poplauschi 3d62cfc507
Merge pull request #2520 from lhnoah/master
Optimize when scale = 1
2018-10-30 10:02:52 +02:00
Noah 2ac9b2fc6a Update SDWebImage/SDWebImageCompat.m 2018-10-30 15:00:25 +08:00
Noah 042c27ec8c Optimize when scale = 1 2018-10-30 01:26:44 +08:00
Bogdan Poplauschi f5cc328684
Merge pull request #2517 from dreampiggy/fix_swift_api_SDImageFormat
Fix the accident changes of Swift API naming for `sd_imageDataAsFormat:`
2018-10-29 10:12:03 +02:00
DreamPiggy 67499263a8 Fix the accident changes of Swift API naming for `sd_imageDataAsFormat:`. We should keep previous naming `sd_imageData(as:)` 2018-10-29 12:52:17 +08:00
Bogdan Poplauschi cabda5890f
Merge pull request #2515 from zhongwuzw/fix_header_thread_safe
Replace atomic property with SD_LOCK
2018-10-28 21:08:39 +02:00
Bogdan Poplauschi 6c6d848cee Added 2 tests for #2516 Fix extention long length of file name 2018-10-28 20:49:44 +02:00
Bogdan Poplauschi 8d788abf45
Merge pull request #2516 from zhongwuzw/fix_long_path_name
Fix extention long length of file name
2018-10-28 20:33:18 +02:00
zhongwuzw 41214cccae Fix extention long length of file name 2018-10-28 17:59:52 +08:00
zhongwuzw 9d7b82f1fb Replace atomic property with SD_LOCK
Replace atomic property with SD_LOCK

fix LOCK not decrease
2018-10-27 21:11:40 +08:00