summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* hush: cleanup pass, the biggest is - moved builtins to the end of the file,Denis Vlasenko2008-06-172-355/+358
| | | | | they really annoy in the middle of parser code. no real code changes.
* hush: fix memory leak. it was actually rather invloved problem.Denis Vlasenko2008-06-171-138/+175
| | | | | | | | | | | | | | | | | | | | | | 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
* hush: fixing fallout from last big glob fix:Denis Vlasenko2008-06-161-80/+80
| | | | | | | | fix segfault; identify where we leak memory function old new delta expand_strvec_to_strvec 353 336 -17
* hush: delete hush-bugs/glob_and_vars.tests for realDenis Vlasenko2008-06-161-2/+0
|
* hush: fix hush-bugs/glob_and_vars.tests testcase:Denis Vlasenko2008-06-166-47/+70
| | | | | | | | | | | | | | 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
* tftp: help compiler a bitDenis Vlasenko2008-06-161-1/+8
|
* tftpd: PXE server said to need to support "tsize" optionDenis Vlasenko2008-06-161-39/+55
| | | | | | | | | | | | | | | (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
* whitespace and comment fixes, no code changesDenis Vlasenko2008-06-169-20/+16
|
* even more of help text fixesDenis Vlasenko2008-06-151-1/+1
|
* fix config help textDenis Vlasenko2008-06-151-12/+16
|
* - fix copy'n paste error.Bernhard Reutner-Fischer2008-06-151-3/+3
| | | | thanks, vda! :)
* Specially for Bernhard Fischer introduce USE_BB_CRYPTDenis Vlasenko2008-06-153-34/+75
| | | | | which selects between libc/custom crypt routines.
* hush: eliminate PARSEFLAG_SEMICOLON and ctx->parse_type field.Denis Vlasenko2008-06-151-43/+6
| | | | | | | | | | | | function old new delta parse_and_run_file 30 27 -3 hush_main 795 792 -3 initialize_context 45 39 -6 done_word 791 778 -13 parse_and_run_stream 375 338 -37 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-62) Total: -62 bytes
* use USE_FEATURE_UDHCP_PORT instead of ifdefDenis Vlasenko2008-06-151-3/+1
|
* udhcpc: removing stray whitespaceDenis Vlasenko2008-06-151-2/+2
|
* further encrypt_des optimizationsDenis Vlasenko2008-06-151-51/+141
| | | | | | | | | | function old new delta pw_encrypt 943 964 +21 des_crypt 1512 1509 -3 u_sbox 512 256 -256 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 21/-259) Total: -238 bytes
* cryptpw: fix "cryptpw -a des -- TEXT" caseDenis Vlasenko2008-06-152-74/+82
| | | | | | | | | | | | | | libbb/pw_encrypt_des.c: optimize function old new delta cryptpw_main 177 157 -20 des_crypt 1682 1512 -170 pw_encrypt 1036 842 -194 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-384) Total: -384 bytes Run tested.
* *: use llist_pop for traverse-and-free list operationDenis Vlasenko2008-06-1514-49/+19
| | | | | | | | | | | | | | | | | | function old new delta append_file_list_to_list 109 111 +2 udhcpc_main 2414 2413 -1 run_parts_main 325 324 -1 od_main 2324 2323 -1 getopt_main 709 707 -2 env_main 253 251 -2 sed_main 659 656 -3 ps_main 522 519 -3 traceroute_main 3960 3954 -6 sort_main 844 838 -6 diff_main 866 858 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/10 up/down: 2/-33) Total: -31 bytes
* udhcpc: reduce ifdef forest, no code changesDenis Vlasenko2008-06-151-32/+12
|
* crypt: code shrinkDenis Vlasenko2008-06-142-21/+11
| | | | | | | | | | function old new delta des_crypt - 1682 +1682 md5_crypt - 627 +627 pw_encrypt 3608 1036 -2572 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/1 up/down: 2309/-2572) Total: -263 bytes
* tar: fix "unused parameter 'gzip'" warningDenis Vlasenko2008-06-141-0/+3
|
* hush: fix a bug where we were requiring semicolon here: (cmd;)Denis Vlasenko2008-06-144-22/+34
| | | | | | | | | | | also fix a bug where after error prompt is not shown. function old new delta parse_stream 1612 1638 +26 parse_and_run_stream 361 375 +14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0) Total: 40 bytes
* hush: add support for ':'; create testsuite entriesDenis Vlasenko2008-06-1411-25/+47
| | | | | | | text data bss dec hex filename 809569 612 7044 817225 c7849 busybox_old 809528 612 7044 817184 c7820 busybox_unstripped
* hush: support "! cmd | cmd" negationDenis Vlasenko2008-06-146-90/+172
| | | | | | | | | | | | | function old new delta done_word 749 791 +42 run_list 1821 1859 +38 checkjobs 334 351 +17 done_pipe 61 74 +13 static.reserved_list 132 144 +12 initialize_context 53 45 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/1 up/down: 122/-8) Total: 114 bytes
* Update sponsors page as wellDenis Vlasenko2008-06-141-7/+24
|
* ash: small cosmetic changeDenis Vlasenko2008-06-141-1/+1
|
* ash: fix ${var/s/r} handling, add testcase.Denis Vlasenko2008-06-143-61/+75
|
* dos2unix: do not destroy symlinks and mode of the file being converted.Denis Vlasenko2008-06-142-16/+18
|
* udhcpc: kill undocumented -W, it was a no-op.Denis Vlasenko2008-06-136-100/+108
| | | | | | | | | | | | | | | | | | 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
* trivial crypt shrinkageDenis Vlasenko2008-06-132-9/+8
| | | | | | | function old new delta __md5_to64 27 29 +2 pw_encrypt 3631 3608 -23
* fix typo in "Analog Devices"Denis Vlasenko2008-06-131-1/+1
|
* httpd: fix authenticationDenis Vlasenko2008-06-131-2/+3
|
* shorten sponsor's link per its requestDenis Vlasenko2008-06-131-2/+2
|
* website: announce sponsors.Denis Vlasenko2008-06-131-0/+20
|
* build system: introduce FEATURE_ASSUME_UNICODEDenis Vlasenko2008-06-132-62/+99
| | | | | | | | | | | | | | | | | | | | | ls: use it. also do G trick. with UNICODE off: function old new delta ls_main 843 871 +28 show_color 1 - -1 showdirs 500 497 -3 my_stat 100 97 -3 terminal_width 4 - -4 tabstops 4 - -4 status 122 118 -4 static.dotdir 4 - -4 current_time_t 4 - -4 all_fmt 4 - -4 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 1/3 up/down: 28/-31) Total: -3 bytes Also was tested with UNICODE on with glibc.
* httpd: fix bugs in authentication (by Peter Korsgaard <jacmet ATuclibc.org>)Denis Vlasenko2008-06-131-46/+52
| | | | | | | | | we were accepting empty username; also we were always checking dummy user:passwd pair ":" if user gave us wrong one. function old new delta check_user_passwd 338 319 -19
* htppd: lots of variable/function renaming in config file parsing.Denis Vlasenko2008-06-131-123/+102
| | | | | | | | | | | | | | fixed a bug where we trashed config file's name; otherwise, should not have any real behavioral changes. function old new delta check_user_passwd - 338 +338 handle_incoming_and_exit 2661 2649 -12 parse_conf 1650 1536 -114 checkPerm 338 - -338 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/2 up/down: 338/-464) Total: -126 bytes
* Reinstate DEBUG_PESSIMIZE (by Christian Ionescu-Idbohrn)Denis Vlasenko2008-06-122-15/+21
|
* make pw_encrypt() return malloc'ed string.Denis Vlasenko2008-06-127-17/+27
| | | | | | | text data bss dec hex filename 759802 604 6684 767090 bb472 busybox_old 759804 604 6676 767084 bb46c busybox_unstripped
* uclibc insists on having 70k static buffer for crypt.Denis Vlasenko2008-06-1210-24/+1456
| | | | | | | | | | | | For bbox it's not acceptable. Roll our own des and md5 crypt implementation. Against older uclibc: text data bss dec hex filename 759945 604 6684 767233 bb501 busybox_old 759766 604 6684 767054 bb44e busybox_unstripped so, we still save on code size.
* - make the first arg of the filter function passed to rtnl_dump_filter constantBernhard Reutner-Fischer2008-06-127-10/+10
| | | | to match normal iproute. No obj-code changes.
* hush: speed up o_addX{chr,str}Denis Vlasenko2008-06-121-35/+70
| | | | | | | | | | | | | | | | | | | function old new delta o_addQstr - 162 +162 o_addQchr - 89 +89 o_addstr - 58 +58 o_addqchr 50 81 +31 expand_on_ifs 103 97 -6 add_till_backquote 92 82 -10 expand_variables 1281 1217 -64 parse_stream 1675 1609 -66 o_addqstr 155 - -155 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 1/4 up/down: 340/-301) Total: 39 bytes text data bss dec hex filename 759870 604 6684 767158 bb4b6 busybox_old 759909 604 6684 767197 bb4dd busybox_unstripped
* hush: fix for nested $()s with escapes + testsuiteDenis Vlasenko2008-06-124-2/+25
|
* logger: "clean up" a dirty hack a bitDenis Vlasenko2008-06-115-30/+75
|
* hush: more backtick and quoting fixes...Denis Vlasenko2008-06-103-19/+71
|
* hush: fix escaping of \[*?; add testsuites for these and for globbingDenis Vlasenko2008-06-107-2/+21
|
* hush: fix yet another falloutDenis Vlasenko2008-06-105-14/+12
| | | | | hush: move fixed testsuites out of hush-bugs/*
* hush: fix some fallout from prev commits, add testsuiteDenis Vlasenko2008-06-103-12/+31
|
* hush: search/and/replace style cleanups, no code changesDenis Vlasenko2008-06-101-138/+123
|
* hush: fix two nasty bugs:Denis Vlasenko2008-06-101-190/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | hush-bugs/tick2.tests: ok hush-bugs/tick.tests: ok function old new delta parse_stream 1332 1557 +225 b_addptr - 97 +97 add_till_backquote - 82 +82 b_addstr - 58 +58 b_grow_by - 50 +50 setup_string_in_str - 29 +29 expand_variables 1196 1199 +3 expand_on_ifs 100 97 -3 b_addqchr 57 50 -7 parse_and_run_string 48 31 -17 lookup_param 27 - -27 b_addchr 75 45 -30 count_ifs 44 - -44 process_command_subs 222 - -222 ------------------------------------------------------------------------------ (add/remove: 5/3 grow/shrink: 2/4 up/down: 544/-350) Total: 194 bytes text data bss dec hex filename 759354 604 6684 766642 bb2b2 busybox_old 759534 604 6684 766822 bb366 busybox_unstripped