Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4682 |
5500 d 6 h |
svoboda |
/trunk/uspace/ |
Fix warnings in Bdsh and PCI lib. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/srv/pci/libpci/generic.c /trunk/uspace/srv/pci/libpci/i386-ports.c /trunk/uspace/srv/pci/libpci/names.c
|
4496 |
5559 d 9 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
|
4264 |
5615 d 4 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
|
3815 |
5692 d 8 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Stop using assert() in modules/builtins as abort() will crash the entire shell.
Handle the case and report the issue, leaving the user able to reproduce it
without rebooting. |
|
/trunk/uspace/app/bdsh/cmds/modules/cp/cp.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
|
3809 |
5692 d 18 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
|
3413 |
5822 d 10 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Simplify entry types (and return values) for commands |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.c /trunk/uspace/app/bdsh/cmds/builtins/cd/entry.h /trunk/uspace/app/bdsh/cmds/cmds.h /trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/cat/entry.h /trunk/uspace/app/bdsh/cmds/modules/help/entry.h /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/ls/entry.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/entry.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/pwd/entry.h /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c /trunk/uspace/app/bdsh/cmds/modules/quit/entry.h /trunk/uspace/app/bdsh/cmds/modules/quit/quit.c /trunk/uspace/app/bdsh/cmds/modules/rm/entry.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/touch/entry.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c
|
3376 |
5838 d 15 h |
post |
/trunk/uspace/app/bdsh/ |
Just make cli_count_args() a function |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/touch/touch.c /trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3375 |
5839 d 13 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
long_options[] should be const where implemented |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c
|
3373 |
5839 d 15 h |
post |
/trunk/uspace/app/bdsh/cmds/ |
Rename non-standard extensions (cmd.def -> cmd_def.h) |
|
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd_def.h /trunk/uspace/app/bdsh/cmds/modules/cat/cat_def.h /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/pwd/pwd_def.h /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/touch/touch_def.h
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.def /trunk/uspace/app/bdsh/cmds/modules/cat/cat.def /trunk/uspace/app/bdsh/cmds/modules/help/help.def /trunk/uspace/app/bdsh/cmds/modules/ls/ls.def /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.def /trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.def /trunk/uspace/app/bdsh/cmds/modules/quit/quit.def /trunk/uspace/app/bdsh/cmds/modules/rm/rm.def /trunk/uspace/app/bdsh/cmds/modules/touch/touch.def
/trunk/uspace/app/bdsh/cmds/builtins/builtins.h /trunk/uspace/app/bdsh/cmds/mknewcmd /trunk/uspace/app/bdsh/cmds/modules/modules.h
|
3364 |
5842 d 20 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ |
Fix command description display, only command entry points need to be exposed. |
|
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c /trunk/uspace/app/bdsh/cmds/modules/cat/cat.h /trunk/uspace/app/bdsh/cmds/modules/help/help.c /trunk/uspace/app/bdsh/cmds/modules/help/help.h /trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.def /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.def /trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h /trunk/uspace/app/bdsh/cmds/modules/rm/rm.c /trunk/uspace/app/bdsh/cmds/modules/rm/rm.def /trunk/uspace/app/bdsh/cmds/modules/rm/rm.h /trunk/uspace/app/bdsh/cmds/modules/touch/touch.def
|
3346 |
5845 d 17 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
|
3338 |
5848 d 18 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
rm: Fix psychotic tabbing in long_options structure |
|
/branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.c
|
3337 |
5848 d 18 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
rm: add options, job structure, sanity (recursion still not done) |
|
/branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.c /branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.h
|
3296 |
5855 d 19 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/rm/ |
Added basic rm functionality (not yet recursive) |
|
/branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.c /branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.h
|
3277 |
5857 d 9 h |
post |
/branches/shell/uspace/app/bdsh/ |
Add skeletal touch, mkdir, cat, rm, and ls |
|
/branches/shell/uspace/app/bdsh/cmds/modules/cat /branches/shell/uspace/app/bdsh/cmds/modules/cat/cat.c /branches/shell/uspace/app/bdsh/cmds/modules/cat/cat.def /branches/shell/uspace/app/bdsh/cmds/modules/cat/cat.h /branches/shell/uspace/app/bdsh/cmds/modules/cat/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/ls /branches/shell/uspace/app/bdsh/cmds/modules/ls/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c /branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.def /branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.h /branches/shell/uspace/app/bdsh/cmds/modules/mkdir /branches/shell/uspace/app/bdsh/cmds/modules/mkdir/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c /branches/shell/uspace/app/bdsh/cmds/modules/mkdir/mkdir.def /branches/shell/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h /branches/shell/uspace/app/bdsh/cmds/modules/rm /branches/shell/uspace/app/bdsh/cmds/modules/rm/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.c /branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.def /branches/shell/uspace/app/bdsh/cmds/modules/rm/rm.h /branches/shell/uspace/app/bdsh/cmds/modules/touch /branches/shell/uspace/app/bdsh/cmds/modules/touch/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/touch/touch.c /branches/shell/uspace/app/bdsh/cmds/modules/touch/touch.def /branches/shell/uspace/app/bdsh/cmds/modules/touch/touch.h
/branches/shell/uspace/app/bdsh/Makefile /branches/shell/uspace/app/bdsh/cmds/modules/module_aliases.h /branches/shell/uspace/app/bdsh/cmds/modules/modules.h
|