aboutsummaryrefslogtreecommitdiff
path: root/editors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-034-66/+44
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Rich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smallerRob Landley2006-07-261-35/+23
| | | | | | fix than his, and shrank the code a bit on top of that so the net size is smaller, and added a test to the test suite for this case. Plus I cleaned up the #includes and removed unnecessary "const"s while I was there.
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-1/+0
|
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-011-8/+8
|
* Fix http://bugs.busybox.net/view.php?id=826 in which "(echo; echo) | sed x"Rob Landley2006-06-281-1/+1
| | | | | crashes because the empty state of the hold space is NULL but the empty state of the pattern space is "".
* A few patches from Erik Hovland, turning strncpy() into safe_strncpy() andRob Landley2006-06-251-2/+1
| | | | removing some unnecessary code.
* Remove pointless "inline" wrapper around get_terminal_width_height().Rob Landley2006-06-211-21/+7
|
* Zubicaray reported a bug in vi that causes it to eat 100% cpu when you closeRob Landley2006-06-211-87/+2
| | | | | | | an xterm it's running in. The vi signal behavior would catch and restarts lots of signals, like SIGHUP, that should just kill the thing. (Leftover behavior from when it would segfault all the time.) Filtered out the more obviously bad ones. If it segfaults, we should find and fix the problem.
* - make sure that we see string_insert only if we need it.Bernhard Reutner-Fischer2006-06-091-2/+2
|
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-071-1/+1
|
* Confirming it's not needed.Rob Landley2006-06-051-1/+1
|
* - use bb functions instead of handrolling stuff.Bernhard Reutner-Fischer2006-06-031-3/+3
| | | | | | | - add XXX question about supposedly superfluous else clause text data bss dec hex filename 5918 0 0 5918 171e editors/sed.o.orig 5901 0 0 5901 170d editors/sed.o
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* Change llist_add_* to take the address of the list rather than returning the newRob Landley2006-05-261-1/+1
| | | | head, and change all the callers.
* Yann Morin spotted some leftover flotsam from halfway through the recentRob Landley2006-05-241-1/+1
| | | | llist.c interface change that accidentally got checked in. My bad.
* Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessaryRob Landley2006-05-212-10/+10
| | | | memset, collate variable declarations...
* - remove SIGIOT as suggested by landley.Bernhard Reutner-Fischer2006-05-191-3/+0
|
* - Rich Felker writes:Bernhard Reutner-Fischer2006-05-191-0/+2
| | | | | | SIGIOT is not defined in any standard i can find and it seems to be useless (alias for SIGABRT) on linux. i put it in #ifdef but it's probably best just to remove it and cut down the size a bit.
* - remove superfluous legacy includes.Bernhard Reutner-Fischer2006-05-191-6/+5
| | | | This applet should be converted to use llist; __NEED_DLLIST
* - include strings.hBernhard Reutner-Fischer2006-05-192-0/+2
| | | | Thanks to Rich Felker for pointing this out.
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* Convert sed's static variables to a single global structure.Rob Landley2006-05-091-123/+130
|
* Move sed over to the generic llist_t for append. Saves about 90 bytes.Rob Landley2006-05-081-27/+9
|
* Patch to fix bug 868, and some related cleanup while I was in the area.Rob Landley2006-05-071-18/+6
| | | | | | A tab is now taken as the end of filename if it's there, but if it isn't (because the timestamp isn't there) we continue with the existing untruncated line as the filename.
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley2006-05-071-14/+14
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* It was sitting there, in the patches directory, for years. It was delete itRob Landley2006-05-043-2/+1374
| | | | | or apply it. It's small, simple, evil, part of SUSv3, and we can switch it off.
* touchup commentMike Frysinger2006-04-161-1/+1
|
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley2006-04-131-11/+11
| | | | to do it in Config.in.
* adjust ifdefs for inclusion of string_insert() routinePaul Fox2006-04-051-3/+3
|
* fix behavior of ZZ, with respect to readonly mode(s). originalPaul Fox2006-03-281-5/+6
| | | | patch and report from Alexander Griesser.
* add support for :wn (initial patch from Alexander Griesser)Paul Fox2006-03-271-8/+13
|
* drop obsolete version string in favor of actual BB version (fromPaul Fox2006-03-271-16/+4
| | | | Bernhard Fischer)
* - revert back to r14406Bernhard Reutner-Fischer2006-03-131-16/+23
|
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-102-13/+15
| | | | the busybox binary) into enums (which don't).
* Portability patch from rfelker. The bb_asprintf.c thing needs an eventualRob Landley2006-03-091-1/+1
| | | | | follow up in platform.h to set the #ifdef, but the workaround works for everybody, so...
* - backout using features which are not available with the previous stableBernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-064-4/+4
| | | | definitions. (That should only be on prototypes.)
* - use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - silence warning about "'free_and_close_stuff' used but never defined"Bernhard Reutner-Fischer2006-03-021-3/+3
|
* - fixes parallel builds (make -j)Bernhard Reutner-Fischer2006-03-011-23/+12
| | | | - use less resources for the buildsystem itself
* - fix compilation of sed.Bernhard Reutner-Fischer2006-03-011-7/+7
| | | | | | | | error: static declaration of 'free_and_close_stuff' follows non-static declaration Tiny whitespace cleanup while at it, also make sure that we don't use CONFIG_ anymore. Rob, hope this is ok w/ you..
* Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley2006-03-011-4/+2
| | | | from before "if(x) free(x)".
* A few changes falling out from the effort to make sed handle embedded NUL bytes.Rob Landley2006-02-241-18/+26
| | | | Checking in to reduce the diff between my tree and svn...
* Don't build directory libraries unless we're building an applet that needs it.Rob Landley2006-02-211-0/+2
| | | | Cherry-picked from Devin Bayer's big MacOS X patch.
* Patch from awk maintainer (Dmitry Zakhrov) to fix bugs 642, 663, and 667.Rob Landley2006-02-141-5/+13
|
* make the build system puuuuuuuuuuurtyMike Frysinger2006-02-021-3/+2
|
* changed strange mix signed<->unsigned"Vladimir N. Oleynik"2006-01-311-4/+4
|
* fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-13/+13
|
* clean up yet more annoying signed/unsigned mismatches and fixupEric Andersen2006-01-301-1/+1
| | | | yet more incorrect types
* removed warning "comparison between signed and unsigned". Added ↵"Vladimir N. Oleynik"2006-01-301-8/+7
| | | | ATTRIBUTE_UNUSED. Whitespace