delete trailing whitespace from control files
[debian/gzip] / TODO
1 TODO file for gzip.
2
3 Some of the planned features include:
4
5 - Remove some of the old porting cruft, since we no longer support it.
6
7 - Separate out the shell scripts like gzexe into a new little package;
8   these scripts are less used and less reliable and should be optional.
9
10 - Internationalize by using gettext and setlocale.
11
12 - Structure the sources so that the compression and decompression code
13   form a library usable by any program, and write both gzip and zip on
14   top of this library. This would ideally be a reentrant (thread safe)
15   library, but this would degrade performance. In the meantime, you can
16   look at the sample program zread.c.
17
18   The library should have one mode in which compressed data is sent
19   as soon as input is available, instead of waiting for complete
20   blocks. This can be useful for sending compressed data to/from interactive
21   programs.
22
23 - Make it convenient to define alternative user interfaces (in
24   particular for windowing environments).
25
26 - Support in-memory compression for arbitrarily large amounts of data
27   (zip currently supports in-memory compression only for a single buffer.)
28
29 - Map files in memory when possible, this is generally much faster
30   than read/write. (zip currently maps entire files at once, this
31   should be done in chunks to reduce memory usage.)
32
33 - Add a super-fast compression method, suitable for implementing
34   file systems with transparent compression. The lzrw series of algorithms
35   are available at http://www.ross.net/compression/.
36
37 - Add a super-tight (but slow) compression method, suitable for long
38   term archives.  See, for example, US Patents 4,286,256 4,295,125
39   4,463,342 4,467,317 4,633,490 4,652,856 4,891,643 4,905,297
40   4,935,882 4,973,961 5,023,611 5,025,258, which have all expired.
41   More recent patent-free techniques may also be available.
42
43   Note: I will introduce new compression methods only if they are
44   significantly better in either speed or compression ratio than the
45   existing method(s). So the total number of different methods should
46   reasonably not exceed 3. (The current 9 compression levels are just
47   tuning parameters for a single method, deflation.)
48
49 - Add optional error correction. One problem is that the current version
50   of ecc cannot recover from inserted or missing bytes. It would be
51   nice to recover from the most common error (transfer of a binary
52   file in ascii mode).
53
54 - Add a block size (-b) option to improve error recovery in case of
55   failure of a complete sector. Each block could be extracted
56   independently, but this reduces the compression ratio.
57
58   For one possible approach to this, please see:
59
60     https://ozlabs.org/~rusty/gzip.rsync.patch
61
62 - Use a larger window size to deal with some large redundant files that
63   'compress' currently handles better than gzip.
64
65 - Implement the -e (encrypt) option.
66
67 Send comments to <bug-gzip@gnu.org>.
68
69
70 ========================================================================
71
72 Copyright (C) 1999, 2001, 2006, 2009-2018 Free Software Foundation, Inc.
73 Copyright (C) 1992, 1993 Jean-loup Gailly
74
75 Permission is granted to copy, distribute and/or modify this document
76 under the terms of the GNU Free Documentation License, Version 1.3 or
77 any later version published by the Free Software Foundation; with no
78 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
79 Texts.  A copy of the license is included in the ``GNU Free
80 Documentation License'' file as part of this distribution.