aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* less: implement waiting for input using select(). Rather tricky business.Denis Vlasenko2006-12-241-454/+516
| | | | But we do not read entire input anymore up-front.
* time: -200 bytes of textDenis Vlasenko2006-12-221-84/+96
|
* time: fix option parsing bug, size optimizationsDenis Vlasenko2006-12-221-28/+22
|
* less: a few fixes for cases where we overflow status lineDenis Vlasenko2006-12-211-59/+31
|
* less: restore TAB display (was showing as inverse I after prev changes :)Denis Vlasenko2006-12-211-29/+35
|
* less: "(null)" is a bit strange. "standard input" is better :)Denis Vlasenko2006-12-211-5/+14
|
* less: how many different kinds of status line we need, three?!Denis Vlasenko2006-12-211-43/+40
| | | | | small fixes. [prev commit also added control char filtering on input (e.g. regexp input, filename input for 'E' etc)]
* less: stop dying on bad regexps, quietly pipe data w/oDenis Vlasenko2006-12-211-110/+146
| | | | | user interaction if stdout is not a tty. size optimizations
* introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko2006-12-211-1/+1
|
* less: total cleanup and bugfix.Denis Vlasenko2006-12-211-248/+236
| | | | | | | | | | | | | | Doesn't die horribly on binary files anymore. In fact, they _100%_ work now. Control chars are in reverse video, including DEL and that idiocy of VT-10x, Meta-ESC [inventor of which should be prohibited from reproducing]. Regex search is fixed also. When you specify search ('/' key), control chars turn into dots (unhighlighted), and found occurrences highlighted instead. This is reversible. Memory management fixed (was leaky as hell) and optimized. Linewrapping fixed and thoroughly tested. Max buffer size made configurable. ~ 600 bytes saved.
* less: somewhat buggy applet, but nice. Muchly reducedDenis Vlasenko2006-12-202-212/+206
| | | | | | | | xstrdup'ing and memory consumption. Made linewrap saner. regex matching code was awful - still buggy, but not as leaky as before. Made buffer size configurable. Killed several static and on-stack buffers. Hopefully eliminated staircase effect on Ctrl-C (unable to reproduce).
* remove casts from xmalloc()Denis Vlasenko2006-12-191-1/+1
|
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-1/+1
|
* bb_makedev: fix for glibc 2.3.2Denis Vlasenko2006-12-101-1/+0
| | | | sed: fix C++ style declaration
* - shrink less.Bernhard Reutner-Fischer2006-12-041-56/+49
| | | | | | | | | | | | | | | | | 01a: svn version 01b: merge past_eof and inp_stdin into flags. 01c: merge match_backwards into flags. 01d: add handling of <HOME> and <END> keys, remove set_tty_raw, use fflush_stdout_and_exit 01e: rewrite special-key handling to be smaller. 01f: changing the format saves 4 bytes (alot of places would benefit from this) text data bss dec hex filename 9034 8 648 9690 25da less.o.01a 9023 8 640 9671 25c7 less.o.01b 9027 8 636 9671 25c7 less.o.01c 9068 8 636 9712 25f0 less.o.01d 8990 8 636 9634 25a2 less.o.01e 8986 8 636 9630 259e less.o.01f
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-67/+57
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-10/+8
|
* small fixes:Denis Vlasenko2006-11-262-3/+6
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* - revert r15563 (pull current version of taskset off the busybox_scratch branch)Bernhard Reutner-Fischer2006-11-223-0/+107
|
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-182-8/+8
|
* rename: compare_string_array -> index_in_str_arrayDenis Vlasenko2006-11-051-4/+4
| | | | | introduce index_in_substr_array and use it in iproute2
* smart_ulltoa5: make available in libbbDenis Vlasenko2006-11-051-35/+1
|
* mostly style fixesDenis Vlasenko2006-11-011-1/+1
|
* last nail into error_msg() (de)capitalizationDenis Vlasenko2006-10-271-1/+1
|
* rename functions to more understandable namesDenis Vlasenko2006-10-262-3/+3
|
* remove bb_printf and the likeDenis Vlasenko2006-10-267-69/+81
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-13/+13
|
* use skip_whitespace where appropriateDenis Vlasenko2006-10-251-3/+3
|
* - we take exactly one argument.Bernhard Reutner-Fischer2006-10-241-0/+3
|
* raidautorun: new applet, by:Denis Vlasenko2006-10-203-0/+31
| | | | | Thomas Jarosch (email?) and Bernhard Fischer <rep.nop@aon.at>
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-204-6/+6
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-144-16/+8
|
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-122-2/+2
| | | | Renaming...
* nmeter: new applet. ~4kDenis Vlasenko2006-10-113-0/+898
| | | | Fix build proble on x86_64
* attempt to regularize atoi mess.Denis Vlasenko2006-10-088-25/+22
|
* eject: remove unmounting. It is buggy for many non-trivialDenis Vlasenko2006-10-071-12/+8
| | | | mounts, and can be done as shell script.
* eject: -T fixDenis Vlasenko2006-10-051-16/+20
|
* build system overhaulDenis Vlasenko2006-10-055-145/+93
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-032-5/+5
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-039-37/+37
| | | | | | | | 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.
* rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko2006-10-031-1/+1
|
* eject: -T (implements single button open/close)Denis Vlasenko2006-10-021-7/+22
|
* silly switch style fixDenis Vlasenko2006-09-271-1/+1
|
* crontab: we indent using tabsDenis Vlasenko2006-09-271-272/+277
|
* remove unneeded #includes, fix indentationDenis Vlasenko2006-09-231-16/+15
|
* bb_askpass: shorten static password buffer. 256 is way too large.Denis Vlasenko2006-09-231-7/+7
| | | | | simplify code a bit.
* adjtimex: getopt_ulflags'isationDenis Vlasenko2006-09-221-31/+26
|
* Change license statements (and clean up headers) on some of the files thatRob Landley2006-09-222-14/+2
| | | | Erik or I are primary copyright holders on.
* whitespace cleanupDenis Vlasenko2006-09-175-36/+36
|
* - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Bernhard Reutner-Fischer2006-09-113-3/+3
| | | | | | | | | | | | | | | | | | | | defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes