wimlib
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

7 years agoMove FreeLibrary call to win32_global_cleanup()
Eric Biggers [Fri, 22 Mar 2013 14:00:40 +0000 (09:00 -0500)]
Move FreeLibrary call to win32_global_cleanup()

7 years agoFix symlink.c conditional v1.3.1
Eric Biggers [Fri, 22 Mar 2013 06:10:05 +0000 (01:10 -0500)]
Fix symlink.c conditional

7 years agoUpdate version number to 1.3.1
Eric Biggers [Fri, 22 Mar 2013 06:06:28 +0000 (01:06 -0500)]
Update version number to 1.3.1

7 years agoUpdate NEWS
Eric Biggers [Fri, 22 Mar 2013 06:06:16 +0000 (01:06 -0500)]
Update NEWS

7 years agoDynamically load Find{Find,Next}StreamW()
Eric Biggers [Fri, 22 Mar 2013 06:06:06 +0000 (01:06 -0500)]
Dynamically load Find{Find,Next}StreamW()

7 years agoAdd --noacls options and set dwDesiredAccess more appropriately
Eric Biggers [Fri, 22 Mar 2013 05:12:49 +0000 (00:12 -0500)]
Add --noacls options and set dwDesiredAccess more appropriately

7 years agowin32.c: Misc. fixes
Eric Biggers [Fri, 22 Mar 2013 04:25:12 +0000 (23:25 -0500)]
win32.c:  Misc. fixes

- Fix comments
- Document parameters to DeviceIOControl in win32_capture_reparse_point()
- win32_capture_stream(): Avoid ambiguity between drive letters and paths to
  alternate data streams
- win32_extract_stream(): Don't treat paths beginning with drive letter as
  relative

7 years agoWin32: skip dead code in symlink.c
Eric Biggers [Fri, 22 Mar 2013 04:20:27 +0000 (23:20 -0500)]
Win32: skip dead code in symlink.c

7 years agoinode_add_ads_with_data(): Rename label
Eric Biggers [Fri, 22 Mar 2013 04:15:11 +0000 (23:15 -0500)]
inode_add_ads_with_data(): Rename label

7 years agoimagex.1.in: Remove redundant words
Eric Biggers [Fri, 22 Mar 2013 02:17:02 +0000 (21:17 -0500)]
imagex.1.in:  Remove redundant words

7 years agoAdd generated man pages to DISTCLEANFILES
Eric Biggers [Fri, 22 Mar 2013 02:16:46 +0000 (21:16 -0500)]
Add generated man pages to DISTCLEANFILES

7 years agoAllow "imagex" to be renamed (default: wimlib-imagex)
Eric Biggers [Fri, 22 Mar 2013 01:36:36 +0000 (20:36 -0500)]
Allow "imagex" to be renamed (default: wimlib-imagex)

7 years agowin32.c realpath(): Don't allocate extra byte
Eric Biggers [Thu, 21 Mar 2013 18:54:21 +0000 (13:54 -0500)]
win32.c realpath():  Don't allocate extra byte

7 years agoREADME: Update Windows reference
Eric Biggers [Thu, 21 Mar 2013 17:16:10 +0000 (12:16 -0500)]
README:  Update Windows reference

7 years agoUpdate wimlib.h docs v1.3.0
Eric Biggers [Thu, 21 Mar 2013 05:13:45 +0000 (00:13 -0500)]
Update wimlib.h docs

7 years agoFix when debugging enabled but error messages are not
Eric Biggers [Thu, 21 Mar 2013 05:03:08 +0000 (00:03 -0500)]
Fix when debugging enabled but error messages are not

7 years agoReplace rename()
Eric Biggers [Thu, 21 Mar 2013 04:53:27 +0000 (23:53 -0500)]
Replace rename()

7 years agoMisc. fixes
Eric Biggers [Thu, 21 Mar 2013 03:18:39 +0000 (22:18 -0500)]
Misc. fixes

7 years agoFix glob()
Eric Biggers [Thu, 21 Mar 2013 02:07:02 +0000 (21:07 -0500)]
Fix glob()

7 years agoUpdate docs
Eric Biggers [Thu, 21 Mar 2013 00:49:09 +0000 (19:49 -0500)]
Update docs

7 years agoUpdate README.WINDOWS
Eric Biggers [Wed, 20 Mar 2013 19:32:43 +0000 (14:32 -0500)]
Update README.WINDOWS

7 years agoConditionally declare win32_file_on_disk_fp
Eric Biggers [Wed, 20 Mar 2013 19:31:53 +0000 (14:31 -0500)]
Conditionally declare win32_file_on_disk_fp

7 years agoWin32 fixes
Eric Biggers [Wed, 20 Mar 2013 19:24:42 +0000 (14:24 -0500)]
Win32 fixes

7 years agoFixes
Eric Biggers [Wed, 20 Mar 2013 15:40:47 +0000 (10:40 -0500)]
Fixes

