Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-11 | fdisk: remove goto; inline valid(); merge xprintf() calls; shrink sys_types | Isaac Dunham | |
sys_types had used char[_PATH_MAX] for 22-char max strings. When this is done 48 times, it nearly doubles the size of toybox. goto should only be used when it is the easiest way to bail out. That does not mean "when we need to fall back to returning a one-liner that asks user input", nor is it suitable for looping: C has while () and do { } while (); for a reason. valid was called once. As such, it belonged inline. print_*menu could probably be inlined, but I did not do this yet in case a table-driven approach works better. This uses C string concatenation to break an overly long message up, while not wasting function calls. | |||
2013-08-11 | Ashwini Sharma said that Kyungwan Han should be in the contact info for the ↵ | Rob Landley | |
commands he sent recently. | |||
2013-08-10 | Add daemonize function to lib for klogd and syslogd | Felix Janda | |
2013-08-10 | Cleanup klogd | Felix Janda | |
Remove #if and inline most functions | |||
2013-08-09 | New toy: fallocate | Felix Janda | |
2013-08-07 | This is the preliminary version of lspci text output support (the location | Isaac Dunham | |
of pci.ids is hard-coded to /usr/share/misc/pci.ids, as found on Debian/Ubuntu). +88 lines in two files, including reformatting, comments, whitespace, and build configuration as well as new code. The changes: -Add library code to look up descriptions. -Add a counter for -n (for the sake of -nn) -Add the file stream "db" to GLOBALS and open it conditionally -Add name fields to bufs -Look up text if enabled and -n is passed never or twice -Print text if lookup succeeded | |||
2013-08-05 | I have implemented FDISK command. | Ashwini Sharma | |
This supports '-l' option for listing and other options [-bCHS] for giving values like block size, Cylinders, Heads,... | |||
2013-08-04 | Cleanup grep, make it pass the current test suite. | Rob Landley | |
2013-08-04 | System V style init, submitted by Kyungwan Han. | Rob Landley | |
2013-08-01 | Need to specify bool for CP_MV_MORE config symbol to avoid warnings. | Rob Landley | |
2013-08-01 | ls --color should depend on LS in menuconfig. | Rob Landley | |
2013-08-01 | Cleanup grep: help text, whitespace, add parentheses. | Rob Landley | |
2013-08-01 | Found the fault. My method of -w fails sans -E, so I just disallow it. | M. Farkas-Dyck | |
Kernel build never uses -w sans -E anyhow. | |||
2013-07-31 | Move renice from pending to posix, default y, fix link to standard. | Rob Landley | |
2013-07-31 | Cleanup renice and implement '|' (required option) in argument parsing. | Rob Landley | |
2013-07-29 | Add renice. | M. Farkas-Dyck | |
2013-07-27 | Fix lspci -e | Felix Janda | |
2013-07-26 | add nl | Strake | |
2013-07-29 | The attached KLOGD patch is an improved version of the one you have in hg. | Ashwini Sharma | |
This also has a fix for boundary condition crash. | |||
2013-07-25 | logger: Some cleanup | Felix Janda | |
2013-07-27 | grep: s/astrcat/x&/g | Strake | |
2003-06-08 | grep: add -b flag | Strake | |
2003-06-08 | grep: add -w flag | Strake | |
2013-07-26 | lspci: use toybuf instead of dynamic memory allocation | Felix Janda | |
2013-07-26 | I've written an lspci implementation. | Isaac Dunham | |
Currently it supports -emkn; -e is an extension ("class" is a 24-bit number, but lspci only shows 16 bits; one person on the Puppy forums mentioned that they need those last 8 bits). -n is a no-op for compatability with standard lspci. | |||
2013-07-26 | This removes xz_mode. | Isaac Dunham | |
Mostly outdated comments and unused function parameters/struct members. | |||
2013-07-19 | Implement test | Felix Janda | |
2013-07-25 | pgrep and pkill by Madhur Verma, | Rob Landley | |
2013-07-25 | netstat by Ranjan Kumar. | Rob Landley | |
2013-07-25 | syslogd by Madhur Verma. | Rob Landley | |
2013-07-23 | grep | Strake | |
2013-07-22 | More 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-19 | Another round of ifconfig cleanup. | Rob Landley | |
2013-07-18 | Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid ↵ | Rob Landley | |
free/reuse bug during argument parsing. | |||
2013-07-17 | make xzcat use loopfiles(), thereby allowing regular usage. | Isaac Dunham | |
2013-07-17 | xzcat: remove XZ_(PREALLOC|SINGLE), inline xz_dec_bcj_create | Isaac 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-17 | Add timeout, factoring out common code from sleep. | Rob Landley | |
2013-07-15 | klogd, submitted by Ashwini Sharma. | Rob Landley | |
2013-07-12 | add grep | Strake | |
2013-07-11 | Eject cleanups. | Rob Landley | |
2013-07-11 | Eject, by Kyungwan Han. | Rob Landley | |
2013-07-10 | add paramtype in to the list of tags | Isaac Dunham | |
2013-07-06 | This inlines CRC64, and nothing more. | Isaac Dunham | |
The functions involved were called only once. | |||
2013-07-03 | here's a version of paste. It doesn't deal with wide characters yet and | Felix Janda | |
likely behaves very badly when given too many files or delimiters. | |||
2013-07-01 | Make ls output major, minor for block devices.0.4.5 | Rob Landley | |
2013-06-30 | First pass at ls --color | Rob Landley | |
2013-06-30 | Condense ls help text. | Rob Landley | |
2013-06-30 | Fix another segfault in ls -C when terminal size is 0x0. | Rob Landley | |
2013-06-28 | modinfo: support -b basedir and -k kernel.release, fix two bugs | Isaac 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-23 | Modinfo 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). |