Commit Graph

48 Commits (a40d7e55d6dab76715011b37c3052bf6adf34b72)

Author SHA1 Message Date
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
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 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 7a142ef54c got bored. don't read the diffs. 2005-07-06 22:47:01 +00:00
antona ca873f0474 Eeek. Someone did a commit just as I was about to commit so the commit
message was lost!  )-:

Now again...

Monster commit from me due to lack of time.  Sorry about that.

Features:

- Version to 1.10.0
- Update readme, etc ready for release.
- Update build system to suse linux 9.3 versions.
- Fix warnings appearing for me on suse 9.3 with --enable-warnings --enable-debug.
- Set attr_name to NULL in libntfs/attrib.c::__ntfs_attr_init() and fixup all
  callers apropriately.  Thanks to FlatCap/Rich for pointing this out.
- Determine endianness in ./configure and use that in addition to existing
  mechanisms for determining endianness.
2005-06-20 14:31:30 +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
flatcap 0c72b6f242 Giang Nguyen - remove redundancy 2005-05-23 12:07:02 +00:00
szaka 1a5e15bb5b - fix handle_undelete() declaration (compiler warning) 2005-05-10 16:37:01 +00:00
flatcap.org!ntfs 14cd02ffc1 Updates from Holger for regex undelete
Fix up code formatting

(Logical change 1.693)
2005-03-23 13:01:27 +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
cantab.net!aia21 0647ddffc5 Fix a warning.
(Logical change 1.526)
2004-09-03 13:48:30 +00:00
cantab.net!aia21 377ffc3311 Fix memory leak. (Christophe)
(Logical change 1.516)
2004-08-30 20:41:14 +00:00
flatcap.org!ntfs 02745a21f1 identify the deleted file's parent
(Logical change 1.514)
2004-08-23 22:54:51 +00:00
!uv d9f119eef3 Variable type fix.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
cantab.net!aia21 d33e7eaae4 Fix fallout from previous error output changes.
(Logical change 1.503)
2004-08-19 21:01:11 +00:00
flatcap.org!ntfs 9fd1edce61 Undelete in-use clusters as well
(Logical change 1.499)
2004-08-16 20:14:59 +00:00
flatcap.org!ntfs 6968c5bc66 truncate option
(Logical change 1.464)
2004-07-15 18:28:05 +00:00
cantab.net!aia21 38314bb499 Fix compiler warning. (Yuval)
(Logical change 1.454)
2004-07-13 13:06:05 +00:00
flatcap.org!ntfs 6995b610d3 Allow undelete to recover a set / range of inodes
(Logical change 1.408)
2004-06-01 20:20:24 +00:00
cantab.net!aia21 3423a8a909 Rename uchar_t to ntfschar.
(Logical change 1.392)
2004-05-14 13:02:33 +00:00
cantab.net!aia21 411835bca3 Fix warnings by renaming some variables. (Yuval)
(Logical change 1.383)
2004-04-24 20:24:28 +00:00
cantab.net!aia21 123b1028ec Fix lots of warnings about no prototypes by adding
the 'static' keyword.  (Yuval)

(Logical change 1.381)
2004-04-23 13:55:49 +00:00
elisa-laajakaista.fi!szaka 8c67ce1c36 Fix incorrect getopt_long() usage: converted argv[optind-1] to optarg
so utilities won't do bogus and unexpected things

(Logical change 1.366)
2004-04-15 00:42:33 +00:00
cantab.net!aia21 9193cb6298 Update
Fix warnings on powerpc architecture where it would seem char is
unsigned so comparisons with -1 cause a warning that comparison is
always true/wrong.  (Thanks to Ender for reporting.)

(Logical change 1.324)
2004-03-12 09:30:03 +00:00
cantab.net!aia21 6dea839252 Auto merged
2004/03/09 14:38:51+00:00 cantab.net!aia21
Fix all occurences of printf with %ll length modifiers but 64 bit
arguments to typecast the arguments to (unsigned) long long to avoid
the warnings when compiling on 64 bit architectures.

(Logical change 1.306)
2004-03-09 14:47:34 +00:00
cantab.net!aia21 2da888cefe Auto merged
2003/12/03 18:23:31+00:00 flatcap.org!ntfs
fix: output option was being ignored

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 3fea49b48c - Compile fixes for DJGPP. (Chrisophe Grenier, me)
- Add compatibility for building on FreeBSD. (Christophe Grenier)

(Logical change 1.249)
2004-01-06 14:31:21 +00:00
cantab.net!aia21 7af52becdd common functions moved from diks_io.h to device.h
(Logical change 1.188)
2003-10-06 11:38:25 +00:00
cantab.net!aia21 03918d9878 Auto merged
2003/08/11 22:56:10+01:00 flatcap.org!flatcap
make default fillbyte 0
flags logic bug

(Logical change 1.172)
2003-08-12 10:17:18 +00:00
flatcap.org!flatcap 302c627270 A few typos - thanks to Pete Ware for spotting them
(Logical change 1.150)
2003-06-07 17:30:03 +00:00
flatcap.org!flatcap 3987a55edd minor tidyup
(Logical change 1.117)
2003-02-09 22:55:20 +00:00
flatcap.org!flatcap 3769e91274 standardise usage and version info
(Logical change 1.105)
2003-01-19 22:01:18 +00:00
flatcap.org!flatcap 9b24931503 standardise on Qprintf for Quietable output
(Logical change 1.104)
2003-01-19 11:48:06 +00:00
flatcap.org!flatcap 1d72ba4c99 use global Dprintf
(Logical change 1.103)
2003-01-19 11:32:24 +00:00
flatcap.org!flatcap fa39b3f421 more stuff moved to utils
(Logical change 1.95)
2003-01-14 20:48:15 +00:00
flatcap.org!flatcap 4633bcf2de one include and 256 lines shed
(Logical change 1.88)
2003-01-11 02:09:53 +00:00
flatcap.org!flatcap 6862599a67 minor typos
(Logical change 1.80)
2003-01-09 01:42:21 +00:00
cantab.net!aia21 9fd51dde62 New API functions (mostly still WIP):
attrib.[hc]: ntfs_resident_attr_value_resize(), ntfs_attr_truncate()
   inode.[hc]: ntfs_inode_mark_dirty(), ntfs_inode_sync()
   lcnalloc.[hc]: ntfs_cluster_{alloc,free}()
Renamed ntfs_clusters_{read,write}() to ntfs_cluster_{read,write}().

(Logical change 1.55)
2002-12-26 00:44:57 +00:00
cantab.net!aia21 69306cc493 new api renames to ntfs_object_action
(Logical change 1.36)
2002-12-10 11:53:41 +00:00
cantab.net!aia21 c4eb64a730 Auto merged
2002/12/08 20:15:29+00:00 cantab.net!aia21
rename run{ ,_,-}list to runlist

(Logical change 1.31)
2002-12-08 20:36:02 +00:00
flatcap.org!flatcap ad73902af1 set the recover file's date/time
2002/12/05 13:19:04+00:00 flatcap.org!flatcap
fixed a very silly buffer error
thanks to Martin Pirker

(Logical change 1.29)
2002-12-05 14:22:26 +00:00
flatcap.org!flatcap d789fd8385 tidy whitespace
(Logical change 1.27)
2002-12-01 18:54:13 +00:00
cantab.net!aia21 cd29ef7745 mvdir
(Logical change 1.23)
2002-11-29 12:16:35 +00:00
cantab.net!aia21 df7cae02e7 Initial revision 2002-11-29 12:16:35 +00:00