7 years agoFix utf16le_strlen() and recursive error messages
Eric Biggers [Wed, 20 Mar 2013 05:51:07 +0000 (00:51 -0500)]
Fix utf16le_strlen() and recursive error messages

7 years agoCharacter encoding changes (IN PROGRESS)
Eric Biggers [Wed, 20 Mar 2013 05:35:52 +0000 (00:35 -0500)]
Character encoding changes (IN PROGRESS)

7 years agoImprove char encoding support (IN PROGRESS)
Eric Biggers [Wed, 20 Mar 2013 02:24:33 +0000 (21:24 -0500)]
Improve char encoding support (IN PROGRESS)

7 years agoUpdate timestamp code; use utimensat()
Eric Biggers [Mon, 18 Mar 2013 02:42:20 +0000 (21:42 -0500)]
Update timestamp code; use utimensat()

7 years agoClean up headers
Eric Biggers [Mon, 18 Mar 2013 01:52:37 +0000 (20:52 -0500)]
Clean up headers

7 years agoAdd missing limits.h include
Eric Biggers [Sun, 17 Mar 2013 23:47:23 +0000 (18:47 -0500)]
Add missing limits.h include

7 years agorbtree: Use uintptr_t instead of unsigned long
Eric Biggers [Sun, 17 Mar 2013 23:47:04 +0000 (18:47 -0500)]
rbtree: Use uintptr_t instead of unsigned long

7 years agoFix UNIX build; rename functions; comments
Eric Biggers [Sun, 17 Mar 2013 21:42:28 +0000 (16:42 -0500)]
Fix UNIX build; rename functions; comments

7 years agoMove realpath() to win32.c
Eric Biggers [Sun, 17 Mar 2013 21:35:23 +0000 (16:35 -0500)]
Move realpath() to win32.c

7 years agoAdd untracked files programs/imagex-win32.{c,h}
Eric Biggers [Sun, 17 Mar 2013 21:32:35 +0000 (16:32 -0500)]
Add untracked files programs/imagex-win32.{c,h}

7 years agore-organize win32 code
Eric Biggers [Sun, 17 Mar 2013 21:31:53 +0000 (16:31 -0500)]
re-organize win32 code

7 years agoWindows native build
Eric Biggers [Sun, 17 Mar 2013 19:38:41 +0000 (14:38 -0500)]
Windows native build

7 years agoadd_image.c: Add debugging statements for branch attachment
Eric Biggers [Sun, 17 Mar 2013 02:18:59 +0000 (21:18 -0500)]
add_image.c: Add debugging statements for branch attachment

7 years agoread_compressed_resource(): Fix format strings
Eric Biggers [Sun, 17 Mar 2013 02:18:38 +0000 (21:18 -0500)]
read_compressed_resource(): Fix format strings

7 years agoFree orphaned branch dentry
Eric Biggers [Sun, 17 Mar 2013 02:18:22 +0000 (21:18 -0500)]
Free orphaned branch dentry

7 years agoDo not capture directory hard links
Eric Biggers [Sun, 17 Mar 2013 02:17:48 +0000 (21:17 -0500)]
Do not capture directory hard links

7 years agobuild_Dentry_tree(): Make sure capture config gets destroyed
Eric Biggers [Sun, 17 Mar 2013 02:16:54 +0000 (21:16 -0500)]
build_Dentry_tree(): Make sure capture config gets destroyed

7 years agoWin32: Acquire/release appropriate privileges
Eric Biggers [Sun, 17 Mar 2013 02:16:08 +0000 (21:16 -0500)]
Win32: Acquire/release appropriate privileges

7 years agoutil.h: Use dummy_printf for DEBUG() and DEBUG2()
Eric Biggers [Sun, 17 Mar 2013 02:13:22 +0000 (21:13 -0500)]
util.h: Use dummy_printf for DEBUG() and DEBUG2()

7 years agodentry.c: Comment fix
Eric Biggers [Sun, 17 Mar 2013 02:12:54 +0000 (21:12 -0500)]
dentry.c: Comment fix

7 years agoimagex.c: Fix use of uninitialized variable in error path
Eric Biggers [Sun, 17 Mar 2013 02:12:22 +0000 (21:12 -0500)]
imagex.c:  Fix use of uninitialized variable in error path

7 years agoWin32: minor code cleanups
Eric Biggers [Sat, 16 Mar 2013 21:32:26 +0000 (16:32 -0500)]
Win32: minor code cleanups

7 years agoCode and docs cleanup
Eric Biggers [Sat, 16 Mar 2013 21:13:13 +0000 (16:13 -0500)]
Code and docs cleanup

7 years agoWin32 fixes
Eric Biggers [Sun, 10 Mar 2013 21:13:24 +0000 (16:13 -0500)]
Win32 fixes

- Only warn if setting timestamps fails
- Call progress func correctly when extracting streams
- Don't zap backslashes when target is NULL