ObjFW  History of src/OFStream.h of b80f70a59b34ec66

History of the file that is called src/OFStream.h at check-in b80f70a59b34ec66

2024-04-14
11:51
[bfdbdea6e5] part of check-in [2d5166ab47] OFStream: Add missing newline in documentation (check-in: [2d5166ab47] user: js, branch: trunk, size: 51840) [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
[0ff1cfaec5] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 51837) [annotate] [blame] [check-ins using] [diff]
2024-02-27
00:57
[5a98180f2e] part of check-in [f111a22ede] OFStream: Minor documentation fix (check-in: [f111a22ede] user: js, branch: 1.0, size: 51240) [annotate] [blame] [check-ins using] [diff]
00:57
[9aa2149368] part of check-in [ed4319fab0] OFStream: Minor documentation fix (check-in: [ed4319fab0] user: js, branch: trunk, size: 51629) [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
[745393b39b] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 51232) [annotate] [blame] [check-ins using] [diff]
09:08
[aab01b4829] part of check-in [92585439fc] OFStream: Documentation fix (check-in: [92585439fc] user: js, branch: 1.0, size: 51232) [annotate] [blame] [check-ins using] [diff]
09:08
[2e6542e905] part of check-in [2bbd2a4548] OFStream: Documentation fix (check-in: [2bbd2a4548] user: js, branch: trunk, size: 51621) [annotate] [blame] [check-ins using] [diff]
08:53
[33a0ad2c84] part of check-in [19f3948a26] Fix typos in documentation found by spell checker (check-in: [19f3948a26] user: js, branch: 1.0, size: 51319) [annotate] [blame] [check-ins using] [diff]
08:49
[5cd04837f8] part of check-in [f97dc452b1] Fix typos in documentation found by spell checker (check-in: [f97dc452b1] user: js, branch: trunk, size: 51708) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[80480e6665] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 51698) [annotate] [blame] [check-ins using] [diff]
2023-10-15
12:32
[bdf949a291] part of check-in [a61e0594b4] Add -[OFStream lowlevelIsAtEndOfStream]

This allows for a much cleaner solution to avoid the internal read
buffer of e.g. a TLS connection never being processed while waiting for
a delimiter. (check-in: [a61e0594b4] user: js, branch: trunk, size: 51698) [annotate] [blame] [check-ins using] [diff]

2023-08-25
12:25
[99614e7bb2] part of check-in [29bbfc3e47] Minor documentation improvement (check-in: [29bbfc3e47] user: js, branch: trunk, size: 51309) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[5e35ef7c78] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 51238) [annotate] [blame] [check-ins using] [diff]
2022-10-17
23:27
[a93512463b] part of check-in [d92d094980] Document more exceptions (check-in: [d92d094980] user: js, branch: trunk, size: 51238) [annotate] [blame] [check-ins using] [diff]
2022-09-24
17:03
[2f37969ef7] part of check-in [5202319334] Document more exceptions (check-in: [5202319334] user: js, branch: trunk, size: 49466) [annotate] [blame] [check-ins using] [diff]
2022-08-30
01:34
[3c7c1feb54] part of check-in [30492a6b61] OFStream: readTillDelimiter -> readUntilDelimiter (check-in: [30492a6b61] user: js, branch: trunk, size: 43594) [annotate] [blame] [check-ins using] [diff]
01:29
[328ae5c229] part of check-in [11627c18de] OFStream: A few minor documentation fixes (check-in: [11627c18de] user: js, branch: trunk, size: 43586) [annotate] [blame] [check-ins using] [diff]
2022-06-12
08:50
[2b820d15bb] part of check-in [b489d6188d] Remove unneeded arguments from blocks (check-in: [b489d6188d] user: js, branch: trunk, size: 43560) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[b3e894dafd] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 43726) [annotate] [blame] [check-ins using] [diff]
2022-01-28
19:34
[6e060142f4] part of check-in [d9586ed175] Don't assume EWOULDBLOCK and EAGAIN are the same (check-in: [d9586ed175] user: js, branch: trunk, size: 43726) [annotate] [blame] [check-ins using] [diff]
2021-12-17
17:53
[d8c22a2ea2] part of check-in [808601a0cc] OFStream: Remove methods for typed/swapped arrays

Those are never used in practice. (check-in: [808601a0cc] user: js, branch: trunk, size: 43637) [annotate] [blame] [check-ins using] [diff]

2021-11-07
19:44
[cc6c0f009b] part of check-in [7faf776e26] Let -[OFStream flushWriteBuffer] return a bool (check-in: [7faf776e26] user: js, branch: trunk, size: 53015) [annotate] [blame] [check-ins using] [diff]
2021-11-06
15:57
[0bf8c49ae4] part of check-in [d1d36ae522] OFStream: New write API

The old write API made it too easy to lose bytes when a stream is set to
non-blocking mode. The new API always throws when not all bytes were
written, which forces handling the number of bytes being written being
smaller than the number of bytes requested to be written. (check-in: [d1d36ae522] user: js, branch: trunk, size: 52835) [annotate] [blame] [check-ins using] [diff]

