aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-24vi: fix yet another vda's thinkoDenis Vlasenko
2008-06-24hush: ifdef out parts which are not neededDenis Vlasenko
if neither loops nor ifs are supported. Code savings: function old new delta parse_stream 1758 1757 -1 checkjobs 335 318 -17 done_pipe 74 52 -22 expand_variables 1437 1407 -30 run_list 1232 1189 -43 parse_and_run_stream 328 267 -61 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-174) Total: -174 bytes
2008-06-24hush: kill some old unused fields; small code shrinkDenis Vlasenko
function old new delta builtin_exit 48 47 -1 checkjobs 351 335 -16 checkjobs_and_fg_shell 60 35 -25 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-42) Total: -42 bytes
2008-06-23fix breakage found by randomconfigDenis Vlasenko
2008-06-23hush: trivial fix in debug codeDenis Vlasenko
2008-06-23ash: trivial code readability fixesDenis Vlasenko
2008-06-23ash: improve readability of the code. No real code changes.Denis Vlasenko
2008-06-23ash: optional support for $'...\t...\n...' bashismDenis Vlasenko
function old new delta readtoken1 2824 3172 +348 static.C_escapes - 18 +18 parse_command 1504 1500 -4 SIT 89 83 -6 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/2 up/down: 366/-10) Total: 356 bytes
2008-06-22trim usage textDenis Vlasenko
2008-06-22mdoprobe: fix SEGV bug (by Vlad Dronnikov)Denis Vlasenko
2008-06-22vi: fix obvious thinko'sDenis Vlasenko
2008-06-22wget: accept code 204.Denis Vlasenko
2008-06-22vi: fix vda's breakage (by Cristian Ionescu-Idbohrn)Denis Vlasenko
2008-06-22ash: minor shrink (mostly smallints) and variable renamingDenis Vlasenko
function old new delta optschanged 85 91 +6 tryexec 115 118 +3 xxreadtoken 290 292 +2 raise_error_unexpected_syntax 75 77 +2 bltincmd 6 8 +2 parseheredoc 128 129 +1 static.is_interactive 4 1 -3 readtoken 156 153 -3 lasttoken 4 1 -3 evalcommand 1147 1144 -3 checkkwd 4 1 -3 back_exitstatus 4 1 -3 pipeline 282 276 -6 list 369 360 -9 ash_main 1402 1393 -9 options 616 606 -10 readtoken1 2823 2811 -12 parse_command 1529 1507 -22 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 6/12 up/down: 21/-91) Total: -70 bytes text data bss dec hex filename 807603 611 6908 815122 c7012 busybox_old 807545 611 6900 815056 c6fd0 busybox_unstripped
2008-06-21dpkg: trivial code shrinkage, and redo G trick correctly.Denis Vlasenko
function old new delta run_package_script_or_die - 72 +72 fill_package_struct 303 309 +6 search_package_hashtable 122 125 +3 get_status 112 111 -1 status_hashtable 4 - -4 set_status 162 158 -4 package_hashtable 4 - -4 name_hashtable 4 - -4 package_satisfies_dependency 112 106 -6 search_name_hashtable 118 110 -8 configure_package 121 106 -15 remove_package 333 317 -16 search_status_hashtable 133 111 -22 purge_package 247 217 -30 unpack_package 552 521 -31 run_package_script 62 - -62 dpkg_main 3991 3867 -124 ------------------------------------------------------------------------------ (add/remove: 1/4 grow/shrink: 2/10 up/down: 81/-331) Total: -250 bytes text data bss dec hex filename 807972 611 6924 815507 c7193 busybox_old 807603 611 6908 815122 c7012 busybox_unstripped
2008-06-21dpkg: code shrinkDenis Vlasenko
dpkg: add documentation from bug 3644 function old new delta remove_package 318 333 +15 unpack_package 541 552 +11 purge_package 242 247 +5 all_control_list 55 53 -2 all_control_files 44 40 -4 add_split_dependencies 709 703 -6 search_status_hashtable 148 133 -15 search_package_hashtable 137 122 -15 search_name_hashtable 134 118 -16 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/6 up/down: 31/-58) Total: -27 bytes text data bss dec hex filename 808093 611 6924 815628 c720c busybox_old 807972 611 6924 815507 c7193 busybox_unstripped
2008-06-21dpkg: code shrink (by Peter Korsgaard <jacmet@uclibc.org>)Denis Vlasenko
function old new delta create_list 104 86 -18
2008-06-21vi: small code shrinkDenis Vlasenko
function old new delta file_insert 328 329 +1 colon 3067 3064 -3 string_insert 93 89 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-7) Total: -6 bytes
2008-06-20vi: fix the bug where vi never grows the edit buffer.Denis Vlasenko
vi: do G trick on it function old new delta place_cursor 264 276 +12 next_tabstop 22 34 +12 mycmp 44 52 +8 status_line 34 40 +6 yank_delete 89 92 +3 what_reg 34 37 +3 suspend_sig 63 66 +3 find_range 493 496 +3 redraw 104 106 +2 cont_sig 63 65 +2 Indicate_Error 59 61 +2 status_line_bold 71 72 +1 file_insert 327 328 +1 vi_setops 1 - -1 ... cmdcnt 4 - -4 chars_to_parse 4 - -4 ccol 4 - -4 dot_scroll 88 79 -9 stupid_insert 28 18 -10 winch_sig 102 91 -11 char_insert 353 336 -17 readit 354 336 -18 get_one_char 128 110 -18 init_text_buffer 171 152 -19 text_hole_delete 132 112 -20 edit_file 940 918 -22 get_input_line 198 168 -30 show_status_line 449 408 -41 colon 3112 3067 -45 vi_main 312 250 -62 refresh 1077 974 -103 do_cmd 4818 4483 -335 ------------------------------------------------------------------------------ (add/remove: 0/38 grow/shrink: 13/20 up/down: 58/-889) Total: -831 bytes text data bss dec hex filename 809566 612 7044 817222 c7846 busybox_old 808794 611 6924 816329 c74c9 busybox_unstripped text data bss dec hex filename 18888 1 122 19011 4a43 busybox.t8/editors/vi.o 18116 0 0 18116 46c4 busybox.t9/editors/vi.o
2008-06-20ssd: fix commentDenis Vlasenko
2008-06-20udhcpc: change BPF filter to not use 0xffffffff as a max packet size,Denis Vlasenko
there are kernels which don't like big (negative when viewed as signed) sizes.
2008-06-18strrchr: actually, last one was finding "" in "any" at pos 0,Denis Vlasenko
should find at pos LAST...
2008-06-18strrchr: bikeshed painting time!Denis Vlasenko
replace cubic running time implementation with quadratic make embedded test actually readable function old new delta strrstr 42 44 +2
2008-06-18ash: fix "shift BIGNUM" and "read with no variable name" bugs.Denis Vlasenko
omg. hush testsuite helps to find bugs in ash! what next? function old new delta static.arg_REPLY - 8 +8 readcmd 1023 1021 -2 shiftcmd 129 125 -4 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 8/-6) Total: 2 bytes
2008-06-18cosmetics in hush testsuitesDenis Vlasenko
2008-06-18fix globbing in unquoted $* and $@Denis Vlasenko
2008-06-18fix trivial error with inverted exit code in lsDenis Vlasenko
2008-06-18hush: fix a bug with backslashes improperly handled in unquoted variables.Denis Vlasenko
with previous patch: function old new delta parse_stream 1638 1758 +120 expand_on_ifs 97 174 +77 free_pipe 206 237 +31 setup_redirect 217 220 +3 setup_redirects 143 144 +1 done_word 698 688 -10 free_strings 38 - -38 expand_variables 1451 1403 -48 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 5/2 up/down: 232/-96) Total: 136 bytes
2008-06-18hush: add testsuite for "no globbing in redirection" rule.Denis Vlasenko
simplify redirection habdling
2008-06-18hush: expand quote3.tests and move from hush-bugs to hush-parsingDenis Vlasenko
2008-06-18hush: fix last hush-bugs testcase (disappearing "", $empty"" etc)Denis Vlasenko
2008-06-18- fixes from TitoBernhard Reutner-Fischer
2008-06-17- fix includesBernhard Reutner-Fischer
2008-06-17hush: fix $$ handlingDenis Vlasenko
2008-06-17- improved strrstr impl from vda with testcases from Tito and vdaBernhard Reutner-Fischer
2008-06-17hush: fix "for a in; do echo 'I should never run'; done" bugDenis Vlasenko
2008-06-17- remove depmod from TODO, it was recently added.Bernhard Reutner-Fischer
Small touch up while at it
2008-06-17move glob_and_assign.tests from hush-bugs to hush-globDenis Vlasenko
2008-06-17hush: continue fixing quoting and subst: fix glob_and_assign.tests.Denis Vlasenko
2008-06-17hush: cleanup pass, the biggest is - moved builtins to the end of the file,Denis Vlasenko
they really annoy in the middle of parser code. no real code changes.
2008-06-17hush: fix memory leak. it was actually rather invloved problem.Denis Vlasenko
Now finally glob/variable expansion is done IN THE RIGHT ORDER! It opens up a possibility to cleanly fix remaining known bugs. function old new delta o_save_ptr 115 286 +171 o_save_ptr_helper - 115 +115 done_word 591 690 +99 o_get_last_ptr - 31 +31 expand_on_ifs 125 97 -28 add_string_to_strings 28 - -28 run_list 1895 1862 -33 debug_print_strings 42 - -42 add_strings_to_strings 126 - -126 expand_variables 1550 1394 -156 o_debug_list 168 - -168 expand_strvec_to_strvec 388 10 -378 ------------------------------------------------------------------------------ (add/remove: 2/4 grow/shrink: 2/4 up/down: 416/-959) Total: -543 bytes
2008-06-16hush: fixing fallout from last big glob fix:Denis Vlasenko
fix segfault; identify where we leak memory function old new delta expand_strvec_to_strvec 353 336 -17
2008-06-16hush: delete hush-bugs/glob_and_vars.tests for realDenis Vlasenko
2008-06-16hush: fix hush-bugs/glob_and_vars.tests testcase:Denis Vlasenko
globbing is now done _after_ variable/`cmd` substitution function old new delta expand_strvec_to_strvec 7 353 +346 expand_variables 1348 1383 +35 add_string_to_strings - 28 +28 globhack 114 - -114 done_word 778 579 -199 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/1 up/down: 409/-313) Total: 96 bytes
2008-06-16tftp: help compiler a bitDenis Vlasenko
2008-06-16tftpd: PXE server said to need to support "tsize" optionDenis Vlasenko
(by Pascal Bellard <pascal.bellard AT ads-lu.com>). Conditional on blocksize option && tftpd support. function old new delta tftp_protocol 1488 1670 +182 tftp_get_option - 102 +102 tftpd_main 494 538 +44 tftp_main 252 254 +2 tftp_get_blksize 97 - -97 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 3/0 up/down: 330/-97) Total: 233 bytes
2008-06-16whitespace and comment fixes, no code changesDenis Vlasenko
2008-06-15even more of help text fixesDenis Vlasenko
2008-06-15fix config help textDenis Vlasenko
2008-06-15- fix copy'n paste error.Bernhard Reutner-Fischer
thanks, vda! :)