wimlib
7 years agoAdd win32-tree-cmp
Eric Biggers [Fri, 26 Apr 2013 21:17:10 +0000 (16:17 -0500)]
Add win32-tree-cmp

7 years agoWin32: Fix, comment capture reparse-point fixups
Eric Biggers [Fri, 26 Apr 2013 04:52:58 +0000 (23:52 -0500)]
Win32: Fix, comment capture reparse-point fixups

7 years agoWin32: Do not hard link files with nNumberOfLinks = 1
Eric Biggers [Thu, 25 Apr 2013 14:30:11 +0000 (09:30 -0500)]
Win32: Do not hard link files with nNumberOfLinks = 1

7 years agowin32: Do not hard link directories, even if file IDs say so
Eric Biggers [Thu, 25 Apr 2013 05:17:06 +0000 (00:17 -0500)]
win32: Do not hard link directories, even if file IDs say so

7 years agowimlib_free(): Add missing pthread_mutex_destroy()
Eric Biggers [Thu, 25 Apr 2013 04:24:18 +0000 (23:24 -0500)]
wimlib_free(): Add missing pthread_mutex_destroy()

7 years agowin32_get_short_name(): Add missing FindClose
Eric Biggers [Thu, 25 Apr 2013 04:22:30 +0000 (23:22 -0500)]
win32_get_short_name(): Add missing FindClose

7 years agoWin32: Do not create lookup table entries for 0 length streams
Eric Biggers [Thu, 25 Apr 2013 04:07:31 +0000 (23:07 -0500)]
Win32: Do not create lookup table entries for 0 length streams

7 years agounix_capture_directory(): Add missing ret=0
Eric Biggers [Thu, 25 Apr 2013 03:49:54 +0000 (22:49 -0500)]
unix_capture_directory(): Add missing ret=0

7 years agowimlib_vmsg(): fflush stderr
Eric Biggers [Thu, 25 Apr 2013 03:48:12 +0000 (22:48 -0500)]
wimlib_vmsg(): fflush stderr

7 years agoprint_inode_dentries(): Fix
Eric Biggers [Thu, 25 Apr 2013 03:32:31 +0000 (22:32 -0500)]
print_inode_dentries(): Fix

7 years agoWin32: Show at most 5 hard linking warnings
Eric Biggers [Thu, 25 Apr 2013 03:26:33 +0000 (22:26 -0500)]
Win32: Show at most 5 hard linking warnings

7 years agoreplace_forbidden_characters(): Use different character
Eric Biggers [Thu, 25 Apr 2013 03:16:40 +0000 (22:16 -0500)]
replace_forbidden_characters(): Use different character

7 years agoRead/write reserved/unknown fields in WIM dentry and ADS entries
Eric Biggers [Thu, 25 Apr 2013 03:09:38 +0000 (22:09 -0500)]
Read/write reserved/unknown fields in WIM dentry and ADS entries

7 years agoFactor code out from inode_set_symlink() into inode_set_unnamed_stream()
Eric Biggers [Thu, 25 Apr 2013 02:52:21 +0000 (21:52 -0500)]
Factor code out from inode_set_symlink()  into inode_set_unnamed_stream()

7 years agoWin32: Skip extracting reparse points when not supported
Eric Biggers [Thu, 25 Apr 2013 02:22:59 +0000 (21:22 -0500)]
Win32: Skip extracting reparse points when not supported

7 years agoutil.c: Print carriage return before warnings/errors
Eric Biggers [Thu, 25 Apr 2013 02:22:36 +0000 (21:22 -0500)]
util.c:  Print carriage return before warnings/errors

7 years agodo_overlay(): Do overlays recursively
Eric Biggers [Thu, 25 Apr 2013 01:33:49 +0000 (20:33 -0500)]
do_overlay(): Do overlays recursively

7 years agoFix capturing non-directories in source list mode
Eric Biggers [Thu, 25 Apr 2013 00:58:07 +0000 (19:58 -0500)]
Fix capturing non-directories in source list mode

7 years agoUpdate NEWS
Eric Biggers [Thu, 25 Apr 2013 00:45:25 +0000 (19:45 -0500)]
Update NEWS

