summaryrefslogtreecommitdiff
path: root/Build/source/texk/ptexenc
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-18 13:52:11 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-18 13:52:11 +0000
commit8ec7e9e16594cda561fc22fc6607f7cbb95d4aed (patch)
treecdfe448fee20c35d425ae90826f35ff55810f1e8 /Build/source/texk/ptexenc
parentd078252edb11572f39d434c7c97b107fdd5b8e49 (diff)
more upTeX and e-upTeX
git-svn-id: svn://tug.org/texlive/trunk@23592 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ptexenc')
-rw-r--r--Build/source/texk/ptexenc/ChangeLog313
-rw-r--r--Build/source/texk/ptexenc/ChangeLog.TL88
-rw-r--r--Build/source/texk/ptexenc/ChangeLog.jp279
-rw-r--r--Build/source/texk/ptexenc/Makefile.am4
-rw-r--r--Build/source/texk/ptexenc/Makefile.in2
-rwxr-xr-xBuild/source/texk/ptexenc/configure28
-rw-r--r--Build/source/texk/ptexenc/ptexenc.c22
-rw-r--r--Build/source/texk/ptexenc/ptexenc/ptexenc.h7
-rw-r--r--Build/source/texk/ptexenc/version.ac2
9 files changed, 388 insertions, 357 deletions
diff --git a/Build/source/texk/ptexenc/ChangeLog b/Build/source/texk/ptexenc/ChangeLog
index 2f697488f42..bc2329487f3 100644
--- a/Build/source/texk/ptexenc/ChangeLog
+++ b/Build/source/texk/ptexenc/ChangeLog
@@ -1,279 +1,94 @@
-2010/ 2/25 (1.1.0)
+2011-08-18 Peter Breitenlohner <peb@mppmu.mpg.de>
- * patches/makejvf-1.1a-ptexenc.patch,
- patches/texlive2009-ptexenc.patch:
- 同様に TL2009 用に書き換えた。
+ * version.ac: Update version number 1.2.0 => 1.3.0dev.
+ * ptexenc.c, ptexenc/ptexenc.h: Add sjisterminal,
+ infile_enc_auto, and enable_UPTEX().
- * configure.ac (AC_INIT): New version 1.1.0.
+ Renamed ChangeLog => ChangeLog.jp, ChangeLog.TL => ChangeLog.
+ * Makefile.am (EXTRA_DIST): Adapted.
-2010/ 2/18
+2011-08-12 Peter Breitenlohner <peb@mppmu.mpg.de>
- * patches/mendexk2.6e-ptexenc.patch:
- stamp-* を削除、reautoconf を新しくした。
- K&R コンパイラを捨てた。
- <kpathsea/c-vararg.h> を削除。
+ Add support for upTeX and e-upTeX.
+ * ptexenc/ptexenc.h, ptexenc.c: Export fromUCS().
-2010/ 2/17
+2011-07-15 Peter Breitenlohner <peb@mppmu.mpg.de>
- * ac/withenable.ac, ac/ptexenc.ac, configure.ac, Makefile.am:
- とにかく TL2009 で compile できるようになった。
+ * version.ac: New file defining the ptexenc version.
+ * configure.ac: Adapt. Use KPSE_LT_VERSION.
-2010/ 2/15
+2011-01-11 Peter Breitenlohner <peb@mppmu.mpg.de>
- * *.c: P1C() などを削除。
- * *.h: P1H() などを削除。kpathsea/c-proto.h を include しない。
- TL2009 の kpathsea で K&R コンパイラを捨てた模様。
+ For e-pTeX, adapted from eptex-110102.tar.xz by Hironori Kitagawa.
+ * ptexenc.c, ptexenc/ptexenc.h: Export toUCS().
+ * ptexenc/unicode.h: Export UCStoUTF8().
+ * ptexenc.c: Change version string "ptetex" => "ptexenc".
+ * Makefile.am: Install ptexenc/unicode.h.
-2009/10/ 9 (1.0.6)
+ * configure.ac: Version 1.2.0.
- * Makefile.in (version-info): 2:0:2 に更新。
- 今までのバージョン番号は不適切であった。
- 岡山様に指摘いただきました。
+2010-10-02 Peter Breitenlohner <peb@mppmu.mpg.de>
- * configure.in, configure, stamp-* (PTEXENC_VERSION):
- New version 1.0.6.
+ * Makefile.am (libptexenc_la_LDFLAGS): Add -no-undefined.
-2009/ 9/ 2 (1.0.5)
+2010-06-14 Peter Breitenlohner <peb@mppmu.mpg.de>
- * README, patches/ptex-src-3.1.11-ptexenc.patch,
- COPYRIGHT, patches/mendexk2.6f-ptexenc.patch: 更新。
+ * Makefile.am (libptexenc_la_CPPFLAGS): Define MAKE_PTENC_DLL
+ instead of MAKE_KPSE_DLL.
+ (libptexenc_la_SOURCES, nobase_include_HEADERS): Do not install
+ kanjicnv.h, unicode-jp.h, and unicode.h.
+ * ptexenc/ptexenc.h: Define and use PTENCDLL instead of KPSEDLL.
+ * ptexenc/kanjicnv.h, ptexenc/unicode-jp.h, ptexenc/unicode.h:
+ Remove KPSEDLL, everything is internal to the library.
- * configure.in, configure, stamp-* (PTEXENC_VERSION):
- New version 1.0.5.
+2010-06-04 Karl Berry <karl@tug.org>
+
+ * configure.ac (ptexenc_lib_devel): no more dev.
-2009/ 7/16 (1.0.4)
+2010-05-29 Peter Breitenlohner <peb@mppmu.mpg.de>
- * ptexenc.c (input_line2): int から long に変更。
- (input_line3): pbibtex 専用に新設。
+ * Makefile.am (nobase_nodist_include_HEADERS): Removed,
+ don't install ptexenc/c-auto.h.
- * patches/texlive2008.sh, patches/ptex-src-3.1.10-ptexenc.patch:
- pbibtex を有効にした。
+2010-05-20 Peter Breitenlohner <peb@mppmu.mpg.de>
- * patches/mendexk2.6e-ptexenc.patch (mfgets):
- '\n' を付加するときに、バッファ溢れを考慮してなかった。
+ Moved headers (except jisx0208.h) to ptexenc/, removed patches/.
+ * Makefile.am, configure.ac: Adjusted.
- * configure.in, configure, stamp-* (PTEXENC_VERSION):
- New version 1.0.4.
+2010-04-22 Peter Breitenlohner <peb@mppmu.mpg.de>
-2009/ 7/ 3 (1.0.3)
+ * ptexenc.[ch] (input_line3): Removed.
+ * ptexenc.h (inputline3): Removed.
+ (inputline2): Moved from here to ../web2c/ptexdir/kanji.h.
- * ptexenc.c (input_line2,isUTF8Nstream,getc4,ungetc4):
- UTF-8N のファイルの文字コード自動認識機能を入れた。
- (getcUTF8): getc2() から getcUTF8() に名称変更した。
+2010-04-19 Peter Breitenlohner <peb@mppmu.mpg.de>
- * configure.in, configure, stamp-* (PTEXENC_VERSION):
- New version 1.0.3.
+ * jisx0208.h (new): Copy of ../../libs/gd/gd-2.0.35/jisx0208.h.
+ * Makefile.am, unicode-jp.c: Adjusted.
-2009/ 6/25
+2010-04-16 Peter Breitenlohner <peb@mppmu.mpg.de>
- * ptexenc.c, ptexenc.h (ENC_UPTEX,is_internalUPTEX,fromUCS):
- 未使用なので廃止。
+ * configure.ac: Version 1.1.1 (dev).
- * unicode.c, unicode.h (UCStoUPTEX,UPTEXtoUCS): 同じく廃止。
+2010-04-15 Peter Breitenlohner <peb@mppmu.mpg.de>
-2009/ 6/ 4 (1.0.2)
+ Avoid compiler warnings.
+ * ptexenc.[ch]: Declare ptexenc_version_string, get_enc_string,
+ and set_enc_string's params as const.
+ * ptexenc.c (enc_to_string): Declare return value as const.
+ (string_to_enc): Declare param as const.
+ (in_filter): Declare as const.
+ (getc4, ungetc4): Declare as static.
+ (get_terminal_enc): Declare as static and string var s as const.
+ * unicode.c (UCStoUTF8S): Skip unused function.
- * patches/ptex-src-3.1.10-ptexenc.patch:
- 細かな typo を修正。
+2010-04-14 Peter Breitenlohner <peb@mppmu.mpg.de>
- * configure.in, configure, stamp-* (PTEXENC_VERSION):
- New version 1.0.2.
+ * Makefile.am (rebuild): New target for forced (re-)build.
+ (INCLUDES): Add $(KPATHSEA_INCLUDES) in case we use an installed
+ (system) version.
+ Add rule to rebuild libkpathsea, if necessary.
-2009/ 6/ 3
+2010-04-12 Peter Breitenlohner <peb@mppmu.mpg.de>
- * patches/ptex-src-3.1.10-ptexenc.patch:
- ptex.pool をインストールしないようにした。
-
-2009/ 5/31 (1.0.1)
-
- * Makefile.in (tkpathsea.mk): include が抜けていた。
-
- * configure.in, withenable.ac, reautoconf:
- 警告が出ていたので AC_CONFIG_HEADERS など、
- 新しいマクロを使うようにした。
- * configure, c-auto.in: reautoconf で生成しなおした。
- * Makefile.in: acconfig.h, config.h.in が不要になった。
- aclocal.m4, stamp-aclocal, stamp-auto.in を追加した。
-
- * patches/mendexk2.6e-ptexenc.patch:
- stamp-* を追加、reautoconf を新しくした。
-
- * configure.in, configure, stamp-configure (PTEXENC_VERSION):
- New version 1.0.1.
-
-2009/ 5/28
-
- * ptexenc.c (nkf_open): nkf がフルパスでなくてもよいことにした。
-
- * patches/texlive2008-ptexenc.patch: mendex に k がついてなかった。
- * patches/mendexk2.6e-ptexenc.patch: @KFLAGS@ が展開されてなかった。
- 初めから "-DKPATHSEA -DKPATHSEA3" に展開しておいた。
- 以上2点は岡山様に指摘いただきました。
-
-2009/ 5/28 (1.0.0)
-
- * patches/{jmpost-0.04b-ptexenc.patch,
- mendexk2.6e-ptexenc.patch,texlive2008-ptexenc.patch,
- makejvf-1.1a-ptexenc.patch,ptex-src-3.1.10-ptexenc.patch,
- texlive2008.sh}: TeX Live 2008 専用に統一。
-
- * Makefile.in, aclocal.m4, c-auto.in, reautoconf:
- 新しい autoconf に対応。
-
- * configure.in, configure, stamp-configure (PTEXENC_VERSION):
- New version 1.0.0.
-
- * Makefile.in (tar): .tar.lzma に形式を変更。
- サイズが 160KB → 120KB ほどに節約できた。
-
-2008/ 7/ 7 (0.999)
-
- * patches/ptex-src-3.1.10-texlive200{7,8}.patch: 更新。
-
- * configure.in, configure, stamp-configure (PTEXENC_VERSION):
- New version 0.999.
-
-2008/ 7/ 4
-
- * ptexenc.c, ptexenc.h (get_enc_string, set_enc_string):
- get/set_kanji_enc_string() を get/set_enc_string() に変更。
-
- * Makefile.in (lib$(library).la): -version-info を
- 1:0:0 にインクリメント。
-
-2008/ 7/ 3
-
- * patches/ptex-src-3.1.10-ptexenc.patch
- (Makefile.in): sjis と euc の fmt を生成しないようにした。
- (ptexextra.c): -kanji-internal オプションを廃止した。
- (mkconf): platex2e_inputs などのマクロを廃止した。
- TEXINPUTS.platex を見直して、ptex// の優先順位を下げた。
-
- (jbibtex.ch, pdvitype.ch, pltotf.ch, tftopl.ch):
- write() 等を stringcast() を使って短くした。
-
-2008/ 6/19 (0.998)
-
- * patches/ptex-src-3.1.10-ptexenc.patch (Makefile.in),
- patches/ptex-src-3.1.10-texlive*.patch (fmtutil.cnf):
- fmtutil.cnf に --kanji=default を追記。PTEX_IN_FILTER
- を無効にするため。
-
- * configure.in, configure, stamp-configure (PTEXENC_VERSION):
- New version 0.998.
-
-2008/ 6/18
-
- * ptexenc.h, ptexenc.c, unicode.h, unicode.c:
- unsigned char * -> string.
-
-2008/ 6/12 (0.997)
-
- * patches/texlive2007.sh, patches/texlive2008.sh:
- patch などのコマンドを環境変数で指定できるようにした。
-
- * patches/ptex-src-3.1.10-texlive2007.patch (texmf.in):
- TEXINPUTS.platex の定義を、ptex// が後ろの方になるよう修正した。
- アスキーさんの設定とは異なる。
-
- * patches/ptex-src-3.1.10-texlive2008.patch (texmf.cnf):
- そもそも texmf.cnf のパッチが抜けていた。
-
- * configure.in, configure, stamp-configure (PTEXENC_VERSION):
- New version 0.997.
-
-2008/ 6/10 (0.996)
-
- * patches/texlive2007.sh, patches/texlive2008.sh:
- ptex 以外に mendex などの面倒も見るようにした。
- 実行ディレクトリのチェックを強化した。
- 実行属性をつけた。pushd/popd -> (cd )。
-
- * patches/ptex-src-3.1.10-texlive2007.patch:
- PKGS の書き換えをパッチに含めた。
-
- * README: 現状にあわせて書き直した。
-
- * configure.in, configure, stamp-configure (PTEXENC_VERSION):
- New version 0.996.
-
-2008/ 6/ 8 (0.995)
-
- * patches/ptex-src-3.1.10-texlive2007.patch:
- タイプミスを修正した。("pdvips" -> "pdvipsk")
-
- * patches/ptex-src-3.1.10-texlive2008.patch,
- patches/texlive2008-ptex.sh: 新規。
-
- * reautoconf, Makefile.in (stamp-configure):
- TeX Live 2008 対策で、reautoconf の実行した時刻を
- stamp-configure に記録し、
- stamp-configure 自体も配布物に含めた。
-
- * configure.in, configure, stamp-configure (PTEXENC_VERSION):
- New version 0.995.
-
-2008/ 6/ 5
-
- * configure, withenable.ac (PTEXENC): ディフォルトの
- エンコードを UTF-8 に変更した。
-
- * Makefile (tar): ChangeLog を UTF-8 変換して固めることにした。
-
- * patches/ptex-src-3.1.10-texlive2007.patch,
- patches/texlive2007-ptex.sh:
- ./configure に "--with-pdvipsk" などのオプションを追加した。
-
-2008/ 6/ 2 (0.994)
-
- * patches/makejvf-1.1a-ptexenc.patch,
- patches/mendexk2.6e-ptexenc.patch, patches/jmpost-0.04b-ptexenc.patch:
- ptexenc.la を明示的にリンクした。
-
- * patches/ptex-src-3.1.10-texlive2007.patch:
- パッチを作りなおした。
- TeX Live の ./Build スクリプトでもコンパイルできるようにした。
-
- * patches/texlive2007-ptex.sh: 新規。
- 上のパッチを当てるためのスクリプト。
-
-2008/ 5/30
-
- * Makefile.in (install_headers): ヘッダファイルを列挙せずに、
- ワイルドカードで、$(srcdir) 以下のファイルも指定するようにした。
- カレントディレクトリ以外で configure を走らせても、
- make install が成功するようにした。
-
- * configure.in, configure (PTEXENC_VERSION): New version 0.994.
-
-2008/ 5/29
-
- * programs.mk (LOADLIBES), patches/ptex-src-3.1.10-ptexenc.patch:
- LOADLIBES を変更しないようにした。
- ptexenc.la は明示的にリンクすることにする。
-
-2008/ 5/27 (0.993)
-
- * ptexenc.c (nkf_open): 文字列バッファを
- PATH_MAX を用いて確保するように変更した。
-
- * configure.in, configure (PTEXENC_VERSION): New version 0.993.
-
-2008/ 4/ 4 (0.992)
-
- * ptexenc.c, ptexenc.h (ptexenc_version_string):
- バージョン文字列を新設。
- ptex --version で表示させるようにしてみた。
-
- * configure.in, configure (PTEXENC_VERSION): New version 0.992.
-
-2008/ 3/ 3 (0.991)
-
- * Makefile.in (lib$(library).la):
- --enable-shared でインストールに失敗していた。
- リンクのオプションに kpathsea と -lm を書いていたのがいけなかった。
- 動作報告/101 で Thor 様に報告いただきました。
- (TARS): ChangeLog を追加した。
-
- * configure.in, configure, c-auto.in:
- kpathsea との差分を小さくなるよう更新した。
+ * ptexenc.c (NOFILE) [MinGW32]: Always define it.
diff --git a/Build/source/texk/ptexenc/ChangeLog.TL b/Build/source/texk/ptexenc/ChangeLog.TL
deleted file mode 100644
index c0123ad83bd..00000000000
--- a/Build/source/texk/ptexenc/ChangeLog.TL
+++ /dev/null
@@ -1,88 +0,0 @@
-ChangeLog.TL: TeX Live (TL) changes for ptexenc
-===============================================
-
-2011-08-12 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Add support for upTeX and e-upTeX.
- * ptexenc/ptexenc.h, ptexenc.c: Export fromUCS().
-
-2011-07-15 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * version.ac: New file defining the ptexenc version.
- * configure.ac: Adapt. Use KPSE_LT_VERSION.
-
-2011-01-11 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- For e-pTeX, adapted from eptex-110102.tar.xz by Hironori Kitagawa.
- * ptexenc.c, ptexenc/ptexenc.h: Export toUCS().
- * ptexenc/unicode.h: Export UCStoUTF8().
- * ptexenc.c: Change version string "ptetex" => "ptexenc".
- * Makefile.am: Install ptexenc/unicode.h.
-
- * configure.ac: Version 1.2.0.
-
-2010-10-02 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am (libptexenc_la_LDFLAGS): Add -no-undefined.
-
-2010-06-14 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am (libptexenc_la_CPPFLAGS): Define MAKE_PTENC_DLL
- instead of MAKE_KPSE_DLL.
- (libptexenc_la_SOURCES, nobase_include_HEADERS): Do not install
- kanjicnv.h, unicode-jp.h, and unicode.h.
- * ptexenc/ptexenc.h: Define and use PTENCDLL instead of KPSEDLL.
- * ptexenc/kanjicnv.h, ptexenc/unicode-jp.h, ptexenc/unicode.h:
- Remove KPSEDLL, everything is internal to the library.
-
-2010-06-04 Karl Berry <karl@tug.org>
-
- * configure.ac (ptexenc_lib_devel): no more dev.
-
-2010-05-29 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am (nobase_nodist_include_HEADERS): Removed,
- don't install ptexenc/c-auto.h.
-
-2010-05-20 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Moved headers (except jisx0208.h) to ptexenc/, removed patches/.
- * Makefile.am, configure.ac: Adjusted.
-
-2010-04-22 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * ptexenc.[ch] (input_line3): Removed.
- * ptexenc.h (inputline3): Removed.
- (inputline2): Moved from here to ../web2c/ptexdir/kanji.h.
-
-2010-04-19 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * jisx0208.h (new): Copy of ../../libs/gd/gd-2.0.35/jisx0208.h.
- * Makefile.am, unicode-jp.c: Adjusted.
-
-2010-04-16 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * configure.ac: Version 1.1.1 (dev).
-
-2010-04-15 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Avoid compiler warnings.
- * ptexenc.[ch]: Declare ptexenc_version_string, get_enc_string,
- and set_enc_string's params as const.
- * ptexenc.c (enc_to_string): Declare return value as const.
- (string_to_enc): Declare param as const.
- (in_filter): Declare as const.
- (getc4, ungetc4): Declare as static.
- (get_terminal_enc): Declare as static and string var s as const.
- * unicode.c (UCStoUTF8S): Skip unused function.
-
-2010-04-14 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am (rebuild): New target for forced (re-)build.
- (INCLUDES): Add $(KPATHSEA_INCLUDES) in case we use an installed
- (system) version.
- Add rule to rebuild libkpathsea, if necessary.
-
-2010-04-12 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * ptexenc.c (NOFILE) [MinGW32]: Always define it.
diff --git a/Build/source/texk/ptexenc/ChangeLog.jp b/Build/source/texk/ptexenc/ChangeLog.jp
new file mode 100644
index 00000000000..2f697488f42
--- /dev/null
+++ b/Build/source/texk/ptexenc/ChangeLog.jp
@@ -0,0 +1,279 @@
+2010/ 2/25 (1.1.0)
+
+ * patches/makejvf-1.1a-ptexenc.patch,
+ patches/texlive2009-ptexenc.patch:
+ 同様に TL2009 用に書き換えた。
+
+ * configure.ac (AC_INIT): New version 1.1.0.
+
+2010/ 2/18
+
+ * patches/mendexk2.6e-ptexenc.patch:
+ stamp-* を削除、reautoconf を新しくした。
+ K&R コンパイラを捨てた。
+ <kpathsea/c-vararg.h> を削除。
+
+2010/ 2/17
+
+ * ac/withenable.ac, ac/ptexenc.ac, configure.ac, Makefile.am:
+ とにかく TL2009 で compile できるようになった。
+
+2010/ 2/15
+
+ * *.c: P1C() などを削除。
+ * *.h: P1H() などを削除。kpathsea/c-proto.h を include しない。
+ TL2009 の kpathsea で K&R コンパイラを捨てた模様。
+
+2009/10/ 9 (1.0.6)
+
+ * Makefile.in (version-info): 2:0:2 に更新。
+ 今までのバージョン番号は不適切であった。
+ 岡山様に指摘いただきました。
+
+ * configure.in, configure, stamp-* (PTEXENC_VERSION):
+ New version 1.0.6.
+
+2009/ 9/ 2 (1.0.5)
+
+ * README, patches/ptex-src-3.1.11-ptexenc.patch,
+ COPYRIGHT, patches/mendexk2.6f-ptexenc.patch: 更新。
+
+ * configure.in, configure, stamp-* (PTEXENC_VERSION):
+ New version 1.0.5.
+
+2009/ 7/16 (1.0.4)
+
+ * ptexenc.c (input_line2): int から long に変更。
+ (input_line3): pbibtex 専用に新設。
+
+ * patches/texlive2008.sh, patches/ptex-src-3.1.10-ptexenc.patch:
+ pbibtex を有効にした。
+
+ * patches/mendexk2.6e-ptexenc.patch (mfgets):
+ '\n' を付加するときに、バッファ溢れを考慮してなかった。
+
+ * configure.in, configure, stamp-* (PTEXENC_VERSION):
+ New version 1.0.4.
+
+2009/ 7/ 3 (1.0.3)
+
+ * ptexenc.c (input_line2,isUTF8Nstream,getc4,ungetc4):
+ UTF-8N のファイルの文字コード自動認識機能を入れた。
+ (getcUTF8): getc2() から getcUTF8() に名称変更した。
+
+ * configure.in, configure, stamp-* (PTEXENC_VERSION):
+ New version 1.0.3.
+
+2009/ 6/25
+
+ * ptexenc.c, ptexenc.h (ENC_UPTEX,is_internalUPTEX,fromUCS):
+ 未使用なので廃止。
+
+ * unicode.c, unicode.h (UCStoUPTEX,UPTEXtoUCS): 同じく廃止。
+
+2009/ 6/ 4 (1.0.2)
+
+ * patches/ptex-src-3.1.10-ptexenc.patch:
+ 細かな typo を修正。
+
+ * configure.in, configure, stamp-* (PTEXENC_VERSION):
+ New version 1.0.2.
+
+2009/ 6/ 3
+
+ * patches/ptex-src-3.1.10-ptexenc.patch:
+ ptex.pool をインストールしないようにした。
+
+2009/ 5/31 (1.0.1)
+
+ * Makefile.in (tkpathsea.mk): include が抜けていた。
+
+ * configure.in, withenable.ac, reautoconf:
+ 警告が出ていたので AC_CONFIG_HEADERS など、
+ 新しいマクロを使うようにした。
+ * configure, c-auto.in: reautoconf で生成しなおした。
+ * Makefile.in: acconfig.h, config.h.in が不要になった。
+ aclocal.m4, stamp-aclocal, stamp-auto.in を追加した。
+
+ * patches/mendexk2.6e-ptexenc.patch:
+ stamp-* を追加、reautoconf を新しくした。
+
+ * configure.in, configure, stamp-configure (PTEXENC_VERSION):
+ New version 1.0.1.
+
+2009/ 5/28
+
+ * ptexenc.c (nkf_open): nkf がフルパスでなくてもよいことにした。
+
+ * patches/texlive2008-ptexenc.patch: mendex に k がついてなかった。
+ * patches/mendexk2.6e-ptexenc.patch: @KFLAGS@ が展開されてなかった。
+ 初めから "-DKPATHSEA -DKPATHSEA3" に展開しておいた。
+ 以上2点は岡山様に指摘いただきました。
+
+2009/ 5/28 (1.0.0)
+
+ * patches/{jmpost-0.04b-ptexenc.patch,
+ mendexk2.6e-ptexenc.patch,texlive2008-ptexenc.patch,
+ makejvf-1.1a-ptexenc.patch,ptex-src-3.1.10-ptexenc.patch,
+ texlive2008.sh}: TeX Live 2008 専用に統一。
+
+ * Makefile.in, aclocal.m4, c-auto.in, reautoconf:
+ 新しい autoconf に対応。
+
+ * configure.in, configure, stamp-configure (PTEXENC_VERSION):
+ New version 1.0.0.
+
+ * Makefile.in (tar): .tar.lzma に形式を変更。
+ サイズが 160KB → 120KB ほどに節約できた。
+
+2008/ 7/ 7 (0.999)
+
+ * patches/ptex-src-3.1.10-texlive200{7,8}.patch: 更新。
+
+ * configure.in, configure, stamp-configure (PTEXENC_VERSION):
+ New version 0.999.
+
+2008/ 7/ 4
+
+ * ptexenc.c, ptexenc.h (get_enc_string, set_enc_string):
+ get/set_kanji_enc_string() を get/set_enc_string() に変更。
+
+ * Makefile.in (lib$(library).la): -version-info を
+ 1:0:0 にインクリメント。
+
+2008/ 7/ 3
+
+ * patches/ptex-src-3.1.10-ptexenc.patch
+ (Makefile.in): sjis と euc の fmt を生成しないようにした。
+ (ptexextra.c): -kanji-internal オプションを廃止した。
+ (mkconf): platex2e_inputs などのマクロを廃止した。
+ TEXINPUTS.platex を見直して、ptex// の優先順位を下げた。
+
+ (jbibtex.ch, pdvitype.ch, pltotf.ch, tftopl.ch):
+ write() 等を stringcast() を使って短くした。
+
+2008/ 6/19 (0.998)
+
+ * patches/ptex-src-3.1.10-ptexenc.patch (Makefile.in),
+ patches/ptex-src-3.1.10-texlive*.patch (fmtutil.cnf):
+ fmtutil.cnf に --kanji=default を追記。PTEX_IN_FILTER
+ を無効にするため。
+
+ * configure.in, configure, stamp-configure (PTEXENC_VERSION):
+ New version 0.998.
+
+2008/ 6/18
+
+ * ptexenc.h, ptexenc.c, unicode.h, unicode.c:
+ unsigned char * -> string.
+
+2008/ 6/12 (0.997)
+
+ * patches/texlive2007.sh, patches/texlive2008.sh:
+ patch などのコマンドを環境変数で指定できるようにした。
+
+ * patches/ptex-src-3.1.10-texlive2007.patch (texmf.in):
+ TEXINPUTS.platex の定義を、ptex// が後ろの方になるよう修正した。
+ アスキーさんの設定とは異なる。
+
+ * patches/ptex-src-3.1.10-texlive2008.patch (texmf.cnf):
+ そもそも texmf.cnf のパッチが抜けていた。
+
+ * configure.in, configure, stamp-configure (PTEXENC_VERSION):
+ New version 0.997.
+
+2008/ 6/10 (0.996)
+
+ * patches/texlive2007.sh, patches/texlive2008.sh:
+ ptex 以外に mendex などの面倒も見るようにした。
+ 実行ディレクトリのチェックを強化した。
+ 実行属性をつけた。pushd/popd -> (cd )。
+
+ * patches/ptex-src-3.1.10-texlive2007.patch:
+ PKGS の書き換えをパッチに含めた。
+
+ * README: 現状にあわせて書き直した。
+
+ * configure.in, configure, stamp-configure (PTEXENC_VERSION):
+ New version 0.996.
+
+2008/ 6/ 8 (0.995)
+
+ * patches/ptex-src-3.1.10-texlive2007.patch:
+ タイプミスを修正した。("pdvips" -> "pdvipsk")
+
+ * patches/ptex-src-3.1.10-texlive2008.patch,
+ patches/texlive2008-ptex.sh: 新規。
+
+ * reautoconf, Makefile.in (stamp-configure):
+ TeX Live 2008 対策で、reautoconf の実行した時刻を
+ stamp-configure に記録し、
+ stamp-configure 自体も配布物に含めた。
+
+ * configure.in, configure, stamp-configure (PTEXENC_VERSION):
+ New version 0.995.
+
+2008/ 6/ 5
+
+ * configure, withenable.ac (PTEXENC): ディフォルトの
+ エンコードを UTF-8 に変更した。
+
+ * Makefile (tar): ChangeLog を UTF-8 変換して固めることにした。
+
+ * patches/ptex-src-3.1.10-texlive2007.patch,
+ patches/texlive2007-ptex.sh:
+ ./configure に "--with-pdvipsk" などのオプションを追加した。
+
+2008/ 6/ 2 (0.994)
+
+ * patches/makejvf-1.1a-ptexenc.patch,
+ patches/mendexk2.6e-ptexenc.patch, patches/jmpost-0.04b-ptexenc.patch:
+ ptexenc.la を明示的にリンクした。
+
+ * patches/ptex-src-3.1.10-texlive2007.patch:
+ パッチを作りなおした。
+ TeX Live の ./Build スクリプトでもコンパイルできるようにした。
+
+ * patches/texlive2007-ptex.sh: 新規。
+ 上のパッチを当てるためのスクリプト。
+
+2008/ 5/30
+
+ * Makefile.in (install_headers): ヘッダファイルを列挙せずに、
+ ワイルドカードで、$(srcdir) 以下のファイルも指定するようにした。
+ カレントディレクトリ以外で configure を走らせても、
+ make install が成功するようにした。
+
+ * configure.in, configure (PTEXENC_VERSION): New version 0.994.
+
+2008/ 5/29
+
+ * programs.mk (LOADLIBES), patches/ptex-src-3.1.10-ptexenc.patch:
+ LOADLIBES を変更しないようにした。
+ ptexenc.la は明示的にリンクすることにする。
+
+2008/ 5/27 (0.993)
+
+ * ptexenc.c (nkf_open): 文字列バッファを
+ PATH_MAX を用いて確保するように変更した。
+
+ * configure.in, configure (PTEXENC_VERSION): New version 0.993.
+
+2008/ 4/ 4 (0.992)
+
+ * ptexenc.c, ptexenc.h (ptexenc_version_string):
+ バージョン文字列を新設。
+ ptex --version で表示させるようにしてみた。
+
+ * configure.in, configure (PTEXENC_VERSION): New version 0.992.
+
+2008/ 3/ 3 (0.991)
+
+ * Makefile.in (lib$(library).la):
+ --enable-shared でインストールに失敗していた。
+ リンクのオプションに kpathsea と -lm を書いていたのがいけなかった。
+ 動作報告/101 で Thor 様に報告いただきました。
+ (TARS): ChangeLog を追加した。
+
+ * configure.in, configure, c-auto.in:
+ kpathsea との差分を小さくなるよう更新した。
diff --git a/Build/source/texk/ptexenc/Makefile.am b/Build/source/texk/ptexenc/Makefile.am
index c7ba5905121..a3bcac840ca 100644
--- a/Build/source/texk/ptexenc/Makefile.am
+++ b/Build/source/texk/ptexenc/Makefile.am
@@ -1,6 +1,6 @@
## Makefile.am for the TeX Live subdirectory texk/ptexenc/
##
-## Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
+## Copyright (C) 2010, 2011 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
ACLOCAL_AMFLAGS = -I ../../m4
@@ -36,5 +36,5 @@ nobase_include_HEADERS = \
ptexenc/ptexenc.h \
ptexenc/unicode.h
-EXTRA_DIST = COPYRIGHT ChangeLog.TL
+EXTRA_DIST = COPYRIGHT ChangeLog.jp
diff --git a/Build/source/texk/ptexenc/Makefile.in b/Build/source/texk/ptexenc/Makefile.in
index 873e3dbe0ad..a193ff62a83 100644
--- a/Build/source/texk/ptexenc/Makefile.in
+++ b/Build/source/texk/ptexenc/Makefile.in
@@ -271,7 +271,7 @@ nobase_include_HEADERS = \
ptexenc/ptexenc.h \
ptexenc/unicode.h
-EXTRA_DIST = COPYRIGHT ChangeLog.TL
+EXTRA_DIST = COPYRIGHT ChangeLog.jp
all: all-am
.SUFFIXES:
diff --git a/Build/source/texk/ptexenc/configure b/Build/source/texk/ptexenc/configure
index 8f7ee188970..c58d72e9a07 100755
--- a/Build/source/texk/ptexenc/configure
+++ b/Build/source/texk/ptexenc/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for ptexenc 1.2.0.
+# Generated by GNU Autoconf 2.68 for ptexenc 1.3.0dev.
#
# Report bugs to <tex-k@tug.org>.
#
@@ -570,8 +570,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='ptexenc'
PACKAGE_TARNAME='ptexenc'
-PACKAGE_VERSION='1.2.0'
-PACKAGE_STRING='ptexenc 1.2.0'
+PACKAGE_VERSION='1.3.0dev'
+PACKAGE_STRING='ptexenc 1.3.0dev'
PACKAGE_BUGREPORT='tex-k@tug.org'
PACKAGE_URL=''
@@ -1305,7 +1305,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures ptexenc 1.2.0 to adapt to many kinds of systems.
+\`configure' configures ptexenc 1.3.0dev to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1375,7 +1375,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of ptexenc 1.2.0:";;
+ short | recursive ) echo "Configuration of ptexenc 1.3.0dev:";;
esac
cat <<\_ACEOF
@@ -1490,7 +1490,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-ptexenc configure 1.2.0
+ptexenc configure 1.3.0dev
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1970,7 +1970,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by ptexenc $as_me 1.2.0, which was
+It was created by ptexenc $as_me 1.3.0dev, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2351,12 +2351,12 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-PTEXENCVERSION=1.2.0
+PTEXENCVERSION=1.3.0dev
-$as_echo "#define PTEXENCVERSION \"ptexenc version 1.2.0\"" >>confdefs.h
+$as_echo "#define PTEXENCVERSION \"ptexenc version 1.3.0dev\"" >>confdefs.h
-PTEXENC_LT_VERSINFO=3:0:2
+PTEXENC_LT_VERSINFO=4:0:3
am__api_version='1.11'
@@ -7331,7 +7331,7 @@ fi
# Define the identity of the package.
PACKAGE='ptexenc'
- VERSION='1.2.0'
+ VERSION='1.3.0dev'
cat >>confdefs.h <<_ACEOF
@@ -12946,7 +12946,7 @@ Usage: $0 [OPTIONS]
Report bugs to <bug-libtool@gnu.org>."
lt_cl_version="\
-ptexenc config.lt 1.2.0
+ptexenc config.lt 1.3.0dev
configured by $0, generated by GNU Autoconf 2.68.
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -14713,7 +14713,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by ptexenc $as_me 1.2.0, which was
+This file was extended by ptexenc $as_me 1.3.0dev, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -14779,7 +14779,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-ptexenc config.status 1.2.0
+ptexenc config.status 1.3.0dev
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c
index 7597b2b37a9..c58863ff498 100644
--- a/Build/source/texk/ptexenc/ptexenc.c
+++ b/Build/source/texk/ptexenc/ptexenc.c
@@ -32,6 +32,12 @@
#endif
const char *ptexenc_version_string = "ptexenc " PTEXENC_VERSION;
+#if defined(WIN32)
+int sjisterminal;
+int infile_enc_auto;
+#else
+static int infile_enc_auto = 1;
+#endif
static int file_enc = ENC_UNKNOWN;
static int internal_enc = ENC_UNKNOWN;
@@ -124,6 +130,12 @@ static int get_terminal_enc(void)
return terminal_enc;
}
+/* enable/disable UPTEX */
+void enable_UPTEX (boolean enable)
+{
+ (void) enable;
+}
+
const_string get_enc_string(void)
{
static char buffer[20]; /* enough large space */
@@ -144,7 +156,13 @@ boolean set_enc_string(const_string file_str, const_string internal_str)
int internal = string_to_enc(internal_str);
if (file < 0 || internal < 0) return false; /* error */
- if (file != ENC_UNKNOWN) { set_file_enc(file); nkf_disable(); }
+ if (file != ENC_UNKNOWN) {
+ set_file_enc(file);
+#if !defined(WIN32)
+ infile_enc_auto =0;
+ nkf_disable();
+#endif
+ }
if (internal != ENC_UNKNOWN) set_internal_enc(internal);
return true;
}
@@ -319,7 +337,7 @@ int putc2(int c, FILE *fp)
inkanji[fd] = 1;
} else { /* ASCII */
if (inkanji[fd] < 0 && output_enc == ENC_JIS) {
- ret = put_multibyte(KANJI_OUT, fp);
+ put_multibyte(KANJI_OUT, fp);
}
ret = putc(c, fp);
inkanji[fd] = 0;
diff --git a/Build/source/texk/ptexenc/ptexenc/ptexenc.h b/Build/source/texk/ptexenc/ptexenc/ptexenc.h
index a780045e18d..05955ea1279 100644
--- a/Build/source/texk/ptexenc/ptexenc/ptexenc.h
+++ b/Build/source/texk/ptexenc/ptexenc/ptexenc.h
@@ -22,9 +22,16 @@
#endif
extern PTENCDLL const char *ptexenc_version_string;
+#if defined(WIN32)
+extern PTENCDLL int sjisterminal;
+extern PTENCDLL int infile_enc_auto;
+#endif
#define KANJI_OPTS "{jis|euc|sjis|utf8}"
+/* enable/disable UPTEX */
+extern PTENCDLL void enable_UPTEX (boolean enable);
+
/* get/set Kanji encoding by string */
extern PTENCDLL const_string get_enc_string(void);
extern PTENCDLL int set_enc_string(const_string file, const_string inter);
diff --git a/Build/source/texk/ptexenc/version.ac b/Build/source/texk/ptexenc/version.ac
index 848f7b9daab..0a69d319571 100644
--- a/Build/source/texk/ptexenc/version.ac
+++ b/Build/source/texk/ptexenc/version.ac
@@ -21,4 +21,4 @@ dnl append "dev", to distinguish binaries built between releases.
dnl --------------------------------------------------------
dnl
dnl m4-include this file to define the current ptexenc version
-m4_define([ptexenc_version], [1.2.0])
+m4_define([ptexenc_version], [1.3.0dev])