Skip to content

Commit cec8772

Browse files
author
karisli
committed
# 5.8.8
1 parent 366e300 commit cec8772

File tree

13 files changed

+37
-43
lines changed

13 files changed

+37
-43
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
# 5.8.8
2+
- 修复低版本mac的crash
3+
- 其他修复
4+
5+
16
# 5.8.7
2-
- 支持图片标签识别、盲水印相关接口
3-
- 支持断点下载,修复高级下载接口无法取消的问题
7+
- 支持图片标签识别/-支持
48

59
# 5.8.6
6-
一、 新增数据万象接口:
7-
1. 上传时、下载时二维码识别
8-
2. 云上数据处理
9-
二、灯塔上报修复
1010

1111

1212
# 5.8.5

QCloudCOSXML.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "QCloudCOSXML"
33

4-
s.version = "5.8.7"
4+
s.version = "5.8.8"
55

66
s.summary = "QCloudCOSXML 腾讯云iOS-SDK组件"
77

@@ -20,15 +20,15 @@ s.version = "5.8.7"
2020
s.subspec 'Default' do |default|
2121
default.source_files = 'QCloudCOSXML/Classes/**/*','Models/request.model','QCloudCOSXML/Classes/QCloudCOSXML/*'
2222

23-
default.dependency "QCloudCore",'5.8.7'
23+
default.dependency "QCloudCore",'5.8.8'
2424
end
2525
s.subspec 'Slim' do |slim|
2626
slim.source_files = 'QCloudCOSXML/Classes/**/*','Models/request.model','QCloudCOSXML/Classes/QCloudCOSXML/*'
27-
slim.dependency "QCloudCore/WithoutMTA",'5.8.7'
27+
slim.dependency "QCloudCore/WithoutMTA",'5.8.8'
2828
end
2929
s.subspec 'Transfer' do |transfer|
3030
transfer.source_files = 'QCloudCOSXML/Classes/*','QCloudCOSXML/Classes/Transfer/**/*','QCloudCOSXML/Classes/Base/**/*'
31-
transfer.dependency "QCloudCore/WithoutMTA",'5.8.7'
31+
transfer.dependency "QCloudCore/WithoutMTA",'5.8.8'
3232
end
3333

3434
end

QCloudCOSXML/Classes/QCloudCOSXMLVersion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
#ifndef QCloudCOSXMLModuleVersion_h
77
#define QCloudCOSXMLModuleVersion_h
8-
#define QCloudCOSXMLModuleVersionNumber 508007
8+
#define QCloudCOSXMLModuleVersionNumber 508008
99

1010
//dependency
1111

1212
//
1313
FOUNDATION_EXTERN NSString * const QCloudCOSXMLModuleVersion;
1414
FOUNDATION_EXTERN NSString * const QCloudCOSXMLModuleName;
1515

16-
#endif
16+
#endif

QCloudCOSXML/Classes/QCloudCOSXMLVersion.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#import "QCloudCOSXMLVersion.h"
2-
NSString * const QCloudCOSXMLModuleVersion = @"5.8.7";
3-
2+
NSString * const QCloudCOSXMLModuleVersion = @"5.8.8";
43
NSString * const QCloudCOSXMLModuleName = @"QCloudCOSXML";
54
@interface QCloudQCloudCOSXMLLoad : NSObject
65
@end
@@ -27,4 +26,4 @@ + (void) load
2726
#pragma clang diagnostic pop
2827
}
2928
}
30-
@end
29+
@end

QCloudCore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |s|
1010
s.name = "QCloudCore"
1111

12-
s.version = "5.8.7"
12+
s.version = "5.8.8"
1313

1414

1515
s.summary = "QCloudCore--腾讯云iOS-SDK Foundation"

