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