Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4647 |
5644 d 7 h |
jermar |
/branches/arm/ |
Branch out a new arm branch. |
|
/branches/arm
|
3813 |
5818 d 11 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
|
3483 |
5929 d 17 h |
post |
/trunk/uspace/app/bdsh/ |
Eliminate unused functions in util.c |
|
/trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3481 |
5930 d 17 h |
post |
/trunk/uspace/app/bdsh/ |
More housecleaning in util.c, get rid of cli_psprintf() in favor of asprintf() before getting attached to the first. |
|
/trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3480 |
5930 d 18 h |
post |
/trunk/uspace/app/bdsh/ |
cli_redup() should be size_t and return as such to avoid undefined behavior with large strings. |
|
/trunk/uspace/app/bdsh/util.c /trunk/uspace/app/bdsh/util.h
|
3461 |
5942 d 17 h |
post |
/trunk/uspace/app/bdsh/ |
Fix prompt (AGAIN), sorry! |
|
/trunk/uspace/app/bdsh/util.c
|
3459 |
5942 d 18 h |
post |
/trunk/uspace/app/bdsh/ |
Fix prompt (whoops!) |
|
/trunk/uspace/app/bdsh/util.c
|
3420 |
5948 d 8 h |
post |
/trunk/uspace/app/bdsh/ |
Add skeletal sleep and cp commands (not yet working) |
|
/trunk/uspace/app/bdsh/cmds/modules/cp /trunk/uspace/app/bdsh/cmds/modules/cp/cp.c /trunk/uspace/app/bdsh/cmds/modules/cp/cp.h /trunk/uspace/app/bdsh/cmds/modules/cp/cp_def.h /trunk/uspace/app/bdsh/cmds/modules/cp/entry.h /trunk/uspace/app/bdsh/cmds/modules/sleep /trunk/uspace/app/bdsh/cmds/modules/sleep/entry.h /trunk/uspace/app/bdsh/cmds/modules/sleep/sleep.c /trunk/uspace/app/bdsh/cmds/modules/sleep/sleep.h /trunk/uspace/app/bdsh/cmds/modules/sleep/sleep_def.h
/trunk/uspace/app/bdsh/Makefile /trunk/uspace/app/bdsh/cmds/modules/modules.h /trunk/uspace/app/bdsh/util.c
|
3377 |
5963 d 11 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 |
5964 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
|
3366 |
5966 d 20 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 |
5971 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
|
3345 |
5971 d 17 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
|
3316 |
5978 d 22 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
|
3280 |
5983 d 9 h |
post |
/branches/shell/uspace/app/bdsh/ |
Get rid of cli_free() wrapper (no longer needed), this also removes -fno-strict-aliasing |
|
/branches/shell/uspace/app/bdsh/Makefile /branches/shell/uspace/app/bdsh/Makefile.gnu /branches/shell/uspace/app/bdsh/util.c /branches/shell/uspace/app/bdsh/util.h
|
3269 |
5983 d 18 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
|
3265 |
5983 d 22 h |
post |
/branches/shell/uspace/app/bdsh/ |
Added initial port of simple CLI to bdsh (brain dead shell) |
|
/branches/shell/uspace/app/bdsh /branches/shell/uspace/app/bdsh/AUTHORS /branches/shell/uspace/app/bdsh/LICENSE /branches/shell/uspace/app/bdsh/Makefile /branches/shell/uspace/app/bdsh/Makefile.gnu /branches/shell/uspace/app/bdsh/cmds /branches/shell/uspace/app/bdsh/cmds/builtin_cmds.c /branches/shell/uspace/app/bdsh/cmds/builtins /branches/shell/uspace/app/bdsh/cmds/builtins/README /branches/shell/uspace/app/bdsh/cmds/builtins/builtin_aliases.h /branches/shell/uspace/app/bdsh/cmds/builtins/builtins.h /branches/shell/uspace/app/bdsh/cmds/builtins/cd /branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.c /branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.def /branches/shell/uspace/app/bdsh/cmds/builtins/cd/cd.h /branches/shell/uspace/app/bdsh/cmds/builtins/cd/entry.h /branches/shell/uspace/app/bdsh/cmds/builtins/pwd /branches/shell/uspace/app/bdsh/cmds/builtins/pwd/entry.h /branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.c /branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.def /branches/shell/uspace/app/bdsh/cmds/builtins/pwd/pwd.h /branches/shell/uspace/app/bdsh/cmds/cmds.h /branches/shell/uspace/app/bdsh/cmds/mknewcmd /branches/shell/uspace/app/bdsh/cmds/mod_cmds.c /branches/shell/uspace/app/bdsh/cmds/modules /branches/shell/uspace/app/bdsh/cmds/modules/README /branches/shell/uspace/app/bdsh/cmds/modules/help /branches/shell/uspace/app/bdsh/cmds/modules/help/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/help/help.c /branches/shell/uspace/app/bdsh/cmds/modules/help/help.def /branches/shell/uspace/app/bdsh/cmds/modules/help/help.h /branches/shell/uspace/app/bdsh/cmds/modules/module_aliases.h /branches/shell/uspace/app/bdsh/cmds/modules/modules.h /branches/shell/uspace/app/bdsh/cmds/modules/quit /branches/shell/uspace/app/bdsh/cmds/modules/quit/entry.h /branches/shell/uspace/app/bdsh/cmds/modules/quit/quit.c /branches/shell/uspace/app/bdsh/cmds/modules/quit/quit.def /branches/shell/uspace/app/bdsh/cmds/modules/quit/quit.h /branches/shell/uspace/app/bdsh/config.h /branches/shell/uspace/app/bdsh/errors.c /branches/shell/uspace/app/bdsh/errors.h /branches/shell/uspace/app/bdsh/errstr.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 /branches/shell/uspace/app/bdsh/scli.h /branches/shell/uspace/app/bdsh/util.c /branches/shell/uspace/app/bdsh/util.h
|