ObjFW  History of src/exceptions/common.h of e2bbfb45d037ce90

History of the file that is called src/exceptions/common.h at check-in e2bbfb45d037ce90

2015-02-16
08:39
Deleted: 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: 0)

2015-01-03
20:57
[83d14795d1] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 1513) [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
[9631779c5c] 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: 1507) [annotate] [blame] [check-ins using] [diff]

2014-04-26
01:04
[b75cd971df] part of check-in [e05bd4856e] Improve description for I/O related exceptions (check-in: [e05bd4856e] user: js, branch: trunk, size: 1527) [annotate] [blame] [check-ins using] [diff]
2014-03-05
00:00
[173fdc42a2] part of check-in [f96fd9d551] Include socket.h before socket_helpers.h (check-in: [f96fd9d551] user: js, branch: trunk, size: 1530) [annotate] [blame] [check-ins using] [diff]
2014-03-04
23:53
[fcb5839156] part of check-in [898f8c7072] resolver.m: Fix locking

A lock for thread-unsafe getaddrinfo was missing and not all locks were
unlocked / all buffers free'd if an error occurred. (check-in: [898f8c7072] user: js, branch: trunk, size: 1509) [annotate] [blame] [check-ins using] [diff]

2014-02-13
23:26
[8eded04c5d] part of check-in [2f5af58573] Use -std=c11 instead of -std=gnu11

Not using -std=gnu11 means _GNU_SOURCE does not get defined anymore,
therefore this commit also adds the required feature defines for glibc.

Additionally, this adds of_strdup in macros.h, as strdup is an
extension. (check-in: [2f5af58573] user: js, branch: trunk, size: 1531) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[b809e736ac] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1519) [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
[adaa2c4822] 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: 1513) [annotate] [blame] [check-ins using] [diff]

2013-05-22
18:42
[082aeff5c0] part of check-in [896084c340] Check for more socket-related headers / functions. (check-in: [896084c340] user: js, branch: trunk, size: 1511) [annotate] [blame] [check-ins using] [diff]
2013-04-26
19:42
[19aae6e6f7] part of check-in [590c377d8a] Make it possible to disable sockets. (check-in: [590c377d8a] user: js, branch: trunk, size: 1500) [annotate] [blame] [check-ins using] [diff]
2013-02-12
18:22
[258ae8e83b] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 1364) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[9a8f628a9b] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 1356) [annotate] [blame] [check-ins using] [diff]
2012-10-03
15:41
[694e7d8b34] part of check-in [7239333455] Move definition of restricted to OFObject.h. (check-in: [7239333455] user: js, branch: trunk, size: 1350) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[0e109eabd1] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 1330) [annotate] [blame] [check-ins using] [diff]
2011-07-24
20:05
[20a947a4f0] part of check-in [c7bc7b93d9] Add a few defines for runtime methods so they always have the same name. (check-in: [c7bc7b93d9] user: js, branch: trunk, size: 1324) [annotate] [blame] [check-ins using] [diff]
2011-03-29
23:32
[1a81af8861] part of check-in [48c67b1444] Fix missing include in exceptions/common.h. (check-in: [48c67b1444] user: js, branch: trunk, size: 1516) [annotate] [blame] [check-ins using] [diff]
2011-03-24
16:09
Added: [4c4f654284] part of check-in [e1eea29286] Split OFExceptions.{h,m} into one file per exception. (check-in: [e1eea29286] user: js, branch: trunk, size: 1429) [annotate] [blame] [check-ins using]