ObjFW  History of src/OFSystemInfo.m of beb9051a10b54d9e

History of the file that is called src/OFSystemInfo.m at check-in beb9051a10b54d9e

2024-04-03
02:16
[88de548cfa] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 24877) [annotate] [blame] [check-ins using] [diff]
2024-04-01
15:59
[17b1ff4e0e] part of check-in [cf0effe834] Remove #define __NO_EXT_QNX

It doesn't seem to be needed anymore. (check-in: [cf0effe834] user: js, branch: trunk, size: 24669) [annotate] [blame] [check-ins using] [diff]

2024-03-17
15:57
[d0a8a94e19] part of check-in [f050580b33] OFSystemInfo: Add +[wineVersion] (check-in: [f050580b33] user: js, branch: trunk, size: 24691) [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
[65259adcff] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 19858) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[601054135e] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 24255) [annotate] [blame] [check-ins using] [diff]
2023-12-21
15:48
[158d26e332] part of check-in [f53bd1ad2f] Make GCC happy again (check-in: [f53bd1ad2f] user: js, branch: trunk, size: 24255) [annotate] [blame] [check-ins using] [diff]
15:22
[4addcc0e7a] part of check-in [1f26898324] OFSystemInfo: Check if the OS enabled SSE support (check-in: [1f26898324] user: js, branch: trunk, size: 24120) [annotate] [blame] [check-ins using] [diff]
2023-11-10
01:31
[81b1425388] part of check-in [e7465cd688] OFSystemInfo: Remove check for SSE support in OS

The check was wrong and would return false on OSes that are SSE-enabled
but not AVX-enabled. (check-in: [e7465cd688] user: js, branch: trunk, size: 23296) [annotate] [blame] [check-ins using] [diff]

00:25
[dde9f4593e] part of check-in [42efa8c05a] OFSystemInfo: Check OS support for SSE/AVX/AVX512 (check-in: [42efa8c05a] user: js, branch: trunk, size: 23821) [annotate] [blame] [check-ins using] [diff]
2023-11-09
21:09
[4a5cc32620] part of check-in [1b22456db6] Use named operands for __asm__ (check-in: [1b22456db6] user: js, branch: trunk, size: 22349) [annotate] [blame] [check-ins using] [diff]
2023-11-05
10:20
[491407fc38] part of check-in [dfe5d16047] Add +[OFSystemInfo supportsFusedMultiplyAdd] (check-in: [dfe5d16047] user: js, branch: trunk, size: 22281) [annotate] [blame] [check-ins using] [diff]
2023-10-30
23:31
[3c4e0fe6ea] part of check-in [5b213166ee] OFMatrix4x4: Use 3DNow! for multiplication (check-in: [5b213166ee] user: js, branch: trunk, size: 22207) [annotate] [blame] [check-ins using] [diff]
2023-10-24
22:15
[1b9d36f2fa] part of check-in [f993c6757b] OFSystemInfo: Add support for more x86 features (check-in: [f993c6757b] user: js, branch: trunk, size: 22173) [annotate] [blame] [check-ins using] [diff]
20:29
[3bbb5292e5] part of check-in [7899fd79b8] OFSystemInfo: Add methods for AVX-512 support (check-in: [7899fd79b8] user: js, branch: trunk, size: 21743) [annotate] [blame] [check-ins using] [diff]
2023-10-01
20:23
[2ae1048a93] part of check-in [12e54c754f] OFSystemInfo: Check uname() return against -1

Some systems return a positive value, making it look like it failed when
it succeeded when checking != 0. (check-in: [12e54c754f] user: js, branch: trunk, size: 19858) [annotate] [blame] [check-ins using] [diff]

