ObjFW  History of src/exceptions/OFSeekFailedException.h of 59e52af26d5f1365

History of file src/exceptions/OFSeekFailedException.h at check-in 59e52af26d5f1365

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [76e2a515c2] check-in: [164f2fb4bf] user: js, branch: trunk, size: 2685 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [f914973116] check-in: [7413a728a7] user: js, branch: trunk, size: 2708 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [ecb2c75473] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2500 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [b626de4db2] check-in: [8939cbdb52] user: js, branch: trunk, size: 2500 [annotate] [blame] [check-ins using] [diff]
2022-09-12
14:34
Either restrict subclassing or reserve ivars file: [2132111c3a] check-in: [c40a295629] user: js, branch: trunk, size: 2500 [annotate] [blame] [check-ins using] [diff]
2022-08-27
20:58
OFSeekableStream: Add OFSeekWhence enum file: [cc5ff19519] check-in: [73f5e3aa84] user: js, branch: trunk, size: 2456 [annotate] [blame] [check-ins using] [diff]
20:39
Rename OFFileOffset -> OFStreamOffset file: [f1d3a39ff6] check-in: [51589c6496] user: js, branch: trunk, size: 2415 [annotate] [blame] [check-ins using] [diff]
2022-04-24
09:40
Reorder more declarations for consistency file: [f6a3b56229] check-in: [7e1d2b5cd6] user: js, branch: trunk, size: 2407 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [87b4166d9c] check-in: [1a86b8175b] user: js, branch: trunk, size: 2407 [annotate] [blame] [check-ins using] [diff]
2021-04-17
14:19
of_offset_t -> OFFileOffset file: [7803a36cf1] check-in: [e69db838d9] user: js, branch: new-naming-convention, size: 2407 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [4ea22d805a] check-in: [374e1a1bfa] user: js, branch: trunk, size: 2403 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [9b32035ace] check-in: [163a4a5a2e] user: js, branch: trunk, size: 2492 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [ed92d8e337] check-in: [c7f0229795] user: js, branch: trunk, size: 2492 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [23a27e0eac] check-in: [0509d7a844] user: js, branch: trunk, size: 2489 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [d635b310f5] check-in: [7e5c81e186] user: js, branch: trunk, size: 2483 [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
Documentation: Use @brief for all properties file: [983162e896] check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 2460 [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: [df09a3f95e] check-in: [2f4e0df8be] user: js, branch: trunk, size: 2432 [annotate] [blame] [check-ins using] [diff]

2017-06-05
17:36
Clean up exceptions a little

This removes several initializers that omitted the errNo. Removing those
forces to think about whether there is a meaningful errNo to set instead
of just omitting it. file: [fec6187850] check-in: [4f36894ce7] user: js, branch: trunk, size: 2404 [annotate] [blame] [check-ins using] [diff]

2017-06-04
23:41
Add designated initializer to all exceptions file: [a5d3e23d40] check-in: [cc5923d6bb] user: js, branch: trunk, size: 3191 [annotate] [blame] [check-ins using] [diff]
2017-05-28
21:29
OFFile: Use AmigaDOS API on MorphOS + libnix file: [a442beb9d6] check-in: [7a0f290eae] user: js, branch: trunk, size: 3165 [annotate] [blame] [check-ins using] [diff]
2017-05-13
16:29
Also use nonatomic for non-object properties file: [2cb0456fd7] check-in: [f663d40cbd] user: js, branch: trunk, size: 2378 [annotate] [blame] [check-ins using] [diff]
2017-05-07
23:14
Add OF_UNAVAILABLE file: [f9fc679640] check-in: [16c05e87e1] user: js, branch: trunk, size: 2345 [annotate] [blame] [check-ins using] [diff]
20:10
Small code style change

Casts are now written like types in variable declarations. file: [b3ad469847] check-in: [4af49a13c3] user: js, branch: trunk, size: 2278 [annotate] [blame] [check-ins using] [diff]

2017-05-02
21:10
exceptions: Add nullability specifiers file: [1e5a86504e] check-in: [cc4cb0d824] user: js, branch: trunk, size: 2276 [annotate] [blame] [check-ins using] [diff]
2017-04-30
13:35
Use nonatomic for properties and clean up

This changes retaining behavior, meaning properties are not returned
retained and autoreleased anymore, so a property returned from a getter
now needs to be manually retained and autoreleased before calling the
setter. However, this is rarely the case and not using atomic improves
performance. file: [f18e917b11] check-in: [0a73af49f0] user: js, branch: trunk, size: 2228 [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: [9bb03e7e5f] check-in: [44f45c2e35] user: js, branch: trunk, size: 2225 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

While at it, also update the mail address. file: [569114c8aa] check-in: [2a27cf3000] user: js, branch: trunk, size: 2219 [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: [df44efa856] check-in: [48980f2297] user: js, branch: trunk, size: 2215 [annotate] [blame] [check-ins using] [diff]

2015-04-11
11:04
Documentation improvements file: [35b0593606] check-in: [efc6b07e2c] user: js, branch: trunk, size: 2560 [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: [fe22120f50] check-in: [62e2de30b9] user: js, branch: trunk, size: 2550 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [0316afd3f6] check-in: [cfd374b906] user: js, branch: trunk, size: 2423 [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: [59c0ad721f] check-in: [46b89b1c8e] user: js, branch: trunk, size: 2417 [annotate] [blame] [check-ins using] [diff]

2014-02-18
18:50
Documentation: Show correct imports file: [07822635da] check-in: [246cfe0807] user: js, branch: trunk, size: 2428 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [a3a569b856] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2332 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [72d3968f7a] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 2326 [annotate] [blame] [check-ins using] [diff]
2013-06-28
18:43
Include errno in headers for exceptions using it. file: [1fb7b48763] check-in: [3d6917fe0b] user: js, branch: trunk, size: 2337 [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: [7209419737] check-in: [3d16a30f41] user: js, branch: trunk, size: 2317 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [0430f3b8bb] check-in: [e40729d406] user: js, branch: trunk, size: 2500 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [f8c1d060d7] check-in: [813c00ccf0] user: js, branch: trunk, size: 2532 [annotate] [blame] [check-ins using] [diff]
2012-10-29
08:00
Documentation improvements. file: [fff3fa205d] check-in: [7a3977d7fd] user: js, branch: 0.7, size: 2526 [annotate] [blame] [check-ins using] [diff]
07:59
Documentation improvements. file: [437c30e3ec] check-in: [63bf4de97b] user: js, branch: trunk, size: 2526 [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
Switch to a headerdoc-compatible doc format. file: [bfc6775dde] check-in: [1ad9565253] user: js, branch: trunk, size: 2069 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [a7860b2a1b] check-in: [fb515e8e24] user: js, branch: trunk, size: 2069 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [db28bc5410] check-in: [c7adbcf399] user: js, branch: trunk, size: 2055 [annotate] [blame] [check-ins using] [diff]
2012-02-01
13:42
Clean up the properties mess. file: [2fae4ba58f] check-in: [c1b35e1495] user: js, branch: trunk, size: 2044 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [71eb023249] check-in: [ce70e17b38] user: js, branch: trunk, size: 2047 [annotate] [blame] [check-ins using] [diff]
2011-09-28
14:21
Fix build on Win32. file: [52c03054ec] check-in: [e0e6da8a27] user: js, branch: trunk, size: 2041 [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: [896f779d12] check-in: [e1e7ffa903] user: js, branch: trunk, size: 2064 [annotate] [blame] [check-ins using] [diff]

2011-07-17
00:57
Get rid of unnecessary includes of unistd.h in headers.

This solves problems on systems where __block is used in unistd.h. file: [8fab00e250] check-in: [368fffb61e] user: js, branch: 0.5, size: 2040 [annotate] [blame] [check-ins using] [diff]

2011-04-04
23:05
Include <sys/types.h> for off_t.

It seems that for some glibc versions it's not enough to include
<unistd.h>. file: [f843c14a00] check-in: [10f8575e8b] user: js, branch: trunk, size: 2061 [annotate] [blame] [check-ins using] [diff]

2011-03-27
17:16
Pass offset and whence for OFSeekFailedExceptions. file: [9d9ba3b111] check-in: [b940af1dd6] user: js, branch: trunk, size: 2014 [annotate] [blame] [check-ins using] [diff]
2011-03-24
21:17
Pass the stream for stream exceptions. file: [e0877600fb] check-in: [7ced2e7b6a] user: js, branch: trunk, size: 1465 [annotate] [blame] [check-ins using] [diff]
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [b2cc5cbfa4] check-in: [e1eea29286] user: js, branch: trunk, size: 860 [annotate] [blame] [check-ins using]