1 2005-05-23 Bruno Haible <bruno@clisp.org>
3 * gettext-0.14.5 released.
5 2005-04-11 Bruno Haible <bruno@clisp.org>
7 * gettext-0.14.4 released.
9 2005-04-11 Bruno Haible <bruno@clisp.org>
11 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:3:4.
13 2005-03-16 Bruno Haible <bruno@clisp.org>
15 Canonicalize locale names on MacOS X.
16 * localename.c (_nl_locale_name_canonicalize): New function.
17 (_nl_locale_name_default): Use it.
18 * langprefs.c (_nl_locale_name_canonicalize): New declaration.
19 (_nl_language_preferences_default): Use it.
21 2005-03-14 Bruno Haible <bruno@clisp.org>
23 * gettext-0.14.3 released.
25 2005-03-14 Bruno Haible <bruno@clisp.org>
27 * Makefile.in (dist, distdir): Ignore a failure to copy Makefile.in.
28 Needed because the automake-1.9 generated dist rule of the parent
29 directory already copies this file.
31 2005-03-08 Bruno Haible <bruno@clisp.org>
33 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:2:4.
35 2005-03-06 Bruno Haible <bruno@clisp.org>
37 * Makefile.in (dist, distdir): Fail if some of the files to be
38 distributed do not exist or cannot be copied.
39 Suggested by Alexandre Duret-Lutz <adl@src.lip6.fr>.
41 2005-02-24 Bruno Haible <bruno@clisp.org>
43 * gettext-0.14.2 released.
45 2005-02-12 Bruno Haible <bruno@clisp.org>
47 * vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
49 2005-02-11 Bruno Haible <bruno@clisp.org>
51 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:1:4.
53 2005-01-29 Bruno Haible <bruno@clisp.org>
55 * Makefile.am (libintl.la, libgnuintl.la): Use INTL_MACOSX_LIBS
56 instead of INTL_MACOSX_LDFLAGS.
58 2004-09-08 Bruno Haible <bruno@clisp.org>
60 * vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length
63 2005-01-01 Bruno Haible <bruno@clisp.org>
65 * dcigettext.c (guess_category_value): Let the environment variables
66 LC_ALL, LC_xxx, LANG take precedence over the system-dependent language
68 * gettextP.h (_nl_language_preferences): Remove declaration.
69 (_nl_language_preferences_default): New declaration.
70 (_nl_locale_name_posix, _nl_locale_name_default): New declarations.
71 * langprefs.c (_nl_language_preferences_default): Renamed from
72 _nl_language_preferences. Remove handling of getenv("LANGUAGE").
73 * localename.c (_nl_locale_name_posix, _nl_locale_name_default): New
74 functions, extracted from _nl_locale_name.
75 (_nl_locale_name): Use them.
77 2004-09-06 Bruno Haible <bruno@clisp.org>
79 * localename.c (_nl_locale_name): Add code for MacOS X versions that
80 don't have the CFLocaleCopyCurrent() function.
81 * langprefs.c (_nl_language_preferences): Make code more robust.
83 2004-09-05 Bruno Haible <bruno@clisp.org>
85 * langprefs.c: New file.
86 * gettextP.h (_nl_language_preferences): New declaration.
87 * dcigettext.c (guess_category_value) [!_LIBC]: Use
88 _nl_language_preferences.
89 * Makefile.in (SOURCES): Add langprefs.c.
90 (OBJECTS): Add langprefs.$lo.
91 (langprefs.lo): New rule.
92 * Makefile.msvc (OBJECTS): Add langprefs.obj.
93 (langprefs.obj): New rule.
94 * Makefile.vms (OBJECTS): Add langprefs.obj.
95 (langprefs.obj): New rule.
97 2004-09-03 Bruno Haible <bruno@clisp.org>
99 * localename.c (_nl_locale_name): Use a more intelligent fallback on
100 MacOS X versions that have the CFLocaleCopyCurrent() function.
101 * Makefile.in (libintl.la, libgnuintl.la): Use the INTL_MACOSX_LDFLAGS.
103 2004-09-01 Bruno Haible <bruno@clisp.org>
105 * config.charset: Add support for Darwin 7.
107 2004-08-13 Bruno Haible <bruno@clisp.org>
109 * libgnuintl.h.in (__GNU_GETTEXT_SUPPORTED_REVISION): Treat major
110 revision 1 like major revision 0. Needed for 2004-01-09 change.
112 2004-08-08 Bruno Haible <bruno@clisp.org>
114 * relocatable.c (FILE_SYSTEM_PREFIX_LEN): Renamed from
115 FILESYSTEM_PREFIX_LEN.
116 (compute_curr_prefix): Update.
118 2004-05-14 Bruno Haible <bruno@clisp.org>
120 * vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision
121 that consists of a '.' followed by an empty digit string.
122 Patch by Tor Lillqvist <tml@iki.fi>.
124 2004-04-28 Bruno Haible <bruno@clisp.org>
126 * dcigettext.c (ISSLASH, IS_ABSOLUTE_PATH, IS_PATH_WITH_DIR): Treat
127 Cygwin like Windows, since it now accepts Windows pathnames.
128 * l10nflist.c (ISSLASH, IS_ABSOLUTE_PATH): Treat Cygwin like Windows,
129 since it now accepts Windows pathnames.
130 * localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now
131 accepts Windows pathnames.
132 * relocatable.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN):
133 Treat Cygwin like Windows, since it now accepts Windows pathnames.
134 (compute_curr_prefix): Likewise.
135 Reported by Derek Robert Price <derek@ximbiot.com>.
137 2004-04-23 Bruno Haible <bruno@clisp.org>
139 * localcharset.c (get_charset_aliases): Allow the CHARSETALIASDIR
140 environment variable to override LIBDIR.
141 Suggested by Matthias Clasen <mclasen@redhat.com>.
143 2004-04-20 Jim Meyering <jim@meyering.net>
144 Bruno Haible <bruno@clisp.org>
146 * localcharset.c (get_charset_aliases) [!VMS && !WIN32]: Don't leak
147 memory when realloc fails.
149 2004-03-02 Bruno Haible <bruno@clisp.org>
151 * localename.c (_nl_locale_name): Add info about default territory for
152 Basque, Mongolian, Russian, Tamil. Map Norwegian to nb, not no.
154 2004-02-02 Bruno Haible <bruno@clisp.org>
156 * Makefile.in (install-exec, installdirs, uninstall): Install
157 preloaded_libintl.so only on glibc systems, not on OpenBSD.
158 Reported by Han Boetes <han@mijncomputer.nl>.
160 2004-01-29 Bruno Haible <bruno@clisp.org>
162 * gettext-0.14.1 released.
164 2004-01-28 Bruno Haible <bruno@clisp.org>
166 * gettext-0.14 released.
168 2004-01-21 Bruno Haible <bruno@clisp.org>
170 * config.charset: Add support for MacOS X (Darwin).
172 2004-01-18 Bruno Haible <bruno@clisp.org>
174 * localename.c (_nl_locale_name): Use two-letter ISO 639 codes for
175 Divehi, Fulfulde, Igbo, Kanuri, Venda.
177 2004-01-17 Bruno Haible <bruno@clisp.org>
179 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:0:4.
181 2003-12-02 Jakub Jelinek <jakub@redhat.com>
183 * locale.alias: Use nb_NO instead of no_NO for bokmål.
185 2003-11-03 Ulrich Drepper <drepper@redhat.com>
187 * locale.alias: nb_NO is now the correct name, not no_NO.
189 2004-01-09 Bruno Haible <bruno@clisp.org>
191 * gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition.
192 * loadmsgcat.c (get_sysdep_segment_value): Handle "I".
193 (_nl_load_domain): Treat major revision 1 like major revision 0.
195 2004-01-08 Bruno Haible <bruno@clisp.org>
197 * loadmsgcat.c (_nl_load_domain): When a string pair uses a system
198 dependent segment not known to this version of the library, ignore
199 the string pair instead of crashing.
201 2003-12-17 Bruno Haible <bruno@clisp.org>
203 * gettext-0.13.1 released.
205 2003-12-17 Bruno Haible <bruno@clisp.org>
207 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 6:1:4.
209 2003-12-05 Bruno Haible <bruno@clisp.org>
211 * localename.c (_nl_locale_name): Change result for Latin Uzbek locale
212 to match the glibc name.
214 2003-12-02 Bruno Haible <bruno@clisp.org>
216 * localename.c (LANG_AMHARIC, LANG_BURMESE, LANG_CAMBODIAN,
217 LANG_CHEROKEE, LANG_EDO, LANG_FRISIAN, LANG_FULFULDE, LANG_GUARANI,
218 LANG_HAUSA, LANG_HAWAIIAN, LANG_IBIBIO, LANG_IGBO, LANG_INUKTITUT,
219 LANG_KANURI, LANG_LAO, LANG_LATIN, LANG_OROMO, LANG_PAPIAMENTU,
220 LANG_PASHTO, LANG_SINHALESE, LANG_SOMALI, LANG_TAGALOG, LANG_TAJIK,
221 LANG_TAMAZIGHT, LANG_TIBETAN, LANG_TIGRINYA, LANG_TURKMEN, LANG_YI,
222 LANG_YIDDISH, LANG_YORUBA): New macros.
223 (LANG_GAELIC, LANG_MALTESE, LANG_RHAETO_ROMANCE, LANG_SAAMI, LANG_SUTU,
224 LANG_TSONGA, LANG_TSWANA, LANG_VENDA, LANG_WELSH, LANG_XHOSA,
225 LANG_ZULU): New macros, consistent with those found in Wine.
226 (SUBLANG_BENGALI_INDIA, SUBLANG_BENGALI_BANGLADESH,
227 SUBLANG_ENGLISH_INDONESIA, SUBLANG_ENGLISH_HONGKONG,
228 SUBLANG_ENGLISH_INDIA, SUBLANG_ENGLISH_MALAYSIA,
229 SUBLANG_ENGLISH_SINGAPORE, SUBLANG_FRENCH_WESTINDIES,
230 SUBLANG_FRENCH_REUNION, SUBLANG_FRENCH_CONGO, SUBLANG_FRENCH_SENEGAL,
231 SUBLANG_FRENCH_CAMEROON, SUBLANG_FRENCH_COTEDIVOIRE,
232 SUBLANG_FRENCH_MALI, SUBLANG_FRENCH_MOROCCO, SUBLANG_FRENCH_HAITI,
233 SUBLANG_PUNJABI_INDIA, SUBLANG_PUNJABI_PAKISTAN,
234 SUBLANG_ROMANIAN_ROMANIA, SUBLANG_ROMANIAN_MOLDOVA,
235 SUBLANG_SINDHI_INDIA, SUBLANG_SINDHI_PAKISTAN,
236 SUBLANG_TAMAZIGHT_ARABIC, SUBLANG_TAMAZIGHT_LATIN,
237 SUBLANG_TIGRINYA_ETHIOPIA, SUBLANG_TIGRINYA_ERITREA): New macros.
238 (_nl_locale_name) [WIN32]: Use them. Improve handling of Bengali,
239 Serbian, English, French, Punjabi, Romanian, Sindhi, Tamazight,
242 2003-12-02 Bruno Haible <bruno@clisp.org>
244 * config.charset: Treat the new country name CS like the old country
247 2003-11-30 Bruno Haible <bruno@clisp.org>
249 * gettext-0.13 released.
251 2003-11-23 Paul Eggert <eggert@twinsun.com>
252 Bruno Haible <bruno@clisp.org>
254 * printf-parse.h: Don't include sys/types.h.
255 (ARG_NONE): New macro.
256 (char_directive): Change type of *arg_index fields to size_t.
257 * wprintf-parse.h: Don't include sys/types.h.
258 (ARG_NONE): New macro.
259 (wchar_t_directive): Change type of *arg_index fields to size_t.
260 * printf-parse.c: Don't include sys/types.h.
261 (SSIZE_MAX): Remove macro.
262 (PRINTF_PARSE): Change the type of the arg_index variables to size_t.
263 Remove unnecessary overflow check.
264 * vasnprintf.c (VASNPRINTF): Update for type change of *arg_index
267 2003-11-17 Bruno Haible <bruno@clisp.org>
269 * vasnprintf.c (alloca): Remove fallback definition.
270 (freea): Remove definition.
271 (VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes.
272 Reported by Paul Eggert.
274 2003-11-16 Paul Eggert <eggert@twinsun.com>
275 Bruno Haible <bruno@clisp.org>
277 Protect against address arithmetic overflow.
278 * printf-args.h: Include stddef.h.
279 (arguments): Change type of field 'count' to size_t.
280 * printf-args.c (printf_fetchargs): Use size_t instead of
281 'unsigned int' where appropriate.
282 * printf-parse.h: Include sys/types.h.
283 (char_directive): Change type of *arg_index fields to ssize_t.
284 (char_directives): Change type of fields 'count', max_*_length to
286 * wprintf-parse.h: Include sys/types.h.
287 (wchar_t_directive): Change type of *arg_index fields to ssize_t.
288 (wchar_t_directives): Change type of fields 'count', max_*_length to
290 * printf-parse.c: Include sys/types.h and xsize.h.
291 (SSIZE_MAX): Define fallback value.
292 (PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t
293 instead of 'int' where appropriate. Check a_allocated, d_allocated
294 against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1.
295 * vasnprintf.c: Include xsize.h.
296 (VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate.
297 Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against
298 overflow. Avoid wraparound when converting a width or precision from
300 * xsize.h: New file, from gnulib.
301 * Makefile.in (HEADERS): Add xsize.h.
302 (printf.$lo): Depend on it.
304 2003-11-16 Bruno Haible <bruno@clisp.org>
306 * libgnuintl.h.in (_INTL_REDIRECT_ASM): Don't define on AIX with gcc 2.
307 Reported by Kouichi Hashikawa <z01a7ksy@cs.ecip.tohoku.ac.jp>.
309 2003-10-19 Bruno Haible <bruno@clisp.org>
311 * hash-string.h (hash_string): Zero-extend each char from the string;
312 the old code did a sign-extend on some platforms.
314 2003-10-19 Jim Meyering <jim@meyering.net>
316 * vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20.
318 2003-10-09 Bruno Haible <bruno@clisp.org>
320 * relocatable.c: Include xalloc.h instead of xmalloc.h.
322 2003-10-07 Bruno Haible <bruno@clisp.org>
325 * libgnuintl.h.in (PARAMS): Remove macro.
326 (gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext,
327 textdomain, bindtextdomain, bind_textdomain_codeset, fprintf, vfprintf,
328 printf, vprintf, sprintf, vsprintf, snprintf, vsnprintf, asprintf,
329 vasprintf, fwprintf, vfwprintf, wprintf, vwprintf, swprintf, vswprintf,
330 libintl_set_relocation_prefix): Use ANSI C function declarations.
331 * gettextP.h (PARAMS): Remove macro.
332 (_nl_locale_name, _nl_find_domain, _nl_load_domain, _nl_unload_domain,
333 _nl_init_domain_conv, _nl_free_domain_conv, _nl_find_msg, __gettext,
334 __dgettext, __dcgettext, __ngettext, __dngettext, __dcngettext,
335 __dcigettext, __textdomain, __bindtextdomain,
336 __bind_textdomain_codeset, libintl_dcigettext): Use ANSI C function
338 * hash-string.h (PARAMS): Remove macro.
339 (hash_string): Use ANSI C function declaration.
340 * loadinfo.h (PARAMS): Remove macro.
341 (_nl_normalize_codeset, _nl_make_l10nflist, _nl_expand_alias,
342 _nl_explode_name, _nl_find_language): Use ANSI C function declarations.
343 * plural-exp.h (PARAMS): Remove macro.
344 (FREE_EXPRESSION, PLURAL_PARSE, GERMANIC_PLURAL,
345 EXTRACT_PLURAL_EXPRESSION): Use ANSI C function declarations.
346 * bindtextdom.c (set_binding_values, BINDTEXTDOMAIN,
347 BIND_TEXTDOMAIN_CODESET): Use ANSI C function declarations.
348 * dcgettext.c (DCGETTEXT): Likewise.
349 * dcigettext.c (transcmp, DCIGETTEXT, _nl_log_untranslated,
350 _nl_find_msg, plural_lookup, category_to_name, guess_category_value,
351 stpcpy, mempcpy): Likewise.
352 * dcngettext.c (DCNGETTEXT): Likewise.
353 * dgettext.c (DGETTEXT): Likewise.
354 * dngettext.c (DNGETTEXT): Likewise.
355 * eval-plural.h (plural_eval): Likewise.
356 * explodename.c (_nl_find_language, _nl_explode_name): Likewise.
357 * finddomain.c (_nl_find_domain): Likewise.
358 * gettext.c (GETTEXT): Likewise.
359 * intl-compat.c (gettext, dgettext, dcgettext, ngettext, dngettext,
360 dcngettext, textdomain, bindtextdomain, bind_textdomain_codeset):
362 * l10nflist.c (argz_count__, argz_stringify__, argz_next__, pop,
363 _nl_make_l10nflist, _nl_normalize_codeset, stpcpy): Likewise.
364 * loadmsgcat.c (get_sysdep_segment_value, _nl_init_domain_conv,
365 locale_charset, _nl_free_domain_conv, _nl_load_domain,
366 _nl_unload_domain): Likewise.
367 * localealias.c (_nl_expand_alias, read_alias_file, alias_compare):
369 * localename.c (_nl_locale_name): Likewise.
370 * log.c (print_escaped, _nl_log_untranslated): Likewise.
371 * ngettext.c (NGETTEXT): Likewise.
372 * plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
373 * plural.y (new_exp, new_exp_0, new_exp_1, new_exp_2, new_exp_3,
374 FREE_EXPRESSION, yylex, yyerror): Likewise.
375 * textdomain.c (TEXTDOMAIN): Likewise.
377 2003-09-17 Bruno Haible <bruno@clisp.org>
379 * printf.c: Test HAVE_FWPRINTF, not HAVE_WPRINTF. Needed for
380 portability to Cygwin.
382 2003-09-04 Bruno Haible <bruno@clisp.org>
384 * dgettext.c: Include <locale.h> after gettextP.h, not before. This
385 ensures that libintl_dcgettext is correctly declared on Solaris.
386 (Needed because Solaris <locale.h> includes libintl.h.)
387 * dngettext.c: Likewise, for the libintl_dcngettext declaration.
389 2003-08-29 Bruno Haible <bruno@clisp.org>
391 * vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
392 Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF.
393 * printf.c: Likewise.
395 2003-08-27 Bruno Haible <bruno@clisp.org>
397 * Makefile.in (install-exec): Fix the 2003-04-06 patch.
399 2003-08-24 Bruno Haible <bruno@clisp.org>
401 * vasnprintf.c (local_wcslen): Protect against multiple definition.
402 (USE_SNPRINTF): Define also if only _snprintf() is available.
403 (SNPRINTF): Possibly define as _snprintf or _snwprintf.
404 * printf.c (DLL_EXPORTED): New macro.
405 Mark all functions as DLL_EXPORTED.
406 (system_vsnprintf): New macro.
407 (libintl_vsnprintf): Use it.
408 (system_vswprintf): New macro.
409 (libintl_vswprintf): Use it.
411 2003-08-24 Bruno Haible <bruno@clisp.org>
413 * libgnuintl.h.in: Use <stdarg.h> when compiling with MSVC, even though
414 it doesn't define __STDC__ by default.
416 2003-08-24 Bruno Haible <bruno@clisp.org>
418 * relocatable.h: Make this file includable in C++ mode: add extern "C".
420 2003-08-23 Bruno Haible <bruno@clisp.org>
422 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 6:0:4.
424 2003-08-20 Bruno Haible <bruno@clisp.org>
426 * config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
427 Reported by Alain Guibert <derogaton+bgli@oreka.com>.
429 2003-08-14 Bruno Haible <bruno@clisp.org>
431 * config.charset: Add support for Linux libc5. Based on data from
432 Alain Guibert <derogaton+bgli@oreka.com>.
434 2003-08-11 Bruno Haible <bruno@clisp.org>
436 * vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
437 (VASNPRINTF): Use it instead of wcslen.
439 2003-08-01 Bruno Haible <bruno@clisp.org>
441 * relocatable.c (find_shared_library_fullname): Disable the code on
442 Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
444 2003-06-27 Bruno Haible <bruno@clisp.org>
446 Avoid use of *_unlocked functions on Solaris 2.5.1.
447 * localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
448 * localealias.c: Test HAVE_DECL_*_UNLOCKED, not HAVE_*_UNLOCKED.
449 Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
451 2003-06-22 Bruno Haible <bruno@clisp.org>
453 Portability to mingw32.
454 * relocatable.c [WIN32]: Include <windows.h>.
455 Reported by Jeff Bonggren <jbon@cfl.rr.com>.
457 2003-06-22 Bruno Haible <bruno@clisp.org>
459 * relocatable.c (compute_curr_prefix): Comment out this function in
460 the case when it is not used.
461 Reported by Pavel Roskin <proski@gnu.org>.
463 2003-06-22 Bruno Haible <bruno@clisp.org>
465 * gettextP.h: Undefine _INTL_REDIRECT_INLINE, _INTL_REDIRECT_MACROS,
466 possibly defined in config.h, before setting _INTL_REDIRECT_MACROS.
467 Reported by Pavel Roskin <proski@gnu.org>.
469 2003-06-19 Bruno Haible <bruno@clisp.org>
471 * printf-args.h: New file, from ../libasprintf.
472 * printf-args.c: New file, from ../libasprintf.
473 * printf-parse.h: New file, from ../libasprintf.
474 * printf-parse.c: New file, from ../libasprintf.
475 * vasnprintf.h: New file, from ../libasprintf.
476 * vasnprintf.c: New file, from ../libasprintf.
477 * wprintf-parse.h: New file.
478 * vasnwprintf.h: New file.
479 * printf.c: New file.
480 * libgnuintl.h.in (fprintf, vfprintf, printf, vprintf, sprintf,
481 vsprintf, snprintf, vsnprintf, asprintf, vasprintf, fwprintf,
482 vfwprintf, wprintf, vwprintf, swprintf, vswprintf): New fallback
484 * Makefile.in (HEADERS): Add printf-args.h, printf-args.c,
485 printf-parse.h, wprintf-parse.h, printf-parse.c, vasnprintf.h,
486 vasnwprintf.h, vasnprintf.c.
487 (SOURCES): Add printf.c.
488 (OBJECTS): Add printf.$lo.
489 (DISTFILES.gettext): Add libgnuintl.h_vms, libgnuintl.h.msvc-static.
490 (printf.lo): New rule.
491 (libgnuintl.h): Also perform some AC_SUBST substitutions.
492 (printf.$lo): New dependencies.
493 * Makefile.msvc (OBJECTS): Add printf.obj.
494 (libgnuintl.h): Use libgnuintl.h.msvc-static.
495 (printf.obj): New rule.
496 * Makefile.vms (libgnuintl.h): Use libgnuintl.h_vms.
498 2003-06-12 Bruno Haible <bruno@clisp.org>
500 * libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Mingw.
501 Reported by Tor Lillqvist <tml@iki.fi>.
503 2003-06-08 Bruno Haible <bruno@clisp.org>
505 * dcigettext.c (getcwd) [VMS]: Pass 3 arguments.
506 Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
508 2003-05-22 Bruno Haible <bruno@clisp.org>
510 * gettext-0.12.1 released.
512 2003-05-20 Bruno Haible <bruno@clisp.org>
514 * Makefile.in (VPATH): Add back this variable, needed outside gettext
515 when $builddir != $srcdir.
516 Reported by Pavel Roskin <proski@gnu.org>.
518 2003-05-18 Bruno Haible <bruno@clisp.org>
520 * Makefile.msvc (DEBUGFLAGS): New variable.
523 2003-05-17 Bruno Haible <bruno@clisp.org>
525 * gettext-0.12 released.
527 2003-05-12 Bruno Haible <bruno@clisp.org>
529 * Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
531 Reported by Perry Rapp.
533 2003-05-07 Bruno Haible <bruno@clisp.org>
535 * Makefile.vms (install): Fix mistake.
537 2003-05-03 Bruno Haible <bruno@clisp.org>
539 * Makefile.in (LIBS): New variable.
540 (libintl.la, libgnuintl.la): Use it.
541 Reported by Andreas Buening <andreas.buening@nexgo.de>.
543 2003-04-12 Bruno Haible <bruno@clisp.org>
545 * Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
546 lines. Update library creation rule. Don't use the force target.
547 Correct wildcard syntax.
548 Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
550 2003-04-12 Bruno Haible <bruno@clisp.org>
552 * localcharset.c (get_charset_aliases): Add special case for VMS.
554 2003-04-06 Bruno Haible <bruno@clisp.org>
556 * Makefile.in (install-exec): Remove the installed libintl.la if it
557 has hardwired pathnames in dependency_libs and the installed package
558 shall be relocatable.
560 2003-04-05 Bruno Haible <bruno@clisp.org>
562 * relocatable.c: Rely on DEPENDS_ON_LIBCHARSET, DEPENDS_ON_LIBICONV,
563 DEPENDS_ON_LIBINTL, not on NO_LIBRARIES.
564 * Makefile.in (DEFS): Define DEPENDS_ON_LIBICONV, for relocatable.c.
565 * Makefile.msvc (CFLAGS): Also define DEPENDS_ON_LIBICONV.
567 2003-04-05 Bruno Haible <bruno@clisp.org>
569 * relocatable.c (_GNU_SOURCE): Define, to ensure getline() gets
570 declared by <stdio.h>.
572 2003-04-04 Bruno Haible <bruno@clisp.org>
574 * gettextP.h [!_LIBC]: Remove declarations of exported libintl_*
575 functions; include libgnuintl.h instead.
576 * intl-compat.c: Remove include of libgnuintl.h.
577 (DLL_EXPORTED): New macro.
578 (gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext,
579 textdomain, bindtextdomain, bind_textdomain_codeset): Use it.
581 2003-04-04 Bruno Haible <bruno@clisp.org>
583 * libgnuintl.h.in (libintl_set_relocation_prefix): Convert extern
584 declaration to K&R syntax.
586 2003-03-30 Bruno Haible <bruno@clisp.org>
588 * Makefile.vms: New file.
589 * Makefile.in (DISTFILES.gettext): Add Makefile.vms.
591 2003-03-30 Bruno Haible <bruno@clisp.org>
593 * Makefile.in (INCLUDES): Mention the current directory first.
595 2003-03-17 Bruno Haible <bruno@clisp.org>
597 Native Woe32/MSVC support.
598 * libgnuintl.h.in: Renamed from libgnuintl.h.
599 * Makefile.msvc: New file.
600 * README.woe32: New file.
601 * Makefile.in (HEADERS): Remove libgnuintl.h, add libgnuintl.h.in.
602 (DISTFILES.gettext): Add libgnuintl.h.msvc-shared, README.woe32,
604 (DISTFILES.obsolete): Add libgnuintl.h.
605 (libgnuintl.h): New rule.
606 (libintl.h, $(OBJECTS)): Expect libgnuintl.h in builddir, not in
608 (mostlyclean): Also remove libgnuintl.h.
609 * dcigettext.c (alloca): Add support for MSVC.
610 * loadmsgcat.c (alloca): Likewise.
611 * localealias.c (alloca): Likewise.
612 * relocatable.h (RELOCATABLE_DLL_EXPORTED): New macro.
614 * Makefile.in (loadmsgcat.$lo): Depend on hash-string.h.
616 2003-02-28 Bruno Haible <bruno@clisp.org>
618 * Makefile.in (localcharset.$lo): Depend on localcharset.h.
620 2003-02-28 Bruno Haible <bruno@clisp.org>
622 Support for relocatable installation.
623 * relocatable.h: New file.
624 * relocatable.c: New file.
625 * libgnuintl.h (libintl_set_relocation_prefix): New declaration.
626 * localealias.c: Include relocatable.h.
627 (read_alias_file): Relocate LOCALE_ALIAS_PATH element.
628 * localcharset.c: Include relocatable.h.
629 (get_charset_aliases): Relocate LIBDIR value.
630 * Makefile.in (DEFS): Define also ENABLE_RELOCATABLE, IN_LIBRARY,
631 INSTALLDIR, NO_XMALLOC, set_relocation_prefix, relocate.
632 (HEADERS): Add relocatable.h.
633 (SOURCES): Add relocatable.c.
634 (OBJECTS): Add relocatable.$lo.
635 (relocatable.$lo): New rule.
637 2003-02-28 Bruno Haible <bruno@clisp.org>
639 * Makefile.in (mkinstalldirs): Simplify. Prepending "$(top_builddir)/"
640 in the case of a relative $srcdir is now handled in gettext.m4.
642 2003-02-28 Bruno Haible <bruno@clisp.org>
644 * localcharset.h: Change copyright to LGPL. Enclose declaration in
645 extern "C", for C++ compilers.
646 * localcharset.c: Drop C linkage declaration.
648 2003-02-18 Bruno Haible <bruno@clisp.org>
650 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 5:0:3.
652 2003-01-29 Bruno Haible <bruno@clisp.org>
654 * config.charset: Add an alias for CP1251 on Solaris.
655 Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.
657 2003-02-16 Bruno Haible <bruno@clisp.org>
660 * dcigettext.c (DCIGETTEXT) [!_LIBC]: Before returning the
661 untranslated string, call _nl_log_untranslated.
662 * intl-compat.c: Comments.
663 * Makefile.in (SOURCES): Add log.c.
664 (OBJECTS): Add intl-compat.$lo unconditionally. Add log.$lo.
666 (install-exec): Stop using @INTLOBJS@. Install preloadable_libintl.so.
667 (installdirs, uninstall): Update accordingly.
669 2003-02-16 Bruno Haible <bruno@clisp.org>
671 * Makefile.in (.sin.sed): Remove rule.
672 (ref-add.sed, ref-del.sed): New rules.
674 2003-02-12 Bruno Haible <bruno@clisp.org>
677 * Makefile.in: Make usable with $srcdir != $builddir even when not
679 (VPATH): Remove variable.
680 (.c.lo): Remove rule. Use a separate rule for every object file.
681 (libintl.h, charset.alias, $(OBJECTS)): Refer to $srcdir where
683 (INCLUDES): Simplify.
684 (install-exec): Special case packages 'gettext-runtime' and
686 (install-data): Special case package 'gettext-tools'.
687 (installdirs, uninstall): Special case packages 'gettext-runtime' and
689 (distclean, dist): Likewise.
690 (Makefile): Work around autoconf error message.
692 2003-01-12 Bruno Haible <bruno@clisp.org>
694 * localcharset.h: New file.
695 * localcharset.c: Include it.
696 * Makefile.in (HEADERS): Add localcharset.h.
697 (COMHDRS): Remove variable, fold into HEADERS.
698 (COMSRCS): Remove variable, fold into SOURCES.
700 2002-12-12 Bruno Haible <bruno@clisp.org>
702 * dcigettext.c (INTVARDEF): Correct fallback definition.
704 2002-11-19 Ulrich Drepper <drepper@redhat.com>
706 * localealias.c (read_alias_file): Use only about 400 bytes of stack
707 space instead of 16k.
709 2002-10-30 Jakub Jelinek <jakub@redhat.com>
711 * finddomain.c (free_mem): Use libc_freeres_fn macro, remove
713 * dcigettext.c (free_mem): Likewise.
715 2002-10-25 Jakub Jelinek <jakub@redhat.com>
717 * localealias.c (libc_freeres_ptr): Define if !_LIBC.
718 (string_space, map): Add libc_freeres_ptr.
721 2002-09-19 Bruno Haible <bruno@clisp.org>
723 * dcigettext.c (DCIGETTEXT): Restore errno only right before
726 2002-09-01 Roland McGrath <roland@redhat.com>
728 * localealias.c [__GNUC__]: #undef alloca before #define.
730 2002-08-30 Roland McGrath <roland@redhat.com>
732 * dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.
733 [_LIBC] (category_to_name): Don't define the function. Instead define
734 a macro using _nl_category_names.
736 2002-08-04 Ulrich Drepper <drepper@redhat.com>
738 * dcigettext.c: Define _nl_default_dirname_internal as hidden alias
740 * bindtextdom.c: Use _nl_default_dirname_internal.
742 2002-08-03 Roland McGrath <roland@redhat.com>
744 * dcigettext.c (guess_category_value): Use __current_locale_name
745 instead of calling setlocale.
747 2002-08-02 Roland McGrath <roland@redhat.com>
749 * loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT.
751 2002-07-30 Roland McGrath <roland@redhat.com>
753 * loadmsgcat.c [__GNUC__]: #undef alloca before defining it.
755 2002-05-01 Ulrich Drepper <drepper@redhat.com>
757 Revert 2002-04-09 change.
758 * dcngettext.c (__dcngettext_internal): Remove alias.
759 * dngettext.c: Use __dcngettext instead of __dcngettext_internal.
760 * ngettext.c: Likewise.
762 2002-11-07 Bruno Haible <bruno@clisp.org>
764 * Makefile.in (mostlyclean): Remove object files on OS/2 as well.
765 Reported by Andreas Buening <andreas.buening@nexgo.de>.
767 2002-10-16 Bruno Haible <bruno@clisp.org>
769 * Makefile.in (ps, pdf, html, ctags): New targets, for automake-1.7
773 2002-09-18 Bruno Haible <bruno@clisp.org>
775 * libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Apple cc.
776 Reported by Julien Chiron <julien.chiron@univ.u-3mrs.fr>.
778 2002-08-06 Bruno Haible <bruno@clisp.org>
780 * gettext-0.11.5 released.
782 2002-07-25 Bruno Haible <bruno@clisp.org>
784 * gettext-0.11.4 released.
786 2002-07-25 Bruno Haible <bruno@clisp.org>
788 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 4:0:2.
790 2002-07-23 Bruno Haible <bruno@clisp.org>
792 * loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN is set.
794 2002-07-21 Bruno Haible <bruno@clisp.org>
796 * libgnuintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro.
797 * gmo.h (struct mo_file_header): New fields n_sysdep_segments,
798 sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset,
799 trans_sysdep_tab_offset.
800 (struct sysdep_segment): New type.
801 (struct sysdep_string): New type.
802 (SEGMENTS_END): New macro.
803 * gettextP.h (struct sysdep_string_desc): New type.
804 (struct loaded_domain): New fields malloced, n_sysdep_strings,
805 orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields
806 orig_tab, trans_tab, hash_tab to const pointers because they point
807 into read-only memory.
808 * loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h.
809 (PRI*): Define fallback values.
810 (get_sysdep_segment_value): New function.
811 (_nl_load_domain): Distinguish major and minor revision parts. Add
812 support for minor revision 1 with system dependent strings.
813 (_nl_unload_domain): Also free the 'malloced' field.
814 * dcigettext.c (_nl_find_msg): Remove test for domain->hash_size, now
815 done in loadmsgcat.c. Add support for system dependent strings.
817 2002-07-17 Bruno Haible <bruno@clisp.org>
819 * gettext-0.11.3 released.
821 2002-07-16 Bruno Haible <bruno@clisp.org>
823 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 3:0:1.
825 2002-07-13 Bruno Haible <bruno@clisp.org>
827 * dcigettext.c (freea): New macro.
828 (FREE_BLOCKS): Free also the registered blocks.
829 (DCIGETTEXT): Free the 'search' variable.
830 Reported by Andreas Fischer <a.fischer@asentics.de>.
832 2002-06-13 Bruno Haible <bruno@clisp.org>
834 Make absolute pathnames inside $LANGUAGE work.
835 * l10nflist.c (_nl_make_l10nflist): Ignore dirlist if language is an
836 absolute path. Fix sizes passed to malloc. Simplify linked list
839 2002-06-13 Bruno Haible <bruno@clisp.org>
841 * localename.c [WIN32] (LANG_DIVEHI, LANG_GALICIAN, LANG_KYRGYZ,
842 LANG_MONGOLIAN, LANG_SYRIAC): Provide fallback definitions.
843 (_nl_locale_name): Add Amharic, Burmese, Cambodian, Cherokee, Divehi,
844 Edo, Frisian, Fulfulde, Gaelic, Guarani, Hausa, Hawaiian, Ibibio,
845 Igbo, Inuktitut, Kanuri, Kyrgyz, Lao, Latin, Maltese, Mongolian,
846 Oromo, Papiamentu, Pashto, Rhaeto-Romance, Sami, Sinhalese, Somali,
847 Syriac, Tagalog, Tajik, Tomazight, Tibetan, Tigrinya, Tsonga, Turkmen,
848 Venda, Welsh, Xhosa, Yi, Yiddish, Yoruba, Zulu. Fix Swahili, Tatar.
850 2002-06-07 Bruno Haible <bruno@clisp.org>
852 * dcigettext.c (INTDIV0_RAISES_SIGFPE): Define a fallback.
854 * eval-plural.h (plural_eval): Let division by zero cause SIGFPE on
857 2002-05-30 Bruno Haible <bruno@clisp.org>
859 * libgnuintl.h (_INTL_REDIRECT_ASM, _INTL_REDIRECT_INLINE,
860 _INTL_REDIRECT_MACROS, _INTL_ASM, _INTL_ASMNAME, _INTL_STRINGIFY):
861 New macros. Use them instead of plain preprocessor level indirection
863 * intl-compat.c: Define _INTL_REDIRECT_MACROS.
865 2002-05-28 Bruno Haible <bruno@clisp.org>
867 * localename.c (LANG_SORBIAN): Provide a default value, for mingw32.
868 Reported by Michael Opdenacker <m-opdenacker@ti.com>
869 and Rob Leslie <rob@mars.org>.
871 2002-05-09 Bruno Haible <bruno@clisp.org>
873 * config.charset: Update for newest glibc. Add canonical names
874 ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS.
876 2002-05-09 Bruno Haible <bruno@clisp.org>
878 * localcharset.c (get_charset_aliases): Add more Windows specific
881 2002-05-08 Owen Taylor <otaylor@redhat.com>
883 * config.charset: A few additions for Solaris.
885 2001-12-05 Bruno Haible <bruno@clisp.org>
887 * localcharset.c (locale_charset): Don't return an empty string.
889 2001-10-23 Bruno Haible <haible@clisp.cons.org>
891 * config.charset: msdos in uk_UA uses CP1125.
893 2001-08-05 Bruno Haible <haible@clisp.cons.org>
895 Make it possible to build libcharset with CC=gcc CFLAGS="-x c++".
896 * localcharset.c (locale_charset): Declare as extern "C".
897 (get_charset_aliases): Cast malloc and realloc results to 'char *'.
899 2002-04-30 Bruno Haible <bruno@clisp.org>
901 * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to
902 the encoding if it already has slashes.
903 Reported by Perry Rapp <prapp@erols.com>.
905 2002-04-27 Bruno Haible <bruno@clisp.org>
907 * libgnuintl.h: Redirect every function to the one prefixed with
908 "libintl_". Remove __OPTIMIZED variants.
909 * gettextP.h: Use prefix "libintl_" instead of suffix "__".
910 * dcigettext.c: Likewise.
911 * dcgettext.c: Likewise.
912 * dgettext.c: Likewise.
913 * gettext.c: Likewise.
914 * dcngettext.c: Likewise.
915 * dngettext.c: Likewise.
916 * ngettext.c: Likewise.
917 * textdomain.c: Likewise.
918 * bindtextdom.c: Likewise.
919 * plural-exp.h: Likewise.
920 * os2compat.c: Likewise.
921 * intl-compat.c: Likewise.
923 2002-04-24 Bruno Haible <bruno@clisp.org>
925 * gettext-0.11.2 released.
927 2002-04-24 Bruno Haible <bruno@clisp.org>
929 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:1:0.
931 2002-04-19 Bruno Haible <bruno@clisp.org>
933 * gettextP.h (attribute_hidden): Define as empty macro if not
936 2002-04-09 Ulrich Drepper <drepper@redhat.com>
938 * dcngettext.c [_LIBC]: Use INTUSE for __dcngettext.
939 * dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE.
940 * ngettext.c: Likewise.
941 * l10nflist.c [_LIBC]: Use INTUSE for __argz_count and
944 2002-04-08 Ulrich Drepper <drepper@redhat.com>
946 * dcgettext.c (__dcgettext): Use INTDEF to define alias.
947 * dgettext.c: Call __dcgettext_internal instead of __dcgettext.
948 * gettext.c: Likewise.
950 2002-03-12 Ulrich Drepper <drepper@redhat.com>
952 * plural-exp.h (attribute_hidden): Define as empty macro if not
954 (GERMANIC_PLURAL): Declare as hidden.
955 * dcigettext.c (_nl_default_default_domain): Define as hidden.
956 (_nl_current_default_domain): Likewise
957 (_nl_state_lock): Likewise.
958 * textdomain.c (_nl_default_default_domain): Declare as hidden.
959 (_nl_current_default_domain): Likewise
960 (_nl_state_lock): Likewise.
961 * bindtextdom.c (_nl_state_lock): Likewise.
963 2002-03-15 Andrew Zabolotny <zap@cobra.ru>
965 * os2compat.h: Use prefix _nlos2 instead of _os2, to avoid any
966 possible name clashes.
967 * os2compat.c: Likewise.
969 2002-03-15 Bruno Haible <bruno@clisp.org>
971 * libgnuintl.h (LC_MESSAGES): Don't define on Solaris 2.5, to avoid
973 Reported by Stephen Gildea <gildea@stop.mail-abuse.org>.
975 2002-03-12 Bruno Haible <bruno@clisp.org>
977 * gettext-0.11.1 released.
979 2002-02-15 Bruno Haible <bruno@clisp.org>
981 * config.charset [msdosdjgpp]: For Russian, use CP866.
983 2002-02-14 Andrew Zabolotny <zap@cobra.ru>
985 * os2compat.c (_nl_default_dirname__): Renamed from
988 2002-02-10 Bruno Haible <bruno@clisp.org>
990 * localename.c: Change copyright notice from GPL to LGPL.
991 * eval-plural.h: Likewise.
993 2002-02-11 Bruno Haible <bruno@clisp.org>
995 * config.charset: Add support for NetBSD.
997 2002-01-31 Bruno Haible <bruno@clisp.org>
999 * gettext-0.11 released.
1001 2002-01-31 Bruno Haible <bruno@clisp.org>
1003 * eval-plural.h: Renamed from plural-eval.c.
1004 * dcigettext.c: Include eval-plural.h instead of plural-eval.c.
1005 * Makefile.in (COMHDRS): Remove plural-eval.c, add eval-plural.h.
1006 (DISTFILES.obsolete): Add plural-eval.c.
1008 2002-01-24 Bruno Haible <bruno@clisp.org>
1010 * Makefile.in (libintl.la): Use @LTLIBICONV@ instead of @LIBICONV@.
1012 2002-01-10 Andrew Zabolotny <zap@cobra.ru>
1013 Bruno Haible <bruno@clisp.org>
1015 * dcigettext.c (_nl_default_dirname): On OS/2, declare, not define.
1016 * localcharset.c: Rework OS/2 support.
1017 * config.charset: Add OS/2 support.
1018 * os2compat.c: Renamed from os2.c.
1019 (_nl_default_dirname): Define here.
1020 * os2compat.h: Moved here from ../os2/.
1022 * Makefile.in (COMHDRS): Add os2compat.h.
1023 (COMSRCS): Add os2compat.c, remove os2.c.
1025 2002-01-05 Bruno Haible <bruno@clisp.org>
1027 * Makefile.in (libintl.la): Add -lc. Needed on AIX.
1029 2002-01-02 Bruno Haible <bruno@clisp.org>
1031 * loadmsgcat.c (_nl_init_domain_conv): Convert extern declaration to
1034 2002-01-02 Bruno Haible <bruno@clisp.org>
1036 * plural.y: Fix %expect count.
1038 2001-12-23 Bruno Haible <bruno@clisp.org>
1040 * os2.c (os2_initialize): Use LOCALEDIR_MAX macro.
1042 2001-12-21 Bruno Haible <bruno@clisp.org>
1044 * localcharset.c (ISSLASH): Provide definition for DOS-like systems.
1046 2001-12-21 Bruno Haible <bruno@clisp.org>
1048 * libgettext.h: Moved to ../lib/gettext.h.
1049 * Makefile.in (HEADERS): Remove libgettext.h.
1050 (DISTFILES.obsolete): Add libgettext.h.
1052 2001-12-21 Bruno Haible <bruno@clisp.org>
1054 * gmo.h: Renamed from gettext.h.
1055 * gettext.h: Remove file.
1056 * gettextP.h: Update accordingly.
1057 * loadmsgcat.c: Likewise.
1058 * Makefile.in (COMHDRS): Add gmo.h, remove gettext.h.
1059 (DISTFILES.obsolete): Add gettext.h.
1060 Update dependencies.
1062 2001-12-18 Bruno Haible <bruno@clisp.org>
1064 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:0:0.
1065 Used to force an soname of at least libintl.so.2 on Solaris, which
1066 already has a different libintl.so.1 in /usr/lib.
1068 2001-12-15 Andrew Zabolotny <zap@cobra.ru>
1069 Bruno Haible <bruno@clisp.org>
1071 * osdep.c: New file.
1073 * dcigettext.c (DCIGETTEXT): Add backward compatibility support for
1075 * localcharset.c: Add OS/2 support.
1076 * localealias.c (_nl_expand_alias): Initialize locale_alias_path once,
1078 * Makefile.in (COMSRCS): Add osdep.c, os2.c.
1079 (OBJECTS): Add osdep.$lo.
1081 2001-12-12 Bruno Haible <bruno@clisp.org>
1083 * libgettext.h [!ENABLE_NLS]: Cast all function results to
1085 Reported by Alexandre Duret-Lutz <duret_g@lrde.epita.fr>.
1087 2001-12-03 Bruno Haible <bruno@clisp.org>
1089 * Makefile.in (install-exec): Don't create an empty libdir.
1090 (installdirs): Update accordingly.
1092 2001-11-30 Bruno Haible <bruno@clisp.org>
1094 * plural-exp.h (plural_eval): Add back declaration.
1095 * Makefile.in (OBJECTS): Remove plural-eval.$lo.
1096 (COMSRCS): Remove plural-eval.c.
1097 (COMHDRS): Add plural-eval.c.
1098 (plural-eval.$lo): Remove dependency.
1099 (dcigettext.$lo): Depend on plural-eval.c.
1101 2001-11-29 Bruno Haible <bruno@clisp.org>
1103 * gettextP.h (_nl_locale_name): Don't declare inside glibc.
1104 * localename.c (_nl_locale_name): Remove _LIBC conditional.
1106 2001-11-27 Ulrich Drepper <drepper@redhat.com>
1108 * dcigettext.c (guess_category_value): Inside glibc, use setlocale
1109 directly, not _nl_locale_name.
1111 2001-11-27 Ulrich Drepper <drepper@redhat.com>
1113 * loadmsgcat.c (_nl_init_domain_conv): Modify #if expression.
1115 2001-11-27 Ulrich Drepper <drepper@redhat.com>
1117 * plural-eval.c (plural_eval): Rename back from PLURAL_EVAL.
1118 * plural-exp.h (PLURAL_EVAL): Remove declaration.
1119 * dcigettext.c Include plural-eval.c.
1120 (plural_lookup): Call plural_eval instead of PLURAL_EVAL.
1122 2001-11-22 Bruno Haible <bruno@clisp.org>
1124 * plural-exp.h (GERMANIC_PLURAL): New declaration.
1125 * plural-exp.c (GERMANIC_PLURAL): Renamed from germanic_plural.
1126 * loadmsgcat.c (_nl_unload_domain): Update.
1128 2001-07-17 Ulrich Drepper <drepper@redhat.com>
1130 * localealias.c (read_alias_file): Disable implicit locking
1131 for the stream. Use _unlocked functions for glibc.
1133 2001-11-11 Bruno Haible <haible@clisp.cons.org>
1135 * Makefile.in (dist): Avoid using hard links, because the automake-1.5
1136 generated toplevel 'distdir' target chmods all the distributed files.
1138 2001-11-10 Bruno Haible <haible@clisp.cons.org>
1140 * libgnuintl.h (_INTL_PARAMS): Renamed from PARAMS, to avoid polluting
1141 the user's namespace.
1142 Also test for __GNUC__, __SUNPRO_C and __PROTOTYPES because on
1143 64-bit Solaris, we need prototypes although __STDC__ is often defined
1144 to 0. __GNUC__ covers GCC, __SUNPRO_C covers Sun cc, regardless of
1145 compilation flags. __PROTOTYPES covers other compilers when compiling
1146 programs using autoconf's AC_C_PROTOTYPES.
1147 * gettextP.h (PARAMS): Also test for __SUNPRO_C, because 64-bit Solaris
1148 cc needs prototypes although it defines __STDC__ to 0 by default.
1149 Also test for __cplusplus and __PROTOTYPES, just for consistency with
1151 * hash-string.h (PARAMS): Likewise.
1152 * loadinfo.h (PARAMS): Likewise.
1153 * plural-exp.h (PARAMS): Likewise.
1155 2001-10-31 Bruno Haible <haible@clisp.cons.org>
1157 * plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
1159 2001-10-31 Bruno Haible <haible@clisp.cons.org>
1161 * COPYING.LIB-2.0: Renamed from COPYING.LIB-2.
1162 * Makefile.in (DISTFILES.gettext, install-data, uninstall): Update.
1163 (DISTFILES.obsolete): Add COPYING.LIB-2.
1165 2001-10-09 Bruno Haible <haible@clisp.cons.org>
1167 * localcharset.c (getc): Define as getc_unlocked if available.
1169 2001-09-27 Bruno Haible <haible@clisp.cons.org>
1171 * Makefile.in (install-strip, installdirs): New rules.
1173 2001-09-24 Bruno Haible <haible@clisp.cons.org>
1175 * localename.c: New file, integrating a function from
1176 Tor Lillqvist <tml@iki.fi>.
1177 * gettextP.h: New declaration.
1178 * dcigettext.c (guess_category_value): Call _nl_locale_name.
1179 * Makefile.in (COMSRCS): Add localename.c.
1180 (OBJECTS): Add localename.$lo.
1182 2001-09-22 Bruno Haible <haible@clisp.cons.org>
1184 * plural-eval.c: New file, extracted from dcigettext.c.
1185 * plural-exp.h (PLURAL_EVAL): New declaration.
1186 * dcigettext.c (plural_eval): Remove function, moved to plural-eval.c.
1187 (plural_lookup): Call PLURAL_EVAL instead of plural_eval.
1188 * Makefile.in (COMSRCS): Add plural-eval.c.
1189 (OBJECTS): Add plural-eval.$lo.
1191 2001-09-22 Bruno Haible <haible@clisp.cons.org>
1193 * plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that don't
1194 start with a digit; nplurals must be positive.
1196 2001-10-20 Bruno Haible <haible@clisp.cons.org>
1198 Assume strchr() exists. (Without it, explodename.c wouldn't link
1200 * dcigettext.c (strchr): Remove fallback definition; it conflicts with
1201 the variable 'index' in plural_lookup.
1202 * l10nflist.c (strchr): Likewise.
1203 * localealias.c (strchr): Likewise.
1205 2001-09-24 Bruno Haible <haible@clisp.cons.org>
1207 * loadmsgcat.c (_nl_init_domain_conv): Also enable transliteration
1208 when building on a glibc system but outside glibc.
1210 2001-09-02 Bruno Haible <haible@clisp.cons.org>
1212 * plural-exp.h: New file, extracted from gettextP.h.
1213 * plural-exp.c: New file, extracted from loadmsgcat.c.
1214 * gettextP.h (struct expression, struct parse_args,
1215 __gettext_free_exp, __gettextparse): Move to plural-exp.h.
1216 * loadmsgcat.c: Include plural-exp.h.
1217 (PLURAL_PARSE): Move macro to plural-exp.h.
1218 (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
1220 (_nl_load_domain): Move plural handling code to plural-exp.c. Call
1221 EXTRACT_PLURAL_EXPRESSION.
1222 * dcigettext.c: Include plural-exp.h.
1223 * plural.y: Include plural-exp.h, not gettextP.h.
1224 (FREE_EXPRESSION): Move macro to plural-exp.h.
1225 * Makefile.in (DEFS): Define IN_LIBINTL.
1226 (COMHDRS): Add plural-exp.h.
1227 (COMSRCS): Add plural-exp.c.
1228 (OBJECTS): Add plural-exp.$lo.
1229 Update dependencies.
1231 2001-07-28 Bruno Haible <haible@clisp.cons.org>
1233 * l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, isdigit,
1234 tolower argument to 'unsigned char'.
1235 * loadmsgcat.c (_nl_load_domain): Cast isspace argument to
1237 * localealias.c (read_alias_file): Cast isspace argument to
1240 2001-07-23 Bruno Haible <haible@clisp.cons.org>
1242 * gettext.h: Assume <limits.h> exists.
1244 2001-09-13 Bruno Haible <haible@clisp.cons.org>
1246 * gettext-0.10.40 released.
1248 2001-07-11 Ulrich Drepper <drepper@redhat.com>
1250 * locale.alias: Use he language code for hebrew, not iw.
1252 2001-09-13 Bruno Haible <haible@clisp.cons.org>
1254 * *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL.
1255 This is a reaction to a blackmail from the GNOME project which
1256 threatened to distribute an LGPLed clone of libintl.
1257 * COPYING.LIB-2, COPYING.LIB-2.1: New files.
1258 * Makefile.in (DISTFILES.gettext): Add them.
1259 (install-data): Install them.
1260 (uninstall): Uninstall them.
1262 2001-07-24 Bruno Haible <haible@clisp.cons.org>
1264 * gettext-0.10.39 released.
1266 2001-06-24 Bruno Haible <haible@clisp.cons.org>
1268 * config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
1269 Change canonical name of SJIS to SHIFT_JIS.
1271 2001-06-12 Bruno Haible <haible@clisp.cons.org>
1273 * dcigettext.c (DCIGETTEXT): Release the lock before returning.
1275 2001-04-30 Bruno Haible <haible@clisp.cons.org>
1277 Silence "gcc -Wall -Wwrite-strings" warnings.
1278 * localcharset.c (charset_aliases): Change type to 'const char *'.
1279 (get_charset_aliases): Change type of 'cp' to 'const char *'.
1281 2001-05-23 Bruno Haible <haible@clisp.cons.org>
1283 * gettext-0.10.38 released.
1285 2001-05-22 Bruno Haible <haible@clisp.cons.org>
1287 * Makefile.in (install-data): Install plural.c as well.
1288 (uninstall): Uninstall plural.c as well.
1290 2001-05-18 Bruno Haible <haible@clisp.cons.org>
1292 * Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute
1293 file in either current directory or $(srcdir), whichever exists.
1295 2001-05-11 Bruno Haible <haible@clisp.cons.org>
1297 * Makefile.in (install-exec): Don't install charset.alias on glibc 2.1
1300 2001-04-30 Bruno Haible <haible@clisp.cons.org>
1302 * dcigettext.c (getuid, getgid, geteuid, getegid): Provide default
1303 definitions. Needed for mingw32.
1305 2001-04-19 Bruno Haible <haible@clisp.cons.org>
1307 * gettext-0.10.37 released.
1309 2001-04-19 Bruno Haible <haible@clisp.cons.org>
1311 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0.
1313 2001-04-19 Bruno Haible <haible@clisp.cons.org>
1315 * loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when
1316 the libiconv version is smaller than 1.5.
1318 2001-04-09 Bruno Haible <haible@clisp.cons.org>
1320 * loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined.
1321 Apple's MacOS X compiler has not all the features that the regular
1322 GCC with the same version number has.
1324 2001-04-07 Bruno Haible <haible@clisp.cons.org>
1326 * gettextP.h (struct loaded_domain): Add codeset_cntr field.
1327 (struct binding): Add codeset_cntr field.
1328 (_nl_load_domain): Add domainbinding argument.
1329 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1330 (_nl_find_msg): New declaration, moved here from loadinfo.h.
1331 * loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1332 (_nl_make_l10nflist): Remove domainbinding argument.
1333 (_nl_find_msg): Move declaration to gettextP.h.
1334 * bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0.
1335 Increment it when ->codeset is changed.
1336 * dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1337 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
1338 if domainbinding->codeset_cntr has been incremented.
1339 * finddomain.c (_nl_find_domain): Don't pass domainbinding to
1340 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
1341 * l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1342 * loadmsgcat.c (_nl_init_domain_conv): New function, extracted from
1343 _nl_load_domain. Append //TRANSLIT also when using libiconv.
1344 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1345 (_nl_load_domain): Add domainbinding argument. Call
1346 _nl_init_domain_conv.
1347 (_nl_unload_domain): Call _nl_free_domain_conv.
1349 2001-04-09 Bruno Haible <haible@clisp.cons.org>
1351 * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2
1354 2001-04-04 Bruno Haible <haible@clisp.cons.org>
1356 * dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.
1358 2001-04-04 Bruno Haible <haible@clisp.cons.org>
1360 * Makefile.in (libdir, includedir, datadir): Use the autoconf
1361 determined value, in order to respect the configure arguments.
1362 (gettextsrcdir): Use $(datadir), not @datadir@.
1364 2001-03-29 Bruno Haible <haible@clisp.cons.org>
1366 * gettext-0.10.36 released.
1368 2001-03-25 Bruno Haible <haible@clisp.cons.org>
1370 * Makefile.in (install-data): Set execution bits on installed
1373 2001-03-23 Bruno Haible <haible@clisp.cons.org>
1375 * Makefile.in (YACC): Use @INTLBISON@ instead of bison.
1377 2001-03-21 Bruno Haible <haible@clisp.cons.org>
1379 * dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
1380 chokes on empty macro arguments.
1381 * plural.y: Add #pragma for alloca on AIX 3.
1383 2001-03-20 Bruno Haible <haible@clisp.cons.org>
1385 * Makefile.in (DISTFILES.generated): New variable.
1386 (DISTFILES.gettext): Remove plural.c.
1387 (dist): Use DISTFILES.generated.
1388 (YACC): Use "bison -y" instead of @YACC@.
1389 Needed for "make dist" to work in normal packages.
1391 2001-03-20 Bruno Haible <haible@clisp.cons.org>
1393 * Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate
1394 the files to be distributed through a recursive 'make' call.
1396 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1398 * gettextP.h (struct expression): Add operators lnot, less_than,
1399 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1400 union by a 'nargs' counter and an 'args[]' array.
1401 * plural.y: Don't include stdarg.h.
1402 (new_exp): New function.
1403 (new_exp_0, new_exp_2, new_exp_3): Rewritten to call new_exp.
1404 (new_exp_1): New function.
1405 ('?' ':'): Make right-associative.
1406 (EQUOP2): New token, replaces '=' and '!'.
1407 (CMPOP2): New token.
1408 (ADDOP2): New token, replaces '+' and '-'.
1409 (MULOP2): New token, replaces '*', '/' and '%'.
1411 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1412 (start): Call YYABORT here.
1413 (FREE_EXPRESSION): Update.
1414 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1415 Update for new token symbols.
1416 * loadmsgcat.c (plvar, plone, germanic_plural, init_germanic_plural):
1418 * dcigettext.c (_nl_find_msg): Optimize for space.
1419 (plural_eval): Recognize comparison and '!' operators. Optimize for
1422 * dcigettext.c (transcmp): New declaration.
1424 2001-03-10 Bruno Haible <haible@clisp.cons.org>
1426 * Makefile.in (libintl.la): Pass -liconv and flag -no-undefined.
1427 Needed on platforms like BeOS.
1429 * Makefile.in (all-no-yes): Depend on libgnuintl.$la, not libintl.$la.
1430 (libgnuintl.a, libgnuintl.la): New targets. Needed for linking
1431 ../tests/tstgettext on systems which have gettext() in libintl.so.
1433 * localcharset.c (locale_charset): Allow wildcard syntax. Resolve
1434 alias also if codeset is empty.
1435 * config.charset (BeOS): Use wildcard syntax.
1437 * loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL
1440 2001-03-09 Bruno Haible <haible@clisp.cons.org>
1442 * config.charset: Update from libiconv-1.6.
1443 * localcharset.c: Likewise.
1445 2001-02-25 Ulrich Drepper <drepper@redhat.com>
1447 * locale.alias: Don't use nb_NO but define aliases for it.
1449 2001-01-26 Ulrich Drepper <drepper@redhat.com>
1451 * loadmsgcat.c: Include <locale.h> for _LIBC.
1453 2001-03-09 Bruno Haible <haible@clisp.cons.org>
1455 * dcigettext.c (transmem_block_t): Change to unsigned char, to avoid
1457 (_nl_find_msg): Add casts to avoid compiler warnings.
1459 2001-03-09 Bruno Haible <haible@clisp.cons.org>
1461 * Makefile.in (DISTFILES.common): Remove ChangeLog.
1462 (DISTFILES.obsolete): New variable.
1463 (install-data): Install ChangeLog.inst as ChangeLog. Remove the files
1464 listed in DISTFILES.obsolete.
1465 (uninstall): Simplify.
1466 (distclean): Remove ChangeLog.inst.
1467 (dist): Mention ChangeLog explicitly.
1469 2001-03-04 Bruno Haible <haible@clisp.cons.org>
1471 * dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH,
1472 IS_PATH_WITH_DIR): New macros.
1473 (DCIGETTEXT): Use IS_ABSOLUTE_PATH and IS_PATH_WITH_DIR. Increment
1474 path_max proportionally.
1475 * loadinfo.h (PATH_SEPARATOR): New macro.
1476 * l10nflist.c (_nl_make_l10nflist): Use PATH_SEPARATOR instead of ':'.
1477 * localealias.c (_nl_expand_alias): Likewise.
1478 * libgnuintl.h (gettext) [DJGPP]: Define as a macro as well.
1480 2001-03-06 Bruno Haible <haible@clisp.cons.org>
1482 * libgnuintl.h (LC_MESSAGES): Don't define on Solaris.
1484 2001-02-24 Bruno Haible <haible@clisp.cons.org>
1486 * dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1488 2001-02-05 Bruno Haible <haible@clisp.cons.org>
1490 * libgnuintl.h (LC_MESSAGES): Provide a default value.
1492 2001-01-30 Bruno Haible <haible@clisp.cons.org>
1494 * config.charset: Update for FreeBSD 4.2.
1496 2001-01-21 Bruno Haible <haible@clisp.cons.org>
1499 * Makefile.in (l): Use INTL_LIBTOOL_SUFFIX_PREFIX instead of l.
1500 (all-no): When USE_INCLUDED_LIBINTL is 'no' but BUILD_INCLUDED_LIBINTL
1501 is 'yes', still build libintl.$la because the testsuite needs it.
1502 (libintl.la): Add $(CPPFLAGS) $(CFLAGS) $(XCFLAGS). Linking via $(CC)
1503 must use all $(CFLAGS).
1504 (install-exec): Use libtool to install libintl.$la.
1505 (uninstall): Use libtool to uninstall libintl.$la.
1506 (mostlyclean): Remove *.la and the .libs subdir.
1507 * intl-compat.c: Reorder. Add comment.
1509 2001-01-20 Bruno Haible <haible@clisp.cons.org>
1511 * loadmsgcat.c (O_BINARY): Define on platforms that don't have it.
1512 (_nl_load_domain): Open the catalog file in binary mode.
1514 2001-01-24 Bruno Haible <haible@clisp.cons.org>
1516 * gettextP.h (SWAP): Remove declaration, to work around a compilation
1517 failure on alphaev5-cray-unicosmk2.0.5.X.
1519 2001-01-15 Bruno Haible <haible@clisp.cons.org>
1521 * dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid
1524 2001-01-07 Bruno Haible <haible@clisp.cons.org>
1526 * gettextP.h (__gettextdebug): Remove declaration.
1527 (gettext_free_exp__, gettextparse__): New non-libc declarations.
1528 * plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, not
1529 __gettextparse, __gettext_free_exp.
1530 * loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1532 2001-01-07 Bruno Haible <haible@clisp.cons.org>
1534 * libgnuintl.h: Renamed from intlh.inst.in.
1535 Remove comment about __builtin_constant_p.
1536 (gettext): Use NULL.
1537 * libgettext.h: Completely rewritten. Now a conditional wrapper around
1538 <libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove
1540 * gettextP.h: Include gettext.h, for nls_uint32.
1541 (gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__,
1542 bind_textdomain_codeset__): New declarations, from old libgettext.h.
1543 * gettext.h: Don't include <stdio.h>.
1544 * Makefile.in (HEADERS): Add libgnuintl.h.
1545 (DISTFILES.gettext): Remove intlh.inst.in.
1546 (all-yes): Depend on libintl.h instead of intlh.inst.
1547 (libintl.h): New target. Create as a copy of libgnuintl.h.
1548 (intlh.inst): Remove target.
1549 (install-exec): Update.
1550 ($(OBJECTS): Depend on libgnuintl.h, not libgettext.h.
1551 (mostlyclean): Remove libintl.h instead of intlh.inst.
1552 (dist-libc): Remove target.
1553 * bindtextdom.c: Include libgnuintl.h instead of libgettext.h. Don't
1555 * dcgettext.c: Likewise.
1556 * dcigettext.c: Likewise.
1557 * dcngettext.c: Likewise.
1558 * dngettext.c: Likewise.
1559 * finddomain.c: Likewise.
1560 * ngettext.c: Likewise.
1561 * textdomain.c: Likewise.
1562 * dgettext.c: Include libgnuintl.h instead of libgettext.h. Include
1564 * gettext.c: Likewise.
1565 * intl-compat.c: Likewise.
1566 * localealias.c: Don't include gettext.h.
1567 * plural.y: Likewise.
1569 2001-01-07 Bruno Haible <haible@clisp.cons.org>
1571 Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
1572 * intlh.inst.in: Likewise.
1573 * libgettext.h: Likewise.
1574 * gettextP.h: Likewise.
1575 * bindtextdom.c: Likewise.
1576 * dcigettext.c: Likewise.
1577 * dgettext.c: Likewise.
1578 * dngettext.c: Likewise.
1579 * explodename.c: Likewise.
1580 * finddomain.c: Likewise.
1581 * gettext.c: Likewise.
1582 * l10nflist.c: Likewise.
1583 * loadmsgcat.c: Likewise.
1584 * localealias.c: Likewise.
1585 * ngettext.c: Likewise.
1586 * textdomain.c: Likewise.
1588 2001-01-06 Bruno Haible <haible@clisp.cons.org>
1590 Remove catgets fallback code.
1591 - It does not handle message clash prevention through domains and
1593 - It does not handle message catalog inheritance and the LANGUAGE
1594 environment variable.
1595 - It does not handle locale aliases.
1596 - It does not handle automatic charset conversion.
1597 - It does not handle plural form handling and ngettext().
1598 - It uses a slow string to integer conversion.
1599 - It is sensitive against installation problems.
1600 * cat-compat.c: Remove file.
1601 * po2msg.sin, po2tbl.sin: Remove files.
1602 * Makefile.in (datadir): Assume DATADIRNAME = share.
1603 (SOURCES): Remove cat-compat.c.
1604 (DISTFILES.common): Remove po2msg.sin, po2tbl.sin.
1605 (distclean): No need to remove po2msg.sed, po2tbl.sed.
1606 (../po/cat-id-tbl.$lo): Remove rule.
1607 * libgettext.h (_msg_ent): Remove.
1608 (_msg_tbl, _msg_tbl_length): Remove declarations.
1609 (gettext, dgettext, ngettext, dngettext): Don't depend on
1612 2001-01-04 Ulrich Drepper <drepper@redhat.com>
1614 * plural.y (yylex): Minimal improvement in number scanner.
1616 2001-01-02 Ulrich Drepper <drepper@redhat.com>
1618 * dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value
1619 is ignored if the selected locale is the C locale.
1621 2000-11-20 Ulrich Drepper <drepper@redhat.com>
1623 * dcigettext.c (transcmp): Make s1 and s2 const.
1624 * loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to
1627 2000-11-09 Ulrich Drepper <drepper@redhat.com>
1629 * locale.alias: Add thai.
1630 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
1632 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1634 * Makefile.in (INCLUDES): Remove reference to $(top_srcdir)/lib.
1635 (.SUFFIXES): Put .c before .y, so that Solaris "make" uses the .c.o
1636 rule, not the builtin .y.o rule.
1637 (.y.c): Use $< instead of $^. $^ is not supported by SUSV2 "make"
1638 specification. Remove $*.h explicitly: we don't need plural.h.
1639 * gettextP.h: Include <stddef.h>.
1640 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1642 * bindtextdom.c (offsetof): Provide fallback for platforms that lack
1644 (set_binding_values): Convert prototype to K&R C syntax.
1645 * cat-compat.c: Include stdlib.h, string.h whenever possible.
1646 * dcigettext.c: Ignore the value of C_ALLOCA, because libintl.a
1647 must not depend on external .o files.
1648 (offsetof): Provide fallback for platforms that lack it, like SunOS4.
1649 (transcmp): Convert to K&R C syntax.
1650 * explodename.c Include stdlib.h whenever possible.
1651 (_nl_find_language): Convert to K&R C syntax.
1652 * finddomain.c: Include stdlib.h whenever possible.
1653 * l10nflist.c Include stdlib.h whenever possible.
1654 (_nl_normalize_codeset): Use tolower, not _tolower.
1655 * loadmsgcat.c: Include stdlib.h whenever possible.
1656 Include headers needed for alloca().
1658 (_nl_load_domain): Add fallback code for platforms lacking strtoul,
1659 like SunOS4. Add fallback code for platforms lacking alloca.
1660 * localealias.c: Include stdlib.h whenever possible.
1661 (ADD_BLOCK, FREE_BLOCK): Remove macros.
1663 (read_alias_file): Simplify fallback code for platforms lacking alloca.
1664 * plural.y (new_exp_0, new_exp_2, new_exp_3): New functions.
1665 (new_exp): Remove function.
1666 (__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax.
1667 * textdomain.c: Include stdlib.h whenever possible.
1668 * gettext.c: Likewise.
1669 * ngettext.c: Likewise.
1670 * localcharset.c (volatile): Define to empty if not using ANSI C.
1672 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1674 * Makefile.in (mostlyclean): Remove intlh.inst, charset.alias,
1675 ref-add.sed, ref-del.sed.
1676 (distclean): In the gettext package, remove VERSION.
1678 2001-01-01 Bruno Haible <haible@clisp.cons.org>
1680 Finish implementation of plural form handling.
1681 * dcigettext.c (known_translation_t): Rename 'domain' field to
1682 'domainname'. Remove 'plindex' field. Add 'domain' and
1683 'translation_length' fields.
1684 (transcmp): Don't compare 'plindex' fields.
1685 (plural_lookup): New function.
1686 (DCIGETTEXT): Change cache handing in the plural case. Don't call
1687 plural_eval before the translation and its catalog file have been
1688 found. Remove plindex from cache key. Add 'translation_length' and
1689 'domain' to cache result.
1690 (_nl_find_msg): Remove index argument, return length of translation
1691 to the caller instead. Weaken comparison of string lengths, to account
1692 for plural entries. Call iconv() on the entire result string, not
1693 only on the portion needed so far.
1694 * loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
1696 * loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
1698 * intl-compat.c (dcngettext, dngettext, ngettext): New functions.
1699 * libgettext.h (ngettext__, dngettext__, dcngettext__): New
1701 (ngettext, dngettext): Add missing macro argument.
1703 * intlh.inst.in (ngettext, dngettext): Add missing macro argument.
1705 2000-12-31 Bruno Haible <haible@clisp.cons.org>
1707 * gettextP.h (ZERO): New macro.
1708 (struct binding): Always use ZERO.
1709 * bindtextdom.c (set_binding_values): Use offsetof, not sizeof.
1710 Include <stddef.h> whenever possible.
1711 * dcigettext.c (ZERO): Remove macro.
1712 (struct transmem_list): Use ZERO.
1713 (DCIGETTEXT): Use offsetof, not sizeof.
1714 Include <stddef.h> whenever possible.
1716 * config.charset: Update from libiconv-1.5.1.
1717 * localcharset.c: Likewise.
1719 2000-12-30 Bruno Haible <haible@clisp.cons.org>
1721 * locale.alias: New file, moved here from ../misc/locale.alias. Add
1722 "Packages using this file" line.
1723 * Makefile.in (DISTFILES.common): Add locale.alias.
1724 (install-exec, uninstall): Install/deinstall locale.alias.
1726 2000-10-30 Ulrich Drepper <drepper@redhat.com>
1728 * dcigettext.c (guess_category_value): For libc always use the
1731 2000-10-20 Ulrich Drepper <drepper@redhat.com>
1733 * libintl.glibc (ngettext macro): Add missing parameter.
1734 (dngettext macro): Likewise.
1736 2000-10-14 Ulrich Drepper <drepper@redhat.com>
1738 * localealias.c (read_alias_file): Update string pointers in map[]
1739 if realloc() changed the values.
1740 Patch by Jakub Jelinek <jakub@redhat.com>.
1742 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1744 * loadmsgcat.c: Use *stat64 instead of *stat internally.
1746 * dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings
1749 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1751 * dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to
1752 determine invalid locale name.
1754 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1756 * dcigettext.c: Unify use of function aliases to make more compact
1759 * loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1761 * plural.y (new_exp): Take number of optional parameters in second
1762 parameter. Test for correct number of parameters and free correctly
1763 in case of failure. Adjust all callers.
1764 (yylex): Fix handling of '\0'. Allow ';' as terminator character.
1766 2000-07-14 Bruno Haible <haible@clisp.cons.org>
1768 * dcigettext.c (dcigettext): Call plural_eval on all platforms, not
1769 only those having tsearch.
1771 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1773 * dcigettext.c (_nl_find_msg): Correct reallocation of buffers in
1774 case the translation is too large. Remember allocated memory blocks
1776 (free_mem): Free memory for translations.
1778 2000-06-16 Ulrich Drepper <drepper@redhat.com>
1780 * loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new
1781 parameter to always enable transliteration.
1783 1998-10-20 Paul Eggert <eggert@twinsun.com>
1785 * po2tbl.sin: Escape trigraphs.
1787 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1789 * finddomain.c: Remove unneeded includes.
1791 2000-10-12 Bruno Haible <haible@clisp.cons.org>
1793 * localealias.c (memcpy): Return first argument, just like the real
1794 memcpy function does.
1795 * bindtextdom.c (memcpy): Likewise.
1796 * finddomain.c (memcpy): Likewise.
1797 * l10nflist.c (memcpy): Likewise.
1798 * textdomain.c (memcpy): Likewise.
1799 From Paul Eggert <eggert@twinsun.com>.
1801 2000-09-29 Bruno Haible <haible@clisp.cons.org>
1803 * libintl.glibc: Update from current glibc version.
1805 2000-09-18 Bruno Haible <haible@clisp.cons.org>
1807 * dcigettext.c: Outside libc, use local variable names that don't
1808 clash with those in libc.
1809 * bindtextdom.c: Likewise.
1810 * textdomain.c: Likewise.
1812 2000-07-31 Bruno Haible <haible@clisp.cons.org>
1814 * plural.y: Include config.h. Needed to define 'inline' away for C
1815 compilers that don't support it.
1816 (yylex): Don't use gcc specific case range syntax.
1817 * loadmsgcat.y (INIT_GERMANIC_PLURAL): New macro, for old compilers.
1819 2000-07-28 Bruno Haible <haible@clisp.cons.org>
1821 Simplification: In all cases where $(gnulocaledir) is used, it is
1822 identical to $(localedir).
1823 * Makefile.in (DEFS): Remove setting for GNULOCALEDIR.
1824 * dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1826 2000-07-28 Bruno Haible <haible@clisp.cons.org>
1828 * xopen-msg.sed: Renamed to ...
1829 * po2msg.sin: ... here.
1830 * linux-msg.sed: Remove file.
1831 * Makefile.in (DISTFILES.common): Update.
1833 2000-07-28 Bruno Haible <haible@clisp.cons.org>
1835 * po2tbl.sed.in: Renamed to ...
1836 * po2tbl.sin: ... here.
1837 * Makefile.in (DISTFILES.common): Update.
1839 2000-07-28 Bruno Haible <haible@clisp.cons.org>
1841 * Makefile.in (uninstall): Synchronize with the install target.
1842 Really remove charset.alias when its reference count drops to 0.
1844 2000-07-28 Bruno Haible <haible@clisp.cons.org>
1846 * Makefile.in (mkinstalldirs): New macro. Needed when configured with
1847 --srcdir=<relative pathname>; then ac_aux_dir will be a relative
1848 pathname rooted at the top builddir, and @MKINSTALLDIRS@ likewise.
1849 (install-exec, install-data): Use it.
1851 2000-07-26 Bruno Haible <haible@clisp.cons.org>
1853 * Makefile.in (install-exec, install-data): Use $(SHELL) for calling
1854 $(MKINSTALLDIRS), don't rely on its execution permissions.
1856 * Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables.
1857 (libintl.la): Use them.
1859 * Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR
1860 support, as recommended by GNU standards. Fix misapplied 2000-06-16
1863 2000-06-16 Bruno Haible <haible@clisp.cons.org>
1865 * Makefile.in (COMSRCS): Add localcharset.c.
1866 (OBJECTS): Add localcharset.$lo.
1867 (DISTFILES.common): Add config.charset, ref-{add,del}.sin.
1868 (DEFS): Add -DLIBDIR.
1869 (all-yes): Add charset.alias, ref-{add,del}.sed.
1870 (.SUFFIXES): Add .sin and .sed.
1871 (.sin.sed, charset.alias): New rules.
1872 (install-exec, uninstall): Install/deinstall charset.alias.
1873 * localcharset.c: New file, from fileutils-4.0u.
1874 * config.charset: New file, from fileutils-4.0u.
1875 * red-add.sin, ref-del.sin: New files, from fileutils-4.0u.
1877 * intlh.inst.in (bind_textdomain_codeset): New declaration.
1878 * libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__):
1880 (bind_textdomain_codeset) [!ENABLE_NLS]: New macro.
1881 * cat-compat.c (bind_textdomain_codeset): New function.
1882 * intl-compat.c (bind_textdomain_codeset): New function.
1884 * libgettext.h (ngettext, dngettext, dcngettext): New
1886 (dcgettext): Remove macro definition.
1887 (textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument.
1888 * intlh.inst.in (ngettext, dngettext, dcngettext): New
1890 (dcgettext): Remove macro definition.
1892 * *.h, *.c, *.y: Change copyright notice from LGPL to GPL.
1894 2000-05-21 Ulrich Drepper <drepper@redhat.com>
1896 * dcigettext.c: Fix typo in comment.
1898 2000-05-08 Andreas Jaeger <aj@suse.de>
1900 * bindtextdom.c (set_binding_values): Add prototype.
1902 2000-05-05 Bruno Haible <haible@clisp.cons.org>
1904 * dcigettext.c (alignof): New macro.
1905 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
1906 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
1909 2000-05-05 Bruno Haible <haible@clisp.cons.org>
1911 * dcigettext.c (dcigettext): Fix interpretation of tsearch
1914 2000-05-06 Ulrich Drepper <drepper@redhat.com>
1916 * dcigettext.c (DCIGETTEXT): Always define local variable `index'.
1917 (mempcpy): Correct typo in parameter list.
1919 * hash-string.h: Don't include <values.h>.
1921 * *.c, *.h, *.y: Update from glibc version.
1923 1998-04-29 Paul Eggert <eggert@twinsun.com>
1925 * Makefile.in (aliaspath): Don't put `.' at the end.
1927 1998-06-01 Ulrich Drepper <drepper@cygnus.com>
1929 * localealias.c (read_alias_file): Undo last change.
1930 * l10nflist.c (_nl_normalize_codeset): Likewise.
1931 * loadinfo.h: Likewise.
1933 1998-05-23 Ulrich Drepper <drepper@cygnus.com>
1935 * dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined.
1937 1998-05-01 08:47 Ulrich Drepper <drepper@cygnus.com>
1939 * gettext-0.10.35 released.
1941 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
1943 * intl/localealias.c (read_alias_file): Use unsigned char for
1944 local variables. Remove unused variable tp.
1945 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
1946 for type of codeset. For loosing Solaris systems.
1947 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
1948 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
1950 Patches by Jim Meyering.
1952 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
1954 * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
1955 mmap is not supported.
1957 * hash-string.h: Don't include <values.h>.
1959 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
1961 * textdomain.c: Use strdup is available.
1963 * localealias.c: Define HAVE_MEMPCPY so that we can use this
1964 function. Define and use semapahores to protect modfication of
1965 global objects when compiling for glibc. Add code to allow
1966 freeing alias table.
1968 * l10nflist.c: Don't assume stpcpy not being a macro.
1970 * gettextP.h: Define internal_function macri if not already done.
1971 Use glibc byte-swap macros instead of defining SWAP when compiled
1973 (struct loaded_domain): Add elements to allow unloading.
1975 * Makefile.in (distclean): Don't remove libintl.h here.
1977 * bindtextdomain.c: Carry over changes from glibc. Use strdup if
1980 * dcgettext.c: Don't assume stpcpy not being a macro. Mark internal
1981 functions. Add memory freeing code for glibc.
1983 * dgettext.c: Update copyright.
1985 * explodename.c: Include stdlib.h and string.h only if they exist.
1986 Use strings.h eventually.
1988 * finddomain.c: Mark internal functions. Use strdup if available.
1989 Add memory freeing code for glibc.
1991 1997-10-10 20:00 Ulrich Drepper <drepper@cygnus.com>
1993 * libgettext.h: Fix dummy textdomain and bindtextdomain macros.
1994 They should return reasonable values.
1995 Reported by Tom Tromey <tromey@cygnus.com>.
1997 1997-09-16 03:33 Ulrich Drepper <drepper@cygnus.com>
1999 * libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
2000 * intlh.inst.in: Likewise.
2001 Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
2003 * libintl.glibc: Update from current glibc version.
2005 1997-09-06 02:10 Ulrich Drepper <drepper@cygnus.com>
2007 * intlh.inst.in: Reformat copyright.
2009 1997-08-19 15:22 Ulrich Drepper <drepper@cygnus.com>
2011 * dcgettext.c (DCGETTEXT): Remove wrong comment.
2013 1997-08-16 00:13 Ulrich Drepper <drepper@cygnus.com>
2015 * Makefile.in (install-data): Don't change directory to install.
2017 1997-08-01 14:30 Ulrich Drepper <drepper@cygnus.com>
2019 * cat-compat.c: Fix copyright.
2021 * localealias.c: Don't define strchr unless !HAVE_STRCHR.
2023 * loadmsgcat.c: Update copyright. Fix typos.
2025 * l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
2026 (_nl_make_l10nflist): Handle sponsor and revision correctly.
2028 * gettext.c: Update copyright.
2029 * gettext.h: Likewise.
2030 * hash-string.h: Likewise.
2032 * finddomain.c: Remoave dead code. Define strchr only if
2035 * explodename.c: Include <sys/types.h>.
2037 * explodename.c: Reformat copyright text.
2038 (_nl_explode_name): Fix typo.
2040 * dcgettext.c: Define and use __set_errno.
2041 (guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
2044 * bindtextdom.c: Pretty printing.
2046 1997-05-01 02:25 Ulrich Drepper <drepper@cygnus.com>
2048 * dcgettext.c (guess_category_value): Don't depend on
2049 HAVE_LC_MESSAGES. We don't need the macro here.
2050 Patch by Bruno Haible <haible@ilog.fr>.
2052 * cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
2053 macro. Instead use HAVE_LOCALE_NULL and define it when using
2054 glibc, as in dcgettext.c.
2055 Patch by Bruno Haible <haible@ilog.fr>.
2057 * Makefile.in (CPPFLAGS): New variable. Reported by François
2060 Mon Mar 10 06:51:17 1997 Ulrich Drepper <drepper@cygnus.com>
2062 * Makefile.in: Implement handling of libtool.
2064 * gettextP.h: Change data structures for use of generic lowlevel
2067 Wed Dec 4 20:21:18 1996 Ulrich Drepper <drepper@cygnus.com>
2069 * textdomain.c: Put parentheses around arguments of memcpy macro
2071 * localealias.c: Likewise.
2072 * l10nflist.c: Likewise.
2073 * finddomain.c: Likewise.
2074 * bindtextdom.c: Likewise.
2075 Reported by Thomas Esken.
2077 Mon Nov 25 22:57:51 1996 Ulrich Drepper <drepper@cygnus.com>
2079 * textdomain.c: Move definition of `memcpy` macro to right
2082 Fri Nov 22 04:01:58 1996 Ulrich Drepper <drepper@cygnus.com>
2084 * finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
2085 bcopy if not already defined. Reported by Thomas Esken.
2086 * bindtextdom.c: Likewise.
2087 * l10nflist.c: Likewise.
2088 * localealias.c: Likewise.
2089 * textdomain.c: Likewise.
2091 Tue Oct 29 11:10:27 1996 Ulrich Drepper <drepper@cygnus.com>
2093 * Makefile.in (libdir): Change to use exec_prefix instead of
2094 prefix. Reported by Knut-HåvardAksnes <etokna@eto.ericsson.se>.
2096 Sat Aug 31 03:07:09 1996 Ulrich Drepper <drepper@cygnus.com>
2098 * l10nflist.c (_nl_normalize_codeset): We convert to lower case,
2099 so don't prepend uppercase `ISO' for only numeric arg.
2101 Fri Jul 19 00:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
2103 * l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
2104 definition of _GNU_SOURCE. Patch by Roland McGrath.
2106 * Makefile.in (uninstall): Fix another bug with `for' loop and
2107 empty arguments. Patch by Jim Meyering. Correct name os
2108 uninstalled files: no intl- prefix anymore.
2110 * Makefile.in (install-data): Again work around shells which
2111 cannot handle mpty for list. Reported by Jim Meyering.
2113 Sat Jul 13 18:11:35 1996 Ulrich Drepper <drepper@cygnus.com>
2115 * Makefile.in (install): Split goal. Now depend on install-exec
2117 (install-exec, install-data): New goals. Created from former
2119 Reported by Karl Berry.
2121 Sat Jun 22 04:58:14 1996 Ulrich Drepper <drepper@cygnus.com>
2123 * Makefile.in (MKINSTALLDIRS): New variable. Path to
2124 mkinstalldirs script.
2125 (install): use MKINSTALLDIRS variable or if the script is not present
2126 try to find it in the $top_scrdir).
2128 Wed Jun 19 02:56:56 1996 Ulrich Drepper <drepper@cygnus.com>
2130 * l10nflist.c: Linux libc *partly* includes the argz_* functions.
2131 Grr. Work around by renaming the static version and use macros
2134 Tue Jun 18 20:11:17 1996 Ulrich Drepper <drepper@cygnus.com>
2136 * l10nflist.c: Correct presence test macros of __argz_* functions.
2138 * l10nflist.c: Include <argz.h> based on test of it instead when
2139 __argz_* functions are available.
2140 Reported by Andreas Schwab.
2142 Thu Jun 13 15:17:44 1996 Ulrich Drepper <drepper@cygnus.com>
2144 * explodename.c, l10nflist.c: Define NULL for dumb systems.
2146 Tue Jun 11 17:05:13 1996 Ulrich Drepper <drepper@cygnus.com>
2148 * intlh.inst.in, libgettext.h (dcgettext): Rename local variable
2149 result to __result to prevent name clash.
2151 * l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
2152 get prototype for stpcpy and strcasecmp.
2154 * intlh.inst.in, libgettext.h: Move declaration of
2155 `_nl_msg_cat_cntr' outside __extension__ block to prevent warning
2156 from gcc's -Wnested-extern option.
2158 Fri Jun 7 01:58:00 1996 Ulrich Drepper <drepper@cygnus.com>
2160 * Makefile.in (install): Remove comment.
2162 Thu Jun 6 17:28:17 1996 Ulrich Drepper <drepper@cygnus.com>
2164 * Makefile.in (install): Work around for another Buglix stupidity.
2165 Always use an `else' close for `if's. Reported by Nelson Beebe.
2167 * Makefile.in (intlh.inst): Correct typo in phony rule.
2168 Reported by Nelson Beebe.
2170 Thu Jun 6 01:49:52 1996 Ulrich Drepper <drepper@cygnus.com>
2172 * dcgettext.c (read_alias_file): Rename variable alloca_list to
2173 block_list as the macro calls assume.
2174 Patch by Eric Backus.
2176 * localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
2178 (read_alias_file): Rename varriabe alloca_list to block_list as the
2180 Patch by Eric Backus.
2182 * l10nflist.c: Correct conditional for <argz.h> inclusion.
2183 Reported by Roland McGrath.
2185 * Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
2188 * Makefile.in (install): intlh.inst comes from local dir, not
2191 * Makefile.in (intlh.inst): Special handling of this goal. If
2192 used in gettext, this is really a rul to construct this file. If
2193 used in any other package it is defined as a .PHONY rule with
2196 * finddomain.c: Extract locale file information handling into
2197 l10nfile.c. Rename local stpcpy__ function to stpcpy.
2199 * dcgettext.c (stpcpy): Add local definition.
2201 * l10nflist.c: Solve some portability problems. Patches partly by
2202 Thomas Esken. Add local definition of stpcpy.
2204 Tue Jun 4 02:47:49 1996 Ulrich Drepper <drepper@cygnus.com>
2206 * intlh.inst.in: Don't depend including <locale.h> on
2207 HAVE_LOCALE_H. Instead configure must rewrite this fiile
2208 depending on the result of the configure run.
2210 * Makefile.in (install): libintl.inst is now called intlh.inst.
2211 Add rules for updating intlh.inst from intlh.inst.in.
2213 * libintl.inst: Renamed to intlh.inst.in.
2215 * localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
2216 because gcc has __buitlin_alloca.
2217 Reported by Roland McGrath.
2219 Mon Jun 3 00:32:16 1996 Ulrich Drepper <drepper@cygnus.com>
2221 * Makefile.in (installcheck): New goal to fulfill needs of
2222 automake's distcheck.
2224 * Makefile.in (install): Reorder commands so that VERSION is
2227 * Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
2229 (COMSRCS): Add l10nfile.c.
2230 (OBJECTS): Add l10nfile.o.
2231 (DISTFILES): Rename to DISTFILE.normal. Remove $(DISTFILES.common).
2232 (DISTFILE.gettext): Remove $(DISTFILES.common).
2233 (all-gettext): Remove goal.
2234 (install): If $(PACKAGE) = gettext install, otherwose do nothing. No
2235 package but gettext itself should install libintl.h + headers.
2236 (dist): Extend goal to work for gettext, too.
2237 (dist-gettext): Remove goal.
2239 * dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
2241 Sun Jun 2 17:33:06 1996 Ulrich Drepper <drepper@cygnus.com>
2243 * loadmsgcat.c (_nl_load_domain): Parameter is now comes from
2246 Sat Jun 1 02:23:03 1996 Ulrich Drepper <drepper@cygnus.com>
2248 * l10nflist.c (__argz_next): Add definition.
2250 * dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
2251 code. Use new l10nfile handling.
2253 * localealias.c [!HAVE_ALLOCA]: Add code for handling missing
2256 * l10nflist.c: Initial revision.
2258 Tue Apr 2 18:51:18 1996 Ulrich Drepper <drepper@myware>
2260 * Makefile.in (all-gettext): New goal. Same as all-yes.
2262 Thu Mar 28 23:01:22 1996 Karl Eichwalder <ke@ke.central.de>
2264 * Makefile.in (gettextsrcdir): Define using @datadir@.
2266 Tue Mar 26 12:39:14 1996 Ulrich Drepper <drepper@myware>
2268 * finddomain.c: Include <ctype.h>. Reported by Roland McGrath.
2270 Sat Mar 23 02:00:35 1996 Ulrich Drepper <drepper@myware>
2272 * finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
2273 with external declaration.
2275 Sat Mar 2 00:47:09 1996 Ulrich Drepper <drepper@myware>
2277 * Makefile.in (all-no): Rename from all_no.
2279 Sat Feb 17 00:25:59 1996 Ulrich Drepper <drepper@myware>
2281 * gettextP.h [loaded_domain]: Array `successor' must now contain up
2282 to 63 elements (because of codeset name normalization).
2284 * finddomain.c: Implement codeset name normalization.
2286 Thu Feb 15 04:39:09 1996 Ulrich Drepper <drepper@myware>
2288 * Makefile.in (all): Define to `all-@USE_NLS@'.
2289 (all-yes, all_no): New goals. `all-no' is noop, `all-yes'
2292 Mon Jan 15 21:46:01 1996 Howard Gayle <howard@hal.com>
2294 * localealias.c (alias_compare): Increment string pointers in loop
2295 of strcasecmp replacement.
2297 Fri Dec 29 21:16:34 1995 Ulrich Drepper <drepper@myware>
2299 * Makefile.in (install-src): Who commented this goal out ? :-)
2301 Fri Dec 29 15:08:16 1995 Ulrich Drepper <drepper@myware>
2303 * dcgettext.c (DCGETTEXT): Save `errno'. Failing system calls
2304 should not effect it because a missing catalog is no error.
2305 Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
2307 Tue Dec 19 22:09:13 1995 Ulrich Drepper <drepper@myware>
2309 * Makefile.in (Makefile): Explicitly use $(SHELL) for running
2312 Fri Dec 15 17:34:59 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2314 * Makefile.in (install-src): Only install library and header when
2315 we use the own implementation. Don't do it when using the
2316 system's gettext or catgets functions.
2318 * dcgettext.c (find_msg): Must not swap domain->hash_size here.
2320 Sat Dec 9 16:24:37 1995 Ulrich Drepper <drepper@myware>
2322 * localealias.c, libintl.inst, libgettext.h, hash-string.h,
2323 gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
2324 Use PARAMS instead of __P. Suggested by Roland McGrath.
2326 Tue Dec 5 11:39:14 1995 Larry Schwimmer <rosebud@cyclone.stanford.edu>
2328 * libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
2329 !_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
2331 Mon Dec 4 15:42:07 1995 Ulrich Drepper <drepper@myware>
2333 * Makefile.in (install-src):
2334 Install libintl.inst instead of libintl.h.install.
2336 Sat Dec 2 22:51:38 1995 Marcus Daniels <marcus@sysc.pdx.edu>
2338 * cat-compat.c (textdomain):
2339 Reverse order in which files are tried you load. First
2340 try local file, when this failed absolute path.
2342 Wed Nov 29 02:03:53 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
2344 * cat-compat.c (bindtextdomain): Add missing { }.
2346 Sun Nov 26 18:21:41 1995 Ulrich Drepper <drepper@myware>
2348 * libintl.inst: Add missing __P definition. Reported by Nelson Beebe.
2351 Add dummy `all' and `dvi' goals. Reported by Tom Tromey.
2353 Sat Nov 25 16:12:01 1995 François Pinard <pinard@iro.umontreal.ca>
2355 * hash-string.h: Capitalize arguments of macros.
2357 Sat Nov 25 12:01:36 1995 Ulrich Drepper <drepper@myware>
2359 * Makefile.in (DISTFILES): Prevent files names longer than 13
2360 characters. libintl.h.glibc->libintl.glibc,
2361 libintl.h.install->libintl.inst. Reported by Joshua R. Poulson.
2363 Sat Nov 25 11:31:12 1995 Eric Backus <ericb@lsid.hp.com>
2365 * dcgettext.c: Fix bug in preprocessor conditionals.
2367 Sat Nov 25 02:35:27 1995 Nelson H. F. Beebe <beebe@math.utah.edu>
2369 * libgettext.h: Solaris cc does not understand
2370 #if !SYMBOL1 && !SYMBOL2. Sad but true.
2372 Thu Nov 23 16:22:14 1995 Ulrich Drepper <drepper@myware>
2374 * hash-string.h (hash_string):
2375 Fix for machine with >32 bit `unsigned long's.
2377 * dcgettext.c (DCGETTEXT):
2378 Fix horrible bug in loop for alternative translation.
2380 Thu Nov 23 01:45:29 1995 Ulrich Drepper <drepper@myware>
2382 * po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
2383 Some further simplifications in message number generation.
2385 Mon Nov 20 21:08:43 1995 Ulrich Drepper <drepper@myware>
2387 * libintl.h.glibc: Use __const instead of const in prototypes.
2389 * Makefile.in (install-src):
2390 Install libintl.h.install instead of libintl.h. This
2391 is a stripped-down version. Suggested by Peter Miller.
2393 * libintl.h.install, libintl.h.glibc: Initial revision.
2395 * localealias.c (_nl_expand_alias, read_alias_file):
2396 Protect prototypes in type casts by __P.
2398 Tue Nov 14 16:43:58 1995 Ulrich Drepper <drepper@myware>
2400 * hash-string.h: Correct prototype for hash_string.
2402 Sun Nov 12 12:42:30 1995 Ulrich Drepper <drepper@myware>
2404 * hash-string.h (hash_string): Add prototype.
2406 * gettextP.h: Fix copyright.
2407 (SWAP): Add prototype.
2409 Wed Nov 8 22:56:33 1995 Ulrich Drepper <drepper@myware>
2411 * localealias.c (read_alias_file): Forgot sizeof.
2412 Avoid calling *printf function. This introduces a big overhead.
2413 Patch by Roland McGrath.
2415 Tue Nov 7 14:21:08 1995 Ulrich Drepper <drepper@myware>
2417 * finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
2419 * finddomain.c (stpcpy):
2420 Define substitution function local. The macro was to flaky.
2422 * cat-compat.c: Fix typo.
2424 * xopen-msg.sed, linux-msg.sed:
2425 While bringing message number to right place only accept digits.
2427 * linux-msg.sed, xopen-msg.sed: Now that the counter does not have
2428 leading 0s we don't need to remove them. Reported by Marcus
2431 * Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
2432 dependency. Reported by Marcus Daniels.
2434 * cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
2435 Generally cleanup using #if instead of #ifndef.
2437 * Makefile.in: Correct typos in comment. By François Pinard.
2439 Mon Nov 6 00:27:02 1995 Ulrich Drepper <drepper@myware>
2441 * Makefile.in (install-src): Don't install libintl.h and libintl.a
2442 if we use an available gettext implementation.
2444 Sun Nov 5 22:02:08 1995 Ulrich Drepper <drepper@myware>
2446 * libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS. Reported
2449 * libgettext.h: Use #if instead of #ifdef/#ifndef.
2452 Comments describing what has to be done should start with FIXME.
2454 Sun Nov 5 19:38:01 1995 Ulrich Drepper <drepper@myware>
2456 * Makefile.in (DISTFILES): Split. Use DISTFILES with normal meaning.
2457 DISTFILES.common names the files common to both dist goals.
2458 DISTFILES.gettext are the files only distributed in GNU gettext.
2460 Sun Nov 5 17:32:54 1995 Ulrich Drepper <drepper@myware>
2462 * dcgettext.c (DCGETTEXT): Correct searching in derived locales.
2463 This was necessary since a change in _nl_find_msg several weeks
2464 ago. I really don't know this is still not fixed.
2466 Sun Nov 5 12:43:12 1995 Ulrich Drepper <drepper@myware>
2468 * loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL. This
2469 might mark a special condition.
2471 * finddomain.c (make_entry_rec): Don't make illegal entry as decided.
2473 * Makefile.in (dist): Suppress error message when ln failed.
2474 Get files from $(srcdir) explicitly.
2476 * libgettext.h (gettext_const): Rename to gettext_noop.
2478 Fri Nov 3 07:36:50 1995 Ulrich Drepper <drepper@myware>
2480 * finddomain.c (make_entry_rec):
2481 Protect against wrong locale names by testing mask.
2483 * libgettext.h (gettext_const): Add macro definition.
2484 Capitalize macro arguments.
2486 Thu Nov 2 23:15:51 1995 Ulrich Drepper <drepper@myware>
2488 * finddomain.c (_nl_find_domain):
2489 Test for pointer != NULL before accessing value.
2490 Reported by Tom Tromey.
2493 Define as (void*)0 instad of 0. Reported by François Pinard.
2495 Mon Oct 30 21:28:52 1995 Ulrich Drepper <drepper@myware>
2497 * po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
2499 Sat Oct 28 23:20:47 1995 Ulrich Drepper <drepper@myware>
2501 * libgettext.h: Disable dcgettext optimization for Solaris 2.3.
2503 * localealias.c (alias_compare):
2504 Peter Miller reported that tolower in some systems is
2505 even dumber than I thought. Protect call by `isupper'.
2507 Fri Oct 27 22:22:51 1995 Ulrich Drepper <drepper@myware>
2509 * Makefile.in (libdir, includedir): New variables.
2510 (install-src): Install libintl.a and libintl.h in correct dirs.
2512 Fri Oct 27 22:07:29 1995 Ulrich Drepper <drepper@myware>
2514 * Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
2516 * po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
2519 Fix typo and superflous test. Reported by Christian von Roques.
2521 Fri Oct 6 11:52:05 1995 Ulrich Drepper <drepper@myware>
2523 * finddomain.c (_nl_find_domain):
2524 Correct some remainder from the pre-CEN syntax. Now
2525 we don't have a constant number of successors anymore.
2527 Wed Sep 27 21:41:13 1995 Ulrich Drepper <drepper@myware>
2529 * Makefile.in (DISTFILES): Add libintl.h.glibc.
2531 * Makefile.in (dist-libc): Add goal for packing sources for glibc.
2532 (COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
2534 * loadmsgcat.c: Forget to continue #if line.
2537 [_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
2540 * dcgettext.c, finddomain.c: Better comment to last change.
2543 [_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
2544 __fstat, __open, __close, __read, __mmap, and __munmap resp
2545 to keep ANSI C name space clean.
2548 [_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
2551 [_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
2552 keep ANSI C name space clean.
2555 Include sys/types.h for those old SysV systems out there.
2556 Reported by Francesco Potorti`.
2558 * loadmsgcat.c (use_mmap): Define if compiled for glibc.
2560 * bindtextdom.c: Include all those standard headers
2561 unconditionally if _LIBC is defined.
2563 * finddomain.c: Fix 2 times defiend -> defined.
2565 * textdomain.c: Include libintl.h instead of libgettext.h when
2566 compiling for glibc. Include all those standard headers
2567 unconditionally if _LIBC is defined.
2569 * localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
2572 Include libintl.h instead of libgettext.h when compiling for glibc.
2573 Get NULL from stddef.h if we compile for glibc.
2575 * finddomain.c: Include libintl.h instead of libgettext.h when
2576 compiling for glibc. Include all those standard headers
2577 unconditionally if _LIBC is defined.
2579 * dcgettext.c: Include all those standard headers unconditionally
2580 if _LIBC is defined.
2582 * dgettext.c: If compiled in glibc include libintl.h instead of
2584 (locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
2586 * dcgettext.c: If compiled in glibc include libintl.h instead of
2588 (getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
2591 If compiled in glibc include libintl.h instead of libgettext.h.
2593 Mon Sep 25 22:23:06 1995 Ulrich Drepper <drepper@myware>
2595 * localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
2596 Reported by Marcus Daniels.
2598 * cat-compat.c (bindtextdomain):
2599 String used in putenv must not be recycled.
2600 Reported by Marcus Daniels.
2602 * libgettext.h (__USE_GNU_GETTEXT):
2603 Additional symbol to signal that we use GNU gettext
2606 * cat-compat.c (bindtextdomain):
2607 Fix bug with the strange stpcpy replacement.
2608 Reported by Nelson Beebe.
2610 Sat Sep 23 08:23:51 1995 Ulrich Drepper <drepper@myware>
2612 * cat-compat.c: Include <string.h> for stpcpy prototype.
2614 * localealias.c (read_alias_file):
2615 While expand strdup code temporary variable `cp' hided
2616 higher level variable with same name. Rename to `tp'.
2618 * textdomain.c (textdomain):
2619 Avoid warning by using temporary variable in strdup code.
2621 * finddomain.c (_nl_find_domain): Remove unused variable `application'.
2623 Thu Sep 21 15:51:44 1995 Ulrich Drepper <drepper@myware>
2625 * localealias.c (alias_compare):
2626 Use strcasecmp() only if available. Else use
2627 implementation in place.
2630 Wrapper functions now call *__ functions instead of __*.
2632 * libgettext.h: Declare prototypes for *__ functions instead for __*.
2634 * cat-compat.c, loadmsgcat.c:
2635 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
2636 of the standard libc and so prevent libintl.a from being used
2640 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
2641 of the standard libc and so prevent libintl.a from being used
2643 Rename to bindtextdomain__ if not used in GNU C Library.
2646 Rename function to dgettext__ if not used in GNU C Library.
2649 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
2650 of the standard libc and so prevent libintl.a from being used
2652 Functions now called gettext__ if not used in GNU C Library.
2654 * dcgettext.c, localealias.c, textdomain.c, finddomain.c:
2655 Don't use xmalloc, xstrdup, and stpcpy. These functions are not part
2656 of the standard libc and so prevent libintl.a from being used
2659 Sun Sep 17 23:14:49 1995 Ulrich Drepper <drepper@myware>
2661 * finddomain.c: Correct some bugs in handling of CEN standard
2664 Thu Sep 7 01:49:28 1995 Ulrich Drepper <drepper@myware>
2666 * finddomain.c: Implement CEN syntax.
2668 * gettextP.h (loaded_domain): Extend number of successors to 31.
2670 Sat Aug 19 19:25:29 1995 Ulrich Drepper <drepper@myware>
2672 * Makefile.in (aliaspath): Remove path to X11 locale dir.
2674 * Makefile.in: Make install-src depend on install. This helps
2675 gettext to install the sources and other packages can use the
2678 Sat Aug 19 15:19:33 1995 Ulrich Drepper <drepper@myware>
2680 * Makefile.in (uninstall): Remove stuff installed by install-src.
2682 Tue Aug 15 13:13:53 1995 Ulrich Drepper <drepper@myware>
2684 * VERSION.in: Initial revision.
2686 * Makefile.in (DISTFILES):
2687 Add VERSION file. This is not necessary for gettext, but
2688 for other packages using this library.
2690 Tue Aug 15 06:16:44 1995 Ulrich Drepper <drepper@myware>
2692 * gettextP.h (_nl_find_domain):
2693 New prototype after changing search strategy.
2695 * finddomain.c (_nl_find_domain):
2696 We now try only to find a specified catalog. Fall back to other
2697 catalogs listed in the locale list is now done in __dcgettext.
2699 * dcgettext.c (__dcgettext):
2700 Now we provide message fall back even to different languages.
2701 I.e. if a message is not available in one language all the other
2702 in the locale list a tried. Formerly fall back was only possible
2703 within one language. Implemented by moving one loop from
2704 _nl_find_domain to here.
2706 Mon Aug 14 23:45:50 1995 Ulrich Drepper <drepper@myware>
2708 * Makefile.in (gettextsrcdir):
2709 Directory where source of GNU gettext library are made
2711 (INSTALL, INSTALL_DATA): Programs used for installing sources.
2712 (gettext-src): New. Rule to install GNU gettext sources for use in
2713 gettextize shell script.
2715 Sun Aug 13 14:40:48 1995 Ulrich Drepper <drepper@myware>
2717 * loadmsgcat.c (_nl_load_domain):
2718 Use mmap for loading only when munmap function is
2721 * Makefile.in (install): Depend on `all' goal.
2723 Wed Aug 9 11:04:33 1995 Ulrich Drepper <drepper@myware>
2725 * localealias.c (read_alias_file):
2726 Do not overwrite '\n' when terminating alias value string.
2728 * localealias.c (read_alias_file):
2729 Handle long lines. Ignore the rest not fitting in
2730 the buffer after the initial `fgets' call.
2732 Wed Aug 9 00:54:29 1995 Ulrich Drepper <drepper@myware>
2734 * gettextP.h (_nl_load_domain):
2735 Add prototype, replacing prototype for _nl_load_msg_cat.
2737 * finddomain.c (_nl_find_domain):
2738 Remove unneeded variable filename and filename_len.
2739 (expand_alias): Remove prototype because functions does not
2742 * localealias.c (read_alias_file):
2743 Change type of fname_len parameter to int.
2744 (xmalloc): Add prototype.
2746 * loadmsgcat.c: Better prototypes for xmalloc.
2748 Tue Aug 8 22:30:39 1995 Ulrich Drepper <drepper@myware>
2750 * finddomain.c (_nl_find_domain):
2751 Allow alias name to be constructed from the four components.
2753 * Makefile.in (aliaspath): New variable. Set to preliminary value.
2754 (SOURCES): Add localealias.c.
2755 (OBJECTS): Add localealias.o.
2757 * gettextP.h: Add prototype for _nl_expand_alias.
2759 * finddomain.c: Aliasing handled in intl/localealias.c.
2761 * localealias.c: Aliasing for locale names.
2763 * bindtextdom.c: Better prototypes for xmalloc and xstrdup.
2765 Mon Aug 7 23:47:42 1995 Ulrich Drepper <drepper@myware>
2767 * Makefile.in (DISTFILES): gettext.perl is now found in misc/.
2769 * cat-compat.c (bindtextdomain):
2770 Correct implementation. dirname parameter was not used.
2771 Reported by Marcus Daniels.
2773 * gettextP.h (loaded_domain):
2774 New fields `successor' and `decided' for oo, lazy
2775 message handling implementation.
2778 Adopt for oo, lazy message handliing.
2779 Now we can inherit translations from less specific locales.
2780 (find_msg): New function.
2782 * loadmsgcat.c, finddomain.c:
2783 Complete rewrite. Implement oo, lazy message handling :-).
2784 We now have an additional environment variable `LANGUAGE' with
2785 a higher priority than LC_ALL for the LC_MESSAGE locale.
2786 Here we can set a colon separated list of specifications each
2787 of the form `language[_territory[.codeset]][@modifier]'.
2789 Sat Aug 5 09:55:42 1995 Ulrich Drepper <drepper@myware>
2791 * finddomain.c (unistd.h):
2792 Include to get _PC_PATH_MAX defined on system having it.
2794 Fri Aug 4 22:42:00 1995 Ulrich Drepper <drepper@myware>
2796 * finddomain.c (stpcpy): Include prototype.
2798 * Makefile.in (dist): Remove `copying instead' message.
2800 Wed Aug 2 18:52:03 1995 Ulrich Drepper <drepper@myware>
2802 * Makefile.in (ID, TAGS): Do not use $^.
2804 Tue Aug 1 20:07:11 1995 Ulrich Drepper <drepper@myware>
2806 * Makefile.in (TAGS, ID): Use $^ as command argument.
2807 (TAGS): Give etags -o option t write to current directory,
2809 (ID): Use $(srcdir) instead os $(top_srcdir)/src.
2810 (distclean): Remove ID.
2812 Sun Jul 30 11:51:46 1995 Ulrich Drepper <drepper@myware>
2814 * Makefile.in (gnulocaledir):
2815 New variable, always using share/ for data directory.
2816 (DEFS): Add GNULOCALEDIR, used in finddomain.c.
2818 * finddomain.c (_nl_default_dirname):
2819 Set to GNULOCALEDIR, because it always has to point
2820 to the directory where GNU gettext Library writes it to.
2822 * intl-compat.c (textdomain, bindtextdomain):
2823 Undefine macros before function definition.
2825 Sat Jul 22 01:10:02 1995 Ulrich Drepper <drepper@myware>
2827 * libgettext.h (_LIBINTL_H):
2828 Protect definition in case where this file is included as
2829 libgettext.h on Solaris machines. Add comment about this.
2831 Wed Jul 19 02:36:42 1995 Ulrich Drepper <drepper@myware>
2833 * intl-compat.c (textdomain): Correct typo.
2835 Wed Jul 19 01:51:35 1995 Ulrich Drepper <drepper@myware>
2837 * dcgettext.c (dcgettext): Function now called __dcgettext.
2839 * dgettext.c (dgettext): Now called __dgettext and calls
2842 * gettext.c (gettext):
2843 Function now called __gettext and calls __dgettext.
2845 * textdomain.c (textdomain): Function now called __textdomain.
2847 * bindtextdom.c (bindtextdomain): Function now called
2850 * intl-compat.c: Initial revision.
2852 * Makefile.in (SOURCES): Add intl-compat.c.
2853 (OBJECTS): We always compile the GNU gettext library functions.
2854 OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
2856 (GETTOBJS): Contains now only intl-compat.o.
2859 Re-include protection matches dualistic character of libgettext.h.
2860 For all functions in GNU gettext library define __ counter part.
2862 * finddomain.c (strchr): Define as index if not found in C library.
2863 (_nl_find_domain): For relative paths paste / in between.
2865 Tue Jul 18 16:37:45 1995 Ulrich Drepper <drepper@myware>
2867 * loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
2869 * xopen-msg.sed: Fix bug with `msgstr ""' lines.
2870 A little bit better comments.
2872 Tue Jul 18 01:18:27 1995 Ulrich Drepper <drepper@myware>
2875 po-mode.el, makelinks, combine-sh are now found in ../misc.
2877 * po-mode.el, makelinks, combine-sh, elisp-comp:
2880 * libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
2882 Sun Jul 16 22:33:02 1995 Ulrich Drepper <drepper@myware>
2884 * Makefile.in (INSTALL, INSTALL_DATA): New variables.
2885 (install-data, uninstall): Install/uninstall .elc file.
2887 * po-mode.el (Installation comment):
2888 Add .pox as possible extension of .po files.
2890 Sun Jul 16 13:23:27 1995 Ulrich Drepper <drepper@myware>
2892 * elisp-comp: Complete new version by François: This does not
2893 fail when not compiling in the source directory.
2895 Sun Jul 16 00:12:17 1995 Ulrich Drepper <drepper@myware>
2897 * Makefile.in (../po/cat-id-tbl.o):
2898 Use $(MAKE) instead of make for recursive make.
2900 * Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
2901 (install-exec): Add missing dummy goal.
2902 (install-data, uninstall): @ in multi-line shell command at
2903 beginning, not in front of echo. Reported by Eric Backus.
2905 Sat Jul 15 00:21:28 1995 Ulrich Drepper <drepper@myware>
2907 * Makefile.in (DISTFILES):
2908 Rename libgettext.perl to gettext.perl to fit in 14 chars
2912 Rename to gettext.perl to fit in 14 chars file systems.
2914 Thu Jul 13 23:17:20 1995 Ulrich Drepper <drepper@myware>
2916 * cat-compat.c: If !STDC_HEADERS try to include malloc.h.
2918 Thu Jul 13 20:55:02 1995 Ulrich Drepper <drepper@myware>
2920 * po2tbl.sed.in: Pretty printing.
2922 * linux-msg.sed, xopen-msg.sed:
2923 Correct bugs with handling substitute flags in branches.
2925 * hash-string.h (hash_string):
2926 Old K&R compilers don't under stand `unsigned char'.
2928 * gettext.h (nls_uint32):
2929 Some old K&R compilers (eg HP) don't understand `unsigned int'.
2931 * cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
2933 Thu Jul 13 01:34:33 1995 Ulrich Drepper <drepper@myware>
2935 * Makefile.in (ELCFILES): New variable.
2936 (DISTFILES): Add elisp-comp.
2937 Add implicit rule for .el -> .elc compilation.
2938 (install-data): install $ELCFILES
2939 (clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
2941 * elisp-comp: Initial revision
2943 Wed Jul 12 16:14:52 1995 Ulrich Drepper <drepper@myware>
2946 cat-id-tbl.c is now found in po/. This enables us to use an identical
2947 intl/ directory in all packages.
2949 * dcgettext.c (dcgettext): hashing does not work for table size <= 2.
2951 * textdomain.c: fix typo (#if def -> #if defined)
2953 Tue Jul 11 18:44:43 1995 Ulrich Drepper <drepper@myware>
2955 * Makefile.in (stamp-cat-id): use top_srcdir to address source files
2956 (DISTFILES,distclean): move tupdate.perl to src/
2959 add additional jump to clear change flag to recognize multiline strings
2961 Tue Jul 11 01:32:50 1995 Ulrich Drepper <drepper@myware>
2963 * textdomain.c: Protect inclusion of stdlib.h and string.h.
2965 * loadmsgcat.c: Protect inclusion of stdlib.h.
2967 * libgettext.h: Protect inclusion of locale.h.
2968 Allow use in C++ programs.
2969 Define NULL is not happened already.
2971 * Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
2973 (distclean): remove po-to-tbl.sed and tupdate.perl.
2975 * tupdate.perl.in: Substitute Perl path even in exec line.
2976 Don't include entries without translation from old .po file.
2978 Tue Jul 4 00:41:51 1995 Ulrich Drepper <drepper@myware>
2980 * tupdate.perl.in: use "Updated: " in msgid "".
2982 * cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
2983 Define getenv if !__STDC__.
2985 * bindtextdom.c: Protect stdlib.h and string.h inclusion.
2986 Define free if !__STDC__.
2988 * finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
2989 Define free if !__STDC__.
2991 * cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
2993 Mon Jul 3 23:56:30 1995 Ulrich Drepper <drepper@myware>
2995 * Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
2996 Remove unneeded $(srcdir) from Makefile.in dependency.
2998 * makelinks: Add copyright and short description.
3000 * po-mode.el: Last version for 0.7.
3002 * tupdate.perl.in: Fix die message.
3004 * dcgettext.c: Protect include of string.h.
3006 * gettext.c: Protect include of stdlib.h and further tries to get NULL.
3008 * finddomain.c: Some corrections in includes.
3010 * Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
3012 * po-to-tbl.sed: Adopt for new .po file format.
3014 * linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
3016 Sun Jul 2 23:55:03 1995 Ulrich Drepper <drepper@myware>
3018 * tupdate.perl.in: Complete rewrite for new .po file format.
3020 Sun Jul 2 02:06:50 1995 Ulrich Drepper <drepper@myware>
3022 * First official release. This directory contains all the code
3023 needed to internationalize own packages. It provides functions
3024 which allow to use the X/Open catgets function with an interface
3025 like the Uniforum gettext function. For system which does not
3026 have neither of those a complete implementation is provided.