ObjFW  History of src/OFStream.m of 83333738674100ce

History of the file that is called src/OFStream.m at check-in 83333738674100ce

2024-04-29
21:42
[f7de880ff7] part of check-in [f16bccc7b3] Properly hide private symbols (check-in: [f16bccc7b3] user: js, branch: trunk, size: 30268) [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
[4f4737a0de] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 30267) [annotate] [blame] [check-ins using] [diff]
2024-04-01
15:59
[14f0d5ccca] part of check-in [cf0effe834] Remove #define __NO_EXT_QNX

It doesn't seem to be needed anymore. (check-in: [cf0effe834] user: js, branch: trunk, size: 30059) [annotate] [blame] [check-ins using] [diff]

2024-02-03
11:41
[729b564432] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 29986) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[908730005b] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 30081) [annotate] [blame] [check-ins using] [diff]
2023-12-28
01:21
[dad1270707] part of check-in [58fea9d1b2] OFStream: Fix indentation (check-in: [58fea9d1b2] user: js, branch: trunk, size: 30081) [annotate] [blame] [check-ins using] [diff]
2023-10-15
12:32
[be4eb53104] 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: 30080) [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
[15b8e35c16] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 29986) [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
[5428225ee7] part of check-in [c86b8f10f0] Add OFAssert()

This uses the same format as OFEnsure(). (check-in: [c86b8f10f0] user: js, branch: trunk, size: 29986) [annotate] [blame] [check-ins using] [diff]

2022-08-30
01:34
[e660892e5a] part of check-in [30492a6b61] OFStream: readTillDelimiter -> readUntilDelimiter (check-in: [30492a6b61] user: js, branch: trunk, size: 30006) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[7df47f7053] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 30001) [annotate] [blame] [check-ins using] [diff]
2021-12-17
17:53
[d373c9afb1] 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: 30001) [annotate] [blame] [check-ins using] [diff]

2021-11-07
19:44
[ade6bc77e4] part of check-in [7faf776e26] Let -[OFStream flushWriteBuffer] return a bool (check-in: [7faf776e26] user: js, branch: trunk, size: 39377) [annotate] [blame] [check-ins using] [diff]
2021-11-06
17:00
[34c16029c3] part of check-in [0eb7274946] Fix too strict OFEnsure introduced in last checkin (check-in: [0eb7274946] user: js, branch: trunk, size: 39334) [annotate] [blame] [check-ins using] [diff]
15:57
[e612790724] 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: 39333) [annotate] [blame] [check-ins using] [diff]

2021-04-25
11:05
[8b3bdb0a6a] part of check-in [27103855c2] A few last renames (check-in: [27103855c2] user: js, branch: new-naming-convention, size: 39130) [annotate] [blame] [check-ins using] [diff]
2021-04-18
20:51
[df559b0e4c] part of check-in [35de667566] Rename everything in several smaller files (check-in: [35de667566] user: js, branch: new-naming-convention, size: 39145) [annotate] [blame] [check-ins using] [diff]
15:55
[183122f5a4] part of check-in [7392685ffc] Rename all functions in macros.h (check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 39147) [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
[e14bf20d61] part of check-in [498074dab9] Rename of_(re)alloc and add OFFreeMemory (check-in: [498074dab9] user: js, branch: new-naming-convention, size: 39093) [annotate] [blame] [check-ins using] [diff]
03:37
[60268de704] part of check-in [b480ef54db] of_run_loop_mode_t -> OFRunLoopMode (check-in: [b480ef54db] user: js, branch: new-naming-convention, size: 38669) [annotate] [blame] [check-ins using] [diff]
03:21
[82b41b1ac9] part of check-in [c4e0e56fa3] Rename all blocks (check-in: [c4e0e56fa3] user: js, branch: new-naming-convention, size: 38783) [annotate] [blame] [check-ins using] [diff]
02:10
[7e08799ba0] part of check-in [255f21fb3d] of_string_encoding_t -> OFStringEncoding (check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 38866) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[7e32841415] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 38976) [annotate] [blame] [check-ins using] [diff]
02:36
[0671a78655] 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: 38981) [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
[d41d938d85] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 39476) [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:23
[c6022abcb0] part of check-in [627511b032] Rename of_malloc and of_calloc

The new names should be more accurate. (check-in: [627511b032] user: js, branch: trunk, size: 39565) [annotate] [blame] [check-ins using] [diff]

2020-11-06
02:12
[b13d6173e0] part of check-in [9d74d1b74e] OFData: Make parameter order more consistent (check-in: [9d74d1b74e] user: js, branch: trunk, size: 39591) [annotate] [blame] [check-ins using] [diff]
2020-11-05
02:27
[c39ea2325e] part of check-in [da1fb6b21c] Further reduce usage of -[allocMemoryWithSize:] (check-in: [da1fb6b21c] user: js, branch: trunk, size: 39591) [annotate] [blame] [check-ins using] [diff]
00:24
[631572b875] part of check-in [0ddaac3f5b] Avoid -[allocMemoryWithSize:] for temporary memory

-[allocMemoryWithSize:] has book keeping overhead that is unnecessary
for temporary memory. (check-in: [0ddaac3f5b] user: js, branch: trunk, size: 39862) [annotate] [blame] [check-ins using] [diff]

2020-11-04
23:18
[a4e5576272] part of check-in [3d8286feee] Remove of_free()

While it makes sense to wrap malloc and calloc to replace the error
checking with exceptions, it does not make sense to wrap free. (check-in: [3d8286feee] user: js, branch: trunk, size: 40556) [annotate] [blame] [check-ins using] [diff]

2020-10-25
23:33
[b34f9f0d7d] part of check-in [d0ae3bfd6c] Add of_{malloc,calloc,realloc,free} (check-in: [d0ae3bfd6c] user: js, branch: trunk, size: 40559) [annotate] [blame] [check-ins using] [diff]
2020-05-06
00:32
[dd10e2b21b] part of check-in [bc67e98833] Improve names of several properties (check-in: [bc67e98833] user: js, branch: trunk, size: 40667) [annotate] [blame] [check-ins using] [diff]
2020-04-25
17:05
[c63329fd4a] part of check-in [b02c4b05bb] Add OFDatagramSocket as base class for OFUDPSocket

This makes it easier to reuse code for other datagram sockets, namely
IPX. (check-in: [b02c4b05bb] user: js, branch: trunk, size: 40740) [annotate] [blame] [check-ins using] [diff]

2020-01-07
20:36
[2c231bfb94] part of check-in [321fa12f9a] OFStream: Always cancel async requests on close

This avoids accidentally trying to remove a closed file descriptor from
a kernel event observer. (check-in: [321fa12f9a] user: js, branch: trunk, size: 40812) [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
[749b5fd798] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 40752) [annotate] [blame] [check-ins using] [diff]
2019-08-09
23:44
[21bcad8f97] part of check-in [3dec8ecf2e] Support sockets on AmigaOS 3 (check-in: [3dec8ecf2e] user: js, branch: trunk, size: 40749) [annotate] [blame] [check-ins using] [diff]
2019-06-26
20:38
[e28f0877ba] part of check-in [d1d1843970] Fix non-blocking sockets on MorphOS (check-in: [d1d1843970] user: js, branch: trunk, size: 40749) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[9042aa5323] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 40725) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[3a06b598ab] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 40630) [annotate] [blame] [check-ins using] [diff]
2018-12-18
17:10
[f301e89c81] part of check-in [3501205f07] Slightly decrease binary size (check-in: [3501205f07] user: js, branch: trunk, size: 40624) [annotate] [blame] [check-ins using] [diff]
16:41
[9ea61c11ef] part of check-in [6b35b78f94] Add -[OFStream asyncWriteString:] (check-in: [6b35b78f94] user: js, branch: trunk, size: 40249) [annotate] [blame] [check-ins using] [diff]
14:14
[4879805b8b] 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: 38513) [annotate] [blame] [check-ins using] [diff]

