Updates
[oweals/busybox.git] / Changelog
1 0.36
2         * fixed dd so it properly defaults to stdin and stdout when no 
3             if= and of= are set (fix thanks to Eric Delaunay).
4         * Don't try to close the file descriptor of a pipe. (fix also from
5             Eric Delaunay).
6         * Made createPath be quiet (again thanks to Eric Delaunay).
7         * If BB_CONSOLE_CMD_IF_RC_SCRIPT_EXITS is defined, then whatever
8             command you define it as will be run if the init script exits.
9         * Made createPath be quiet (again thanks to Eric Delaunay).
10         * Updated to install.sh to make it more robust (thanks to Adam Di Carlo)
11         * NFS support added to mount by Eric Delaunay.  It costs 10k when compiled
12             in, but that is still a big win for those that use NFS.
13         * Made 'rm -f' be silent for non-existant files (thanks to Eric Delaunay).
14
15         -Erik Andersen
16         
17 0.35
18         * gzip now obeys the principle of least surprise and acts like god intended 
19             (i.e. it accepts a file name, answers --help, and obeys the '-c' flag 
20             and only then outputs to stdout).
21         * Fixed more.c to compile autowidth on sparc and set initial winsize 
22             to 0,0 in case the TIOCGWINSZ ioctl fails.  Fix thanks to Eric Delaunay.
23         * Fixed tar so it now works as expected (it had TRUE/FALSE backwards)
24         * tar now accepts --help
25         * chmod, chown, and chgrp usage now works
26         * General usage (i.e. --help) cleanups for most apps
27         * umount now parses options correctly
28         * tar can now unpack tarballs containing device special files, 
29             sockets, and fifos (though it can't pack them up) thanks 
30             to Matt Porter.  Creating archives containing these is still
31             left to the interested student.
32         * fixed up the license in more.c to properly point to Bruce Perens.
33
34         -Erik Andersen, Nov  11, 1999
35
36 0.34
37         * ls -l now displays link names outside the current directory,
38             Patch thanks to Eric Delaunay
39         * init now properly handles sparc serial consoles and does a
40             better job of finding the real console device rather than using
41             /dev/console which doesn't support job control. Patch also
42             thanks to Eric Delaunay.
43         * more started to read from stdin after the last file was finished, and 
44             options were not parsed correctly (fix thanks to Eric Delaunay).
45         * more will now use the terminal size if BB_FEATURE_AUTOWIDTH is on.
46         * rm wouldn't remove a symlink unless the symlink was valid.  This was
47             a side effect of the busybox 0.32 recursiveAction() fix.  Things 
48             should now work correctly.
49         * grep wouldn't grep stdin.  Now it does.
50         * sed wouldn't sed stdin.  Now it does.
51         * sed was appending a \n to the end of lines with replacements.
52             Now it doesn't do that.
53         * ls -l now bypasses libc6 nss when displaying user/group names.
54             Now uses my_getpwuid and my_getgrgid.
55
56          -Erik Andersen, Nov  8, 1999
57
58 0.33
59         * Fixed a bug where init could hang instead of rebooting.
60         * Removed some debugging noise from init.c
61         * Fixed ln so it works now (it was very broken).
62         * Fixed df so it won't segfault when there is no /etc/fstab,
63         * If BB_MTAB is not defined, df and mount will whine if /etc/fstab
64             is not installed (since they cannot fixup "/dev/root" to 
65             state the real root device name)
66         * merged some redundant code from mtab.c/df.c into utility.c
67
68          -Erik Andersen, Nov  5, 1999
69
70 0.32
71         * More changes -- many thanks to Lineo for paying me to work on
72             busybox.  If you have any problems please let me know ASAP
73             at andersen@lineo.com or andersee@debian.org
74         * usage() now prints the BusyBox version.  This will help folks
75             realize that they are not in Kansas anymore.
76         * Fixed mkdir -m option so that it works.
77         * kill segfaulted w/o any arguments.  Now it doesn't do that.
78         * kill wasn't properly accepting signal names.  It does now.
79         * Added new apps chvt and deallocvt (I should probably add open)
80         * Major rewrite of init.c.  Code is now readable by mere mortals IMHO.
81         * Wrote sed -- weighs only 1.8k (5.8k with full regular expressions!).
82         * Fixed a stupid seg-fault in sync
83         * Fixed mount -- mount -a failed to parse and apply mount options
84         * Fixed umount -n (patch thanks to Matthew Grant <grantma@anathoth.gen.nz>)
85         * umount -a no longer umounts /proc
86         * Added BB_MTAB, allowing (at the cost of ~1.5k and the need for a rw /etc)
87             folks to use a real /etc/mtab file instead of a symlink to /proc/mounts.
88             mount, and umount will add/remove entries and df will now use /etc/mtab 
89             if BB_MTAB is defined. 
90         * Fixed a nice bug in recursiveAction() which caused it to infinitely
91             hunt through /proc/../fd/* creating new file descriptors if it
92             followed the /dev/fd link over to /proc.  recursiveAction() now 
93             lstat's the file when followLinks==FALSE so it won't follow links 
94             as the name suggests.  Fix thanks to Matt Porter <porter@debian.org>.
95
96
97          -Erik Andersen, Nov  4, 1999
98
99 0.31
100         * I added a changelog for version 0.30. 
101         * adjusted find internals to make it smaller, and removed 
102             some redundancy.
103         * Fixed a segfault in ps when /etc/passwd or /etc/group 
104             are absent.  Now will warn you and carry on.
105         * Added in optional _real_ regular expression support (to be
106             the basis for a future sed utility).  When compiled in
107             it adds 3.9k, but makes grep much more capable.
108         * Checked out using nftw(3) for recursive stuff, but unfortunatly
109             it wasn't supported before GNU libc 2.1, and some folks use
110             glibc 2.0.7 since it is much smaller than that latest and greatest.
111
112          -Erik Andersen, Oct 21, 1999
113
114 0.30
115         Major changes -- lots of stuff rewritten. Many thanks to Lineo for
116         paying me to make these updates. If you have any problems with busybox, 
117         or notice any bugs -- please let me know so I can fix it.  These 
118         changes include:
119
120         Core Changes:
121             * busybox can now invoke apps in two ways: via symlinks to the
122                 busybox binary, and as 'busybox [function] [arguments]...'
123             * When invoked as busybox, the list of currently compiled in 
124                 functions is printed out (no this is not bloat -- the list
125                 has to be there anyway to map invocation name to function).
126             * busybox no longer parses command lines for apps or displays their
127                 usage info.  Each app gets to handle (or not handle) this for
128                 itself.
129             * Eliminated monadic, dyadic, descend, block_device, and 
130                 postprocess.  It was cumbersome to have so many programs
131                 cobbled together in this way.  Without them, the app is much
132                 more granular.
133             * All shared code now lives in utility.c, and is properly
134                 ifdef'ed to be only included for those apps requiring it.
135             * Eliminated struct FileInfo (the basis of monadic, dyadic, etc)
136                 so now each app has the function prototype of (da-dum):
137                     extern int foo_main(int argc, char** argv);
138                 which speeds integration of new apps.
139             * Adjusted the Makefile to make it easier to 
140                 {en|dis}able debugging.
141             * Changed default compiler optimization to -Os 
142                 (optimize for smaller binaries).
143
144         App Changes:
145             * To cope with the new app function prototype and the removal of
146                 monadic, dyadic, etc, the following apps were re-written:
147                     * cat - Works same as always.
148                     * chgrp, chmod, chown - rewrite.  Combined into a single 
149                         source file.  Absorbed patches from Enrique Zanardi <ezanard@debian.org>
150                         that removes the dependency on libc6 libnss* libraries.
151                     * cp - Can now do 'cp -a' can can copy devices,
152                         pipes, symlinks, as well as recursive or non-recursive dir copies.
153                     * fdflush - adjusted to remove dependancy on struct FileInfo.
154                     * find - Now includes some basic regexp matching 
155                         which will be the basic of a future mini-sed.
156                     * ln - Same functionality.
157                     * mkdir - Added -p flag to feature set.
158                     * mv - rewrite.
159                     * rm - Added -f flag to feature set.
160                     * rmdir - Same functionality.
161                     * swapon, swapoff - Combined into a single binary. No longer
162                         uses /etc/swaps.  swap{on|off} -a uses /etc/fstab instead.
163                     * touch - Same functionality.
164             * date - adjusted with a patch from Matthew Grant <grantma@anathoth.gen.nz>
165                 to accomodate glibc timezone support.  I then ripped out GNU getopt.
166             * mkswap -- new version merged from util-linux.  Can now make >128Meg swaps.
167             * Replaced the old and star, unstar, and tarcat with the tar 
168                 implementation from sash.   Now tar behaves as god intended
169                 it to (i.e. tar -xvf <file> and tar -cf <file> <dir> work).
170             * dd -- rewritten.  Can with with files, stdin, stdout.
171             * Added the following new apps:
172                     * loadfont -- added from debian boot floppies 
173                     * chroot -- added based on a patch from Paolo Molaro <lupus@lettere.unipd.it> 
174                     * grep -- I just wrote it.  Only matches simple strings
175                     * ps -- I just wrote it.  Has _no_ options at all, but works.
176                     * fsck_minix, mkfs_minix -- added from util-linux, but I ripped out
177                         internationalization and such to make them smaller.
178                     * sfdisk -- Added from util-linux (minus internationalization and such).
179             * Probably some other changes that I forgot to document...
180
181          -Erik Andersen, Oct 20, 1999
182
183 0.29    
184         This version was a messy pre-alpha.  stay away or it will bite you.
185          -Erik Andersen, Sep 24, 1999
186         
187 0.28    
188         mini-netcat (mnc) rewritten.
189         
190 0.27
191         Mount now supports -a, and -t auto.
192         Mount now updates mtab correctly for 'ro'.
193         More checks screen rows size, outputs bytes percentage.
194         Printf added as module.
195 0.26
196         Touch now creates files. -c option for no create.
197