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
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
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
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
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
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
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
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
zhongwuzw
703631d51a
Add autoreleasepool to release autorelease objects in advance when using GCD
2018-09-07 10:48:38 +08:00
Bogdan Poplauschi
f22a69891c
Merge pull request #2472 from zhongwuzw/remove-image-source-option
...
Remove kCGImageSourceShouldCache option when creating image source
2018-09-06 10:49:25 +03:00
zhongwuzw
b1b48cca81
Remove kCGImageSourceShouldCache option when create image source
2018-09-05 22:07:34 +08:00
DreamPiggy
0f14258e83
Merge pull request #2468 from zhongwuzw/optimize-sdanimatedimage
...
Decrease animated decode times when cache enable
2018-09-05 10:55:00 +08:00
zhongwuzw
3dc5b0ab67
Change data compare statement when do animated data comparation
2018-09-03 16:34:17 +08:00
zhongwuzw
759b7322c9
Remove lock tradeoff when get fetchFrame
2018-08-31 21:53:53 +08:00
zhongwuzw
6d85cd9061
Decrease animated decode times when cache enable
2018-08-31 17:47:39 +08:00
Wu Zhong
d989549b34
Merge pull request #2466 from dreampiggy/fix_protect_animation_image_class_data_nil
...
Add protect when custom animated image class image data is nil during progressive animation check
2018-08-31 16:16:31 +08:00
DreamPiggy
c76b9e3c2a
Add protect when custom animated image class image data is nil during progressive animation check
2018-08-30 23:25:32 +08:00
Bogdan Poplauschi
1ed0b8cfe8
Bumped version to 5.0.0-beta3 + updated CHANGELOG
2018-08-30 13:27:39 +03:00
Bogdan Poplauschi
2bb336bc12
Merge pull request #2449 from dreampiggy/feature_set_image_block_extra_args
...
Feature set image block extra args
2018-08-28 12:36:55 +03:00
Bogdan Poplauschi
6892f9e818
Merge pull request #2453 from dreampiggy/improvement_animation_class_protocol
...
Add one initializer with extra arg for custom animated image class to use possible coder options, to make it extensible
2018-08-28 12:03:06 +03:00
Bogdan Poplauschi
03ab0a937f
Merge pull request #2459 from dreampiggy/remove_sd_setAnimationImagesWithURLs
...
Remove `sd_setAnimationImagesWithURLs` API, because its cause ambiguity, behave not consistently and have rare use case.
2018-08-28 11:59:38 +03:00
DreamPiggy
7c5c114aa5
Update the comment about scale factor for coders
2018-08-28 15:21:59 +08:00
DreamPiggy
c99ddbfac9
Add one initializer with extra arg for custom animated image class to use possible coder options, to make it extensible
2018-08-28 15:09:32 +08:00
DreamPiggy
8b21041fa8
Merge pull request #2461 from zhongwuzw/add-no-expire-file-of-disk
...
Add no expiration file support of disk cache
2018-08-28 14:28:37 +08:00
zhongwuzw
9bd5c05113
Add more detaild comments of maxCacheAge and fix typo
2018-08-28 11:29:19 +08:00
DreamPiggy
3ff846aa85
Merge pull request #2462 from zhongwuzw/fix-disk-size-check
...
Fix resource key invalid when clean cached disk file
2018-08-24 17:47:18 +08:00
zhongwuzw
1f3d83784c
Fix resource key invalid when clean cached disk file
2018-08-24 16:03:50 +08:00
zhongwuzw
9afbc8bf7e
Add no expiration file support of disk cache
2018-08-24 15:54:04 +08:00
DreamPiggy
349bec4497
Remove `sd_setAnimationImagesWithURLs` API, because its cause ambiguity, behave not consistently and have rare use case.
2018-08-23 15:35:38 +08:00
Bogdan Poplauschi
6246c0ea0b
Merge pull request #2452 from dreampiggy/api_protocol_property
...
Adopt all the protocol APIs which contains getter value to use property instead, to make the API easy to use or Swift user
2018-08-20 09:05:39 +03:00
DreamPiggy
8c5db9484b
Adopt all the protocol APIs which contains getter value to use property instead, to make the API easy to use or Swift user
2018-08-19 12:10:26 +08:00
Wu Zhong
5a2b9b2c51
Merge pull request #2451 from dreampiggy/fix_cache_key_filter
...
Fix the bug that `SDWebImageContextCacheKeyFilter` wrongly be used as cache serializer and cause crash
2018-08-17 21:59:01 +08:00
DreamPiggy
0fb7268d2e
Add the test case for cache serializer feature
2018-08-17 17:58:27 +08:00
DreamPiggy
b400b51cca
Fix the bug that `SDWebImageContextCacheKeyFilter` wrongly be used as cache serializer and cause crash
2018-08-17 17:20:17 +08:00
DreamPiggy
39893fbdac
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
# Conflicts:
# Tests/Tests/SDCategoriesTests.m
# Tests/Tests/SDTestCase.h
# Tests/Tests/SDTestCase.m
2018-08-17 16:19:09 +08:00
DreamPiggy
8f5cba5708
Merge pull request #2416 from bpoplauschi/update_contributing
...
Added a bit more description to the way to contribute to this project.
2018-08-17 15:35:35 +08:00
DreamPiggy
3966200d6a
Merge pull request #2434 from dreampiggy/test_coder
...
Add more tests for image decoding/encoding part
2018-08-17 14:56:39 +08:00
DreamPiggy
26ebbba807
Merge pull request #2438 from dreampiggy/test_view_category
...
Add the test cases for View Transition and View Indicator, both iOS && macOS
2018-08-17 14:46:42 +08:00