NEWS

1
Changes in dtrx
2
===============
3
 
4
Version 6.6
5
-----------
6
 
7
Enhancements
8
~~~~~~~~~~~~
9
 
10
 * dtrx can now handle `xz compression`_.
11
 
12
.. _xz compression: http://tukaani.org/xz/
13
 
14
Other changes
15
~~~~~~~~~~~~~
16
 
17
 * The tests now use the PyYAML library, instead of the abandoned Syck.
18
   Thanks to Miguelangel Jose Freitas Loreto for a patch.
19
 
20
Version 6.5
21
-----------
22
 
23
Enhancements
24
~~~~~~~~~~~~
25
 
26
 * When you list archive contents with -l or -t, dtrx will start printing
27
   results much faster than it used to.  There's a small chance that it
28
   will print some incorrect listings if it misdetects the archive type of
29
   a given file, but it will show you an error message when that happens.
30
 
31
 * dtrx recognizes more kinds of compressed tar archives by their
32
   extension.
33
 
34
 * You can now extract newer .deb packages that are compressed with bzip2
35
   or lzma.
36
 
37
Bug fixes
38
~~~~~~~~~
39
 
40
 * When extracting an archive that contained a file with a mismatched
41
   filename, the prompt would offer you a chance to "rename the directory"
42
   instead of "rename the file."  This wording has been fixed, along with
43
   some other wording adjustments in the prompts generally.
44
 
45
 * Perform more reliable detection of the terminal size, and improve word
46
   wrapping on prompts.
47
 
48
Other changes
49
~~~~~~~~~~~~~
50
 
51
 * The README is now written like a man page, and can be converted to a man
52
   page by using rst2man_.
53
 
54
.. _rst2man: http://docutils.sourceforge.net/sandbox/manpage-writer/
55
 
56
Version 6.4
57
-----------
58
 
59
Enhancements
60
~~~~~~~~~~~~
61
 
62
 * Support detection of LZMA archives by magic.
63
 
64
 * Interactive prompts are wrapped much more cleanly.
65
 
66
Bug fixes
67
~~~~~~~~~
68
 
69
 * Fix a bug where dtrx would crash when extracting an archive with no
70
   files inside it.
71
 
72
Version 6.3
73
-----------
74
 
75
New features
76
~~~~~~~~~~~~
77
 
78
 * Add support for RAR archives.  Thanks to Peter Kelemen for the patch.
79
 
80
Bug fixes
81
~~~~~~~~~
82
 
83
 * Previous versions of dtrx would fail to extract certain archive types
84
   with the ``-v`` option specified.  This has been fixed.
85
 
86
 * dtrx 6.3 no longer imports the sets module unless it's running under a
87
   very old version of Python, to avoid deprecation warnings under Python
88
   2.6.
89
 
90
Version 6.2
91
-----------
92
 
93
New features
94
~~~~~~~~~~~~
95
 
96
 * --one-entry option: Normally, if an archive only contains one file or
97
   directory with a name that doesn't match the archive's, dtrx will ask
98
   you how to handle it.  With this option, you can specify ahead of time
99
   what should happen.
100
 
101
Bug fixes
102
~~~~~~~~~
103
 
104
 * Since version 6.0, when you extracted or listed the contents of a cpio
105
   archive, dtrx would display a warning that simply said "1234 blocks."
106
   dtrx 6.2 suppresses this message.
107
 
108
 * When you try to list the contents of an archive, dtrx will now cope with
109
   misnamed files more gracefully, giving more accurate results and showing
110
   fewer error messages.
111
 
112
 * dtrx 6.2 will only show you error messages from archive extraction if it
113
   is completely unable to extract the file.  If one of its extraction
114
   methods succeeds, it will no longer show you the error messages from
115
   previous extraction attempts.
116
 
117
 * dtrx is now better about cleaning up partially extracted archives when
118
   it encounters an error or signal.
119
 
120
 * Users will no longer see error messages about broken pipes from dtrx.
121
 
122
Version 6.1
123
-----------
124
 
125
New features
126
~~~~~~~~~~~~
127
 
128
 * Add support for InstallShield archives, using the unshield command.
129
 
130
 * The wording of many of the interactive prompts has been adjusted,
131
   hopefully to be clearer and provide more information to the user
132
   immediately.
133
 
134
Bug fixes
135
~~~~~~~~~
136
 
137
 * dtrx 6.1 does a better job protecting against race conditions when
138
   extracting a single file.
139
 
140
 * If you used the -f option, and extracted an archive that only contained
141
   one file or directory, dtrx 6.0 would still prompt you to ask how it
142
   should be extracted.  dtrx 6.1 fixes this, extracting the contents to
143
   the current directory as -f requires.
144
 
145
 * Recursive extraction would not work well in dtrx 6.0 when the contents
146
   of the original archive were a single file.  This has been fixed in dtrx
147
   6.1.
148
 
149
Version 6.0
150
-----------
151
 
152
New features
153
~~~~~~~~~~~~
154
 
155
 * When you specify -v at the command line, dtrx will display the files it
156
   extracts, much like tar.
157
 
158
 * When dtrx prompts you about how to handle recursive archives, you now
159
   have the option of listing what those archives before making a decision.
160
 
161
 * dtrx will now provide more information about why a particular extraction
162
   attempt failed.  It will show you error messages from all the attempts
163
   it made, rather than only the last error it got.  It will also detect
164
   and warn you when one of the underlying extraction tools, like
165
   cabextract, cannot be found.
166
 
167
 * dtrx does a better job of cleaning up after itself.  It wouldn't always
168
   clean up temporary files after certain errors; that has been fixed.  It
169
   also catches SIGINT and SIGTERM and cleans up before finishing
170
   execution.
171
 
172
Bug fixes
173
~~~~~~~~~
174
 
175
 * Version 5.0 introduced a regression such that dtrx would not offer to
176
   extract recursive archives that were hidden under subdirectories.
177
   Version 6.0 fixes that.
178
 
179
 * dtrx would not properly extract recursive archives when the original
180
   archive contained a single directory.  This has been fixed.
181
 
182
Version 5.1
183
-----------
184
 
185
Bug fixes
186
~~~~~~~~~
187
 
188
 * Version 5.0 did not work with Python 2.3; it used a new language
189
   feature.  This release fixes that.
190
 
191
Version 5.0
192
-----------
193
 
194
New features
195
~~~~~~~~~~~~
196
 
197
 * dtrx can now extract Ruby gems, 7z archives, and Microsoft Cabinet
198
   archives.  It can also handle files compressed with lzma, and extract
199
   the metadata from Debian packages and Ruby gems.
200
 
201
 * dtrx will now use several strategies to try to figure out what kind of
202
   file you have, and extract it accordingly.  If one doesn't work, it'll
203
   try something else if it can.
204
 
205
 * dtrx now displays more helpful errors when things go wrong.
206
 
207
 * Previous versions of dtrx would look at what files were included in an
208
   archive, and then make a decision about how to extract it.  Now, it
209
   always extracts files to a temporary directory, and figures out what to
210
   do with that directory afterward.  This should be slightly faster and
211
   nicer to the system.
212
 
213
Version 4.0
214
-----------
215
 
216
New features
217
~~~~~~~~~~~~
218
 
219
 * dtrx is now interactive.  If the archive only contains one item, or
220
   contains other archives, dtrx will ask you how you would like to handle
221
   it.  You can turn these questions off the the -n option.
222
 
223
 * There is a new -l option, which simply lists the archive's contents
224
   rather than extracting them.