Imported Upstream version 4.0.43
[platform/upstream/mtools.git] / NEWS
diff --git a/NEWS b/NEWS
index 5b7b371..35e44df 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,202 @@
+v4_0_43
+       - Fix root directory test in mattrib
+       - -b BiosDisk flag for mformat to allow setting physdrive to
+          a user-specified value
+       - Clearer error message in mformat when trying to mformat a
+          disk whose total size is not known
+       - Make recursive copy more consistent
+       - Trailing slash now always implies target should be a directory
+       - Code cleanup
+v4_0_42
+       - Added postcmd attribute in drive description to allow to
+          execute "device release" code automatically at end of
+          command
+       - Code cleanup (unneeded functions, initializations, added
+          comments to unobvious code, obsolete stuff in Makefile)
+       - signedness cleanup about directory entries
+v4_0_41
+       - Made it possible again to have FAT32 filesystems with less
+       than 0xfff5 clusters
+       - Make FAT32 entries 0 and 1 match what windows 10 does
+       - Misc source code and configure script cleanup
+
+v4_0_40
+       - Remove libbsd dependency
+       - Better compatibility with legacy platforms such as AT&T UnixPC
+       - Upgraded to autoconf 2.71
+v4_0_39
+       - Rename strtoi to strosi (string to signed int). The strtoi
+          function on BSD does something else (returns an intmax, not
+          an int)
+v4_0_38
+       - Make sure case byte is cleared when making the special
+          directory entries "." and ".."
+v4_0_37
+       - Removed mclasserase commands, which doesn't fit the coding
+          structure of the rest of mtools
+       - Add support to -i option to mcd
+       - Document -i in mtools.1
+       - Fix a missing command error in floppyd_io.c
+
+v4_0_36
+       - Fix error status of recursive listing of empty root directory
+       - If recursive listing, also show matched files at level one
+       - Use "seekless" reads & write internally, where possible
+       - Text mode conversion refactoring
+       - Misc refactoring
+
+v4_0_35
+       - Fix cluster padding at end of file in batch mode, and add
+         comments about what happens here
+
+v4_0_34
+       - Fix mcopy -s issue
+
+v4_0_33
+       - Fix support for partitions (broken in 4.0.30)
+       - Portability fixes for Solaris 10 and 11
+       - General simplification of configure script, and largefile handling
+       - Tested and fixed for platforms *without* largefile support
+       - In cases where lseek works with 32-bit offsets, prefer
+          lseek64 over llseek
+       - Fixed floppy sector size handling on platforms that are not
+          Linux
+       - Added support for image files on command line to mcat
+
+v4_0_32
+       - Simplify algorithm that choses filesystem parameters for
+          format, and align it more closely with what Win7 does
+       - Fix mformatting XDF when XDF not explicitly specified on
+          mformat command line
+       - easier way to enter sizes on mformat command line (mformat -C -T
+         1440K)
+       - For small sizes, mformat assumes floppy geometries (heads 1 or 2,
+          tracks 40 or 80)
+       - Handle attempts to mformat too small filesystems more gracefully
+       - Enable minfo to print out additional mformat command line
+         parameters, if the present filesystem uses non-default
+         values for these
+       - minfo no longer prints bigsect if smallsect is set
+       - for remap filter, error when trying to write non-zero data
+          to unmapped sectors
+       - Fix misc compilation warnings occuring when disabling
+          certain features (largefiles, raw-term)
+
+v4_0_31
+       - Move Linux-specific block device sizing code into
+          linux-specific section of devices.c
+       - Error messages for all failure cases on fs_init failure
+       - Fix compilation without XDF support (OpenImage signature)
+       - Fix polarity of format_xdf command-line parameter of mformat
+       - In XDF_IO retry enough times to actually succeed, even if
+          FDC was in a bad state before
+       - Remove useless buffer flushing triggered when giving up a
+          reference to a stream node that is still referenced
+          elsewhere.
+       - Clearer error message if neither size nor geometry of drive
+          to be mformatted is known
+       - In mformat, make Fs dynamically allocated rather than
+          on-stack, so as to be able to use utilities supplied by
+          stream.c
+       - Remove duplicate writing of backup boot sector
+       - Allow to infer geometry if only size is specified
+       - Protect against attempt to create zero-sized buffer
+       - Code simplification in mattrib
+       - Remove dead code in mpartition
+
+v4_0_30
+       - Fixed XDF floppy disk access
+       - Fixed faulty behavior at end of image in mcat
+       - Device/Image size handling refactoring
+       - allow remap to write to zero-backed sectors (may happen if
+          buffer is flushed, and is not an error in that case)
+       - Raise an error when trying to mcopy multiple source files
+          over a single destination file (rather than directory)
+       - fix handling of "hidden" sectors (is a 2 byte quantity on
+          small disks, not 4 byte as previously assumed)
+       - Modernize partition support. Tuned consistency check to
+          actually check about important issues (such as overlapping
+          partitions) rather than stuff nobody else cares about
+          (alignment on entire cylinder boundaries)
+       - Move various "filter" options (partition, offset, swap,
+          scsi) into separate classes, rather than leaving almost
+          everything in plain_io
+       - Simplify and centralize geometry handling and LBA code
+       - Fix some more more compiler warnings
+v4_0_29
+       - Fix bug in cluster preallocation, which was accidentally introduced
+       by compiler warning "fixes" from v4_0_28
+v4_0_28
+       - Support remapping of data (for not-quite linear floppy image files)
+       - Re-open floppy devices read-write if geometry parameters need to
+       be changed
+       - relax consistency checks in mpartition (partitions created
+          by current fdisk would almost never pass these checks)
+       - Fix some compiler warnings
+v4_0_27
+       - Fix type error in calls to iconv functions
+v4_0_26
+       - Fix compilation on Macintosh
+       - Ignore image file locking errors if we are performing a
+          read-only access anyways
+       - Minor man-page fixes
+v4_0_25
+       - Preserve non-updated contents of info sector, just in case
+          it contains program code
+       - When parsing config file, always use "C" locale for
+          case-insensitive comparisons
+v4_0_24
+       - Spelling fixes in documentation
+       - Permit calling "make install" with >= -j2
+       - Added AC_SYS_LARGEFILE, needed for compiling on certain ARM procs
+v4_0_23
+       - Address lots of compiler warnings (assignments between different types)
+       - Network speedup fixes for floppyd (TCP_CORK)
+       - Typo fixes
+       - Explicitly pass available target buffer size for character
+       set conversions
+v4_0_22
+       - Fixed -f flag for mformat (size is KBytes, rather than sectors)
+       - Fixed toupper/tolower usage (unsigned char rather than plain signed)
+v4_0_21
+       - Fixed compilation for MingW
+       - After MingW compilation, make sure executable has .exe extension
+       - Addressed compiler warnings
+       - Fixed length handling in character set conversion (Unicode file names)
+       - Fixed matching of character range, when containing Unicode
+       characters (mdir "c:test[α-ω].exe")
+       - Fixed initialization of my_scsi_cmd constructor
+v4_0_20
+       - initialize directory entries to 0
+       - bad message "Too few sectors" replaced with "Too many sectors"
+       - apostrophe in mlabel no longer causes generation of long entry
+       - option to fake system date for file creation using the
+       SOURCE_DATE_EPOCH environment variables
+
+       - can now be compiled with "clang" compiler
+       - fallback function for strndup, for those platforms that don't have it
+       - fixed a number of -Wextra warnings
+
+       - new compressed archive formats for uz/lz
+
+       - allow to specify number of reserved sectors for FAT32.
+       - file/device locking with timeout (rather than immediate failure)
+       - fixed support for BPB-less legacy formats.
+       - removed check that disk must be an integer number of tracks.
+
+       - removed .eh/.oh macros from manual pages
+v4_0_19
+       - Fix for short file names starting with character 0xE5
+       (by remapping it to 0x5)
+       - mpartition: Partition types closer to what Microsoft uses
+       - mformat: figure out LBA geometry as last resort if geometry
+       is neither specified in config and/or commandline, nor can be
+       queried from the device
+       - mformat: use same default cluster size by size as Microsoft
+       for FAT32
+       - additional sanity checks
+       - document how cluster size is picked in mformat.c man page
+       - document how partition types are picked in mpartition.c man page
 v4_0_18        
        Fix for names of iconv encodings on AIX
        Fix mt_size_t on NetBSD
