ObjFW  History of src/OFFile.h of 2cb48ceaf1d0c54a

History of file src/OFFile.h at check-in 2cb48ceaf1d0c54a

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [21e24528d9] check-in: [164f2fb4bf] user: js, branch: trunk, size: 4218 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [844dd75bf0] check-in: [7413a728a7] user: js, branch: trunk, size: 4219 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [6a89472d4e] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4011 [annotate] [blame] [check-ins using] [diff]
2023-10-08
11:36
OFFile: Fix closing fd 0 on failed init file: [d53c4b0543] check-in: [416094d227] user: js, branch: trunk, size: 4011 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [95a6d86e52] check-in: [8939cbdb52] user: js, branch: trunk, size: 3997 [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
Rename OFURI to OFIRI file: [1539aa82ae] check-in: [23272e6d43] user: js, branch: trunk, size: 3997 [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
Rename OFUR{L -> I} in preparation for URI support file: [b56cdf66da] check-in: [e7ab06503c] user: js, branch: trunk, size: 4012 [annotate] [blame] [check-ins using] [diff]
2022-09-24
17:03
Document more exceptions file: [8a72487bc6] check-in: [5202319334] user: js, branch: trunk, size: 4012 [annotate] [blame] [check-ins using] [diff]
2022-06-05
09:13
Remove +[OFFile fileWithURL:] file: [70f5f785c7] check-in: [e61d7f5eb7] user: js, branch: trunk, size: 3892 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [edc70158f4] check-in: [1a86b8175b] user: js, branch: trunk, size: 5778 [annotate] [blame] [check-ins using] [diff]
2021-04-29
23:24
Clean up struct and enum typedefs

With TYPEDEF_HIDES_STRUCT set, Doxygen properly handles anonymous
structs and enums that are typedef'd. file: [bac13481b9] check-in: [2fcf5a3052] user: js, branch: trunk, size: 5778 [annotate] [blame] [check-ins using] [diff]

2021-04-19
21:54
Rename a few more constants file: [7c5aab04f3] check-in: [458420998c] user: js, branch: new-naming-convention, size: 5777 [annotate] [blame] [check-ins using] [diff]
2021-04-17
14:36
of_file_handle_t -> OFFileHandle file: [db0bb12b6a] check-in: [94ebfb3671] user: js, branch: new-naming-convention, size: 5745 [annotate] [blame] [check-ins using] [diff]
2021-03-07
02:36
Style change: Allow more than 1 argument per line

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

2021-01-02
22:04
Update copyright file: [7be975c2e8] check-in: [374e1a1bfa] user: js, branch: trunk, size: 5795 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [d4ed29ae4f] check-in: [163a4a5a2e] user: js, branch: trunk, size: 5884 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [1bf76630d2] check-in: [c7f0229795] user: js, branch: trunk, size: 5884 [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. file: [7b7e5b1049] check-in: [496695d778] user: js, branch: trunk, size: 5881 [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
Update copyright file: [5cdb803aa0] check-in: [0509d7a844] user: js, branch: trunk, size: 5855 [annotate] [blame] [check-ins using] [diff]
2018-04-23
22:19
Use more native AmigaOS APIs on AmigaOS 3 file: [0217984244] check-in: [b16fc262c0] user: js, branch: trunk, size: 5849 [annotate] [blame] [check-ins using] [diff]
2018-04-22
16:13
runtime: Define BOOL to be the same as bool

As we define the ABI, we can just replace BOOL with bool everywhere,
including in ObjFW itself. For the Apple platforms where BOOL and bool
are different, this is not a problem as BOOL and bool are passed and
returned the same way in the ABI.

This still defines BOOL to bool for compatibility, except on AmigaOS and
Wii, which both have its own BOOL type. file: [1301722443] check-in: [fe2cbe0021] user: js, branch: trunk, size: 5873 [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
Update copyright notice file: [ee74f7774a] check-in: [7e5c81e186] user: js, branch: trunk, size: 5910 [annotate] [blame] [check-ins using] [diff]
2017-12-23
22:08
OFURLHandler: Add -[openItemAtURL:mode:] file: [625288cd0a] check-in: [b7c19f2e27] user: js, branch: trunk, size: 5887 [annotate] [blame] [check-ins using] [diff]
2017-11-19
11:04
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. file: [557607a4f8] check-in: [69749b6a5b] user: js, branch: trunk, size: 5871 [annotate] [blame] [check-ins using] [diff]

2017-10-29
01:48
Add +[OFFile fileWithURL:mode:] file: [92705fc93e] check-in: [ec1ec2815d] user: js, branch: trunk, size: 5741 [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
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. file: [a78b15002c] check-in: [2f4e0df8be] user: js, branch: trunk, size: 3822 [annotate] [blame] [check-ins using] [diff]

2017-07-22
23:04
OFFile: Simplify mode

This removes "b" for binary and always uses binary, as there is no good
reason to not use binary. file: [cba6c42a3b] check-in: [23e57c5040] user: js, branch: trunk, size: 3776 [annotate] [blame] [check-ins using] [diff]

2017-06-11
02:34
OFFile: Rework handle on MorphOS

The previous one didn't work, as the index was part of the handle, but
the index could change. file: [d0fae452f5] check-in: [a9b2bd12eb] user: js, branch: trunk, size: 3981 [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,
no native calls are allowed. file: [dcb097e34e] check-in: [c9621825fc] user: js, branch: trunk, size: 4155 [annotate] [blame] [check-ins using] [diff]

18:16
OFFile: Make sure to not leak handles on MorphOS file: [60494c4dc6] check-in: [1ffd8f9f16] user: js, branch: trunk, size: 4183 [annotate] [blame] [check-ins using] [diff]
17:39
OFFile: Better abstraction of file handle

As a nice side effect, this adds a designated initializer to OFFile. file: [21ad1ce6b7] check-in: [29403cc56a] user: js, branch: trunk, size: 4168 [annotate] [blame] [check-ins using] [diff]

2017-06-03
21:53
Fix two OF_ASSUME_NONNULL_BEGIN being too early file: [6e6ecd5f68] check-in: [ade26679ca] user: js, branch: trunk, size: 4389 [annotate] [blame] [check-ins using] [diff]
16:58
Make sockets work on MorphOS + libnix file: [ff0fc01320] check-in: [3cba61d694] user: js, branch: trunk, size: 4389 [annotate] [blame] [check-ins using] [diff]
12:46
Make of_(l)stat() private to OFFileManager

Everything else should just use OFFileManager. file: [770e6d77e6] check-in: [4ebeb7e3a2] user: js, branch: trunk, size: 4347 [annotate] [blame] [check-ins using] [diff]

2017-05-30
22:01
MorphOS: Name variable handle instead of fd file: [0b74319ed1] check-in: [c5c3df3abe] user: js, branch: trunk, size: 4875 [annotate] [blame] [check-ins using] [diff]
2017-05-28
21:29
OFFile: Use AmigaDOS API on MorphOS + libnix file: [1fb9cda36b] check-in: [7a0f290eae] user: js, branch: trunk, size: 4137 [annotate] [blame] [check-ins using] [diff]
2017-05-07
23:14
Add OF_UNAVAILABLE file: [b0c1c66905] check-in: [16c05e87e1] user: js, branch: trunk, size: 4052 [annotate] [blame] [check-ins using] [diff]
20:10
Small code style change

Casts are now written like types in variable declarations. file: [e4c0b1e08b] check-in: [4af49a13c3] user: js, branch: trunk, size: 4028 [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
2017. file: [aa46fd0cd7] check-in: [44f45c2e35] user: js, branch: trunk, size: 4024 [annotate] [blame] [check-ins using] [diff]

2016-07-24
02:19
Minor documentation fix file: [39a9cc1b5c] check-in: [79e447956c] user: js, branch: trunk, size: 4018 [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
Update copyright

While at it, also update the mail address. file: [87ca2fc4a1] check-in: [cec0f072f8] user: js, branch: 0.8, size: 10357 [annotate] [blame] [check-ins using] [diff]

00:41
Update copyright

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

2015-10-19
22:15
Add platform.h & make platform defines consistent file: [c4caacba67] check-in: [1ba08eebc5] user: js, branch: trunk, size: 4016 [annotate] [blame] [check-ins using] [diff]
2015-08-23
20:54
Documentation improvements file: [26137313b3] check-in: [d559a8b0a3] user: js, branch: 0.8, size: 10353 [annotate] [blame] [check-ins using] [diff]
10:42
Documentation fixes file: [b3e80e308b] check-in: [d24814b70e] user: js, branch: 0.8, size: 10284 [annotate] [blame] [check-ins using] [diff]
2015-08-22
10:57
Move file management to its own class

This makes it possible to add support for delegates for file management
operations and on top makes it easier to add support for file management
operations on URLs. file: [5c6bbab5b7] check-in: [f3c452dfef] user: js, branch: trunk, size: 4012 [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
Add support for and use the new nullability file: [03d8a7c1d4] check-in: [9e76144ef8] user: js, branch: trunk, size: 10005 [annotate] [blame] [check-ins using] [diff]
2015-06-12
23:59
Add support for and use the new ObjC generics file: [ebd8f096a0] check-in: [5329fe7c1a] user: js, branch: trunk, size: 9957 [annotate] [blame] [check-ins using] [diff]
2015-03-22
10:10
OFFile: Add methods for [ac]time, rename for mtime file: [7f83bdcf57] check-in: [d6ab9e2c62] user: js, branch: trunk, size: 9912 [annotate] [blame] [check-ins using] [diff]
2015-01-17
22:41
Use 64 bit file offsets file: [ea93239d94] check-in: [c409a0ec95] user: js, branch: trunk, size: 9526 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [de974a9641] check-in: [cfd374b906] user: js, branch: trunk, size: 9454 [annotate] [blame] [check-ins using] [diff]
20:42
Introduce and use of_offset_t instead of off_t

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

2014-07-18
19:38
OFFile: Small documentation improvement file: [a349ed870a] check-in: [d20e7cbea0] user: js, branch: trunk, size: 9442 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [b4c919473a] check-in: [246cfe0807] user: js, branch: trunk, size: 9381 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [f9d394d62d] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 9337 [annotate] [blame] [check-ins using] [diff]
2013-12-15
17:56
OFFile: Require a full path for (sym)links.

This was forgotten when copy and move were changed. file: [b374fdca2a] check-in: [feaf3faad5] user: js, branch: trunk, size: 9331 [annotate] [blame] [check-ins using] [diff]

14:57
OFFile: Clean up the stat mess. file: [e01ad20745] check-in: [ce99d76d79] user: js, branch: trunk, size: 9129 [annotate] [blame] [check-ins using] [diff]
2013-12-11
23:53
Add +[OFFile moveItemAtPath:toPath:].

This replaces +[OFFile renameItemAtPath:toPath:] and supports moving
files to different logical devices. file: [00385e02ec] check-in: [260391fc1c] user: js, branch: trunk, size: 8836 [annotate] [blame] [check-ins using] [diff]

22:26
+[{copy,rename}ItemAtPath...]: Require full path. file: [78bb0798b0] check-in: [242fd56445] user: js, branch: trunk, size: 8645 [annotate] [blame] [check-ins using] [diff]
22:19
+[copyFileAtPath:toPath:]: Never override items. file: [4cbfda525d] check-in: [ba57490ba6] user: js, branch: trunk, size: 8443 [annotate] [blame] [check-ins using] [diff]
2013-12-09
23:35
+[OFFile removeItemAtPath:]: Remove recursively. file: [78ef5184a3] check-in: [3c2d173940] user: js, branch: trunk, size: 8319 [annotate] [blame] [check-ins using] [diff]
22:19
Add +[OFFile copyItemAtPath:toPath:].

This replaces +[OFFile copyFileAtPath:toPath:]. file: [31d02bd727] check-in: [169f06e1ec] user: js, branch: trunk, size: 8314 [annotate] [blame] [check-ins using] [diff]

22:08
Add +[OFFile symbolicLinkExistsAtPath:]. file: [35a5c807f1] check-in: [f193f3fa8c] user: js, branch: trunk, size: 8089 [annotate] [blame] [check-ins using] [diff]
22:07
Fix createSymbolicLinkAtPath:withDestinationPath:.

The arguments were inverted. file: [26dd50cf9e] check-in: [ba2b4661de] user: js, branch: trunk, size: 7816 [annotate] [blame] [check-ins using] [diff]

2013-07-09
22:17
OFFile: Rename +[createSymbolicLinkAtPath:…]. file: [ddafd2190c] check-in: [8e48f0d6a4] user: js, branch: trunk, size: 7816 [annotate] [blame] [check-ins using] [diff]
2013-06-27
09:38
Improve OFFile API. file: [efa4025e4a] check-in: [20a5c3d547] user: js, branch: trunk, size: 7809 [annotate] [blame] [check-ins using] [diff]
2013-04-27
01:26
Add OFStdIOStream.

This is used for of_std{in,out,err} now instead of OFFile. file: [44af4002db] check-in: [085bfc12a0] user: js, branch: trunk, size: 7504 [annotate] [blame] [check-ins using] [diff]

2013-04-26
22:25
Better checks for functions used in OFFile. file: [2f0e7153ad] check-in: [c01ed004b0] user: js, branch: trunk, size: 8008 [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
the ABI. file: [bad7a67060] check-in: [c5ef582958] user: js, branch: trunk, size: 8029 [annotate] [blame] [check-ins using] [diff]

2013-02-18
10:38
Add -[OFDataArray initWithItemSize:capacity:]. file: [d7d2855fce] check-in: [e403ca05cb] user: js, branch: trunk, size: 8029 [annotate] [blame] [check-ins using] [diff]
2013-02-12
18:22
Prefix all ivars with an underscore. file: [5c8981b0ad] check-in: [e40729d406] user: js, branch: trunk, size: 7957 [annotate] [blame] [check-ins using] [diff]
2013-01-17
23:15
Documentation improvements. file: [76b233d4a0] check-in: [50b5ac3b27] user: js, branch: trunk, size: 7998 [annotate] [blame] [check-ins using] [diff]
2013-01-13
02:44
Documentation improvements. file: [566d219578] check-in: [2d33638be9] user: js, branch: trunk, size: 7846 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [2c71da7d31] check-in: [813c00ccf0] user: js, branch: trunk, size: 6322 [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
Switch to a headerdoc-compatible doc format. file: [296a9224ed] check-in: [1ad9565253] user: js, branch: trunk, size: 6316 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [9ede7ee4ac] check-in: [fb515e8e24] user: js, branch: trunk, size: 6316 [annotate] [blame] [check-ins using] [diff]
2012-09-12
17:27
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. file: [32d36c992f] check-in: [440e95fd4a] user: js, branch: trunk, size: 6288 [annotate] [blame] [check-ins using] [diff]

2012-08-20
08:14
A few renames in OFFile. file: [33109fbbdb] check-in: [c492171577] user: js, branch: trunk, size: 6300 [annotate] [blame] [check-ins using] [diff]
2012-03-17
22:22
Add +[OFFile createDirectoryAtPath:createParents:]. file: [a381f6647c] check-in: [79183b7fe9] user: js, branch: trunk, size: 6273 [annotate] [blame] [check-ins using] [diff]
2012-03-08
23:20
Add +[OFFile sizeOfFile:]. file: [06cd3c5eac] check-in: [6bcf417920] user: js, branch: trunk, size: 6011 [annotate] [blame] [check-ins using] [diff]
2012-02-25
11:24
Always define __STDC_{CONSTANT,LIMIT}_MACROS before libc includes.
This is necessary for ObjC++.
file: [c75eb39d48] check-in: [99ed50a5e4] user: js, branch: 0.6, size: 5869 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [fd26f8d0e7] check-in: [ce70e17b38] user: js, branch: trunk, size: 5734 [annotate] [blame] [check-ins using] [diff]
2011-09-19
12:34
BOOL naming conventions. file: [d0c05fd8c7] check-in: [d43eb177bc] user: js, branch: trunk, size: 5728 [annotate] [blame] [check-ins using] [diff]
2011-09-10
20:35
Declare of_std{in,out,err} as OFStream. file: [dda7fbe65f] check-in: [5adb201b41] user: js, branch: trunk, size: 5730 [annotate] [blame] [check-ins using] [diff]
2011-05-08
17:19
More documentation improvements. file: [e4a6ab01fe] check-in: [242b1ccd71] user: js, branch: trunk, size: 5724 [annotate] [blame] [check-ins using] [diff]
2011-04-22
18:00
More style improvements. file: [f7c069ca7f] check-in: [4814266280] user: js, branch: trunk, size: 5128 [annotate] [blame] [check-ins using] [diff]
2011-03-27
18:07
Add +[currentDirectoryPath] to OFFile. file: [7b3dba70a0] check-in: [ad8c9974bc] user: js, branch: trunk, size: 4976 [annotate] [blame] [check-ins using] [diff]
2011-03-22
13:10
Move path methods from OFFile to OFString. file: [dd9704b3e3] check-in: [67e7d1e222] user: js, branch: trunk, size: 4879 [annotate] [blame] [check-ins using] [diff]
2011-02-09
19:34
More changes to port ObjFW to PSP. file: [8d2faaebb5] check-in: [33f646ce2d] user: js, branch: trunk, size: 5389 [annotate] [blame] [check-ins using] [diff]
18:55
Initial PSP port.

Does compile with --disable-threads --disable-shared, but does not link
yet. file: [ee5f8a5c17] check-in: [d230ac577d] user: js, branch: trunk, size: 5345 [annotate] [blame] [check-ins using] [diff]

2011-02-01
22:11
Use extern "C" where useful.
Improves ObjC++ compatibility.
file: [c3892e8bd0] check-in: [03d1b71d10] user: js, branch: trunk, size: 5299 [annotate] [blame] [check-ins using] [diff]
14:27
Add of_log for easy logging to stderr.

Uses OFConstantString* for the format to prevent users from doing stupid
things like of_log([of_stdin readLine]). file: [4e34f334ab] check-in: [17338ef1d5] user: js, branch: trunk, size: 5165 [annotate] [blame] [check-ins using] [diff]

2011-01-01
20:19
Change license. file: [f2bde54c77] check-in: [da6b3d26cb] user: js, branch: trunk, size: 5137 [annotate] [blame] [check-ins using] [diff]
2010-12-25
23:29
Add +[OFFile modificationDateOfFile:] and change -[OFDate description]. file: [ef787383be] check-in: [2d8533a428] user: js, branch: trunk, size: 4881 [annotate] [blame] [check-ins using] [diff]
2010-12-23
18:16
Add +[componentsOfPath:] and +[directoryNameOfPath:] to OFFile. file: [9662e52e67] check-in: [1e52247065] user: js, branch: trunk, size: 4748 [annotate] [blame] [check-ins using] [diff]
2010-12-20
21:41
Add +[changeToDirectory:] to OFFile. file: [905b14b0b8] check-in: [4cf3648097] user: js, branch: trunk, size: 4412 [annotate] [blame] [check-ins using] [diff]
2010-12-13
23:32
OFFile: Accept usernames and groupnames instead of UIDs and GIDs. file: [59c7528bbb] check-in: [bc3cdb9ee9] user: js, branch: trunk, size: 4268 [annotate] [blame] [check-ins using] [diff]
2010-12-10
11:21
Documentation fixes. file: [32a0876034] check-in: [fada60d54c] user: js, branch: trunk, size: 4260 [annotate] [blame] [check-ins using] [diff]
2010-07-07
20:46
Add -[fileDescriptor] to OFStream. file: [d16324c2ea] check-in: [9d064462a3] user: js, branch: trunk, size: 4355 [annotate] [blame] [check-ins using] [diff]
2010-04-21
07:15
Add +[copyFileAtPath:toPath:] and +[deleteDirectoryAtPath:] to OFFile. file: [8446a405ae] check-in: [d92e0d0313] user: js, branch: trunk, size: 4354 [annotate] [blame] [check-ins using] [diff]
2010-04-18
13:53
Add +[lastComponentOfPath:] to OFFile. file: [17e8c1757d] check-in: [2727e4282f] user: js, branch: trunk, size: 4025 [annotate] [blame] [check-ins using] [diff]
2010-04-17
16:55
More consistency in names of file operations. file: [286a7957b4] check-in: [2eb2172a96] user: js, branch: trunk, size: 3851 [annotate] [blame] [check-ins using] [diff]
2010-04-15
08:43
Add +[createDirectoryAtPath:] to OFFile. file: [791357b029] check-in: [2ef0a01201] user: js, branch: trunk, size: 3865 [annotate] [blame] [check-ins using] [diff]
08:11
Add +[directoryExistsAtPath:] and +[filesInDirectoryAtPath:] to OFFile. file: [658c0aafbb] check-in: [8d84aa00aa] user: js, branch: trunk, size: 3718 [annotate] [blame] [check-ins using] [diff]
2010-04-11
20:41
Better names for a few file operations. file: [f110a6ebca] check-in: [5f222e25a7] user: js, branch: trunk, size: 3334 [annotate] [blame] [check-ins using] [diff]
20:12
Add +[fileExistsAtPath:] to OFFile. file: [5e6541f4e0] check-in: [ebd1fc0d9a] user: js, branch: trunk, size: 3271 [annotate] [blame] [check-ins using] [diff]
2010-04-09
15:12
Add OFSeekableStream and implement seeking for OFFile. file: [efe9dcf448] check-in: [0890f73f75] user: js, branch: trunk, size: 3152 [annotate] [blame] [check-ins using] [diff]
2010-04-02
15:58
Use open() / read() / write() instead of fopen() / fread() / fwrite().

This fixes reading from stdin. file: [e16ab950d2] check-in: [5f4f207266] user: js, branch: trunk, size: 3156 [annotate] [blame] [check-ins using] [diff]

2010-02-19
16:36
Update copyright. file: [5e8cf7bcda] check-in: [42886185fd] user: js, branch: trunk, size: 3138 [annotate] [blame] [check-ins using] [diff]
2010-02-11
14:58
Documentation improvements. file: [3ab1067398] check-in: [72caeab860] user: js, branch: trunk, size: 3138 [annotate] [blame] [check-ins using] [diff]
2010-01-30
14:26
Don't define methods unavailable on Windows. file: [4c7924139a] check-in: [c9e9ea561c] user: js, branch: trunk, size: 3175 [annotate] [blame] [check-ins using] [diff]
2010-01-16
15:05
Reduce dependencies between headers. file: [d8183f3c38] check-in: [1433aef0d0] user: js, branch: trunk, size: 3183 [annotate] [blame] [check-ins using] [diff]
2009-12-23
22:30
Documentation improvements. file: [dc94d8b7a4] check-in: [19ac0520ae] user: js, branch: trunk, size: 3186 [annotate] [blame] [check-ins using] [diff]
2009-12-03
18:50
Make OFStream caching invisible to the programmer. file: [87163d3271] check-in: [fc0b2500b9] user: js, branch: trunk, size: 3189 [annotate] [blame] [check-ins using] [diff]
10:29
More documentation improvements. file: [9d72f8d05d] check-in: [012cee4f80] user: js, branch: trunk, size: 3996 [annotate] [blame] [check-ins using] [diff]
2009-11-15
01:39
Improve OFFile and add a few new exceptions. file: [b5cc441e5f] check-in: [5cb7f93a1f] user: js, branch: trunk, size: 3995 [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
Rename libobjfw to ObjFW. file: [bbac3bc2d4] check-in: [a3cc34b139] user: js, branch: trunk, size: 4141 [annotate] [blame] [check-ins using] [diff]
2009-09-27
14:23
Add -[initWithFilePointer:] to OFFile. file: [c01ec34601] check-in: [3cf27e00c4] user: js, branch: trunk, size: 4144 [annotate] [blame] [check-ins using] [diff]
2009-08-16
13:28
Add OF{Link,Symlink}FailedException. file: [9b05f93324] check-in: [35d9dbcd6f] user: js, branch: trunk, size: 3739 [annotate] [blame] [check-ins using] [diff]
2009-07-19
14:05
Rename andFoo: to foo: in all methods. file: [e55b9c78bb] check-in: [4eae61a78f] user: js, branch: trunk, size: 3739 [annotate] [blame] [check-ins using] [diff]
2009-06-06
14:10
Add OFFile singletons for stdin, stdout and stderr. file: [b3fcaa127c] check-in: [f285996b91] user: js, branch: trunk, size: 3753 [annotate] [blame] [check-ins using] [diff]
2009-06-02
19:25
Improve -[readLine] in OFStream. file: [61195747ef] check-in: [f1dae95070] user: js, branch: trunk, size: 3473 [annotate] [blame] [check-ins using] [diff]
2009-05-15
20:01
Use OFString as much as possible. file: [0828962522] check-in: [67066be692] user: js, branch: trunk, size: 3569 [annotate] [blame] [check-ins using] [diff]
2009-05-03
17:19
Make OFStream a class instead of a protocol and move readLine there. file: [8b3e4349b5] check-in: [7bf4b144ad] user: js, branch: trunk, size: 3582 [annotate] [blame] [check-ins using] [diff]
2009-04-19
20:22
Remove useless definitions. file: [35d6e43251] check-in: [a756d3f511] user: js, branch: trunk, size: 3614 [annotate] [blame] [check-ins using] [diff]
2009-04-09
13:55
Use char* instead of uint8_t* for OFStreams and OFHashes.
This way, less casts are needed when using C libraries.
file: [938ce6b8f3] check-in: [722b6213c0] user: js, branch: trunk, size: 3623 [annotate] [blame] [check-ins using] [diff]
2009-04-07
15:44
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.
file: [8001780b38] check-in: [09e6b3fc7b] user: js, branch: trunk, size: 3629 [annotate] [blame] [check-ins using] [diff]
2009-02-14
17:26
Always use #include for libc headers due to glibc being broken.
Do the same for win32 headers, just in case. They should work with
#import, but you never know ;).
file: [83b21b531b] check-in: [029511474c] user: js, branch: trunk, size: 3941 [annotate] [blame] [check-ins using] [diff]
2009-01-24
15:24
Adjust API to introduction of OFAutoreleasePool. file: [75dce3944f] check-in: [1496808b81] user: js, branch: trunk, size: 3939 [annotate] [blame] [check-ins using] [diff]
2009-01-05
00:59
Update copyright. file: [c444256949] check-in: [f1b749d113] user: js, branch: trunk, size: 3924 [annotate] [blame] [check-ins using] [diff]
2008-12-14
02:01
Define functions unavailable on win32 and nop them there. file: [d94b85395e] check-in: [61bbbc20ff] user: js, branch: trunk, size: 3917 [annotate] [blame] [check-ins using] [diff]
2008-12-13
19:25
Initial attempt to port to win32. file: [3298445bd5] check-in: [142572f90b] user: js, branch: trunk, size: 3961 [annotate] [blame] [check-ins using] [diff]
2008-12-07
10:39
Remove redundant method definitions. file: [a86ed41196] check-in: [06c6cdbd34] user: js, branch: trunk, size: 3722 [annotate] [blame] [check-ins using] [diff]
10:35
Add - close to OFStream. file: [2c1ca1f133] check-in: [657fae20a4] user: js, branch: trunk, size: 4822 [annotate] [blame] [check-ins using] [diff]
03:06
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. file: [4108e927d0] check-in: [70874cf3c5] user: js, branch: trunk, size: 4784 [annotate] [blame] [check-ins using] [diff]

02:53
Add writeCString and writeWideCString to OFStream. file: [38c6717cee] check-in: [6ed7c33611] user: js, branch: trunk, size: 5022 [annotate] [blame] [check-ins using] [diff]
2008-12-06
15:22
Change OFFile API, add OFStream protocol. file: [7e04efd7c9] check-in: [f32e7ed452] user: js, branch: trunk, size: 4546 [annotate] [blame] [check-ins using] [diff]
2008-11-30
15:17
Clean up imports. file: [8e748f0d5d] check-in: [4b8666fe15] user: js, branch: trunk, size: 3700 [annotate] [blame] [check-ins using] [diff]
2008-11-06
16:06
Even more documentation. file: [c20fa8faf0] check-in: [89c545c3e9] user: js, branch: trunk, size: 3720 [annotate] [blame] [check-ins using] [diff]
2008-10-26
02:49
Fix missing include. file: [90768e82ac] check-in: [0b49311db1] user: js, branch: trunk, size: 1170 [annotate] [blame] [check-ins using] [diff]
02:45
Add OFHashes. Only MD5 so far. file: [f9dde14242] check-in: [9a0cc3bc23] user: js, branch: trunk, size: 1147 [annotate] [blame] [check-ins using] [diff]
2008-10-08
23:15
Multiple changes, see details.

* OFObject getMem: renamd to getMemWithSize:.
* OFString compare: renamed to compareTo:.
* Exceptions don't throw itself anymore.
* Exceptions include an error string now.
* Exceptions now got raise and string.
* New methods for OFFile:
* changeModeOfFile:toMode:
* changeOwnerOfFile:toOwner:andGroup:
* delete:
* link:to:
* symlink:to:
* OFFile isEndOfFile renamd to atEndOfFile
* OFNotImplementedExeception newWithObject:andMethod renamed to
newWithObject:andSelector:.
* Tests updated accordingly.
* TODO list added. file: [fb39a1e440] check-in: [b597d49f43] user: js, branch: trunk, size: 1116 [annotate] [blame] [check-ins using] [diff]

2008-10-07
21:25
OFFile improvements. file: [f1d0a00de8] check-in: [6072f61f83] user: js, branch: trunk, size: 802 [annotate] [blame] [check-ins using] [diff]
17:18
Added: Added OFFile. file: [3d1d09b7c8] check-in: [71119a787b] user: js, branch: trunk, size: 589 [annotate] [blame] [check-ins using]