2018-12-07
01:33
[a08f06103a] 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: 38772) [annotate] [blame] [check-ins using] [diff]

2018-09-24
22:14
[66ad6e1874] part of check-in [cf93ca4b21] OFStream: Allow specifying the run loop mode (check-in: [cf93ca4b21] user: js, branch: trunk, size: 39992) [annotate] [blame] [check-ins using] [diff]
00:13
[d630c5e5a6] part of check-in [3fb96dff3c] OFRunLoop: Add support for modes (check-in: [3fb96dff3c] user: js, branch: trunk, size: 37323) [annotate] [blame] [check-ins using] [diff]
2018-08-26
18:39
[e66876a272] part of check-in [bed2db0fd3] Fix compilation for Wii

This pretends that net_getsockopt() exists, which it does not yet. As
soon as it lands in libogc, this will work again. (check-in: [bed2db0fd3] user: js, branch: trunk, size: 36963) [annotate] [blame] [check-ins using] [diff]

2018-08-04
23:54
[222e2d5c1c] part of check-in [7b0f48419d] Fix compilation with GCC (check-in: [7b0f48419d] user: js, branch: trunk, size: 36892) [annotate] [blame] [check-ins using] [diff]
16:23
[7dfe0e045a] part of check-in [7de9d67be9] Support for non-blocking UDP sockets (check-in: [7de9d67be9] user: js, branch: trunk, size: 36836) [annotate] [blame] [check-ins using] [diff]
2018-06-24
23:31
[33902d6225] part of check-in [51d335dbac] -[tryReadTillDelimiter:]: Save data on exception (check-in: [51d335dbac] user: js, branch: trunk, size: 35470) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[1e88e98956] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 34894) [annotate] [blame] [check-ins using] [diff]
2017-11-19
12:56
[32a50ea176] part of check-in [615a9f2eba] Fix compilation with GCC (check-in: [615a9f2eba] user: js, branch: trunk, size: 34871) [annotate] [blame] [check-ins using] [diff]
11:04
[e841a9f1c7] 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: 36251) [annotate] [blame] [check-ins using] [diff]

