Commit Graph

84 Commits (8a584700c511cd24016172785532be7dfb26a341)

Author SHA1 Message Date
flatcap 8a584700c5 whitespace fixes - no code changes 2005-10-26 22:54:57 +00:00
flatcap 1f68df3f69 shorten ntfs_logging_* to ntfs_log_* 2005-10-26 20:46:37 +00:00
uvman 0dd0cdc6be Remove {Dputs, Dprintf, Dperror} and convert callers to ntfs_log_*. Make ntfsinfo use ntfs_logging_parse_option(). 2005-10-25 01:28:10 +00:00
flatcap f4e427e91a implement logging in libntfs
fix whitespace
fix build problems
tidy source code
and more...
2005-10-21 18:05:13 +00:00
antona 85c866fcea More endianness fixes! 2005-10-15 23:51:13 +00:00
antona 6803fa4b76 Fix endianness bug in ntfsinfo. (Anton) 2005-10-15 23:44:57 +00:00
antona 0c293d0407 - Add API (actually renamed from what Rich/FlatCap did):
volume.[hc]::ntfs_libntfs_version() which returns a pointer to a
  static const string of the libntfs verion, i.e. at the moment this is
  "8.0.0".  This required moving the version specifications from
  libntfs/Makefile.am to configure.ac.  This should hopefully have the
  sideeffect that I will remember to increment it when incrementing the
  ntfsprogs version number when making a release given the two are
  right under one another.  (Anton)
- Change ALL utilities to display the libntfs version they are running
  on.  This should make debugging easier in the case that people are
  running mismatched utilities/library.  (Anton)
2005-10-07 14:10:56 +00:00
uvman 62579b84d4 compiler warnings fixes. 2005-10-04 20:36:42 +00:00
antona 8db479a6b1 Patch from Christophe:
A lot of headers are checked by autoconf (AC_CHECK_HEADERS in configure.ac).
Please find a patch that add the missing "#ifdef" to the source code.
2005-09-28 13:47:47 +00:00
antona 2a104d8eda Megapatch!!! Check evecrything!!! I probably broke everything!!! 2005-09-24 22:54:55 +00:00
cha0smaster 9028a53dfc Sorry it's very large commit (46K of diffs between my local tree and CVS HEAD
before commit), file and directory creation/deletion recursively requested many
changes. See ChangeLog for description of all changes.
2005-08-14 15:44:46 +00:00
antona 6124aafffb Move timeconv to ntfstime, update changelog, and news for new release. 2005-08-04 09:59:39 +00:00
cha0smaster 0de66be9c0 ntfscp.c: fix bug intoduced by Anton in changeset 1.21
ntfsinfo: more info on index dumping
dir.c, layout.h: minor fixes
2005-07-25 22:05:27 +00:00
cha0smaster b39a2a401f - Move ntfs2utc and utc2ntfs from utils.[ch] to timeconv.h.
- Add [acm]time fields to struct ntfs_inode and set them during ntfs_inode_open.  Update ntfsmount to use them.
- Bump version, update autoscripts.
2005-07-20 19:06:28 +00:00
antona 82fc3cd557 Fix compiler warning under Cygwin. 2005-07-18 20:38:33 +00:00
cha0smaster 9b483d4f42 ntfsinfo: add range check in EA dumping
ntfsmount: fix name in comment
2005-07-09 01:11:46 +00:00
cha0smaster bfbb32f071 Dump every EA record only in verbose mode. 2005-07-09 00:59:30 +00:00
cha0smaster 0b060773f5 - layout.h: update info about EA's.
- ntfsinfo: dump EA and EA_INFORMATION attributes.
2005-07-09 00:09:53 +00:00
flatcap 7a142ef54c got bored. don't read the diffs. 2005-07-06 22:47:01 +00:00
flatcap 949043ab36 Tidy whitespace: trailing space; <space><tab> at the beginning of lines
Fix warnings about sign differences
Fix warnings about unused parameters
Tidy a few functions that didn't have { on a new line
2005-06-19 21:09:40 +00:00
cha0smaster e323ed6a03 Move utils_pathname_to_inode from to library (dir.c), adapt it for library, rename it to ntfs_pathname_to_inode, update all users. 2005-06-12 18:12:55 +00:00
cha0smaster aae6371c9d Move namespace dumping into separate function and use it in attribute and index dumping. 2005-06-09 13:08:23 +00:00
flatcap e5c8b9606e Cristi Klein - display the namespace of the file's name 2005-06-09 08:29:03 +00:00
cha0smaster 94cc7ff15f Move flags dumping into the separate function. 2005-06-08 18:01:46 +00:00
antona 6bfbf20a19 Fix warnings. (Yuval) 2005-06-06 14:21:53 +00:00
cha0smaster 410432bc9d - Fix bug in index.c pointed by Anton, many thanks to him.
- Small updates all over the place:
   * NEWS
   * ntfscp manual page
   * ntfsinfo prints parent directory for FILE_NAME attribute
   * year in ntfscp copyright
