History of file src/OFStdIOStream.m at check-in a4acd52c17cda8e8
2024-05-20
| ||
17:21 | Add ObjFWHID subframework with OFGameController file: [0d243895a1] check-in: [d901707b57] user: js, branch: trunk, size: 14636 [annotate] [blame] [check-ins using] [diff] | |
10:45 | OFStdIOStream: Use bottom screen on 3DS file: [9a91a13c79] check-in: [3bc1f4ac3c] user: js, branch: gamecontroller, size: 14789 [annotate] [blame] [check-ins using] [diff] | |
10:29 | Move +[waitForConsoleVBlank] to OFThread file: [e861d0675e] check-in: [684435a48d] user: js, branch: gamecontroller, size: 14786 [annotate] [blame] [check-ins using] [diff] | |
03:37 | OFStdIOStream: Add two methods for game consoles file: [a1da571ef3] check-in: [d693276d79] user: js, branch: gamecontroller, size: 14950 [annotate] [blame] [check-ins using] [diff] | |
2024-05-19
| ||
00:06 | OFStdIOStream: Fix some colors on 3DS file: [eed361108a] check-in: [303014c878] user: js, branch: trunk, size: 13786 [annotate] [blame] [check-ins using] [diff] | |
2024-05-05
| ||
19:04 |
OFStdIOStream: Add special case for column 0
Use "\r" instead of the ANSI escape code if the column is 0. This fixes the output of the tests on 3DS. file: [4854e57444] check-in: [1c2fe75e6e] user: js, branch: trunk, size: 13633 [annotate] [blame] [check-ins using] [diff] | |
2024-04-03
| ||
02:16 | Change license to LGPLv3 only file: [2edbd17f16] check-in: [7413a728a7] user: js, branch: trunk, size: 13579 [annotate] [blame] [check-ins using] [diff] | |
2024-03-28
| ||
14:33 | OFStdIOStream: Handle colors properly on MS-DOS file: [614b264e14] check-in: [831e85a953] user: js, branch: trunk, size: 13371 [annotate] [blame] [check-ins using] [diff] | |
2024-03-27
| ||
23:45 | OFStdIOStream: Implement cursor movement on MS-DOS file: [2764157a42] check-in: [943e9c0956] user: js, branch: trunk, size: 11444 [annotate] [blame] [check-ins using] [diff] | |
2024-02-15
| ||
22:34 | ObjFWTest: Implement output on Nintendo Switch file: [4e9d096bab] check-in: [dd7079d092] user: js, branch: objfwtest, size: 11004 [annotate] [blame] [check-ins using] [diff] | |
22:13 | ObjFWTest: Implement output on Nintendo DS file: [637dec590d] check-in: [b93ad0661b] user: js, branch: objfwtest, size: 10967 [annotate] [blame] [check-ins using] [diff] | |
2024-02-14
| ||
23:55 | ObjFWTest: Implement output on Nintendo 3DS file: [44aae29ab2] check-in: [12d7d274f1] user: js, branch: objfwtest, size: 10940 [annotate] [blame] [check-ins using] [diff] | |
22:28 | ObjFWTest: Implement output on Wii file: [ca9e9a8b30] check-in: [87d92e4803] user: js, branch: objfwtest, size: 10912 [annotate] [blame] [check-ins using] [diff] | |
2024-02-03
| ||
09:04 | OFColor: Rename +[grey] to +[gray] file: [4bd5de9454] check-in: [881d570d8c] user: js, branch: trunk, size: 11322 [annotate] [blame] [check-ins using] [diff] | |
2024-01-02
| ||
17:17 | Update copyright file: [b97df9550f] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 11322 [annotate] [blame] [check-ins using] [diff] | |
2023-08-30
| ||
11:45 | Merge trunk into branch "amiga-library" file: [b2df06c961] check-in: [5ea06b70ce] user: js, branch: amiga-library, size: 11598 [annotate] [blame] [check-ins using] [diff] | |
2023-08-05
| ||
09:04 |
Remove hacks in headers for C compatibility
A better approach would probably be to have a separate header which | |
2023-07-15
| ||
20:57 | Merge trunk into branch "amiga-library" file: [529c4f7d2f] check-in: [860b0bf1e9] user: js, branch: amiga-library, size: 11599 [annotate] [blame] [check-ins using] [diff] | |
2023-06-05
| ||
19:40 | Fix MorphOS build file: [3c1f5e2bd8] check-in: [62d8cbe31f] user: js, branch: trunk, size: 11323 [annotate] [blame] [check-ins using] [diff] | |
2023-04-10
| ||
15:08 | Work around newer amiga-gcc defining Class file: [35cce49f46] check-in: [abbed5c008] user: js, branch: trunk, size: 11335 [annotate] [blame] [check-ins using] [diff] | |
2023-01-06
| ||
09:04 | Update copyright file: [4a2c070d4b] check-in: [8939cbdb52] user: js, branch: trunk, size: 11291 [annotate] [blame] [check-ins using] [diff] | |
2022-11-15
| ||
23:09 | Merge trunk into branch "amiga-library" file: [9ab60802c8] check-in: [a151c9797b] user: js, branch: amiga-library, size: 11567 [annotate] [blame] [check-ins using] [diff] | |
2022-11-13
| ||
11:58 | OFLog: Use ? instead of (nil) for nil programName file: [f65f83622c] check-in: [8fbbf1dbea] user: js, branch: trunk, size: 11291 [annotate] [blame] [check-ins using] [diff] | |
2022-10-18
| ||
22:17 | Merge trunk into branch "amiga-library" file: [bc85c7051b] check-in: [ac19ed9d40] user: js, branch: amiga-library, size: 11537 [annotate] [blame] [check-ins using] [diff] | |
2022-07-31
| ||
16:48 | OFStdIOStream: Use OSConsoleWrite() on Wii U file: [ef45e21ee6] check-in: [abb642bba9] user: js, branch: wii-u, size: 11261 [annotate] [blame] [check-ins using] [diff] | |
2022-02-12
| ||
07:46 | Update copyright file: [f006bf536d] check-in: [1a86b8175b] user: js, branch: trunk, size: 10143 [annotate] [blame] [check-ins using] [diff] | |
2021-05-13
| ||
15:20 | Add OFLogV() file: [3842c52bb2] check-in: [323ec38f36] user: js, branch: trunk, size: 10143 [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 | |
2021-04-18
| ||
22:56 | Rename all symbols marked extern file: [a9dd0b73a2] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 10052 [annotate] [blame] [check-ins using] [diff] | |
21:12 | OF_RETAIN_COUNT_MAX -> OFMaxRetainCount file: [6e155b4549] check-in: [b06b86d6f9] user: js, branch: new-naming-convention, size: 10069 [annotate] [blame] [check-ins using] [diff] | |
2021-04-17
| ||
00:54 | of_point_t -> OFPoint file: [4b65dc7955] check-in: [3524409dd0] user: js, branch: new-naming-convention, size: 10072 [annotate] [blame] [check-ins using] [diff] | |
2021-03-07
| ||
20:25 | *.m: Fold methods into one line where it fits file: [56aed5bccb] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 10078 [annotate] [blame] [check-ins using] [diff] | |
2021-01-02
| ||
22:06 | Update copyright file: [470dd5a9cf] check-in: [27b401c7c2] user: js, branch: amiga-library, size: 10477 [annotate] [blame] [check-ins using] [diff] | |
22:04 | Update copyright file: [4f22007bd2] check-in: [374e1a1bfa] user: js, branch: trunk, size: 10096 [annotate] [blame] [check-ins using] [diff] | |
2020-07-06
| ||
23:50 | Merge trunk into branch "amiga-library" file: [73bfd58144] check-in: [c536c268a0] user: js, branch: amiga-library, size: 10566 [annotate] [blame] [check-ins using] [diff] | |
2020-06-24
| ||
22:30 |
OFStdIOStream: Don't use isatty() on iOS
When having Xcode attached to see the log, isatty() returns true, but | |
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 | |
2020-06-20
| ||
16:38 |
OFStdIOStream: Add of_logv()
This is required for the Amiga library. file: [3648853d0b] check-in: [343501981b] user: js, branch: amiga-library, size: 10516 [annotate] [blame] [check-ins using] [diff] | |
2020-05-28
| ||
00:15 | OFStdIOStream: Add -[hasTerminal] file: [26a72da19c] check-in: [d5eb0384c5] user: js, branch: trunk, size: 10423 [annotate] [blame] [check-ins using] [diff] | |
2020-05-24
| ||
15:54 | Add terminal control methods for Windows file: [0a4af80293] check-in: [40f58c637b] user: js, branch: trunk, size: 10300 [annotate] [blame] [check-ins using] [diff] | |
2020-05-22
| ||
22:25 | Fix build on AmigaOS and devkitPro file: [a1f25bd1bf] check-in: [f3aa57bcc6] user: js, branch: trunk, size: 10172 [annotate] [blame] [check-ins using] [diff] | |
2020-05-21
| ||
23:18 | OFStdIOStream: Add more terminal control methods file: [8f827abbc3] check-in: [36960e428a] user: js, branch: trunk, size: 9902 [annotate] [blame] [check-ins using] [diff] | |
17:58 | OFStdIOStream: Add support for setting fg/bg color file: [d3ca10c178] check-in: [30d639a494] user: js, branch: trunk, size: 8888 [annotate] [blame] [check-ins using] [diff] | |
2020-01-14
| ||
00:16 |
More consistent -[close] behavior
This means refusing to close twice, calling -[close] from -[dealloc] and Calling -[cancelAsyncRequests] in -[close] is too dangerous, as -[close] | |
2020-01-02
| ||
01:51 | Update copyright file: [4ead6e5d4b] check-in: [c7f0229795] user: js, branch: trunk, size: 7234 [annotate] [blame] [check-ins using] [diff] | |
2019-08-10
| ||
02:06 | Clean up the AmigaOS 4 library mess file: [eb42ab9d24] check-in: [3292a6fdbc] user: js, branch: trunk, size: 7231 [annotate] [blame] [check-ins using] [diff] | |
2019-06-17
| ||
02:33 | Remove underscores from class names file: [7b4906ae53] check-in: [17d57e01ff] user: js, branch: trunk, size: 7936 [annotate] [blame] [check-ins using] [diff] | |
2019-04-21
| ||
09:58 | Fix compilation on AmigaOS 4 with 53.30 SDK file: [29dc6410b2] check-in: [50a6ffd4b1] user: js, branch: trunk, size: 7939 [annotate] [blame] [check-ins using] [diff] | |
2019-03-24
| ||
13:19 |
Derive of_std{in,out,err} from std{in,out,err}
Previously, this just assumed the existance of file descriptors 0, 1 and | |
2019-03-08
| ||
00:35 | Use dot syntax file: [416043c557] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 7740 [annotate] [blame] [check-ins using] [diff] | |
2019-01-03
| ||
19:13 | Update copyright file: [0fdbb22bb2] check-in: [0509d7a844] user: js, branch: trunk, size: 7744 [annotate] [blame] [check-ins using] [diff] | |
2018-08-17
| ||
01:17 |
AmigaOS 4: Do not use libauto
libauto loads the libraries too late. file: [c5d7e54168] check-in: [d71abc5366] user: js, branch: trunk, size: 7738 [annotate] [blame] [check-ins using] [diff] | |
2018-08-16
| ||
22:33 | Fix compilation for AmigaOS 4 file: [ecf0064eb3] check-in: [7413f500db] user: js, branch: trunk, size: 7013 [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: [5e211fc7f6] check-in: [b31bd48f90] user: js, branch: trunk, size: 6965 [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 | |
2018-04-23
| ||
22:19 | Use more native AmigaOS APIs on AmigaOS 3 file: [6647a44cbe] check-in: [b16fc262c0] user: js, branch: trunk, size: 7023 [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, This still defines BOOL to bool for compatibility, except on AmigaOS and | |
2018-03-11
| ||
00:37 |
OFString: Move path handling into a category
This is the first step to have different versions of those for different This also has the nice side-effect of not having one implementation in | |
2018-01-03
| ||
19:49 | Update copyright notice file: [0a2b2bbcab] check-in: [7e5c81e186] user: js, branch: trunk, size: 6933 [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 | |
2017-09-24
| ||
12:24 | OFStream: Add support for async writes file: [f210109307] check-in: [481225349f] user: js, branch: trunk, size: 6868 [annotate] [blame] [check-ins using] [diff] | |
2017-06-12
| ||
22:29 |
OFWriteFailedException: Add -[bytesWritten]
This allows retrieving the number of bytes already written before the | |
2017-06-05
| ||
17:36 |
Clean up exceptions a little
This removes several initializers that omitted the errNo. Removing those | |
15:51 |
OFStream: Don't throw when at end of stream
Instead, let reads return 0 and let writes append after the end. file: [fac79ea11f] check-in: [f9cd4f9cab] user: js, branch: trunk, size: 6626 [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, | |
2017-06-03
| ||
16:58 | Make sockets work on MorphOS + libnix file: [ac607c5f45] check-in: [3cba61d694] user: js, branch: trunk, size: 7094 [annotate] [blame] [check-ins using] [diff] | |
15:03 |
Include unistd.h on MorphOS + libnix
It turns out that including unistd.h does work when defining BOOL to | |
2017-05-30
| ||
22:01 | MorphOS: Name variable handle instead of fd file: [f28a278b7e] check-in: [c5c3df3abe] user: js, branch: trunk, size: 7200 [annotate] [blame] [check-ins using] [diff] | |
2017-05-28
| ||
18:57 | Separate std{out,err} on MorphOS + libnix file: [1049054022] check-in: [0dabf9dc62] user: js, branch: trunk, size: 6438 [annotate] [blame] [check-ins using] [diff] | |
12:54 | Only use AmigaDOS directly when not using ixemul file: [37f14b4e93] check-in: [4258b6f227] user: js, branch: trunk, size: 5422 [annotate] [blame] [check-ins using] [diff] | |
2017-05-27
| ||
14:45 |
OFStdIOStream: Use AmigaDOS directly on MorphOS
This is necessary for using -noixemul. file: [b0cc705195] check-in: [614c6678e8] user: js, branch: trunk, size: 5341 [annotate] [blame] [check-ins using] [diff] | |
10:33 | Add unistd.h wrapper to make things less horrible file: [cecae3f90d] check-in: [d31ec806ef] user: js, branch: trunk, size: 4592 [annotate] [blame] [check-ins using] [diff] | |
10:08 | Make things work with glibc 2.17 and Clang 3.4.2 file: [f40b730d75] check-in: [ec36a82d68] user: js, branch: trunk, size: 4756 [annotate] [blame] [check-ins using] [diff] | |
2017-05-22
| ||
23:31 | Make includes of unistd.h and fcntl.h conditional file: [2c73c952bc] check-in: [1287e77e04] user: js, branch: trunk, size: 4778 [annotate] [blame] [check-ins using] [diff] | |
2017-05-21
| ||
21:28 |
Prefix private methods with of_ instead of OF_
This matches Apple's style. file: [d6e666357c] check-in: [6b77a5dd8b] user: js, branch: trunk, size: 4748 [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: [5324fa0d07] check-in: [4af49a13c3] user: js, branch: trunk, size: 4748 [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 | |
2016-10-08
| ||
15:57 | OFStdIOStream: Add -[columns] and -[rows] file: [97ab3c33fb] check-in: [b317a4d56d] user: js, branch: trunk, size: 4740 [annotate] [blame] [check-ins using] [diff] | |
2016-09-12
| ||
00:27 | Add OF_DEALLOC_UNSUPPORTED macro file: [9d5e101a97] check-in: [13f4c6c678] user: js, branch: trunk, size: 4248 [annotate] [blame] [check-ins using] [diff] | |
2016-06-07
| ||
22:56 |
Add support for reusing OFStreams after close
Right now, this is only useful for OFTCPSocket, as this is the only | |
2016-05-28
| ||
11:37 |
Add a reference to OFStdIOStream_Win32Console
This is required for static linking, as otherwise | |
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 Instead, this catches reads / writes on of_std* on the lowlevel, Surrogates being cut in the middle is not properly handled yet, this | |
2016-02-28
| ||
15:31 | OFStdIOStream: Set codepage to UTF-8 on Windows file: [b1b921ad96] check-in: [0a001bfd7b] user: js, branch: trunk, size: 4555 [annotate] [blame] [check-ins using] [diff] | |
2016-01-03
| ||
00:43 |
Update copyright
While at it, also update the mail address. file: [607fc70586] check-in: [cec0f072f8] user: js, branch: 0.8, size: 4103 [annotate] [blame] [check-ins using] [diff] | |
00:41 |
Update copyright
While at it, also update the mail address. file: [03a4b1227f] check-in: [2a27cf3000] user: js, branch: trunk, size: 4092 [annotate] [blame] [check-ins using] [diff] | |
2015-11-29
| ||
14:23 |
Clean up class extensions
Now that we can require GCC >= 4.6, we no longer need to fall back to | |
2015-10-19
| ||
22:15 | Add platform.h & make platform defines consistent file: [18f864f44a] check-in: [1ba08eebc5] user: js, branch: trunk, size: 4107 [annotate] [blame] [check-ins using] [diff] | |
2015-10-04
| ||
11:30 | Better length checks for write / send calls file: [8e10193c2f] check-in: [fc73801932] user: js, branch: trunk, size: 4099 [annotate] [blame] [check-ins using] [diff] | |
2015-02-16
| ||
08:39 |
Explicitly pass errno to exceptions
The old behaviour where the exception would access errno directly on This also greatly increases errno handling on Win32, especially in | |
2015-01-03
| ||
20:57 | Update copyright file: [ba7c43016e] check-in: [cfd374b906] user: js, branch: trunk, size: 3789 [annotate] [blame] [check-ins using] [diff] | |
2014-06-21
| ||
21:43 |
Move all macros from OFObject.h to macros.h
This means that OFObject.h imports macros.h now, making it unnecessary | |
2014-05-29
| ||
21:27 | Work around __block being used by old glibc file: [13750b442d] check-in: [d1e559b643] user: js, branch: trunk, size: 3827 [annotate] [blame] [check-ins using] [diff] | |
2014-04-26
| ||
00:40 |
Fix a few issues on LLP64 and Win64
LLP64 was mostly fast enumeration using an unsigned long for the state, Win64 was mostly Microsoft not being able to decide whether a length is | |
2014-04-08
| ||
16:38 | runtime/hashtable.m: Move some code around file: [8d9bbeeba6] check-in: [f447af977a] user: js, branch: trunk, size: 3062 [annotate] [blame] [check-ins using] [diff] | |
2014-01-25
| ||
17:39 |
Generalize stream / socket related exceptions
This is in preparation for adding UDP sockets, as UDP sockets and TCP Read and write exceptions are for any object now, as they are useful for | |
2014-01-04
| ||
00:24 | Update copyright. file: [8f40232493] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 3060 [annotate] [blame] [check-ins using] [diff] | |
2013-11-23
| ||
01:27 | Add OF_UNRECOGNIZED_SELECTOR. file: [dd795e3790] check-in: [6e19bd47ee] user: js, branch: trunk, size: 3054 [annotate] [blame] [check-ins using] [diff] | |
01:12 | Add OF_INVALID_INIT_METHOD. file: [953debbd4d] check-in: [35dafd5c57] user: js, branch: trunk, size: 3098 [annotate] [blame] [check-ins using] [diff] | |
2013-08-15
| ||
19:00 | Move private methods into private headers. file: [26b8ba6e3e] check-in: [1d7a1cbca0] user: js, branch: trunk, size: 3167 [annotate] [blame] [check-ins using] [diff] | |
2013-08-13
| ||
10:39 | Add a few more instancetypes. file: [7fe2743d3d] check-in: [73ae6fa60f] user: js, branch: trunk, size: 3062 [annotate] [blame] [check-ins using] [diff] | |
2013-06-22
| ||
12:12 |
Rework exceptions.
This mostly removes the argument for the class in which the exception This also removes a few other arguments which were not too helpful. In | |
2013-04-27
| ||
01:26 |
Added:
Add OFStdIOStream.
This is used for of_std{in,out,err} now instead of OFFile. file: [f5689e7f1a] check-in: [085bfc12a0] user: js, branch: trunk, size: 3105 [annotate] [blame] [check-ins using] | |