Commit Graph

2288 Commits

Author SHA1 Message Date
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
Wu Zhong b5afc32d1b
Merge pull request #2512 from SDWebImage/stale_bot_config
Added Stale bot config
2018-10-26 18:33:35 +08:00
Bogdan Poplauschi 54e60ec5e1 Added Stale bot config - decided on 30 days (issues) / 60 days (prs) to mark as stale + another 7 to close 2018-10-26 13:09:20 +03:00
tshirt101 2c6ee46c57
Update 2018-10-25 19:12:38 +05:30
Bogdan Poplauschi ab06c9080d
Merge pull request #2510 from zhongwuzw/update-url
Update url after framework transferred
2018-10-24 19:53:21 +03:00
zhongwuzw 8d3becfae8 Update url after framework transferred 2018-10-24 17:34:55 +08:00
Bogdan Poplauschi f9d05d921e
Update README.md 2018-10-24 09:44:50 +03:00
Bogdan Poplauschi abc2b3078a
Merge pull request #2388 from dreampiggy/documentation_update
Update the migration guide with the latest version.
2018-09-24 14:59:38 +03:00
DreamPiggy 3131c09284 Update the API-diff to the latest 5.x branch 2018-09-24 19:32:09 +08:00
DreamPiggy 3a8915c5c7 Update the migration guide with the latest version.
Update one changelog
2018-09-24 19:23:04 +08:00
DreamPiggy 2e548e9d45
Merge pull request #2488 from dreampiggy/rename_lock_macro
Renaming the `LOCK`, `UNLOCK` with SD prefix to avoid overriding user-defined macro
2018-09-24 18:50:07 +08:00
DreamPiggy 1ec61ad567 Renaming the `LOCK`, `UNLOCK` with SD prefix to avoid overriding user-defined macro. Remove `LOCKBLOCK` with paired macro instead to make it easy to debug 2018-09-18 23:17:43 +08:00
zhongwuzw 504dc10491 Take images into account 2018-09-13 10:48:52 +08:00
zhongwuzw 991fd89985 Fix memory cache image cost miscalculation for 4.x 2018-09-12 23:04:45 +08:00
Wu Zhong a8c3fb84bb
Merge pull request #2476 from rs/MapKit_target
Merged targets + MapKit dedicated target for Carthage installs
2018-09-12 12:25:38 +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 88142019b7
Merge pull request #2482 from zhongwuzw/fix-cocoapods-warning
Remove input/outputFileListPaths  attributes in Xcodeproj
2018-09-10 14:18:35 +03:00
zhongwuzw 735bbf6f8c Remove input/outputFileListPaths attributes in Xcodeproj 2018-09-10 16:21:07 +08:00
Bogdan Poplauschi 88d3e281ca
Merge pull request #2475 from zhongwuzw/add_autoreleasepool_to_gcd_block
Add autoreleasepool to release autorelease objects in advance when using GCD for 4.x
2018-09-08 19:50:39 +03:00
Bogdan Poplauschi bb7adaca37
Merge pull request #2474 from zhongwuzw/add_autorelease_to_gcd_block
Add autoreleasepool to release autorelease objects in advance when using GCD
2018-09-08 19:41:48 +03:00
Wu Zhong a1b0432b56
Merge pull request #2469 from rs/remove_webp
Move webp component (and libwebp dependency) to SDWebImage/SDWebImageWebPCoder
2018-09-08 14:43:20 +08:00
zhongwuzw 733f465e5c Add autoreleasepool to release autorelease objects in advance when using GCD for 4.x 2018-09-07 22:44:21 +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