2021-05-24
22:37
[90ab6262e8] part of check-in [4d656c340e] OFStream.h: Remove double nonatomic (check-in: [4d656c340e] user: js, branch: trunk, size: 51213) [annotate] [blame] [check-ins using] [diff]
2021-04-17
03:37
[b19f1dd539] part of check-in [b480ef54db] of_run_loop_mode_t -> OFRunLoopMode (check-in: [b480ef54db] user: js, branch: new-naming-convention, size: 51224) [annotate] [blame] [check-ins using] [diff]
03:21
[478b508e50] part of check-in [c4e0e56fa3] Rename all blocks (check-in: [c4e0e56fa3] user: js, branch: new-naming-convention, size: 51274) [annotate] [blame] [check-ins using] [diff]
02:10
[68d6326585] part of check-in [255f21fb3d] of_string_encoding_t -> OFStringEncoding (check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 51386) [annotate] [blame] [check-ins using] [diff]
01:32
[b9dd2fdfa3] part of check-in [2d3790870d] of_unichar_t -> OFUnichar (check-in: [2d3790870d] user: js, branch: new-naming-convention, size: 51460) [annotate] [blame] [check-ins using] [diff]
2021-03-07
02:36
[7fe1e202cf] 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: 51472) [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
[d7b8ceded5] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 51576) [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
[c1d35377bc] part of check-in [163a4a5a2e] Use /** */ instead of /*! */ for documentation (check-in: [163a4a5a2e] user: js, branch: trunk, size: 51665) [annotate] [blame] [check-ins using] [diff]
2020-09-26
21:58
[8fe05ff320] part of check-in [ef614a225d] Don't require __COUNTER__ for OF_RESERVE_IVARS

__COUNTER__ does not exist in GCC 4.2, and Apple GCC 4.2 is still the
newest compiler available for macOS 10.5. (check-in: [ef614a225d] user: js, branch: trunk, size: 51665) [annotate] [blame] [check-ins using] [diff]

2020-05-06
00:32
[cac7e1c78f] part of check-in [bc67e98833] Improve names of several properties (check-in: [bc67e98833] user: js, branch: trunk, size: 51655) [annotate] [blame] [check-ins using] [diff]
2020-04-29
23:59
[849d120fde] part of check-in [857f8edc09] Add OFSPXSocket (check-in: [857f8edc09] user: js, branch: trunk, size: 51718) [annotate] [blame] [check-ins using] [diff]
2020-04-26
19:39
[854f995c5b] part of check-in [d7ddb3dbc7] Remove redundant arguments from blocks

Arguments that can just be captured by the block don't need to be
repeated as an argument. A lot of arguments passed to a delegate are
therefore not needed for a block. (check-in: [d7ddb3dbc7] user: js, branch: trunk, size: 51753) [annotate] [blame] [check-ins using] [diff]

16:21
[190450d179] part of check-in [e5b2ee56ff] Add OFSequencedPacketSocket

This is intended for SCTP and SPX. (check-in: [e5b2ee56ff] user: js, branch: trunk, size: 52150) [annotate] [blame] [check-ins using] [diff]

2020-04-19
15:24
[24a98018d3] part of check-in [f27905c199] Several documentation improvements (check-in: [f27905c199] user: js, branch: trunk, size: 52154) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[7421ae1300] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 51419) [annotate] [blame] [check-ins using] [diff]
2019-09-29
20:53
[0663f8f188] part of check-in [e0a330b377] Reduce ivar scopes (check-in: [e0a330b377] user: js, branch: trunk, size: 51416) [annotate] [blame] [check-ins using] [diff]
19:48
[b92e531fc2] part of check-in [3be624ded9] Documentation fixes (check-in: [3be624ded9] user: js, branch: trunk, size: 51427) [annotate] [blame] [check-ins using] [diff]
19:35
[a643169c96] part of check-in [496695d778] Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. (check-in: [496695d778] user: js, branch: trunk, size: 51523) [annotate] [blame] [check-ins using] [diff]

2019-03-08
00:35
[437fb045ff] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 51502) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[ea84bca9b5] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 51604) [annotate] [blame] [check-ins using] [diff]
2018-12-18
21:17
[123c708db9] part of check-in [0f3ae90eef] Use OFData instead of a buffer for async UDP sends

This avoids the entire problem of keeping the buffer alive until the
send finished. (check-in: [0f3ae90eef] user: js, branch: trunk, size: 51598) [annotate] [blame] [check-ins using] [diff]

16:41
[b1f1d40d96] part of check-in [6b35b78f94] Add -[OFStream asyncWriteString:] (check-in: [6b35b78f94] user: js, branch: trunk, size: 51543) [annotate] [blame] [check-ins using] [diff]
14:14
[a9818d561e] part of check-in [f218986f51] Use OFData instead of a buffer for async writes

This avoids the entire problem of keeping the buffer alive until the
write finished. (check-in: [f218986f51] user: js, branch: trunk, size: 46548) [annotate] [blame] [check-ins using] [diff]

2018-12-11
22:57
[ba57cd6e80] part of check-in [064dbe5127] Include an exception in delegate methods

Otherwise, there would be two methods for every operation: One for
success and one for failure. It also makes it easy to forget about
handling failure, so it's better to always pass an optional exception. (check-in: [064dbe5127] user: js, branch: trunk, size: 47916) [annotate] [blame] [check-ins using] [diff]

2018-12-08
16:53
[ea19b2f833] part of check-in [2b6a12065e] Separate error methods for async method delegates (check-in: [2b6a12065e] user: js, branch: trunk, size: 48228) [annotate] [blame] [check-ins using] [diff]
16:05
[c566a77887] part of check-in [27153bf8cf] OFTCPSocket: Use a delegate for async operations (check-in: [27153bf8cf] user: js, branch: trunk, size: 47900) [annotate] [blame] [check-ins using] [diff]
2018-12-07
01:33
[aea2292c00] part of check-in [d16ad96cbd] OFStream: Use a delegate for async operations

The target / selector approach had several drawbacks:

* It was inconvenient to use, as for every read or write, a target,
selector and context would need to be specified.
* It lacked any kind of type-safety and would not even warn about using
a callback method with the wrong number of parameters.
* It encouraged using a different callback method for each read or
write call, which results in code that is hard to follow and also
slower (as it needs to recreate the async operation with a new
callback every time). (check-in: [d16ad96cbd] user: js, branch: trunk, size: 47919) [annotate] [blame] [check-ins using] [diff]

2018-09-24
22:14
[e5256c18dc] part of check-in [cf93ca4b21] OFStream: Allow specifying the run loop mode (check-in: [cf93ca4b21] user: js, branch: trunk, size: 51817) [annotate] [blame] [check-ins using] [diff]
2018-09-23
15:19
[bf33920a4c] part of check-in [228ac2af9b] OFTCPSocket: SOCKS5 support for async connect (check-in: [228ac2af9b] user: js, branch: trunk, size: 41734) [annotate] [blame] [check-ins using] [diff]
2018-08-26
12:46
[cfbdba3736] part of check-in [1e79c0a969] Initial support for async connect without threads (check-in: [1e79c0a969] user: js, branch: trunk, size: 41696) [annotate] [blame] [check-ins using] [diff]
2018-02-18
00:20
[99b8fab82d] part of check-in [8681bba25e] OFHTTPClient: Add a callback for the request body

This is in preparation for removing the body from OFHTTPRequest.
Having it as OFData that is part of the OFHTTPRequest was a bad idea, as
it does not allow streaming. (check-in: [8681bba25e] user: js, branch: trunk, size: 41706) [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
[983b16c830] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 41592) [annotate] [blame] [check-ins using] [diff]
2017-11-19
11:04
[cfa0bd1248] part of check-in [69749b6a5b] Do not conform to OFReadyFor*Observing by default

Instead of letting OFStream conform to it, which itself does not really
conform to it, let all the subclasses that actually do conform to it. (check-in: [69749b6a5b] user: js, branch: trunk, size: 41569) [annotate] [blame] [check-ins using] [diff]

2017-11-18
18:50
[9a95fdcb49] part of check-in [cc3ad3ddd3] Documentation: Use @brief for all properties (check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 42251) [annotate] [blame] [check-ins using] [diff]
17:45
[12097ea11a] part of check-in [31e6b7ce9c] Fix several Doxygen warnings (check-in: [31e6b7ce9c] user: js, branch: trunk, size: 42209) [annotate] [blame] [check-ins using] [diff]
2017-10-29
21:58
[7eb7553262] part of check-in [f3ccf14461] Convert methods to properties where appropriate

This improves Swift compatibility. (check-in: [f3ccf14461] user: js, branch: trunk, size: 42215) [annotate] [blame] [check-ins using] [diff]

2017-09-26
22:01
[1cb5dc2e2d] part of check-in [319709fff1] Many nullability fixes (check-in: [319709fff1] user: js, branch: 0.90, size: 39201) [annotate] [blame] [check-ins using] [diff]
21:53
[af410db94f] part of check-in [52011fbfd6] Many nullability fixes (check-in: [52011fbfd6] user: js, branch: trunk, size: 42776) [annotate] [blame] [check-ins using] [diff]
2017-09-24
17:35
[66d00ee4d4] part of check-in [842c55dd83] OFUDPSocket: Add support for async sending (check-in: [842c55dd83] user: js, branch: trunk, size: 42740) [annotate] [blame] [check-ins using] [diff]
16:34
[62644beb20] part of check-in [a0394db776] Minor documentation fix (check-in: [a0394db776] user: js, branch: trunk, size: 42633) [annotate] [blame] [check-ins using] [diff]
15:13
[c63c26554d] part of check-in [1084b23ef7] OFStream: More flexible repeating async writes (check-in: [1084b23ef7] user: js, branch: trunk, size: 42318) [annotate] [blame] [check-ins using] [diff]
13:15
[7472119df2] part of check-in [47db5636d7] Return a bool from async write handlers

This allows performing another write with the same buffer, length and
callback, which is useful for asynchronously writing in chunks. (check-in: [47db5636d7] user: js, branch: trunk, size: 41700) [annotate] [blame] [check-ins using] [diff]

12:24
[2480f89bb9] part of check-in [481225349f] OFStream: Add support for async writes (check-in: [481225349f] user: js, branch: trunk, size: 41460) [annotate] [blame] [check-ins using] [diff]
11:24
[1ebe98026c] part of check-in [f8498bb114] Change type for async exceptions to id (check-in: [f8498bb114] user: js, branch: trunk, size: 39301) [annotate] [blame] [check-ins using] [diff]
2017-09-23
22:07
[39526e7198] part of check-in [958da109d3] Support for passing a context to async IO handlers (check-in: [958da109d3] user: js, branch: trunk, size: 39379) [annotate] [blame] [check-ins using] [diff]
2017-07-22
20:50
[fc84511d6f] part of check-in [c8f7b90082] Split OFDataArray into OFData and OFMutableData (check-in: [c8f7b90082] user: js, branch: trunk, size: 39165) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[dce22ba2cb] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 39288) [annotate] [blame] [check-ins using] [diff]

2017-02-04
21:37
[a07511dad6] part of check-in [6ae356af85] OFRunLoop: Refactor read queue handling (check-in: [6ae356af85] user: js, branch: trunk, size: 39209) [annotate] [blame] [check-ins using] [diff]
18:23
[b9b7b417fc] part of check-in [c6d77093f7] Minor documentation improvements (check-in: [c6d77093f7] user: js, branch: trunk, size: 39583) [annotate] [blame] [check-ins using] [diff]
17:45
[a1ad529878] part of check-in [5a31a537a1] Fix typos in comments and strings found by aspell (check-in: [5a31a537a1] user: js, branch: trunk, size: 39578) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[2a211758fc] 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: 39564) [annotate] [blame] [check-ins using] [diff]

2016-06-07
22:56
[c3708c076a] part of check-in [1de551cb5f] Add support for reusing OFStreams after close

Right now, this is only useful for OFTCPSocket, as this is the only
class so far not establishing the stream in the init method. However,
this adds the general infrastructure to allow reuse to all subclasses of
OFStream. (check-in: [1de551cb5f] user: js, branch: trunk, size: 39558) [annotate] [blame] [check-ins using] [diff]

2016-05-16
11:14
[38cc11b62a] part of check-in [5a3133f9d8] Minor documentation improvements (check-in: [5a3133f9d8] user: js, branch: trunk, size: 39489) [annotate] [blame] [check-ins using] [diff]
2016-05-05
19:54
[f5d7e92017] 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: 39462) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[01d31991cc] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 39587) [annotate] [blame] [check-ins using] [diff]

00:41
[87f1020ea1] part of check-in [2a27cf3000] Update copyright

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

2015-11-29
11:43
[ceee33b1c7] part of check-in [48980f2297] Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). (check-in: [48980f2297] user: js, branch: trunk, size: 39438) [annotate] [blame] [check-ins using] [diff]

2015-11-28
19:47
[eaef7f1c66] part of check-in [650b4be224] Minor documentation improvements (check-in: [650b4be224] user: js, branch: trunk, size: 39637) [annotate] [blame] [check-ins using] [diff]
2015-11-21
18:35
[4dfb1471ce] part of check-in [d526d938d7] Remove OF_NULLABLE / OF_NONNULL

Now that Clang switched to use _Nullable and _Nonnull instead of
__nullable / __nonnull, there is no longer a conflict with glibc, which
means we can just define _Nullable / _Nonnull to nothing if they are not
understood by the compiler (which did not work with __nullable /
__nonnull due to this conflict).

This also defines _Null_unspecified to nothing if unavailable. (check-in: [d526d938d7] user: js, branch: trunk, size: 39577) [annotate] [blame] [check-ins using] [diff]

2015-06-14
10:45
[66ebb7f50c] part of check-in [b7097a67b6] Add OF_NONNULL / OF_NULLABLE and use that instead

