source: trunk/third/gnome-core/intl/ChangeLog @ 15328

Revision 15328, 34.4 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15327, which included commits to RCS files with non-trunk default branches.
Line 
11998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2
3        * intl/localealias.c (read_alias_file): Use unsigned char for
4        local variables.  Remove unused variable tp.
5        * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
6        for type of codeset.  For loosing Solaris systems.
7        * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
8        * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
9        len if not needed.
10        Patches by Jim Meyering.
11
121998-04-28  Ulrich Drepper  <drepper@cygnus.com>
13
14        * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
15        mmap is not supported.
16
17        * hash-string.h: Don't include <values.h>.
18
191998-04-27  Ulrich Drepper  <drepper@cygnus.com>
20
21        * textdomain.c: Use strdup is available.
22
23        * localealias.c: Define HAVE_MEMPCPY so that we can use this
24        function.  Define and use semapahores to protect modfication of
25        global objects when compiling for glibc.  Add code to allow
26        freeing alias table.
27
28        * l10nflist.c: Don't assume stpcpy not being a macro.
29
30        * gettextP.h: Define internal_function macri if not already done.
31        Use glibc byte-swap macros instead of defining SWAP when compiled
32        for glibc.
33        (struct loaded_domain): Add elements to allow unloading.
34
35        * Makefile.in (distclean): Don't remove libintl.h here.
36
37        * bindtextdomain.c: Carry over changes from glibc.  Use strdup if
38        available.
39
40        * dcgettext.c: Don't assume stpcpy not being a macro.  Mark internal
41        functions.  Add memory freeing code for glibc.
42
43        * dgettext.c: Update copyright.
44
45        * explodename.c: Include stdlib.h and string.h only if they exist.
46        Use strings.h eventually.
47
48        * finddomain.c: Mark internal functions.  Use strdup if available.
49        Add memory freeing code for glibc.
50
511997-10-10 20:00  Ulrich Drepper  <drepper@cygnus.com>
52
53        * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
54        They should return reasonable values.
55        Reported by Tom Tromey <tromey@cygnus.com>.
56
571997-09-16 03:33  Ulrich Drepper  <drepper@cygnus.com>
58
59        * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
60        * intlh.inst.in: Likewise.
61        Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
62
63        * libintl.glibc: Update from current glibc version.
64
651997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
66
67        * intlh.inst.in: Reformat copyright.
68
691997-08-19 15:22  Ulrich Drepper  <drepper@cygnus.com>
70
71        * dcgettext.c (DCGETTEXT): Remove wrong comment.
72
731997-08-16 00:13  Ulrich Drepper  <drepper@cygnus.com>
74
75        * Makefile.in (install-data): Don't change directory to install.
76
771997-08-01 14:30  Ulrich Drepper  <drepper@cygnus.com>
78
79        * cat-compat.c: Fix copyright.
80
81        * localealias.c: Don't define strchr unless !HAVE_STRCHR.
82
83        * loadmsgcat.c: Update copyright.  Fix typos.
84
85        * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
86        (_nl_make_l10nflist): Handle sponsor and revision correctly.
87
88        * gettext.c: Update copyright.
89        * gettext.h: Likewise.
90        * hash-string.h: Likewise.
91
92        * finddomain.c: Remoave dead code.  Define strchr only if
93        !HAVE_STRCHR.
94
95        * explodename.c: Include <sys/types.h>.
96
97        * explodename.c: Reformat copyright text.
98        (_nl_explode_name): Fix typo.
99
100        * dcgettext.c: Define and use __set_errno.
101        (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
102        not defined.
103
104        * bindtextdom.c: Pretty printing.
105
1061997-05-01 02:25  Ulrich Drepper  <drepper@cygnus.com>
107
108        * dcgettext.c (guess_category_value): Don't depend on
109        HAVE_LC_MESSAGES.  We don't need the macro here.
110        Patch by Bruno Haible <haible@ilog.fr>.
111
112        * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
113        macro.  Instead use HAVE_LOCALE_NULL and define it when using
114        glibc, as in dcgettext.c.
115        Patch by Bruno Haible <haible@ilog.fr>.
116
117        * Makefile.in (CPPFLAGS): New variable.  Reported by Franc,ois
118        Pinard.
119
120Mon Mar 10 06:51:17 1997  Ulrich Drepper  <drepper@cygnus.com>
121
122        * Makefile.in: Implement handling of libtool.
123
124        * gettextP.h: Change data structures for use of generic lowlevel
125        i18n file handling.
126
127Wed Dec  4 20:21:18 1996  Ulrich Drepper  <drepper@cygnus.com>
128
129        * textdomain.c: Put parentheses around arguments of memcpy macro
130        definition.
131        * localealias.c: Likewise.
132        * l10nflist.c: Likewise.
133        * finddomain.c: Likewise.
134        * bindtextdom.c: Likewise.
135        Reported by Thomas Esken.
136
137Mon Nov 25 22:57:51 1996  Ulrich Drepper  <drepper@cygnus.com>
138
139        * textdomain.c: Move definition of `memcpy` macro to right
140        position.
141
142Fri Nov 22 04:01:58 1996  Ulrich Drepper  <drepper@cygnus.com>
143
144        * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
145        bcopy if not already defined.  Reported by Thomas Esken.
146        * bindtextdom.c: Likewise.
147        * l10nflist.c: Likewise.
148        * localealias.c: Likewise.
149        * textdomain.c: Likewise.
150
151Tue Oct 29 11:10:27 1996  Ulrich Drepper  <drepper@cygnus.com>
152
153        * Makefile.in (libdir): Change to use exec_prefix instead of
154        prefix.  Reported by Knut-HåvardAksnes <etokna@eto.ericsson.se>.
155
156Sat Aug 31 03:07:09 1996  Ulrich Drepper  <drepper@cygnus.com>
157
158        * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
159        so don't prepend uppercase `ISO' for only numeric arg.
160
161Fri Jul 19 00:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
162
163        * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
164        definition of _GNU_SOURCE.  Patch by Roland McGrath.
165
166        * Makefile.in (uninstall): Fix another bug with `for' loop and
167        empty arguments.  Patch by Jim Meyering.  Correct name os
168        uninstalled files: no intl- prefix anymore.
169
170        * Makefile.in (install-data): Again work around shells which
171        cannot handle mpty for list.  Reported by Jim Meyering.
172
173Sat Jul 13 18:11:35 1996  Ulrich Drepper  <drepper@cygnus.com>
174
175        * Makefile.in (install): Split goal.  Now depend on install-exec
176        and install-data.
177        (install-exec, install-data): New goals.  Created from former
178        install goal.
179        Reported by Karl Berry.
180
181Sat Jun 22 04:58:14 1996  Ulrich Drepper  <drepper@cygnus.com>
182
183        * Makefile.in (MKINSTALLDIRS): New variable.  Path to
184        mkinstalldirs script.
185        (install): use MKINSTALLDIRS variable or if the script is not present
186        try to find it in the $top_scrdir).
187
188Wed Jun 19 02:56:56 1996  Ulrich Drepper  <drepper@cygnus.com>
189
190        * l10nflist.c: Linux libc *partly* includes the argz_* functions.
191        Grr.  Work around by renaming the static version and use macros
192        for renaming.
193
194Tue Jun 18 20:11:17 1996  Ulrich Drepper  <drepper@cygnus.com>
195
196        * l10nflist.c: Correct presence test macros of __argz_* functions.
197
198        * l10nflist.c: Include <argz.h> based on test of it instead when
199        __argz_* functions are available.
200        Reported by Andreas Schwab.
201
202Thu Jun 13 15:17:44 1996  Ulrich Drepper  <drepper@cygnus.com>
203
204        * explodename.c, l10nflist.c: Define NULL for dumb systems.
205
206Tue Jun 11 17:05:13 1996  Ulrich Drepper  <drepper@cygnus.com>
207
208        * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
209        result to __result to prevent name clash.
210
211        * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
212        get prototype for stpcpy and strcasecmp.
213
214        * intlh.inst.in, libgettext.h: Move declaration of
215        `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
216        from gcc's -Wnested-extern option.
217
218Fri Jun  7 01:58:00 1996  Ulrich Drepper  <drepper@cygnus.com>
219
220        * Makefile.in (install): Remove comment.
221
222Thu Jun  6 17:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
223
224        * Makefile.in (install): Work around for another Buglix stupidity.
225        Always use an `else' close for `if's.  Reported by Nelson Beebe.
226
227        * Makefile.in (intlh.inst): Correct typo in phony rule.
228        Reported by Nelson Beebe.
229
230Thu Jun  6 01:49:52 1996  Ulrich Drepper  <drepper@cygnus.com>
231
232        * dcgettext.c (read_alias_file): Rename variable alloca_list to
233        block_list as the macro calls assume.
234        Patch by Eric Backus.
235
236        * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
237        malloc.
238        (read_alias_file): Rename varriabe alloca_list to block_list as the
239        macro calls assume.
240        Patch by Eric Backus.
241
242        * l10nflist.c: Correct conditional for <argz.h> inclusion.
243        Reported by Roland McGrath.
244
245        * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
246        all-@USE_NLS@.
247
248        * Makefile.in (install): intlh.inst comes from local dir, not
249        $(srcdir).
250
251        * Makefile.in (intlh.inst): Special handling of this goal.  If
252        used in gettext, this is really a rul to construct this file.  If
253        used in any other package it is defined as a .PHONY rule with
254        empty body.
255
256        * finddomain.c: Extract locale file information handling into
257        l10nfile.c.  Rename local stpcpy__ function to stpcpy.
258
259        * dcgettext.c (stpcpy): Add local definition.
260
261        * l10nflist.c: Solve some portability problems.  Patches partly by
262        Thomas Esken.  Add local definition of stpcpy.
263
264Tue Jun  4 02:47:49 1996  Ulrich Drepper  <drepper@cygnus.com>
265
266        * intlh.inst.in: Don't depend including <locale.h> on
267        HAVE_LOCALE_H.  Instead configure must rewrite this fiile
268        depending on the result of the configure run.
269
270        * Makefile.in (install): libintl.inst is now called intlh.inst.
271        Add rules for updating intlh.inst from intlh.inst.in.
272
273        * libintl.inst: Renamed to intlh.inst.in.
274
275        * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
276        because gcc has __buitlin_alloca.
277        Reported by Roland McGrath.
278
279Mon Jun  3 00:32:16 1996  Ulrich Drepper  <drepper@cygnus.com>
280
281        * Makefile.in (installcheck): New goal to fulfill needs of
282        automake's distcheck.
283
284        * Makefile.in (install): Reorder commands so that VERSION is
285        found.
286
287        * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
288        @datadir@/gettext.
289        (COMSRCS): Add l10nfile.c.
290        (OBJECTS): Add l10nfile.o.
291        (DISTFILES): Rename to DISTFILE.normal.  Remove $(DISTFILES.common).
292        (DISTFILE.gettext): Remove $(DISTFILES.common).
293        (all-gettext): Remove goal.
294        (install): If $(PACKAGE) = gettext install, otherwose do nothing.  No
295        package but gettext itself should install libintl.h + headers.
296        (dist): Extend goal to work for gettext, too.
297        (dist-gettext): Remove goal.
298
299        * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
300
301Sun Jun  2 17:33:06 1996  Ulrich Drepper  <drepper@cygnus.com>
302
303        * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
304        find_l10nfile.
305
306Sat Jun  1 02:23:03 1996  Ulrich Drepper  <drepper@cygnus.com>
307
308        * l10nflist.c (__argz_next): Add definition.
309
310        * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
311        code.  Use new l10nfile handling.
312
313        * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
314        alloca code.
315
316        * l10nflist.c: Initial revision.
317
318Tue Apr  2 18:51:18 1996  Ulrich Drepper  <drepper@myware>
319
320        * Makefile.in (all-gettext): New goal.  Same as all-yes.
321
322Thu Mar 28 23:01:22 1996  Karl Eichwalder  <ke@ke.central.de>
323
324        * Makefile.in (gettextsrcdir): Define using @datadir@.
325
326Tue Mar 26 12:39:14 1996  Ulrich Drepper  <drepper@myware>
327
328        * finddomain.c: Include <ctype.h>.  Reported by Roland McGrath.
329
330Sat Mar 23 02:00:35 1996  Ulrich Drepper  <drepper@myware>
331
332        * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
333        with external declaration.
334
335Sat Mar  2 00:47:09 1996  Ulrich Drepper  <drepper@myware>
336
337        * Makefile.in (all-no): Rename from all_no.
338
339Sat Feb 17 00:25:59 1996  Ulrich Drepper  <drepper@myware>
340
341        * gettextP.h [loaded_domain]: Array `successor' must now contain up
342        to 63 elements (because of codeset name normalization).
343
344        * finddomain.c: Implement codeset name normalization.
345
346Thu Feb 15 04:39:09 1996  Ulrich Drepper  <drepper@myware>
347
348        * Makefile.in (all): Define to `all-@USE_NLS@'.
349        (all-yes, all_no): New goals.  `all-no' is noop, `all-yes'
350        is former all.
351
352Mon Jan 15 21:46:01 1996  Howard Gayle  <howard@hal.com>
353
354        * localealias.c (alias_compare): Increment string pointers in loop
355        of strcasecmp replacement.
356
357Fri Dec 29 21:16:34 1995  Ulrich Drepper  <drepper@myware>
358
359        * Makefile.in (install-src): Who commented this goal out ? :-)
360
361Fri Dec 29 15:08:16 1995  Ulrich Drepper  <drepper@myware>
362
363        * dcgettext.c (DCGETTEXT): Save `errno'.  Failing system calls
364        should not effect it because a missing catalog is no error.
365        Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
366
367Tue Dec 19 22:09:13 1995  Ulrich Drepper  <drepper@myware>
368
369        * Makefile.in (Makefile): Explicitly use $(SHELL) for running
370        shell scripts.
371
372Fri Dec 15 17:34:59 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
373
374        * Makefile.in (install-src): Only install library and header when
375        we use the own implementation.  Don't do it when using the
376        system's gettext or catgets functions.
377
378        * dcgettext.c (find_msg): Must not swap domain->hash_size here.
379
380Sat Dec  9 16:24:37 1995  Ulrich Drepper  <drepper@myware>
381
382        * localealias.c, libintl.inst, libgettext.h, hash-string.h,
383        gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
384        Use PARAMS instead of __P.  Suggested by Roland McGrath.
385
386Tue Dec  5 11:39:14 1995  Larry Schwimmer  <rosebud@cyclone.stanford.edu>
387
388        * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
389        !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
390
391Mon Dec  4 15:42:07 1995  Ulrich Drepper  <drepper@myware>
392
393        * Makefile.in (install-src):
394        Install libintl.inst instead of libintl.h.install.
395
396Sat Dec  2 22:51:38 1995  Marcus Daniels  <marcus@sysc.pdx.edu>
397
398        * cat-compat.c (textdomain):
399        Reverse order in which files are tried you load.  First
400        try local file, when this failed absolute path.
401
402Wed Nov 29 02:03:53 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
403
404        * cat-compat.c (bindtextdomain): Add missing { }.
405
406Sun Nov 26 18:21:41 1995  Ulrich Drepper  <drepper@myware>
407
408        * libintl.inst: Add missing __P definition.  Reported by Nelson Beebe.
409
410        * Makefile.in:
411        Add dummy `all' and `dvi' goals.  Reported by Tom Tromey.
412
413Sat Nov 25 16:12:01 1995  Franc,ois Pinard  <pinard@iro.umontreal.ca>
414
415        * hash-string.h: Capitalize arguments of macros.
416
417Sat Nov 25 12:01:36 1995  Ulrich Drepper  <drepper@myware>
418
419        * Makefile.in (DISTFILES): Prevent files names longer than 13
420        characters.  libintl.h.glibc->libintl.glibc,
421        libintl.h.install->libintl.inst.  Reported by Joshua R. Poulson.
422
423Sat Nov 25 11:31:12 1995  Eric Backus  <ericb@lsid.hp.com>
424
425        * dcgettext.c: Fix bug in preprocessor conditionals.
426
427Sat Nov 25 02:35:27 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
428
429        * libgettext.h: Solaris cc does not understand
430         #if !SYMBOL1 && !SYMBOL2.  Sad but true.
431
432Thu Nov 23 16:22:14 1995  Ulrich Drepper  <drepper@myware>
433
434        * hash-string.h (hash_string):
435        Fix for machine with >32 bit `unsigned long's.
436
437        * dcgettext.c (DCGETTEXT):
438        Fix horrible bug in loop for alternative translation.
439
440Thu Nov 23 01:45:29 1995  Ulrich Drepper  <drepper@myware>
441
442        * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
443        Some further simplifications in message number generation.
444
445Mon Nov 20 21:08:43 1995  Ulrich Drepper  <drepper@myware>
446
447        * libintl.h.glibc: Use __const instead of const in prototypes.
448
449        * Makefile.in (install-src):
450        Install libintl.h.install instead of libintl.h.  This
451        is a stripped-down version.  Suggested by Peter Miller.
452
453        * libintl.h.install, libintl.h.glibc: Initial revision.
454
455        * localealias.c (_nl_expand_alias, read_alias_file):
456        Protect prototypes in type casts by __P.
457
458Tue Nov 14 16:43:58 1995  Ulrich Drepper  <drepper@myware>
459
460        * hash-string.h: Correct prototype for hash_string.
461
462Sun Nov 12 12:42:30 1995  Ulrich Drepper  <drepper@myware>
463
464        * hash-string.h (hash_string): Add prototype.
465
466        * gettextP.h: Fix copyright.
467        (SWAP): Add prototype.
468
469Wed Nov  8 22:56:33 1995  Ulrich Drepper  <drepper@myware>
470
471        * localealias.c (read_alias_file): Forgot sizeof.
472        Avoid calling *printf function.  This introduces a big overhead.
473        Patch by Roland McGrath.
474
475Tue Nov  7 14:21:08 1995  Ulrich Drepper  <drepper@myware>
476
477        * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
478
479        * finddomain.c (stpcpy):
480        Define substitution function local.  The macro was to flaky.
481
482        * cat-compat.c: Fix typo.
483
484        * xopen-msg.sed, linux-msg.sed:
485        While bringing message number to right place only accept digits.
486
487        * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
488        leading 0s we don't need to remove them.  Reported by Marcus
489        Daniels.
490
491        * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
492        dependency.  Reported by Marcus Daniels.
493
494        * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
495        Generally cleanup using #if instead of #ifndef.
496
497        * Makefile.in: Correct typos in comment.  By Franc,ois Pinard.
498
499Mon Nov  6 00:27:02 1995  Ulrich Drepper  <drepper@myware>
500
501        * Makefile.in (install-src): Don't install libintl.h and libintl.a
502        if we use an available gettext implementation.
503
504Sun Nov  5 22:02:08 1995  Ulrich Drepper  <drepper@myware>
505
506        * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS.  Reported
507        by Franc,ois Pinard.
508
509        * libgettext.h: Use #if instead of #ifdef/#ifndef.
510
511        * finddomain.c:
512        Comments describing what has to be done should start with FIXME.
513
514Sun Nov  5 19:38:01 1995  Ulrich Drepper  <drepper@myware>
515
516        * Makefile.in (DISTFILES): Split.  Use DISTFILES with normal meaning.
517        DISTFILES.common names the files common to both dist goals.
518        DISTFILES.gettext are the files only distributed in GNU gettext.
519
520Sun Nov  5 17:32:54 1995  Ulrich Drepper  <drepper@myware>
521
522        * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
523        This was necessary since a change in _nl_find_msg several weeks
524        ago.  I really don't know this is still not fixed.
525
526Sun Nov  5 12:43:12 1995  Ulrich Drepper  <drepper@myware>
527
528        * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL.  This
529        might mark a special condition.
530
531        * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
532
533        * Makefile.in (dist): Suppress error message when ln failed.
534        Get files from $(srcdir) explicitly.
535
536        * libgettext.h (gettext_const): Rename to gettext_noop.
537
538Fri Nov  3 07:36:50 1995  Ulrich Drepper  <drepper@myware>
539
540        * finddomain.c (make_entry_rec):
541        Protect against wrong locale names by testing mask.
542
543        * libgettext.h (gettext_const): Add macro definition.
544        Capitalize macro arguments.
545
546Thu Nov  2 23:15:51 1995  Ulrich Drepper  <drepper@myware>
547
548        * finddomain.c (_nl_find_domain):
549        Test for pointer != NULL before accessing value.
550        Reported by Tom Tromey.
551
552        * gettext.c (NULL):
553        Define as (void*)0 instad of 0.  Reported by Franc,ois Pinard.
554
555Mon Oct 30 21:28:52 1995  Ulrich Drepper  <drepper@myware>
556
557        * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
558
559Sat Oct 28 23:20:47 1995  Ulrich Drepper  <drepper@myware>
560
561        * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
562
563        * localealias.c (alias_compare):
564        Peter Miller reported that tolower in some systems is
565        even dumber than I thought.  Protect call by `isupper'.
566
567Fri Oct 27 22:22:51 1995  Ulrich Drepper  <drepper@myware>
568
569        * Makefile.in (libdir, includedir): New variables.
570        (install-src): Install libintl.a and libintl.h in correct dirs.
571
572Fri Oct 27 22:07:29 1995  Ulrich Drepper  <drepper@myware>
573
574        * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
575
576        * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
577
578        * localealias.c:
579        Fix typo and superflous test.  Reported by Christian von Roques.
580
581Fri Oct  6 11:52:05 1995  Ulrich Drepper  <drepper@myware>
582
583        * finddomain.c (_nl_find_domain):
584        Correct some remainder from the pre-CEN syntax.  Now
585        we don't have a constant number of successors anymore.
586
587Wed Sep 27 21:41:13 1995  Ulrich Drepper  <drepper@myware>
588
589        * Makefile.in (DISTFILES): Add libintl.h.glibc.
590
591        * Makefile.in (dist-libc): Add goal for packing sources for glibc.
592        (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
593
594        * loadmsgcat.c: Forget to continue #if line.
595
596        * localealias.c:
597        [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
598        space clean.
599
600        * dcgettext.c, finddomain.c: Better comment to last change.
601
602        * loadmsgcat.c:
603        [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
604        __fstat, __open, __close, __read, __mmap, and __munmap resp
605        to keep ANSI C name space clean.
606
607        * finddomain.c:
608        [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
609
610        * dcgettext.c:
611        [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
612        keep ANSI C name space clean.
613
614        * libgettext.h:
615        Include sys/types.h for those old SysV systems out there.
616        Reported by Francesco Potorti`.
617
618        * loadmsgcat.c (use_mmap): Define if compiled for glibc.
619
620        * bindtextdom.c: Include all those standard headers
621        unconditionally if _LIBC is defined.
622
623        * finddomain.c: Fix 2 times defiend -> defined.
624
625        * textdomain.c: Include libintl.h instead of libgettext.h when
626        compiling for glibc.  Include all those standard headers
627        unconditionally if _LIBC is defined.
628
629        * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
630
631        * gettext.c:
632        Include libintl.h instead of libgettext.h when compiling for glibc.
633        Get NULL from stddef.h if we compile for glibc.
634
635        * finddomain.c: Include libintl.h instead of libgettext.h when
636        compiling for glibc.  Include all those standard headers
637        unconditionally if _LIBC is defined.
638
639        * dcgettext.c: Include all those standard headers unconditionally
640        if _LIBC is defined.
641
642        * dgettext.c: If compiled in glibc include libintl.h instead of
643        libgettext.h.
644        (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
645
646        * dcgettext.c: If compiled in glibc include libintl.h instead of
647        libgettext.h.
648        (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
649
650        * bindtextdom.c:
651        If compiled in glibc include libintl.h instead of libgettext.h.
652
653Mon Sep 25 22:23:06 1995  Ulrich Drepper  <drepper@myware>
654
655        * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
656        Reported by Marcus Daniels.
657
658        * cat-compat.c (bindtextdomain):
659        String used in putenv must not be recycled.
660        Reported by Marcus Daniels.
661
662        * libgettext.h (__USE_GNU_GETTEXT):
663        Additional symbol to signal that we use GNU gettext
664        library.
665
666        * cat-compat.c (bindtextdomain):
667        Fix bug with the strange stpcpy replacement.
668        Reported by Nelson Beebe.
669
670Sat Sep 23 08:23:51 1995  Ulrich Drepper  <drepper@myware>
671
672        * cat-compat.c: Include <string.h> for stpcpy prototype.
673
674        * localealias.c (read_alias_file):
675        While expand strdup code temporary variable `cp' hided
676        higher level variable with same name.  Rename to `tp'.
677
678        * textdomain.c (textdomain):
679        Avoid warning by using temporary variable in strdup code.
680
681        * finddomain.c (_nl_find_domain): Remove unused variable `application'.
682
683Thu Sep 21 15:51:44 1995  Ulrich Drepper  <drepper@myware>
684
685        * localealias.c (alias_compare):
686        Use strcasecmp() only if available.  Else use
687        implementation in place.
688
689        * intl-compat.c:
690        Wrapper functions now call *__ functions instead of __*.
691
692        * libgettext.h: Declare prototypes for *__ functions instead for __*.
693
694        * cat-compat.c, loadmsgcat.c:
695        Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
696        of the standard libc and so prevent libintl.a from being used
697        standalone.
698
699        * bindtextdom.c:
700        Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
701        of the standard libc and so prevent libintl.a from being used
702        standalone.
703        Rename to bindtextdomain__ if not used in GNU C Library.
704
705        * dgettext.c:
706        Rename function to dgettext__ if not used in GNU C Library.
707
708        * gettext.c:
709        Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
710        of the standard libc and so prevent libintl.a from being used
711        standalone.
712        Functions now called gettext__ if not used in GNU C Library.
713
714        * dcgettext.c, localealias.c, textdomain.c, finddomain.c:
715        Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
716        of the standard libc and so prevent libintl.a from being used
717        standalone.
718
719Sun Sep 17 23:14:49 1995  Ulrich Drepper  <drepper@myware>
720
721        * finddomain.c: Correct some bugs in handling of CEN standard
722        locale definitions.
723
724Thu Sep  7 01:49:28 1995  Ulrich Drepper  <drepper@myware>
725
726        * finddomain.c: Implement CEN syntax.
727
728        * gettextP.h (loaded_domain): Extend number of successors to 31.
729
730Sat Aug 19 19:25:29 1995  Ulrich Drepper  <drepper@myware>
731
732        * Makefile.in (aliaspath): Remove path to X11 locale dir.
733
734        * Makefile.in: Make install-src depend on install.  This helps
735        gettext to install the sources and other packages can use the
736        install goal.
737
738Sat Aug 19 15:19:33 1995  Ulrich Drepper  <drepper@myware>
739
740        * Makefile.in (uninstall): Remove stuff installed by install-src.
741
742Tue Aug 15 13:13:53 1995  Ulrich Drepper  <drepper@myware>
743
744        * VERSION.in: Initial revision.
745
746        * Makefile.in (DISTFILES):
747        Add VERSION file.  This is not necessary for gettext, but
748        for other packages using this library.
749
750Tue Aug 15 06:16:44 1995  Ulrich Drepper  <drepper@myware>
751
752        * gettextP.h (_nl_find_domain):
753        New prototype after changing search strategy.
754
755        * finddomain.c (_nl_find_domain):
756        We now try only to find a specified catalog.  Fall back to other
757        catalogs listed in the locale list is now done in __dcgettext.
758
759        * dcgettext.c (__dcgettext):
760        Now we provide message fall back even to different languages.
761        I.e. if a message is not available in one language all the other
762        in the locale list a tried.  Formerly fall back was only possible
763        within one language.  Implemented by moving one loop from
764        _nl_find_domain to here.
765
766Mon Aug 14 23:45:50 1995  Ulrich Drepper  <drepper@myware>
767
768        * Makefile.in (gettextsrcdir):
769        Directory where source of GNU gettext library are made
770        available.
771        (INSTALL, INSTALL_DATA): Programs used for installing sources.
772        (gettext-src): New.  Rule to install GNU gettext sources for use in
773        gettextize shell script.
774
775Sun Aug 13 14:40:48 1995  Ulrich Drepper  <drepper@myware>
776
777        * loadmsgcat.c (_nl_load_domain):
778        Use mmap for loading only when munmap function is
779        also available.
780
781        * Makefile.in (install): Depend on `all' goal.
782
783Wed Aug  9 11:04:33 1995  Ulrich Drepper  <drepper@myware>
784
785        * localealias.c (read_alias_file):
786        Do not overwrite '\n' when terminating alias value string.
787
788        * localealias.c (read_alias_file):
789        Handle long lines.  Ignore the rest not fitting in
790        the buffer after the initial `fgets' call.
791
792Wed Aug  9 00:54:29 1995  Ulrich Drepper  <drepper@myware>
793
794        * gettextP.h (_nl_load_domain):
795        Add prototype, replacing prototype for _nl_load_msg_cat.
796
797        * finddomain.c (_nl_find_domain):
798        Remove unneeded variable filename and filename_len.
799        (expand_alias): Remove prototype because functions does not
800        exist anymore.
801
802        * localealias.c (read_alias_file):
803        Change type of fname_len parameter to int.
804        (xmalloc): Add prototype.
805
806        * loadmsgcat.c: Better prototypes for xmalloc.
807
808Tue Aug  8 22:30:39 1995  Ulrich Drepper  <drepper@myware>
809
810        * finddomain.c (_nl_find_domain):
811        Allow alias name to be constructed from the four components.
812
813        * Makefile.in (aliaspath): New variable.  Set to preliminary value.
814        (SOURCES): Add localealias.c.
815        (OBJECTS): Add localealias.o.
816
817        * gettextP.h: Add prototype for _nl_expand_alias.
818
819        * finddomain.c: Aliasing handled in intl/localealias.c.
820
821        * localealias.c: Aliasing for locale names.
822
823        * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
824
825Mon Aug  7 23:47:42 1995  Ulrich Drepper  <drepper@myware>
826
827        * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
828
829        * cat-compat.c (bindtextdomain):
830        Correct implementation.  dirname parameter was not used.
831        Reported by Marcus Daniels.
832
833        * gettextP.h (loaded_domain):
834        New fields `successor' and `decided' for oo, lazy
835        message handling implementation.
836
837        * dcgettext.c:
838        Adopt for oo, lazy message handliing.
839        Now we can inherit translations from less specific locales.
840        (find_msg): New function.
841
842        * loadmsgcat.c, finddomain.c:
843        Complete rewrite.  Implement oo, lazy message handling :-).
844        We now have an additional environment variable `LANGUAGE' with
845        a higher priority than LC_ALL for the LC_MESSAGE locale.
846        Here we can set a colon separated list of specifications each
847        of the form `language[_territory[.codeset]][@modifier]'.
848
849Sat Aug  5 09:55:42 1995  Ulrich Drepper  <drepper@myware>
850
851        * finddomain.c (unistd.h):
852        Include to get _PC_PATH_MAX defined on system having it.
853
854Fri Aug  4 22:42:00 1995  Ulrich Drepper  <drepper@myware>
855
856        * finddomain.c (stpcpy): Include prototype.
857
858        * Makefile.in (dist): Remove `copying instead' message.
859
860Wed Aug  2 18:52:03 1995  Ulrich Drepper  <drepper@myware>
861
862        * Makefile.in (ID, TAGS): Do not use $^.
863
864Tue Aug  1 20:07:11 1995  Ulrich Drepper  <drepper@myware>
865
866        * Makefile.in (TAGS, ID): Use $^ as command argument.
867        (TAGS): Give etags -o option t write to current directory,
868        not $(srcdir).
869        (ID): Use $(srcdir) instead os $(top_srcdir)/src.
870        (distclean): Remove ID.
871
872Sun Jul 30 11:51:46 1995  Ulrich Drepper  <drepper@myware>
873
874        * Makefile.in (gnulocaledir):
875        New variable, always using share/ for data directory.
876        (DEFS): Add GNULOCALEDIR, used in finddomain.c.
877
878        * finddomain.c (_nl_default_dirname):
879        Set to GNULOCALEDIR, because it always has to point
880        to the directory where GNU gettext Library writes it to.
881
882        * intl-compat.c (textdomain, bindtextdomain):
883        Undefine macros before function definition.
884
885Sat Jul 22 01:10:02 1995  Ulrich Drepper  <drepper@myware>
886
887        * libgettext.h (_LIBINTL_H):
888        Protect definition in case where this file is included as
889        libgettext.h on Solaris machines.  Add comment about this.
890
891Wed Jul 19 02:36:42 1995  Ulrich Drepper  <drepper@myware>
892
893        * intl-compat.c (textdomain): Correct typo.
894
895Wed Jul 19 01:51:35 1995  Ulrich Drepper  <drepper@myware>
896
897        * dcgettext.c (dcgettext): Function now called __dcgettext.
898
899        * dgettext.c (dgettext): Now called __dgettext and calls
900        __dcgettext.
901
902        * gettext.c (gettext):
903        Function now called __gettext and calls __dgettext.
904
905        * textdomain.c (textdomain): Function now called __textdomain.
906
907        * bindtextdom.c (bindtextdomain): Function now called
908        __bindtextdomain.
909
910        * intl-compat.c: Initial revision.
911
912        * Makefile.in (SOURCES): Add intl-compat.c.
913        (OBJECTS): We always compile the GNU gettext library functions.
914        OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
915        and intl-compat.o.
916        (GETTOBJS): Contains now only intl-compat.o.
917
918        * libgettext.h:
919        Re-include protection matches dualistic character of libgettext.h.
920        For all functions in GNU gettext library define __ counter part.
921
922        * finddomain.c (strchr): Define as index if not found in C library.
923        (_nl_find_domain): For relative paths paste / in between.
924
925Tue Jul 18 16:37:45 1995  Ulrich Drepper  <drepper@myware>
926
927        * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
928
929        * xopen-msg.sed: Fix bug with `msgstr ""' lines.
930        A little bit better comments.
931
932Tue Jul 18 01:18:27 1995  Ulrich Drepper  <drepper@myware>
933
934        * Makefile.in:
935        po-mode.el, makelinks, combine-sh are now found in ../misc.
936
937        * po-mode.el, makelinks, combine-sh, elisp-comp:
938        Moved to ../misc/.
939
940        * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
941
942Sun Jul 16 22:33:02 1995  Ulrich Drepper  <drepper@myware>
943
944        * Makefile.in (INSTALL, INSTALL_DATA): New variables.
945        (install-data, uninstall): Install/uninstall .elc file.
946
947        * po-mode.el (Installation comment):
948        Add .pox as possible extension of .po files.
949
950Sun Jul 16 13:23:27 1995  Ulrich Drepper  <drepper@myware>
951
952        * elisp-comp: Complete new version by Franc,ois: This does not
953        fail when not compiling in the source directory.
954
955Sun Jul 16 00:12:17 1995  Ulrich Drepper  <drepper@myware>
956
957        * Makefile.in (../po/cat-id-tbl.o):
958        Use $(MAKE) instead of make for recursive make.
959
960        * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
961        (install-exec): Add missing dummy goal.
962        (install-data, uninstall): @ in multi-line shell command at
963        beginning, not in front of echo.  Reported by Eric Backus.
964
965Sat Jul 15 00:21:28 1995  Ulrich Drepper  <drepper@myware>
966
967        * Makefile.in (DISTFILES):
968        Rename libgettext.perl to gettext.perl to fit in 14 chars
969        file systems.
970
971        * gettext.perl:
972        Rename to gettext.perl to fit in 14 chars file systems.
973
974Thu Jul 13 23:17:20 1995  Ulrich Drepper  <drepper@myware>
975
976        * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
977
978Thu Jul 13 20:55:02 1995  Ulrich Drepper  <drepper@myware>
979
980        * po2tbl.sed.in: Pretty printing.
981
982        * linux-msg.sed, xopen-msg.sed:
983        Correct bugs with handling substitute flags in branches.
984
985        * hash-string.h (hash_string):
986        Old K&R compilers don't under stand `unsigned char'.
987
988        * gettext.h (nls_uint32):
989        Some old K&R compilers (eg HP) don't understand `unsigned int'.
990
991        * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
992
993Thu Jul 13 01:34:33 1995  Ulrich Drepper  <drepper@myware>
994
995        * Makefile.in (ELCFILES): New variable.
996        (DISTFILES): Add elisp-comp.
997        Add implicit rule for .el -> .elc compilation.
998        (install-data): install $ELCFILES
999        (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
1000
1001        * elisp-comp: Initial revision
1002
1003Wed Jul 12 16:14:52 1995  Ulrich Drepper  <drepper@myware>
1004
1005        * Makefile.in:
1006        cat-id-tbl.c is now found in po/.  This enables us to use an identical
1007        intl/ directory in all packages.
1008
1009        * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
1010
1011        * textdomain.c: fix typo (#if def -> #if defined)
1012
1013Tue Jul 11 18:44:43 1995  Ulrich Drepper  <drepper@myware>
1014
1015        * Makefile.in (stamp-cat-id): use top_srcdir to address source files
1016        (DISTFILES,distclean): move tupdate.perl to src/
1017
1018        * po-to-tbl.sed.in:
1019        add additional jump to clear change flag to recognize multiline strings
1020
1021Tue Jul 11 01:32:50 1995  Ulrich Drepper  <drepper@myware>
1022
1023        * textdomain.c: Protect inclusion of stdlib.h and string.h.
1024
1025        * loadmsgcat.c: Protect inclusion of stdlib.h.
1026
1027        * libgettext.h: Protect inclusion of locale.h.
1028        Allow use in C++ programs.
1029        Define NULL is not happened already.
1030
1031        * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
1032        po-to-tbl.sed.
1033        (distclean): remove po-to-tbl.sed and tupdate.perl.
1034
1035        * tupdate.perl.in: Substitute Perl path even in exec line.
1036        Don't include entries without translation from old .po file.
1037
1038Tue Jul  4 00:41:51 1995  Ulrich Drepper  <drepper@myware>
1039
1040        * tupdate.perl.in: use "Updated: " in msgid "".
1041
1042        * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
1043        Define getenv if !__STDC__.
1044
1045        * bindtextdom.c: Protect stdlib.h and string.h inclusion.
1046        Define free if !__STDC__.
1047
1048        * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1049        Define free if !__STDC__.
1050
1051        * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
1052
1053Mon Jul  3 23:56:30 1995  Ulrich Drepper  <drepper@myware>
1054
1055        * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
1056        Remove unneeded $(srcdir) from Makefile.in dependency.
1057
1058        * makelinks: Add copyright and short description.
1059
1060        * po-mode.el: Last version for 0.7.
1061
1062        * tupdate.perl.in: Fix die message.
1063
1064        * dcgettext.c: Protect include of string.h.
1065
1066        * gettext.c: Protect include of stdlib.h and further tries to get NULL.
1067
1068        * finddomain.c: Some corrections in includes.
1069
1070        * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
1071
1072        * po-to-tbl.sed: Adopt for new .po file format.
1073
1074        * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
1075
1076Sun Jul  2 23:55:03 1995  Ulrich Drepper  <drepper@myware>
1077
1078        * tupdate.perl.in: Complete rewrite for new .po file format.
1079
1080Sun Jul  2 02:06:50 1995  Ulrich Drepper  <drepper@myware>
1081
1082        * First official release.  This directory contains all the code
1083        needed to internationalize own packages.  It provides functions
1084        which allow to use the X/Open catgets function with an interface
1085        like the Uniforum gettext function.  For system which does not
1086        have neither of those a complete implementation is provided.
Note: See TracBrowser for help on using the repository browser.