ObjFW  History of src/socket.m of 845580521d907e5e

History of the file that is called src/socket.m at check-in 845580521d907e5e

2024-05-04
21:50
[08fad4b779] part of check-in [2ba9aa1fd6] Use -[substring{To,From}Index:] in more places (check-in: [2ba9aa1fd6] user: js, branch: trunk, size: 29907) [annotate] [blame] [check-ins using] [diff]
2024-04-29
21:42
[0dcfbd34b6] part of check-in [f16bccc7b3] Properly hide private symbols (check-in: [f16bccc7b3] user: js, branch: trunk, size: 29972) [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
[b9e69c4209] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 29953) [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
[b16466444e] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 28908) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[df2e9d8f9d] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 29745) [annotate] [blame] [check-ins using] [diff]
2023-10-22
21:47
[cb58b19af7] part of check-in [b64b8e3b3f] Fix OFSocketAddressString() for AppleTalk (check-in: [b64b8e3b3f] user: js, branch: 1.0, size: 28908) [annotate] [blame] [check-ins using] [diff]
21:47
[c32eb17f99] part of check-in [4056d5e2b6] Fix OFSocketAddressString() for AppleTalk (check-in: [4056d5e2b6] user: js, branch: trunk, size: 29745) [annotate] [blame] [check-ins using] [diff]
21:45
[c153f444b0] part of check-in [a8c9d73327] Add OFSocketAddressDescription() (check-in: [a8c9d73327] user: js, branch: trunk, size: 29732) [annotate] [blame] [check-ins using] [diff]
2023-08-01
22:25
[0cd5c67cfd] part of check-in [198e8b6aff] Fix OFSocketAddressString() for IPX (check-in: [198e8b6aff] user: js, branch: trunk, size: 28895) [annotate] [blame] [check-ins using] [diff]
2023-07-16
17:53
[602607c474] part of check-in [36c65b8468] OFUNIXDatagramSocket: Allow binding to nil path (check-in: [36c65b8468] user: js, branch: trunk, size: 28880) [annotate] [blame] [check-ins using] [diff]
2023-07-15
17:18
[f0f36303c9] part of check-in [3067a56f0d] Set sockaddr_un.sun_len if it exists (check-in: [3067a56f0d] user: js, branch: trunk, size: 28837) [annotate] [blame] [check-ins using] [diff]
2023-06-11
16:45
[d7a63b18b9] part of check-in [af9084b456] Add support for IPv4s embedded into IPv6s (check-in: [af9084b456] user: js, branch: trunk, size: 28747) [annotate] [blame] [check-ins using] [diff]
2023-05-20
21:07
[788a494072] part of check-in [bd332cc15f] OFSocketAddressString: Add IPX support (check-in: [bd332cc15f] user: js, branch: trunk, size: 27822) [annotate] [blame] [check-ins using] [diff]
20:54
[8fc5b1646d] part of check-in [79c5eeefcc] OFSocketAddressString: Add AppleTalk support (check-in: [79c5eeefcc] user: js, branch: trunk, size: 27162) [annotate] [blame] [check-ins using] [diff]
2023-04-10
15:08
[70652127c8] part of check-in [abbed5c008] Work around newer amiga-gcc defining Class (check-in: [abbed5c008] user: js, branch: trunk, size: 26852) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[ade572cc8e] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 26808) [annotate] [blame] [check-ins using] [diff]
2022-11-05
19:47
[3facc57fe7] part of check-in [df7580d5e1] Always support IPv6 addresses with numeric scope (check-in: [df7580d5e1] user: js, branch: trunk, size: 26808) [annotate] [blame] [check-ins using] [diff]
10:01
[d36d90a400] part of check-in [6235989999] Don't include <net/if.h> on MorphOS

MorphOS has the header, but it's broken and including it makes the
compiler fail. (check-in: [6235989999] user: js, branch: trunk, size: 27529) [annotate] [blame] [check-ins using] [diff]

