]> wimlib.net Git - wimlib/log
wimlib
8 years agowimlib-imagex-apply.1: abbreviate off-topic docs about booting Windows
Eric Biggers [Tue, 5 May 2015 05:04:30 +0000 (00:04 -0500)]
wimlib-imagex-apply.1: abbreviate off-topic docs about booting Windows

8 years agowiminfo: consolidate boolean flags into single line
Eric Biggers [Tue, 5 May 2015 03:03:53 +0000 (22:03 -0500)]
wiminfo: consolidate boolean flags into single line

8 years agowimlib_wim_info: update docs for flag bits
Eric Biggers [Tue, 5 May 2015 03:19:54 +0000 (22:19 -0500)]
wimlib_wim_info: update docs for flag bits

8 years agowimlib-imagex-capture.1: doc improvements
Eric Biggers [Tue, 5 May 2015 04:42:13 +0000 (23:42 -0500)]
wimlib-imagex-capture.1: doc improvements

8 years agoSwap all slashes in UNIX <=> Windows symlink translation
Eric Biggers [Tue, 5 May 2015 04:12:32 +0000 (23:12 -0500)]
Swap all slashes in UNIX <=> Windows symlink translation

If we swap both slash types when translating each way, then the
translation is lossless.

8 years agoImproved error reporting if loading capture configuration file fails
Eric Biggers [Sun, 3 May 2015 21:35:11 +0000 (16:35 -0500)]
Improved error reporting if loading capture configuration file fails

8 years ago<sys/types.h> is sometimes required before <attr/xattr.h>
Eric Biggers [Sun, 3 May 2015 20:01:58 +0000 (15:01 -0500)]
<sys/types.h> is sometimes required before <attr/xattr.h>

8 years ago<sys/types.h> is required before <sys/sysctl.h> on FreeBSD
Eric Biggers [Sun, 3 May 2015 19:53:10 +0000 (14:53 -0500)]
<sys/types.h> is required before <sys/sysctl.h> on FreeBSD

8 years agoheader.h: fix outdated comment
Eric Biggers [Sun, 3 May 2015 01:55:55 +0000 (20:55 -0500)]
header.h: fix outdated comment

8 years agowrite_wim_header(): remove unnecessary condition
Eric Biggers [Sun, 3 May 2015 01:19:34 +0000 (20:19 -0500)]
write_wim_header(): remove unnecessary condition

8 years agoMove CPU and memory information to util
Eric Biggers [Sat, 2 May 2015 22:54:04 +0000 (17:54 -0500)]
Move CPU and memory information to util

8 years agoMake win32.h includable on non-Windows
Eric Biggers [Sat, 2 May 2015 22:47:07 +0000 (17:47 -0500)]
Make win32.h includable on non-Windows

8 years agowimlib_export_image(): error if src_wim == dest_wim
Eric Biggers [Sat, 2 May 2015 22:40:06 +0000 (17:40 -0500)]
wimlib_export_image(): error if src_wim == dest_wim

8 years agowrite: various cleanups
Eric Biggers [Sat, 2 May 2015 21:54:38 +0000 (16:54 -0500)]
write: various cleanups

- When writing or overwriting WIM file, fill in a new variable
  wim->out_hdr instead of overwriting wim->hdr which was subject to bugs
- When writing WIM file, create new header from scratch instead of
  copying old one
- Remove redundant private flags
- Remove debug statements (they are rarely used, outdated, and now
  missing from most parts of the library)

8 years agomount_image: ensure we always begin with empty file descriptor array
Eric Biggers [Sat, 2 May 2015 22:25:29 +0000 (17:25 -0500)]
mount_image: ensure we always begin with empty file descriptor array

8 years agoxml.c: Fix writing XML data for one image only
Eric Biggers [Sat, 2 May 2015 20:07:50 +0000 (15:07 -0500)]
xml.c: Fix writing XML data for one image only

8 years agowimlib_print_header(): fix printing of magic number
Eric Biggers [Sat, 2 May 2015 20:52:43 +0000 (15:52 -0500)]
wimlib_print_header(): fix printing of magic number

8 years agosha1.h: remove unused inline functions
Eric Biggers [Sat, 2 May 2015 20:40:58 +0000 (15:40 -0500)]
sha1.h: remove unused inline functions

8 years agowim.c: adjust wimlib_compression_type casting
Eric Biggers [Sat, 2 May 2015 19:57:56 +0000 (14:57 -0500)]
wim.c: adjust wimlib_compression_type casting

8 years agoWin32 capture: sort streams by starting LCN
Eric Biggers [Sat, 2 May 2015 18:39:17 +0000 (13:39 -0500)]
Win32 capture: sort streams by starting LCN

8 years agoNTFS-3g capture: use reference-counted NTFS volumes
Eric Biggers [Sat, 2 May 2015 16:35:59 +0000 (11:35 -0500)]
NTFS-3g capture: use reference-counted NTFS volumes

This avoids the hack of storing the NTFS volume in
'struct wim_image_metadata'.

8 years agoNTFS-3g capture: sort attributes by starting LCN
Eric Biggers [Sat, 2 May 2015 15:41:47 +0000 (10:41 -0500)]
NTFS-3g capture: sort attributes by starting LCN

8 years agoNTFS-3g capture: open inodes by inode number
Eric Biggers [Sat, 2 May 2015 15:11:43 +0000 (10:11 -0500)]
NTFS-3g capture: open inodes by inode number

8 years agowim_inode: Remove i_list, leaving only i_hlist
Eric Biggers [Sat, 2 May 2015 02:51:40 +0000 (21:51 -0500)]
wim_inode: Remove i_list, leaving only i_hlist

8 years agoVarious cleanups
Eric Biggers [Fri, 1 May 2015 02:26:32 +0000 (21:26 -0500)]
Various cleanups

8 years agoNew helper: inode_get_unnamed_data_stream()
Eric Biggers [Fri, 1 May 2015 03:53:05 +0000 (22:53 -0500)]
New helper: inode_get_unnamed_data_stream()

8 years agomount_image.c: set st_blocks to compressed size
Eric Biggers [Fri, 1 May 2015 03:45:49 +0000 (22:45 -0500)]
mount_image.c: set st_blocks to compressed size

8 years agoxml.c: Simplify image statistics calculation
Eric Biggers [Fri, 1 May 2015 03:15:05 +0000 (22:15 -0500)]
xml.c: Simplify image statistics calculation

8 years agoUse -D_POSIX_THREAD_SAFE_FUNCTIONS for MinGW build
Eric Biggers [Fri, 1 May 2015 00:38:21 +0000 (19:38 -0500)]
Use -D_POSIX_THREAD_SAFE_FUNCTIONS for MinGW build

The latest MinGW only exposes gmtime_r() if this is defined.

8 years agowimlib_global_init(): check for conflicting case sensitivity mode
Eric Biggers [Tue, 28 Apr 2015 01:54:54 +0000 (20:54 -0500)]
wimlib_global_init(): check for conflicting case sensitivity mode

8 years agoClean up setting of compression type
Eric Biggers [Sat, 25 Apr 2015 20:00:07 +0000 (15:00 -0500)]
Clean up setting of compression type

- Use the enum instead of an int
- Consolidate the per-compression-type information into an array

8 years agowimlib.h: various documentation cleanups and improvements
Eric Biggers [Sat, 25 Apr 2015 00:22:48 +0000 (19:22 -0500)]
wimlib.h: various documentation cleanups and improvements

8 years agontfs-3g_apply.c: use WIMLIB_ERR_SET_REPARSE_DATA
Eric Biggers [Sat, 25 Apr 2015 16:51:03 +0000 (11:51 -0500)]
ntfs-3g_apply.c: use WIMLIB_ERR_SET_REPARSE_DATA

8 years agowimlib_create_new_wim(): check for NULL wim_ret
Eric Biggers [Sat, 25 Apr 2015 15:44:53 +0000 (10:44 -0500)]
wimlib_create_new_wim(): check for NULL wim_ret

8 years agowimlib_get_xml_data(): should use NO_FILENAME error
Eric Biggers [Sat, 25 Apr 2015 06:13:08 +0000 (01:13 -0500)]
wimlib_get_xml_data(): should use NO_FILENAME error

