ObjFW  History of src/socket_helpers.h of 9f6fa13edf82d6cc

History of the file that is called src/socket_helpers.h at check-in 9f6fa13edf82d6cc

2024-04-29
21:42
[3e7201b279] part of check-in [f16bccc7b3] Properly hide private symbols (check-in: [f16bccc7b3] user: js, branch: trunk, size: 3144) [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
[85d93768ea] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 3142) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[ed6fe14a59] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2934) [annotate] [blame] [check-ins using] [diff]
2023-08-05
09:04
[05528469e5] part of check-in [14c70763b0] Remove hacks in headers for C compatibility

A better approach would probably be to have a separate header which
makes some classes available to pure C. (check-in: [14c70763b0] user: js, branch: trunk, size: 2934) [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
[ba231b2658] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 2935) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[00458f91c6] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 2935) [annotate] [blame] [check-ins using] [diff]
2021-04-18
23:18
[d80ab86a23] part of check-in [4b587c8874] INVALID_SOCKET -> OFInvalidSocketHandle (check-in: [4b587c8874] user: js, branch: new-naming-convention, size: 2935) [annotate] [blame] [check-ins using] [diff]
22:56
[f72f312a8d] part of check-in [e73c65a849] Rename all symbols marked extern (check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 2993) [annotate] [blame] [check-ins using] [diff]
20:51
Renamed src/socket_helpers.h → src/OFSocket+Private.h. [bfa027c35a] part of check-in [35de667566] Rename everything in several smaller files (check-in: [35de667566] user: js, branch: new-naming-convention, size: 2999) [annotate] [blame] [check-ins using] [diff]
2021-04-17
15:45
[286c9b17aa] part of check-in [cc3a4a7b43] of_tlskey_t -> OFTLSKey (check-in: [cc3a4a7b43] user: js, branch: new-naming-convention, size: 2997) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[8de17e0f84] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 3004) [annotate] [blame] [check-ins using] [diff]
2020-12-18
10:52
[518711966a] part of check-in [7ab180e9b6] Remove support for ixemul on MorphOS

ixemul is quite buggy and the native support we have for MorphOS is far
superior. (check-in: [7ab180e9b6] user: js, branch: trunk, size: 3093) [annotate] [blame] [check-ins using] [diff]

2020-12-06
17:49
[c2b374f2db] part of check-in [b45a563f2b] Use a single global socket base on MorphOS

MorphOS allows sharing a single socket base between tasks, so having a
per-task socket base is unnecessary. (check-in: [b45a563f2b] user: js, branch: trunk, size: 3154) [annotate] [blame] [check-ins using] [diff]

2020-01-16
01:23
[76048c8293] part of check-in [7f83956d3e] Fix compilation on MorphOS (check-in: [7f83956d3e] user: js, branch: trunk, size: 3124) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[609fc24588] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 3061) [annotate] [blame] [check-ins using] [diff]
2019-08-31
12:40
[9adc1700dc] part of check-in [e9eb87694a] OFKernelEventObserver: Support for Exec Signals (check-in: [e9eb87694a] user: js, branch: trunk, size: 3058) [annotate] [blame] [check-ins using] [diff]
2019-08-11
18:56
[2c4f4edda3] part of check-in [a40f3fc829] Support sockets in multiple threads on AmigaOS (check-in: [a40f3fc829] user: js, branch: trunk, size: 3579) [annotate] [blame] [check-ins using] [diff]
2019-08-10
02:06
[611aa62b04] part of check-in [3292a6fdbc] Clean up the AmigaOS 4 library mess (check-in: [3292a6fdbc] user: js, branch: trunk, size: 3357) [annotate] [blame] [check-ins using] [diff]
2019-08-09
23:44
[ccaba69181] part of check-in [3dec8ecf2e] Support sockets on AmigaOS 3 (check-in: [3dec8ecf2e] user: js, branch: trunk, size: 3410) [annotate] [blame] [check-ins using] [diff]
2019-06-26
20:38
[5394fb29aa] part of check-in [d1d1843970] Fix non-blocking sockets on MorphOS (check-in: [d1d1843970] user: js, branch: trunk, size: 2779) [annotate] [blame] [check-ins using] [diff]
2019-01-07
22:59
[cefe3ad662] part of check-in [ab89c47f42] Partially fix sockets on Nintendo 3DS/Wii

This does not fully fix it yet, but at least the socket tests in the
test suite pass on 3DS now. (check-in: [ab89c47f42] user: js, branch: trunk, size: 2624) [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
[e20459ca44] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 2727) [annotate] [blame] [check-ins using] [diff]
2018-10-07
02:06
[0b9f3f23ab] part of check-in [6e9ee122eb] Remove resolver.m

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

2018-08-26
18:39
[9196eb16cc] part of check-in [bed2db0fd3] Fix compilation for Wii

This pretends that net_getsockopt() exists, which it does not yet. As
soon as it lands in libogc, this will work again. (check-in: [bed2db0fd3] user: js, branch: trunk, size: 2924) [annotate] [blame] [check-ins using] [diff]

2018-08-11
21:53
[44ead89dcb] part of check-in [9a494f183b] Fix build on 3DS and Wii (check-in: [9a494f183b] user: js, branch: trunk, size: 2739) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[ad26261f01] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 2718) [annotate] [blame] [check-ins using] [diff]
2017-06-04
18:48
[e85ec3eda4] part of check-in [c9621825fc] Treat MorphOS + ixemul as a separate platform

This reduces the ifdef hell and makes much more sense, as with ixemul,
no native calls are allowed. (check-in: [c9621825fc] user: js, branch: trunk, size: 2695) [annotate] [blame] [check-ins using] [diff]