2005-06-05 23:48:55 +00:00
cha0smaster 4b000b3d13 - Implement FILE_NAME attributes update in index during inode sync and enable code that set/clean sparse bit. Also add new inode state bit FileNameDirty to indicate that FILE_NAME attributes need update. At least after attribute resize we leave absolutely consist volume.
- Bugfixes to collate.c and index.c.
- Minor formating fixed to ntfscp and ntfsinfo.
2005-06-05 14:55:08 +00:00
cha0smaster 7cd9b6b22d Small formating fix to ntfsinfo. 2005-06-04 15:20:46 +00:00
void!yura 5180f05279 I completely forgot about mst protection when I was writing index dumping code. Fix this.
(Logical change 1.676)
2005-02-08 19:06:18 +00:00
void!yura 0a68326fc6 fix bug spotted bug gcc4 in error handling of ntfsinfo
(Logical change 1.661)
2005-01-17 12:04:37 +00:00
(none)!yura 88f940caed ntfsinfo: dump flags names for STANDARD_INFORMATION and FILE_NAME.
(Logical change 1.647)
2004-12-22 14:22:58 +00:00
(none)!yura ff195c0f84 ntfsinfo: print "file attributes" field for $FILE_NAME attribute.
(Logical change 1.643)
2004-11-27 11:20:32 +00:00
cantab.net!aia21 e461268d28 No need to allocate a copy of the attribute name to be passed to
ntfs_attr_open().

(Logical change 1.576)
2004-09-21 12:10:39 +00:00
cantab.net!aia21 b82469ba50 Remove vol->nr_mft_records and update all users. (Anton)
(Logical change 1.549)
2004-09-13 10:28:54 +00:00
(none)!yura 72b5b3c6fb ntfsinfo: make it display attribute instance and dump attribute list entries in verbose mode
(Logical change 1.545)
2004-09-11 16:23:34 +00:00
(none)!yura 3d8ff9eb46 - Added dumping of index records from $INDEX_ROOT and $INDEX_ALLOCATION
- Changed message for resident $INDEX_ALLOCION to print error, because it shouldn't be resident

(Logical change 1.536)
2004-09-08 16:27:54 +00:00
!uv 5ffea94d8d Warning fixes: mixing declerations with code.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv e7545d7e24 Reorder/pad struct members in order to align to 32 and 64 bit bounderies.
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
(none)!yura 5435e5faef * endian fix
* indention fixes

(Logical change 1.446)
2004-07-06 19:53:05 +00:00
(none)!yura ff0334f3c5 Output runlist for DATA attribute in verbose mode
(Logical change 1.435)
2004-06-22 17:55:38 +00:00
(none)!yura c6f44798eb Free runlist after use
(Logical change 1.433)
2004-06-21 22:44:47 +00:00
flatcap.org!ntfs c90bc03ffd missing credit
(Logical change 1.428)
2004-06-20 16:47:19 +00:00
flatcap.org!ntfs 3f9850d4cf Auto merged
2004/06/18 16:24:15+01:00 cantab.net!aia21
Exclude

(Logical change 1.427)
2004-06-18 17:54:41 +00:00
flatcap.org!ntfs 4a82a887c3 Auto merged
2004/06/17 21:03:45+01:00 cantab.net!aia21
Auto merged

2004/06/17 21:03:28+01:00 cantab.net!aia21
Endianness fix.

(Logical change 1.423)
2004-06-17 20:09:32 +00:00
flatcap.org!ntfs 395cf1b994 sort out the folding after a botched merge
(Logical change 1.422)
2004-06-16 22:51:38 +00:00
flatcap.org!ntfs 08285f5f82 SCCS merged
2004/06/07 23:00:44+01:00 flatcap.org!ntfs
add size to index alloc,
change comments slightly to allow vim to fold

(Logical change 1.421)
2004-06-16 22:44:00 +00:00
flatcap.org!ntfs 2099f9392c stop info crashing when it encounters a non-resident security attribute
(Logical change 1.420)
2004-06-16 22:16:30 +00:00
cantab.net!aia21 49b10c0f61 Remove compiler warnings about unused parameters by adding the
__attribute__((unused))
Note: these functions are still in the todo list at the top of the file,
so removing the warnings will not make it forgotten.

(Logical change 1.418)
2004-06-08 16:25:01 +00:00
cantab.net!aia21 53b60abae5 global miscellaneous cleanup.
(Logical change 1.417)
2004-06-08 16:17:51 +00:00
cantab.net!aia21 2dafbdd602 Remove irrelevant whitespace from output.
(Logical change 1.416)
2004-06-08 15:58:32 +00:00