8 years agoSerialize wimlib_global_init() and wimlib_global_cleanup()
Eric Biggers [Sat, 25 Apr 2015 05:09:35 +0000 (00:09 -0500)]
Serialize wimlib_global_init() and wimlib_global_cleanup()

8 years agowimlib_iterate_lookup_table(): include unhashed blobs
Eric Biggers [Sat, 25 Apr 2015 04:56:39 +0000 (23:56 -0500)]
wimlib_iterate_lookup_table(): include unhashed blobs

9 years agoRemove unnecessary argument to hlist iteration macros
Eric Biggers [Sat, 11 Apr 2015 14:38:58 +0000 (09:38 -0500)]
Remove unnecessary argument to hlist iteration macros

9 years agoRemove --enable-verify-compression option
Eric Biggers [Sat, 11 Apr 2015 13:55:27 +0000 (08:55 -0500)]
Remove --enable-verify-compression option

It is easy to do manual verification with 'wimverify', and this was
already broken since "destructive" compression was introduced.

9 years agov1.8.1-BETA
Eric Biggers [Sat, 4 Apr 2015 04:52:24 +0000 (23:52 -0500)]
v1.8.1-BETA

9 years agowin32_capture.c: fix capture of unnamed stream only
Eric Biggers [Sat, 4 Apr 2015 04:52:08 +0000 (23:52 -0500)]
win32_capture.c: fix capture of unnamed stream only

9 years agoinode/blob cleanups
Eric Biggers [Thu, 2 Apr 2015 02:46:38 +0000 (21:46 -0500)]
inode/blob cleanups

9 years agoImprove helper functions for setting blob locations
Eric Biggers [Thu, 2 Apr 2015 04:43:54 +0000 (23:43 -0500)]
Improve helper functions for setting blob locations

9 years agoOptimize layout of 'struct blob_descriptor'
Eric Biggers [Thu, 2 Apr 2015 02:13:13 +0000 (21:13 -0500)]
Optimize layout of 'struct blob_descriptor'

9 years agoTrim down 'flags' member of 'struct blob_descriptor'
Eric Biggers [Thu, 2 Apr 2015 01:43:36 +0000 (20:43 -0500)]
Trim down 'flags' member of 'struct blob_descriptor'

Most "blob" flags were actually only meaningful for WIM resources.
Resource flags are actually saved in the 'flags' member of 'struct
wim_resource_descriptor', and we don't need to duplicate them in 'struct
blob_descriptor'.

9 years agowin32_apply.c: simplify inode_longest_named_data_stream_spec()
Eric Biggers [Sun, 29 Mar 2015 23:32:11 +0000 (18:32 -0500)]
win32_apply.c: simplify inode_longest_named_data_stream_spec()

9 years agolzx_decompress.c: add missing validation in RLE length decoding
Eric Biggers [Fri, 27 Mar 2015 05:16:58 +0000 (00:16 -0500)]
lzx_decompress.c: add missing validation in RLE length decoding

Bad input found by afl-fuzz:

1f 20 00 42 00 00 33 03 45 43 45 00 20 00 00 0e

9 years agontfs-3g_capture.c: fix capture of empty named data stream
Eric Biggers [Fri, 27 Mar 2015 02:00:48 +0000 (21:00 -0500)]
ntfs-3g_capture.c: fix capture of empty named data stream

9 years agotest-imagex-ntfs: fix empty xattr creation
Eric Biggers [Fri, 27 Mar 2015 01:54:53 +0000 (20:54 -0500)]
test-imagex-ntfs: fix empty xattr creation

9 years agotest-imagex-ntfs: remove unusable DOS name tests
Eric Biggers [Fri, 27 Mar 2015 01:54:22 +0000 (20:54 -0500)]
test-imagex-ntfs: remove unusable DOS name tests

9 years agotests: adjust calling of wimlib-imagex
Eric Biggers [Fri, 27 Mar 2015 00:40:05 +0000 (19:40 -0500)]
tests: adjust calling of wimlib-imagex

