wimlib
7 years agomount.c tweaks
Eric Biggers [Sun, 28 Oct 2012 20:06:34 +0000 (15:06 -0500)]
mount.c tweaks

7 years agoFixes to get rid of various compiler warnings
Eric Biggers [Sun, 28 Oct 2012 19:46:25 +0000 (14:46 -0500)]
Fixes to get rid of various compiler warnings

7 years agowimfs_destroy(), wimlib_unmount()
Eric Biggers [Sun, 28 Oct 2012 19:20:54 +0000 (14:20 -0500)]
wimfs_destroy(), wimlib_unmount()

7 years agoGet rid of static variables in mount.c
Eric Biggers [Sun, 28 Oct 2012 18:58:36 +0000 (13:58 -0500)]
Get rid of static variables in mount.c

Introduce `struct wimfs_context' that is passed as FUSE private data and
retrieved through fuse_get_context().

7 years agoCleanup wimlib_mount() preparations
Eric Biggers [Sun, 28 Oct 2012 17:24:47 +0000 (12:24 -0500)]
Cleanup wimlib_mount() preparations

7 years agowrite_xml_data() cleanup
Eric Biggers [Sun, 28 Oct 2012 06:46:00 +0000 (01:46 -0500)]
write_xml_data() cleanup

7 years ago#ifdef WITH_NTFS_3g in clone_lookup_table_entry()
Eric Biggers [Sun, 28 Oct 2012 06:30:21 +0000 (01:30 -0500)]
#ifdef WITH_NTFS_3g in clone_lookup_table_entry()

7 years agoUse __builtin_bswap64() only if supported
Eric Biggers [Sun, 28 Oct 2012 06:28:18 +0000 (01:28 -0500)]
Use __builtin_bswap64() only if supported

7 years agoClose out_fp in finish_write()
Eric Biggers [Sun, 28 Oct 2012 06:23:30 +0000 (01:23 -0500)]
Close out_fp in finish_write()

7 years agocopy_resource_to_swm(): Move strcat() to sprintf()
Eric Biggers [Sun, 28 Oct 2012 06:10:36 +0000 (01:10 -0500)]
copy_resource_to_swm(): Move strcat() to sprintf()

7 years agostruct args => struct split_args
Eric Biggers [Sun, 28 Oct 2012 06:07:47 +0000 (01:07 -0500)]
struct args => struct split_args

7 years agoFix doc for wimlib_join()
Eric Biggers [Sun, 28 Oct 2012 06:01:51 +0000 (01:01 -0500)]
Fix doc for wimlib_join()

7 years agoFix verify_dentry()
Eric Biggers [Sun, 28 Oct 2012 05:51:26 +0000 (00:51 -0500)]
Fix verify_dentry()

7 years agoMetadata resource compatibility
Eric Biggers [Sun, 28 Oct 2012 05:47:15 +0000 (00:47 -0500)]
Metadata resource compatibility

For compatibility with 7zip, do not write any extra random bytes to the end of
the metadata resources.

This means that without adding some other source of random output, adding
identical images will result in identical metadata resources.  This is still
allowed, but for compatibility with ImageX, lookup table entries are duplicated
rather than shared.

7 years agoUpdate dentry, security data reading
Eric Biggers [Sun, 28 Oct 2012 04:08:53 +0000 (23:08 -0500)]
Update dentry, security data reading

7 years agoCleanup WIM writing
Eric Biggers [Sun, 28 Oct 2012 02:59:10 +0000 (21:59 -0500)]
Cleanup WIM writing

7 years agoCleanup imagex.c
Eric Biggers [Sat, 27 Oct 2012 16:57:25 +0000 (11:57 -0500)]
Cleanup imagex.c

7 years agoRemove more trailing whitespace
Eric Biggers [Fri, 26 Oct 2012 21:35:32 +0000 (16:35 -0500)]
Remove more trailing whitespace

7 years agoVarious cleanups
Eric Biggers [Fri, 26 Oct 2012 21:31:30 +0000 (16:31 -0500)]
Various cleanups

7 years agodo_add_image(): Set boot_idx directly
Eric Biggers [Fri, 26 Oct 2012 19:51:40 +0000 (14:51 -0500)]
do_add_image(): Set boot_idx directly

7 years agoReturn WIMLIB_ERR_NOMEM if security data cannot be allocated
Eric Biggers [Fri, 26 Oct 2012 19:45:30 +0000 (14:45 -0500)]
Return WIMLIB_ERR_NOMEM if security data cannot be allocated

7 years agowimlib_select_image() => select_wim_image()
Eric Biggers [Fri, 26 Oct 2012 19:40:22 +0000 (14:40 -0500)]
wimlib_select_image() => select_wim_image()

wimlib_select_image() has for some time no longer been an external function, so
rename it to select_wim_image().

7 years agoxpress_compress(): Initialize all data written
Eric Biggers [Fri, 26 Oct 2012 17:57:14 +0000 (12:57 -0500)]
xpress_compress(): Initialize all data written

- Make sure the flushing of the bitstream and the finishing of the compressed
  data is done properly.

- Fix indentation and whitespace.

- Zero out chunk table before writing it.

7 years agofix_true_inode(): Add ref_inode to inode_list
Eric Biggers [Fri, 26 Oct 2012 04:23:46 +0000 (23:23 -0500)]
fix_true_inode(): Add ref_inode to inode_list

7 years agobuild_dentry_tree() fix error paths
Eric Biggers [Fri, 26 Oct 2012 01:10:49 +0000 (20:10 -0500)]
build_dentry_tree() fix error paths

7 years agoadd image cleanups
Eric Biggers [Thu, 25 Oct 2012 22:59:11 +0000 (17:59 -0500)]
add image cleanups

7 years agoimage delete cleanup
Eric Biggers [Thu, 25 Oct 2012 22:21:51 +0000 (17:21 -0500)]
image delete cleanup

7 years agoFunction doc updates
Eric Biggers [Thu, 25 Oct 2012 21:59:48 +0000 (16:59 -0500)]
Function doc updates

7 years agowimlib.spec.in: Another update
Eric Biggers [Thu, 25 Oct 2012 21:35:45 +0000 (16:35 -0500)]
wimlib.spec.in: Another update

7 years agowimlib_export() updates
Eric Biggers [Sun, 21 Oct 2012 20:56:45 +0000 (15:56 -0500)]
wimlib_export() updates

- Roll back changes if the function fails.
- Allow exporting an image that was just added with wimlib_add_image().

7 years agoCleanup image export code
Eric Biggers [Sun, 21 Oct 2012 16:54:58 +0000 (11:54 -0500)]
Cleanup image export code

7 years agotest-imagex-ntfs: Error message if ntfs-3g not setuid root
Eric Biggers [Sun, 21 Oct 2012 16:19:51 +0000 (11:19 -0500)]
test-imagex-ntfs: Error message if ntfs-3g not setuid root

7 years agoClean up spec file
Eric Biggers [Sun, 21 Oct 2012 16:18:47 +0000 (11:18 -0500)]
Clean up spec file

7 years agoto_leXX() -> cpu_to_leXX(), leXX_to_cpu()
Eric Biggers [Tue, 2 Oct 2012 16:56:46 +0000 (11:56 -0500)]
to_leXX() -> cpu_to_leXX(), leXX_to_cpu()

Split the macros to_leXX() into separate macros for converting *from* in-memory
little endian *to* the correct in-CPU value, and for converting *from* a correct
in-CPU value *to* in-memory little-endian.  In reality these macros are defined
the same, but it makes sense to distinguish the cases (as is done in other
projects such as the Linux kernel).

By the way, wimlib still has NOT actually been tested on big-endian systems.

7 years agoprint_security_descriptor(): Do not modify const data
Eric Biggers [Tue, 2 Oct 2012 16:38:41 +0000 (11:38 -0500)]
print_security_descriptor(): Do not modify const data

7 years agoextract_wim_resource_to_fd(): Handle full_write() retval correctly
Eric Biggers [Sun, 30 Sep 2012 21:55:49 +0000 (16:55 -0500)]
extract_wim_resource_to_fd(): Handle full_write() retval correctly

7 years agoimagex capture/append: --verbose implies verbose write
Eric Biggers [Sun, 30 Sep 2012 21:34:46 +0000 (16:34 -0500)]
imagex capture/append: --verbose implies verbose write

7 years agoimagex-capture.1.in: times captured to nearest 100 ns
Eric Biggers [Sun, 30 Sep 2012 21:05:57 +0000 (16:05 -0500)]
imagex-capture.1.in:  times captured to nearest 100 ns

7 years agoimagex.1.in: Fix errors
Eric Biggers [Sun, 30 Sep 2012 21:03:40 +0000 (16:03 -0500)]
imagex.1.in: Fix errors

7 years agoAdd 'GNU/Linux equivalents of WIM format' section to README
Eric Biggers [Sat, 22 Sep 2012 20:37:40 +0000 (15:37 -0500)]
Add 'GNU/Linux equivalents of WIM format' section to README

7 years agotest-imagex-ntfs: fix msg, mount without allow_other
Eric Biggers [Sat, 22 Sep 2012 15:16:35 +0000 (10:16 -0500)]
test-imagex-ntfs: fix msg, mount without allow_other

7 years agoUpdate README
Eric Biggers [Mon, 17 Sep 2012 02:48:54 +0000 (21:48 -0500)]
Update README

7 years agowimfs_readlink(): Use wim_pathname_to_inode()
Eric Biggers [Sun, 16 Sep 2012 19:32:50 +0000 (14:32 -0500)]
wimfs_readlink(): Use wim_pathname_to_inode()

7 years agoFix test-imagex-ntfs messages
Eric Biggers [Thu, 13 Sep 2012 20:22:44 +0000 (15:22 -0500)]
Fix test-imagex-ntfs messages

7 years agoFix a compiler warning
Eric Biggers [Thu, 13 Sep 2012 16:00:37 +0000 (11:00 -0500)]
Fix a compiler warning

7 years agoFix up LZ77 compression code and prepare v1.0.3 v1.0.3
Eric Biggers [Tue, 11 Sep 2012 01:01:29 +0000 (20:01 -0500)]
Fix up LZ77 compression code and prepare v1.0.3

7 years agolzx_compress(): block_type parameter
Eric Biggers [Mon, 10 Sep 2012 02:46:11 +0000 (21:46 -0500)]
lzx_compress(): block_type parameter

7 years agoLZX LRU queue array_to_le32() fix
Eric Biggers [Mon, 10 Sep 2012 01:43:28 +0000 (20:43 -0500)]
LZX LRU queue array_to_le32() fix

7 years agoLZ77 lazy match fix
Eric Biggers [Wed, 5 Sep 2012 03:42:46 +0000 (22:42 -0500)]
LZ77 lazy match fix

7 years agoremove struct image_statistics
Eric Biggers [Wed, 5 Sep 2012 00:50:22 +0000 (19:50 -0500)]
remove struct image_statistics

7 years agoFix up calculation of image XML statistics
Eric Biggers [Wed, 5 Sep 2012 00:46:21 +0000 (19:46 -0500)]
Fix up calculation of image XML statistics

7 years agoComment fixes
Eric Biggers [Tue, 4 Sep 2012 14:33:29 +0000 (09:33 -0500)]
Comment fixes

7 years agoRemove unneeded code
Eric Biggers [Tue, 4 Sep 2012 14:23:49 +0000 (09:23 -0500)]
Remove unneeded code

7 years agoFix archlinux/PKGBUILD.in
Eric Biggers [Tue, 4 Sep 2012 06:11:24 +0000 (01:11 -0500)]
Fix archlinux/PKGBUILD.in

7 years agoVersion 1.0.2 v1.0.2
Eric Biggers [Tue, 4 Sep 2012 05:58:27 +0000 (00:58 -0500)]
Version 1.0.2

7 years agoFix lte ref counting
Eric Biggers [Tue, 4 Sep 2012 05:50:10 +0000 (00:50 -0500)]
Fix lte ref counting

7 years agoupdate_lte_of_staging_file() fix
Eric Biggers [Tue, 4 Sep 2012 05:16:29 +0000 (00:16 -0500)]
update_lte_of_staging_file() fix

7 years agofd->lte => fd->f_lte, fix inode_add_ads()
Eric Biggers [Tue, 4 Sep 2012 04:52:06 +0000 (23:52 -0500)]
fd->lte => fd->f_lte, fix inode_add_ads()

7 years agoinode fields rename
Eric Biggers [Tue, 4 Sep 2012 04:37:06 +0000 (23:37 -0500)]
inode fields rename

7 years agodentry.c, dentry.h cleanup
Eric Biggers [Tue, 4 Sep 2012 03:44:23 +0000 (22:44 -0500)]
dentry.c, dentry.h cleanup

7 years agoads entries
Eric Biggers [Tue, 4 Sep 2012 03:13:47 +0000 (22:13 -0500)]
ads entries

7 years agofixes
Eric Biggers [Tue, 4 Sep 2012 02:43:29 +0000 (21:43 -0500)]
fixes

7 years agoMount fixes
Eric Biggers [Tue, 4 Sep 2012 01:29:58 +0000 (20:29 -0500)]
Mount fixes

7 years agoFixes
Eric Biggers [Tue, 4 Sep 2012 00:52:31 +0000 (19:52 -0500)]
Fixes

7 years agoinode updates (IN PROGRESS)
Eric Biggers [Mon, 3 Sep 2012 22:23:49 +0000 (17:23 -0500)]
inode updates (IN PROGRESS)

7 years agoinode updates (IN PROGRESS)
Eric Biggers [Mon, 3 Sep 2012 20:39:03 +0000 (15:39 -0500)]
inode updates (IN PROGRESS)

7 years agoput_inode() fix
Eric Biggers [Mon, 3 Sep 2012 14:32:51 +0000 (09:32 -0500)]
put_inode() fix

7 years agoinode updates
Eric Biggers [Mon, 3 Sep 2012 05:53:04 +0000 (00:53 -0500)]
inode updates

7 years agoRewrite to use inodes (IN PROGRESS)
Eric Biggers [Mon, 3 Sep 2012 04:15:24 +0000 (23:15 -0500)]
Rewrite to use inodes (IN PROGRESS)

7 years agoMore ADS entry moving issues
Eric Biggers [Sun, 2 Sep 2012 21:57:34 +0000 (16:57 -0500)]
More ADS entry moving issues

7 years agoFixed bug when capturing NTFS file with multiple named data streams
Eric Biggers [Sun, 2 Sep 2012 21:12:21 +0000 (16:12 -0500)]
Fixed bug when capturing NTFS file with multiple named data streams

7 years agoMake WIM mounting work on FreeBSD v1.0.1
Eric Biggers [Sun, 2 Sep 2012 19:33:26 +0000 (14:33 -0500)]
Make WIM mounting work on FreeBSD

- Fallback to `umount' if `fusermount' is not available.
- Place message in message queue before executing `umount'.  This is needed in
  case the unmount occurs synchronously.

7 years agoCompile on FreeBSD
Eric Biggers [Sun, 2 Sep 2012 16:42:45 +0000 (11:42 -0500)]
Compile on FreeBSD

7 years agodist files and test fixes
Eric Biggers [Sun, 2 Sep 2012 05:27:45 +0000 (00:27 -0500)]
dist files and test fixes

7 years agoTest cleanup
Eric Biggers [Sun, 2 Sep 2012 05:16:54 +0000 (00:16 -0500)]
Test cleanup

7 years agoTest suite and mount updates
Eric Biggers [Sun, 2 Sep 2012 05:14:58 +0000 (00:14 -0500)]
Test suite and mount updates

7 years agoFix in write_wim_resource(), and add test cases
Eric Biggers [Sun, 2 Sep 2012 02:22:47 +0000 (21:22 -0500)]
Fix in write_wim_resource(), and add test cases

7 years agoimagex export: For new dest WIMs, default to ctype of src WIM v1.0.0
Eric Biggers [Sat, 1 Sep 2012 21:36:34 +0000 (16:36 -0500)]
imagex export: For new dest WIMs, default to ctype of src WIM

7 years agoMinor fixes (this is now v1.0.0 by the way)
Eric Biggers [Sat, 1 Sep 2012 21:28:50 +0000 (16:28 -0500)]
Minor fixes (this is now v1.0.0 by the way)

7 years agoDocument list.h source
Eric Biggers [Sat, 1 Sep 2012 20:43:17 +0000 (15:43 -0500)]
Document list.h source

7 years agoimagex-delete.1 updates
Eric Biggers [Sat, 1 Sep 2012 20:38:57 +0000 (15:38 -0500)]
imagex-delete.1 updates

7 years agoimagex-dir.1, imagex-info.1 updates
Eric Biggers [Sat, 1 Sep 2012 20:35:21 +0000 (15:35 -0500)]
imagex-dir.1, imagex-info.1 updates

7 years agoimagex-apply.1 updates
Eric Biggers [Sat, 1 Sep 2012 20:26:49 +0000 (15:26 -0500)]
imagex-apply.1 updates

7 years agoREADME update
Eric Biggers [Sat, 1 Sep 2012 20:01:23 +0000 (15:01 -0500)]
README update

7 years agoRemove unused code from imagex.c
Eric Biggers [Sat, 1 Sep 2012 19:51:58 +0000 (14:51 -0500)]
Remove unused code from imagex.c

7 years agomkwinpeimg.1 updates
Eric Biggers [Sat, 1 Sep 2012 19:51:08 +0000 (14:51 -0500)]
mkwinpeimg.1 updates

7 years agoUpdate Arch Linux PKGBUILD
Eric Biggers [Sat, 1 Sep 2012 19:47:05 +0000 (14:47 -0500)]
Update Arch Linux PKGBUILD

7 years agoTest suite: Allow out of directory build
Eric Biggers [Sat, 1 Sep 2012 19:27:16 +0000 (14:27 -0500)]
Test suite: Allow out of directory build

7 years agodoxygen docs updates
Eric Biggers [Sat, 1 Sep 2012 18:49:57 +0000 (13:49 -0500)]
doxygen docs updates

7 years agoUpdate TODO
Eric Biggers [Sat, 1 Sep 2012 18:26:36 +0000 (13:26 -0500)]
Update TODO

7 years agoUpdate NEWS
Eric Biggers [Sat, 1 Sep 2012 18:26:11 +0000 (13:26 -0500)]
Update NEWS

7 years agosecurity descriptor application fix
Eric Biggers [Sat, 1 Sep 2012 17:58:09 +0000 (12:58 -0500)]
security descriptor application fix

7 years agoDocument libntfs-3g versions allowed
Eric Biggers [Sat, 1 Sep 2012 13:58:42 +0000 (08:58 -0500)]
Document libntfs-3g versions allowed

7 years agoGet rid of code clone from libntfs-3g
Eric Biggers [Sat, 1 Sep 2012 05:45:14 +0000 (00:45 -0500)]
Get rid of code clone from libntfs-3g

7 years agoNTFS capture update
Eric Biggers [Sat, 1 Sep 2012 05:38:52 +0000 (00:38 -0500)]
NTFS capture update

Allow the use of ntfs_xattr_system_getattr() as an alternative to
ntfs_get_inode_security() and ntfs_get_inode_attributes().

7 years agoNTFS apply update
Eric Biggers [Sat, 1 Sep 2012 05:21:08 +0000 (00:21 -0500)]
NTFS apply update

Allow the use of ntfs_xattr_system_setxattr() as an alternative to
ntfs_set_inode_security() and ntfs_set_inode_attributes().

7 years agoimagex capture and append consolidation
Eric Biggers [Sat, 1 Sep 2012 05:02:52 +0000 (00:02 -0500)]
imagex capture and append consolidation

7 years agoimage default names
Eric Biggers [Sat, 1 Sep 2012 04:47:01 +0000 (23:47 -0500)]
image default names

7 years agoExport from split WIM
Eric Biggers [Sat, 1 Sep 2012 03:04:46 +0000 (22:04 -0500)]
Export from split WIM

7 years agoMore comments about flags
Eric Biggers [Sat, 1 Sep 2012 01:52:07 +0000 (20:52 -0500)]
More comments about flags