ObjFW  All files named "src/exceptions/OFBindFailedException.m"

History for src/exceptions/OFBindFailedException.m

2022-10-22
18:21
Renamed to src/exceptions/OFBindSocketFailedException.m. Merge trunk into branch "appletalk" check-in: [ec6ee4c269] user: js, branch: appletalk, size: 0
15:07
Renamed to src/exceptions/OFBindSocketFailedException.m. Rename OFBind{ -> Socket}FailedException check-in: [35b565d369] user: js, branch: trunk, size: 0
14:16
Add OFDDPSocket file: [6913dc3c89] check-in: [cb1fd0fbb8] user: js, branch: appletalk, size: 3828 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [0fa4a1273c] check-in: [1a86b8175b] user: js, branch: trunk, size: 3234 [annotate] [blame] [check-ins using] [diff]
2021-10-24
15:14
Add OFUNIXDatagramSocket file: [a976d8cd94] check-in: [94110c9553] user: js, branch: unix-sockets, size: 3234 [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
Rename all symbols marked extern file: [5d40ea5e4f] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 2554 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [8a08ee6973] check-in: [374e1a1bfa] user: js, branch: trunk, size: 2556 [annotate] [blame] [check-ins using] [diff]
2020-04-26
10:06
Make GCC 4.6 happy again

I have no idea why it did not warn about shadowing socket before, but
now suddenly does. GCC 4.6 was such a buggy release that I most likely
don't even want to know... file: [66d49adee0] check-in: [37e6faa76f] user: js, branch: trunk, size: 2645 [annotate] [blame] [check-ins using] [diff]

2020-04-25
23:02
Add OFIPXSocket file: [47b287ba77] check-in: [4a5822e7c0] user: js, branch: trunk, size: 2661 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [a4be0b4e2f] check-in: [c7f0229795] user: js, branch: trunk, size: 1781 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [73dac87b1a] check-in: [0509d7a844] user: js, branch: trunk, size: 1778 [annotate] [blame] [check-ins using] [diff]
2018-04-22
17:48
Make ObjFW compile for AmigaOS 3 file: [6201d3f9da] check-in: [0b07c8fcfa] user: js, branch: trunk, size: 1772 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [d4bdfa895b] check-in: [7e5c81e186] user: js, branch: trunk, size: 1795 [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: [ae1fe23608] check-in: [2f4e0df8be] user: js, branch: trunk, size: 1772 [annotate] [blame] [check-ins using] [diff]

2017-05-13
16:56
Fix compilation with GCC file: [ab8d2f4945] check-in: [4df6ab6bca] user: js, branch: trunk, size: 1730 [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: [e0e0543c8b] check-in: [4af49a13c3] user: js, branch: trunk, size: 1673 [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: [54991134ed] check-in: [44f45c2e35] user: js, branch: trunk, size: 1670 [annotate] [blame] [check-ins using] [diff]

2016-10-09
01:06
Remove inttypes.h include from OFString.h

This fixes including a non-module header in a module. file: [deb4000d67] check-in: [9c108208ef] user: js, branch: trunk, size: 1664 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

While at it, also update the mail address. file: [c15efcfbbe] check-in: [2a27cf3000] user: js, branch: trunk, size: 1641 [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: [c0ecd059b3] check-in: [48980f2297] user: js, branch: trunk, size: 1637 [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: [eae71b417b] check-in: [62e2de30b9] user: js, branch: trunk, size: 1724 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [efaadf4326] check-in: [cfd374b906] user: js, branch: trunk, size: 1743 [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
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. file: [b53cdc515d] check-in: [13ee56edf3] user: js, branch: trunk, size: 1737 [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: [7ed64ab589] check-in: [8d2a5052fd] user: js, branch: trunk, size: 1756 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [fd6546c3c3] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1810 [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:12
Add OF_INVALID_INIT_METHOD. file: [c2dc859a2f] check-in: [35dafd5c57] user: js, branch: trunk, size: 1804 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [8568a2e239] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 1894 [annotate] [blame] [check-ins using] [diff]
2013-07-05
16:54
Map WSA error codes to standard error codes. file: [0685d3e4c2] check-in: [e790f0e1f0] user: js, branch: trunk, size: 1896 [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: [e9a7fb70cc] check-in: [3d16a30f41] user: js, branch: trunk, size: 1833 [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: [857a2f6180] check-in: [c5ef582958] user: js, branch: trunk, size: 1935 [annotate] [blame] [check-ins using] [diff]

2013-02-13
23:10
Don't cache the description of exceptions.

This was pretty pointless, as it's usually only used once. file: [21f3f29bde] check-in: [d9ddc4d06e] user: js, branch: trunk, size: 1929 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [04bd4c8eb2] check-in: [e40729d406] user: js, branch: trunk, size: 2016 [annotate] [blame] [check-ins using] [diff]
2013-02-05
22:24
Move abort() to make old GCCs happy. file: [4d941c04f6] check-in: [737a82e1a4] user: js, branch: trunk, size: 2010 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [83b98e4bc0] check-in: [813c00ccf0] user: js, branch: trunk, size: 2010 [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
Add -[doesNotRecognizeSelector:]. file: [dc36806f5b] check-in: [917ce5754c] user: js, branch: trunk, size: 2004 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [e975d14a09] check-in: [fb515e8e24] user: js, branch: trunk, size: 2036 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [75170f8362] check-in: [c7adbcf399] user: js, branch: trunk, size: 2008 [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
Don't access isa directly. file: [d796c063e2] check-in: [8892ae9fcc] user: js, branch: trunk, size: 1994 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [df615de3a6] check-in: [ce70e17b38] user: js, branch: trunk, size: 1985 [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: [91fa7c8872] check-in: [e1e7ffa903] user: js, branch: trunk, size: 1979 [annotate] [blame] [check-ins using] [diff]

2011-06-06
15:53
Add missing imports to make gcc from trunk happy. file: [6af98418a1] check-in: [df329a38cd] user: js, branch: trunk, size: 1947 [annotate] [blame] [check-ins using] [diff]
2011-03-24
20:36
Pass the socket for socket exceptions. file: [618c1f8bd7] check-in: [a8df2cff5f] user: js, branch: trunk, size: 1923 [annotate] [blame] [check-ins using] [diff]
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [7d666e8245] check-in: [e1eea29286] user: js, branch: trunk, size: 1743 [annotate] [blame] [check-ins using]