History of file src/OFStream.m at check-in a13251499a58bde6
2024-10-27
| ||
17:45 | OFStream: Rework blocks-based API file: [3c615c19ea] check-in: [9808f35fb3] user: js, branch: trunk, size: 40245 [annotate] [blame] [check-ins using] [diff] | |
2024-10-19
| ||
11:38 | Add -[OFStream asyncReadString] file: [8516a05a5a] check-in: [95e2910172] user: js, branch: trunk, size: 35334 [annotate] [blame] [check-ins using] [diff] | |
11:09 | Add -[OFStream tryReadStringWithEncoding:] file: [9664024d76] check-in: [6e91e313a5] user: js, branch: trunk, size: 33802 [annotate] [blame] [check-ins using] [diff] | |
2024-04-29
| ||
21:42 | Properly hide private symbols file: [f7de880ff7] check-in: [f16bccc7b3] user: js, branch: trunk, size: 30268 [annotate] [blame] [check-ins using] [diff] | |
2024-04-03
| ||
02:16 | Change license to LGPLv3 only file: [4f4737a0de] check-in: [7413a728a7] user: js, branch: trunk, size: 30267 [annotate] [blame] [check-ins using] [diff] | |
2024-04-01
| ||
15:59 |
Remove #define __NO_EXT_QNX
It doesn't seem to be needed anymore. file: [14f0d5ccca] check-in: [cf0effe834] user: js, branch: trunk, size: 30059 [annotate] [blame] [check-ins using] [diff] | |
2024-02-03
| ||
11:41 | Update copyright file: [729b564432] check-in: [7324ec8590] user: js, branch: 1.0, size: 29986 [annotate] [blame] [check-ins using] [diff] | |
2024-01-02
| ||
17:17 | Update copyright file: [908730005b] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 30081 [annotate] [blame] [check-ins using] [diff] | |
2023-12-28
| ||
01:21 | OFStream: Fix indentation file: [dad1270707] check-in: [58fea9d1b2] user: js, branch: trunk, size: 30081 [annotate] [blame] [check-ins using] [diff] | |
2023-10-15
| ||
12:32 |
Add -[OFStream lowlevelIsAtEndOfStream]
This allows for a much cleaner solution to avoid the internal read | |
2023-01-06
| ||
09:04 | Update copyright file: [15b8e35c16] check-in: [8939cbdb52] user: js, branch: trunk, size: 29986 [annotate] [blame] [check-ins using] [diff] | |
2022-11-16
| ||
01:27 |
Add OFAssert()
This uses the same format as OFEnsure(). file: [5428225ee7] check-in: [c86b8f10f0] user: js, branch: trunk, size: 29986 [annotate] [blame] [check-ins using] [diff] | |
2022-08-30
| ||
01:34 | OFStream: readTillDelimiter -> readUntilDelimiter file: [e660892e5a] check-in: [30492a6b61] user: js, branch: trunk, size: 30006 [annotate] [blame] [check-ins using] [diff] | |
2022-02-12
| ||
07:46 | Update copyright file: [7df47f7053] check-in: [1a86b8175b] user: js, branch: trunk, size: 30001 [annotate] [blame] [check-ins using] [diff] | |
2021-12-17
| ||
17:53 |
OFStream: Remove methods for typed/swapped arrays
Those are never used in practice. file: [d373c9afb1] check-in: [808601a0cc] user: js, branch: trunk, size: 30001 [annotate] [blame] [check-ins using] [diff] | |
2021-11-07
| ||
19:44 | Let -[OFStream flushWriteBuffer] return a bool file: [ade6bc77e4] check-in: [7faf776e26] user: js, branch: trunk, size: 39377 [annotate] [blame] [check-ins using] [diff] | |
2021-11-06
| ||
17:00 | Fix too strict OFEnsure introduced in last checkin file: [34c16029c3] check-in: [0eb7274946] user: js, branch: trunk, size: 39334 [annotate] [blame] [check-ins using] [diff] | |
15:57 |
OFStream: New write API
The old write API made it too easy to lose bytes when a stream is set to | |
2021-04-25
| ||
11:05 | A few last renames file: [8b3bdb0a6a] check-in: [27103855c2] user: js, branch: new-naming-convention, size: 39130 [annotate] [blame] [check-ins using] [diff] | |
2021-04-18
| ||
20:51 | Rename everything in several smaller files file: [df559b0e4c] check-in: [35de667566] user: js, branch: new-naming-convention, size: 39145 [annotate] [blame] [check-ins using] [diff] | |
15:55 | Rename all functions in macros.h file: [183122f5a4] check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 39147 [annotate] [blame] [check-ins using] [diff] | |
2021-04-17
| ||
22:45 | Rename of_(re)alloc and add OFFreeMemory file: [e14bf20d61] check-in: [498074dab9] user: js, branch: new-naming-convention, size: 39093 [annotate] [blame] [check-ins using] [diff] | |
03:37 | of_run_loop_mode_t -> OFRunLoopMode file: [60268de704] check-in: [b480ef54db] user: js, branch: new-naming-convention, size: 38669 [annotate] [blame] [check-ins using] [diff] | |
03:21 | Rename all blocks file: [82b41b1ac9] check-in: [c4e0e56fa3] user: js, branch: new-naming-convention, size: 38783 [annotate] [blame] [check-ins using] [diff] | |
02:10 | of_string_encoding_t -> OFStringEncoding file: [7e08799ba0] check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 38866 [annotate] [blame] [check-ins using] [diff] | |
2021-03-07
| ||
20:25 | *.m: Fold methods into one line where it fits file: [7e32841415] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 38976 [annotate] [blame] [check-ins using] [diff] | |
02:36 |
Style change: Allow more than 1 argument per line
This is only migrating some places, others will be migrated as they are | |
2021-01-02
| ||
22:04 | Update copyright file: [d41d938d85] check-in: [374e1a1bfa] user: js, branch: trunk, size: 39476 [annotate] [blame] [check-ins using] [diff] | |
2020-11-14
| ||
12:23 |
Rename of_malloc and of_calloc
The new names should be more accurate. file: [c6022abcb0] check-in: [627511b032] user: js, branch: trunk, size: 39565 [annotate] [blame] [check-ins using] [diff] | |
2020-11-06
| ||
02:12 | OFData: Make parameter order more consistent file: [b13d6173e0] check-in: [9d74d1b74e] user: js, branch: trunk, size: 39591 [annotate] [blame] [check-ins using] [diff] | |
2020-11-05
| ||
02:27 | Further reduce usage of -[allocMemoryWithSize:] file: [c39ea2325e] check-in: [da1fb6b21c] user: js, branch: trunk, size: 39591 [annotate] [blame] [check-ins using] [diff] | |
00:24 |
Avoid -[allocMemoryWithSize:] for temporary memory
-[allocMemoryWithSize:] has book keeping overhead that is unnecessary | |
2020-11-04
| ||
23:18 |
Remove of_free()
While it makes sense to wrap malloc and calloc to replace the error | |
2020-10-25
| ||
23:33 | Add of_{malloc,calloc,realloc,free} file: [b34f9f0d7d] check-in: [d0ae3bfd6c] user: js, branch: trunk, size: 40559 [annotate] [blame] [check-ins using] [diff] | |
2020-05-06
| ||
00:32 | Improve names of several properties file: [dd10e2b21b] check-in: [bc67e98833] user: js, branch: trunk, size: 40667 [annotate] [blame] [check-ins using] [diff] | |
2020-04-25
| ||
17:05 |
Add OFDatagramSocket as base class for OFUDPSocket
This makes it easier to reuse code for other datagram sockets, namely | |
2020-01-07
| ||
20:36 |
OFStream: Always cancel async requests on close
This avoids accidentally trying to remove a closed file descriptor from | |
2020-01-02
| ||
01:51 | Update copyright file: [749b5fd798] check-in: [c7f0229795] user: js, branch: trunk, size: 40752 [annotate] [blame] [check-ins using] [diff] | |
2019-08-09
| ||
23:44 | Support sockets on AmigaOS 3 file: [21bcad8f97] check-in: [3dec8ecf2e] user: js, branch: trunk, size: 40749 [annotate] [blame] [check-ins using] [diff] | |
2019-06-26
| ||
20:38 | Fix non-blocking sockets on MorphOS file: [e28f0877ba] check-in: [d1d1843970] user: js, branch: trunk, size: 40749 [annotate] [blame] [check-ins using] [diff] | |
2019-03-08
| ||
00:35 | Use dot syntax file: [9042aa5323] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 40725 [annotate] [blame] [check-ins using] [diff] | |
2019-01-03
| ||
19:13 | Update copyright file: [3a06b598ab] check-in: [0509d7a844] user: js, branch: trunk, size: 40630 [annotate] [blame] [check-ins using] [diff] | |
2018-12-18
| ||
17:10 | Slightly decrease binary size file: [f301e89c81] check-in: [3501205f07] user: js, branch: trunk, size: 40624 [annotate] [blame] [check-ins using] [diff] | |
16:41 | Add -[OFStream asyncWriteString:] file: [9ea61c11ef] check-in: [6b35b78f94] user: js, branch: trunk, size: 40249 [annotate] [blame] [check-ins using] [diff] | |
14:14 |
Use OFData instead of a buffer for async writes
This avoids the entire problem of keeping the buffer alive until the | |
2018-12-07
| ||
01:33 |
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, | |
2018-09-24
| ||
22:14 | OFStream: Allow specifying the run loop mode file: [66ad6e1874] check-in: [cf93ca4b21] user: js, branch: trunk, size: 39992 [annotate] [blame] [check-ins using] [diff] | |
00:13 | OFRunLoop: Add support for modes file: [d630c5e5a6] check-in: [3fb96dff3c] user: js, branch: trunk, size: 37323 [annotate] [blame] [check-ins using] [diff] | |
2018-08-26
| ||
18:39 |
Fix compilation for Wii
This pretends that net_getsockopt() exists, which it does not yet. As | |
2018-08-04
| ||
23:54 | Fix compilation with GCC file: [222e2d5c1c] check-in: [7b0f48419d] user: js, branch: trunk, size: 36892 [annotate] [blame] [check-ins using] [diff] | |
16:23 | Support for non-blocking UDP sockets file: [7dfe0e045a] check-in: [7de9d67be9] user: js, branch: trunk, size: 36836 [annotate] [blame] [check-ins using] [diff] | |
2018-06-24
| ||
23:31 | -[tryReadTillDelimiter:]: Save data on exception file: [33902d6225] check-in: [51d335dbac] user: js, branch: trunk, size: 35470 [annotate] [blame] [check-ins using] [diff] | |
2018-01-03
| ||
19:49 | Update copyright notice file: [1e88e98956] check-in: [7e5c81e186] user: js, branch: trunk, size: 34894 [annotate] [blame] [check-ins using] [diff] | |
2017-11-19
| ||
12:56 | Fix compilation with GCC file: [32a50ea176] check-in: [615a9f2eba] user: js, branch: trunk, size: 34871 [annotate] [blame] [check-ins using] [diff] | |
11:04 |
Do not conform to OFReadyFor*Observing by default
Instead of letting OFStream conform to it, which itself does not really | |
2017-11-05
| ||
18:25 | Use -[isMemberOfClass:] instead of object_getClass file: [3125ef69c3] check-in: [0a4565fb0f] user: js, branch: trunk, size: 35419 [annotate] [blame] [check-ins using] [diff] | |
2017-10-17
| ||
00:33 |
Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does | |
2017-09-28
| ||
23:02 | Enable -Wnullable-to-nonnull-conversion and adjust file: [9e8fe0a5ac] check-in: [2de9660312] user: js, branch: trunk, size: 35454 [annotate] [blame] [check-ins using] [diff] | |
2017-09-24
| ||
12:24 | OFStream: Add support for async writes file: [815f2dd728] check-in: [481225349f] user: js, branch: trunk, size: 35402 [annotate] [blame] [check-ins using] [diff] | |
2017-09-23
| ||
22:07 | Support for passing a context to async IO handlers file: [3923d7b75a] check-in: [958da109d3] user: js, branch: trunk, size: 34465 [annotate] [blame] [check-ins using] [diff] | |
2017-08-12
| ||
14:23 | -[OFStream write{Data,String}:]: Check for nil file: [e45f32eef4] check-in: [73b242894c] user: js, branch: trunk, size: 34268 [annotate] [blame] [check-ins using] [diff] | |
2017-07-29
| ||
20:29 | OFStream: Only ignore SIGPIPE if it is defined file: [e48fbb2fa9] check-in: [e6d96d6fbc] user: js, branch: 0.90, size: 33946 [annotate] [blame] [check-ins using] [diff] | |
2017-07-22
| ||
20:50 | Split OFDataArray into OFData and OFMutableData file: [d30563e398] check-in: [c8f7b90082] user: js, branch: trunk, size: 33954 [annotate] [blame] [check-ins using] [diff] | |
2017-06-05
| ||
15:51 |
OFStream: Don't throw when at end of stream
Instead, let reads return 0 and let writes append after the end. file: [7e042e0447] check-in: [f9cd4f9cab] user: js, branch: trunk, size: 33838 [annotate] [blame] [check-ins using] [diff] | |
12:50 | OFStream: More range checks file: [3e8867dc7e] check-in: [577f0a744b] user: js, branch: trunk, size: 33717 [annotate] [blame] [check-ins using] [diff] | |
2017-06-04
| ||
18:48 |
Treat MorphOS + ixemul as a separate platform
This reduces the ifdef hell and makes much more sense, as with ixemul, | |
2017-05-28
| ||
17:45 | Do not set SIGPIPE handler on MorphOS + libnix file: [c3c3a5a8ae] check-in: [74bcc11aac] user: js, branch: trunk, size: 31645 [annotate] [blame] [check-ins using] [diff] | |
2017-05-21
| ||
21:28 |
Prefix private methods with of_ instead of OF_
This matches Apple's style. file: [563c34066f] check-in: [6b77a5dd8b] user: js, branch: trunk, size: 31537 [annotate] [blame] [check-ins using] [diff] | |
2017-05-13
| ||
16:29 | Also use nonatomic for non-object properties file: [277ef6a678] check-in: [f663d40cbd] user: js, branch: trunk, size: 31537 [annotate] [blame] [check-ins using] [diff] | |
2017-05-07
| ||
20:10 |
Small code style change
Casts are now written like types in variable declarations. file: [257a9e5027] check-in: [4af49a13c3] user: js, branch: trunk, size: 31539 [annotate] [blame] [check-ins using] [diff] | |
2017-05-06
| ||
22:08 | configure: Check for fcntl.h file: [553fc37056] check-in: [8016761093] user: js, branch: trunk, size: 31458 [annotate] [blame] [check-ins using] [diff] | |
2017-01-09
| ||
17:36 |
Update copyright
Forgot to add 2017, even though I already did quite some changes in | |
2016-06-07
| ||
22:56 |
Add support for reusing OFStreams after close
Right now, this is only useful for OFTCPSocket, as this is the only | |
2016-05-28
| ||
19:42 |
OFStream: Free the right variable
This was forgotten when adding the caching optimizations: It still tried | |
2016-05-05
| ||
19:54 |
OFStream: Cache small reads to reduce syscalls
In some situations, this is 50x faster. file: [3e396d5660] check-in: [a7d66e7ab2] user: js, branch: trunk, size: 31181 [annotate] [blame] [check-ins using] [diff] | |
2016-02-21
| ||
15:37 | Make use of C99-style for loops file: [fefe498c92] check-in: [e0b9167693] user: js, branch: trunk, size: 30631 [annotate] [blame] [check-ins using] [diff] | |
2016-01-03
| ||
00:43 |
Update copyright
While at it, also update the mail address. file: [10303f9e86] check-in: [cec0f072f8] user: js, branch: 0.8, size: 30744 [annotate] [blame] [check-ins using] [diff] | |
00:41 |
Update copyright
While at it, also update the mail address. file: [9229ae9098] check-in: [2a27cf3000] user: js, branch: trunk, size: 30769 [annotate] [blame] [check-ins using] [diff] | |
2015-11-29
| ||
11:43 |
Make properties a requirement and clean up code
This increases the required GCC version from 4.0 to 4.6 (exception: | |
2015-10-19
| ||
22:15 | Add platform.h & make platform defines consistent file: [17ac0272c3] check-in: [1ba08eebc5] user: js, branch: trunk, size: 30771 [annotate] [blame] [check-ins using] [diff] | |
2015-05-14
| ||
09:58 | Clean up a few file and socket related checks file: [6ab65dacbe] check-in: [b37fdafac1] user: js, branch: trunk, size: 30740 [annotate] [blame] [check-ins using] [diff] | |
2015-02-16
| ||
08:39 |
Explicitly pass errno to exceptions
The old behaviour where the exception would access errno directly on This also greatly increases errno handling on Win32, especially in | |
2015-01-19
| ||
22:29 | OFStream: writeBufferEnabled -> writeBuffered file: [2daf8ca68b] check-in: [afb42d363d] user: js, branch: trunk, size: 30639 [annotate] [blame] [check-ins using] [diff] | |
2015-01-03
| ||
20:57 | Update copyright file: [822fced640] check-in: [cfd374b906] user: js, branch: trunk, size: 30664 [annotate] [blame] [check-ins using] [diff] | |
2014-06-21
| ||
21:43 |
Move all macros from OFObject.h to macros.h
This means that OFObject.h imports macros.h now, making it unnecessary | |
2014-05-31
| ||
17:57 |
OFStream: Add -[hasDataInReadBuffer].
This replaces -[numberOfBytesInReadBuffer], as it's not always known how | |
2014-02-18
| ||
00:22 | Move around a few defines to be more consistent file: [30723cee3c] check-in: [f9d12201f8] user: js, branch: trunk, size: 30679 [annotate] [blame] [check-ins using] [diff] | |
2014-01-30
| ||
22:02 | OFUDPSocket: Add async resolve / receive file: [3ab8a5f5ba] check-in: [ff3c507941] user: js, branch: trunk, size: 30679 [annotate] [blame] [check-ins using] [diff] | |
2014-01-04
| ||
00:24 | Update copyright. file: [a4d58c5f84] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 30679 [annotate] [blame] [check-ins using] [diff] | |
2013-11-23
| ||
01:27 | Add OF_UNRECOGNIZED_SELECTOR. file: [c0a14a47ec] check-in: [6e19bd47ee] user: js, branch: trunk, size: 30673 [annotate] [blame] [check-ins using] [diff] | |
2013-10-10
| ||
02:26 | OFStream: Add -[unreadFromBuffer:length:]. file: [11398332ce] check-in: [138a7a1934] user: js, branch: trunk, size: 30841 [annotate] [blame] [check-ins using] [diff] | |
2013-08-15
| ||
19:00 | Move private methods into private headers. file: [5586c87ef1] check-in: [1d7a1cbca0] user: js, branch: trunk, size: 30416 [annotate] [blame] [check-ins using] [diff] | |
2013-06-22
| ||
12:12 |
Rework exceptions.
This mostly removes the argument for the class in which the exception This also removes a few other arguments which were not too helpful. In | |
2013-06-17
| ||
08:44 |
Rename -[OFDataArray readDataArrayWithSize:].
It is now called -[readDataArrayWithCount:]. file: [2d4bdd05bf] check-in: [eceebefeab] user: js, branch: trunk, size: 30605 [annotate] [blame] [check-ins using] [diff] | |
2013-04-26
| ||
19:42 | Make it possible to disable sockets. file: [f3e5357ad2] check-in: [590c377d8a] user: js, branch: trunk, size: 30602 [annotate] [blame] [check-ins using] [diff] | |
2013-03-04
| ||
17:20 |
Replace BOOL with bool.
The only places where BOOL is left are those where they are required by | |
2013-02-18
| ||
21:53 |
Rename -[OFStream pendingBytes].
It is now called -[numberOfBytesInReadBuffer]. Additionally, this commit renames OFStream's _cache to _readBuffer. file: [826cbee6d8] check-in: [efe7be259d] user: js, branch: trunk, size: 30470 [annotate] [blame] [check-ins using] [diff] | |
2013-02-12
| ||
18:22 | Prefix all ivars with an underscore. file: [0bbf55df10] check-in: [e40729d406] user: js, branch: trunk, size: 29855 [annotate] [blame] [check-ins using] [diff] | |
2013-01-25
| ||
22:39 |
Make -[OFStream setBlocking:] more robust.
-[setBlocking:] correctly works for unidirectional streams now. file: [3a3eebc79f] check-in: [436f274d65] user: js, branch: trunk, size: 29696 [annotate] [blame] [check-ins using] [diff] | |
2013-01-22
| ||
02:31 |
OFStream: Add property for writeBufferEnabled.
This also renames the getter to -[isWriteBufferEnabled]. file: [bb57582da1] check-in: [b96b150ce3] user: js, branch: trunk, size: 29043 [annotate] [blame] [check-ins using] [diff] | |
2013-01-14
| ||
23:56 |
OFStream: Rename -[write*:usingEncoding:].
It is now -[write*:encoding:]. file: [94745f6f8c] check-in: [5405bd5c5f] user: js, branch: trunk, size: 29041 [annotate] [blame] [check-ins using] [diff] | |
2013-01-12
| ||
17:29 |
Rename *UsingEncoding: to *WithEncoding:.
This reverts 5362941. Even though *UsingEncoding: is what Foundation uses, *WithEncoding: is | |
2013-01-09
| ||
22:24 | Update copyright. file: [cd06b3b006] check-in: [813c00ccf0] user: js, branch: trunk, size: 29061 [annotate] [blame] [check-ins using] [diff] | |
2012-12-26
| ||
14:10 | Add OFSystemInfo. file: [17a340fbd1] check-in: [4b637f8516] user: js, branch: trunk, size: 29055 [annotate] [blame] [check-ins using] [diff] | |
2012-12-22
| ||
15:37 | Add -[doesNotRecognizeSelector:]. file: [31e482b9ed] check-in: [917ce5754c] user: js, branch: trunk, size: 28899 [annotate] [blame] [check-ins using] [diff] | |
2012-12-19
| ||
20:55 | Make it possible to cancel async requests. file: [4d480da639] check-in: [dc7b33cd6b] user: js, branch: trunk, size: 29263 [annotate] [blame] [check-ins using] [diff] | |
2012-12-16
| ||
01:24 | OFStream: Fix a FIXME. file: [38e80261fb] check-in: [28ffd3d914] user: js, branch: trunk, size: 29192 [annotate] [blame] [check-ins using] [diff] | |
01:18 | Add -[OFStream write{String,Line}:usingEncoding:]. file: [9acea0cd8c] check-in: [8f6d44074d] user: js, branch: trunk, size: 29217 [annotate] [blame] [check-ins using] [diff] | |
2012-12-15
| ||
17:52 | OFDataArray: Improve API. file: [c1d9e7762b] check-in: [c85ff8d35a] user: js, branch: trunk, size: 28784 [annotate] [blame] [check-ins using] [diff] | |
2012-10-30
| ||
18:50 | Async I/O: Pass a context. file: [a2b4bab0bd] check-in: [13ea2fc8b1] user: js, branch: trunk, size: 29035 [annotate] [blame] [check-ins using] [diff] | |
2012-10-29
| ||
07:59 | Documentation improvements. file: [cea01024de] check-in: [63bf4de97b] user: js, branch: trunk, size: 28831 [annotate] [blame] [check-ins using] [diff] | |
2012-10-13
| ||
21:06 |
of_bswap* -> OF_BSWAP*.
This makes it clear that multiple evaluation of parameters is possible. file: [1ba71f5d61] check-in: [1cb8fee5c3] user: js, branch: trunk, size: 28993 [annotate] [blame] [check-ins using] [diff] | |
2012-09-19
| ||
23:02 |
Make async I/O possible without blocks.
Async connecting is still missing. file: [c4d6ff9c2a] check-in: [4d9a641d87] user: js, branch: trunk, size: 28993 [annotate] [blame] [check-ins using] [diff] | |
2012-09-17
| ||
15:48 | Add -[asyncReadIntoBuffer:exactLength:block:]. file: [befd533abe] check-in: [be6adc6e06] user: js, branch: trunk, size: 27988 [annotate] [blame] [check-ins using] [diff] | |
2012-09-16
| ||
15:43 | OFStream: Use lowlevel as prefix instead of _. file: [92797b60e4] check-in: [61c1932caf] user: js, branch: trunk, size: 27714 [annotate] [blame] [check-ins using] [diff] | |
15:27 | Prefix all private methods with OF_. file: [c9efb96401] check-in: [c137da5e5b] user: js, branch: trunk, size: 27637 [annotate] [blame] [check-ins using] [diff] | |
2012-09-14
| ||
05:20 | Implement async reading (into buffers and lines). file: [f58d32520c] check-in: [a2b309b38a] user: js, branch: trunk, size: 27621 [annotate] [blame] [check-ins using] [diff] | |
2012-09-12
| ||
17:27 |
Split -[OFStream fileDescriptor].
It is now -[fileDescriptorForReading] and -[fileDescriptorForWriting]. | |
2012-07-16
| ||
22:44 | Don't require extra parentheses for OF_(UN)LIKELY. file: [996f83c1ba] check-in: [ff8b2a6c29] user: js, branch: trunk, size: 26542 [annotate] [blame] [check-ins using] [diff] | |
2012-07-12
| ||
01:28 | Don't access isa directly. file: [a84b6238c0] check-in: [8892ae9fcc] user: js, branch: trunk, size: 26551 [annotate] [blame] [check-ins using] [diff] | |
2012-06-10
| ||
13:28 | More API improvements. file: [6e083ee3de] check-in: [11d3d69a22] user: js, branch: trunk, size: 26421 [annotate] [blame] [check-ins using] [diff] | |
2012-06-07
| ||
12:03 | Rework OFStream API. file: [335de526be] check-in: [0d4059306a] user: js, branch: trunk, size: 26513 [annotate] [blame] [check-ins using] [diff] | |
2012-06-06
| ||
13:47 |
Slightly change the memory management API.
Also fix a bug where OFBigDataArray would waste memory. file: [a84cb06e69] check-in: [f7576a66ce] user: js, branch: trunk, size: 26916 [annotate] [blame] [check-ins using] [diff] | |
13:09 |
Rework OFDataArray API.
Also adds more checks. file: [4d96b81ee9] check-in: [d5ddb2cb48] user: js, branch: trunk, size: 26850 [annotate] [blame] [check-ins using] [diff] | |
2012-01-05
| ||
00:56 | Update copyright. file: [79c2ad057e] check-in: [ce70e17b38] user: js, branch: trunk, size: 26814 [annotate] [blame] [check-ins using] [diff] | |
2011-09-22
| ||
23:25 |
Exceptions are now autoreleased.
This is safe as an "exception loop" can't happen, since if allocating So, the worst case would be that an autorelease of an exception fails, | |
2011-09-19
| ||
19:12 | Make it possible to use an OFStream as a key for a dictionary. file: [0cc0418399] check-in: [9aa9d6d075] user: js, branch: trunk, size: 26733 [annotate] [blame] [check-ins using] [diff] | |
16:34 |
Rename -[allocMemoryForNItems:withSize:] and friends. It is now -[allocMemoryForNItems:ofSize:]. file: [b36f920107] check-in: [f173477bef] user: js, branch: trunk, size: 26698 [annotate] [blame] [check-ins using] [diff] | |
16:22 |
Make using -[tryReadLine] + OFStreamObserver safe.
This makes it impossible for the developer to accidentally create a DoS. | |
12:34 | BOOL naming conventions. file: [69277f1386] check-in: [d43eb177bc] user: js, branch: trunk, size: 27018 [annotate] [blame] [check-ins using] [diff] | |
2011-09-16
| ||
12:40 |
Optimize -[readLine] and -[readTillDelimiter:] a little.
They should be as fast as they were before -[tryReadLine] etc. were | |
2011-09-15
| ||
10:57 | Add -[tryReadTillDelimiter:]. file: [1971d4e07a] check-in: [bd923d90c7] user: js, branch: trunk, size: 26281 [annotate] [blame] [check-ins using] [diff] | |
2011-09-14
| ||
23:28 | Add -[tryReadLine] to OFStream. file: [df855ee15f] check-in: [6e8023786a] user: js, branch: trunk, size: 25998 [annotate] [blame] [check-ins using] [diff] | |
2011-09-12
| ||
19:57 | Rename -[cString] to -[UTF8String]. file: [da83014b0a] check-in: [e6fd39d11e] user: js, branch: trunk, size: 25873 [annotate] [blame] [check-ins using] [diff] | |
2011-07-17
| ||
01:55 |
Define __NO_EXT_QNX in files using unistd.h or fcntl.h.
Without this, the headers try to declare functions that use __block as | |
01:55 |
Define __NO_EXT_QNX in files using unistd.h or fcntl.h.
Without this, the headers try to declare functions that use __block as | |
2011-07-06
| ||
22:55 | Only allow an OFConstantString as format. file: [c34080c5bb] check-in: [7558e235fe] user: js, branch: trunk, size: 25805 [annotate] [blame] [check-ins using] [diff] | |
2011-06-28
| ||
22:56 | Add -[readStringWithLength:] to OFStream. file: [31bd6101f0] check-in: [90a9d9475a] user: js, branch: trunk, size: 25789 [annotate] [blame] [check-ins using] [diff] | |
2011-06-26
| ||
12:48 | Add methods to read/write arrays with correct byte ordering to OFStream. file: [5994783433] check-in: [1ccbecd52a] user: js, branch: trunk, size: 25244 [annotate] [blame] [check-ins using] [diff] | |
2011-06-20
| ||
19:26 | Let -[writeNBytes:fromBuffer:] return void. file: [d77796d59f] check-in: [2a2d5c4c47] user: js, branch: trunk, size: 16780 [annotate] [blame] [check-ins using] [diff] | |
2011-06-16
| ||
02:33 | -[readNBytes:intoBuffer:] & -[writeNBytes:fromBuffer:] take a void* now. file: [fbc06e6c49] check-in: [8440a70457] user: js, branch: trunk, size: 16781 [annotate] [blame] [check-ins using] [diff] | |
2011-06-05
| ||
18:32 | Add methods to read / write floats and doubles to OFStream. file: [168d0501c3] check-in: [f31197a153] user: js, branch: trunk, size: 16774 [annotate] [blame] [check-ins using] [diff] | |
2011-04-25
| ||
11:39 | Add -[OFDataArray readDataArrayWithNItems:]. file: [17a9e9e523] check-in: [8c45d72a13] user: js, branch: trunk, size: 15576 [annotate] [blame] [check-ins using] [diff] | |
11:35 | Add +[OFDataArray dataArray] with a default item size of 1. file: [7a29dd6a1c] check-in: [12617ef944] user: js, branch: trunk, size: 15443 [annotate] [blame] [check-ins using] [diff] | |
2011-04-22
| ||
18:00 | More style improvements. file: [49caf92ef8] check-in: [4814266280] user: js, branch: trunk, size: 15458 [annotate] [blame] [check-ins using] [diff] | |
2011-04-04
| ||
23:32 | Remove now useless defines of _GNU_SOURCE. file: [585894669b] check-in: [93fee7265f] user: js, branch: trunk, size: 14194 [annotate] [blame] [check-ins using] [diff] | |
2011-04-03
| ||
19:52 |
Add -[pendingBytes] to OFStream.
This way, the method to determine whether OFStreamSocket should | |
2011-03-24
| ||
21:17 | Pass the stream for stream exceptions. file: [d928d7a5b3] check-in: [7ced2e7b6a] user: js, branch: trunk, size: 14168 [annotate] [blame] [check-ins using] [diff] | |
19:42 | Get rid of OFExceptions.h. file: [d42d9a7020] check-in: [cda44767f4] user: js, branch: trunk, size: 14126 [annotate] [blame] [check-ins using] [diff] | |
2011-02-26
| ||
19:00 | Make isa public to allow for better class swizzling. file: [aec32d828d] check-in: [58c07e80e4] user: js, branch: trunk, size: 13997 [annotate] [blame] [check-ins using] [diff] | |
2011-02-07
| ||
21:05 | of_vasprintf: Preserve exceptions that happen in -[description]. file: [df8ed55ecd] check-in: [151463e32a] user: js, branch: trunk, size: 14001 [annotate] [blame] [check-ins using] [diff] | |
2011-02-02
| ||
17:38 | Work around some annoying compiler bugs. file: [5a1ab363d9] check-in: [1dcfbcb479] user: js, branch: trunk, size: 14031 [annotate] [blame] [check-ins using] [diff] | |
2011-02-01
| ||
20:53 | Rename OF_BSWAP_* to of_bswap_* as they are not really macros. file: [77f3cb0a9b] check-in: [8384ca4273] user: js, branch: trunk, size: 14014 [annotate] [blame] [check-ins using] [diff] | |
2011-01-29
| ||
19:01 | Add of_asprintf and allow %@ in format strings. file: [91d5f2f808] check-in: [4c4608fbba] user: js, branch: trunk, size: 14014 [annotate] [blame] [check-ins using] [diff] | |
2011-01-22
| ||
23:35 | Don't send two packets in -[OFStream writeLine:]. file: [c9c58ea96b] check-in: [d2b0beab38] user: js, branch: trunk, size: 14118 [annotate] [blame] [check-ins using] [diff] | |
2011-01-15
| ||
18:17 | Define enums as types. file: [515ee39e97] check-in: [b5ec30fa9d] user: js, branch: trunk, size: 13938 [annotate] [blame] [check-ins using] [diff] | |
2011-01-08
| ||
15:59 | Prefer -[release] over -[dealloc]. file: [c884b52f6e] check-in: [c53575653d] user: js, branch: trunk, size: 13944 [annotate] [blame] [check-ins using] [diff] | |
15:57 |
Ignore SIGPIPE when using OFStream.
SIGPIPE is quite useless and contraproductive as we throw an | |
2011-01-01
| ||
20:19 | Change license. file: [3b625f7cf5] check-in: [da6b3d26cb] user: js, branch: trunk, size: 13795 [annotate] [blame] [check-ins using] [diff] | |
2010-12-09
| ||
19:04 | Move -[setBlocking] to OFStream. file: [97d3571cc4] check-in: [beb4a0d036] user: js, branch: trunk, size: 13539 [annotate] [blame] [check-ins using] [diff] | |
2010-10-25
| ||
23:03 | Clean up a lot of code (mostly init methods) and fix a missing rethrow. file: [9e9b9829fb] check-in: [8a7ca573c4] user: js, branch: trunk, size: 12974 [annotate] [blame] [check-ins using] [diff] | |
2010-10-24
| ||
13:15 | Rename a few methods returning BOOL. file: [712dcb6dbd] check-in: [b6a39dd3d1] user: js, branch: trunk, size: 12946 [annotate] [blame] [check-ins using] [diff] | |
2010-09-20
| ||
11:26 |
Better API for the writte buffer of streams. Can now be disabled without flushing and then be flushed later. file: [55e134209d] check-in: [c3c2bcca46] user: js, branch: trunk, size: 12929 [annotate] [blame] [check-ins using] [diff] | |
2010-08-24
| ||
19:37 |
Prevent loss of data due to wrong encoding in -[readLine]. This allows reading again with the correct encoding. file: [0bce414eb0] check-in: [508399eac1] user: js, branch: trunk, size: 12875 [annotate] [blame] [check-ins using] [diff] | |
2010-07-07
| ||
20:46 | Add -[fileDescriptor] to OFStream. file: [5b369f2077] check-in: [9d064462a3] user: js, branch: trunk, size: 12513 [annotate] [blame] [check-ins using] [diff] | |
2010-04-17
| ||
22:27 |
New ivar naming convention.
ivars are now named like this: thisIsAnIVar. If an accessor exists for | |
15:46 | Don't return self where not necessary, return void or something useful. file: [86b9b6684c] check-in: [062a052b50] user: js, branch: trunk, size: 12449 [annotate] [blame] [check-ins using] [diff] | |
2010-04-10
| ||
16:13 | Add -[writeFormat:withArguments:] to OFStream. file: [426e5fd1b8] check-in: [948a5c25ce] user: js, branch: trunk, size: 12466 [annotate] [blame] [check-ins using] [diff] | |
2010-04-09
| ||
20:11 | Rename -[cacheWrites] to -[bufferWrites]. file: [86bdcc3dab] check-in: [c5c17fdd30] user: js, branch: trunk, size: 12309 [annotate] [blame] [check-ins using] [diff] | |
17:06 | Flush the write cache before seeking. file: [7fc39d31ba] check-in: [c509ecf6c7] user: js, branch: trunk, size: 12290 [annotate] [blame] [check-ins using] [diff] | |
15:22 | Add -[{read,write}LittleEndianInt{16,32,64}{,:}] to OFStream. file: [0c60b9fcc6] check-in: [6217d56014] user: js, branch: trunk, size: 12253 [annotate] [blame] [check-ins using] [diff] | |
14:59 | Better hiding of the internal OFStream methods. file: [62c939ae2f] check-in: [2a9e91b67c] user: js, branch: trunk, size: 11371 [annotate] [blame] [check-ins using] [diff] | |
00:55 | Add an optional write cache to OFStream. file: [15f17faee6] check-in: [66c1d7718d] user: js, branch: trunk, size: 11492 [annotate] [blame] [check-ins using] [diff] | |
2010-04-08
| ||
23:48 | Add -[writeInt8:] and -[writeBigEndianInt{16,32,64}:] to OFStream. file: [2c3719ee49] check-in: [978e88a43c] user: js, branch: trunk, size: 11152 [annotate] [blame] [check-ins using] [diff] | |
23:37 | Add -[readInt8] and -[readBigEndianInt{16,32,64}] to OFStream. file: [fa0d06eb4d] check-in: [c82e7f02f0] user: js, branch: trunk, size: 10628 [annotate] [blame] [check-ins using] [diff] | |
23:26 | Add -[readDataArrayWithItemSize:andNItems:] to OFStream. file: [41f6ac1ebe] check-in: [3006cccbb9] user: js, branch: trunk, size: 10078 [annotate] [blame] [check-ins using] [diff] | |
23:10 | Add -[readExactlyNBytes:intoBuffer:] to OFStream. file: [c0dabeb17f] check-in: [96c8753847] user: js, branch: trunk, size: 9648 [annotate] [blame] [check-ins using] [diff] | |
21:23 | Add -[writeDataArray:] to OFStream. file: [37b3e2e00f] check-in: [967a5e6a40] user: js, branch: trunk, size: 9464 [annotate] [blame] [check-ins using] [diff] | |
2010-04-07
| ||
21:10 | Make glibc happy. file: [a719ab966a] check-in: [f93fd1838d] user: js, branch: trunk, size: 9300 [annotate] [blame] [check-ins using] [diff] | |
18:43 | Add -[writeFormat:] to OFStream. file: [6cded45acb] check-in: [fe3b6e5457] user: js, branch: trunk, size: 9219 [annotate] [blame] [check-ins using] [diff] | |
2010-04-04
| ||
16:41 | Add -[readDataArrayTillEndOfStream] to OFStream. file: [0fee79697f] check-in: [1813376c4a] user: js, branch: trunk, size: 8567 [annotate] [blame] [check-ins using] [diff] | |
2010-04-03
| ||
01:34 | Add -[writeLine:] to OFStream. file: [08f611f86c] check-in: [da71912af5] user: js, branch: trunk, size: 8139 [annotate] [blame] [check-ins using] [diff] | |
2010-03-13
| ||
21:24 | Add global variable of_pagesize and use it to reduce code duplication. file: [c5232e5990] check-in: [382ed34d40] user: js, branch: trunk, size: 7754 [annotate] [blame] [check-ins using] [diff] | |
2010-03-05
| ||
11:52 |
Merge a few changesets from the default branch into the 0.2 branch.
Changesets: | |
2010-02-24
| ||
22:56 | Merge to fix wrong parent of last commit. file: [4230af470d] check-in: [b190519866] user: js, branch: trunk, size: 8046 [annotate] [blame] [check-ins using] [diff] | |
2010-02-20
| ||
14:44 | Add -[readTillDelimiter:] to OFStream and improve -[readLine]. file: [6d96f43f90] check-in: [cb70f59a63] user: js, branch: trunk, size: 8046 [annotate] [blame] [check-ins using] [diff] | |
2010-02-19
| ||
16:36 | Update copyright. file: [25353db775] check-in: [42886185fd] user: js, branch: trunk, size: 4994 [annotate] [blame] [check-ins using] [diff] | |
2010-02-02
| ||
18:58 | Rename OFMacros.h to macros.h, as it's not a class. file: [b0b53ca7b3] check-in: [832188d759] user: js, branch: trunk, size: 4994 [annotate] [blame] [check-ins using] [diff] | |
2010-01-23
| ||
11:25 | Make -[readLineWithEncoding:] compatible with \r\n linebreaks. file: [c12185893b] check-in: [1421bc837b] user: js, branch: trunk, size: 4996 [annotate] [blame] [check-ins using] [diff] | |
2010-01-16
| ||
15:05 | Reduce dependencies between headers. file: [4d82bf6197] check-in: [1433aef0d0] user: js, branch: trunk, size: 4745 [annotate] [blame] [check-ins using] [diff] | |
2010-01-04
| ||
14:04 | Make -[readLineWithEncoding:] more fault tolerant. file: [a1881748df] check-in: [32d166557b] user: js, branch: trunk, size: 4724 [annotate] [blame] [check-ins using] [diff] | |
2009-12-03
| ||
18:50 | Make OFStream caching invisible to the programmer. file: [dff3658c98] check-in: [fc0b2500b9] user: js, branch: trunk, size: 4966 [annotate] [blame] [check-ins using] [diff] | |
2009-11-29
| ||
16:23 | Allow NULL as parameter for -[freeMemory:]. file: [2c5ce7298e] check-in: [d57228d9d6] user: js, branch: trunk, size: 4452 [annotate] [blame] [check-ins using] [diff] | |
2009-11-09
| ||
23:18 | Fix a bug in OFStream that was introduced by the new \0 behaviour. file: [1e66caad30] check-in: [16786b4e7e] user: js, branch: trunk, size: 4523 [annotate] [blame] [check-ins using] [diff] | |
22:45 | Rename libobjfw to ObjFW. file: [da1c9ea74b] check-in: [a3cc34b139] user: js, branch: trunk, size: 4497 [annotate] [blame] [check-ins using] [diff] | |
2009-11-02
| ||
14:47 | Make use of the recent change to -[initWithCString:encoding:length:]. file: [d18abfb3eb] check-in: [581164864f] user: js, branch: trunk, size: 4500 [annotate] [blame] [check-ins using] [diff] | |
2009-09-01
| ||
11:32 | Rename -[length] to -[cStringLength] in OFString. file: [ca6dc099de] check-in: [3ed599fe98] user: js, branch: trunk, size: 4511 [annotate] [blame] [check-ins using] [diff] | |
2009-07-21
| ||
23:25 | Add -[readLineWithEncoding:] to read in the specified encoding. file: [4d39d4c3d2] check-in: [9d93300b4e] user: js, branch: trunk, size: 4504 [annotate] [blame] [check-ins using] [diff] | |
2009-07-19
| ||
16:01 | Prevent calling -[init] if parameters are required. file: [a24c081951] check-in: [42e16978dc] user: js, branch: trunk, size: 4284 [annotate] [blame] [check-ins using] [diff] | |
14:05 | Rename andFoo: to foo: in all methods. file: [5bb8f6d8aa] check-in: [4eae61a78f] user: js, branch: trunk, size: 4170 [annotate] [blame] [check-ins using] [diff] | |
2009-07-17
| ||
11:25 | Use +[stringWithCString:andLength:] in -[readLine]. file: [fc7e1fba0a] check-in: [328decd247] user: js, branch: trunk, size: 4170 [annotate] [blame] [check-ins using] [diff] | |
2009-06-09
| ||
13:21 |
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 | |
2009-06-02
| ||
19:25 | Improve -[readLine] in OFStream. file: [a25cf5ad1f] check-in: [f1dae95070] user: js, branch: trunk, size: 4451 [annotate] [blame] [check-ins using] [diff] | |
2009-05-29
| ||
19:21 |
A few renames.
OFExceptions: OFObject: OFString: | |
2009-05-24
| ||
18:04 | Always use #include "config.h" instead of #import "config.h". file: [1ada4c447c] check-in: [94ea6848a8] user: js, branch: trunk, size: 3820 [annotate] [blame] [check-ins using] [diff] | |
00:18 | Get rid of dependency on getpagesize(). file: [86513faaa0] check-in: [127d635848] user: js, branch: trunk, size: 3819 [annotate] [blame] [check-ins using] [diff] | |
2009-05-15
| ||
22:59 | As we memset our ivars to 0, get rid of some useless ivar inits. file: [6d62a21fd5] check-in: [4c6d6c56ac] user: js, branch: trunk, size: 3577 [annotate] [blame] [check-ins using] [diff] | |
20:01 | Use OFString as much as possible. file: [755dcbeaa4] check-in: [67066be692] user: js, branch: trunk, size: 3593 [annotate] [blame] [check-ins using] [diff] | |
2009-05-07
| ||
16:08 | Add OFSocket base class. file: [37d8c8f6d5] check-in: [0110aec5c0] user: js, branch: trunk, size: 3307 [annotate] [blame] [check-ins using] [diff] | |
2009-05-05
| ||
12:05 |
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 | |
2009-05-03
| ||
17:19 | Added: Make OFStream a class instead of a protocol and move readLine there. file: [4ee7f03849] check-in: [7bf4b144ad] user: js, branch: trunk, size: 3323 [annotate] [blame] [check-ins using] | |