📄 changelog
字号:
* lib/config.h.in (HAVE_LOCALE_H, HAVE_SETLOCALE): Remove.2002-04-28 gettextize <bug-gnu-gettext@gnu.org> * configure.in (AC_OUTPUT): Add po/Makefile.in.2002-04-28 Bruno Haible <bruno@clisp.org> * m4/eilseq.m4: Renamed from autoconf/eilseq.m4. * m4/mbstate_t.m4: Renamed from autoconf/mbstate_t.m4. * m4/general.m4: New file, from GNU clisp. * m4/proto.m4: New file, from GNU clisp. * m4/ranlib.m4: New file, from GNU clisp. * m4/install.m4: New file, from GNU clisp. * m4/cp.m4: New file, from GNU clisp. * m4/ln.m4: New file, from GNU clisp. * m4/endian.m4: New file, from GNU clisp. * m4/iconv.m4: New file, from GNU gettext 0.11.2. * m4/lib-ld.m4: New file, from GNU gettext 0.11.2. * m4/lib-link.m4: New file, from GNU gettext 0.11.2. * m4/lib-prefix.m4: New file, from GNU gettext 0.11.2. * autoconf/config.rpath: New file, from GNU gettext 0.11.2. * m4/libtool.m4: New file, based on libtool-1.4.2. * Makefile.devel (ACLOCAL): Remove variable. (ACSELECT): Remove variable. (OTHERMACROS): Remove variable. (m4/*.m4): New rules. (autoconf/aclocal.m4): Construct using aclocal instead of acselect. * configure.in: Invoke AM_ICONV instead of CL_ICONV.2002-04-06 Bruno Haible <bruno@clisp.org> Upgrade to Unicode 3.2. * tools/cjk_tab_to_h.c (output_title): Bump copyright year. (compact_large_charset2uni): Add an argument. Determine optimal shift. Copy modified enc->charset2uni table. (output_charset2uni): Deal with shift other than 8. Copy encoding, so as to not disturb subsequent output_uni2charset[_sparse] call. * lib/hkscs.h: Regenerated. * tests/BIG5-HKSCS.TXT: Update. * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Update.2002-04-06 Bruno Haible <bruno@clisp.org> Upgrade to Unicode 3.2. * tools/Makefile (cns11643_1.h, cns11643_2.h, cns11643_3.h, cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h, cns11643_7.h, cns11643_15.h, cns11643_inv.h): Use CNS11643-Unicode32.TXT instead of CNS11643-Unicode31.TXT. * lib/cns11643_3.h: Regenerated. * lib/cns11643_4a.h: Regenerated. * lib/cns11643_4b.h: Regenerated. * lib/cns11643_5.h: Regenerated. * lib/cns11643_6.h: Regenerated. * lib/cns11643_7.h: Regenerated. * lib/cns11643_15.h: Regenerated. * lib/cns11643_inv.h: Regenerated. * tests/EUC-TW.TXT: Update.2002-01-17 Bruno Haible <bruno@clisp.org> * lib/tcvn.h (tcvn_2uni_1): Make it smaller. (tcvn_mbtowc): Small optimization.2002-01-13 Bruno Haible <bruno@clisp.org> New options -l, -c, -s. * src/iconv.c (discard_unconvertible, silent): New variables. (usage): Document options -l, -c, -s. (print_one): New function. (convert): If silent is true, don't print error messages about the conversion to stderr. If discard_unconvertible is true, set the iconv descriptor to DISCARD_ILSEQ the first time, but make sure to return the same return code as when discard_unconvertible is false. (main): Accept options -l, -c, -s. Implement option -l. * man/iconv.1: Document options -l, -c, -s.2002-01-13 Bruno Haible <bruno@clisp.org> Support for "iconv -c". * include/iconv.h.in (ICONV_GET_DISCARD_ILSEQ): New macro. (ICONV_SET_DISCARD_ILSEQ): Likewise. * lib/converters.h (struct conv_struct): New field discard_ilseq. * lib/iconv.c (iconv_open): Set discard_ilseq to true if tocode has an "//IGNORE" suffix, and to false otherwise. (iconvctl): Implement ICONV_GET_DISCARD_ILSEQ, ICONV_SET_DISCARD_ILSEQ. * lib/loop_unicode.h (unicode_loop_convert): If discard_ilseq is true, skip one input character instead of returning EILSEQ. (unicode_loop_reset): Likewise. * lib/loop_wchar.h (wchar_from_loop_convert): Likewise. (wchar_to_loop_convert): Likewise.2002-01-13 Bruno Haible <bruno@clisp.org> Support for "iconv -l". * include/iconv.h.in (iconvlist): New declaration. * Makefile.devel (lib/aliases.h): Change gperf options. * lib/iconv.c (compare_by_index, compare_by_name, iconvlist): New functions.2002-01-06 Bruno Haible <bruno@clisp.org> * lib/loop_unicode.h (unicode_transliterate): If the transliteration fails due to limited output encoding, return RET_ILUNI, not RET_TOOSMALL. Reported by Nelson H. F. Beebe <beebe@math.utah.edu>. * tests/check-translitfailure: New file. * tests/TranslitFail1.ISO-8859-1: New file. * tests/Makefile.in (check): Call check-translitfailure.2001-12-15 Bruno Haible <bruno@clisp.org> * lib/euc_jp.h (euc_jp_wctomb): Add irreversible mappings for Shift_JIS characters 0x5C and 0x7E. * tests/EUC-JP.IRREVERSIBLE.TXT: New file.2001-12-05 Bruno Haible <bruno@clisp.org> * lib/iconv.c (iconv_open): Recognize the empty encoding name. Avoid endless loop if locale_charset() returns the empty string. * README, man/iconv_open.3: Add the empty encoding name.2001-11-10 Bruno Haible <haible@clisp.cons.org> * lib/Makefile.in (libiconv_plug_linux.so): Allow building it with a non-gcc compiler.2001-10-23 Bruno Haible <haible@clisp.cons.org> * tools/Makefile (cp1125.h): New target. (ALL): Add it. * lib/cp1125.h: New file. * lib/converters.h: Include it. * lib/encodings_dos.def (CP1125): New encoding.2001-09-08 Bruno Haible <haible@clisp.cons.org> * autoconf/eilseq.m4: New file. * Makefile.devel (OTHERMACROS): Add it. * configure.in: Call AC_EILSEQ. * include/iconv.h.in (EILSEQ): Define to the autoconf determined value.2001-08-25 Bruno Haible <haible@clisp.cons.org> Upgrade to autoconf-2.52. * autoconf/autoconf: Upgrade to autoconf-2.52. * autoconf/acgeneral.m4: Remove file. * autoconf/acspecific.m4: Remove file. * autoconf/autoconf.m4f: New file, from autoconf-2.52. * autoconf/aclocal.m4: Require autoconf-2.52. (CL_CANONICAL_HOST): Call AC_CANONICAL_HOST. Don't cache the result, AC_CANONICAL_HOST does it itself. Add $SHELL in front of $ac_config_guess and $ac_config_sub. * Makefile.devel (AUTOCONF_FILES): Remove acgeneral.m4, acspecific.m4. Add autoconf.m4f. (configure): Use autoconf options -A, -l instead of -m. * configure.in: Use AC_CONFIG_SUBDIRS, not AC_OUTPUT_SUBDIRS.2001-08-05 Bruno Haible <haible@clisp.cons.org> * autoconf/acgeneral.m4 (AC_MSG_RESULTPROTO): Remove macro. (AC_LANG_EXTERN): Move to aclocal.m4. * autoconf/aclocal.m4 (AC_LANG_EXTERN): Moved here from acgeneral.m4. (CL_PROTO): Use AC_MSG_RESULT directly, instead of AC_MSG_RESULTPROTO. (CL_SILENT): No need to pushdef AC_MSG_RESULTPROTO.2001-08-05 Bruno Haible <haible@clisp.cons.org> Make it possible to build libiconv with CC=gcc CFLAGS="-x c++". * lib/loop_wchar.h (wchar_to_loop_convert): Rename local variable 'try' to 'incount'. * lib/Makefile.in (libiconv_plug_linux.so): Add "-x none" option between sources and libs. (libiconv_plug_solaris.so) [GCC]: Likewise. (libiconv_plug_osf.so) [GCC]: Likewise. * src/Makefile.in (iconv.@OBJEXT@): New rule. (iconv): Depend on it. (clean): Erase *.@OBJEXT@, not *.o. * tests/Makefile.in (table-from.@OBJEXT@): New rule. (table-from): Depend on it. (table-to.@OBJEXT@): New rule. (table-to): Depend on it. (clean): Erase *.@OBJEXT@, not *.o.2001-07-28 Bruno Haible <haible@clisp.cons.org> * tools/Makefile (iso8859_16.h): Generate from the unicode.org table. * lib/iso8859_16.h: Regenerated. * tests/ISO-8859-16.TXT: Swap the values of 0xA5 and 0xAB.2001-07-17 Bruno Haible <haible@clisp.cons.org> * configure.in (VERSION): Define. Needed by djgpp/Makefile.maint.2001-07-03 Bruno Haible <haible@clisp.cons.org> * configure.in: Also check for mbsinit. * lib/loop_wchar.h (mbsinit): Define to 1 if not defined. Needed for SCO 3.2v5.0.2.2001-06-27 Bruno Haible <haible@clisp.cons.org> * Version 1.7 released.2001-06-27 Bruno Haible <haible@clisp.cons.org> * INSTALL.generic (Particular Systems): Generalize section about /usr/local to "most systems". * lib/Makefile.in (all): Build @PLUGLIB@ before libiconv.la, because Solaris cc destroys iconv.o and iconv.lo while building libiconv_plug_solaris.so. (clean): Remove so_locations, left there by the OSF/1 linker. * lib/cp1255.h (cp1255_decomp): Use 'signed int' instead of 'int'. * lib/vietcomb.h (viet_decomp): Use 'unsigned int' instead of 'unsigned short'. * tests/table-from.c: Include string.h. * tests/table-to.c: Likewise.2001-06-26 Bruno Haible <haible@clisp.cons.org> * tools/Makefile (jisx0208.h): Replace U+005C with U+FF3C. (jisx0212.h): Replace U+007E with U+FF5E. * lib/jisx0208.h: Regenerated. * lib/jisx0212.h: Regenerated. * tests/EUC-JP.TXT: Map 0xA1C0 to U+FF3C. Map 0x8FA2B7 to U+FF5E. * tests/EUC-JP.IRREVERSIBLE.TXT: Remove file. * tests/SHIFT-JIS.TXT: Map 0x815F to U+FF3C. * tests/CP932.TXT: Likewise. * tests/CP932.IRREVERSIBLE.TXT: 0x815F mapping is now reversible.2001-06-25 Bruno Haible <haible@clisp.cons.org> * src/Makefile.in (iconv): Mention $(INCLUDES) before $(CFLAGS) and $(CPPFLAGS). * src/Makefile.msvc (iconv.exe): Likewise. * src/Makefile.os2 (iconv.exe): Likewise. * lib/Makefile.in (libiconv_plug_linux.so): Likewise. (libiconv_plug_solaris.so): Likewise. (libiconv_plug_osf.so): Likewise. (iconv.lo): Likewise. * lib/Makefile.msvc (iconv.obj): Likewise. * lib/Makefile.os2 (iconv.obj): Likewise. * tests/Makefile.in (table-from, table-to): Likewise. * tests/Makefile.msvc (table-from.exe, table-to.exe): Likewise. * tests/Makefile.os2 (table-from.exe, table-to.exe): Likewise. (genutf8.exe): Don't use $(INCLUDES).2001-06-25 Bruno Haible <haible@clisp.cons.org> * include/iconv.h.in (_LIBICONV_VERSION), README, windows/iconv.rc: Bump version number. * lib/Makefile.in (LIBICONV_VERSION_INFO): Define to 2:4:0.2001-06-25 Bruno Haible <haible@clisp.cons.org> * Makefile.devel (OTHERMACROS): Use libtool.m4 in libcharset subdir.2001-06-25 Bruno Haible <haible@clisp.cons.org> * lib/encodings.def: Make SHIFT_JIS the primary name of SJIS.2001-06-08 Bruno Haible <haible@clisp.cons.org> * autoconf/ltmain.sh: Upgrade to libtool-1.4. * autoconf/ltconfig: Remove file.2001-06-08 Bruno Haible <haible@clisp.cons.org> * autoconf/config.guess: Update to GNU version 2001-05-11. * autoconf/config.sub: Likewise.2001-06-03 Bruno Haible <haible@clisp.cons.org> * lib/loop_unicode.h (unicode_loop_convert): Ignore Unicode 3.1 tag characters if they cannot be converted. (unicode_loop_reset): Likewise. * lib/iso2022_jp2.h (STATE_TAG_NONE, STATE_TAG_LANGUAGE, STATE_TAG_LANGUAGE_j, STATE_TAG_LANGUAGE_ja, STATE_TAG_LANGUAGE_k, STATE_TAG_LANGUAGE_ko, STATE_TAG_LANGUAGE_z, STATE_TAG_LANGUAGE_zh): New macros. (SPLIT_STATE, COMBINE_STATE): Different differently for wctomb direction. (iso2022_jp2_wctomb): Keep track of Unicode 3.1 language tag. If "ja", prefer conversion to Japanese character sets. If "zh", prefer conversion to GB2312. If "ko", prefer conversion to KSC5601. * lib/converters.h (RET_ILUNI): Change value from 0 to -1. (RET_TOOSMALL): Change value from -1 to -2. * lib/loop_unicode.h (unicode_transliterate): Allow xxx_wctomb to return 0 written bytes.2001-06-06 Bruno Haible <haible@clisp.cons.org> * lib/encodings.def: Align with IANA character-set registry. (US-ASCII): Add alias "ANSI_X3.4-1986". (ISO-8859-14): Add alias "ISO-CELTIC". (JIS_X0208): Add alias "JIS_C6226-1983". (BIG5HKSCS): Add alias "BIG5-HKSCS". * README, man/iconv_open.3: Rename BIG5HKSCS to BIG5-HKSCS. * tests/Makefile.in (check): Likewise. * tests/Makefile.os2 (check): Likewise. * tests/Makefile.msvc (check): Likewise. * tests/BIG5-HKSCS.TXT: Renamed from BIG5HKSCS.TXT. * tests/BIG5-HKSCS.IRREVERSIBLE.TXT: Renamed from BIG5HKSCS.IRREVERSIBLE.TXT.2001-06-02 Bruno Haible <haible@clisp.cons.org> * tools/cjk_tab_to_h.c (Encoding): Add fffd field. (is_charset2uni_large, compact_large_charset2uni): New functions. (find_charset2uni_pages): Use enc->fffd instead of 0xfffd. (output_charset2uni): If mapping to more than the Unicode BMP, use an extra indirection to keep each value in 16 bits. (invert): Bump limit from U+10000 to U+30000. (output_uni2charset_dense): Likewise. (output_uni2charset_sparse): Likewise. If mapping to more than one CJK plane, use three bytes per value instead of two bytes. (byte_row_cns11643): Allow more than 3 CJK planes. (do_cns11643_only_uni2charset): Increase number of rows, to include plane 15. Remove plane bits hack. (main): Accept names cns11643_4a,4b,5,6,7,15 as well. * tools/Makefile (ALL): Add cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h, cns11643_7.h, cns11643_15.h. (cns11643_1.h, cns11643_2.h, cns11643_3.h): Use new Unicode 3.1 derived table. (cns11643_4a.h, cns11643_4b.h, cns11643_5.h, cns11643_6.h, cns11643_7.h, cns11643_15.h): New rules.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -