ObjFW  History of src/objfw-defs.h.in of baeb7b379ac63c30

History of the file that is called src/objfw-defs.h.in at check-in baeb7b379ac63c30

2024-04-28
18:15
[d61e321f94] part of check-in [bd2d723910] Merge trunk into branch "sctp" (check-in: [bd2d723910] user: js, branch: sctp, size: 1445) [annotate] [blame] [check-ins using] [diff]
2024-02-13
22:06
[ab0ba34911] part of check-in [c80075f6e4] Don't use max_align_t for OF_BIGGEST_ALIGNMENT

Now that we use SSE in some inline assembly, it needs to be at least 16.
However, _Alignof(max_align_t) can be just 8. (check-in: [c80075f6e4] user: js, branch: trunk, size: 1415) [annotate] [blame] [check-ins using] [diff]

2023-05-21
17:47
[5a8629e6a6] part of check-in [43c80a7593] Change how +[OFSystemInfo networkInterfaces] works

This removes functionality which will be restored later. (check-in: [43c80a7593] user: js, branch: trunk, size: 1442) [annotate] [blame] [check-ins using] [diff]

13:10
[b557faae7b] part of check-in [550bd1b7bb] Remove support for configuring AppleTalk

This didn't work without problems on all OSes. Since ofatalkcfg is no
longer there, there is no reason to keep this for now. In the future, if
there is a more generic replacement for ofatalkcfg, this can just be
reverted. (check-in: [550bd1b7bb] user: js, branch: trunk, size: 1487) [annotate] [blame] [check-ins using] [diff]

2023-04-22
19:52
[e2e8bf6055] part of check-in [74fea18d17] Add OF_SYSTEM_INFO_HAS_NETWORK_INTERFACES define (check-in: [74fea18d17] user: js, branch: trunk, size: 1521) [annotate] [blame] [check-ins using] [diff]
17:47
[b5f598373d] part of check-in [19ace65ba8] Make sure the ABI of OFSocketAddress stays stable (check-in: [19ace65ba8] user: js, branch: trunk, size: 1502) [annotate] [blame] [check-ins using] [diff]
09:55
[af7372a4c7] part of check-in [c3f58bce43] Add +[OFSystemInfo networkInterfaces] (check-in: [c3f58bce43] user: js, branch: trunk, size: 1470) [annotate] [blame] [check-ins using] [diff]
2023-04-15
17:30
[376d21383b] part of check-in [ccb53db0d8] OFDDPSocket: Add support for configuring AppleTalk (check-in: [ccb53db0d8] user: js, branch: trunk, size: 1444) [annotate] [blame] [check-ins using] [diff]
2022-11-25
20:41
[13ff8f3bcc] part of check-in [b25b83f1fc] configure: Add classic macOS (check-in: [b25b83f1fc] user: js, branch: trunk, size: 1410) [annotate] [blame] [check-ins using] [diff]
2022-11-06
23:56
[2685faa746] part of check-in [9cb5c92f04] Merge trunk into branch "sctp" (check-in: [9cb5c92f04] user: js, branch: sctp, size: 1416) [annotate] [blame] [check-ins using] [diff]
23:52
[ed372be817] part of check-in [425762ff70] Merge trunk into branch "sctp" (check-in: [425762ff70] user: js, branch: sctp, size: 1329) [annotate] [blame] [check-ins using] [diff]
2022-10-31
21:41
[281bf4782f] part of check-in [019ff77f50] Check for and use <netat/appletalk.h> (check-in: [019ff77f50] user: js, branch: trunk, size: 1386) [annotate] [blame] [check-ins using] [diff]
2022-10-30
18:58
[46516d773c] part of check-in [0b4f713964] Remove AppleTalk support again

It seems that neither Windows nor macOS support DDP sockets, but only
the layers on top, while neither Linux nor NetBSD support the layers on
top, but only provide DDP.

