ObjFW  History of src/OFUDPSocket.h of 773997d0720206b2

History of the file that is called src/OFUDPSocket.h at check-in 773997d0720206b2

2024-04-03
02:16
[7037259922] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 2981) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[3f2d31105b] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2773) [annotate] [blame] [check-ins using] [diff]
2023-05-21
10:04
[91885680ff] part of check-in [65154c2576] OFUDPSocket: Return socket address bound to (check-in: [65154c2576] user: js, branch: trunk, size: 2773) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[d52363c244] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 2763) [annotate] [blame] [check-ins using] [diff]
2022-12-27
13:58
[c24a066509] part of check-in [29a41e5a78] Rename OFAlready{Connected -> Open}Exception (check-in: [29a41e5a78] user: js, branch: trunk, size: 2763) [annotate] [blame] [check-ins using] [diff]
2022-10-22
18:51
[9190ffdfc0] part of check-in [64fc4f6344] Fix overlooked OFSocketAddress(Set)Port (check-in: [64fc4f6344] user: js, branch: trunk, size: 2768) [annotate] [blame] [check-ins using] [diff]
16:00
[c4641067b3] part of check-in [72db6b3c6f] Split OFBindSocketFailedException into subclasses (check-in: [72db6b3c6f] user: js, branch: trunk, size: 2766) [annotate] [blame] [check-ins using] [diff]
15:07
[9064e55448] part of check-in [35b565d369] Rename OFBind{ -> Socket}FailedException (check-in: [35b565d369] user: js, branch: trunk, size: 2764) [annotate] [blame] [check-ins using] [diff]
2022-10-18
15:34
[e94e3865e1] part of check-in [e9708e48e0] Document more exceptions (check-in: [e9708e48e0] user: js, branch: trunk, size: 2758) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[3a21c440bc] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 2645) [annotate] [blame] [check-ins using] [diff]
2021-04-17
14:05
[7fc9c66432] part of check-in [c45a108585] Minor fixes for last commit (check-in: [c45a108585] user: js, branch: new-naming-convention, size: 2645) [annotate] [blame] [check-ins using] [diff]
13:58
[758612bc48] part of check-in [e3c5bb70dd] of_socket_address_t -> OFSocketAddress (check-in: [e3c5bb70dd] user: js, branch: new-naming-convention, size: 2645) [annotate] [blame] [check-ins using] [diff]
2021-03-07
15:07
[0c69733f4b] part of check-in [1948e7e972] *.h: Fold methods into one line where it fits (check-in: [1948e7e972] user: js, branch: trunk, size: 2605) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[c77d39725a] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 2609) [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
[58fc97b11e] part of check-in [163a4a5a2e] Use /** */ instead of /*! */ for documentation (check-in: [163a4a5a2e] user: js, branch: trunk, size: 2698) [annotate] [blame] [check-ins using] [diff]
2020-09-26
21:58
[816428dfc4] part of check-in [ef614a225d] Don't require __COUNTER__ for OF_RESERVE_IVARS

__COUNTER__ does not exist in GCC 4.2, and Apple GCC 4.2 is still the
newest compiler available for macOS 10.5. (check-in: [ef614a225d] user: js, branch: trunk, size: 2698) [annotate] [blame] [check-ins using] [diff]

2020-04-26
16:21
[d9eb072d8d] part of check-in [e5b2ee56ff] Add OFSequencedPacketSocket

This is intended for SCTP and SPX. (check-in: [e5b2ee56ff] user: js, branch: trunk, size: 2685) [annotate] [blame] [check-ins using] [diff]

2020-04-25
23:02
[34be8eb48d] part of check-in [4a5822e7c0] Add OFIPXSocket (check-in: [4a5822e7c0] user: js, branch: trunk, size: 2689) [annotate] [blame] [check-ins using] [diff]
17:05
[1edfbebe15] part of check-in [b02c4b05bb] Add OFDatagramSocket as base class for OFUDPSocket

This makes it easier to reuse code for other datagram sockets, namely
IPX. (check-in: [b02c4b05bb] user: js, branch: trunk, size: 2668) [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
[1854fff845] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 11377) [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
[93eb5b4287] part of check-in [496695d778] Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. (check-in: [496695d778] user: js, branch: trunk, size: 11374) [annotate] [blame] [check-ins using] [diff]

2019-08-01
21:05
[7aa018221e] part of check-in [c26426e80f] Add missing extern "C" (check-in: [c26426e80f] user: js, branch: trunk, size: 11353) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[55c0fec4d8] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 11421) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[3a88d52639] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 11443) [annotate] [blame] [check-ins using] [diff]
2018-12-18
21:17
[9eef6bdbf0] part of check-in [0f3ae90eef] Use OFData instead of a buffer for async UDP sends

This avoids the entire problem of keeping the buffer alive until the
send finished. (check-in: [0f3ae90eef] user: js, branch: trunk, size: 11437) [annotate] [blame] [check-ins using] [diff]

