log lib/lib.h @ 1327:85f297591693 draft

age author description
Sat, 31 May 2014 12:33:24 -0500 Rob Landley Introduce xfork() and make commands use it, and make some WEXITSTATUS() use WIFEXITED() and WTERMSIG()+127. draft
Thu, 29 May 2014 05:22:02 -0500 Rob Landley Switch mtab_list to doubly linked so we can traverse in either order. Convert umount and df. Add dlist_terminate() to break lists for traversal in either direction. draft
Tue, 27 May 2014 07:56:51 -0500 Rob Landley Add mount options to data getmountlist collects. draft
Wed, 21 May 2014 07:24:16 -0500 Rob Landley Add generic_signal() handler, which sets toys.signal and writes byte to toys.signalfd if set. draft
Wed, 21 May 2014 06:57:43 -0500 Rob Landley Add free functions for predefined llist types. draft
Tue, 06 May 2014 06:31:28 -0500 Rob Landley Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make du use it, move it from lib/pending.c to lib.c. draft
Sat, 29 Mar 2014 18:11:00 -0500 Rob Landley Group headers by standard (POSIX or LSB) or function (internationalization, networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix. draft
Tue, 11 Mar 2014 20:44:55 -0500 Rob Landley Move mkpathat to lib, remove redundant function used by patch. draft
Fri, 07 Feb 2014 07:56:46 -0600 Rob Landley Move bunzip2 logic from lib into bzcat. draft
Thu, 16 Jan 2014 09:26:50 -0600 Rob Landley Rename xmsprintf() to just xmprintf(). draft
Fri, 27 Dec 2013 18:45:01 -0600 Rob Landley Pass through all the readfile() arguments from xreadfile(). draft
Mon, 23 Dec 2013 06:49:38 -0600 Rob Landley Fix some issues raised (albeit indirectly) by Isaac Dunham. draft
Thu, 19 Dec 2013 09:32:30 -0600 Rob Landley Move names_to_pid from pending to lib. draft
Thu, 28 Nov 2013 21:11:34 -0600 Rob Landley Oops, cleaned up ifconfig uses atolx_range() instead of get_int_list(). Check that in. draft
Thu, 28 Nov 2013 21:06:15 -0600 Rob Landley Add xgetpwnam() to lib/xwrap.c. draft
Thu, 28 Nov 2013 20:18:04 -0600 Rob Landley Move xgetpwuid() and xgetgrgid() into xwrap.c draft
Sun, 10 Nov 2013 18:20:16 -0600 Rob Landley Break out lib/pending.h from lib/lib.h. draft
Thu, 07 Nov 2013 09:04:50 -0600 Rob Landley Tweak terminal_size to never set either to 0, and return true/false whether it could determine at least one coordinate. draft
Wed, 16 Oct 2013 19:30:17 -0500 Rob Landley Prep work for useradd by Ashwini Sharma. draft
Wed, 11 Sep 2013 12:09:53 -0500 Rob Landley Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. (Fix it.) draft 0.4.6
Mon, 09 Sep 2013 04:26:03 -0500 Rob Landley Redo tail closer to the original design. Add more tests for large data sets. (Still no -f support yet.) draft
Fri, 06 Sep 2013 12:21:28 -0500 Rob Landley Ashwini Sharma submitted route.c, adding it to pending. draft
Tue, 03 Sep 2013 17:56:28 -0500 Rob Landley Introduce libbuf analogous to toybuf but for use by lib/*.c. Change readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL. draft
Tue, 03 Sep 2013 08:30:47 -0500 Rob Landley Remove itoa/utoa, let libc do this with sprintf. draft
Fri, 30 Aug 2013 17:34:24 -0500 Rob Landley Allow getmountlist to read fstab too. draft
Mon, 26 Aug 2013 21:55:33 +0200 Felix Janda syslogd: cleanup draft
Sun, 18 Aug 2013 04:12:51 -0500 Rob Landley Remove files du no longer needs.
Sat, 10 Aug 2013 20:18:18 +0200 Felix Janda Add daemonize function to lib for klogd and syslogd
Wed, 07 Aug 2013 12:19:51 -0500 Rob Landley Forgot to check in xfdopen(). My bad.
Wed, 17 Jul 2013 17:22:46 -0500 Rob Landley Add timeout, factoring out common code from sleep.
Tue, 16 Jul 2013 00:04:56 -0500 Rob Landley Split lib/xwrap.c from lib/lib.c
Fri, 12 Jul 2013 18:10:52 -0500 Strake add grep
Sun, 16 Jun 2013 19:59:51 -0500 Rob Landley Add xexit() and make error_exit() use it.
Sun, 02 Jun 2013 00:24:24 -0500 Rob Landley Stat cleanup.
Sat, 01 Jun 2013 22:36:48 -0500 Rob Landley Add peek/poke to header file.
Fri, 10 May 2013 18:57:01 -0500 Rob Landley Convert getmountlist() to xgetmountlist().
Mon, 22 Apr 2013 22:29:43 +0200 Felix Janda Add library function for the file permission formatting in ls and stat
Fri, 26 Apr 2013 02:41:05 -0500 Rob Landley Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c and move xsocket() to it.
Sat, 20 Apr 2013 23:33:48 -0500 Rob Landley More ifconfig cleanup.
Sun, 14 Apr 2013 21:43:22 -0500 Rob Landley Move guts of help command into show_help() in lib/help.c, with config TOYBOX_HELP controlling infrastructure.
Sun, 17 Mar 2013 17:57:28 -0500 Rob Landley Remove unused min/max macros.
Mon, 31 Dec 2012 14:38:13 -0600 Rob Landley Make dirtree_handle_callback() start with dirtree_ like the rest of the dirtree functions.
Sun, 16 Dec 2012 13:43:36 +0100 Elie De Brauwer Extend killall with support for -v and -i
Sat, 08 Dec 2012 20:10:05 +0100 Elie De Brauwer Adding -s (single shot) and -o (omit pids) options to pidof
Thu, 06 Dec 2012 15:13:30 -0600 Rob Landley Have dirtree_add_node() set parent so error message can provide full path.
Sat, 01 Dec 2012 18:26:58 -0600 Rob Landley Remove unused structure definition.
Fri, 23 Nov 2012 00:06:28 +0100 Jonathan Clairembault Add expand command as described in POSIX-2008.
Thu, 22 Nov 2012 21:18:09 -0600 Rob Landley Remove readlink -m for being poorly defined ("readlink -m /dev/null/and/more" answers what question, exactly?), rewrite xabspath() to work right and not depend on realpath, fix subtle longstanding bug in llist_traverse().
Tue, 20 Nov 2012 09:21:52 -0600 Rob Landley Update readlink so -f works. Add -menq while there.
Fri, 16 Nov 2012 12:26:48 -0600 Rob Landley Add cut from Jason Kyungwan Han.
Tue, 13 Nov 2012 17:14:08 -0600 Rob Landley Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
Sun, 26 Aug 2012 21:17:00 -0500 Ashwini Kumar Add du command.
Mon, 30 Jul 2012 01:01:33 -0500 Rob Landley Add signal handler to clean up tempfile.
Sat, 21 Jul 2012 18:38:36 -0500 Rob Landley Use "_password" instead of "_passwd" for names in lib/password.c.
Tue, 17 Jul 2012 08:54:47 -0500 Rob Landley Add passwd by Kyungwan Han.
Sun, 15 Jul 2012 17:22:04 -0500 Rob Landley Genericize llist code a bit: rename llist_free() to llist_traverse(), and no longer accept NULL as a synonym for free.
Sun, 15 Jul 2012 16:56:20 -0500 Rob Landley New infrastructure for od (oops).
Sun, 24 Jun 2012 18:35:49 -0500 Rob Landley Unify chown and chgrp, add support for -hHLP flags. 0.3.1
Sat, 16 Jun 2012 15:16:08 -0500 Rob Landley Add dirtree_parentfd()
Sat, 09 Jun 2012 22:25:49 -0500 Rob Landley Implement DIRTREE_SYMFOLLOW and ls -cSHL.
Sun, 03 Jun 2012 00:32:12 -0500 Rob Landley Update chmod to work with new dirtree, and fix bugs in string_to_mode().
Fri, 01 Jun 2012 20:27:51 -0500 Rob Landley Changed my mind about the design again, now callback is dirtree_opennode() and recursion choice is how caller interprets flags.
Fri, 01 Jun 2012 20:04:39 -0500 Rob Landley Factor out dirtree_comeagain() callback, setting up depth-first search with open filehandle in node->extra.
Fri, 01 Jun 2012 13:50:41 -0500 Rob Landley Add xrealpath() at suggestion of Ashish Briggers.
Sun, 20 May 2012 15:00:19 -0500 Rob Landley dirtree logic cleanup: switch DIRTREE_NORECURSE and DIRTREE_NOSAVE to DIRTREE_RECURSE and DIRTREE_SAVE.
Sat, 14 Apr 2012 22:30:41 -0500 Rob Landley Rewrite dirtree so we don't need readdir, scandir, and fts.h. Rewrite ls (from scratch) to use new dirtree infrastructure. (This breaks everything else that currently uses dirtree.)
Mon, 19 Mar 2012 19:57:56 -0500 Daniel Walter Add string to mode_t parser
Mon, 12 Mar 2012 00:25:40 -0500 Rob Landley Redo tail to use optargs and optionally support lseek. Add support to optargs and llist.c, plus add a test suite entry. Still no -f support though.
Mon, 27 Feb 2012 21:56:49 -0600 Rob Landley Upgrade yesno() and make cp -i use it.
Sun, 26 Feb 2012 13:48:00 -0600 Rob Landley Factor out common code between killall/kill and move it to lib/lib.c, plus cleanups on kill.c.
Sat, 18 Feb 2012 18:53:57 -0600 Rob Landley And again, I forgot to check in a file. Oops.
Sat, 18 Feb 2012 15:12:41 -0600 Rob Landley Add killall by Andreas Heck, and factor out common pid code to lib.h.
Thu, 02 Feb 2012 07:27:35 -0600 Rob Landley Quick and dirty terminal_size() and yesno() functions, both of which need to be improved.
Thu, 02 Feb 2012 07:26:39 -0600 Rob Landley Commit 415 needs the other two files. (Oops.)
Mon, 12 Dec 2011 15:19:52 -0600 Rob Landley Forgot to check in loopfiles_rw changes needed by truncate.
Tue, 05 Jan 2010 12:17:05 -0600 Rob Landley Add TOYBOX_SUID.
Tue, 05 Jan 2010 10:48:32 -0600 Rob Landley Correct return types of xstrdup() and xstrndup()
Sun, 18 Jan 2009 16:19:25 -0600 Rob Landley Add mkswap.
Mon, 05 Jan 2009 01:05:43 -0600 Rob Landley Add -N, -I, -L, and -P options to cksum.
Sat, 03 Jan 2009 18:15:18 -0600 Rob Landley Check in crc_init needed by cksum. (Oops.)
Thu, 23 Oct 2008 16:44:30 -0500 Rob Landley Upgrade patch to detect hunks that start after a false start.
Fri, 18 Jul 2008 08:43:18 -0500 Rob Landley Tweak from Roberto Foglietta.
Thu, 03 Jul 2008 19:19:00 -0500 Rob Landley Add "tee" command.
Mon, 12 May 2008 00:52:27 -0500 Rob Landley Update mdev to work around the newest sysfs api breakage in the 2.6.25 kernel.
Sun, 13 Apr 2008 00:29:00 -0500 Rob Landley Teach get_rawline() to continue until a configurable char, and xstrndup()
Thu, 21 Feb 2008 04:44:42 -0600 Rob Landley Make cp pass most of its test suite. Still need to add symlink support.
Wed, 20 Feb 2008 01:47:56 -0600 Rob Landley Add first pass at cp, totally untested, unlikely to work yet. :)
Sun, 20 Jan 2008 17:34:53 -0600 Rob Landley Move dlist_add() to lib/llist.c
Thu, 27 Dec 2007 21:36:33 -0600 Rob Landley Make patch's file add actually work, including directory creating and
Thu, 20 Dec 2007 06:30:19 -0600 Rob Landley Upgrade patch to understand creating and deleting files.
Tue, 18 Dec 2007 02:02:21 -0600 Rob Landley Patch command.
Sat, 15 Dec 2007 21:47:25 -0600 Rob Landley Start of "patch" support. Writes to stdout at the moment.
Thu, 29 Nov 2007 17:49:50 -0600 Rob Landley Add loopfiles() function, make catv use it.
Mon, 19 Nov 2007 01:51:00 -0600 Rob Landley Replace strlcpy() with xstrcpy(), which exits if the string won't fit.
Thu, 15 Nov 2007 21:12:24 -0600 Rob Landley Add noreturn mark to [p]error_exit(), suggested by Charlie Shepherd.
Thu, 11 Oct 2007 15:36:36 -0500 Rob Landley Promote help to global config option, teach error_exit() to output usage message when called
Thu, 04 Oct 2007 02:04:10 -0500 Rob Landley Break out dirtree.c and let it call a function instead of returning the data.
Wed, 15 Aug 2007 12:50:44 -0500 Rob Landley More klibc fixes from Maximilian Attems, strlcpy() this time.
Mon, 18 Jun 2007 00:14:03 -0400 Rob Landley Add xputs() to detect EOF on writes.
Thu, 07 Jun 2007 15:19:44 -0400 Rob Landley Work around uClibc weirdness.
Sun, 29 Apr 2007 19:55:21 -0400 Rob Landley Add readlink, xreadlink(), and change xrealloc() to not fight the stupid
Fri, 16 Feb 2007 21:08:22 -0500 Rob Landley Add atolx() which understands extensions for kilobytes and megabytes and such.
Sun, 04 Feb 2007 19:14:58 -0500 Rob Landley Add parent pointer to dirtree, more work on mke2fs (populate dirtree, count
Sat, 03 Feb 2007 14:11:26 -0500 Rob Landley Add xstat(), read_dirtree(), and read_dirtree_node().
Tue, 23 Jan 2007 13:20:38 -0500 Rob Landley More random progress on mke2fs. Nothing to see yet.
Sat, 20 Jan 2007 18:04:20 -0500 Rob Landley Add "echo". Has -n and -e (but not \0123 yet).
Thu, 18 Jan 2007 22:00:12 -0500 Rob Landley In bunzip replace setjmp/longjmp handling with error_exit(), replace string
Thu, 18 Jan 2007 21:54:08 -0500 Rob Landley Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, which
Sun, 14 Jan 2007 20:20:06 -0500 Rob Landley Add start of mke2fs/gene2fs, and some other stuff I've been working on.
Mon, 08 Jan 2007 04:26:01 -0500 Rob Landley xread() and xwrite() should take void *, not char *.
Mon, 08 Jan 2007 03:25:47 -0500 Rob Landley Add xaccess()
Mon, 08 Jan 2007 02:49:39 -0500 Rob Landley Add rewrite(), writeall(),and xwrite() to match the read versions.
Sun, 07 Jan 2007 22:51:12 -0500 Rob Landley xopen() wants 2 arguments unless you're creating a file, in which case you
Sat, 25 Nov 2006 16:06:55 -0500 Rob Landley Add cat -v.
Sun, 19 Nov 2006 02:49:22 -0500 Rob Landley New option parsing infrastructure (doesn't use getopt). Hook it up to
Fri, 03 Nov 2006 00:05:52 -0500 Rob Landley Implement which. Add hello world to menuconfig. Wrap the various applet main
Thu, 02 Nov 2006 02:57:27 -0500 Rob Landley Add xabspath(), is_file_type(), which_in_path(), and find_in_path().
Mon, 30 Oct 2006 10:01:19 -0500 landley Add reread(), readall(), and xread() on the bus ride in to work...
Mon, 30 Oct 2006 01:38:00 -0500 landley Implement df. Add -Wall to build and fix up warnings. Add copyright notices.
Wed, 25 Oct 2006 18:38:37 -0400 landley Add xmsprintf(), xgetcwd(), xgetcwd(), find_in_path().