It seems that DDP is not meant to be used directly, while Linux and
NetBSD only provide the minimum to use netatalk, which is DDP. ObjFW
would need to use the layers on top on Windows and macOS and implement
those layers itself on Linux and NetBSD. This also means that no code
would be shared between Linux / NetBSD and Windows / macOS, as it's
impossible to have one implementation that works for everything. At this
point, the effort required doesn't make sense. (check-in: [0b4f713964] user: js, branch: trunk, size: 1299) [annotate] [blame] [check-ins using] [diff]

2022-10-22
21:47
[b415425796] part of check-in [c26bd3ad84] objfw-defs.h.in: Fix inconsistency (check-in: [c26bd3ad84] user: js, branch: appletalk, size: 1353) [annotate] [blame] [check-ins using] [diff]
13:11
[d45aceabb3] part of check-in [6344ccf451] configure: Check for AppleTalk support (check-in: [6344ccf451] user: js, branch: appletalk, size: 1361) [annotate] [blame] [check-ins using] [diff]
2022-07-31
14:16
[8f5a561d98] part of check-in [e10048ac32] Merge trunk into branch "wii-u" (check-in: [e10048ac32] user: js, branch: wii-u, size: 1299) [annotate] [blame] [check-ins using] [diff]
2022-07-17
19:18
[2eb2b431d4] part of check-in [db3bb8bff0] objfw-defs.h.in: Add OF_WII_U (check-in: [db3bb8bff0] user: js, branch: wii-u, size: 1273) [annotate] [blame] [check-ins using] [diff]
19:18
[72a5ae113a] part of check-in [371e4c05d4] objfw-defs.h.in: Add OF_NINTENDO_SWITCH (check-in: [371e4c05d4] user: js, branch: nintendo-switch, size: 1283) [annotate] [blame] [check-ins using] [diff]
2021-12-13
01:49
[69a2e4862c] part of check-in [c2bf5b0410] Fix subprocesses (check-in: [c2bf5b0410] user: js, branch: trunk, size: 1257) [annotate] [blame] [check-ins using] [diff]
2021-10-24
18:11
[a0cd235af2] part of check-in [d5373ff70f] Enable UNIX sockets on Windows

Windows 10 supports UNIX sockets since Insider Preview Build 17063, but
only SOCK_STREAM. (check-in: [d5373ff70f] user: js, branch: unix-sockets, size: 1254) [annotate] [blame] [check-ins using] [diff]

2021-04-25
20:22
[b4d2598296] part of check-in [fb40f7048d] Merge trunk into branch "unix-sockets" (check-in: [fb40f7048d] user: js, branch: unix-sockets, size: 1230) [annotate] [blame] [check-ins using] [diff]
2021-04-05
16:30
[fb41861118] part of check-in [1db6618bb9] Add support for UNIX socket addresses (check-in: [1db6618bb9] user: js, branch: unix-sockets, size: 1260) [annotate] [blame] [check-ins using] [diff]
2020-12-22
20:19
[dc6785c3be] part of check-in [62edb405b9] Merge trunk into 1.0 branch (check-in: [62edb405b9] user: js, branch: 1.0, size: 1178) [annotate] [blame] [check-ins using] [diff]
2020-12-20
13:49
[cb58f5fac1] part of check-in [d3fb77eb9c] Clean up a few defines (check-in: [d3fb77eb9c] user: js, branch: trunk, size: 1208) [annotate] [blame] [check-ins using] [diff]
2020-10-04
14:39
[993881fae7] part of check-in [a9f08709d2] Merge trunk into 1.0 branch (check-in: [a9f08709d2] user: js, branch: 1.0, size: 1306) [annotate] [blame] [check-ins using] [diff]
2020-07-12
09:49
[4530c4317b] part of check-in [c1fe4b2b77] Make of_random() a function

