ObjFW  History of src/OFStdIOStream.h of f641fc7faa020178

History of the file that is called src/OFStdIOStream.h at check-in f641fc7faa020178

2024-04-03
02:16
[b6911b0606] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 4703) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[ae9c3b4c20] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4495) [annotate] [blame] [check-ins using] [diff]
2023-07-15
20:57
[cf87acec37] part of check-in [860b0bf1e9] Merge trunk into branch "amiga-library" (check-in: [860b0bf1e9] user: js, branch: amiga-library, size: 4812) [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
[2d2c98a668] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 4495) [annotate] [blame] [check-ins using] [diff]
2022-10-18
22:17
[04d80731e3] part of check-in [ac19ed9d40] Merge trunk into branch "amiga-library" (check-in: [ac19ed9d40] user: js, branch: amiga-library, size: 4812) [annotate] [blame] [check-ins using] [diff]
2022-07-31
16:48
[2dc46172ae] part of check-in [abb642bba9] OFStdIOStream: Use OSConsoleWrite() on Wii U (check-in: [abb642bba9] user: js, branch: wii-u, size: 4495) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[fc2f501857] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 4449) [annotate] [blame] [check-ins using] [diff]
2021-05-13
20:13
[530102ab2e] part of check-in [08361ff875] Merge trunk into branch "amiga-library" (check-in: [08361ff875] user: js, branch: amiga-library, size: 4766) [annotate] [blame] [check-ins using] [diff]
15:20
[95e440fa88] part of check-in [323ec38f36] Add OFLogV() (check-in: [323ec38f36] user: js, branch: trunk, size: 4449) [annotate] [blame] [check-ins using] [diff]
2021-05-09
14:45
[4b04bb450d] part of check-in [3c88df0ce4] Merge trunk into branch "amiga-library"

All necessary changes to adjust for the changes made in trunk are
included in the merge commit. (check-in: [3c88df0ce4] user: js, branch: amiga-library, size: 4677) [annotate] [blame] [check-ins using] [diff]

2021-04-18
22:56
[56543eac46] part of check-in [e73c65a849] Rename all symbols marked extern (check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 4075) [annotate] [blame] [check-ins using] [diff]
2021-04-17
00:54
[cc0a782d1d] part of check-in [3524409dd0] of_point_t -> OFPoint (check-in: [3524409dd0] user: js, branch: new-naming-convention, size: 4083) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:06
[ddc90ae5f2] part of check-in [27b401c7c2] Update copyright (check-in: [27b401c7c2] user: js, branch: amiga-library, size: 4708) [annotate] [blame] [check-ins using] [diff]
22:04
[db049cd597] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 4089) [annotate] [blame] [check-ins using] [diff]
2020-10-04
15:00
[35e066feed] part of check-in [92335940e9] Merge trunk into branch "amiga-library" (check-in: [92335940e9] user: js, branch: amiga-library, size: 4797) [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
[a6d2486cab] part of check-in [163a4a5a2e] Use /** */ instead of /*! */ for documentation (check-in: [163a4a5a2e] user: js, branch: trunk, size: 4178) [annotate] [blame] [check-ins using] [diff]
2020-06-21
02:15
[30b6ddea45] part of check-in [9697334084] Make of_std{in,out,err} available in Amiga library

This is done by using functions that return a reference to the variable
and defining of_std{in,out,err} to a call into these functions. (check-in: [9697334084] user: js, branch: amiga-library, size: 4797) [annotate] [blame] [check-ins using] [diff]

2020-06-20
16:38
[22e16b8a6e] part of check-in [343501981b] OFStdIOStream: Add of_logv()

This is required for the Amiga library. (check-in: [343501981b] user: js, branch: amiga-library, size: 4465) [annotate] [blame] [check-ins using] [diff]

2020-05-28
00:15
[4b738f8353] part of check-in [d5eb0384c5] OFStdIOStream: Add -[hasTerminal] (check-in: [d5eb0384c5] user: js, branch: trunk, size: 4178) [annotate] [blame] [check-ins using] [diff]
2020-05-21
23:18
[3560f827f2] part of check-in [36960e428a] OFStdIOStream: Add more terminal control methods (check-in: [36960e428a] user: js, branch: trunk, size: 4068) [annotate] [blame] [check-ins using] [diff]
17:58
[3431628e4c] part of check-in [30d639a494] OFStdIOStream: Add support for setting fg/bg color (check-in: [30d639a494] user: js, branch: trunk, size: 3010) [annotate] [blame] [check-ins using] [diff]
2020-04-19
15:24
[0fa3bc5f34] part of check-in [f27905c199] Several documentation improvements (check-in: [f27905c199] user: js, branch: trunk, size: 2425) [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
[3916cd29d8] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 2187) [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
[98718edd0d] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 2184) [annotate] [blame] [check-ins using] [diff]
2018-08-16
22:33
[744909e9b5] part of check-in [7413f500db] Fix compilation for AmigaOS 4 (check-in: [7413f500db] user: js, branch: trunk, size: 2178) [annotate] [blame] [check-ins using] [diff]
2018-05-26
14:49
[71e9d3c2a0] part of check-in [b31bd48f90] Remove #define INTUITION_CLASSES_H hack

This has been fixed upstream in amiga-gcc. (check-in: [b31bd48f90] user: js, branch: trunk, size: 2180) [annotate] [blame] [check-ins using] [diff]

2018-05-13
19:24
[62b2bfde7a] 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: 2303) [annotate] [blame] [check-ins using] [diff]

