aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-25Juhani Haverinen pointed out that python 3 doesn't work with config2help.py, ↵Rob Landley
so you python2 binary until finishing the C rewrite.
2013-07-19Implement testFelix Janda
2013-07-25Don't make a FLAG_ macro for " ", it's a control character, doing so throws ↵Rob Landley
the indexes off. Reported by Ashwini Sharma.
2013-07-25pgrep and pkill by Madhur Verma,Rob Landley
2013-07-25netstat by Ranjan Kumar.Rob Landley
2013-07-25syslogd by Madhur Verma.Rob Landley
2013-07-23grepStrake
2013-07-22More ifconfig cleanup: Remove if_list, unify get_device_info and ↵Rob Landley
display_ifconfig(), inline another magic constant #define that's only used once.
2013-07-19Another round of ifconfig cleanup.Rob Landley
2013-07-19Start of TOYBOX_SINGLE support, for building standalone commands with no ↵Rob Landley
multiplexer.
2013-07-18Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid ↵Rob Landley
free/reuse bug during argument parsing.
2013-07-17make xzcat use loopfiles(), thereby allowing regular usage.Isaac Dunham
2013-07-17xzcat: remove XZ_(PREALLOC|SINGLE), inline xz_dec_bcj_createIsaac Dunham
Because we only use XZ_DYNALLOC, there's a bunch of dead code. This patch removes the #ifdef's and if()s associated with support for multiple modes. single_call was only used to store the mode; it is no longer needed. A little bit of reorganization was needed to reduce the number of prototypes. Documentation associated with dead code was dropped. There are still some relics of multiple modes in the continued presence of "XZ_DYNALLOC" and xz_mode. Additionally, I inlined xz_dec_bcj_create; it was called once. This loses about 125 lines, mostly comments.
2013-07-17Add timeout, factoring out common code from sleep.Rob Landley
2013-07-16Split lib/xwrap.c from lib/lib.cRob Landley
2013-07-15klogd, submitted by Ashwini Sharma.Rob Landley
2013-07-14New stuff added to lib.c needs review too, so make a lib/pending.c and move ↵Rob Landley
several functions to it.
2013-07-12add grepStrake
2013-07-11Eject cleanups.Rob Landley
2013-07-11Eject, by Kyungwan Han.Rob Landley
2013-07-10add paramtype in to the list of tagsIsaac Dunham
2013-07-06This inlines CRC64, and nothing more.Isaac Dunham
The functions involved were called only once.
2013-07-03here's a version of paste. It doesn't deal with wide characters yet andFelix Janda
likely behaves very badly when given too many files or delimiters.
2013-07-02Added tag 0.4.5 for changeset 62ba5ce62e9dRob Landley
2013-07-01Make ls output major, minor for block devices.0.4.5Rob Landley
2013-06-30First pass at ls --colorRob Landley
2013-06-30Condense ls help text.Rob Landley
2013-06-30Add config option for --help support in all commands.Rob Landley
2013-06-30Fix another segfault in ls -C when terminal size is 0x0.Rob Landley
2013-06-28modinfo: support -b basedir and -k kernel.release, fix two bugsIsaac Dunham
Add two less-frequently used flags for modinfo; -b specifies an alternate root and -k replaces the output of uname -r. Additionally, avoid a potential overflow in sprintf, and correct an inverted test.
2013-06-26Update status to include recently implemented commands.Rob Landley
2013-06-23Modinfo cleanups.Rob Landley
Don't use xopen() if you want to iterate through multiple files. Don't abort if unable to open the file, but return error if it can't map it. (And leak the filehandle.) All modinfo_file() actually uses is the filename, no reason to go through dirtree() for that. Nothing is actually _checking_ the return value of modinfo_file(). Avoid global data outside of toy_union. Make sure extension is at end of file (we can add support for more extensions later).
2013-06-23Patch that assumes that the presence of the string ".ko" indicatesIsaac Dunham
use of a path to a module (*.ko.xz and similar included, but not supported).
2013-06-22Implement mv as an extension of cp.Rob Landley
2013-06-22Option type @ counts number of occurrences, it doesn't take an argument.Rob Landley
2013-06-22Generate FLAG_longopt macros for --longopts with no corresponding short option.Rob Landley
2013-06-18Add pivot_root.Rob Landley
2013-06-16Test cases for split.Rob Landley
2013-06-16Misc website updates.Rob Landley
2013-06-16Typo fixRob Landley
2013-06-16Add xexit() and make error_exit() use it.Rob Landley
2013-06-16Implement split.Rob Landley
2013-06-16Upgrade modinfo to support multiple modules, and add tests, from Isaac Dunham.Rob Landley
2013-06-15Force 64 bit math in expr, from Daniel VerkampRob Landley
2013-06-08Yet more ifconfig cleanup.Rob Landley
2013-06-05Start of expr, by Daniel Verkamp.Rob Landley
2013-06-02More ifconfig cleanup, described on list.Rob Landley
2013-06-02Move stat from pending to other, default y.Rob Landley
2013-06-02Stat cleanup.Rob Landley
Move ftname out of GLOBALS into 'F' handler. Make 'i' zero pad output (zeroes in middle of ID can get lost).
2013-06-02Stat cleanup.Rob Landley
lib: rename format_mode() to mode_to_string() (echoing string_to_mode), make it take a normal char * argument. stat: collapse big switch/case statements that only have one line each into if/else staircase (much fewer lines of code). Remove return type (other stat implementations print ? for unknown escapes, so do that here). Inline do_stat() and do_statfs(). Set default string in normal local variable "format". Remove unnecessary struct d. Restructure stat logic to "if (flagf && !statfs()) else if (!flagf && !stat()) else perror_msg();" Teach %N to add -> symlink. Judicious use of putchar() instead of xputc to let FILE * do its job collating output.