When arc4random() is unavailable, either random() or rand() is used and
both need to be seeded. If of_random() is a macro, it needs to be
(re)seeded every time, as it's unknown whether it has already been
seeded. As it is seeded with gettimeofday() due to the lack of a better
initial seed, this means every call returns the first state for the
current time, which is very predictable. random() and rand() are both
not cryptographic, but this should at least make it a little bit better
now. (check-in: [c1fe4b2b77] user: js, branch: trunk, size: 1336) [annotate] [blame] [check-ins using] [diff]

2020-05-28
23:49
[833ff0a38c] part of check-in [3ea919f393] Remove OFSCTPSocket, as it is not ready for 1.0 (check-in: [3ea919f393] user: js, branch: 1.0, size: 1354) [annotate] [blame] [check-ins using] [diff]
2020-05-05
01:14
[f12fccebb9] part of check-in [4592b16fab] Add OFSCTPSocket (check-in: [4592b16fab] user: js, branch: trunk, size: 1384) [annotate] [blame] [check-ins using] [diff]
2020-04-25
23:02
[5b298a3b39] part of check-in [4a5822e7c0] Add OFIPXSocket (check-in: [4a5822e7c0] user: js, branch: trunk, size: 1325) [annotate] [blame] [check-ins using] [diff]
2018-10-27
22:38
[96b18781fc] part of check-in [5f6072bf22] Only use dllexport when we have no shared library (check-in: [5f6072bf22] user: js, branch: trunk, size: 1278) [annotate] [blame] [check-ins using] [diff]
2018-08-26
17:40
[3a0ad24ba7] part of check-in [3155de66ff] configure: Clean up flags for objfw-config (check-in: [3155de66ff] user: js, branch: trunk, size: 1258) [annotate] [blame] [check-ins using] [diff]
2018-07-28
16:48
[0dc3c9abbb] part of check-in [a2a06d372a] macros.h: Add of_random()

This does *NOT* provide cryptographically secure randomness! (check-in: [a2a06d372a] user: js, branch: trunk, size: 1221) [annotate] [blame] [check-ins using] [diff]

2018-04-22
23:42
[558f07b729] part of check-in [49cb6ada5f] Make all tests pass on AmigaOS 3

Note: There is still some weirdness in the compiler. Instead of
m68k-amigaos-gcc, you need to use m68k-amigaos-g++ as OBJC, as otherwise
exceptions don't work.

Before running the tests, you need to run "stack 8192". (check-in: [49cb6ada5f] user: js, branch: trunk, size: 1173) [annotate] [blame] [check-ins using] [diff]

17:48
[63d5610c05] part of check-in [0b07c8fcfa] Make ObjFW compile for AmigaOS 3 (check-in: [0b07c8fcfa] user: js, branch: trunk, size: 1478) [annotate] [blame] [check-ins using] [diff]
2018-03-10
20:24
[a14966c560] part of check-in [f00a1da750] configure: Check for UINTPTR_MAX (check-in: [f00a1da750] user: js, branch: trunk, size: 1072) [annotate] [blame] [check-ins using] [diff]
2017-06-05
21:57
[f6c8db25c6] part of check-in [289f2b1272] OFFileManager: Don't use stat() on MorphOS (check-in: [289f2b1272] user: js, branch: trunk, size: 1037) [annotate] [blame] [check-ins using] [diff]
2017-06-03
18:37
[5fe4b33996] part of check-in [4ec0948b1b] Properly check for sys/types.h (check-in: [4ec0948b1b] user: js, branch: trunk, size: 1061) [annotate] [blame] [check-ins using] [diff]
2017-04-09
18:22
[095ccff6f0] part of check-in [40cf53506a] Add OFSandbox

Only OpenBSD's pledge() is supported so far. (check-in: [40cf53506a] user: js, branch: trunk, size: 1034) [annotate] [blame] [check-ins using] [diff]

2016-08-29
00:05
[c0f587b66b] part of check-in [b7b33247d6] configure: Add --disable-unicode-tables option