Using __nonnull directly doesn't work on systems using glibc, as glibc
defines __nonnull as a parameterized define. While this does not fix the
problem of Clang introducing __nonnull even though it conflicts with
glibc, this at least means it's possible again to compile things with
versions of Clang that don't support __nonnull on systems with glibc. (check-in: [b7097a67b6] user: js, branch: trunk, size: 39583) [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
[af476e35d4] part of check-in [9e76144ef8] Add support for and use the new nullability (check-in: [9e76144ef8] user: js, branch: trunk, size: 39580) [annotate] [blame] [check-ins using] [diff]
2015-04-26
08:10
[4c3277f2ac] part of check-in [57b6030b14] Minor improvements, no functional change (check-in: [57b6030b14] user: js, branch: trunk, size: 39378) [annotate] [blame] [check-ins using] [diff]
2015-01-19
22:29
[b3138c427b] part of check-in [afb42d363d] OFStream: writeBufferEnabled -> writeBuffered (check-in: [afb42d363d] user: js, branch: trunk, size: 39376) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[89a2ac053e] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 39401) [annotate] [blame] [check-ins using] [diff]
2014-08-18
10:53
[58a6fa04a7] part of check-in [c6a4b0a95f] OFTCPSocket: Clear read buffer for new connection

This prevents reading old data when closing and reconnecting the socket. (check-in: [c6a4b0a95f] user: js, branch: trunk, size: 39395) [annotate] [blame] [check-ins using] [diff]

2014-07-19
16:16
[ef98567a77] part of check-in [083e05b444] Fix MinGW32 build (check-in: [083e05b444] user: js, branch: trunk, size: 39360) [annotate] [blame] [check-ins using] [diff]
2014-05-31
17:57
[10f43f7343] 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: 39343) [annotate] [blame] [check-ins using] [diff]

2014-02-18
18:50
[16a1b1d069] part of check-in [246cfe0807] Documentation: Show correct imports (check-in: [246cfe0807] user: js, branch: trunk, size: 39327) [annotate] [blame] [check-ins using] [diff]
2014-02-12
00:10
[84d33ed0b9] part of check-in [611838d62d] Fix --disable-sockets (check-in: [611838d62d] user: js, branch: trunk, size: 39277) [annotate] [blame] [check-ins using] [diff]
2014-02-10
10:46
[4f20417c15] part of check-in [048c4912d6] -[cancelAsyncRequests] documentation: Add warning (check-in: [048c4912d6] user: js, branch: trunk, size: 39211) [annotate] [blame] [check-ins using] [diff]
2014-01-30
22:02
[76d6ca8c67] part of check-in [ff3c507941] OFUDPSocket: Add async resolve / receive (check-in: [ff3c507941] user: js, branch: trunk, size: 38840) [annotate] [blame] [check-ins using] [diff]
2014-01-29
15:54
[f656291875] part of check-in [c694569d86] Generalize OFKernelEventObserver

It is no longer limited to streams now. (check-in: [c694569d86] user: js, branch: trunk, size: 38832) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[ac84d7179d] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 37666) [annotate] [blame] [check-ins using] [diff]
2013-11-24
17:28
[af49de697f] part of check-in [4b56450a24] of_asprintf: Change %k to %C and %K to %S.

This reverts 2943b43. It turned out that using %C and %S is possible,
even when mixing code with Cocoa code, as it is possible to introduce
__attribute__((format(__OFString__, ...))) to Clang which just handles
%C and %S as being of_unichar_t instead of unichar like they are handled
for __attribute__((format(__NSString__, ...))).

The Clang patch for __attribute__((format(__OFString__, ...))) has been
submitted, but is not upstream yet, thus the changes for that are not
being committed yet. (check-in: [4b56450a24] user: js, branch: trunk, size: 37660) [annotate] [blame] [check-ins using] [diff]

2013-11-23
17:48
[a037efd8d4] part of check-in [945ff1043d] of_asprintf: Add %K format specifier.

%K is for const of_unichar_t*. (check-in: [945ff1043d] user: js, branch: trunk, size: 37660) [annotate] [blame] [check-ins using] [diff]

03:24
[72c5abcbb8] part of check-in [5eada9f7b0] of_asprintf: Change %C to %k.

In Cocoa, %C means unichar, which is unsigned short and thus compilers
expect %C to be unichar when the language is set to ObjC. It would be
hard to let compilers detect whether %C should be unichar or
of_unichar_t, especially when mixing ObjFW and Cocoa code, thus the
change to %k. (check-in: [5eada9f7b0] user: js, branch: trunk, size: 37604) [annotate] [blame] [check-ins using] [diff]

2013-11-22
19:27
[0895acb1d9] part of check-in [e803913a9d] of_asprintf: Add %C format specifier. (check-in: [e803913a9d] user: js, branch: trunk, size: 37604) [annotate] [blame] [check-ins using] [diff]
2013-10-10
13:18
[e0f5011968] part of check-in [d83d3aa719] Add OFDeflateStream.

No compression support yet, only decompression.

Decompression speed is acceptable for productive use, but there is still
a lot of room for optimization as this is a very straightforward
implementation without much optimization. (check-in: [d83d3aa719] user: js, branch: trunk, size: 37556) [annotate] [blame] [check-ins using] [diff]

02:26
[bfaab86a9d] part of check-in [138a7a1934] OFStream: Add -[unreadFromBuffer:length:]. (check-in: [138a7a1934] user: js, branch: trunk, size: 37555) [annotate] [blame] [check-ins using] [diff]
2013-08-15
19:00
[95be3e6746] part of check-in [1d7a1cbca0] Move private methods into private headers. (check-in: [1d7a1cbca0] user: js, branch: trunk, size: 36514) [annotate] [blame] [check-ins using] [diff]
2013-06-17
08:44
[27c14268e9] part of check-in [eceebefeab] Rename -[OFDataArray readDataArrayWithSize:].

It is now called -[readDataArrayWithCount:]. (check-in: [eceebefeab] user: js, branch: trunk, size: 36549) [annotate] [blame] [check-ins using] [diff]

2013-04-26
19:42
[b114d5af52] part of check-in [590c377d8a] Make it possible to disable sockets. (check-in: [590c377d8a] user: js, branch: trunk, size: 36546) [annotate] [blame] [check-ins using] [diff]
2013-03-08
22:44
[05795f4687] part of check-in [e8473b9db8] Document the block types.

