ObjFW  History of src/exceptions/OFConnectSocketFailedException.h of a77bb2825d153326

History of file src/exceptions/OFConnectSocketFailedException.h at check-in a77bb2825d153326

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [d29f7bae20] check-in: [164f2fb4bf] user: js, branch: trunk, size: 2159 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [d6218faacc] check-in: [7413a728a7] user: js, branch: trunk, size: 2193 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [f7d237c480] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 1985 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [0223bb3646] check-in: [8939cbdb52] user: js, branch: trunk, size: 1985 [annotate] [blame] [check-ins using] [diff]
2022-10-22
17:29
Split OFConnectSocketFailedException in subclasses file: [8f2d911f53] check-in: [179b60bfb4] user: js, branch: trunk, size: 1985 [annotate] [blame] [check-ins using] [diff]
16:50
Renamed src/exceptions/OFConnectionFailedException.h → src/exceptions/OFConnectSocketFailedException.h. Rename OFConnect{ion -> Socket}FailedException file: [33cd7aa514] check-in: [43b57ece47] user: js, branch: trunk, size: 5143 [annotate] [blame] [check-ins using] [diff]
16:41
OF[IS]PX(Stream)Socket: Bind with network & node file: [b07c5b14da] check-in: [b29f11ed25] user: js, branch: trunk, size: 5121 [annotate] [blame] [check-ins using] [diff]
2022-09-12
14:34
Either restrict subclassing or reserve ivars file: [3f23880b21] check-in: [c40a295629] user: js, branch: trunk, size: 5096 [annotate] [blame] [check-ins using] [diff]
2022-08-06
14:43
Reorder node and network of IPX sockets

This is more standard, albeit -[connectToNetwork:node:port:] sounding a
little bit more like you connect to a network rather than a node. file: [6f75d86327] check-in: [ccc6a77c55] user: js, branch: trunk, size: 5046 [annotate] [blame] [check-ins using] [diff]

