]>
wimlib.net Git - wimlib/log
Eric Biggers [Sun, 1 Sep 2013 00:50:12 +0000 (19:50 -0500)]
write_integrity_table(): Fix use of uninitialized variable
(Only happened in cases where existing integrity table was invalid or
could not be read.)
Eric Biggers [Sun, 1 Sep 2013 00:10:36 +0000 (19:10 -0500)]
win32_recurse_directory(): Handle not implemented/supported
Similar to previous commit, but handle errors from NtQueryDirectoryFile().
Eric Biggers [Sun, 1 Sep 2013 00:02:33 +0000 (19:02 -0500)]
win32_capture_streams(): Handle not implemented/supported
If NtQueryInformationFile() returns STATUS_NOT_IMPLEMENTED,
STATUS_NOT_SUPPORTED, or STATUS_INVALID_INFO_CLASS when
FileStreamInformation is requested, fall back to FindFirstStream() and
FindNextStream() instead (which themselves have a fallback behavior).
Eric Biggers [Sat, 31 Aug 2013 23:46:05 +0000 (18:46 -0500)]
win32_capture_streams(): Fix uninitialized return value in non-default case
Eric Biggers [Sat, 31 Aug 2013 23:29:41 +0000 (18:29 -0500)]
Win32: Define _CRT_NON_CONFORMING_SWPRINTFS
To get the "old" swprintf() declaration with all versions of MinGW, at
least until the code is fixed to use the standard form, define
_CRT_NON_CONFORMING_SWPRINTFS.
Eric Biggers [Tue, 27 Aug 2013 17:57:06 +0000 (12:57 -0500)]
wimlib-imagex: Tweak invalid image error message
Eric Biggers [Tue, 27 Aug 2013 17:34:01 +0000 (12:34 -0500)]
wimlib.h: C++ compatibility
Eric Biggers [Tue, 27 Aug 2013 17:24:21 +0000 (12:24 -0500)]
Windows: Use .cmd extension for wimlib-imagex shortcuts
Eric Biggers [Thu, 22 Aug 2013 01:20:05 +0000 (20:20 -0500)]
Minor fixes
Eric Biggers [Wed, 21 Aug 2013 04:35:25 +0000 (23:35 -0500)]
Fix programs not compiled by default
Eric Biggers [Wed, 21 Aug 2013 03:16:33 +0000 (22:16 -0500)]
Windows: Load ntdll functions dynamically
Eric Biggers [Wed, 21 Aug 2013 02:22:51 +0000 (21:22 -0500)]
Update docs; strip Windows binaries & place directly in ZIP
Eric Biggers [Tue, 20 Aug 2013 23:27:00 +0000 (18:27 -0500)]
wimlib_reference_resource_files(): Fix return value docs
Eric Biggers [Tue, 20 Aug 2013 23:23:40 +0000 (18:23 -0500)]
doc/imagex-capture.1.in: update --delta-from docs
Eric Biggers [Tue, 20 Aug 2013 23:04:22 +0000 (18:04 -0500)]
wimlib-imagex: Simplify options for delta WIMs & template images
Eric Biggers [Tue, 20 Aug 2013 21:26:16 +0000 (16:26 -0500)]
"delta" WIM support
Eric Biggers [Tue, 20 Aug 2013 00:17:36 +0000 (19:17 -0500)]
Generalized support for referencing resources in external WIMs
In preparation for supporting "delta" WIMs, this commit generalizes the library
interface for handling split WIMs.
Instead of cluttering up various functions with additional split WIM parameters,
there is now a function wimlib_reference_resource_files() available that can
load additional resources (e.g. from a split WIM part) into a WIMStruct that has
metadata available (e.g. the first part of a split WIM, or a standalone WIM).
wimlib_reference_resource_files() can handle file globbing by itself, so it
actually makes it easier for library users to process split WIMs.
Lower-level APIs wimlib_reference_resources() and wimlib_unreference_resources()
are also provided, but not yet used directly by `wimlib-imagex'.
Some instances of WIMLIB_ERR_SPLIT_UNSUPPORTED error returns were changed to
the new error code WIMLIB_ERR_METADATA_NOT_FOUND.
This commit also re-writes wimlib_export_image() to correctly roll back changes
on multi-image exports and better handle resources in the source WIM being
missing, as well as add a flag to make all destination image(s) unnamed.
Eric Biggers [Mon, 19 Aug 2013 05:27:15 +0000 (00:27 -0500)]
wimlib-imagex: Only say pipable WIMs are split when total_parts != 1
Eric Biggers [Mon, 19 Aug 2013 05:14:29 +0000 (00:14 -0500)]
join.c, write.c: Optimize WIMLIB_ALL_IMAGES writes (and joins)
Eric Biggers [Mon, 19 Aug 2013 04:07:14 +0000 (23:07 -0500)]
wimlib-imagex, wimlib: Optimize appending new image as update of existing
Eric Biggers [Sun, 18 Aug 2013 21:09:17 +0000 (16:09 -0500)]
Add apply_ops.requires_short_name_reordering
Eric Biggers [Sun, 18 Aug 2013 19:25:10 +0000 (14:25 -0500)]
extract.c: Fix extraction of streams of hard-linked files
Due to the re-ordering of dentries in a directory to extract correct DOS names,
was_hardlinked could be set on the dentry referenced by a stream, thereby
causing the stream not to be extracted. Fix by having each stream reference all
possible dentries.
Eric Biggers [Sun, 18 Aug 2013 18:25:19 +0000 (13:25 -0500)]
struct wim_inode: Fix union
Eric Biggers [Sun, 18 Aug 2013 17:54:34 +0000 (12:54 -0500)]
Remove some unused variables and labels
Eric Biggers [Sun, 18 Aug 2013 17:37:46 +0000 (12:37 -0500)]
Win32 apply: Create encrypted files with OpenEncryptedFileRaw()
Eric Biggers [Sun, 18 Aug 2013 17:19:13 +0000 (12:19 -0500)]
Win32 capture: Fix sharing violation when getting size of encrypted stream
Eric Biggers [Sun, 18 Aug 2013 16:45:20 +0000 (11:45 -0500)]
Win32 capture/apply: Simplify opening existing files
Eric Biggers [Sun, 18 Aug 2013 16:35:39 +0000 (11:35 -0500)]
wimlib-imagex: Set stdout to binary mode when appropriate
Eric Biggers [Sun, 18 Aug 2013 16:16:07 +0000 (11:16 -0500)]
Win32: Adjust error printing
Eric Biggers [Sun, 18 Aug 2013 15:37:57 +0000 (10:37 -0500)]
Update security descriptor setting
Eric Biggers [Sun, 18 Aug 2013 06:05:04 +0000 (01:05 -0500)]
tests/win32-tree-cmp.c: Print differing security descriptors
Eric Biggers [Sun, 18 Aug 2013 05:36:51 +0000 (00:36 -0500)]
Win32 capture: Fixes
Eric Biggers [Sun, 18 Aug 2013 05:18:15 +0000 (00:18 -0500)]
Win32 capture: Readdir and query short name with native API
Eric Biggers [Sun, 18 Aug 2013 03:56:28 +0000 (22:56 -0500)]
Win32 capture: Query security descriptors with native API
Eric Biggers [Sun, 18 Aug 2013 02:48:50 +0000 (21:48 -0500)]
Win32 capture: Query stream information with native API
Eric Biggers [Sun, 18 Aug 2013 01:07:04 +0000 (20:07 -0500)]
Win32 apply: Fix FILE_ATTRIBUTE_READONLY note
Eric Biggers [Sun, 18 Aug 2013 00:50:24 +0000 (19:50 -0500)]
Win32 apply: Delay setting FILE_ATTRIBUTE_READONLY
Eric Biggers [Sat, 17 Aug 2013 23:36:05 +0000 (18:36 -0500)]
Add support for WIMLIB_EXTRACT_FLAG_SYMLINK on Windows
Also: on Windows, don't fail to create symlink or hardlink because of an
existing file (try deleting it first).
Eric Biggers [Sat, 17 Aug 2013 23:00:58 +0000 (18:00 -0500)]
Add WIMLIB_INIT_FLAG_STRICT_{CAPTURE,APPLY}_PRIVILEGES
Eric Biggers [Sat, 17 Aug 2013 22:29:12 +0000 (17:29 -0500)]
Add WIMLIB_ADD_FLAG_WINCONFIG
Eric Biggers [Sat, 17 Aug 2013 21:54:47 +0000 (16:54 -0500)]
update README.WINDOWS
Eric Biggers [Sat, 17 Aug 2013 19:07:02 +0000 (14:07 -0500)]
Win32 fixes
Eric Biggers [Sat, 17 Aug 2013 18:59:31 +0000 (13:59 -0500)]
imagex-apply.1.in: Document encrypted/sparse limitations
Eric Biggers [Sat, 17 Aug 2013 18:49:37 +0000 (13:49 -0500)]
imagex-capture.1.in: Document excluded files
Eric Biggers [Sat, 17 Aug 2013 18:31:44 +0000 (13:31 -0500)]
wimlib: Clean up code that sends capture progress messages
Eric Biggers [Sat, 17 Aug 2013 18:12:40 +0000 (13:12 -0500)]
Add WIMLIB_ADD_FLAG_NO_UNSUPPORTED_EXCLUDE
Eric Biggers [Sat, 17 Aug 2013 18:03:04 +0000 (13:03 -0500)]
Exclude unsupported files from capture
Eric Biggers [Sat, 17 Aug 2013 17:38:54 +0000 (12:38 -0500)]
extract.c: Omit encrypted files when unsupported
Eric Biggers [Sat, 17 Aug 2013 01:51:24 +0000 (20:51 -0500)]
debian/: update
Eric Biggers [Sat, 17 Aug 2013 01:45:47 +0000 (20:45 -0500)]
rpm/wimtools.spec: update
Eric Biggers [Fri, 16 Aug 2013 23:52:35 +0000 (18:52 -0500)]
Fix void** casts
Eric Biggers [Fri, 16 Aug 2013 23:46:28 +0000 (18:46 -0500)]
Replace mempcpy() if not implemented
Eric Biggers [Fri, 16 Aug 2013 23:06:36 +0000 (18:06 -0500)]
wimlib.h: Update docs and adjust error codes
Also remove some deprecated functions
Eric Biggers [Fri, 16 Aug 2013 19:16:24 +0000 (14:16 -0500)]
NTFS-3g apply: Open extracted files by MFT reference
Eric Biggers [Fri, 16 Aug 2013 02:11:04 +0000 (21:11 -0500)]
Add WIMLIB_PROGRESS_MSG_EXTRACT_SPWM_PART_BEGIN
Eric Biggers [Fri, 16 Aug 2013 00:23:59 +0000 (19:23 -0500)]
pipable WIM extraction: Take into account HARDLINKBYTES
Eric Biggers [Fri, 16 Aug 2013 00:23:37 +0000 (19:23 -0500)]
apply_operations: Remove 'strict' argument from set_security_descriptor()
Eric Biggers [Fri, 16 Aug 2013 00:23:02 +0000 (19:23 -0500)]
Initial support for resuming extraction from split pipable WIMs
Eric Biggers [Thu, 15 Aug 2013 23:05:07 +0000 (18:05 -0500)]
ntfs-3g capture/apply: Capture & apply DOS names correctly
Eric Biggers [Thu, 15 Aug 2013 20:07:57 +0000 (15:07 -0500)]
unix_apply.c: Allow creating symlinks and hardlinks over existing files
Eric Biggers [Thu, 15 Aug 2013 20:07:35 +0000 (15:07 -0500)]
do_feature_check(): Tweak warnings
Eric Biggers [Thu, 15 Aug 2013 19:08:00 +0000 (14:08 -0500)]
Improve write streams performance and handling of joins
Provide the number of completed WIM parts and total WIM parts in
WIMLIB_PROGRESS_MSG_WRITE_STREAMS, to replace WIMLIB_PROGRESS_MSG_JOIN.
Furthermore, write streams in a more intelligent order; e.g. sorting by WIM part
number and file offset when relevant.
Eric Biggers [Thu, 15 Aug 2013 17:12:26 +0000 (12:12 -0500)]
Miscellaneous fixes and cleanups
Eric Biggers [Wed, 14 Aug 2013 17:26:26 +0000 (12:26 -0500)]
imagex-win32.c: Fix comments
Eric Biggers [Wed, 14 Aug 2013 17:14:25 +0000 (12:14 -0500)]
wimlib: Automatically try to acquire needed privileges on Windows
Eric Biggers [Wed, 14 Aug 2013 16:40:38 +0000 (11:40 -0500)]
wimlib-imagex: Correctly detect failure to acquire privileges
Eric Biggers [Wed, 14 Aug 2013 16:19:51 +0000 (11:19 -0500)]
Don't close file descriptor at end of wimlib_write_to_fd()
Eric Biggers [Wed, 14 Aug 2013 16:15:57 +0000 (11:15 -0500)]
Don't require image num/name when applying from single-image pipable WIM
Eric Biggers [Wed, 14 Aug 2013 07:09:36 +0000 (02:09 -0500)]
wimlib-imagex: Clean up usage information
Eric Biggers [Wed, 14 Aug 2013 06:51:50 +0000 (01:51 -0500)]
wimlib-imagex: More documentation updates
Eric Biggers [Wed, 14 Aug 2013 06:50:45 +0000 (01:50 -0500)]
wimlib-imagex: Do not provide mount commands on Windows
Eric Biggers [Wed, 14 Aug 2013 05:13:12 +0000 (00:13 -0500)]
wimlib-imagex documentation updates
Eric Biggers [Wed, 14 Aug 2013 02:12:36 +0000 (21:12 -0500)]
wimlib-imagex: Support being invoked as wimCOMMAND
Eric Biggers [Tue, 13 Aug 2013 06:19:23 +0000 (01:19 -0500)]
Merge branch with pipable WIM support
Many changes; see changes to NEWS for additional details.
Eric Biggers [Sun, 4 Aug 2013 15:36:05 +0000 (10:36 -0500)]
mkwinpeimg: Improve preceding commit
- Mention in help output and man page that WAIK supplement is supported
- Fix documentation for -w/--wim
- Only check for 'cabextract' when using WAIK, not WAIK supplement
- Fix check for WAIK vs. WAIK supplement
- Print full path when copying boot.wim from WAIK supplement
Christopher Horler [Sun, 4 Aug 2013 12:01:08 +0000 (13:01 +0100)]
fix mkwinpeimg.in for WAIK v3.1 supplement disc image use
Eric Biggers [Tue, 23 Jul 2013 16:44:15 +0000 (11:44 -0500)]
test-imagex-capture_and_apply: Use C locale for parsing float
This fixes a test failure in locales where the decimal separator is not a
period.
Eric Biggers [Fri, 19 Jul 2013 02:43:34 +0000 (21:43 -0500)]
Win32: Apply security descriptors in timestamps pass
This deals with problems restoring weird files that the Administrator lacks
certain permissions on.
Eric Biggers [Fri, 19 Jul 2013 01:59:00 +0000 (20:59 -0500)]
Win32: Correctly handle pattern matching with \\?\-prefixed paths
The switch to using \\?\-prefixed paths made excluding files stop working
on Windows. Fix it.
Eric Biggers [Thu, 18 Jul 2013 04:58:49 +0000 (23:58 -0500)]
win32_apply.c: Set security descriptors correctly
Use SetFileSecurity() instead of SetSecurityInfo(), which was being used
incorrectly before, but still doesn't seem to do what it's supposed to do.
Eric Biggers [Thu, 4 Jul 2013 05:11:21 +0000 (00:11 -0500)]
wim_inode_set_symlink(): Fix typo in comment
Eric Biggers [Tue, 2 Jul 2013 03:16:01 +0000 (22:16 -0500)]
README: Note that code was tested on ARM
Eric Biggers [Tue, 2 Jul 2013 02:32:40 +0000 (21:32 -0500)]
lzx_write_compressed_tree(), lzx_read_code_lens(): Specify signed char
The existing code specified just 'char' for a variable expected to be
signed, but the signedness of a 'char' is implementation-defined. (In
fact, on ARM it is unsigned.)
Eric Biggers [Wed, 12 Jun 2013 01:14:05 +0000 (20:14 -0500)]
Windows: A couple minor build fixes...
Eric Biggers [Wed, 12 Jun 2013 00:54:53 +0000 (19:54 -0500)]
configure.ac: Fix check for NTFS_MNT_RDONLY (again)
Eric Biggers [Wed, 12 Jun 2013 00:46:50 +0000 (19:46 -0500)]
Update version to 1.4.2
Eric Biggers [Wed, 12 Jun 2013 00:00:09 +0000 (19:00 -0500)]
imagex.c: Remove unnecessary checks of swm_glob
Eric Biggers [Sun, 26 May 2013 03:46:21 +0000 (22:46 -0500)]
join_wims(): Preserve some header flags
Eric Biggers [Sun, 26 May 2013 03:32:26 +0000 (22:32 -0500)]
w -> wim
Eric Biggers [Sun, 26 May 2013 03:27:48 +0000 (22:27 -0500)]
split.c: Declare size_remaining as s64 to handle > 4GB files correctly on 32-bit platforms
Eric Biggers [Sun, 26 May 2013 03:15:41 +0000 (22:15 -0500)]
split.c: w => wim
Eric Biggers [Sun, 26 May 2013 03:12:16 +0000 (22:12 -0500)]
imagex: Misc. fixes
Eric Biggers [Sun, 26 May 2013 02:01:10 +0000 (21:01 -0500)]
imagex.c: More cleanups
Eric Biggers [Sat, 25 May 2013 22:14:57 +0000 (17:14 -0500)]
imagex_info(): Style
Eric Biggers [Sat, 25 May 2013 17:32:41 +0000 (12:32 -0500)]
imagex_extract(): Style
Eric Biggers [Sat, 25 May 2013 17:31:41 +0000 (12:31 -0500)]
imagex_export(): Style
Eric Biggers [Sat, 25 May 2013 17:24:18 +0000 (12:24 -0500)]
imagex_delete(): Style
Eric Biggers [Sat, 25 May 2013 16:53:50 +0000 (11:53 -0500)]
Update NEWS
Eric Biggers [Sat, 25 May 2013 16:40:32 +0000 (11:40 -0500)]
imagex_export(): Check errno correctly
Eric Biggers [Sat, 25 May 2013 16:40:14 +0000 (11:40 -0500)]
debian/changelog: use precise instead of unstable