Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4587 |
5526 d 2 h |
jermar |
/trunk/uspace/ |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during ls.
In devfs, allow lookups that don't
specify one of L_FILE and L_DIRECTORY. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/sys/stat.h /trunk/uspace/srv/fs/devfs/devfs_ops.c /trunk/uspace/srv/vfs/vfs_ops.c
|
4268 |
5605 d 15 h |
svoboda |
/trunk/uspace/ |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy(). |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/tetris/scores.c /trunk/uspace/app/tetris/tetris.c /trunk/uspace/lib/libc/generic/loader.c /trunk/uspace/lib/libc/generic/string.c /trunk/uspace/lib/libc/generic/vfs/vfs.c /trunk/uspace/lib/libc/include/string.h /trunk/uspace/srv/fs/fat/fat_ops.c /trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
|
4266 |
5606 d 1 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
|
3945 |
5653 d 12 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
Fix file size display when doing 'ls' of another directory. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c /trunk/uspace/app/bdsh/cmds/modules/ls/ls.h
|
3834 |
5675 d 5 h |
svoboda |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
Fix file-size display on big-endian machines. Also, rather use off_t than uint64_t for holding file size. |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3814 |
5683 d 8 h |
post |
/trunk/uspace/app/bdsh/cmds/modules/ls/ |
ls now prints file sizes |
|
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3809 |
5683 d 16 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 |
5813 d 8 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 |
5829 d 12 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
|
3373 |
5830 d 12 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 |
5833 d 18 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 |
5836 d 14 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
|
3326 |
5842 d 17 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
Fixed last few bugs in ls, added todo notes |
|
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c /branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.h
|
3310 |
5845 d 15 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
ls: Remove unused var s[] |
|
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3309 |
5845 d 20 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
ls: fix bug where all entries are printed as directories when listing relative paths |
|
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c
|
3294 |
5846 d 20 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ |
ls/mkdir: Update license headers and help displays |
|
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c /branches/shell/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
|
3293 |
5847 d 5 h |
post |
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ |
Add basic functional 'ls' |
|
/branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.c /branches/shell/uspace/app/bdsh/cmds/modules/ls/ls.h
|
3277 |
5848 d 7 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
|