2023-08-28
23:15
[0621210a4b] part of check-in [09e7348b89] OFSystemInfo: Use cwd for paths on some consoles (check-in: [09e7348b89] user: js, branch: trunk, size: 19856) [annotate] [blame] [check-ins using] [diff]
2023-06-10
19:40
[50bc975723] part of check-in [ac1baefd27] Split out +[OFSystemInfo networkInterfaces] (check-in: [ac1baefd27] user: js, branch: trunk, size: 19490) [annotate] [blame] [check-ins using] [diff]
2023-06-08
21:56
[faa68bcb9a] part of check-in [b1dd8e5d0e] +[OFSystemInfo networkInterfaces]: Fix typo (check-in: [b1dd8e5d0e] user: js, branch: trunk, size: 29507) [annotate] [blame] [check-ins using] [diff]
21:20
[215ce48f3e] part of check-in [eec964a1d7] +[OFSystemInfo networkInterfaces]: Cast for Amiga (check-in: [eec964a1d7] user: js, branch: trunk, size: 29507) [annotate] [blame] [check-ins using] [diff]
21:17
[0557c5219a] part of check-in [ce6b0f02cf] +[OFSystemInfo networkInterfaces]: Add IPX (check-in: [ce6b0f02cf] user: js, branch: trunk, size: 29499) [annotate] [blame] [check-ins using] [diff]
21:03
[7301636c5f] part of check-in [d4ea9e536c] +[OFSystemInfo networkInterface]: Fix some BSDs (check-in: [d4ea9e536c] user: js, branch: trunk, size: 28958) [annotate] [blame] [check-ins using] [diff]
2023-06-06
23:42
[fabe0e6c7e] part of check-in [ca4632c14c] +[OFSystemInfo networkInterfaces]: Windows support (check-in: [ca4632c14c] user: js, branch: trunk, size: 28751) [annotate] [blame] [check-ins using] [diff]
19:55
[2cc1e954ae] part of check-in [c428ff651c] +[OFSystemInfo networkInterfaces]: Add AppleTalk (check-in: [c428ff651c] user: js, branch: trunk, size: 26837) [annotate] [blame] [check-ins using] [diff]
19:38
[dd5c0db750] part of check-in [d4db12a5c9] +[OFSystemInfo networkInterfaces]: More IPv6 (check-in: [d4db12a5c9] user: js, branch: trunk, size: 26141) [annotate] [blame] [check-ins using] [diff]
2023-06-05
19:40
[12190864cf] part of check-in [62d8cbe31f] Fix MorphOS build (check-in: [62d8cbe31f] user: js, branch: trunk, size: 25688) [annotate] [blame] [check-ins using] [diff]
19:35
[9580f1e864] part of check-in [8e6e7177ef] +[OFSystemInfo networkInterfaces]: Add IPv6s (check-in: [8e6e7177ef] user: js, branch: trunk, size: 25694) [annotate] [blame] [check-ins using] [diff]
00:50
[c827d8d06a] part of check-in [a15a0854be] +[OFSystemInfo networkInterfaces]: Add IPv4s (check-in: [a15a0854be] user: js, branch: trunk, size: 23435) [annotate] [blame] [check-ins using] [diff]
2023-06-04
15:33
[8a22d63aae] part of check-in [ef03831928] Improve API for +[OFSystemInfo networkInterfaces] (check-in: [ef03831928] user: js, branch: trunk, size: 20799) [annotate] [blame] [check-ins using] [diff]
2023-05-21
17:47
[29fca6defb] 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: 20397) [annotate] [blame] [check-ins using] [diff]

2023-04-24
17:21
[91568c0543] part of check-in [285c76be40] OFSystemInfo: Get MAC address on BSD-like systems (check-in: [285c76be40] user: js, branch: trunk, size: 23550) [annotate] [blame] [check-ins using] [diff]
2023-04-23
11:42
[88309917a4] part of check-in [915525194c] OFSystemInfo: Fix shadowed variable on illumos (check-in: [915525194c] user: js, branch: trunk, size: 22887) [annotate] [blame] [check-ins using] [diff]
2023-04-22
20:22
[6c16836067] part of check-in [b7a4e61b88] Rename x86_64 to AMD64

It's just a less awkward name and also what the BSDs use. (check-in: [b7a4e61b88] user: js, branch: trunk, size: 22905) [annotate] [blame] [check-ins using] [diff]

