Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-09 | Fix xpipe. (thinko.) | Rob Landley | |
2016-02-08 | Add xpipe() to lib. | Rob Landley | |
2016-01-28 | Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill. | Rob Landley | |
2016-01-28 | Bugfix I forgot to checkin, plus a wrapper function. | Rob Landley | |
2016-01-25 | Fix comma_args error reporting. | Elliott Hughes | |
None of the current callers' callbacks set errno, so this was resulting in bogus errors like "No device or address" when ps tried to complain about a misspelled field. | |||
2016-01-22 | Factor out insanitize() from seq.c to next_printf() in lib. | Rob Landley | |
2016-01-20 | First stab at making readfileat() realloc() in a loop to read long files. | Rob Landley | |
2016-01-19 | Another CFG_TOYBOX_DEBUG test. | Rob Landley | |
2016-01-17 | Extend utf8 fontmetrics so ps can use them. | Rob Landley | |
Also, I forgot to check in uuid_show() last time. | |||
2016-01-17 | Update draw_str() and friends to do standard escaping for ^X <AB> U+ABCD. | Rob Landley | |
2016-01-16 | Move create_uuid() to lib and xpoll() to lib/net.c. | Rob Landley | |
2016-01-10 | Fix hwclock -u. | Elliott Hughes | |
You can't pass a NULL value to setenv(3). The "put things back how they were" intent of this code is best achieved by calling unsetenv(3) in the NULL case. (This causes a crash with "hwclock -u" on Android. glibc silently corrupts the environment instead.) | |||
2016-01-10 | Fix perror_exit_raw. | Elliott Hughes | |
Some things are worse when you remove the 'p'. | |||
2016-01-10 | Make cursor left/right change sort type in iotop. | Rob Landley | |
2016-01-08 | Fix cat -. | Elliott Hughes | |
Commit 4b4ab6a50998 broke loopfiles' handling of "-". This broke the existing cat tests, so no new test is necessary here. | |||
2016-01-07 | Make scan_key() specify timeout in miliseconds, split out terminal_probesize(), | Rob Landley | |
add function key definitions and shift/ctrl/alt cursor keys. | |||
2016-01-05 | Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format | Rob Landley | |
checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts. | |||
2015-12-31 | Tweak error message. | Rob Landley | |
2015-12-30 | Add more keys to scan_key() and fix hang in scan_key_getsize(). | Rob Landley | |
2015-12-30 | I didn't add comma_args() to lib.c, I added it with the other comma functions. | Rob Landley | |
(Oops. Missed a file checkin, build break, my bad.) | |||
2015-12-29 | Add strafter() to lib. | Rob Landley | |
2015-12-27 | Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY, | Rob Landley | |
and add test_scankey. | |||
2015-12-24 | Move get_line() header to pending.h because posix has FILE * versions. | Rob Landley | |
2015-12-23 | Factor out draw_str() and friends. | Rob Landley | |
2015-12-10 | Expand toys.optargs to 64 bits so people adding more options to ls don't run ↵ | Rob Landley | |
out. Keep the low 32 bits of FLAG_x constants as 32 bit numbers so that at least on little endian platforms it's still normal 32 bit math outside of lib/args.c. | |||
2015-12-06 | Rename dirtree->data to dirfd, and don't store symlink length in it. | Rob Landley | |
2015-11-26 | Split do_ps() into get_ps() and show_ps() as a start on implementing --sort. | Rob Landley | |
Change readfileat() to pass back length of read. | |||
2015-11-08 | NOEXIT(thingy()) wrapper to turn xwrap() functions into warning versions. | Rob Landley | |
Also WOULD_EXIT(x, thingy()) to set a variable to 1 or 0 showing whether or not thingy() tried to exit. I'd love to be able to do "x = NOEXIT(thingy());" but haven't figured out a syntax to make that work yet... | |||
2015-11-02 | Don't pass target $CFLAGS to host builds (telling x86 compiler to be big-endian | Rob Landley | |
seldom ends well). Instead add -DBUILD_FOR_HOST to $HOSTCC and wrap #ifdefs around problematic (smack) includes from toys.h. | |||
2015-11-02 | If chomp() needs to test it found \n, should also test it's at end of string. | Rob Landley | |
2015-11-02 | Add ps -Z. | Elliott Hughes | |
As with ls, it doesn't seem like -Z should be guarded behind LSM availability. On a non-SELinux system, the label is always "unconfined". | |||
2015-10-28 | Oops, forgot to check in the header file change for ps.c. | Rob Landley | |
2015-10-27 | Replace xcount_cpus() with a call to sysconf(_SC_NPROCESSORS_CONF) | Rob Landley | |
2015-10-25 | Add xcount_cpus() | Rob Landley | |
2015-09-29 | help_exit() tweak. | Rob Landley | |
2015-09-29 | Make defconfig build for nommu. | Rob Landley | |
Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL argv (and converts cpio -p to use that), adds TOYBOX_FORK guards to some unconverted commands. | |||
2015-09-27 | Another chunk of nommu support, replacing toys.recursion with toys.stacktop. | Rob Landley | |
2015-09-23 | Add xvfork() as a static inline and use it from various places. | Rob Landley | |
Note: vfork(), like fork(), can return -1 if too many processes, and we should notice and fail loudly. | |||
2015-09-11 | Replace toys.exithelp with help_exit() in lib. | Rob Landley | |
2015-09-07 | Remove prompt argument from yesno(), caller can fprintf(stderr, "blah") itself. | Rob Landley | |
This fixes the build break, the change to yesno() prototype accidentally got checked in last commit. (Oops, sorry.) | |||
2015-09-06 | Switch HR_SI to HR_1000, make binary the default, make HR_B only affect bytes, | Rob Landley | |
and update the tests. | |||
2015-09-03 | Make human_readable() handle base 1024 units without floating point. | Rob Landley | |
Rounds correctly via brute force, displayed digits are decimal even when working with powers of 2, shows at most 3 significant (decimal) digits. (So no "1023M" nonsense, that's 1.0G.) | |||
2015-08-30 | Add portability.h glue to let uptime build without TOYBOX_UTMPX. | Rob Landley | |
2015-08-08 | Different tools have different ideas about what human-readable output | Elliott Hughes | |
looks like. dd uses "7 MB" where du uses "7M", for example. this patch adds flags, similar to the BSD humanize_number. most callers will pass 0. | |||
2015-08-08 | First pass at proper bunzip2 command line handling. | Rob Landley | |
2015-08-06 | Adjust xexec() exit code to be 127, and tweaks for nommu friendliness. | Rob Landley | |
2015-08-05 | Switch nbd_client to xconnect() and make xconnect() try all returned addresses | Rob Landley | |
before failing. | |||
2015-08-05 | Tweak xconnect: socket can be a string (ala "ftp") from /etc/services. | Rob Landley | |
Still need a rethink on how to handle socket/bind/connect sequence. | |||
2015-08-03 | Factor out xconnect(), plus some other small cleanups to telnet.c. | Rob Landley | |
2015-08-01 | Move strlower() from find to lib. | Rob Landley | |