2017-06-03
16:58
[f90819336c] part of check-in [3cba61d694] Make sockets work on MorphOS + libnix (check-in: [3cba61d694] user: js, branch: trunk, size: 2662) [annotate] [blame] [check-ins using] [diff]
2017-05-27
10:33
[7463dbdf6e] part of check-in [d31ec806ef] Add unistd.h wrapper to make things less horrible (check-in: [d31ec806ef] user: js, branch: trunk, size: 2585) [annotate] [blame] [check-ins using] [diff]
10:08
[4619bdb896] part of check-in [ec36a82d68] Make things work with glibc 2.17 and Clang 3.4.2 (check-in: [ec36a82d68] user: js, branch: trunk, size: 2824) [annotate] [blame] [check-ins using] [diff]
2017-05-22
23:31
[8ff5d2ca5e] part of check-in [1287e77e04] Make includes of unistd.h and fcntl.h conditional (check-in: [1287e77e04] user: js, branch: trunk, size: 2697) [annotate] [blame] [check-ins using] [diff]
2017-05-21
23:57
[77b020019f] part of check-in [b4cd87cd81] Use closesocket() instead of close()

Previously, socket_helpers.h would just define close() to whatever is
needed to close a socket. However, this makes it possible to
accidentally call a socket-specific close on something that is not a
socket. Having to explicitly call closesocket() (and defining it to
close() on platforms where it's the same) prevents this. (check-in: [b4cd87cd81] user: js, branch: trunk, size: 2668) [annotate] [blame] [check-ins using] [diff]

2017-05-17
00:13
[2eb48e2252] part of check-in [c7a45d0140] Add in_addr_t for MorphOS (check-in: [c7a45d0140] user: js, branch: trunk, size: 2635) [annotate] [blame] [check-ins using] [diff]
2017-03-12
01:42
[af4d927003] part of check-in [0ce4eeb439] Define select() to net_select() on Wii (check-in: [0ce4eeb439] user: js, branch: trunk, size: 2581) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[bef4821e91] 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: 2460) [annotate] [blame] [check-ins using] [diff]

2016-03-28
23:43
[ae4292ecac] part of check-in [543eb96c02] Style consistency changes

Multiline preprocessor directives now always indent the continued lines
by 4 spaces. The only exception are defines that define to code blocks:
Those are still indented by a tab in order to align with the rest of the
code. (check-in: [543eb96c02] user: js, branch: trunk, size: 2454) [annotate] [blame] [check-ins using] [diff]

2016-03-27
23:10
[3a4f887125] part of check-in [12b8a7552e] Add socket support for Nintendo 3DS

This removes the port registry that existed for the Wii and instead
tries binding to random ports in a loop until it succeeds or errno is
not EADDRINUSE. This is done for the Wii and Nintendo 3DS now.

This also includes several other socket-related cleanups. (check-in: [12b8a7552e] user: js, branch: trunk, size: 2445) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[6fef92f5f8] part of check-in [cec0f072f8] Update copyright

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

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

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

2015-10-19
22:15
[57adc3cc3c] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 2440) [annotate] [blame] [check-ins using] [diff]
2015-09-06
15:48
[c6d03fb540] part of check-in [d0eab356ce] Fix compilation for Wii (check-in: [d0eab356ce] user: js, branch: trunk, size: 2414) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[6beb9110b2] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 2325) [annotate] [blame] [check-ins using] [diff]
2014-12-13
16:52
[4282bb4929] part of check-in [06d2de4571] Use CLOEXEC for files and sockets (check-in: [06d2de4571] user: js, branch: trunk, size: 2319) [annotate] [blame] [check-ins using] [diff]
2014-05-29
21:27
[698be452dd] part of check-in [d1e559b643] Work around __block being used by old glibc (check-in: [d1e559b643] user: js, branch: trunk, size: 2266) [annotate] [blame] [check-ins using] [diff]
2014-03-05
00:31
[59991e1a1b] part of check-in [4de1f2a67a] Move netinet/in.h include to socket.h

This is required as OFKernelEventObserver uses struct sockaddr_in as an
instance variable in case there is no pipe(). (check-in: [4de1f2a67a] user: js, branch: trunk, size: 2175) [annotate] [blame] [check-ins using] [diff]

2014-03-04
23:53
[278174d7fd] part of check-in [898f8c7072] resolver.m: Fix locking

A lock for thread-unsafe getaddrinfo was missing and not all locks were
unlocked / all buffers free'd if an error occurred. (check-in: [898f8c7072] user: js, branch: trunk, size: 2232) [annotate] [blame] [check-ins using] [diff]

2014-01-26
22:38
[6a92767d43] part of check-in [49b1989b63] Move resolving functionality to resolver.m

This is in preparation for UDP sockets, so that they can share the
resolving functionality with TCP sockets. (check-in: [49b1989b63] user: js, branch: trunk, size: 2243) [annotate] [blame] [check-ins using] [diff]

13:32
[7262da62a1] part of check-in [32ad39007a] Include unistd.h in socket_helpers.h (check-in: [32ad39007a] user: js, branch: trunk, size: 2178) [annotate] [blame] [check-ins using] [diff]
2014-01-25
19:33
Added: [7c99ba232e] part of check-in [81d47f4398] Move socket includes and helpers to separate files

The new file socket.h includes all headers required for sockets on the
used platform, while the file socket_helpers.h defines the BSD API
functions to the platform specific functions if necessary.

This cleans up the classes dealing with sockets a lot and also reduces
code duplication. (check-in: [81d47f4398] user: js, branch: trunk, size: 2157) [annotate] [blame] [check-ins using]