2022-11-04
23:30
[f8a99adefe] part of check-in [d5310a5145] configure: Check for if_{indextoname,nametoindex} (check-in: [d5310a5145] user: js, branch: trunk, size: 27477) [annotate] [blame] [check-ins using] [diff]
23:25
[1bb1aecd92] part of check-in [631661004a] Make Windows XP work again (check-in: [631661004a] user: js, branch: trunk, size: 27313) [annotate] [blame] [check-ins using] [diff]
20:23
[4c24f8dfd3] part of check-in [027b704b66] Add support for IPv6 addresses with scope (check-in: [027b704b66] user: js, branch: trunk, size: 26537) [annotate] [blame] [check-ins using] [diff]
2022-11-02
20:26
[da4b96c1d5] part of check-in [4571eada47] Use native endian for AppleTalk network on Windows

For some strange reason, Windows does not use big endian here like
everyone else. (check-in: [4571eada47] user: js, branch: trunk, size: 25851) [annotate] [blame] [check-ins using] [diff]

2022-10-22
18:46
[4fc1cbbf22] part of check-in [d1c9ed8498] Merge trunk into branch "appletalk" (check-in: [d1c9ed8498] user: js, branch: appletalk, size: 25643) [annotate] [blame] [check-ins using] [diff]
18:41
[d0ea6d0ea9] part of check-in [a54730b88f] OFSocket: Don't combine port for IP and IPX

While it works for those two protocols, it's a bad precedent as other
protocols have different types for ports. (check-in: [a54730b88f] user: js, branch: trunk, size: 22894) [annotate] [blame] [check-ins using] [diff]

18:21
[60f126f761] part of check-in [ec6ee4c269] Merge trunk into branch "appletalk" (check-in: [ec6ee4c269] user: js, branch: appletalk, size: 25157) [annotate] [blame] [check-ins using] [diff]
16:41
[85e7c00ebd] part of check-in [b29f11ed25] OF[IS]PX(Stream)Socket: Bind with network & node (check-in: [b29f11ed25] user: js, branch: trunk, size: 22619) [annotate] [blame] [check-ins using] [diff]
13:49
[713c3da7b8] part of check-in [6d7be6020e] OFSocket: Add support for AppleTalk (check-in: [6d7be6020e] user: js, branch: appletalk, size: 25154) [annotate] [blame] [check-ins using] [diff]
2022-09-19
19:10
[65b91d8086] part of check-in [41c2b305ce] Fix missing void in function declarations (check-in: [41c2b305ce] user: js, branch: trunk, size: 22616) [annotate] [blame] [check-ins using] [diff]
2022-08-30
00:48
[6267eed94e] part of check-in [4ad0c363f3] OFObject: Small API change (check-in: [4ad0c363f3] user: js, branch: trunk, size: 22612) [annotate] [blame] [check-ins using] [diff]
2022-08-06
14:43
[b9058d4f4d] part of check-in [ccc6a77c55] Reorder node and network of IPX sockets

This is more standard, albeit -[connectToNetwork:node:port:] sounding a
little bit more like you connect to a network rather than a node. (check-in: [ccc6a77c55] user: js, branch: trunk, size: 22537) [annotate] [blame] [check-ins using] [diff]

2022-07-31
13:55
[16116f3ca3] part of check-in [a30a0ab261] Add initial socket code for Nintendo Switch

This doesn't work yet (it crashes on recvfrom), so it's not enabled in
configure for now. (check-in: [a30a0ab261] user: js, branch: nintendo-switch, size: 22537) [annotate] [blame] [check-ins using] [diff]

