changelog
- Thu, 06 Nov 2008 21:33:15 -0500
- by Brett Smith <brettcsmith@brettcsmith.org> [Thu, 06 Nov 2008 21:33:15 -0500] rev 99
- Improve wrapping of interactive prompts.
Limit wrapping to the actual width of the terminal, and avoid wrapping the
filename.
- Thu, 06 Nov 2008 20:49:57 -0500
- by Brett Smith <brettcsmith@brettcsmith.org> [Thu, 06 Nov 2008 20:49:57 -0500] rev 98
- Add support for LZMA magic detection.
- Sun, 19 Oct 2008 23:05:00 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 19 Oct 2008 23:05:00 -0400] rev 97
- update sha1sum
- Sun, 19 Oct 2008 22:53:32 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 19 Oct 2008 22:53:32 -0400] rev 96
- merge extractor contents bugfix
- Sun, 19 Oct 2008 22:50:47 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 19 Oct 2008 22:50:47 -0400] rev 95
- Include the NEWS file in source distributions
- Sun, 19 Oct 2008 22:47:59 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 19 Oct 2008 22:47:59 -0400] rev 94
- Avoid DeprecationWarning under Python 2.6. Part of the 6.3 release.
- Sun, 19 Oct 2008 22:42:20 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 19 Oct 2008 22:42:20 -0400] rev 93
- Prepare for a 6.3 release
- Sun, 19 Oct 2008 22:20:50 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 19 Oct 2008 22:20:50 -0400] rev 92
- Add RAR support. Thanks to Peter Kelemen for the patch.
- Tue, 16 Sep 2008 21:51:59 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Tue, 16 Sep 2008 21:51:59 -0400] rev 91
- Make sure all extractors get self.contents defined.
self.contents was set in check_contents, which not every extractor class
needs to call. But every extractor needs to have it, since this is how we
print filenames with -v. So assign this in the extract method, which we're
guaranteed to call.
- Sat, 26 Jul 2008 13:02:53 -0400
- by Brett Smith <brett@brettcsmith.org> [Sat, 26 Jul 2008 13:02:53 -0400] rev 90
- Fix TODO merge conflicts, I hope.
- Sat, 26 Jul 2008 12:55:37 -0400
- by Brett Smith <brett@brettcsmith.org> [Sat, 26 Jul 2008 12:55:37 -0400] rev 89
- Release 6.2
- Thu, 10 Jul 2008 21:00:51 -0400
- by Brett Smith <brett@brettcsmith.org> [Thu, 10 Jul 2008 21:00:51 -0400] rev 88
- Update TODO
- Thu, 24 Jul 2008 22:49:03 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Thu, 24 Jul 2008 22:49:03 -0400] rev 87
- Tidy: no need to import glob anymore.
- Thu, 24 Jul 2008 22:46:27 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Thu, 24 Jul 2008 22:46:27 -0400] rev 86
- Be more careful on SIGINT/SIGKILL cleanup.
Don't blow away .dtrx-*, instead look for our specific extraction directory
and delete that.
- Thu, 24 Jul 2008 22:35:38 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Thu, 24 Jul 2008 22:35:38 -0400] rev 85
- Use the default action for SIGPIPE.
Using Python's built-in handler makes weird error messages for the user,
and there's no reason not to act like every other Unix program in this
regard. This seems particularly true since we're most likely to get
SIGPIPE with dtrx -l, where we won't write things to disk etc.
- Thu, 24 Jul 2008 22:15:19 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Thu, 24 Jul 2008 22:15:19 -0400] rev 84
- Add --one-entry option to specify default handling for one-entry archives.
As part of this I ended up cleaning up the option-generating code a little
bit, mostly to be more careful about the ordering of options in --help
output.
- Wed, 23 Jul 2008 12:15:45 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Wed, 23 Jul 2008 12:15:45 -0400] rev 83
- Use the --quiet option for cpio -t too.
- Wed, 23 Jul 2008 12:01:58 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Wed, 23 Jul 2008 12:01:58 -0400] rev 82
- Stop worrying about trailing newlines in get_filenames() overrides.
Now that all the get_filenames implementations call out to the original,
which takes care of the trailing newline, we don't need to keep doing it in
other methods.
- Sun, 20 Jul 2008 22:24:49 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 20 Jul 2008 22:24:49 -0400] rev 81
- Move most ExtractorBuilder constants to the top.
This actually makes the code a little longer, but it's much more organized:
whenever a new extractor is added, you just have to add one entry to
extractor_map accordingly.
- Sun, 20 Jul 2008 21:39:39 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 20 Jul 2008 21:39:39 -0400] rev 80
- Move more common extraction/listing functionality into BaseExtractor.
I noticed that a lot of the extract_archive/get_filenames implementations
were the same two lines of code: a pipe and a run_pipes. Short as it is,
there's no reason to keep repeating that two-line incantation, so I moved
this basic pattern into BaseExtractor.
- Sun, 20 Jul 2008 21:16:08 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 20 Jul 2008 21:16:08 -0400] rev 79
- Improve dtrx -l performance on misnamed files, and clean other error messages.
dtrx -l would only ever try one extractor, instead of trying all possible
alternaitves like it did when extracting. This is mostly because
get_filenames() reported no meaningful error information. This has been
fixed.
Some error messages have been genericized, since we're not always
extracting archives: we might be listing their contents instead.
- Sun, 20 Jul 2008 20:45:54 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 20 Jul 2008 20:45:54 -0400] rev 78
- Don't show errors from failed extractors unless they all fail.
If dtrx has to try different extractors before finding and using the right
one, the user shouldn't see error messages from the failed extractors;
those are just confusing. Just like the Application decides whether to say
particular extractors failed at all, this patch makes it also decide
whether or not to show the stderr from those extractors.
- Sun, 20 Jul 2008 20:25:54 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 20 Jul 2008 20:25:54 -0400] rev 77
- Clean the target directory if an extraction attempt failed.
- Tue, 15 Jul 2008 22:18:03 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Tue, 15 Jul 2008 22:18:03 -0400] rev 76
- Give extraction stderr more context, and suppress normal cpio stderr junk.
cpio will write a useless "N blocks" message to stderr without --quiet, so
use that.
When we show extraction's stderr to the user, first write a line explaining
what it is, and also don't forget to strip the trailing newline, since
.warning() writes its own.
- Sun, 13 Jul 2008 18:11:08 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 13 Jul 2008 18:11:08 -0400] rev 75
- Update for 6.1, plus some tweaks here and there.
- Sun, 13 Jul 2008 18:01:04 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 13 Jul 2008 18:01:04 -0400] rev 74
- Updates for 6.1 release.
- Sun, 13 Jul 2008 17:54:47 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 13 Jul 2008 17:54:47 -0400] rev 73
- Don't assume .exe files are Cabinet archives just by extension.
.exe files are as likely as not to be archives, so I'd rather not bug the
user for recursive extraction every time they're in an archive. So we'll
detect these sorts of archives by their magic only, which prevents them
from triggering recursive extraction attempts.
- Sun, 13 Jul 2008 17:47:57 -0400
- by Brett Smith <brettcsmith@brettcsmith.org> [Sun, 13 Jul 2008 17:47:57 -0400] rev 72
- Add support for InstallShield archives.
- Thu, 10 Jul 2008 20:55:09 -0400
- by Brett Smith <brett@brettcsmith.org> [Thu, 10 Jul 2008 20:55:09 -0400] rev 71
- Recurse better when the contents were just one file.
- Thu, 10 Jul 2008 20:09:12 -0400
- by Brett Smith <brett@brettcsmith.org> [Thu, 10 Jul 2008 20:09:12 -0400] rev 70
- Tweak wording of recursion question, and TODO.
- Thu, 10 Jul 2008 19:51:53 -0400
- by Brett Smith <brett@brettcsmith.org> [Thu, 10 Jul 2008 19:51:53 -0400] rev 69
- Count files in the archive and report that in the recursion prompt.
I like this because, for example, if you see that all or most of the files
in the archive are recursive, you can go ahead and decide to recurse right
away.
This invoved making the grep tests a little smarter about handling white
space.
- Thu, 10 Jul 2008 19:31:23 -0400
- by Brett Smith <brett@brettcsmith.org> [Thu, 10 Jul 2008 19:31:23 -0400] rev 68
- more TODO updates