ObjFW  History of src/OFSeekableStream.m of be8865bcd2fb86eb

History of the file that is called src/OFSeekableStream.m at check-in be8865bcd2fb86eb

2024-04-03
02:16
[6663c9bf74] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 1578) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[ae8338b495] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 1370) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[2562cc911f] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 1370) [annotate] [blame] [check-ins using] [diff]
2022-08-27
20:58
[b6c980d4ae] part of check-in [73f5e3aa84] OFSeekableStream: Add OFSeekWhence enum (check-in: [73f5e3aa84] user: js, branch: trunk, size: 1370) [annotate] [blame] [check-ins using] [diff]
20:39
[562c4a07bd] part of check-in [51589c6496] Rename OFFileOffset -> OFStreamOffset (check-in: [51589c6496] user: js, branch: trunk, size: 1344) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[9e766aeca1] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 1332) [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
[6ce5b58b54] part of check-in [498074dab9] Rename of_(re)alloc and add OFFreeMemory (check-in: [498074dab9] user: js, branch: new-naming-convention, size: 1332) [annotate] [blame] [check-ins using] [diff]
14:19
[a0fa429021] part of check-in [e69db838d9] of_offset_t -> OFFileOffset (check-in: [e69db838d9] user: js, branch: new-naming-convention, size: 1324) [annotate] [blame] [check-ins using] [diff]
2021-03-07
02:36
[4e1737f5f5] part of check-in [a0fd103a0b] Style change: Allow more than 1 argument per line

This is only migrating some places, others will be migrated as they are
touched. (check-in: [a0fd103a0b] user: js, branch: trunk, size: 1320) [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
[e6908a8ef1] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 1344) [annotate] [blame] [check-ins using] [diff]
2020-11-05
02:27
[b1692ec182] part of check-in [da1fb6b21c] Further reduce usage of -[allocMemoryWithSize:] (check-in: [da1fb6b21c] user: js, branch: trunk, size: 1433) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[57a7a2c048] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 1446) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[874a3af302] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 1443) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[dad4e3a695] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 1437) [annotate] [blame] [check-ins using] [diff]
2017-11-05
18:25
[7d5b210453] part of check-in [0a4565fb0f] Use -[isMemberOfClass:] instead of object_getClass (check-in: [0a4565fb0f] user: js, branch: trunk, size: 1414) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[b98ac3f694] part of check-in [2f4e0df8be] 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. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 1415) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[5b2fde875e] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 1401) [annotate] [blame] [check-ins using] [diff]

2016-05-05
19:54
[fd840df49d] part of check-in [a7d66e7ab2] OFStream: Cache small reads to reduce syscalls

In some situations, this is 50x faster. (check-in: [a7d66e7ab2] user: js, branch: trunk, size: 1395) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:41
[4427169ba3] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 1369) [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
[321db4b1d6] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 1365) [annotate] [blame] [check-ins using] [diff]
20:42
[8b8b0c6a0a] part of check-in [46b89b1c8e] Introduce and use of_offset_t instead of off_t

The reason for this is that some systems, for example Android, use
32 bits for off_t while having size related fields like st_size as
long long. (check-in: [46b89b1c8e] user: js, branch: trunk, size: 1359) [annotate] [blame] [check-ins using] [diff]

2014-06-21
21:43
[a7e1d973bb] part of check-in [13ee56edf3] Move all macros from OFObject.h to macros.h

This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (check-in: [13ee56edf3] user: js, branch: trunk, size: 1337) [annotate] [blame] [check-ins using] [diff]

2014-05-31
17:57
[f1a559726a] part of check-in [acc999a75e] OFStream: Add -[hasDataInReadBuffer].