19:52
[9e9c77f12d] part of check-in [74fea18d17] Add OF_SYSTEM_INFO_HAS_NETWORK_INTERFACES define (check-in: [74fea18d17] user: js, branch: trunk, size: 22911) [annotate] [blame] [check-ins using] [diff]
19:44
[5cf06ea45f] part of check-in [76861c3f78] +[OFSystemInfo networkInterfaces]: Add MAC address (check-in: [76861c3f78] user: js, branch: trunk, size: 22941) [annotate] [blame] [check-ins using] [diff]
10:14
[74da2775f2] part of check-in [3d215a4f7d] OFSystemInfo: Move const into correct place (check-in: [3d215a4f7d] user: js, branch: trunk, size: 22217) [annotate] [blame] [check-ins using] [diff]
09:55
[3c961c10ed] part of check-in [c3f58bce43] Add +[OFSystemInfo networkInterfaces] (check-in: [c3f58bce43] user: js, branch: trunk, size: 22217) [annotate] [blame] [check-ins using] [diff]
2023-04-10
18:20
[b04c355341] part of check-in [be422e156d] Set OS name on Nintendo Switch and Wii U (check-in: [be422e156d] user: js, branch: trunk, size: 19397) [annotate] [blame] [check-ins using] [diff]
15:08
[29cb852ec7] part of check-in [abbed5c008] Work around newer amiga-gcc defining Class (check-in: [abbed5c008] user: js, branch: trunk, size: 19254) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[5298f7ca34] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 19210) [annotate] [blame] [check-ins using] [diff]
2022-12-29
15:12
[534d46329b] part of check-in [915d45a586] Consider TMPDIR for temporary directory IRI (check-in: [915d45a586] user: js, branch: trunk, size: 19210) [annotate] [blame] [check-ins using] [diff]
2022-12-10
16:03
[c85e386df7] part of check-in [7c3ccb6b50] OFSystemInfo: Report DOS flavor and version (check-in: [7c3ccb6b50] user: js, branch: trunk, size: 19032) [annotate] [blame] [check-ins using] [diff]
2022-11-27
09:22
[6d272ac41c] part of check-in [29565be707] OFSystemInfo: Detect 3DNow! support (check-in: [29565be707] user: js, branch: trunk, size: 18812) [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
[e769963f32] part of check-in [23272e6d43] Rename OFURI to OFIRI (check-in: [23272e6d43] user: js, branch: trunk, size: 18646) [annotate] [blame] [check-ins using] [diff]
2022-10-30
18:25
[9f095b0c1c] part of check-in [a3caef326b] OFSystemInfo: Add fallback to MAX_PATH (check-in: [a3caef326b] user: js, branch: trunk, size: 18646) [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
[fb8661ad24] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 18567) [annotate] [blame] [check-ins using] [diff]
2022-09-04
18:46
[08b6db7f62] part of check-in [6c3ec63d96] Remove -[prependString:] and -[reverse] (check-in: [6c3ec63d96] user: js, branch: trunk, size: 18567) [annotate] [blame] [check-ins using] [diff]
2022-08-30
00:48
[22395c80f5] part of check-in [4ad0c363f3] OFObject: Small API change (check-in: [4ad0c363f3] user: js, branch: trunk, size: 18547) [annotate] [blame] [check-ins using] [diff]
2022-08-07
16:14
[9f029f0dfb] part of check-in [dce2ff272b] OFSystemInfo: Fix build on AmigaOS (check-in: [dce2ff272b] user: js, branch: trunk, size: 18547) [annotate] [blame] [check-ins using] [diff]
15:47
[a7f1b08bbe] part of check-in [a5f2e3d0a5] OFSystemInfo: Use URLs for system directories (check-in: [a5f2e3d0a5] user: js, branch: trunk, size: 18504) [annotate] [blame] [check-ins using] [diff]
2022-07-17
22:49
[ae514f74f6] part of check-in [3228d624fe] Add support for files on Nintendo Switch (check-in: [3228d624fe] user: js, branch: nintendo-switch, size: 18362) [annotate] [blame] [check-ins using] [diff]
2022-06-13
21:40
[2ea5196f61] part of check-in [205d36080a] OFSystemInfo: Add missing include for iOS (check-in: [205d36080a] user: js, branch: trunk, size: 17943) [annotate] [blame] [check-ins using] [diff]
21:17
[85e07086cf] part of check-in [e4a11c1509] +[OFSystemInfo CPUModel]: Use sysctlbyname for Mac (check-in: [e4a11c1509] user: js, branch: trunk, size: 17924) [annotate] [blame] [check-ins using] [diff]
2022-06-12
06:33
[6e91a52e41] part of check-in [811d9c8378] OFSystemInfo: Change type of ObjFW version (check-in: [811d9c8378] user: js, branch: trunk, size: 17624) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[2e51e54a8c] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 17620) [annotate] [blame] [check-ins using] [diff]
2022-01-29
22:00
[67c38c88aa] part of check-in [74a6376d81] Revert back to native MiNT paths

The problem was mixing UNIX and native paths in
-[OFSystemInfo temporaryDirectoryPath]. (check-in: [74a6376d81] user: js, branch: trunk, size: 17620) [annotate] [blame] [check-ins using] [diff]

