Differences From Artifact [1fa52c5268]:
- File
src/OFHTTPCookie.m
— part of check-in
[b6ee372b98]
at
2020-08-11 19:45:36
on branch trunk
— OFString: Rework number parsing API
This solves the old signed vs. unsigned problem and allows for more
bases than just 8, 10 and 16, as well as auto-detection of the base (if
base is 0). (user: js, size: 10433) [annotate] [blame] [check-ins using] [more...]
To Artifact [a6b5d4bf43]:
- File
src/OFHTTPCookie.m
— part of check-in
[aeb403a1ed]
at
2020-10-10 14:27:37
on branch trunk
— OFObject: Change type of -[hash] to unsigned long
The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (user: js, size: 10438) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
359 360 361 362 363 364 365 | if (cookie->_extensions != _extensions && ![cookie->_extensions isEqual: _extensions]) return false; return true; } | | | 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 | if (cookie->_extensions != _extensions && ![cookie->_extensions isEqual: _extensions]) return false; return true; } - (unsigned long)hash { uint32_t hash; OF_HASH_INIT(hash); OF_HASH_ADD_HASH(hash, _name.hash); OF_HASH_ADD_HASH(hash, _value.hash); OF_HASH_ADD_HASH(hash, _domain.hash); |
︙ | ︙ |