ObjFW  History of src/exceptions/OFNotConnectedException.m of 69a81995bf9a169f

History of the file that is called src/exceptions/OFNotConnectedException.m at check-in 69a81995bf9a169f

2015-05-06
20:18
Deleted: OFNotConnectedException -> OFNotOpenException (check-in: [ff759684e2] user: js, branch: trunk, size: 0)
2015-02-16
08:39
[3dd688e897] part of check-in [62e2de30b9] 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. (check-in: [62e2de30b9] user: js, branch: trunk, size: 1195) [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
[284b7d5620] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 1215) [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
[32f81be35f] part of check-in [13ee56edf3] 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. (check-in: [13ee56edf3] user: js, branch: trunk, size: 1209) [annotate] [blame] [check-ins using] [diff]

2014-01-25
17:39
[916c8267e0] part of check-in [8d2a5052fd] 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). (check-in: [8d2a5052fd] user: js, branch: trunk, size: 1228) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[630fdbfb50] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1291) [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:12
[d144f51e1d] part of check-in [35dafd5c57] Add OF_INVALID_INIT_METHOD. (check-in: [35dafd5c57] user: js, branch: trunk, size: 1285) [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
[395fdef6b4] part of check-in [85e8ccc3a5] Make exception properties atomic. (check-in: [85e8ccc3a5] user: js, branch: trunk, size: 1375) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[4793cd3e58] part of check-in [3d16a30f41] 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. (check-in: [3d16a30f41] user: js, branch: trunk, size: 1376) [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
[aa4875b712] part of check-in [c5ef582958] Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. (check-in: [c5ef582958] user: js, branch: trunk, size: 1474) [annotate] [blame] [check-ins using] [diff]

2013-02-13
23:10
[096c56ad4d] part of check-in [d9ddc4d06e] Don't cache the description of exceptions.

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

2013-02-12
18:22
[202a3a6c5f] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 1558) [annotate] [blame] [check-ins using] [diff]
2013-02-05
22:24
[96b427f88f] part of check-in [737a82e1a4] Move abort() to make old GCCs happy. (check-in: [737a82e1a4] user: js, branch: trunk, size: 1557) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[8acf7b92e8] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 1557) [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
[0d876782a7] part of check-in [917ce5754c] Add -[doesNotRecognizeSelector:]. (check-in: [917ce5754c] user: js, branch: trunk, size: 1551) [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
[24094739a0] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 1583) [annotate] [blame] [check-ins using] [diff]
2012-10-03
15:41
[497115d130] part of check-in [7239333455] Move definition of restricted to OFObject.h. (check-in: [7239333455] user: js, branch: trunk, size: 1569) [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
[f07b495d09] part of check-in [c7adbcf399] Clean up properties in exceptions. (check-in: [c7adbcf399] user: js, branch: trunk, size: 1549) [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
[0c7a0604fc] part of check-in [8892ae9fcc] Don't access isa directly. (check-in: [8892ae9fcc] user: js, branch: trunk, size: 1542) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[ed27efcb61] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 1533) [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
[564baa5da5] part of check-in [e1e7ffa903] 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. (check-in: [e1e7ffa903] user: js, branch: trunk, size: 1527) [annotate] [blame] [check-ins using] [diff]

2011-09-11
00:03
[3cf49774fa] part of check-in [74eeea199c] Make use of the fact that -[retain] and -[release] must not throw. (check-in: [74eeea199c] user: js, branch: trunk, size: 1495) [annotate] [blame] [check-ins using] [diff]
2011-06-06
15:53
[2f7d4a9cb8] part of check-in [df329a38cd] Add missing imports to make gcc from trunk happy. (check-in: [df329a38cd] user: js, branch: trunk, size: 1556) [annotate] [blame] [check-ins using] [diff]
2011-03-24
21:17
[ba0d7f211d] part of check-in [7ced2e7b6a] Pass the stream for stream exceptions. (check-in: [7ced2e7b6a] user: js, branch: trunk, size: 1532) [annotate] [blame] [check-ins using] [diff]
20:36
[25504636c1] part of check-in [a8df2cff5f] Pass the socket for socket exceptions. (check-in: [a8df2cff5f] user: js, branch: trunk, size: 1345) [annotate] [blame] [check-ins using] [diff]
16:09
Added: [0c3725a393] part of check-in [e1eea29286] Split OFExceptions.{h,m} into one file per exception. (check-in: [e1eea29286] user: js, branch: trunk, size: 887) [annotate] [blame] [check-ins using]