115 Commits

Author SHA1 Message Date
onevcat
7e89cf95df Update import for warnings 2023-08-26 13:51:57 +09:00
onevcat
fcfc8f68d9 Fix xcframework build warnings 2023-08-26 13:30:37 +09:00
Wei Wang
8816d9c485 Merge pull request #2124 from onevcat/feature/visionOS
Sync changes for visionOS to master
2023-08-16 09:29:52 +08:00
Simon Støvring
c56d402b95 Includes checks for visionOS 2023-08-15 12:59:21 +02:00
임승혁
adc54d07df Fixed a typo for prefetchQueue. 2023-08-01 17:17:17 +09:00
Kai Maschke
fb08982521 Added a public init to ImageDownloadResult 2023-06-29 14:38:01 +02:00
onevcat
2de05818b8 Expose the receive response delegate 2023-03-14 23:03:47 +09:00
Iggy Drougge
6da0c40948 Remove unused url parameter 2022-06-23 17:16:56 +02:00
onevcat
40320ebff4 Fix an issue that callbacks are held even when the task is removed 2022-02-28 23:21:25 +09:00
onevcat
733d22d456 Fix typo of AuthenticationChallengeResponsable 2021-08-20 21:32:17 +09:00
onevcat
50db653e10 Use task based on download delegate
And also add tests
2021-04-10 21:21:26 +09:00
Faizan Durrani
320d91d24a Added back url accepting callback and marked deprecated
Should maintain compatibility with existing implementations while notifying users to change the implementation to the newer `URLResponse` version
2021-04-07 06:33:40 +05:00
Faizan Durrani
017397124c Modify ImageDownloaderDelegate to accept URLReponse
Changed `imageDownloader(_:didDownload:for:)` to `imageDownloader(_:didDownload:with:)` accepting the returned URLResponse from the request.

This allows modifying the image data (like decrypting) based on the response the server sends (for example a specific header)
2021-04-06 02:45:11 +05:00
Jack
30f5ae74b4 open delegate 2021-03-11 20:04:10 +08:00
Jack
ab086a9a11 open 2021-03-11 20:01:22 +08:00
Jack
cf6de34c13 open var sessionDelegate 2021-03-11 19:52:59 +08:00
Jack
d5a593aad3 public形式 2021-03-11 19:51:46 +08:00
onevcat
c8bc4f8b1f Revert "Merge pull request #1620 from wangkejie/master-extral"
This reverts commit f99d7c0cda, reversing
changes made to 3cd6ad05ef.
2021-03-09 11:51:33 +09:00
Jack
359be81473 1、 属性内部访问
2、getter/setter方法无需weak标记
2021-03-04 16:21:41 +08:00
Jack
d0c2e5cf64 private、weak修饰、提供getter 2021-03-01 17:57:11 +08:00
Jack
d26aee4373 单词错误 extral -> extra 2021-02-18 10:21:01 +08:00
727881945@qq.com
a9fd4a9419 available api 2021-02-06 19:26:28 +08:00
727881945@qq.com
d85ea54536 Extend URLSessionDataDelegate for more handler 2021-02-06 19:10:44 +08:00
onevcat
69f82004a6 Update documentation to reflect the fact 2021-01-31 22:14:39 +09:00
onevcat
78afd30ab8 Move image modifying to Kingfisher manager class 2021-01-31 15:05:01 +09:00
onevcat
21d2c77d3d Add low data mode support 2021-01-02 07:39:11 +09:00
onevcat
46d37e4324 Add some doc 2020-12-31 16:27:23 +09:00
onevcat
befd36c509 More refactor 2020-12-31 00:35:31 +09:00
onevcat
09e5f68fa8 Add escaping and tests for async test 2020-12-31 00:20:08 +09:00
onevcat
d87ee58759 Abstract async operation 2020-12-30 15:05:17 +09:00
onevcat
01f5aa076c Move method 2020-12-30 14:40:12 +09:00
onevcat
6daa736762 Combine related parameters to context 2020-12-30 13:31:07 +09:00
onevcat
31a32be4ef More function splitting and moving 2020-12-30 13:25:12 +09:00
onevcat
019d911c59 Refactor of image downloader - extract callback creation 2020-12-30 12:21:48 +09:00
onevcat
8750fe3513 Add common options setting 2020-12-22 15:26:14 +09:00
onevcat
eab64cf76d Merge branch 'master' into 6.0 2020-11-13 11:52:16 +09:00
onevcat
7b22856124 Avoid original request as much as possible 2020-10-28 09:30:42 +09:00
onevcat
346c45ac64 Avoid racing for accessing originalRequest
This patch adds/adjusts some lock behaviors. This should help to avoid racing for accessing originalRequest properties and fix #1511
2020-10-27 23:54:06 +09:00
Wei Wang
1fc4e815da Merge pull request #1546 from onevcat/feature/KF-builder
Feature KF builder
2020-10-04 23:31:22 +09:00
Wei Wang
93217580e2 Merge pull request #1537 from Statsminizzle/bugfix/cancel_crash
Cancel moved to avoid crash
2020-09-29 22:11:25 +09:00
Niclas Heltoft
96ed421a92 Cancel moved to avoid crash 2020-09-28 16:48:46 +02:00
onevcat
0d666f2a6d Give SessionDelegate an ObjC name 2020-09-24 09:46:25 +09:00
onevcat
6036b734c7 Suppress all closure warnings 2020-09-22 23:30:49 +09:00
onevcat
fa687bfd43 Add support for KF shorthand 2020-09-22 21:04:52 +09:00
onevcat
3e5e3fc0ab Add documentation for retry strategy 2020-05-12 23:39:08 +09:00
onevcat
3ac7b60a27 Add tests for retry strategy 2020-05-08 01:19:11 +09:00
onevcat
89028609b4 Add logic for retry RetryStrategy 2020-05-05 18:25:04 +09:00
onevcat
9ba0164d46 Define retry strategy 2020-05-04 11:11:06 +09:00
onevcat
150f448a96 Replace unowned with weak references 2020-04-02 09:35:10 +09:00
onevcat
b382de4e9a Converts local resource to file provider 2020-01-16 22:51:10 +09:00