2017-11-05
18:25
[3125ef69c3] part of check-in [0a4565fb0f] Use -[isMemberOfClass:] instead of object_getClass (check-in: [0a4565fb0f] user: js, branch: trunk, size: 35419) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[313554e809] 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: 35420) [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
[9e8fe0a5ac] part of check-in [2de9660312] Enable -Wnullable-to-nonnull-conversion and adjust (check-in: [2de9660312] user: js, branch: trunk, size: 35454) [annotate] [blame] [check-ins using] [diff]
2017-09-24
12:24
[815f2dd728] part of check-in [481225349f] OFStream: Add support for async writes (check-in: [481225349f] user: js, branch: trunk, size: 35402) [annotate] [blame] [check-ins using] [diff]
2017-09-23
22:07
[3923d7b75a] part of check-in [958da109d3] Support for passing a context to async IO handlers (check-in: [958da109d3] user: js, branch: trunk, size: 34465) [annotate] [blame] [check-ins using] [diff]
2017-08-12
14:23
[e45f32eef4] part of check-in [73b242894c] -[OFStream write{Data,String}:]: Check for nil (check-in: [73b242894c] user: js, branch: trunk, size: 34268) [annotate] [blame] [check-ins using] [diff]
2017-07-29
20:29
[e48fbb2fa9] part of check-in [e6d96d6fbc] OFStream: Only ignore SIGPIPE if it is defined (check-in: [e6d96d6fbc] user: js, branch: 0.90, size: 33946) [annotate] [blame] [check-ins using] [diff]
2017-07-22
20:50
[d30563e398] part of check-in [c8f7b90082] Split OFDataArray into OFData and OFMutableData (check-in: [c8f7b90082] user: js, branch: trunk, size: 33954) [annotate] [blame] [check-ins using] [diff]
2017-06-05
15:51
[7e042e0447] part of check-in [f9cd4f9cab] OFStream: Don't throw when at end of stream

Instead, let reads return 0 and let writes append after the end. (check-in: [f9cd4f9cab] user: js, branch: trunk, size: 33838) [annotate] [blame] [check-ins using] [diff]

12:50
[3e8867dc7e] part of check-in [577f0a744b] OFStream: More range checks (check-in: [577f0a744b] user: js, branch: trunk, size: 33717) [annotate] [blame] [check-ins using] [diff]
2017-06-04
18:48
[ffb5628418] part of check-in [c9621825fc] Treat MorphOS + ixemul as a separate platform

This reduces the ifdef hell and makes much more sense, as with ixemul,
no native calls are allowed. (check-in: [c9621825fc] user: js, branch: trunk, size: 31597) [annotate] [blame] [check-ins using] [diff]

2017-05-28
17:45
[c3c3a5a8ae] part of check-in [74bcc11aac] Do not set SIGPIPE handler on MorphOS + libnix (check-in: [74bcc11aac] user: js, branch: trunk, size: 31645) [annotate] [blame] [check-ins using] [diff]
2017-05-21
21:28
[563c34066f] part of check-in [6b77a5dd8b] Prefix private methods with of_ instead of OF_

This matches Apple's style. (check-in: [6b77a5dd8b] user: js, branch: trunk, size: 31537) [annotate] [blame] [check-ins using] [diff]

2017-05-13
16:29
[277ef6a678] part of check-in [f663d40cbd] Also use nonatomic for non-object properties (check-in: [f663d40cbd] user: js, branch: trunk, size: 31537) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[257a9e5027] 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: 31539) [annotate] [blame] [check-ins using] [diff]

2017-05-06
22:08
[553fc37056] part of check-in [8016761093] configure: Check for fcntl.h (check-in: [8016761093] user: js, branch: trunk, size: 31458) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[a53df0ced7] 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: 31430) [annotate] [blame] [check-ins using] [diff]

2016-06-07
22:56
[48141a71fe] 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: 31424) [annotate] [blame] [check-ins using] [diff]

2016-05-28
19:42
[b4ba3031a1] part of check-in [28fe0a104d] OFStream: Free the right variable

This was forgotten when adding the caching optimizations: It still tried
to free _readBuffer instead of _readBufferMemory, which failed as the
sanity checks noticed that _readBuffer is not the pointer that had been
allocated. (check-in: [28fe0a104d] user: js, branch: trunk, size: 31187) [annotate] [blame] [check-ins using] [diff]

2016-05-05
19:54
[3e396d5660] 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: 31181) [annotate] [blame] [check-ins using] [diff]

2016-02-21
15:37
[fefe498c92] part of check-in [e0b9167693] Make use of C99-style for loops (check-in: [e0b9167693] user: js, branch: trunk, size: 30631) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
[10303f9e86] part of check-in [cec0f072f8] Update copyright

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

00:41
[9229ae9098] part of check-in [2a27cf3000] Update copyright

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

2015-11-29
11:43
[dd5879d93a] 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: 30765) [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
[17ac0272c3] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 30771) [annotate] [blame] [check-ins using] [diff]
2015-05-14
09:58
[6ab65dacbe] part of check-in [b37fdafac1] Clean up a few file and socket related checks (check-in: [b37fdafac1] user: js, branch: trunk, size: 30740) [annotate] [blame] [check-ins using] [diff]
2015-02-16
08:39
[298e596b16] part of check-in [62e2de30b9] Explicitly pass errno to exceptions

The old behaviour where the exception would access errno directly on
creation of the exception was very fragile. The two main problems with
it were that sometimes it would pick up an errno even though none had
been set and in other cases that when the exception was created errno
had already been overridden.

This also greatly increases errno handling on Win32, especially in
conjunction with sockets. It can still be improved further, though. (check-in: [62e2de30b9] user: js, branch: trunk, size: 30737) [annotate] [blame] [check-ins using] [diff]

2015-01-19
22:29
[2daf8ca68b] part of check-in [afb42d363d] OFStream: writeBufferEnabled -> writeBuffered (check-in: [afb42d363d] user: js, branch: trunk, size: 30639) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[822fced640] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 30664) [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
[8ee1cb7e9e] 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: 30658) [annotate] [blame] [check-ins using] [diff]

2014-05-31
17:57
[6cbe514a9d] 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: 30677) [annotate] [blame] [check-ins using] [diff]

2014-02-18
00:22
[30723cee3c] part of check-in [f9d12201f8] Move around a few defines to be more consistent (check-in: [f9d12201f8] user: js, branch: trunk, size: 30679) [annotate] [blame] [check-ins using] [diff]
2014-01-30
22:02
[3ab8a5f5ba] part of check-in [ff3c507941] OFUDPSocket: Add async resolve / receive (check-in: [ff3c507941] user: js, branch: trunk, size: 30679) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[a4d58c5f84] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 30679) [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:27
[c0a14a47ec] part of check-in [6e19bd47ee] Add OF_UNRECOGNIZED_SELECTOR. (check-in: [6e19bd47ee] user: js, branch: trunk, size: 30673) [annotate] [blame] [check-ins using] [diff]
2013-10-10
02:26
[11398332ce] part of check-in [138a7a1934] OFStream: Add -[unreadFromBuffer:length:]. (check-in: [138a7a1934] user: js, branch: trunk, size: 30841) [annotate] [blame] [check-ins using] [diff]
2013-08-15
19:00
[5586c87ef1] part of check-in [1d7a1cbca0] Move private methods into private headers. (check-in: [1d7a1cbca0] user: js, branch: trunk, size: 30416) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[cfbf6fbabe] part of check-in [3d16a30f41] Rework exceptions.

This mostly removes the argument for the class in which the exception
occurred. As backtraces were recently added for all platforms, the
passed class does not give any extra information on where the exception
occurred anymore.

This also removes a few other arguments which were not too helpful. In
the past, the idea was to pass as many arguments as possible so that it
is easier to find the origin of the exception. However, as backtraces
are a much better way to find the origin, those are not useful anymore
and just make the exception more cumbersome to use. The rule is now to
only pass arguments that might help in recovering from the exception or
provide information that is otherwise not easily accessible. (check-in: [3d16a30f41] user: js, branch: trunk, size: 30357) [annotate] [blame] [check-ins using] [diff]

2013-06-17
08:44
[2d4bdd05bf] part of check-in [eceebefeab] Rename -[OFDataArray readDataArrayWithSize:].

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

2013-04-26
19:42
[f3e5357ad2] part of check-in [590c377d8a] Make it possible to disable sockets. (check-in: [590c377d8a] user: js, branch: trunk, size: 30602) [annotate] [blame] [check-ins using] [diff]
2013-03-04
17:20
[401460f5bb] 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: 30508) [annotate] [blame] [check-ins using] [diff]