9 years agowimlib_iterate_dir_tree(): checksum unhashed blobs
Eric Biggers [Thu, 26 Mar 2015 04:32:29 +0000 (23:32 -0500)]
wimlib_iterate_dir_tree(): checksum unhashed blobs

9 years agoinode.c: fix initialization of i_streams
Eric Biggers [Thu, 26 Mar 2015 04:07:55 +0000 (23:07 -0500)]
inode.c: fix initialization of i_streams

9 years agodetect attr/xattr.h for tree-cmp.c
Eric Biggers [Thu, 26 Mar 2015 04:07:20 +0000 (23:07 -0500)]
detect attr/xattr.h for tree-cmp.c

9 years agontfs-3g_apply.c: avoid warning about sacl_offset unused
Eric Biggers [Thu, 26 Mar 2015 00:58:44 +0000 (19:58 -0500)]
ntfs-3g_apply.c: avoid warning about sacl_offset unused

9 years agoAdjust handling of blob reference counts
Eric Biggers [Wed, 25 Mar 2015 01:08:13 +0000 (20:08 -0500)]
Adjust handling of blob reference counts

9 years agomount_image.c: rename create_dentry() to create_file()
Eric Biggers [Wed, 25 Mar 2015 02:23:42 +0000 (21:23 -0500)]
mount_image.c: rename create_dentry() to create_file()

9 years agoLimit exposure of dentry and inode creation
Eric Biggers [Wed, 25 Mar 2015 01:46:01 +0000 (20:46 -0500)]
Limit exposure of dentry and inode creation

- Don't allow creating d_inode=NULL dentries outside of dentry.c
- Don't allow creating i_nlink=0 inodes

9 years agoblob_table.c: fix NTFS location clone error path
Eric Biggers [Tue, 24 Mar 2015 01:47:38 +0000 (20:47 -0500)]
blob_table.c: fix NTFS location clone error path

9 years agoextract.c: file_name_valid(): fix bad memdup
Eric Biggers [Tue, 24 Mar 2015 00:31:15 +0000 (19:31 -0500)]
extract.c: file_name_valid(): fix bad memdup

9 years agoStream and blob updates
Eric Biggers [Tue, 17 Mar 2015 03:17:15 +0000 (22:17 -0500)]
Stream and blob updates

- Rename "lookup table entry" to "blob descriptor"
- Rename "lookup table" to "blob table"
- Use single array for all an inode's streams
- Explicitly annotate each stream with its type
- Account for fact that EFSRPC raw data includes all data streams
- Other cleanups

9 years agoAdd additional reparse point tests to win32-test-imagex-capture_and_apply.bat
Eric Biggers [Sun, 22 Mar 2015 20:44:31 +0000 (15:44 -0500)]
Add additional reparse point tests to win32-test-imagex-capture_and_apply.bat

9 years agowin32_apply.c: Don't externally back very large files
Eric Biggers [Sun, 15 Mar 2015 01:47:39 +0000 (20:47 -0500)]
win32_apply.c: Don't externally back very large files

9 years agowin32_apply.c: try to clear attributes on existing directories
Eric Biggers [Sun, 15 Mar 2015 01:25:53 +0000 (20:25 -0500)]
win32_apply.c: try to clear attributes on existing directories

9 years agowin32_apply.c: handle target directory more like other directories
Eric Biggers [Sun, 15 Mar 2015 01:22:22 +0000 (20:22 -0500)]
win32_apply.c: handle target directory more like other directories

If we don't send the target directory through the same code path as the
other directories, we can run into several inconsistencies such as empty
named data streams not being created and compression attributes not being
set or cleared.

