ObjFW  History of src/exceptions/OFReadOrWriteFailedException.h of a13251499a58bde6

History of file src/exceptions/OFReadOrWriteFailedException.h at check-in a13251499a58bde6

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [5cd601771d] check-in: [164f2fb4bf] user: js, branch: trunk, size: 2595 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [8a693dea2f] check-in: [7413a728a7] user: js, branch: trunk, size: 2620 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [dc1528c8fc] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2412 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [9789b3f76a] check-in: [8939cbdb52] user: js, branch: trunk, size: 2412 [annotate] [blame] [check-ins using] [diff]
2022-09-12
14:34
Either restrict subclassing or reserve ivars file: [2c37db7aa0] check-in: [c40a295629] user: js, branch: trunk, size: 2412 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [17403f4ccf] check-in: [1a86b8175b] user: js, branch: trunk, size: 2361 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [02f5bb8be0] check-in: [374e1a1bfa] user: js, branch: trunk, size: 2361 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [9ae34bfd6a] check-in: [163a4a5a2e] user: js, branch: trunk, size: 2450 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [4622c2916c] check-in: [c7f0229795] user: js, branch: trunk, size: 2450 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [efb643760e] check-in: [0509d7a844] user: js, branch: trunk, size: 2447 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [a394025664] check-in: [7e5c81e186] user: js, branch: trunk, size: 2441 [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
Documentation: Use @brief for all properties file: [5d2f9987f4] check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 2418 [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: [50f44143bc] check-in: [2f4e0df8be] user: js, branch: trunk, size: 2397 [annotate] [blame] [check-ins using] [diff]

2017-06-05
17:36
Clean up exceptions a little

This removes several initializers that omitted the errNo. Removing those
forces to think about whether there is a meaningful errNo to set instead
of just omitting it. file: [76630b46c4] check-in: [4f36894ce7] user: js, branch: trunk, size: 2365 [annotate] [blame] [check-ins using] [diff]

2017-06-04
23:41
Add designated initializer to all exceptions file: [3fcd66685f] check-in: [cc5923d6bb] user: js, branch: trunk, size: 3156 [annotate] [blame] [check-ins using] [diff]
2017-05-13
16:29
Also use nonatomic for non-object properties file: [eb2334224b] check-in: [f663d40cbd] user: js, branch: trunk, size: 3130 [annotate] [blame] [check-ins using] [diff]
2017-05-07
23:14
Add OF_UNAVAILABLE file: [b495c67239] check-in: [16c05e87e1] user: js, branch: trunk, size: 3108 [annotate] [blame] [check-ins using] [diff]
2017-05-02
21:10
exceptions: Add nullability specifiers file: [a2f7b8f9df] check-in: [cc4cb0d824] user: js, branch: trunk, size: 3041 [annotate] [blame] [check-ins using] [diff]
2017-04-30
13:35
Use nonatomic for properties and clean up

This changes retaining behavior, meaning properties are not returned
retained and autoreleased anymore, so a property returned from a getter
now needs to be manually retained and autoreleased before calling the
setter. However, this is rarely the case and not using atomic improves
performance. file: [1d7baf9f13] check-in: [0a73af49f0] user: js, branch: trunk, size: 2993 [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: [5e90c4069e] check-in: [44f45c2e35] user: js, branch: trunk, size: 2990 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

While at it, also update the mail address. file: [8073135cfa] check-in: [2a27cf3000] user: js, branch: trunk, size: 2984 [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:
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). file: [c9ae548918] check-in: [48980f2297] user: js, branch: trunk, size: 2980 [annotate] [blame] [check-ins using] [diff]

2015-04-11
11:04
Documentation improvements file: [2b24d7d23e] check-in: [efc6b07e2c] user: js, branch: trunk, size: 3314 [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
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. file: [4634f2a2fb] check-in: [62e2de30b9] user: js, branch: trunk, size: 3304 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [f505bf8f83] check-in: [cfd374b906] user: js, branch: trunk, size: 2415 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [7dce8857cc] check-in: [246cfe0807] user: js, branch: trunk, size: 2409 [annotate] [blame] [check-ins using] [diff]
2014-01-25
17:39
Generalize stream / socket related exceptions

This is in preparation for adding UDP sockets, as UDP sockets and TCP
sockets have no common superclass, as one is stream-oriented while the
other is packet-oriented.

Read and write exceptions are for any object now, as they are useful for
a lot more than just for streams, while the others (bind, listen, etc.)
are for any socket now (the type is id in this case, though, as there is
no common superclass). file: [1abbcc8757] check-in: [8d2a5052fd] user: js, branch: trunk, size: 2292 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [efb2743042] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2335 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [6cde31ae1e] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 2329 [annotate] [blame] [check-ins using] [diff]
2013-06-28
18:43
Include errno in headers for exceptions using it. file: [b993663c55] check-in: [3d6917fe0b] user: js, branch: trunk, size: 2340 [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
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. file: [5f7c7893d9] check-in: [3d16a30f41] user: js, branch: trunk, size: 2320 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [9ca5afb590] check-in: [e40729d406] user: js, branch: trunk, size: 2509 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [578afdb049] check-in: [813c00ccf0] user: js, branch: trunk, size: 2466 [annotate] [blame] [check-ins using] [diff]
2012-10-29
08:00
Documentation improvements. file: [f7f6b96b66] check-in: [7a3977d7fd] user: js, branch: 0.7, size: 2460 [annotate] [blame] [check-ins using] [diff]
07:59
Documentation improvements. file: [5bc0628e4e] check-in: [63bf4de97b] user: js, branch: trunk, size: 2460 [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
Switch to a headerdoc-compatible doc format. file: [a0d2d2cc4d] check-in: [1ad9565253] user: js, branch: trunk, size: 2121 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [f9eb7c2c4f] check-in: [fb515e8e24] user: js, branch: trunk, size: 2121 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [80dcbfd102] check-in: [c7adbcf399] user: js, branch: trunk, size: 2107 [annotate] [blame] [check-ins using] [diff]
2012-02-01
13:42
Clean up the properties mess. file: [0267e856f1] check-in: [c1b35e1495] user: js, branch: trunk, size: 2096 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [ec8271bd5d] check-in: [ce70e17b38] user: js, branch: trunk, size: 2099 [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
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. file: [360e4ce578] check-in: [e1e7ffa903] user: js, branch: trunk, size: 2093 [annotate] [blame] [check-ins using] [diff]

2011-04-22
18:00
More style improvements. file: [26ee57d0e2] check-in: [4814266280] user: js, branch: trunk, size: 2084 [annotate] [blame] [check-ins using] [diff]
2011-03-24
21:17
Pass the stream for stream exceptions. file: [6e14e8add8] check-in: [7ced2e7b6a] user: js, branch: trunk, size: 2042 [annotate] [blame] [check-ins using] [diff]
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [046030975c] check-in: [e1eea29286] user: js, branch: trunk, size: 1648 [annotate] [blame] [check-ins using]