This also removes "bool *stop" from some blocks where it does not make
sense. (check-in: [e8473b9db8] user: js, branch: trunk, size: 36418) [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
[d1cbeea7d2] part of check-in [c5ef582958] Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. (check-in: [c5ef582958] user: js, branch: trunk, size: 35612) [annotate] [blame] [check-ins using] [diff]

2013-02-18
21:53
[74effa40b4] 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: 35572) [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
[57e418e361] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 35567) [annotate] [blame] [check-ins using] [diff]
2013-01-25
22:39
[6b4f15f3b1] part of check-in [436f274d65] Make -[OFStream setBlocking:] more robust.

-[setBlocking:] correctly works for unidirectional streams now. (check-in: [436f274d65] user: js, branch: trunk, size: 35560) [annotate] [blame] [check-ins using] [diff]

2013-01-22
02:31
[79e322d7a8] part of check-in [b96b150ce3] OFStream: Add property for writeBufferEnabled.

This also renames the getter to -[isWriteBufferEnabled]. (check-in: [b96b150ce3] user: js, branch: trunk, size: 35568) [annotate] [blame] [check-ins using] [diff]

2013-01-14
23:56
[7c8c68988a] part of check-in [5405bd5c5f] OFStream: Rename -[write*:usingEncoding:].

It is now -[write*:encoding:]. (check-in: [5405bd5c5f] user: js, branch: trunk, size: 35501) [annotate] [blame] [check-ins using] [diff]

19:02
[aa6a3707b4] part of check-in [30ab311006] Documentation improvements. (check-in: [30ab311006] user: js, branch: trunk, size: 35508) [annotate] [blame] [check-ins using] [diff]
2013-01-10
22:52
[0a1063d1c6] part of check-in [365d74aa27] Fix all Doxygen warnings. (check-in: [365d74aa27] user: js, branch: trunk, size: 35565) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[0413580462] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 35556) [annotate] [blame] [check-ins using] [diff]
2012-12-19
20:55
[15b2bdf6af] part of check-in [dc7b33cd6b] Make it possible to cancel async requests. (check-in: [dc7b33cd6b] user: js, branch: trunk, size: 35550) [annotate] [blame] [check-ins using] [diff]
2012-12-16
01:18
[bcd97aa0de] part of check-in [8f6d44074d] Add -[OFStream write{String,Line}:usingEncoding:]. (check-in: [8f6d44074d] user: js, branch: trunk, size: 35446) [annotate] [blame] [check-ins using] [diff]
2012-10-30
18:50
[3161b39141] part of check-in [13ea2fc8b1] Async I/O: Pass a context. (check-in: [13ea2fc8b1] user: js, branch: trunk, size: 35077) [annotate] [blame] [check-ins using] [diff]
2012-10-29
13:37
[47ab0fd36d] part of check-in [1bcd4b3d46] Documentation improvements (add references). (check-in: [1bcd4b3d46] user: js, branch: 0.7, size: 34668) [annotate] [blame] [check-ins using] [diff]
13:35
[c7b337bee8] part of check-in [e685b742d9] Documentation improvements (add references). (check-in: [e685b742d9] user: js, branch: trunk, size: 34668) [annotate] [blame] [check-ins using] [diff]
08:00
[bf0c605954] part of check-in [7a3977d7fd] Documentation improvements. (check-in: [7a3977d7fd] user: js, branch: 0.7, size: 34590) [annotate] [blame] [check-ins using] [diff]
07:59
[16acb784a6] part of check-in [63bf4de97b] Documentation improvements. (check-in: [63bf4de97b] user: js, branch: trunk, size: 34590) [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
[03e8d32455] part of check-in [1ad9565253] Switch to a headerdoc-compatible doc format. (check-in: [1ad9565253] user: js, branch: trunk, size: 34683) [annotate] [blame] [check-ins using] [diff]
2012-10-17
20:16
[6c1eafc699] part of check-in [6343e04dcd] Pass exceptions on async I/O.

This makes it possible to handle exceptions that occurred during async
I/O in the specified handler. (check-in: [6343e04dcd] user: js, branch: trunk, size: 34683) [annotate] [blame] [check-ins using] [diff]

2012-09-19
23:02
[8627416ee2] part of check-in [4d9a641d87] Make async I/O possible without blocks.

Async connecting is still missing. (check-in: [4d9a641d87] user: js, branch: trunk, size: 34418) [annotate] [blame] [check-ins using] [diff]

2012-09-17
15:48
[428dff50a5] part of check-in [be6adc6e06] Add -[asyncReadIntoBuffer:exactLength:block:]. (check-in: [be6adc6e06] user: js, branch: trunk, size: 30610) [annotate] [blame] [check-ins using] [diff]
2012-09-16
15:43
[67eb3e5d0e] part of check-in [61c1932caf] OFStream: Use lowlevel as prefix instead of _. (check-in: [61c1932caf] user: js, branch: trunk, size: 29356) [annotate] [blame] [check-ins using] [diff]
15:27
[1a309ecdea] part of check-in [c137da5e5b] Prefix all private methods with OF_. (check-in: [c137da5e5b] user: js, branch: trunk, size: 28467) [annotate] [blame] [check-ins using] [diff]
2012-09-15
12:20
[adf57753c4] part of check-in [2929f89f3e] OFThread: Implement the OFCopying protocol. (check-in: [2929f89f3e] user: js, branch: trunk, size: 28438) [annotate] [blame] [check-ins using] [diff]
2012-09-14
05:20
[d3c9a265b1] part of check-in [a2b309b38a] Implement async reading (into buffers and lines). (check-in: [a2b309b38a] user: js, branch: trunk, size: 28438) [annotate] [blame] [check-ins using] [diff]
2012-09-12
17:27
[fb448f8379] part of check-in [440e95fd4a] Split -[OFStream fileDescriptor].

It is now -[fileDescriptorForReading] and -[fileDescriptorForWriting].
The split was necessary as some stream types (e.g. OFProcess) don't have
a single file descriptor, but two. This allows to use those stream types
with OFStreamObserver as well. (check-in: [440e95fd4a] user: js, branch: trunk, size: 26216) [annotate] [blame] [check-ins using] [diff]

2012-06-07
12:03
[aea1f2dd6e] part of check-in [0d4059306a] Rework OFStream API. (check-in: [0d4059306a] user: js, branch: trunk, size: 25995) [annotate] [blame] [check-ins using] [diff]
2012-02-29
21:12
[5cd3180445] part of check-in [95db0335d8] \cond internal is not needed anymore. (check-in: [95db0335d8] user: js, branch: 0.6, size: 25910) [annotate] [blame] [check-ins using] [diff]
2012-02-25
11:24
[f035f41374] part of check-in [99ed50a5e4] Always define __STDC_{CONSTANT,LIMIT}_MACROS before libc includes.
This is necessary for ObjC++.
(check-in: [99ed50a5e4] user: js, branch: 0.6, size: 25942) [annotate] [blame] [check-ins using] [diff]
2012-02-01
13:42
[cedd7eb4aa] part of check-in [c1b35e1495] Clean up the properties mess. (check-in: [c1b35e1495] user: js, branch: trunk, size: 25807) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[c614ad19f2] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 25815) [annotate] [blame] [check-ins using] [diff]
2011-12-08
04:19
[7727de6ef5] part of check-in [d64e1d5727] Add a property for -[OFStream isAtEndOfStream].
This makes stream.atEndOfStream work.
(check-in: [d64e1d5727] user: js, branch: trunk, size: 25809) [annotate] [blame] [check-ins using] [diff]
2011-11-23
00:26
[73c72f5177] part of check-in [a49eec5be4] Make use of \warning in documentation. (check-in: [a49eec5be4] user: js, branch: trunk, size: 25744) [annotate] [blame] [check-ins using] [diff]
2011-09-19
19:12
[10e2127f1f] part of check-in [9aa9d6d075] Make it possible to use an OFStream as a key for a dictionary. (check-in: [9aa9d6d075] user: js, branch: trunk, size: 25699) [annotate] [blame] [check-ins using] [diff]
16:40
[d01ccdc23f] part of check-in [6a25d1d677] Add a few private methods to the headers to have type checking. (check-in: [6a25d1d677] user: js, branch: trunk, size: 25315) [annotate] [blame] [check-ins using] [diff]
16:22
[3697389637] part of check-in [535c2d5d9b] Make using -[tryReadLine] + OFStreamObserver safe.