2022-04-25
19:14
More reordering for consistency file: [2687b6eb31] check-in: [8cb6fafdc0] user: js, branch: trunk, size: 5052 [annotate] [blame] [check-ins using] [diff]
2022-04-20
13:09
OFConnectionFailedException: Improve nullability file: [9758698be0] check-in: [c24f964805] user: js, branch: trunk, size: 5052 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [ee6b1c27c4] check-in: [1a86b8175b] user: js, branch: trunk, size: 5060 [annotate] [blame] [check-ins using] [diff]
2021-10-24
21:15
Add OFUNIXStreamSocket file: [c3153f2e58] check-in: [aaf477fc88] user: js, branch: unix-sockets, size: 5060 [annotate] [blame] [check-ins using] [diff]
2021-04-18
20:51
Rename everything in several smaller files file: [0eaf506d9d] check-in: [35de667566] user: js, branch: new-naming-convention, size: 4102 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [47bb6c6702] check-in: [374e1a1bfa] user: js, branch: trunk, size: 4100 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [2ceab3ca9f] check-in: [163a4a5a2e] user: js, branch: trunk, size: 4189 [annotate] [blame] [check-ins using] [diff]
2020-04-29
23:59
Add OFSPXSocket file: [cd5a362f90] check-in: [857f8edc09] user: js, branch: trunk, size: 4189 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [e2e47e53e8] check-in: [c7f0229795] user: js, branch: trunk, size: 2629 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [5b9be6e690] check-in: [0509d7a844] user: js, branch: trunk, size: 2626 [annotate] [blame] [check-ins using] [diff]
2018-08-26
12:46
Initial support for async connect without threads file: [256212dee6] check-in: [1e79c0a969] user: js, branch: trunk, size: 2620 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [465ef9b3d2] check-in: [7e5c81e186] user: js, branch: trunk, size: 2581 [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
Documentation: Use @brief for all properties file: [fff107ad0a] check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 2558 [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: [ecf1b8d37c] check-in: [2f4e0df8be] user: js, branch: trunk, size: 2530 [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: [3d845cb880] check-in: [4f36894ce7] user: js, branch: trunk, size: 2488 [annotate] [blame] [check-ins using] [diff]

2017-06-04
23:41
Add designated initializer to all exceptions file: [db737cf790] check-in: [cc5923d6bb] user: js, branch: trunk, size: 3297 [annotate] [blame] [check-ins using] [diff]
2017-05-13
16:29
Also use nonatomic for non-object properties file: [1f7fe5d883] check-in: [f663d40cbd] user: js, branch: trunk, size: 3271 [annotate] [blame] [check-ins using] [diff]
2017-05-07
23:14
Add OF_UNAVAILABLE file: [0154995510] check-in: [16c05e87e1] user: js, branch: trunk, size: 3249 [annotate] [blame] [check-ins using] [diff]
20:10
Small code style change

Casts are now written like types in variable declarations. file: [da0c71c6e8] check-in: [4af49a13c3] user: js, branch: trunk, size: 3182 [annotate] [blame] [check-ins using] [diff]

2017-05-02
21:10
exceptions: Add nullability specifiers file: [1c78b42463] check-in: [cc4cb0d824] user: js, branch: trunk, size: 3178 [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: [c487229992] check-in: [0a73af49f0] user: js, branch: trunk, size: 3130 [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: [fdc6827f49] check-in: [44f45c2e35] user: js, branch: trunk, size: 3122 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

While at it, also update the mail address. file: [e0e65a9837] check-in: [2a27cf3000] user: js, branch: trunk, size: 3116 [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: [70c5877ad2] check-in: [48980f2297] user: js, branch: trunk, size: 3112 [annotate] [blame] [check-ins using] [diff]

2015-04-11
11:04
Documentation improvements file: [60f2feca02] check-in: [efc6b07e2c] user: js, branch: trunk, size: 3491 [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: [61b9685104] check-in: [62e2de30b9] user: js, branch: trunk, size: 3481 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [e298d451ea] check-in: [cfd374b906] user: js, branch: trunk, size: 2571 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [590163df23] check-in: [246cfe0807] user: js, branch: trunk, size: 2565 [annotate] [blame] [check-ins using] [diff]
2014-01-27
11:35
Generalize forgotten socket related exceptions file: [dfacad7397] check-in: [be1fb59dfa] user: js, branch: trunk, size: 2451 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [d46ff45148] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2532 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [6d0b161eef] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 2526 [annotate] [blame] [check-ins using] [diff]
2013-06-28
18:43
Include errno in headers for exceptions using it. file: [61282e85bf] check-in: [3d6917fe0b] user: js, branch: trunk, size: 2548 [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: [6027f00abb] check-in: [3d16a30f41] user: js, branch: trunk, size: 2528 [annotate] [blame] [check-ins using] [diff]

2013-04-26
19:42
Make it possible to disable sockets. file: [7bbe937501] check-in: [590c377d8a] user: js, branch: trunk, size: 2723 [annotate] [blame] [check-ins using] [diff]
2013-02-12
18:22
Prefix all ivars with an underscore. file: [6e0a8c3716] check-in: [e40729d406] user: js, branch: trunk, size: 2661 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [98696826d6] check-in: [813c00ccf0] user: js, branch: trunk, size: 2657 [annotate] [blame] [check-ins using] [diff]
2012-10-29
08:00
Documentation improvements. file: [ee671036b6] check-in: [7a3977d7fd] user: js, branch: 0.7, size: 2651 [annotate] [blame] [check-ins using] [diff]
07:59
Documentation improvements. file: [21b9cba473] check-in: [63bf4de97b] user: js, branch: trunk, size: 2651 [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
Switch to a headerdoc-compatible doc format. file: [be82688ac1] check-in: [1ad9565253] user: js, branch: trunk, size: 2299 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [cf16965ef3] check-in: [fb515e8e24] user: js, branch: trunk, size: 2299 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [1ba7298c8e] check-in: [c7adbcf399] user: js, branch: trunk, size: 2271 [annotate] [blame] [check-ins using] [diff]
2012-02-01
13:42
Clean up the properties mess. file: [8389f7421c] check-in: [c1b35e1495] user: js, branch: trunk, size: 2251 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [17701c4f26] check-in: [ce70e17b38] user: js, branch: trunk, size: 2257 [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: [1b2365cc81] check-in: [e1e7ffa903] user: js, branch: trunk, size: 2251 [annotate] [blame] [check-ins using] [diff]

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