Subversion Repositories HelenOS

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4682 5429 d 8 h svoboda /trunk/uspace/ Fix warnings in Bdsh and PCI lib.  
4587 5464 d 6 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.
 
4572 5466 d 6 h svoboda /trunk/uspace/ Allow libblock to operate in write-through mode. With 'wtcache' mount option, FAT sets write-through mode on the cache.  
4496 5488 d 11 h decky /trunk/uspace/ be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files
 
4486 5489 d 8 h decky /trunk/uspace/app/bdsh/ bdsh: sync with I/O changes, block until spawned task exits  
4408 5504 d 6 h svoboda /trunk/uspace/app/bdsh/ Add 'bdd' shell command (block device dump) for testing block device drivers.  
4371 5512 d 9 h jermar /trunk/uspace/app/bdsh/ Add a bdsh wrapper around mount().  
4364 5515 d 16 h jermar /trunk/uspace/app/bdsh/ Add a primitive 'mv' command. This 'mv' is a mere wrapper around rename() and
as such cannot move files across file systems and doesn't work on FAT (because
FAT does not support hardlinks).
 
4361 5517 d 7 h jermar /trunk/uspace/app/bdsh/cmds/modules/cat/ HelenOS open() returns the actual error code, not mere -1.  
4268 5543 d 20 h svoboda /trunk/uspace/ str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().  
4266 5544 d 5 h svoboda /trunk/uspace/ strdup() -> str_dup()  
4264 5544 d 6 h svoboda /trunk/uspace/ Nuke strcpy() and strcmp().  
4168 5562 d 8 h svoboda /trunk/uspace/ 'kcon' shell builtin for switching to debug console.  
3945 5591 d 16 h svoboda /trunk/uspace/app/bdsh/cmds/modules/ls/ Fix file size display when doing 'ls' of another directory.  
3834 5613 d 9 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.  
3816 5621 d 10 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ cstyle (nits) 80 column limit  
3815 5621 d 10 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.
 
3814 5621 d 12 h post /trunk/uspace/app/bdsh/cmds/modules/ls/ ls now prints file sizes  
3813 5621 d 13 h post /trunk/uspace/app/bdsh/ Get rid of cli_strdup(), cli_strtok(), cli_strtok_r(), just use facilities in libc  
3811 5621 d 20 h post /trunk/uspace/app/bdsh/ exit should be a builtin, since it will eventually need to know about running jobs  
3809 5621 d 20 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.
 
3651 5675 d 15 h jermar /trunk/uspace/app/bdsh/cmds/modules/cp/ Nits.  
3650 5675 d 15 h jermar /trunk/uspace/app/bdsh/cmds/modules/cp/ Several fixes for cp.  
3645 5676 d 16 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ cp: Fix counter if verbose, remove debug printfs  
3643 5676 d 17 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ cp: fix type mis-match  
3642 5676 d 17 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ make copy_file() deal with files with zero length  
3641 5676 d 18 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ cp: don't return CMD_FAILURE for zero length files  
3640 5676 d 18 h post /trunk/uspace/app/bdsh/cmds/modules/cp/ Implement a rudamentary 'cp' for testing write()  
3534 5703 d 18 h svoboda /trunk/uspace/app/bdsh/cmds/modules/cat/ Fix bdsh/cat crash. Also fix error in zero-trailing the buffer.  
3420 5751 d 10 h post /trunk/uspace/app/bdsh/ Add skeletal sleep and cp commands (not yet working)  
3413 5751 d 12 h post /trunk/uspace/app/bdsh/cmds/ Simplify entry types (and return values) for commands  
3411 5751 d 13 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ Take debug printfs out of cat  
3376 5767 d 16 h post /trunk/uspace/app/bdsh/ Just make cli_count_args() a function  
3375 5768 d 14 h post /trunk/uspace/app/bdsh/cmds/modules/ long_options[] should be const where implemented  
3373 5768 d 17 h post /trunk/uspace/app/bdsh/cmds/ Rename non-standard extensions (cmd.def -> cmd_def.h)  
3371 5769 d 1 h post /trunk/uspace/app/bdsh/ pwd should be a module, not a builtin  
3366 5769 d 22 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
 
3364 5771 d 22 h post /trunk/uspace/app/bdsh/cmds/modules/ Fix command description display, only command entry points need to be exposed.  
3360 5772 d 12 h post /trunk/uspace/app/bdsh/ Remove 'mount'  
3358 5772 d 20 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ cat: no reason to set i = optind twice :)