This makes it impossible for the developer to accidentally create a DoS.
When data has been received after calling -[tryReadLine] and the string
is still incomplete, -[streamIsReadyForReading:] will not be called
anymore until new data has been received, thus preventing spinning in a
loop. (check-in: [535c2d5d9b] user: js, branch: trunk, size: 25173) [annotate] [blame] [check-ins using] [diff]

12:34
[d46e5522c2] part of check-in [d43eb177bc] BOOL naming conventions. (check-in: [d43eb177bc] user: js, branch: trunk, size: 25079) [annotate] [blame] [check-ins using] [diff]
2011-09-15
10:57
[cfff676663] part of check-in [bd923d90c7] Add -[tryReadTillDelimiter:]. (check-in: [bd923d90c7] user: js, branch: trunk, size: 25085) [annotate] [blame] [check-ins using] [diff]
2011-09-14
23:28
[32b37edb3b] part of check-in [6e8023786a] Add -[tryReadLine] to OFStream. (check-in: [6e8023786a] user: js, branch: trunk, size: 24184) [annotate] [blame] [check-ins using] [diff]
2011-09-11
17:09
[5f309aff43] part of check-in [8d554c0421] Documentation improvements. (check-in: [8d554c0421] user: js, branch: trunk, size: 23527) [annotate] [blame] [check-ins using] [diff]
2011-07-09
03:10
[f806e93da6] part of check-in [e1285e3ba9] Emphasize that -[readNBytes:intoBuffer:] reads at most n bytes. (check-in: [e1285e3ba9] user: js, branch: trunk, size: 22258) [annotate] [blame] [check-ins using] [diff]
2011-07-07
17:03
[4d0c3ac318] part of check-in [d0085d2c5d] Add a note about the %@ format specifier. (check-in: [d0085d2c5d] user: js, branch: trunk, size: 22058) [annotate] [blame] [check-ins using] [diff]
2011-07-06
22:55
[a5c5c3482e] part of check-in [7558e235fe] Only allow an OFConstantString as format. (check-in: [7558e235fe] user: js, branch: trunk, size: 21842) [annotate] [blame] [check-ins using] [diff]
2011-06-28
22:56
[4293607bf6] part of check-in [90a9d9475a] Add -[readStringWithLength:] to OFStream. (check-in: [90a9d9475a] user: js, branch: trunk, size: 21826) [annotate] [blame] [check-ins using] [diff]
2011-06-26
12:48
[11ac1a2f52] part of check-in [1ccbecd52a] Add methods to read/write arrays with correct byte ordering to OFStream. (check-in: [1ccbecd52a] user: js, branch: trunk, size: 20362) [annotate] [blame] [check-ins using] [diff]
2011-06-20
19:26
[848fb0d1e3] part of check-in [2a2d5c4c47] Let -[writeNBytes:fromBuffer:] return void. (check-in: [2a2d5c4c47] user: js, branch: trunk, size: 11669) [annotate] [blame] [check-ins using] [diff]
2011-06-16
02:33
[a6e5a685c5] part of check-in [8440a70457] -[readNBytes:intoBuffer:] & -[writeNBytes:fromBuffer:] take a void* now. (check-in: [8440a70457] user: js, branch: trunk, size: 11712) [annotate] [blame] [check-ins using] [diff]
2011-06-05
18:32
[14891818f4] part of check-in [f31197a153] Add methods to read / write floats and doubles to OFStream. (check-in: [f31197a153] user: js, branch: trunk, size: 11712) [annotate] [blame] [check-ins using] [diff]
2011-04-25
11:39
[576cb8fb89] part of check-in [8c45d72a13] Add -[OFDataArray readDataArrayWithNItems:]. (check-in: [8c45d72a13] user: js, branch: trunk, size: 9976) [annotate] [blame] [check-ins using] [diff]
2011-04-22
18:00
[0372616946] part of check-in [4814266280] More style improvements. (check-in: [4814266280] user: js, branch: trunk, size: 9596) [annotate] [blame] [check-ins using] [diff]
2011-04-06
18:35
[0de1b69c7e] part of check-in [d9c7249304] This ivar does not need to be @public anymore as well. (check-in: [d9c7249304] user: js, branch: trunk, size: 9513) [annotate] [blame] [check-ins using] [diff]
2011-04-03
19:52
[30f45428be] part of check-in [f4151a36e3] Add -[pendingBytes] to OFStream.

This way, the method to determine whether OFStreamSocket should
call the delegate can be overriden by subclasses, for example
for SSL sockets. (check-in: [f4151a36e3] user: js, branch: trunk, size: 9698) [annotate] [blame] [check-ins using] [diff]

2011-03-25
02:51
[24a5771adb] part of check-in [8ba403b013] Work around a bug in gcc 4.4.4 (possibly only in Haiku). (check-in: [8ba403b013] user: js, branch: trunk, size: 9597) [annotate] [blame] [check-ins using] [diff]
2011-01-15
18:17
[74be59fb41] part of check-in [b5ec30fa9d] Define enums as types. (check-in: [b5ec30fa9d] user: js, branch: trunk, size: 9431) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[0a6b8c3f80] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 9433) [annotate] [blame] [check-ins using] [diff]
2010-12-12
14:18
[8829984161] part of check-in [54dda023d6] Fix missing colon. (check-in: [54dda023d6] user: js, branch: trunk, size: 9177) [annotate] [blame] [check-ins using] [diff]
2010-12-09
19:04
[bd24a85393] part of check-in [beb4a0d036] Move -[setBlocking] to OFStream. (check-in: [beb4a0d036] user: js, branch: trunk, size: 9176) [annotate] [blame] [check-ins using] [diff]
2010-10-24
13:15
[d7703b509d] part of check-in [b6a39dd3d1] Rename a few methods returning BOOL. (check-in: [b6a39dd3d1] user: js, branch: trunk, size: 8744) [annotate] [blame] [check-ins using] [diff]
2010-09-20
11:26
[0915ec3638] 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: 8738) [annotate] [blame] [check-ins using] [diff]
2010-09-19
02:52
[dd21d0d02a] part of check-in [b554732eae] Improve OFStreamObserver.

It also looks at the cache of each stream now and does not block if
there is still data in the cache. (check-in: [b554732eae] user: js, branch: trunk, size: 8577) [annotate] [blame] [check-ins using] [diff]

2010-07-07
20:46
[c21dc06749] part of check-in [9d064462a3] Add -[fileDescriptor] to OFStream. (check-in: [9d064462a3] user: js, branch: trunk, size: 8550) [annotate] [blame] [check-ins using] [diff]
2010-04-30
13:59
[447ea06b1e] part of check-in [e259d77a62] Documentation improvement (replaced "an uint*" with "a uint*"). (check-in: [e259d77a62] user: js, branch: trunk, size: 8471) [annotate] [blame] [check-ins using] [diff]
2010-04-23
14:02
[39142061c5] part of check-in [83b2a5d5d7] Add a warning to OFStream documentation. (check-in: [83b2a5d5d7] user: js, branch: trunk, size: 8499) [annotate] [blame] [check-ins using] [diff]
2010-04-17
22:27
[a95808e9fd] 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: 7415) [annotate] [blame] [check-ins using] [diff]