2021-12-22
20:39
[898b4a7065] part of check-in [dec757bcc1] Only return CPUModel if cpuid supports it (check-in: [dec757bcc1] user: js, branch: trunk, size: 17576) [annotate] [blame] [check-ins using] [diff]
02:12
[95caf6d60f] part of check-in [fca07c0c1b] Implement -[temporaryDirectoryPath] for MS-DOS (check-in: [fca07c0c1b] user: js, branch: trunk, size: 17501) [annotate] [blame] [check-ins using] [diff]
2021-10-24
11:14
[ddb7f4310a] part of check-in [74d7354d62] OFSystemInfo: Detect OS version & CPU on AmigaOS 3 (check-in: [74d7354d62] user: js, branch: trunk, size: 17415) [annotate] [blame] [check-ins using] [diff]
2021-08-07
22:51
[da4a435ab7] part of check-in [f372f73c49] OFSystemInfo: Use if (@available(...))

This avoids referencing the deprecated symbols even though the
replacements are available, which resulted in App Store rejection. (check-in: [f372f73c49] user: js, branch: trunk, size: 16959) [annotate] [blame] [check-ins using] [diff]

2021-05-13
20:04
[b33fc4fe1c] part of check-in [f0528dda03] OFSystemInfo: Exclude \0 returned by confstr() (check-in: [f0528dda03] user: js, branch: trunk, size: 17133) [annotate] [blame] [check-ins using] [diff]
19:56
[76082dfedc] part of check-in [7227005db8] Add +[OFSystemInfo temporaryDirectoryPath] (check-in: [7227005db8] user: js, branch: trunk, size: 17129) [annotate] [blame] [check-ins using] [diff]
2021-04-25
11:05
[6fd50f8c07] part of check-in [27103855c2] A few last renames (check-in: [27103855c2] user: js, branch: new-naming-convention, size: 15971) [annotate] [blame] [check-ins using] [diff]
2021-04-18
20:51
[4fe4340628] part of check-in [35de667566] Rename everything in several smaller files (check-in: [35de667566] user: js, branch: new-naming-convention, size: 15991) [annotate] [blame] [check-ins using] [diff]
2021-04-17
16:13
[28825b524d] part of check-in [26aa88fc9b] of_once_t -> OFOnceControl (check-in: [26aa88fc9b] user: js, branch: new-naming-convention, size: 15990) [annotate] [blame] [check-ins using] [diff]
14:13
[28c48fc0d9] part of check-in [eb0cfa6ff9] Always prefix functions with the type (check-in: [eb0cfa6ff9] user: js, branch: new-naming-convention, size: 15964) [annotate] [blame] [check-ins using] [diff]
02:10
[014dd1b2fc] part of check-in [255f21fb3d] of_string_encoding_t -> OFStringEncoding (check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 15964) [annotate] [blame] [check-ins using] [diff]
00:44
[8425925bcc] part of check-in [d975c53a43] of_range_t -> OFRange (check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 15977) [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
[6c63cf09e4] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 15971) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[d40194da67] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 15972) [annotate] [blame] [check-ins using] [diff]
2020-12-12
22:31
[6b81ef8011] part of check-in [c859e2230c] Remove OF_*_ASM defines

Duplicating defines for every CPU architecture is not very useful. (check-in: [c859e2230c] user: js, branch: trunk, size: 16061) [annotate] [blame] [check-ins using] [diff]

2020-11-02
01:11
[97e07274dd] part of check-in [e73d0702d0] OFSystemInfo: Do not use sysctl to get CPU vendor

The sysctl name is specific to x86 on macOS and NetBSD, so cannot be
used for other architectures and the CPU vendor on x86 can just be
obtained via cpuid. (check-in: [e73d0702d0] user: js, branch: trunk, size: 15997) [annotate] [blame] [check-ins using] [diff]