2022-02-12
07:46
[8f11763ca5] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 22416) [annotate] [blame] [check-ins using] [diff]
2021-10-24
22:36
[a6e136f9fe] part of check-in [ba552986b4] OFSocketAddressMakeUNIX: Better length calculation (check-in: [ba552986b4] user: js, branch: trunk, size: 22416) [annotate] [blame] [check-ins using] [diff]
22:09
[626dd6d6ed] part of check-in [24ffb76ae2] Fix OFSocketAddressUNIXPath (check-in: [24ffb76ae2] user: js, branch: unix-sockets, size: 22437) [annotate] [blame] [check-ins using] [diff]
15:14
[0370baa1c4] part of check-in [94110c9553] Add OFUNIXDatagramSocket (check-in: [94110c9553] user: js, branch: unix-sockets, size: 22529) [annotate] [blame] [check-ins using] [diff]
2021-04-25
20:25
[25a9151924] part of check-in [05dbd482bf] Minor style fix (check-in: [05dbd482bf] user: js, branch: unix-sockets, size: 23161) [annotate] [blame] [check-ins using] [diff]
20:22
Renamed src/socket.m → src/OFSocket.m. [a17f72fec0] part of check-in [fb40f7048d] Merge trunk into branch "unix-sockets" (check-in: [fb40f7048d] user: js, branch: unix-sockets, size: 23163) [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
[941bbd3cbe] part of check-in [e73c65a849] Rename all symbols marked extern (check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 20528) [annotate] [blame] [check-ins using] [diff]
20:51
Renamed src/socket.m → src/OFSocket.m. [3ac6ff523b] part of check-in [35de667566] Rename everything in several smaller files (check-in: [35de667566] user: js, branch: new-naming-convention, size: 20570) [annotate] [blame] [check-ins using] [diff]
15:55
[7a2fb62340] part of check-in [7392685ffc] Rename all functions in macros.h (check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 20563) [annotate] [blame] [check-ins using] [diff]
2021-04-17
16:29
[1838fee786] part of check-in [fabf53041a] of_spinlock_t -> OFSpinlock (check-in: [fabf53041a] user: js, branch: new-naming-convention, size: 20578) [annotate] [blame] [check-ins using] [diff]
16:13
[88d75056c4] part of check-in [26aa88fc9b] of_once_t -> OFOnceControl (check-in: [26aa88fc9b] user: js, branch: new-naming-convention, size: 20580) [annotate] [blame] [check-ins using] [diff]
15:45
[36cae0ca62] part of check-in [cc3a4a7b43] of_tlskey_t -> OFTLSKey (check-in: [cc3a4a7b43] user: js, branch: new-naming-convention, size: 20567) [annotate] [blame] [check-ins using] [diff]
14:05
[35ea54e031] part of check-in [c45a108585] Minor fixes for last commit (check-in: [c45a108585] user: js, branch: new-naming-convention, size: 20589) [annotate] [blame] [check-ins using] [diff]
13:58
[b7f2de7d48] part of check-in [e3c5bb70dd] of_socket_address_t -> OFSocketAddress (check-in: [e3c5bb70dd] user: js, branch: new-naming-convention, size: 20617) [annotate] [blame] [check-ins using] [diff]
12:30
[debecc65de] part of check-in [c4ae62dd34] of_socket_t -> OFSocketHandle (check-in: [c4ae62dd34] user: js, branch: new-naming-convention, size: 21019) [annotate] [blame] [check-ins using] [diff]
01:24
[d3698b60b2] part of check-in [83dc0fe6e5] OF_NOT_FOUND -> OFNotFound (check-in: [83dc0fe6e5] user: js, branch: new-naming-convention, size: 21016) [annotate] [blame] [check-ins using] [diff]
2021-04-05
16:30
[70908a62f5] part of check-in [1db6618bb9] Add support for UNIX socket addresses (check-in: [1db6618bb9] user: js, branch: unix-sockets, size: 23686) [annotate] [blame] [check-ins using] [diff]
2021-01-14
02:29
[21df00d3c4] part of check-in [1833194867] Define _HPUX_ALT_XOPEN_SOCKET_API where necessary

There is a nasty bug in HP-UX: When using the proper socket APIs that
take a socklen_t (which is 64 bit in LP64 mode), it still calls into
methods that expect an int - so there is a type mismatch between the
headers and the compiled system libraries. This leads to all socklen_t
being interpreted as 0 (due to big endian). Defining
_HPUX_ALT_XOPEN_SOCKET_API makes it use the correct symbols in the
system libraries instead. (check-in: [1833194867] user: js, branch: trunk, size: 21022) [annotate] [blame] [check-ins using] [diff]

2021-01-13
23:01
[12ec02f9d9] part of check-in [430d54e2a9] Wrap _XOPEN_SOURCE_EXTENDED define in #ifndef (check-in: [430d54e2a9] user: js, branch: trunk, size: 20987) [annotate] [blame] [check-ins using] [diff]
19:16
[67f21d5ed8] part of check-in [d55b73f38e] Define _XOPEN_SOURCE_EXTENDED where necessary (check-in: [d55b73f38e] user: js, branch: trunk, size: 20948) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[2d1d9f46b4] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 20916) [annotate] [blame] [check-ins using] [diff]
2020-12-21
21:29
[d886e134b6] part of check-in [9cedc18bb3] Don't send messages in destructors

