| Comment: | OFObject: Change type of -[hash] to unsigned long
The internal hash is still 32 bit in most places, but this way, it is at |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
aeb403a1ed86aa0e6461f35b1c3d2128 |
| User & Date: | js on 2020-10-10 14:27:37 |
| Other Links: | manifest | tags |
|
2020-10-10
| ||
| 14:43 | Fix accidental type change (check-in: c14f0fc208 user: js tags: trunk) | |
| 14:27 | OFObject: Change type of -[hash] to unsigned long (check-in: aeb403a1ed user: js tags: trunk) | |
| 11:09 | ofhttp: Add --ignore-status option (check-in: 3162555b75 user: js tags: trunk) | |
Modified src/OFASN1BitString.m from [2a56c21bf5] to [58adebf4a8].
| ︙ | |||
168 169 170 171 172 173 174 | 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | - + - + | return false; if (bitString->_bitStringLength != _bitStringLength) return false; return true; } |
Modified src/OFASN1Boolean.m from [435f978afe] to [ab43e337d1].
| ︙ | |||
100 101 102 103 104 105 106 | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - + - + | if (boolean->_booleanValue != _booleanValue) return false; return true; } |
Modified src/OFASN1Enumerated.m from [78253ff0bd] to [ba2cabe5ff].
| ︙ | |||
87 88 89 90 91 92 93 | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | - + - + | if (enumerated->_longLongValue != _longLongValue) return false; return true; } |
Modified src/OFASN1IA5String.m from [c986963291] to [6816147795].
| ︙ | |||
108 109 110 111 112 113 114 | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | - + | if (![IA5String->_IA5StringValue isEqual: _IA5StringValue]) return false; return true; } |
Modified src/OFASN1Integer.m from [39a371a7d5] to [e6486b0fce].
| ︙ | |||
109 110 111 112 113 114 115 | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - + - + | if (integer->_longLongValue != _longLongValue) return false; return true; } |
Modified src/OFASN1NumericString.m from [bebd01e80f] to [1f3277f085].
| ︙ | |||
120 121 122 123 124 125 126 | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | - + | if (![numericString->_numericStringValue isEqual: _numericStringValue]) return false; return true; } |
Modified src/OFASN1ObjectIdentifier.m from [13ae15fdce] to [0496bf5735].
| ︙ | |||
165 166 167 168 169 170 171 | 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | - + | if (![objectIdentifier->_subidentifiers isEqual: _subidentifiers]) return false; return true; } |
Modified src/OFASN1OctetString.m from [72ec0acbc8] to [3d5ad35b08].
| ︙ | |||
93 94 95 96 97 98 99 | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | - + | if (![octetString->_octetStringValue isEqual: _octetStringValue]) return false; return true; } |
Modified src/OFASN1PrintableString.m from [fb2d5a3a36] to [d326d7d84e].
| ︙ | |||
140 141 142 143 144 145 146 | 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | - + | if (![printableString->_printableStringValue isEqual: _printableStringValue]) return false; return true; } |
Modified src/OFASN1UTF8String.m from [7ebbe5d5f6] to [fe525c2cd3].
| ︙ | |||
107 108 109 110 111 112 113 | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | - + | if (![UTF8String->_UTF8StringValue isEqual: _UTF8StringValue]) return false; return true; } |
Modified src/OFASN1Value.m from [2cb0a2171f] to [e6d6355cac].
| ︙ | |||
95 96 97 98 99 100 101 | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | - + | return false; if (![value->_DEREncodedContents isEqual: _DEREncodedContents]) return false; return true; } |
| ︙ |
Modified src/OFAdjacentArray.m from [8ce426fd6f] to [b6ccf04769].
| ︙ | |||
304 305 306 307 308 309 310 | 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 | - + | for (size_t i = 0; i < count; i++) if (![objects[i] isEqual: otherObjects[i]]) return false; return true; } |
| ︙ |
Modified src/OFArray.m from [76b22a5fc0] to [3a99f337b3].
| ︙ | |||
511 512 513 514 515 516 517 | 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | - + | if (![[self objectAtIndex: i] isEqual: [otherArray objectAtIndex: i]]) return false; return true; } |
| ︙ |
Modified src/OFColor.m from [cc4d687d8e] to [442896ccaa].
| ︙ | |||
118 119 120 121 122 123 124 | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | - + | return false; if (other->_alpha != _alpha) return false; return true; } |
| ︙ |
Modified src/OFConstantString.m from [0761b10d3a] to [0adc85a65a].
| ︙ | |||
256 257 258 259 260 261 262 | 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 | - + |
- (bool)isEqual: (id)object
{
[self finishInitialization];
return [self isEqual: object];
}
|
| ︙ |
Modified src/OFDNSQuery.m from [fef90630f2] to [7b9ce87bc6].
| ︙ | |||
89 90 91 92 93 94 95 | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - + | return false; if (query->_recordType != _recordType) return false; return true; } |
| ︙ |
Modified src/OFDNSResourceRecord.m from [08b68e10ee] to [2126cc3910].
| ︙ | |||
239 240 241 242 243 244 245 | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 | - + | if (!of_socket_address_equal(&record->_address, &_address)) return false; return true; } |
| ︙ | |||
325 326 327 328 329 330 331 | 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 | - + | if (!of_socket_address_equal(&record->_address, &_address)) return false; return true; } |
| ︙ | |||
421 422 423 424 425 426 427 | 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 | - + | if (record->_alias != _alias && ![record->_alias isEqual: _alias]) return false; return true; } |
| ︙ | |||
524 525 526 527 528 529 530 | 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 | - + | if (record->_OS != _OS && ![record->_OS isEqual: _OS]) return false; return true; } |
| ︙ | |||
629 630 631 632 633 634 635 | 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 | - + | if (record->_mailExchange != _mailExchange && ![record->_mailExchange isEqual: _mailExchange]) return false; return true; } |
| ︙ | |||
730 731 732 733 734 735 736 | 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 | - + | if (record->_authoritativeHost != _authoritativeHost && ![record->_authoritativeHost isEqual: _authoritativeHost]) return false; return true; } |
| ︙ | |||
828 829 830 831 832 833 834 | 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 | - + | if (record->_domainName != _domainName && ![record->_domainName isEqual: _domainName]) return false; return true; } |
| ︙ | |||
933 934 935 936 937 938 939 | 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 | - + | if (record->_TXTDomainName != _TXTDomainName && ![record->_TXTDomainName isEqual: _TXTDomainName]) return false; return true; } |
| ︙ | |||
1069 1070 1071 1072 1073 1074 1075 | 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 | - + | if (record->_minTTL != _minTTL) return false; return true; } |
| ︙ | |||
1210 1211 1212 1213 1214 1215 1216 | 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 | - + | if (record->_port != _port) return false; return true; } |
| ︙ | |||
1315 1316 1317 1318 1319 1320 1321 | 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 | - + | if (record->_textStrings != _textStrings && ![record->_textStrings isEqual: _textStrings]) return false; return true; } |
| ︙ |
Modified src/OFDNSResponse.m from [2d2248bdf2] to [f58f953bdc].
| ︙ | |||
98 99 100 101 102 103 104 | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | - + | if (response->_additionalRecords != _additionalRecords && ![response->_additionalRecords isEqual: _additionalRecords]) return false; return true; } |
| ︙ |
Modified src/OFData.m from [63de509839] to [fe0918c4c9].
| ︙ | |||
485 486 487 488 489 490 491 | 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 | - + | if (comparison > 0) return OF_ORDERED_DESCENDING; else return OF_ORDERED_ASCENDING; } |
| ︙ |
Modified src/OFDate.m from [996b4908b2] to [f5afc23b94].
| ︙ | |||
534 535 536 537 538 539 540 | 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 | - + | if (otherDate.timeIntervalSince1970 != self.timeIntervalSince1970) return false; return true; } |
| ︙ |
Modified src/OFDictionary.m from [9428854186] to [505aa3e10f].
| ︙ | |||
593 594 595 596 597 598 599 | 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 | - + - + - - + + | [new makeImmutable]; return new; } #endif |
| ︙ |
Modified src/OFHTTPCookie.m from [1fa52c5268] to [a6b5d4bf43].
| ︙ | |||
359 360 361 362 363 364 365 | 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; } |
| ︙ |
Modified src/OFHTTPRequest.m from [2b2b69fc08] to [5fbba85cad].
| ︙ | |||
181 182 183 184 185 186 187 | 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | - + | if (request.remoteAddress != self.remoteAddress && !of_socket_address_equal(request.remoteAddress, self.remoteAddress)) return false; return true; } |
| ︙ |
Modified src/OFList.m from [58e8774a64] to [2cea85f754].
| ︙ | |||
318 319 320 321 322 323 324 | 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 | - + | } copy->_lastListObject = listObject; return copy; } |
| ︙ |
Modified src/OFMapTable.h from [c882862b86] to [7fe069efae].
| ︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - + |
*/
struct of_map_table_functions_t {
/** The function to retain keys / objects */
void *_Nullable (*_Nullable retain)(void *_Nullable object);
/** The function to release keys / objects */
void (*_Nullable release)(void *_Nullable object);
/** The function to hash keys */
|
| ︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | - + |
* and objects should be retained, released, compared and hashed.
*/
OF_SUBCLASSING_RESTRICTED
@interface OFMapTable: OFObject <OFCopying, OFFastEnumeration>
{
of_map_table_functions_t _keyFunctions, _objectFunctions;
struct of_map_table_bucket *_Nonnull *_Nullable _buckets;
|
| ︙ | |||
238 239 240 241 242 243 244 | 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 | - - - + + - |
* @brief A class which provides methods to enumerate through an OFMapTable's
* keys or objects.
*/
@interface OFMapTableEnumerator: OFObject
{
OFMapTable *_mapTable;
struct of_map_table_bucket *_Nonnull *_Nullable _buckets;
|
| ︙ |
Modified src/OFMapTable.m from [ec26b7463a] to [8775708778].
| ︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - + - + - + - + - + |
#import "OFInvalidArgumentException.h"
#import "OFOutOfRangeException.h"
#define MIN_CAPACITY 16
struct of_map_table_bucket {
void *key, *object;
|
| ︙ | |||
141 142 143 144 145 146 147 | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | - - + + - + - + - + | SET_DEFAULT(_objectFunctions.retain, defaultRetain); SET_DEFAULT(_objectFunctions.release, defaultRelease); SET_DEFAULT(_objectFunctions.hash, defaultHash); SET_DEFAULT(_objectFunctions.equal, defaultEqual); #undef SET_DEFAULT |
| ︙ | |||
201 202 203 204 205 206 207 | 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 | - + - + - + - + - - + + - + - + | mapTable = object; if (mapTable->_count != _count || mapTable->_keyFunctions.equal != _keyFunctions.equal || mapTable->_objectFunctions.equal != _objectFunctions.equal) return false; |
| ︙ | |||
291 292 293 294 295 296 297 | 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 | - + - + - + - + - + - + | if (_keyFunctions.equal(_buckets[i]->key, key)) return _buckets[i]->object; } return NULL; } |
| ︙ | |||
352 353 354 355 356 357 358 | 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 | - + - + | [self freeMemory: _buckets]; _buckets = buckets; _capacity = capacity; } - (void)of_setObject: (void *)object forKey: (void *)key |
| ︙ | |||
448 449 450 451 452 453 454 | 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 | - + |
[self of_setObject: object
forKey: key
hash: _keyFunctions.hash(key)];
}
- (void)removeObjectForKey: (void *)key
{
|
| ︙ | |||
504 505 506 507 508 509 510 | 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 | - + |
return;
}
}
}
- (void)removeAllObjects
{
|
| ︙ | |||
538 539 540 541 542 543 544 | 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 | - + - + |
}
- (bool)containsObject: (void *)object
{
if (object == NULL || _count == 0)
return false;
|
| ︙ | |||
581 582 583 584 585 586 587 | 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 | - + |
mutationsPointer: &_mutations] autorelease];
}
- (int)countByEnumeratingWithState: (of_fast_enumeration_state_t *)state
objects: (id *)objects
count: (int)count
{
|
| ︙ | |||
654 655 656 657 658 659 660 | 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 | - + |
- (instancetype)init
{
OF_INVALID_INIT_METHOD
}
- (instancetype)of_initWithMapTable: (OFMapTable *)mapTable
buckets: (struct of_map_table_bucket **)buckets
|
| ︙ |
Modified src/OFMapTableDictionary.m from [7eeaf3a50d] to [d2c4c5ea8c].
| ︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | - + |
static void
release(void *object)
{
[(id)object release];
}
|
| ︙ | |||
442 443 444 445 446 447 448 | 442 443 444 445 446 447 448 449 450 451 452 453 | - + |
} @catch (OFEnumerationMutationException *e) {
@throw [OFEnumerationMutationException
exceptionWithObject: self];
}
}
#endif
|
Modified src/OFMapTableSet.m from [9e9f04ba7b] to [6da1f132a2].
| ︙ | |||
37 38 39 40 41 42 43 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | - + |
static void
release(void *object)
{
[(id)object release];
}
|
| ︙ |
Modified src/OFMessagePackExtension.m from [c468d48f16] to [0041614de1].
| ︙ | |||
173 174 175 176 177 178 179 | 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | - + | if (extension->_type != _type || ![extension->_data isEqual: _data]) return false; return true; } |
| ︙ |
Modified src/OFNumber.m from [eeab93bc59] to [80a9f3f337].
| ︙ | |||
983 984 985 986 987 988 989 | 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 | - + | if (uint1 < uint2) return OF_ORDERED_ASCENDING; return OF_ORDERED_SAME; } } |
| ︙ |
Modified src/OFObject.h from [de7a4dbfdc] to [2f5277b92c].
| ︙ | |||
318 319 320 321 322 323 324 | 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 | - + | * * @warning If you reimplement this, you also need to reimplement @ref isEqual: * to behave in a way compatible to your reimplementation of this * method! * * @return A 32 bit hash for the object */ |
| ︙ | |||
541 542 543 544 545 546 547 | 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 | - + | # ifdef __cplusplus @property (readonly, nonatomic) Class class; # else @property (readonly, nonatomic, getter=class) Class class_; #endif @property OF_NULLABLE_PROPERTY (readonly, nonatomic) Class superclass; |
| ︙ |
Modified src/OFObject.m from [73163cea94] to [c2480d6470].
| ︙ | |||
1021 1022 1023 1024 1025 1026 1027 | 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 | - + |
}
- (bool)isEqual: (id)object
{
return (object == self);
}
|
| ︙ |
Modified src/OFOptionsParser.m from [91dcfe7c0f] to [a777f53d6b].
| ︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - + | #import "OFOptionsParser.h" #import "OFApplication.h" #import "OFArray.h" #import "OFMapTable.h" #import "OFInvalidArgumentException.h" |
| ︙ |
Modified src/OFPair.m from [a27e0f483b] to [6855a79df9].
| ︙ | |||
81 82 83 84 85 86 87 | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | - + | if (pair->_secondObject != _secondObject && ![pair->_secondObject isEqual: _secondObject]) return false; return true; } |
| ︙ |
Modified src/OFSandbox.m from [66d9366bf3] to [103c5612bc].
| ︙ | |||
465 466 467 468 469 470 471 | 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 | - + | return false; if (sandbox->_returnsErrors != _returnsErrors) return false; return true; } |
| ︙ |
Modified src/OFSet.m from [e3c9e370a2] to [fd18f62182].
| ︙ | |||
294 295 296 297 298 299 300 | 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 | - + - + - + | if (set.count != self.count) return false; return [set isSubsetOfSet: self]; } |
| ︙ |
Modified src/OFString.m from [a28b46c55c] to [91d4470735].
| ︙ | |||
1658 1659 1660 1661 1662 1663 1664 | 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 | - + | return OF_ORDERED_DESCENDING; if (length < otherLength) return OF_ORDERED_ASCENDING; return OF_ORDERED_SAME; } |
| ︙ |
Modified src/OFTriple.m from [132f7da5da] to [9a522e8d33].
| ︙ | |||
95 96 97 98 99 100 101 | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | - + | if (triple->_thirdObject != _thirdObject && ![triple->_thirdObject isEqual: _thirdObject]) return false; return true; } |
| ︙ |
Modified src/OFURL.m from [00f085f9ce] to [0558fd50c5].
| ︙ | |||
846 847 848 849 850 851 852 | 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 | - + | if (URL->_URLEncodedFragment != _URLEncodedFragment && ![URL->_URLEncodedFragment isEqual: _URLEncodedFragment]) return false; return true; } |
| ︙ |
Modified src/OFUTF8String.h from [3d372b3717] to [e49ea36f6c].
| ︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + |
*/
struct of_string_utf8_ivars {
char *cString;
size_t cStringLength;
bool isUTF8;
size_t length;
bool hashed;
|
| ︙ |
Modified src/OFUTF8String.m from [03dadccc61] to [d8b3a6972a].
| ︙ | |||
925 926 927 928 929 930 931 | 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 | - + | else if (_s->cStringLength - i < otherCStringLength - j) return OF_ORDERED_ASCENDING; #endif return OF_ORDERED_SAME; } |
| ︙ |
Modified src/OFValue.m from [a224fd5a05] to [c1cd16a470].
| ︙ | |||
204 205 206 207 208 209 210 | 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 | - + | free(value); free(otherValue); } return ret; } |
| ︙ |
Modified src/OFXMLAttribute.m from [e9a34efaab] to [182fa6d94f].
| ︙ | |||
136 137 138 139 140 141 142 | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | - + | return false; if (![attribute->_stringValue isEqual: _stringValue]) return false; return true; } |
| ︙ |
Modified src/OFXMLCDATA.m from [f85cf9a41b] to [bc1aa40b4f].
| ︙ | |||
84 85 86 87 88 89 90 | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | - + | return false; CDATA = object; return ([CDATA->_CDATA isEqual: _CDATA]); } |
| ︙ |
Modified src/OFXMLCharacters.m from [d05a22ddc3] to [a2bb78c19c].
| ︙ | |||
84 85 86 87 88 89 90 | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | - + | return false; characters = object; return ([characters->_characters isEqual: _characters]); } |
| ︙ |
Modified src/OFXMLComment.m from [69c4d2c798] to [cfed32bae5].
| ︙ | |||
86 87 88 89 90 91 92 | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | - + | return false; comment = object; return ([comment->_comment isEqual: _comment]); } |
| ︙ |
Modified src/OFXMLElement.m from [a8d9602939] to [804319c0a1].
| ︙ | |||
1062 1063 1064 1065 1066 1067 1068 | 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 | - + | if (element->_children != _children && ![element->_children isEqual: _children]) return false; return true; } |
| ︙ |
Modified src/OFXMLProcessingInstructions.m from [c927bb8870] to [7c38ca2413].
| ︙ | |||
87 88 89 90 91 92 93 | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | - + | processingInstructions = object; return [processingInstructions->_processingInstructions isEqual: _processingInstructions]; } |
| ︙ |
Modified src/macros.h from [76df5e8f5b] to [43e7dc4d8f].
| ︙ | |||
810 811 812 813 814 815 816 | 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 | - + |
{ \
hash += (hash << 3); \
hash ^= (hash >> 11); \
hash += (hash << 15); \
}
#define OF_HASH_ADD_HASH(hash, other) \
{ \
|
| ︙ |
Modified src/runtime/arc.m from [7f174d7d34] to [d8155e4574].
| ︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + | }; static struct objc_hashtable *hashtable; #ifdef OF_HAVE_THREADS static of_spinlock_t spinlock; #endif |
| ︙ |
Modified src/socket.h from [5c636947ff] to [750c66c5d1].
| ︙ | |||
215 216 217 218 219 220 221 | 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | - + | /** * @brief Returns the hash for the specified of_socket_address_t. * * @param address The address to hash * @return The hash for the specified of_socket_address_t */ |
| ︙ |
Modified src/socket.m from [e490baa3be] to [4343bc563f].
| ︙ | |||
604 605 606 607 608 609 610 | 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 | - + | default: @throw [OFInvalidArgumentException exception]; } return true; } |
| ︙ |