QCloudCore/Classes/Base/QCLOUDRestNet/SessionSupport/QCloudHTTPSessionManager.m

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ - (int)performRequest:(QCloudHTTPRequest *)request {
179179
[_operationQueue addOpreation:operation];
180180
return (int)request.requestID;
181181
}
182-
182+
#if TARGET_OS_IOS
183183
// only work at iOS 10 and up
184184
- (void)URLSession:(NSURLSession *)session
185185
task:(NSURLSessionTask *)task
@@ -208,17 +208,13 @@ - (void)URLSession:(NSURLSession *)session
208208
forKey:kDnsLookupTookTime];
209209
}
210210
if (@available(ios 13.0, *)) {
211-
[taskData.httpRequest.benchMarkMan directSetValue:networkMetrics.localAddress forKey:kLocalAddress];
212211
[taskData.httpRequest.benchMarkMan directSetValue:networkMetrics.localPort forKey:kLocalPort];
213212
[taskData.httpRequest.benchMarkMan directSetValue:networkMetrics.remoteAddress forKey:kRemoteAddress];
214213
[taskData.httpRequest.benchMarkMan directSetValue:networkMetrics.remotePort forKey:kRemotePort];
215214
}
216-
// [taskData.httpRequest.benchMarkMan directSetCost:[networkMetrics.requestEndDate
217-
// timeIntervalSinceDate:networkMetrics.requestStartDate] forKey:@"upload"]; [taskData.httpRequest.benchMarkMan
218-
// directSetCost:[networkMetrics.responseEndDate timeIntervalSinceDate:networkMetrics.responseStartDate] forKey:@"download"];
219215
}
220216
}
221-
217+
#endif
222218
- (void)URLSession:(NSURLSession *)session
223219
dataTask:(NSURLSessionDataTask *)dataTask
224220
didReceiveResponse:(NSURLResponse *)response

QCloudCore/Classes/Base/QCloudCategory/NSMutableData+QCloud_CRC.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
//
77

88
#import "NSMutableData+QCloud_CRC.h"
9-
#include "aos_crc64.h"
9+
#include "QCloudCRC64.h"
1010
@implementation NSMutableData (QCloud_CRC)
1111
- (uint64_t)qcloud_crc64 {
12-
return aos_crc64(0, self.mutableBytes, self.length);
12+
return qcloud_aos_crc64(0, self.mutableBytes, self.length);
1313
}
1414

1515
- (uint64_t)qcloud_crc64ForCombineCRC1:(uint64_t)crc1 CRC2:(uint64_t)crc2 length:(size_t)len2 {
16-
return aos_crc64_combine(crc1, crc2, len2);
16+
return qcloud_aos_crc64_combine(crc1, crc2, len2);
1717
}
1818
@end

QCloudCore/Classes/Base/QCloudCategory/aos_crc64.c renamed to QCloudCore/Classes/Base/QCloudCategory/QCloudCRC64.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* aos_crc64.c -- compute CRC-64
1+
/* qcloud_aos_crc64.c -- compute CRC-64
22
* Copyright (C) 2013 Mark Adler
33
* Version 1.4 16 Dec 2013 Mark Adler
44
*/
@@ -37,7 +37,7 @@
3737
1.4 16 Dec 2013 Make once variable volatile for limited thread protection
3838
*/
3939

40-
#include "aos_crc64.h"
40+
#include "QCloudCRC64.h"
4141
#include <pthread.h>
4242

4343
/* 64-bit CRC polynomial with these coefficients, but reversed:
@@ -201,7 +201,7 @@ static inline uint64_t crc64_big(uint64_t crc, void *buf, size_t len)
201201
at compile time if it can, and get rid of the unused code and table. If the
202202
endianess can be changed at run time, then this code will handle that as
203203
well, initializing and using two tables, if called upon to do so. */
204-
uint64_t aos_crc64(uint64_t crc, void *buf, size_t len)
204+
uint64_t qcloud_aos_crc64(uint64_t crc, void *buf, size_t len)
205205
{
206206
uint64_t n = 1;
207207

@@ -236,7 +236,7 @@ static void gf2_matrix_square(uint64_t *square, uint64_t *mat)
236236
/* Return the CRC-64 of two sequential blocks, where crc1 is the CRC-64 of the
237237
first block, crc2 is the CRC-64 of the second block, and len2 is the length
238238
of the second block. */
239-
uint64_t aos_crc64_combine(uint64_t crc1, uint64_t crc2, uintmax_t len2)
239+
uint64_t qcloud_aos_crc64_combine(uint64_t crc1, uint64_t crc2, uintmax_t len2)
240240
{
241241
unsigned n;
242242
uint64_t row;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#ifndef LIBAOS_CRC_H
2+
#define LIBAOS_CRC_H
3+
4+
#include <_types/_uintmax_t.h>
5+
#include <_types/_uint64_t.h>
6+
#include <stddef.h>
7+
8+
uint64_t qcloud_aos_crc64(uint64_t crc, void *buf, size_t len);
9+
uint64_t qcloud_aos_crc64_combine(uint64_t crc1, uint64_t crc2, uintmax_t len2);
10+
11+
#endif

QCloudCore/Classes/Base/QCloudCategory/aos_crc64.h

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)