aboutsummaryrefslogtreecommitdiff
path: root/editors
Commit message (Collapse)AuthorAgeFilesLines
* several fixes from openWRT projectGravatar Denis Vlasenko2006-09-261-1/+30
|
* awk: getopt_ulflags'isationGravatar Denis Vlasenko2006-09-221-37/+27
|
* sed: getopt_ulflags'isationGravatar Denis Vlasenko2006-09-221-34/+22
|
* Change license statements (and clean up headers) on some of the files thatGravatar Rob Landley2006-09-221-1/+1
| | | | Erik or I are primary copyright holders on.
* whitespace cleanupGravatar Denis Vlasenko2006-09-172-3/+3
|
* Bugfix for: echo '123456789' | sed 's/./|&/5'Gravatar Rob Landley2006-09-081-1/+1
|
* removed a lot of trailing \n in bb_msg() calls. It is addedGravatar Denis Vlasenko2006-09-062-2/+2
| | | | | automatically by function itself.
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageGravatar Rob Landley2006-08-291-1/+1
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* - merge -r15463:15564 from busybox_scratch branch through these changesets:Gravatar Bernhard Reutner-Fischer2006-08-201-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r15465 | aldot | 2006-06-21 20:48:06 +0200 (Wed, 21 Jun 2006) | 3 lines - use CONFIG_BUSYBOX_EXEC_PATH as before it one was broken by a recent revert. - use xchdir() since all is invain if it fails there anyways, supposedly ------------------------------------------------------------------------ r15466 | aldot | 2006-06-21 20:55:16 +0200 (Wed, 21 Jun 2006) | 2 lines - adjust docs to take CONFIG_BUSYBOX_EXEC_PATH into account. ------------------------------------------------------------------------ r15467 | aldot | 2006-06-21 21:31:24 +0200 (Wed, 21 Jun 2006) | 18 lines - partial fallout of my TREE_USED touchup against gcc-4.2: rip unused vars, save s 144 bytes text data bss dec hex filename 862434 10156 645924 1518514 172bb2 busybox.old 862322 10156 645892 1518370 172b22 busybox function old new delta z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 new_text 70 60 -10 ipaddr_list_link 33 23 -10 gzip_main 898 822 -76 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/3 up/down: 0/-120) Total: -120 bytes ------------------------------------------------------------------------ r15468 | aldot | 2006-06-21 21:43:05 +0200 (Wed, 21 Jun 2006) | 19 lines - remove useless global exports function old new delta rpm_main 940 1601 +661 rpm_getstring 107 112 +5 rpm_getint 148 153 +5 loop_through_files 103 106 +3 fileaction_dobackup 115 113 -2 fileaction_list 5 - -5 rpm_getcount 42 - -42 extract_cpio_gz 161 - -161 rpm_gettags 504 - -504 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 4/1 up/down: 674/-714) Total: -40 bytes text data bss dec hex filename 862322 10156 645892 1518370 172b22 busybox.old 862290 10156 645892 1518338 172b02 busybox ------------------------------------------------------------------------ r15555 | aldot | 2006-06-30 14:10:11 +0200 (Fri, 30 Jun 2006) | 22 lines - shrink syslog a little bit, move a big buffer (for 'line') off the bss, fold s emaphore stuff into single caller manually. stats: function old new delta logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 small 1 - -1 local_logging 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 syslogd_main 1299 1285 -14 static.res 36 16 -20 .rodata 186650 186586 -64 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/5 grow/shrink: 2/3 up/down: 48/-1136) Total: -1088 bytes cow@s37:~/src/busybox_scratch$ size sysklogd/syslogd.o{.orig,} text data bss dec hex filename 3723 348 5242 9313 2461 sysklogd/syslogd.o.orig 3697 348 4188 8233 2029 sysklogd/syslogd.o ============================================================================== Overall bloatcheck for the changeset mentioned above: function old new delta rpm_main 953 1608 +655 logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 rpm_getstring 107 110 +3 rpm_getint 148 151 +3 loop_through_files 103 104 +1 small 1 - -1 fileaction_dobackup 115 113 -2 z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 local_logging 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 fileaction_list 5 - -5 new_text 70 60 -10 ipaddr_list_link 33 23 -10 clear_bufs 31 21 -10 syslogd_main 1287 1273 -14 builtin_help 190 176 -14 static.res 36 16 -20 builtin_source 229 199 -30 rpm_getcount 42 - -42 gzip_main 842 786 -56 .rodata 227176 227112 -64 lash_main 609 527 -82 busy_loop 3883 3739 -144 extract_cpio_gz 155 - -155 rpm_gettags 501 - -501 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/15 grow/shrink: 6/12 up/down: 710/-2221) Total: -1511 bytes
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateGravatar Rob 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 smallerGravatar Rob 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.Gravatar "Robert P. J. Day"2006-07-021-1/+0
|
* Remove all usage of the "register" storage class specifier.Gravatar "Robert P. J. Day"2006-07-011-8/+8
|
* Fix http://bugs.busybox.net/view.php?id=826 in which "(echo; echo) | sed x"Gravatar 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() andGravatar Rob Landley2006-06-251-2/+1
| | | | removing some unnecessary code.
* Remove pointless "inline" wrapper around get_terminal_width_height().Gravatar Rob Landley2006-06-211-21/+7
|
* Zubicaray reported a bug in vi that causes it to eat 100% cpu when you closeGravatar Rob 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.Gravatar Bernhard Reutner-Fischer2006-06-091-2/+2
|
* - reuse strings and messages. Saves about 600BGravatar Bernhard Reutner-Fischer2006-06-071-1/+1
|
* Confirming it's not needed.Gravatar Rob Landley2006-06-051-1/+1
|
* - use bb functions instead of handrolling stuff.Gravatar 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.Gravatar Rob Landley2006-05-271-1/+0
|
* Change llist_add_* to take the address of the list rather than returning the newGravatar Rob Landley2006-05-261-1/+1
| | | | head, and change all the callers.
* Yann Morin spotted some leftover flotsam from halfway through the recentGravatar Rob 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 unnecessaryGravatar Rob Landley2006-05-212-10/+10
| | | | memset, collate variable declarations...
* - remove SIGIOT as suggested by landley.Gravatar Bernhard Reutner-Fischer2006-05-191-3/+0
|
* - Rich Felker writes:Gravatar 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.Gravatar Bernhard Reutner-Fischer2006-05-191-6/+5
| | | | This applet should be converted to use llist; __NEED_DLLIST
* - include strings.hGravatar Bernhard 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 ↵Gravatar Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* Convert sed's static variables to a single global structure.Gravatar Rob Landley2006-05-091-123/+130
|
* Move sed over to the generic llist_t for append. Saves about 90 bytes.Gravatar Rob Landley2006-05-081-27/+9
|
* Patch to fix bug 868, and some related cleanup while I was in the area.Gravatar 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 bytesGravatar Rob 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 itGravatar Rob Landley2006-05-043-2/+1374
| | | | | or apply it. It's small, simple, evil, part of SUSv3, and we can switch it off.
* touchup commentGravatar Mike Frysinger2006-04-161-1/+1
|
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveGravatar Rob Landley2006-04-131-11/+11
| | | | to do it in Config.in.
* adjust ifdefs for inclusion of string_insert() routineGravatar Paul Fox2006-04-051-3/+3
|
* fix behavior of ZZ, with respect to readonly mode(s). originalGravatar Paul Fox2006-03-281-5/+6
| | | | patch and report from Alexander Griesser.
* add support for :wn (initial patch from Alexander Griesser)Gravatar Paul Fox2006-03-271-8/+13
|
* drop obsolete version string in favor of actual BB version (fromGravatar Paul Fox2006-03-271-16/+4
| | | | Bernhard Fischer)
* - revert back to r14406Gravatar Bernhard Reutner-Fischer2006-03-131-16/+23
|
* Patch from Denis Vlasenko turning static const int (which gets emitted intoGravatar Rob Landley2006-03-102-13/+15
| | | | the busybox binary) into enums (which don't).
* Portability patch from rfelker. The bb_asprintf.c thing needs an eventualGravatar Rob 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 stableGravatar Bernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionGravatar Rob Landley2006-03-064-4/+4
| | | | definitions. (That should only be on prototypes.)
* - use absolute path for top_builddir and top_srcdir.Gravatar 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"Gravatar Bernhard Reutner-Fischer2006-03-021-3/+3
|
* - fixes parallel builds (make -j)Gravatar Bernhard Reutner-Fischer2006-03-011-23/+12
| | | | - use less resources for the buildsystem itself
* - fix compilation of sed.Gravatar 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..