In our tests, we call objc_exit() using atexit(), so the runtime is
already gone by the time any destructors get called. (check-in: [9cedc18bb3] user: js, branch: trunk, size: 21005) [annotate] [blame] [check-ins using] [diff]

00:36
[f216b06c37] part of check-in [68214158ee] Add destructors for global mutexes (check-in: [68214158ee] user: js, branch: trunk, size: 20947) [annotate] [blame] [check-ins using] [diff]
2020-12-20
21:26
[7f38594dbe] part of check-in [5b37fbeb82] Return error instead of using errno for threading

errno is problematic for Amiga libraries and is also not thread-safe on
some systems, even though it should. (check-in: [5b37fbeb82] user: js, branch: trunk, size: 21102) [annotate] [blame] [check-ins using] [diff]

2020-12-06
17:49
[d03343d8fd] 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: 21070) [annotate] [blame] [check-ins using] [diff]

2020-11-22
00:33
[3d8eb3c453] part of check-in [23ab7988f9] socket.m: Fix #ifdef chaos (check-in: [23ab7988f9] user: js, branch: trunk, size: 20794) [annotate] [blame] [check-ins using] [diff]
2020-11-01
11:35
[2544d0730b] part of check-in [4bbac7ab17] OFString: Add -[substring{From,To}Index:] (check-in: [4bbac7ab17] user: js, branch: trunk, size: 20774) [annotate] [blame] [check-ins using] [diff]
2020-10-10
14:27
[4343bc563f] part of check-in [aeb403a1ed] OFObject: Change type of -[hash] to unsigned long

The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (check-in: [aeb403a1ed] user: js, branch: trunk, size: 20842) [annotate] [blame] [check-ins using] [diff]

2020-09-27
00:57
[e490baa3be] part of check-in [cbc09c6e26] Work around bugs in Apple GCC 4.2.1 (check-in: [cbc09c6e26] user: js, branch: trunk, size: 20837) [annotate] [blame] [check-ins using] [diff]
2020-08-11
19:45
[0757bca949] part of check-in [b6ee372b98] OFString: Rework number parsing API

This solves the old signed vs. unsigned problem and allows for more
bases than just 8, 10 and 16, as well as auto-detection of the base (if
base is 0). (check-in: [b6ee372b98] user: js, branch: trunk, size: 20789) [annotate] [blame] [check-ins using] [diff]

2020-05-02
15:25
[fb89efec65] part of check-in [6a6f7fb146] OFSPXSocket: Make async connect work (check-in: [6a6f7fb146] user: js, branch: trunk, size: 20756) [annotate] [blame] [check-ins using] [diff]
2020-04-26
10:56
[b25bff7c1b] part of check-in [2ff4218405] Replace of_socket_address_ipx_get()

Instead, provide getters and setters for the various address parts. (check-in: [2ff4218405] user: js, branch: trunk, size: 20756) [annotate] [blame] [check-ins using] [diff]

2020-04-25
23:02
[685346fedf] part of check-in [4a5822e7c0] Add OFIPXSocket (check-in: [4a5822e7c0] user: js, branch: trunk, size: 19913) [annotate] [blame] [check-ins using] [diff]
2020-04-18
10:10
[41dfcc5d04] part of check-in [66c1192d94] socket.m: Remove a TODO

Supporting other styles of IPv4 is non-standard and is a BSD legacy. (check-in: [66c1192d94] user: js, branch: trunk, size: 17463) [annotate] [blame] [check-ins using] [diff]