2013-02-18
21:53
[826cbee6d8] 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: 30470) [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
[0bbf55df10] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 29855) [annotate] [blame] [check-ins using] [diff]
2013-01-25
22:39
[3a3eebc79f] 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: 29696) [annotate] [blame] [check-ins using] [diff]

2013-01-22
02:31
[bb57582da1] 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: 29043) [annotate] [blame] [check-ins using] [diff]

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

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

2013-01-12
17:29
[c8e036b974] part of check-in [9ddd33a258] Rename *UsingEncoding: to *WithEncoding:.

This reverts 5362941.

Even though *UsingEncoding: is what Foundation uses, *WithEncoding: is
more natural and is more consistent with the rest. Also, this means this
restores it to the API of 0.7. (check-in: [9ddd33a258] user: js, branch: trunk, size: 29055) [annotate] [blame] [check-ins using] [diff]

2013-01-09
22:24
[cd06b3b006] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 29061) [annotate] [blame] [check-ins using] [diff]
2012-12-26
14:10
[17a340fbd1] part of check-in [4b637f8516] Add OFSystemInfo. (check-in: [4b637f8516] user: js, branch: trunk, size: 29055) [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
[31e482b9ed] part of check-in [917ce5754c] Add -[doesNotRecognizeSelector:]. (check-in: [917ce5754c] user: js, branch: trunk, size: 28899) [annotate] [blame] [check-ins using] [diff]
2012-12-19
20:55
[4d480da639] part of check-in [dc7b33cd6b] Make it possible to cancel async requests. (check-in: [dc7b33cd6b] user: js, branch: trunk, size: 29263) [annotate] [blame] [check-ins using] [diff]
2012-12-16
01:24
[38e80261fb] part of check-in [28ffd3d914] OFStream: Fix a FIXME. (check-in: [28ffd3d914] user: js, branch: trunk, size: 29192) [annotate] [blame] [check-ins using] [diff]
01:18
[9acea0cd8c] part of check-in [8f6d44074d] Add -[OFStream write{String,Line}:usingEncoding:]. (check-in: [8f6d44074d] user: js, branch: trunk, size: 29217) [annotate] [blame] [check-ins using] [diff]
2012-12-15
17:52
[c1d9e7762b] part of check-in [c85ff8d35a] OFDataArray: Improve API. (check-in: [c85ff8d35a] user: js, branch: trunk, size: 28784) [annotate] [blame] [check-ins using] [diff]
2012-10-30
18:50
[a2b4bab0bd] part of check-in [13ea2fc8b1] Async I/O: Pass a context. (check-in: [13ea2fc8b1] user: js, branch: trunk, size: 29035) [annotate] [blame] [check-ins using] [diff]
2012-10-29
07:59
[cea01024de] part of check-in [63bf4de97b] Documentation improvements. (check-in: [63bf4de97b] user: js, branch: trunk, size: 28831) [annotate] [blame] [check-ins using] [diff]
2012-10-13
21:06
[1ba71f5d61] part of check-in [1cb8fee5c3] of_bswap* -> OF_BSWAP*.

This makes it clear that multiple evaluation of parameters is possible. (check-in: [1cb8fee5c3] user: js, branch: trunk, size: 28993) [annotate] [blame] [check-ins using] [diff]

2012-09-19
23:02
[c4d6ff9c2a] 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: 28993) [annotate] [blame] [check-ins using] [diff]

2012-09-17
15:48
[befd533abe] part of check-in [be6adc6e06] Add -[asyncReadIntoBuffer:exactLength:block:]. (check-in: [be6adc6e06] user: js, branch: trunk, size: 27988) [annotate] [blame] [check-ins using] [diff]
2012-09-16
15:43
[92797b60e4] part of check-in [61c1932caf] OFStream: Use lowlevel as prefix instead of _. (check-in: [61c1932caf] user: js, branch: trunk, size: 27714) [annotate] [blame] [check-ins using] [diff]
15:27
[c9efb96401] part of check-in [c137da5e5b] Prefix all private methods with OF_. (check-in: [c137da5e5b] user: js, branch: trunk, size: 27637) [annotate] [blame] [check-ins using] [diff]
2012-09-14
05:20
[f58d32520c] part of check-in [a2b309b38a] Implement async reading (into buffers and lines). (check-in: [a2b309b38a] user: js, branch: trunk, size: 27621) [annotate] [blame] [check-ins using] [diff]
2012-09-12
17:27
[6992f1ccb5] 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: 26949) [annotate] [blame] [check-ins using] [diff]

