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