aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-06-10top: improve global CPU percentage (smaller & faster code)Denis Vlasenko
2007-06-10top: add config option and code for global CPU % displayDenis Vlasenko
2007-06-10moved biggest stack buffers to malloc space, or made their size configurableDenis Vlasenko
(8k of shell line edit buffer is an overkill) # make ARCH=i386 bloatcheck function old new delta read_line_input 3933 3967 +34 ifaddrlist 348 345 -3 do_loadfont 208 191 -17 edit_file 840 819 -21 .rodata 129112 129080 -32 uncompress 1305 1268 -37 loadfont_main 566 495 -71 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 34/-181) Total: -147 bytes
2007-06-10add script which measures stack consumption.Denis Vlasenko
Current top users: 0x08052f52 uncompress []: 393312 0x080c8a58 input_tab []: 82104 0x08092d5b ifaddrlist []: 32828 0x08056163 loadfont_main []: 32796 0x0806e508 colon []: 16532 0x08056095 do_loadfont []: 16400 0x0806da70 place_cursor []: 16388 0x080792e8 login_main []: 9176 393 kb of stack??? OMG...
2007-06-09httpd: move data off bss.Denis Vlasenko
httpd: do not realpath() for SCRIPT_FILENAME - it resolves symlinks but it should not: - /* SCRIPT_FILENAME required by PHP in CGI mode */ - if (!realpath(purl + 1, realpath_buff)) - goto error_execing_cgi; - setenv1("SCRIPT_FILENAME", realpath_buff); + + /* SCRIPT_FILENAME required by PHP in CGI mode */ + fullpath = concat_path_file(home_httpd, purl); + setenv1("SCRIPT_FILENAME", fullpath);
2007-06-09- also note where to checkout the 1_6_stable branchBernhard Reutner-Fischer
2007-06-08mdev: microscopic enhancement, should change nothingDenis Vlasenko
2007-06-08grep: selection done by FEATURE_GREP_EGREP_ALIAS was broken, fix.Denis Vlasenko
(Maxime Bizon <mbizon@freebox.fr> (Freebox))
2007-06-08login: ask passwords even for wrong usernames.Denis Vlasenko
# size busybox_old busybox_unstripped text data bss dec hex filename 680099 2704 15648 698451 aa853 busybox_old 680110 2704 15648 698462 aa85e busybox_unstripped
2007-06-08make busybox --install work even if /proc/self/exe doesn't existDenis Vlasenko
# size busybox_old busybox_unstripped text data bss dec hex filename 680095 2704 15648 698447 aa84f busybox_old 680099 2704 15648 698451 aa853 busybox_unstripped
2007-06-08rmp: add optional support for bz2 data. +50 bytes of codeDenis Vlasenko
2007-06-08- fix invocation without any argumentBernhard Reutner-Fischer
2007-06-08hush: add missing dependencies (Maxime Bizon <mbizon@freebox.fr> (Freebox))Denis Vlasenko
2007-06-08test: fix thinko in previous commitDenis Vlasenko
2007-06-08test: recognize /path/to/[ case tooDenis Vlasenko
2007-06-08- Add a FAQ entry on "how do i cross compile busybox"Bernhard Reutner-Fischer
2007-06-07- add a config-time range check for IPC_SYSLOG_BUFFER_SIZEBernhard Reutner-Fischer
The upper-bound doesn't look like it is working since it accepts LONG_MAX as input. I suspect that this is an lxdialog feature or something like that ;)
2007-06-07awk: experimentally modify "global" trick to make code smallerDenis Vlasenko
by minimizing data offsets function old new delta parse_expr 752 782 +30 syntax_error 23 26 +3 nvfree 151 154 +3 nvalloc 172 175 +3 fsrealloc 111 114 +3 chain_node 99 102 +3 chain_loop 121 124 +3 chain_group 628 631 +3 awk_main 1002 1005 +3 awk_exit 99 102 +3 parse_program 308 310 +2 split_f0 172 170 -2 awk_split 510 507 -3 getvar_s 108 102 -6 awk_sub 643 637 -6 awk_getline 706 700 -6 next_token 943 927 -16 handle_special 470 446 -24 next_input_file 252 213 -39 evaluate 6703 6633 -70 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 11/9 up/down: 59/-172) Total: -113 bytes # size */*/awk.o text data bss dec hex filename 18247 0 0 18247 4747 busybox.t0/editors/awk.o 18134 0 0 18134 46d6 busybox.t1/editors/awk.o
2007-06-07- update defconfigBernhard Reutner-Fischer
2007-06-07- i need this disabled code for testing a patch. Please leave it in.Bernhard Reutner-Fischer
2007-06-06- fix wrong not operator which was essentially ignored. got introduced in r18282Bernhard Reutner-Fischer
http://busybox.net/lists/busybox/2007-June/027652.html
2007-06-06awk: move all data to malloc spaceDenis Vlasenko
function old new delta evaluate 6448 6728 +280 awk_getline 676 705 +29 parse_expr 726 752 +26 next_token 917 943 +26 next_input_file 237 252 +15 awk_split 498 510 +12 awk_sub 632 643 +11 split_f0 160 170 +10 getvar_s 98 108 +10 ... chain_loop 128 121 -7 nvalloc 179 171 -8 chain_node 107 99 -8 mainseq 12 - -12 endseq 12 - -12 chain_group 640 628 -12 beginseq 12 - -12 awk_exit 112 100 -12 fsrealloc 127 110 -17 static.v 20 - -20 static.rsm 24 - -24 ttt 28 - -28 parse_program 339 311 -28 static.sreg 32 - -32 intvar 76 - -76 static.tspl 84 - -84 rsplitter 84 - -84 fsplitter 84 - -84 ------------------------------------------------------------------------------ (add/remove: 0/39 grow/shrink: 16/11 up/down: 439/-685) Total: -246 bytes
2007-06-06echo: fix non-fancy echoDenis Vlasenko
2007-06-06ps: fix -Z (by Yuichi Nakamura <ynakam@hitachisoft.jp>)Denis Vlasenko
2007-06-05remove bashisms from testsuiteDenis Vlasenko
2007-06-05nc: make connecting to IPv4 from IPv6-enabled hosts easierDenis Vlasenko
(was requiring -s <local addr>)
2007-06-05- kiltedknight writes: Busybox incorrectly parses a line from the status ↵Bernhard Reutner-Fischer
file, claiming that a required package is not installed or tagged to be installed when it actually is. Closes #1221
2007-06-05- fix typo in error message. Closes #1308Bernhard Reutner-Fischer
2007-06-04uudecode: fix to base64 decode by Jorgen Cederlof <jcz@google.com>Denis Vlasenko
improved help texts # make bloatcheck function old new delta .rodata 127000 127032 +32 packed_usage 22156 22151 -5 uudecode_main 360 348 -12 uuencode_main 490 468 -22 read_base64 283 254 -29 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 32/-68) Total: -36 bytes
2007-06-04snprintf(... "%s"...) => safe_strncpyDenis Vlasenko
2007-06-04syslogd: move some vectors from data to text. Needs uclibc patchDenis Vlasenko
to have any effect (patch is submitted to uclibc ml). # size *[67]/*/syslog*.o text data bss dec hex filename 3169 288 0 3457 d81 busybox.t6/sysklogd/syslogd.o 3457 0 0 3457 d81 busybox.t7/sysklogd/syslogd.o
2007-06-04diff: stop using data/bssDenis Vlasenko
function old new delta do_diff 385 436 +51 diff_main 850 895 +45 dump_unified_vec 437 457 +20 prepare 335 334 -1 anychange 1 - -1 suff 4 - -4 status 135 131 -4 static.max_context 4 - -4 start 12 8 -4 pref 4 - -4 member 4 - -4 label2 4 - -4 label1 4 - -4 klist 4 - -4 ixold 4 - -4 ixnew 4 - -4 dl_count 4 - -4 dl 4 - -4 context_vec_start 4 - -4 context_vec_ptr 4 - -4 context_vec_end 4 - -4 context 4 - -4 clistlen 4 - -4 clist 4 - -4 clen 4 - -4 class 4 - -4 J 4 - -4 add_to_dirlist 71 64 -7 slen 8 - -8 sfile 8 - -8 len 8 - -8 file 8 - -8 get_dir 196 185 -11 newcand 97 85 -12 change 351 331 -20 stb2 96 - -96 stb1 96 - -96 diffreg 2835 2717 -118 ------------------------------------------------------------------------------ (add/remove: 0/27 grow/shrink: 3/8 up/down: 116/-482) Total: -366 bytes # size */*/diff.o text data bss dec hex filename 7055 8 305 7368 1cc8 busybox.t2/coreutils/diff.o 7002 0 0 7002 1b5a busybox.t3/coreutils/diff.o
2007-06-04ping: stop using data/bssDenis Vlasenko
function old new delta ping_main 375 392 +17 unpack_tail 317 320 +3 ping4 525 528 +3 ping6 772 773 +1 sendping6 99 98 -1 sendping4 184 183 -1 myid 2 - -2 sendping_tail 154 151 -3 tsum 4 - -4 tmin 4 - -4 tmax 4 - -4 source_lsa 4 - -4 pingsock 4 - -4 pingcount 4 - -4 ntransmitted 4 - -4 nrepeats 4 - -4 nreceived 4 - -4 if_index 4 - -4 hostname 8 4 -4 dotted 4 - -4 datalen 4 - -4 pingaddr 28 - -28 rcvd_tbl 128 - -128 ------------------------------------------------------------------------------ (add/remove: 0/15 grow/shrink: 4/4 up/down: 24/-215) Total: -191 bytes text data bss dec hex filename 679835 2728 16736 699299 aaba3 busybox_old 679851 2720 16536 699107 aaae3 busybox_unstripped
2007-06-04Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko
tr: stop using globals needlessly. code: -103 bytes
2007-06-03find_stray_communal_vars: script which finds communal variablesDenis Vlasenko
resize: remove globals var mdev: remove globals var
2007-06-02start 1.7.x versionDenis Vlasenko
2007-06-02fdisk: make it work with big disks (read: typical today's disks)Denis Vlasenko
even if CONFIG_LFS is unset.
2007-06-01website: announce 1.6.0Denis Vlasenko
2007-05-31less: less <HUGEFILE + [End] busy loops, fix itDenis Vlasenko
2007-05-31less: forgot trivial #if ENABLE_xxxxDenis Vlasenko
2007-05-31delete tons of extra #includesDenis Vlasenko
2007-05-31use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko
(add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
2007-05-31more: stop using bssDenis Vlasenko
# make && make bloatcheck function old new delta gotsig 86 107 +21 more_main 777 781 +4 cin_fileno 4 - -4 set_tty_to_initial_mode 25 - -25 new_settings 120 60 -60 initial_settings 120 60 -60 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/2 up/down: 25/-149) Total: -124 bytes
2007-05-31less: fix very obscure memory corruption bugDenis Vlasenko
2007-05-31less: stop using data/bss. Code got smaller too.Denis Vlasenko
# size busybox_old busybox_unstripped text data bss dec hex filename 700719 2896 17880 721495 b0257 busybox_old 700547 2832 17432 720811 affab busybox_unstripped # size */*/less.o text data bss dec hex filename 6861 50 344 7255 1c57 busybox.t0/miscutils/less.o 6657 0 0 6657 1a01 busybox.t1/miscutils/less.o
2007-05-30nmeter: stop using data/bss; reduce amount of reads from /procDenis Vlasenko
# size */*/nmeter.o text data bss dec hex filename 4366 80 16 4462 116e busybox.t0/miscutils/nmeter.o 4386 0 0 4386 1122 busybox.t2/miscutils/nmeter.o
2007-05-30vi: move some data to malloc'ed space: ~500 less bss, codeDenis Vlasenko
size is smaller too (subject to arch differenced I guess)
2007-05-30hush: trivial buglet found by randomconfig testingDenis Vlasenko
2007-05-30whitespace fixesDenis Vlasenko
2007-05-29verror_msg: don't printf(NULL)Denis Vlasenko