2012-07-16
22:44
[996f83c1ba] part of check-in [ff8b2a6c29] Don't require extra parentheses for OF_(UN)LIKELY. (check-in: [ff8b2a6c29] user: js, branch: trunk, size: 26542) [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
[a84b6238c0] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 26551) [annotate] [blame] [check-ins using] [diff]
2012-06-10
13:28
[6e083ee3de] part of check-in [11d3d69a22] More API improvements. (check-in: [11d3d69a22] user: js, branch: trunk, size: 26421) [annotate] [blame] [check-ins using] [diff]
2012-06-07
12:03
[335de526be] part of check-in [0d4059306a] Rework OFStream API. (check-in: [0d4059306a] user: js, branch: trunk, size: 26513) [annotate] [blame] [check-ins using] [diff]
2012-06-06
13:47
[a84cb06e69] part of check-in [f7576a66ce] Slightly change the memory management API.

Also fix a bug where OFBigDataArray would waste memory. (check-in: [f7576a66ce] user: js, branch: trunk, size: 26916) [annotate] [blame] [check-ins using] [diff]

13:09
[4d96b81ee9] part of check-in [d5ddb2cb48] Rework OFDataArray API.

Also adds more checks. (check-in: [d5ddb2cb48] user: js, branch: trunk, size: 26850) [annotate] [blame] [check-ins using] [diff]

2012-01-05
00:56
[79c2ad057e] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 26814) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[8092efbfd1] 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: 26808) [annotate] [blame] [check-ins using] [diff]

2011-09-19
19:12
[0cc0418399] 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: 26733) [annotate] [blame] [check-ins using] [diff]
16:34
[b36f920107] part of check-in [f173477bef] Rename -[allocMemoryForNItems:withSize:] and friends.
It is now -[allocMemoryForNItems:ofSize:].
(check-in: [f173477bef] user: js, branch: trunk, size: 26698) [annotate] [blame] [check-ins using] [diff]
16:22
[d011dc479a] 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: 26698) [annotate] [blame] [check-ins using] [diff]

12:34
[69277f1386] part of check-in [d43eb177bc] BOOL naming conventions. (check-in: [d43eb177bc] user: js, branch: trunk, size: 27018) [annotate] [blame] [check-ins using] [diff]
2011-09-16
12:40
[c69f9cbafe] part of check-in [295193f0b9] Optimize -[readLine] and -[readTillDelimiter:] a little.

They should be as fast as they were before -[tryReadLine] etc. were
introduced now. (check-in: [295193f0b9] user: js, branch: trunk, size: 27024) [annotate] [blame] [check-ins using] [diff]

2011-09-15
10:57
[1971d4e07a] part of check-in [bd923d90c7] Add -[tryReadTillDelimiter:]. (check-in: [bd923d90c7] user: js, branch: trunk, size: 26281) [annotate] [blame] [check-ins using] [diff]
2011-09-14
23:28
[df855ee15f] part of check-in [6e8023786a] Add -[tryReadLine] to OFStream. (check-in: [6e8023786a] user: js, branch: trunk, size: 25998) [annotate] [blame] [check-ins using] [diff]
2011-09-12
19:57
[da83014b0a] part of check-in [e6fd39d11e] Rename -[cString] to -[UTF8String]. (check-in: [e6fd39d11e] user: js, branch: trunk, size: 25873) [annotate] [blame] [check-ins using] [diff]
2011-07-17
01:55
[3a59210341] part of check-in [59e52af26d] Define __NO_EXT_QNX in files using unistd.h or fcntl.h.

Without this, the headers try to declare functions that use __block as
an argument name and thus fail to compile when using -fblocks. (check-in: [59e52af26d] user: js, branch: 0.5, size: 14217) [annotate] [blame] [check-ins using] [diff]

01:55
[e3e9e24720] part of check-in [da2701ad14] Define __NO_EXT_QNX in files using unistd.h or fcntl.h.

Without this, the headers try to declare functions that use __block as
an argument name and thus fail to compile when using -fblocks. (check-in: [da2701ad14] user: js, branch: trunk, size: 25828) [annotate] [blame] [check-ins using] [diff]

2011-07-06
22:55
[c34080c5bb] part of check-in [7558e235fe] Only allow an OFConstantString as format. (check-in: [7558e235fe] user: js, branch: trunk, size: 25805) [annotate] [blame] [check-ins using] [diff]
2011-06-28
22:56
[31bd6101f0] part of check-in [90a9d9475a] Add -[readStringWithLength:] to OFStream. (check-in: [90a9d9475a] user: js, branch: trunk, size: 25789) [annotate] [blame] [check-ins using] [diff]
2011-06-26
12:48
[5994783433] 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: 25244) [annotate] [blame] [check-ins using] [diff]
2011-06-20
19:26
[d77796d59f] part of check-in [2a2d5c4c47] Let -[writeNBytes:fromBuffer:] return void. (check-in: [2a2d5c4c47] user: js, branch: trunk, size: 16780) [annotate] [blame] [check-ins using] [diff]
2011-06-16
02:33
[fbc06e6c49] part of check-in [8440a70457] -[readNBytes:intoBuffer:] & -[writeNBytes:fromBuffer:] take a void* now. (check-in: [8440a70457] user: js, branch: trunk, size: 16781) [annotate] [blame] [check-ins using] [diff]
2011-06-05
18:32
[168d0501c3] part of check-in [f31197a153] Add methods to read / write floats and doubles to OFStream. (check-in: [f31197a153] user: js, branch: trunk, size: 16774) [annotate] [blame] [check-ins using] [diff]
2011-04-25
11:39
[17a9e9e523] part of check-in [8c45d72a13] Add -[OFDataArray readDataArrayWithNItems:]. (check-in: [8c45d72a13] user: js, branch: trunk, size: 15576) [annotate] [blame] [check-ins using] [diff]
11:35
[7a29dd6a1c] part of check-in [12617ef944] Add +[OFDataArray dataArray] with a default item size of 1. (check-in: [12617ef944] user: js, branch: trunk, size: 15443) [annotate] [blame] [check-ins using] [diff]
2011-04-22
18:00
[49caf92ef8] part of check-in [4814266280] More style improvements. (check-in: [4814266280] user: js, branch: trunk, size: 15458) [annotate] [blame] [check-ins using] [diff]
2011-04-04
23:32
[585894669b] part of check-in [93fee7265f] Remove now useless defines of _GNU_SOURCE. (check-in: [93fee7265f] user: js, branch: trunk, size: 14194) [annotate] [blame] [check-ins using] [diff]
2011-04-03
19:52
[3989a671e1] 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: 14214) [annotate] [blame] [check-ins using] [diff]

