aboutsummaryrefslogtreecommitdiff
path: root/console-tools
Commit message (Collapse)AuthorAgeFilesLines
* minor fix in comment, no code changesGravatar Denis Vlasenko2007-10-292-2/+2
|
* kbd_mode: new applet by Loïc Grenié <loic.grenie@gmail.com>Gravatar Denis Vlasenko2007-10-203-0/+78
| | | | | | | | | | | | | kbd_mode_main - 189 +189 packed_usage 22745 22833 +88 applets 3132 3144 +12 static.opts 7 12 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 294/0) Total: 294 bytes text data bss dec hex filename 777210 1000 9532 787742 c051e busybox_old 777575 1000 9532 788107 c068b busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-1112-13/+13
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* *: compile fixes for 64-bit buildGravatar Denis Vlasenko2007-08-232-5/+7
|
* don't pass argc in getopt32, it's superfluousGravatar Denis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* trylink: produce even more info about final link stageGravatar Denis Vlasenko2007-08-121-1/+1
| | | | | | | | | 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
* Replace index_in_[sub]str_array with index_in_[sub]strings,Gravatar Denis Vlasenko2007-07-241-1/+1
| | | | | | | | | which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped
* rework long option handling. saves ~1.2kGravatar Denis Vlasenko2007-07-231-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta tar_longopts - 222 +222 static.udhcpc_longopts - 192 +192 start_stop_daemon_longopts - 150 +150 getopt32 1045 1185 +140 static.wget_longopts - 111 +111 static.od_longopts - 105 +105 getopt_longopts - 96 +96 install_longopts - 67 +67 ipcalc_longopts - 63 +63 static.hwclock_longopts - 54 +54 ftpgetput_longopts - 52 +52 static.dumpleases_longopts - 32 +32 env_longopts - 31 +31 runparts_longopts - 30 +30 mv_longopts - 24 +24 mkdir_longopts - 19 +19 find_pair 164 180 +16 bb_null_long_options - 16 +16 setconsole_longopts - 10 +10 display_speed 91 98 +7 collect_blk 467 474 +7 show_color 4 1 -3 ls_main 913 904 -9 bb_default_long_options 16 - -16 ls_color_opt 32 10 -22 setconsole_long_options 32 - -32 arith 2077 2030 -47 mv_long_options 48 - -48 mkdir_long_options 48 - -48 env_long_options 48 - -48 static.options 248 184 -64 runparts_long_options 80 - -80 ftpgetput_long_options 96 - -96 static.hwclock_long_options 112 - -112 install_long_options 112 - -112 static.long_options 144 - -144 static.wget_long_options 160 - -160 longopts 160 - -160 static.arg_options 304 - -304 tar_long_options 320 - -320 long_options 384 - -384 ------------------------------------------------------------------------------ (add/remove: 17/15 grow/shrink: 4/5 up/down: 1444/-2209) Total: -765 bytes text data bss dec hex filename 782618 1328 11900 795846 c24c6 busybox_old 781354 1328 11900 794582 c1fd6 busybox_unstripped
* xioctl and friends by Tito <farmatito@tiscali.it>Gravatar Denis Vlasenko2007-07-147-35/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta do_iptunnel 203 977 +774 process_dev 5328 5494 +166 ioctl_or_perror - 54 +54 ioctl_or_perror_and_die - 51 +51 ioctl_alt_func - 49 +49 bb_ioctl_or_warn - 47 +47 do_add_ioctl 102 145 +43 bb_xioctl - 39 +39 print_value_on_off - 31 +31 get_lcm 105 123 +18 arp_main 2155 2167 +12 .................. zcip_main 1576 1566 -10 setlogcons_main 92 82 -10 dumpkmap_main 263 253 -10 do_get_ioctl 85 75 -10 setkeycodes_main 165 154 -11 write_table 244 232 -12 vconfig_main 318 306 -12 do_del_ioctl 93 81 -12 set_address 75 62 -13 maybe_set_utc 30 16 -14 loadfont_main 495 479 -16 slattach_main 712 695 -17 do_loadfont 191 174 -17 do_iplink 1155 1136 -19 getty_main 2583 2562 -21 fbset_main 2058 2035 -23 do_time 588 565 -23 xioctl 25 - -25 read_rtc 186 160 -26 parse_conf 1299 1270 -29 udhcp_read_interface 269 239 -30 bb_ioctl 45 - -45 bb_ioctl_alt 70 - -70 bb_ioctl_on_off 78 - -78 .rodata 129370 129018 -352 do_show 799 - -799 ------------------------------------------------------------------------------ (add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864) Total: -548 bytes text data bss dec hex filename 675352 2740 13968 692060 a8f5c busybox_old 674804 2740 13968 691512 a8d38 busybox_unstripped
* moved biggest stack buffers to malloc space, or made their size configurableGravatar Denis Vlasenko2007-06-101-39/+38
| | | | | | | | | | | | | | | | | (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
* find_stray_communal_vars: script which finds communal variablesGravatar Denis Vlasenko2007-06-031-6/+5
| | | | | resize: remove globals var mdev: remove globals var
* delete tons of extra #includesGravatar Denis Vlasenko2007-05-313-8/+1
|
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-2612-12/+12
| | | | | *: s/include "busybox.h"/include "libbb.h"
* random NOMMU fixes. compressed --help really does work for NOMMU! /me happyGravatar Denis Vlasenko2007-04-102-1/+2
|
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Gravatar Bernhard Reutner-Fischer2007-04-041-2/+2
|
* Attempt to get more applets compile for NOMMU.Gravatar Denis Vlasenko2007-03-261-19/+10
| | | | | | | TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyGravatar Denis Vlasenko2007-03-251-1/+2
|
* resize: make it usable in in backticks; have a timeout (if displayGravatar Denis Vlasenko2007-03-121-8/+37
| | | | doesn't respond to 'get cursor pos' ESC sequence...)
* more: do not mess with "/dev/console" (!);Gravatar Denis Vlasenko2007-03-101-3/+5
| | | | | | | fill whole 1st screen (was "screen sans one line"); fall back to cat if redirected or no ctty less: fall back to cat if no ctty (was exiting) resize: cosmetics
* init: code readability enhancements; very small code changesGravatar Denis Vlasenko2007-02-171-1/+1
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Gravatar Denis Vlasenko2007-02-061-1/+1
|
* udhcp: use improved gethostbyname replacement from IPv6 codeGravatar Denis Vlasenko2007-02-041-1/+2
|
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-0311-8/+15
| | | | no preceding prototype
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeGravatar Denis Vlasenko2007-01-191-9/+6
| | | | | | | | | (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
* remove casts from xmalloc()Gravatar Denis Vlasenko2006-12-191-1/+1
|
* u_short, ulong exterminatedGravatar Denis Vlasenko2006-12-192-4/+4
| | | | fdiskXXX: add a bit of sanity (not enough by far)
* svlogd: new applet. +9k. Still too big, but it was 12k yesterday.Gravatar Denis Vlasenko2006-11-161-1/+1
|
* last nail into error_msg() (de)capitalizationGravatar Denis Vlasenko2006-10-271-9/+9
|
* - revert r16191; re-add resize() applet.Gravatar Bernhard Reutner-Fischer2006-10-253-0/+56
| | | | | | | text data bss dec hex filename 288 0 0 288 120 console-tools/_resize.o.gcc-2.95 258 0 0 258 102 console-tools/_resize.o.gcc-3.3 252 0 0 252 fc console-tools/_resize.o.gcc-3.4
* message string changes, mostly for consistency, also -32 bytes in .rodataGravatar Denis Vlasenko2006-10-201-1/+1
|
* console-tools/resize.c is apparently leftover from a reverted patch.Gravatar Eric Andersen2006-10-191-0/+0
| | | | | Since it is a 0 length file, it gets nuked by 'make distclean' so I suppose might as well kill it off properly.
* attempt to regularize atoi mess.Gravatar Denis Vlasenko2006-10-085-40/+13
|
* build system overhaulGravatar Denis Vlasenko2006-10-054-74/+31
|
* getopt_ulflags -> getopt32.Gravatar Denis Vlasenko2006-10-031-2/+2
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* "I'll think about it" != "apply it now". It means I need to think about it.Gravatar Rob Landley2006-09-223-56/+0
|
* - add new applet resize.Gravatar Bernhard Reutner-Fischer2006-09-223-0/+56
| | | | | | text data bss dec hex filename 185 0 0 185 b9 console-tools/resize.o 255 0 0 255 ff console-tools/resize.o.print
* whitespace cleanupGravatar Denis Vlasenko2006-09-171-1/+1
|
* setkeycodes: something horrible happened hereGravatar Denis Vlasenko2006-09-091-24/+23
| | | | | to indentation... fixed now
* xfunc: fix: && -> &. Also nuked two double semicolons...Gravatar Denis Vlasenko2006-09-051-1/+1
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateGravatar Rob Landley2006-08-036-42/+7
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Cleaup read() and write() variants, plus a couple of new functions likeGravatar Rob Landley2006-07-161-8/+6
| | | | xlseek and fdlength() for the new mkswap.
* Add one-line GPL boilerplate to numerous (but not all yet) source files.Gravatar "Robert P. J. Day"2006-07-126-80/+6
|
* Standardize on the vi editing directives being on the first line.Gravatar "Robert P. J. Day"2006-07-021-0/+1
|
* More removal of "#if 0" content.Gravatar "Robert P. J. Day"2006-07-011-5/+0
|
* - use the defines CURRENT_TTY and VC_1; also shrink xargs a tiny bit:Gravatar Bernhard Reutner-Fischer2006-05-271-1/+1
| | | | | | | | | | | | | | | | add/remove: 0/0 grow/shrink: 2/6 up/down: 5/-37 (-32) function old new delta static.add_interface 271 274 +3 static.glob3 36 38 +2 static.renice_main 409 408 -1 static.readcmd 1083 1081 -2 static.changepath 176 174 -2 static.parse_opts 56 51 -5 static.rx_main 1095 1088 -7 static.xargs_main 759 739 -20 ---------------------------------------------------------------- Result :-) -32
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Gravatar Bernhard Reutner-Fischer2006-05-262-0/+11
| | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
* - remove emacs layout block as suggested by Robert P.J. DayGravatar Bernhard Reutner-Fischer2006-05-193-66/+3
| | | | - use shorter boilerplate while at it
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Gravatar Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* kill pointless memory.h includesGravatar Mike Frysinger2006-04-161-1/+0
|
* setlogcons, from Jan Kaszka.Gravatar Rob Landley2006-03-273-0/+41
|