Rename from supportincludedir so that `gnomesupport.h' can be installed
[platform/upstream/gnome-common.git] / support / ChangeLog
1 1999-03-27  Raja R Harinath  <harinath@cs.umn.edu>
2
3         * Makefile.am (supportexecincludedir): Rename from
4         supportincludedir so that `gnomesupport.h' can be installed with
5         `make install-exec'.
6         (supportinclude_HEADERS): Remove.  Don't install popt-gnome.h
7         twice.
8         (error.o): Change `error.c: gnomesupport.h' dependency to
9         `error.o: gnomesupport.h' to reflect actual dependency.
10
11 1999-02-19  Martin Baulig  <martin@home-of-linux.org>
12
13         * canonicalize.c: Include <gnome-argp.h> instead of the removed
14         <argp-namefrob.h>.
15
16 1999-02-17  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>
17
18         * poptint.h: Removed the suspicious `#ifdef HAVE_DGETTEXT...'
19         switch.  Now `progname --help' messages should be translated.
20
21 1998-12-24  Jeff Garzik  <jgarzik@pobox.com>
22
23         * poptparse.[ch]:  poptParseArgvString cleanups...
24         Added array grow increment constant.
25         Remove unnecessary 'dst' init.
26         Remove unnecessary strcpy().
27         Make arg 's' and var 'src' const-correct.
28
29 1998-12-21  Matt Wilson  <msw@redhat.com>
30
31         * poptparse.c: fix pointer assignment
32
33 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
34
35         * Makefile.am (libgnomesupport_la_SOURCES): added gnome-argp.c,
36         which is needed for platforms without
37         program_invocation_short_name and program_invocation_name.
38         (libgnomesupport_la_LIBADD): reinstalled the correct value.
39
40 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
41
42         * Makefile.am (EXTRA_DIST): Add all source and header files here.
43
44 1998-12-02  Raja R Harinath  <harinath@cs.umn.edu>
45
46         * Makefile.am (EXTRA_DIST): Add back `gnomesupport.awk' and
47         `README-gnome'. 
48
49 1998-11-06  Raja R Harinath  <harinath@cs.umn.edu>
50
51         * popt.c (gnomesupport-fake.h): Include.
52         * poptint.h (ENABLE_NLS): Define POPT_() and _() i18n markers
53         based on this.
54
55 1998-11-04  Raja R Harinath  <harinath@cs.umn.edu>
56
57         * gnomesupport-fake.h: Include gnomesupport.h unconditionally.
58         * Makefile.am: Build libgnomesupport.la unconditionally.
59         (popt_sources): List `popt' sources.
60         (libgnomesupport_la_SOURCES): Include $popt_sources.
61         (include_HEADERS): Install `popt.h'.
62         (noinst_HEADERS): Don't install poptint.h and findme.h.
63         * popt.c: New file.  From the POPT package.  Replacement for
64         argp/getopt.
65         * poptparse.c: Likewise.
66         * popthelp.c: Likewise.
67         * poptconfig.c: Likewise.
68         * findme.c: Likewise.
69         * findme.h: Likewise.
70         * popt.h: Likewise.
71         * poptint.h: Likewise.
72         
73 1998-09-02  Raja R Harinath  <harinath@cs.umn.edu>
74
75         * canonicalize.c (realpath): Remove `weak_alias'.
76         (canonicalize_file_name): Comment out.
77
78         * gnomesupport.awk: Remove `canonicalize_file_name', and correct
79         the comment for `realpath'.
80
81 1998-09-02  Martin Baulig  <martin@home-of-linux.org>
82
83         * gnomesupport.awk (canonicalize_file_name, realpath): Emit
84         declarations if required.
85
86         * canonicalize.c (canonicalize_file_name, realpath): New file.
87         Imported from GLibC 2.0.7.
88
89         * libc-symbols.h: New file. Imported from GLibC 2.0.7.
90
91 1998-08-24  Martin Baulig  <martin@home-of-linux.org>
92
93         * gnomesupport.awk: Emit declarations for `setreuid', `setregid'
94         and `getpagesize' if required (GCC_NEED_DECLARATIONS).
95
96 1998-08-18  Martin Baulig  <martin@home-of-linux.org>
97
98         * Makefile.am: Added explicit dependency `error.c: gnomesupport.h'.
99
100         * gnomesupport-fake.h: Include `sys/types.h' to get `size_t' under
101         FreeBSD.
102
103         * gnomesupport-fake.h: Include `gnomesupport.h' only if we really
104         `NEED_GNOMESUPPORT_H'.
105
106 1998-08-16  Martin Baulig  <martin@home-of-linux.org>
107
108         * Makefile.am (EXTRA_DIST): Added all source and header files that
109         are in CVS to make sure everything is included in the distribution
110         no matter which files are used on the build system.
111
112 1998-08-15  Raja R Harinath  <harinath@cs.umn.edu>
113
114         * Makefile.am (libgnomesupport_la_SOURCES): List `gnomesupport.h'
115         here in the hope that it'll ensure that it is built.
116
117 1998-08-05  Raja R Harinath  <harinath@cs.umn.edu>
118
119         * Makefile.am (noinst_HEADERS): Add `gnomesupport-fake.h'.
120
121 1998-08-02  Raja R Harinath  <harinath@cs.umn.edu>
122
123         * error.c (program_name): Clean up #ifdef logic some more.
124         (HAVE_STRERROR_R): Step on implementation namespace only if _LIBC.
125
126 1998-07-30  Martin Baulig  <martin@home-of-linux.org>
127
128         * error.c: Making weak alias `__error' and `__error_at_line'
129         only if `_LIBC' is defined and not if we only
130         HAVE_PROGRAM_INVOCATION_NAME.
131
132         * gnomesupport-fake.h: Include gnome-argp.h to get
133         `program_invocation_name'.
134
135 1998-07-29  Raja R Harinath  <harinath@cs.umn.edu>
136
137         * gnomesupport-fake.h: New file.  Fake in HAVE_* for functions
138         that are provided by `gnomesupport' rather than `libc'.
139         * error.c: Include gnomesupport-fake.h.
140         (program_name): Define to `program_invocation_name' if 
141         HAVE_PROGRAM_INVOCATION_NAME.
142
143 1998-07-29  Martin Baulig  <martin@home-of-linux.org>
144
145         * error.c, error.h: New files.  Imported from glibc.
146
147         * Makefile.am (supportinclude_HEADERS): Added `error.h'.
148
149 1998-07-17  Martin Baulig  <martin@home-of-linux.org>
150
151         * strtol.c, strtoul.c (<ansidecl.h>): Removed. Using
152         `const' instead of `CONST'.
153
154 1998-07-15  Raja R Harinath  <harinath@cs.umn.edu>
155
156         * gnomesupport.awk (gethostname): Emit declaration.
157
158 1998-07-15  Martin Baulig  <baulig@Stud.Informatik.uni-trier.de>
159
160         * gnomesupport.awk (memmove strtod strtol strtoul): Emit
161         declarations.
162
163         * memmove.c: New file.  Imported from GNU libiberty.
164
165         * strtod.c, strtol.c, strtoul.c: New files. Imported from
166         GNU libiberty.
167
168 1998-07-14  Raja R Harinath  <harinath@cs.umn.edu>
169
170         * mkstemp.c (<stdint.h>): Systems that don't have `mkstemp'
171         probably don't have <stdint.h> either.  Will fix it with a proper
172         autoconf test later.
173
174 1998-07-13  Raja R Harinath  <harinath@cs.umn.edu>
175
176         * argp.h (ARGP_EI): Define to `extern __inline__', rather that
177         `extern inline'.  Since this code is inside an __OPTIMIZE__ check,
178         I assume this is GCC, and __inline__ will work.
179
180         * mkstemp.c: New file.
181         * gnomesupport.awk: Conditionally emit prototype for `mkstemp'.
182
183 Tue Jul  7 00:02:51 1998  Tom Tromey  <tromey@cygnus.com>
184
185         * argp-help.c: Don't include <malloc.h>.
186
187 1998-06-11  Raja R Harinath  <harinath@cs.umn.edu>
188
189         * Makefile.am (gnomesupport.h): Build with `gnomesupport.awk'.
190         (CROSS_COMPILING): Remove.
191         (EXTRA_DIST): Add `gnomesupport.awk'.
192
193         * gnomesupport.awk: New file, to replace `gnomesupport-h.c'.
194         * gnomesupport-h.c: Removed.  Doesn't work well in cross-compiles.
195
196 1998-06-08  Martin Baulig  <martin@home-of-linux.org>
197
198         * Makefile.am (gnomesupport-h): When cross-compiling, this
199         is build using `$(build_CC)' because it needs to run on the
200         build system. Look at gnome-libs/configure.in to see how to
201         get `build_CC'.
202
203 Thu May 21 21:21:12 1998  Tom Tromey  <tromey@cygnus.com>
204
205         * gnome-argp.h: Unconditionally declare program_invocation_name
206         and program_invocation_short_name; some systems define these but
207         don't declare them.
208
209 1998-05-20  Raja R Harinath  <harinath@cs.umn.edu>
210
211         * Makefile.am (INCLUDES): Define _GNU_SOURCE.
212
213 1998-05-19  Raja R Harinath  <harinath@cs.umn.edu>
214
215         * gnomesupport-h.c (strerror): Emit declaration.
216         * strerror.c: New file.  Imported from GNU libiberty.
217
218 1998-05-19  Martin Baulig  <martin@home-of-linux.org>
219
220         * vsnprintf.c (vsnprintf): Changed declaration of this
221         function on systems defining __STDC__ to avoid clash
222         with prototype in system header file.
223
224         * vsnprintf.c (snprintf): Moved toward the end of the
225         file, so that the compiler sees correct declaration for
226         vsnprintf().
227
228 1998-05-12  Kjartan Maraas  <kmaraas@fib.hl.no>
229
230         * argp-help.c (argp_doc): Backed out previous "fix". :-)
231         As pointed out it was dead wrong.
232         
233 1998-05-09  Kjartan Maraas  <kmaraas@fib.hl.no>
234
235         * argp-help.c (argp_doc): Removed a compiler warning.
236
237 1998-04-14  Raja R Harinath  <harinath@cs.umn.edu>
238
239         * gnomesupport-h.c (main): Make gnomesupport.h include stddef.h
240         unconditionally. 
241
242 1998-04-13  Raja R Harinath  <harinath@cs.umn.edu>
243
244         * scandir.c (<sys/types.h>): Include.
245         * gnomesupport-h.c (!HAVE_SCANDIR): Do all the `dirent' wrangling
246         only if `scandir' is needed.  Also, include <sys/types.h> in all
247         cases. 
248
249 1998-04-13  Seth Alves  <alves@twitch.cp.domain.net>
250
251         * gnomesupport-h.c (HAVE_DIRENT_H): FreeBSD needs <sys/types.h>
252         before <dirent.h>.
253         
254 1998-04-12  Raja R Harinath  <harinath@cs.umn.edu>
255
256         * Makefile.am (supportincludedir): Is now $(pkglibdir)/include.
257         `gnomesupport.h' is a generated file dependent on the configure
258         process.  So, this seems a good place.  The rest of the headers
259         are also here just because I'm too lazy to maintain two separate
260         include directories to search in for `libgnomesupport' stuff ;-)
261         (supportinclude_DATA): New var.  Has `gnomesupport.h'.
262         (BUILT_SOURCES): Generate `gnomesupport.h'.
263
264         * gnomesupport-h.c: New file.  Used to generate `gnomesupport.h',
265         which contains prototypes for many of the functions in
266         `libgnomesupport'.  This method is used to ensure that prototypes
267         appear only for those functions that are provided by
268         `libgnomesupport'. 
269
270         * scandir.c (alphasort): New utility function.
271
272 1998-04-08  Raja R Harinath  <harinath@cs.umn.edu>
273
274         * scandir.c: Import from GNU libc.
275         Remove assumptions that this file is compiled inside GLIBC.
276         Here are the ChangeLog entries when I imported it originally into
277         `gwp':
278
279         1998-02-08  Raja R Harinath  <harinath@cs.umn.edu>
280                 * scandir.c (scandir): Revert change of `1998-02-07'.  
281                 Don't use d_reclen, but fix the expression used to
282                 figure out the length.
283
284         1998-02-07  Raja R Harinath  <harinath@cs.umn.edu>
285                 * scandir.c (scandir): Use `d_reclen' field to get length
286                 of record.
287
288         1998-02-06  Raja R Harinath  <harinath@cs.umn.edu>
289                 * scandir.c: New file.  Replacement function copied from
290                 glibc, edited to not step on implementation namespace.
291
292 1998-03-28  Raja R Harinath  <harinath@cs.umn.edu>
293
294         * vasprintf.c (int_vasprintf): Imported from GNU libit-0.4.
295         Applied a change that appears in `libiberty'.
296
297 Fri Mar 13 21:30:34 1998  Tom Tromey  <tromey@cygnus.com>
298
299         * argp.texi: Imported from glibc.
300         * Makefile.am (EXTRA_DIST): Added argp.texi.
301
302 1998-03-12  Raja R Harinath  <harinath@cs.umn.edu>
303
304         * Makefile.am (noinst_HEADERS): Don't install argp-fmtstream.h and
305         argp-namefrob.h.  They are used only to compile `argp' and not for
306         general usage.
307
308 1998-03-11  Raja R Harinath  <harinath@cs.umn.edu>
309
310         * getopt.h: Don't mention getopt() for C++.  (Local fix).
311
312         * vsnprintf.c: Actually fill it in.  It is from
313         <URL:http://theos.com/~deraadt/snprintf.c>, with one small fix to
314         actually make it compile. 
315
316 1998-03-09  Raja R Harinath  <harinath@cs.umn.edu>
317
318         * easy-vsnprintf.c: New file.  Provides (v)snprintf as simple
319         wrappers to `__vsnprintf'.  
320         * vsnprintf.c: New file.  Empty for now.
321
322 Sun Mar  8 17:13:33 1998  Tom Tromey  <tromey@cygnus.com>
323
324         * Makefile.am: Rewrote.  Library now named libgnomesupport, now
325         installed if Gnome support code is built.
326
327 Sat Mar  7 00:03:26 1998  Tom Tromey  <tromey@cygnus.com>
328
329         * gnome-argp.h (__mempcpy): New define.
330
331         * strnlen.c: New file from glibc; needed by strndup.c.
332
333 Fri Mar  6 20:10:55 1998  Tom Tromey  <tromey@cygnus.com>
334
335         * argp-fmtstream.h (__attribute__): Define unless using gcc.
336         * argp.h (__attribute__): Define unless using gcc.
337
338         * argp-help.c, argp-parse.c, argp.h: Imported new versions from
339         glibc, while preserving local changes.
340
341 Wed Mar  4 00:58:27 1998  Tom Tromey  <tromey@cygnus.com>
342
343         * Makefile.am (libsupport_a_SOURCES): Added gnome-argp.c.
344         * gnome-argp.c: New file.
345
346         * argp-parse.c: Include gnome-argp.h.
347         * argp-help.c: Include gnome-argp.h.
348
349         * README-gnome, gnome-argp.h: New files.
350
351         * argp-ba.c, argp-eexst.c, argp-fmtstream.c, argp-fmtstream.h,
352         argp-fs-xinl.c, argp-help.c, argp-namefrob.h, argp-parse.c,
353         argp-pv.c, argp-pvh.c, argp-test.c, argp-xinl.c, argp.h,
354         strndup.c: New files, imported from glibc.  Please use "cvs
355         import" if you import new versions.
356
357         * Makefile.am (noinst_HEADERS): Added argp-fmtstream.h,
358         argp-namefrob.h, argp.h, gnome-argp.h.
359         (EXTRA_DIST): New macro.
360
361 1998-02-18  Raja R Harinath  <harinath@cs.umn.edu>
362
363         * strcasecmp.c: New file, copied from `glibc'.  Used to provide
364         replacement `strcasecmp' file.
365         
366