Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-09 | Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC applets | Denis Vlasenko | |
and now this fact is recorded in applets.h, not ash.c. Several fixes to "--help + STANDALONE_SHELL" scenarios. function old new delta run_current_applet_and_exit - 355 +355 arith 2064 2073 +9 refresh 1148 1156 +8 getopt32 1068 1073 +5 telnet_main 1510 1514 +4 md5_sha1_sum_main 565 566 +1 xstrtoul_range_sfx 255 251 -4 packed_usage 22523 22514 -9 tryexec 255 203 -52 static.safe_applets 152 - -152 .rodata 131320 131128 -192 run_applet_by_name 869 506 -363 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 5/5 up/down: 382/-772) Total: -390 bytes ./busybox ash -c 'i=20000; while test $i != 0; do touch z; i=$((i-1)); done' runs more than twice as fast with STANDALONE_SHELL versus without. | |||
2007-04-09 | merge busybox.c into applets.c | Denis Vlasenko | |
2007-02-03 | do not put all <applet>_main() declarations | Denis Vlasenko | |
in busybox.h - this produces false dependencies | |||
2006-12-24 | Cleanup usage messages (-200 bytes). | Denis Vlasenko | |
Remove busybox_main from applet table since it is called via separate check | |||
2006-12-24 | random tiny size savings | Denis Vlasenko | |
2006-10-05 | build system overhaul | Denis Vlasenko | |
2006-06-09 | add ordering warning on enum Location | Paul Fox | |
2006-05-31 | Header file cleanup. platform.h apparently needs to be included early on so it | Rob Landley | |
can figure out what header files to include, and override stuff that comes later. But applets shouldn't include platform.h directly, they should include busybox.h or libbb.h. Since busybox.h already includes libbb.h, move libbb.h to the top of busybox.h and platform.h near the top of libbb.h (right after bbconfig.h, which is something platform.h also needs access to). While we're at it, move some stuff from busybox.h to libbb.h so we have one big file to audit/clean up/try to make sense of instead of many. | |||
2006-05-26 | - move libc checks from busybox.h to platform.h | Bernhard Reutner-Fischer | |
- add ATTRIBUTE_ALWAYS_INLINE, endian handling for DEC UNIX, some more compiler dependent defines to platform.h - add conditional bb_setpgrp define to platform.h - remove superfluous specifying args from "#define fdprintf dprintf" | |||
2006-04-03 | - move buffer allocation schemes to libbb.h | Bernhard Reutner-Fischer | |
- include the correct headers: applets need busybox.h while lib* need libbb.h | |||
2006-02-16 | moved BB_BANNER to applets/version.c file: make kernel like version, | "Vladimir N. Oleynik" | |
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h | |||
2006-01-22 | - add platform.h. | Bernhard Reutner-Fischer | |
- use shorter boilerplate while at it. | |||
2005-09-29 | reorder include <sys/types.h> and <sys/types.h>. | "Vladimir N. Oleynik" | |
2005-09-21 | - make sure to include dmalloc.h at the very end of busybox.h or libbb.h. | Bernhard Reutner-Fischer | |
2005-07-27 | #ifdef reduction infrastructure, based on an argument between Shaun Jackman, | Rob Landley | |
Rob Landley, and others. Currently CONFIG options are defined or undefined, so we chop out code with #ifdefs, ala: #ifdef CONFIG_THING stuff(); #endif This creates a new header file, bb_config.h, which sets the CONFIG entry to 1 or 0, and lets us do: if(CONFIG_THING) stuff(); And let the compiler do dead code elimination to get rid of it. (Note: #ifdef will still work because for the 1 case it's a static const int, not a #define.) | |||
2005-03-04 | newlib fixe from Shaun Jackman | Mike Frysinger | |
2004-03-15 | Remove trailing whitespace. Update copyright to include 2004. | Eric Andersen | |
2004-02-05 | Make sure stdlib.h is always included before dmalloc.h to avoid problems | Manuel Novoa III | |
parsing problems. | |||
2004-01-13 | Patch from Bastian Blank, allow the buildtime to be overriden with a | Glenn L McGrath | |
different string, used by the debian busybox-cvs to specify the debian date based version number. | |||
2003-07-22 | Remove remaining libc5 support code | Eric Andersen | |
2003-02-08 | Patch from mathuria, compatability with solaris | Glenn L McGrath | |
2002-08-22 | Remove unwanted comments, run through indent | Glenn L McGrath | |
2002-06-04 | Implement two types of suid/sgid support for BusyBox: | Robert Griebl | |
1) tinylogin like with compile time selection and a chown root.root 2) Runtime configurable via /etc/busybox.conf (docu is in the works) [Parts of this patch may overlap with my other two patches] | |||
2002-03-16 | Try to pull in PATH_MAX properly | Eric Andersen | |
2002-01-26 | If PATH_MAX isn't defined, define it outselves | Eric Andersen | |
2001-10-24 | Major rework of the directory structure and the entire build system. | Eric Andersen | |
-Erik | |||
2001-07-19 | Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.c | Matt Kraai | |
(noted by Adam Slattery). | |||
2001-04-24 | Move applet_name declaration from busybox.h to libbb.h. | Matt Kraai | |
2001-04-20 | Applied patch from Larry Doolittle to give users the third option of putting | Mark Whitley | |
buffers in BSS (in addition to stack and heap). | |||
2001-04-12 | Use date -u instead of date --utc and consolidate version string. | Matt Kraai | |
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>. | |||
2001-03-27 | In fact, socklen_t *is* defined by libc5. | Mark Whitley | |
2001-03-16 | Convert utility.c into libbb.a. It is now a whole pile of .c | Eric Andersen | |
files. Clean up the resulting damage and fix up the makefile. -Erik | |||
2001-03-14 | Amazing the difference between an "and" and an "or". | Eric Andersen | |
2001-03-14 | Some updates for libc5 | Eric Andersen | |
2001-03-13 | Applied patch from Christophe Boyanique to add -i support to rm. | Mark Whitley | |
2001-03-12 | Applied patch from Gennady Feldman to split up syslogd.c into syslogd and | Mark Whitley | |
klogd (as it should be). | |||
2001-03-08 | Add in 'trim' routine. Fix up sh.c so it works when wordexp | Eric Andersen | |
is not available. -Erik | |||
2001-03-07 | Changed KILOBYTE, MEGABYTE, and GIGABYTE from #define to enum. | Mark Whitley | |
2001-03-07 | Some minor cleanups to df.c. Also, with Erik's blessing, changed name of | Mark Whitley | |
'format' function to 'make_human_readable_str'. | |||
2001-03-01 | Applied patch from David Douthitt to fix build error in df.c when | Mark Whitley | |
BB_FEATURE_HUMAN_READABLE was disabled. | |||
2001-02-27 | Patch from Vladimir N. Oleynik to save 128 bytes by moving error | Eric Andersen | |
checking for some my_* functions to utility.c | |||
2001-02-22 | Turn off the printf attribute for the ?error_msg* functions, since it | Eric Andersen | |
is ok to pass them a NULL, unlike printf. This silences a pointless warning message. -Erik | |||
2001-02-22 | Another update to the way usage messages are done by Evin Robertson | Eric Andersen | |
<nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik | |||
2001-02-14 | This patch, put together by Manuel Novoa III, is a merge of work | Eric Andersen | |
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. | |||
2001-02-14 | Add in ifconfig and route | Eric Andersen | |
2001-02-14 | Several cleanups from Manuel Novoa III. | Eric Andersen | |
get_kernel_revision -- size reduction NOTE: may want to combine with get_kernel_version in insmod??? parse_mode -- size reduction, multiple settings with "," now work correctly, sticky-bit setting now implemented process_escape_sequence -- size reduction, octal code to big for char bug fixed format -- size reduction, val > LONG_MAX and hr = 1 printing bug fixed (was %ld), | |||
2001-02-05 | Make suffix_mult structures const. Thanks to Vladimir N. Oleynik. | Matt Kraai | |
2001-02-01 | Create find_applet_by_name function. Save 32 bytes. | Matt Kraai | |
2001-02-01 | Fix wget error message and add (and use) chomp library function. | Matt Kraai | |
2001-01-27 | Fix header file usage -- there were many unnecessary header files included in | Eric Andersen | |
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik |