OSDN Git Service

* tests/lha-test.in: added some tests.
[lha/lha.git] / ChangeLog
1 2002-05-26  Koji Arai  <arai@fgsd.mt.nec.co.jp>
2
3         * src/lhext.c (cmd_extract): discard useless fseek() calling (for MinGW).
4
5         * tests/lha-test.in: added some tests.
6
7         * tests/lha-test.in: specified `q' option on print archive test.
8
9         * src/lhadd.c (build_backup_file): On MinGW, cannot rename when
10         a new file already exists.
11
12         * src/lhext.c (extract_one): On MinGW, set binary on stdout when
13         print archive (`p' switch).
14
15         * tests/lha-test.in: added some tests.
16
17         * src/lhadd.c (report_archive_name_if_different): warning messages
18         should be printed to stderr rather than stdout.
19         (cmd_delete): ditto.
20
21         * tests/Makefile.am: fix EXTRA_DIST.
22
23         * configure.in, configure.ac: update version.
24
25         * tests/lha-test.in: added tests.
26
27         * tests/Makefile.am: ditto.
28
29         * configure.in, configure.ac, Makefile.am: ditto.
30
31 2002-05-25  Koji Arai  <jca02266@nifty.ne.jp>
32
33         * IFNAMES: updated.
34
35         * released.
36
37         * README.autoconf: added description for developpers.
38
39         * configure.in, configure.ac, config.h.in: refined.
40
41         * src/util.c (memmove): use HAVE_MEMMOVE.
42         (mkdir): use HAVE_WORKING_FORK.
43
44         * src/huf.c: use HAVE_SYS_PARAM_H instead of sony_news.
45
46         * IFNAMES (sony_news): updated.
47
48         * configure.ac, configure.in (AC_INIT): added autoconfiscated date.
49         show `lha --version'.
50
51 2002-05-22  Koji Arai  <jca02266@nifty.ne.jp>
52
53         * src/append.c, src/crcio.c, src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/larc.c, src/lhadd.c, src/lharc.c, src/lhdir.c, src/lhext.c, src/lhlist.c, src/maketbl.c, src/maketree.c, src/patmatch.c, src/shuf.c, src/slide.c, src/util.c:
54         added modeline for vi(m).
55
56         * src/lharc.c: backslash was missing.
57
58 2002-05-20  Koji Arai  <jca02266@nifty.ne.jp>
59
60         * src/lharc.c (open_old_archive):  On MinGW, set binary stdin.
61
62         * src/lhadd.c (temporary_to_new_archive_file): On MinGW, set binary stdout.
63
64         * src/lha_macro.h: no define TMP_FILENAME_TEMPLATE in source.
65
66         * configure.ac, configure.in, README.autoconf: be able to specify
67         --with-tmp-file=no which meaning TMP_FILENAME_TEMPLATE is undefined.
68
69         * src/lha.h: correct usage of mkstemp().
70         On MinGW, opening file cannot be removed.
71
72         * src/lhadd.c (build_temporary_file): ditto.
73
74         * src/lharc.c (fatal_error): ditto.
75
76 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
77
78         * configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
79         no use AM_C_PROTOTYPES for the present.
80
81         * config.h.in: ditto.
82
83         * src/lharc.c (print_tiny_usage_and_exit): change credit.
84
85         * src/lha_macro.h: put PLATFORM in a macro LHA_VERSION.
86
87         * src/lharc.c (print_version): ditto.
88
89         * configure.ac: use AC_CANONICAL_TARGET instead of AC_CANONICAL_HOST.
90
91 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
92
93         * released.
94
95         * src/lharc.c (print_tiny_usage_and_exit): added credit.
96         (print_version): print PLATFORM.
97
98         * configure.ac, configure.in, config.h.in: define PLATFORM.
99
100         * src/lharc.c (xstrdup): fix typo.
101
102         * configure.ac: added for autoconf-2.53.
103
104         * config.h.in: regenerate by autoconf-2.53.
105
106         * src/lharc.c (find_files): MinGW has st_ino but always 0.
107
108         * src/lharc.c (main): provisionally fix. set
109         `get_filename_from_stdin' to false.
110
111         * src/util.c (rename): use builtin rename on mingw32 (since have
112         no link(2)).
113
114         * src/lharc.c (main): use xrealloc().
115
116         * src/lha_macro.h: specify "b" modifier always (for mingw32).
117
118         * src/lharc.c: use xstrdup() instead of strdup().
119
120         * src/lha_macro.h: ditto.
121
122         * src/lha_macro.h: getuid(), chown(), kill() are provisionally
123         defined as 0.
124
125         * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
126
127         * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
128         (build_backup_file): ditto.
129
130         * src/lharc.c (interrupt): ditto.
131
132         * src/lhext.c (extract_one): ditto.
133
134         * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
135         mingw32.
136
137 2002-05-18  Koji Arai  <jca02266@nifty.ne.jp>
138
139         * lha_macro.h: define bcmp(), bzero(), bcopy() even if
140         STDC_HEADERS is defined.
141
142         * huf.c (alloc_buf): call fatal_error() when memory allocation failed
143         instead of returning NULL.
144
145         * lharc.c (main): use xmalloc().
146
147         * util.c (copyfile): use xmalloc().
148
149         * slide.c (encode_alloc): use xmalloc().
150
151         * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as
152         default kanji code.
153
154 2001-02-03  Koji Arai  <jca02266@nifty.ne.jp>
155
156         * README.autoconf, src/header.c: treat archive and system kanji
157         code, correctly.
158
159 2001-01-31  Koji Arai  <jca02266@nifty.ne.jp>
160
161         * configure.in: mistakes for default archive method.
162
163         * src/header.c: directory separator 0xff must be transpose slash
164         at first.
165
166 2001-01-29  Koji Arai  <jca02266@nifty.ne.jp>
167
168         * src/lharc.c: replace MKSTEMP with HAVE_MKSTEMP.
169         substitute DEFAULT_LZHUFF_METHOD for the `compress_method' variable (it's default value).
170
171         * src/lha_macro.h: use the VERSION macro (defined by configure) for
172         the LHA_VERSION definition.
173
174         * src/header.c: added condition whether the macro MULTIBYTE_CHAR
175         is defined or not.
176
177         * src/Makefile.am: added $(SUPPORT_LZHUFF_METHOD) in AM_CPPFLAGS.
178
179         * configure.in: change version number from 1.14f to 1.14i.
180         check function mkstemp().
181         replace --enable-lh6 option to --with-default-method=[567].
182
183         * config.h.in: added definitions of HAVE_MKSTEMP and
184         DEFAULT_LZHUFF_METHOD.
185
186         * IFNAMES: added a description about MKSTEMP.
187
188         * Makefile.am: added extra files.
189
190         * change-114f.txt, src/extract.c, src/header.c, src/huf.c, src/lha.h, src/lha_macro.h, src/lhadd.c, src/lharc.c, src/lhext.c, src/lhlist.c, src/maketbl.c, src/maketree.c, src/shuf.c, src/slide.c, src/util.c, src/dhuf.c, src/crcio.c:
191         merged changing from lha-1.14f to lha-1.14i.
192
193         * change-114i.txt, src/header.c, src/huf.c, src/lha.h, src/lharc.c:
194         import lha-114i
195
196         * src/huf.c, src/lharc.c, src/shuf.c, src/slide.c: import lha-114h
197
198         * Makefile, README.euc, change-114g.txt, change-114h.txt:
199         import lha-114h
200
201         * src/crcio.c, src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/lha.h, src/lha_macro.h, src/lhadd.c, src/lharc.c, src/lhext.c, src/util.c:
202         import lha-114g
203
204         * MACHINES2.euc, Makefile, README.euc, change-114g.txt, config.eng, config.jpn.euc, header.doc.euc, src/lhlist.c, src/maketbl.c, src/maketree.c, src/makezero.c, src/shuf.c, src/slide.c:
205         import lha-114g
206
207         * src/header.c, src/lha_macro.h: implemented kanji code conversion
208         on filename.
209
210         * src/header.c: fix bug in euc2sjis().
211
212 1999-10-05  Koji Arai  <jca02266@nifty.ne.jp>
213
214         * src/header.c: rename the macro HANKAKU_KATAKANA_P to the X0201_KANA_P
215
216 1999-09-30  Koji Arai  <jca02266@nifty.ne.jp>
217
218         * IFNAMES, configure.in, Makefile.in.org, README.autoconf, config.h.in, man/Makefile.am, src/Makefile.am, src/Makefile.in.org, Makefile.am, src/header.c, src/huf.c, src/larc.c, src/lha.h, src/lha_macro.h, src/lhadd.c, src/lharc.c, src/lhdir.c, src/lhdir.h, src/lhext.c, src/lhlist.c, src/makefile.dj, src/maketbl.c, src/maketree.c, src/patmatch.c, src/shuf.c, src/slide.c, src/util.c, Makefile, man/Makefile, src/Makefile, src/append.c, src/crcio.c, src/dhuf.c, src/extract.c:
219         use the autoconf/automake
220
221 1999-08-28  Koji Arai  <jca02266@nifty.ne.jp>
222
223         * Makefile: import the lha-114f
224
225         * change-114f.txt, config.jpn.euc, header.doc.euc: import the lha-114f
226
227         * CHANGES.euc, MACHINES.euc, PROBLEMS.euc, README.euc, change-114e.txt, config.eng:
228         import the lha-114f
229
230         * MACHINES2.euc, man/Makefile, man/lha.man, man/lha.n:
231         import the lha-114f
232
233         * src/append.c, src/crcio.c: import the lha-114f
234
235         * src/Makefile, src/lha.h, src/lha_macro.h, src/lharc.c, src/lhdir.c, src/lhdir.h, src/lhext.c, src/lhlist.c, src/makefile.dj, src/maketbl.c, src/maketree.c, src/patmatch.c, src/shuf.c, src/slide.c, src/util.c:
236         import the lha-114f
237
238         * src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/larc.c, src/lhadd.c:
239         import the lha-114f