ObjFW  History of src/OFStdIOStream.h of 112d9a496fc3d01f

History of file src/OFStdIOStream.h at check-in 112d9a496fc3d01f

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [f0ad17ce79] check-in: [164f2fb4bf] user: js, branch: trunk, size: 5037 [annotate] [blame] [check-ins using] [diff]
2024-05-20
10:29
Move +[waitForConsoleVBlank] to OFThread file: [6c775cbf62] check-in: [684435a48d] user: js, branch: gamecontroller, size: 5045 [annotate] [blame] [check-ins using] [diff]
03:37
OFStdIOStream: Add two methods for game consoles file: [bf6a6dd043] check-in: [d693276d79] user: js, branch: gamecontroller, size: 5219 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [b6911b0606] check-in: [7413a728a7] user: js, branch: trunk, size: 4703 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [ae9c3b4c20] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 4495 [annotate] [blame] [check-ins using] [diff]
2023-07-15
20:57
Merge trunk into branch "amiga-library" file: [cf87acec37] check-in: [860b0bf1e9] user: js, branch: amiga-library, size: 4812 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [2d2c98a668] check-in: [8939cbdb52] user: js, branch: trunk, size: 4495 [annotate] [blame] [check-ins using] [diff]
2022-10-18
22:17
Merge trunk into branch "amiga-library" file: [04d80731e3] check-in: [ac19ed9d40] user: js, branch: amiga-library, size: 4812 [annotate] [blame] [check-ins using] [diff]
2022-07-31
16:48
OFStdIOStream: Use OSConsoleWrite() on Wii U file: [2dc46172ae] check-in: [abb642bba9] user: js, branch: wii-u, size: 4495 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [fc2f501857] check-in: [1a86b8175b] user: js, branch: trunk, size: 4449 [annotate] [blame] [check-ins using] [diff]
2021-05-13
20:13
Merge trunk into branch "amiga-library" file: [530102ab2e] check-in: [08361ff875] user: js, branch: amiga-library, size: 4766 [annotate] [blame] [check-ins using] [diff]
15:20
Add OFLogV() file: [95e440fa88] check-in: [323ec38f36] user: js, branch: trunk, size: 4449 [annotate] [blame] [check-ins using] [diff]
2021-05-09
14:45
Merge trunk into branch "amiga-library"

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

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

2020-06-20
16:38
OFStdIOStream: Add of_logv()

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

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

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

2018-05-13
19:24
platform.h: Rename OF_AMIGAOS3 to OF_AMIGAOS_M68K

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

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

2018-01-03
19:49
Update copyright notice file: [acf0fa9e57] check-in: [7e5c81e186] user: js, branch: trunk, size: 2217 [annotate] [blame] [check-ins using] [diff]
2017-11-19
11:04
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. file: [9c739b6c2b] check-in: [69749b6a5b] user: js, branch: trunk, size: 2194 [annotate] [blame] [check-ins using] [diff]

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

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

2017-10-17
00:33
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. file: [4a5715f270] check-in: [2f4e0df8be] user: js, branch: trunk, size: 2124 [annotate] [blame] [check-ins using] [diff]

2017-06-04
18:48
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. file: [791f773daf] check-in: [c9621825fc] user: js, branch: trunk, size: 2110 [annotate] [blame] [check-ins using] [diff]

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

Casts are now written like types in variable declarations. file: [a701818e89] check-in: [4af49a13c3] user: js, branch: trunk, size: 1936 [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: [529708bf9f] check-in: [44f45c2e35] user: js, branch: trunk, size: 1935 [annotate] [blame] [check-ins using] [diff]

2016-10-08
15:57
OFStdIOStream: Add -[columns] and -[rows] file: [5aa96c816e] check-in: [b317a4d56d] user: js, branch: trunk, size: 1929 [annotate] [blame] [check-ins using] [diff]
2016-03-12
20:28
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. file: [70525b9be4] check-in: [3e1b6bccbc] user: js, branch: trunk, size: 1497 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-11-21
18:35
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. file: [eb19e9f509] check-in: [d526d938d7] user: js, branch: trunk, size: 1447 [annotate] [blame] [check-ins using] [diff]

2015-06-28
16:28
Add OF_SUBCLASSING_RESTRICTED file: [d6e15b6412] check-in: [5116342c0a] user: js, branch: trunk, size: 1453 [annotate] [blame] [check-ins using] [diff]
2015-06-14
10:45
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. file: [75654b8c7a] check-in: [b7097a67b6] user: js, branch: trunk, size: 1427 [annotate] [blame] [check-ins using] [diff]

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

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