Commit Graph

72 Commits (d953fec34edd8890ae7706b16a98ed4befee03be)

Author SHA1 Message Date
Erik Larsson 5b9b4c7e49 Removing all references to the libntfs library version until we have such functionality in libntfs-3g. 2010-12-02 16:38:16 +01:00
szaka c7a53338c0 Fix all incorrect getopt_long() return value usages. 2006-04-05 12:43:06 +00:00
flatcap abf0cfba5d use new logging 2005-11-20 14:15:33 +00:00
uvman 0d651e54d3 Give a better name to MFT_RECORD_IS_8 and rename FILE_ATTR_DUP_* to match this meaning. 2005-11-11 23:35:56 +00:00
flatcap 59ce9b4285 remove old logging macros
add more traces
2005-10-28 04:47:52 +00:00
flatcap 8a584700c5 whitespace fixes - no code changes 2005-10-26 22:54:57 +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
flatcap 2a8d602d9f ntfsrm has been split up and merged into libntfs.
currently it's #ifdef'd out.
tree.c - code for handling directory trees
rich.c - a few helpers without a home (this file will go away soon)
Note: ntfsrm isn't in the build any more (you need to ./configure --enable-rich; make extras).  When rm is less intrusive, again, I'll put it back in the build.
2005-10-16 23:33:03 +00:00
flatcap 2436151e59 fix warning (uninitialised variable) 2005-10-16 21:37:12 +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
flatcap 9ee916bbd0 need config.h for the autoconf #ifdefs 2005-09-29 12:50:39 +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
flatcap 7f8ad30c09 more code juggling
try and sort out transfer
2005-09-20 00:05:49 +00:00
flatcap fa99ae3d0f more housekeeping - no code changes 2005-08-17 15:59:27 +00:00
flatcap 96e1f45319 housekeeping - no code changes 2005-08-17 14:53:07 +00:00
flatcap db1e9afb1f create an index alloc (needs work) 2005-08-17 14:33:16 +00:00
flatcap 49a4f377f3 fix up dt root add 2005-08-16 13:33:12 +00:00
flatcap b312a44483 change utils_dump_mem to take a void ptr
update the comments a bit
2005-08-16 13:25:15 +00:00
flatcap 301c8bd331 tidy up complicated mft mess 2005-08-14 22:22:06 +00:00
flatcap 14ab52fb23 give the new file some dummy data 2005-08-14 16:08:44 +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
flatcap 4e292d96f1 remove old version of dt_alloc_children
clean up inode handling
fix ridiculous mft reading bug
mftrec mark free -> set inuse
inc attrib instance ids
successfully create a file
2005-08-14 12:26:55 +00:00
flatcap fd54e78256 more code to start testing add
keep track of dir names
2005-08-11 13:59:08 +00:00
antona 6124aafffb Move timeconv to ntfstime, update changelog, and news for new release. 2005-08-04 09:59:39 +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
cha0smaster c8cb65fcd9 Make @outs_len to be 0 when @**outs NULL in ntfs_ucstombs calls. Previous code
it correct since @outs_len is ingored when @**outs == NULL, but may confuse
because it was equal to @ins_len what is incorrect (eg. international utf8
characters).
2005-07-19 23:13:26 +00:00
flatcap cc1f72948b fix careless mst write
move truncate out of the commit path
2005-07-19 01:56:41 +00:00
flatcap ad7821f458 remove some old code 2005-07-18 23:53:14 +00:00
flatcap 807e7e6dfc remove some old code 2005-07-18 23:42:40 +00:00
flatcap 50075bb971 fix some sloppy memory management
tidy up ie handling
2005-07-18 21:45:08 +00:00
flatcap 50c4959f1e root remove got size wrong
a few typos
2005-07-18 16:10:05 +00:00
flatcap 2c942cb3f4 tidy up dt rollback and commit 2005-07-13 22:55:01 +00:00
flatcap 5bfce5ff73 no code changes, merely reordered some functions 2005-07-12 17:58:47 +00:00
flatcap 0fc1835e47 fix some sloppy memory management
tidy up bmp handling
2005-07-12 17:13:29 +00:00
flatcap 40f00bd76b another bmp test
fix bmp handling again
fix dt commit for iroot
fix dt root replace
rm now cleanly removes last dir entry
2005-07-11 11:54:38 +00:00
flatcap 5693c1fcfb try removing the last entry in a dir (unsucessful, but close) 2005-07-08 18:45:44 +00:00
flatcap 7a142ef54c got bored. don't read the diffs. 2005-07-06 22:47:01 +00:00
flatcap 31c31a244d ntfsrm:
fix a couple of crashes
	slightly simplify bitmap logic
	wasn't using mst pwrite for INDX
	rm works again
	bmp commit was overwriting end of attr
	strip down bitmap set
	bitmaps: handle cluster boundaries correctly
	overhaul the bitmap code
	ntfs_binary_print
2005-06-23 18:55:03 +00:00
antona 39b759ee99 Fix compiler warnings under cygwin. 2005-06-21 09:57:22 +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 5becfe6c30 - Fix build without config.h.
- Fix gcc4 very large warning in ntfsrm.
2005-06-16 23:16:32 +00:00
flatcap.org!ntfs 8152150f91 commit dt and bmp
(Logical change 1.598)
2004-10-09 11:21:49 +00:00
flatcap.org!ntfs 813fd36687 Auto merged
2004/08/18 19:59:42+01:00 flatcap.org!ntfs
track memory usage

2004/08/18 19:58:56+01:00 flatcap.org!ntfs
commit/rollback filled out a bit

2004/08/15 23:53:28+01:00 flatcap.org!ntfs
start reassembling remove

2004/08/15 23:04:56+01:00 flatcap.org!ntfs
keep the bitmap info on the volume

2004/08/15 21:12:15+01:00 flatcap.org!ntfs
vol's private data now points to the root directory

2004/08/15 18:32:35+01:00 flatcap.org!ntfs
fix memory leak

2004/08/14 17:03:01+01:00 flatcap.org!ntfs
extract file details

(Logical change 1.512)
2004-08-20 17:27:24 +00:00
!uv 0106f54ff0 printf format fix.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
flatcap.org!ntfs a78b1c7b03 use the directory objects to lookup files
(Logical change 1.497)
2004-08-14 15:27:00 +00:00
flatcap.org!ntfs 7b752dceda clear up everything on umount
(Logical change 1.496)
2004-08-13 12:02:34 +00:00
flatcap.org!ntfs d25fa0b7c1 integrate ntfs_dir's into the volume and inodes
(Logical change 1.495)
2004-08-13 11:37:54 +00:00
flatcap.org!ntfs 62d954e92c move out structs
regroup functions

2004/08/04 22:08:05+01:00 flatcap.org!ntfs
rebuild children list after alloc/root add
rearrange pointers and ascend in add2

2004/07/17 01:09:42+01:00 flatcap.org!ntfs
split node

2004/07/17 01:07:06+01:00 flatcap.org!ntfs
some add stuff: freespace, transfer

2004/07/14 23:59:50+01:00 flatcap.org!ntfs
start add file

2004/07/14 23:48:16+01:00 flatcap.org!ntfs
fix corruption in dt_root_remove

(Logical change 1.484)
2004-08-09 16:36:18 +00:00
flatcap.org!ntfs 31b8e1ecd4 fix root_replace
finish off remove

(Logical change 1.449)
2004-07-08 23:47:42 +00:00