ObjFW  History of src/OFSystemInfo.h of a90e2433aa575721

History of file src/OFSystemInfo.h at check-in a90e2433aa575721

2024-08-18
12:54
OFSystemInfo: Add +[supportsL(A)SX] file: [c155a2119a] check-in: [72c6e67a23] user: js, branch: trunk, size: 17075 [annotate] [blame] [check-ins using] [diff]
2024-06-17
21:13
Remove trailing whitespaces file: [c74583c9f4] check-in: [b18c1fd0ea] user: js, branch: trunk, size: 16461 [annotate] [blame] [check-ins using] [diff]
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [74d105626e] check-in: [164f2fb4bf] user: js, branch: trunk, size: 16462 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [55b98d503d] check-in: [7413a728a7] user: js, branch: trunk, size: 16469 [annotate] [blame] [check-ins using] [diff]
2024-03-17
15:57
OFSystemInfo: Add +[wineVersion] file: [c3ae251de2] check-in: [f050580b33] user: js, branch: trunk, size: 16261 [annotate] [blame] [check-ins using] [diff]
2024-03-06
20:56
Add a little humor file: [968aead0d7] check-in: [fdd9519428] user: js, branch: trunk, size: 15731 [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
Update copyright file: [10489c4501] check-in: [7324ec8590] user: js, branch: 1.0, size: 9992 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [929ce1f306] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 15668 [annotate] [blame] [check-ins using] [diff]
2023-12-21
15:22
OFSystemInfo: Check if the OS enabled SSE support file: [17216d3991] check-in: [1f26898324] user: js, branch: trunk, size: 15668 [annotate] [blame] [check-ins using] [diff]
2023-11-10
01:31
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. file: [721a4a4cb5] check-in: [e7465cd688] user: js, branch: trunk, size: 16058 [annotate] [blame] [check-ins using] [diff]

00:25
OFSystemInfo: Check OS support for SSE/AVX/AVX512 file: [e1f6b5972e] check-in: [42efa8c05a] user: js, branch: trunk, size: 15740 [annotate] [blame] [check-ins using] [diff]
2023-11-05
10:20
Add +[OFSystemInfo supportsFusedMultiplyAdd] file: [8467e18c65] check-in: [dfe5d16047] user: js, branch: trunk, size: 16106 [annotate] [blame] [check-ins using] [diff]
2023-10-24
22:15
OFSystemInfo: Add support for more x86 features file: [e5c75b40b1] check-in: [f993c6757b] user: js, branch: trunk, size: 15737 [annotate] [blame] [check-ins using] [diff]
20:29
OFSystemInfo: Add methods for AVX-512 support file: [51882fbb8f] check-in: [7899fd79b8] user: js, branch: trunk, size: 14827 [annotate] [blame] [check-ins using] [diff]
2023-08-05
10:12
Make platform-specific methods show up in Doxygen file: [bd80cd4ad3] check-in: [de6dbcf928] user: js, branch: trunk, size: 9992 [annotate] [blame] [check-ins using] [diff]
2023-06-10
19:40
Split out +[OFSystemInfo networkInterfaces] file: [1f526bb329] check-in: [ac1baefd27] user: js, branch: trunk, size: 9920 [annotate] [blame] [check-ins using] [diff]
2023-06-08
21:17
+[OFSystemInfo networkInterfaces]: Add IPX file: [756bbe68de] check-in: [ce6b0f02cf] user: js, branch: trunk, size: 11683 [annotate] [blame] [check-ins using] [diff]
2023-06-06
19:55
+[OFSystemInfo networkInterfaces]: Add AppleTalk file: [739a41f5c5] check-in: [c428ff651c] user: js, branch: trunk, size: 11474 [annotate] [blame] [check-ins using] [diff]
2023-06-05
19:35
+[OFSystemInfo networkInterfaces]: Add IPv6s file: [c959f3e657] check-in: [8e6e7177ef] user: js, branch: trunk, size: 11218 [annotate] [blame] [check-ins using] [diff]
00:50
+[OFSystemInfo networkInterfaces]: Add IPv4s file: [6ed8b22df6] check-in: [a15a0854be] user: js, branch: trunk, size: 11035 [annotate] [blame] [check-ins using] [diff]
2023-06-04
15:33
Improve API for +[OFSystemInfo networkInterfaces] file: [757e7e248c] check-in: [ef03831928] user: js, branch: trunk, size: 10851 [annotate] [blame] [check-ins using] [diff]
2023-05-21
17:47
Change how +[OFSystemInfo networkInterfaces] works

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

2023-04-22
20:22
Rename x86_64 to AMD64

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

19:52
Add OF_SYSTEM_INFO_HAS_NETWORK_INTERFACES define file: [62b70ba89a] check-in: [74fea18d17] user: js, branch: trunk, size: 11110 [annotate] [blame] [check-ins using] [diff]
19:44
+[OFSystemInfo networkInterfaces]: Add MAC address file: [4d9e8807d3] check-in: [76861c3f78] user: js, branch: trunk, size: 11155 [annotate] [blame] [check-ins using] [diff]
10:14
OFSystemInfo: Move const into correct place file: [5d11d16867] check-in: [3d215a4f7d] user: js, branch: trunk, size: 10944 [annotate] [blame] [check-ins using] [diff]
09:55
Add +[OFSystemInfo networkInterfaces] file: [6d6c0b651c] check-in: [c3f58bce43] user: js, branch: trunk, size: 10936 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [f94336272c] check-in: [8939cbdb52] user: js, branch: trunk, size: 9807 [annotate] [blame] [check-ins using] [diff]
2022-11-27
09:22
OFSystemInfo: Detect 3DNow! support file: [c079380bb5] check-in: [29565be707] user: js, branch: trunk, size: 9807 [annotate] [blame] [check-ins using] [diff]
2022-11-24
00:21
Rename OFURI to OFIRI file: [3e88b6ebfe] check-in: [23272e6d43] user: js, branch: trunk, size: 9275 [annotate] [blame] [check-ins using] [diff]
2022-09-28
21:40
Rename OFUR{L -> I} in preparation for URI support file: [8b4f866788] check-in: [e7ab06503c] user: js, branch: trunk, size: 9275 [annotate] [blame] [check-ins using] [diff]
2022-08-07
15:47
OFSystemInfo: Use URLs for system directories file: [b9e5001c12] check-in: [a5f2e3d0a5] user: js, branch: trunk, size: 9275 [annotate] [blame] [check-ins using] [diff]
2022-06-12
06:33
OFSystemInfo: Change type of ObjFW version file: [c96bc638d9] check-in: [811d9c8378] user: js, branch: trunk, size: 9259 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [b4c18f307a] check-in: [1a86b8175b] user: js, branch: trunk, size: 9251 [annotate] [blame] [check-ins using] [diff]
2021-05-13
19:56
Add +[OFSystemInfo temporaryDirectoryPath] file: [588a8a89cb] check-in: [7227005db8] user: js, branch: trunk, size: 9251 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [074e043b50] check-in: [374e1a1bfa] user: js, branch: trunk, size: 8480 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [61055b02a1] check-in: [163a4a5a2e] user: js, branch: trunk, size: 8569 [annotate] [blame] [check-ins using] [diff]
2020-05-17
10:32
Add +[OFSystemInfo isWindowsNT] file: [0a359fe12b] check-in: [793fdb6630] user: js, branch: trunk, size: 8569 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [3dbc07c33c] check-in: [c7f0229795] user: js, branch: trunk, size: 8227 [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. file: [5361d8dc79] check-in: [496695d778] user: js, branch: trunk, size: 8224 [annotate] [blame] [check-ins using] [diff]

2019-09-14
23:24
Add +[OFSystemInfo supports{AESNI,SHAExtensions}] file: [147dae58c0] check-in: [4c19f80ab0] user: js, branch: trunk, size: 8198 [annotate] [blame] [check-ins using] [diff]
2019-04-23
00:12
OFSystemInfo: Add +[CPUModel] file: [e2aaa262d3] check-in: [2447bb2967] user: js, branch: trunk, size: 7656 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [6c13d1654b] check-in: [0509d7a844] user: js, branch: trunk, size: 7399 [annotate] [blame] [check-ins using] [diff]
2018-08-04
23:43
OFDNSResolver: Improve error reporting file: [ed3445eefc] check-in: [647ec47eda] user: js, branch: trunk, size: 7393 [annotate] [blame] [check-ins using] [diff]
2018-07-01
15:14
OFSystemInfo: Add ObjFW version file: [ac9dd61ea3] check-in: [06cf4cc15f] user: js, branch: trunk, size: 7393 [annotate] [blame] [check-ins using] [diff]
2018-03-17
21:53
Add +[OFSystemInfo operatingSystem{Name,Version}] file: [6c02f851ee] check-in: [c6ed29d881] user: js, branch: trunk, size: 6838 [annotate] [blame] [check-ins using] [diff]
2018-03-11
14:26
OFSystemInfo: Path-related methods require files file: [3ad9329aa1] check-in: [953421ce9d] user: js, branch: trunk, size: 6228 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [6c922b98d0] check-in: [7e5c81e186] user: js, branch: trunk, size: 6170 [annotate] [blame] [check-ins using] [diff]
2017-11-04
20:54
Backport more nullability fixes file: [7f1cbbaaf1] check-in: [903530213a] user: js, branch: 0.90, size: 4965 [annotate] [blame] [check-ins using] [diff]
2017-10-30
00:23
Add class properties where appropriate

This improves Swift compatibility. file: [72e74f04c4] check-in: [a2e849c681] user: js, branch: trunk, size: 6147 [annotate] [blame] [check-ins using] [diff]

2017-10-19
20:21
OFSystemInfo: Prevent instantiation file: [ead9e7cf66] check-in: [9f372df30f] user: js, branch: trunk, size: 5023 [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
Small code style change

Casts are now written like types in variable declarations. file: [e8b6bc242b] check-in: [4af49a13c3] user: js, branch: trunk, size: 4947 [annotate] [blame] [check-ins using] [diff]

2017-02-04
17:45
Fix typos in comments and strings found by aspell file: [318b983834] check-in: [5a31a537a1] user: js, branch: trunk, size: 4944 [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: [01f345c13b] check-in: [44f45c2e35] user: js, branch: trunk, size: 4943 [annotate] [blame] [check-ins using] [diff]

06:26
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. file: [cbabc25539] check-in: [06bcb21fc7] user: js, branch: trunk, size: 4937 [annotate] [blame] [check-ins using] [diff]

2017-01-08
03:45
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. file: [c797094656] check-in: [d6de0a1b71] user: js, branch: trunk, size: 5795 [annotate] [blame] [check-ins using] [diff]

2017-01-07
02:34
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. file: [0c8db08aa1] check-in: [6dff0f5922] user: js, branch: trunk, size: 5384 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-28
19:47
Minor documentation improvements file: [1916d81006] check-in: [650b4be224] user: js, branch: trunk, size: 5229 [annotate] [blame] [check-ins using] [diff]
2015-11-02
21:49
Add +[OFSystemInfo supportsAltiVec] file: [5abab9f67b] check-in: [2ba8ec1bf1] user: js, branch: trunk, size: 5227 [annotate] [blame] [check-ins using] [diff]
2015-10-24
20:53
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. file: [cb7463de6c] check-in: [952af5f0aa] user: js, branch: trunk, size: 4958 [annotate] [blame] [check-ins using] [diff]

2015-10-17
22:50
Add +[OFSystemInfo supportsMXU] file: [6fc9fba581] check-in: [7399e9b249] user: js, branch: trunk, size: 5578 [annotate] [blame] [check-ins using] [diff]
17:27
Add +[OFSystemInfo supportsAltiVec] file: [36a7138c5d] check-in: [ffdba49764] user: js, branch: trunk, size: 5253 [annotate] [blame] [check-ins using] [diff]
12:01
Provide MMX/SSE/AVX check methods only on x86(_64) file: [b1b706eed5] check-in: [1dbc2e0c76] user: js, branch: trunk, size: 4966 [annotate] [blame] [check-ins using] [diff]
2015-06-13
22:26
Add support for and use the new nullability file: [579d6e7617] check-in: [9e76144ef8] user: js, branch: trunk, size: 3740 [annotate] [blame] [check-ins using] [diff]
2015-02-23
00:19
OFSystemInfo: Add methods to check CPU features file: [83510ab411] check-in: [a7ebc72ac7] user: js, branch: trunk, size: 3683 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [91e2113668] check-in: [cfd374b906] user: js, branch: trunk, size: 2383 [annotate] [blame] [check-ins using] [diff]
2014-10-04
21:59
Add +[OFSystemInfo native8BitEncoding]

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

2014-03-16
22:32
OFSystemInfo: Add +[user{Config,Data}Path] file: [3933be5d4b] check-in: [e3a2dc6180] user: js, branch: trunk, size: 2078 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [0797eaad35] check-in: [246cfe0807] user: js, branch: trunk, size: 1065 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [3eaf643494] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1003 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [8033bde96a] check-in: [813c00ccf0] user: js, branch: trunk, size: 997 [annotate] [blame] [check-ins using] [diff]
2012-12-26
14:10
Added: Add OFSystemInfo. file: [bc0281aac5] check-in: [4b637f8516] user: js, branch: trunk, size: 991 [annotate] [blame] [check-ins using]