ObjFW  History of src/exceptions/OFSeekFailedException.m of c540d53637f9fe85

History of file src/exceptions/OFSeekFailedException.m at check-in c540d53637f9fe85

2024-04-03
02:16
Change license to LGPLv3 only file: [0c11c0c6c4] check-in: [7413a728a7] user: js, branch: trunk, size: 1879 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [5cba0234e3] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 1671 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [1ab4c78784] check-in: [8939cbdb52] user: js, branch: trunk, size: 1671 [annotate] [blame] [check-ins using] [diff]
2022-08-27
20:58
OFSeekableStream: Add OFSeekWhence enum file: [20812553c7] check-in: [73f5e3aa84] user: js, branch: trunk, size: 1671 [annotate] [blame] [check-ins using] [diff]
20:39
Rename OFFileOffset -> OFStreamOffset file: [1550412068] check-in: [51589c6496] user: js, branch: trunk, size: 1653 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [8afbb45d54] check-in: [1a86b8175b] user: js, branch: trunk, size: 1649 [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
Rename all symbols marked extern file: [47b84af63f] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 1649 [annotate] [blame] [check-ins using] [diff]
2021-04-17
14:19
of_offset_t -> OFFileOffset file: [4afe52f449] check-in: [e69db838d9] user: js, branch: new-naming-convention, size: 1650 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [9c2e801f1d] check-in: [374e1a1bfa] user: js, branch: trunk, size: 1648 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [223dd15b2f] check-in: [c7f0229795] user: js, branch: trunk, size: 1737 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [2e85de50c3] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 1734 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [58dd984cfb] check-in: [0509d7a844] user: js, branch: trunk, size: 1736 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [d0222570c8] check-in: [7e5c81e186] user: js, branch: trunk, size: 1730 [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: [55ff0b005f] check-in: [2f4e0df8be] user: js, branch: trunk, size: 1707 [annotate] [blame] [check-ins using] [diff]

2017-06-04
23:41
Add designated initializer to all exceptions file: [001a049def] check-in: [cc5923d6bb] user: js, branch: trunk, size: 2259 [annotate] [blame] [check-ins using] [diff]
2017-05-28
21:29
OFFile: Use AmigaDOS API on MorphOS + libnix file: [aaa4670827] check-in: [7a0f290eae] user: js, branch: trunk, size: 2260 [annotate] [blame] [check-ins using] [diff]
2017-05-13
16:56
Fix compilation with GCC file: [61374f4d60] check-in: [4df6ab6bca] user: js, branch: trunk, size: 1679 [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: [00e16809f3] check-in: [4af49a13c3] user: js, branch: trunk, size: 1622 [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: [1eb0d20455] check-in: [44f45c2e35] user: js, branch: trunk, size: 1619 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

While at it, also update the mail address. file: [d93e0e7bf2] check-in: [2a27cf3000] user: js, branch: trunk, size: 1613 [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: [93222f0acf] check-in: [48980f2297] user: js, branch: trunk, size: 1609 [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: [cf10b6e3aa] check-in: [62e2de30b9] user: js, branch: trunk, size: 1687 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [ed7c96dc99] check-in: [cfd374b906] user: js, branch: trunk, size: 1632 [annotate] [blame] [check-ins using] [diff]
20:42
Introduce and use of_offset_t instead of off_t

The reason for this is that some systems, for example Android, use
32 bits for off_t while having size related fields like st_size as
long long. file: [931636a4ee] check-in: [46b89b1c8e] user: js, branch: trunk, size: 1626 [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: [9c20229078] check-in: [13ee56edf3] user: js, branch: trunk, size: 1608 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [ec581305be] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1627 [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:12
Add OF_INVALID_INIT_METHOD. file: [4f43b74af7] check-in: [35dafd5c57] user: js, branch: trunk, size: 1621 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [a61f6e2176] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 1711 [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: [b56aeff4f4] check-in: [3d16a30f41] user: js, branch: trunk, size: 1712 [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: [d5da00b403] check-in: [c5ef582958] user: js, branch: trunk, size: 1795 [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: [23aa08e709] check-in: [d9ddc4d06e] user: js, branch: trunk, size: 1792 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [b267411948] check-in: [e40729d406] user: js, branch: trunk, size: 1879 [annotate] [blame] [check-ins using] [diff]
2013-02-05
22:24
Move abort() to make old GCCs happy. file: [817ab9cf57] check-in: [737a82e1a4] user: js, branch: trunk, size: 1876 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [860452f451] check-in: [813c00ccf0] user: js, branch: trunk, size: 1876 [annotate] [blame] [check-ins using] [diff]
2012-12-22
15:37
Add -[doesNotRecognizeSelector:]. file: [f5ed617a11] check-in: [917ce5754c] user: js, branch: trunk, size: 1870 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [d1cecd4b8a] check-in: [fb515e8e24] user: js, branch: trunk, size: 1902 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [93bf3837d6] check-in: [c7adbcf399] user: js, branch: trunk, size: 1888 [annotate] [blame] [check-ins using] [diff]
2012-07-12
01:28
Don't access isa directly. file: [9676a55c0c] check-in: [8892ae9fcc] user: js, branch: trunk, size: 1881 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [c61a9a15f4] check-in: [ce70e17b38] user: js, branch: trunk, size: 1872 [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: [52581f6912] check-in: [e1e7ffa903] user: js, branch: trunk, size: 1866 [annotate] [blame] [check-ins using] [diff]

2011-09-11
00:03
Make use of the fact that -[retain] and -[release] must not throw. file: [5afb1ec110] check-in: [74eeea199c] user: js, branch: trunk, size: 1820 [annotate] [blame] [check-ins using] [diff]
2011-06-06
15:53
Add missing imports to make gcc from trunk happy. file: [7b62503b45] check-in: [df329a38cd] user: js, branch: trunk, size: 1884 [annotate] [blame] [check-ins using] [diff]
2011-03-27
17:16
Pass offset and whence for OFSeekFailedExceptions. file: [6ded05d92b] check-in: [b940af1dd6] user: js, branch: trunk, size: 1855 [annotate] [blame] [check-ins using] [diff]
2011-03-24
21:17
Pass the stream for stream exceptions. file: [22f9ab7eaa] check-in: [7ced2e7b6a] user: js, branch: trunk, size: 1605 [annotate] [blame] [check-ins using] [diff]
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [f136f958cb] check-in: [e1eea29286] user: js, branch: trunk, size: 1044 [annotate] [blame] [check-ins using]