ObjFW  History of src/exceptions/OFOpenFileFailedException.m of 25df622287ea672e

History of file src/exceptions/OFOpenFileFailedException.m at check-in 25df622287ea672e

2015-04-11
11:01
Deleted: OFOpenFileFailedException: Rename File -> Item check-in: [ff17b98ab2] user: js, branch: trunk, size: 0
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: [195f94c4ef] check-in: [62e2de30b9] user: js, branch: trunk, size: 2055 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [d398ad4641] check-in: [cfd374b906] user: js, branch: trunk, size: 1502 [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: [4f20d070a7] check-in: [13ee56edf3] user: js, branch: trunk, size: 1496 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [681ccbbaf3] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1515 [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:12
Add OF_INVALID_INIT_METHOD. file: [44b6a7107c] check-in: [35dafd5c57] user: js, branch: trunk, size: 1509 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [c7d79c20a2] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 1599 [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: [81dda45767] check-in: [3d16a30f41] user: js, branch: trunk, size: 1601 [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: [1c310618be] check-in: [c5ef582958] user: js, branch: trunk, size: 1742 [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: [4e0dc54767] check-in: [d9ddc4d06e] user: js, branch: trunk, size: 1736 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [fd065f5f06] check-in: [e40729d406] user: js, branch: trunk, size: 1823 [annotate] [blame] [check-ins using] [diff]
2013-02-05
22:24
Move abort() to make old GCCs happy. file: [2be3d5c462] check-in: [737a82e1a4] user: js, branch: trunk, size: 1817 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [c14ca0089e] check-in: [813c00ccf0] user: js, branch: trunk, size: 1817 [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
Add -[doesNotRecognizeSelector:]. file: [94930c081e] check-in: [917ce5754c] user: js, branch: trunk, size: 1811 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [a32dab7ab4] check-in: [fb515e8e24] user: js, branch: trunk, size: 1843 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [748612e960] check-in: [c7adbcf399] user: js, branch: trunk, size: 1816 [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
Don't access isa directly. file: [496127f6be] check-in: [8892ae9fcc] user: js, branch: trunk, size: 1802 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [aa6dd716b2] check-in: [ce70e17b38] user: js, branch: trunk, size: 1793 [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: [8c923f326e] check-in: [e1e7ffa903] user: js, branch: trunk, size: 1787 [annotate] [blame] [check-ins using] [diff]

2011-03-24
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [cb2bafa22a] check-in: [e1eea29286] user: js, branch: trunk, size: 1761 [annotate] [blame] [check-ins using]