aboutsummaryrefslogtreecommitdiff
path: root/toys.h
AgeCommit message (Collapse)Author
2013-08-15Forgot to check in toys.h when generated/oldtoys.h went in. (Oops.)Rob Landley
2013-04-21Fix some comments from way back when toybox first started (in 2006), when I ↵Rob Landley
was still cleaning busybox-isms out of my head...
2012-12-10Add stat submission to new "pending" directory, along with infrastructure to ↵Rob Landley
support pending.
2012-12-01Add header that musl libc needs.Rob Landley
2012-11-26Cleanup i18n support (#ifdefectomy, move global init to process launch). ↵Rob Landley
Teach make.sh to emit "#define FLAG_x 0" for options inside disabled USE macros so we can unconditionally refer to them.
2012-11-21Make internalization support optionalFelix Janda
2012-11-16Add rebound support to intercept error_exit() and longjmp instead.Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked ↵Rob Landley
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. The actual code should be the same afterward, this is just cosmetic refactoring.
2012-11-08wc -m only cares about counting characters. Attached is a try on ↵Felix Janda
implementing it and some test cases for it. The test cases are only for UTF-8 locales.
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define ↵Rob Landley
FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
2012-08-14Replace TOY_LIST_LEN with more generic ARRAY_LEN()Rob Landley
2012-07-15Adding initial implementation of tasksetElie De Brauwer
2012-06-16More header fiddling: crypt.h is silly, SUSv4 requires crypt() to be ↵Rob Landley
prototyped in unistd.h. The fact glibc refuses to do so without a wacky #define is a glibc bug, treat it as such.
2012-04-28Georgi pointed out that some overly-pedantic C libraries require you to ↵Rob Landley
include both "string.h" and "strings.h". (Most don't.)
2012-04-24Adding initial version of login.cElie De Brauwer
2012-04-14Comment and whitespace changes.Rob Landley
2012-03-12Yet another header for technical susv4 compliance.Rob Landley
2012-03-07Consolidate headers.Rob Landley
2012-02-18Adding swapon and swapoffElie De Brauwer
2012-02-17Sigh: moving a header to toys.h isn't very useful if I forget to check in ↵Rob Landley
toys.h.
2012-02-04Cleaning out one more old gpl notice that no longer applies after the switch ↵Rob Landley
to BSD in november.
2010-01-05Add TOYBOX_SUID.Rob Landley
2009-08-06Make a warning go away on Fedora 11.Rob Landley
2009-01-25Comment tweaks.Rob Landley
2008-11-15Add netcat server mode, -l, -L, and -t.Rob Landley
2008-02-12Add TOYFLAG_UMASK.Rob Landley
2008-02-12Add toys.optc, an argv-style count for toys.optargs.Rob Landley
2008-01-20Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()Rob Landley
macros in each C file, and making generated/globals.h from that. Rename "toy" to "this" along the way to avoid toy/toys confusion.
2008-01-19Move NEWTOY() list from end of toylist.h to generated/newtoys.h.Rob Landley
2008-01-19Zap toys/Config.in and instead create generated/Config.in from contents ofRob Landley
toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also convert more of Makefile into a thin wrapper around shell scripts that actually do the work. (Makefile is only still there for the user interface.)
2008-01-10Move some generated files into the "generated" subdirectory.Rob Landley
2007-12-28Make touch work reliably when file doesn't exist and clean up headers a bit.Rob Landley
2007-10-16Need to commit this too. :)Rob Landley
2007-08-15Remove strings.h which Maximilian Attems points out is obsolete:Rob Landley
> belows snippet directly taken from mdadm.h. > > to quote hpa: > "Including <strings.h> is a bug in the upstream source; > <strings.h> has been obsolete since at least 1989" > > one small little step for better klibc support ;)
2007-05-17Add sleep.Rob Landley
2007-04-23Add sync and an incomplete version of mdev.Rob Landley
2007-02-03Teach build to build only the toys/*.c selected in .config, and teachRob Landley
CFG_TOYSH_DEBUG to shut up the spurious "gcc can't tell that this is never actually used uninitialized because gcc is stupid" warnings.
2007-01-28More work on mke2fs.Rob Landley
2007-01-23More work on mke2fs.Rob Landley
2007-01-23More random progress on mke2fs. Nothing to see yet.Rob Landley
2007-01-18Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, whichRob Landley
shouldn't be a problem if we register signal handlers with sigaction(SA_RESTART) Straighten out count and len (I generally consistently use "count" for the current progress and "len" for the total, but this time I got them backwards for some reason and don't want to confuse myself in future.)
2007-01-14Add start of mke2fs/gene2fs, and some other stuff I've been working on.Rob Landley
2006-11-25Add my old micro-bunzip library. Needs some cleanup...Rob Landley
2006-11-25Add cat -v.Rob Landley
2006-11-19New option parsing infrastructure (doesn't use getopt). Hook it up toRob Landley
existing applets. Still a bit buggy, but bits of it work.
2006-11-04Add pwd. Consolidate toy list information under toylist.h.Rob Landley
2006-11-03Implement which. Add hello world to menuconfig. Wrap the various applet mainRob Landley
functions in main.c with USE() macros so --gc-sections can strip them.
2006-11-01Add a hello world applet, partly as an example and partly for testing purposes.Rob Landley
2006-10-30Implement df. Add -Wall to build and fix up warnings. Add copyright notices.landley
Add error_msg() and itoa() to library. Remove argc from globals (since argv is null terminated), add optflags to globals.
2006-10-25Add xmsprintf(), xgetcwd(), xgetcwd(), find_in_path().landley