We actually *can* send the target directory through create_directory() as
long as we don't ask for DELETE access (in case it's the current working
directory) or set its short name (since that doesn't make sense anyway).

9 years agowin32-test-imagex-capture_and_apply improvements
Eric Biggers [Sun, 15 Mar 2015 01:11:13 +0000 (20:11 -0500)]
win32-test-imagex-capture_and_apply improvements

- Make test failure message always get printed if anything goes wrong
- Fix bad file comparison
- Apply the WIM image twice to test the existing files case
- Add test for a readonly directory with a named data stream
- Add test for root directory with empty named data stream

9 years agov1.8.0 v1.8.0
Eric Biggers [Wed, 25 Feb 2015 04:55:41 +0000 (22:55 -0600)]
v1.8.0

9 years agoLZMS compression: a few minor cleanups
Eric Biggers [Wed, 25 Feb 2015 04:44:13 +0000 (22:44 -0600)]
LZMS compression: a few minor cleanups

9 years agoLZMS compression: use position instead of pointer for delta hash
Eric Biggers [Tue, 24 Feb 2015 01:23:44 +0000 (19:23 -0600)]
LZMS compression: use position instead of pointer for delta hash

This gives predictable results regardless of how the buffer is aligned.

9 years agolzms_decompress.c: Make bit decoding function names consistent with compressor
Eric Biggers [Tue, 24 Feb 2015 00:08:17 +0000 (18:08 -0600)]
lzms_decompress.c: Make bit decoding function names consistent with compressor

9 years agolcpit_matchfinder: cleanups and optimizations
Eric Biggers [Tue, 24 Feb 2015 00:08:11 +0000 (18:08 -0600)]
lcpit_matchfinder: cleanups and optimizations

9 years agoA few cleanups and fixes from recent changes
Eric Biggers [Thu, 19 Feb 2015 05:06:40 +0000 (23:06 -0600)]
A few cleanups and fixes from recent changes

9 years agoUpdate README.WINDOWS
Eric Biggers [Wed, 18 Feb 2015 04:13:56 +0000 (22:13 -0600)]
Update README.WINDOWS

9 years agoUpdate Windows test script
Eric Biggers [Wed, 18 Feb 2015 02:42:42 +0000 (20:42 -0600)]
Update Windows test script

9 years agowin32_capture.c: Use CREATE_FOR_DIR flag for encrypted directories
Eric Biggers [Wed, 18 Feb 2015 02:38:23 +0000 (20:38 -0600)]
win32_capture.c: Use CREATE_FOR_DIR flag for encrypted directories

Oddly enough, this is required when reading the EFS data for an encrypted
directory with named data streams, even though MS's documentation
suggests that CREATE_FOR_DIR only has an effect for import.

9 years agoDo not use ADS entry workaround on encrypted files
Eric Biggers [Wed, 18 Feb 2015 02:36:05 +0000 (20:36 -0600)]
Do not use ADS entry workaround on encrypted files

9 years agowimlib-imagex: list --solid in help for more commands
Eric Biggers [Tue, 17 Feb 2015 06:57:36 +0000 (00:57 -0600)]
wimlib-imagex: list --solid in help for more commands

9 years agoVarious cleanups
Eric Biggers [Tue, 17 Feb 2015 03:13:51 +0000 (21:13 -0600)]
Various cleanups

9 years agoFix Makefile.am
Eric Biggers [Mon, 16 Feb 2015 06:26:14 +0000 (00:26 -0600)]
Fix Makefile.am

9 years agoUse v1.8.0 as next version instead of v1.7.5
Eric Biggers [Mon, 16 Feb 2015 05:34:14 +0000 (23:34 -0600)]
Use v1.8.0 as next version instead of v1.7.5

9 years agoUpdate NEWS, README, and docs
Eric Biggers [Mon, 16 Feb 2015 05:16:23 +0000 (23:16 -0600)]
Update NEWS, README, and docs

9 years agoUse 64MiB chunks by default for solid LZMS
Eric Biggers [Mon, 16 Feb 2015 01:04:29 +0000 (19:04 -0600)]
Use 64MiB chunks by default for solid LZMS

9 years agoLCP-interval tree matchfinder improvements
Eric Biggers [Fri, 13 Feb 2015 07:13:15 +0000 (01:13 -0600)]
LCP-interval tree matchfinder improvements

- Adjust the algorithm to remove the need to have an "unvisited" flag in
  normal mode.
- Prefetch upcoming SA_and_LCP entries during LCP construction.
- Get rid of lcpit_matchfinder_templates.h, since the "huge mode"
  algorithm isn't quite the same as the regular algorithm anymore.
- Improve documentation.

9 years agoSupport "destructive" compression to save memory
Eric Biggers [Sun, 15 Feb 2015 00:30:24 +0000 (18:30 -0600)]
Support "destructive" compression to save memory

9 years agoReduce unnecessary copying during chunk compression
Eric Biggers [Sat, 14 Feb 2015 22:03:28 +0000 (16:03 -0600)]
Reduce unnecessary copying during chunk compression

9 years agoAdd flag for disabling solid sort
Eric Biggers [Sat, 14 Feb 2015 20:58:45 +0000 (14:58 -0600)]
Add flag for disabling solid sort

9 years agoHeuristic sorting of streams for solid compression
Eric Biggers [Sat, 14 Feb 2015 16:47:56 +0000 (10:47 -0600)]
Heuristic sorting of streams for solid compression

9 years agoUpdate documentation for wimcapture
Eric Biggers [Sat, 14 Feb 2015 05:39:24 +0000 (23:39 -0600)]
Update documentation for wimcapture

9 years agowimlib-imagex: allow specifying suffix in chunk size options
Eric Biggers [Sat, 14 Feb 2015 04:53:50 +0000 (22:53 -0600)]
wimlib-imagex: allow specifying suffix in chunk size options

9 years agoConsistently use the name "solid resource"
Eric Biggers [Sat, 14 Feb 2015 04:04:41 +0000 (22:04 -0600)]
Consistently use the name "solid resource"

9 years agoRewrite of LZMS compressor
Eric Biggers [Fri, 13 Feb 2015 01:01:06 +0000 (19:01 -0600)]
Rewrite of LZMS compressor

- Delta match support
- Multi-step item consideration in selected cases
- Various refactoring; updates to comments and names; some changes to
  decompressor as well
- Remove pthreads dependency

9 years agolzms_decompress.c: Adjust names in delta match decompression code
Eric Biggers [Sat, 7 Feb 2015 03:59:47 +0000 (21:59 -0600)]
lzms_decompress.c: Adjust names in delta match decompression code

9 years agolzms_decompress.c: Add more information about delta matches
Eric Biggers [Sat, 7 Feb 2015 03:59:11 +0000 (21:59 -0600)]
lzms_decompress.c: Add more information about delta matches

9 years agoSuffix array based matchfinder updates
Eric Biggers [Sat, 31 Jan 2015 23:51:23 +0000 (17:51 -0600)]
Suffix array based matchfinder updates

- Move LCP-interval tree matchfinder to lcpit_matchfinder.c
- Support buffer sizes > 2^25 in LCP-interval tree matchfinder
- Reduce code duplication in LCP-interval tree routines
- Remove linked suffix array matchfinder
- Remove lz_mf matchfinder API
- Update LZMS compressor to use new LCP-interval tree matchfinder routines

9 years ago1.7.5-BETA3
Eric Biggers [Fri, 30 Jan 2015 03:59:35 +0000 (21:59 -0600)]
1.7.5-BETA3

9 years agoMove errno translation to win32_replacements.c
Eric Biggers [Fri, 30 Jan 2015 03:24:57 +0000 (21:24 -0600)]
Move errno translation to win32_replacements.c

9 years agoWindows: improved error messages
Eric Biggers [Fri, 30 Jan 2015 01:16:28 +0000 (19:16 -0600)]
Windows: improved error messages

9 years agowin32_apply.c: in NO_ATTRIBUTES mode, reset file attributes
Eric Biggers [Fri, 30 Jan 2015 01:28:31 +0000 (19:28 -0600)]
win32_apply.c: in NO_ATTRIBUTES mode, reset file attributes

9 years agowin32-test-imagex-capture_and_apply.bat: fixes
Eric Biggers [Fri, 30 Jan 2015 00:46:30 +0000 (18:46 -0600)]
win32-test-imagex-capture_and_apply.bat: fixes

9 years agowin32_apply.c: adjust file creation
Eric Biggers [Thu, 29 Jan 2015 05:37:28 +0000 (23:37 -0600)]
win32_apply.c: adjust file creation