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