aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Now it's possible to compile Busybox with only one app definedPavel Roskin2000-07-172-15/+21
| | | | (unless it's lsmod, to be fixed by the next commit)
* Backtick support to infinite (memory limited) levels of nesting isEric Andersen2000-07-173-90/+255
| | | | | | | | | | | | now implemented... So now busybox shell can do cool stuff like: /home/andersen/CVS/busybox # echo foo `wc README` bar foo 71 422 2951 README bar I love writing cool new features.... Muhahahaha... (I think this is leaking a little bit of memory every time it expands a backtick process, so I still needs to do a bit of cleanup...) -Erik
* It is now possible to select in busybox.def.h whether minixfs version 2Pavel Roskin2000-07-175-72/+63
| | | | is to be supported.
* The result of getopt() is "int" and should be treated as suchPavel Roskin2000-07-178-10/+12
|
* Extract usage information into a separate file.Matt Kraai2000-07-16175-2050/+2529
|
* Don't use strings directly in calls to usage(). This is in preparationMatt Kraai2000-07-1431-289/+321
| | | | for their extraction to a separate file.
* Fixed a couple of buglets:Mark Whitley2000-07-142-12/+58
| | | | | | | | | | | | | | | | - add_cmd_str: segv's were being generated if there was a '# comment' line (and probably other kinds of lines, too) that was not followed by a semi-colon or whitespace - parse_edit_cmd: was returning a wrong number (too low) for the index; it was not accounting for backslashes eaten, for the fact that we start at the 3rd index in the string, or for the fact that we add an extra newline. - parse_cmd_str: was returning a wrong number (again, too low) for the index in the case of single-letter commands (p,d). There was some over-compensation for this in the 'return' stmt at the end which also needed some help. - load_cmd_file: was not eating trailing newlines off the line read from the command file. This had the deleterious effect of printing an extra newlines after text displayed from edit (i,a,c) commands.
* - Added support for semicolon delimited command lines. (woo-hoo!)Mark Whitley2000-07-142-62/+144
| | | | | | | | | - Obsoleted the trim_str function (#if 0'ed out -- maybedelete later) in favor of strrspn. - Obsoleted the strrspn function (#if 0'ed out as well) as soon as I discovered that it wasn't needed either. - Fixed a subtle bug in parse_subst_cmd where it would choke with an error if there was any trailing space after the s/match/replace/ expression.
* Getopt'ed by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen2000-07-146-174/+128
| | | | -Erik
* Getopt'rd by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen2000-07-142-42/+22
| | | | -Erik
* More fixes for "signed vs. unsigned" warnings.Pavel Roskin2000-07-144-6/+8
|
* Reduced the number of "signed vs. unsigned" warnings.Pavel Roskin2000-07-142-12/+12
| | | | Sometimes such warnings matter (esp. on PPC with char default to unsigned)
* More fixes for "missing initializers"Pavel Roskin2000-07-144-4/+4
|
* Fixed a warning about missing initializerPavel Roskin2000-07-142-2/+2
|
* The result of getopt() should not be converted to "char" - it breaks on PPCPavel Roskin2000-07-141-1/+1
|
* More cleanups.Eric Andersen2000-07-1415-69/+69
| | | | -Erik
* Fix argument parsing.Matt Kraai2000-07-142-2/+2
|
* Be more pedantic aboutthe terminating null applet.Eric Andersen2000-07-142-2/+2
| | | | -Erik
* uid and gid were unsigned, but were compared vs signed values (-1)Eric Andersen2000-07-141-2/+2
| | | | -Erik
* A couple of minor warning cleanups.Eric Andersen2000-07-146-7/+13
| | | | -Erik
* Use errorMsg rather than fprintf.Matt Kraai2000-07-1481-473/+391
|
* Fix some stupid memory bugs.Eric Andersen2000-07-142-4/+2
| | | | -Erik
* Add in redimentary backtick suport (doesn't work properly yet, but isEric Andersen2000-07-143-120/+219
| | | | | close). -Erik
* It dawned on me that I would need to grow a char buffer one extra char biggerMark Whitley2000-07-142-2/+8
| | | | | | to accomodate a trailing '\n'ewline that I append to it later one. This is only necessary for the case of one inserted, appended, or changed line, but it's still necessary.
* Added error checking for edit commands; only a beginning address can beMark Whitley2000-07-142-2/+8
| | | | specified.
* Added support for (a)ppend, (i)nsert, and (c)hange commands to sed.Mark Whitley2000-07-142-14/+176
|
* Fixed bug where sed '/foo/p' was printing "invalid command".Mark Whitley2000-07-132-4/+2
|
* (Something I should have done in the previous checkin...) Also broke outMark Whitley2000-07-132-74/+86
| | | | | substitution command execution from do_sed_command() and put it in it's own do_subst_command() function.
* Minor code reorg: Changed the interface to index_of_next_unescaped_slash to anMark Whitley2000-07-132-96/+116
| | | | | interface that seems a little more sensible to me. Also broke out s/// expression parsing into it's own subroutine.
* Fix uninitialized variable.Eric Andersen2000-07-132-2/+2
| | | | -Erik
* Patch from Marc Nijdam <marc_nijdam@hp.com>Eric Andersen2000-07-131-11/+9
| | | | | | | | > First (of many more) patch of cp_mv to getopt use. I'm using the most > simplistic approach, just get getopt used, then worry about a cleaner > option parsing style using getopt later. > > Marc
* Added a smallish TODO comment.Mark Whitley2000-07-132-0/+10
|
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>Eric Andersen2000-07-132-48/+56
| | | | | | | | | | | | | > Here is a patch so that tr can handle NULL characters as well. Give it > a shot and let me know what you think. It is against the latest CVS > version. > > In my tests, the following now works as expected. > > tr '\0' '\n' > > Later, > Matt
* Correct argument parsing and other minor cleanups.Matt Kraai2000-07-132-22/+22
|
* Added some smallish comments to help folks understand why we have two tablesMark Whitley2000-07-123-6/+15
| | | | of builtins and the reasoning behind it.
* Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.cMark Whitley2000-07-126-26/+17
| | | | (maybe I'll remove it later).
* Patch from Jon McClintock <jonm@bluemug.com>Eric Andersen2000-07-122-2/+134
| | | | | | | | | | | >The attached patch adds the ability to parse the actual mode specifier in >fbset. So now > > fbset -n 640x480-72 > >Will actually work. I don't know if I've reinvented the wheel though... -Erik
* Always report the applet name when doing error reporting.Matt Kraai2000-07-1242-144/+141
|
* Use global applet_name instead of local versions.Matt Kraai2000-07-1220-72/+42
|
* Use global applet_name instead of local versions.Matt Kraai2000-07-126-50/+32
|
* The applet name isn't constant.Matt Kraai2000-07-123-3/+3
|
* Changed verbiage.Eric Andersen2000-07-111-1/+2
| | | | -Erik
* Replaced projects with products/projects.Eric Andersen2000-07-111-1/+1
| | | | -Erik
* Added the Kerbango Internet Radio to projects/products using BusyBox.Eric Andersen2000-07-111-0/+1
| | | | -Erik
* Applied patch from Matt Kraai to call destroy_cmd_strs in atexit(), ratherMark Whitley2000-07-112-44/+34
| | | | than peppering it throughout the code.
* Added applet_name to contain the applet name.Matt Kraai2000-07-113-10/+11
|
* Final updates for release.0_46Eric Andersen2000-07-116-8/+27
| | | | -Erik
* Final update for the release.Eric Andersen2000-07-111-0/+4
|
* Forgot to commit these cleanups it seems.Eric Andersen2000-07-1116-22/+8
| | | | -Erik
* More changelog updatesEric Andersen2000-07-111-3/+4
| | | | -Erik