7 years agoFixes; write --{no,}rpfix docs; enable --rpfix capture by default
Eric Biggers [Thu, 25 Apr 2013 00:42:39 +0000 (19:42 -0500)]
Fixes; write --{no,}rpfix docs; enable --rpfix capture by default

7 years agomake_symlink_reparse_data_buf(): Use full path
Eric Biggers [Mon, 22 Apr 2013 22:09:41 +0000 (17:09 -0500)]
make_symlink_reparse_data_buf():  Use full path

7 years agowimlib_vfprintf(): Handle %W with null pointer
Eric Biggers [Mon, 22 Apr 2013 22:08:39 +0000 (17:08 -0500)]
wimlib_vfprintf(): Handle %W with null pointer

7 years agoWindows rpfix capture (in progress)
Eric Biggers [Mon, 22 Apr 2013 05:58:45 +0000 (00:58 -0500)]
Windows rpfix capture (in progress)

7 years agorpfix extract on UNIX
Eric Biggers [Mon, 22 Apr 2013 02:43:23 +0000 (21:43 -0500)]
rpfix extract on UNIX

7 years agorpfix capture on UNIX
Eric Biggers [Mon, 22 Apr 2013 01:41:10 +0000 (20:41 -0500)]
rpfix capture on UNIX

7 years agoUse REPARSE_POINT_MAX_SIZE macro
Eric Biggers [Sun, 21 Apr 2013 23:48:13 +0000 (18:48 -0500)]
Use REPARSE_POINT_MAX_SIZE macro

7 years agounix_capture_directory(): Use readdir() instead of readdir_r()
Eric Biggers [Sun, 21 Apr 2013 22:49:46 +0000 (17:49 -0500)]
unix_capture_directory():  Use readdir() instead of readdir_r()

7 years agocapture_ntfs_streams(): Set 'ret' properly
Eric Biggers [Sun, 21 Apr 2013 22:08:53 +0000 (17:08 -0500)]
capture_ntfs_streams():  Set 'ret' properly

7 years agoMisc. fixes
Eric Biggers [Sun, 21 Apr 2013 21:57:30 +0000 (16:57 -0500)]
Misc. fixes

7 years agoSimplify write_resource_cb()
Eric Biggers [Thu, 11 Apr 2013 15:28:49 +0000 (10:28 -0500)]
Simplify write_resource_cb()

7 years agoAdd missing iconv_cleanup()s
Eric Biggers [Thu, 11 Apr 2013 15:28:21 +0000 (10:28 -0500)]
Add missing iconv_cleanup()s

7 years agowin32: Improve support for different filesystems
Eric Biggers [Thu, 11 Apr 2013 04:57:38 +0000 (23:57 -0500)]
win32:  Improve support for different filesystems

7 years agoWin32: Add untested support for encryted capture
Eric Biggers [Wed, 10 Apr 2013 06:01:59 +0000 (01:01 -0500)]
Win32:  Add untested support for encryted capture

7 years agoAdjust full path calculations
Eric Biggers [Wed, 10 Apr 2013 01:56:59 +0000 (20:56 -0500)]
Adjust full path calculations

7 years agoSave original xml_data only when needed
Eric Biggers [Tue, 9 Apr 2013 16:14:46 +0000 (11:14 -0500)]
Save original xml_data only when needed

7 years agoimplement WIMLIB_INIT_FLAG_ASSUME_UTF8
Eric Biggers [Tue, 9 Apr 2013 15:55:50 +0000 (10:55 -0500)]
implement WIMLIB_INIT_FLAG_ASSUME_UTF8

7 years agoUse -fno-strict-aliasing
Eric Biggers [Mon, 8 Apr 2013 18:10:43 +0000 (13:10 -0500)]
Use -fno-strict-aliasing

7 years agoconfigure.ac: Fix --enable-verify-compression
Eric Biggers [Mon, 8 Apr 2013 16:52:01 +0000 (11:52 -0500)]
configure.ac:  Fix --enable-verify-compression

7 years agoUpdate README
Eric Biggers [Mon, 8 Apr 2013 16:49:19 +0000 (11:49 -0500)]
Update README

7 years ago--disable-verify-compression by default
Eric Biggers [Mon, 8 Apr 2013 16:44:32 +0000 (11:44 -0500)]
--disable-verify-compression by default

7 years agoFix compiling with --without-fuse
Eric Biggers [Mon, 8 Apr 2013 16:29:01 +0000 (11:29 -0500)]
Fix compiling with --without-fuse