00:56
[a8432f0c63] part of check-in [9903dedecb] OFSystemInfo: Minor cleanup (check-in: [9903dedecb] user: js, branch: trunk, size: 16374) [annotate] [blame] [check-ins using] [diff]
00:53
[3a242f30a6] part of check-in [acb2130974] OFSystemInfo: Use cpuid to get CPU model (check-in: [acb2130974] user: js, branch: trunk, size: 16395) [annotate] [blame] [check-ins using] [diff]
2020-09-27
00:57
[3f56016e9e] part of check-in [cbc09c6e26] Work around bugs in Apple GCC 4.2.1 (check-in: [cbc09c6e26] user: js, branch: trunk, size: 15992) [annotate] [blame] [check-ins using] [diff]
2020-08-13
22:46
[4e15025453] part of check-in [d763a9ff86] propertyListValue -> objectByParsingPropertyList (check-in: [d763a9ff86] user: js, branch: trunk, size: 15955) [annotate] [blame] [check-ins using] [diff]
2020-05-17
14:08
[0f92abda7c] part of check-in [494acfb3e0] Add support for non-Unicode Windows in all classes (check-in: [494acfb3e0] user: js, branch: trunk, size: 15945) [annotate] [blame] [check-ins using] [diff]
10:32
[c3f493864c] part of check-in [793fdb6630] Add +[OFSystemInfo isWindowsNT] (check-in: [793fdb6630] user: js, branch: trunk, size: 15855) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[7bac8e5add] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 15767) [annotate] [blame] [check-ins using] [diff]
2019-09-14
23:24
[fe648ccbbc] part of check-in [4c19f80ab0] Add +[OFSystemInfo supports{AESNI,SHAExtensions}] (check-in: [4c19f80ab0] user: js, branch: trunk, size: 15764) [annotate] [blame] [check-ins using] [diff]
2019-09-01
15:20
[9552eef440] part of check-in [b7badc68a0] Use u suffix on a few constants (check-in: [b7badc68a0] user: js, branch: trunk, size: 15630) [annotate] [blame] [check-ins using] [diff]
2019-08-10
02:06
[34858741f4] part of check-in [3292a6fdbc] Clean up the AmigaOS 4 library mess (check-in: [3292a6fdbc] user: js, branch: trunk, size: 15621) [annotate] [blame] [check-ins using] [diff]
2019-08-01
20:14
[f7d600acca] 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: 15754) [annotate] [blame] [check-ins using] [diff]

2019-04-23
00:12
[9a78967309] part of check-in [2447bb2967] OFSystemInfo: Add +[CPUModel] (check-in: [2447bb2967] user: js, branch: trunk, size: 16083) [annotate] [blame] [check-ins using] [diff]
2019-04-22
09:17
[10db3a92d5] part of check-in [7ef650a6ec] OFSystemInfo: AltiVec detection for AmigaOS 4 (check-in: [7ef650a6ec] user: js, branch: trunk, size: 15299) [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
[a2974f4317] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 14928) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[ee4e3a6986] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 14925) [annotate] [blame] [check-ins using] [diff]
2018-12-02
20:11
[f32302ffd0] part of check-in [2fc1016631] OFSystemInfo: Work around GCC picking ebx for "=r"

Newer GCC versions on Windows use ebx for "=r", which results in a
movl %ebx, %ebx. %ebx is then destroyed by the popl %ebx that follows.
To work around this, force the use of %edi instead ("=D"). (check-in: [2fc1016631] user: js, branch: trunk, size: 14919) [annotate] [blame] [check-ins using] [diff]

2018-10-06
18:39
[b0d88583f9] part of check-in [9723036211] OFSystemInfo: Fix signedness in comparison (check-in: [9723036211] user: js, branch: trunk, size: 14915) [annotate] [blame] [check-ins using] [diff]
2018-07-28
18:45
[02f4d2521e] part of check-in [aa0384d1bf] Rename OFLocalization -> OFLocale (check-in: [aa0384d1bf] user: js, branch: trunk, size: 14898) [annotate] [blame] [check-ins using] [diff]
2018-07-01
15:14
[4d8db1e98a] part of check-in [06cf4cc15f] OFSystemInfo: Add ObjFW version (check-in: [06cf4cc15f] user: js, branch: trunk, size: 14916) [annotate] [blame] [check-ins using] [diff]
2018-05-13
19:24
[3534efb1b1] part of check-in [5831626f68] platform.h: Rename OF_AMIGAOS3 to OF_AMIGAOS_M68K

The reason for this is that, in theory, this also supports versions
older than 3. (check-in: [5831626f68] user: js, branch: trunk, size: 14722) [annotate] [blame] [check-ins using] [diff]

2018-04-30
10:15
[a9b82e1cd3] part of check-in [dec9500ab6] runtime: Have the Amiga glue the other way around (check-in: [dec9500ab6] user: js, branch: trunk, size: 14714) [annotate] [blame] [check-ins using] [diff]
2018-04-23
22:19
[dad22dd462] part of check-in [b16fc262c0] Use more native AmigaOS APIs on AmigaOS 3 (check-in: [b16fc262c0] user: js, branch: trunk, size: 14712) [annotate] [blame] [check-ins using] [diff]
2018-04-22
23:42
[a6ae61b1e9] 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: 14673) [annotate] [blame] [check-ins using] [diff]

16:13
[d70c261d5b] part of check-in [fe2cbe0021] runtime: Define BOOL to be the same as bool

As we define the ABI, we can just replace BOOL with bool everywhere,
including in ObjFW itself. For the Apple platforms where BOOL and bool
are different, this is not a problem as BOOL and bool are passed and
returned the same way in the ABI.

