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