2011-03-24
21:17
[d928d7a5b3] part of check-in [7ced2e7b6a] Pass the stream for stream exceptions. (check-in: [7ced2e7b6a] user: js, branch: trunk, size: 14168) [annotate] [blame] [check-ins using] [diff]
19:42
[d42d9a7020] part of check-in [cda44767f4] Get rid of OFExceptions.h. (check-in: [cda44767f4] user: js, branch: trunk, size: 14126) [annotate] [blame] [check-ins using] [diff]
2011-02-26
19:00
[aec32d828d] part of check-in [58c07e80e4] Make isa public to allow for better class swizzling. (check-in: [58c07e80e4] user: js, branch: trunk, size: 13997) [annotate] [blame] [check-ins using] [diff]
2011-02-07
21:05
[df8ed55ecd] part of check-in [151463e32a] of_vasprintf: Preserve exceptions that happen in -[description]. (check-in: [151463e32a] user: js, branch: trunk, size: 14001) [annotate] [blame] [check-ins using] [diff]
2011-02-02
17:38
[5a1ab363d9] part of check-in [1dcfbcb479] Work around some annoying compiler bugs. (check-in: [1dcfbcb479] user: js, branch: trunk, size: 14031) [annotate] [blame] [check-ins using] [diff]
2011-02-01
20:53
[77f3cb0a9b] part of check-in [8384ca4273] Rename OF_BSWAP_* to of_bswap_* as they are not really macros. (check-in: [8384ca4273] user: js, branch: trunk, size: 14014) [annotate] [blame] [check-ins using] [diff]
2011-01-29
19:01
[91d5f2f808] part of check-in [4c4608fbba] Add of_asprintf and allow %@ in format strings. (check-in: [4c4608fbba] user: js, branch: trunk, size: 14014) [annotate] [blame] [check-ins using] [diff]
2011-01-22
23:35
[c9c58ea96b] part of check-in [d2b0beab38] Don't send two packets in -[OFStream writeLine:]. (check-in: [d2b0beab38] user: js, branch: trunk, size: 14118) [annotate] [blame] [check-ins using] [diff]
2011-01-15
18:17
[515ee39e97] part of check-in [b5ec30fa9d] Define enums as types. (check-in: [b5ec30fa9d] user: js, branch: trunk, size: 13938) [annotate] [blame] [check-ins using] [diff]
2011-01-08
15:59
[c884b52f6e] part of check-in [c53575653d] Prefer -[release] over -[dealloc]. (check-in: [c53575653d] user: js, branch: trunk, size: 13944) [annotate] [blame] [check-ins using] [diff]
15:57
[f885e71d37] part of check-in [1404d33024] Ignore SIGPIPE when using OFStream.

SIGPIPE is quite useless and contraproductive as we throw an
OFWriteFailedException anyway. (check-in: [1404d33024] user: js, branch: trunk, size: 13954) [annotate] [blame] [check-ins using] [diff]

2011-01-01
20:19
[3b625f7cf5] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 13795) [annotate] [blame] [check-ins using] [diff]
2010-12-09
19:04
[97d3571cc4] part of check-in [beb4a0d036] Move -[setBlocking] to OFStream. (check-in: [beb4a0d036] user: js, branch: trunk, size: 13539) [annotate] [blame] [check-ins using] [diff]
2010-10-25
23:03
[9e9b9829fb] part of check-in [8a7ca573c4] Clean up a lot of code (mostly init methods) and fix a missing rethrow. (check-in: [8a7ca573c4] user: js, branch: trunk, size: 12974) [annotate] [blame] [check-ins using] [diff]
2010-10-24
13:15
[712dcb6dbd] part of check-in [b6a39dd3d1] Rename a few methods returning BOOL. (check-in: [b6a39dd3d1] user: js, branch: trunk, size: 12946) [annotate] [blame] [check-ins using] [diff]
2010-09-20
11:26
[55e134209d] 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: 12929) [annotate] [blame] [check-ins using] [diff]
2010-08-24
19:37
[0bce414eb0] part of check-in [508399eac1] Prevent loss of data due to wrong encoding in -[readLine].
This allows reading again with the correct encoding.
(check-in: [508399eac1] user: js, branch: trunk, size: 12875) [annotate] [blame] [check-ins using] [diff]
2010-07-07
20:46
[5b369f2077] part of check-in [9d064462a3] Add -[fileDescriptor] to OFStream. (check-in: [9d064462a3] user: js, branch: trunk, size: 12513) [annotate] [blame] [check-ins using] [diff]
2010-04-17
22:27
[451931881c] 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: 12405) [annotate] [blame] [check-ins using] [diff]