7 years agoWrap do_ntfs_umount() declaration with WITH_NTFS_3G
Eric Biggers [Mon, 8 Apr 2013 16:24:55 +0000 (11:24 -0500)]
Wrap do_ntfs_umount() declaration with WITH_NTFS_3G

7 years agoMultithreaded stream write: Fix progress function calls
Eric Biggers [Mon, 8 Apr 2013 15:24:31 +0000 (10:24 -0500)]
Multithreaded stream write:  Fix progress function calls

7 years agoUpdate library CURRENT and AGE
Eric Biggers [Mon, 8 Apr 2013 05:21:27 +0000 (00:21 -0500)]
Update library CURRENT and AGE

7 years agoUpdate version to 1.3.3
Eric Biggers [Mon, 8 Apr 2013 05:17:07 +0000 (00:17 -0500)]
Update version to 1.3.3

7 years agoUpdate NEWS
Eric Biggers [Mon, 8 Apr 2013 05:16:27 +0000 (00:16 -0500)]
Update NEWS

7 years agoread_dentry(): Ignore ReparseTag for non-reparse-points
Eric Biggers [Mon, 8 Apr 2013 05:11:46 +0000 (00:11 -0500)]
read_dentry(): Ignore ReparseTag for non-reparse-points

7 years agoWrite uncompressible streams uncompressed in multithreaded code path
Eric Biggers [Mon, 8 Apr 2013 05:07:55 +0000 (00:07 -0500)]
Write uncompressible streams uncompressed in multithreaded code path

7 years agoComment multithreaded stream writing code
Eric Biggers [Mon, 8 Apr 2013 04:28:46 +0000 (23:28 -0500)]
Comment multithreaded stream writing code

7 years agoAdd --threads option to imagex-optimize
Eric Biggers [Mon, 8 Apr 2013 03:56:01 +0000 (22:56 -0500)]
Add --threads option to imagex-optimize

7 years agoMultithreaded stream writing fixes
Eric Biggers [Mon, 8 Apr 2013 03:55:50 +0000 (22:55 -0500)]
Multithreaded stream writing fixes

7 years agoMultithreaded compression (IN PROGRESS)
Eric Biggers [Sun, 7 Apr 2013 05:20:54 +0000 (00:20 -0500)]
Multithreaded compression (IN PROGRESS)

7 years agoresource code fixes/cleanup
Eric Biggers [Sun, 7 Apr 2013 02:13:06 +0000 (21:13 -0500)]
resource code fixes/cleanup

7 years agowim_checksum_unhashed_streams(): Use image_for_each_unhashed_stream_safe()
Eric Biggers [Sun, 7 Apr 2013 01:31:01 +0000 (20:31 -0500)]
wim_checksum_unhashed_streams(): Use image_for_each_unhashed_stream_safe()

7 years agooverwrite_wim_inplace(): cleanup
Eric Biggers [Sun, 7 Apr 2013 01:27:30 +0000 (20:27 -0500)]
overwrite_wim_inplace(): cleanup

7 years agowrite.c, lookup table.c: cleanup
Eric Biggers [Sun, 7 Apr 2013 00:21:48 +0000 (19:21 -0500)]
write.c, lookup table.c: cleanup

7 years agoAdd more comments
Eric Biggers [Sat, 6 Apr 2013 23:03:18 +0000 (18:03 -0500)]
Add more comments

7 years agofinish_write(): Reorganize
Eric Biggers [Sat, 6 Apr 2013 22:40:21 +0000 (17:40 -0500)]
finish_write(): Reorganize

7 years agoxml_update_image_info(): Assume streams are resolved
Eric Biggers [Sat, 6 Apr 2013 22:19:48 +0000 (17:19 -0500)]
xml_update_image_info(): Assume streams are resolved

7 years agoRewriting multithreaded compression code (IN PROGRESS)
Eric Biggers [Sun, 31 Mar 2013 06:36:48 +0000 (01:36 -0500)]
Rewriting multithreaded compression code (IN PROGRESS)

7 years agoGet capturing NTFS reparse points working again
Eric Biggers [Sun, 31 Mar 2013 05:02:43 +0000 (00:02 -0500)]
Get capturing NTFS reparse points working again