This is only useful for size-constrained systems and changes the
behavior as follows:

* Case-insensitive comparisons only work as expected for ASCII
characters. This means that while a and A compare equal, ä and Ä do
not.

* -[OFMutableString {upper,lower}] and
-[OFString {upper,lower}caseString] only work on ASCII characters;
all other characters are left as they are. This means that the upper
version of a is A, but the upper version of ä is still ä (and vice
versa for lower). (check-in: [b7b33247d6] user: js, branch: trunk, size: 1012) [annotate] [blame] [check-ins using] [diff]

2016-07-31
23:41
[2edcb0a258] part of check-in [64edae4128] atomic.h: Add support for __atomic_* builtins (check-in: [64edae4128] user: js, branch: trunk, size: 982) [annotate] [blame] [check-ins using] [diff]
23:04
[f68c946c0e] part of check-in [7115c55ef0] Split atomic.h into multiple files

Having one file per implementation reduces the #ifdef hell and makes it
much more readable. (check-in: [7115c55ef0] user: js, branch: trunk, size: 951) [annotate] [blame] [check-ins using] [diff]

2016-07-03
22:40
[427af0f6c6] part of check-in [768b31dede] Add support for hardlinks and symlinks on Windows (check-in: [768b31dede] user: js, branch: trunk, size: 952) [annotate] [blame] [check-ins using] [diff]
2016-03-27
23:10
[84b0a50859] 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: 928) [annotate] [blame] [check-ins using] [diff]

2014-08-06
00:04
[793b73003c] part of check-in [ddbbd50e56] Don't export (v)asprintf implementation

In case (v)asprintf was missing, this was exported instead of only being
used internally, potentially causing problems when linking against
another library which also detected libc is missing it. (check-in: [ddbbd50e56] user: js, branch: trunk, size: 908) [annotate] [blame] [check-ins using] [diff]

2014-05-14
20:45
[b0cd6ea182] part of check-in [bac91ccede] Add C11 noreturn

If it's unavailable, it's defined to __attribute__((noreturn)).

Unfortunately, it cannot be used for ObjC methods, as noreturn is part
of the return type while __attribute__((noreturn)) needs to be at the
end for an ObjC method. To make matters worse, even GCC versions that
accept noreturn don't allow it for an ObjC method. Thus, the only thing
that can be done is to always use __attribute__((noreturn)) for ObjC
methods using the OF_METHOD_NORETURN define. (check-in: [bac91ccede] user: js, branch: trunk, size: 932) [annotate] [blame] [check-ins using] [diff]

20:19
[41bed793cb] part of check-in [c701e89b83] Use thread_local instead of __thread

If threads.h exists, the thread_local from there is used. If it doesn't,
but _Thread_local exists, it's defined to that. As a last fallback, it
is defined to __thread. (check-in: [c701e89b83] user: js, branch: trunk, size: 905) [annotate] [blame] [check-ins using] [diff]

2014-05-05
02:13
[b64e054749] part of check-in [2729104cf6] Check for and use __builtin_bswap{16,32,64} (check-in: [2729104cf6] user: js, branch: trunk, size: 880) [annotate] [blame] [check-ins using] [diff]
2014-04-27
19:34
[ff70a225ad] part of check-in [cd0a632472] Initial Nintendo DS port (check-in: [cd0a632472] user: js, branch: trunk, size: 787) [annotate] [blame] [check-ins using] [diff]
2014-03-05
00:31
[aa4090a098] 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: 765) [annotate] [blame] [check-ins using] [diff]

2014-01-09
00:01
[1adc067354] part of check-in [f89edd8ed9] Add --disable-files configure flag. (check-in: [f89edd8ed9] user: js, branch: trunk, size: 737) [annotate] [blame] [check-ins using] [diff]
2013-12-07
17:30
[449e8f592b] part of check-in [fdfb2be253] macros.h: Add OF_BIGGEST_ALIGNMENT.

