xref: /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/ChangeLog (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1*946379e7Schristos2006-11-27  Bruno Haible  <bruno@clisp.org>
2*946379e7Schristos
3*946379e7Schristos	* gettext-0.16.1 released.
4*946379e7Schristos
5*946379e7Schristos2006-10-26  Bruno Haible  <bruno@clisp.org>
6*946379e7Schristos
7*946379e7Schristos	* gettext-0.16 released.
8*946379e7Schristos
9*946379e7Schristos2006-10-24  Bruno Haible  <bruno@clisp.org>
10*946379e7Schristos
11*946379e7Schristos	* localename.c (HAVE_LOCALE_NULL): Test __GLIBC__ instead of
12*946379e7Schristos	__GNU_LIBRARY__.
13*946379e7Schristos
14*946379e7Schristos2006-10-24  Bruno Haible  <bruno@clisp.org>
15*946379e7Schristos
16*946379e7Schristos	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.16.
17*946379e7Schristos
18*946379e7Schristos2006-10-18  Bruno Haible  <bruno@clisp.org>
19*946379e7Schristos
20*946379e7Schristos	* lock.h [C++]: Wrap definitions in extern "C".
21*946379e7Schristos
22*946379e7Schristos2006-10-17  Paul Eggert  <eggert@cs.ucla.edu>
23*946379e7Schristos
24*946379e7Schristos	* localcharset.c: Do not check HAVE_SETLOCALE.
25*946379e7Schristos
26*946379e7Schristos2006-10-09  Bruno Haible  <bruno@clisp.org>
27*946379e7Schristos
28*946379e7Schristos	* langprefs.c: Update comment about locale name syntax.
29*946379e7Schristos	* localename.c: Likewise.
30*946379e7Schristos
31*946379e7Schristos2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
32*946379e7Schristos            Bruno Haible  <bruno@clisp.org>
33*946379e7Schristos
34*946379e7Schristos	* printf-args.h (arg_type, argument): Test HAVE_LONG_LONG_INT
35*946379e7Schristos	instead of HAVE_LONG_LONG.
36*946379e7Schristos	* printf-args.c (printf_fetchargs): Likewise.
37*946379e7Schristos	* printf-parse.c (PRINTF_PARSE): Likewise.
38*946379e7Schristos	* vasnprintf.c (VASNPRINTF): Likewise.
39*946379e7Schristos
40*946379e7Schristos2006-10-08  Bruno Haible  <bruno@clisp.org>
41*946379e7Schristos
42*946379e7Schristos	* printf.c: Include errno.h, limits.h.
43*946379e7Schristos	(EOVERFLOW): New fallback definition.
44*946379e7Schristos	(libintl_vfprintf): Test whether the output length is > INT_MAX.
45*946379e7Schristos	(libintl_vsprintf): Likewise.
46*946379e7Schristos	(libintl_vsnprintf): Fix bug when vasnprintf requested more space than
47*946379e7Schristos	needed. Fix return value when the entire result string would be larger
48*946379e7Schristos	than the provided buffer. Test whether the output length is > INT_MAX.
49*946379e7Schristos	(libintl_vasprintf): Test whether the output length is > INT_MAX.
50*946379e7Schristos	(libintl_vfwprintf): Likewise.
51*946379e7Schristos	(libintl_vswprintf): Fix bug when vasnwprintf requested more space than
52*946379e7Schristos	needed. Test whether the output length is > INT_MAX.
53*946379e7Schristos
54*946379e7Schristos2006-09-14  Bruno Haible  <bruno@clisp.org>
55*946379e7Schristos
56*946379e7Schristos	* lock.c: Include <config.h> unconditionally.
57*946379e7Schristos	* printf-args.c: Likewise.
58*946379e7Schristos	* printf-parse.c: Likewise.
59*946379e7Schristos	* relocatable.c: Likewise.
60*946379e7Schristos	* vasnprintf.c: Likewise.
61*946379e7Schristos
62*946379e7Schristos2006-08-26  Bruno Haible  <bruno@clisp.org>
63*946379e7Schristos
64*946379e7Schristos	* vasnprintf.c (EOVERFLOW): Remove definition.
65*946379e7Schristos	(VASNPRINTF): Return a string of length > INT_MAX without failing.
66*946379e7Schristos
67*946379e7Schristos2006-10-02  Bruno Haible  <bruno@clisp.org>
68*946379e7Schristos
69*946379e7Schristos	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.15.1.
70*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 8:1:0.
71*946379e7Schristos
72*946379e7Schristos2006-09-14  Bruno Haible  <bruno@clisp.org>
73*946379e7Schristos
74*946379e7Schristos	* localcharset.c: Include <config.h> unconditionally.
75*946379e7Schristos
76*946379e7Schristos2006-09-10  Bruno Haible  <bruno@clisp.org>
77*946379e7Schristos
78*946379e7Schristos	* Makefile.in (install_sh): New variable.
79*946379e7Schristos	Fixes "make install" errors in packages that have no 'mkinstalldirs'
80*946379e7Schristos	file and use automake <= 1.9.x, on platforms where 'mkdir' does not
81*946379e7Schristos	support the -p option.
82*946379e7Schristos
83*946379e7Schristos	* Makefile.in (mkinstalldirs): Prefix with $(SHELL).
84*946379e7Schristos
85*946379e7Schristos2006-08-29  Bruno Haible  <bruno@clisp.org>
86*946379e7Schristos
87*946379e7Schristos	* localcharset.c: Include configmake.h in order to get LIBDIR defined.
88*946379e7Schristos
89*946379e7Schristos2006-08-18  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
90*946379e7Schristos
91*946379e7Schristos	* Makefile.in (MKDIR_P): New variable. Needed by $(mkdir_p) with
92*946379e7Schristos	Automake-1.10.
93*946379e7Schristos
94*946379e7Schristos2006-07-29  Bruno Haible  <bruno@clisp.org>
95*946379e7Schristos
96*946379e7Schristos	* localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist.
97*946379e7Schristos
98*946379e7Schristos2006-07-25  Bruno Haible  <bruno@clisp.org>
99*946379e7Schristos
100*946379e7Schristos	* Makefile.msvc: Remove file.
101*946379e7Schristos	* Makefile.in (DISTFILES.gettext): Remove libgnuintl.h.msvc-static,
102*946379e7Schristos	libgnuintl.h.msvc-shared, Makefile.msvc.
103*946379e7Schristos	(DISTFILES.obsolete): Add libgnuintl.h.msvc-static,
104*946379e7Schristos	libgnuintl.h.msvc-shared, Makefile.msvc.
105*946379e7Schristos
106*946379e7Schristos2006-07-25  Bruno Haible  <bruno@clisp.org>
107*946379e7Schristos
108*946379e7Schristos	* Makefile.vms: Remove file.
109*946379e7Schristos	* Makefile.in (DISTFILES.gettext): Remove libgnuintl.h_vms,
110*946379e7Schristos	Makefile.vms.
111*946379e7Schristos	(DISTFILES.obsolete): Add libgnuintl.h_vms, Makefile.vms.
112*946379e7Schristos
113*946379e7Schristos2006-07-21  Bruno Haible  <bruno@clisp.org>
114*946379e7Schristos
115*946379e7Schristos	* gettext-0.15 released.
116*946379e7Schristos
117*946379e7Schristos2006-07-21  Bruno Haible  <bruno@clisp.org>
118*946379e7Schristos
119*946379e7Schristos	* Makefile.in (mkinstalldirs): New variable. Needed for mkdir_p.
120*946379e7Schristos
121*946379e7Schristos2006-07-20  Bruno Haible  <bruno@clisp.org>
122*946379e7Schristos
123*946379e7Schristos	* dcigettext.c (HAVE_NL_LOCALE_NAME): Undefine.
124*946379e7Schristos
125*946379e7Schristos2006-07-20  Bruno Haible  <bruno@clisp.org>
126*946379e7Schristos
127*946379e7Schristos	* libgnuintl.h.in (LIBINTL_VERSION): Bump to 0.15.0.
128*946379e7Schristos
129*946379e7Schristos2006-07-20  Bruno Haible  <bruno@clisp.org>
130*946379e7Schristos
131*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 8:0:0.
132*946379e7Schristos
133*946379e7Schristos2006-07-13  Bruno Haible  <bruno@clisp.org>
134*946379e7Schristos
135*946379e7Schristos	* printf.c (libintl_printf): Define to __printf__ on NetBSD, Cygwin,
136*946379e7Schristos	mingw.
137*946379e7Schristos	Reported by haibin zhang <dragzhb@yahoo.com.cn>.
138*946379e7Schristos
139*946379e7Schristos2006-06-22  Ulrich Drepper  <drepper@redhat.com>
140*946379e7Schristos
141*946379e7Schristos	* dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't look
142*946379e7Schristos	further, return original strings.
143*946379e7Schristos	(_nl_find_msg): Do not return found translation if the conversion
144*946379e7Schristos	failed.  Either signal the string is unusable or that something went
145*946379e7Schristos	wrong and the original should be used.
146*946379e7Schristos
147*946379e7Schristos2006-06-23  Bruno Haible  <bruno@clisp.org>
148*946379e7Schristos
149*946379e7Schristos	* l10nflist.c (__argz_count, __argz_stringify, __argz_next): Define
150*946379e7Schristos	using the non-underscored functions when available. Avoids warnings
151*946379e7Schristos	on Cygwin.
152*946379e7Schristos	Reported by Eric Blake.
153*946379e7Schristos
154*946379e7Schristos2006-06-19  Bruno Haible  <bruno@clisp.org>
155*946379e7Schristos
156*946379e7Schristos	* libgnuintl.h.in (libintl_printf): Define to __printf__ on NetBSD,
157*946379e7Schristos	Cygwin, mingw.
158*946379e7Schristos	Reported by Henry Nelson <netb@yuba.ne.jp>.
159*946379e7Schristos
160*946379e7Schristos2006-06-17  Bruno Haible  <bruno@clisp.org>
161*946379e7Schristos
162*946379e7Schristos	* bindtextdom.c (gl_rwlock_define, gl_rwlock_wrlock, gl_rwlock_unlock)
163*946379e7Schristos	[_LIBC]: New macros.
164*946379e7Schristos	(_nl_state_lock, set_binding_values): Use gl_rwlock_* instead of
165*946379e7Schristos	__libc_rwlock_*.
166*946379e7Schristos	* dcigettext.c (gl_rwlock_define_initialized, gl_rwlock_rdlock,
167*946379e7Schristos	gl_rwlock_wrlock, gl_rwlock_unlock) [_LIBC]: New macros.
168*946379e7Schristos	(tree_lock, _nl_state_lock, DCIGETTEXT): Use gl_rwlock_* instead of
169*946379e7Schristos	__libc_rwlock_*.
170*946379e7Schristos	* finddomain.c (gl_rwlock_define_initialized, gl_rwlock_rdlock,
171*946379e7Schristos	gl_rwlock_wrlock, gl_rwlock_unlock) [_LIBC]: New macros.
172*946379e7Schristos	(_nl_find_domain): Use gl_rwlock_* instead of __libc_rwlock_*.
173*946379e7Schristos	* textdomain.c (gl_rwlock_define, gl_rwlock_wrlock, gl_rwlock_unlock)
174*946379e7Schristos	[_LIBC]: New macros.
175*946379e7Schristos	(_nl_state_lock, TEXTDOMAIN): Use gl_rwlock_* instead of
176*946379e7Schristos	__libc_rwlock_*.
177*946379e7Schristos	Needed because NetBSD 3.0 <pthread.h> does
178*946379e7Schristos	#define pthread_rwlock_rdlock __libc_rwlock_rdlock etc.
179*946379e7Schristos
180*946379e7Schristos2006-06-17  Bruno Haible  <bruno@clisp.org>
181*946379e7Schristos
182*946379e7Schristos	* config.charset: Update for NetBSD 3.0.
183*946379e7Schristos
184*946379e7Schristos2006-05-24  Bruno Haible  <bruno@clisp.org>
185*946379e7Schristos
186*946379e7Schristos	* printf-args.c (printf_fetchargs): Turn NULL pointers for
187*946379e7Schristos	TYPE_STRING and TYPE_WIDE_STRING into a non-NULL replacement.
188*946379e7Schristos	Reported by Thorsten Maerz <torte@netztorte.de> via
189*946379e7Schristos	Aaron Stone <aaron@serendipity.cx>.
190*946379e7Schristos
191*946379e7Schristos2006-05-15  Ulrich Drepper  <drepper@redhat.com>
192*946379e7Schristos
193*946379e7Schristos	* dcigettext.c (category_to_name): Adjust for _nl_category_names
194*946379e7Schristos	change.
195*946379e7Schristos
196*946379e7Schristos2006-04-06  Ulrich Drepper  <drepper@redhat.com>
197*946379e7Schristos
198*946379e7Schristos	* finddomain.c (_nl_find_domain): We never return NULL if we found the
199*946379e7Schristos	locale.
200*946379e7Schristos
201*946379e7Schristos2005-12-21  Roland McGrath  <roland@redhat.com>
202*946379e7Schristos
203*946379e7Schristos	* l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later malloc
204*946379e7Schristos	fails.
205*946379e7Schristos
206*946379e7Schristos2006-05-17  Bruno Haible  <bruno@clisp.org>
207*946379e7Schristos
208*946379e7Schristos	Cygwin portability.
209*946379e7Schristos	* loadinfo.h (PATH_SEPARATOR) [CYGWIN]: Define as ':'.
210*946379e7Schristos	* localename.c (WIN32_NATIVE): Renamed from WIN32.
211*946379e7Schristos	* localcharset.c (WIN32_NATIVE): Renamed from WIN32.
212*946379e7Schristos
213*946379e7Schristos2006-05-16  Bruno Haible  <bruno@clisp.org>
214*946379e7Schristos
215*946379e7Schristos	* localcharset.c [CYGWIN]: Include <windows.h>.
216*946379e7Schristos	(get_charset_aliases): For Cygwin, return the same CPxxx aliases list
217*946379e7Schristos	as under WIN32.
218*946379e7Schristos	(locale_charset) [CYGWIN]: Try to retrieve the encoding from the
219*946379e7Schristos	environment variables. Fall back to GetACP().
220*946379e7Schristos
221*946379e7Schristos2006-05-15  Bruno Haible  <bruno@clisp.org>
222*946379e7Schristos
223*946379e7Schristos	* Makefile.in (LDFLAGS, libgnuintl.h): Treat mingw like Cygwin.
224*946379e7Schristos
225*946379e7Schristos2006-05-15  Bruno Haible  <bruno@clisp.org>
226*946379e7Schristos
227*946379e7Schristos	* libgnuintl.h.in: Move the _INTL_MAY_RETURN_STRING_ARG annotations
228*946379e7Schristos	from the function definition to the function declaration. Needed in
229*946379e7Schristos	C++ mode.
230*946379e7Schristos
231*946379e7Schristos2006-05-11  Bruno Haible  <bruno@clisp.org>
232*946379e7Schristos
233*946379e7Schristos	* intl-exports.c: New file.
234*946379e7Schristos	* osdep.c: Include it on Cygwin.
235*946379e7Schristos	* Makefile.in (LDFLAGS_yes, LDFLAGS_no): New variables.
236*946379e7Schristos	(LDFLAGS): Use it.
237*946379e7Schristos	(SOURCES): Add intl-exports.c.
238*946379e7Schristos	(libgnuintl.h): When compiling a DLL on Cygwin, mark all exported
239*946379e7Schristos	variables as to be imported.
240*946379e7Schristos
241*946379e7Schristos2006-04-17  Bruno Haible  <bruno@clisp.org>
242*946379e7Schristos
243*946379e7Schristos	* Makefile.in (MKINSTALLDIRS, mkinstalldirs): Remove variables.
244*946379e7Schristos	(mkdir_p): New variable.
245*946379e7Schristos	(install-exec, install-data, installdirs): Use $(mkdir_p) instead of
246*946379e7Schristos	$(mkinstalldirs).
247*946379e7Schristos
248*946379e7Schristos2006-04-05  Bruno Haible  <bruno@clisp.org>
249*946379e7Schristos
250*946379e7Schristos	* config.charset: Update Juan Manuel Guerrero's address.
251*946379e7Schristos
252*946379e7Schristos2006-03-11  Bruno Haible  <bruno@clisp.org>
253*946379e7Schristos
254*946379e7Schristos	* libgnuintl.h.in (_INTL_MAY_RETURN_STRING_ARG): Define to empty when
255*946379e7Schristos	using g++ on MacOS X.
256*946379e7Schristos
257*946379e7Schristos2006-01-22  Bruno Haible  <bruno@clisp.org>
258*946379e7Schristos
259*946379e7Schristos	* vasnprintf.c (VASNPRINTF): In the computation of the size of the
260*946379e7Schristos	temporary buffer for sprintf, take into account the precision also
261*946379e7Schristos	for 'd', 'i', 'u', 'o', 'x', 'X'.
262*946379e7Schristos
263*946379e7Schristos2006-01-10  Bruno Haible  <bruno@clisp.org>
264*946379e7Schristos
265*946379e7Schristos	* localcharset.c: Assume ANSI C. Fixes a gcc warning.
266*946379e7Schristos	Reported by Werner Lemberg <wl@gnu.org>.
267*946379e7Schristos
268*946379e7Schristos2005-12-25  Bruno Haible  <bruno@clisp.org>
269*946379e7Schristos
270*946379e7Schristos	Fix compilation error when plural.c is generated by bison-2.1.
271*946379e7Schristos	* Makefile.in (PLURAL_DEPS_yes, PLURAL_DEPS_no): New macros.
272*946379e7Schristos	(plural.$lo): Add conditional dependency to libintl.h.
273*946379e7Schristos
274*946379e7Schristos2005-12-04  Bruno Haible  <bruno@clisp.org>
275*946379e7Schristos
276*946379e7Schristos	Cygwin portability.
277*946379e7Schristos	* relocatable.c: Include <windows.h> also on Cygwin.
278*946379e7Schristos	(DllMain): Add support for Cygwin.
279*946379e7Schristos	(get_shared_library_fullname): Update.
280*946379e7Schristos	Patches partially from Charles Wilson <cygwin@cwilson.fastmail.fm>.
281*946379e7Schristos
282*946379e7Schristos2005-10-09  Bruno Haible  <bruno@clisp.org>
283*946379e7Schristos2002-07-24  Ulrich Drepper  <drepper@redhat.com>
284*946379e7Schristos
285*946379e7Schristos	* explodename.c (_nl_explode_name): Simplify.
286*946379e7Schristos
287*946379e7Schristos2005-10-09  Bruno Haible  <bruno@clisp.org>
288*946379e7Schristos2002-07-24  Ulrich Drepper  <drepper@redhat.com>
289*946379e7Schristos
290*946379e7Schristos	* explodename.c: Recognize the syntax
291*946379e7Schristos	  language[_territory][.codeset][@modifier]
292*946379e7Schristos	instead of only
293*946379e7Schristos	  language[_territory[.codeset]][@modifier]
294*946379e7Schristos	(_nl_find_language): Accept '.' as terminator.
295*946379e7Schristos	(_nl_explode_name): Accept to parse a codeset without a territory.
296*946379e7Schristos	Accept an underscore in the territory.
297*946379e7Schristos
298*946379e7Schristos2005-10-09  Bruno Haible  <bruno@clisp.org>
299*946379e7Schristos2002-07-24  Ulrich Drepper  <drepper@redhat.com>
300*946379e7Schristos
301*946379e7Schristos	* explodename.c (_nl_find_language, _nl_explode_name): Remove support
302*946379e7Schristos	for CEN-style locale variables. It was never used and shouldn't be
303*946379e7Schristos	since it's not portable.
304*946379e7Schristos	* finddomain.c (_nl_find_domain): Likewise.
305*946379e7Schristos	* l10nflist.c (_nl_make_l10nflist): Likewise.
306*946379e7Schristos	* loadinfo.h (_nl_make_l10nflist, _nl_explode_name): Likewise.
307*946379e7Schristos	(CEN_*, XPG_SPECIFIC): Remove macros.
308*946379e7Schristos	(XPG_TERRITORY): Renamed from TERRITORY.
309*946379e7Schristos
310*946379e7Schristos2005-08-28  Bruno Haible  <bruno@clisp.org>
311*946379e7Schristos
312*946379e7Schristos	* libgnuintl.h.in: Add IN_LIBGLOCALE conditional.
313*946379e7Schristos	* Makefile.in (libgnuintl.h, libintl.h): Remove the IN_LIBGLOCALE
314*946379e7Schristos	conditional.
315*946379e7Schristos	* dcigettext.c [IN_LIBGLOCALE]: Include also <libintl.h>, for
316*946379e7Schristos	bindtextdomain().
317*946379e7Schristos
318*946379e7Schristos2005-08-25  Bruno Haible  <bruno@clisp.org>
319*946379e7Schristos
320*946379e7Schristos	* libintl.glibc: Update from current glibc.
321*946379e7Schristos	* libgnuintl.h.in (_INTL_MAY_RETURN_STRING_ARG): New macro.
322*946379e7Schristos	(gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext):
323*946379e7Schristos
324*946379e7Schristos2005-08-21  Bruno Haible  <bruno@clisp.org>
325*946379e7Schristos
326*946379e7Schristos	* lock.h: Add multiple inclusion guard.
327*946379e7Schristos
328*946379e7Schristos2005-08-19  Bruno Haible  <bruno@clisp.org>
329*946379e7Schristos
330*946379e7Schristos	* localealias.c (read_alias_file): In case of failure, close the
331*946379e7Schristos	file descriptor and sort the array before returning.
332*946379e7Schristos
333*946379e7Schristos2005-08-19  Bruno Haible  <bruno@clisp.org>
334*946379e7Schristos
335*946379e7Schristos	* localealias.c (read_alias_file) [IN_LIBGLOCALE]: Ignore aliases
336*946379e7Schristos	containing an underscore.
337*946379e7Schristos
338*946379e7Schristos2005-07-31  Bruno Haible  <bruno@clisp.org>
339*946379e7Schristos
340*946379e7Schristos	Make code usable in libglocale.
341*946379e7Schristos	* gettextP.h (gl_dcigettext): New declaration.
342*946379e7Schristos	(_nl_msg_cat_cntr): Export also from libglocale.
343*946379e7Schristos	(_nl_find_msg): In libglocale, take the encoding as argument and no
344*946379e7Schristos	convert flag.
345*946379e7Schristos	* dcigettext.c (HAVE_PER_THREAD_LOCALE): Define in libglocale.
346*946379e7Schristos	(struct known_translation_t): In libglocale, add encoding field.
347*946379e7Schristos	(transcmp): In libglocale, compare also the encoding fields.
348*946379e7Schristos	(libintl_version): Don't define in libglocale.
349*946379e7Schristos	(_nl_current_default_domain, _nl_domain_bindings): Likewise.
350*946379e7Schristos	(DCIGETTEXT): In libglocale, also take the localename and encoding
351*946379e7Schristos	as arguments. Don't call nl_langinfo. Instead of walking the other
352*946379e7Schristos	library's _nl_domain_bindings, use bindtextdomain.
353*946379e7Schristos	(_nl_find_msg): In libglocale, take the encoding as argument and no
354*946379e7Schristos	convert flag. Don't call get_output_charset.
355*946379e7Schristos	(guess_category_value): In libglocale, take the locale name as
356*946379e7Schristos	argument. Don't call __current_locale_name or uselocale or
357*946379e7Schristos	_nl_locale_name_posix and _nl_locale_name_default.
358*946379e7Schristos	(get_output_charset): Don't define in libglocale.
359*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Update.
360*946379e7Schristos	* plural-exp.h (plural_eval): Don't declare in libglocale.
361*946379e7Schristos
362*946379e7Schristos2005-08-03  Bruno Haible  <bruno@clisp.org>
363*946379e7Schristos
364*946379e7Schristos	* Makefile.in: Add comments about VPATH.
365*946379e7Schristos
366*946379e7Schristos2005-07-31  Bruno Haible  <bruno@clisp.org>
367*946379e7Schristos
368*946379e7Schristos	* lock.h (gl_lock_initializer): New macro.
369*946379e7Schristos	(gl_lock_define_initialized): Use it.
370*946379e7Schristos	(gl_rwlock_initializer): New macro.
371*946379e7Schristos	(gl_rwlock_define_initialized): Use it.
372*946379e7Schristos	(gl_recursive_lock_initializer): New macro.
373*946379e7Schristos	(gl_recursive_lock_define_initialized): Use it.
374*946379e7Schristos
375*946379e7Schristos2005-07-31  Bruno Haible  <bruno@clisp.org>
376*946379e7Schristos
377*946379e7Schristos	Avoid const-cast.
378*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Change type of 'dirname' to const char *.
379*946379e7Schristos	Use an auxiliary variable 'resolved_dirname' of type 'char *'.
380*946379e7Schristos
381*946379e7Schristos2005-07-31  Bruno Haible  <bruno@clisp.org>
382*946379e7Schristos
383*946379e7Schristos	* dcigettext.c (tree_lock): Remove extraneous semicolon.
384*946379e7Schristos
385*946379e7Schristos2005-07-25  Bruno Haible  <bruno@clisp.org>
386*946379e7Schristos
387*946379e7Schristos	* libgnuintl.h.in (LIBINTL_VERSION): New macro.
388*946379e7Schristos	(libintl_version): New declaration.
389*946379e7Schristos	* version.c: New file.
390*946379e7Schristos	* Makefile.in (SOURCES): Add version.c.
391*946379e7Schristos	(OBJECTS): Add version.$lo.
392*946379e7Schristos	(version.lo): New rule.
393*946379e7Schristos	* Makefile.msvc (OBJECTS): Add version.obj.
394*946379e7Schristos	(version.obj): New rule.
395*946379e7Schristos	* Makefile.vms (OBJECTS): Add version.obj.
396*946379e7Schristos	(version.obj): New rule.
397*946379e7Schristos
398*946379e7Schristos2005-07-25  Bruno Haible  <bruno@clisp.org>
399*946379e7Schristos
400*946379e7Schristos	* intl-compat.c (DLL_EXPORTED) [HAVE_VISIBILITY]: Define to the gcc
401*946379e7Schristos	visibility attribute.
402*946379e7Schristos
403*946379e7Schristos2005-07-24  Bruno Haible  <bruno@clisp.org>
404*946379e7Schristos
405*946379e7Schristos	Tidy up exported symbols.
406*946379e7Schristos	* export.h: New file.
407*946379e7Schristos	* gettextP.h: Move declarations so that libgnuintl.h is included
408*946379e7Schristos	before loadinfo.h. Needed because libgnuintl.h defines
409*946379e7Schristos	LIBINTL_DLL_EXPORTED and loadinfo.h uses it.
410*946379e7Schristos	(_nl_msg_cat_cntr): Export.
411*946379e7Schristos	* loadinfo.h (LIBINTL_DLL_EXPORTED): Provide fallback declaration.
412*946379e7Schristos	(_nl_expand_alias): Export.
413*946379e7Schristos	* bindtextdom.c: Include gettextP.h before libgnuintl.h. Needed so
414*946379e7Schristos	that _INTL_REDIRECT_MACROS is defined when libgnuintl.h is included.
415*946379e7Schristos	Otherwise libgnuintl.h may choose to use _INTL_REDIRECT_ASM, and then
416*946379e7Schristos	gcc-4.0 ignores visibility declarations.
417*946379e7Schristos	* textdomain.c: Likewise.
418*946379e7Schristos	* relocatable.h (RELOCATABLE_DLL_EXPORTED) [HAVE_VISIBILITY]: Define
419*946379e7Schristos	to the gcc visibility attribute.
420*946379e7Schristos	* Makefile.in (DEFS): Define also BUILDING_LIBINTL and BUILDING_DLL.
421*946379e7Schristos	(CFLAGS): Add CFLAG_VISIBILITY.
422*946379e7Schristos	(DISTFILES.common): Add export.h.
423*946379e7Schristos	(libgnuintl.h): Add LIBINTL_DLL_EXPORTED definition and uses.
424*946379e7Schristos	(libintl.h): Create directly from libgnuintl.h.in, without
425*946379e7Schristos	LIBINTL_DLL_EXPORTED.
426*946379e7Schristos
427*946379e7Schristos2005-07-21  Bruno Haible  <bruno@clisp.org>
428*946379e7Schristos
429*946379e7Schristos	* plural.y: Modify comment about #pragma alloca.
430*946379e7Schristos	Suggested by Paul Eggert.
431*946379e7Schristos
432*946379e7Schristos2005-07-26  Bruno Haible  <bruno@clisp.org>
433*946379e7Schristos
434*946379e7Schristos	* Makefile.in (datarootdir): New variable.
435*946379e7Schristos
436*946379e7Schristos2005-07-25  Bruno Haible  <bruno@clisp.org>
437*946379e7Schristos
438*946379e7Schristos	Make pthread_in_use() return 0 on Solaris and HP-UX when not linking
439*946379e7Schristos	with -lpthread.
440*946379e7Schristos	* lock.h (pthread_in_use) [PTHREAD_IN_USE_DETECTION_HARD]: Define
441*946379e7Schristos	through glthread_in_use.
442*946379e7Schristos	* lock.c (dummy_thread_func, glthread_in_use): New functions.
443*946379e7Schristos
444*946379e7Schristos2005-07-22  Bruno Haible  <bruno@clisp.org>
445*946379e7Schristos
446*946379e7Schristos	* Makefile.in (libintl.la, libgnuintl.la): Link with @LTLIBTHREADS@.
447*946379e7Schristos
448*946379e7Schristos2005-07-16  Bruno Haible  <bruno@clisp.org>
449*946379e7Schristos
450*946379e7Schristos	* lock.h (gl_once_t): New type.
451*946379e7Schristos	(gl_once_define, gl_once): New macros.
452*946379e7Schristos	* lock.c (fresh_once): New variable.
453*946379e7Schristos	(glthread_once, glthread_once_call, glthread_once_singlethreaded): New
454*946379e7Schristos	functions.
455*946379e7Schristos
456*946379e7Schristos2005-07-16  Bruno Haible  <bruno@clisp.org>
457*946379e7Schristos
458*946379e7Schristos	* lock.h: New file.
459*946379e7Schristos	* lock.c: New file.
460*946379e7Schristos	* bindtextdom.c: Include lock.h. Don't include THREAD_H. Remove
461*946379e7Schristos	definitions of __libc_rwlock_*.
462*946379e7Schristos	* finddomain.c: Likewise.
463*946379e7Schristos	* textdomain.c: Likewise.
464*946379e7Schristos	* dcigettext.c: Include lock.h. Don't include THREAD_H. Remove
465*946379e7Schristos	definitions of __libc_lock_*, __libc_rwlock_*.
466*946379e7Schristos	* loadmsgcat.c: Include lock.h. Don't include THREAD_H. Remove
467*946379e7Schristos	definitions of __libc_lock_*_recursive.
468*946379e7Schristos	* localealias.c: Include lock.h. Don't include THREAD_H. Remove
469*946379e7Schristos	definitions of __libc_lock_*.
470*946379e7Schristos	* log.c: Likewise.
471*946379e7Schristos	* Makefile.in (HEADERS): Add lock.h.
472*946379e7Schristos	(SOURCES): Add lock.c.
473*946379e7Schristos	(OBJECTS): Add lock.$lo.
474*946379e7Schristos	(lock.lo): New rule.
475*946379e7Schristos	(bindtextdom.$lo, dcigettext.$lo, finddomain.$lo, loadmsgcat.$lo,
476*946379e7Schristos	localealias.$lo, lock.$lo, log.$lo): Depend on lock.h.
477*946379e7Schristos	* Makefile.msvc (OBJECTS): Add lock.obj.
478*946379e7Schristos	(bindtextdom.obj, finddomain.obj, loadmsgcat.obj, localealias.obj,
479*946379e7Schristos	dcigettext.obj, log.obj): Depend on lock.h.
480*946379e7Schristos	(lock.obj): New rule.
481*946379e7Schristos	* Makefile.vms (OBJECTS): Add lock.obj.
482*946379e7Schristos	(bindtextdom.obj, finddomain.obj, loadmsgcat.obj, localealias.obj,
483*946379e7Schristos	dcigettext.obj, log.obj): Depend on lock.h.
484*946379e7Schristos	(lock.obj): New rule.
485*946379e7Schristos
486*946379e7Schristos2005-07-05  Bruno Haible  <bruno@clisp.org>
487*946379e7Schristos
488*946379e7Schristos	* printf-args.c (printf_fetchargs): Work around broken definition of
489*946379e7Schristos	wint_t on mingw.
490*946379e7Schristos
491*946379e7Schristos2005-07-02  Bruno Haible  <bruno@clisp.org>
492*946379e7Schristos
493*946379e7Schristos	* localcharset.c (get_charset_aliases) [WIN32]: Add CP65001 and others.
494*946379e7Schristos	Reported by <mus1876@gmx.info> via Alain Bench <messtic@oreka.com>.
495*946379e7Schristos
496*946379e7Schristos2005-05-05  Bruno Haible  <bruno@clisp.org>
497*946379e7Schristos
498*946379e7Schristos	Make libintl multithread-safe outside glibc.
499*946379e7Schristos	* bindtextdom.c: Include THREAD_H.
500*946379e7Schristos	(__libc_rwlock_*): Define also for USE_POSIX_THREADS or
501*946379e7Schristos	USE_PTH_THREADS.
502*946379e7Schristos	* dcigettext.c: Include THREAD_H.
503*946379e7Schristos	(__libc_lock_*, __libc_rwlock_*): Define also for USE_POSIX_THREADS or
504*946379e7Schristos	USE_PTH_THREADS.
505*946379e7Schristos	(_nl_state_lock): Define always.
506*946379e7Schristos	(tree_lock): Define outside DCIGETTEXT.
507*946379e7Schristos	(DCIGETTEXT): ... not here.
508*946379e7Schristos	* finddomain.c: Include THREAD_H.
509*946379e7Schristos	(__libc_rwlock_*): Define also for USE_POSIX_THREADS or
510*946379e7Schristos	USE_PTH_THREADS.
511*946379e7Schristos	* loadmsgcat.c: Include THREAD_H.
512*946379e7Schristos	(__libc_lock_*_recursive): Define also for USE_POSIX_THREADS or
513*946379e7Schristos	USE_PTH_THREADS.
514*946379e7Schristos	(_nl_load_domain): Remove extraneous comma.
515*946379e7Schristos	* localealias.c: Include THREAD_H.
516*946379e7Schristos	(__libc_lock_*): Define also for USE_POSIX_THREADS or USE_PTH_THREADS.
517*946379e7Schristos	(lock): Define always.
518*946379e7Schristos	(_nl_expand_alias): Use lock always.
519*946379e7Schristos	* textdomain.c: Include THREAD_H.
520*946379e7Schristos	(__libc_rwlock_*): Define also for USE_POSIX_THREADS or
521*946379e7Schristos	USE_PTH_THREADS.
522*946379e7Schristos	* log.c: Include THREAD_H.
523*946379e7Schristos	(__libc_lock_*): Define also for USE_POSIX_THREADS or USE_PTH_THREADS.
524*946379e7Schristos	(last_logfilename, last_logfile, lock): New variables.
525*946379e7Schristos	(_nl_log_untranslated_locked): Renamed from _nl_log_untranslated.
526*946379e7Schristos	(_nl_log_untranslated): Rewritten.
527*946379e7Schristos
528*946379e7Schristos2005-02-16  Roland McGrath  <roland@redhat.com>
529*946379e7Schristos
530*946379e7Schristos	* dcigettext.c (_nl_find_msg): Add a cast.
531*946379e7Schristos
532*946379e7Schristos	* dcigettext.c (INTVARDEF, INTUSE): Macros removed.
533*946379e7Schristos	(_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
534*946379e7Schristos	(libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
535*946379e7Schristos	* bindtextdom.c (INTUSE): Macro removed.
536*946379e7Schristos	(_nl_default_dirname): Use libc_hidden_proto.
537*946379e7Schristos	(set_binding_values): Don't use INTUSE.
538*946379e7Schristos
539*946379e7Schristos2005-05-05  Bruno Haible  <bruno@clisp.org>
540*946379e7Schristos
541*946379e7Schristos	* dcigettext.c (__libc_rwlock_wrlock): Define fallback.
542*946379e7Schristos	* finddomain.c (__libc_rwlock_define_initialized,
543*946379e7Schristos	__libc_rwlock_rdlock, __libc_rwlock_wrlock, __libc_rwlock_unlock):
544*946379e7Schristos	Define fallbacks.
545*946379e7Schristos	* loadmsgcat.c (__libc_lock_define_initialized_recursive,
546*946379e7Schristos	__libc_lock_lock_recursive, __libc_lock_unlock_recursive): Define
547*946379e7Schristos	fallbacks.
548*946379e7Schristos	(_nl_load_domain): Fix portability problems in last patch.
549*946379e7Schristos
550*946379e7Schristos2004-09-25  Ulrich Drepper  <drepper@redhat.com>
551*946379e7Schristos
552*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls.
553*946379e7Schristos	* dcigettext.c (_nl_find_msg): Call _nl_load_domain also if
554*946379e7Schristos	decided < 0.
555*946379e7Schristos	* finddomain.c (_nl_find_domain): Likewise.
556*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we
557*946379e7Schristos	are done.  First set to -1 to signal initialization is ongoing.
558*946379e7Schristos	Protect against concurrent callers with recursive lock.
559*946379e7Schristos	* finddomain.c (_nl_find_domain): Protect calls to
560*946379e7Schristos	_nl_make_l10nflist.  [BZ #322]
561*946379e7Schristos
562*946379e7Schristos2004-08-06  Jakub Jelinek  <jakub@redhat.com>
563*946379e7Schristos
564*946379e7Schristos	* finddomain.c (free_mem): Rename to...
565*946379e7Schristos	(_nl_finddomain_subfreeres): ... this.  Add __libc_freeres_fn_section.
566*946379e7Schristos	* loadmsgcat.c (_nl_unload_domain): Add __libc_freeres_fn_section.
567*946379e7Schristos	* gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
568*946379e7Schristos	Add attribute_hidden.
569*946379e7Schristos	(_nl_findomain_subfreeres): New prototype.
570*946379e7Schristos
571*946379e7Schristos2005-05-05  Bruno Haible  <bruno@clisp.org>
572*946379e7Schristos
573*946379e7Schristos	* dcigettext.c (_nl_find_msg) [_LIBC]: Update norm_add_slashes call.
574*946379e7Schristos	2004-03-24  Roland McGrath  <roland@redhat.com>
575*946379e7Schristos		* loadmsgcat.c (_nl_init_domain_conv): Update norm_add_slashes
576*946379e7Schristos		call.
577*946379e7Schristos
578*946379e7Schristos2005-05-05  Bruno Haible  <bruno@clisp.org>
579*946379e7Schristos
580*946379e7Schristos	* localealias.c (read_alias_file): Limit last patch to _LIBC case.
581*946379e7Schristos
582*946379e7Schristos2003-09-04  Ulrich Drepper  <drepper@redhat.com>
583*946379e7Schristos
584*946379e7Schristos	* localealias.c (read_alias_file): Use fopen with 'c' mode flag.
585*946379e7Schristos
586*946379e7Schristos2003-09-03  Jakub Jelinek  <jakub@redhat.com>
587*946379e7Schristos
588*946379e7Schristos	* loadmsgcat.c (open, close, read, mmap, munmap): Define as
589*946379e7Schristos	function-like macros.
590*946379e7Schristos
591*946379e7Schristos2003-09-02  Ulrich Drepper  <drepper@redhat.com>
592*946379e7Schristos
593*946379e7Schristos	* loadmsgcat.c: For _LIBC, call not cancelable versions of open, close,
594*946379e7Schristos	and read.
595*946379e7Schristos
596*946379e7Schristos2003-06-18  Ulrich Drepper  <drepper@redhat.com>
597*946379e7Schristos
598*946379e7Schristos	* localealias.c (read_alias_file): Determine whether line is read
599*946379e7Schristos	incompletely early, before we modify the line.
600*946379e7Schristos
601*946379e7Schristos2005-05-05  Bruno Haible  <bruno@clisp.org>
602*946379e7Schristos
603*946379e7Schristos	* hash-string.h (__hash_string): Define differently outside glibc.
604*946379e7Schristos	* hash-string.c: Include config.h.
605*946379e7Schristos	* Makefile.in (SOURCES): Add hash-string.c.
606*946379e7Schristos	(OBJECTS): Add hash-string.$lo.
607*946379e7Schristos	(hash-string.lo): New rule.
608*946379e7Schristos	(hash-string.$lo): Depend on hash-string.h.
609*946379e7Schristos	* Makefile.msvc (OBJECTS): Add hash-string.obj.
610*946379e7Schristos	(hash-string.obj): New rule.
611*946379e7Schristos	* Makefile.vms (OBJECTS): Add hash-string.obj.
612*946379e7Schristos	(hash-string.obj): New rule.
613*946379e7Schristos
614*946379e7Schristos2003-06-11  Ulrich Drepper  <drepper@redhat.com>
615*946379e7Schristos
616*946379e7Schristos	Remove warnings gcc 3.3 shows.
617*946379e7Schristos	* hash-string.c: New file.
618*946379e7Schristos	* hash-string.h: Remove hash_string definition.  Declare __hash_string.
619*946379e7Schristos	* dcigettext.c (_nl_find_msg): Adjust hash_string caller.
620*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Likewise.
621*946379e7Schristos
622*946379e7Schristos2003-04-29  Jakub Jelinek  <jakub@redhat.com>
623*946379e7Schristos
624*946379e7Schristos	* plural.y: Include string.h. Needed because recent versions of bison
625*946379e7Schristos	generate output that uses memcpy().
626*946379e7Schristos
627*946379e7Schristos2003-01-07  Ulrich Drepper  <drepper@redhat.com>
628*946379e7Schristos
629*946379e7Schristos	* explodename.c (_nl_find_language.c): Mark as static.
630*946379e7Schristos	* loadinfo.h: Remove _nl_find_language prototype.
631*946379e7Schristos
632*946379e7Schristos2005-04-30  Bruno Haible  <bruno@clisp.org>
633*946379e7Schristos
634*946379e7Schristos	* langprefs.c: Use #include <CoreFoundation/...> syntax. It's a
635*946379e7Schristos	special Apple syntax implemented in the C compiler, but since
636*946379e7Schristos	<CFString.h> already uses it, all compilers usable on MacOS X must
637*946379e7Schristos	support it.
638*946379e7Schristos	* localename.c: Likewise.
639*946379e7Schristos
640*946379e7Schristos2005-05-03  Bruno Haible  <bruno@clisp.org>
641*946379e7Schristos
642*946379e7Schristos	* dcigettext.c: Include langinfo.h.
643*946379e7Schristos	(HAVE_PER_THREAD_LOCALE): Define also if HAVE_NL_LOCALE_NAME.
644*946379e7Schristos	(DCIGETTEXT): Support retrieving the locale name through nl_langinfo
645*946379e7Schristos	and NL_LOCALE_NAME.
646*946379e7Schristos
647*946379e7Schristos2005-03-20  Bruno Haible  <bruno@clisp.org>
648*946379e7Schristos
649*946379e7Schristos	Make it possible for multiple threads to use gettext() in different
650*946379e7Schristos	locales.
651*946379e7Schristos	* dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
652*946379e7Schristos	(struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
653*946379e7Schristos	field.
654*946379e7Schristos	(transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
655*946379e7Schristos	(DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
656*946379e7Schristos	search and newp.
657*946379e7Schristos	(guess_category_value): If HAVE_PER_THREAD_LOCALE, look at the thread's
658*946379e7Schristos	locale.
659*946379e7Schristos
660*946379e7Schristos2005-03-19  Bruno Haible  <bruno@clisp.org>
661*946379e7Schristos
662*946379e7Schristos	* gettextP.h (struct loaded_domain): Remove codeset_cntr field.
663*946379e7Schristos	(struct binding): Likewise.
664*946379e7Schristos	* bindtextdom.c (set_binding_values): Drop codeset_cntr modifications.
665*946379e7Schristos
666*946379e7Schristos2005-03-19  Bruno Haible  <bruno@clisp.org>
667*946379e7Schristos
668*946379e7Schristos	Fix gettext-tools/tests/gettext-5 bug.
669*946379e7Schristos	* gettextP.h (struct converted_domain): New type.
670*946379e7Schristos	(struct loaded_domain): Remove the conv, conv_tab fields. Add
671*946379e7Schristos	conversions, nconversions fields.
672*946379e7Schristos	(_nl_init_domain_conv): Remove declaration.
673*946379e7Schristos	(_nl_free_domain_conv): Remove declaration.
674*946379e7Schristos	(_nl_find_msg): Add convert argument.
675*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
676*946379e7Schristos	(_nl_find_msg): Add convert argument. When a conversion to a different
677*946379e7Schristos	charset is needed, create a new converted_domain element, instead of
678*946379e7Schristos	throwing away the old converted translations.
679*946379e7Schristos	(get_output_charset): New function.
680*946379e7Schristos	* loadmsgcat.c (_nl_init_domain_conv): Remove function.
681*946379e7Schristos	(_nl_free_domain_conv): Remove function.
682*946379e7Schristos	(_nl_load_domain): Initialize the conversions array to empty. Use
683*946379e7Schristos	_nl_find_msg instead of _nl_init_domain_conv to retrieve the header
684*946379e7Schristos	entry.
685*946379e7Schristos	(_nl_unload_domain): Free the conversions array and its contents.
686*946379e7Schristos
687*946379e7Schristos2005-03-19  Bruno Haible  <bruno@clisp.org>
688*946379e7Schristos
689*946379e7Schristos	* dcigettext.c (struct known_translation_t): Change type of domainname
690*946379e7Schristos	field to 'const char *'.
691*946379e7Schristos	(DCIGETTEXT): Remove const-cast.
692*946379e7Schristos
693*946379e7Schristos2005-04-18  Bruno Haible  <bruno@clisp.org>
694*946379e7Schristos
695*946379e7Schristos	* libgnuintl.h.in (_INTL_REDIRECT_ASM): Test for __APPLE_CC__ > 1.
696*946379e7Schristos	Needed because gcc-4.0 defines __APPLE_CC__ and implements
697*946379e7Schristos	__USER_LABEL_PREFIX__ correctly.
698*946379e7Schristos	* plural-exp.c (GERMANIC_PLURAL): Test for __APPLE_CC > 1.
699*946379e7Schristos	Needed because gcc-4.0 defines __APPLE_CC__.
700*946379e7Schristos
701*946379e7Schristos2006-06-21  Bruno Haible  <bruno@clisp.org>
702*946379e7Schristos
703*946379e7Schristos	* gettext-0.14.6 released.
704*946379e7Schristos
705*946379e7Schristos2005-05-23  Bruno Haible  <bruno@clisp.org>
706*946379e7Schristos
707*946379e7Schristos	* gettext-0.14.5 released.
708*946379e7Schristos
709*946379e7Schristos2005-04-11  Bruno Haible  <bruno@clisp.org>
710*946379e7Schristos
711*946379e7Schristos	* gettext-0.14.4 released.
712*946379e7Schristos
713*946379e7Schristos2005-04-11  Bruno Haible  <bruno@clisp.org>
714*946379e7Schristos
715*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:3:4.
716*946379e7Schristos
717*946379e7Schristos2005-03-16  Bruno Haible  <bruno@clisp.org>
718*946379e7Schristos
719*946379e7Schristos	Canonicalize locale names on MacOS X.
720*946379e7Schristos	* localename.c (_nl_locale_name_canonicalize): New function.
721*946379e7Schristos	(_nl_locale_name_default): Use it.
722*946379e7Schristos	* langprefs.c (_nl_locale_name_canonicalize): New declaration.
723*946379e7Schristos	(_nl_language_preferences_default): Use it.
724*946379e7Schristos
725*946379e7Schristos2005-03-14  Bruno Haible  <bruno@clisp.org>
726*946379e7Schristos
727*946379e7Schristos	* gettext-0.14.3 released.
728*946379e7Schristos
729*946379e7Schristos2005-03-14  Bruno Haible  <bruno@clisp.org>
730*946379e7Schristos
731*946379e7Schristos	* Makefile.in (dist, distdir): Ignore a failure to copy Makefile.in.
732*946379e7Schristos	Needed because the automake-1.9 generated dist rule of the parent
733*946379e7Schristos	directory already copies this file.
734*946379e7Schristos
735*946379e7Schristos2005-03-08  Bruno Haible  <bruno@clisp.org>
736*946379e7Schristos
737*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:2:4.
738*946379e7Schristos
739*946379e7Schristos2005-03-06  Bruno Haible  <bruno@clisp.org>
740*946379e7Schristos
741*946379e7Schristos	* Makefile.in (dist, distdir): Fail if some of the files to be
742*946379e7Schristos	distributed do not exist or cannot be copied.
743*946379e7Schristos	Suggested by Alexandre Duret-Lutz <adl@src.lip6.fr>.
744*946379e7Schristos
745*946379e7Schristos2005-02-24  Bruno Haible  <bruno@clisp.org>
746*946379e7Schristos
747*946379e7Schristos	* gettext-0.14.2 released.
748*946379e7Schristos
749*946379e7Schristos2005-02-12  Bruno Haible  <bruno@clisp.org>
750*946379e7Schristos
751*946379e7Schristos	* vasnprintf.c (EOVERFLOW): Define to a fallback if needed.
752*946379e7Schristos
753*946379e7Schristos2005-02-11  Bruno Haible  <bruno@clisp.org>
754*946379e7Schristos
755*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:1:4.
756*946379e7Schristos
757*946379e7Schristos2005-01-29  Bruno Haible  <bruno@clisp.org>
758*946379e7Schristos
759*946379e7Schristos	* Makefile.am (libintl.la, libgnuintl.la): Use INTL_MACOSX_LIBS
760*946379e7Schristos	instead of INTL_MACOSX_LDFLAGS.
761*946379e7Schristos
762*946379e7Schristos2004-09-08  Bruno Haible  <bruno@clisp.org>
763*946379e7Schristos
764*946379e7Schristos	* vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length
765*946379e7Schristos	is > INT_MAX.
766*946379e7Schristos
767*946379e7Schristos2005-01-01  Bruno Haible  <bruno@clisp.org>
768*946379e7Schristos
769*946379e7Schristos	* dcigettext.c (guess_category_value): Let the environment variables
770*946379e7Schristos	LC_ALL, LC_xxx, LANG take precedence over the system-dependent language
771*946379e7Schristos	preference list.
772*946379e7Schristos	* gettextP.h (_nl_language_preferences): Remove declaration.
773*946379e7Schristos	(_nl_language_preferences_default): New declaration.
774*946379e7Schristos	(_nl_locale_name_posix, _nl_locale_name_default): New declarations.
775*946379e7Schristos	* langprefs.c (_nl_language_preferences_default): Renamed from
776*946379e7Schristos	_nl_language_preferences. Remove handling of getenv("LANGUAGE").
777*946379e7Schristos	* localename.c (_nl_locale_name_posix, _nl_locale_name_default): New
778*946379e7Schristos	functions, extracted from _nl_locale_name.
779*946379e7Schristos	(_nl_locale_name): Use them.
780*946379e7Schristos
781*946379e7Schristos2004-09-06  Bruno Haible  <bruno@clisp.org>
782*946379e7Schristos
783*946379e7Schristos	* localename.c (_nl_locale_name): Add code for MacOS X versions that
784*946379e7Schristos	don't have the CFLocaleCopyCurrent() function.
785*946379e7Schristos	* langprefs.c (_nl_language_preferences): Make code more robust.
786*946379e7Schristos
787*946379e7Schristos2004-09-05  Bruno Haible  <bruno@clisp.org>
788*946379e7Schristos
789*946379e7Schristos	* langprefs.c: New file.
790*946379e7Schristos	* gettextP.h (_nl_language_preferences): New declaration.
791*946379e7Schristos	* dcigettext.c (guess_category_value) [!_LIBC]: Use
792*946379e7Schristos	_nl_language_preferences.
793*946379e7Schristos	* Makefile.in (SOURCES): Add langprefs.c.
794*946379e7Schristos	(OBJECTS): Add langprefs.$lo.
795*946379e7Schristos	(langprefs.lo): New rule.
796*946379e7Schristos	* Makefile.msvc (OBJECTS): Add langprefs.obj.
797*946379e7Schristos	(langprefs.obj): New rule.
798*946379e7Schristos	* Makefile.vms (OBJECTS): Add langprefs.obj.
799*946379e7Schristos	(langprefs.obj): New rule.
800*946379e7Schristos
801*946379e7Schristos2004-09-03  Bruno Haible  <bruno@clisp.org>
802*946379e7Schristos
803*946379e7Schristos	* localename.c (_nl_locale_name): Use a more intelligent fallback on
804*946379e7Schristos	MacOS X versions that have the CFLocaleCopyCurrent() function.
805*946379e7Schristos	* Makefile.in (libintl.la, libgnuintl.la): Use the INTL_MACOSX_LDFLAGS.
806*946379e7Schristos
807*946379e7Schristos2004-09-01  Bruno Haible  <bruno@clisp.org>
808*946379e7Schristos
809*946379e7Schristos	* config.charset: Add support for Darwin 7.
810*946379e7Schristos
811*946379e7Schristos2004-08-13  Bruno Haible  <bruno@clisp.org>
812*946379e7Schristos
813*946379e7Schristos	* libgnuintl.h.in (__GNU_GETTEXT_SUPPORTED_REVISION): Treat major
814*946379e7Schristos	revision 1 like major revision 0. Needed for 2004-01-09 change.
815*946379e7Schristos
816*946379e7Schristos2004-08-08  Bruno Haible  <bruno@clisp.org>
817*946379e7Schristos
818*946379e7Schristos	* relocatable.c (FILE_SYSTEM_PREFIX_LEN): Renamed from
819*946379e7Schristos	FILESYSTEM_PREFIX_LEN.
820*946379e7Schristos	(compute_curr_prefix): Update.
821*946379e7Schristos
822*946379e7Schristos2004-05-14  Bruno Haible  <bruno@clisp.org>
823*946379e7Schristos
824*946379e7Schristos	* vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision
825*946379e7Schristos	that consists of a '.' followed by an empty digit string.
826*946379e7Schristos	Patch by Tor Lillqvist <tml@iki.fi>.
827*946379e7Schristos
828*946379e7Schristos2004-04-28  Bruno Haible  <bruno@clisp.org>
829*946379e7Schristos
830*946379e7Schristos	* dcigettext.c (ISSLASH, IS_ABSOLUTE_PATH, IS_PATH_WITH_DIR): Treat
831*946379e7Schristos	Cygwin like Windows, since it now accepts Windows pathnames.
832*946379e7Schristos	* l10nflist.c (ISSLASH, IS_ABSOLUTE_PATH): Treat Cygwin like Windows,
833*946379e7Schristos	since it now accepts Windows pathnames.
834*946379e7Schristos	* localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now
835*946379e7Schristos	accepts Windows pathnames.
836*946379e7Schristos	* relocatable.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN):
837*946379e7Schristos	Treat Cygwin like Windows, since it now accepts Windows pathnames.
838*946379e7Schristos	(compute_curr_prefix): Likewise.
839*946379e7Schristos	Reported by Derek Robert Price <derek@ximbiot.com>.
840*946379e7Schristos
841*946379e7Schristos2004-04-23  Bruno Haible  <bruno@clisp.org>
842*946379e7Schristos
843*946379e7Schristos	* localcharset.c (get_charset_aliases): Allow the CHARSETALIASDIR
844*946379e7Schristos	environment variable to override LIBDIR.
845*946379e7Schristos	Suggested by Matthias Clasen <mclasen@redhat.com>.
846*946379e7Schristos
847*946379e7Schristos2004-04-20  Jim Meyering  <jim@meyering.net>
848*946379e7Schristos            Bruno Haible  <bruno@clisp.org>
849*946379e7Schristos
850*946379e7Schristos	* localcharset.c (get_charset_aliases) [!VMS && !WIN32]: Don't leak
851*946379e7Schristos	memory when realloc fails.
852*946379e7Schristos
853*946379e7Schristos2004-03-02  Bruno Haible  <bruno@clisp.org>
854*946379e7Schristos
855*946379e7Schristos	* localename.c (_nl_locale_name): Add info about default territory for
856*946379e7Schristos	Basque, Mongolian, Russian, Tamil. Map Norwegian to nb, not no.
857*946379e7Schristos
858*946379e7Schristos2004-02-02  Bruno Haible  <bruno@clisp.org>
859*946379e7Schristos
860*946379e7Schristos	* Makefile.in (install-exec, installdirs, uninstall): Install
861*946379e7Schristos	preloaded_libintl.so only on glibc systems, not on OpenBSD.
862*946379e7Schristos	Reported by Han Boetes <han@mijncomputer.nl>.
863*946379e7Schristos
864*946379e7Schristos2004-01-29  Bruno Haible  <bruno@clisp.org>
865*946379e7Schristos
866*946379e7Schristos	* gettext-0.14.1 released.
867*946379e7Schristos
868*946379e7Schristos2004-01-28  Bruno Haible  <bruno@clisp.org>
869*946379e7Schristos
870*946379e7Schristos	* gettext-0.14 released.
871*946379e7Schristos
872*946379e7Schristos2004-01-21  Bruno Haible  <bruno@clisp.org>
873*946379e7Schristos
874*946379e7Schristos	* config.charset: Add support for MacOS X (Darwin).
875*946379e7Schristos
876*946379e7Schristos2004-01-18  Bruno Haible  <bruno@clisp.org>
877*946379e7Schristos
878*946379e7Schristos	* localename.c (_nl_locale_name): Use two-letter ISO 639 codes for
879*946379e7Schristos	Divehi, Fulfulde, Igbo, Kanuri, Venda.
880*946379e7Schristos
881*946379e7Schristos2004-01-17  Bruno Haible  <bruno@clisp.org>
882*946379e7Schristos
883*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 7:0:4.
884*946379e7Schristos
885*946379e7Schristos2003-12-02  Jakub Jelinek  <jakub@redhat.com>
886*946379e7Schristos
887*946379e7Schristos	* locale.alias: Use nb_NO instead of no_NO for bokmål.
888*946379e7Schristos
889*946379e7Schristos2003-11-03  Ulrich Drepper  <drepper@redhat.com>
890*946379e7Schristos
891*946379e7Schristos	* locale.alias: nb_NO is now the correct name, not no_NO.
892*946379e7Schristos
893*946379e7Schristos2004-01-09  Bruno Haible  <bruno@clisp.org>
894*946379e7Schristos
895*946379e7Schristos	* gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition.
896*946379e7Schristos	* loadmsgcat.c (get_sysdep_segment_value): Handle "I".
897*946379e7Schristos	(_nl_load_domain): Treat major revision 1 like major revision 0.
898*946379e7Schristos
899*946379e7Schristos2004-01-08  Bruno Haible  <bruno@clisp.org>
900*946379e7Schristos
901*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): When a string pair uses a system
902*946379e7Schristos	dependent segment not known to this version of the library, ignore
903*946379e7Schristos	the string pair instead of crashing.
904*946379e7Schristos
905*946379e7Schristos2003-12-17  Bruno Haible  <bruno@clisp.org>
906*946379e7Schristos
907*946379e7Schristos	* gettext-0.13.1 released.
908*946379e7Schristos
909*946379e7Schristos2003-12-17  Bruno Haible  <bruno@clisp.org>
910*946379e7Schristos
911*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 6:1:4.
912*946379e7Schristos
913*946379e7Schristos2003-12-05  Bruno Haible  <bruno@clisp.org>
914*946379e7Schristos
915*946379e7Schristos	* localename.c (_nl_locale_name): Change result for Latin Uzbek locale
916*946379e7Schristos	to match the glibc name.
917*946379e7Schristos
918*946379e7Schristos2003-12-02  Bruno Haible  <bruno@clisp.org>
919*946379e7Schristos
920*946379e7Schristos	* localename.c (LANG_AMHARIC, LANG_BURMESE, LANG_CAMBODIAN,
921*946379e7Schristos	LANG_CHEROKEE, LANG_EDO, LANG_FRISIAN, LANG_FULFULDE, LANG_GUARANI,
922*946379e7Schristos	LANG_HAUSA, LANG_HAWAIIAN, LANG_IBIBIO, LANG_IGBO, LANG_INUKTITUT,
923*946379e7Schristos	LANG_KANURI, LANG_LAO, LANG_LATIN, LANG_OROMO, LANG_PAPIAMENTU,
924*946379e7Schristos	LANG_PASHTO, LANG_SINHALESE, LANG_SOMALI, LANG_TAGALOG, LANG_TAJIK,
925*946379e7Schristos	LANG_TAMAZIGHT, LANG_TIBETAN, LANG_TIGRINYA, LANG_TURKMEN, LANG_YI,
926*946379e7Schristos	LANG_YIDDISH, LANG_YORUBA): New macros.
927*946379e7Schristos	(LANG_GAELIC, LANG_MALTESE, LANG_RHAETO_ROMANCE, LANG_SAAMI, LANG_SUTU,
928*946379e7Schristos	LANG_TSONGA, LANG_TSWANA, LANG_VENDA, LANG_WELSH, LANG_XHOSA,
929*946379e7Schristos	LANG_ZULU): New macros, consistent with those found in Wine.
930*946379e7Schristos	(SUBLANG_BENGALI_INDIA, SUBLANG_BENGALI_BANGLADESH,
931*946379e7Schristos	SUBLANG_ENGLISH_INDONESIA, SUBLANG_ENGLISH_HONGKONG,
932*946379e7Schristos	SUBLANG_ENGLISH_INDIA, SUBLANG_ENGLISH_MALAYSIA,
933*946379e7Schristos	SUBLANG_ENGLISH_SINGAPORE, SUBLANG_FRENCH_WESTINDIES,
934*946379e7Schristos	SUBLANG_FRENCH_REUNION, SUBLANG_FRENCH_CONGO, SUBLANG_FRENCH_SENEGAL,
935*946379e7Schristos	SUBLANG_FRENCH_CAMEROON, SUBLANG_FRENCH_COTEDIVOIRE,
936*946379e7Schristos	SUBLANG_FRENCH_MALI, SUBLANG_FRENCH_MOROCCO, SUBLANG_FRENCH_HAITI,
937*946379e7Schristos	SUBLANG_PUNJABI_INDIA, SUBLANG_PUNJABI_PAKISTAN,
938*946379e7Schristos	SUBLANG_ROMANIAN_ROMANIA, SUBLANG_ROMANIAN_MOLDOVA,
939*946379e7Schristos	SUBLANG_SINDHI_INDIA, SUBLANG_SINDHI_PAKISTAN,
940*946379e7Schristos	SUBLANG_TAMAZIGHT_ARABIC, SUBLANG_TAMAZIGHT_LATIN,
941*946379e7Schristos	SUBLANG_TIGRINYA_ETHIOPIA, SUBLANG_TIGRINYA_ERITREA): New macros.
942*946379e7Schristos	(_nl_locale_name) [WIN32]: Use them. Improve handling of Bengali,
943*946379e7Schristos	Serbian, English, French, Punjabi, Romanian, Sindhi, Tamazight,
944*946379e7Schristos	Tigrinya.
945*946379e7Schristos
946*946379e7Schristos2003-12-02  Bruno Haible  <bruno@clisp.org>
947*946379e7Schristos
948*946379e7Schristos	* config.charset: Treat the new country name CS like the old country
949*946379e7Schristos	name YU.
950*946379e7Schristos
951*946379e7Schristos2003-11-30  Bruno Haible  <bruno@clisp.org>
952*946379e7Schristos
953*946379e7Schristos	* gettext-0.13 released.
954*946379e7Schristos
955*946379e7Schristos2003-11-23  Paul Eggert  <eggert@twinsun.com>
956*946379e7Schristos            Bruno Haible  <bruno@clisp.org>
957*946379e7Schristos
958*946379e7Schristos	* printf-parse.h: Don't include sys/types.h.
959*946379e7Schristos	(ARG_NONE): New macro.
960*946379e7Schristos	(char_directive): Change type of *arg_index fields to size_t.
961*946379e7Schristos	* wprintf-parse.h: Don't include sys/types.h.
962*946379e7Schristos	(ARG_NONE): New macro.
963*946379e7Schristos	(wchar_t_directive): Change type of *arg_index fields to size_t.
964*946379e7Schristos	* printf-parse.c: Don't include sys/types.h.
965*946379e7Schristos	(SSIZE_MAX): Remove macro.
966*946379e7Schristos	(PRINTF_PARSE): Change the type of the arg_index variables to size_t.
967*946379e7Schristos	Remove unnecessary overflow check.
968*946379e7Schristos	* vasnprintf.c (VASNPRINTF): Update for type change of *arg_index
969*946379e7Schristos	fields.
970*946379e7Schristos
971*946379e7Schristos2003-11-17  Bruno Haible  <bruno@clisp.org>
972*946379e7Schristos
973*946379e7Schristos	* vasnprintf.c (alloca): Remove fallback definition.
974*946379e7Schristos	(freea): Remove definition.
975*946379e7Schristos	(VASNPRINTF): Use alloca only for small sizes, say <= 4000 bytes.
976*946379e7Schristos	Reported by Paul Eggert.
977*946379e7Schristos
978*946379e7Schristos2003-11-16  Paul Eggert  <eggert@twinsun.com>
979*946379e7Schristos            Bruno Haible  <bruno@clisp.org>
980*946379e7Schristos
981*946379e7Schristos	Protect against address arithmetic overflow.
982*946379e7Schristos	* printf-args.h: Include stddef.h.
983*946379e7Schristos	(arguments): Change type of field 'count' to size_t.
984*946379e7Schristos	* printf-args.c (printf_fetchargs): Use size_t instead of
985*946379e7Schristos	'unsigned int' where appropriate.
986*946379e7Schristos	* printf-parse.h: Include sys/types.h.
987*946379e7Schristos	(char_directive): Change type of *arg_index fields to ssize_t.
988*946379e7Schristos	(char_directives): Change type of fields 'count', max_*_length to
989*946379e7Schristos	size_t.
990*946379e7Schristos	* wprintf-parse.h: Include sys/types.h.
991*946379e7Schristos	(wchar_t_directive): Change type of *arg_index fields to ssize_t.
992*946379e7Schristos	(wchar_t_directives): Change type of fields 'count', max_*_length to
993*946379e7Schristos	size_t.
994*946379e7Schristos	* printf-parse.c: Include sys/types.h and xsize.h.
995*946379e7Schristos	(SSIZE_MAX): Define fallback value.
996*946379e7Schristos	(PRINTF_PARSE): Use size_t instead of 'unsigned int' and ssize_t
997*946379e7Schristos	instead of 'int' where appropriate. Check a_allocated, d_allocated
998*946379e7Schristos	against overflow. Reject %m$ argument numbers > SSIZE_MAX + 1.
999*946379e7Schristos	* vasnprintf.c: Include xsize.h.
1000*946379e7Schristos	(VASNPRINTF): Use size_t instead of 'unsigned int' where appropriate.
1001*946379e7Schristos	Check alloca, malloc, realloc, ENSURE_ALLOCATION arguments against
1002*946379e7Schristos	overflow. Avoid wraparound when converting a width or precision from
1003*946379e7Schristos	decimal to binary.
1004*946379e7Schristos	* xsize.h: New file, from gnulib.
1005*946379e7Schristos	* Makefile.in (HEADERS): Add xsize.h.
1006*946379e7Schristos	(printf.$lo): Depend on it.
1007*946379e7Schristos
1008*946379e7Schristos2003-11-16  Bruno Haible  <bruno@clisp.org>
1009*946379e7Schristos
1010*946379e7Schristos	* libgnuintl.h.in (_INTL_REDIRECT_ASM): Don't define on AIX with gcc 2.
1011*946379e7Schristos	Reported by Kouichi Hashikawa <z01a7ksy@cs.ecip.tohoku.ac.jp>.
1012*946379e7Schristos
1013*946379e7Schristos2003-10-19  Bruno Haible  <bruno@clisp.org>
1014*946379e7Schristos
1015*946379e7Schristos	* hash-string.h (hash_string): Zero-extend each char from the string;
1016*946379e7Schristos	the old code did a sign-extend on some platforms.
1017*946379e7Schristos
1018*946379e7Schristos2003-10-19  Jim Meyering  <jim@meyering.net>
1019*946379e7Schristos
1020*946379e7Schristos	* vasnprintf.c (VASNPRINTF): Work around losing snprintf on HPUX 10.20.
1021*946379e7Schristos
1022*946379e7Schristos2003-10-09  Bruno Haible  <bruno@clisp.org>
1023*946379e7Schristos
1024*946379e7Schristos	* relocatable.c: Include xalloc.h instead of xmalloc.h.
1025*946379e7Schristos
1026*946379e7Schristos2003-10-07  Bruno Haible  <bruno@clisp.org>
1027*946379e7Schristos
1028*946379e7Schristos	Assume ANSI C.
1029*946379e7Schristos	* libgnuintl.h.in (PARAMS): Remove macro.
1030*946379e7Schristos	(gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext,
1031*946379e7Schristos	textdomain, bindtextdomain, bind_textdomain_codeset, fprintf, vfprintf,
1032*946379e7Schristos	printf, vprintf, sprintf, vsprintf, snprintf, vsnprintf, asprintf,
1033*946379e7Schristos	vasprintf, fwprintf, vfwprintf, wprintf, vwprintf, swprintf, vswprintf,
1034*946379e7Schristos	libintl_set_relocation_prefix): Use ANSI C function declarations.
1035*946379e7Schristos	* gettextP.h (PARAMS): Remove macro.
1036*946379e7Schristos	(_nl_locale_name, _nl_find_domain, _nl_load_domain, _nl_unload_domain,
1037*946379e7Schristos	_nl_init_domain_conv, _nl_free_domain_conv, _nl_find_msg, __gettext,
1038*946379e7Schristos	__dgettext, __dcgettext, __ngettext, __dngettext, __dcngettext,
1039*946379e7Schristos	__dcigettext, __textdomain, __bindtextdomain,
1040*946379e7Schristos	__bind_textdomain_codeset, libintl_dcigettext): Use ANSI C function
1041*946379e7Schristos	declarations.
1042*946379e7Schristos	* hash-string.h (PARAMS): Remove macro.
1043*946379e7Schristos	(hash_string): Use ANSI C function declaration.
1044*946379e7Schristos	* loadinfo.h (PARAMS): Remove macro.
1045*946379e7Schristos	(_nl_normalize_codeset, _nl_make_l10nflist, _nl_expand_alias,
1046*946379e7Schristos	_nl_explode_name, _nl_find_language): Use ANSI C function declarations.
1047*946379e7Schristos	* plural-exp.h (PARAMS): Remove macro.
1048*946379e7Schristos	(FREE_EXPRESSION, PLURAL_PARSE, GERMANIC_PLURAL,
1049*946379e7Schristos	EXTRACT_PLURAL_EXPRESSION): Use ANSI C function declarations.
1050*946379e7Schristos	* bindtextdom.c (set_binding_values, BINDTEXTDOMAIN,
1051*946379e7Schristos	BIND_TEXTDOMAIN_CODESET): Use ANSI C function declarations.
1052*946379e7Schristos	* dcgettext.c (DCGETTEXT): Likewise.
1053*946379e7Schristos	* dcigettext.c (transcmp, DCIGETTEXT, _nl_log_untranslated,
1054*946379e7Schristos	_nl_find_msg, plural_lookup, category_to_name, guess_category_value,
1055*946379e7Schristos	stpcpy, mempcpy): Likewise.
1056*946379e7Schristos	* dcngettext.c (DCNGETTEXT): Likewise.
1057*946379e7Schristos	* dgettext.c (DGETTEXT): Likewise.
1058*946379e7Schristos	* dngettext.c (DNGETTEXT): Likewise.
1059*946379e7Schristos	* eval-plural.h (plural_eval): Likewise.
1060*946379e7Schristos	* explodename.c (_nl_find_language, _nl_explode_name): Likewise.
1061*946379e7Schristos	* finddomain.c (_nl_find_domain): Likewise.
1062*946379e7Schristos	* gettext.c (GETTEXT): Likewise.
1063*946379e7Schristos	* intl-compat.c (gettext, dgettext, dcgettext, ngettext, dngettext,
1064*946379e7Schristos	dcngettext, textdomain, bindtextdomain, bind_textdomain_codeset):
1065*946379e7Schristos	Likewise.
1066*946379e7Schristos	* l10nflist.c (argz_count__, argz_stringify__, argz_next__, pop,
1067*946379e7Schristos	_nl_make_l10nflist, _nl_normalize_codeset, stpcpy): Likewise.
1068*946379e7Schristos	* loadmsgcat.c (get_sysdep_segment_value, _nl_init_domain_conv,
1069*946379e7Schristos	locale_charset, _nl_free_domain_conv, _nl_load_domain,
1070*946379e7Schristos	_nl_unload_domain): Likewise.
1071*946379e7Schristos	* localealias.c (_nl_expand_alias, read_alias_file, alias_compare):
1072*946379e7Schristos	Likewise.
1073*946379e7Schristos	* localename.c (_nl_locale_name): Likewise.
1074*946379e7Schristos	* log.c (print_escaped, _nl_log_untranslated): Likewise.
1075*946379e7Schristos	* ngettext.c (NGETTEXT): Likewise.
1076*946379e7Schristos	* plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
1077*946379e7Schristos	* plural.y (new_exp, new_exp_0, new_exp_1, new_exp_2, new_exp_3,
1078*946379e7Schristos	FREE_EXPRESSION, yylex, yyerror): Likewise.
1079*946379e7Schristos	* textdomain.c (TEXTDOMAIN): Likewise.
1080*946379e7Schristos
1081*946379e7Schristos2003-09-17  Bruno Haible  <bruno@clisp.org>
1082*946379e7Schristos
1083*946379e7Schristos	* printf.c: Test HAVE_FWPRINTF, not HAVE_WPRINTF. Needed for
1084*946379e7Schristos	portability to Cygwin.
1085*946379e7Schristos
1086*946379e7Schristos2003-09-04  Bruno Haible  <bruno@clisp.org>
1087*946379e7Schristos
1088*946379e7Schristos	* dgettext.c: Include <locale.h> after gettextP.h, not before. This
1089*946379e7Schristos	ensures that libintl_dcgettext is correctly declared on Solaris.
1090*946379e7Schristos	(Needed because Solaris <locale.h> includes libintl.h.)
1091*946379e7Schristos	* dngettext.c: Likewise, for the libintl_dcngettext declaration.
1092*946379e7Schristos
1093*946379e7Schristos2003-08-29  Bruno Haible  <bruno@clisp.org>
1094*946379e7Schristos
1095*946379e7Schristos	* vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
1096*946379e7Schristos	Test HAVE_DECL__SNWPRINTF instead of HAVE__SNWPRINTF.
1097*946379e7Schristos	* printf.c: Likewise.
1098*946379e7Schristos
1099*946379e7Schristos2003-08-27  Bruno Haible  <bruno@clisp.org>
1100*946379e7Schristos
1101*946379e7Schristos	* Makefile.in (install-exec): Fix the 2003-04-06 patch.
1102*946379e7Schristos
1103*946379e7Schristos2003-08-24  Bruno Haible  <bruno@clisp.org>
1104*946379e7Schristos
1105*946379e7Schristos	* vasnprintf.c (local_wcslen): Protect against multiple definition.
1106*946379e7Schristos	(USE_SNPRINTF): Define also if only _snprintf() is available.
1107*946379e7Schristos	(SNPRINTF): Possibly define as _snprintf or _snwprintf.
1108*946379e7Schristos	* printf.c (DLL_EXPORTED): New macro.
1109*946379e7Schristos	Mark all functions as DLL_EXPORTED.
1110*946379e7Schristos	(system_vsnprintf): New macro.
1111*946379e7Schristos	(libintl_vsnprintf): Use it.
1112*946379e7Schristos	(system_vswprintf): New macro.
1113*946379e7Schristos	(libintl_vswprintf): Use it.
1114*946379e7Schristos
1115*946379e7Schristos2003-08-24  Bruno Haible  <bruno@clisp.org>
1116*946379e7Schristos
1117*946379e7Schristos	* libgnuintl.h.in: Use <stdarg.h> when compiling with MSVC, even though
1118*946379e7Schristos	it doesn't define __STDC__ by default.
1119*946379e7Schristos
1120*946379e7Schristos2003-08-24  Bruno Haible  <bruno@clisp.org>
1121*946379e7Schristos
1122*946379e7Schristos	* relocatable.h: Make this file includable in C++ mode: add extern "C".
1123*946379e7Schristos
1124*946379e7Schristos2003-08-23  Bruno Haible  <bruno@clisp.org>
1125*946379e7Schristos
1126*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 6:0:4.
1127*946379e7Schristos
1128*946379e7Schristos2003-08-20  Bruno Haible  <bruno@clisp.org>
1129*946379e7Schristos
1130*946379e7Schristos	* config.charset (linux-gnulibc1*): Change hr_HR, ro_RO to ISO-8859-2.
1131*946379e7Schristos	Reported by Alain Guibert <derogaton+bgli@oreka.com>.
1132*946379e7Schristos
1133*946379e7Schristos2003-08-14  Bruno Haible  <bruno@clisp.org>
1134*946379e7Schristos
1135*946379e7Schristos	* config.charset: Add support for Linux libc5. Based on data from
1136*946379e7Schristos	Alain Guibert <derogaton+bgli@oreka.com>.
1137*946379e7Schristos
1138*946379e7Schristos2003-08-11  Bruno Haible  <bruno@clisp.org>
1139*946379e7Schristos
1140*946379e7Schristos	* vasnprintf.c (local_wcslen): New function, for Solaris 2.5.1.
1141*946379e7Schristos	(VASNPRINTF): Use it instead of wcslen.
1142*946379e7Schristos
1143*946379e7Schristos2003-08-01  Bruno Haible  <bruno@clisp.org>
1144*946379e7Schristos
1145*946379e7Schristos	* relocatable.c (find_shared_library_fullname): Disable the code on
1146*946379e7Schristos	Linux/libc5. Reported by Alain Guibert <derogaton+bgli@oreka.com>.
1147*946379e7Schristos
1148*946379e7Schristos2003-06-27  Bruno Haible  <bruno@clisp.org>
1149*946379e7Schristos
1150*946379e7Schristos	Avoid use of *_unlocked functions on Solaris 2.5.1.
1151*946379e7Schristos	* localcharset.c: Test HAVE_DECL_GETC_UNLOCKED, not HAVE_GETC_UNLOCKED.
1152*946379e7Schristos	* localealias.c: Test HAVE_DECL_*_UNLOCKED, not HAVE_*_UNLOCKED.
1153*946379e7Schristos	Reported by Eric Botcazou <ebotcazou@libertysurf.fr>.
1154*946379e7Schristos
1155*946379e7Schristos2003-06-22  Bruno Haible  <bruno@clisp.org>
1156*946379e7Schristos
1157*946379e7Schristos	Portability to mingw32.
1158*946379e7Schristos	* relocatable.c [WIN32]: Include <windows.h>.
1159*946379e7Schristos	Reported by Jeff Bonggren <jbon@cfl.rr.com>.
1160*946379e7Schristos
1161*946379e7Schristos2003-06-22  Bruno Haible  <bruno@clisp.org>
1162*946379e7Schristos
1163*946379e7Schristos	* relocatable.c (compute_curr_prefix): Comment out this function in
1164*946379e7Schristos	the case when it is not used.
1165*946379e7Schristos	Reported by Pavel Roskin <proski@gnu.org>.
1166*946379e7Schristos
1167*946379e7Schristos2003-06-22  Bruno Haible  <bruno@clisp.org>
1168*946379e7Schristos
1169*946379e7Schristos	* gettextP.h: Undefine _INTL_REDIRECT_INLINE, _INTL_REDIRECT_MACROS,
1170*946379e7Schristos	possibly defined in config.h, before setting _INTL_REDIRECT_MACROS.
1171*946379e7Schristos	Reported by Pavel Roskin <proski@gnu.org>.
1172*946379e7Schristos
1173*946379e7Schristos2003-06-19  Bruno Haible  <bruno@clisp.org>
1174*946379e7Schristos
1175*946379e7Schristos	* printf-args.h: New file, from ../libasprintf.
1176*946379e7Schristos	* printf-args.c: New file, from ../libasprintf.
1177*946379e7Schristos	* printf-parse.h: New file, from ../libasprintf.
1178*946379e7Schristos	* printf-parse.c: New file, from ../libasprintf.
1179*946379e7Schristos	* vasnprintf.h: New file, from ../libasprintf.
1180*946379e7Schristos	* vasnprintf.c: New file, from ../libasprintf.
1181*946379e7Schristos	* wprintf-parse.h: New file.
1182*946379e7Schristos	* vasnwprintf.h: New file.
1183*946379e7Schristos	* printf.c: New file.
1184*946379e7Schristos	* libgnuintl.h.in (fprintf, vfprintf, printf, vprintf, sprintf,
1185*946379e7Schristos	vsprintf, snprintf, vsnprintf, asprintf, vasprintf, fwprintf,
1186*946379e7Schristos	vfwprintf, wprintf, vwprintf, swprintf, vswprintf): New fallback
1187*946379e7Schristos	macros.
1188*946379e7Schristos	* Makefile.in (HEADERS): Add printf-args.h, printf-args.c,
1189*946379e7Schristos	printf-parse.h, wprintf-parse.h, printf-parse.c, vasnprintf.h,
1190*946379e7Schristos	vasnwprintf.h, vasnprintf.c.
1191*946379e7Schristos	(SOURCES): Add printf.c.
1192*946379e7Schristos	(OBJECTS): Add printf.$lo.
1193*946379e7Schristos	(DISTFILES.gettext): Add libgnuintl.h_vms, libgnuintl.h.msvc-static.
1194*946379e7Schristos	(printf.lo): New rule.
1195*946379e7Schristos	(libgnuintl.h): Also perform some AC_SUBST substitutions.
1196*946379e7Schristos	(printf.$lo): New dependencies.
1197*946379e7Schristos	* Makefile.msvc (OBJECTS): Add printf.obj.
1198*946379e7Schristos	(libgnuintl.h): Use libgnuintl.h.msvc-static.
1199*946379e7Schristos	(printf.obj): New rule.
1200*946379e7Schristos	* Makefile.vms (libgnuintl.h): Use libgnuintl.h_vms.
1201*946379e7Schristos
1202*946379e7Schristos2003-06-12  Bruno Haible  <bruno@clisp.org>
1203*946379e7Schristos
1204*946379e7Schristos	* libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Mingw.
1205*946379e7Schristos	Reported by Tor Lillqvist <tml@iki.fi>.
1206*946379e7Schristos
1207*946379e7Schristos2003-06-08  Bruno Haible  <bruno@clisp.org>
1208*946379e7Schristos
1209*946379e7Schristos	* dcigettext.c (getcwd) [VMS]: Pass 3 arguments.
1210*946379e7Schristos	Reported by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
1211*946379e7Schristos
1212*946379e7Schristos2003-05-22  Bruno Haible  <bruno@clisp.org>
1213*946379e7Schristos
1214*946379e7Schristos	* gettext-0.12.1 released.
1215*946379e7Schristos
1216*946379e7Schristos2003-05-20  Bruno Haible  <bruno@clisp.org>
1217*946379e7Schristos
1218*946379e7Schristos	* Makefile.in (VPATH): Add back this variable, needed outside gettext
1219*946379e7Schristos	when $builddir != $srcdir.
1220*946379e7Schristos	Reported by Pavel Roskin <proski@gnu.org>.
1221*946379e7Schristos
1222*946379e7Schristos2003-05-18  Bruno Haible  <bruno@clisp.org>
1223*946379e7Schristos
1224*946379e7Schristos	* Makefile.msvc (DEBUGFLAGS): New variable.
1225*946379e7Schristos	(intl.lib): Use it.
1226*946379e7Schristos
1227*946379e7Schristos2003-05-17  Bruno Haible  <bruno@clisp.org>
1228*946379e7Schristos
1229*946379e7Schristos	* gettext-0.12 released.
1230*946379e7Schristos
1231*946379e7Schristos2003-05-12  Bruno Haible  <bruno@clisp.org>
1232*946379e7Schristos
1233*946379e7Schristos	* Makefile.msvc (PICFLAGS, CFLAGS): Move BUILDING_* macros from
1234*946379e7Schristos	CFLAGS to PICFLAGS.
1235*946379e7Schristos	Reported by Perry Rapp.
1236*946379e7Schristos
1237*946379e7Schristos2003-05-07  Bruno Haible  <bruno@clisp.org>
1238*946379e7Schristos
1239*946379e7Schristos	* Makefile.vms (install): Fix mistake.
1240*946379e7Schristos
1241*946379e7Schristos2003-05-03  Bruno Haible  <bruno@clisp.org>
1242*946379e7Schristos
1243*946379e7Schristos	* Makefile.in (LIBS): New variable.
1244*946379e7Schristos	(libintl.la, libgnuintl.la): Use it.
1245*946379e7Schristos	Reported by Andreas Buening <andreas.buening@nexgo.de>.
1246*946379e7Schristos
1247*946379e7Schristos2003-04-12  Bruno Haible  <bruno@clisp.org>
1248*946379e7Schristos
1249*946379e7Schristos	* Makefile.vms: New variables ABIFLAGS, DEFS. Avoid rules with no
1250*946379e7Schristos	lines. Update library creation rule. Don't use the force target.
1251*946379e7Schristos	Correct wildcard syntax.
1252*946379e7Schristos	Suggested by Jouk Jansen <joukj@hrem.stm.tudelft.nl>.
1253*946379e7Schristos
1254*946379e7Schristos2003-04-12  Bruno Haible  <bruno@clisp.org>
1255*946379e7Schristos
1256*946379e7Schristos	* localcharset.c (get_charset_aliases): Add special case for VMS.
1257*946379e7Schristos
1258*946379e7Schristos2003-04-06  Bruno Haible  <bruno@clisp.org>
1259*946379e7Schristos
1260*946379e7Schristos	* Makefile.in (install-exec): Remove the installed libintl.la if it
1261*946379e7Schristos	has hardwired pathnames in dependency_libs and the installed package
1262*946379e7Schristos	shall be relocatable.
1263*946379e7Schristos
1264*946379e7Schristos2003-04-05  Bruno Haible  <bruno@clisp.org>
1265*946379e7Schristos
1266*946379e7Schristos	* relocatable.c: Rely on DEPENDS_ON_LIBCHARSET, DEPENDS_ON_LIBICONV,
1267*946379e7Schristos	DEPENDS_ON_LIBINTL, not on NO_LIBRARIES.
1268*946379e7Schristos	* Makefile.in (DEFS): Define DEPENDS_ON_LIBICONV, for relocatable.c.
1269*946379e7Schristos	* Makefile.msvc (CFLAGS): Also define DEPENDS_ON_LIBICONV.
1270*946379e7Schristos
1271*946379e7Schristos2003-04-05  Bruno Haible  <bruno@clisp.org>
1272*946379e7Schristos
1273*946379e7Schristos	* relocatable.c (_GNU_SOURCE): Define, to ensure getline() gets
1274*946379e7Schristos	declared by <stdio.h>.
1275*946379e7Schristos
1276*946379e7Schristos2003-04-04  Bruno Haible  <bruno@clisp.org>
1277*946379e7Schristos
1278*946379e7Schristos	* gettextP.h [!_LIBC]: Remove declarations of exported libintl_*
1279*946379e7Schristos	functions; include libgnuintl.h instead.
1280*946379e7Schristos	* intl-compat.c: Remove include of libgnuintl.h.
1281*946379e7Schristos	(DLL_EXPORTED): New macro.
1282*946379e7Schristos	(gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext,
1283*946379e7Schristos	textdomain, bindtextdomain, bind_textdomain_codeset): Use it.
1284*946379e7Schristos
1285*946379e7Schristos2003-04-04  Bruno Haible  <bruno@clisp.org>
1286*946379e7Schristos
1287*946379e7Schristos	* libgnuintl.h.in (libintl_set_relocation_prefix): Convert extern
1288*946379e7Schristos	declaration to K&R syntax.
1289*946379e7Schristos
1290*946379e7Schristos2003-03-30  Bruno Haible  <bruno@clisp.org>
1291*946379e7Schristos
1292*946379e7Schristos	* Makefile.vms: New file.
1293*946379e7Schristos	* Makefile.in (DISTFILES.gettext): Add Makefile.vms.
1294*946379e7Schristos
1295*946379e7Schristos2003-03-30  Bruno Haible  <bruno@clisp.org>
1296*946379e7Schristos
1297*946379e7Schristos	* Makefile.in (INCLUDES): Mention the current directory first.
1298*946379e7Schristos
1299*946379e7Schristos2003-03-17  Bruno Haible  <bruno@clisp.org>
1300*946379e7Schristos
1301*946379e7Schristos	Native Woe32/MSVC support.
1302*946379e7Schristos	* libgnuintl.h.in: Renamed from libgnuintl.h.
1303*946379e7Schristos	* Makefile.msvc: New file.
1304*946379e7Schristos	* README.woe32: New file.
1305*946379e7Schristos	* Makefile.in (HEADERS): Remove libgnuintl.h, add libgnuintl.h.in.
1306*946379e7Schristos	(DISTFILES.gettext): Add libgnuintl.h.msvc-shared, README.woe32,
1307*946379e7Schristos	Makefile.msvc.
1308*946379e7Schristos	(DISTFILES.obsolete): Add libgnuintl.h.
1309*946379e7Schristos	(libgnuintl.h): New rule.
1310*946379e7Schristos	(libintl.h, $(OBJECTS)): Expect libgnuintl.h in builddir, not in
1311*946379e7Schristos	srcdir.
1312*946379e7Schristos	(mostlyclean): Also remove libgnuintl.h.
1313*946379e7Schristos	* dcigettext.c (alloca): Add support for MSVC.
1314*946379e7Schristos	* loadmsgcat.c (alloca): Likewise.
1315*946379e7Schristos	* localealias.c (alloca): Likewise.
1316*946379e7Schristos	* relocatable.h (RELOCATABLE_DLL_EXPORTED): New macro.
1317*946379e7Schristos
1318*946379e7Schristos	* Makefile.in (loadmsgcat.$lo): Depend on hash-string.h.
1319*946379e7Schristos
1320*946379e7Schristos2003-02-28  Bruno Haible  <bruno@clisp.org>
1321*946379e7Schristos
1322*946379e7Schristos	* Makefile.in (localcharset.$lo): Depend on localcharset.h.
1323*946379e7Schristos
1324*946379e7Schristos2003-02-28  Bruno Haible  <bruno@clisp.org>
1325*946379e7Schristos
1326*946379e7Schristos	Support for relocatable installation.
1327*946379e7Schristos	* relocatable.h: New file.
1328*946379e7Schristos	* relocatable.c: New file.
1329*946379e7Schristos	* libgnuintl.h (libintl_set_relocation_prefix): New declaration.
1330*946379e7Schristos	* localealias.c: Include relocatable.h.
1331*946379e7Schristos	(read_alias_file): Relocate LOCALE_ALIAS_PATH element.
1332*946379e7Schristos	* localcharset.c: Include relocatable.h.
1333*946379e7Schristos	(get_charset_aliases): Relocate LIBDIR value.
1334*946379e7Schristos	* Makefile.in (DEFS): Define also ENABLE_RELOCATABLE, IN_LIBRARY,
1335*946379e7Schristos	INSTALLDIR, NO_XMALLOC, set_relocation_prefix, relocate.
1336*946379e7Schristos	(HEADERS): Add relocatable.h.
1337*946379e7Schristos	(SOURCES): Add relocatable.c.
1338*946379e7Schristos	(OBJECTS): Add relocatable.$lo.
1339*946379e7Schristos	(relocatable.$lo): New rule.
1340*946379e7Schristos
1341*946379e7Schristos2003-02-28  Bruno Haible  <bruno@clisp.org>
1342*946379e7Schristos
1343*946379e7Schristos	* Makefile.in (mkinstalldirs): Simplify. Prepending "$(top_builddir)/"
1344*946379e7Schristos	in the case of a relative $srcdir is now handled in gettext.m4.
1345*946379e7Schristos
1346*946379e7Schristos2003-02-28  Bruno Haible  <bruno@clisp.org>
1347*946379e7Schristos
1348*946379e7Schristos	* localcharset.h: Change copyright to LGPL. Enclose declaration in
1349*946379e7Schristos	extern "C", for C++ compilers.
1350*946379e7Schristos	* localcharset.c: Drop C linkage declaration.
1351*946379e7Schristos
1352*946379e7Schristos2003-02-18  Bruno Haible  <bruno@clisp.org>
1353*946379e7Schristos
1354*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 5:0:3.
1355*946379e7Schristos
1356*946379e7Schristos2003-01-29  Bruno Haible  <bruno@clisp.org>
1357*946379e7Schristos
1358*946379e7Schristos	* config.charset: Add an alias for CP1251 on Solaris.
1359*946379e7Schristos	Reported by Hidetoshi Tajima <hidetoshi.tajima@sun.com>.
1360*946379e7Schristos
1361*946379e7Schristos2003-02-16  Bruno Haible  <bruno@clisp.org>
1362*946379e7Schristos
1363*946379e7Schristos	* log.c: New file.
1364*946379e7Schristos	* dcigettext.c (DCIGETTEXT) [!_LIBC]: Before returning the
1365*946379e7Schristos	untranslated string, call _nl_log_untranslated.
1366*946379e7Schristos	* intl-compat.c: Comments.
1367*946379e7Schristos	* Makefile.in (SOURCES): Add log.c.
1368*946379e7Schristos	(OBJECTS): Add intl-compat.$lo unconditionally. Add log.$lo.
1369*946379e7Schristos	(log.lo): New rule.
1370*946379e7Schristos	(install-exec): Stop using @INTLOBJS@. Install preloadable_libintl.so.
1371*946379e7Schristos	(installdirs, uninstall): Update accordingly.
1372*946379e7Schristos
1373*946379e7Schristos2003-02-16  Bruno Haible  <bruno@clisp.org>
1374*946379e7Schristos
1375*946379e7Schristos	* Makefile.in (.sin.sed): Remove rule.
1376*946379e7Schristos	(ref-add.sed, ref-del.sed): New rules.
1377*946379e7Schristos
1378*946379e7Schristos2003-02-12  Bruno Haible  <bruno@clisp.org>
1379*946379e7Schristos
1380*946379e7Schristos	Big restructuring.
1381*946379e7Schristos	* Makefile.in: Make usable with $srcdir != $builddir even when not
1382*946379e7Schristos	using GNU make.
1383*946379e7Schristos	(VPATH): Remove variable.
1384*946379e7Schristos	(.c.lo): Remove rule. Use a separate rule for every object file.
1385*946379e7Schristos	(libintl.h, charset.alias, $(OBJECTS)): Refer to $srcdir where
1386*946379e7Schristos	appropriate.
1387*946379e7Schristos	(INCLUDES): Simplify.
1388*946379e7Schristos	(install-exec): Special case packages 'gettext-runtime' and
1389*946379e7Schristos	'gettext-tools'.
1390*946379e7Schristos	(install-data): Special case package 'gettext-tools'.
1391*946379e7Schristos	(installdirs, uninstall): Special case packages 'gettext-runtime' and
1392*946379e7Schristos	'gettext-tools'.
1393*946379e7Schristos	(distclean, dist): Likewise.
1394*946379e7Schristos	(Makefile): Work around autoconf error message.
1395*946379e7Schristos
1396*946379e7Schristos2003-01-12  Bruno Haible  <bruno@clisp.org>
1397*946379e7Schristos
1398*946379e7Schristos	* localcharset.h: New file.
1399*946379e7Schristos	* localcharset.c: Include it.
1400*946379e7Schristos	* Makefile.in (HEADERS): Add localcharset.h.
1401*946379e7Schristos	(COMHDRS): Remove variable, fold into HEADERS.
1402*946379e7Schristos	(COMSRCS): Remove variable, fold into SOURCES.
1403*946379e7Schristos
1404*946379e7Schristos2002-12-12  Bruno Haible  <bruno@clisp.org>
1405*946379e7Schristos
1406*946379e7Schristos	* dcigettext.c (INTVARDEF): Correct fallback definition.
1407*946379e7Schristos
1408*946379e7Schristos2002-11-19  Ulrich Drepper  <drepper@redhat.com>
1409*946379e7Schristos
1410*946379e7Schristos	* localealias.c (read_alias_file): Use only about 400 bytes of stack
1411*946379e7Schristos	space instead of 16k.
1412*946379e7Schristos
1413*946379e7Schristos2002-10-30  Jakub Jelinek  <jakub@redhat.com>
1414*946379e7Schristos
1415*946379e7Schristos	* finddomain.c (free_mem): Use libc_freeres_fn macro, remove
1416*946379e7Schristos	text_set_element.
1417*946379e7Schristos	* dcigettext.c (free_mem): Likewise.
1418*946379e7Schristos
1419*946379e7Schristos2002-10-25  Jakub Jelinek  <jakub@redhat.com>
1420*946379e7Schristos
1421*946379e7Schristos	* localealias.c (libc_freeres_ptr): Define if !_LIBC.
1422*946379e7Schristos	(string_space, map): Add libc_freeres_ptr.
1423*946379e7Schristos	(free_mem): Remove.
1424*946379e7Schristos
1425*946379e7Schristos2002-09-19  Bruno Haible  <bruno@clisp.org>
1426*946379e7Schristos
1427*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Restore errno only right before
1428*946379e7Schristos	returning.
1429*946379e7Schristos
1430*946379e7Schristos2002-09-01  Roland McGrath  <roland@redhat.com>
1431*946379e7Schristos
1432*946379e7Schristos	* localealias.c [__GNUC__]: #undef alloca before #define.
1433*946379e7Schristos
1434*946379e7Schristos2002-08-30  Roland McGrath  <roland@redhat.com>
1435*946379e7Schristos
1436*946379e7Schristos	* dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.
1437*946379e7Schristos	[_LIBC] (category_to_name): Don't define the function.  Instead define
1438*946379e7Schristos	a macro using _nl_category_names.
1439*946379e7Schristos
1440*946379e7Schristos2002-08-04  Ulrich Drepper  <drepper@redhat.com>
1441*946379e7Schristos
1442*946379e7Schristos	* dcigettext.c: Define _nl_default_dirname_internal as hidden alias
1443*946379e7Schristos	and use it.
1444*946379e7Schristos	* bindtextdom.c: Use _nl_default_dirname_internal.
1445*946379e7Schristos
1446*946379e7Schristos2002-08-03  Roland McGrath  <roland@redhat.com>
1447*946379e7Schristos
1448*946379e7Schristos	* dcigettext.c (guess_category_value): Use __current_locale_name
1449*946379e7Schristos	instead of calling setlocale.
1450*946379e7Schristos
1451*946379e7Schristos2002-08-02  Roland McGrath  <roland@redhat.com>
1452*946379e7Schristos
1453*946379e7Schristos	* loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT.
1454*946379e7Schristos
1455*946379e7Schristos2002-07-30  Roland McGrath  <roland@redhat.com>
1456*946379e7Schristos
1457*946379e7Schristos	* loadmsgcat.c [__GNUC__]: #undef alloca before defining it.
1458*946379e7Schristos
1459*946379e7Schristos2002-05-01  Ulrich Drepper  <drepper@redhat.com>
1460*946379e7Schristos
1461*946379e7Schristos	Revert 2002-04-09 change.
1462*946379e7Schristos	* dcngettext.c (__dcngettext_internal): Remove alias.
1463*946379e7Schristos	* dngettext.c: Use __dcngettext instead of __dcngettext_internal.
1464*946379e7Schristos	* ngettext.c: Likewise.
1465*946379e7Schristos
1466*946379e7Schristos2002-11-07  Bruno Haible  <bruno@clisp.org>
1467*946379e7Schristos
1468*946379e7Schristos	* Makefile.in (mostlyclean): Remove object files on OS/2 as well.
1469*946379e7Schristos	Reported by Andreas Buening <andreas.buening@nexgo.de>.
1470*946379e7Schristos
1471*946379e7Schristos2002-10-16  Bruno Haible  <bruno@clisp.org>
1472*946379e7Schristos
1473*946379e7Schristos	* Makefile.in (ps, pdf, html, ctags): New targets, for automake-1.7
1474*946379e7Schristos	compatibility.
1475*946379e7Schristos	(CTAGS): New rule.
1476*946379e7Schristos
1477*946379e7Schristos2002-09-18  Bruno Haible  <bruno@clisp.org>
1478*946379e7Schristos
1479*946379e7Schristos	* libgnuintl.h (_INTL_REDIRECT_ASM): Don't define when using Apple cc.
1480*946379e7Schristos	Reported by Julien Chiron <julien.chiron@univ.u-3mrs.fr>.
1481*946379e7Schristos
1482*946379e7Schristos2002-08-06  Bruno Haible  <bruno@clisp.org>
1483*946379e7Schristos
1484*946379e7Schristos	* gettext-0.11.5 released.
1485*946379e7Schristos
1486*946379e7Schristos2002-07-25  Bruno Haible  <bruno@clisp.org>
1487*946379e7Schristos
1488*946379e7Schristos	* gettext-0.11.4 released.
1489*946379e7Schristos
1490*946379e7Schristos2002-07-25  Bruno Haible  <bruno@clisp.org>
1491*946379e7Schristos
1492*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 4:0:2.
1493*946379e7Schristos
1494*946379e7Schristos2002-07-23  Bruno Haible  <bruno@clisp.org>
1495*946379e7Schristos
1496*946379e7Schristos	* loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN is set.
1497*946379e7Schristos
1498*946379e7Schristos2002-07-21  Bruno Haible  <bruno@clisp.org>
1499*946379e7Schristos
1500*946379e7Schristos	* libgnuintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro.
1501*946379e7Schristos	* gmo.h (struct mo_file_header): New fields n_sysdep_segments,
1502*946379e7Schristos	sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset,
1503*946379e7Schristos	trans_sysdep_tab_offset.
1504*946379e7Schristos	(struct sysdep_segment): New type.
1505*946379e7Schristos	(struct sysdep_string): New type.
1506*946379e7Schristos	(SEGMENTS_END): New macro.
1507*946379e7Schristos	* gettextP.h (struct sysdep_string_desc): New type.
1508*946379e7Schristos	(struct loaded_domain): New fields malloced, n_sysdep_strings,
1509*946379e7Schristos	orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields
1510*946379e7Schristos	orig_tab, trans_tab, hash_tab to const pointers because they point
1511*946379e7Schristos	into read-only memory.
1512*946379e7Schristos	* loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h.
1513*946379e7Schristos	(PRI*): Define fallback values.
1514*946379e7Schristos	(get_sysdep_segment_value): New function.
1515*946379e7Schristos	(_nl_load_domain): Distinguish major and minor revision parts. Add
1516*946379e7Schristos	support for minor revision 1 with system dependent strings.
1517*946379e7Schristos	(_nl_unload_domain): Also free the 'malloced' field.
1518*946379e7Schristos	* dcigettext.c (_nl_find_msg): Remove test for domain->hash_size, now
1519*946379e7Schristos	done in loadmsgcat.c. Add support for system dependent strings.
1520*946379e7Schristos
1521*946379e7Schristos2002-07-17  Bruno Haible  <bruno@clisp.org>
1522*946379e7Schristos
1523*946379e7Schristos	* gettext-0.11.3 released.
1524*946379e7Schristos
1525*946379e7Schristos2002-07-16  Bruno Haible  <bruno@clisp.org>
1526*946379e7Schristos
1527*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 3:0:1.
1528*946379e7Schristos
1529*946379e7Schristos2002-07-13  Bruno Haible  <bruno@clisp.org>
1530*946379e7Schristos
1531*946379e7Schristos	* dcigettext.c (freea): New macro.
1532*946379e7Schristos	(FREE_BLOCKS): Free also the registered blocks.
1533*946379e7Schristos	(DCIGETTEXT): Free the 'search' variable.
1534*946379e7Schristos	Reported by Andreas Fischer <a.fischer@asentics.de>.
1535*946379e7Schristos
1536*946379e7Schristos2002-06-13  Bruno Haible  <bruno@clisp.org>
1537*946379e7Schristos
1538*946379e7Schristos	Make absolute pathnames inside $LANGUAGE work.
1539*946379e7Schristos	* l10nflist.c (_nl_make_l10nflist): Ignore dirlist if language is an
1540*946379e7Schristos	absolute path. Fix sizes passed to malloc. Simplify linked list
1541*946379e7Schristos	handling.
1542*946379e7Schristos
1543*946379e7Schristos2002-06-13  Bruno Haible  <bruno@clisp.org>
1544*946379e7Schristos
1545*946379e7Schristos	* localename.c [WIN32] (LANG_DIVEHI, LANG_GALICIAN, LANG_KYRGYZ,
1546*946379e7Schristos	LANG_MONGOLIAN, LANG_SYRIAC): Provide fallback definitions.
1547*946379e7Schristos	(_nl_locale_name): Add Amharic, Burmese, Cambodian, Cherokee, Divehi,
1548*946379e7Schristos	Edo, Frisian, Fulfulde, Gaelic, Guarani, Hausa, Hawaiian, Ibibio,
1549*946379e7Schristos	Igbo, Inuktitut, Kanuri, Kyrgyz, Lao, Latin, Maltese, Mongolian,
1550*946379e7Schristos	Oromo, Papiamentu, Pashto, Rhaeto-Romance, Sami, Sinhalese, Somali,
1551*946379e7Schristos	Syriac, Tagalog, Tajik, Tomazight, Tibetan, Tigrinya, Tsonga, Turkmen,
1552*946379e7Schristos	Venda, Welsh, Xhosa, Yi, Yiddish, Yoruba, Zulu. Fix Swahili, Tatar.
1553*946379e7Schristos
1554*946379e7Schristos2002-06-07  Bruno Haible  <bruno@clisp.org>
1555*946379e7Schristos
1556*946379e7Schristos	* dcigettext.c (INTDIV0_RAISES_SIGFPE): Define a fallback.
1557*946379e7Schristos	Include <signal.h>.
1558*946379e7Schristos	* eval-plural.h (plural_eval): Let division by zero cause SIGFPE on
1559*946379e7Schristos	all platforms.
1560*946379e7Schristos
1561*946379e7Schristos2002-05-30  Bruno Haible  <bruno@clisp.org>
1562*946379e7Schristos
1563*946379e7Schristos	* libgnuintl.h (_INTL_REDIRECT_ASM, _INTL_REDIRECT_INLINE,
1564*946379e7Schristos	_INTL_REDIRECT_MACROS, _INTL_ASM, _INTL_ASMNAME, _INTL_STRINGIFY):
1565*946379e7Schristos	New macros. Use them instead of plain preprocessor level indirection
1566*946379e7Schristos	when appropriate.
1567*946379e7Schristos	* intl-compat.c: Define _INTL_REDIRECT_MACROS.
1568*946379e7Schristos
1569*946379e7Schristos2002-05-28  Bruno Haible  <bruno@clisp.org>
1570*946379e7Schristos
1571*946379e7Schristos	* localename.c (LANG_SORBIAN): Provide a default value, for mingw32.
1572*946379e7Schristos	Reported by Michael Opdenacker <m-opdenacker@ti.com>
1573*946379e7Schristos	and Rob Leslie <rob@mars.org>.
1574*946379e7Schristos
1575*946379e7Schristos2002-05-09  Bruno Haible  <bruno@clisp.org>
1576*946379e7Schristos
1577*946379e7Schristos	* config.charset: Update for newest glibc. Add canonical names
1578*946379e7Schristos	ISO-8859-14, KOI8-T, TCVN5712-1, GEORGIAN-PS.
1579*946379e7Schristos
1580*946379e7Schristos2002-05-09  Bruno Haible  <bruno@clisp.org>
1581*946379e7Schristos
1582*946379e7Schristos	* localcharset.c (get_charset_aliases): Add more Windows specific
1583*946379e7Schristos	aliases.
1584*946379e7Schristos
1585*946379e7Schristos2002-05-08  Owen Taylor  <otaylor@redhat.com>
1586*946379e7Schristos
1587*946379e7Schristos	* config.charset: A few additions for Solaris.
1588*946379e7Schristos
1589*946379e7Schristos2001-12-05  Bruno Haible  <bruno@clisp.org>
1590*946379e7Schristos
1591*946379e7Schristos	* localcharset.c (locale_charset): Don't return an empty string.
1592*946379e7Schristos
1593*946379e7Schristos2001-10-23  Bruno Haible  <haible@clisp.cons.org>
1594*946379e7Schristos
1595*946379e7Schristos	* config.charset: msdos in uk_UA uses CP1125.
1596*946379e7Schristos
1597*946379e7Schristos2001-08-05  Bruno Haible  <haible@clisp.cons.org>
1598*946379e7Schristos
1599*946379e7Schristos	Make it possible to build libcharset with CC=gcc CFLAGS="-x c++".
1600*946379e7Schristos	* localcharset.c (locale_charset): Declare as extern "C".
1601*946379e7Schristos	(get_charset_aliases): Cast malloc and realloc results to 'char *'.
1602*946379e7Schristos
1603*946379e7Schristos2002-04-30  Bruno Haible  <bruno@clisp.org>
1604*946379e7Schristos
1605*946379e7Schristos	* loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to
1606*946379e7Schristos	the encoding if it already has slashes.
1607*946379e7Schristos	Reported by Perry Rapp <prapp@erols.com>.
1608*946379e7Schristos
1609*946379e7Schristos2002-04-27  Bruno Haible  <bruno@clisp.org>
1610*946379e7Schristos
1611*946379e7Schristos	* libgnuintl.h: Redirect every function to the one prefixed with
1612*946379e7Schristos	"libintl_". Remove __OPTIMIZED variants.
1613*946379e7Schristos	* gettextP.h: Use prefix "libintl_" instead of suffix "__".
1614*946379e7Schristos	* dcigettext.c: Likewise.
1615*946379e7Schristos	* dcgettext.c: Likewise.
1616*946379e7Schristos	* dgettext.c: Likewise.
1617*946379e7Schristos	* gettext.c: Likewise.
1618*946379e7Schristos	* dcngettext.c: Likewise.
1619*946379e7Schristos	* dngettext.c: Likewise.
1620*946379e7Schristos	* ngettext.c: Likewise.
1621*946379e7Schristos	* textdomain.c: Likewise.
1622*946379e7Schristos	* bindtextdom.c: Likewise.
1623*946379e7Schristos	* plural-exp.h: Likewise.
1624*946379e7Schristos	* os2compat.c: Likewise.
1625*946379e7Schristos	* intl-compat.c: Likewise.
1626*946379e7Schristos
1627*946379e7Schristos2002-04-24  Bruno Haible  <bruno@clisp.org>
1628*946379e7Schristos
1629*946379e7Schristos	* gettext-0.11.2 released.
1630*946379e7Schristos
1631*946379e7Schristos2002-04-24  Bruno Haible  <bruno@clisp.org>
1632*946379e7Schristos
1633*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:1:0.
1634*946379e7Schristos
1635*946379e7Schristos2002-04-19  Bruno Haible  <bruno@clisp.org>
1636*946379e7Schristos
1637*946379e7Schristos	* gettextP.h (attribute_hidden): Define as empty macro if not
1638*946379e7Schristos	already defined.
1639*946379e7Schristos
1640*946379e7Schristos2002-04-09  Ulrich Drepper  <drepper@redhat.com>
1641*946379e7Schristos
1642*946379e7Schristos	* dcngettext.c [_LIBC]: Use INTUSE for __dcngettext.
1643*946379e7Schristos	* dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE.
1644*946379e7Schristos	* ngettext.c: Likewise.
1645*946379e7Schristos	* l10nflist.c [_LIBC]: Use INTUSE for __argz_count and
1646*946379e7Schristos	__argz_stringify.
1647*946379e7Schristos
1648*946379e7Schristos2002-04-08  Ulrich Drepper  <drepper@redhat.com>
1649*946379e7Schristos
1650*946379e7Schristos	* dcgettext.c (__dcgettext): Use INTDEF to define alias.
1651*946379e7Schristos	* dgettext.c: Call __dcgettext_internal instead of __dcgettext.
1652*946379e7Schristos	* gettext.c: Likewise.
1653*946379e7Schristos
1654*946379e7Schristos2002-03-12  Ulrich Drepper  <drepper@redhat.com>
1655*946379e7Schristos
1656*946379e7Schristos	* plural-exp.h (attribute_hidden): Define as empty macro if not
1657*946379e7Schristos	already defined.
1658*946379e7Schristos	(GERMANIC_PLURAL): Declare as hidden.
1659*946379e7Schristos	* dcigettext.c (_nl_default_default_domain): Define as hidden.
1660*946379e7Schristos	(_nl_current_default_domain): Likewise
1661*946379e7Schristos	(_nl_state_lock): Likewise.
1662*946379e7Schristos	* textdomain.c (_nl_default_default_domain): Declare as hidden.
1663*946379e7Schristos	(_nl_current_default_domain): Likewise
1664*946379e7Schristos	(_nl_state_lock): Likewise.
1665*946379e7Schristos	* bindtextdom.c (_nl_state_lock): Likewise.
1666*946379e7Schristos
1667*946379e7Schristos2002-03-15  Andrew Zabolotny  <zap@cobra.ru>
1668*946379e7Schristos
1669*946379e7Schristos	* os2compat.h: Use prefix _nlos2 instead of _os2, to avoid any
1670*946379e7Schristos	possible name clashes.
1671*946379e7Schristos	* os2compat.c: Likewise.
1672*946379e7Schristos
1673*946379e7Schristos2002-03-15  Bruno Haible  <bruno@clisp.org>
1674*946379e7Schristos
1675*946379e7Schristos	* libgnuintl.h (LC_MESSAGES): Don't define on Solaris 2.5, to avoid
1676*946379e7Schristos	a warning.
1677*946379e7Schristos	Reported by Stephen Gildea <gildea@stop.mail-abuse.org>.
1678*946379e7Schristos
1679*946379e7Schristos2002-03-12  Bruno Haible  <bruno@clisp.org>
1680*946379e7Schristos
1681*946379e7Schristos	* gettext-0.11.1 released.
1682*946379e7Schristos
1683*946379e7Schristos2002-02-15  Bruno Haible  <bruno@clisp.org>
1684*946379e7Schristos
1685*946379e7Schristos	* config.charset [msdosdjgpp]: For Russian, use CP866.
1686*946379e7Schristos
1687*946379e7Schristos2002-02-14  Andrew Zabolotny  <zap@cobra.ru>
1688*946379e7Schristos
1689*946379e7Schristos	* os2compat.c (_nl_default_dirname__): Renamed from
1690*946379e7Schristos	_nl_default_dirname.
1691*946379e7Schristos
1692*946379e7Schristos2002-02-10  Bruno Haible  <bruno@clisp.org>
1693*946379e7Schristos
1694*946379e7Schristos	* localename.c: Change copyright notice from GPL to LGPL.
1695*946379e7Schristos	* eval-plural.h: Likewise.
1696*946379e7Schristos
1697*946379e7Schristos2002-02-11  Bruno Haible  <bruno@clisp.org>
1698*946379e7Schristos
1699*946379e7Schristos	* config.charset: Add support for NetBSD.
1700*946379e7Schristos
1701*946379e7Schristos2002-01-31  Bruno Haible  <bruno@clisp.org>
1702*946379e7Schristos
1703*946379e7Schristos	* gettext-0.11 released.
1704*946379e7Schristos
1705*946379e7Schristos2002-01-31  Bruno Haible  <bruno@clisp.org>
1706*946379e7Schristos
1707*946379e7Schristos	* eval-plural.h: Renamed from plural-eval.c.
1708*946379e7Schristos	* dcigettext.c: Include eval-plural.h instead of plural-eval.c.
1709*946379e7Schristos	* Makefile.in (COMHDRS): Remove plural-eval.c, add eval-plural.h.
1710*946379e7Schristos	(DISTFILES.obsolete): Add plural-eval.c.
1711*946379e7Schristos
1712*946379e7Schristos2002-01-24  Bruno Haible  <bruno@clisp.org>
1713*946379e7Schristos
1714*946379e7Schristos	* Makefile.in (libintl.la): Use @LTLIBICONV@ instead of @LIBICONV@.
1715*946379e7Schristos
1716*946379e7Schristos2002-01-10  Andrew Zabolotny  <zap@cobra.ru>
1717*946379e7Schristos	    Bruno Haible  <bruno@clisp.org>
1718*946379e7Schristos
1719*946379e7Schristos	* dcigettext.c (_nl_default_dirname): On OS/2, declare, not define.
1720*946379e7Schristos	* localcharset.c: Rework OS/2 support.
1721*946379e7Schristos	* config.charset: Add OS/2 support.
1722*946379e7Schristos	* os2compat.c: Renamed from os2.c.
1723*946379e7Schristos	(_nl_default_dirname): Define here.
1724*946379e7Schristos	* os2compat.h: Moved here from ../os2/.
1725*946379e7Schristos	* osdep.c: Update.
1726*946379e7Schristos	* Makefile.in (COMHDRS): Add os2compat.h.
1727*946379e7Schristos	(COMSRCS): Add os2compat.c, remove os2.c.
1728*946379e7Schristos
1729*946379e7Schristos2002-01-05  Bruno Haible  <bruno@clisp.org>
1730*946379e7Schristos
1731*946379e7Schristos	* Makefile.in (libintl.la): Add -lc. Needed on AIX.
1732*946379e7Schristos
1733*946379e7Schristos2002-01-02  Bruno Haible  <bruno@clisp.org>
1734*946379e7Schristos
1735*946379e7Schristos	* loadmsgcat.c (_nl_init_domain_conv): Convert extern declaration to
1736*946379e7Schristos	K&R syntax.
1737*946379e7Schristos
1738*946379e7Schristos2002-01-02  Bruno Haible  <bruno@clisp.org>
1739*946379e7Schristos
1740*946379e7Schristos	* plural.y: Fix %expect count.
1741*946379e7Schristos
1742*946379e7Schristos2001-12-23  Bruno Haible  <bruno@clisp.org>
1743*946379e7Schristos
1744*946379e7Schristos	* os2.c (os2_initialize): Use LOCALEDIR_MAX macro.
1745*946379e7Schristos
1746*946379e7Schristos2001-12-21  Bruno Haible  <bruno@clisp.org>
1747*946379e7Schristos
1748*946379e7Schristos	* localcharset.c (ISSLASH): Provide definition for DOS-like systems.
1749*946379e7Schristos
1750*946379e7Schristos2001-12-21  Bruno Haible  <bruno@clisp.org>
1751*946379e7Schristos
1752*946379e7Schristos	* libgettext.h: Moved to ../lib/gettext.h.
1753*946379e7Schristos	* Makefile.in (HEADERS): Remove libgettext.h.
1754*946379e7Schristos	(DISTFILES.obsolete): Add libgettext.h.
1755*946379e7Schristos
1756*946379e7Schristos2001-12-21  Bruno Haible  <bruno@clisp.org>
1757*946379e7Schristos
1758*946379e7Schristos	* gmo.h: Renamed from gettext.h.
1759*946379e7Schristos	* gettext.h: Remove file.
1760*946379e7Schristos	* gettextP.h: Update accordingly.
1761*946379e7Schristos	* loadmsgcat.c: Likewise.
1762*946379e7Schristos	* Makefile.in (COMHDRS): Add gmo.h, remove gettext.h.
1763*946379e7Schristos	(DISTFILES.obsolete): Add gettext.h.
1764*946379e7Schristos	Update dependencies.
1765*946379e7Schristos
1766*946379e7Schristos2001-12-18  Bruno Haible  <bruno@clisp.org>
1767*946379e7Schristos
1768*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 2:0:0.
1769*946379e7Schristos	Used to force an soname of at least libintl.so.2 on Solaris, which
1770*946379e7Schristos	already has a different libintl.so.1 in /usr/lib.
1771*946379e7Schristos
1772*946379e7Schristos2001-12-15  Andrew Zabolotny  <zap@cobra.ru>
1773*946379e7Schristos	    Bruno Haible  <bruno@clisp.org>
1774*946379e7Schristos
1775*946379e7Schristos	* osdep.c: New file.
1776*946379e7Schristos	* os2.c: New file.
1777*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Add backward compatibility support for
1778*946379e7Schristos	OS/2.
1779*946379e7Schristos	* localcharset.c: Add OS/2 support.
1780*946379e7Schristos	* localealias.c (_nl_expand_alias): Initialize locale_alias_path once,
1781*946379e7Schristos	but not statically.
1782*946379e7Schristos	* Makefile.in (COMSRCS): Add osdep.c, os2.c.
1783*946379e7Schristos	(OBJECTS): Add osdep.$lo.
1784*946379e7Schristos
1785*946379e7Schristos2001-12-12  Bruno Haible  <bruno@clisp.org>
1786*946379e7Schristos
1787*946379e7Schristos	* libgettext.h [!ENABLE_NLS]: Cast all function results to
1788*946379e7Schristos	'const char *'.
1789*946379e7Schristos	Reported by Alexandre Duret-Lutz <duret_g@lrde.epita.fr>.
1790*946379e7Schristos
1791*946379e7Schristos2001-12-03  Bruno Haible  <bruno@clisp.org>
1792*946379e7Schristos
1793*946379e7Schristos	* Makefile.in (install-exec): Don't create an empty libdir.
1794*946379e7Schristos	(installdirs): Update accordingly.
1795*946379e7Schristos
1796*946379e7Schristos2001-11-30  Bruno Haible  <bruno@clisp.org>
1797*946379e7Schristos
1798*946379e7Schristos	* plural-exp.h (plural_eval): Add back declaration.
1799*946379e7Schristos	* Makefile.in (OBJECTS): Remove plural-eval.$lo.
1800*946379e7Schristos	(COMSRCS): Remove plural-eval.c.
1801*946379e7Schristos	(COMHDRS): Add plural-eval.c.
1802*946379e7Schristos	(plural-eval.$lo): Remove dependency.
1803*946379e7Schristos	(dcigettext.$lo): Depend on plural-eval.c.
1804*946379e7Schristos
1805*946379e7Schristos2001-11-29  Bruno Haible  <bruno@clisp.org>
1806*946379e7Schristos
1807*946379e7Schristos	* gettextP.h (_nl_locale_name): Don't declare inside glibc.
1808*946379e7Schristos	* localename.c (_nl_locale_name): Remove _LIBC conditional.
1809*946379e7Schristos
1810*946379e7Schristos2001-11-27  Ulrich Drepper  <drepper@redhat.com>
1811*946379e7Schristos
1812*946379e7Schristos	* dcigettext.c (guess_category_value): Inside glibc, use setlocale
1813*946379e7Schristos	directly, not _nl_locale_name.
1814*946379e7Schristos
1815*946379e7Schristos2001-11-27  Ulrich Drepper  <drepper@redhat.com>
1816*946379e7Schristos
1817*946379e7Schristos	* loadmsgcat.c (_nl_init_domain_conv): Modify #if expression.
1818*946379e7Schristos
1819*946379e7Schristos2001-11-27  Ulrich Drepper  <drepper@redhat.com>
1820*946379e7Schristos
1821*946379e7Schristos	* plural-eval.c (plural_eval): Rename back from PLURAL_EVAL.
1822*946379e7Schristos	* plural-exp.h (PLURAL_EVAL): Remove declaration.
1823*946379e7Schristos	* dcigettext.c Include plural-eval.c.
1824*946379e7Schristos	(plural_lookup): Call plural_eval instead of PLURAL_EVAL.
1825*946379e7Schristos
1826*946379e7Schristos2001-11-22  Bruno Haible  <bruno@clisp.org>
1827*946379e7Schristos
1828*946379e7Schristos	* plural-exp.h (GERMANIC_PLURAL): New declaration.
1829*946379e7Schristos	* plural-exp.c (GERMANIC_PLURAL): Renamed from germanic_plural.
1830*946379e7Schristos	* loadmsgcat.c (_nl_unload_domain): Update.
1831*946379e7Schristos
1832*946379e7Schristos2001-07-17  Ulrich Drepper  <drepper@redhat.com>
1833*946379e7Schristos
1834*946379e7Schristos	* localealias.c (read_alias_file): Disable implicit locking
1835*946379e7Schristos	for the stream.  Use _unlocked functions for glibc.
1836*946379e7Schristos
1837*946379e7Schristos2001-11-11  Bruno Haible  <haible@clisp.cons.org>
1838*946379e7Schristos
1839*946379e7Schristos	* Makefile.in (dist): Avoid using hard links, because the automake-1.5
1840*946379e7Schristos	generated toplevel 'distdir' target chmods all the distributed files.
1841*946379e7Schristos
1842*946379e7Schristos2001-11-10  Bruno Haible  <haible@clisp.cons.org>
1843*946379e7Schristos
1844*946379e7Schristos	* libgnuintl.h (_INTL_PARAMS): Renamed from PARAMS, to avoid polluting
1845*946379e7Schristos	the user's namespace.
1846*946379e7Schristos	Also test for __GNUC__, __SUNPRO_C and __PROTOTYPES because on
1847*946379e7Schristos	64-bit Solaris, we need prototypes although __STDC__ is often defined
1848*946379e7Schristos	to 0. __GNUC__ covers GCC, __SUNPRO_C covers Sun cc, regardless of
1849*946379e7Schristos	compilation flags. __PROTOTYPES covers other compilers when compiling
1850*946379e7Schristos	programs using autoconf's AC_C_PROTOTYPES.
1851*946379e7Schristos	* gettextP.h (PARAMS): Also test for __SUNPRO_C, because 64-bit Solaris
1852*946379e7Schristos	cc needs prototypes although it defines __STDC__ to 0 by default.
1853*946379e7Schristos	Also test for __cplusplus and __PROTOTYPES, just for consistency with
1854*946379e7Schristos	libgnuintl.h.
1855*946379e7Schristos	* hash-string.h (PARAMS): Likewise.
1856*946379e7Schristos	* loadinfo.h (PARAMS): Likewise.
1857*946379e7Schristos	* plural-exp.h (PARAMS): Likewise.
1858*946379e7Schristos
1859*946379e7Schristos2001-10-31  Bruno Haible  <haible@clisp.cons.org>
1860*946379e7Schristos
1861*946379e7Schristos	* plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
1862*946379e7Schristos
1863*946379e7Schristos2001-10-31  Bruno Haible  <haible@clisp.cons.org>
1864*946379e7Schristos
1865*946379e7Schristos	* COPYING.LIB-2.0: Renamed from COPYING.LIB-2.
1866*946379e7Schristos	* Makefile.in (DISTFILES.gettext, install-data, uninstall): Update.
1867*946379e7Schristos	(DISTFILES.obsolete): Add COPYING.LIB-2.
1868*946379e7Schristos
1869*946379e7Schristos2001-10-09  Bruno Haible  <haible@clisp.cons.org>
1870*946379e7Schristos
1871*946379e7Schristos	* localcharset.c (getc): Define as getc_unlocked if available.
1872*946379e7Schristos
1873*946379e7Schristos2001-09-27  Bruno Haible  <haible@clisp.cons.org>
1874*946379e7Schristos
1875*946379e7Schristos	* Makefile.in (install-strip, installdirs): New rules.
1876*946379e7Schristos
1877*946379e7Schristos2001-09-24  Bruno Haible  <haible@clisp.cons.org>
1878*946379e7Schristos
1879*946379e7Schristos	* localename.c: New file, integrating a function from
1880*946379e7Schristos	Tor Lillqvist <tml@iki.fi>.
1881*946379e7Schristos	* gettextP.h: New declaration.
1882*946379e7Schristos	* dcigettext.c (guess_category_value): Call _nl_locale_name.
1883*946379e7Schristos	* Makefile.in (COMSRCS): Add localename.c.
1884*946379e7Schristos	(OBJECTS): Add localename.$lo.
1885*946379e7Schristos
1886*946379e7Schristos2001-09-22  Bruno Haible  <haible@clisp.cons.org>
1887*946379e7Schristos
1888*946379e7Schristos	* plural-eval.c: New file, extracted from dcigettext.c.
1889*946379e7Schristos	* plural-exp.h (PLURAL_EVAL): New declaration.
1890*946379e7Schristos	* dcigettext.c (plural_eval): Remove function, moved to plural-eval.c.
1891*946379e7Schristos	(plural_lookup): Call PLURAL_EVAL instead of plural_eval.
1892*946379e7Schristos	* Makefile.in (COMSRCS): Add plural-eval.c.
1893*946379e7Schristos	(OBJECTS): Add plural-eval.$lo.
1894*946379e7Schristos
1895*946379e7Schristos2001-09-22  Bruno Haible  <haible@clisp.cons.org>
1896*946379e7Schristos
1897*946379e7Schristos	* plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that don't
1898*946379e7Schristos	start with a digit; nplurals must be positive.
1899*946379e7Schristos
1900*946379e7Schristos2001-10-20  Bruno Haible  <haible@clisp.cons.org>
1901*946379e7Schristos
1902*946379e7Schristos	Assume strchr() exists. (Without it, explodename.c wouldn't link
1903*946379e7Schristos	anyway.)
1904*946379e7Schristos	* dcigettext.c (strchr): Remove fallback definition; it conflicts with
1905*946379e7Schristos	the variable 'index' in plural_lookup.
1906*946379e7Schristos	* l10nflist.c (strchr): Likewise.
1907*946379e7Schristos	* localealias.c (strchr): Likewise.
1908*946379e7Schristos
1909*946379e7Schristos2001-09-24  Bruno Haible  <haible@clisp.cons.org>
1910*946379e7Schristos
1911*946379e7Schristos	* loadmsgcat.c (_nl_init_domain_conv): Also enable transliteration
1912*946379e7Schristos	when building on a glibc system but outside glibc.
1913*946379e7Schristos
1914*946379e7Schristos2001-09-02  Bruno Haible  <haible@clisp.cons.org>
1915*946379e7Schristos
1916*946379e7Schristos	* plural-exp.h: New file, extracted from gettextP.h.
1917*946379e7Schristos	* plural-exp.c: New file, extracted from loadmsgcat.c.
1918*946379e7Schristos	* gettextP.h (struct expression, struct parse_args,
1919*946379e7Schristos	__gettext_free_exp, __gettextparse): Move to plural-exp.h.
1920*946379e7Schristos	* loadmsgcat.c: Include plural-exp.h.
1921*946379e7Schristos	(PLURAL_PARSE): Move macro to plural-exp.h.
1922*946379e7Schristos	(plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
1923*946379e7Schristos	plural-exp.c.
1924*946379e7Schristos	(_nl_load_domain): Move plural handling code to plural-exp.c. Call
1925*946379e7Schristos	EXTRACT_PLURAL_EXPRESSION.
1926*946379e7Schristos	* dcigettext.c: Include plural-exp.h.
1927*946379e7Schristos	* plural.y: Include plural-exp.h, not gettextP.h.
1928*946379e7Schristos	(FREE_EXPRESSION): Move macro to plural-exp.h.
1929*946379e7Schristos	* Makefile.in (DEFS): Define IN_LIBINTL.
1930*946379e7Schristos	(COMHDRS): Add plural-exp.h.
1931*946379e7Schristos	(COMSRCS): Add plural-exp.c.
1932*946379e7Schristos	(OBJECTS): Add plural-exp.$lo.
1933*946379e7Schristos	Update dependencies.
1934*946379e7Schristos
1935*946379e7Schristos2001-07-28  Bruno Haible  <haible@clisp.cons.org>
1936*946379e7Schristos
1937*946379e7Schristos	* l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha, isdigit,
1938*946379e7Schristos	tolower argument to 'unsigned char'.
1939*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Cast isspace argument to
1940*946379e7Schristos	'unsigned char'.
1941*946379e7Schristos	* localealias.c (read_alias_file): Cast isspace argument to
1942*946379e7Schristos	'unsigned char'.
1943*946379e7Schristos
1944*946379e7Schristos2001-07-23  Bruno Haible  <haible@clisp.cons.org>
1945*946379e7Schristos
1946*946379e7Schristos	* gettext.h: Assume <limits.h> exists.
1947*946379e7Schristos
1948*946379e7Schristos2001-09-13  Bruno Haible  <haible@clisp.cons.org>
1949*946379e7Schristos
1950*946379e7Schristos	* gettext-0.10.40 released.
1951*946379e7Schristos
1952*946379e7Schristos2001-07-11  Ulrich Drepper  <drepper@redhat.com>
1953*946379e7Schristos
1954*946379e7Schristos	* locale.alias: Use he language code for hebrew, not iw.
1955*946379e7Schristos
1956*946379e7Schristos2001-09-13  Bruno Haible  <haible@clisp.cons.org>
1957*946379e7Schristos
1958*946379e7Schristos	* *.h, *.c, *.y, Makefile.in: Change copyright notice from GPL to LGPL.
1959*946379e7Schristos	This is a reaction to a blackmail from the GNOME project which
1960*946379e7Schristos	threatened to distribute an LGPLed clone of libintl.
1961*946379e7Schristos	* COPYING.LIB-2, COPYING.LIB-2.1: New files.
1962*946379e7Schristos	* Makefile.in (DISTFILES.gettext): Add them.
1963*946379e7Schristos	(install-data): Install them.
1964*946379e7Schristos	(uninstall): Uninstall them.
1965*946379e7Schristos
1966*946379e7Schristos2001-07-24  Bruno Haible  <haible@clisp.cons.org>
1967*946379e7Schristos
1968*946379e7Schristos	* gettext-0.10.39 released.
1969*946379e7Schristos
1970*946379e7Schristos2001-06-24  Bruno Haible  <haible@clisp.cons.org>
1971*946379e7Schristos
1972*946379e7Schristos	* config.charset: Change canonical name of BIG5HKSCS to BIG5-HKSCS.
1973*946379e7Schristos	Change canonical name of SJIS to SHIFT_JIS.
1974*946379e7Schristos
1975*946379e7Schristos2001-06-12  Bruno Haible  <haible@clisp.cons.org>
1976*946379e7Schristos
1977*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Release the lock before returning.
1978*946379e7Schristos
1979*946379e7Schristos2001-04-30  Bruno Haible  <haible@clisp.cons.org>
1980*946379e7Schristos
1981*946379e7Schristos	Silence "gcc -Wall -Wwrite-strings" warnings.
1982*946379e7Schristos	* localcharset.c (charset_aliases): Change type to 'const char *'.
1983*946379e7Schristos	(get_charset_aliases): Change type of 'cp' to 'const char *'.
1984*946379e7Schristos
1985*946379e7Schristos2001-05-23  Bruno Haible  <haible@clisp.cons.org>
1986*946379e7Schristos
1987*946379e7Schristos	* gettext-0.10.38 released.
1988*946379e7Schristos
1989*946379e7Schristos2001-05-22  Bruno Haible  <haible@clisp.cons.org>
1990*946379e7Schristos
1991*946379e7Schristos	* Makefile.in (install-data): Install plural.c as well.
1992*946379e7Schristos	(uninstall): Uninstall plural.c as well.
1993*946379e7Schristos
1994*946379e7Schristos2001-05-18  Bruno Haible  <haible@clisp.cons.org>
1995*946379e7Schristos
1996*946379e7Schristos	* Makefile.in (dist): Don't assume $(srcdir) = ".". Distribute
1997*946379e7Schristos	file in either current directory or $(srcdir), whichever exists.
1998*946379e7Schristos
1999*946379e7Schristos2001-05-11  Bruno Haible  <haible@clisp.cons.org>
2000*946379e7Schristos
2001*946379e7Schristos	* Makefile.in (install-exec): Don't install charset.alias on glibc 2.1
2002*946379e7Schristos	systems.
2003*946379e7Schristos
2004*946379e7Schristos2001-04-30  Bruno Haible  <haible@clisp.cons.org>
2005*946379e7Schristos
2006*946379e7Schristos	* dcigettext.c (getuid, getgid, geteuid, getegid): Provide default
2007*946379e7Schristos	definitions. Needed for mingw32.
2008*946379e7Schristos
2009*946379e7Schristos2001-04-19  Bruno Haible  <haible@clisp.cons.org>
2010*946379e7Schristos
2011*946379e7Schristos	* gettext-0.10.37 released.
2012*946379e7Schristos
2013*946379e7Schristos2001-04-19  Bruno Haible <haible@clisp.cons.org>
2014*946379e7Schristos
2015*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): Bump to 1:1:0.
2016*946379e7Schristos
2017*946379e7Schristos2001-04-19  Bruno Haible <haible@clisp.cons.org>
2018*946379e7Schristos
2019*946379e7Schristos	* loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT when
2020*946379e7Schristos	the libiconv version is smaller than 1.5.
2021*946379e7Schristos
2022*946379e7Schristos2001-04-09  Bruno Haible <haible@clisp.cons.org>
2023*946379e7Schristos
2024*946379e7Schristos	* loadmsgcat.c: Don't use GNU C extensions if __APPLE_CC__ is defined.
2025*946379e7Schristos	Apple's MacOS X compiler has not all the features that the regular
2026*946379e7Schristos	GCC with the same version number has.
2027*946379e7Schristos
2028*946379e7Schristos2001-04-07  Bruno Haible <haible@clisp.cons.org>
2029*946379e7Schristos
2030*946379e7Schristos	* gettextP.h (struct loaded_domain): Add codeset_cntr field.
2031*946379e7Schristos	(struct binding): Add codeset_cntr field.
2032*946379e7Schristos	(_nl_load_domain): Add domainbinding argument.
2033*946379e7Schristos	(_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2034*946379e7Schristos	(_nl_find_msg): New declaration, moved here from loadinfo.h.
2035*946379e7Schristos	* loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2036*946379e7Schristos	(_nl_make_l10nflist): Remove domainbinding argument.
2037*946379e7Schristos	(_nl_find_msg): Move declaration to gettextP.h.
2038*946379e7Schristos	* bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0.
2039*946379e7Schristos	Increment it when ->codeset is changed.
2040*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2041*946379e7Schristos	(_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2042*946379e7Schristos	if domainbinding->codeset_cntr has been incremented.
2043*946379e7Schristos	* finddomain.c (_nl_find_domain): Don't pass domainbinding to
2044*946379e7Schristos	_nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2045*946379e7Schristos	* l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2046*946379e7Schristos	* loadmsgcat.c (_nl_init_domain_conv): New function, extracted from
2047*946379e7Schristos	_nl_load_domain. Append //TRANSLIT also when using libiconv.
2048*946379e7Schristos	(_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2049*946379e7Schristos	(_nl_load_domain): Add domainbinding argument. Call
2050*946379e7Schristos	_nl_init_domain_conv.
2051*946379e7Schristos	(_nl_unload_domain): Call _nl_free_domain_conv.
2052*946379e7Schristos
2053*946379e7Schristos2001-04-09  Bruno Haible  <haible@clisp.cons.org>
2054*946379e7Schristos
2055*946379e7Schristos	* dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2
2056*946379e7Schristos	(Linux libc5).
2057*946379e7Schristos
2058*946379e7Schristos2001-04-04  Bruno Haible  <haible@clisp.cons.org>
2059*946379e7Schristos
2060*946379e7Schristos	* dcigettext.c (HAVE_LOCALE_NULL): Define also if __GNU_LIBRARY__.
2061*946379e7Schristos
2062*946379e7Schristos2001-04-04  Bruno Haible  <haible@clisp.cons.org>
2063*946379e7Schristos
2064*946379e7Schristos	* Makefile.in (libdir, includedir, datadir): Use the autoconf
2065*946379e7Schristos	determined value, in order to respect the configure arguments.
2066*946379e7Schristos	(gettextsrcdir): Use $(datadir), not @datadir@.
2067*946379e7Schristos
2068*946379e7Schristos2001-03-29  Bruno Haible  <haible@clisp.cons.org>
2069*946379e7Schristos
2070*946379e7Schristos	* gettext-0.10.36 released.
2071*946379e7Schristos
2072*946379e7Schristos2001-03-25  Bruno Haible  <haible@clisp.cons.org>
2073*946379e7Schristos
2074*946379e7Schristos	* Makefile.in (install-data): Set execution bits on installed
2075*946379e7Schristos	config.charset.
2076*946379e7Schristos
2077*946379e7Schristos2001-03-23  Bruno Haible  <haible@clisp.cons.org>
2078*946379e7Schristos
2079*946379e7Schristos	* Makefile.in (YACC): Use @INTLBISON@ instead of bison.
2080*946379e7Schristos
2081*946379e7Schristos2001-03-21  Bruno Haible  <haible@clisp.cons.org>
2082*946379e7Schristos
2083*946379e7Schristos	* dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
2084*946379e7Schristos	chokes on empty macro arguments.
2085*946379e7Schristos	* plural.y: Add #pragma for alloca on AIX 3.
2086*946379e7Schristos
2087*946379e7Schristos2001-03-20  Bruno Haible  <haible@clisp.cons.org>
2088*946379e7Schristos
2089*946379e7Schristos	* Makefile.in (DISTFILES.generated): New variable.
2090*946379e7Schristos	(DISTFILES.gettext): Remove plural.c.
2091*946379e7Schristos	(dist): Use DISTFILES.generated.
2092*946379e7Schristos	(YACC): Use "bison -y" instead of @YACC@.
2093*946379e7Schristos	Needed for "make dist" to work in normal packages.
2094*946379e7Schristos
2095*946379e7Schristos2001-03-20  Bruno Haible  <haible@clisp.cons.org>
2096*946379e7Schristos
2097*946379e7Schristos	* Makefile.in (dist): Don't depend on $(DISTFILES). Instead, generate
2098*946379e7Schristos	the files to be distributed through a recursive 'make' call.
2099*946379e7Schristos
2100*946379e7Schristos2001-03-17  Bruno Haible  <haible@clisp.cons.org>
2101*946379e7Schristos
2102*946379e7Schristos	* gettextP.h (struct expression): Add operators lnot, less_than,
2103*946379e7Schristos	greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2104*946379e7Schristos	union by a 'nargs' counter and an 'args[]' array.
2105*946379e7Schristos	* plural.y: Don't include stdarg.h.
2106*946379e7Schristos	(new_exp): New function.
2107*946379e7Schristos	(new_exp_0, new_exp_2, new_exp_3): Rewritten to call new_exp.
2108*946379e7Schristos	(new_exp_1): New function.
2109*946379e7Schristos	('?' ':'): Make right-associative.
2110*946379e7Schristos	(EQUOP2): New token, replaces '=' and '!'.
2111*946379e7Schristos	(CMPOP2): New token.
2112*946379e7Schristos	(ADDOP2): New token, replaces '+' and '-'.
2113*946379e7Schristos	(MULOP2): New token, replaces '*', '/' and '%'.
2114*946379e7Schristos	('!'): New token.
2115*946379e7Schristos	(exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2116*946379e7Schristos	(start): Call YYABORT here.
2117*946379e7Schristos	(FREE_EXPRESSION): Update.
2118*946379e7Schristos	(yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2119*946379e7Schristos	Update for new token symbols.
2120*946379e7Schristos	* loadmsgcat.c (plvar, plone, germanic_plural, init_germanic_plural):
2121*946379e7Schristos	Update.
2122*946379e7Schristos	* dcigettext.c (_nl_find_msg): Optimize for space.
2123*946379e7Schristos	(plural_eval): Recognize comparison and '!' operators. Optimize for
2124*946379e7Schristos	space.
2125*946379e7Schristos
2126*946379e7Schristos	* dcigettext.c (transcmp): New declaration.
2127*946379e7Schristos
2128*946379e7Schristos2001-03-10  Bruno Haible  <haible@clisp.cons.org>
2129*946379e7Schristos
2130*946379e7Schristos	* Makefile.in (libintl.la): Pass -liconv and flag -no-undefined.
2131*946379e7Schristos	Needed on platforms like BeOS.
2132*946379e7Schristos
2133*946379e7Schristos	* Makefile.in (all-no-yes): Depend on libgnuintl.$la, not libintl.$la.
2134*946379e7Schristos	(libgnuintl.a, libgnuintl.la): New targets. Needed for linking
2135*946379e7Schristos	../tests/tstgettext on systems which have gettext() in libintl.so.
2136*946379e7Schristos
2137*946379e7Schristos	* localcharset.c (locale_charset): Allow wildcard syntax. Resolve
2138*946379e7Schristos	alias also if codeset is empty.
2139*946379e7Schristos	* config.charset (BeOS): Use wildcard syntax.
2140*946379e7Schristos
2141*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return NULL
2142*946379e7Schristos	any more.
2143*946379e7Schristos
2144*946379e7Schristos2001-03-09  Bruno Haible  <haible@clisp.cons.org>
2145*946379e7Schristos
2146*946379e7Schristos	* config.charset: Update from libiconv-1.6.
2147*946379e7Schristos	* localcharset.c: Likewise.
2148*946379e7Schristos
2149*946379e7Schristos2001-02-25  Ulrich Drepper  <drepper@redhat.com>
2150*946379e7Schristos
2151*946379e7Schristos	* locale.alias: Don't use nb_NO but define aliases for it.
2152*946379e7Schristos
2153*946379e7Schristos2001-01-26  Ulrich Drepper  <drepper@redhat.com>
2154*946379e7Schristos
2155*946379e7Schristos	* loadmsgcat.c: Include <locale.h> for _LIBC.
2156*946379e7Schristos
2157*946379e7Schristos2001-03-09  Bruno Haible  <haible@clisp.cons.org>
2158*946379e7Schristos
2159*946379e7Schristos	* dcigettext.c (transmem_block_t): Change to unsigned char, to avoid
2160*946379e7Schristos	compiler warning.
2161*946379e7Schristos	(_nl_find_msg): Add casts to avoid compiler warnings.
2162*946379e7Schristos
2163*946379e7Schristos2001-03-09  Bruno Haible  <haible@clisp.cons.org>
2164*946379e7Schristos
2165*946379e7Schristos	* Makefile.in (DISTFILES.common): Remove ChangeLog.
2166*946379e7Schristos	(DISTFILES.obsolete): New variable.
2167*946379e7Schristos	(install-data): Install ChangeLog.inst as ChangeLog. Remove the files
2168*946379e7Schristos	listed in DISTFILES.obsolete.
2169*946379e7Schristos	(uninstall): Simplify.
2170*946379e7Schristos	(distclean): Remove ChangeLog.inst.
2171*946379e7Schristos	(dist): Mention ChangeLog explicitly.
2172*946379e7Schristos
2173*946379e7Schristos2001-03-04  Bruno Haible  <haible@clisp.cons.org>
2174*946379e7Schristos
2175*946379e7Schristos	* dcigettext.c (ISSLASH, HAS_DEVICE, IS_ABSOLUTE_PATH,
2176*946379e7Schristos	IS_PATH_WITH_DIR): New macros.
2177*946379e7Schristos	(DCIGETTEXT): Use IS_ABSOLUTE_PATH and IS_PATH_WITH_DIR. Increment
2178*946379e7Schristos	path_max proportionally.
2179*946379e7Schristos	* loadinfo.h (PATH_SEPARATOR): New macro.
2180*946379e7Schristos	* l10nflist.c (_nl_make_l10nflist): Use PATH_SEPARATOR instead of ':'.
2181*946379e7Schristos	* localealias.c (_nl_expand_alias): Likewise.
2182*946379e7Schristos	* libgnuintl.h (gettext) [DJGPP]: Define as a macro as well.
2183*946379e7Schristos
2184*946379e7Schristos2001-03-06  Bruno Haible  <haible@clisp.cons.org>
2185*946379e7Schristos
2186*946379e7Schristos	* libgnuintl.h (LC_MESSAGES): Don't define on Solaris.
2187*946379e7Schristos
2188*946379e7Schristos2001-02-24  Bruno Haible  <haible@clisp.cons.org>
2189*946379e7Schristos
2190*946379e7Schristos	* dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2191*946379e7Schristos
2192*946379e7Schristos2001-02-05  Bruno Haible  <haible@clisp.cons.org>
2193*946379e7Schristos
2194*946379e7Schristos	* libgnuintl.h (LC_MESSAGES): Provide a default value.
2195*946379e7Schristos
2196*946379e7Schristos2001-01-30  Bruno Haible  <haible@clisp.cons.org>
2197*946379e7Schristos
2198*946379e7Schristos	* config.charset: Update for FreeBSD 4.2.
2199*946379e7Schristos
2200*946379e7Schristos2001-01-21  Bruno Haible  <haible@clisp.cons.org>
2201*946379e7Schristos
2202*946379e7Schristos	Use libtool.
2203*946379e7Schristos	* Makefile.in (l): Use INTL_LIBTOOL_SUFFIX_PREFIX instead of l.
2204*946379e7Schristos	(all-no): When USE_INCLUDED_LIBINTL is 'no' but BUILD_INCLUDED_LIBINTL
2205*946379e7Schristos	is 'yes', still build libintl.$la because the testsuite needs it.
2206*946379e7Schristos	(libintl.la): Add $(CPPFLAGS) $(CFLAGS) $(XCFLAGS). Linking via $(CC)
2207*946379e7Schristos	must use all $(CFLAGS).
2208*946379e7Schristos	(install-exec): Use libtool to install libintl.$la.
2209*946379e7Schristos	(uninstall): Use libtool to uninstall libintl.$la.
2210*946379e7Schristos	(mostlyclean): Remove *.la and the .libs subdir.
2211*946379e7Schristos	* intl-compat.c: Reorder. Add comment.
2212*946379e7Schristos
2213*946379e7Schristos2001-01-20  Bruno Haible  <haible@clisp.cons.org>
2214*946379e7Schristos
2215*946379e7Schristos	* loadmsgcat.c (O_BINARY): Define on platforms that don't have it.
2216*946379e7Schristos	(_nl_load_domain): Open the catalog file in binary mode.
2217*946379e7Schristos
2218*946379e7Schristos2001-01-24  Bruno Haible  <haible@clisp.cons.org>
2219*946379e7Schristos
2220*946379e7Schristos	* gettextP.h (SWAP): Remove declaration, to work around a compilation
2221*946379e7Schristos	failure on alphaev5-cray-unicosmk2.0.5.X.
2222*946379e7Schristos
2223*946379e7Schristos2001-01-15  Bruno Haible  <haible@clisp.cons.org>
2224*946379e7Schristos
2225*946379e7Schristos	* dcigettext.c (_nl_find_msg): Cast the second iconv() arg, to avoid
2226*946379e7Schristos	a warning.
2227*946379e7Schristos
2228*946379e7Schristos2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2229*946379e7Schristos
2230*946379e7Schristos	* gettextP.h (__gettextdebug): Remove declaration.
2231*946379e7Schristos	(gettext_free_exp__, gettextparse__): New non-libc declarations.
2232*946379e7Schristos	* plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__, not
2233*946379e7Schristos	__gettextparse, __gettext_free_exp.
2234*946379e7Schristos	* loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2235*946379e7Schristos
2236*946379e7Schristos2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2237*946379e7Schristos
2238*946379e7Schristos	* libgnuintl.h: Renamed from intlh.inst.in.
2239*946379e7Schristos	Remove comment about __builtin_constant_p.
2240*946379e7Schristos	(gettext): Use NULL.
2241*946379e7Schristos	* libgettext.h: Completely rewritten. Now a conditional wrapper around
2242*946379e7Schristos	<libintl.h>. Keep the handling of ENABLE_NLS and gettext_noop, remove
2243*946379e7Schristos	everything else.
2244*946379e7Schristos	* gettextP.h: Include gettext.h, for nls_uint32.
2245*946379e7Schristos	(gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__,
2246*946379e7Schristos	bind_textdomain_codeset__): New declarations, from old libgettext.h.
2247*946379e7Schristos	* gettext.h: Don't include <stdio.h>.
2248*946379e7Schristos	* Makefile.in (HEADERS): Add libgnuintl.h.
2249*946379e7Schristos	(DISTFILES.gettext): Remove intlh.inst.in.
2250*946379e7Schristos	(all-yes): Depend on libintl.h instead of intlh.inst.
2251*946379e7Schristos	(libintl.h): New target. Create as a copy of libgnuintl.h.
2252*946379e7Schristos	(intlh.inst): Remove target.
2253*946379e7Schristos	(install-exec): Update.
2254*946379e7Schristos	($(OBJECTS): Depend on libgnuintl.h, not libgettext.h.
2255*946379e7Schristos	(mostlyclean): Remove libintl.h instead of intlh.inst.
2256*946379e7Schristos	(dist-libc): Remove target.
2257*946379e7Schristos	* bindtextdom.c: Include libgnuintl.h instead of libgettext.h. Don't
2258*946379e7Schristos	include gettext.h.
2259*946379e7Schristos	* dcgettext.c: Likewise.
2260*946379e7Schristos	* dcigettext.c: Likewise.
2261*946379e7Schristos	* dcngettext.c: Likewise.
2262*946379e7Schristos	* dngettext.c: Likewise.
2263*946379e7Schristos	* finddomain.c: Likewise.
2264*946379e7Schristos	* ngettext.c: Likewise.
2265*946379e7Schristos	* textdomain.c: Likewise.
2266*946379e7Schristos	* dgettext.c: Include libgnuintl.h instead of libgettext.h. Include
2267*946379e7Schristos	gettextP.h.
2268*946379e7Schristos	* gettext.c: Likewise.
2269*946379e7Schristos	* intl-compat.c: Likewise.
2270*946379e7Schristos	* localealias.c: Don't include gettext.h.
2271*946379e7Schristos	* plural.y: Likewise.
2272*946379e7Schristos
2273*946379e7Schristos2001-01-07  Bruno Haible  <haible@clisp.cons.org>
2274*946379e7Schristos
2275*946379e7Schristos	Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
2276*946379e7Schristos	* intlh.inst.in: Likewise.
2277*946379e7Schristos	* libgettext.h: Likewise.
2278*946379e7Schristos	* gettextP.h: Likewise.
2279*946379e7Schristos	* bindtextdom.c: Likewise.
2280*946379e7Schristos	* dcigettext.c: Likewise.
2281*946379e7Schristos	* dgettext.c: Likewise.
2282*946379e7Schristos	* dngettext.c: Likewise.
2283*946379e7Schristos	* explodename.c: Likewise.
2284*946379e7Schristos	* finddomain.c: Likewise.
2285*946379e7Schristos	* gettext.c: Likewise.
2286*946379e7Schristos	* l10nflist.c: Likewise.
2287*946379e7Schristos	* loadmsgcat.c: Likewise.
2288*946379e7Schristos	* localealias.c: Likewise.
2289*946379e7Schristos	* ngettext.c: Likewise.
2290*946379e7Schristos	* textdomain.c: Likewise.
2291*946379e7Schristos
2292*946379e7Schristos2001-01-06  Bruno Haible  <haible@clisp.cons.org>
2293*946379e7Schristos
2294*946379e7Schristos	Remove catgets fallback code.
2295*946379e7Schristos	- It does not handle message clash prevention through domains and
2296*946379e7Schristos	  dgettext().
2297*946379e7Schristos	- It does not handle message catalog inheritance and the LANGUAGE
2298*946379e7Schristos	  environment variable.
2299*946379e7Schristos	- It does not handle locale aliases.
2300*946379e7Schristos	- It does not handle automatic charset conversion.
2301*946379e7Schristos	- It does not handle plural form handling and ngettext().
2302*946379e7Schristos	- It uses a slow string to integer conversion.
2303*946379e7Schristos	- It is sensitive against installation problems.
2304*946379e7Schristos	* cat-compat.c: Remove file.
2305*946379e7Schristos	* po2msg.sin, po2tbl.sin: Remove files.
2306*946379e7Schristos	* Makefile.in (datadir): Assume DATADIRNAME = share.
2307*946379e7Schristos	(SOURCES): Remove cat-compat.c.
2308*946379e7Schristos	(DISTFILES.common): Remove po2msg.sin, po2tbl.sin.
2309*946379e7Schristos	(distclean): No need to remove po2msg.sed, po2tbl.sed.
2310*946379e7Schristos	(../po/cat-id-tbl.$lo): Remove rule.
2311*946379e7Schristos	* libgettext.h (_msg_ent): Remove.
2312*946379e7Schristos	(_msg_tbl, _msg_tbl_length): Remove declarations.
2313*946379e7Schristos	(gettext, dgettext, ngettext, dngettext): Don't depend on
2314*946379e7Schristos	!HAVE_CATGETS.
2315*946379e7Schristos
2316*946379e7Schristos2001-01-04  Ulrich Drepper  <drepper@redhat.com>
2317*946379e7Schristos
2318*946379e7Schristos	* plural.y (yylex): Minimal improvement in number scanner.
2319*946379e7Schristos
2320*946379e7Schristos2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2321*946379e7Schristos
2322*946379e7Schristos	* dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value
2323*946379e7Schristos	is ignored if the selected locale is the C locale.
2324*946379e7Schristos
2325*946379e7Schristos2000-11-20  Ulrich Drepper  <drepper@redhat.com>
2326*946379e7Schristos
2327*946379e7Schristos	* dcigettext.c (transcmp): Make s1 and s2 const.
2328*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Rearrange domain initialization to
2329*946379e7Schristos	avoid warning.
2330*946379e7Schristos
2331*946379e7Schristos2000-11-09  Ulrich Drepper  <drepper@redhat.com>
2332*946379e7Schristos
2333*946379e7Schristos	* locale.alias: Add thai.
2334*946379e7Schristos	Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
2335*946379e7Schristos
2336*946379e7Schristos2001-01-05  Bruno Haible  <haible@clisp.cons.org>
2337*946379e7Schristos
2338*946379e7Schristos	* Makefile.in (INCLUDES): Remove reference to $(top_srcdir)/lib.
2339*946379e7Schristos	(.SUFFIXES): Put .c before .y, so that Solaris "make" uses the .c.o
2340*946379e7Schristos	rule, not the builtin .y.o rule.
2341*946379e7Schristos	(.y.c): Use $< instead of $^. $^ is not supported by SUSV2 "make"
2342*946379e7Schristos	specification. Remove $*.h explicitly: we don't need plural.h.
2343*946379e7Schristos	* gettextP.h: Include <stddef.h>.
2344*946379e7Schristos	(__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2345*946379e7Schristos	syntax.
2346*946379e7Schristos	* bindtextdom.c (offsetof): Provide fallback for platforms that lack
2347*946379e7Schristos	it, like SunOS4.
2348*946379e7Schristos	(set_binding_values): Convert prototype to K&R C syntax.
2349*946379e7Schristos	* cat-compat.c: Include stdlib.h, string.h whenever possible.
2350*946379e7Schristos	* dcigettext.c: Ignore the value of C_ALLOCA, because libintl.a
2351*946379e7Schristos	must not depend on external .o files.
2352*946379e7Schristos	(offsetof): Provide fallback for platforms that lack it, like SunOS4.
2353*946379e7Schristos	(transcmp): Convert to K&R C syntax.
2354*946379e7Schristos	* explodename.c Include stdlib.h whenever possible.
2355*946379e7Schristos	(_nl_find_language): Convert to K&R C syntax.
2356*946379e7Schristos	* finddomain.c: Include stdlib.h whenever possible.
2357*946379e7Schristos	* l10nflist.c Include stdlib.h whenever possible.
2358*946379e7Schristos	(_nl_normalize_codeset): Use tolower, not _tolower.
2359*946379e7Schristos	* loadmsgcat.c: Include stdlib.h whenever possible.
2360*946379e7Schristos	Include headers needed for alloca().
2361*946379e7Schristos	(freea): New macro.
2362*946379e7Schristos	(_nl_load_domain): Add fallback code for platforms lacking strtoul,
2363*946379e7Schristos	like SunOS4. Add fallback code for platforms lacking alloca.
2364*946379e7Schristos	* localealias.c: Include stdlib.h whenever possible.
2365*946379e7Schristos	(ADD_BLOCK, FREE_BLOCK): Remove macros.
2366*946379e7Schristos	(freea): New macro.
2367*946379e7Schristos	(read_alias_file): Simplify fallback code for platforms lacking alloca.
2368*946379e7Schristos	* plural.y (new_exp_0, new_exp_2, new_exp_3): New functions.
2369*946379e7Schristos	(new_exp): Remove function.
2370*946379e7Schristos	(__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax.
2371*946379e7Schristos	* textdomain.c: Include stdlib.h whenever possible.
2372*946379e7Schristos	* gettext.c: Likewise.
2373*946379e7Schristos	* ngettext.c: Likewise.
2374*946379e7Schristos	* localcharset.c (volatile): Define to empty if not using ANSI C.
2375*946379e7Schristos
2376*946379e7Schristos2001-01-01  Bruno Haible  <haible@clisp.cons.org>
2377*946379e7Schristos
2378*946379e7Schristos	* Makefile.in (mostlyclean): Remove intlh.inst, charset.alias,
2379*946379e7Schristos	ref-add.sed, ref-del.sed.
2380*946379e7Schristos	(distclean): In the gettext package, remove VERSION.
2381*946379e7Schristos
2382*946379e7Schristos2001-01-01  Bruno Haible  <haible@clisp.cons.org>
2383*946379e7Schristos
2384*946379e7Schristos	Finish implementation of plural form handling.
2385*946379e7Schristos	* dcigettext.c (known_translation_t): Rename 'domain' field to
2386*946379e7Schristos	'domainname'. Remove 'plindex' field. Add 'domain' and
2387*946379e7Schristos	'translation_length' fields.
2388*946379e7Schristos	(transcmp): Don't compare 'plindex' fields.
2389*946379e7Schristos	(plural_lookup): New function.
2390*946379e7Schristos	(DCIGETTEXT): Change cache handing in the plural case. Don't call
2391*946379e7Schristos	plural_eval before the translation and its catalog file have been
2392*946379e7Schristos	found. Remove plindex from cache key. Add 'translation_length' and
2393*946379e7Schristos	'domain' to cache result.
2394*946379e7Schristos	(_nl_find_msg): Remove index argument, return length of translation
2395*946379e7Schristos	to the caller instead. Weaken comparison of string lengths, to account
2396*946379e7Schristos	for plural entries. Call iconv() on the entire result string, not
2397*946379e7Schristos	only on the portion needed so far.
2398*946379e7Schristos	* loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
2399*946379e7Schristos	argument.
2400*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
2401*946379e7Schristos
2402*946379e7Schristos	* intl-compat.c (dcngettext, dngettext, ngettext): New functions.
2403*946379e7Schristos	* libgettext.h (ngettext__, dngettext__, dcngettext__): New
2404*946379e7Schristos	declarations.
2405*946379e7Schristos	(ngettext, dngettext): Add missing macro argument.
2406*946379e7Schristos
2407*946379e7Schristos	* intlh.inst.in (ngettext, dngettext): Add missing macro argument.
2408*946379e7Schristos
2409*946379e7Schristos2000-12-31  Bruno Haible  <haible@clisp.cons.org>
2410*946379e7Schristos
2411*946379e7Schristos	* gettextP.h (ZERO): New macro.
2412*946379e7Schristos	(struct binding): Always use ZERO.
2413*946379e7Schristos	* bindtextdom.c (set_binding_values): Use offsetof, not sizeof.
2414*946379e7Schristos	Include <stddef.h> whenever possible.
2415*946379e7Schristos	* dcigettext.c (ZERO): Remove macro.
2416*946379e7Schristos	(struct transmem_list): Use ZERO.
2417*946379e7Schristos	(DCIGETTEXT): Use offsetof, not sizeof.
2418*946379e7Schristos	Include <stddef.h> whenever possible.
2419*946379e7Schristos
2420*946379e7Schristos	* config.charset: Update from libiconv-1.5.1.
2421*946379e7Schristos	* localcharset.c: Likewise.
2422*946379e7Schristos
2423*946379e7Schristos2000-12-30  Bruno Haible  <haible@clisp.cons.org>
2424*946379e7Schristos
2425*946379e7Schristos	* locale.alias: New file, moved here from ../misc/locale.alias. Add
2426*946379e7Schristos	"Packages using this file" line.
2427*946379e7Schristos	* Makefile.in (DISTFILES.common): Add locale.alias.
2428*946379e7Schristos	(install-exec, uninstall): Install/deinstall locale.alias.
2429*946379e7Schristos
2430*946379e7Schristos2000-10-30  Ulrich Drepper  <drepper@redhat.com>
2431*946379e7Schristos
2432*946379e7Schristos	* dcigettext.c (guess_category_value): For libc always use the
2433*946379e7Schristos	setlocale() method.
2434*946379e7Schristos
2435*946379e7Schristos2000-10-20  Ulrich Drepper  <drepper@redhat.com>
2436*946379e7Schristos
2437*946379e7Schristos	* libintl.glibc (ngettext macro): Add missing parameter.
2438*946379e7Schristos	(dngettext macro): Likewise.
2439*946379e7Schristos
2440*946379e7Schristos2000-10-14  Ulrich Drepper  <drepper@redhat.com>
2441*946379e7Schristos
2442*946379e7Schristos	* localealias.c (read_alias_file): Update string pointers in map[]
2443*946379e7Schristos	if realloc() changed the values.
2444*946379e7Schristos	Patch by Jakub Jelinek <jakub@redhat.com>.
2445*946379e7Schristos
2446*946379e7Schristos2000-08-31  Ulrich Drepper  <drepper@redhat.com>
2447*946379e7Schristos
2448*946379e7Schristos	* loadmsgcat.c: Use *stat64 instead of *stat internally.
2449*946379e7Schristos
2450*946379e7Schristos	* dcigettext.c (free_mem): Correct freeing of _nl_domain_bindings
2451*946379e7Schristos	list.
2452*946379e7Schristos
2453*946379e7Schristos2000-08-27  Ulrich Drepper  <drepper@redhat.com>
2454*946379e7Schristos
2455*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to
2456*946379e7Schristos	determine invalid locale name.
2457*946379e7Schristos
2458*946379e7Schristos2000-08-20  Ulrich Drepper  <drepper@redhat.com>
2459*946379e7Schristos
2460*946379e7Schristos	* dcigettext.c: Unify use of function aliases to make more compact
2461*946379e7Schristos	PLT.
2462*946379e7Schristos
2463*946379e7Schristos	* loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2464*946379e7Schristos	Pretty printing.
2465*946379e7Schristos	* plural.y (new_exp): Take number of optional parameters in second
2466*946379e7Schristos	parameter.  Test for correct number of parameters and free correctly
2467*946379e7Schristos	in case of failure.  Adjust all callers.
2468*946379e7Schristos	(yylex): Fix handling of '\0'.  Allow ';' as terminator character.
2469*946379e7Schristos
2470*946379e7Schristos2000-07-14  Bruno Haible  <haible@clisp.cons.org>
2471*946379e7Schristos
2472*946379e7Schristos	* dcigettext.c (dcigettext): Call plural_eval on all platforms, not
2473*946379e7Schristos	only those having tsearch.
2474*946379e7Schristos
2475*946379e7Schristos2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2476*946379e7Schristos
2477*946379e7Schristos	* dcigettext.c (_nl_find_msg): Correct reallocation of buffers in
2478*946379e7Schristos	case the translation is too large.  Remember allocated memory blocks
2479*946379e7Schristos	in a list.
2480*946379e7Schristos	(free_mem): Free memory for translations.
2481*946379e7Schristos
2482*946379e7Schristos2000-06-16  Ulrich Drepper  <drepper@redhat.com>
2483*946379e7Schristos
2484*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with new
2485*946379e7Schristos	parameter to always enable transliteration.
2486*946379e7Schristos
2487*946379e7Schristos1998-10-20  Paul Eggert  <eggert@twinsun.com>
2488*946379e7Schristos
2489*946379e7Schristos	* po2tbl.sin: Escape trigraphs.
2490*946379e7Schristos
2491*946379e7Schristos2000-10-12  Bruno Haible  <haible@clisp.cons.org>
2492*946379e7Schristos
2493*946379e7Schristos	* finddomain.c: Remove unneeded includes.
2494*946379e7Schristos
2495*946379e7Schristos2000-10-12  Bruno Haible  <haible@clisp.cons.org>
2496*946379e7Schristos
2497*946379e7Schristos	* localealias.c (memcpy): Return first argument, just like the real
2498*946379e7Schristos	memcpy function does.
2499*946379e7Schristos	* bindtextdom.c (memcpy): Likewise.
2500*946379e7Schristos	* finddomain.c (memcpy): Likewise.
2501*946379e7Schristos	* l10nflist.c (memcpy): Likewise.
2502*946379e7Schristos	* textdomain.c (memcpy): Likewise.
2503*946379e7Schristos	From Paul Eggert <eggert@twinsun.com>.
2504*946379e7Schristos
2505*946379e7Schristos2000-09-29  Bruno Haible  <haible@clisp.cons.org>
2506*946379e7Schristos
2507*946379e7Schristos	* libintl.glibc: Update from current glibc version.
2508*946379e7Schristos
2509*946379e7Schristos2000-09-18  Bruno Haible  <haible@clisp.cons.org>
2510*946379e7Schristos
2511*946379e7Schristos	* dcigettext.c: Outside libc, use local variable names that don't
2512*946379e7Schristos	clash with those in libc.
2513*946379e7Schristos	* bindtextdom.c: Likewise.
2514*946379e7Schristos	* textdomain.c: Likewise.
2515*946379e7Schristos
2516*946379e7Schristos2000-07-31  Bruno Haible  <haible@clisp.cons.org>
2517*946379e7Schristos
2518*946379e7Schristos	* plural.y: Include config.h. Needed to define 'inline' away for C
2519*946379e7Schristos	compilers that don't support it.
2520*946379e7Schristos	(yylex): Don't use gcc specific case range syntax.
2521*946379e7Schristos	* loadmsgcat.y (INIT_GERMANIC_PLURAL): New macro, for old compilers.
2522*946379e7Schristos
2523*946379e7Schristos2000-07-28  Bruno Haible  <haible@clisp.cons.org>
2524*946379e7Schristos
2525*946379e7Schristos	Simplification: In all cases where $(gnulocaledir) is used, it is
2526*946379e7Schristos	identical to $(localedir).
2527*946379e7Schristos	* Makefile.in (DEFS): Remove setting for GNULOCALEDIR.
2528*946379e7Schristos	* dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2529*946379e7Schristos
2530*946379e7Schristos2000-07-28  Bruno Haible  <haible@clisp.cons.org>
2531*946379e7Schristos
2532*946379e7Schristos	* xopen-msg.sed: Renamed to ...
2533*946379e7Schristos	* po2msg.sin: ... here.
2534*946379e7Schristos	* linux-msg.sed: Remove file.
2535*946379e7Schristos	* Makefile.in (DISTFILES.common): Update.
2536*946379e7Schristos
2537*946379e7Schristos2000-07-28  Bruno Haible  <haible@clisp.cons.org>
2538*946379e7Schristos
2539*946379e7Schristos	* po2tbl.sed.in: Renamed to ...
2540*946379e7Schristos	* po2tbl.sin: ... here.
2541*946379e7Schristos	* Makefile.in (DISTFILES.common): Update.
2542*946379e7Schristos
2543*946379e7Schristos2000-07-28  Bruno Haible  <haible@clisp.cons.org>
2544*946379e7Schristos
2545*946379e7Schristos	* Makefile.in (uninstall): Synchronize with the install target.
2546*946379e7Schristos	Really remove charset.alias when its reference count drops to 0.
2547*946379e7Schristos
2548*946379e7Schristos2000-07-28  Bruno Haible  <haible@clisp.cons.org>
2549*946379e7Schristos
2550*946379e7Schristos	* Makefile.in (mkinstalldirs): New macro. Needed when configured with
2551*946379e7Schristos	--srcdir=<relative pathname>; then ac_aux_dir will be a relative
2552*946379e7Schristos	pathname rooted at the top builddir, and @MKINSTALLDIRS@ likewise.
2553*946379e7Schristos	(install-exec, install-data): Use it.
2554*946379e7Schristos
2555*946379e7Schristos2000-07-26  Bruno Haible  <haible@clisp.cons.org>
2556*946379e7Schristos
2557*946379e7Schristos	* Makefile.in (install-exec, install-data): Use $(SHELL) for calling
2558*946379e7Schristos	$(MKINSTALLDIRS), don't rely on its execution permissions.
2559*946379e7Schristos
2560*946379e7Schristos	* Makefile.in (LTV_CURRENT, LTV_REVISION, LTV_AGE): New variables.
2561*946379e7Schristos	(libintl.la): Use them.
2562*946379e7Schristos
2563*946379e7Schristos	* Makefile.in (install-exec, install-data, uninstall): Provide DESTDIR
2564*946379e7Schristos	support, as recommended by GNU standards. Fix misapplied 2000-06-16
2565*946379e7Schristos	patch.
2566*946379e7Schristos
2567*946379e7Schristos2000-06-16  Bruno Haible  <haible@clisp.cons.org>
2568*946379e7Schristos
2569*946379e7Schristos	* Makefile.in (COMSRCS): Add localcharset.c.
2570*946379e7Schristos	(OBJECTS): Add localcharset.$lo.
2571*946379e7Schristos	(DISTFILES.common): Add config.charset, ref-{add,del}.sin.
2572*946379e7Schristos	(DEFS): Add -DLIBDIR.
2573*946379e7Schristos	(all-yes): Add charset.alias, ref-{add,del}.sed.
2574*946379e7Schristos	(.SUFFIXES): Add .sin and .sed.
2575*946379e7Schristos	(.sin.sed, charset.alias): New rules.
2576*946379e7Schristos	(install-exec, uninstall): Install/deinstall charset.alias.
2577*946379e7Schristos	* localcharset.c: New file, from fileutils-4.0u.
2578*946379e7Schristos	* config.charset: New file, from fileutils-4.0u.
2579*946379e7Schristos	* red-add.sin, ref-del.sin: New files, from fileutils-4.0u.
2580*946379e7Schristos
2581*946379e7Schristos	* intlh.inst.in (bind_textdomain_codeset): New declaration.
2582*946379e7Schristos	* libgettext.h (bind_textdomain_codeset, bind_textdomain_codeset__):
2583*946379e7Schristos	New declarations.
2584*946379e7Schristos	(bind_textdomain_codeset) [!ENABLE_NLS]: New macro.
2585*946379e7Schristos	* cat-compat.c (bind_textdomain_codeset): New function.
2586*946379e7Schristos	* intl-compat.c (bind_textdomain_codeset): New function.
2587*946379e7Schristos
2588*946379e7Schristos	* libgettext.h (ngettext, dngettext, dcngettext): New
2589*946379e7Schristos	declarations.
2590*946379e7Schristos	(dcgettext): Remove macro definition.
2591*946379e7Schristos	(textdomain, bindtextdomain) [!ENABLE_NLS]: Parenthesize argument.
2592*946379e7Schristos	* intlh.inst.in (ngettext, dngettext, dcngettext): New
2593*946379e7Schristos	declarations.
2594*946379e7Schristos	(dcgettext): Remove macro definition.
2595*946379e7Schristos
2596*946379e7Schristos	* *.h, *.c, *.y: Change copyright notice from LGPL to GPL.
2597*946379e7Schristos
2598*946379e7Schristos2000-05-21  Ulrich Drepper  <drepper@redhat.com>
2599*946379e7Schristos
2600*946379e7Schristos	* dcigettext.c: Fix typo in comment.
2601*946379e7Schristos
2602*946379e7Schristos2000-05-08  Andreas Jaeger  <aj@suse.de>
2603*946379e7Schristos
2604*946379e7Schristos	* bindtextdom.c (set_binding_values): Add prototype.
2605*946379e7Schristos
2606*946379e7Schristos2000-05-05  Bruno Haible  <haible@clisp.cons.org>
2607*946379e7Schristos
2608*946379e7Schristos	* dcigettext.c (alignof): New macro.
2609*946379e7Schristos	(_nl_find_msg): Use it instead of __alignof__. Pass correct output
2610*946379e7Schristos	buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
2611*946379e7Schristos	freemem_size to 0.
2612*946379e7Schristos
2613*946379e7Schristos2000-05-05  Bruno Haible  <haible@clisp.cons.org>
2614*946379e7Schristos
2615*946379e7Schristos	* dcigettext.c (dcigettext): Fix interpretation of tsearch
2616*946379e7Schristos	return value.
2617*946379e7Schristos
2618*946379e7Schristos2000-05-06  Ulrich Drepper  <drepper@redhat.com>
2619*946379e7Schristos
2620*946379e7Schristos	* dcigettext.c (DCIGETTEXT): Always define local variable `index'.
2621*946379e7Schristos	(mempcpy): Correct typo in parameter list.
2622*946379e7Schristos
2623*946379e7Schristos	* hash-string.h: Don't include <values.h>.
2624*946379e7Schristos
2625*946379e7Schristos	* *.c, *.h, *.y: Update from glibc version.
2626*946379e7Schristos
2627*946379e7Schristos1998-04-29  Paul Eggert  <eggert@twinsun.com>
2628*946379e7Schristos
2629*946379e7Schristos	* Makefile.in (aliaspath): Don't put `.' at the end.
2630*946379e7Schristos
2631*946379e7Schristos1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2632*946379e7Schristos
2633*946379e7Schristos	* localealias.c (read_alias_file): Undo last change.
2634*946379e7Schristos	* l10nflist.c (_nl_normalize_codeset): Likewise.
2635*946379e7Schristos	* loadinfo.h: Likewise.
2636*946379e7Schristos
2637*946379e7Schristos1998-05-23  Ulrich Drepper  <drepper@cygnus.com>
2638*946379e7Schristos
2639*946379e7Schristos	* dcgettext.c: Don't use any alloca hack when C_ALLOCA is defined.
2640*946379e7Schristos
2641*946379e7Schristos1998-05-01 08:47  Ulrich Drepper  <drepper@cygnus.com>
2642*946379e7Schristos
2643*946379e7Schristos	* gettext-0.10.35 released.
2644*946379e7Schristos
2645*946379e7Schristos1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2646*946379e7Schristos
2647*946379e7Schristos	* intl/localealias.c (read_alias_file): Use unsigned char for
2648*946379e7Schristos	local variables.  Remove unused variable tp.
2649*946379e7Schristos	* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
2650*946379e7Schristos	for type of codeset.  For loosing Solaris systems.
2651*946379e7Schristos	* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
2652*946379e7Schristos	* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
2653*946379e7Schristos	len if not needed.
2654*946379e7Schristos	Patches by Jim Meyering.
2655*946379e7Schristos
2656*946379e7Schristos1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
2657*946379e7Schristos
2658*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
2659*946379e7Schristos	mmap is not supported.
2660*946379e7Schristos
2661*946379e7Schristos	* hash-string.h: Don't include <values.h>.
2662*946379e7Schristos
2663*946379e7Schristos1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2664*946379e7Schristos
2665*946379e7Schristos	* textdomain.c: Use strdup is available.
2666*946379e7Schristos
2667*946379e7Schristos	* localealias.c: Define HAVE_MEMPCPY so that we can use this
2668*946379e7Schristos	function.  Define and use semapahores to protect modfication of
2669*946379e7Schristos	global objects when compiling for glibc.  Add code to allow
2670*946379e7Schristos	freeing alias table.
2671*946379e7Schristos
2672*946379e7Schristos	* l10nflist.c: Don't assume stpcpy not being a macro.
2673*946379e7Schristos
2674*946379e7Schristos	* gettextP.h: Define internal_function macri if not already done.
2675*946379e7Schristos	Use glibc byte-swap macros instead of defining SWAP when compiled
2676*946379e7Schristos	for glibc.
2677*946379e7Schristos	(struct loaded_domain): Add elements to allow unloading.
2678*946379e7Schristos
2679*946379e7Schristos	* Makefile.in (distclean): Don't remove libintl.h here.
2680*946379e7Schristos
2681*946379e7Schristos	* bindtextdomain.c: Carry over changes from glibc.  Use strdup if
2682*946379e7Schristos	available.
2683*946379e7Schristos
2684*946379e7Schristos	* dcgettext.c: Don't assume stpcpy not being a macro.  Mark internal
2685*946379e7Schristos	functions.  Add memory freeing code for glibc.
2686*946379e7Schristos
2687*946379e7Schristos	* dgettext.c: Update copyright.
2688*946379e7Schristos
2689*946379e7Schristos	* explodename.c: Include stdlib.h and string.h only if they exist.
2690*946379e7Schristos	Use strings.h eventually.
2691*946379e7Schristos
2692*946379e7Schristos	* finddomain.c: Mark internal functions.  Use strdup if available.
2693*946379e7Schristos	Add memory freeing code for glibc.
2694*946379e7Schristos
2695*946379e7Schristos1997-10-10 20:00  Ulrich Drepper  <drepper@cygnus.com>
2696*946379e7Schristos
2697*946379e7Schristos	* libgettext.h: Fix dummy textdomain and bindtextdomain macros.
2698*946379e7Schristos	They should return reasonable values.
2699*946379e7Schristos	Reported by Tom Tromey <tromey@cygnus.com>.
2700*946379e7Schristos
2701*946379e7Schristos1997-09-16 03:33  Ulrich Drepper  <drepper@cygnus.com>
2702*946379e7Schristos
2703*946379e7Schristos	* libgettext.h: Define PARAMS also to `args' if __cplusplus is defined.
2704*946379e7Schristos	* intlh.inst.in: Likewise.
2705*946379e7Schristos	Reported by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>.
2706*946379e7Schristos
2707*946379e7Schristos	* libintl.glibc: Update from current glibc version.
2708*946379e7Schristos
2709*946379e7Schristos1997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
2710*946379e7Schristos
2711*946379e7Schristos	* intlh.inst.in: Reformat copyright.
2712*946379e7Schristos
2713*946379e7Schristos1997-08-19 15:22  Ulrich Drepper  <drepper@cygnus.com>
2714*946379e7Schristos
2715*946379e7Schristos	* dcgettext.c (DCGETTEXT): Remove wrong comment.
2716*946379e7Schristos
2717*946379e7Schristos1997-08-16 00:13  Ulrich Drepper  <drepper@cygnus.com>
2718*946379e7Schristos
2719*946379e7Schristos	* Makefile.in (install-data): Don't change directory to install.
2720*946379e7Schristos
2721*946379e7Schristos1997-08-01 14:30  Ulrich Drepper  <drepper@cygnus.com>
2722*946379e7Schristos
2723*946379e7Schristos	* cat-compat.c: Fix copyright.
2724*946379e7Schristos
2725*946379e7Schristos	* localealias.c: Don't define strchr unless !HAVE_STRCHR.
2726*946379e7Schristos
2727*946379e7Schristos	* loadmsgcat.c: Update copyright.  Fix typos.
2728*946379e7Schristos
2729*946379e7Schristos	* l10nflist.c: Don't define strchr unless !HAVE_STRCHR.
2730*946379e7Schristos	(_nl_make_l10nflist): Handle sponsor and revision correctly.
2731*946379e7Schristos
2732*946379e7Schristos	* gettext.c: Update copyright.
2733*946379e7Schristos	* gettext.h: Likewise.
2734*946379e7Schristos	* hash-string.h: Likewise.
2735*946379e7Schristos
2736*946379e7Schristos	* finddomain.c: Remoave dead code.  Define strchr only if
2737*946379e7Schristos	!HAVE_STRCHR.
2738*946379e7Schristos
2739*946379e7Schristos	* explodename.c: Include <sys/types.h>.
2740*946379e7Schristos
2741*946379e7Schristos	* explodename.c: Reformat copyright text.
2742*946379e7Schristos	(_nl_explode_name): Fix typo.
2743*946379e7Schristos
2744*946379e7Schristos	* dcgettext.c: Define and use __set_errno.
2745*946379e7Schristos	(guess_category_value): Don't use setlocale if HAVE_LC_MESSAGES is
2746*946379e7Schristos	not defined.
2747*946379e7Schristos
2748*946379e7Schristos	* bindtextdom.c: Pretty printing.
2749*946379e7Schristos
2750*946379e7Schristos1997-05-01 02:25  Ulrich Drepper  <drepper@cygnus.com>
2751*946379e7Schristos
2752*946379e7Schristos	* dcgettext.c (guess_category_value): Don't depend on
2753*946379e7Schristos	HAVE_LC_MESSAGES.  We don't need the macro here.
2754*946379e7Schristos	Patch by Bruno Haible <haible@ilog.fr>.
2755*946379e7Schristos
2756*946379e7Schristos	* cat-compat.c (textdomain): DoN't refer to HAVE_SETLOCALE_NULL
2757*946379e7Schristos	macro.  Instead use HAVE_LOCALE_NULL and define it when using
2758*946379e7Schristos	glibc, as in dcgettext.c.
2759*946379e7Schristos	Patch by Bruno Haible <haible@ilog.fr>.
2760*946379e7Schristos
2761*946379e7Schristos	* Makefile.in (CPPFLAGS): New variable.  Reported by François
2762*946379e7Schristos	Pinard.
2763*946379e7Schristos
2764*946379e7SchristosMon Mar 10 06:51:17 1997  Ulrich Drepper  <drepper@cygnus.com>
2765*946379e7Schristos
2766*946379e7Schristos	* Makefile.in: Implement handling of libtool.
2767*946379e7Schristos
2768*946379e7Schristos	* gettextP.h: Change data structures for use of generic lowlevel
2769*946379e7Schristos	i18n file handling.
2770*946379e7Schristos
2771*946379e7SchristosWed Dec  4 20:21:18 1996  Ulrich Drepper  <drepper@cygnus.com>
2772*946379e7Schristos
2773*946379e7Schristos	* textdomain.c: Put parentheses around arguments of memcpy macro
2774*946379e7Schristos	definition.
2775*946379e7Schristos	* localealias.c: Likewise.
2776*946379e7Schristos	* l10nflist.c: Likewise.
2777*946379e7Schristos	* finddomain.c: Likewise.
2778*946379e7Schristos	* bindtextdom.c: Likewise.
2779*946379e7Schristos	Reported by Thomas Esken.
2780*946379e7Schristos
2781*946379e7SchristosMon Nov 25 22:57:51 1996  Ulrich Drepper  <drepper@cygnus.com>
2782*946379e7Schristos
2783*946379e7Schristos	* textdomain.c: Move definition of `memcpy` macro to right
2784*946379e7Schristos	position.
2785*946379e7Schristos
2786*946379e7SchristosFri Nov 22 04:01:58 1996  Ulrich Drepper  <drepper@cygnus.com>
2787*946379e7Schristos
2788*946379e7Schristos	* finddomain.c [!HAVE_STRING_H && !_LIBC]: Define memcpy using
2789*946379e7Schristos 	bcopy if not already defined.  Reported by Thomas Esken.
2790*946379e7Schristos	* bindtextdom.c: Likewise.
2791*946379e7Schristos	* l10nflist.c: Likewise.
2792*946379e7Schristos	* localealias.c: Likewise.
2793*946379e7Schristos	* textdomain.c: Likewise.
2794*946379e7Schristos
2795*946379e7SchristosTue Oct 29 11:10:27 1996  Ulrich Drepper  <drepper@cygnus.com>
2796*946379e7Schristos
2797*946379e7Schristos	* Makefile.in (libdir): Change to use exec_prefix instead of
2798*946379e7Schristos 	prefix.  Reported by Knut-HåvardAksnes <etokna@eto.ericsson.se>.
2799*946379e7Schristos
2800*946379e7SchristosSat Aug 31 03:07:09 1996  Ulrich Drepper  <drepper@cygnus.com>
2801*946379e7Schristos
2802*946379e7Schristos	* l10nflist.c (_nl_normalize_codeset): We convert to lower case,
2803*946379e7Schristos	so don't prepend uppercase `ISO' for only numeric arg.
2804*946379e7Schristos
2805*946379e7SchristosFri Jul 19 00:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
2806*946379e7Schristos
2807*946379e7Schristos	* l10nflist.c: Move inclusion of argz.h, ctype.h, stdlib.h after
2808*946379e7Schristos	definition of _GNU_SOURCE.  Patch by Roland McGrath.
2809*946379e7Schristos
2810*946379e7Schristos	* Makefile.in (uninstall): Fix another bug with `for' loop and
2811*946379e7Schristos	empty arguments.  Patch by Jim Meyering.  Correct name os
2812*946379e7Schristos	uninstalled files: no intl- prefix anymore.
2813*946379e7Schristos
2814*946379e7Schristos	* Makefile.in (install-data): Again work around shells which
2815*946379e7Schristos	cannot handle mpty for list.  Reported by Jim Meyering.
2816*946379e7Schristos
2817*946379e7SchristosSat Jul 13 18:11:35 1996  Ulrich Drepper  <drepper@cygnus.com>
2818*946379e7Schristos
2819*946379e7Schristos	* Makefile.in (install): Split goal.  Now depend on install-exec
2820*946379e7Schristos        and install-data.
2821*946379e7Schristos	(install-exec, install-data): New goals.  Created from former
2822*946379e7Schristos	install goal.
2823*946379e7Schristos	Reported by Karl Berry.
2824*946379e7Schristos
2825*946379e7SchristosSat Jun 22 04:58:14 1996  Ulrich Drepper  <drepper@cygnus.com>
2826*946379e7Schristos
2827*946379e7Schristos	* Makefile.in (MKINSTALLDIRS): New variable.  Path to
2828*946379e7Schristos        mkinstalldirs script.
2829*946379e7Schristos	(install): use MKINSTALLDIRS variable or if the script is not present
2830*946379e7Schristos	try to find it in the $top_scrdir).
2831*946379e7Schristos
2832*946379e7SchristosWed Jun 19 02:56:56 1996  Ulrich Drepper  <drepper@cygnus.com>
2833*946379e7Schristos
2834*946379e7Schristos	* l10nflist.c: Linux libc *partly* includes the argz_* functions.
2835*946379e7Schristos	Grr.  Work around by renaming the static version and use macros
2836*946379e7Schristos	for renaming.
2837*946379e7Schristos
2838*946379e7SchristosTue Jun 18 20:11:17 1996  Ulrich Drepper  <drepper@cygnus.com>
2839*946379e7Schristos
2840*946379e7Schristos	* l10nflist.c: Correct presence test macros of __argz_* functions.
2841*946379e7Schristos
2842*946379e7Schristos	* l10nflist.c: Include <argz.h> based on test of it instead when
2843*946379e7Schristos	__argz_* functions are available.
2844*946379e7Schristos	Reported by Andreas Schwab.
2845*946379e7Schristos
2846*946379e7SchristosThu Jun 13 15:17:44 1996  Ulrich Drepper  <drepper@cygnus.com>
2847*946379e7Schristos
2848*946379e7Schristos	* explodename.c, l10nflist.c: Define NULL for dumb systems.
2849*946379e7Schristos
2850*946379e7SchristosTue Jun 11 17:05:13 1996  Ulrich Drepper  <drepper@cygnus.com>
2851*946379e7Schristos
2852*946379e7Schristos	* intlh.inst.in, libgettext.h (dcgettext): Rename local variable
2853*946379e7Schristos	result to __result to prevent name clash.
2854*946379e7Schristos
2855*946379e7Schristos	* l10nflist.c, localealias.c, dcgettext.c: Define _GNU_SOURCE to
2856*946379e7Schristos        get prototype for stpcpy and strcasecmp.
2857*946379e7Schristos
2858*946379e7Schristos	* intlh.inst.in, libgettext.h: Move declaration of
2859*946379e7Schristos	`_nl_msg_cat_cntr' outside __extension__ block to prevent warning
2860*946379e7Schristos	from gcc's -Wnested-extern option.
2861*946379e7Schristos
2862*946379e7SchristosFri Jun  7 01:58:00 1996  Ulrich Drepper  <drepper@cygnus.com>
2863*946379e7Schristos
2864*946379e7Schristos	* Makefile.in (install): Remove comment.
2865*946379e7Schristos
2866*946379e7SchristosThu Jun  6 17:28:17 1996  Ulrich Drepper  <drepper@cygnus.com>
2867*946379e7Schristos
2868*946379e7Schristos	* Makefile.in (install): Work around for another Buglix stupidity.
2869*946379e7Schristos	Always use an `else' close for `if's.  Reported by Nelson Beebe.
2870*946379e7Schristos
2871*946379e7Schristos	* Makefile.in (intlh.inst): Correct typo in phony rule.
2872*946379e7Schristos	Reported by Nelson Beebe.
2873*946379e7Schristos
2874*946379e7SchristosThu Jun  6 01:49:52 1996  Ulrich Drepper  <drepper@cygnus.com>
2875*946379e7Schristos
2876*946379e7Schristos	* dcgettext.c (read_alias_file): Rename variable alloca_list to
2877*946379e7Schristos	block_list as the macro calls assume.
2878*946379e7Schristos	Patch by Eric Backus.
2879*946379e7Schristos
2880*946379e7Schristos	* localealias.c [!HAVE_ALLOCA]: Define alloca as macro using
2881*946379e7Schristos        malloc.
2882*946379e7Schristos	(read_alias_file): Rename varriabe alloca_list to block_list as the
2883*946379e7Schristos	macro calls assume.
2884*946379e7Schristos	Patch by Eric Backus.
2885*946379e7Schristos
2886*946379e7Schristos	* l10nflist.c: Correct conditional for <argz.h> inclusion.
2887*946379e7Schristos	Reported by Roland McGrath.
2888*946379e7Schristos
2889*946379e7Schristos	* Makefile.in (all): Depend on all-@USE_INCLUDED_LIBINTL@, not
2890*946379e7Schristos        all-@USE_NLS@.
2891*946379e7Schristos
2892*946379e7Schristos	* Makefile.in (install): intlh.inst comes from local dir, not
2893*946379e7Schristos        $(srcdir).
2894*946379e7Schristos
2895*946379e7Schristos	* Makefile.in (intlh.inst): Special handling of this goal.  If
2896*946379e7Schristos	used in gettext, this is really a rul to construct this file.  If
2897*946379e7Schristos	used in any other package it is defined as a .PHONY rule with
2898*946379e7Schristos	empty body.
2899*946379e7Schristos
2900*946379e7Schristos	* finddomain.c: Extract locale file information handling into
2901*946379e7Schristos	l10nfile.c.  Rename local stpcpy__ function to stpcpy.
2902*946379e7Schristos
2903*946379e7Schristos	* dcgettext.c (stpcpy): Add local definition.
2904*946379e7Schristos
2905*946379e7Schristos	* l10nflist.c: Solve some portability problems.  Patches partly by
2906*946379e7Schristos	Thomas Esken.  Add local definition of stpcpy.
2907*946379e7Schristos
2908*946379e7SchristosTue Jun  4 02:47:49 1996  Ulrich Drepper  <drepper@cygnus.com>
2909*946379e7Schristos
2910*946379e7Schristos	* intlh.inst.in: Don't depend including <locale.h> on
2911*946379e7Schristos	HAVE_LOCALE_H.  Instead configure must rewrite this fiile
2912*946379e7Schristos	depending on the result of the configure run.
2913*946379e7Schristos
2914*946379e7Schristos	* Makefile.in (install): libintl.inst is now called intlh.inst.
2915*946379e7Schristos	Add rules for updating intlh.inst from intlh.inst.in.
2916*946379e7Schristos
2917*946379e7Schristos	* libintl.inst: Renamed to intlh.inst.in.
2918*946379e7Schristos
2919*946379e7Schristos	* localealias.c, dcgettext.c [__GNUC__]: Define HAVE_ALLOCA to 1
2920*946379e7Schristos        because gcc has __buitlin_alloca.
2921*946379e7Schristos	Reported by Roland McGrath.
2922*946379e7Schristos
2923*946379e7SchristosMon Jun  3 00:32:16 1996  Ulrich Drepper  <drepper@cygnus.com>
2924*946379e7Schristos
2925*946379e7Schristos	* Makefile.in (installcheck): New goal to fulfill needs of
2926*946379e7Schristos        automake's distcheck.
2927*946379e7Schristos
2928*946379e7Schristos	* Makefile.in (install): Reorder commands so that VERSION is
2929*946379e7Schristos        found.
2930*946379e7Schristos
2931*946379e7Schristos	* Makefile.in (gettextsrcdir): Now use subdirectory intl/ in
2932*946379e7Schristos        @datadir@/gettext.
2933*946379e7Schristos	(COMSRCS): Add l10nfile.c.
2934*946379e7Schristos	(OBJECTS): Add l10nfile.o.
2935*946379e7Schristos	(DISTFILES): Rename to DISTFILE.normal.  Remove $(DISTFILES.common).
2936*946379e7Schristos	(DISTFILE.gettext): Remove $(DISTFILES.common).
2937*946379e7Schristos	(all-gettext): Remove goal.
2938*946379e7Schristos	(install): If $(PACKAGE) = gettext install, otherwose do nothing.  No
2939*946379e7Schristos	package but gettext itself should install libintl.h + headers.
2940*946379e7Schristos	(dist): Extend goal to work for gettext, too.
2941*946379e7Schristos	(dist-gettext): Remove goal.
2942*946379e7Schristos
2943*946379e7Schristos	* dcgettext.c [!HAVE_ALLOCA]: Define macro alloca by using malloc.
2944*946379e7Schristos
2945*946379e7SchristosSun Jun  2 17:33:06 1996  Ulrich Drepper  <drepper@cygnus.com>
2946*946379e7Schristos
2947*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Parameter is now comes from
2948*946379e7Schristos        find_l10nfile.
2949*946379e7Schristos
2950*946379e7SchristosSat Jun  1 02:23:03 1996  Ulrich Drepper  <drepper@cygnus.com>
2951*946379e7Schristos
2952*946379e7Schristos	* l10nflist.c (__argz_next): Add definition.
2953*946379e7Schristos
2954*946379e7Schristos	* dcgettext.c [!HAVE_ALLOCA]: Add code for handling missing alloca
2955*946379e7Schristos	code.  Use new l10nfile handling.
2956*946379e7Schristos
2957*946379e7Schristos	* localealias.c [!HAVE_ALLOCA]: Add code for handling missing
2958*946379e7Schristos        alloca code.
2959*946379e7Schristos
2960*946379e7Schristos	* l10nflist.c: Initial revision.
2961*946379e7Schristos
2962*946379e7SchristosTue Apr  2 18:51:18 1996  Ulrich Drepper  <drepper@myware>
2963*946379e7Schristos
2964*946379e7Schristos	* Makefile.in (all-gettext): New goal.  Same as all-yes.
2965*946379e7Schristos
2966*946379e7SchristosThu Mar 28 23:01:22 1996  Karl Eichwalder  <ke@ke.central.de>
2967*946379e7Schristos
2968*946379e7Schristos	* Makefile.in (gettextsrcdir): Define using @datadir@.
2969*946379e7Schristos
2970*946379e7SchristosTue Mar 26 12:39:14 1996  Ulrich Drepper  <drepper@myware>
2971*946379e7Schristos
2972*946379e7Schristos	* finddomain.c: Include <ctype.h>.  Reported by Roland McGrath.
2973*946379e7Schristos
2974*946379e7SchristosSat Mar 23 02:00:35 1996  Ulrich Drepper  <drepper@myware>
2975*946379e7Schristos
2976*946379e7Schristos	* finddomain.c (stpcpy): Rename to stpcpy__ to prevent clashing
2977*946379e7Schristos        with external declaration.
2978*946379e7Schristos
2979*946379e7SchristosSat Mar  2 00:47:09 1996  Ulrich Drepper  <drepper@myware>
2980*946379e7Schristos
2981*946379e7Schristos	* Makefile.in (all-no): Rename from all_no.
2982*946379e7Schristos
2983*946379e7SchristosSat Feb 17 00:25:59 1996  Ulrich Drepper  <drepper@myware>
2984*946379e7Schristos
2985*946379e7Schristos	* gettextP.h [loaded_domain]: Array `successor' must now contain up
2986*946379e7Schristos        to 63 elements (because of codeset name normalization).
2987*946379e7Schristos
2988*946379e7Schristos	* finddomain.c: Implement codeset name normalization.
2989*946379e7Schristos
2990*946379e7SchristosThu Feb 15 04:39:09 1996  Ulrich Drepper  <drepper@myware>
2991*946379e7Schristos
2992*946379e7Schristos	* Makefile.in (all): Define to `all-@USE_NLS@'.
2993*946379e7Schristos	(all-yes, all_no): New goals.  `all-no' is noop, `all-yes'
2994*946379e7Schristos	is former all.
2995*946379e7Schristos
2996*946379e7SchristosMon Jan 15 21:46:01 1996  Howard Gayle  <howard@hal.com>
2997*946379e7Schristos
2998*946379e7Schristos	* localealias.c (alias_compare): Increment string pointers in loop
2999*946379e7Schristos        of strcasecmp replacement.
3000*946379e7Schristos
3001*946379e7SchristosFri Dec 29 21:16:34 1995  Ulrich Drepper  <drepper@myware>
3002*946379e7Schristos
3003*946379e7Schristos	* Makefile.in (install-src): Who commented this goal out ? :-)
3004*946379e7Schristos
3005*946379e7SchristosFri Dec 29 15:08:16 1995  Ulrich Drepper  <drepper@myware>
3006*946379e7Schristos
3007*946379e7Schristos	* dcgettext.c (DCGETTEXT): Save `errno'.  Failing system calls
3008*946379e7Schristos	should not effect it because a missing catalog is no error.
3009*946379e7Schristos	Reported by Harald K<o:>nig <koenig@tat.physik.uni-tuebingen.de>.
3010*946379e7Schristos
3011*946379e7SchristosTue Dec 19 22:09:13 1995  Ulrich Drepper  <drepper@myware>
3012*946379e7Schristos
3013*946379e7Schristos	* Makefile.in (Makefile): Explicitly use $(SHELL) for running
3014*946379e7Schristos        shell scripts.
3015*946379e7Schristos
3016*946379e7SchristosFri Dec 15 17:34:59 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3017*946379e7Schristos
3018*946379e7Schristos	* Makefile.in (install-src): Only install library and header when
3019*946379e7Schristos	we use the own implementation.  Don't do it when using the
3020*946379e7Schristos	system's gettext or catgets functions.
3021*946379e7Schristos
3022*946379e7Schristos	* dcgettext.c (find_msg): Must not swap domain->hash_size here.
3023*946379e7Schristos
3024*946379e7SchristosSat Dec  9 16:24:37 1995  Ulrich Drepper  <drepper@myware>
3025*946379e7Schristos
3026*946379e7Schristos	* localealias.c, libintl.inst, libgettext.h, hash-string.h,
3027*946379e7Schristos	gettextP.h, finddomain.c, dcgettext.c, cat-compat.c:
3028*946379e7Schristos	Use PARAMS instead of __P.  Suggested by Roland McGrath.
3029*946379e7Schristos
3030*946379e7SchristosTue Dec  5 11:39:14 1995  Larry Schwimmer  <rosebud@cyclone.stanford.edu>
3031*946379e7Schristos
3032*946379e7Schristos	* libgettext.h: Use `#if !defined (_LIBINTL_H)' instead of `#if
3033*946379e7Schristos	!_LIBINTL_H' because Solaris defines _LIBINTL_H as empty.
3034*946379e7Schristos
3035*946379e7SchristosMon Dec  4 15:42:07 1995  Ulrich Drepper  <drepper@myware>
3036*946379e7Schristos
3037*946379e7Schristos	* Makefile.in (install-src):
3038*946379e7Schristos	Install libintl.inst instead of libintl.h.install.
3039*946379e7Schristos
3040*946379e7SchristosSat Dec  2 22:51:38 1995  Marcus Daniels  <marcus@sysc.pdx.edu>
3041*946379e7Schristos
3042*946379e7Schristos	* cat-compat.c (textdomain):
3043*946379e7Schristos	Reverse order in which files are tried you load.  First
3044*946379e7Schristos	try local file, when this failed absolute path.
3045*946379e7Schristos
3046*946379e7SchristosWed Nov 29 02:03:53 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
3047*946379e7Schristos
3048*946379e7Schristos	* cat-compat.c (bindtextdomain): Add missing { }.
3049*946379e7Schristos
3050*946379e7SchristosSun Nov 26 18:21:41 1995  Ulrich Drepper  <drepper@myware>
3051*946379e7Schristos
3052*946379e7Schristos	* libintl.inst: Add missing __P definition.  Reported by Nelson Beebe.
3053*946379e7Schristos
3054*946379e7Schristos	* Makefile.in:
3055*946379e7Schristos	Add dummy `all' and `dvi' goals.  Reported by Tom Tromey.
3056*946379e7Schristos
3057*946379e7SchristosSat Nov 25 16:12:01 1995  François Pinard  <pinard@iro.umontreal.ca>
3058*946379e7Schristos
3059*946379e7Schristos	* hash-string.h: Capitalize arguments of macros.
3060*946379e7Schristos
3061*946379e7SchristosSat Nov 25 12:01:36 1995  Ulrich Drepper  <drepper@myware>
3062*946379e7Schristos
3063*946379e7Schristos	* Makefile.in (DISTFILES): Prevent files names longer than 13
3064*946379e7Schristos	characters.  libintl.h.glibc->libintl.glibc,
3065*946379e7Schristos	libintl.h.install->libintl.inst.  Reported by Joshua R. Poulson.
3066*946379e7Schristos
3067*946379e7SchristosSat Nov 25 11:31:12 1995  Eric Backus  <ericb@lsid.hp.com>
3068*946379e7Schristos
3069*946379e7Schristos	* dcgettext.c: Fix bug in preprocessor conditionals.
3070*946379e7Schristos
3071*946379e7SchristosSat Nov 25 02:35:27 1995  Nelson H. F. Beebe  <beebe@math.utah.edu>
3072*946379e7Schristos
3073*946379e7Schristos	* libgettext.h: Solaris cc does not understand
3074*946379e7Schristos	 #if !SYMBOL1 && !SYMBOL2.  Sad	but true.
3075*946379e7Schristos
3076*946379e7SchristosThu Nov 23 16:22:14 1995  Ulrich Drepper  <drepper@myware>
3077*946379e7Schristos
3078*946379e7Schristos	* hash-string.h (hash_string):
3079*946379e7Schristos	Fix for machine with >32 bit `unsigned long's.
3080*946379e7Schristos
3081*946379e7Schristos	* dcgettext.c (DCGETTEXT):
3082*946379e7Schristos	Fix horrible bug in loop for alternative translation.
3083*946379e7Schristos
3084*946379e7SchristosThu Nov 23 01:45:29 1995  Ulrich Drepper  <drepper@myware>
3085*946379e7Schristos
3086*946379e7Schristos	* po2tbl.sed.in, linux-msg.sed, xopen-msg.sed:
3087*946379e7Schristos	Some further simplifications in message number generation.
3088*946379e7Schristos
3089*946379e7SchristosMon Nov 20 21:08:43 1995  Ulrich Drepper  <drepper@myware>
3090*946379e7Schristos
3091*946379e7Schristos	* libintl.h.glibc: Use __const instead of const in prototypes.
3092*946379e7Schristos
3093*946379e7Schristos	* Makefile.in (install-src):
3094*946379e7Schristos	Install libintl.h.install instead of libintl.h.  This
3095*946379e7Schristos	is a stripped-down version.  Suggested by Peter Miller.
3096*946379e7Schristos
3097*946379e7Schristos	* libintl.h.install, libintl.h.glibc: Initial revision.
3098*946379e7Schristos
3099*946379e7Schristos	* localealias.c (_nl_expand_alias, read_alias_file):
3100*946379e7Schristos	Protect prototypes in type casts by __P.
3101*946379e7Schristos
3102*946379e7SchristosTue Nov 14 16:43:58 1995  Ulrich Drepper  <drepper@myware>
3103*946379e7Schristos
3104*946379e7Schristos	* hash-string.h: Correct prototype for hash_string.
3105*946379e7Schristos
3106*946379e7SchristosSun Nov 12 12:42:30 1995  Ulrich Drepper  <drepper@myware>
3107*946379e7Schristos
3108*946379e7Schristos	* hash-string.h (hash_string): Add prototype.
3109*946379e7Schristos
3110*946379e7Schristos	* gettextP.h: Fix copyright.
3111*946379e7Schristos	(SWAP): Add prototype.
3112*946379e7Schristos
3113*946379e7SchristosWed Nov  8 22:56:33 1995  Ulrich Drepper  <drepper@myware>
3114*946379e7Schristos
3115*946379e7Schristos	* localealias.c (read_alias_file): Forgot sizeof.
3116*946379e7Schristos	Avoid calling *printf function.  This introduces a big overhead.
3117*946379e7Schristos	Patch by Roland McGrath.
3118*946379e7Schristos
3119*946379e7SchristosTue Nov  7 14:21:08 1995  Ulrich Drepper  <drepper@myware>
3120*946379e7Schristos
3121*946379e7Schristos	* finddomain.c, cat-compat.c: Wrong indentation in #if for stpcpy.
3122*946379e7Schristos
3123*946379e7Schristos	* finddomain.c (stpcpy):
3124*946379e7Schristos	Define substitution function local.  The macro was to flaky.
3125*946379e7Schristos
3126*946379e7Schristos	* cat-compat.c: Fix typo.
3127*946379e7Schristos
3128*946379e7Schristos	* xopen-msg.sed, linux-msg.sed:
3129*946379e7Schristos	While bringing message number to right place only accept digits.
3130*946379e7Schristos
3131*946379e7Schristos	* linux-msg.sed, xopen-msg.sed: Now that the counter does not have
3132*946379e7Schristos	leading 0s we don't need to remove them.  Reported by Marcus
3133*946379e7Schristos	Daniels.
3134*946379e7Schristos
3135*946379e7Schristos	* Makefile.in (../po/cat-id-tbl.o): Use $(top_srdir) in
3136*946379e7Schristos	dependency.  Reported by Marcus Daniels.
3137*946379e7Schristos
3138*946379e7Schristos	* cat-compat.c: (stpcpy) [!_LIBC && !HAVE_STPCPY]: Define replacement.
3139*946379e7Schristos	Generally cleanup using #if instead of #ifndef.
3140*946379e7Schristos
3141*946379e7Schristos	* Makefile.in: Correct typos in comment.  By François Pinard.
3142*946379e7Schristos
3143*946379e7SchristosMon Nov  6 00:27:02 1995  Ulrich Drepper  <drepper@myware>
3144*946379e7Schristos
3145*946379e7Schristos	* Makefile.in (install-src): Don't install libintl.h and libintl.a
3146*946379e7Schristos	if we use an available gettext implementation.
3147*946379e7Schristos
3148*946379e7SchristosSun Nov  5 22:02:08 1995  Ulrich Drepper  <drepper@myware>
3149*946379e7Schristos
3150*946379e7Schristos	* libgettext.h: Fix typo: HAVE_CATGETTS -> HAVE_CATGETS.  Reported
3151*946379e7Schristos	by François Pinard.
3152*946379e7Schristos
3153*946379e7Schristos	* libgettext.h: Use #if instead of #ifdef/#ifndef.
3154*946379e7Schristos
3155*946379e7Schristos	* finddomain.c:
3156*946379e7Schristos	Comments describing what has to be done should start with FIXME.
3157*946379e7Schristos
3158*946379e7SchristosSun Nov  5 19:38:01 1995  Ulrich Drepper  <drepper@myware>
3159*946379e7Schristos
3160*946379e7Schristos	* Makefile.in (DISTFILES): Split.  Use DISTFILES with normal meaning.
3161*946379e7Schristos	DISTFILES.common names the files common to both dist goals.
3162*946379e7Schristos	DISTFILES.gettext are the files only distributed in GNU gettext.
3163*946379e7Schristos
3164*946379e7SchristosSun Nov  5 17:32:54 1995  Ulrich Drepper  <drepper@myware>
3165*946379e7Schristos
3166*946379e7Schristos	* dcgettext.c (DCGETTEXT): Correct searching in derived locales.
3167*946379e7Schristos	This was necessary since a change in _nl_find_msg several weeks
3168*946379e7Schristos	ago.  I really don't know this is still not fixed.
3169*946379e7Schristos
3170*946379e7SchristosSun Nov  5 12:43:12 1995  Ulrich Drepper  <drepper@myware>
3171*946379e7Schristos
3172*946379e7Schristos	* loadmsgcat.c (_nl_load_domain): Test for FILENAME == NULL.  This
3173*946379e7Schristos	might mark a special condition.
3174*946379e7Schristos
3175*946379e7Schristos	* finddomain.c (make_entry_rec): Don't make illegal entry as decided.
3176*946379e7Schristos
3177*946379e7Schristos	* Makefile.in (dist): Suppress error message when ln failed.
3178*946379e7Schristos	Get files from $(srcdir) explicitly.
3179*946379e7Schristos
3180*946379e7Schristos	* libgettext.h (gettext_const): Rename to gettext_noop.
3181*946379e7Schristos
3182*946379e7SchristosFri Nov  3 07:36:50 1995  Ulrich Drepper  <drepper@myware>
3183*946379e7Schristos
3184*946379e7Schristos	* finddomain.c (make_entry_rec):
3185*946379e7Schristos	Protect against wrong locale names by testing mask.
3186*946379e7Schristos
3187*946379e7Schristos	* libgettext.h (gettext_const): Add macro definition.
3188*946379e7Schristos	Capitalize macro arguments.
3189*946379e7Schristos
3190*946379e7SchristosThu Nov  2 23:15:51 1995  Ulrich Drepper  <drepper@myware>
3191*946379e7Schristos
3192*946379e7Schristos	* finddomain.c (_nl_find_domain):
3193*946379e7Schristos	Test for pointer != NULL before accessing value.
3194*946379e7Schristos	Reported by Tom Tromey.
3195*946379e7Schristos
3196*946379e7Schristos	* gettext.c (NULL):
3197*946379e7Schristos	Define as (void*)0 instad of 0.  Reported by François Pinard.
3198*946379e7Schristos
3199*946379e7SchristosMon Oct 30 21:28:52 1995  Ulrich Drepper  <drepper@myware>
3200*946379e7Schristos
3201*946379e7Schristos	* po2tbl.sed.in: Serious typo bug fixed by Jim Meyering.
3202*946379e7Schristos
3203*946379e7SchristosSat Oct 28 23:20:47 1995  Ulrich Drepper  <drepper@myware>
3204*946379e7Schristos
3205*946379e7Schristos	* libgettext.h: Disable dcgettext optimization for Solaris 2.3.
3206*946379e7Schristos
3207*946379e7Schristos	* localealias.c (alias_compare):
3208*946379e7Schristos	Peter Miller reported that tolower in some systems is
3209*946379e7Schristos	even dumber than I thought.  Protect call by `isupper'.
3210*946379e7Schristos
3211*946379e7SchristosFri Oct 27 22:22:51 1995  Ulrich Drepper  <drepper@myware>
3212*946379e7Schristos
3213*946379e7Schristos	* Makefile.in (libdir, includedir): New variables.
3214*946379e7Schristos	(install-src): Install libintl.a and libintl.h in correct dirs.
3215*946379e7Schristos
3216*946379e7SchristosFri Oct 27 22:07:29 1995  Ulrich Drepper  <drepper@myware>
3217*946379e7Schristos
3218*946379e7Schristos	* Makefile.in (SOURCES): Fix typo: intrl.compat.c -> intl-compat.c.
3219*946379e7Schristos
3220*946379e7Schristos	* po2tbl.sed.in: Patch for buggy SEDs by Christian von Roques.
3221*946379e7Schristos
3222*946379e7Schristos	* localealias.c:
3223*946379e7Schristos	Fix typo and superflous test.  Reported by Christian von Roques.
3224*946379e7Schristos
3225*946379e7SchristosFri Oct  6 11:52:05 1995  Ulrich Drepper  <drepper@myware>
3226*946379e7Schristos
3227*946379e7Schristos	* finddomain.c (_nl_find_domain):
3228*946379e7Schristos	Correct some remainder from the pre-CEN syntax.  Now
3229*946379e7Schristos	we don't have a constant number of successors anymore.
3230*946379e7Schristos
3231*946379e7SchristosWed Sep 27 21:41:13 1995  Ulrich Drepper  <drepper@myware>
3232*946379e7Schristos
3233*946379e7Schristos	* Makefile.in (DISTFILES): Add libintl.h.glibc.
3234*946379e7Schristos
3235*946379e7Schristos	* Makefile.in (dist-libc): Add goal for packing sources for glibc.
3236*946379e7Schristos	(COMSRCS, COMHDRS): Splitted to separate sources shared with glibc.
3237*946379e7Schristos
3238*946379e7Schristos	* loadmsgcat.c: Forget to continue #if line.
3239*946379e7Schristos
3240*946379e7Schristos	* localealias.c:
3241*946379e7Schristos	[_LIBC]: Rename strcasecmp to __strcasecmp to keep ANSI C name
3242*946379e7Schristos	space clean.
3243*946379e7Schristos
3244*946379e7Schristos	* dcgettext.c, finddomain.c: Better comment to last change.
3245*946379e7Schristos
3246*946379e7Schristos	* loadmsgcat.c:
3247*946379e7Schristos	[_LIBC]: Rename fstat, open, close, read, mmap, and munmap to
3248*946379e7Schristos	__fstat, __open, __close, __read, __mmap, and __munmap resp
3249*946379e7Schristos	to keep ANSI C name space clean.
3250*946379e7Schristos
3251*946379e7Schristos	* finddomain.c:
3252*946379e7Schristos	[_LIBC]: Rename stpcpy to __stpcpy to keep ANSI C name space clean.
3253*946379e7Schristos
3254*946379e7Schristos	* dcgettext.c:
3255*946379e7Schristos	[_LIBC]: Rename getced and stpcpy to __getcwd and __stpcpy resp to
3256*946379e7Schristos	keep ANSI C name space clean.
3257*946379e7Schristos
3258*946379e7Schristos	* libgettext.h:
3259*946379e7Schristos	Include sys/types.h for those old SysV systems out there.
3260*946379e7Schristos	Reported by Francesco Potorti`.
3261*946379e7Schristos
3262*946379e7Schristos	* loadmsgcat.c (use_mmap): Define if compiled for glibc.
3263*946379e7Schristos
3264*946379e7Schristos	* bindtextdom.c: Include all those standard headers
3265*946379e7Schristos	unconditionally if _LIBC is defined.
3266*946379e7Schristos
3267*946379e7Schristos	* finddomain.c: Fix 2 times defiend -> defined.
3268*946379e7Schristos
3269*946379e7Schristos	* textdomain.c: Include libintl.h instead of libgettext.h when
3270*946379e7Schristos	compiling for glibc.  Include all those standard headers
3271*946379e7Schristos	unconditionally if _LIBC is defined.
3272*946379e7Schristos
3273*946379e7Schristos	* localealias.c, loadmsgcat.c: Prepare to be compiled in glibc.
3274*946379e7Schristos
3275*946379e7Schristos	* gettext.c:
3276*946379e7Schristos	Include libintl.h instead of libgettext.h when compiling for glibc.
3277*946379e7Schristos	Get NULL from stddef.h if we compile for glibc.
3278*946379e7Schristos
3279*946379e7Schristos	* finddomain.c: Include libintl.h instead of libgettext.h when
3280*946379e7Schristos	compiling for glibc.  Include all those standard headers
3281*946379e7Schristos	unconditionally if _LIBC is defined.
3282*946379e7Schristos
3283*946379e7Schristos	* dcgettext.c: Include all those standard headers unconditionally
3284*946379e7Schristos	if _LIBC is defined.
3285*946379e7Schristos
3286*946379e7Schristos	* dgettext.c: If compiled in glibc include libintl.h instead of
3287*946379e7Schristos	libgettext.h.
3288*946379e7Schristos	(locale.h): Don't rely on HAVE_LOCALE_H when compiling for glibc.
3289*946379e7Schristos
3290*946379e7Schristos	* dcgettext.c: If compiled in glibc include libintl.h instead of
3291*946379e7Schristos	libgettext.h.
3292*946379e7Schristos	(getcwd): Don't rely on HAVE_GETCWD when compiling for glibc.
3293*946379e7Schristos
3294*946379e7Schristos	* bindtextdom.c:
3295*946379e7Schristos	If compiled in glibc include libintl.h instead of libgettext.h.
3296*946379e7Schristos
3297*946379e7SchristosMon Sep 25 22:23:06 1995  Ulrich Drepper  <drepper@myware>
3298*946379e7Schristos
3299*946379e7Schristos	* localealias.c (_nl_expand_alias): Don't call bsearch if NMAP <= 0.
3300*946379e7Schristos	Reported by Marcus Daniels.
3301*946379e7Schristos
3302*946379e7Schristos	* cat-compat.c (bindtextdomain):
3303*946379e7Schristos	String used in putenv must not be recycled.
3304*946379e7Schristos	Reported by Marcus Daniels.
3305*946379e7Schristos
3306*946379e7Schristos	* libgettext.h (__USE_GNU_GETTEXT):
3307*946379e7Schristos	Additional symbol to signal that we use GNU gettext
3308*946379e7Schristos	library.
3309*946379e7Schristos
3310*946379e7Schristos	* cat-compat.c (bindtextdomain):
3311*946379e7Schristos	Fix bug with the strange stpcpy replacement.
3312*946379e7Schristos	Reported by Nelson Beebe.
3313*946379e7Schristos
3314*946379e7SchristosSat Sep 23 08:23:51 1995  Ulrich Drepper  <drepper@myware>
3315*946379e7Schristos
3316*946379e7Schristos	* cat-compat.c: Include <string.h> for stpcpy prototype.
3317*946379e7Schristos
3318*946379e7Schristos	* localealias.c (read_alias_file):
3319*946379e7Schristos	While expand strdup code temporary variable `cp' hided
3320*946379e7Schristos	higher level variable with same name.  Rename to `tp'.
3321*946379e7Schristos
3322*946379e7Schristos	* textdomain.c (textdomain):
3323*946379e7Schristos	Avoid warning by using temporary variable in strdup code.
3324*946379e7Schristos
3325*946379e7Schristos	* finddomain.c (_nl_find_domain): Remove unused variable `application'.
3326*946379e7Schristos
3327*946379e7SchristosThu Sep 21 15:51:44 1995  Ulrich Drepper  <drepper@myware>
3328*946379e7Schristos
3329*946379e7Schristos	* localealias.c (alias_compare):
3330*946379e7Schristos	Use strcasecmp() only if available.  Else use
3331*946379e7Schristos	implementation in place.
3332*946379e7Schristos
3333*946379e7Schristos	* intl-compat.c:
3334*946379e7Schristos	Wrapper functions now call *__ functions instead of __*.
3335*946379e7Schristos
3336*946379e7Schristos	* libgettext.h: Declare prototypes for *__ functions instead for __*.
3337*946379e7Schristos
3338*946379e7Schristos	* cat-compat.c, loadmsgcat.c:
3339*946379e7Schristos	Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
3340*946379e7Schristos	of the standard libc and so prevent libintl.a from being used
3341*946379e7Schristos	standalone.
3342*946379e7Schristos
3343*946379e7Schristos	* bindtextdom.c:
3344*946379e7Schristos	Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
3345*946379e7Schristos	of the standard libc and so prevent libintl.a from being used
3346*946379e7Schristos	standalone.
3347*946379e7Schristos	Rename to bindtextdomain__ if not used in GNU C Library.
3348*946379e7Schristos
3349*946379e7Schristos	* dgettext.c:
3350*946379e7Schristos	Rename function to dgettext__ if not used in GNU C Library.
3351*946379e7Schristos
3352*946379e7Schristos	* gettext.c:
3353*946379e7Schristos	Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
3354*946379e7Schristos	of the standard libc and so prevent libintl.a from being used
3355*946379e7Schristos	standalone.
3356*946379e7Schristos	Functions now called gettext__ if not used in GNU C Library.
3357*946379e7Schristos
3358*946379e7Schristos	* dcgettext.c, localealias.c, textdomain.c, finddomain.c:
3359*946379e7Schristos	Don't use xmalloc, xstrdup, and stpcpy.  These functions are not part
3360*946379e7Schristos	of the standard libc and so prevent libintl.a from being used
3361*946379e7Schristos	standalone.
3362*946379e7Schristos
3363*946379e7SchristosSun Sep 17 23:14:49 1995  Ulrich Drepper  <drepper@myware>
3364*946379e7Schristos
3365*946379e7Schristos	* finddomain.c: Correct some bugs in handling of CEN standard
3366*946379e7Schristos 	locale definitions.
3367*946379e7Schristos
3368*946379e7SchristosThu Sep  7 01:49:28 1995  Ulrich Drepper  <drepper@myware>
3369*946379e7Schristos
3370*946379e7Schristos	* finddomain.c: Implement CEN syntax.
3371*946379e7Schristos
3372*946379e7Schristos	* gettextP.h (loaded_domain): Extend number of successors to 31.
3373*946379e7Schristos
3374*946379e7SchristosSat Aug 19 19:25:29 1995  Ulrich Drepper  <drepper@myware>
3375*946379e7Schristos
3376*946379e7Schristos	* Makefile.in (aliaspath): Remove path to X11 locale dir.
3377*946379e7Schristos
3378*946379e7Schristos	* Makefile.in: Make install-src depend on install.  This helps
3379*946379e7Schristos 	gettext to install the sources and other packages can use the
3380*946379e7Schristos 	install goal.
3381*946379e7Schristos
3382*946379e7SchristosSat Aug 19 15:19:33 1995  Ulrich Drepper  <drepper@myware>
3383*946379e7Schristos
3384*946379e7Schristos	* Makefile.in (uninstall): Remove stuff installed by install-src.
3385*946379e7Schristos
3386*946379e7SchristosTue Aug 15 13:13:53 1995  Ulrich Drepper  <drepper@myware>
3387*946379e7Schristos
3388*946379e7Schristos	* VERSION.in: Initial revision.
3389*946379e7Schristos
3390*946379e7Schristos	* Makefile.in (DISTFILES):
3391*946379e7Schristos	Add VERSION file.  This is not necessary for gettext, but
3392*946379e7Schristos	for other packages using this library.
3393*946379e7Schristos
3394*946379e7SchristosTue Aug 15 06:16:44 1995  Ulrich Drepper  <drepper@myware>
3395*946379e7Schristos
3396*946379e7Schristos	* gettextP.h (_nl_find_domain):
3397*946379e7Schristos	New prototype after changing search strategy.
3398*946379e7Schristos
3399*946379e7Schristos	* finddomain.c (_nl_find_domain):
3400*946379e7Schristos	We now try only to find a specified catalog.  Fall back to other
3401*946379e7Schristos	catalogs listed in the locale list is now done in __dcgettext.
3402*946379e7Schristos
3403*946379e7Schristos	* dcgettext.c (__dcgettext):
3404*946379e7Schristos	Now we provide message fall back even to different languages.
3405*946379e7Schristos	I.e. if a message is not available in one language all the other
3406*946379e7Schristos 	in the locale list a tried.  Formerly fall back was only possible
3407*946379e7Schristos 	within one language.  Implemented by moving one loop from
3408*946379e7Schristos 	_nl_find_domain to here.
3409*946379e7Schristos
3410*946379e7SchristosMon Aug 14 23:45:50 1995  Ulrich Drepper  <drepper@myware>
3411*946379e7Schristos
3412*946379e7Schristos	* Makefile.in (gettextsrcdir):
3413*946379e7Schristos	Directory where source of GNU gettext library are made
3414*946379e7Schristos	available.
3415*946379e7Schristos	(INSTALL, INSTALL_DATA): Programs used for installing sources.
3416*946379e7Schristos	(gettext-src): New.  Rule to install GNU gettext sources for use in
3417*946379e7Schristos	gettextize shell script.
3418*946379e7Schristos
3419*946379e7SchristosSun Aug 13 14:40:48 1995  Ulrich Drepper  <drepper@myware>
3420*946379e7Schristos
3421*946379e7Schristos	* loadmsgcat.c (_nl_load_domain):
3422*946379e7Schristos	Use mmap for loading only when munmap function is
3423*946379e7Schristos	also available.
3424*946379e7Schristos
3425*946379e7Schristos	* Makefile.in (install): Depend on `all' goal.
3426*946379e7Schristos
3427*946379e7SchristosWed Aug  9 11:04:33 1995  Ulrich Drepper  <drepper@myware>
3428*946379e7Schristos
3429*946379e7Schristos	* localealias.c (read_alias_file):
3430*946379e7Schristos	Do not overwrite '\n' when terminating alias value string.
3431*946379e7Schristos
3432*946379e7Schristos	* localealias.c (read_alias_file):
3433*946379e7Schristos	Handle long lines.  Ignore the rest not fitting in
3434*946379e7Schristos	the buffer after the initial `fgets' call.
3435*946379e7Schristos
3436*946379e7SchristosWed Aug  9 00:54:29 1995  Ulrich Drepper  <drepper@myware>
3437*946379e7Schristos
3438*946379e7Schristos	* gettextP.h (_nl_load_domain):
3439*946379e7Schristos	Add prototype, replacing prototype for _nl_load_msg_cat.
3440*946379e7Schristos
3441*946379e7Schristos	* finddomain.c (_nl_find_domain):
3442*946379e7Schristos	Remove unneeded variable filename and filename_len.
3443*946379e7Schristos	(expand_alias): Remove prototype because functions does not
3444*946379e7Schristos 	exist anymore.
3445*946379e7Schristos
3446*946379e7Schristos	* localealias.c (read_alias_file):
3447*946379e7Schristos	Change type of fname_len parameter to int.
3448*946379e7Schristos	(xmalloc): Add prototype.
3449*946379e7Schristos
3450*946379e7Schristos	* loadmsgcat.c: Better prototypes for xmalloc.
3451*946379e7Schristos
3452*946379e7SchristosTue Aug  8 22:30:39 1995  Ulrich Drepper  <drepper@myware>
3453*946379e7Schristos
3454*946379e7Schristos	* finddomain.c (_nl_find_domain):
3455*946379e7Schristos	Allow alias name to be constructed from the four components.
3456*946379e7Schristos
3457*946379e7Schristos	* Makefile.in (aliaspath): New variable.  Set to preliminary value.
3458*946379e7Schristos	(SOURCES): Add localealias.c.
3459*946379e7Schristos	(OBJECTS): Add localealias.o.
3460*946379e7Schristos
3461*946379e7Schristos	* gettextP.h: Add prototype for _nl_expand_alias.
3462*946379e7Schristos
3463*946379e7Schristos	* finddomain.c: Aliasing handled in intl/localealias.c.
3464*946379e7Schristos
3465*946379e7Schristos	* localealias.c: Aliasing for locale names.
3466*946379e7Schristos
3467*946379e7Schristos	* bindtextdom.c: Better prototypes for xmalloc and xstrdup.
3468*946379e7Schristos
3469*946379e7SchristosMon Aug  7 23:47:42 1995  Ulrich Drepper  <drepper@myware>
3470*946379e7Schristos
3471*946379e7Schristos	* Makefile.in (DISTFILES): gettext.perl is now found in misc/.
3472*946379e7Schristos
3473*946379e7Schristos	* cat-compat.c (bindtextdomain):
3474*946379e7Schristos	Correct implementation.  dirname parameter was not used.
3475*946379e7Schristos	Reported by Marcus Daniels.
3476*946379e7Schristos
3477*946379e7Schristos	* gettextP.h (loaded_domain):
3478*946379e7Schristos	New fields `successor' and `decided' for oo, lazy
3479*946379e7Schristos	message handling implementation.
3480*946379e7Schristos
3481*946379e7Schristos	* dcgettext.c:
3482*946379e7Schristos	Adopt for oo, lazy message handliing.
3483*946379e7Schristos  	Now we can inherit translations from less specific locales.
3484*946379e7Schristos	(find_msg): New function.
3485*946379e7Schristos
3486*946379e7Schristos	* loadmsgcat.c, finddomain.c:
3487*946379e7Schristos	Complete rewrite.  Implement oo, lazy message handling :-).
3488*946379e7Schristos  	We now have an additional environment variable `LANGUAGE' with
3489*946379e7Schristos 	a higher priority than LC_ALL for the LC_MESSAGE locale.
3490*946379e7Schristos  	Here we can set a colon separated list of specifications each
3491*946379e7Schristos 	of the form `language[_territory[.codeset]][@modifier]'.
3492*946379e7Schristos
3493*946379e7SchristosSat Aug  5 09:55:42 1995  Ulrich Drepper  <drepper@myware>
3494*946379e7Schristos
3495*946379e7Schristos	* finddomain.c (unistd.h):
3496*946379e7Schristos	Include to get _PC_PATH_MAX defined on system having it.
3497*946379e7Schristos
3498*946379e7SchristosFri Aug  4 22:42:00 1995  Ulrich Drepper  <drepper@myware>
3499*946379e7Schristos
3500*946379e7Schristos	* finddomain.c (stpcpy): Include prototype.
3501*946379e7Schristos
3502*946379e7Schristos	* Makefile.in (dist): Remove `copying instead' message.
3503*946379e7Schristos
3504*946379e7SchristosWed Aug  2 18:52:03 1995  Ulrich Drepper  <drepper@myware>
3505*946379e7Schristos
3506*946379e7Schristos	* Makefile.in (ID, TAGS): Do not use $^.
3507*946379e7Schristos
3508*946379e7SchristosTue Aug  1 20:07:11 1995  Ulrich Drepper  <drepper@myware>
3509*946379e7Schristos
3510*946379e7Schristos	* Makefile.in (TAGS, ID): Use $^ as command argument.
3511*946379e7Schristos	(TAGS): Give etags -o option t write to current directory,
3512*946379e7Schristos 	not $(srcdir).
3513*946379e7Schristos	(ID): Use $(srcdir) instead os $(top_srcdir)/src.
3514*946379e7Schristos	(distclean): Remove ID.
3515*946379e7Schristos
3516*946379e7SchristosSun Jul 30 11:51:46 1995  Ulrich Drepper  <drepper@myware>
3517*946379e7Schristos
3518*946379e7Schristos	* Makefile.in (gnulocaledir):
3519*946379e7Schristos	New variable, always using share/ for data directory.
3520*946379e7Schristos	(DEFS): Add GNULOCALEDIR, used in finddomain.c.
3521*946379e7Schristos
3522*946379e7Schristos	* finddomain.c (_nl_default_dirname):
3523*946379e7Schristos	Set to GNULOCALEDIR, because it always has to point
3524*946379e7Schristos	to the directory where GNU gettext Library writes it to.
3525*946379e7Schristos
3526*946379e7Schristos	* intl-compat.c (textdomain, bindtextdomain):
3527*946379e7Schristos	Undefine macros before function definition.
3528*946379e7Schristos
3529*946379e7SchristosSat Jul 22 01:10:02 1995  Ulrich Drepper  <drepper@myware>
3530*946379e7Schristos
3531*946379e7Schristos	* libgettext.h (_LIBINTL_H):
3532*946379e7Schristos	Protect definition in case where this file is included as
3533*946379e7Schristos	libgettext.h on Solaris machines.  Add comment about this.
3534*946379e7Schristos
3535*946379e7SchristosWed Jul 19 02:36:42 1995  Ulrich Drepper  <drepper@myware>
3536*946379e7Schristos
3537*946379e7Schristos	* intl-compat.c (textdomain): Correct typo.
3538*946379e7Schristos
3539*946379e7SchristosWed Jul 19 01:51:35 1995  Ulrich Drepper  <drepper@myware>
3540*946379e7Schristos
3541*946379e7Schristos	* dcgettext.c (dcgettext): Function now called __dcgettext.
3542*946379e7Schristos
3543*946379e7Schristos	* dgettext.c (dgettext): Now called __dgettext and calls
3544*946379e7Schristos 	__dcgettext.
3545*946379e7Schristos
3546*946379e7Schristos	* gettext.c (gettext):
3547*946379e7Schristos	Function now called __gettext and calls __dgettext.
3548*946379e7Schristos
3549*946379e7Schristos	* textdomain.c (textdomain): Function now called __textdomain.
3550*946379e7Schristos
3551*946379e7Schristos	* bindtextdom.c (bindtextdomain): Function now called
3552*946379e7Schristos 	__bindtextdomain.
3553*946379e7Schristos
3554*946379e7Schristos	* intl-compat.c: Initial revision.
3555*946379e7Schristos
3556*946379e7Schristos	* Makefile.in (SOURCES): Add intl-compat.c.
3557*946379e7Schristos	(OBJECTS): We always compile the GNU gettext library functions.
3558*946379e7Schristos  	OBJECTS contains all objects but cat-compat.o, ../po/cat-if-tbl.o,
3559*946379e7Schristos 	and intl-compat.o.
3560*946379e7Schristos  	(GETTOBJS): Contains now only intl-compat.o.
3561*946379e7Schristos
3562*946379e7Schristos	* libgettext.h:
3563*946379e7Schristos	Re-include protection matches dualistic character of libgettext.h.
3564*946379e7Schristos	For all functions in GNU gettext library define __ counter part.
3565*946379e7Schristos
3566*946379e7Schristos	* finddomain.c (strchr): Define as index if not found in C library.
3567*946379e7Schristos	(_nl_find_domain): For relative paths paste / in between.
3568*946379e7Schristos
3569*946379e7SchristosTue Jul 18 16:37:45 1995  Ulrich Drepper  <drepper@myware>
3570*946379e7Schristos
3571*946379e7Schristos	* loadmsgcat.c, finddomain.c: Add inclusion of sys/types.h.
3572*946379e7Schristos
3573*946379e7Schristos	* xopen-msg.sed: Fix bug with `msgstr ""' lines.
3574*946379e7Schristos	A little bit better comments.
3575*946379e7Schristos
3576*946379e7SchristosTue Jul 18 01:18:27 1995  Ulrich Drepper  <drepper@myware>
3577*946379e7Schristos
3578*946379e7Schristos	* Makefile.in:
3579*946379e7Schristos	po-mode.el, makelinks, combine-sh are now found in ../misc.
3580*946379e7Schristos
3581*946379e7Schristos	* po-mode.el, makelinks, combine-sh, elisp-comp:
3582*946379e7Schristos	Moved to ../misc/.
3583*946379e7Schristos
3584*946379e7Schristos	* libgettext.h, gettextP.h, gettext.h: Uniform test for __STDC__.
3585*946379e7Schristos
3586*946379e7SchristosSun Jul 16 22:33:02 1995  Ulrich Drepper  <drepper@myware>
3587*946379e7Schristos
3588*946379e7Schristos	* Makefile.in (INSTALL, INSTALL_DATA): New variables.
3589*946379e7Schristos	(install-data, uninstall): Install/uninstall .elc file.
3590*946379e7Schristos
3591*946379e7Schristos	* po-mode.el (Installation comment):
3592*946379e7Schristos	Add .pox as possible extension of .po files.
3593*946379e7Schristos
3594*946379e7SchristosSun Jul 16 13:23:27 1995  Ulrich Drepper  <drepper@myware>
3595*946379e7Schristos
3596*946379e7Schristos	* elisp-comp: Complete new version by François: This does not
3597*946379e7Schristos 	fail when not compiling in the source directory.
3598*946379e7Schristos
3599*946379e7SchristosSun Jul 16 00:12:17 1995  Ulrich Drepper  <drepper@myware>
3600*946379e7Schristos
3601*946379e7Schristos	* Makefile.in (../po/cat-id-tbl.o):
3602*946379e7Schristos	Use $(MAKE) instead of make for recursive make.
3603*946379e7Schristos
3604*946379e7Schristos	* Makefile.in (.el.elc): Use $(SHELL) instead of /bin/sh.
3605*946379e7Schristos	(install-exec): Add missing dummy goal.
3606*946379e7Schristos	(install-data, uninstall): @ in multi-line shell command at
3607*946379e7Schristos 	beginning, not in front of echo.  Reported by Eric Backus.
3608*946379e7Schristos
3609*946379e7SchristosSat Jul 15 00:21:28 1995  Ulrich Drepper  <drepper@myware>
3610*946379e7Schristos
3611*946379e7Schristos	* Makefile.in (DISTFILES):
3612*946379e7Schristos	Rename libgettext.perl to gettext.perl to fit in 14 chars
3613*946379e7Schristos	file systems.
3614*946379e7Schristos
3615*946379e7Schristos	* gettext.perl:
3616*946379e7Schristos 	Rename to gettext.perl to fit in 14 chars file systems.
3617*946379e7Schristos
3618*946379e7SchristosThu Jul 13 23:17:20 1995  Ulrich Drepper  <drepper@myware>
3619*946379e7Schristos
3620*946379e7Schristos	* cat-compat.c: If !STDC_HEADERS try to include malloc.h.
3621*946379e7Schristos
3622*946379e7SchristosThu Jul 13 20:55:02 1995  Ulrich Drepper  <drepper@myware>
3623*946379e7Schristos
3624*946379e7Schristos	* po2tbl.sed.in: Pretty printing.
3625*946379e7Schristos
3626*946379e7Schristos	* linux-msg.sed, xopen-msg.sed:
3627*946379e7Schristos	Correct bugs with handling substitute flags in branches.
3628*946379e7Schristos
3629*946379e7Schristos	* hash-string.h (hash_string):
3630*946379e7Schristos	Old K&R compilers don't under stand `unsigned char'.
3631*946379e7Schristos
3632*946379e7Schristos	* gettext.h (nls_uint32):
3633*946379e7Schristos	Some old K&R compilers (eg HP) don't understand `unsigned int'.
3634*946379e7Schristos
3635*946379e7Schristos	* cat-compat.c (msg_to_cat_id): De-ANSI-fy prototypes.
3636*946379e7Schristos
3637*946379e7SchristosThu Jul 13 01:34:33 1995  Ulrich Drepper  <drepper@myware>
3638*946379e7Schristos
3639*946379e7Schristos	* Makefile.in (ELCFILES): New variable.
3640*946379e7Schristos	(DISTFILES): Add elisp-comp.
3641*946379e7Schristos	Add implicit rule for .el -> .elc compilation.
3642*946379e7Schristos	(install-data): install $ELCFILES
3643*946379e7Schristos	(clean): renamed po-to-tbl and po-to-msg to po2tbl and po2msg resp.
3644*946379e7Schristos
3645*946379e7Schristos	* elisp-comp: Initial revision
3646*946379e7Schristos
3647*946379e7SchristosWed Jul 12 16:14:52 1995  Ulrich Drepper  <drepper@myware>
3648*946379e7Schristos
3649*946379e7Schristos	* Makefile.in:
3650*946379e7Schristos	cat-id-tbl.c is now found in po/.  This enables us to use an identical
3651*946379e7Schristos	intl/ directory in all packages.
3652*946379e7Schristos
3653*946379e7Schristos	* dcgettext.c (dcgettext): hashing does not work for table size <= 2.
3654*946379e7Schristos
3655*946379e7Schristos	* textdomain.c: fix typo (#if def -> #if defined)
3656*946379e7Schristos
3657*946379e7SchristosTue Jul 11 18:44:43 1995  Ulrich Drepper  <drepper@myware>
3658*946379e7Schristos
3659*946379e7Schristos	* Makefile.in (stamp-cat-id): use top_srcdir to address source files
3660*946379e7Schristos	(DISTFILES,distclean): move tupdate.perl to src/
3661*946379e7Schristos
3662*946379e7Schristos	* po-to-tbl.sed.in:
3663*946379e7Schristos	add additional jump to clear change flag to recognize multiline strings
3664*946379e7Schristos
3665*946379e7SchristosTue Jul 11 01:32:50 1995  Ulrich Drepper  <drepper@myware>
3666*946379e7Schristos
3667*946379e7Schristos	* textdomain.c: Protect inclusion of stdlib.h and string.h.
3668*946379e7Schristos
3669*946379e7Schristos	* loadmsgcat.c: Protect inclusion of stdlib.h.
3670*946379e7Schristos
3671*946379e7Schristos	* libgettext.h: Protect inclusion of locale.h.
3672*946379e7Schristos	Allow use in C++ programs.
3673*946379e7Schristos	Define NULL is not happened already.
3674*946379e7Schristos
3675*946379e7Schristos	* Makefile.in (DISTFILES): ship po-to-tbl.sed.in instead of
3676*946379e7Schristos	po-to-tbl.sed.
3677*946379e7Schristos	(distclean): remove po-to-tbl.sed and tupdate.perl.
3678*946379e7Schristos
3679*946379e7Schristos	* tupdate.perl.in: Substitute Perl path even in exec line.
3680*946379e7Schristos	Don't include entries without translation from old .po file.
3681*946379e7Schristos
3682*946379e7SchristosTue Jul  4 00:41:51 1995  Ulrich Drepper  <drepper@myware>
3683*946379e7Schristos
3684*946379e7Schristos	* tupdate.perl.in: use "Updated: " in msgid "".
3685*946379e7Schristos
3686*946379e7Schristos	* cat-compat.c: Fix typo (LOCALDIR -> LOCALEDIR).
3687*946379e7Schristos 	Define getenv if !__STDC__.
3688*946379e7Schristos
3689*946379e7Schristos	* bindtextdom.c: Protect stdlib.h and string.h inclusion.
3690*946379e7Schristos 	Define free if !__STDC__.
3691*946379e7Schristos
3692*946379e7Schristos	* finddomain.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
3693*946379e7Schristos 	Define free if !__STDC__.
3694*946379e7Schristos
3695*946379e7Schristos	* cat-compat.c: Change DEF_MSG_DOM_DIR to LOCALEDIR.
3696*946379e7Schristos
3697*946379e7SchristosMon Jul  3 23:56:30 1995  Ulrich Drepper  <drepper@myware>
3698*946379e7Schristos
3699*946379e7Schristos	* Makefile.in: Use LOCALEDIR instead of DEF_MSG_DOM_DIR.
3700*946379e7Schristos	Remove unneeded $(srcdir) from Makefile.in dependency.
3701*946379e7Schristos
3702*946379e7Schristos	* makelinks: Add copyright and short description.
3703*946379e7Schristos
3704*946379e7Schristos	* po-mode.el: Last version for 0.7.
3705*946379e7Schristos
3706*946379e7Schristos	* tupdate.perl.in: Fix die message.
3707*946379e7Schristos
3708*946379e7Schristos	* dcgettext.c: Protect include of string.h.
3709*946379e7Schristos
3710*946379e7Schristos	* gettext.c: Protect include of stdlib.h and further tries to get NULL.
3711*946379e7Schristos
3712*946379e7Schristos	* finddomain.c: Some corrections in includes.
3713*946379e7Schristos
3714*946379e7Schristos	* Makefile.in (INCLUDES): Prune list correct path to Makefile.in.
3715*946379e7Schristos
3716*946379e7Schristos	* po-to-tbl.sed: Adopt for new .po file format.
3717*946379e7Schristos
3718*946379e7Schristos	* linux-msg.sed, xopen-msg.sed: Adopt for new .po file format.
3719*946379e7Schristos
3720*946379e7SchristosSun Jul  2 23:55:03 1995  Ulrich Drepper  <drepper@myware>
3721*946379e7Schristos
3722*946379e7Schristos	* tupdate.perl.in: Complete rewrite for new .po file format.
3723*946379e7Schristos
3724*946379e7SchristosSun Jul  2 02:06:50 1995  Ulrich Drepper  <drepper@myware>
3725*946379e7Schristos
3726*946379e7Schristos	* First official release.  This directory contains all the code
3727*946379e7Schristos	needed to internationalize own packages.  It provides functions
3728*946379e7Schristos	which allow to use the X/Open catgets function with an interface
3729*946379e7Schristos	like the Uniforum gettext function.  For system which does not
3730*946379e7Schristos	have neither of those a complete implementation is provided.
3731