Differences From Artifact [13073ad757]:
- File
src/OFHTTPCookie.m
— part of check-in
[8896ef883e]
at
2017-05-27 08:56:47
on branch trunk
— +[OFHTTPCookie requestHeaderFieldsWithCookies:]
Also renames +[OFHTTPCookie cookiesFromHeaders:forURL:] to
+[OFHTTPCookie cookiesWithResponseHeaderFields:forURL:] to differentiate
between request and response header fields. (user: js, size: 10347) [annotate] [blame] [check-ins using] [more...]
To Artifact [e5c1061662]:
- File
src/OFHTTPCookie.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 10393) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
287 288 289 290 291 292 293 | domain: (OFString *)domain { return [[[self alloc] initWithName: name value: value domain: domain] autorelease]; } | | | | | | 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | domain: (OFString *)domain { return [[[self alloc] initWithName: name value: value domain: domain] autorelease]; } - (instancetype)init { OF_INVALID_INIT_METHOD } - (instancetype)initWithName: (OFString *)name value: (OFString *)value domain: (OFString *)domain { self = [super init]; @try { _name = [name copy]; _value = [value copy]; _domain = [domain copy]; |
︙ | ︙ | |||
372 373 374 375 376 377 378 | OF_HASH_ADD(hash, _HTTPOnly); OF_HASH_ADD_HASH(hash, [_extensions hash]); OF_HASH_FINALIZE(hash); return hash; } | | | 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 | OF_HASH_ADD(hash, _HTTPOnly); OF_HASH_ADD_HASH(hash, [_extensions hash]); OF_HASH_FINALIZE(hash); return hash; } - (id)copy { OFHTTPCookie *copy = [[OFHTTPCookie alloc] initWithName: _name value: _value domain: _domain]; @try { copy->_path = [_path copy]; |
︙ | ︙ |