This replaces -[numberOfBytesInReadBuffer], as it's not always known how
many bytes there are exactly and thus the number would often be wrong
(e.g. because data is compressed). (check-in: [acc999a75e] user: js, branch: trunk, size: 1357) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[c1a75862c3] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1327) [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:27
[4c1c9e6a22] part of check-in [6e19bd47ee] Add OF_UNRECOGNIZED_SELECTOR. (check-in: [6e19bd47ee] user: js, branch: trunk, size: 1321) [annotate] [blame] [check-ins using] [diff]
01:12
[075ee49105] part of check-in [35dafd5c57] Add OF_INVALID_INIT_METHOD. (check-in: [35dafd5c57] user: js, branch: trunk, size: 1325) [annotate] [blame] [check-ins using] [diff]
2013-08-12
13:26
[7c51ea7ed3] part of check-in [d101b6f8b4] Fix OFSeekableStream.

-[seekToOffset:whence:] now works correctly when whence is SEEK_CUR.
Additionally, the new offset is returned now. (check-in: [d101b6f8b4] user: js, branch: trunk, size: 1110) [annotate] [blame] [check-ins using] [diff]

2013-02-18
21:53
[7b96bce1bd] part of check-in [efe7be259d] Rename -[OFStream pendingBytes].

It is now called -[numberOfBytesInReadBuffer].

Additionally, this commit renames OFStream's _cache to _readBuffer. (check-in: [efe7be259d] user: js, branch: trunk, size: 1002) [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
[b3e35f31cf] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 987) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[52f33aa767] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 984) [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
[432d090484] part of check-in [917ce5754c] Add -[doesNotRecognizeSelector:]. (check-in: [917ce5754c] user: js, branch: trunk, size: 978) [annotate] [blame] [check-ins using] [diff]
2012-10-29
13:03
[ff18537f89] part of check-in [dc1093e2a5] Simplify seeking. (check-in: [dc1093e2a5] user: js, branch: trunk, size: 1020) [annotate] [blame] [check-ins using] [diff]
2012-09-16
15:43
[3a3c16de1f] part of check-in [61c1932caf] OFStream: Use lowlevel as prefix instead of _. (check-in: [61c1932caf] user: js, branch: trunk, size: 1661) [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
[e3dd88a6e5] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 1619) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[0d216f9606] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 1592) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[d2de206fb4] part of check-in [e1e7ffa903] Exceptions are now autoreleased.

This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.

So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (check-in: [e1e7ffa903] user: js, branch: trunk, size: 1586) [annotate] [blame] [check-ins using] [diff]

2011-04-22
20:19
[cbcf953b58] part of check-in [e76a7f52c1] More style improvements. (check-in: [e76a7f52c1] user: js, branch: trunk, size: 1571) [annotate] [blame] [check-ins using] [diff]
18:00
[693313aa14] part of check-in [4814266280] More style improvements. (check-in: [4814266280] user: js, branch: trunk, size: 1607) [annotate] [blame] [check-ins using] [diff]
2011-03-24
19:42
[f25fa4bf66] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 1559) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[738eaeca10] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 1545) [annotate] [blame] [check-ins using] [diff]
2010-09-20
11:26
[6733c391eb] part of check-in [c3c2bcca46] Better API for the writte buffer of streams.
Can now be disabled without flushing and then be flushed later.
(check-in: [c3c2bcca46] user: js, branch: trunk, size: 1289) [annotate] [blame] [check-ins using] [diff]
2010-04-17
22:27
[13775b9538] part of check-in [37db8f0fb3] New ivar naming convention.

ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. (check-in: [37db8f0fb3] user: js, branch: trunk, size: 1367) [annotate] [blame] [check-ins using] [diff]

15:46
[ebbb4dbb54] part of check-in [062a052b50] Don't return self where not necessary, return void or something useful. (check-in: [062a052b50] user: js, branch: trunk, size: 1371) [annotate] [blame] [check-ins using] [diff]
2010-04-09
20:11
[8a407eb24d] part of check-in [c5c17fdd30] Rename -[cacheWrites] to -[bufferWrites]. (check-in: [c5c17fdd30] user: js, branch: trunk, size: 1374) [annotate] [blame] [check-ins using] [diff]
17:06
[943a2b61b5] part of check-in [c509ecf6c7] Flush the write cache before seeking. (check-in: [c509ecf6c7] user: js, branch: trunk, size: 1371) [annotate] [blame] [check-ins using] [diff]
15:12
Added: [2f22e7d287] part of check-in [0890f73f75] Add OFSeekableStream and implement seeking for OFFile. (check-in: [0890f73f75] user: js, branch: trunk, size: 1289) [annotate] [blame] [check-ins using]