2018-04-23
22:19
[25b6014eaa] part of check-in [b16fc262c0] Use more native AmigaOS APIs on AmigaOS 3 (check-in: [b16fc262c0] user: js, branch: trunk, size: 2295) [annotate] [blame] [check-ins using] [diff]
2018-04-22
16:13
[230fa44006] 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: 2180) [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
[acf0fa9e57] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 2217) [annotate] [blame] [check-ins using] [diff]
2017-11-19
11:04
[9c739b6c2b] part of check-in [69749b6a5b] Do not conform to OFReadyFor*Observing by default

Instead of letting OFStream conform to it, which itself does not really
conform to it, let all the subclasses that actually do conform to it. (check-in: [69749b6a5b] user: js, branch: trunk, size: 2194) [annotate] [blame] [check-ins using] [diff]

2017-11-18
18:50
[0ce400e3cf] part of check-in [cc3ad3ddd3] Documentation: Use @brief for all properties (check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 2043) [annotate] [blame] [check-ins using] [diff]
2017-10-29
21:58
[32be342324] part of check-in [f3ccf14461] Convert methods to properties where appropriate

This improves Swift compatibility. (check-in: [f3ccf14461] user: js, branch: trunk, size: 2024) [annotate] [blame] [check-ins using] [diff]

2017-10-17
00:33
[4a5715f270] 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: 2124) [annotate] [blame] [check-ins using] [diff]

2017-06-04
18:48
[791f773daf] part of check-in [c9621825fc] Treat MorphOS + ixemul as a separate platform

This reduces the ifdef hell and makes much more sense, as with ixemul,
no native calls are allowed. (check-in: [c9621825fc] user: js, branch: trunk, size: 2110) [annotate] [blame] [check-ins using] [diff]

2017-06-03
21:53
[5eecd0463f] part of check-in [ade26679ca] Fix two OF_ASSUME_NONNULL_BEGIN being too early (check-in: [ade26679ca] user: js, branch: trunk, size: 2167) [annotate] [blame] [check-ins using] [diff]
16:58
[d62ed4da32] part of check-in [3cba61d694] Make sockets work on MorphOS + libnix (check-in: [3cba61d694] user: js, branch: trunk, size: 2167) [annotate] [blame] [check-ins using] [diff]
2017-05-30
22:01
[20df83b805] part of check-in [c5c3df3abe] MorphOS: Name variable handle instead of fd (check-in: [c5c3df3abe] user: js, branch: trunk, size: 2125) [annotate] [blame] [check-ins using] [diff]
2017-05-28
18:57
[6bad6405ef] part of check-in [0dabf9dc62] Separate std{out,err} on MorphOS + libnix (check-in: [0dabf9dc62] user: js, branch: trunk, size: 2047) [annotate] [blame] [check-ins using] [diff]
2017-05-07
23:14
[76c0240823] part of check-in [16c05e87e1] Add OF_UNAVAILABLE (check-in: [16c05e87e1] user: js, branch: trunk, size: 1960) [annotate] [blame] [check-ins using] [diff]
20:10
[a701818e89] 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: 1936) [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
[529708bf9f] 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: 1935) [annotate] [blame] [check-ins using] [diff]