7 years agoFixes
Eric Biggers [Sun, 31 Mar 2013 04:13:25 +0000 (23:13 -0500)]
Fixes

7 years agoFixes; comments
Eric Biggers [Sun, 31 Mar 2013 01:35:25 +0000 (20:35 -0500)]
Fixes; comments

7 years agoGet append working
Eric Biggers [Sat, 30 Mar 2013 21:58:16 +0000 (16:58 -0500)]
Get append working

7 years agoFixes, comments
Eric Biggers [Sat, 30 Mar 2013 21:25:04 +0000 (16:25 -0500)]
Fixes, comments

7 years agorefcnt image metadata; calculate full path on-demand
Eric Biggers [Sat, 30 Mar 2013 19:29:55 +0000 (14:29 -0500)]
refcnt image metadata; calculate full path on-demand

7 years agoInitial rewrite of resource code
Eric Biggers [Sat, 30 Mar 2013 05:27:15 +0000 (00:27 -0500)]
Initial rewrite of resource code

7 years agoWin32: Improve restoring of special attributes
Eric Biggers [Fri, 29 Mar 2013 18:06:45 +0000 (13:06 -0500)]
Win32:  Improve restoring of special attributes

7 years agoWIM capture: Share inodes immediately
Eric Biggers [Fri, 29 Mar 2013 02:20:26 +0000 (21:20 -0500)]
WIM capture:  Share inodes immediately

Maintain a map (inode number, device number) => (WIM inode) throughout the
process of capturing a WIM image so that we can immediately detect a dentry that
refers to an already-captured inode.  Then, the inode can be shared immediately,
and its streams need not be read again.  In addition, the inodes need not be
sent through more complicated the hard link group disambiguation code; also, on
UNIX, capturing files with the same inode number but on different devices now
guaranteed to work correctly.

7 years agosplit, join: Read input WIM(s) sequentially
Eric Biggers [Thu, 28 Mar 2013 23:14:46 +0000 (18:14 -0500)]
split, join:  Read input WIM(s) sequentially

7 years agoExport compression and decompression functions
Eric Biggers [Thu, 28 Mar 2013 16:55:53 +0000 (11:55 -0500)]
Export compression and decompression functions

7 years agojoin_wims(): Don't rebuild metadata resources
Eric Biggers [Thu, 28 Mar 2013 16:46:18 +0000 (11:46 -0500)]
join_wims():  Don't rebuild metadata resources

7 years agoReplace _wcserror_s for Windows XP compatibility
Eric Biggers [Thu, 28 Mar 2013 01:23:00 +0000 (20:23 -0500)]
Replace _wcserror_s for Windows XP compatibility

7 years agooverwrite_wim_inplace(): Only write new metadata resources for modified images v1.3.2
Eric Biggers [Wed, 27 Mar 2013 05:39:22 +0000 (00:39 -0500)]
overwrite_wim_inplace(): Only write new metadata resources for modified images

7 years agowrite.c: Send fewer progress msgs when extracting streams
Eric Biggers [Wed, 27 Mar 2013 05:29:26 +0000 (00:29 -0500)]
write.c:  Send fewer progress msgs when extracting streams

7 years agoAdd make-windoze-release script
Eric Biggers [Wed, 27 Mar 2013 04:38:43 +0000 (23:38 -0500)]
Add make-windoze-release script

7 years agoexport compression functions when using special define
Eric Biggers [Wed, 27 Mar 2013 04:25:41 +0000 (23:25 -0500)]
export compression functions when using special define

7 years agoFix debugging statements
Eric Biggers [Wed, 27 Mar 2013 03:43:19 +0000 (22:43 -0500)]
Fix debugging statements

7 years agoMove capture config parsing to imagex
Eric Biggers [Wed, 27 Mar 2013 03:40:53 +0000 (22:40 -0500)]
Move capture config parsing to imagex

7 years agoPrint each file or directory excluded
Eric Biggers [Tue, 26 Mar 2013 21:27:45 +0000 (16:27 -0500)]
Print each file or directory excluded

7 years agoAdjust capture config; refactor unix_build_dentry_tree()
Eric Biggers [Tue, 26 Mar 2013 21:18:33 +0000 (16:18 -0500)]
Adjust capture config; refactor unix_build_dentry_tree()

7 years agoRemove unimplemented CompressionExclusionList from capture config
Eric Biggers [Tue, 26 Mar 2013 18:56:02 +0000 (13:56 -0500)]
Remove unimplemented CompressionExclusionList from capture config

7 years agoWin32: Minor code/comment fixes
Eric Biggers [Tue, 26 Mar 2013 18:54:23 +0000 (13:54 -0500)]
Win32: Minor code/comment fixes

7 years agowimlib.h: Doc fixes
Eric Biggers [Tue, 26 Mar 2013 17:40:39 +0000 (12:40 -0500)]
wimlib.h:  Doc fixes

7 years agoAvoid implementation-defined calloc of 0 bytes
Eric Biggers [Tue, 26 Mar 2013 17:32:08 +0000 (12:32 -0500)]
Avoid implementation-defined calloc of 0 bytes

7 years agoimagex: Use enumerated type for long options
Eric Biggers [Tue, 26 Mar 2013 17:07:05 +0000 (12:07 -0500)]
imagex:  Use enumerated type for long options

7 years agoUpdate NEWS
Eric Biggers [Sun, 24 Mar 2013 07:02:40 +0000 (02:02 -0500)]
Update NEWS

7 years agoModify treatment of metadata entries
Eric Biggers [Sun, 24 Mar 2013 06:38:21 +0000 (01:38 -0500)]
Modify treatment of metadata entries

Image order is actually determined by the order of metadata entries in the
on-disk lookup table, not order of metadata resources in the WIM.

However, do not insert the metadata entries into the actual lookup hash table,
as they are treated specially.

7 years agoWin32 updates
Eric Biggers [Sun, 24 Mar 2013 03:57:14 +0000 (22:57 -0500)]
Win32 updates

Add --strict-acls option (WIMLIB_ADD_IMAGE_FLAG_STRICT_ACLS,
WIMLIB_EXTRACT_FLAG_STRICT_ACLS)

Better warnings when failing to get/set security data; also return to using
SetFileSecurity() to avoid problems with specifying descriptor in
CreateDirectory() or CreateFile().

7 years agoWin32 fixes
Eric Biggers [Sun, 24 Mar 2013 01:21:41 +0000 (20:21 -0500)]
Win32 fixes

7 years agoUpdate version to 1.3.2
Eric Biggers [Sun, 24 Mar 2013 01:02:49 +0000 (20:02 -0500)]
Update version to 1.3.2

7 years agoRemove unneeded parameter from compression functions
Eric Biggers [Sun, 24 Mar 2013 00:58:06 +0000 (19:58 -0500)]
Remove unneeded parameter from compression functions

Also refer to the (now improved) documentation for compress_func_t instead of
documenting xpress_compress() and lzx_compress() individually.

7 years agoStyle
Eric Biggers [Sat, 23 Mar 2013 22:26:33 +0000 (17:26 -0500)]
Style

7 years agoUpdate char encoding docs
Eric Biggers [Sat, 23 Mar 2013 21:29:59 +0000 (16:29 -0500)]
Update char encoding docs

7 years agoinit_ads_entry(): Fix comparison
Eric Biggers [Sat, 23 Mar 2013 21:22:57 +0000 (16:22 -0500)]
init_ads_entry(): Fix comparison

7 years agoChar encoding updates and misc. fixes
Eric Biggers [Sat, 23 Mar 2013 21:04:41 +0000 (16:04 -0500)]
Char encoding updates and misc. fixes

7 years agoEncodings update (IN PROGRESS)
Eric Biggers [Sat, 23 Mar 2013 04:42:11 +0000 (23:42 -0500)]
Encodings update (IN PROGRESS)

7 years agoEncodings update (IN PROGRESS)
Eric Biggers [Sat, 23 Mar 2013 03:11:51 +0000 (22:11 -0500)]
Encodings update (IN PROGRESS)

7 years agowin32_read_file: Use UTF16-LE name
Eric Biggers [Fri, 22 Mar 2013 16:01:39 +0000 (11:01 -0500)]
win32_read_file:  Use UTF16-LE name

7 years agobuffer_io.h: Remove unnecessary casting
Eric Biggers [Fri, 22 Mar 2013 15:47:24 +0000 (10:47 -0500)]
buffer_io.h:  Remove unnecessary casting