Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-26 | Factor out more not-curses infrastructure into lib. | Rob Landley | |
2015-05-14 | Promote reset (actually write a new one using the simple man 4 console_codes | Rob Landley | |
terminal reset escape sequence) and add gettty() function to lib so terminal gets reset even when we redirect stdout/stderr. (This is apparently the expected behavior.) | |||
2015-05-09 | Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out from | Rob Landley | |
under traversal. Pass through full flag set in dirtree_add_node(), add dirtree_start() wrapper to provide symlink-only behavior (avoiding a lot of DIRTREE_SYMFOLLOW*!!(logic) repeated in callers). | |||
2015-05-08 | Move not-curses code into interstingtimes.c | Rob Landley | |
2015-04-30 | And remove the header part too. | Rob Landley | |
2015-04-27 | Some infrastructure hexedit needs. (Poor man's curses.) | Rob Landley | |
2015-04-19 | Cleanup getprop, add qstrcmp() to lib for qsort (because posix-2008 broke | Rob Landley | |
alphasort), add compile-time probe for config symbol TOYBOX_ON_ANDROID. | |||
2015-04-03 | Add readfileat() to lib | Rob Landley | |
2015-03-12 | Factor out xgetgrnamid() and xgetpwnamid() into xwrap.c. | Rob Landley | |
2015-03-09 | Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and ↵ | Rob Landley | |
signal handling. | |||
2015-03-01 | let the compiler check format strings | Elliott Hughes | |
i'll be AFK for a week, so here's the patch i've been using this evening to find other format string mistakes. BSD uses __printflike and takes two arguments instead of hard-coding (1,2), but i figured that as long as you don't need the generality you'd prefer not to have it. and it's easy enough to retrofit if we ever do have a formatting function that takes other arguments. | |||
2015-02-09 | Cleanup/refactoring pass on hwclock. | Rob Landley | |
Inline open_wall_clock_rtc() into rtc_open(), factor out xtzset(), inline set_sysclock_from_hwclock(), set_hwclock_from_sysclock(), and set_sysclock_timezone(). /etc/adjtime is short enough we don't need to bother with a break. The final "else" case in main() should always trigger because >0 in optstr says "at most zero arguments", so the || at the end is always true, so take the test off. | |||
2015-02-07 | Remove xexec_optargs(). | Rob Landley | |
2015-01-01 | strtol() doesn't return error indicator for overflow, it just sets errno. So ↵ | Rob Landley | |
add estrtol() (which clears errno first), and xstrtol() (which error_exit()s on overflow). | |||
2014-12-13 | Forgot to check in a header file for base64. | Rob Landley | |
2014-12-04 | Work with buildroot's extensively patched uClibc, and for nommu support move ↵ | Rob Landley | |
xfork() to portability.h and #ifdef based on __uClinux__ (which seems to be the nommu compiler define). | |||
2014-12-04 | Implement xstrncat() and fix xstrndup(). | Rob Landley | |
2014-10-18 | Factor out printf-style escape parsing logic from echo.c. | Rob Landley | |
2014-09-14 | Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ↵ | Rob Landley | |
we want to redirect both, one, or neither of stdin/stdout. | |||
2014-08-24 | Work in progress snapshot of mount, with fallout to umount. (Not done yet.) | Rob Landley | |
2014-08-03 | Implement exec -user, -group, and -newer. Enable find in defconfig. | Rob Landley | |
2014-08-02 | Yank xrealpath prototype since the function's gone. | Rob Landley | |
2014-07-26 | Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ↵ | Rob Landley | |
open, and add dir->again variable to distinguish second call instead of checking for -1 filehandle. | |||
2014-07-21 | Little endian and big endian versions of peek (for host.c). | Rob Landley | |
2014-06-25 | Cleanup pass on mkpasswd.c | Rob Landley | |
2014-06-09 | Forgot to check in strstart(). | Rob Landley | |
2014-06-03 | mount: start on option parsing, implement loopback and bind mount autodetection. | Rob Landley | |
2014-05-31 | Introduce xfork() and make commands use it, and make some WEXITSTATUS() use ↵ | Rob Landley | |
WIFEXITED() and WTERMSIG()+127. | |||
2014-05-29 | Switch mtab_list to doubly linked so we can traverse in either order. ↵ | Rob Landley | |
Convert umount and df. Add dlist_terminate() to break lists for traversal in either direction. | |||
2014-05-27 | Add mount options to data getmountlist collects. | Rob Landley | |
2014-05-21 | Add generic_signal() handler, which sets toys.signal and writes byte to ↵ | Rob Landley | |
toys.signalfd if set. | |||
2014-05-21 | Add free functions for predefined llist types. | Rob Landley | |
2014-05-06 | Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make ↵ | Rob Landley | |
du use it, move it from lib/pending.c to lib.c. | |||
2014-03-29 | Group headers by standard (POSIX or LSB) or function (internationalization, ↵ | Rob Landley | |
networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix. | |||
2014-03-11 | Move mkpathat to lib, remove redundant function used by patch. | Rob Landley | |
2014-02-07 | Move bunzip2 logic from lib into bzcat. | Rob Landley | |
2014-01-16 | Rename xmsprintf() to just xmprintf(). | Rob Landley | |
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. | |||
2013-12-27 | Pass through all the readfile() arguments from xreadfile(). | Rob Landley | |
2013-12-23 | Fix some issues raised (albeit indirectly) by Isaac Dunham. | Rob Landley | |
POLL_IN defined as a constant by some libc. Factor out login.c's change_identity() to xwrap.c as xsetuser(). Replace xsetuid() with xsetuser() Put a space between argument globals and non-argument globals. TT starts zeroed, don't need to re-zero entries in it. STDIN_FILENO has been 0 since 1969, even DOS copied that. Just say 0. Added an xchroot() using xchdir() to lib/xwrap.c. Remove endgrent() call until somebody can explain why it was there. | |||
2013-12-19 | Move names_to_pid from pending to lib. | Rob Landley | |
2013-11-28 | Oops, cleaned up ifconfig uses atolx_range() instead of get_int_list(). ↵ | Rob Landley | |
Check that in. | |||
2013-11-28 | Add xgetpwnam() to lib/xwrap.c. | Rob Landley | |
2013-11-28 | Move xgetpwuid() and xgetgrgid() into xwrap.c | Rob Landley | |
2013-11-10 | Break out lib/pending.h from lib/lib.h. | Rob Landley | |
2013-11-07 | Tweak terminal_size to never set either to 0, and return true/false whether ↵ | Rob Landley | |
it could determine at least one coordinate. (If you set $COLUMNS but not $ROWS, we assume you're happy with the 80x25 default for the other.) | |||
2013-10-16 | Prep work for useradd by Ashwini Sharma. | Rob Landley | |
2013-09-11 | Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. ↵0.4.6 | Rob Landley | |
(Fix it.) | |||
2013-09-09 | Redo tail closer to the original design. Add more tests for large data sets. ↵ | Rob Landley | |
(Still no -f support yet.) | |||
2013-09-06 | Ashwini Sharma submitted route.c, adding it to pending. | Rob Landley | |
2013-09-03 | Introduce libbuf analogous to toybuf but for use by lib/*.c. Change ↵ | Rob Landley | |
readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL. |