Commit Graph

2750 Commits (94e1647414f3b140bafb1f7e1e7e1cd7c04a9d91)
 

Author SHA1 Message Date
flatcap ec842e871a remove some old defines 2005-10-28 04:41:39 +00:00
flatcap 8892ba7ac6 remove some colour hacks
remove a few #ifdef DEBUGs and RM_WRITEs
throw in lots of extra traces
2005-10-28 04:32:21 +00:00
flatcap 16dd9defa5 email typo 2005-10-28 04:31:45 +00:00
flatcap 4e5c1c6efa rebuild logging again.
today's arrangement has five handlers:
ntfs_log_handler_fprintf (renamed from printf)
ntfs_log_handler_null (does nothing, default)
ntfs_log_handler_stdout (everything to stdout)
ntfs_log_handler_outerr (info to stdout, errors to stderr)
ntfs_log_handler_stderr (everything to stderr)
the colour handler has gone away to be replaced by a flag:
NTFS_LOG_FLAG_COLOUR
2005-10-28 04:12:22 +00:00
antona fa2217bafa Minor todying. 2005-10-27 21:55:59 +00:00
antona 0e4a1ca252 Fix ntfsdecrypt endianness bugs thus it now works on OSX running on
a dual G5!  (Anton)
2005-10-27 21:46:00 +00:00
cha0smaster 73474b68db Fix ntfs_non_resident_attr_expand bug, that occured if we enlarge
sparse or compressed file, but do not need to allocate new clusters to
perfrom this.
2005-10-27 21:20:30 +00:00
cha0smaster 1ce16eddb7 minor cleanup 2005-10-27 20:42:10 +00:00
szaka 8b1263c217 Working with regular files needs no longer --force, except for mkntfs 2005-10-27 18:45:45 +00:00
cha0smaster 01585fd7cd Always pass "use_ino" to fuse_new, since it's ok to have several files with sameinode number. 2005-10-27 13:01:58 +00:00
cha0smaster 9fb63e797e Pass use_ino to fuse_new if named data streams access is not 'windows'. 2005-10-27 11:37:49 +00:00
flatcap 8a584700c5 whitespace fixes - no code changes 2005-10-26 22:54:57 +00:00
flatcap c59d76aed2 missing include 2005-10-26 20:52:53 +00:00
flatcap 1ee8d8b9e2 restore call to ntfs_set_locale
(utils only uses stderr, now)
2005-10-26 20:48:38 +00:00
flatcap 5bd198d66e logging renames
utils only uses stderr, now
whitespace fixes
2005-10-26 20:48:00 +00:00
flatcap a244edbe1c tidy up
wrap lines
2005-10-26 20:47:14 +00:00
flatcap 1f68df3f69 shorten ntfs_logging_* to ntfs_log_* 2005-10-26 20:46:37 +00:00
flatcap c27c1a40cb explain rm's elements in ntfs_inode, ntfs_volume 2005-10-26 20:45:58 +00:00
szaka 0dc3b0597c fflush() ntfs_log_ streams. (Christophe) 2005-10-26 19:24:45 +00:00
antona 98e5cda13e Add some debugging to ntfsdecrypt.c to allow printing of the private
key after it is decrypted (this is ifdeffed out by default).  (Anton)
2005-10-25 22:12:25 +00:00
uvman ef7bda1d7b Update changelog about Dputs, Dprintf, ..., Sprintf 2005-10-25 18:34:18 +00:00
cha0smaster c84e54a441 fix build 2005-10-25 11:54:26 +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
szaka f9cdaed3db temporary fix for the corrupted stdout due to the recent logging changes 2005-10-24 21:20:10 +00:00
uvman 7cbc0a6cb6 Remove any uses of the old logging system (Dputs, Dprintf, ...) from libntfs. 2005-10-24 20:50:05 +00:00
szaka 746dff1a24 NTFS_INDEX_ prefix $I30, $SII, $SDH, $O and $Q indexes 2005-10-23 18:35:58 +00:00
szaka 9be56ad848 ntfscat can display named attributes, streams too 2005-10-23 14:00:37 +00:00
cha0smaster 8980ec6d76 ntfsmount: Add 'streams_interface=' option to select named data streams access interface. Currently supported interfaces are 'none' and 'windows'. 2005-10-23 11:54:00 +00:00
cha0smaster b7aaeece53 documment need ea flag 2005-10-22 20:22:21 +00:00
szaka dd3ce28cd2 Factor out fix_mount() and fix_mftmirr() from main()
Avoid freeing NULL's to end non-constuctive discussion about its usage
2005-10-22 19:54:01 +00:00
flatcap 0c2247c7ca new header files to tidy build process 2005-10-21 18:08:28 +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
cha0smaster 8c53ea8d4f *** empty log message *** 2005-10-20 15:38:21 +00:00
flatcap a2c8e7befe fix a few build warnings 2005-10-20 13:49:56 +00:00
uvman 705814c9d7 Allow building libntfs as a shared library on Cygwin. This should not disturb non-Cygwin enviroments, but not tested. As a side-effect it generates ugly informational messages about importing extern variables. These are not errors or warnings, just info. 2005-10-20 00:59:22 +00:00
uvman 570705dcab Add a comment to some typedefs per discussion on linux-ntfs-dev 2005-10-20 00:56:11 +00:00
szaka 24cb1ec6e8 fix warnings 2005-10-19 22:10:57 +00:00
szaka 8f03f5a6ca Optionally create NTFS version 3.0 (W2K) or 3.1 (XP, W2K3, Vista).
Contributed by Erik Sornes. No side-effect for v1.2 NTFS which is still
the default. The implementation needs some minor work: see e.g. the chkdsk
messages and the result of ntfscmp'ing the two images.
2005-10-19 22:04:46 +00:00
antona a7fd01e543 $EA can be resident and non-resident. Fix libntfs/attrib.c::
ntfs_attr_can_be_resident() apropriately.  (Anton)
2005-10-19 08:13:44 +00:00
cha0smaster fe408380c7 typo fix 2005-10-17 20:21:22 +00:00
flatcap ea2c4c6c61 fix build warning - duplicate definition 2005-10-17 14:07:28 +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 139f6c6603 prevent a few name clashes with the new rm code 2005-10-16 22:37:48 +00:00
flatcap bde3e0063b centralised logging system 2005-10-16 21:57:00 +00:00
flatcap 2436151e59 fix warning (uninitialised variable) 2005-10-16 21:37:12 +00:00
flatcap 8fa46025d5 trailing whitespace 2005-10-16 19:21:47 +00:00
szaka 27a9764d3a Check and report bad sectors before cluster allocation check because
chkdsk doesn't always fix $Bitmap with bad sectors
2005-10-16 18:50:56 +00:00
szaka 48feb16fa9 Factor out cluster allocation check 2005-10-16 11:12:08 +00:00
antona a570ee7b37 Fix endiannes bug in libntfs/index.c. (Anton) 2005-10-16 00:07:14 +00:00
antona 85c866fcea More endianness fixes! 2005-10-15 23:51:13 +00:00