Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Now it's possible to compile Busybox with only one app defined | Pavel Roskin | 2000-07-17 | 2 | -15/+21 | |
| | | | | (unless it's lsmod, to be fixed by the next commit) | |||||
* | Backtick support to infinite (memory limited) levels of nesting is | Eric Andersen | 2000-07-17 | 3 | -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 2 | Pavel Roskin | 2000-07-17 | 5 | -72/+63 | |
| | | | | is to be supported. | |||||
* | The result of getopt() is "int" and should be treated as such | Pavel Roskin | 2000-07-17 | 8 | -10/+12 | |
| | ||||||
* | Extract usage information into a separate file. | Matt Kraai | 2000-07-16 | 175 | -2050/+2529 | |
| | ||||||
* | Don't use strings directly in calls to usage(). This is in preparation | Matt Kraai | 2000-07-14 | 31 | -289/+321 | |
| | | | | for their extraction to a separate file. | |||||
* | Fixed a couple of buglets: | Mark Whitley | 2000-07-14 | 2 | -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 Whitley | 2000-07-14 | 2 | -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 Andersen | 2000-07-14 | 6 | -174/+128 | |
| | | | | -Erik | |||||
* | Getopt'rd by Marc Nijdam <marc_nijdam@hp.com> | Eric Andersen | 2000-07-14 | 2 | -42/+22 | |
| | | | | -Erik | |||||
* | More fixes for "signed vs. unsigned" warnings. | Pavel Roskin | 2000-07-14 | 4 | -6/+8 | |
| | ||||||
* | Reduced the number of "signed vs. unsigned" warnings. | Pavel Roskin | 2000-07-14 | 2 | -12/+12 | |
| | | | | Sometimes such warnings matter (esp. on PPC with char default to unsigned) | |||||
* | More fixes for "missing initializers" | Pavel Roskin | 2000-07-14 | 4 | -4/+4 | |
| | ||||||
* | Fixed a warning about missing initializer | Pavel Roskin | 2000-07-14 | 2 | -2/+2 | |
| | ||||||
* | The result of getopt() should not be converted to "char" - it breaks on PPC | Pavel Roskin | 2000-07-14 | 1 | -1/+1 | |
| | ||||||
* | More cleanups. | Eric Andersen | 2000-07-14 | 15 | -69/+69 | |
| | | | | -Erik | |||||
* | Fix argument parsing. | Matt Kraai | 2000-07-14 | 2 | -2/+2 | |
| | ||||||
* | Be more pedantic aboutthe terminating null applet. | Eric Andersen | 2000-07-14 | 2 | -2/+2 | |
| | | | | -Erik | |||||
* | uid and gid were unsigned, but were compared vs signed values (-1) | Eric Andersen | 2000-07-14 | 1 | -2/+2 | |
| | | | | -Erik | |||||
* | A couple of minor warning cleanups. | Eric Andersen | 2000-07-14 | 6 | -7/+13 | |
| | | | | -Erik | |||||
* | Use errorMsg rather than fprintf. | Matt Kraai | 2000-07-14 | 81 | -473/+391 | |
| | ||||||
* | Fix some stupid memory bugs. | Eric Andersen | 2000-07-14 | 2 | -4/+2 | |
| | | | | -Erik | |||||
* | Add in redimentary backtick suport (doesn't work properly yet, but is | Eric Andersen | 2000-07-14 | 3 | -120/+219 | |
| | | | | | close). -Erik | |||||
* | It dawned on me that I would need to grow a char buffer one extra char bigger | Mark Whitley | 2000-07-14 | 2 | -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 be | Mark Whitley | 2000-07-14 | 2 | -2/+8 | |
| | | | | specified. | |||||
* | Added support for (a)ppend, (i)nsert, and (c)hange commands to sed. | Mark Whitley | 2000-07-14 | 2 | -14/+176 | |
| | ||||||
* | Fixed bug where sed '/foo/p' was printing "invalid command". | Mark Whitley | 2000-07-13 | 2 | -4/+2 | |
| | ||||||
* | (Something I should have done in the previous checkin...) Also broke out | Mark Whitley | 2000-07-13 | 2 | -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 an | Mark Whitley | 2000-07-13 | 2 | -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 Andersen | 2000-07-13 | 2 | -2/+2 | |
| | | | | -Erik | |||||
* | Patch from Marc Nijdam <marc_nijdam@hp.com> | Eric Andersen | 2000-07-13 | 1 | -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 Whitley | 2000-07-13 | 2 | -0/+10 | |
| | ||||||
* | From Matt Kraai <kraai@alumni.carnegiemellon.edu> | Eric Andersen | 2000-07-13 | 2 | -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 Kraai | 2000-07-13 | 2 | -22/+22 | |
| | ||||||
* | Added some smallish comments to help folks understand why we have two tables | Mark Whitley | 2000-07-12 | 3 | -6/+15 | |
| | | | | of builtins and the reasoning behind it. | |||||
* | Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c | Mark Whitley | 2000-07-12 | 6 | -26/+17 | |
| | | | | (maybe I'll remove it later). | |||||
* | Patch from Jon McClintock <jonm@bluemug.com> | Eric Andersen | 2000-07-12 | 2 | -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 Kraai | 2000-07-12 | 42 | -144/+141 | |
| | ||||||
* | Use global applet_name instead of local versions. | Matt Kraai | 2000-07-12 | 20 | -72/+42 | |
| | ||||||
* | Use global applet_name instead of local versions. | Matt Kraai | 2000-07-12 | 6 | -50/+32 | |
| | ||||||
* | The applet name isn't constant. | Matt Kraai | 2000-07-12 | 3 | -3/+3 | |
| | ||||||
* | Changed verbiage. | Eric Andersen | 2000-07-11 | 1 | -1/+2 | |
| | | | | -Erik | |||||
* | Replaced projects with products/projects. | Eric Andersen | 2000-07-11 | 1 | -1/+1 | |
| | | | | -Erik | |||||
* | Added the Kerbango Internet Radio to projects/products using BusyBox. | Eric Andersen | 2000-07-11 | 1 | -0/+1 | |
| | | | | -Erik | |||||
* | Applied patch from Matt Kraai to call destroy_cmd_strs in atexit(), rather | Mark Whitley | 2000-07-11 | 2 | -44/+34 | |
| | | | | than peppering it throughout the code. | |||||
* | Added applet_name to contain the applet name. | Matt Kraai | 2000-07-11 | 3 | -10/+11 | |
| | ||||||
* | Final updates for release.0_46 | Eric Andersen | 2000-07-11 | 6 | -8/+27 | |
| | | | | -Erik | |||||
* | Final update for the release. | Eric Andersen | 2000-07-11 | 1 | -0/+4 | |
| | ||||||
* | Forgot to commit these cleanups it seems. | Eric Andersen | 2000-07-11 | 16 | -22/+8 | |
| | | | | -Erik | |||||
* | More changelog updates | Eric Andersen | 2000-07-11 | 1 | -3/+4 | |
| | | | | -Erik |