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