Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4541 |
5671 d 21 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. |
|
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/include/stdio.h
|
4496 |
5683 d 2 h |
decky |
/trunk/uspace/ |
be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files |
|
/trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c /trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/generic/mem.c /trunk/uspace/srv/ns/clonable.c /trunk/uspace/srv/ns/ns.c
|
4486 |
5683 d 23 h |
decky |
/trunk/uspace/app/bdsh/ |
bdsh: sync with I/O changes, block until spawned task exits |
|
/trunk/uspace/app/bdsh/cmds/modules/kcon/kcon.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c
|
4266 |
5738 d 20 h |
svoboda |
/trunk/uspace/ |
strdup() -> str_dup() |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/string.h
|
4264 |
5738 d 21 h |
svoboda |
/trunk/uspace/ |
Nuke strcpy() and strcmp(). |
|
/trunk/uspace/app/bdsh/cmds/builtin_cmds.c /trunk/uspace/app/bdsh/cmds/mod_cmds.c /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/devmap/devmap1.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/include/stdio.h /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/devmap/devmap.c /trunk/uspace/srv/fs/fat/fat_dentry.c /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c /trunk/uspace/srv/loader/main.c /trunk/uspace/srv/pci/libpci/names.c /trunk/uspace/srv/rd/rd.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4255 |
5740 d 23 h |
svoboda |
/trunk/uspace/app/bdsh/ |
Read UCS chars in bdsh and encode them. (bdsh is still largely ignorant of UCS but it will work somehow with the characters now). |
|
/trunk/uspace/app/bdsh/input.c
|
4239 |
5743 d 3 h |
svoboda |
/trunk/uspace/ |
Make Czech layout work partially in bdsh. |
|
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/print/print4.c /trunk/uspace/lib/libc/Makefile.toolchain /trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/generic/io/io.c /trunk/uspace/lib/libc/include/console.h /trunk/uspace/srv/kbd/layout/cz.c
|
3980 |
5779 d 3 h |
svoboda |
/trunk/uspace/app/bdsh/ |
The command line should ignore Tab. |
|
/trunk/uspace/app/bdsh/input.c
|
3813 |
5816 d 4 h |
post |
/trunk/uspace/app/bdsh/ |
Get rid of cli_strdup(), cli_strtok(), cli_strtok_r(), just use facilities in libc |
|
/trunk/uspace/app/bdsh/AUTHORS /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3812 |
5816 d 11 h |
post |
/trunk/uspace/app/bdsh/ |
Get rid of cli_restricted and cli_interactive |
|
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/scli.c
|
3809 |
5816 d 11 h |
post |
/trunk/uspace/app/bdsh/ |
Eliminate 'restrict' from command structure, get rid of needless aliases.
Order of search is builtin -> module -> external, there is no need to
restrict commands to (non)interative shells only any longer. |
|
/trunk/uspace/app/bdsh/cmds/builtin_cmds.c /trunk/uspace/app/bdsh/cmds/builtins/builtin_aliases.h /trunk/uspace/app/bdsh/cmds/builtins/cd/cd_def.h /trunk/uspace/app/bdsh/cmds/cmds.h /trunk/uspace/app/bdsh/cmds/mod_cmds.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat_def.h /trunk/uspace/app/bdsh/cmds/modules/cp/cp_def.h /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/help/help_def.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls_def.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir_def.h /trunk/uspace/app/bdsh/cmds/modules/module_aliases.h /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd_def.h /trunk/uspace/app/bdsh/cmds/modules/quit/quit.c /trunk/uspace/app/bdsh/cmds/modules/quit/quit_def.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm_def.h /trunk/uspace/app/bdsh/cmds/modules/sleep/sleep_def.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch_def.h /trunk/uspace/app/bdsh/input.c
|
3767 |
5837 d 5 h |
svoboda |
/trunk/uspace/ |
Console color support overhaul. Create C library console interface. |
|
/trunk/uspace/lib/libc/generic/console.c /trunk/uspace/lib/libc/include/console /trunk/uspace/lib/libc/include/console.h /trunk/uspace/lib/libc/include/console/color.h /trunk/uspace/lib/libc/include/console/style.h
/trunk/uspace/app/bdsh/input.c /trunk/uspace/app/tester/console/console1.c /trunk/uspace/app/tetris/screen.c /trunk/uspace/app/trace/trace.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/include/ipc/console.h /trunk/uspace/lib/libc/include/ipc/fb.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/console/screenbuffer.c /trunk/uspace/srv/console/screenbuffer.h /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/serial_console.c
|
3372 |
5963 d 10 h |
post |
/trunk/uspace/app/bdsh/ |
More house cleaning, don't expose beyond what's needed |
|
/trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/exec.h /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/input.h /trunk/uspace/app/bdsh/scli.h
|
3366 |
5964 d 13 h |
post |
/trunk/uspace/app/bdsh/ |
Housekeeping list, complete lingering things before they get forgotten:
* cli_*() now sets a global cli_errno, error functions cleaned up
* Finish internal cli_*() functions in util.c
* Don't expose cli_init() or cli_finit()
* Get rid of unused globals
* Don't set globals in commands themselves
* Update README files
* Fix stale comments |
|
/trunk/uspace/app/bdsh/cmds/builtins/README /trunk/uspace/app/bdsh/cmds/modules/README /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/quit/quit.c /trunk/uspace/app/bdsh/errors.c /trunk/uspace/app/bdsh/errors.h /trunk/uspace/app/bdsh/errstr.h /trunk/uspace/app/bdsh/exec.c /trunk/uspace/app/bdsh/input.c /trunk/uspace/app/bdsh/scli.c /trunk/uspace/app/bdsh/scli.h /trunk/uspace/app/bdsh/util.c
|
3346 |
5969 d 9 h |
post |
/trunk/ |
Merge with shell @ 3241 for bdsh |
|
/trunk/uspace/app/bdsh /trunk/uspace/lib/libc/generic/getopt.c /trunk/uspace/lib/libc/include/getopt.h
/trunk/boot/arch/ia32/Makefile.inc /trunk/uspace/Makefile /trunk/uspace/app/init/init.c /trunk/uspace/lib/libc/Makefile
|
3339 |
5972 d 10 h |
post |
/branches/shell/uspace/app/bdsh/ |
input: stop double-checking for non-null terminated input, add to-do and comments |
|
/branches/shell/uspace/app/bdsh/input.c
|
3304 |
5979 d 10 h |
post |
/branches/shell/uspace/app/bdsh/ |
Get rid of -DHELENOS (glibc builds will now break) |
|
/branches/shell/uspace/app/bdsh/Makefile /branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.c /branches/shell/uspace/app/bdsh/config.h /branches/shell/uspace/app/bdsh/exec.c /branches/shell/uspace/app/bdsh/exec.h /branches/shell/uspace/app/bdsh/input.c /branches/shell/uspace/app/bdsh/input.h /branches/shell/uspace/app/bdsh/scli.c
|
3275 |
5981 d 2 h |
post |
/branches/shell/uspace/app/bdsh/ |
Remove un-needed debug printf()s, add greeting |
|
/branches/shell/uspace/app/bdsh/config.h /branches/shell/uspace/app/bdsh/input.c /branches/shell/uspace/app/bdsh/scli.c
|
3269 |
5981 d 11 h |
post |
/branches/shell/uspace/app/bdsh/ |
cd: Don't send users to non-existent usr->home on 0 arguments, add debug noise |
|
/branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.c /branches/shell/uspace/app/bdsh/cmds/builtins/cd/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/help/help.c /branches/shell/uspace/app/bdsh/input.c /branches/shell/uspace/app/bdsh/scli.c /branches/shell/uspace/app/bdsh/util.c
|
3268 |
5981 d 12 h |
post |
/branches/shell/uspace/app/bdsh/ |
input: don't allocate tmp unless its needed, check before freeing. |
|
/branches/shell/uspace/app/bdsh/input.c
|