ObjFW  History of src/exceptions/OFMalformedXMLException.m of 559577af46b079d5

History of file src/exceptions/OFMalformedXMLException.m at check-in 559577af46b079d5

2024-04-03
02:16
Change license to LGPLv3 only file: [69093b3dfb] check-in: [7413a728a7] user: js, branch: trunk, size: 1551 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [365a9d8f2f] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 1343 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [25f4ffc59c] check-in: [8939cbdb52] user: js, branch: trunk, size: 1343 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [f5ceb7c800] check-in: [1a86b8175b] user: js, branch: trunk, size: 1343 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [56f477d4e6] check-in: [374e1a1bfa] user: js, branch: trunk, size: 1343 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [3254a4bf70] check-in: [c7f0229795] user: js, branch: trunk, size: 1432 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [03c1cd11c5] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 1429 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [85b84d379a] check-in: [0509d7a844] user: js, branch: trunk, size: 1433 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [db03b586cb] check-in: [7e5c81e186] user: js, branch: trunk, size: 1427 [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: [f94540986f] check-in: [2f4e0df8be] user: js, branch: trunk, size: 1404 [annotate] [blame] [check-ins using] [diff]

2017-06-04
23:41
Add designated initializer to all exceptions file: [388479cf87] check-in: [cc5923d6bb] user: js, branch: trunk, size: 1376 [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: [d7fbc3fc45] check-in: [4af49a13c3] user: js, branch: trunk, size: 1328 [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: [d00b6e0bb4] check-in: [44f45c2e35] user: js, branch: trunk, size: 1325 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

While at it, also update the mail address. file: [6a643a64db] check-in: [2a27cf3000] user: js, branch: trunk, size: 1319 [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: [d8ca046204] check-in: [48980f2297] user: js, branch: trunk, size: 1315 [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: [a2f194b17a] check-in: [62e2de30b9] user: js, branch: trunk, size: 1338 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [a8ad14496d] check-in: [cfd374b906] user: js, branch: trunk, size: 1358 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [6d0e46f89e] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1352 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [dce21fa980] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 1346 [annotate] [blame] [check-ins using] [diff]
2013-09-15
21:22
Fix a few format string length modifiers. file: [5e3ec3023c] check-in: [65d5a8f675] user: js, branch: trunk, size: 1347 [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: [6866baec36] check-in: [3d16a30f41] user: js, branch: trunk, size: 1347 [annotate] [blame] [check-ins using] [diff]

2013-06-16
19:35
Include line number in OFMalformedXMLException. file: [e6f9f183de] check-in: [a4fbb3dd1b] user: js, branch: trunk, size: 1429 [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: [9e9069d031] check-in: [c5ef582958] user: js, branch: trunk, size: 1391 [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: [ea4e6e4445] check-in: [d9ddc4d06e] user: js, branch: trunk, size: 1388 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [92f13cee04] check-in: [e40729d406] user: js, branch: trunk, size: 1483 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [fdeb42d350] check-in: [813c00ccf0] user: js, branch: trunk, size: 1470 [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
Add -[doesNotRecognizeSelector:]. file: [006a4e8017] check-in: [917ce5754c] user: js, branch: trunk, size: 1464 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [b3e0941446] check-in: [fb515e8e24] user: js, branch: trunk, size: 1503 [annotate] [blame] [check-ins using] [diff]
2012-10-03
15:41
Move definition of restricted to OFObject.h. file: [188cd280eb] check-in: [7239333455] user: js, branch: trunk, size: 1489 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [aacdd770af] check-in: [c7adbcf399] user: js, branch: trunk, size: 1469 [annotate] [blame] [check-ins using] [diff]
2012-02-03
15:06
Make the parser optional for OFMalformedXMLException. file: [b901fc7015] check-in: [20e7d0c0e2] user: js, branch: trunk, size: 1462 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [f6faac305c] check-in: [ce70e17b38] user: js, branch: trunk, size: 1525 [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: [e2ab581c5c] check-in: [e1e7ffa903] user: js, branch: trunk, size: 1519 [annotate] [blame] [check-ins using] [diff]

2011-09-11
00:03
Make use of the fact that -[retain] and -[release] must not throw. file: [e9017c6da2] check-in: [74eeea199c] user: js, branch: trunk, size: 1487 [annotate] [blame] [check-ins using] [diff]
2011-06-06
15:53
Add missing imports to make gcc from trunk happy. file: [4aa8a7f2e3] check-in: [df329a38cd] user: js, branch: trunk, size: 1548 [annotate] [blame] [check-ins using] [diff]
2011-03-24
21:29
Pass the parser for OFMalformedXMLExceptions. file: [ca2ee2fed4] check-in: [3a9a5001cf] user: js, branch: trunk, size: 1524 [annotate] [blame] [check-ins using] [diff]
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [9767318faa] check-in: [e1eea29286] user: js, branch: trunk, size: 888 [annotate] [blame] [check-ins using]