@@ -31,7 +230,7 @@ v4_0_16
        Fixed typo in initialization of FAT32 info sector
 v4_0_15
        Added missing -i option to mshortname
-       Splitted .deb package into mtools and floppyd in order to
+       Split .deb package into mtools and floppyd in order to
        match Ubuntu
 v4_0_14
        New mshortname command
@@ -128,7 +327,7 @@ v20070305
 v20060626
        Merged Redhat/Fedora patches
 v20060531
-       #ifdef linux-dependant code in mformat.c
+       #ifdef linux-dependent code in mformat.c
 v20060525
        Fix gcc4 warnings
        Fix reading of boot sector (block size)
@@ -168,7 +367,7 @@ v20040228
 v20030718
        Fix rootskip and rate of XDF disks
 v20030705
-       Fix inverted IS_MFORMAT_ONLY conditon in plain_io.c
+       Fix inverted IS_MFORMAT_ONLY condition in plain_io.c
 v20030609
        Moved putc after variable description (anybody knows about a -W
        flag so that gcc warns about these?)
@@ -222,7 +421,7 @@ v20021102
 v20020125
        Fixes for cygwin
        Fixes in buffer.c for oddly sized image files
-       Mformat.c fixes to avoid makeing images which would not be
+       Mformat.c fixes to avoid making images which would not be
        readable in windows.
 v20010908
        Warn for invalid partition numbers
