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