2018-12-11
22:57
[ab6554e3b4] part of check-in [064dbe5127] Include an exception in delegate methods

Otherwise, there would be two methods for every operation: One for
success and one for failure. It also makes it easy to forget about
handling failure, so it's better to always pass an optional exception. (check-in: [064dbe5127] user: js, branch: trunk, size: 12830) [annotate] [blame] [check-ins using] [diff]

2018-12-08
18:55
[6654ade8b5] part of check-in [da2dd2dde5] OFUDPSocket: Use a delegate for async operations (check-in: [da2dd2dde5] user: js, branch: trunk, size: 13264) [annotate] [blame] [check-ins using] [diff]
2018-10-07
02:06
[201326e03a] part of check-in [6e9ee122eb] Remove resolver.m

Instead, OFDNSResolver is used for everything now. (check-in: [6e9ee122eb] user: js, branch: trunk, size: 13697) [annotate] [blame] [check-ins using] [diff]

2018-09-29
14:45
[29dec683be] part of check-in [b90d4055a1] OFUDPSocket: Allow specifying the run loop mode (check-in: [b90d4055a1] user: js, branch: trunk, size: 15813) [annotate] [blame] [check-ins using] [diff]
2018-08-04
16:23
[ad5fd6fb30] part of check-in [7de9d67be9] Support for non-blocking UDP sockets (check-in: [7de9d67be9] user: js, branch: trunk, size: 11536) [annotate] [blame] [check-ins using] [diff]
2018-07-28
20:21
[362b51f3c0] part of check-in [8aeee6680a] Add of_socket_address_ip_string()

This replaces of_address_to_string_and_port(). (check-in: [8aeee6680a] user: js, branch: trunk, size: 11356) [annotate] [blame] [check-ins using] [diff]

17:38
[b1604a829a] part of check-in [b16f2b9e25] Rename of_{udp_ -> }socket_address (check-in: [b16f2b9e25] user: js, branch: trunk, size: 11910) [annotate] [blame] [check-ins using] [diff]
2018-01-21
02:20
[b58e2745e2] part of check-in [88b19eae2c] Allow boxing of most structs (check-in: [88b19eae2c] user: js, branch: trunk, size: 12849) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[5df4f71a3e] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 12838) [annotate] [blame] [check-ins using] [diff]
2017-10-01
14:14
[03e3db3557] part of check-in [f37b373a95] Backport nullability fixes from master (check-in: [f37b373a95] user: js, branch: 0.90, size: 9556) [annotate] [blame] [check-ins using] [diff]
13:43
[22885e09ba] part of check-in [66c29a31f2] More nullability and style fixes (check-in: [66c29a31f2] user: js, branch: trunk, size: 12815) [annotate] [blame] [check-ins using] [diff]
2017-09-24
17:35
[c400113946] part of check-in [842c55dd83] OFUDPSocket: Add support for async sending (check-in: [842c55dd83] user: js, branch: trunk, size: 12815) [annotate] [blame] [check-ins using] [diff]
16:34
[dca0ed119a] part of check-in [a0394db776] Minor documentation fix (check-in: [a0394db776] user: js, branch: trunk, size: 9717) [annotate] [blame] [check-ins using] [diff]
11:24
[9375eeb6ac] part of check-in [f8498bb114] Change type for async exceptions to id (check-in: [f8498bb114] user: js, branch: trunk, size: 9591) [annotate] [blame] [check-ins using] [diff]
2017-09-23
22:07
[dea0dfc05e] part of check-in [958da109d3] Support for passing a context to async IO handlers (check-in: [958da109d3] user: js, branch: trunk, size: 9669) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[05fb60ba2c] part of check-in [4af49a13c3] Small code style change

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

2017-02-04
21:37
[087ce7f471] part of check-in [6ae356af85] OFRunLoop: Refactor read queue handling (check-in: [6ae356af85] user: js, branch: trunk, size: 9538) [annotate] [blame] [check-ins using] [diff]
17:45
[2d7a3ab4ec] part of check-in [5a31a537a1] Fix typos in comments and strings found by aspell (check-in: [5a31a537a1] user: js, branch: trunk, size: 9912) [annotate] [blame] [check-ins using] [diff]
15:28
[3475bfe139] part of check-in [6328d96718] Minor documentation improvements (check-in: [6328d96718] user: js, branch: trunk, size: 9908) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[dc7b0d2ebb] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 9897) [annotate] [blame] [check-ins using] [diff]

2016-07-24
02:19
[35a6c11818] part of check-in [79e447956c] Minor documentation fix (check-in: [79e447956c] user: js, branch: trunk, size: 9891) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
[36aff00024] part of check-in [cec0f072f8] Update copyright

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

00:41
[978ba8b5e3] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 9893) [annotate] [blame] [check-ins using] [diff]

