OSDN Git Service

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