Whamcloud - gitweb
ChangeLog, bitops.h, ext2fs.h, icount.c, version.c:
[tools/e2fsprogs.git] / lib / ext2fs / ChangeLog
index e312c20..36a10ae 100644 (file)
@@ -1,3 +1,144 @@
+Sun Feb  1 08:20:24 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * bitops.h: Don't try to do i386 inline asm functions if the
+               compiler isn't GCC.
+
+       * ext2fs.h: If EXT2_FLAT_INCLUDES is defined, #include e2_types.h,
+               instead of linux/types.h, and e2_bitops.h instead of
+               ext2fs/bitops.h.
+
+       * icount.c, version.c: Don't #include <et/com_err.h>, as it isn't
+               necessary. 
+
+Sat Jan 17 13:13:31 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * inode.c (ext2fs_open_inode_scan): Initialize the group variables
+               so that we don't need to call get_next_blockgroup() the
+               first time around.  Saves a bit of time, and prevents us
+               from needing to assign -1 to current_group (which is an
+               unsigned value).
+
+       * icount.c (insert_icount_el): Cast the estimated number of inodes
+               from a float to an ino_t.
+
+       * alloc.c, alloc_tables.c, badlbocks.c, bb_compat.c, bb_inode.c,
+               bitmaps.c, bitops.c, block.c, bmap.c, bmove.c, brel_ma.c,
+               check_desc.c, closefs.c, cmp_bitmaps.c, dblist.c,
+               dblist_dir.c, dir_iterate.c, dirblock.c, dupfs.c,
+               expanddir.c, ext2fs.h, fileio.c, freefs.c,
+               get_pathname.c, getsize.c, icount.c, initialize.c,
+               inline.c, inode.c, irel_ma.c, ismounted.c, link.c,
+               lookup.c, mkdir.c, namei.c, native.c, newdir.c,
+               openfs.c, read_bb.c, read_bb_file.c, rs_bitmap.c,
+               rw_bitmaps.c, swapfs.c, test_io.c, tst_badblocks.c,
+               tst_getsize.c, tst_iscan.c, unix_io.c, unlink.c,
+               valid_blk.c, version.c: If EXT2_FLAT_INCLUDES is
+               defined, then assume all of the
+               ext2-specific header files are in a flat directory.
+
+       * block.c, bmove.c, dirblock.c, fileio.c: Explicitly cast
+               all assignments from void * to be compatible with C++.
+
+Tue Jan  6 11:28:15 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * closefs.c (ext2fs_flush): Add a call to io_channel_flush() to
+               make sure the contents of the disk are flushed to disk.
+
+Mon Dec 29 14:39:13 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * dblist.c (ext2fs_add_dir_block): Change new to be new_entry to
+               avoid C++ namespace clash.
+
+       * bitmaps.c (ext2fs_copy_bitmap): Change new to be new_map to
+               avoid C++ namespace clash.
+
+       * ext2fs.h, bb_inode.c, block.c, bmove.c, brel.h, brel_ma.c,
+               irel.h, irel_ma.c, dblist.c, dblist_dir.c, dir_iterate.c,
+               ext2fsP.h, expanddir.c, get_pathname.c, inode.c, link.c,
+               unlink.c: Change private to be priv_data (to avoid C++
+               namespace clash)
+
+Fri Nov 28 09:26:31 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * dblist.c (ext2fs_get_num_dirs): Make ext2fs_get_num_dirs more
+               paranoid about validating the directory counts from the
+               block group information.
+
+       * all files: Don't include stdlib.h anymore; include it in
+               ext2_fs.h, since that file requires stdlib.h
+
+Thu Nov 20 16:07:38 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * expanddir.c (ext2fs_expand_dir): Check to make sure the block
+               bitmap is loaded, and return an error if it is not.
+               (expand_dir_proc): Only use ext2fs_write_dir_block when
+               writing a directory block, not when writing out a fresh
+               indirect block.
+
+Tue Nov 11 22:46:45 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * Makefile.in, tst_getsize.c: Added new file which is used to test
+               the ext2fs_get_device_size function.
+
+       * ext2_err.et.in (EXT2_ET_UNIMPLEMENTED): Added new error code.
+
+Sun Nov  2 20:36:13 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * ext2fs.h: Make ext2fs_get_mem take an unsigned argument.
+
+       * fileio.c (ext2fs_file_get_size, ext2fs_file_set_size,
+               ext2fs_file_get_fs): New functions added.
+
+
+Fri Oct 31 12:16:52 1997    <tytso@EDT.MIT.EDU>
+
+       * bitops.c (ext2fs_warn_bitmap, ext2fs_warn_bitmap2): Don't call
+               com_err if OMIT_COM_ERR is defined.
+
+Thu Oct 30 11:33:57 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * Rename new error codes to _ET_ in them for consistency.
+
+Sat Oct 25 00:06:58 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * [all files, basically]: Added definition of ext2fs_get_mem, 
+               ext2fs_free_mem, and ext2fs_resize_mem in ext2fs.h, and
+               changed all library routines to use these wrapper functions.
+
+       * dblist.c, mkdir.c: use EXT2_DIR_EXISTS and EXT2_DB_NOT_FOUND
+               instead of the system error messages.
+       
+       * ext2_err.et.in: Added new error messages EXT2_DIR_EXISTS and
+               EXT2_DB_NOT_FOUND
+
+       * ext2fs.h: Added function declarations and constants for bmap.c
+               and fileio.c.
+
+       * ext2_err.et.in: Added new error messages EXT2_FILE_RO and
+               EXT2_ET_MAGIC_EXT2_FILE
+
+       * Makefile.in: Added files bmap.c and fileio.c, and temporarily
+               commented out brel_ma.c and irel_ma.c
+
+       * bmap.c: New file which maps a file's logical block number to its
+               physical block number.
+
+       * fileio.c: New file which implements simple file reading and
+               writing primitives.
+
+       * alloc.c (ext2fs_alloc_block): New function which allocates a
+               block, zeros it, and updates the filesystem accounting
+               records appropriately.
+
+Wed Oct 22 16:47:27 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * ext2_err.et.in: Added new error codes: EXT2_NO_MEMORY,
+               EXT2_INVALID_ARGUMENT, EXT2_BLOCK_ALLOC_FAIL,
+               EXT2_INODE_ALLOC_FAIL, EXT2_NOT_DIRECTORY
+
+       * Change various library files to use these functions instead of
+               EINVAL, ENOENT, etc.
+
 Mon Oct 20 19:32:40 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * llseek.c: Check HAVE_LLSEEK_PROTOTYPE to see whether or not we