2015-11-28
19:47
[385f265ac9] part of check-in [650b4be224] Minor documentation improvements (check-in: [650b4be224] user: js, branch: trunk, size: 9889) [annotate] [blame] [check-ins using] [diff]
2015-11-21
18:35
[24146b1f99] part of check-in [d526d938d7] Remove OF_NULLABLE / OF_NONNULL

Now that Clang switched to use _Nullable and _Nonnull instead of
__nullable / __nonnull, there is no longer a conflict with glibc, which
means we can just define _Nullable / _Nonnull to nothing if they are not
understood by the compiler (which did not work with __nullable /
__nonnull due to this conflict).

This also defines _Null_unspecified to nothing if unavailable. (check-in: [d526d938d7] user: js, branch: trunk, size: 9885) [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
[441994c3e5] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 9895) [annotate] [blame] [check-ins using] [diff]
2015-10-17
10:59
[3a06e39684] part of check-in [ed4549ddd3] Add a port registry for the Wii

This is necessary as the Wii does not allow picking a random free port,
and thus we need to track which ports are used. (check-in: [ed4549ddd3] user: js, branch: trunk, size: 9896) [annotate] [blame] [check-ins using] [diff]

2015-09-14
13:50
[322e298c3d] part of check-in [605fc10fad] OFUDPSocket: More constness (check-in: [605fc10fad] user: js, branch: trunk, size: 9857) [annotate] [blame] [check-ins using] [diff]
2015-06-14
10:45
[fa09b98560] part of check-in [b7097a67b6] Add OF_NONNULL / OF_NULLABLE and use that instead

Using __nonnull directly doesn't work on systems using glibc, as glibc
defines __nonnull as a parameterized define. While this does not fix the
problem of Clang introducing __nonnull even though it conflicts with
glibc, this at least means it's possible again to compile things with
versions of Clang that don't support __nonnull on systems with glibc. (check-in: [b7097a67b6] user: js, branch: trunk, size: 9851) [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
[47b461dbfd] part of check-in [9e76144ef8] Add support for and use the new nullability (check-in: [9e76144ef8] user: js, branch: trunk, size: 9846) [annotate] [blame] [check-ins using] [diff]
2015-03-22
11:42
[40843cdaf1] part of check-in [099e939079] Abstract int vs SOCKET as of_socket_t (check-in: [099e939079] user: js, branch: trunk, size: 9743) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[efd1a5e773] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 9783) [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
[d8fe7916d5] part of check-in [246cfe0807] Documentation: Show correct imports (check-in: [246cfe0807] user: js, branch: trunk, size: 9777) [annotate] [blame] [check-ins using] [diff]
2014-02-12
03:17
[ba6a2a7484] part of check-in [60be8437d7] OFUDPSocket: Use SOCKET on Win32 (check-in: [60be8437d7] user: js, branch: trunk, size: 9646) [annotate] [blame] [check-ins using] [diff]
2014-02-10
10:46
[7ca9ec0aa8] part of check-in [048c4912d6] -[cancelAsyncRequests] documentation: Add warning (check-in: [048c4912d6] user: js, branch: trunk, size: 9598) [annotate] [blame] [check-ins using] [diff]
2014-02-04
21:45
[02587fac57] part of check-in [834ee6db92] OFUDPSocket: Fix documentation typo (check-in: [834ee6db92] user: js, branch: trunk, size: 9227) [annotate] [blame] [check-ins using] [diff]
21:45
[39a630ec7b] part of check-in [f836f5e65d] OFUDPSocket: Conform to OFCopying (check-in: [f836f5e65d] user: js, branch: trunk, size: 9228) [annotate] [blame] [check-ins using] [diff]
2014-01-31
13:07
[5e54f25dd2] part of check-in [60cb25ab50] Minor fixes (missing ifdefs, etc.) (check-in: [60cb25ab50] user: js, branch: trunk, size: 8783) [annotate] [blame] [check-ins using] [diff]
2014-01-30
22:02
[b1471e0ef4] part of check-in [ff3c507941] OFUDPSocket: Add async resolve / receive (check-in: [ff3c507941] user: js, branch: trunk, size: 8754) [annotate] [blame] [check-ins using] [diff]
12:26
[2a7d7dd320] part of check-in [fb590316ba] Rename +[UDPSocket hostForAddress:port:]

It is now called +[getHost:andPort:forAddress:]. This makes it much
clearer from the selector alone what it actually does. (check-in: [fb590316ba] user: js, branch: trunk, size: 4676) [annotate] [blame] [check-ins using] [diff]

2014-01-29
15:59
[7885c380e7] part of check-in [c4f36e3692] OFUDPSocket: Add observing (check-in: [c4f36e3692] user: js, branch: trunk, size: 4604) [annotate] [blame] [check-ins using] [diff]
2014-01-27
22:01
Added: [3d20c31b29] part of check-in [5025cba435] Add OFUDPSocket

Async operations will follow later. (check-in: [5025cba435] user: js, branch: trunk, size: 4509) [annotate] [blame] [check-ins using]