2020-01-16
01:23
[353f4118f9] part of check-in [7f83956d3e] Fix compilation on MorphOS (check-in: [7f83956d3e] user: js, branch: trunk, size: 17525) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[a70c769a92] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 17490) [annotate] [blame] [check-ins using] [diff]
2019-10-07
00:23
[8c4ab8f800] part of check-in [d98af41d84] Fix of_socket_address_parse_ipv6() (check-in: [d98af41d84] user: js, branch: trunk, size: 17487) [annotate] [blame] [check-ins using] [diff]
2019-08-11
18:56
[b18a1905f9] part of check-in [a40f3fc829] Support sockets in multiple threads on AmigaOS (check-in: [a40f3fc829] user: js, branch: trunk, size: 17487) [annotate] [blame] [check-ins using] [diff]
2019-08-09
23:44
[54314146cb] part of check-in [3dec8ecf2e] Support sockets on AmigaOS 3 (check-in: [3dec8ecf2e] user: js, branch: trunk, size: 15355) [annotate] [blame] [check-ins using] [diff]
2019-08-01
20:14
[2f5d16033d] part of check-in [5358e9ea6a] Split threading.[hm] into multiple files

This allows the runtime to only link against the parts it needs, without
pulling in unnecessary parts like thread spawning, TLS and conditions. (check-in: [5358e9ea6a] user: js, branch: trunk, size: 14637) [annotate] [blame] [check-ins using] [diff]

2019-03-08
00:35
[b2488d7024] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 14749) [annotate] [blame] [check-ins using] [diff]
2019-01-07
22:59
[e7074a55dd] 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: 14769) [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
[4c91a4fb68] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 14670) [annotate] [blame] [check-ins using] [diff]
2018-12-18
21:17
[b9d1cba50d] 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: 14664) [annotate] [blame] [check-ins using] [diff]

2018-10-28
11:57
[fd66b3751b] part of check-in [23b09a2f41] Fix compilation on OpenIndiana (check-in: [23b09a2f41] user: js, branch: trunk, size: 14634) [annotate] [blame] [check-ins using] [diff]
2018-10-07
02:06
[00380c738c] part of check-in [6e9ee122eb] Remove resolver.m

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

2018-08-27
23:21
[72b93f58cf] part of check-in [fa952c4c48] socket.m: Clean up #ifdefs (check-in: [fa952c4c48] user: js, branch: trunk, size: 14219) [annotate] [blame] [check-ins using] [diff]
2018-08-26
21:06
[6e3f77394d] part of check-in [8386b52824] socket.m: Set the sin_len field on Wii (check-in: [8386b52824] user: js, branch: trunk, size: 14289) [annotate] [blame] [check-ins using] [diff]
2018-08-11
21:53
[83494e19e7] part of check-in [9a494f183b] Fix build on 3DS and Wii (check-in: [9a494f183b] user: js, branch: trunk, size: 14192) [annotate] [blame] [check-ins using] [diff]
14:29
[62a31a2fc1] part of check-in [75d2d3ba01] OFDNSResourceRecord: Use of_socket_address_t

This avoids unnecessary string construction and parsing and removes
duplicate code to convert an address into a string. (check-in: [75d2d3ba01] user: js, branch: trunk, size: 14194) [annotate] [blame] [check-ins using] [diff]

14:00
[23b837d278] part of check-in [8f810ecb7e] Change the layout of of_socket_address_t

Instead of containing a struct sockaddr_storage - which does not exist
on all supported platforms - it now contains a union of all struct
sockaddr_* types.

Additionally, if struct sockaddr_in6 does not exist, it is defined so
that an IPv6 can be stored even if the system does not support IPv6. (check-in: [8f810ecb7e] user: js, branch: trunk, size: 14200) [annotate] [blame] [check-ins using] [diff]

2018-08-06
22:34
[2650e52f57] part of check-in [ab9810ef69] socket.m: Replace inet_{ntop,pton} with own impl

Not all OSes supported by ObjFW provide them. (check-in: [ab9810ef69] user: js, branch: trunk, size: 13826) [annotate] [blame] [check-ins using] [diff]