15:46
[86b9b6684c] 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: 12449) [annotate] [blame] [check-ins using] [diff]
2010-04-10
16:13
[426e5fd1b8] part of check-in [948a5c25ce] Add -[writeFormat:withArguments:] to OFStream. (check-in: [948a5c25ce] user: js, branch: trunk, size: 12466) [annotate] [blame] [check-ins using] [diff]
2010-04-09
20:11
[86bdcc3dab] part of check-in [c5c17fdd30] Rename -[cacheWrites] to -[bufferWrites]. (check-in: [c5c17fdd30] user: js, branch: trunk, size: 12309) [annotate] [blame] [check-ins using] [diff]
17:06
[7fc39d31ba] part of check-in [c509ecf6c7] Flush the write cache before seeking. (check-in: [c509ecf6c7] user: js, branch: trunk, size: 12290) [annotate] [blame] [check-ins using] [diff]
15:22
[0c60b9fcc6] part of check-in [6217d56014] Add -[{read,write}LittleEndianInt{16,32,64}{,:}] to OFStream. (check-in: [6217d56014] user: js, branch: trunk, size: 12253) [annotate] [blame] [check-ins using] [diff]
14:59
[62c939ae2f] part of check-in [2a9e91b67c] Better hiding of the internal OFStream methods. (check-in: [2a9e91b67c] user: js, branch: trunk, size: 11371) [annotate] [blame] [check-ins using] [diff]
00:55
[15f17faee6] part of check-in [66c1d7718d] Add an optional write cache to OFStream. (check-in: [66c1d7718d] user: js, branch: trunk, size: 11492) [annotate] [blame] [check-ins using] [diff]
2010-04-08
23:48
[2c3719ee49] part of check-in [978e88a43c] Add -[writeInt8:] and -[writeBigEndianInt{16,32,64}:] to OFStream. (check-in: [978e88a43c] user: js, branch: trunk, size: 11152) [annotate] [blame] [check-ins using] [diff]
23:37
[fa0d06eb4d] part of check-in [c82e7f02f0] Add -[readInt8] and -[readBigEndianInt{16,32,64}] to OFStream. (check-in: [c82e7f02f0] user: js, branch: trunk, size: 10628) [annotate] [blame] [check-ins using] [diff]
23:26
[41f6ac1ebe] part of check-in [3006cccbb9] Add -[readDataArrayWithItemSize:andNItems:] to OFStream. (check-in: [3006cccbb9] user: js, branch: trunk, size: 10078) [annotate] [blame] [check-ins using] [diff]
23:10
[c0dabeb17f] part of check-in [96c8753847] Add -[readExactlyNBytes:intoBuffer:] to OFStream. (check-in: [96c8753847] user: js, branch: trunk, size: 9648) [annotate] [blame] [check-ins using] [diff]
21:23
[37b3e2e00f] part of check-in [967a5e6a40] Add -[writeDataArray:] to OFStream. (check-in: [967a5e6a40] user: js, branch: trunk, size: 9464) [annotate] [blame] [check-ins using] [diff]
2010-04-07
21:10
[a719ab966a] part of check-in [f93fd1838d] Make glibc happy. (check-in: [f93fd1838d] user: js, branch: trunk, size: 9300) [annotate] [blame] [check-ins using] [diff]
18:43
[6cded45acb] part of check-in [fe3b6e5457] Add -[writeFormat:] to OFStream. (check-in: [fe3b6e5457] user: js, branch: trunk, size: 9219) [annotate] [blame] [check-ins using] [diff]
2010-04-04
16:41
[0fee79697f] part of check-in [1813376c4a] Add -[readDataArrayTillEndOfStream] to OFStream. (check-in: [1813376c4a] user: js, branch: trunk, size: 8567) [annotate] [blame] [check-ins using] [diff]
2010-04-03
01:34
[08f611f86c] part of check-in [da71912af5] Add -[writeLine:] to OFStream. (check-in: [da71912af5] user: js, branch: trunk, size: 8139) [annotate] [blame] [check-ins using] [diff]
2010-03-13
21:24
[c5232e5990] part of check-in [382ed34d40] Add global variable of_pagesize and use it to reduce code duplication. (check-in: [382ed34d40] user: js, branch: trunk, size: 7754) [annotate] [blame] [check-ins using] [diff]
2010-03-05
11:52
[d552430548] part of check-in [b91a8283fe] Merge a few changesets from the default branch into the 0.2 branch.

Changesets:
* b95fcaa6d694
* 804c68d222b4
* da8cd738da3d
* 1109d5ce3419
* d03f5c1ca95d
* 2a7017722165
* 4fccdc79eeb7
* d228149fbc04
* 8782d412a4a6 (check-in: [b91a8283fe] user: js, branch: 0.2, size: 4996) [annotate] [blame] [check-ins using] [diff]