2016-10-08
15:57
[5aa96c816e] part of check-in [b317a4d56d] OFStdIOStream: Add -[columns] and -[rows] (check-in: [b317a4d56d] user: js, branch: trunk, size: 1929) [annotate] [blame] [check-ins using] [diff]
2016-03-12
20:28
[70525b9be4] part of check-in [3e1b6bccbc] Properly handle UTF-8 in Win32 console

The previous way was to set the codepage to UTF-8, however, this does
not work properly on some versions of Windows.

Instead, this catches reads / writes on of_std* on the lowlevel,
interprets it as UTF-8, converts it to / from UTF-16 and then uses
ReadConsoleW() / WriteConsoleW().

Surrogates being cut in the middle is not properly handled yet, this
will be implemented in a follow up commit. (check-in: [3e1b6bccbc] user: js, branch: trunk, size: 1497) [annotate] [blame] [check-ins using] [diff]

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

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

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

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

2015-11-21
18:35
[eb19e9f509] part of check-in [d526d938d7] Remove OF_NULLABLE / OF_NONNULL

Now that Clang switched to use _Nullable and _Nonnull instead of
__nullable / __nonnull, there is no longer a conflict with glibc, which
means we can just define _Nullable / _Nonnull to nothing if they are not
understood by the compiler (which did not work with __nullable /
__nonnull due to this conflict).

This also defines _Null_unspecified to nothing if unavailable. (check-in: [d526d938d7] user: js, branch: trunk, size: 1447) [annotate] [blame] [check-ins using] [diff]

2015-06-28
16:28
[d6e15b6412] part of check-in [5116342c0a] Add OF_SUBCLASSING_RESTRICTED (check-in: [5116342c0a] user: js, branch: trunk, size: 1453) [annotate] [blame] [check-ins using] [diff]
2015-06-14
10:45
[75654b8c7a] part of check-in [b7097a67b6] Add OF_NONNULL / OF_NULLABLE and use that instead

Using __nonnull directly doesn't work on systems using glibc, as glibc
defines __nonnull as a parameterized define. While this does not fix the
problem of Clang introducing __nonnull even though it conflicts with
glibc, this at least means it's possible again to compile things with
versions of Clang that don't support __nonnull on systems with glibc. (check-in: [b7097a67b6] user: js, branch: trunk, size: 1427) [annotate] [blame] [check-ins using] [diff]

2015-06-13
22:26
[1b4f95e1e9] part of check-in [9e76144ef8] Add support for and use the new nullability (check-in: [9e76144ef8] user: js, branch: trunk, size: 1424) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[004622bc57] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 1343) [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
[030863fdf4] part of check-in [246cfe0807] Documentation: Show correct imports (check-in: [246cfe0807] user: js, branch: trunk, size: 1337) [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
[8deb377ee3] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 1272) [annotate] [blame] [check-ins using] [diff]
2013-08-15
19:00
[191d7021a4] part of check-in [1d7a1cbca0] Move private methods into private headers. (check-in: [1d7a1cbca0] user: js, branch: trunk, size: 1266) [annotate] [blame] [check-ins using] [diff]
2013-08-13
10:39
[b9d05c835c] part of check-in [73ae6fa60f] Add a few more instancetypes. (check-in: [73ae6fa60f] user: js, branch: trunk, size: 1319) [annotate] [blame] [check-ins using] [diff]
2013-06-30
23:25
[cff734a988] part of check-in [44adc37c7b] Document of_std{in,out,err} in OFStdIOStream. (check-in: [44adc37c7b] user: js, branch: trunk, size: 1305) [annotate] [blame] [check-ins using] [diff]
2013-04-27
01:26
Added: [a177a89d97] part of check-in [085bfc12a0] Add OFStdIOStream.

This is used for of_std{in,out,err} now instead of OFFile. (check-in: [085bfc12a0] user: js, branch: trunk, size: 1170) [annotate] [blame] [check-ins using]