2018-08-05
20:00
[06c3fc8fe2] part of check-in [4f49f55859] Add a few missing casts (check-in: [4f49f55859] user: js, branch: trunk, size: 9819) [annotate] [blame] [check-ins using] [diff]
2018-08-04
15:35
[93c697cb3c] part of check-in [e36455441d] Use OF_HAVE_IPV6 instead of HAVE_IPV6

This has always been wrong. (check-in: [e36455441d] user: js, branch: trunk, size: 9786) [annotate] [blame] [check-ins using] [diff]

2018-07-29
14:41
[fac7286c11] part of check-in [2f73172fd6] socket.m: Rename sin to addrIn

This avoids shadowing sin(). (check-in: [2f73172fd6] user: js, branch: trunk, size: 9757) [annotate] [blame] [check-ins using] [diff]

2018-07-28
20:21
[9e65efeb36] 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: 9710) [annotate] [blame] [check-ins using] [diff]

18:45
[2bd834cec4] part of check-in [aa0384d1bf] Rename OFLocalization -> OFLocale (check-in: [aa0384d1bf] user: js, branch: trunk, size: 8408) [annotate] [blame] [check-ins using] [diff]
18:29
[17b33daff7] part of check-in [2a1546da86] Add of_socket_address_parse_ip() (check-in: [2a1546da86] user: js, branch: trunk, size: 8426) [annotate] [blame] [check-ins using] [diff]
17:38
[d4a188ba53] part of check-in [b16f2b9e25] Rename of_{udp_ -> }socket_address (check-in: [b16f2b9e25] user: js, branch: trunk, size: 6952) [annotate] [blame] [check-ins using] [diff]
2018-03-18
01:01
[d3a737b015] part of check-in [885d84a1a7] socket.m: Minor cleanup

This should make the init behavior the same for --enable-threads and
--disable-threads. (check-in: [885d84a1a7] user: js, branch: trunk, size: 4180) [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
[07290bee4c] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 4109) [annotate] [blame] [check-ins using] [diff]
2017-10-22
14:09
[ac7909760b] part of check-in [31c0f5b89e] Make Apple GCC with -Wshadow happy (check-in: [31c0f5b89e] user: js, branch: 0.90, size: 4086) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[c5f416940a] 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: 4104) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[798d29602d] 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: 4097) [annotate] [blame] [check-ins using] [diff]

2016-03-28
19:50
[46181077da] part of check-in [9394805757] socket.m: Remove leftover from port registry (check-in: [9394805757] user: js, branch: trunk, size: 4091) [annotate] [blame] [check-ins using] [diff]
2016-03-27
23:10
[1832892042] 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: 4219) [annotate] [blame] [check-ins using] [diff]

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

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

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

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

2015-10-19
22:15
[34bd39e695] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 5415) [annotate] [blame] [check-ins using] [diff]
2015-10-17
10:59
[ebf56cad93] 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: 5411) [annotate] [blame] [check-ins using] [diff]

2015-03-22
11:42
[a318aca5b3] part of check-in [099e939079] Abstract int vs SOCKET as of_socket_t (check-in: [099e939079] user: js, branch: trunk, size: 3608) [annotate] [blame] [check-ins using] [diff]
2015-02-18
22:56
[a024642fe6] part of check-in [f18615e057] Add of_getsockname() and make use of it

of_getsockname() calls getsockname() after acquiring a mutex. This is
necessary as some implementations of getsockname() are not thread-safe. (check-in: [f18615e057] user: js, branch: trunk, size: 3600) [annotate] [blame] [check-ins using] [diff]

2015-02-16
08:39
[f110c9fc59] part of check-in [62e2de30b9] 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. (check-in: [62e2de30b9] user: js, branch: trunk, size: 3012) [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
[32dd0de4f8] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 1084) [annotate] [blame] [check-ins using] [diff]
2014-02-28
00:38
[e7e7f50976] part of check-in [ba5e756264] threading.h: Add of_once() (check-in: [ba5e756264] user: js, branch: trunk, size: 1078) [annotate] [blame] [check-ins using] [diff]
2014-02-03
14:43
Added: [75d8ae44e0] part of check-in [414c87ec13] Move socket initialization to a single place (check-in: [414c87ec13] user: js, branch: trunk, size: 888) [annotate] [blame] [check-ins using]