2010-02-24
22:56
[4230af470d] part of check-in [b190519866] Merge to fix wrong parent of last commit. (check-in: [b190519866] user: js, branch: trunk, size: 8046) [annotate] [blame] [check-ins using] [diff]
2010-02-20
14:44
[6d96f43f90] part of check-in [cb70f59a63] Add -[readTillDelimiter:] to OFStream and improve -[readLine]. (check-in: [cb70f59a63] user: js, branch: trunk, size: 8046) [annotate] [blame] [check-ins using] [diff]
2010-02-19
16:36
[25353db775] part of check-in [42886185fd] Update copyright. (check-in: [42886185fd] user: js, branch: trunk, size: 4994) [annotate] [blame] [check-ins using] [diff]
2010-02-02
18:58
[b0b53ca7b3] part of check-in [832188d759] Rename OFMacros.h to macros.h, as it's not a class. (check-in: [832188d759] user: js, branch: trunk, size: 4994) [annotate] [blame] [check-ins using] [diff]
2010-01-23
11:25
[c12185893b] part of check-in [1421bc837b] Make -[readLineWithEncoding:] compatible with \r\n linebreaks. (check-in: [1421bc837b] user: js, branch: trunk, size: 4996) [annotate] [blame] [check-ins using] [diff]
2010-01-16
15:05
[4d82bf6197] part of check-in [1433aef0d0] Reduce dependencies between headers. (check-in: [1433aef0d0] user: js, branch: trunk, size: 4745) [annotate] [blame] [check-ins using] [diff]
2010-01-04
14:04
[a1881748df] part of check-in [32d166557b] Make -[readLineWithEncoding:] more fault tolerant. (check-in: [32d166557b] user: js, branch: trunk, size: 4724) [annotate] [blame] [check-ins using] [diff]
2009-12-03
18:50
[dff3658c98] part of check-in [fc0b2500b9] Make OFStream caching invisible to the programmer. (check-in: [fc0b2500b9] user: js, branch: trunk, size: 4966) [annotate] [blame] [check-ins using] [diff]
2009-11-29
16:23
[2c5ce7298e] part of check-in [d57228d9d6] Allow NULL as parameter for -[freeMemory:]. (check-in: [d57228d9d6] user: js, branch: trunk, size: 4452) [annotate] [blame] [check-ins using] [diff]
2009-11-09
23:18
[1e66caad30] part of check-in [16786b4e7e] Fix a bug in OFStream that was introduced by the new \0 behaviour. (check-in: [16786b4e7e] user: js, branch: trunk, size: 4523) [annotate] [blame] [check-ins using] [diff]
22:45
[da1c9ea74b] part of check-in [a3cc34b139] Rename libobjfw to ObjFW. (check-in: [a3cc34b139] user: js, branch: trunk, size: 4497) [annotate] [blame] [check-ins using] [diff]
2009-11-02
14:47
[d18abfb3eb] part of check-in [581164864f] Make use of the recent change to -[initWithCString:encoding:length:]. (check-in: [581164864f] user: js, branch: trunk, size: 4500) [annotate] [blame] [check-ins using] [diff]
2009-09-01
11:32
[ca6dc099de] part of check-in [3ed599fe98] Rename -[length] to -[cStringLength] in OFString. (check-in: [3ed599fe98] user: js, branch: trunk, size: 4511) [annotate] [blame] [check-ins using] [diff]
2009-07-21
23:25
[4d39d4c3d2] part of check-in [9d93300b4e] Add -[readLineWithEncoding:] to read in the specified encoding. (check-in: [9d93300b4e] user: js, branch: trunk, size: 4504) [annotate] [blame] [check-ins using] [diff]
2009-07-19
16:01
[a24c081951] part of check-in [42e16978dc] Prevent calling -[init] if parameters are required. (check-in: [42e16978dc] user: js, branch: trunk, size: 4284) [annotate] [blame] [check-ins using] [diff]
14:05
[5bb8f6d8aa] part of check-in [4eae61a78f] Rename andFoo: to foo: in all methods. (check-in: [4eae61a78f] user: js, branch: trunk, size: 4170) [annotate] [blame] [check-ins using] [diff]
2009-07-17
11:25
[fc7e1fba0a] part of check-in [328decd247] Use +[stringWithCString:andLength:] in -[readLine]. (check-in: [328decd247] user: js, branch: trunk, size: 4170) [annotate] [blame] [check-ins using] [diff]
2009-06-09
13:21
[b556a211fc] part of check-in [b464ddcda5] Handle reads with a returned size of 0 safely in -[readLine].

Before, it could call memcpy with size of 0 on a pointer that might be
NULL and thus might be undefined behaviour. This way, it's compatible to
the OFSocket change in the commit before. (check-in: [b464ddcda5] user: js, branch: trunk, size: 4592) [annotate] [blame] [check-ins using] [diff]

2009-06-02
19:25
[a25cf5ad1f] part of check-in [f1dae95070] Improve -[readLine] in OFStream. (check-in: [f1dae95070] user: js, branch: trunk, size: 4451) [annotate] [blame] [check-ins using] [diff]
2009-05-29
19:21
[3f64dd68d8] part of check-in [033054ad75] A few renames.

OFExceptions:
* OFNoMemException to OFOutOfMemoryException.
* OFMemNotPartOfObjException to OFMemoryNotPartOfObjectException.

OFObject:
* -[addItemToMemoryPool:] to -[addMemoryToPool:].
* -[allocWithSize:] to -[allocMemoryWithSize:].
* -[allocNItems:withSize] to -[allocMemoryForNItems:withSize:].
* -[resizeMem:toSize] to -[resizeMemory:toSize:].
* -[resizeMem:toNItems:withSize:] to
-[resizeMemoryToNItems:withSize:].
* -[freeMem] to -[freeMemory:].

OFString:
* -[urlencode] to -[urlEncodedString].
* -[urldecode] to -[urlDecodedString]. (check-in: [033054ad75] user: js, branch: trunk, size: 3921) [annotate] [blame] [check-ins using] [diff]

2009-05-24
18:04
[1ada4c447c] part of check-in [94ea6848a8] Always use #include "config.h" instead of #import "config.h". (check-in: [94ea6848a8] user: js, branch: trunk, size: 3820) [annotate] [blame] [check-ins using] [diff]
00:18
[86513faaa0] part of check-in [127d635848] Get rid of dependency on getpagesize(). (check-in: [127d635848] user: js, branch: trunk, size: 3819) [annotate] [blame] [check-ins using] [diff]
2009-05-15
22:59
[6d62a21fd5] part of check-in [4c6d6c56ac] As we memset our ivars to 0, get rid of some useless ivar inits. (check-in: [4c6d6c56ac] user: js, branch: trunk, size: 3577) [annotate] [blame] [check-ins using] [diff]
20:01
[755dcbeaa4] part of check-in [67066be692] Use OFString as much as possible. (check-in: [67066be692] user: js, branch: trunk, size: 3593) [annotate] [blame] [check-ins using] [diff]
2009-05-07
16:08
[37d8c8f6d5] part of check-in [0110aec5c0] Add OFSocket base class. (check-in: [0110aec5c0] user: js, branch: trunk, size: 3307) [annotate] [blame] [check-ins using] [diff]
2009-05-05
12:05
[2bd6cd6bda] part of check-in [2a4aa05a84] Rename OFArray to OFDataArray and add a new OFArray which stores objects.
Additionally, change OFAutoreleasePool to use the new OFArray.

And while at it, change #import <config.h> in some files to
#import "config.h". (check-in: [2a4aa05a84] user: js, branch: trunk, size: 3323) [annotate] [blame] [check-ins using] [diff]

2009-05-03
17:19
Added: [4ee7f03849] 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: 3323) [annotate] [blame] [check-ins using]