15:46
[fde24b0fcf] 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: 7418) [annotate] [blame] [check-ins using] [diff]
2010-04-10
16:13
[d0c23abdf8] part of check-in [948a5c25ce] Add -[writeFormat:withArguments:] to OFStream. (check-in: [948a5c25ce] user: js, branch: trunk, size: 7400) [annotate] [blame] [check-ins using] [diff]
2010-04-09
20:11
[33ab04595d] part of check-in [c5c17fdd30] Rename -[cacheWrites] to -[bufferWrites]. (check-in: [c5c17fdd30] user: js, branch: trunk, size: 7120) [annotate] [blame] [check-ins using] [diff]
15:22
[8e74551eac] part of check-in [6217d56014] Add -[{read,write}LittleEndianInt{16,32,64}{,:}] to OFStream. (check-in: [6217d56014] user: js, branch: trunk, size: 7114) [annotate] [blame] [check-ins using] [diff]
14:59
[9b81961a45] part of check-in [2a9e91b67c] Better hiding of the internal OFStream methods. (check-in: [2a9e91b67c] user: js, branch: trunk, size: 6110) [annotate] [blame] [check-ins using] [diff]
00:55
[f77e6ede23] part of check-in [66c1d7718d] Add an optional write cache to OFStream. (check-in: [66c1d7718d] user: js, branch: trunk, size: 7568) [annotate] [blame] [check-ins using] [diff]
2010-04-08
23:48
[c88d590591] part of check-in [978e88a43c] Add -[writeInt8:] and -[writeBigEndianInt{16,32,64}:] to OFStream. (check-in: [978e88a43c] user: js, branch: trunk, size: 6706) [annotate] [blame] [check-ins using] [diff]
23:37
[b0e6f5f9a4] part of check-in [c82e7f02f0] Add -[readInt8] and -[readBigEndianInt{16,32,64}] to OFStream. (check-in: [c82e7f02f0] user: js, branch: trunk, size: 6152) [annotate] [blame] [check-ins using] [diff]
23:26
[11233aa834] part of check-in [3006cccbb9] Add -[readDataArrayWithItemSize:andNItems:] to OFStream. (check-in: [3006cccbb9] user: js, branch: trunk, size: 5519) [annotate] [blame] [check-ins using] [diff]
23:10
[c52cf90821] part of check-in [96c8753847] Add -[readExactlyNBytes:intoBuffer:] to OFStream. (check-in: [96c8753847] user: js, branch: trunk, size: 5176) [annotate] [blame] [check-ins using] [diff]
21:23
[6261e9a8b9] part of check-in [967a5e6a40] Add -[writeDataArray:] to OFStream. (check-in: [967a5e6a40] user: js, branch: trunk, size: 4662) [annotate] [blame] [check-ins using] [diff]
2010-04-07
18:43
[ed7d8ab9b7] part of check-in [fe3b6e5457] Add -[writeFormat:] to OFStream. (check-in: [fe3b6e5457] user: js, branch: trunk, size: 4452) [annotate] [blame] [check-ins using] [diff]
2010-04-04
16:41
[ad729fbb54] part of check-in [1813376c4a] Add -[readDataArrayTillEndOfStream] to OFStream. (check-in: [1813376c4a] user: js, branch: trunk, size: 4273) [annotate] [blame] [check-ins using] [diff]
2010-04-03
01:34
[6718a13472] part of check-in [da71912af5] Add -[writeLine:] to OFStream. (check-in: [da71912af5] user: js, branch: trunk, size: 4071) [annotate] [blame] [check-ins using] [diff]
2010-02-24
22:56
[abdf3e16b1] part of check-in [b190519866] Merge to fix wrong parent of last commit. (check-in: [b190519866] user: js, branch: trunk, size: 3853) [annotate] [blame] [check-ins using] [diff]
2010-02-20
14:44
[3e6cb38d4d] part of check-in [cb70f59a63] Add -[readTillDelimiter:] to OFStream and improve -[readLine]. (check-in: [cb70f59a63] user: js, branch: trunk, size: 3853) [annotate] [blame] [check-ins using] [diff]
2010-02-19
16:36
[c1f2dd3939] part of check-in [42886185fd] Update copyright. (check-in: [42886185fd] user: js, branch: trunk, size: 3129) [annotate] [blame] [check-ins using] [diff]
2010-02-11
14:58
[8ae41c981b] part of check-in [72caeab860] Documentation improvements. (check-in: [72caeab860] user: js, branch: trunk, size: 3129) [annotate] [blame] [check-ins using] [diff]
2010-01-16
15:05
[1635dfcf25] part of check-in [1433aef0d0] Reduce dependencies between headers. (check-in: [1433aef0d0] user: js, branch: trunk, size: 3150) [annotate] [blame] [check-ins using] [diff]
2009-12-03
18:50
[15f483123e] part of check-in [fc0b2500b9] Make OFStream caching invisible to the programmer. (check-in: [fc0b2500b9] user: js, branch: trunk, size: 3153) [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
[f0bc557550] part of check-in [a3cc34b139] Rename libobjfw to ObjFW. (check-in: [a3cc34b139] user: js, branch: trunk, size: 2727) [annotate] [blame] [check-ins using] [diff]
2009-09-27
15:04
[a724d38486] part of check-in [ada9f37216] Small documentation addendum. (check-in: [ada9f37216] user: js, branch: trunk, size: 2730) [annotate] [blame] [check-ins using] [diff]
2009-07-21
23:25
[d7a78fa6d9] part of check-in [9d93300b4e] Add -[readLineWithEncoding:] to read in the specified encoding. (check-in: [9d93300b4e] user: js, branch: trunk, size: 2554) [annotate] [blame] [check-ins using] [diff]
2009-06-30
12:55
[937b4422c4] part of check-in [973e19f23c] Add some missing documentation. (check-in: [973e19f23c] user: js, branch: trunk, size: 2141) [annotate] [blame] [check-ins using] [diff]
2009-06-02
19:25
[a8f3308e3a] part of check-in [f1dae95070] Improve -[readLine] in OFStream. (check-in: [f1dae95070] user: js, branch: trunk, size: 2125) [annotate] [blame] [check-ins using] [diff]
2009-05-15
20:01
[29bc7e1e05] part of check-in [67066be692] Use OFString as much as possible. (check-in: [67066be692] user: js, branch: trunk, size: 1969) [annotate] [blame] [check-ins using] [diff]
2009-05-03
17:19
[b001002c07] part of check-in [7bf4b144ad] Make OFStream a class instead of a protocol and move readLine there. (check-in: [7bf4b144ad] user: js, branch: trunk, size: 1962) [annotate] [blame] [check-ins using] [diff]
2009-04-09
13:55
[7f1379bb1f] part of check-in [722b6213c0] Use char* instead of uint8_t* for OFStreams and OFHashes.
This way, less casts are needed when using C libraries.
(check-in: [722b6213c0] user: js, branch: trunk, size: 1268) [annotate] [blame] [check-ins using] [diff]
2009-04-07
15:44
[ed38ea4d16] part of check-in [09e6b3fc7b] Returning newly allocated buffers on reading is a bad idea.
The programmer might forget that some of the data is arbitrary because
there was less data than he requested which might lead to serious
problems.
(check-in: [09e6b3fc7b] user: js, branch: trunk, size: 1274) [annotate] [blame] [check-ins using] [diff]
2009-01-24
15:24
[ae18f564f1] part of check-in [1496808b81] Adjust API to introduction of OFAutoreleasePool. (check-in: [1496808b81] user: js, branch: trunk, size: 1519) [annotate] [blame] [check-ins using] [diff]
2009-01-05
00:59
[63e211130f] part of check-in [f1b749d113] Update copyright. (check-in: [f1b749d113] user: js, branch: trunk, size: 1479) [annotate] [blame] [check-ins using] [diff]
2008-12-11
13:43
[7bc3490907] part of check-in [c83137e7cd] Remove - close from OFStream protocol.
The reason is that closing a file isn't too useful, because an OFFile
object can't be reused, whereas an OFTCPSocket can. So only the
OFTCPSocket should have closed. Plus, we don't need to handle the case
that someone tried to read from / write to a closed OFFile.
(check-in: [c83137e7cd] user: js, branch: trunk, size: 1472) [annotate] [blame] [check-ins using] [diff]
2008-12-07
10:48
[a9317063cc] part of check-in [88053589dc] Very small API change. (check-in: [88053589dc] user: js, branch: trunk, size: 1512) [annotate] [blame] [check-ins using] [diff]
10:35
[794f822abd] part of check-in [657fae20a4] Add - close to OFStream. (check-in: [657fae20a4] user: js, branch: trunk, size: 1504) [annotate] [blame] [check-ins using] [diff]
03:06
[1921fa4c55] part of check-in [70874cf3c5] Remove writeWideCString as that's a bad idea.

Endianess, size etc. may differ from system to system. While this might
be ok when writing files that are only read local again, this is
definitely not ok with sockets. So it's better to remove it from the
OFStream protocol. (check-in: [70874cf3c5] user: js, branch: trunk, size: 1464) [annotate] [blame] [check-ins using] [diff]

02:53
[6335fea124] part of check-in [6ed7c33611] Add writeCString and writeWideCString to OFStream. (check-in: [6ed7c33611] user: js, branch: trunk, size: 1706) [annotate] [blame] [check-ins using] [diff]
2008-12-06
15:22
Added: [6c96d5c694] part of check-in [f32e7ed452] Change OFFile API, add OFStream protocol. (check-in: [f32e7ed452] user: js, branch: trunk, size: 1224) [annotate] [blame] [check-ins using]