ObjFW  History of src/OFSocket+Private.h of 38c16e3793a2a175

History of file src/OFSocket+Private.h at check-in 38c16e3793a2a175

2024-08-17
09:51
Move private functions into private headers file: [fe57bcdaab] check-in: [b829f3e798] user: js, branch: trunk, size: 3925 [annotate] [blame] [check-ins using] [diff]
2024-04-29
21:42
Properly hide private symbols file: [3e7201b279] check-in: [f16bccc7b3] user: js, branch: trunk, size: 3144 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [85d93768ea] check-in: [7413a728a7] user: js, branch: trunk, size: 3142 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [ed6fe14a59] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 2934 [annotate] [blame] [check-ins using] [diff]
2023-08-05
09:04
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. file: [05528469e5] check-in: [14c70763b0] user: js, branch: trunk, size: 2934 [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
Update copyright file: [ba231b2658] check-in: [8939cbdb52] user: js, branch: trunk, size: 2935 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [00458f91c6] check-in: [1a86b8175b] user: js, branch: trunk, size: 2935 [annotate] [blame] [check-ins using] [diff]
2021-04-18
23:18
INVALID_SOCKET -> OFInvalidSocketHandle file: [d80ab86a23] check-in: [4b587c8874] user: js, branch: new-naming-convention, size: 2935 [annotate] [blame] [check-ins using] [diff]
22:56
Rename all symbols marked extern file: [f72f312a8d] 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. Rename everything in several smaller files file: [bfa027c35a] check-in: [35de667566] user: js, branch: new-naming-convention, size: 2999 [annotate] [blame] [check-ins using] [diff]
2021-04-17
15:45
of_tlskey_t -> OFTLSKey file: [286c9b17aa] check-in: [cc3a4a7b43] user: js, branch: new-naming-convention, size: 2997 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [8de17e0f84] check-in: [374e1a1bfa] user: js, branch: trunk, size: 3004 [annotate] [blame] [check-ins using] [diff]
2020-12-18
10:52
Remove support for ixemul on MorphOS

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

2020-12-06
17:49
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. file: [c2b374f2db] check-in: [b45a563f2b] user: js, branch: trunk, size: 3154 [annotate] [blame] [check-ins using] [diff]

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

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

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

2018-08-26
18:39
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. file: [9196eb16cc] check-in: [bed2db0fd3] user: js, branch: trunk, size: 2924 [annotate] [blame] [check-ins using] [diff]

2018-08-11
21:53
Fix build on 3DS and Wii file: [44ead89dcb] check-in: [9a494f183b] user: js, branch: trunk, size: 2739 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [ad26261f01] check-in: [7e5c81e186] user: js, branch: trunk, size: 2718 [annotate] [blame] [check-ins using] [diff]
2017-06-04
18:48
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. file: [e85ec3eda4] check-in: [c9621825fc] user: js, branch: trunk, size: 2695 [annotate] [blame] [check-ins using] [diff]

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

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

2016-03-28
23:43
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. file: [ae4292ecac] check-in: [543eb96c02] user: js, branch: trunk, size: 2454 [annotate] [blame] [check-ins using] [diff]

2016-03-27
23:10
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. file: [3a4f887125] check-in: [12b8a7552e] user: js, branch: trunk, size: 2445 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

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

2014-03-04
23:53
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. file: [278174d7fd] check-in: [898f8c7072] user: js, branch: trunk, size: 2232 [annotate] [blame] [check-ins using] [diff]

2014-01-26
22:38
Move resolving functionality to resolver.m

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

13:32
Include unistd.h in socket_helpers.h file: [7262da62a1] check-in: [32ad39007a] user: js, branch: trunk, size: 2178 [annotate] [blame] [check-ins using] [diff]
2014-01-25
19:33
Added: 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. file: [7c99ba232e] check-in: [81d47f4398] user: js, branch: trunk, size: 2157 [annotate] [blame] [check-ins using]