Rev |
Age |
Author |
Path |
Log message |
Diff |
4590 |
5529 d 21 h |
decky |
/trunk/uspace/lib/libc/generic/io/ |
set buffering according to what file descriptor we are opening
(this still does not cover the full complexity of stdio buffering) |
|
4556 |
5540 d 22 h |
decky |
/trunk/ |
define endianess externally to be able to exactly specify whether we are using UTF-32LE or UTF-32BE
quit messing with BOM in UTF-32 |
|
4541 |
5543 d 9 h |
svoboda |
/trunk/uspace/ |
Stdio stream buffering (only for writing a.t.m.) Issue: Do we need two moving delimiters (head, tail) to recover from error or is one moving data delimiter enough, like in the current implementation? (Where the buffer must be drained as a whole, cannot do it part at a time. |
|
4523 |
5548 d 11 h |
decky |
/trunk/uspace/lib/libc/generic/io/ |
remove obsolete terminology |
|
4514 |
5549 d 19 h |
decky |
/trunk/uspace/lib/libc/ |
simple implementation of fdopen() and rewind() |
|
4512 |
5550 d 11 h |
decky |
/trunk/uspace/lib/libc/generic/io/ |
cstyle |
|
4511 |
5550 d 11 h |
svoboda |
/trunk/uspace/lib/libc/generic/io/ |
getchar() and fgetc() are traditionally supposed to flush stdout and stderr. |
|
4509 |
5550 d 17 h |
decky |
/trunk/uspace/ |
rename libadt -> adt |
|
4508 |
5550 d 18 h |
decky |
/trunk/uspace/lib/libc/ |
keep a list of open files to support proper cleanup |
|
4492 |
5554 d 20 h |
jermar |
/trunk/uspace/ |
inode_t -> fdi_node_t |
|
4491 |
5555 d 8 h |
decky |
/trunk/uspace/ |
rename libc's fs_node_t to inode_t to avoid type conflict with VFS |
|
4482 |
5555 d 11 h |
decky |
/trunk/uspace/lib/libc/ |
I/O subsystem overhaul:
- add more POSIX-like file and stream functions (with real functionality of stdin, stdout, stderr)
- cleanup console access methods (now generic to any console-like device)
- remove unsafe stream functions
- add special open_node(), fd_node(), fd_phone() (file) and fopen_node(), fnode(), fphone() (stream) functions for HelenOS-specific I/O operations |
|
4353 |
5586 d 22 h |
svoboda |
/trunk/uspace/lib/libc/ |
klog_puts() is useful for debugging. |
|
4317 |
5595 d 23 h |
decky |
/trunk/ |
use buffering for klog output (this can be used to avoid the ugly usleeps while starting tasks)
unify and cleanup console.c and related files |
|
4245 |
5613 d 15 h |
decky |
/trunk/uspace/lib/libc/ |
sync with kernel |
|
4239 |
5614 d 15 h |
svoboda |
/trunk/uspace/ |
Make Czech layout work partially in bdsh. |
|
4234 |
5615 d 8 h |
svoboda |
/trunk/ |
Copy printf with Unicode support to userspace. |
|
4164 |
5629 d 19 h |
svoboda |
/trunk/uspace/ |
Buffer console output with line granularity. Makes esp. msim/ski console faster. EGA-fb needs fixing. |
|
4160 |
5630 d 10 h |
jermar |
/trunk/uspace/ |
Improve the console library functions. |
|
4154 |
5632 d 8 h |
svoboda |
/trunk/uspace/ |
Consolidate console interface. |
|
4002 |
5648 d 13 h |
decky |
/trunk/uspace/lib/libc/ |
add IPC_FLAG_BLOCKING for generic IPC blocking operations
add ipc_connect_me_to_blocking() for blocking connections
mount() has new flags argument
get_cons_phone() -> get_console_phone()
add common console_wait()
simplify vfs_connect() using blocking connection
add blocking support for device_get_handle()
swap VFS_MOUNT arguments, and blocking mount support |
|
3923 |
5661 d 7 h |
svoboda |
/trunk/ |
Keyboard driver overhaul -- organize by hardware structure. This is w.i.p. Modifier keys, as well as ppc32, ia64 and sparc64 will not work yet. |
|
3905 |
5663 d 8 h |
svoboda |
/trunk/uspace/ |
Keycodes, keyboard events, kbd_event_get(). Keyboard driver now (formally) produces kbd events (press/release, keycode, mods, char) instead of just characters. In reality, the driver and client are only hacked to work with the new interface atm. |
|
3758 |
5711 d 7 h |
svoboda |
/trunk/uspace/ |
fprintf(), vfprintf(). |
|
3757 |
5711 d 17 h |
svoboda |
/trunk/uspace/ |
fgetc(), fputc(), fputs(), fseek(). |
|
3756 |
5711 d 19 h |
svoboda |
/trunk/uspace/ |
Some ANSI C stream functions (stdio). |
|
3747 |
5714 d 11 h |
svoboda |
/trunk/uspace/ |
Put console IPC method numbers under libc. |
|
3351 |
5840 d 13 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
Cstyle and formatting changes. |
|
3348 |
5840 d 20 h |
jermar |
/trunk/uspace/lib/libc/ |
Add asprintf(). |
|
3347 |
5840 d 20 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
printf_putstr() must return the number of characters printed. |
|
3222 |
5885 d 14 h |
svoboda |
/trunk/ |
Merge program-loader related stuff from dynload branch to trunk. (huge) |
|
3117 |
5916 d 17 h |
svoboda |
/trunk/uspace/ |
Make getchar() and tester behave sanely when there's no console. |
|
3112 |
5917 d 7 h |
decky |
/trunk/uspace/ |
uspace klog |
|
3075 |
5920 d 16 h |
decky |
/trunk/uspace/lib/libc/ |
use klog output until uspace console is available |
|
2670 |
6080 d 8 h |
jermar |
/trunk/uspace/ |
Move the open(), read() and write() provided by streams.c away so that
these functions won't clash with the real open(), read() and write(), which are
soon to be provided by a libvfs library. Applications can now use open_stdin(),
open_stdout(), read_stdin() and write_stdout(). Later, there might be an option
of providing a custom console file system, which will work similarly to how
streams' open(), read() and write() worked. |
|
2669 |
6080 d 9 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
Remove file.c. |
|
2635 |
6104 d 11 h |
cejka |
/trunk/ |
Function ipc_connect_me_to sends 3 user defined arguments now.
One argument added also to ipc_forward_fast.
Fixed devmap and improved its test. |
|
2621 |
6114 d 15 h |
jermar |
/trunk/uspace/ |
Modify the async framework to make use of all six syscall arguments.
Supply user-friendly macros as in previous cases. |
|
2570 |
6163 d 16 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
Fix a bug in interpretation of precision when printing strings. Fix cstyle. |
|
2541 |
6170 d 18 h |
jermar |
/trunk/uspace/ |
Header cleanup.
Move off_t, size_t and ssize_t into sys/types.h.
Get rid off the non-standard and dummy types.h. |
|