Overview
Comment: | Stop using OFAutoreleasePool |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7f939be6680d5cb981b22d035d031569 |
User & Date: | js on 2017-07-23 11:35:12 |
Other Links: | manifest | tags |
Context
2017-07-23
| ||
11:57 | Change documentation style to ObjFW's style check-in: 764c514b82 user: js tags: trunk | |
11:35 | Stop using OFAutoreleasePool check-in: 7f939be668 user: js tags: trunk | |
11:19 | Adjust to ObjFW changes & small fixes check-in: efaee4fc4c user: js tags: trunk | |
Changes
Modified src/XMPPConnection.m from [728196e00a] to [6278646a4f].
︙ | |||
126 127 128 129 130 131 132 | 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | - + - + | [self join]; [_connection handleConnection]; } - (id)main { |
︙ | |||
314 315 316 317 318 319 320 | 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | - + | _password = nil; [old release]; } - (void)connect { |
︙ | |||
357 358 359 360 361 362 363 | 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 | - + - + - + | /* No SRV records -> fall back to A / AAAA record */ [_socket connectToHost: _domainToASCII port: _port]; } [self XMPP_startStream]; |
︙ | |||
518 519 520 521 522 523 524 | 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 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 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 | - + - - - + + - + - - - + + | [_socket writeString: [element XMLString]]; } - (void)sendIQ: (XMPPIQ *)IQ callbackTarget: (id)target selector: (SEL)selector { |
︙ |
Modified src/XMPPFileStorage.m from [8d2b51a333] to [f0bb23330d].
︙ | |||
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 138 139 140 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 189 190 191 192 193 194 195 196 197 198 199 200 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 | - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + | return object; } - (void)setStringValue: (OFString *)string forPath: (OFString *)path { |
Modified src/XMPPIQ.m from [4202e71e12] to [5b0d1922ef].
︙ | |||
66 67 68 69 70 71 72 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | - + - + | - (XMPPIQ *)errorIQWithType: (OFString *)type condition: (OFString *)condition text: (OFString *)text { XMPPIQ *ret = [XMPPIQ IQWithType: @"error" ID: [self ID]]; |
Modified src/XMPPMulticastDelegate.m from [067d646987] to [c39dfbfb88].
︙ | |||
70 71 72 73 74 75 76 | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - + - + - + - + | return; } } - (bool)broadcastSelector: (SEL)selector withObject: (id)object { |
Modified src/XMPPRoster.m from [7642c78519] to [c71e60e8a8].
︙ | |||
349 350 351 352 353 354 355 | 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 | - + - - + + | } } else [_dataStorage setDictionary: nil forPath: @"roster.items"]; } for (OFXMLElement *element in [rosterElement children]) { |
︙ |
Modified src/XMPPSCRAMAuth.m from [ee42191b66] to [b84765f635].
︙ | |||
429 430 431 432 433 434 435 | 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 | - + | encoding: OF_STRING_ENCODING_ASCII length: 64]; } - (const uint8_t *)XMPP_HMACWithKey: (OFData *)key data: (OFData *)data { |
︙ | |||
476 477 478 479 480 481 482 | 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 | - + + - + | length: [_hashType digestSize]]; } @finally { [self freeMemory: kI]; [self freeMemory: kO]; } [hashO retain]; |
︙ | |||
512 513 514 515 516 517 518 | 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 | - + + + - + + | result[j] ^= uOld[j]; for (j = 0; j < i - 1; j++) { tmp = [[OFMutableData alloc] init]; [tmp addItems: uOld count: digestSize]; |
Modified src/XMPPSRVLookup.m from [e13fa9dc89] to [d3b6deb6f8].
︙ | |||
178 179 180 181 182 183 184 | 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 | - + | [_domain release]; [super dealloc]; } - (void)XMPP_lookup { |
︙ | |||
231 232 233 234 235 236 237 | 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | - + - + | } @finally { [self freeMemory: answer]; #ifdef HAVE_RES_NDESTROY res_ndestroy(&_resState); #endif } |
︙ | |||
262 263 264 265 266 267 268 | 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 | - - - + | } /* We can't have one if the priority is already bigger */ if ([first priority] > [entry priority]) break; } |
︙ |