Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
3397 5764 d 20 h rimsky /branches/sparc/ Merged recent changes from trunk into the Sparc branch.  
/branches/sparc/uspace/app/bdsh
/branches/sparc/uspace/lib/libc/generic/getopt.c
/branches/sparc/uspace/lib/libc/generic/io/asprintf.c
/branches/sparc/uspace/lib/libc/include/getopt.h
/branches/sparc/boot/tools/ia64
/branches/sparc/uspace/app/cli
/branches/sparc/boot/arch/amd64/Makefile.inc
/branches/sparc/boot/arch/arm32/loader/Makefile
/branches/sparc/boot/arch/ia32/Makefile.inc
/branches/sparc/boot/arch/ia64/Makefile.inc
/branches/sparc/boot/arch/ia64/loader/Makefile
/branches/sparc/boot/arch/mips32/loader/Makefile
/branches/sparc/boot/arch/ppc32/loader/Makefile
/branches/sparc/boot/arch/ppc32/loader/main.c
/branches/sparc/boot/arch/ppc32/loader/ofwarch.c
/branches/sparc/boot/arch/ppc64/loader/Makefile
/branches/sparc/boot/arch/sparc64/loader/Makefile
/branches/sparc/boot/arch/sparc64/loader/boot.S
/branches/sparc/boot/arch/sparc64/loader/main.c
/branches/sparc/boot/arch/sparc64/loader/main.h
/branches/sparc/boot/genarch/balloc.h
/branches/sparc/contrib/toolchain/toolchain.amd64.sh
/branches/sparc/contrib/toolchain/toolchain.arm32.sh
/branches/sparc/contrib/toolchain/toolchain.ia32.sh
/branches/sparc/contrib/toolchain/toolchain.ia64.sh
/branches/sparc/contrib/toolchain/toolchain.mipseb32.sh
/branches/sparc/contrib/toolchain/toolchain.mipsel32.sh
/branches/sparc/contrib/toolchain/toolchain.ppc32.sh
/branches/sparc/contrib/toolchain/toolchain.ppc64.sh
/branches/sparc/contrib/toolchain/toolchain.sparc64.sh
/branches/sparc/kernel/arch/amd64/Makefile.inc
/branches/sparc/kernel/arch/amd64/include/atomic.h
/branches/sparc/kernel/arch/arm32/Makefile.inc
/branches/sparc/kernel/arch/ia32/Makefile.inc
/branches/sparc/kernel/arch/ia32/include/atomic.h
/branches/sparc/kernel/arch/ia32xen/Makefile.inc
/branches/sparc/kernel/arch/ia64/Makefile.inc
/branches/sparc/kernel/arch/mips32/Makefile.inc
/branches/sparc/kernel/arch/mips32/src/mm/tlb.c
/branches/sparc/kernel/arch/ppc32/Makefile.inc
/branches/sparc/kernel/arch/ppc64/Makefile.inc
/branches/sparc/kernel/arch/sparc64/Makefile.inc
/branches/sparc/kernel/arch/sparc64/include/atomic.h
/branches/sparc/kernel/generic/include/errno.h
/branches/sparc/kernel/generic/include/ipc/ipc.h
/branches/sparc/kernel/generic/src/ipc/ipc.c
/branches/sparc/kernel/generic/src/ipc/ipcrsc.c
/branches/sparc/kernel/generic/src/ipc/sysipc.c
/branches/sparc/kernel/generic/src/main/kinit.c
/branches/sparc/kernel/generic/src/mm/as.c
/branches/sparc/kernel/generic/src/mm/backend_anon.c
/branches/sparc/kernel/generic/src/mm/backend_elf.c
/branches/sparc/kernel/generic/src/proc/task.c
/branches/sparc/uspace/Makefile
/branches/sparc/uspace/app/init/init.c
/branches/sparc/uspace/lib/libc/Makefile
/branches/sparc/uspace/lib/libc/arch/amd64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/arm32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ia32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ia64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/mips32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/mips32eb/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ppc32/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/ppc64/Makefile.inc
/branches/sparc/uspace/lib/libc/arch/sparc64/Makefile.inc
/branches/sparc/uspace/lib/libc/generic/io/printf_core.c
/branches/sparc/uspace/lib/libc/generic/io/sprintf.c
/branches/sparc/uspace/lib/libc/generic/io/vsnprintf.c
/branches/sparc/uspace/lib/libc/generic/ipc.c
/branches/sparc/uspace/lib/libc/include/stdio.h
/branches/sparc/uspace/srv/fs/fat/fat_ops.c
/branches/sparc/uspace/srv/fs/tmpfs/tmpfs_ops.c
/branches/sparc/uspace/srv/vfs/vfs_ops.c
3396 5766 d 23 h post /trunk/uspace/app/bdsh/ We need cli_set_prompt() in the main loop as modules are unaware of cliuser_t  
/trunk/uspace/app/bdsh/scli.c
3378 5777 d 18 h post /trunk/uspace/app/bdsh/ main() - remove unused variable i  
/trunk/uspace/app/bdsh/scli.c
3377 5777 d 18 h post /trunk/uspace/app/bdsh/ Let 'cd' invoke cli_set_prompt(), no need to do it in every iteration of the main loop.  
/trunk/uspace/app/bdsh/cmds/builtins/cd/cd.c
/trunk/uspace/app/bdsh/scli.c
/trunk/uspace/app/bdsh/scli.h
/trunk/uspace/app/bdsh/util.c
/trunk/uspace/app/bdsh/util.h
3376 5778 d 22 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 5779 d 20 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
3374 5779 d 22 h post /trunk/uspace/app/bdsh/ Drop inclusion of lib/ and lib/ustr in the Makefile (this completes housekeeping)  
/trunk/uspace/app/bdsh/Makefile
3373 5779 d 23 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
3372 5780 d 1 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
3371 5780 d 7 h post /trunk/uspace/app/bdsh/ pwd should be a module, not a builtin  
/trunk/uspace/app/bdsh/cmds/modules/pwd
/trunk/uspace/app/bdsh/cmds/modules/pwd/entry.h
/trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.c
/trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.def
/trunk/uspace/app/bdsh/cmds/modules/pwd/pwd.h
/trunk/uspace/app/bdsh/cmds/builtins/pwd
/trunk/uspace/app/bdsh/Makefile
/trunk/uspace/app/bdsh/cmds/builtins/builtins.h
/trunk/uspace/app/bdsh/cmds/modules/modules.h
3367 5781 d 4 h post /trunk/uspace/app/bdsh/ Add a README to explain how things work  
/trunk/uspace/app/bdsh/README
3366 5781 d 4 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
3364 5783 d 4 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
3361 5783 d 17 h post /trunk/uspace/app/bdsh/ Update TODO list  
/trunk/uspace/app/bdsh/TODO
3360 5783 d 17 h post /trunk/uspace/app/bdsh/ Remove 'mount'  
/trunk/uspace/app/bdsh/cmds/modules/mount
/trunk/uspace/app/bdsh/Makefile
/trunk/uspace/app/bdsh/cmds/modules/modules.h
3358 5784 d 2 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ cat: no reason to set i = optind twice :)  
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
3357 5784 d 3 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ cat: purpose updated in cat.def  
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.def
3356 5784 d 3 h post /trunk/uspace/app/bdsh/cmds/modules/cat/ Add a basic cat, cat --help shows future options  
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
/trunk/uspace/app/bdsh/cmds/modules/cat/cat.h
3355 5785 d 1 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir: Get rid of useless while loop (spaghetti)  
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
3354 5785 d 2 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir: increment ret if mkdir() fails  
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
3353 5785 d 2 h post /trunk/uspace/app/bdsh/cmds/modules/mkdir/ mkdir is finished, -p / --parents options and more now functional  
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.h
3346 5786 d 0 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
3345 5786 d 1 h post /branches/shell/uspace/app/bdsh/ Add cli_psprintf() and cli_redup() to util.c  
/branches/shell/uspace/app/bdsh/util.c
/branches/shell/uspace/app/bdsh/util.h
3342 5789 d 1 h post /branches/shell/uspace/app/bdsh/ cli_set_prompt() should be unsigned, fixed.  
/branches/shell/uspace/app/bdsh/scli.c
/branches/shell/uspace/app/bdsh/scli.h
3341 5789 d 1 h post /branches/shell/uspace/app/bdsh/ cli_set_prompt(), don't make cliuser_t->lasterr part of the prompt
(soon we'll use more intelligent error handlers)
 
/branches/shell/uspace/app/bdsh/scli.c
3340 5789 d 1 h post /branches/shell/uspace/app/bdsh/ exec: task_spawn() returns either 0 or 1 (not the task ID on success).
As such try_exec() becomes an unsigned int and we don't unconditionally
return the value of task_spawn (fixes bogus failures).
 
/branches/shell/uspace/app/bdsh/exec.c
/branches/shell/uspace/app/bdsh/exec.h
3339 5789 d 1 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
3338 5789 d 2 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 5789 d 2 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
3333 5791 d 20 h post /branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ pwd: need to include config.h  
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.c
3329 5791 d 21 h post /branches/shell/uspace/app/bdsh/cmds/builtins/pwd/ pwd: Use getcwd(), don't just print usr->cwd from cliuser_t  
/branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.c
3326 5792 d 3 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
3319 5793 d 1 h post /branches/shell/uspace/app/bdsh/cmds/modules/cat/ A bogus 'cat' which (for now) tests getopt.  
/branches/shell/uspace/app/bdsh/cmds/modules/cat/cat.c
3316 5793 d 5 h post /branches/shell/uspace/app/bdsh/ Remove unused agrument parsing / detecting functions  
/branches/shell/uspace/app/bdsh/util.c
/branches/shell/uspace/app/bdsh/util.h
3311 5795 d 1 h post /branches/shell/uspace/app/bdsh/cmds/modules/ Re-generated mount / cat with new mknewcmd  
/branches/shell/uspace/app/bdsh/cmds/modules/cat/cat.c
/branches/shell/uspace/app/bdsh/cmds/modules/mount/mount.c
3310 5795 d 1 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 5795 d 6 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
3304 5796 d 1 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
3303 5796 d 2 h post /branches/shell/uspace/app/bdsh/ Remove Makefile.gnu  
/branches/shell/uspace/app/bdsh/Makefile.gnu
3302 5796 d 2 h post /branches/shell/uspace/app/bdsh/ Added a stub for a future mount command, at this point we stop updating the GNU
makefile.
 
/branches/shell/uspace/app/bdsh/cmds/modules/mount
/branches/shell/uspace/app/bdsh/cmds/modules/mount/entry.h
/branches/shell/uspace/app/bdsh/cmds/modules/mount/mount.c
/branches/shell/uspace/app/bdsh/cmds/modules/mount/mount.def
/branches/shell/uspace/app/bdsh/cmds/modules/mount/mount.h
/branches/shell/uspace/app/bdsh/Makefile
/branches/shell/uspace/app/bdsh/cmds/modules/modules.h