ObjFW  History of src/exceptions/OFWriteFailedException.m of 7de187fbded06cb4

History of file src/exceptions/OFWriteFailedException.m at check-in 7de187fbded06cb4

2024-04-03
02:16
Change license to LGPLv3 only file: [445aff5c74] check-in: [7413a728a7] user: js, branch: trunk, size: 2393 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [f282ecd58a] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2185 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [1f29864403] check-in: [8939cbdb52] user: js, branch: trunk, size: 2185 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [1eca55cb4e] check-in: [1a86b8175b] user: js, branch: trunk, size: 2185 [annotate] [blame] [check-ins using] [diff]
2021-11-13
20:28
Add OFSecureTransportTLSStream

This implements OFTLSStream using Apple's Secure Transport. While Secure
Transport is declared deprecated by Apple, Apple so far has failed to
provide a suitable replacement. They recommend Network.framework as a
replacement, however it can neither work on arbitrary sockets, nor can
it do STARTTLS. file: [47ca157f6b] check-in: [112eb62f7b] user: js, branch: trunk, size: 2185 [annotate] [blame] [check-ins using] [diff]

2021-04-18
22:56
Rename all symbols marked extern file: [6f0f1c63f5] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 1966 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [0afa5a091c] check-in: [374e1a1bfa] user: js, branch: trunk, size: 1967 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [5aba14e7b3] check-in: [c7f0229795] user: js, branch: trunk, size: 2056 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [ad0f88fa34] check-in: [0509d7a844] user: js, branch: trunk, size: 2053 [annotate] [blame] [check-ins using] [diff]
2018-08-26
12:46
Initial support for async connect without threads file: [f767e7aca4] check-in: [1e79c0a969] user: js, branch: trunk, size: 2047 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [21c2818dc0] check-in: [7e5c81e186] user: js, branch: trunk, size: 2048 [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: [dddd9c4da4] check-in: [2f4e0df8be] user: js, branch: trunk, size: 2025 [annotate] [blame] [check-ins using] [diff]

2017-06-12
22:29
OFWriteFailedException: Add -[bytesWritten]

This allows retrieving the number of bytes already written before the
write failed, allowing to retry without writing data that has already
been written. file: [16fd1ae620] check-in: [2ae01218ef] user: js, branch: trunk, size: 1990 [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: [e7b34fe947] check-in: [4f36894ce7] user: js, branch: trunk, size: 894 [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: [c720bc4acd] check-in: [4af49a13c3] user: js, branch: trunk, size: 1061 [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: [0575bc984b] check-in: [44f45c2e35] user: js, branch: trunk, size: 1060 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:41
Update copyright

While at it, also update the mail address. file: [375ac0b4f9] check-in: [2a27cf3000] user: js, branch: trunk, size: 1054 [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: [c62a6dbf27] check-in: [62e2de30b9] user: js, branch: trunk, size: 1050 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [ee25db4689] check-in: [cfd374b906] user: js, branch: trunk, size: 897 [annotate] [blame] [check-ins using] [diff]
2014-01-25
17:39
Generalize stream / socket related exceptions

This is in preparation for adding UDP sockets, as UDP sockets and TCP
sockets have no common superclass, as one is stream-oriented while the
other is packet-oriented.

Read and write exceptions are for any object now, as they are useful for
a lot more than just for streams, while the others (bind, listen, etc.)
are for any socket now (the type is id in this case, though, as there is
no common superclass). file: [49b4f5d815] check-in: [8d2a5052fd] user: js, branch: trunk, size: 891 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [ee35e3bb2f] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 911 [annotate] [blame] [check-ins using] [diff]
2013-06-23
21:52
Add a few casts to make GCC happy.

Also adds a few imports and removes unused code. file: [e3c9ad5665] check-in: [6192726d32] user: js, branch: trunk, size: 905 [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: [93caebcf9a] check-in: [3d16a30f41] user: js, branch: trunk, size: 884 [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: [180ffc9797] check-in: [d9ddc4d06e] user: js, branch: trunk, size: 866 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [659d063c26] check-in: [e40729d406] user: js, branch: trunk, size: 953 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [9862940d46] check-in: [813c00ccf0] user: js, branch: trunk, size: 947 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [e8d403afc3] check-in: [ce70e17b38] user: js, branch: trunk, size: 941 [annotate] [blame] [check-ins using] [diff]
2011-04-22
18:00
More style improvements. file: [d5c686e01b] check-in: [4814266280] user: js, branch: trunk, size: 935 [annotate] [blame] [check-ins using] [diff]
2011-03-24
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [655afede25] check-in: [e1eea29286] user: js, branch: trunk, size: 933 [annotate] [blame] [check-ins using]