@@ -479,7 +678,7 @@ v19971215
        Jacked up performance, and corrected signal handling bugs.  Also
        corrected various "Disk full bugs"
 v19971212
-       Fixed "Bad address" errors which occured when running mdu on empty
+       Fixed "Bad address" errors which occurred when running mdu on empty
        files.  When copying recursively, do not barf if a directory
        already exist at the target.  Mcopy operates silently by default.
 v19971212
@@ -508,7 +707,7 @@ v19971129
        Pre-3.9.  Redid the mainloop logic, and got rid of lots of cruft
        in subdir.c and parse.c.  It is now possible to put wildcards in
        the directory part of the filename.  Design also became simpler,
-       making it easyer to maintain this part in the future.
+       making it easier to maintain this part in the future.
        Added a -u flag to mzip to temporarily unprotect a disk
        Added a test to mzip to prevent manipulation of mounted disks
        Added support for partitioned devices in mmount
@@ -548,7 +747,7 @@ v19970812
        Guard against corrupted "next free block" pointer in a FAT32
        InfoBlock
 v19970715
-       Use root priviliges during scsi_init
+       Use root privileges during scsi_init
 v19970714
        Fixed close-on-exec bug.
 v19970714
@@ -623,11 +822,11 @@ v19970426
 v19970423
        Prefer termios.h on Ultrix
 v19970422
-       Renamed missing_functions to missFuncs in order to accomodate
+       Renamed missing_functions to missFuncs in order to accommodate
        operating systems with file name size limits.
 v19970420
        Autoextend size for images that are too small.  Moved BSD
-       dependant #ifdef's after the inclusion of sys/param.h, as it
+       dependent #ifdef's after the inclusion of sys/param.h, as it
        is there where BSD is defined (sigh!)
 v19970419
        Insist on the fact that mzip's -f flag only makes sense if
@@ -836,7 +1035,7 @@ v19961211
 v19961210
        Added warning about running mtools with root privs.
 v19961209
-       Fixed unitialized variable in fat.c and added example for Sun
+       Fixed uninitialized variable in fat.c and added example for Sun
        mtools.conf
 v19961209
        Fixed comment in scripts/tgz
@@ -853,7 +1052,7 @@ v19961202
        Test first for tzset in autoconfigure (Solaris)
 v19961202
        Segment fault due to change of buffer size fixed
-       E-mail adress fixed
+       E-mail address fixed
 v19961117
        Lots of portability fixes.
 v19961012
@@ -893,7 +1092,7 @@ v19960609
        Beginning of ED and 5 1/4 HD XDF support (doesn't work yet for
        ED)
 v19960528
-       Make vold and "raw" floppy drive accesible simultaneously on
+       Make vold and "raw" floppy drive accessible simultaneously on
        Solaris by calling one A: and the other B:
        Add missing mbadblock LINK in Makefile.in
 v19960527
@@ -937,7 +1136,7 @@ v19960429
 v19960427
        more spelling fixes.
 v19960426
-       Speling fixes
+       Spelling fixes
 v19960424
        Mmount arg parsing bug fix
 v19960422
@@ -983,7 +1182,7 @@ v19951124
        <rant>
        Folks, please don't use quoted-printable. It sometimes changes
        the CONTENT of your messages. Even the MIME RFC's acknowledge this.
-       Case in point: £400 gets transformed into =A3400, which looks
+       Case in point: Â£400 gets transformed into =A3400, which looks
        like 3400 pounds to a person unaware of this MIME "feature".
        </rant>
 v19951123