Overview
Comment: | Rename -[cacheWrites] to -[bufferWrites]. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c5c17fdd30fecc21910629d0ba77e626 |
User & Date: | js on 2010-04-09 20:11:22 |
Other Links: | manifest | tags |
Context
2010-04-10
| ||
13:32 | Prevent repeated evaluation of i in OF_BSWAP{16,32,64}_CONST. check-in: c5b72902da user: js tags: trunk | |
2010-04-09
| ||
20:11 | Rename -[cacheWrites] to -[bufferWrites]. check-in: c5c17fdd30 user: js tags: trunk | |
17:06 | Flush the write cache before seeking. check-in: c509ecf6c7 user: js tags: trunk | |
Changes
Modified src/OFSeekableStream.m from [943a2b61b5] to [8a407eb24d].
︙ | |||
29 30 31 32 33 34 35 | 29 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 | - + - + - + | { @throw [OFNotImplementedException newWithClass: isa selector: _cmd]; } - seekToOffset: (off_t)offset { |
Modified src/OFStream.h from [8e74551eac] to [33ab04595d].
︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - - - + + + | * _writeNBytes:fromBuffer: and _atEndOfStream, but nothing else. Those are not * defined in the headers, but do the actual work. OFStream uses those and does * all the caching and other stuff. If you override these methods without the * _ prefix, you *WILL* break caching and get broken results! */ @interface OFStream: OFObject { |
︙ | |||
162 163 164 165 166 167 168 | 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | - + - + - + | * \return The line that was read, autoreleased, or nil if the end of the * stream has been reached. */ - (OFString*)readTillDelimiter: (OFString*)delimiter withEncoding: (enum of_string_encoding)encoding; /** |
︙ |
Modified src/OFStream.m from [7fc39d31ba] to [86bdcc3dab].
︙ | |||
33 34 35 36 37 38 39 | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - + | self = [super init]; if (isa == [OFStream class]) @throw [OFNotImplementedException newWithClass: isa selector: _cmd]; cache = NULL; |
︙ | |||
493 494 495 496 497 498 499 | 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 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 | - + - + - + - + - - + + - - - - + + + + - + - - - - + + + + | [self freeMemory: tmp]; } /* Get rid of a warning, never reached anyway */ assert(0); } |
︙ |