ObjFW  History of src/exceptions/OFListenFailedException.h of da8cd1c0adbd92d0

History of file src/exceptions/OFListenFailedException.h at check-in da8cd1c0adbd92d0

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [bcea1dd8f2] check-in: [164f2fb4bf] user: js, branch: trunk, size: 2367 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [5b74e45810] check-in: [7413a728a7] user: js, branch: trunk, size: 2402 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [947935e4c8] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2194 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [8c9f4f48a1] check-in: [8939cbdb52] user: js, branch: trunk, size: 2194 [annotate] [blame] [check-ins using] [diff]
2022-10-22
17:40
Renamed src/exceptions/OFListenFailedException.h → src/exceptions/OFListenOnSocketFailedException.h. Rename OFListen{ -> OnSocket}FailedException file: [98d11c8685] check-in: [df7f59b26c] user: js, branch: trunk, size: 2194 [annotate] [blame] [check-ins using] [diff]
2022-09-12
14:34
Either restrict subclassing or reserve ivars file: [a41aaff3ca] check-in: [c40a295629] user: js, branch: trunk, size: 2147 [annotate] [blame] [check-ins using] [diff]
2022-04-23
12:26
More declaration reordering and nullability fixes file: [32d4375802] check-in: [59fc5153a1] user: js, branch: trunk, size: 2101 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [08d597b7f2] check-in: [1a86b8175b] user: js, branch: trunk, size: 2101 [annotate] [blame] [check-ins using] [diff]
2021-11-13
20:28
Add OFSecureTransportTLSStream

This implements OFTLSStream using Apple's Secure Transport. While Secure
Transport is declared deprecated by Apple, Apple so far has failed to
provide a suitable replacement. They recommend Network.framework as a
replacement, however it can neither work on arbitrary sockets, nor can
it do STARTTLS. file: [d3d380a413] check-in: [112eb62f7b] user: js, branch: trunk, size: 2101 [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
Update copyright file: [08a4f6833f] check-in: [374e1a1bfa] user: js, branch: trunk, size: 2100 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [a314b9e246] check-in: [163a4a5a2e] user: js, branch: trunk, size: 2189 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [fb6262a1fb] check-in: [c7f0229795] user: js, branch: trunk, size: 2189 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [14efa0ab78] check-in: [0509d7a844] user: js, branch: trunk, size: 2186 [annotate] [blame] [check-ins using] [diff]
2018-06-24
22:08
Rename -[listenWith{BackLog -> Backlog}:] file: [ee580e83aa] check-in: [3cd89fa8ba] user: js, branch: trunk, size: 2180 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [0892bf06fa] check-in: [7e5c81e186] user: js, branch: trunk, size: 2180 [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
Documentation: Use @brief for all properties file: [8e8a5e1406] check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 2157 [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: [9104f958e2] check-in: [2f4e0df8be] user: js, branch: trunk, size: 2136 [annotate] [blame] [check-ins using] [diff]

2017-06-04
23:41
Add designated initializer to all exceptions file: [69aa18b2cb] check-in: [cc5923d6bb] user: js, branch: trunk, size: 2101 [annotate] [blame] [check-ins using] [diff]
2017-05-13
16:29
Also use nonatomic for non-object properties file: [fa47660530] check-in: [f663d40cbd] user: js, branch: trunk, size: 2075 [annotate] [blame] [check-ins using] [diff]
2017-05-07
23:14
Add OF_UNAVAILABLE file: [ee0d335219] check-in: [16c05e87e1] user: js, branch: trunk, size: 2053 [annotate] [blame] [check-ins using] [diff]
2017-05-02
21:10
exceptions: Add nullability specifiers file: [b8e6cc5049] check-in: [cc4cb0d824] user: js, branch: trunk, size: 1986 [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: [7e1a5af823] check-in: [0a73af49f0] user: js, branch: trunk, size: 1938 [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: [bb950d96b0] check-in: [44f45c2e35] user: js, branch: trunk, size: 1935 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

While at it, also update the mail address. file: [1c81899f8c] check-in: [2a27cf3000] user: js, branch: trunk, size: 1929 [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: [ed9afbc4de] check-in: [48980f2297] user: js, branch: trunk, size: 1925 [annotate] [blame] [check-ins using] [diff]

2015-04-11
11:04
Documentation improvements file: [4b9fad4653] check-in: [efc6b07e2c] user: js, branch: trunk, size: 2159 [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: [9409a555ca] check-in: [62e2de30b9] user: js, branch: trunk, size: 2149 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [ce3a805b58] check-in: [cfd374b906] user: js, branch: trunk, size: 2042 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [c82f7c86cb] check-in: [246cfe0807] user: js, branch: trunk, size: 2036 [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: [ab3ab8d43b] check-in: [8d2a5052fd] user: js, branch: trunk, size: 1934 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [e45067b3a1] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2005 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [9e94f6e60c] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 1999 [annotate] [blame] [check-ins using] [diff]
2013-06-28
18:43
Include errno in headers for exceptions using it. file: [e39552a483] check-in: [3d6917fe0b] user: js, branch: trunk, size: 2010 [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: [e2ca28aebd] check-in: [3d16a30f41] user: js, branch: trunk, size: 1990 [annotate] [blame] [check-ins using] [diff]

2013-04-26
19:42
Make it possible to disable sockets. file: [1610493659] check-in: [590c377d8a] user: js, branch: trunk, size: 2175 [annotate] [blame] [check-ins using] [diff]
2013-02-12
18:22
Prefix all ivars with an underscore. file: [9a332b8a67] check-in: [e40729d406] user: js, branch: trunk, size: 2113 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [821019a0e7] check-in: [813c00ccf0] user: js, branch: trunk, size: 2148 [annotate] [blame] [check-ins using] [diff]
2012-10-29
08:00
Documentation improvements. file: [319d8e8c77] check-in: [7a3977d7fd] user: js, branch: 0.7, size: 2142 [annotate] [blame] [check-ins using] [diff]
07:59
Documentation improvements. file: [6f64d38687] check-in: [63bf4de97b] user: js, branch: trunk, size: 2142 [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
Switch to a headerdoc-compatible doc format. file: [873d16287f] check-in: [1ad9565253] user: js, branch: trunk, size: 1887 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [0ed7c6fb04] check-in: [fb515e8e24] user: js, branch: trunk, size: 1887 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [e276f97633] check-in: [c7adbcf399] user: js, branch: trunk, size: 1873 [annotate] [blame] [check-ins using] [diff]
2012-02-01
13:42
Clean up the properties mess. file: [71b611bb46] check-in: [c1b35e1495] user: js, branch: trunk, size: 1862 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [2a1b4b4989] check-in: [ce70e17b38] user: js, branch: trunk, size: 1865 [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: [7f32ead302] check-in: [e1e7ffa903] user: js, branch: trunk, size: 1859 [annotate] [blame] [check-ins using] [diff]

2011-03-24
20:36
Pass the socket for socket exceptions. file: [4490777cf7] check-in: [a8df2cff5f] user: js, branch: trunk, size: 1848 [annotate] [blame] [check-ins using] [diff]
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [b05d0483ce] check-in: [e1eea29286] user: js, branch: trunk, size: 1503 [annotate] [blame] [check-ins using]