aboutsummaryrefslogtreecommitdiff
path: root/applets
Commit message (Collapse)AuthorAgeFilesLines
* build system: more fixes to parallel buildGravatar Denys Vlasenko2009-11-251-3/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix parallel makeGravatar Denys Vlasenko2009-11-241-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* applets/usage_compressed: combine many seds in one; hide dd statsGravatar Bernhard Reutner-Fischer2009-10-271-7/+8
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: use compatible inode sizes; add -I <inodesize>. (by Vladimir)Gravatar Denys Vlasenko2009-10-221-3/+3
| | | | | | | | | | function old new delta mkfs_ext2_main 2385 2495 +110 packed_usage 26400 26447 +47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 157/0) Total: 157 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ok, last fix wasn't correct... this one is betterGravatar Denys Vlasenko2009-10-021-2/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix a typo in prev commitGravatar Denys Vlasenko2009-10-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update documentation generator so that it sucks lessGravatar Denys Vlasenko2009-10-024-20/+121
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* do not store 1st two bytes of compressed help textGravatar Denys Vlasenko2009-08-201-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add .gitignore filesGravatar Mike Frysinger2009-05-051-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* another stab at fixing out-of-tree buildGravatar Denis Vlasenko2009-04-191-1/+1
|
* hopefully fix out-of-tree build broken by 26139Gravatar Denis Vlasenko2009-04-191-6/+12
|
* build system: remove some unnecessary rebuildsGravatar Denis Vlasenko2009-04-171-4/+7
|
* Fix forgotten license commentsGravatar Denis Vlasenko2008-12-071-0/+5
|
* whitespace fixesGravatar Denis Vlasenko2008-09-251-1/+1
|
* fix byte-swapping of compressed help on big-endian machinesGravatar Denis Vlasenko2008-08-091-5/+12
|
* *: rename ATTRIBUTE_XXX to just XXX.Gravatar Denis Vlasenko2008-07-051-1/+1
|
* uname,individual: fix improper printf usageGravatar Denis Vlasenko2008-07-021-3/+1
| | | | | | | | | | | | uname,awk: small code shrink function old new delta uname_main 175 166 -9 nvalloc 167 157 -10 evaluate 6381 6370 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-30) Total: -30 bytes
* udhcpc: kill undocumented -W, it was a no-op.Gravatar Denis Vlasenko2008-06-131-0/+11
| | | | | | | | | | | | | | | | | | fix option parsing in the case some CONFIG_x are off. disable -b on NOMMU, make backgrounding work correctly (if a bit differently from MMU case). Previously, it wasn't working at all. stop using global data for flags in main(), opt bitfield works as well. function old new delta cryptpw_main 177 153 -24 packed_usage 24478 24452 -26 client_background 26 - -26 udhcpc_main 2462 2372 -90 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/3 up/down: 0/-166) Total: -166 bytes
* - use STD*_FILENO some more. No object-code changesGravatar Bernhard Reutner-Fischer2008-05-191-1/+1
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesGravatar Bernhard Reutner-Fischer2008-05-191-1/+1
|
* cp: fix "cp -RL" to create regular files even if src is a symlinkGravatar Denis Vlasenko2008-04-271-1/+1
|
* Avoid linking in printf/bsearch if possible. -20k for static bbox withGravatar Denis Vlasenko2008-04-081-4/+10
| | | | | | | | | | | "basename", "true" and "false" only. function old new delta full_write2_str - 25 +25 bb_show_usage 183 202 +19 main 883 898 +15 run_applet_and_exit 501 507 +6
* shells: do not frocibly enable test, echo and kill _applets_,Gravatar Denis Vlasenko2008-04-011-2/+7
| | | | | | | | | | | | | | | | | | | just build relevant source and use xxx_main functions. build system: add a special case when we have exactly one applet enabled (makes "true", "false", "basename" REALLY tiny). getopt32: do not use stdio. function old new delta getopt32 1385 1412 +27 make_device 1187 1200 +13 basename_main 120 127 +7 tcpudpsvd_main 1922 1926 +4 testcmd 5 - -5 echocmd 5 - -5 fuser_main 1243 1231 -12 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 4/1 up/down: 51/-22) Total: 29 bytes
* *: fix fallout from -Wunused-parameterGravatar Denis Vlasenko2008-03-171-2/+2
| | | | | | | | | | | | | | | | | | function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
* small code readability and typo fixesGravatar Denis Vlasenko2008-02-221-2/+2
|
* build system: make it do without od -tGravatar Denis Vlasenko2008-02-091-4/+12
|
* ps: add conditional support for -o [e]timeGravatar Denis Vlasenko2008-01-051-1/+1
|
* Makefile.help: removing allbareconfig target from helpGravatar Denis Vlasenko2008-01-041-1/+1
| | | | | applet_tables: fix allnoconfig
* trylink: instead of build error, disable --gc-sections if GLIBC && STATICGravatar Denis Vlasenko2007-12-281-11/+0
| | | | | nameif: glibc build fixlet
* nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Gravatar Denis Vlasenko2007-12-241-1/+1
| | | | | | | | | | | | *: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
* init: remove superfluous forks and messing up with argv[0]Gravatar Denis Vlasenko2007-12-101-1/+2
| | | | | cttyhack: add stealing of ctty
* Further optimize applet tables; prettify build outputGravatar Denis Vlasenko2007-11-292-26/+47
| | | | | | | text data bss dec hex filename 775923 929 9100 785952 bfe20 busybox_old 775565 929 9100 785594 bfcba busybox_unstripped
* forgotten part of previous commitGravatar Denis Vlasenko2007-11-281-0/+94
|
* reorganize applet table. Eliminates pointers to names.Gravatar Denis Vlasenko2007-11-282-3/+11
| | | | | | | | | Should be a big win for libbusybox. busybox wins too: text data bss dec hex filename 776524 929 9100 786553 c0079 busybox_old 775903 929 9100 785932 bfe0c busybox_unstripped
* fix incorrect text of link-time error message. No code changesGravatar Denis Vlasenko2007-11-051-1/+1
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* Move applets/applet.c into libbb, allows to get rid of --whole-archiveGravatar Denis Vlasenko2007-10-101-535/+6
| | | | | (smaller code). Tested in static and shared mode.
* get rid of global "struct bb_applet *current_applet"Gravatar Denis Vlasenko2007-10-101-8/+7
|
* make --help work for "individual applets" too.Gravatar Denis Vlasenko2007-10-071-1/+1
|
* libbusybox: move (possibly compressed) help stuff into libbusybox.Gravatar Denis Vlasenko2007-10-072-116/+6
| | | | | Makes individual binaries much smaller.
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Gravatar Denis Vlasenko2007-10-011-1/+1
| | | | | 263 bytes saved.
* *: kill bb_get_last_path_component, replace with two functionsGravatar Denis Vlasenko2007-09-241-1/+1
| | | | | | | | | (one which strips trailing slash and one which does not) wget: straighten out as a result of above change text data bss dec hex filename 5056 1 0 5057 13c1 busybox.t4/networking/wget.o 5022 0 0 5022 139e busybox.t5/networking/wget.o
* remove stray 8-bit chars from copyright bannerGravatar Denis Vlasenko2007-09-201-2/+2
|
* busybox --install -s: prevent puzzling "/bin/busybox: Invalid argument" messageGravatar Denis Vlasenko2007-09-051-4/+3
| | | | | libbb: comment out realpath, add readlink which doesn't warn
* support "#!/bin/busybox"-style wrappers. Needed for SELinux.Gravatar Denis Vlasenko2007-08-252-36/+53
| | | | | Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
* assorted fixes for breakage found by randomconfigGravatar Denis Vlasenko2007-08-171-0/+3
|
* fix out-of-source-tree buildGravatar Denis Vlasenko2007-08-121-1/+3
|
* trylink: produce even more info about final link stageGravatar Denis Vlasenko2007-08-123-9/+9
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* style fix (stray space before ';')Gravatar Denis Vlasenko2007-07-211-2/+2
|
* introduce and use bb_basename()Gravatar Denis Vlasenko2007-06-301-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bb_basename - 26 +26 sv_main 1226 1225 -1 passwd_main 1985 1983 -2 showdirs 482 478 -4 sendCgi 1811 1807 -4 make_device 1354 1350 -4 handleIncoming 2443 2439 -4 func_name 82 78 -4 service_name 2292 2285 -7 main 909 901 -8 cmp_main 555 547 -8 test_main 434 422 -12 act 228 216 -12 find_pair 180 164 -16 rmmod_main 298 280 -18 find_pid_by_name 156 134 -22 modprobe_main 1606 1576 -30 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes text data bss dec hex filename 734933 3028 14400 752361 b7ae9 busybox_old 734801 3028 14400 752229 b7a65 busybox_unstripped