When the compiler supports C11, _Alignof(max_align_t) is used; otherwise
the __BIGGEST_ALIGNMENT__ define is tried with a fallback to 16. (check-in: [fdfb2be253] user: js, branch: trunk, size: 716) [annotate] [blame] [check-ins using] [diff]

2013-06-28
19:55
[ccf2bf99fc] part of check-in [d9bd480b94] Fix FP endianess for universal builds. (check-in: [d9bd480b94] user: js, branch: trunk, size: 689) [annotate] [blame] [check-ins using] [diff]
2013-05-22
18:42
[226b05630f] part of check-in [896084c340] Check for more socket-related headers / functions. (check-in: [896084c340] user: js, branch: trunk, size: 669) [annotate] [blame] [check-ins using] [diff]
2013-04-26
22:25
[3af4f4e1ad] part of check-in [c01ed004b0] Better checks for functions used in OFFile. (check-in: [c01ed004b0] user: js, branch: trunk, size: 621) [annotate] [blame] [check-ins using] [diff]
20:18
[aa207557bf] part of check-in [9965b1550e] Only build OFProcess if available. (check-in: [9965b1550e] user: js, branch: trunk, size: 536) [annotate] [blame] [check-ins using] [diff]
19:42
[63a737d4f3] part of check-in [590c377d8a] Make it possible to disable sockets. (check-in: [590c377d8a] user: js, branch: trunk, size: 511) [annotate] [blame] [check-ins using] [diff]
2013-03-16
10:13
[f518fd1de0] part of check-in [5a6cc94418] Add forwardingTargetForSelector: for AMD64/ELF.

Currently, no methods returning structs are supported, see the comment
in OFObject. (check-in: [5a6cc94418] user: js, branch: trunk, size: 488) [annotate] [blame] [check-ins using] [diff]

2013-01-12
20:53
[8a8805198b] part of check-in [b8ce2359f3] Clean up the feature #ifdef mess. (check-in: [b8ce2359f3] user: js, branch: trunk, size: 442) [annotate] [blame] [check-ins using] [diff]
2012-10-03
15:47
[2392df0876] part of check-in [2edae50b86] Move ObjC feature checks to OFObject.h.

This way, it is theoretically possible to compile ObjFW with one
compiler and then use it with another. (check-in: [2edae50b86] user: js, branch: trunk, size: 450) [annotate] [blame] [check-ins using] [diff]

2012-08-05
17:22
[13f2356be6] part of check-in [1e10b33066] Use recursive pthread mutexes if available. (check-in: [1e10b33066] user: js, branch: trunk, size: 564) [annotate] [blame] [check-ins using] [diff]
2012-07-14
22:21
[35b1efd8d0] part of check-in [95b1b31aa5] Fall back to of_tlskey if __thread is unavailable. (check-in: [95b1b31aa5] user: js, branch: trunk, size: 523) [annotate] [blame] [check-ins using] [diff]
2012-07-11
09:01
[1faf553899] part of check-in [15262133cf] Remove old defines from objfw-defs.h.in. (check-in: [15262133cf] user: js, branch: trunk, size: 500) [annotate] [blame] [check-ins using] [diff]
2011-09-10
19:47
[77d879db89] part of check-in [4c71fdcf43] Fix a typo. (check-in: [4c71fdcf43] user: js, branch: trunk, size: 548) [annotate] [blame] [check-ins using] [diff]
2011-06-05
17:50
[5f2f5a13db] part of check-in [0348b9b3b3] Check floating point endianess. (check-in: [0348b9b3b3] user: js, branch: trunk, size: 568) [annotate] [blame] [check-ins using] [diff]
2011-03-21
12:47
[cbf8d3b793] part of check-in [09a49963de] Check whether optional protocols are supported. (check-in: [09a49963de] user: js, branch: trunk, size: 541) [annotate] [blame] [check-ins using] [diff]
2011-02-10
18:40
[72f743ebcf] part of check-in [5a0049ac30] Fix two unimportant typos. (check-in: [5a0049ac30] user: js, branch: trunk, size: 507) [annotate] [blame] [check-ins using] [diff]
2010-12-18
23:39
[5535a2e37e] part of check-in [6f4eb004a3] Add support for the new GNU runtime.

Currently, the properties test for nonatomic fails. This is a bug in
the new GNU runtime. (check-in: [6f4eb004a3] user: js, branch: trunk, size: 531) [annotate] [blame] [check-ins using] [diff]

2010-10-31
22:18
[24da91ee6d] part of check-in [9626d917a6] Check if 64 bit version of OSAtomic* functions is available. (check-in: [9626d917a6] user: js, branch: trunk, size: 505) [annotate] [blame] [check-ins using] [diff]
2010-08-28
18:54
[40a7e9074f] part of check-in [c5d65603d8] Initial support for blocks. (check-in: [c5d65603d8] user: js, branch: trunk, size: 488) [annotate] [blame] [check-ins using] [diff]
2010-06-13
17:44
[b3381e8211] part of check-in [6a73e7ac51] Fallback to select() in OFSocketObserver if poll() is unavailable. (check-in: [6a73e7ac51] user: js, branch: trunk, size: 466) [annotate] [blame] [check-ins using] [diff]
2010-05-06
15:21
[5c69853c4a] part of check-in [2c441703fb] Add two missing defines to objfw-defs.h.in. (check-in: [2c441703fb] user: js, branch: trunk, size: 418) [annotate] [blame] [check-ins using] [diff]
2010-04-17
23:04
[8c68c7e68e] part of check-in [f3e7291fad] Add properties to interfaces. Only used if supported by the compiler. (check-in: [f3e7291fad] user: js, branch: trunk, size: 362) [annotate] [blame] [check-ins using] [diff]
2010-04-01
23:51
[216453ffb3] part of check-in [8c2755723a] Add support for ObjFW-RT, the ObjFW Objective C runtime. (check-in: [8c2755723a] user: js, branch: trunk, size: 336) [annotate] [blame] [check-ins using] [diff]
2010-01-30
01:17
[e92fcadc33] part of check-in [921b158d17] Change spinlock implementation, add fallbacks and move to threading.h. (check-in: [921b158d17] user: js, branch: trunk, size: 312) [annotate] [blame] [check-ins using] [diff]
2010-01-29
19:31
[59fa4d3305] part of check-in [953895c116] Add OF_ATOMIC_OPS define to work around missing atomic ops if needed. (check-in: [953895c116] user: js, branch: trunk, size: 252) [annotate] [blame] [check-ins using] [diff]
19:29
[0ee2aeff28] part of check-in [d08376bc1f] Introduce OF_HAVE_PTHREADS define instead of #ifndef _WIN32. (check-in: [d08376bc1f] user: js, branch: trunk, size: 231) [annotate] [blame] [check-ins using] [diff]
2010-01-25
22:14
[77d9244302] part of check-in [c2af363418] Check for atomic ops in configure.ac. (check-in: [c2af363418] user: js, branch: trunk, size: 207) [annotate] [blame] [check-ins using] [diff]
2010-01-24
18:54
[a4810732ab] part of check-in [b4a9924066] Make retain/release atomic. (check-in: [b4a9924066] user: js, branch: trunk, size: 177) [annotate] [blame] [check-ins using] [diff]
2009-12-11
12:52
[42800a53ae] part of check-in [6caac0826e] Make it possible to build ObjFW without support for threads. (check-in: [6caac0826e] user: js, branch: trunk, size: 143) [annotate] [blame] [check-ins using] [diff]
2009-12-06
14:06
Added: [b3fd317650] part of check-in [3631d46ccc] Move ObjFW definitions to a header that gets installed. (check-in: [3631d46ccc] user: js, branch: trunk, size: 125) [annotate] [blame] [check-ins using]