DreamPiggy
915278bfd8
Update the comments and demo for macOS
2018-03-29 19:43:34 +08:00
DreamPiggy
5da5ec92fb
Add the test for APNG coder
2018-03-29 17:59:32 +08:00
DreamPiggy
082c5af565
Add APNG coder to support static PNG & APNG rendering. Also update macOS's SDAnimatedImageRep
2018-03-29 17:45:56 +08:00
DreamPiggy
beb958bd08
Merge pull request #2140 from dreampiggy/refactor_coder_animation
...
Introduce SDAnimatedImageView, SDAnimatedImage and do refactory
2018-03-29 14:47:30 +08:00
DreamPiggy
920d61f47e
Separate the image class and coder class's protocol. Make this two more modular
2018-03-29 14:16:27 +08:00
DreamPiggy
16d39e4982
Remove the unused NSImageView imageScale and alignment override
2018-03-29 02:50:05 +08:00
DreamPiggy
f0f23a76f1
Update the comments
2018-03-29 02:41:34 +08:00
DreamPiggy
82e3779426
Fix the macOS animated image rendering issue by using the correct layer
2018-03-29 02:33:38 +08:00
DreamPiggy
a6d61c409d
Fix compile issue and test
2018-03-25 20:44:41 +08:00
DreamPiggy
d49d7f7c0a
Add the removal and status method for animated image preloading. Update the comments
2018-03-25 17:32:48 +08:00
DreamPiggy
5e09c6bf19
Add support for imageNamed: in SDAnimatedImage with bundle files
2018-03-25 17:32:48 +08:00
DreamPiggy
7e83d78ca3
Add tests about SDAnimatedImage SDAnimatedImageView and SDAnimatedImage+WebCache
2018-03-25 17:32:48 +08:00
DreamPiggy
4563e714d7
Support progressive decoding for animated image. A little refactory to make coder protocol more readable
2018-03-25 17:32:19 +08:00
DreamPiggy
f94dd00c52
Use the context arg to pass the SDAnimatedImage class to create the instance by image cache and downloader.
...
Also enhance view category to support firstFrameOnly, scaleFactor and preload
2018-03-25 17:29:11 +08:00
DreamPiggy
87bbcdc46f
Introduce SDAnimatedImage and SDAnimatedImageView for high performance animated image rendering on iOS & macOS
2018-03-25 17:23:12 +08:00
DreamPiggy
34cca584c2
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
2018-03-24 20:40:55 +08:00
DreamPiggy
1efc247400
Merge branch 'refactor_prefetcher' of https://github.com/dreampiggy/SDWebImage into 5.x
2018-03-24 20:36:03 +08:00
DreamPiggy
1c8205b17d
Use a weak pointer array to avoid prefetch token strong reference to the operation. And fix the thread-safe problem.
2018-03-24 20:31:34 +08:00
DreamPiggy
d6cb5adab8
Merge pull request #2260 from dreampiggy/fix_wrong_nsarray_generics
...
Fix the wrong declaration of NSArray generics
2018-03-24 14:32:49 +08:00
DreamPiggy
bb5bd74b81
Fix the wrong declaration of NSArray generics
2018-03-23 22:09:04 +08:00
DreamPiggy
3196a6b678
Merge pull request #2219 from dreampiggy/feature_image_transformer
...
Feature image transformer
2018-03-23 16:20:42 +08:00
DreamPiggy
ec7927b25a
Update the transformer to use as immutable class. Move the tests into SDWebImageTransformerTests
2018-03-23 15:48:58 +08:00
DreamPiggy
ed0100c323
Move the NSBezierPath and UIColor category into implementation because it's now for internal use only
2018-03-18 23:00:35 +08:00
DreamPiggy
67285ee722
Add the test for transformer property
2018-03-17 22:31:28 +08:00
DreamPiggy
a2076d362e
Add sd_colorsWithRect method and test, treat RGB color with default alpha 1.0
2018-03-17 21:18:20 +08:00
DreamPiggy
57408d8313
Fix the potential leak of CFDataRef
2018-03-17 21:18:20 +08:00
DreamPiggy
3e3ec8d513
Change the hex color from 0x00000000 format to #00000000
2018-03-17 21:18:20 +08:00
DreamPiggy
aea81791ec
Fix the test on macOS. Fix the issue when using rounded corner
2018-03-17 21:18:20 +08:00
DreamPiggy
d0df01bec1
Complete the 8 tests for all image transform methods, well done
2018-03-17 21:18:19 +08:00
DreamPiggy
01402c0369
Add one `colorAtPoint` to help user get the pixel color. Expose the category for `UIColor` and `NSBezierPath` because it can be used in common cases
2018-03-17 21:18:19 +08:00
DreamPiggy
8742e21fab
Do not expose the separator because of extensibility, use a function instead
2018-03-17 21:18:19 +08:00
DreamPiggy
44d266af7c
Add transformer property in manager level to allow a central control of image transform(optional)
2018-03-17 21:18:19 +08:00
DreamPiggy
464d725368
Adopt the transformer to cache & manager. Use a new context option SDWebImageContextCustomTransformer to bind the transformer
...
Drop old way of delegate method for transformer. Add two new delegate methods to allow advanced use case after we remove that.
2018-03-17 21:18:19 +08:00
DreamPiggy
b4ea87f6c5
Add image transformer protocol and class. Add UIImage+Transformer category including common image geometry, tinting, blur effect processor.
2018-03-17 21:18:19 +08:00
DreamPiggy
5ff999f3d1
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
* 'master' of https://github.com/rs/SDWebImage :
Bumped version to 4.3.3
Add cacheKeyFilter to allow user provide modified version of data when storing the disk cache in SDWebImageManager
# Conflicts:
# SDWebImage/SDWebImageManager.h
2018-03-13 00:04:35 +08:00
DreamPiggy
dc5c974b89
Bumped version to 4.3.3
...
update CHANGELOG
2018-03-12 23:06:02 +08:00
DreamPiggy
9ca9fa3d96
Merge pull request #2245 from dreampiggy/feature_cache_serializer
...
Add cacheKeyFilter to allow user provide modified version of data when storing the disk cache in SDWebImageManager
2018-03-12 22:57:34 +08:00
DreamPiggy
5e1093615c
Merge branch 'refactor_api_style' into 5.x
...
* refactor_api_style:
Update the comments for `operationClass`
2018-03-11 19:14:43 +08:00
DreamPiggy
96990ab9e7
Update the comments for `operationClass`
2018-03-11 19:12:03 +08:00
DreamPiggy
4aa48267a1
Merge pull request #2250 from dreampiggy/refactor_api_style
...
Refactor api style
2018-03-11 18:44:02 +08:00
DreamPiggy
c9dfe39e36
Change all sharedInstance from method to class property
2018-03-11 16:08:33 +08:00
DreamPiggy
e0ad0711da
Mark two set method in SDWebImageDownloader as property
2018-03-11 15:53:18 +08:00
DreamPiggy
a6fc140f36
Merge pull request #2191 from dreampiggy/refactor_prefetcher
...
Refactor the implementation of SDWebImagePrefetcher
2018-03-09 19:12:00 +08:00
DreamPiggy
6f40adbaa0
Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
...
* 'master' of https://github.com/rs/SDWebImage :
Add a delegate method to control the custom logic when blocking the failed url
Clarify the block comment in SDWebImageManager
Enable CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
# Conflicts:
# SDWebImage/SDImageCache.m
2018-03-09 16:52:46 +08:00
DreamPiggy
91e4118b6e
Merge pull request #2246 from dreampiggy/feature_failed_url_delegate
...
Add a delegate method to control the custom logic when blocking the failed url
2018-03-09 16:42:08 +08:00
DreamPiggy
f364962004
Add a delegate method to control the custom logic when blocking the failed url
2018-03-08 12:45:12 +08:00
DreamPiggy
51024a34f7
Add cacheKeyFilter to allow user provide modified version of data when storing the disk cache in SDWebImageManager
2018-03-08 12:13:52 +08:00
DreamPiggy
92cb7cd8fc
Merge pull request #2242 from sberrevoets/master
...
Enable CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
2018-03-08 10:46:38 +08:00
DreamPiggy
2aa7aefa2e
Merge pull request #2244 from wuwm/master
...
Clarify the block comment in SDWebImageManager
2018-03-08 10:46:08 +08:00
Weiming Wu
09639a8795
Clarify the block comment in SDWebImageManager
2018-03-07 18:09:48 -08:00