This still defines BOOL to bool for compatibility, except on AmigaOS and
Wii, which both have its own BOOL type. (check-in: [fe2cbe0021] user: js, branch: trunk, size: 14611) [annotate] [blame] [check-ins using] [diff]

2018-04-15
19:03
[cdbf79507f] part of check-in [c712763687] Use PROGDIR: as user config & data dir on AmigaOS (check-in: [c712763687] user: js, branch: trunk, size: 14648) [annotate] [blame] [check-ins using] [diff]
2018-03-18
06:05
[5fc88ae41a] part of check-in [f059c39b00] Fix missing #ifdef OF_HAVE_FILES (check-in: [f059c39b00] user: js, branch: trunk, size: 14552) [annotate] [blame] [check-ins using] [diff]
03:01
[d04cf49a1f] part of check-in [4707e80cdb] Implement +[operatingSystemVersion] for Windows (check-in: [4707e80cdb] user: js, branch: trunk, size: 14522) [annotate] [blame] [check-ins using] [diff]
01:05
[2bd7016700] part of check-in [c32b3419c2] Fix missing import and typo (check-in: [c32b3419c2] user: js, branch: trunk, size: 13290) [annotate] [blame] [check-ins using] [diff]
00:52
[d2ab194f29] part of check-in [01104c5e85] Implement +[operatingSystemVersion] for macOS/iOS (check-in: [01104c5e85] user: js, branch: trunk, size: 13284) [annotate] [blame] [check-ins using] [diff]
2018-03-17
21:53
[b1d4d96275] part of check-in [c6ed29d881] Add +[OFSystemInfo operatingSystem{Name,Version}] (check-in: [c6ed29d881] user: js, branch: trunk, size: 12045) [annotate] [blame] [check-ins using] [diff]
2018-03-11
14:26
[46e156926e] part of check-in [953421ce9d] OFSystemInfo: Path-related methods require files (check-in: [953421ce9d] user: js, branch: trunk, size: 10496) [annotate] [blame] [check-ins using] [diff]
2018-02-17
00:30
[b4c37fc2ed] part of check-in [a99399b1b5] Include <limits.h> when using PATH_MAX (check-in: [a99399b1b5] user: js, branch: trunk, size: 10450) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[1ceb93d76e] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 10450) [annotate] [blame] [check-ins using] [diff]
2017-12-23
20:35
[3fc178ff9d] part of check-in [4e926dc017] Implement fallback to NS*SearchPathEnumeration

This is used when sysdir_*_search_path_enumeration is unavailable.

Unfortunately, iOS 9 does not support sysdir_*_search_path_enumeration.
When compiled with a newer SDK, the symbol is available during linking,
but not at runtime, resulting in a crash. However, newer SDKs also
dropped NS*SearchPathEnumeration, so that it is not easy to provide a
fallback. This means that we need to declare all enums, types and
functions rather than just including them. (check-in: [4e926dc017] user: js, branch: trunk, size: 10427) [annotate] [blame] [check-ins using] [diff]

2017-10-19
20:21
[1dbbe7eb69] part of check-in [9f372df30f] OFSystemInfo: Prevent instantiation (check-in: [9f372df30f] user: js, branch: trunk, size: 9186) [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
[5a19cbf413] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 9136) [annotate] [blame] [check-ins using] [diff]

2017-06-12
20:39
[254f78a8f6] part of check-in [1f9070d204] Add support for AltiVec detection on MorphOS (check-in: [1f9070d204] user: js, branch: trunk, size: 9122) [annotate] [blame] [check-ins using] [diff]
2017-05-27
10:33
[163a46eba3] part of check-in [d31ec806ef] Add unistd.h wrapper to make things less horrible (check-in: [d31ec806ef] user: js, branch: trunk, size: 8791) [annotate] [blame] [check-ins using] [diff]
10:08
[7e09138521] 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: 8955) [annotate] [blame] [check-ins using] [diff]
2017-05-22
23:31
[bfa2f21764] part of check-in [1287e77e04] Make includes of unistd.h and fcntl.h conditional (check-in: [1287e77e04] user: js, branch: trunk, size: 8902) [annotate] [blame] [check-ins using] [diff]
2017-05-13
22:38
[83b5606b17] part of check-in [504e13cf00] Reduce retain + autorelease (check-in: [504e13cf00] user: js, branch: trunk, size: 8873) [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
[2dfc0a82b8] 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: 9538) [annotate] [blame] [check-ins using] [diff]

2017-02-26
15:38
[3184c9a0c5] part of check-in [0abbcb442c] Rename OF_MAC_OS_X define to OF_MACOS (check-in: [0abbcb442c] user: js, branch: trunk, size: 9535) [annotate] [blame] [check-ins using] [diff]
2017-02-05
23:46
[4830f6e850] part of check-in [2213799d64] Fix a typo (check-in: [2213799d64] user: js, branch: trunk, size: 9550) [annotate] [blame] [check-ins using] [diff]
2017-02-04
13:13
[2c3ef6bc2d] part of check-in [feed7bc7f9] OFSystemInfo: Minor #ifdef cleanup (check-in: [feed7bc7f9] user: js, branch: trunk, size: 9550) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[eb4890cccd] 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: 9776) [annotate] [blame] [check-ins using] [diff]

06:26
[f489c81282] part of check-in [06bcb21fc7] Add OFLocalization

This singleton gives access to all things locale, including the ability
to get localized strings.

This also adds the OF_LOCALIZED() macro. Its first argument is an ID for
the string to be localized and its second argument is the fallback
string to be used if it cannot retrieve the localized string. Following
that are variable name / value pairs to be replaced in the localized
string.

Getting translated strings is not implemented yet: Instead, it always
uses the fallback string.

This also switches ofhttp to localized strings. (check-in: [06bcb21fc7] user: js, branch: trunk, size: 9770) [annotate] [blame] [check-ins using] [diff]

2017-01-08
03:57
[70cccb5f86] part of check-in [87e332d145] Accept "1252" as a valid encoding for a locale

Windows uses this. (check-in: [87e332d145] user: js, branch: trunk, size: 11779) [annotate] [blame] [check-ins using] [diff]

03:45
[2f5eb2340c] part of check-in [d6de0a1b71] Parse locale to get {language,territory,encoding}

Yes, there is really nothing to query this.
Yes, locales in C and POSIX are broken way beyond repair. (check-in: [d6de0a1b71] user: js, branch: trunk, size: 11642) [annotate] [blame] [check-ins using] [diff]

02:38
[13b78669de] part of check-in [f12cecf014] Get native8BitEncoding from locale (check-in: [f12cecf014] user: js, branch: trunk, size: 10069) [annotate] [blame] [check-ins using] [diff]
2017-01-07
02:34
[c6d392a88f] part of check-in [6dff0f5922] Always use "." for the decimal point

This is achieved by replacing the locale's decimal point with "." after
formatting and replacing "." with the locale's decimal point before
parsing.

To still use the decimal point from the locale for formatting, the new
flag "," is introduced to formats. This is useful for just printing a
string to the user that is not saved to a file or sent via a network.

While this is an ugly hack, there is no better way to do this other than
implementing the functionality of printf and strtod myself, as POSIX
does not specify versions of these that take a locale as an argument.
While this is a lot of work and error-prone, I will most likely end up
doing this eventually.

This commit also enables the locale in OFApplication to notice when
things break. As a nice side effect, ofhttp now uses the locale's
decimal point in its user interface. (check-in: [6dff0f5922] user: js, branch: trunk, size: 9986) [annotate] [blame] [check-ins using] [diff]

2016-10-09
02:17
[7a2395920f] part of check-in [4a5eb1c281] OFSystemInfo: Implement finding dirs for iOS 10 (check-in: [4a5eb1c281] user: js, branch: trunk, size: 9865) [annotate] [blame] [check-ins using] [diff]
2016-09-03
22:33
[35e9a4decf] part of check-in [a006d15fed] OFSystemInfo: Use sysdir.h on macOS 10.12 (check-in: [a006d15fed] user: js, branch: trunk, size: 9686) [annotate] [blame] [check-ins using] [diff]
2016-03-12
13:12
[b2e536c6d0] part of check-in [6baf51ebda] OFSystemInfo: Fix a stupid typo (check-in: [6baf51ebda] user: js, branch: trunk, size: 8876) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
[e23fbe86da] part of check-in [cec0f072f8] Update copyright

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

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

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

2015-11-02
21:49
[918d680213] part of check-in [2ba8ec1bf1] Add +[OFSystemInfo supportsAltiVec] (check-in: [2ba8ec1bf1] user: js, branch: trunk, size: 8872) [annotate] [blame] [check-ins using] [diff]
2015-10-24
20:53
[db62f84bfb] part of check-in [952af5f0aa] OFSystemInfo.h: Use OF_X86 rather than OF_X86_ASM

The availability of the interface should not depend on whether inline
assembly is available or not, but rather on the CPU architecture.

In case no inline assembly is available, false is returned for
everything. (check-in: [952af5f0aa] user: js, branch: trunk, size: 8517) [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
[016d812c99] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 8569) [annotate] [blame] [check-ins using] [diff]
2015-10-17
22:50
[4b19d00e46] part of check-in [7399e9b249] Add +[OFSystemInfo supportsMXU] (check-in: [7399e9b249] user: js, branch: trunk, size: 9727) [annotate] [blame] [check-ins using] [diff]
17:27
[77d1af34d2] part of check-in [ffdba49764] Add +[OFSystemInfo supportsAltiVec] (check-in: [ffdba49764] user: js, branch: trunk, size: 9204) [annotate] [blame] [check-ins using] [diff]
12:01
[df1cd50578] part of check-in [1dbc2e0c76] Provide MMX/SSE/AVX check methods only on x86(_64) (check-in: [1dbc2e0c76] user: js, branch: trunk, size: 8612) [annotate] [blame] [check-ins using] [diff]
2015-05-03
13:01
[2e4f49497d] part of check-in [3cc8b8db2f] OFSystemInfo: iOS has no NSSystemDirectories.h (check-in: [3cc8b8db2f] user: js, branch: trunk, size: 8308) [annotate] [blame] [check-ins using] [diff]
2015-04-11
12:59
[2207aef52d] part of check-in [406dfede9e] OFSystemInfo: Work around GCC being stupid (check-in: [406dfede9e] user: js, branch: trunk, size: 8138) [annotate] [blame] [check-ins using] [diff]
2015-02-23
00:19
[6148f51021] part of check-in [a7ebc72ac7] OFSystemInfo: Add methods to check CPU features (check-in: [a7ebc72ac7] user: js, branch: trunk, size: 7703) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[d1253c8608] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 6351) [annotate] [blame] [check-ins using] [diff]
2014-10-04
21:59
[ff395665e2] part of check-in [ec66e49dca] Add +[OFSystemInfo native8BitEncoding]

This replaces +[OFString nativeOSEncoding]. (check-in: [ec66e49dca] user: js, branch: trunk, size: 6345) [annotate] [blame] [check-ins using] [diff]

2014-06-21
21:43
[2cb1c686e3] part of check-in [13ee56edf3] Move all macros from OFObject.h to macros.h

This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (check-in: [13ee56edf3] user: js, branch: trunk, size: 6250) [annotate] [blame] [check-ins using] [diff]

2014-05-29
21:27
[99dd897c16] part of check-in [d1e559b643] Work around __block being used by old glibc (check-in: [d1e559b643] user: js, branch: trunk, size: 6297) [annotate] [blame] [check-ins using] [diff]
2014-03-18
22:53
[797dcf2e99] part of check-in [8e4f4567d3] OFSystemInfo: Fix compilation

It seems I broke this code path after testing it. (check-in: [8e4f4567d3] user: js, branch: trunk, size: 6132) [annotate] [blame] [check-ins using] [diff]

2014-03-16
22:32
[957b401e15] part of check-in [e3a2dc6180] OFSystemInfo: Add +[user{Config,Data}Path] (check-in: [e3a2dc6180] user: js, branch: trunk, size: 6137) [annotate] [blame] [check-ins using] [diff]
2014-02-18
00:22
[1b1b7ac8be] part of check-in [f9d12201f8] Move around a few defines to be more consistent (check-in: [f9d12201f8] user: js, branch: trunk, size: 1589) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[9cdb2a984b] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1589) [annotate] [blame] [check-ins using] [diff]
2013-11-23
01:27
[35fe77e5c8] part of check-in [6e19bd47ee] Add OF_UNRECOGNIZED_SELECTOR. (check-in: [6e19bd47ee] user: js, branch: trunk, size: 1583) [annotate] [blame] [check-ins using] [diff]
2013-04-26
22:32
[e9e3f56333] part of check-in [3f7dee97e8] Check for sysconf(). (check-in: [3f7dee97e8] user: js, branch: trunk, size: 1608) [annotate] [blame] [check-ins using] [diff]
2013-04-25
01:09
[da93dc47d6] part of check-in [9c1da35543] OFSystemInfo: Fix fallback pageSize. (check-in: [9c1da35543] user: js, branch: trunk, size: 1546) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[582c2c13d3] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 1550) [annotate] [blame] [check-ins using] [diff]
2013-01-07
13:36
[5448c83bed] part of check-in [2965720dbc] Fix compilation on Win32. (check-in: [2965720dbc] user: js, branch: trunk, size: 1544) [annotate] [blame] [check-ins using] [diff]
2012-12-26
14:10
Added: [aa3fde574a] part of check-in [4b637f8516] Add OFSystemInfo. (check-in: [4b637f8516] user: js, branch: trunk, size: 1500) [annotate] [blame] [check-ins using]