From 1d0ba25a660483da1272a31dd077ed94441e3d9f Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sat, 2 Jan 2021 09:20:37 +0900 Subject: New upstream version 0.5.3+git20210102 --- .cvsignore | 25 - .gitignore | 41 + Bonus/2ch.cgi | 6 +- Bonus/README | 80 +- Bonus/README.eng | 2 +- Bonus/goodict.cgi | 34 +- COPYING | 11 + ChangeLog | 10026 +++++---------------------------- ChangeLog.1 | 9322 ++++++++++++++++++++++++++++++ Makefile.in | 10 +- NEWS | 118 + README | 9 + Str.c | 40 +- Str.h | 16 +- acinclude.m4 | 49 +- alloc.h | 39 + anchor.c | 46 +- buffer.c | 9 +- config.guess | 1639 +++--- config.h.dist | 7 +- config.h.in | 12 +- config.sub | 716 ++- configure | 1423 +++-- configure.ac | 11 +- cookie.c | 50 +- display.c | 46 +- doc-de/FAQ.html | 691 +++ doc-de/MANUAL.html | 2353 ++++++++ doc-de/README.func | 150 + doc-de/w3m.1 | 334 ++ doc-jp/FAQ.html | 272 +- doc-jp/HISTORY | 4544 +++++++-------- doc-jp/MANUAL.html | 743 ++- doc-jp/README | 119 +- doc-jp/README.SSL | 108 +- doc-jp/README.cookie | 84 +- doc-jp/README.cygwin | 210 +- doc-jp/README.dict | 60 +- doc-jp/README.func | 295 +- doc-jp/README.img | 304 +- doc-jp/README.keymap | 36 +- doc-jp/README.m17n | 702 +-- doc-jp/README.mailcap | 58 +- doc-jp/README.menu | 150 +- doc-jp/README.migemo | 42 +- doc-jp/README.mouse | 64 +- doc-jp/README.passwd | 32 +- doc-jp/README.pre_form | 34 +- doc-jp/README.siteconf | 73 + doc-jp/README.tab | 70 +- doc-jp/STORY.html | 294 +- doc-jp/keymap.default | 1 + doc-jp/keymap.lynx | 2 +- doc-jp/menu.default | 44 +- doc-jp/menu.submenu | 46 +- doc-jp/w3m.1 | 423 +- doc/FAQ.html | 1040 +++- doc/HISTORY | 12 +- doc/MANUAL.html | 2902 ++++++++-- doc/README | 11 +- doc/README.cookie | 18 +- doc/README.dict | 10 +- doc/README.func | 257 +- doc/README.img | 20 +- doc/README.m17n | 2 +- doc/README.pre_form | 24 +- doc/README.siteconf | 73 + doc/README.sixel | 27 + doc/README.tab | 2 +- doc/keymap.default | 1 + doc/keymap.lynx | 2 +- doc/menu.submenu | 2 +- doc/w3m.1 | 421 +- entity.c | 16 +- entity.tab | 2 + etc.c | 31 +- file.c | 811 ++- fm.h | 67 +- form.c | 61 +- frame.c | 13 +- ftp.c | 8 +- func.c | 88 + gitlog2changelog | 111 + history.c | 9 +- html.c | 60 +- html.h | 47 +- image.c | 232 +- indep.c | 125 +- indep.h | 33 +- istream.c | 248 +- istream.h | 17 +- keybind.c | 4 +- keybind_lynx.c | 2 +- libwc/.cvsignore | 1 - libwc/ambwidth_map.awk | 32 +- libwc/charset.c | 3 +- libwc/gb18030.c | 1 + libwc/iso2022.c | 23 +- libwc/johab.c | 6 +- libwc/map/big5_ucs.map | 4 +- libwc/map/cns11643_ucs.map | 8 +- libwc/map/gb12345_ucs.map | 4 +- libwc/map/gb2312_ucs.map | 4 +- libwc/map/gbk_ucs.map | 4 +- libwc/map/hkscs_ucs.map | 4 +- libwc/map/jisx0208x0212x0213_ucs.map | 8 +- libwc/map/ksx1001_ucs.map | 4 +- libwc/map/sjis_ext_ucs.map | 4 +- libwc/map/ucs_ambwidth.map | 109 +- libwc/map/uhc_ucs.map | 4 +- libwc/status.c | 3 +- libwc/ucs.c | 8 + libwc/ucs.map | 100 + libwc/wtf.c | 67 +- libwc/wtf.h | 3 +- linein.c | 16 +- local.c | 37 +- mailcap.c | 2 +- main.c | 646 ++- map.c | 29 +- matrix.c | 8 +- menu.c | 85 +- mimehead.c | 61 +- news.c | 6 +- parsetagx.c | 2 + po/.cvsignore | 6 - po/LINGUAS | 2 +- po/Makefile.in.in | 6 +- po/Makevars | 4 +- po/POTFILES.in | 3 - po/de.po | 944 ++++ po/ja.po | 490 +- po/w3m.pot | 482 +- po/zh_CN.po | 924 +++ po/zh_TW.po | 930 +++ proto.h | 54 +- rc.c | 293 +- regex.c | 4 +- scripts/.cvsignore | 9 - scripts/Makefile.in | 6 +- scripts/bm2menu/README | 16 +- scripts/multipart/.cvsignore | 2 - scripts/multipart/README | 28 +- scripts/w3mdict.cgi | 56 + scripts/w3mhelp-funcdesc.de.pl.in | 66 + scripts/w3mhelp-funcdesc.en.pl.in | 46 +- scripts/w3mhelp-funcdesc.ja.pl.in | 98 +- scripts/w3mhelp.cgi.in | 69 +- scripts/w3mman/.cvsignore | 5 - scripts/w3mman/Makefile.in | 18 +- scripts/w3mman/README | 34 +- scripts/w3mman/w3mman.1.in | 46 +- scripts/w3mman/w3mman.de.1.in | 71 + scripts/w3mman/w3mman.in | 22 +- scripts/w3mman/w3mman2html.cgi.in | 35 +- symbol.c | 4 +- table.c | 60 +- table.h | 2 +- tagtable.tab | 7 + terms.c | 283 +- tests/a1.expected | 2 + tests/a1.html | 1 + tests/a2.expected | 1 + tests/a2.html | 3 + tests/name_entity_1.expected | 2 + tests/name_entity_1.html | 2 + tests/name_entity_1.opts | 2 + tests/name_entity_2.expected | 1 + tests/name_entity_2.html | 1 + tests/q1.expected | 1 + tests/q1.html | 2 + tests/q1.opts | 2 + tests/q2.expected | 1 + tests/q2.html | 3 + tests/q3.expected | 1 + tests/q3.html | 3 + tests/q3.opts | 4 + tests/q4.expected | 1 + tests/q4.html | 3 + tests/q4.opts | 2 + tests/q5.expected | 1 + tests/q5.html | 3 + tests/q6.expected | 1 + tests/q6.html | 3 + tests/q6.opts | 1 + tests/run_tests | 31 + url.c | 305 +- version.c.in | 2 +- w3m-doc/README.html | 75 - w3m-doc/community.html.in | 48 - w3m-doc/configuration.html.in | 182 - w3m-doc/contain.wd | 14 - w3m-doc/copyright.html.in | 45 - w3m-doc/define.wd | 9 - w3m-doc/detail.html.in | 32 - w3m-doc/development.html.in | 77 - w3m-doc/faq.html.in | 45 - w3m-doc/function.html.in | 71 - w3m-doc/index.html.in | 113 - w3m-doc/install.html.in | 389 -- w3m-doc/mkdocs | 57 - w3m-doc/operation.html.in | 50 - w3m-doc/outline.html.in | 352 -- w3m-doc/prologue.html.in | 99 - w3m-doc/sample/README | 41 - w3m-doc/sample/define.wd | 4 - w3m-doc/sample/html.wd | 18 - w3m-doc/sample/keymap.cgi | 268 - w3m-doc/sample/s.wd | 8 - w3m-doc/sample/sample.html | 6 - w3m-doc/sample/sample.wd | 11 - w3m-doc/sample/w3mdoc.pl | 102 - w3m-doc/w3mdoc.pl | 102 - w3mbookmark.c | 8 +- w3mhelp-lynx_en.html.in | 22 +- w3mhelp-lynx_ja.html.in | 204 +- w3mhelp-w3m_en.html.in | 22 +- w3mhelp-w3m_ja.html.in | 210 +- w3mhelperpanel.c | 1 + w3mimg/.cvsignore | 1 - w3mimg/Makefile.in | 4 +- w3mimg/fb/.cvsignore | 1 - w3mimg/fb/fb.c | 431 ++ w3mimg/fb/fb.h | 4 + w3mimg/fb/fb_gdkpixbuf.c | 2 +- w3mimg/fb/fb_imlib2.c | 1 - w3mimg/fb/fb_w3mimg.c | 9 +- w3mimg/fb/readme.txt | 98 +- w3mimg/win/.cvsignore | 1 - w3mimg/x11/.cvsignore | 1 - w3mimg/x11/x11_w3mimg.c | 92 +- w3mimgdisplay.c | 4 + 232 files changed, 33137 insertions(+), 19937 deletions(-) delete mode 100644 .cvsignore create mode 100644 .gitignore create mode 100644 COPYING create mode 100644 ChangeLog.1 create mode 100644 alloc.h create mode 100644 doc-de/FAQ.html create mode 100644 doc-de/MANUAL.html create mode 100644 doc-de/README.func create mode 100644 doc-de/w3m.1 create mode 100644 doc-jp/README.siteconf create mode 100644 doc/README.siteconf create mode 100644 doc/README.sixel create mode 100755 gitlog2changelog delete mode 100644 libwc/.cvsignore delete mode 100644 po/.cvsignore create mode 100644 po/de.po create mode 100644 po/zh_CN.po create mode 100644 po/zh_TW.po delete mode 100644 scripts/.cvsignore delete mode 100644 scripts/multipart/.cvsignore create mode 100755 scripts/w3mdict.cgi create mode 100644 scripts/w3mhelp-funcdesc.de.pl.in delete mode 100644 scripts/w3mman/.cvsignore create mode 100644 scripts/w3mman/w3mman.de.1.in create mode 100644 tests/a1.expected create mode 100644 tests/a1.html create mode 100644 tests/a2.expected create mode 100644 tests/a2.html create mode 100644 tests/name_entity_1.expected create mode 100644 tests/name_entity_1.html create mode 100644 tests/name_entity_1.opts create mode 100644 tests/name_entity_2.expected create mode 100644 tests/name_entity_2.html create mode 100644 tests/q1.expected create mode 100644 tests/q1.html create mode 100644 tests/q1.opts create mode 100644 tests/q2.expected create mode 100644 tests/q2.html create mode 100644 tests/q3.expected create mode 100644 tests/q3.html create mode 100644 tests/q3.opts create mode 100644 tests/q4.expected create mode 100644 tests/q4.html create mode 100644 tests/q4.opts create mode 100644 tests/q5.expected create mode 100644 tests/q5.html create mode 100644 tests/q6.expected create mode 100644 tests/q6.html create mode 100644 tests/q6.opts create mode 100644 tests/run_tests delete mode 100644 w3m-doc/README.html delete mode 100644 w3m-doc/community.html.in delete mode 100644 w3m-doc/configuration.html.in delete mode 100644 w3m-doc/contain.wd delete mode 100644 w3m-doc/copyright.html.in delete mode 100644 w3m-doc/define.wd delete mode 100644 w3m-doc/detail.html.in delete mode 100644 w3m-doc/development.html.in delete mode 100644 w3m-doc/faq.html.in delete mode 100644 w3m-doc/function.html.in delete mode 100644 w3m-doc/index.html.in delete mode 100644 w3m-doc/install.html.in delete mode 100755 w3m-doc/mkdocs delete mode 100644 w3m-doc/operation.html.in delete mode 100644 w3m-doc/outline.html.in delete mode 100644 w3m-doc/prologue.html.in delete mode 100644 w3m-doc/sample/README delete mode 100644 w3m-doc/sample/define.wd delete mode 100644 w3m-doc/sample/html.wd delete mode 100755 w3m-doc/sample/keymap.cgi delete mode 100644 w3m-doc/sample/s.wd delete mode 100644 w3m-doc/sample/sample.html delete mode 100644 w3m-doc/sample/sample.wd delete mode 100755 w3m-doc/sample/w3mdoc.pl delete mode 100755 w3m-doc/w3mdoc.pl delete mode 100644 w3mimg/.cvsignore delete mode 100644 w3mimg/fb/.cvsignore delete mode 100644 w3mimg/win/.cvsignore delete mode 100644 w3mimg/x11/.cvsignore diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 8f22a68..0000000 --- a/.cvsignore +++ /dev/null @@ -1,25 +0,0 @@ -XXMakefile -Makefile -config.cache -config.log -config.status -config.h -config.param -funcname.tab -funcname.c -funcname1.h -funcname2.h -functable.c -tagtable.c -inflate -mktable -w3m -w3mbookmark -w3mhelperpanel -w3mimgdisplay -version.c -w3mhelp-lynx_en.html -w3mhelp-lynx_ja.html -w3mhelp-w3m_en.html -w3mhelp-w3m_ja.html -posubst diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bf7ac3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,41 @@ +*.a +*.o +Makefile +/config.cache +/config.log +/config.status +/config.h +/config.param +/entity.h +/funcname.tab +/funcname.c +/funcname1.h +/funcname2.h +/functable.c +/tagtable.c +/inflate +/mktable +/w3m +/w3mbookmark +/w3mhelperpanel +/w3mimgdisplay +/version.c +/w3mhelp-lynx_*.html +/w3mhelp-w3m_*.html +/posubst +/po/stamp-po +/po/POTFILES +/po/*.gmo +/po/Makefile.in +/po/remove-potcdate.sed +/scripts/dirlist.cgi +/scripts/w3mhelp.cgi +/scripts/w3mmail.cgi +/scripts/w3mhelp-funcdesc.*.pl +/scripts/w3mhelp-funcname.pl +/scripts/w3mhelp-funcdesc-stamp +/scripts/xface2xpm +/scripts/multipart/multipart.cgi +/scripts/w3mman/w3mman +/scripts/w3mman/w3mman2html.cgi +/scripts/w3mman/w3mman*.1 diff --git a/Bonus/2ch.cgi b/Bonus/2ch.cgi index 998c202..c52ad8d 100755 --- a/Bonus/2ch.cgi +++ b/Bonus/2ch.cgi @@ -63,7 +63,7 @@ for (0 .. ($lines - 1) / 100) { } $head .= "ŐV50\n"; print <new("$host:80") or die; # retrieve posting cookie; this may not work - print "Content-Type: text/html\n\n"; + print "Content-Type: text/html; charset=Shift_JIS\n\n"; print $sock "HEAD /test/bbs.cgi HTTP/1.1\n", "Host: $host\n", diff --git a/Bonus/README b/Bonus/README index af019ce..7e7452c 100644 --- a/Bonus/README +++ b/Bonus/README @@ -1,30 +1,30 @@ 2ch.cgi [w3m-dev 03635] 2ch.cgi - 2ch dat ľɤߤ local CGI Ǥ + 2ch の dat を直読みする local CGI です。 - w3m file:/cgi-bin/2ch.cgi?http://pc.2ch.net/test/read.cgi/unix/1035755937/ + w3m file:/cgi-bin/2ch.cgi?http://toro.2ch.sc/test/read.cgi/unix/1185784998/ - wget κʬž(-c)Ȥޤ - ɤ dat ~/.w3m2ch/ ʲ¸ޤ - 񤭹ߤϤǤޤ + wget の差分転送(-c)を使います。 + 読んだ dat は ~/.w3m2ch/ 以下に保存します。 + 書き込みはできません。 smb.cgi [w3m-dev 03634] smb.cgi - SMB ˥ local CGI Ǥ - nmblookup,smbclient ȤΤ sabma 󥹥ȡ뤵Ƥ - ɬפޤ - ѥɤϡ - 1) ~/.w3m/smb ˥ѥɤꤵƤꡢ - smbclient -A ץȤʤ - smbclient -A ~/.w3m/smb ȤϤޤ - 2) Ķѿ PASSWD_FILE (ѥɤΤߤΥե) - ƤϡĶѿ PASSWD_FILE Ȥޤ - 3) ~/.w3m/smb ˥ѥɤꤵƤС - Ķѿ PASSWD_FD ȤäɸϷͳϤޤ - ɤˤ衢ޤɤǤϤʤΤ SMB(CIFS)ץȥ - Ǥ˾ + SMB にアクセスする local CGI です。 + nmblookup,smbclient を使うので sabma がインストールされている + 必要があります。 + パスワードは、 + 1) ~/.w3m/smb にパスワードが設定されており、 + smbclient の -A オプションを使えるなら + smbclient -A ~/.w3m/smb として渡します。 + 2) 環境変数 PASSWD_FILE (パスワードのみのファイル)が設定 + されている場合は、環境変数 PASSWD_FILE を使います。 + 3) ~/.w3m/smb にパスワードが設定されていれば、 + 環境変数 PASSWD_FD を使って標準入力経由で渡します。 + どちらにせよ、あまり良い事ではないので SMB(CIFS)プロトコルを + 喋る版を希望。 google.cgi @@ -32,49 +32,49 @@ google.cgi html2latex - HTMLʸLaTeX ѴޤRubyץȤǤԴǤ - ٤ˤΩĤ⤷ޤ + HTMLの文書をLaTeX に変換します.Rubyスクリプトです.不完全です. + ある程度の役には立つかもしれません. - ˡ + 使用法 html2latex file.html > file.tex - ֤Ƥͳ + ここに置いてある理由 - makeref ΤʼǤ :-) + makeref のための部品取りです :-) makeref - HTMLʸɤߡ󥫡ֹ򿶤ޤֹ򿶤äʸ - ɸϤ˽񤭽ФǸˤΰϤޤRuby ץȤǤ + HTMLの文書を読み,アンカーに番号を振ります.番号を振った文書を + 標準出力に書き出し,最後にその一覧を出力します.Ruby スクリプトです. - ˡ + 使用法 makeref [-url base_url] [file] - -url: ʸURLꤷޤ󥯤ΰФȤˡURL - 䴰뤿˻Ȥޤ + -url: 文書のURLを指定します.リンクの一覧を出すときに,そのURLを + 補完するために使います. - Х + バグ - HTMLεҥߥ( < ǤϤʤ < Ȥ&... κǸ ; դʤ - )ȡỴʷ̤ˤʤ뤳Ȥޤ + HTMLの記述ミス( < ではなく < を使う,&... の最後に ; を付けない + 等)があると,悲惨な結果になることがあります. - Ⱦѥ(JIS X-0201)бƤޤ + 半角カナ(JIS X-0201カナ)に対応していません. htmldump - URL HTMLʸɤߡ󥫡ֹ򿶤äɸϤ - 񤭽Фޤ + URL からHTML文書を読み,アンカーに番号を振って整形し,標準出力に + 書き出します. - ˡ + 使用法 dumphtml [URL] - URL άȡ$WWW_HOME Ƥɤߤޤ + URL を省略すると,$WWW_HOME の内容を読みます. - Х + バグ - URL λؤʸHTMLǤʤä硤襤ʤȤˤʤޤ - makeref ȤäƤΤǡmakeref ޤǤʤʸɽ - Ѥˤʤޤ + URL の指す文書がHTMLでなかった場合,かわいそうなことになります. + makeref を使っているので,makeref がうまく処理できない文書の表示 + は変になります. diff --git a/Bonus/README.eng b/Bonus/README.eng index 2f7507d..f7b1b1c 100644 --- a/Bonus/README.eng +++ b/Bonus/README.eng @@ -3,7 +3,7 @@ [w3m-dev 03635] 2ch.cgi localcgi to read 2ch dat directly - w3m file:/cgi-bin/2ch.cgi?http://pc.2ch.net/test/read.cgi/unix/1035755937/ + w3m file:/cgi-bin/2ch.cgi?http://toro.2ch.sc/test/read.cgi/unix/1185784998/ It uses wget -c. `dat' files are recorded under ~/w3m2ch/. diff --git a/Bonus/goodict.cgi b/Bonus/goodict.cgi index 8f443c1..5fb6581 100755 --- a/Bonus/goodict.cgi +++ b/Bonus/goodict.cgi @@ -1,14 +1,20 @@ #!/usr/bin/perl # ~/.w3m/urimethodmap -# e: file:/cgi-bin/goodict.cgi?%s -# w: file:/cgi-bin/goodict.cgi?%s -# j: file:/cgi-bin/goodict.cgi?%s +# e: file:/cgi-bin/goodict.cgi?%s Englich-Japanese +# w: file:/cgi-bin/goodict.cgi?%s Japanese-English +# j: file:/cgi-bin/goodict.cgi?%s Japanese +# a: file:/cgi-bin/goodict.cgi?%s All +# +# e:0:word start with word +# e:1:word perfect match +# e:2:word end with word +# e:3:word search body text +# e:6:word search title +# e:word perfect match -use NKF; -#$mode = 0; # substring -$mode = 1; # perfect match -#$mode = 3; # search body text +use Encode; +use Encode::Guess qw/euc-jp utf8/; $url = "http://dictionary.goo.ne.jp"; $_ = $ENV{"QUERY_STRING"}; if (/^e:/) { @@ -17,14 +23,22 @@ if (/^e:/) { $kind = 'je'; } elsif (/^j:/) { $kind = 'jn'; +} elsif (/^a:/) { + $kind = 'all' +} +s@^[ewja]:@@ && s@^//@@ && s@/$@@; +if (/^([01236]):/) { + $mode=$1; + s/^[01236]://; +}else{ + $mode="1"; } -s@^[ewjs]:@@ && s@^//@@ && s@/$@@; if ($_) { s/\+/ /g; s/%([\da-f][\da-f])/pack('C', hex($1))/egi; - $_ = nkf("-e", $_); + $_ = encode("utf8", decode("Guess", $_)); s/[\000-\040\+:#?&%<>"\177-\377]/sprintf('%%%02X', unpack('C', $&))/eg; - $url .= "/search.php?MT=$_&kind=$kind&mode=$mode"; + $url .= "/srch/$kind/$_/m$mode"."u/"; } else { $input = "w3m-control: GOTO_LINK"; } diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..3708100 --- /dev/null +++ b/COPYING @@ -0,0 +1,11 @@ +(C) Copyright 1994-2002 by Akinori Ito +(C) Copyright 2002-2011 by Akinori Ito, Hironori Sakamoto, Fumitoshi Ukai + +Use, modification and redistribution of this software is hereby granted, +provided that this entire copyright notice is included on any copies of +this software and applications and derivations thereof. + +This software is provided on an "as is" basis, without warranty of any +kind, either expressed or implied, as to any matter including, but not +limited to warranty of fitness of purpose, or merchantability, or +results obtained from use of this software. diff --git a/ChangeLog b/ChangeLog index 88358ef..663fbc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9322 +1,2068 @@ -2012-05-22 Tatsuya Kinoshita +2021-01-02 Tatsuya Kinoshita - * [w3m-dev 04451] w3m/entity.h should be removed when `make clean' - * Makefile.in: add entity.h to "make clean" target. + * NEWS: Update NEWS for 0.5.3+git20210102. -2012-05-22 Tatsuya Kinoshita +2020-12-19 Tatsuya Kinoshita - * [w3m-dev 04452] Re: w3m on macosx 10.6.6 - * doc/w3m.1, doc/STORY.html, doc-jp/STORY.html: - delete words about formerly included Boehm GC library. + * doc-jp/README.siteconf, doc/README.siteconf: + Add examples of siteconf, set user_agent to Googlebot for Twitter. -2012-05-22 Enu +2020-12-18 Tatsuya Kinoshita - * file.c, HTML.c: parse META CHARSET. + * po/zh_TW.po: Update PO-Revision-Date for zh_TW. -2011-01-17 Dai Sato +2020-12-18 Ambrose Li - * correction: ChangeLog of 2011-01-15 (0.5.2 -> 0.5.3) + * file.c: q_level was never initialized, causing random test failures. + This should fix that. + Origin: https://github.com/tats/w3m/pull/159 -2011-01-15 Dai Sato + * po/zh_TW.po: Translate new string. + Origin: https://github.com/tats/w3m/pull/158 - * w3m 0.5.3 - * version.c.in: update - * doc/README: version 0.5.3, release date, maintainer - * doc-jp/README: ditto - * po/w3m.pot, ja.po: ditto - * NEWS: update - * configure.ac: version 0.5.3 - * configure: regenerated +2020-12-17 Tatsuya Kinoshita -2011-01-05 SAKAI Kiyotaka + * doc-jp/README.siteconf, doc/README.siteconf: + Update examples of siteconf, forward twitter.com to nitter.net. + Because mobile.twitter.com without JavaScript is unusable anymore. - * [w3m-dev 04445] Re: Update documents (README.cookie) - * doc-jp/README.cookie: refer to RFC 2109. - * doc/README.cookie: diito. +2020-12-16 Tatsuya Kinoshita -2011-01-05 SAKAI Kiyotaka + * url.c: Use the default ciphers for OpenSSL 1.1 and later. + cf. https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/1325674 + https://src.fedoraproject.org/rpms/w3m/blob/36f14df378762a3a03a6a724583ca5b0ff618ed5/f/Fix-the-cipher-list-string-to-ensure-that-it-contain.patch + https://fedoraproject.org/wiki/Packaging:CryptoPolicies - * [w3m-dev 04444] Re: error when 'make install' - * w3mimg/win/.cvsignore: added. +2020-12-09 bptato -2011-01-04 SAKAI Kiyotaka + Small Gopher fixes/improvements + Origin: https://github.com/tats/w3m/pull/157 - * [w3m-dev 04441] error when 'make install' - * update followig files. ABOUT-NLS Makefile.in acinclude.m4 - aclocal.m4 config.rpath configure configure.ac entity.h install-sh - po/ChangeLog po/Makefile.in.in po/Rules-quot po/boldquot.sed - po/en@boldquot.header po/en@quot.header po/insert-header.sin - po/quot.sed po/remove-potcdate.sin + * file.c: Fix Gopher binaries causing w3m to be stuck in download mode; + try to guess Gopher image type and fallback to png. -2010-12-28 Ito Hiroyuki - - * [w3m-dev 04440] Update documents (README.cookie) - * doc/README.cookie: added. - * doc-jp/README.cookie: add document about cookie_avoid_wrong_number_of_dots. - -2010-12-24 Ito Hiroyuki + * file.c, url.c: Add support for Gopher items 5 and I. - * [w3m-dev 04439] Update documents (README.m17n) - * doc-jp/README.m17n: add documents for options "east_asian_width", "gb18030_as_ucs" and "simple_preserve_space". - * doc/README.m17n: ditto. - -2010-12-24 AIDA Shinra - - * [w3m-dev 04437] Re: Windows版w3mimg、他 - * w3mimg/win/win_w3mimg.cpp: remove unused ifdefs. - (load, animate): support "-anim" option. - (show): support "image_scale". - -2010-12-20 AIDA Shinra +2020-11-24 Tatsuya Kinoshita - * [w3m-dev 04425] Re: Windows版w3mimg、他 - * w3mimgdisplay: supports Windows console (http://www.j10n.org/files/w3m-cvs-1.1040-misc.patch). - * image.c: ditto. - * configure.ac: ditto. - * config.h.in: ditto. - * acinclude.m4: ditto. - * Makefile.in: ditto. - * w3mimg/w3mimg.h: ditto. - * w3mimg/w3mimg.c: ditto. - * w3mimg/Makefile.in: ditto. - * doc/README.img: ditto. - * doc-jp/README.img: ditto. - * w3mimgdisplay.c (main): call "w_op->close(w_op)" before exit. - * w3mimg/win/win_w3mimg.cpp: added. - * w3mimg/win/Makefile.in: added. + * po/POTFILES.in, po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po: + * po/zh_TW.po: Update PO. -2010-12-20 Ito Hiroyuki + * configure: Update configure by autoconf 2.69. - * doc/README.img: add documents about some options. - * doc-jp/README.img: ditto. + * config.h.dist, config.h.in, configure, configure.ac: + Define X_DISPLAY_MISSING when configure --without-x for Imlib2. + cf. https://github.com/NixOS/nixpkgs/commit/3cad8fba2958981307f94b865c2b970b95e10789 -2010-12-15 AIDA Shinra +2020-11-22 Tatsuya Kinoshita - * [w3m-dev 04424] Windows版w3mimg、他 - * scripts/w3mman/Makefile.in (DESTDIR): removed. - * scripts/multipart/Makefile.in (DESTDIR): removed. - * scripts/Makefile.in (DESTDIR): removed. - * url.c (add_index_file): can specify multiple files as an index file for directories. - * mktable.c (defhashfunc): fi indent of output. - * ftp.c (ftp_login): support IPv6. - * file.c (is_text_type): check if the type is "application/xhtml". - * Makefile.in (DESTDIR): removed. - (GC_LIBS): added. - (EXT_LIBS): use "GC_LIBS". - (entity.h): depend on entity.tab and mktable$(EXT). - (indep.o): depend on entity.h - (mktable$(EXT)): depend on Str.o, hash.o and myctype.o instead of $(ALIB). + * gitlog2changelog: Update example to use UTC for gitlog2changelog. -2010-12-15 Kazuhiko + * acinclude.m4, config.h.dist, config.h.in, configure, configure.ac: + Drop HAVE_SYS_ERRLIST. - * [w3m-dev 04419] AC_W3M_EXTLIBS does not check /lib64 - * acinclude.m4 (AC_W3M_EXTLIBS): search /lib64 and /usr/lib64. +2020-11-22 Parag A Nemade -2010-12-11 theme.of.n@gmail.com - - * [w3m-dev 04421] Patch to prevent sending `Referer: ' header from HTTPS to HTTP - * url.c (otherinfo): Don't send Referer: if https:// -> http:// - -2010-10-11 d+w3m@vdr.jp - - * [w3m-dev 04414] Re: "normal" bugs from bugs.debian.org - * doc/w3m.1: add documents about some options. - * doc/FAQ.html: fix typo. - -2010-08-24 Karsten Schoelzel - - * [w3m-dev 04393] [patch] locale-related character management - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313365 - * libwc/map/ucs_isalpha.map: added - * libwc/map/ucs_islower.map: added - * libwc/map/ucs_isupper.map: added - * libwc/map/mk_ucs_case_map.pl: added - * libwc/map/ucs_case.map: added - * libwc/map/mk_ucs_isdigit_map.pl: added - * libwc/map/ucs_isdigit.map: added - * libwc/ucs.c (wc_any_to_ucs): ceck if cc.ccs == WC_CCS_US_ASCII - (wc_is_ucs_alpha, wc_is_ucs_digit, wc_is_ucs_alnum) - (wc_is_ucs_lower, wc_is_ucs_upper, wc_ucs_toupper) - (wc_ucs_tolower, wc_ucs_totitle): added - * regex.c (match_longchar, match_range_longchar): use wc_any_to_ucs(), wc_ucs_tolower(), wc_ucs_toupper() and wc_ucs_totitle() - * main.c (nextChar, prevChar, getChar, is_wordchar): added - (movLW): use prevChar() and is_wordchar() - (movRW): use nextChar() and is_wordchar() - (getCurWord): remove 4th parameter - (getCurWord): use prevChar(), nextChar() and is_wordchar() - -2010-08-20 Karsten Schoelzel - - * [w3m-dev 04401] Re: mailto with options handling - * rc.c: Introduce option mailto_options - * main.c (handleMailto): added - (followA, cmd_loadURL): use handleMailto() - * fm.h (MAILTO_OPTIONS_USE_W3MMAILER, MAILTO_OPTIONS_IGNORE) - (MAILTO_OPTIONS_USE_MAILTO_URL): added - -2010-08-20 Ito Hiroyuki - - * [w3m-dev 04402] Re: "normal" bugs from bugs.debian.org - * terms.c (reset_exit_with_value, reset_error_exit): added - (reset_exit): use reset_exit_with_value() - (ttymode_set, ttymode_reset, set_cc, getTCstr) - (sleep_till_anykey): use reset_error_exit() instead of reset_exit() - -2010-08-14 "Adam C. Emerson" - - * [w3m-dev 04390] - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573789 - * html.c: All elements have the id attribute. - -2010-08-12 Peter J. R. Moulder - - * [w3m-dev 04384] - * http://sourceforge.net/tracker/index.php?func=detail&aid=2987194&group_id=39518&atid=425441 - * html.c: some tags have ALST_NOP attribute - * tagtable.tab: add and - * html.h (HTML_SPAN, HTML_N_SPAN): added - -2010-08-11 SAKAI Kiyotaka + * config.h.in: + Fix compilation error "too few arguments to function 'longjmp'". + Origin: https://src.fedoraproject.org/rpms/w3m/c/e7a12fa28cfbfbb0115ec74994092c1d3b8351d8?branch=master + Bug-MacPorts: https://trac.macports.org/ticket/61356 - * [w3m-dev 04381] Re: check socklen_t - * ftp.c: fix condition (#ifndef HAVE_SOCKLEN_T) +2020-11-22 Parag Nemade -2010-08-10 Ito Hiroyuki + * etc.c, main.c: Fix FTBFS due to redefinition of sys_errlist. + Origin: https://src.fedoraproject.org/rpms/w3m/c/99f30870caac12a3949b6736aa70b7233f4414d5?branch=master + Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1038009 + Bug-MacPorts: https://trac.macports.org/ticket/61356 - * [w3m-dev 04379] check socklen_t - * configure.ac: check socklen_t - * ftp.c (ftp_login, ftp_pasv): use socklen_t instead of int +2020-11-15 Tatsuya Kinoshita -2010-08-09 Ito Hiroyuki + * gitlog2changelog: + Include gitlog2changelog to easily generate ChangeLog. - * [w3m-dev 04374] Re: "important" bugs from bugs.debian.org - * table.c (feed_table_tag): don't show message when rowspan is greater than ATTR_ROWSPAN_MAX - * [w3m-dev 04376] Re: "important" bugs from bugs.debian.org - * table.c (feed_table_tag): fix indent + * Makefile.in: Use xz instead of gzip for the dist target. -2010-08-08 Steven Harms +2020-11-12 Tatsuya Kinoshita - * [w3m-dev 04371] Re: "important" bugs from bugs.debian.org - * https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/131993 - * table.c (ATTR_ROWSPAN_MAX): added - (feed_table_tag): maximum value of rowspan is ATTR_ROWSPAN_MAX + * Makefile.in: Update the dist target to use git archive. -2010-08-08 d+w3m@vdr.jp + * Bonus/README, Bonus/README.eng: Update examples for 2ch.cgi. - * [w3m-dev 04360] Re: "important" bugs from bugs.debian.org - * main.c (main): use DEFAULT_COLS - (main): the maximum value of the -cols option is MAXIMUM_COLS - * backend.c (backend): use DEFAULT_COLS - * fm.h (MAXIMUM_COLS, DEFAULT_COLS): added + * Bonus/2ch.cgi: Add charset=Shift_JIS to 2ch.cgi. -2010-08-04 Ito Hiroyuki +2020-11-11 Tatsuya Kinoshita - * [w3m-dev 04369] Re: w3m's bugs from bugs.debian.org - * terms.c (graph_ok): fix condition (UseGraphicChar != GRAPHIC_CHAR_DEC) - * symbol.c (get_symbol): fix condition (UseGraphicChar != GRAPHIC_CHAR_ASCII) - * rc.c (params1): type of graphic_char option is PI_SEL_C - * main.c (main): use GRAPHIC_CHAR_ASCII and GRAPHIC_CHAR_DEC instead of FALSE and TRUE - * fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_DEC, GRAPHIC_CHAR_CHARSET): added + * file.c, proto.h: + Fix compilation errors when USE_GOPHER and not USE_M17N. -2010-08-03 d+w3m@vdr.jp +2020-11-11 bptato - * [w3m-dev 04363] Re: w3m's bugs from bugs.debian.org - * doc/w3m.1: revert option -S - * doc-jp/w3m.1: revert option -S, -e, -j and -s - * main.c: remove codes for Debian + Support Gopher search and binary files. + Origin: https://github.com/tats/w3m/pull/154 -2010-08-03 Ito Hiroyuki + * url.c: Remove useless loop. - * [w3m-dev 04343] - * file.c (loadGeneralFile): register user name and password for proxy authentication. - * url.c (HTTPrequest): unused variable seen_proxy_auth was removed - * fm.h: global variables proxy_auth_cookie and pauth are removed - * main.c (main): remove option -pauth - * doc/MANUAL.html: ditto - * doc-jp/MANUAL.html: ditto - * doc-jp/w3m.1: ditto - * doc/w3m.1: ditto - * doc/README.passwd: added - * doc-jp/README.passwd: added + * file.c: Remove unnecessary file_unquote call. -2010-07-31 Tatsuya Kinoshita + * url.c: Remove unnecessary variable assignment. - * [w3m-dev 04350] Re: w3m's bugs from bugs.debian.org - * file.c (process_img): Revert the change of using ATTR_TITLE if ATTR_ALT is empty. + * file.c, proto.h, url.c: + Support Gopher items search (7) and binary file (9). -2010-07-30 Ito Hiroyuki +2020-10-24 Tatsuya Kinoshita - * [w3m-dev 04348] Re: "important" bugs from bugs.debian.org - * file.c (TEXTAREA_ATTR_COL_MAX, TEXTAREA_ATTR_ROWS_MAX): added. - (process_textarea): check cur_textarea_size > TEXTAREA_ATTR_COL_MAX and cur_textarea_rows > TEXTAREA_ATTR_ROWS_MAX + * acinclude.m4, configure: Enable Gopher support by default. -2010-07-30 Ito Hiroyuki +2020-10-24 bptato - * [w3m-dev 04345] Re: "important" bugs from bugs.debian.org - * file.c (HR_ATTR_WIDTH_MAX): added. - (process_hr): check w > HR_ATTR_WIDTH_MAX + Fix broken Gopher support. + Origin: https://github.com/tats/w3m/pull/152 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742455 -2010-07-26 d+w3m@vdr.jp + * file.c, url.c: + Moved back filetype indicator to the beginning of file names. - * [w3m-dev 04237] [patch] cookie avoid [wrong number of dots] - * rc.c: Introduce option cookie_avoid_wrong_number_of_dots. - * fm.h: add global variables cookie_avoid_wrong_number_of_dots and Cookie_avoid_wrong_number_of_dots_domains. - * cookie.c (check_avoid_wrong_number_of_dots_domain): added. - (add_cookie): use check_avoid_wrong_number_of_dots_domain(). + * file.c: Improved gopher directory display. -2010-07-26 Ito Hiroyuki + * file.c, url.c: Improved gopher support. - * acinclude.m4: define AC_W3M_SSL_DIGEST_AUTH +2020-09-28 Tatsuya Kinoshita -2010-07-25 AIDA Shinra + * scripts/w3mman/w3mman.in: Accept section "l" for w3mman. - * [w3m-dev 04049] Ctrl-C safe resolver - * fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_CHARSET, GRAPHIC_CHAR_ALL): removed. - * fm.h: UseGraphicChar is initialized as FALSE. - * main.c (sig_chld): use TRUE and FALSE instead of GRAPHIC_CHAR_ALL and GRAPHIC_CHAR_ASCII. - * merge ambiguous width patch ( http://www.j10n.org/files/w3m-cvs-1.914-ambwidth.patch ). +2020-09-25 Tatsuya Kinoshita -2010-07-24 Ito Hiroyuki + * scripts/w3mman/w3mman.in: + Assume a local file if the argument contains slash for w3mman. - * [w3m-dev 04326] suppress compile warnings - * file.c (digest_hex): type of the parameter s is "unsigned char *". - (AuthDigestCred): use unsigned char. - (ex_efct): type of the function is "static int". +2020-09-25 Dustin Boyd -2010-07-20 Sascha Silbe + * scripts/w3mman/w3mman2html.cgi.in: Remove -l flag in CGI script. + Origin: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217947&action=diff + Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249305 - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523159#5 - * url.c (openSSLHandle): add support for TLS SNI (Server Name Indication) +2020-09-15 Tatsuya Kinoshita -2010-07-19 Karsten Schoelzel + * .cvsignore, libwc/.cvsignore, po/.cvsignore, scripts/.cvsignore: + * scripts/multipart/.cvsignore, scripts/w3mman/.cvsignore: + * w3mimg/.cvsignore, w3mimg/fb/.cvsignore, w3mimg/win/.cvsignore: + * w3mimg/x11/.cvsignore: Remove .cvsignore. - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329862#20 - * table.c (feed_table_tag): check displayLinkNumber. - * proto.h: add getLinkNumberStr(). - * main.c (do_dump): check displayLinkNumber. - * fm.h: add global variable displayLinkNumber. - * file.c (getLinkNumberStr): added. - (process_input, process_select, HTMLtagproc1): check displayLinkNumber. + * .gitignore: Add .gitignore. -2010-07-19 Karsten Schoelzel +2020-09-15 Bruno Haible - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329863#8 - * rc.c: Introduce option pseudo_inlines. - * fm.h: add global variable pseudoInlines. - * file.c (process_img): check q. + * url.c: Add support for file://hostname/... URLs. + Origin: https://github.com/tats/w3m/files/3488813/file-hostname-support.diff.gz + Bug-Debian: https://github.com/tats/w3m/issues/120 -2010-07-19 "Trent W. Buck" +2020-09-06 Tatsuya Kinoshita - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537706#10 - * rc.c (interpret_rc): check line->length before call Strchop(). + * README, doc-jp/README, doc/README: Mention forked version. -2010-07-19 Karsten Schoelzel + * configure, configure.ac, doc-jp/README, doc/README, po/Makevars: + * po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po: + Drop bug report address. - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366284#5 - * rc.c (init_rc): check config_file is NULL or not. - (panel_set_option): check config_file instead of no_rc_dir. + * ChangeLog: Move old ChangeLog entries to ChangeLog.1. + * ChangeLog.1: New file. -2010-07-19 Karsten Schoelzel +2020-09-02 bptato - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261174#10 - * terms.c (graph_ok): check UseGraphicChar is GRAPHIC_CHAR_ALL or not. - * symbol.c (get_symbol): check UseGraphicChar. - * rc.c (graphic_char_str): added. - * main.c (sig_chld): use GRAPHIC_CHAR_ASCII and GRAPHIC_CHAR_ALL. - * fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_CHARSET, GRAPHIC_CHAR_ALL): added. - * fm.h: UseGraphicChar is initialized as GRAPHIC_CHAR_ASCII. + New option space_autocomplete. -2010-07-19 Karsten Schoelzel + * linein.c: + Add closing bracket I somehow forgot about in the previous commit. + Origin: https://github.com/tats/w3m/pull/150 - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185006#22 - * main.c (sig_chld): save exit code to d->err. - (addDownloadList): initialize d->running and d->err. - (DownloadListBuffer): check d->err. + * fm.h, linein.c, rc.c: Space is now entered in URL fields instead of + triggering file completion, old behavior can be toggled via options. + Origin: https://github.com/tats/w3m/pull/149 - * fm.h (_DownloadList): add running and err. +2020-09-01 Tatsuya Kinoshita - * file.c (save2tmp): check returned value of Strfputs(). - (doFileSave): exit code is depend on the returned value of save2tmp(). + * scripts/w3mhelp-funcdesc.ja.pl.in: + Fix broken Japanese help page, convert to UTF-8. -2010-07-19 d+w3m@vdr.jp + * doc-jp/README.func: Add CURSOR_* commands to Japanese README.func. - * [w3m-dev 04238] [patch] simple preserve space - * rc.c: Introduce option simple_preserve_space. - * fm.h: add global variable SimplePreserveSpace. - * file.c (HTMLlineproc0): check SimplePreserveSpace. +2020-08-31 bptato -2010-07-18 Karsten Schoelzel + New commands CURSOR_TOP, CURSOR_MIDDLE and CURSOR_BOTTOM. + Origin: https://github.com/tats/w3m/pull/148 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242599#21 - * file.c (is_html_type): added. - (examineFile, loadGeneralFile, _saveBuffer) - (openGeneralPagerBuffer, reloadBuffer): use is_html_type() instead - of strcasecmp(). - (loadGeneralFile): set f.guess_tupe - * display.c (displayBuffer): use is_html_type() instead of strcasecmp(). - * buffer.c (reshapeBuffer): use is_html_type() instead of strcasecmp(). - * backend.c (internal_get): use is_html_type() instead of strcasecmp(). - * main.c (vwSrc, reload, dispI, stopI): use is_html_type() instead of strcasecmp(). - * proto.h: add is_html_type() - * url.c: add "xhtml" to DefaultGuess. + * main.c: Removed an unnecessary variable declaration. -2010-07-18 Hironori SAKAMOTO + * scripts/w3mhelp.cgi.in: Added the other two commands to w3mhelp. - * [w3m-dev 04286] Re: break textform when buffer back - * form.c (form_update_line): set line->size + * doc-de/README.func, doc/README.func, main.c, proto.h: + * scripts/w3mhelp.cgi.in: + New commands for moving to the top, middle and bottom of buffer. -2010-07-18 d+w3m@vdr.jp +2020-08-31 Tatsuya Kinoshita - * [w3m-dev 04319] Re: w3m's bugs from bugs.debian.org - * doc/w3m.1: fix typo. - * doc-jp/w3m.1: update + * w3m-doc/README.html, w3m-doc/community.html.in: + * w3m-doc/configuration.html.in, w3m-doc/contain.wd: + * w3m-doc/copyright.html.in, w3m-doc/define.wd, w3m-doc/detail.html.in: + * w3m-doc/development.html.in, w3m-doc/faq.html.in: + * w3m-doc/function.html.in, w3m-doc/index.html.in: + * w3m-doc/install.html.in, w3m-doc/mkdocs, w3m-doc/operation.html.in: + * w3m-doc/outline.html.in, w3m-doc/prologue.html.in: + * w3m-doc/sample/README, w3m-doc/sample/define.wd: + * w3m-doc/sample/html.wd, w3m-doc/sample/keymap.cgi: + * w3m-doc/sample/s.wd, w3m-doc/sample/sample.html: + * w3m-doc/sample/sample.wd, w3m-doc/sample/w3mdoc.pl: + * w3m-doc/w3mdoc.pl: Drop obsolete w3m-doc. -2010-07-18 Petr Salinger - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486 - * terms.c: fix version check logic for FreeBSD +2020-08-29 Ambrose Li -2010-07-18 Colin Watson - * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325699 - * scripts/w3mman/w3mman2html.cgi.in (Content-Type): "MAN_KEEP_FORMATTING=1" + * file.c, html.c, html.h, tagtable.tab: + Rudimentary support for the section tag + Origin: https://github.com/tats/w3m/pull/147 -2010-07-18 Ludwig Nussel - * http://www.openwall.com/lists/oss-security/2010/06/14/4 - * istream.c (ssl_check_cert_ident): replace \0 to make full string - visible to user (CVE-2010-2074). + * file.c: + Somehow the wrong quotes were used. This should fix the failing tests. + Origin: https://github.com/tats/w3m/pull/139/commits/b9488ffe60963349bf622a7548e3b9dccc6e0728 -2007-06-07 Hironori Sakamoto + * po/zh_TW.po: Missed the spurious (_S). + Origin: https://github.com/tats/w3m/pull/145/commits/5d7fb3719e1308d56e5505ab67160b6d8fae34b0 - * [w3m-dev 04279] charset - * libwc/ces.h, libwc/charset.c: set charset to Shift_JIS, when locale - is japanese, jp_JP.PCK, ja_JP.IBM-932, ja_JP.IBM-943, or windows-31j. +2020-08-24 Ambrose Li -2007-06-07 Hironori Sakamoto + * etc.c, file.c, fm.h, html.c, html.h, tests/a1.expected: + * tests/a1.html, tests/a2.expected, tests/a2.html, tests/run_tests: + Make w3m's handling of the a element HTML5 compatible (when the stream + is HTML5). + In HTML5 anchors should not be closed when encountering divs, for + example, but should be closed when encountering buttons, for example. + This also fixes a bug in the tokenizing FSM in etc.c that prevented + the !doctype element from being recognized; the fix is necessary + because HTML5 detection dependson checking the !doctype element. + Origin: https://github.com/tats/w3m/pull/146 + Bug: https://sourceforge.net/p/w3m/patches/74/ + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290460 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847875 - * [w3m-dev 04278] Re: segfault on CentOS4.5/libgc6.8 - * term.c: add handling xterm-incompatible terminals without gpm. + * po/zh_TW.po: Corrections to traditional Chinese translation, + including corrections of a number of serious errors. + Origin: https://github.com/tats/w3m/pull/145 -2007-06-04 Hironori Sakamoto +2020-08-23 Ambrose Li - * [w3m-dev 04271] vi_prec_num - * main.c: make number prefixes working when vi_prec_num=0. + * entity.c, file.c, fm.h, tests/name_entity_1.expected: + * tests/name_entity_1.html, tests/name_entity_1.opts: + * tests/name_entity_2.expected, tests/name_entity_2.html: + * tests/q1.expected, tests/q1.html, tests/q1.opts, tests/q2.expected: + * tests/q2.html, tests/q3.expected, tests/q3.html, tests/q3.opts: + * tests/q4.expected, tests/q4.html, tests/q4.opts, tests/q5.expected: + * tests/q5.html, tests/q6.expected, tests/q6.html, tests/q6.opts: + * tests/run_tests: Changes the behaviour of the q tag (when m17n and + Unicode are configured) to use "smart" quotes if the display charset + can handle them. Falls back to old behaviour (ASCII quotes with + left/right quote semantics for 6/0 and 2/6) if display charset is + us-ascii. Also changes the behaviour of conv_entity() to convert + left/right quotes and some dashes because named entities are needed + for the new code for the q tag. + Origin: https://github.com/tats/w3m/pull/139 -2007-05-31 Dai Sato +2020-08-23 Tatsuya Kinoshita - * w3m 0.5.2 - * version.c.in: update - * doc/README: version 0.5.2, release date, maintainer - * doc-jp/README: ditto - * po/w3m.pot, ja.po: ditto - * NEWS: update - * configure.ac: version 0.5.2 - * configure: regenerated + * html.c: Add TFLG_END to "/sup", "/sub" and "/figure" for TagMAP. -2007-05-31 Tsutomu OKADA +2020-08-21 Ambrose Li - * [20070530101431@w3mbbs] Re: road to 0.5.2 - * ftp.c: fix typo. - * main.c, mktable.c, w3mbookmark.c, w3mhelperpanel.c: add GC_INIT(). + * file.c, html.c, html.h, tagtable.tab: + Rudimentary support for figure, figcaption. + Origin: https://github.com/tats/w3m/pull/136 -2007-05-30 Hironori Sakamoto +2020-08-02 David Spickett - * [w3m-dev 04266] Bug fix when tab browsing - * fm.h, main.c: fix for tab browsing. + * scripts/w3mhelp.cgi.in: + Show keyboard shortcuts in a consistent order in help. + Origin: https://github.com/tats/w3m/pull/134 + Bug-Debian: https://github.com/tats/w3m/issues/133 -2007-05-30 Hironori Sakamoto +2020-07-11 Bjarni Ingi Gislason - * [w3m-dev 04265] compile error when #undef USE_BG_COLOR - * terms.c: add #ifdef __CYGWIN__. + * doc/w3m.1: Fix some source formatting in the manual. + - Begin a sentence on a new line. + - Split long lines (> 80). + - Fix warnings from "mandoc -Tlint". + - Remove space at end of lines. + - Change a HYPHEN-MINUS (code 0x55, 2D) to a dash (minus) if it matches + " -[:alpha:]" or \[aq]-[:alpha:] (for options). + - Use the macros .MT/.ME for e-mail addresses. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963801#5 -2007-05-30 Hironori Sakamoto +2020-05-07 Shun Sakai - * [w3m-dev 04264] Re: road to 0.5.2 - * po/makefile.in.in, scripts/*/Makefile.in: add datarootdir. + * Bonus/README, doc-jp/FAQ.html, doc-jp/HISTORY, doc-jp/MANUAL.html: + * doc-jp/README, doc-jp/README.SSL, doc-jp/README.cookie: + * doc-jp/README.cygwin, doc-jp/README.dict, doc-jp/README.func: + * doc-jp/README.img, doc-jp/README.keymap, doc-jp/README.m17n: + * doc-jp/README.mailcap, doc-jp/README.menu, doc-jp/README.migemo: + * doc-jp/README.mouse, doc-jp/README.passwd, doc-jp/README.pre_form: + * doc-jp/README.siteconf, doc-jp/README.tab, doc-jp/STORY.html: + * doc-jp/menu.default, doc-jp/menu.submenu, doc-jp/w3m.1: + * scripts/bm2menu/README, scripts/multipart/README: + * scripts/w3mman/README, w3m-doc/README.html: + * w3m-doc/community.html.in, w3m-doc/configuration.html.in: + * w3m-doc/copyright.html.in, w3m-doc/detail.html.in: + * w3m-doc/development.html.in, w3m-doc/faq.html.in: + * w3m-doc/function.html.in, w3m-doc/index.html.in: + * w3m-doc/install.html.in, w3m-doc/operation.html.in: + * w3m-doc/outline.html.in, w3m-doc/prologue.html.in: + * w3m-doc/sample/README, w3m-doc/sample/define.wd, w3m-doc/sample/s.wd: + * w3m-doc/sample/sample.html, w3m-doc/sample/sample.wd: + * w3mhelp-lynx_ja.html.in, w3mhelp-w3m_ja.html.in: + * w3mimg/fb/readme.txt: + Change the encoding of the Japanese docs to UTF-8. -2007-05-29 Hironori Sakamoto + * COPYING: Add COPYING file. - * [w3m-dev 04262] FreeBSD sysmouse (Re: road to 0.5.2) - * configure.ac: unbreak sysmouse support, pointed out by - Travis Poppe . - * configure: regenerated. +2020-05-02 Tatsuya Kinoshita -2007-05-29 Hironori Sakamoto + * NEWS: Update NEWS for 0.5.3+git20200502. - * [w3m-dev 04260] Warning (Re: road to 0.5.2) - * main.c, display.c: delete unused macros, change void to static void. +2020-03-27 Roland Illig -2007-05-29 Hironori Sakamoto + * main.c: Fix -Wchar-subscripts. + Origin: http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/www/w3m/patches/patch-main.c?rev=1.1&content-type=text/plain + Bug: https://sourceforge.net/p/w3m/patches/76/ - * [w3m-dev 04259] long long (Re: road to 0.5.2) - * Makefile.in, aclocal.m4: move 'gc' from $LIBS to $LIBGC. - * configure: regenerated. +2020-03-16 Tatsuya Kinoshita -2007-05-29 Hironori Sakamoto + * doc-de/MANUAL.html, doc/MANUAL.html: Update documents for GOTO_HOME. - * [w3m-dev 04256] Re: road to 0.5.2 - * scripts/Makefile.in, scripts/w3mhelp.cgi.in: add datarootdir. + * doc-de/README.func, doc-jp/README.func, doc-jp/keymap.default: + * doc/README.func, doc/keymap.default, scripts/w3mhelp.cgi.in: + Add GOTO_HOME to the help page. -2007-05-28 Hideyuki SHIRAI +2020-03-11 Tatsuya Kinoshita - * [w3m-dev 04251] Re: road to 0.5.2 - * po/w3m.pot: pot-update. + * doc-jp/README.SSL, po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po: + * po/zh_TW.po, rc.c: Update documents for ssl_forbid_method. -2007-05-27 Hiroyuki Ito + * url.c: Extend ssl_forbid_method for TLSv1.2 and TLSv1.3. - * [w3m-dev 04252] Re: road to 0.5.2 - * Makefile.in: add datarootdir for Autoconf 2.60 and later. +2020-01-13 We're Yet <58348703+butwerenotthereyet@users.noreply.github.com> -2007-05-23 NOKUBI Takatsugu + * keybind.c, main.c, proto.h: Add command to go home. + Origin: https://github.com/tats/w3m/pull/124 - * [w3m-dev 04155] w3m mingw patch - * config.h, configure.ac, etc.c, file.c, ftp.c, indep.c, istream.c, - local.c, main.c, rc.c, terms.c, url.c: fix for minpw, except for - deleting nsl and dl from configure.ac. - * configure: regenerated. +2019-11-10 Kyle J. McKay -2007-05-23 Hiroyuki Ito + * entity.tab, indep.c, indep.h: Support ' entity. + Origin: https://github.com/tats/w3m/pull/122 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927409 - * [w3m-dev 04233], [w3m-dev 04236] Re: , , , and so on - * file.c, fm.h, po/ja.po, po/w3m.pot, rc.c, table.c: - expand display_ins_del to select a type of fontify. +2019-07-02 Tatsuya Kinoshita -2007-05-23 Hiroyuki Ito + * doc-jp/README.siteconf: Update doc-jp for user_agent in siteconf. - * [w3m-dev 04242] Re: Compile error when --without-ssl - * aclocal.m4, configure.ac: add checking ssl before digest_auth. - * configure: regenerated. +2019-07-01 Azure -2007-05-23 Hironori Sakamoto + * doc/README.siteconf, fm.h, rc.c, url.c: + Allow setting User Agent in Siteconf. + Origin: https://github.com/tats/w3m/pull/119 - * [w3m-dev 04240] nl_langinfo() requires setlocale() - * fm.h, main.c, menu.c, rc.c: add "#ifdef"s. - * libwc/charset.c: add setlocale() for nl_langinfo(). +2019-04-21 Laurent Arnoud -2007-05-23 Hironori Sakamoto + * fm.h, main.c, url.c: Allow to override User-Agent with -header. + Origin: https://github.com/tats/w3m/pull/113 - * [w3m-dev 03923]
 in 
-	* file.c, table.c: avoid extra blanks in pre in table.
+2019-01-05  Tatsuya Kinoshita  
 
-2007-05-23  tamo
+	* NEWS: Update NEWS.
 
-	* [20070121110209@w3mbbs] unnecessary decoding in linein.c
-	* linein.c: decoding URLs in correct condition.
+	* config.guess, config.sub:
+	Update config.* with autotools-dev 20180224.1.
 
-2007-05-23  Tsutomu OKADA
+2019-01-05  Akinori Hattori  
 
-	* [20061228000713@w3mbbs] avoid warning for file.c
-	* html.h: change char to unsigned char for HTML_DL_COMPACT(133).
+	* w3mimg/fb/fb_imlib2.c: Fix dependency for Imlib2.
+	Bug-Gentoo: https://bugs.gentoo.org/605930
+	Origin: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d6e3e6839898829e8cce211b97a7fa77f5d06e
 
-2007-05-23  Hironori Sakamoto 
+2018-12-22  Tatsuya Kinoshita  
 
-	* [w3m-dev 04213] update Unicode characters' width
-	* libwc/ucs.c, libwc/ucs.h, libwc/map/ucs_wide.map: 
-	  catch-up to EastAsianWidth-5.0.0.txt.
+	* scripts/w3mman/w3mman.1.in, scripts/w3mman/w3mman.in:
+	Fix square brackets.
 
-2007-04-19  Hironori Sakamoto 
+2018-12-21  Nemo Inis  
 
-	* [w3m-dev 04212] quote URL of local dir
-	* local.c: quote URLs with non-ASCII local directory names.
+	* scripts/w3mman/w3mman.1.in, scripts/w3mman/w3mman.in:
+	* scripts/w3mman/w3mman2html.cgi.in:
+	w3mman support for section number during keyword search.
+	Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916968#5
 
-2007-04-19  Hironori Sakamoto 
+2018-10-26  Ben Wong  
 
-	* [w3m-dev 04211] input type=image
-	* file.c, html.[ch]: avoid conflicts between input_alt and img_alt.
-	  fix calculation of labeled line numbers when fold_line=1.
+	* buffer.c, display.c:
+	Fix that the MarkAllPages option works as originally intended.
+	Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911929
 
-2007-04-19  Hiroyuki Ito  
+2018-10-26  Tatsuya Kinoshita  
 
-	* [w3m-dev 04197] Re: italic text
-	* fm.h: display  and  elements with underline.
+	* istream.c, url.c: Indentation fix.
 
-2006-12-27  Fumitoshi UKAI  
+2018-10-24  Mark Wright  
 
-	* [SECURITY] fix format string vulnerability
-	* file.c (inputAnswer) fix format string bug
+	* istream.c, url.c: Do not use deprecated features with openssl-1.1.
+	Bug-Gentoo: https://bugs.gentoo.org/592510
+	Bug-Debian: https://github.com/tats/w3m/pull/103
 
-2006-12-07  Hiroyuki Ito  
+2018-05-20  Andrew Santosa  
 
-	* [w3m-dev 04185] Re: italic text
-	* file.c, fm.h, html.c, html.h, tagtable.tab:
-	  display  and  elements with bold letters.
+	* po/Makefile.in.in: Added check for : command not producing .gmo file.
+	Bug-Debian: https://github.com/tats/w3m/pull/99
 
-2006-12-07  Hideyuki SHIRAI  
+2018-03-24  Tatsuya Kinoshita  
 
-	* [w3m-dev 04184] automatic uncompression in downloading
-	* rc.c: Add `AutoUncompress'.
-	  (params3): Ditto.
-	* fm.h: Add `AutoUncompress'.
-	* file.c (loadGeneralFile): Check `AutoUncompress' when uncompress
-	  data.
-	  (HTMLlineproc2body): Ditto.
-	* po/w3m.pot: Add new message for `AutoUncompress'.
-	* po/ja.po: ditto.
+	* table.c: Respect simple_preserve_space for table cells.
+	Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893902
 
-2006-12-10  Hiroyuki Ito 
+2018-03-23  Mike  
 
-	* [w3m-dev 04159] Re: Is this mailing list still alive?
-	* cookie.c: accept invalid "set-cookies" headers
-	  when "domainName == .hostName".
+	Update grammar & spelling in some English READMEs.
+	Origin: https://github.com/tats/w3m/pull/97
 
-2006-12-10  noz
+	* doc/README.img: Update README.img.
+	* doc/README.dict: Update README.dict.
+	* doc/README.pre_form: Update README.pre_form.
+	* doc/README.cookie: Update README.cookie.
+	* doc/README.cookie: Update README.cookie.
 
-	* [20051124052846@w3mbbs] LiveHTTPHeaders
-	* file.c, fm.h, main.c, url.c: add -reqlog option which makes
-	  ~/.w3m/request.log like LiveHTTPHeaders of FireFox.
+2018-03-04  Jia Zhouyang  
 
-2006-08-07  Fumitoshi UKAI  
+	Fix crashes when some external APIs fail.
+	Origin: https://github.com/tats/w3m/pull/96
 
-	* mailcap.c (acceptableMimeTypes): change default accept: line
-	    w3m should prefer text/html to other text/*.
-	    reported as Debian Bug#374296
+	* url.c: Add error handling code for fopen.
+	Check the return code of fopen, and return when it fails.
+	* file.c: Add error handling code for fopen.
+	Check the return value of fopen, and add proper error handling code.
+	* local.c: Add error handling for chdir.
+	When chdir fails, print error message and exit.
 
-2006-06-12  Dai Sato  
+2018-01-25  Tatsuya Kinoshita  
 
-	* another fix for [w3m-dev-en 01067] Some more patches
-	* file.c (loadBuffer): avoid decoding when dump_extra option is specified.
+	* ChangeLog, NEWS: Add CVE IDs.
+	cf. https://security-tracker.debian.org/tracker/source-package/w3m
 
-2006-06-10  Dai Sato  
+2018-01-21  Tatsuya Kinoshita  
 
-	* fix for [w3m-dev-en 01067] Some more patches
-	* file.c (loadGeneralFile): avoid decoding when dump_extra option is specified.
+	* NEWS: Update NEWS.
 
-2006-06-10  Dai Sato  
+	* scripts/Makefile.in: Do not remove w3mdict.cgi when "make distclean".
 
-	* [w3m-dev 03992] Change to display progress status when dump_extra option is specified
-	* file.c (loadHTMLstream): Show progress status when dump_extra option is specified.
+	* config.h.dist, config.h.in, configure, configure.ac, main.c, rc.c:
+	Make temporary directory safely when ~/.w3m is unwritable.
+	Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888097
+	[CVE-2018-6198]
 
-2006-06-07  Dai Sato  
+	* rc.c: Suppress error messages when ~/.w3m is unwritable.
+	Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871425
 
-	* [w3m-dev 04129] handling newlines in form values 
-	* parsetagx.c: don't delete newlines in hidden values.
+2018-01-20  Tatsuya Kinoshita  
 
-2006-05-29  Dai Sato  
+	* config.guess, config.sub:
+	Update config.* with autotools-dev 20171216.1.
 
-	* [w3m-dev-en 01067] Some more patches
-	* file.c, html.h, url.c: decode content-encoding in all situations.
+	* table.c: Prevent negative indent value in feed_table_block_tag().
+	Bug-Debian: https://github.com/tats/w3m/issues/88 [CVE-2018-6196]
 
-2006-05-29  Dai Sato  
+2018-01-06  Tatsuya Kinoshita  
 
-	* [w3m-dev-en 01067] Some more patches
-	* main.c: delete calls to GC from wrap_GC_warn_proc to avoid deadlocks.
+	* doc-jp/README.SSL: Doc fix for ssl_forbid_method.
 
-2006-05-29  Dai Sato  
+	* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po, rc.c:
+	* url.c: Fix multi-character character constant for ssl_forbid_method.
 
-	* [w3m-dev-en 01067] Some more patches
-	* main.c: fix unsafe usages of SIGWINCH handler.
+2018-01-06  se  
 
-2006-05-29  Dai Sato  
+	* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po, rc.c:
+	* url.c: Extend ssl_forbid_method to disable TLSv1.1.
+	Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874218#5
 
-	* [w3m-dev-en 01067] Some more patches
-	* keybind(_lynx).c, doc(-jp)/keymap.default: add SHIFT-TAB as a default binding for PREV_LINK.
+2018-01-06  Tatsuya Kinoshita  
 
-2006-04-08  Dai Sato  
+	* w3mimg/fb/fb_w3mimg.c: Accept TERM=fbterm.
+	cf. https://bushowhige.blogspot.jp/2015/01/fbterm-w3m-img.html
+	Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590668
 
-	* [w3m-dev 04154] Unclosed textarea in table
-	* table.c: close textarea when table related tags found.
+2017-12-27  Tatsuya Kinoshita  
 
-2006-04-08  Dai Sato  
+	* form.c: Prevent invalid columnPos() call in formUpdateBuffer().
+	Bug-Debian: https://github.com/tats/w3m/issues/89 [CVE-2018-6197]
 
-	* [w3m-dev 04153] NEXT_LINK error
-	* anchor.c, filc.c, fm.h: check A tag in HTMLlineproc2body().
+	* main.c: Typo fix in fusage().
+	Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878106
 
-2006-04-08  Dai Sato  
+	* doc-jp/README.tab, doc/README.tab, main.c: English fix.
+	cf. [emacs-w3m:12706], http://emacs-w3m.namazu.org/ml/msg12598.html
 
-	* [w3m-dev 04152] [PATCH] Add more explanation for the usage of the option setting panel.
-	* doc(-jp)/FAQ.html, doc-jp/MANUAL.html: add explanations for .w3m/config and -o option.
+2017-12-24  HIGUCHI Daisuke (VDR dai)  
 
-2006-04-08  Dai Sato  
+	* scripts/w3mman/w3mman.1.in, terms.c: Fix spelling error.
 
-	* [w3m-dev 04150] vi-prec_num
-	* main.c: fix vi_prec_num switching.
+2017-08-27  Kyle J. McKay  
 
-2006-04-08  Dai Sato  
+	Correct  parsing and do not turn a form's GET into POST.
+	Bug-Debian: https://github.com/tats/w3m/pull/93
 
-	* [w3m-dev 04146] disable HAVE_LANGINFO_CODESET on cygwin
-	* configure.ac: avoid AM_LANGINFO_CODESET check for Cygwin.
+	* form.c:
+	form.c: do not gratuitously turn GET into POST.
+	When encountering a 
tag that contains these values: + method="get" enctype="multipart/form-data" + Do not transform the method into POST to accomodate enctype. + Instead behave in the compatible way that all other browsers + behave in this instance and ignore the enctype parameter + (treating it as the default application/x-www-form-urlencoded) + and perform a "GET" just as the method parameter requests. + This behavior produces far more compatible results than + gratuitously changing the "get" into a "post" which can + result in unexpected "405 Method Not Allowed" errors. + Signed-off-by: Kyle J. McKay -2006-04-07 Dai Sato + * file.c: + file.c: compute correct base URL when not absolute. + When a server makes use of the PATH_INFO feature in a CGI, + the returned pages may often have a tag + specifying the URL of the CGI itself as the base. + However, to avoid hard-coding the scheme and host into such + a base href, the href value will often omit the scheme, host + and port. + Make sure that when parsing any such base href value that + any omitted components are taken from the current URL rather + than taken as being from a bare, absolute file:/// URL. + Signed-off-by: Kyle J. McKay - * [w3m-dev-en 01060] Some patches - * file.c, fm.h, rc.c: Introduce option show_cookie and set it TRUE by default. If set to FALSE received cookies will not be shown. - * This fixes Debian bug #253547: w3m: Too slow receiving cookies. +2017-01-02 Tatsuya Kinoshita -2006-04-07 Dai Sato + * NEWS: Update NEWS. - * [w3m-dev-en 01060] Some patches - * parsetagx.c: Replace '\n' (newline) with ' ' (space) in attributes of html tags instead of ignoring them. - * Fixes Debian bug #326167: w3m: new lines in hidden form fields are stripped +2016-12-24 Tatsuya Kinoshita -2006-04-07 Dai Sato + * libwc/wtf.c: + Prevent overflow beyond the end of string in wtf_parse1(). + Bug-Debian: https://github.com/tats/w3m/issues/68 - * [w3m-dev-en 01060] Some patches - * scripts/w3mman/w3mman*.in: Add w3mman -l command line argument for viewing of local man files. - * Fixes Debian bug #138805: w3mman -l doesn't work. + * libwc/wtf.c: + Revert "Prevent overflow beyond the end of string in wtf_parse1()". + This reverts commit 998b6f91d4b02e8bf90b7744dfabc8cccdf9d4f9. + Bug-Debian: https://github.com/tats/w3m/issues/86 + cf. http://emacs-w3m.namazu.org/ml/msg12505.html -2006-04-07 Dai Sato + * form.c: + Preserve one byte for end of string character in form_update_line(). + Bug-Debian: https://github.com/tats/w3m/issues/68#issuecomment-266214643 - * [w3m-dev-en 01060] Some patches - * libwc/detect.c: Use the hint instead of US_ASCII in wc_auto_detect. - * Fixes Debian bug #291735: w3m shouldn't "simplify" page's charset + * form.c: + Prevent invalid form_update_line() call in formUpdateBuffer(). + Bug-Debian: https://github.com/tats/w3m/issues/82 -2006-04-07 Dai Sato +2016-12-20 Tatsuya Kinoshita - * [w3m-dev-en 01060] Some patches - * Str.h, table.c: Use Strnew_charp() instead of the wrong Strnew(). - * Fixes SF bug #895351 Strnew called with argument in table.c. + * form.c: + Revert "Preserve one byte for end of string character in form_update_line()". + This reverts commit a4152aaaea5cb51c9018880a1295e498c38889bf. -2006-02-10 Dai Sato +2016-12-18 Tatsuya Kinoshita - * http://dog.w3m.jp/bbs/spool/until200602.html#20060210153135@keijiwan - * url.c: replace pclose passed to localcgi_post/get() with fclose in openURL() + * file.c: Prevent heap-use-after-free read in HTMLlineproc0(). + Bug-Debian: https://github.com/tats/w3m/issues/81 -2006-02-09 Dai Sato + * file.c: Prevent infinite loop in feed_textarea(). + Bug-Debian: https://github.com/tats/w3m/issues/85 - * http://vimrc.hp.infoseek.co.jp/w3m-pclose.html - * file.c: replace pclose with fclose in the end of uncompress_stream() + * form.c: + Revert "Prevent overflow beyond the end of string in form_update_line()". + This reverts commit 9ccaa1dd0dac6f9b35a649ae9901c225421500f6. -2005-02-27 Fumitoshi UKAI + * form.c: + Revert "Prevent overflow beyond the end of string in form_update_line()". + This reverts commit e0efc127ff20cbeb931847af1c9b353056340fbd. - * configure.ac: rename from configure.in. this is for autoconf2.50 +2016-12-15 Tatsuya Kinoshita -2005-02-27 NOMIYA Masaru + * libwc/wtf.c: + Prevent overflow beyond the end of string for wtf to wcs macros. + Bug-Debian: https://github.com/tats/w3m/issues/77 - * [w3m-dev 04143] Patch for OS/2 - * config.h.in: ifdef HAVE_SETPGRP - * configure.in: define USE_BINMODE_STREAM for *os2-emx* - * islang.c: ULONG -> unsigned long - * main.c: ULONG -> unsigned long + * libwc/wtf.c: + Revert "Prevent overflow beyond the end of string for wtf to wcs macros". + This reverts commit b4d27ba5ccffaa38e968c2bf3a8eeb9cd43928ff. -2005-02-15 Fumitoshi UKAI + * file.c, libwc/wtf.c, libwc/wtf.h: + Prevent overflow beyond the end of string in caller of get_mclen(). + Bug-Debian: https://github.com/tats/w3m/issues/59 + Bug-Debian: https://github.com/tats/w3m/issues/73 + Bug-Debian: https://github.com/tats/w3m/issues/74 + Bug-Debian: https://github.com/tats/w3m/issues/75 + Bug-Debian: https://github.com/tats/w3m/issues/76 + Bug-Debian: https://github.com/tats/w3m/issues/78 + Bug-Debian: https://github.com/tats/w3m/issues/79 + Bug-Debian: https://github.com/tats/w3m/issues/80 + Bug-Debian: https://github.com/tats/w3m/issues/83 + Bug-Debian: https://github.com/tats/w3m/issues/84 - * [w3m-dev-en 01045] From newbie: problem with w3m-0.5.1 installation - * acinclude.m4 (AC_W3M_SSL): define USE_SSL after ssl library found + * file.c: + Revert "Prevent overflow beyond the end of string in proc_mchar()". + This reverts commit 512ed467d12615f5ef40d0d28272e5662d8438ea. -2005-01-19 Kiyokazu SUTO + * table.c: + Revert "Prevent overflow beyond the end of string in visible_length()". + This reverts commit a932f78a6d8c105036ffeedf01215c1f6a0e0b71. - * [w3m-dev 04133] mouse_end() should preced reset_tty()? - * terms.c (reset_exit): mouse_end() should precede reset_tty() + * table.c: + Revert "Prevent overflow beyond the end of string in skip_space()". + This reverts commit e757b43bcf8c439c167f62b6d3317ee9518cabbf. -2005-01-05 Kiyokazu SUTO + * table.c: + Revert "Prevent overflow beyond the end of string in visible_length_plain()". + This reverts commit f763b8ebf5441cb44d2c0234565fadd5eb1c87a5. - * [w3m-dev 04130] [w3m-dev 04131] [w3m-dev 04132] Multiple challeges in *-Authenticate header - * file.c (skip_auth_token): added - (extract_auth_val): ',' is end of token - (extract_auth_param): use skip_auth_token - (AuthDigestCred): parse qop and calc cnonce correctly - (findAuthentication): use skip_auth_token + * form.c: + Revert "Prevent overflow beyond the end of string in textfieldrep()". + This reverts commit 77d8d8d6576d8afc0f6b2e09bb88c7ca9dba58bb. -2004-11-09 Fumitoshi UKAI + * file.c: + Revert "Prevent overflow beyond the end of string in proc_mchar()". + This reverts commit e79d0ec2a00369a6af24007a1f2bb5e876e2c847. - * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): - fix unused variable `i' - * w3mimg/x11/x11_w3mimg.c (x11_load_image): - ditto +2016-12-13 Tatsuya Kinoshita -2004-11-09 Hiroyuki Ito + * file.c: Prevent overflow beyond the end of string in proc_mchar(). + Bug-Debian: https://github.com/tats/w3m/issues/80 + cf. https://github.com/tats/w3m/issues/59 - * [w3m-dev 04128] Re: w3mimgdisplay - * acinclude.m4 (AC_W3M_IMAGE): check not yes - * aclocal.m4, configure: regen - * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): - fb_image_fill in case GDK_PIXBUF_FRAME_DISPOSE - * w3mimg/x11/x11_w3mimg.c (get_animation_size): - return n - (x11_load_image): - fill in case GDK_PIXBUF_FRAME_DISPOSE + * form.c: Prevent overflow beyond the end of string in textfieldrep(). + Bug-Debian: https://github.com/tats/w3m/issues/79 -2004-11-05 Hiroyuki Ito + * form.c: + Preserve one byte for end of string character in form_update_line(). + Bug-Debian: https://github.com/tats/w3m/issues/82 + cf. https://github.com/tats/w3m/issues/68#issuecomment-266214643 - * [w3m-dev 04117] Re: start attribute and value attribute on ordered lists - * file.c (HTMLtagproc1): allow negative value for start attr +2016-12-10 Tatsuya Kinoshita -2004-10-14 Fumitoshi UKAI + * libwc/wtf.c: Prevent overflow beyond the end of string in wtf_len(). + cf. https://github.com/tats/w3m/issues/57 - * Bug#276246: w3m's locale parsing should at least see '@euro' modifier - * config.h (HAVE_LANGINFO_CODESET): added - * configure.in (AM_LANGINFO_CODESET): added - * libwc/charset.c: #include - (wc_charset_to_ces): use nl_langinfo(CODESET) + * etc.c: Prevent negative array index for realColumn in calcPosition(). + Bug-Debian: https://github.com/tats/w3m/issues/69 -2004-09-30 Hiroyuki Ito + * libwc/wtf.c: + Prevent overflow beyond the end of string in wtf_parse1(). + Bug-Debian: https://github.com/tats/w3m/issues/68 - * [w3m-dev 04108] PIPE_BUF - * main.c (pipeBuf): set buf->currentURL.file to prevent - segfault by "PIPE_BUF cat;VIEW SOURCE;" + * Str.c: Prevent heap-buffer-overflow in Strnew_size(). + Bug-Debian: https://github.com/tats/w3m/issues/72 -2004-08-31 SAKAI Kiyotaka + * table.c: + Prevent overflow beyond the end of string in visible_length_plain(). + Bug-Debian: https://github.com/tats/w3m/issues/76 - * [w3m-dev 04104] w3mmail.cgi - * scripts/w3mmail.cgi.in: strip ^M + * libwc/wtf.c: + Prevent overflow beyond the end of string for wtf to wcs macros. + Bug-Debian: https://github.com/tats/w3m/issues/77 -2004-08-17 Hiroyuki Ito + * form.c: + Prevent overflow beyond the end of string in form_update_line(). + Bug-Debian: https://github.com/tats/w3m/issues/78 - * [w3m-dev 04099] Re: w3m-img gtk2 - * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix resize bug +2016-12-08 Tatsuya Kinoshita -2004-08-06 Hiroyuki Ito + * form.c: + Prevent overflow beyond the end of string in form_update_line(). + Bug-Debian: https://github.com/tats/w3m/issues/75 - * [w3m-dev 04097] Re: w3m-img gtk2 - * w3mimg/fb/fb_gdkpixbuf.c (draw): no need bg - (get_animation_size): use GTimeVal - (fb_image_load): use GTimeVal - fix for animation - * w3mimg/x11/x11_w3mimg.c (get_animation_size): use GTimeVal - (x11_load_image): use GTimeVal - fix for animation + * table.c: Prevent overflow beyond the end of string in skip_space(). + Bug-Debian: https://github.com/tats/w3m/issues/74 -2004-08-05 Fumitoshi UKAI + * table.c: + Prevent overflow beyond the end of string in visible_length(). + Bug-Debian: https://github.com/tats/w3m/issues/73 - * [w3m-dev 04096] w3m-img gtk2 - * acinclude.m4 (AC_W3M_IMAGE): add USE_GTK2 - add --with-imagelib=gtk2 - * aclocal.m4 config.guess config.sub configure: regen - * config.h.in: add USE_GTK2 - * w3mimg/fb/fb_gdkpixbuf.c: support USE_GTK2 - * w3mimg/fb/fb_img.h: add fb_image_init() - * w3mimg/fb/fb_imlib2.h: fb_image_init() stub - * w3mimg/fb/fb_w3mimg.c: call fb_image_init() - * w3mimg/x11/x11_w3mimg.c: support USE_GTK2 + * libwc/wtf.c: + Prevent overflow beyond the end of string in wtf_strwidth(). + Bug-Debian: https://github.com/tats/w3m/issues/57 -2004-08-03 WATANABE Katsuyuki + * libwc/wtf.c: + Revert "Prevent overflow beyond the end of string in wtf_strwidth()". + This reverts commit d345c0950dfdef065b7377ecad0e4bc1d2601bf8. - * [w3m-dev 04095] build fix when configure with --enable-messagel10n - * main.c (main): locale and textdomain initialization if ENABLE_NLS - * menu.c (initMenu): use _() instead of gettext() - * rc.c (show_params): use _() instead of gettext() +2016-12-07 Tatsuya Kinoshita -2004-07-18 WATANABE Katsuyuki + * file.c: Prevent heap-use-after-free in HTMLlineproc0(). + Bug-Debian: https://github.com/tats/w3m/issues/65 - * [w3m-dev 04094] Re: option panel: gettextize select list - * rc.c (load_option_panel): don't gettext&wc_conv colorstr - several times + * file.c: Prevent negative values for offset and pos in push_link(). + Bug-Debian: https://github.com/tats/w3m/issues/64 -2004-07-16 WATANABE Katsuyuki + * file.c: Prevent overflow beyond the end of string in proc_mchar(). + Bug-Debian: https://github.com/tats/w3m/issues/59 - * [w3m-dev 04093] bookmark charset - * add global variable: BookmarkCharset. - * main.c:adBmark(): remove condition LANG = JA. - * main.c: buffername encode by BookmarkCharset when add bookmark. - * main.c: BookmarkCharset pass to w3mbookmark. - * w3mbookmark.c: ditto. - -2004-07-16 WATANABE Katsuyuki - - * [w3m-dev 04092] remove __CYGWIN__ && LANG == JA - * remove condition LANG == JA && __CYGWIN__ - * cygwin_mouse_btn_swapped enabled when before 1.5.x - -2004-07-16 WATANABE Katsuyuki - - * [w3m-dev 04091] option panel: gettextize select list - * rc.c: gettextize option select list. - * rc.c: add gettextize message. - * po/w3m.pot: ditto. - * po/ja.po: ditto. - -2004-07-14 Fumitoshi UKAI - - * Debian Bug#259053 - * doc/FAQ.html, doc-jp/FAQ.html: ~/.mailcap -> ~/.w3m/mailcap - -2004-05-11 Fumitoshi UKAI - - * based on [w3m-dev 04079] - SAKAI Kiyotaka - * Makefile.in: (libwc/libwc.a): always make in libwc subdir - (w3mimg/w3mimg.a): always make in w3mimg subdir - -2004-05-03 Fumitoshi UKAI - - * [w3m-dev-en 01007] - * libwc/Makefile.in (CFLAGS): need @CPPFLAGS@ - -2004-05-03 Fumitoshi UKAI - - * version.c.in: cvs version - -2004-04-29 Fumitoshi UKAI - - * w3m 0.5.1 - * version.c.in: update - * doc/README: version 0.5, release date, maintainer - * doc-jp/README: ditto - * NEWS: update - * configure.in: version 0.5.1 - * po/w3m.pot, ja.po: update-po - -2004-04-27 SAKAI Kiyotaka - - * [w3m-dev 04068] install-sh problem - [w3m-dev 04069] install-sh problem 2 - * Makefile.in (MAKE_ARGS): delete INSTALL - * install-sh: replace with X Consortium install-sh (from automake) - -2004-04-27 Fumitoshi UKAI - - * [w3m-dev 04073] Re: run configure in another directory - * Makefile.in (CFLAGS): include dir here - (DEFS): delete include dirs - (libwc/libwc.a): pass OPTS only - (w3mimg/w3mimg.a): pass OPTS only - * libwc/Makefile.in (CFLAGS): fixed - * w3mimg/Makefile.in (CFLAGS): added - (fb x11): pass OPTS only - * w3mimg/fb/Makefile.in (CFLAGS): added - * w3mimg/x11/Makefile.in (CFLAGS): added - -2004-04-23 SAKAI Kiyotaka - - * [w3m-dev 04066] --disable-color - * rc.c (load_option_panel): #ifdef USE_COLOR - -2004-04-22 Masao Uebayashi - - * fix build error for --enable-m17n --disable-unicode - * libwc/detect.c (wc_create_detect_map): #ifdef USE_UNICODE - -2004-04-17 Fumitoshi UKAI - - * [w3m-dev 04064] authentication - closes: Bug#:244029: w3m: HTTP basic authentication annoyance - * fm.h (auth_cookie): deleted - * proto.h (find_auth_cookie): deleted - (add_auth_cookie): deleted - (add_auth_user_passwd): added - (invalidate_auth_user_passwd): added - * etc.c (auth_pass): add bad flag - delete file - (dir_under): deleted - (add_auth_pass_entry): add override flag - no need to check file - (find_auth_pass_entry): delete file - check bad flag - check uname - (find_auth_user_passwd): find by pu->user - (add_auth_user_passwd): added - (invalidate_auth_user_passwd): added - (parsePasswd): add no override - ignore file - (find_auth): deleted - (find_auth_cookie): deleted - (dump_auth_cookie): deleted - (add_auth_cookie): deleted - * file.c (getAuthCookie): add *uname, *pwd - rewrite - (loadGeneralFile): delete ss, add uname, pwd - use add_auth_user_passwd instead of add_auth_cookie - * url.c (HTTPrequest): don't authorization here - it should be done in getAuthCookie in loadGeneralFile - through extra_header - * ftp.c (openFTPStream): add uname - use find_auth_user_passwd instead of find_auth_cookie - use add_auth_user_passwd instead of add_auth_cookie - -2004-04-10 SAKAI Kiyotaka - - * [w3m-dev 04063] about Makefile - * Makefile.in (DEFS): use CGIBIN_DIR instead of LIB_DIR - (MAKE_ARGS): ditto - (distclean): rm -f - * config.h.dist: use CGIBIN_DIR instead of LIB_DIR - * indep.c (w3m_lib_dir): ditto - * scripts/Makefile.in: ditto - * scripts/multipart/Makefile.in: ditto - * w3mimg/Makefile.in (clearn): remove w3mimg.a - -2004-04-05 AIDA Shinra - - * [w3m-dev 04049] w3m-cvs-1.914-misc.patch - * Makefile.in (funcname.tab): dont modify when target is unchanged. - (CFLAGS): need $(CPPFLAGS)? - * config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H - * configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/ - don't use AC_CYGWIN - don't use $CYGWIN, use $host_os *cygwin* - AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h) - add stdint.h, inttypes.h - * etc.c (find_auth_pass_entry): host is case insensitive - * libwc/wc_types.h: use stdint.h or inttypes.h - * main.c (MAIN); need GC_init() - -2004-04-01 Fumitoshi UKAI - - Debian Bug#241192 w3m ipv6 FQDN resolution failure - * etc.c (FQDN): need to set ai_flags AI_CANONNAME, since we need - ai_canonname here. + * libwc/wtf.c: + Prevent overflow beyond the end of string in wtf_strwidth(). + Bug-Debian: https://github.com/tats/w3m/issues/57 -2004-03-31 AIDA Shinra +2016-12-05 Yixun Lan - * [w3m-dev 04050] SSL verify - * url.c (openSSLHandle): don't load verify locations if - both ssl_ca_file and ssl_ca_path is NULL. - -2004-03-24 Fumitoshi UKAI - - * fix search problem on different charset page than display charset - * proto.h (conv_search_string): added - * search.c (migemostr): use conv_search_string - (conv_search_string): added - * main.c (srchcore): use conv_search_string - (reMark): ditto - * menu.c (menu_search_forward): ditto - (menu_search_backward): ditto - (menu_search_next_previous): ditto + * html.h: Explictily include to avoid build err. + While disable ssl, we will got a undefine time_t err. + Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=601498 + Origin: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee43ba4e036db70fff258f3edb2f0335385e93f -2004-03-23 Fumitoshi UKAI +2016-12-05 Tatsuya Kinoshita - * rc.c: cleanup LANG == JA + * table.c: + Prevent array index out of bounds for tridvalue in feed_table_tag(). + Bug-Debian: https://github.com/tats/w3m/issues/71 -2004-03-23 Fumitoshi UKAI + * table.c: Prevent negative array index in set_integered_width(). + Bug-Debian: https://github.com/tats/w3m/issues/70 - * main.c (main): DisplayCharset also follow locale + * table.c: + Prevent array index out of bounds for tabattr in feed_table_tag(). + Bug-Debian: https://github.com/tats/w3m/issues/60 -2004-03-23 Fumitoshi UKAI + * file.c: Prevent negative array index in process_textarea(). + Bug-Debian: https://github.com/tats/w3m/issues/58 - * scripts/w3mhelp.cgi.in: use charset parramter - * scripts/w3mhelp-funcdesc.en.pl.in: add charset - * scripts/w3mhelp-funcdesc.ja.pl.in: ditto + * file.c: + Prevent negative array index for marks in HTMLlineproc2body(). + Bug-Debian: https://github.com/tats/w3m/issues/61 -2004-03-22 Fumitoshi UKAI + * file.c: + Prevent negative value of row for pushTable() in HTMLlineproc0(). + Bug-Debian: https://github.com/tats/w3m/issues/67 - * main.c (main): don't use SystemCharset for default of - DisplayChaset, DocumentCharset + * file.c: Prevent negative array index in getMetaRefreshParam(). + Bug-Debian: https://github.com/tats/w3m/issues/63 -2004-03-22 Fumitoshi UKAI + * anchor.c: + Prevent negative array index for marks in shiftAnchorPosition(). + Bug-Debian: https://github.com/tats/w3m/issues/62 - * w3m 0.5 - * version.c.in: update - * doc/README: version 0.5, release date, maintainer - * doc-jp/README: ditto - * NEWS: update +2016-11-27 Kuang-che Wu -2004-03-22 Fumitoshi UKAI + * file.c: Fix uninitialized variable in process_img(). fix #44. + Bug-Debian: https://github.com/tats/w3m/issues/44 + Origin: https://github.com/tats/w3m/pull/50/commits/41a607b06e4475101de59e5c623b9e5f76594a21 - * main.c (main): DisplayCharset and DocumentCharset also follow - locale configuration - * Makefile.in (distclean): distclean libwc - * libwc/Makefile.in: add distclean - * scripts/multipart/Makefile.in: add distclean - * scripts/w3mman/Makefile.in: add distclean - * scripts/Makefile.in: add distclean + * menu.c: Fix menu buffer-overflow. + Origin: https://github.com/tats/w3m/pull/49/commits/7e1c05dd90cf42a308e854881ea3813aed000d2e -2004-03-22 Fumitoshi UKAI +2016-11-27 Tatsuya Kinoshita - * w3mimg/Makefile.in (distclean): rm -f w3mimg.a + * ChangeLog, NEWS: Add CVE IDs. + cf. https://security-tracker.debian.org/tracker/source-package/w3m + http://www.openwall.com/lists/oss-security/2016/11/24/1 -2004-03-22 Akihiro Sagawa +2016-11-20 Tatsuya Kinoshita - * [w3m-dev 04046] - * configure.in (AC_W3M_IPv6): should check it after ext libs + * NEWS: Update NEWS. -2004-03-22 Akihiro Sagawa +2016-11-19 Tatsuya Kinoshita - * [w3m-dev 04045] - * Makefile.in (DEFUNS): need $(top_srcdir) + * NEWS: Update NEWS. -2004-03-21 Fumitoshi UKAI +2016-11-18 Tatsuya Kinoshita - * Makefile.in (install-po): fix for broken sh. - reported in [w3m-dev 04043] Re: w3m 0.5 + * ChangeLog, NEWS: Add CVE IDs. + cf. https://security-tracker.debian.org/tracker/source-package/w3m + http://www.openwall.com/lists/oss-security/2016/11/18/3 -2004-03-13 Fumitoshi UKAI + * libwc/ucs.map: Fix type mismatch for pcsw_ucs_map_size. + cf. https://github.com/tats/w3m/issues/43 - * [w3m-dev 04041] spell-miss in configure - * acinclude.m4 (AC_W3M_M17N): fix help-string - suggested by sakane@d4.bsd.nes.nec.co.jp (Yoshinobu Sakane) + * libwc/ucs.c, libwc/ucs.map: + Prevent global-buffer-overflow in wc_any_to_ucs(). + Bug-Debian: https://github.com/tats/w3m/issues/43 [CVE-2016-9632] -2004-02-06 MANTANI Nobutaka +2016-11-17 Tatsuya Kinoshita - * [w3m-dev 04038] --disable-m17n problem in form.c - * form.c (form_update_line): fix for disable-m17n + * url.c: Prevent global-buffer-overflow in parseURL(). + Bug-Debian: https://github.com/tats/w3m/issues/41 [CVE-2016-9630] -2004-01-10 ABE Yuji + * file.c: Prevent deref null pointer in HTMLlineproc0(). + Bug-Debian: https://github.com/tats/w3m/issues/42 [CVE-2016-9631] - * [w3m-dev 04030] PUSH_TAG macro - * table.c (PUSH_TAG): fixed problem in --disable-m17n +2016-11-15 Tatsuya Kinoshita -2003-12-09 WATANABE Katsuyuki + * table.c: Prevent deref null pointer in renderCoTable(). + Bug-Debian: https://github.com/tats/w3m/issues/20#issuecomment-260649537 - * [w3m-dev 04025] mismatch message in ja.po - * po/ja.po: fix wrong messages + * file.c, proto.h, table.c: + Prevent infinite recursion with nested table and textarea. + Bug-Debian: https://github.com/tats/w3m/issues/20#issuecomment-260590257 + [CVE-2016-9439] -2003-12-09 WATANABE Katsuyuki + * table.c: + Revert "Prevent infinite recursion with nested table and textarea". + This reverts commit f393faf55975a94217df479e1bd06ee4403c6958. - * [w3m-dev 04024] fix: drive letter - * url.c (parseURL2): fix for SUPPORT_DOS_DRIVE_PREFIX + * anchor.c: Prevent deref null pointer in shiftAnchorPosition(). + Bug-Debian: https://github.com/tats/w3m/issues/40 [CVE-2016-9629] -2003-12-09 YONETANI Tomokazu +2016-11-14 Tatsuya Kinoshita - * [w3m-dev 04022] $^ - * Makefile.in (DEFUNS): added - funcname.tab: don't use $^ - * w3mimg/Makefile.in (w3mimg.a): don't use $^ + * file.c: Prevent null pointer deref due to bad form id. + Bug-Debian: https://github.com/tats/w3m/issues/39 [CVE-2016-9628] -2003-12-09 Kiyokazu SUTO + * display.c, file.c, fm.h, symbol.c: + Prevent array index out of bounds for symbol. + Bug-Debian: https://github.com/tats/w3m/issues/38 [CVE-2016-9627] - * [w3m-dev 04021] Deeply nested table - * file.c (completeHTMLstream): check obuf->table_level +2016-11-13 Tatsuya Kinoshita -2003-10-26 Fumitoshi UKAI + * file.c: + Prevent null pointer dereference in HTMLlineproc2body for textarea_int. + Bug-Debian: https://github.com/tats/w3m/issues/32#issuecomment-260170163 - * Bug#217509: segfaults if TERM is not set - * terms.c (check_cygwin_console): check TERM==NULL - (set_tty): check TERM==NULL +2016-11-12 Tatsuya Kinoshita -2003-10-23 ABE Yuji + * NEWS: Update NEWS. - * [w3m-dev 04011] accessing to an `https' URI with a fragment via a proxy - * url.c (HTTPrequestURI): drop fragment - (openURL): don't clear pu->label + * table.c: Prevent infinite recursion with nested table and textarea. + Bug-Debian: https://github.com/tats/w3m/issues/20 -2003-10-23 ABE Yuji +2016-11-09 Tatsuya Kinoshita - * [w3m-dev 04010] support for deprecated __ss_family - * acinclude.m4 (AC_W3M_IPv6): check __ss_family - * config.h.in: add HAVE_OLD_SS_FAMILY - * ftp.c (ftp_pasv): ifdef HAVE_OLD_SS_FAMILY + * table.c: Check indent_level to prevent infinite recursion. + Bug-Debian: https://github.com/tats/w3m/issues/37 [CVE-2016-9626] -2003-10-23 ABE Yuji +2016-11-07 Tatsuya Kinoshita - * [w3m-dev 04009] ./configure --disable-image problem - * file.c (loadHTMLstream): if defined(USE_M17N) + * file.c: Prevent infinite recursion in HTMLlineproc0. + Bug-Debian: https://github.com/tats/w3m/issues/36 [CVE-2016-9625] -2003-10-22 Fumitoshi UKAI + * NEWS, w3m-doc/install.html.in: + Update documents for included w3mdict.cgi. - * [w3m-dev 04006] checking GC_version for libgc - reported by SAKAI Kiyotaka - * acinclude.m4 (AC_W3M_GC): check GC_init instead of GC_version +2016-11-07 ITOH Yasufumi -2003-10-21 SAKAI Kiyotaka + * main.c: Fix suspend (^Z) behavior. + Suspend the job w3m belongs to, not w3m only. + Signed-off-by: Thomas Klausner + Bug-Debian: https://github.com/tats/w3m/pull/34 + Origin: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/w3m/patches/patch-ab?rev=1.4&content-type=text/x-cvsweb-markup - * [w3m-dev 03996] HELP_DIR and funcname.tab - * configure.in (HELP_DIR): don't eval - * scripts/w3mhelp.cgi: subst @prefix@ for $helpdir +2016-11-07 Tatsuya Kinoshita -2003-10-21 Fumitoshi UKAI + * form.c: Prevent dereference near-null pointer in formUpdateBuffer. + Bug-Debian: https://github.com/tats/w3m/issues/35 [CVE-2016-9624] - * #include - suggested by ABE Yuji - [w3m-dev 03998] problem about pkg-config check for OpenSSL - * html.h: #include - * istream.c: ditto - * istream.h: ditto - * url.c: ditto + * file.c: Prevent crash after allocate string of negative size. + Bug-Debian: https://github.com/tats/w3m/issues/33 [CVE-2016-9623] -2003-10-20 ABE Yuji - - * [w3m-dev 04002] Re: function and w3m-control - * url.c (getURLScheme): accept numeric in scheme + * file.c: Prevent memory exhausted due to repeat appending "
". + Bug-Debian: https://github.com/tats/w3m/issues/23 [CVE-2016-9633] -2003-10-18 Fumitoshi UKAI + * file.c: Prevent null pointer dereference in HTMLlineproc2body. + Bug-Debian: https://github.com/tats/w3m/issues/32 [CVE-2016-9622] - * [w3m-dev 03996] HELP_DIR and funcname.tab - reported by SAKAI Kiyotaka - * configure.in: don't use posix shell syntax $(..) - * funcname.tab: deleted +2016-10-31 Tatsuya Kinoshita -2003-10-11 Fumitoshi UKAI + * table.c, table.h, textlist.h: + Revert "Treat table height as int instead of short". + This reverts commit 0c9aebb26a16ad3acc69b2e87ffd216d43879cb6. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842623 - * scripts/Makefile.in (w3mhelp-funcname.pl): depends ../funcname.tab - * Makefile.in (IMGOBJS): deleted - (indep.o): depends on fm.h funcname1.h - (IMGDISPLAY): depends on w3mimg/w3mimg.a - (w3mimg/w3mimg.a): renamed from w3mimg - * acinclude.m4 (AC_W3M_IMAGE): modify IMBOBJS - * w3mimg/Makefile.in (AR): added - (RANLIB): added - (IMGOBJS): added - (w3mimg.a): added - -2003-10-11 qhwt@myrealbox.com - - * [w3m-dev 03990] Re: post-m17n merge problem? - * Makefile.in (MAN1): need $(top_srcdir) - (MAN1_JA): ditto - (LOBJS): depends on fm.h funcname1.h - (INFLATE): depends on $(ALIB) - (libwc/libwc.a): renamed from libwc - (IMGDISPLAY): depends on $(IMGOBJS) instead of w3mimg - depends on $(ALIB) - (w3mimgdisplay.o): depends on w3mimg/w3mimg.h - * acinclude.m4 (AC_W3M_M17N): WCTARGET is libwc/libwc.a - * configure.in (HELP_DIR): expand ${prefix} - -2003-10-08 Hironori SAKAMOTO - - * [w3m-dev 03985] Re: support for 307 Temporary Redirect - * file.c (loadGeneralFile): support 307 Temporary Redirect - -2003-10-06 Fumitoshi UKAI - - * fix build error --disbable-m17n - * config.h.in: undef USE_M17N, USE_UNICODE - * etc.c (url_unquote_conv): USE_M17N - * file.c (convertLine): USE_M17N - (loadHTMLStream): fix ifdef USE_IMAGE->USE_M17N - (loadBuffer): fix USE_M17N - (getNextPage): fix USE_M17N - * fm.h (USE_M17N): don't define USE_M17N in case LANG == JA - (this should be done by configure) - (wc_ces): dummy typedef - (wc_Str_conv): fix non-m17n macro args - (wc_Str_conv_strict): ditto - * ftp.c (loadFTPDir): fix undefined USE_M17N - * mimehead.c (decodeWord): ditto - (decodeMIME): ditto - * news.c (loadNewsgroup): ditto - * proto.h (convertLine): ditto - (loadGopherDir): ditto - (loadFTPDir): ditto - (loadNewsgroup): ditto - (decodeWord): ditto - (decodeMIME): ditto - (url_unquote_conv): ditto - * terms.c (SETCH): ditto - -2003-10-06 Fumitoshi UKAI - - * --with-imagelib request on [w3m-dev 03981] - from Mamoru KOMACHI - * acinclude.m4 (AC_W3M_IMAGE): add --with-imagelib - -2003-10-06 Fumitoshi UKAI - - * fix problem reported on [w3m-dev 03981] - from Mamoru KOMACHI - * configure.in: add AC_SUBST(HELP_DIR) - * Makefile.in (HELP_DIR): use AC_SUBT(HELP_DIR) - * scripts/Makefile.in: add PACKAGE, VERSION, DOMAIN - use PACKAGE instead of package: - CGIBIN_DIR,AUXBIN_DIR,CONF_DIR - add HELP_DIR - add SUBDIRS - (install unstall): do $(SUBDIRS) - * scripts/multipart/Makefile.in: add PACKAGE,VERSION,DOMAIN - use PACKAGE instead of package: - CGIBIN_DIR,AUXBIN_DIR,CONF_DIR - add HELP_DIR - * scripts/w3mman/Makefile.in: add PACKAGE,VERSION,DOMAIN - use PACKAGE instead of package: - CGIBIN_DIR,AUXBIN_DIR,CONF_DIR - add HELP_DIR - add BIN_DIR, MAN1_DIR - LIB_TARGETS->CGIBIN_TARGETS - fix INSTALL_MAN - * scripts/w3mman/w3mman.1.in: - change @LIB_DIR@ to @libexecdir@/@PACKAGE@/cgi-bin/ - -2003-10-01 Akira TAGOH - - * acinclude.m4 (AC_W3M_SSL): use PKG_CHECK_MODULES - -2003-09-29 Fumitoshi UKAI - - * Makefile.in (distclean): remove posubst - * Makefile.in (functable.c): fix cannot open file `b' for reading - -2003-09-27 Fumitoshi UKAI - - * funcname.tab: generated from DEFUN - * main.c menu.c: use DEFUN - * conv.c ucs_eucjp.h ucs_latin1.h: deleted - -2003-09-26 Fumitoshi UKAI - - * add posubst, compile-time message l10n - * Makefile.in: @POSUBST@ - * acinclude.m4(AC_W3M_M17N): add POSUBST, POLANG - --enable-messagel10n - * configure.in (W3M_LANG): subst - (AM_GET_GNUTEXT): if messagel10n enabled, don't use NLS - (AC_OUTOUT): add posubst, chmod +x - * menu.c: remove if LANG == JA messages - * rc.c: ditto - -2003-09-26 Fumitoshi UKAI - - * remove ./intl - * configure.in: external fo AM_GNU_GETTEXT - * Makefile.in: remove intl, INTLTARGET - -2003-09-25 Fumitoshi UKAI - - * fix [w3m-dev 03975] Re: gettextize - * Makefile.in: add INTLTARGET, NLSTARGET - cleanup - * configure.in: INTLTARGET=intl,NLSTARGET=po if USE_NLS - -2003-09-25 Fumitoshi UKAI - - * gettextize - * Makefile.in: updated - * menu.c: gettextize - * rc.c: gettextize - * intl/.cvsignore: added - * po/.cvsignore: added - * po/Makevars: added - * po/Makevars.template: removed - * po/POTFILES.in: updated - * po/w3m.pot: created - * po/ja.po: created - -2003-09-24 Fumitoshi UKAI - - * based on [w3m-dev 03970] - SAKAI Kiyotaka - * acinclude.m4 (AC_W3M_IMAGE): add IMGTARGETS - * w3mimg/Makefile.in (all): use @IMGTARGETS@ - -2003-09-24 Fumitoshi UKAI - - * gettextize initial modifications - * configure.in Makefile.in aclocal.m4 config.h.in: - update to support NLS - * ABOUT-NLS: added - * config.rpath: added - * mkinstalldirs: added - * intl/: added - * po/: added - * fm.h: NLS support - * main.c (main): add gettext trigger - -2003-09-23 Fumitoshi UKAI - - * more autoconfisicate - -2003-09-23 Fumitoshi UKAI - - * merge m17n patch (w3m-0.4.1-m17n-20030308.patch.gz) - * add libwc - -2003-09-23 Fumitoshi UKAI - - * version.c.in: cvs version - -2003-09-23 Fumitoshi UKAI - - * w3m 0.4.2 - * version.c.in: update - * doc/README: version 0.4.2, release date - * doc-jp/README: ditto - * NEWS: update - -2003-09-23 Fumitoshi UKAI - - * [w3m-dev 03967] Re: IPv4/IPv6 only option patch - * NEWS: options: -4, -6 - * fm.h (DNS_ORDER_INET_ONLY): added - (DNS_ORDER_INET6_ONLY): added - (ai_family_order_table): [3]->[7] - * main.c (fusage): add -4/-6 - (main): -4/-6 mapped to dns_order=4/dns_order=6 - * rc.c (dnsorders): add DNS_ORDER_INET_ONLY, DNS_ORDER_INET6_ONLY - * url.c (dnsorders): add 3-6 - -2003-09-16 Hiroyuki Ito - - * [w3m-dev 03960] - * acinclude.m4 (AC_W3M_CHECK_VER): fix version check logic - -2003-08-30 Fumitoshi UKAI - - * [w3m-dev 03958] w3mimgdisplay on jfbterm - * w3mimg/fb/fb_w3mimg.c (w3mimg_fbopen): check TERM=jfbterm - -2003-08-29 Hironori SAKAMOTO - - * [w3m-dev 03957] Location: from local-CGI - * file.c (loadGeneralFile): don't parse header for local file - redirected by Location: from local-CGI +2016-10-30 Tatsuya Kinoshita -2003-08-12 TSUCHIYA Masatoshi + * NEWS: Update NEWS. - * [w3m-dev 03950] rel attribute of anchor tag - * html.c (ALST_A): add ATTR_REL - (MAXA_A): +1 - -2003-07-27 Hironori SAKAMOTO - - * [w3m-dev 03945] Re: application/xhtml+xml support - * Makefile.in (ETC_DIR): added - (CONF_DIR): added - (DEFS): add CONF_DIR - (MAKE_ARGS): add CONF_DIR - * config.h.in (SYS_MAILCAP): use CONF_DIR - (SYS_URIMETHODMAP): use CONF_DIR - * func.c (sys_current_keymap_file): added - (interpret_keymap): added - (initKeymap): use interpret_keymap - (interpret_mouse_action): added - (initMouseAction): use interpret_mouse_action - * indep.c (w3m_conf_dir): added - * indep.h (w3m_conf_dir): added - * menu.c (interpret_menu): added - (initMenu): use interpret_menu - * proto.h (confFile): added - * rc.c (init_rc): read config file by interpret_rc - (confFile): added - -2003-07-23 Takahashi Youichirou - - * [w3m-dev 03942] Save history - * history.c (saveHistory): check tmpfile write error - -2003-07-23 Hironori SAKAMOTO - - * [w3m-dev 03941] fix character encoding for 'v' - * main.c (vwSrc): use document_code as DisplayCode - -2003-07-23 Yoshinobu Sakane - - * [w3m-dev 03939] next/prev visited link - * funcname.tab (NEXT_VISITED): added - (PREV_VISITED): added - * main.c (_nextA): added - (_prevA): added - (nextVA): added - (prevVA): added - * proto.h (nextVA): added - (prevVA): added - * doc/README.func (NEXT_VISITED): added - (PREV_VISITED): added - * doc-jp/README.func (NEXT_VISITED): added - (PREV_VISITED): added - * NEWS: func: NEXT_VISITED, PREV_VISITED - + * fm.h: Set use_dictcommand to 1 by default. -2003-07-14 Hiroyuki Ito + * scripts/Makefile.in: Add w3mdict.cgi to LIB_TARGETS. - * [w3m-dev 03938] clear region margin - * w3mimgdisplay.c (clearMargin): added - (GetOption): add -margin - (ClearImage): clear margin - * w3mi,g/w3mimg.h (w3mimg_op): clear_margin - * w3mimg/fb/fb.c (fb_clear): x,y must be >= 0 - * w3mimg/x11/x11_w3mimg.c (x11_clear): x,y must be >= 0 - -2003-07-14 Hironori SAKAMOTO - - * [w3m-dev 03937]
in - * table.c (feed_table_tag): fix
,
,
,
, -

,
,,, - check_rowcol() for - -2003-07-10 Fumitoshi UKAI - - * w3mimg/fb/fb_img.h (get_image_size): add missing prototypes - * w3mimg/fb/fb.c (fb_clear): unused variable `j' - -2003-07-09 Hiroyuki Ito - - * [w3m-dev 03935] Re: clear image - * w3mimg/fb/fb.c (fb_get_packed_color): added - (fb_image_pset): use fb_get_packed_color - (fb_image_fill): use fb_get_packed_color - (fb_clear): use tmp to store pixels + * config.h.dist: Typo fix for USE_DICT. -2003-07-09 ABE Yuji +2016-10-30 Boruch Baum - * [w3m-dev 03934] Re: clear image - * w3mimg/x11/x11_w3mimg.c (x11_clear): s/FALSE/False/ - -2003-07-09 Hironori SAKAMOTO - - * [w3m-dev 03931] Re: clear image - * w3mimgdisplay.c (ClearImage): offset - * w3mimg/fb/fb.c (fb_clear): memcpy by pixel_size - -2003-07-08 Hironori SAKAMOTO - - * [w3m-dev 03929] clear image - * image.c (syncImage): added - (drawImage): rewrite using syncImage() - (clearImage): use clear image command (6) - * w3mimgdisplay.c: change protocol - 2 => terminate drawing - 6 => clear image - (main): '2' calls TermImage() - '6' calls ClearImage() - TermImage() when exit - (TermImage): renamed from ClearImage - (ClearImage): rewritten to call w_op->clear() - * w3mimg.h/w3mimg.h (w3mimg_op): add clear() - * w3mimg/fb/fb.c (fb_clear): added - * w3mimg/fb/fb.h (fb_clear): added - * w3mimg/fb/fb_img.c (fb_image_clear): added - * w3mimg/fb/fb_w3mimg.c (w3mfb_clear): added - (w3mimg_fbopen): initialize wop->clear - * w3mimg/x11/x11_w3mimg.c (x11_clear): added - (w3mimg_x11open): initialize wop->clear + * scripts/w3mdict.cgi: Add w3mdict.cgi to use a dictd dictionary query. + Bug-Debian: https://github.com/tats/w3m/issues/30 -2003-07-08 Hironori SAKAMOTO +2016-10-09 Tatsuya Kinoshita - * [w3m-dev 03927] deflate - * file.c (compression_decoder): .deflate for application/x-deflate's - extension + * form.c: + Fix incorrect dereference in formUpdateBuffer when MENU_SELECT. + cf. https://github.com/tats/w3m/commit/ec9eb22e008a69ea9dc21fdca4b9b836679965ee + https://github.com/tats/w3m/issues/28 -2003-06-19 Fumitoshi UKAI +2016-10-08 Tatsuya Kinoshita - * [w3m-dev 03916] Re: charset attribute of anchor tag - requested by TSUCHIYA Masatoshi - for emacs-w3m - * html.c (ALST_A): add ATTR_CHARSET - (MAXA_A): +1 + * table.c, table.h, textlist.h: + Treat table height as int instead of short. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838952 -2003-06-18 ABE Yuji + * form.c: Prevent global-buffer-overflow write in formUpdateBuffer. + Bug-Debian: https://github.com/tats/w3m/issues/29 [CVE-2016-9429] [CVE-2016-9621] - * [w3m-dev 03914] a fragment in the Referer URI - * url.c (otherinfo): strip URI fragment + * form.c: Fix null pointer dereference in formUpdateBuffer. + Bug-Debian: https://github.com/tats/w3m/issues/28 [CVE-2016-9443] -2003-06-13 Hiroyuki Ito +2016-08-30 Kuang-che Wu - * [w3m-dev 03913] fix gif animation support - * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix gif animation - * w3mimg/x11/x11_w3mimg.c (x11_load_image): ditto + * Str.c: Fix potential heap buffer corruption due to Strgrow. + Origin: https://github.com/tats/w3m/pull/27 [CVE-2016-9442] -2003-05-15 Akinori Ito +2016-08-29 Tatsuya Kinoshita - * [w3m-dev 03902] Re: table rendering - * table.c (check_relative_width): check n_leftcell - check w <= r + * anchor.c: + Prevent segfault due to buffer overflows in addMultirowsForm. + Bug-Debian: https://github.com/tats/w3m/issues/21 [CVE-2016-9425] + Bug-Debian: https://github.com/tats/w3m/issues/26 [CVE-2016-9428] -2003-05-14 ABE Yuji + * form.c: Prevent segfault for formUpdateBuffer. + Bug-Debian: https://github.com/tats/w3m/issues/13#issuecomment-242981906 - * [w3m-dev 03901] body with status-code 401 - * file.c (loadGeneralFile): show page when 401, 407 +2016-08-24 Tatsuya Kinoshita -2003-05-14 Hironori SAKAMOTO + * table.c: Prevent segfault with malformed table_alt. + Bug-Debian: https://github.com/tats/w3m/issues/24 [CVE-2016-9441] - * [w3m-dev 03900] Re: table rendering - * table.c (check_relative_width): j loop starts from 0 + * form.c: Prevent segfault for formUpdateBuffer. + Bug-Debian: https://github.com/tats/w3m/issues/22 [CVE-2016-9440] -2003-05-14 SAKAI Kiyotaka + * table.c: Truncate max_width for renderTable. + Bug-Debian: https://github.com/tats/w3m/issues/25 [CVE-2016-9426] - * [w3m-dev 03899] minor fixes - * acinclude.m4: fix s/SSLCFLAGS/SSL_CFLAGS/ - * doc/README: update, fix typo - * doc-jp/FAQ.html: update, fix URL - * doc-jp/README: update - * doc-jp/README.SSL: update - * doc-jp/README.cookie: update - * doc-jp/README.img: update URL - * doc-jp/README.migemo: update - * doc-jp/STORY.html: fix URL +2016-08-20 Tatsuya Kinoshita -2003-05-14 Akinori Ito + * file.c, parsetagx.c: Fix uninitialised values for and

. + Bug-Debian: https://github.com/tats/w3m/issues/16 + [CVE-2016-9435] [CVE-2016-9436] - * [w3m-dev 03898] Re: table rendering - * table.c (check_relative_width): added - (set_table_matrix): use check_relative_width + * file.c, parsetagx.c: + Revert "Fix uninitialised values for and
". + This reverts commit 0fba2f1a6eb6861206ad120a02af2643938082cd. + cf. https://github.com/tats/w3m/commit/0fba2f1a6eb6861206ad120a02af2643938082cd#commitcomment-18703355 -2003-05-13 Hironori SAKAMOTO +2016-08-19 Tatsuya Kinoshita - * [w3m-dev 03896] html_quote in textarea in frame - * frame.c (createFrameFile): fix html_quote in textarea in frame + * file.c, parsetagx.c: Fix uninitialised values for and
. + Bug-Debian: https://github.com/tats/w3m/issues/16 -2003-05-13 Hironori SAKAMOTO +2016-08-18 Kuang-che Wu - * [w3m-dev 03895] type=image support of pre_form - * form.c (loadPreFOrm): add image - (preFormUpdateBuffer): add FORM_INPUT_IMAGE - * doc/README.pre_form: update - * doc-jp/README.pre_form: ditto + * table.c: Fix table rowspan and colspan. + Origin: https://github.com/tats/w3m/pull/19 + Bug-Debian: https://github.com/tats/w3m/issues/8 [CVE-2016-9422] -2003-05-11 Fumitoshi UKAI +2016-08-18 Tatsuya Kinoshita - * [w3m-dev 03891] Re: urimethodmap and relative URL - * url.c (parseURL2): copy scheme part into pu->file when SCM_UNKNOWN + * file.c: Prevent segfault with malformed input_alt. + Bug-Debian: https://github.com/tats/w3m/issues/18 [CVE-2016-9438] -2003-05-07 Hiroyuki Ito + * file.c: Prevent segfault with incorrect button type. + Bug-Debian: https://github.com/tats/w3m/issues/17 [CVE-2016-9437] - * [w3m-dev 03889] Progress bar in Download List Panel - * main.c (DownloadListBuffer): calculation in double +2016-08-17 Tatsuya Kinoshita -2003-05-07 SAKAI Kiyotaka + * file.c: Prevent segfault with incorrect form_int fid. + Bug-Debian: https://github.com/tats/w3m/issues/15 [CVE-2016-9434] - * [w3m-dev 03888] autodetect ssl - * acinclude.m4 (AC_W3M_SSL): use SSL_* - * configure.in: move AC_W3M_SSL after AC_W3M_EXTLIBS + * libwc/iso2022.c: Prevent segfault when iso2022 parsing. + Bug-Debian: https://github.com/tats/w3m/issues/14 [CVE-2016-9433] -2003-05-03 Hiroyuki Ito + * form.c: Prevent segfault for formUpdateBuffer. + Bug-Debian: https://github.com/tats/w3m/issues/13 [CVE-2016-9432] - * [w3m-dev 03887] Re: I-search problem - * main.c (dispincsrch): don't move cursor if not found. + * file.c, form.c: + Prevent negative array index for selectnumber and textareanumber. + Bug-Debian: https://github.com/tats/w3m/issues/12 [CVE-2016-9424] -2003-04-27 qhwt@myrealbox.com +2016-08-16 Tatsuya Kinoshita - * [w3m-dev 03886] Re: POSTing patch (Re: User-Agent for Bonus/2ch.cgi) - * Bonus/2ch.cgi: posting + * file.c: Truncate large values of table attributes. + Bug-Debian: https://github.com/tats/w3m/issues/11 -2003-04-20 qhwt@myrealbox.com +2016-08-15 Tatsuya Kinoshita - * [w3m-dev 03883] User-Agent for Bonus/2ch.cgi - * Bonus/2ch.cgi: User-Agent + * form.c: Prevent segfault for formUpdateBuffer. + Bug-Debian: https://github.com/tats/w3m/issues/9 [CVE-2016-9423] + Bug-Debian: https://github.com/tats/w3m/issues/10 [CVE-2016-9431] -2003-04-19 Fumitoshi UKAI +2016-08-09 Tatsuya Kinoshita - * [w3m-dev 03882] Re: Bug#189460: w3m: tag is not recognized - * file.c (HTMLtagproc1): add HTML_Q, HTML_N_Q - * html.c (TagMAP): add "q", "/q" - * html.h (HTML_Q): added - (HTML_N_Q): added - * tagtable.tab: add q, /q + * file.c: Prevent segfault with malformed input type. + Bug-Debian: https://github.com/tats/w3m/issues/7 [CVE-2016-9430] -2003-04-15 Hironori SAKAMOTO +2016-08-08 Tatsuya Kinoshita - * [w3m-dev 03880] Re: convert \ -> / in URL - * Bonus/backslash_to_slash.cgi: added + * Makefile.in, configure, configure.ac, scripts/w3mman/Makefile.in: + Install German manpages. -2003-04-15 Masanori Kobayasi +2016-08-08 Markus Hiereth - * [w3m-dev 03878] I-search problem - * linein.c (inputLineHistSearch): don't call incrfunc twice - * main.c (dispincsrch): fix search loop problem + * doc-de/MANUAL.html, doc/MANUAL.html: + Update MANUAL.html in English and German. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#90 -2003-04-14 Fumitoshi UKAI + * doc-de/FAQ.html, doc/FAQ.html: Update FAQ.html in English and German. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#85 - * [w3m-dev 03875] Re: SSL & compressed stream - * file.c (loadGeneralFile): check t_buf != NULL - * url.c (openURL): don't initialize URLFile here - (init_stream): 0 clear URLFile + * scripts/w3mman/w3mman.1.in, scripts/w3mman/w3mman.de.1.in: + Update manpage for w3mman in English and German. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#80 -2003-04-14 Fumitoshi UKAI + * doc-de/w3m.1, doc/w3m.1: + Update manpage for w3m in English and German. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#75 - * [w3m-dev 03873] SSL & compressed stream - * file.c (loadGeneralFile): always update ssl_certificate - * url.c (openURL): initialize URLFile +2016-07-18 Tatsuya Kinoshita -2003-04-12 NAKAJIMA Mikio + * NEWS: Update NEWS. - * [w3m-dev 03872] goodict.cgi - * Bonus/goodict.cgi: adapt new goo dict web page + * fm.h: Set default_url to 1 by default. -2003-04-11 Fumitoshi UKAI +2016-06-20 Tatsuya Kinoshita - * configure.in (AUXBIN_TARGETS): don't reset, move to head + * doc-de/README.func, scripts/w3mhelp-funcdesc.de.pl.in: + Trim trailing spaces. -2003-04-10 Fumitoshi UKAI +2016-06-20 Markus Hiereth - * [w3m-dev 03870] Re: configure --help - * acinclude.m4 (AC_W3M_IMAGE): fix help message - (AC_W3M_SSL): fix typo + * doc-de/README.func, scripts/w3mhelp-funcdesc.de.pl.in: + Update German help messages. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765682#47 -2003-04-09 Fumitoshi UKAI +2016-06-19 Tatsuya Kinoshita - * [w3m-dev 03865] Re: configure --help - * acinclude.m4 (AC_W3M_ANSI_COLOR): depends USE_COLOR - (AC_W3M_BG_COLOR): depends USE_COLOR - (AC_W3M_W3MMAILER): depends external_uri_loader - * fm.h: undef USE_BG_COLOR ifndef USE_COLOR + * doc-de/README.func, scripts/w3mhelp-funcdesc.de.pl.in: + Convert German help messages to UTF-8. -2003-04-09 Fumitoshi UKAI + * main.c: Update description of SOURCE and VIEW. - * [w3m-dev 03864] doc/README - * doc/README doc-jp/README: update +2016-06-19 Markus Hiereth -2003-04-09 Hironori SAKAMOTO + * doc-de/README.func, doc/README.func: + Update description of SOURCE and VIEW. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765682#37 - * [w3m] local cookie string is too easy to guess. - * fm.h (Local_cookie): deleted - * local.c (Local_cookie): static - (writeLocalCookie): localCookie() - (setLocalCookie): deleted - (localCookie): added - * main.c (main): delete srand48(), setLocalCookie() - (adBmark): s/Local_cookie/localCookie()/ - * proto.h (setLocalCookie): deleted - (localCookie): added - * rc.c (load_option_panel): s/Local_cookie/localCookie()/ +2016-06-19 Tatsuya Kinoshita -2003-04-08 Fumitoshi UKAI + * NEWS: Update NEWS. - * [w3m-dev 03858] configure cleanup - * acinclude.m4 configure.in: update + * doc-de/README.func: Update German messages. -2003-04-08 Fumitoshi UKAI + * doc/README.func, main.c, menu.c: Update English messages. - * [w3m-dev 03856] - * backend.c entity.c fm.h hash.c indep.c indep.h matrix.c - textlist.c: s/"gc.h"// + * doc-jp/README.func, scripts/w3mhelp-funcdesc.ja.pl.in: + Update Japanese help messages. -2003-04-08 ABE Yuji +2016-06-19 Markus Hiereth - * [w3m-dev 03849] fix no INET6 - * ftp.c: no need ifdef INET6 + * doc-de/README.func, scripts/w3mhelp-funcdesc.de.pl.in: + Update German help messages. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765682 -2003-04-08 Hironori SAKAMOTO + * doc/README.func, scripts/w3mhelp-funcdesc.en.pl.in: + * scripts/w3mhelp.cgi.in: Update English help messages. - * [w3m-dev 03846] fix use_history - * main.c (main): move loadHistory +2016-05-11 Tatsuya Kinoshita -2003-04-08 Hironori SAKAMOTO + * config.guess, config.sub: + Update config.* with autotools-dev 20160430.1. - * [w3m-dev 03844] w3mhelp.cgi update - * scripts/w3mhelp-funcdesc.en.pl.in: add %menu_funcdesc - * scripts/w3mhelp-funcdesc.ja.pl.in: add %menu_funcdesc - update %title - * scripts/w3mhelp-funcname.pl.in: add %menu_funcname - add %menu_keyfunc - * scripts/w3mhelp.cgi.in: modified for menu - link to keymap +2016-04-14 Tatsuya Kinoshita -2003-04-07 Fumitoshi UKAI + * doc-de/README.func, doc-jp/README.func, doc/README.func: + * w3m-doc/sample/keymap.cgi: Cleanup obsolete INIT_MAILCAP. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820902 - * [w3m-dev 03843] cleanup macros - * config.h.dist config.h.in etc.c file.c fm.h ftp.c linein.c - main.c rc.c: - delete EMACS_LIKE_LINEEDIT, VI_PREC_NUM, LABEL_TOPLINE, - NEXTPAGE_TOPLINE, FTPPASS_HOSTNAMEGEN - use_mark default FALSE - emacs_like_lineedit default FALSE - vi_prec_num default FALSE - add UseHistory, use_history - * NEWS: rc: use_history + * NEWS: Update NEWS. -2003-04-05 ABE Yuji +2016-04-08 Tatsuya Kinoshita - * [w3m-dev 03838] W3M_LIBS splitted from LIBS - * Makefile.in (W3M_LIBS): added - * acinclude.m4 (AC_W3M_TERMLIB): use W3M_LIB - (AC_W3M_SSL): ditto - * configure.in (W3M_LIBS): added + * libwc/johab.c: Fix segfault on bogus text for wc_N_to_johab1. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820373 -2003-04-04 Hiroyuki Ito +2016-04-07 Tatsuya Kinoshita - * [w3m-dev 03837] Re: gif animation with no delay_time - * w3mimg/fb/fb_gdkpixbuf.c (get_animation_size): add delay - check delay_time - (get_image_size): no need delay time - (fb_image_load): check delay - (draw): no bg - * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): delete delay skip loop - * w3mimg/x11/x11_w3mimg.c (get_animation_size): add delay - check delay_time - (x11_load_image): check delay - (x11_get_image_size): no need delay time + * libwc/map/big5_ucs.map, libwc/map/cns11643_ucs.map: + * libwc/map/gb12345_ucs.map, libwc/map/gb2312_ucs.map: + * libwc/map/gbk_ucs.map, libwc/map/hkscs_ucs.map: + * libwc/map/jisx0208x0212x0213_ucs.map, libwc/map/ksx1001_ucs.map: + * libwc/map/sjis_ext_ucs.map, libwc/map/uhc_ucs.map, libwc/ucs.c: + * libwc/ucs.map: Fix segfault on bogus text for wc_any_to_ucs. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820162 -2003-03-28 Dai Sato +2016-04-03 Tatsuya Kinoshita - * doc(-jp)/keymap.default: ';' is quoted + * doc/FAQ.html, doc/MANUAL.html: Update English documents. -2003-03-28 Dai Sato +2016-04-03 Markus Hiereth - * Makefile.in: distclean removes core + * doc/FAQ.html, doc/MANUAL.html: Update English documents. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#25 -2003-03-28 Hironori SAKAMOTO +2016-04-02 Tatsuya Kinoshita - * [w3m-dev 03836] CFLAGS for SSL in configure - * acinclude.m4 (AC_W3M_SSL): add -I$dir/include to CFLAGS + * configure, configure.ac, doc-de/README.func, scripts/Makefile.in: + * scripts/w3mhelp-funcdesc.de.pl.in, scripts/w3mhelp.cgi.in: + Support German translated help messages (translation is in progress). + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765682 -2003-03-28 ABE Yuji + * doc-jp/w3m.1, doc/w3m.1: Update manpage footers to w3m 0.5.3. - * [w3m-dev 03834] Re: gif animation with no delay_time - * w3mimg/x11/x11_w3mimg.c (x11_load_image): fix delay check + * doc-jp/MANUAL.html, doc-jp/w3m.1, w3m-doc/outline.html.in: + * w3mhelp-lynx_ja.html.in, w3mhelp-w3m_ja.html.in: + Update Japanese documents for extbrowser4..9. -2003-03-27 ABE Yuji +2016-04-02 Justin B Rye - * [w3m-dev 03833] gif animation with no delay_time - * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): skip delay<=0 - * w3mimg/x11/x11_w3mimg.c (x11_image): add delay - (x11_img_new): initialize delay - (x11_load_image): initialize delay - (x11_show_image): jump to last image if delay<=0 + * doc/FAQ.html, doc/MANUAL.html, doc/README.func, doc/menu.submenu: + * main.c, menu.c, scripts/w3mhelp-funcdesc.ja.pl.in: + * scripts/w3mhelp.cgi.in, w3mhelp-lynx_en.html.in: + * w3mhelp-w3m_en.html.in: English fixes. + cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#15 + Origin: https://lists.debian.org/debian-l10n-english/2014/12/msg00002.html + Origin: https://lists.debian.org/debian-l10n-english/2014/12/msg00030.html + Origin: https://lists.debian.org/debian-l10n-english/2015/02/msg00011.html -2003-03-27 WATANABE Katsuyuki +2016-03-30 Leo Famulari - * [w3m-dev 03831] fix typo - * acinclude.m4 (AC_W3M_LANG): SYSTEM_CODE - * configure.in: fix typo CYGIN + * url.c: Disable RC4. + Origin: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=62339e2d493bf87a3aabe12e45458581e9705d83 -2003-03-27 Hiroyuki Ito +2016-03-29 Tatsuya Kinoshita - * [w3m-dev 03830] Image size of gif animation - * w3mimg/fb/fb_gdkpixbuf.c (get_animation_size): added - (get_image_size): use get_animation_size() - (fb_image_load): ditto - * w3mimg/x11/x11_w3mimg.c (get_animation_size): added - (x11_load_image): use get_animation_size() - (x11_get_image_size): ditto + * url.c: Fix variable is reassigned a value before the old one has + been used. -2003-03-25 Hiroyuki Ito + * regex.c: Fix printf format specifier mismatch when REGEX_DEBUG. - * [w3m-dev 03829] w3mimgdisplay -anim - * w3mimgdisplay.c (maxAnim): added, default 100 - (main): add --anim option, w_op->max_anim - * w3mimg/w3mimg.h (w3mimg_op): add max_anim - * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): add max_anim - * w3mimg/fb/fb_img.h (fb_image_load): add max_anim args - * w3mimg/fb/fb_imlib2.c (fb_image_load): add max_anim args - * w3mimg/fb/fb_w3mimg.c (w3mfb_load_image): pass max_anim - * w3mimg/x11/x11_w3mimg.c (x11_load_image): max_anim + * w3mimg/fb/fb.c: Fix invalid braces when not Linux or FreeBSD. -2003-03-24 Daiki Ueno + * local.c: Fix uninitialized variable when not HAVE_PUTENV. - * [w3m-dev 03828] possible typo in nextA - * main.c (nextA): fix typo? + * w3mimgdisplay.c: Fix realloc mistake for DrawImage. -2003-03-22 Fumitoshi UKAI + * file.c: Fix mistake of unescape spaces for _doFileCopy. + cf. [w3m-dev-en 00751], [w3m-dev-en 00752] on 2002-06-09 - * [w3m-dev 03827] Re: checking for GC_version... no - * configure.in: add dl for extlibs + * url.c: Fix style of array index is used before limits check. + Bug: https://sourceforge.net/p/w3m/feature-requests/25/ -2003-03-20 Hironori SAKAMOTO +2016-03-22 Tatsuya Kinoshita - * [w3m-dev 03825] re-anchor for fold line - * anchor.c (reAnchorPos): fix for fold line + * menu.c, proto.h: Fix build failure when not USE_MOUSE for sgrmouse. + cf. https://twitter.com/naota344/status/711541592167854081 -2003-03-20 Fumitoshi UKAI +2016-03-20 Tatsuya Kinoshita - * [w3m-dev-en 00910] Re: autoconf: env MAKE not respected - * Makefile.in (SET_MAKE): added - (SHELL): added + * rc.c: Fix reverse ordered config parameters. -2003-03-19 Fumitoshi UKAI +2016-03-19 Tatsuya Kinoshita - * [w3m-dev-en 00908] Re: autoconf: --without-migemo is a nop - * acinclude.m4 (AC_W3M_MIGEMO): dont define USE_MIGEMO - when with_migemo=no + * doc/FAQ.html: Update FAQ for extbrowser. -2003-03-14 Hironori SAKAMOTO +2016-03-14 Tatsuya Kinoshita - * [w3m-dev 03823] Re: etc.c: treatment for "%7E" is added to expandName() - * url.c (parseURL2): file unquote - * etc.c (expandName): revert previous changes + * po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po, rc.c: + Update PO strings for extbrowser2..9. -2003-03-14 Fumitoshi UKAI +2016-03-13 Tatsuya Kinoshita - * [w3m-dev 03822] Re: etc.c: treatment for "%7E" is added to expandName() - * etc.c (expandName): rewrite with strncasecmp + * acinclude.m4, configure: + Set firefox instead of mozilla to default browser. -2003-03-14 Fumitoshi UKAI + * po/Makefile.in.in, po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po: + * po/zh_TW.po: Update PO strings for extbrowser4..9. - * [w3m-dev 03821] fix for pmake - * Makefile.in: use $(srcdir)/... instead of $< + * doc-jp/MANUAL.html, doc/MANUAL.html, fm.h, main.c, rc.c: + Add extbrowser4, extbrowser5, ..., and extbrowser9. + e.g. + - extbrowser8 url=%s && printf %s "$url" | xsel && printf %s "$url" | xsel -b & + - extbrowser9 mpv %s & + cf. https://github.com/spcmd/w3m -2003-03-13 Dai Sato +2016-02-28 Tatsuya Kinoshita - * etc.c: treatment for "%7E" is added to expandName() + * menu.c: Fix SIGFPE for ACCESSKEY. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779092 -2003-03-13 Fumitoshi UKAI + * doc/README.func, main.c: Typo fix for ACCESSKEY. + cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779092#5 - * [w3m-dev 03819] support cd build && ../configure - * Makefile.in: add VPATH - add MV - use $(top_srcdir), $<, $@ - * acinclude.m4 (AC_W3M_VERSION): use $srcdir - * configure.in (AC_W3M_VERSION): move - * mktable.c (main): basename +2015-12-20 Franz Thoma -2003-03-13 Fumitoshi UKAI + * w3mimg/x11/x11_w3mimg.c: Fix semi-transparent artifacts in w3m-img + when used with 32-bit color (e.g. urxvt). + imlib_render_image_on_drawable_at_size() tended to leave nasty + semi-transparent artifacts in 32-bit mode. Apparently, resizing an + image in 32-bit mode affects the alpha channel even if there is no + transparency in the image. With this patch, resizing is done in + 24-bit mode (or whatever depth the original image has) before + converting the image to 32-bit and rendering it on the display. + Origin: https://gist.github.com/fmthoma/f76a1b44e00d5ca972bb + cf. https://github.com/hut/ranger/issues/86#issuecomment-166027119 - * Makefile.in (distclean): added +2015-12-17 Tatsuya Kinoshita -2003-03-13 Hironori SAKAMOTO + * w3mimg/x11/x11_w3mimg.c: + Wrap render_pixbuf_to_pixmap_32() in USE_GTK2. - * [w3m-dev 03818] fix autoconf - * Makefile.in (CGIBIN_DIR): added - (AUXBIN_DIR): added - (HELP_DIR): added - (RC_DIR): added - (MAKE_ARGS): added - (TARGET): use $(package) - (MAN1_TARGET): ditto - (install): use $(*_DIR) - * acinclude.m4 (AC_W3M_TERMLIB): added - (AC_W3M_GC): default search prefix /usr /usr/local $HOME - fix searches - (AC_W3M_SSL): fix bugs - * config.h (RC_DIR): remove tailing / - (SYS_MAILCAP): use ETC_DIR - (SYS_MIMETYPES): ditto - (USER_MIMETYPES): homedir - * configure.in: quote - (AC_W3M_TERMLIB): use - * Bonus/oldconfigure.sh: rewrite - -2003-03-12 Fumitoshi UKAI - - * [w3m-dev 03816] --enable-lynx => --enable-keymap=lynx - * acinclude.m4 (AC_W3M_KEYMAP): --enable-lynx => --enable-keymap=lynx - * Bonus/oldconfigure.sh: ditto - -2003-03-12 Yuji Abe - - * [w3m-dev 03814] fix autoconf - * acinclude.m4: quote variables - * Bonus/oldconfigure.sh: configure using old config.param - -2003-03-12 Hironori SAKAMOTO - - * [w3m-dev 03812] fix autoconf - * acinclude.m4 (AC_W3M_IMAGE): default is autodetect x11,fb - -2003-03-12 Hironori SAKAMOTO - - * [w3m-dev 03810] fix autoconf - * acinclude.m4 (AC_W3M_EXTLIBS): use $dir - (AC_W3M_GC): PREFIX is optional - (AC_W3M_SSL): PREFIX is optional - with_ssl=yes, check usual dirs - use $dir - (AC_W3M_IPv6): use $dir - -2003-03-12 Hironori SAKAMOTO - - * [w3m-dev 03809] fix autoconf - * acinclude.m4 (AC_W3M_CHECK_VER): accept version like "1.9.13-2" - -2003-03-12 Hironori SAKAMOTO - - * [w3m-dev 03808] fix autoconf - * acinclude.m4 (AC_W3M_GC): --with-gc takes PREFIX - check include first - (AC_W3M_CHECK_VER): show checking message - (AC_W3M_IMAGE): if gdkpixbuf found, don't check imlib* - -2003-03-11 Fumitoshi UKAI - - * Makefile.in (MODEL): delete @W3M_TARGET@ - * configure.in: AC_SUBST(W3M_TARGET) - -2003-03-11 Fumitoshi UKAI - - * which: deleted - * makeallmomdel: deleted - -2003-03-11 Fumitoshi UKAI - - * [w3m-dev 03804] fix autoconf - * acinclude.m4 (AC_W3M_MENU): default enabled - (AC_W3M_MOUSE): default enabled - (AC_W3M_COOKIE): default enabled - (AC_W3M_LANG): can't detect locale here. - autoconf set LANG=C - (AC_W3M_DIGEST_AUTH): default enabled - (AC_W3M_SSL): default enabled - * configure.in (AC_W3M_DIGEST_AUTH): added - -2003-03-11 Fumitoshi UKAI - - * [w3m-dev 03804] fix autoconf - * config.h.in (EAMCS_LIKE_LINEEDIT): define - (VI_PREC_NUM): define - (USE_MARK): define - (LABEL_TOPLINE): define - (NEXTPAGE_TOPLINE): define - (FTPPASS_HOSTNAMEGEN): define - (SHOW_PARAMS): define - (VIEW_UNSEENOBJECTS): define - (ID_EXT): define - -2003-03-11 Fumitoshi UKAI - - * [w3m-dev 03804] fix autoconf - * acinclude.m4 (AC_W3M_MODEL): deleted - (AC_W3M_COLOR): default enable - (AC_W3M_ANSI_COLOR): default enable - (AC_W3M_BG_COLOR): default enable - (AC_W3M_SHOW_PARAMS): deleted - (AC_W3M_DICT): default enable - (AC_W3M_HISTORY): default enable - (AC_W3M_VIEW_UNSEENOBJECTS): deleted - (AC_W3M_FORMAT_NICE): deleted - (AC_W3M_ID_EXT): deleted - (AC_W3M_FTPPASS_HOSTNAMEGEN): deleted - (AC_W3M_NNTP): default enabled - (AC_W3M_LANG): autodetect whether japanese is enabled - (AC_W3M_KANJI_SYMBOLS): default enabled - (AC_W3M_EMACS_LIKE_LINEEDIT): deleted - (AC_W3M_VI_PREC_NUM): deleted - (AC_W3M_MARK): deleted - (AC_W3M_LABEL_TOPLINE): deleted - (AC_W3M_NEXTPAGE_TOPLINE): deleted - (AC_W3M_SSL): fix without ssl - (AC_W3M_IMAGE): default enabled - (AC_W3M_XFACE): check uncompface - (AC_W3M_IPv6): enable_ipv6 if inet6 lib found - * configure.in (AC_PROG_CPP): added - -2003-03-11 Yuji Abe - - * [w3m-dev 03803] fix autoconf - * acinclude.m4 (AC_W3M_MIGEMO): add missing test - needs quote - (AC_W3M_SSL): delete x - -2003-03-11 Hironori SAKAMOTO - - * [w3m-dev 03802] fix autoconf - * acinclude.m4 (AC_W3M_CHECK_VER): warn only - -2003-03-11 Yuji Abe - - * [w3m-dev 03801] fix autoconf - * acinclude.m4 (AC_W3M_BG_COLOR): fix typo - (AC_W3M_KANJI_SYMBOLS): check enable_japanese != 'no' - (AC_W3M_KEYMAP): needs {} - (AC_W3M_EXTLIBS): don't modify libdir, use extlibdir - (AC_W3M_SSL): missing x - (AC_W3M_IMAGE): add AC_DEFINE(USE_IMAGE) - * config.h.in: s/USE_KANJI_SYMBOLS/KANJI_SYMBOLS/ - add SIZEOF_LONG_LONG - don't use //, use /* */ - * configure.in: add AC_CHECK_SIZEOF(long long, 0) - -2003-03-10 Fumitoshi UKAI - - * autoconfiscate - * Makefile.in: added - * acinclude.m4: added - * aclocal.m4: added (generated from acinclude.m4 by aclocal) - * configure.in: added - * config.h.in: added - * config.guess: added - * config.sub: added - * .cvsignore: add Makefile config.cache config.log config.status - * configure: generated by autoconf - * gc/: deleted - * XMakefile: deleted - * XXMakefile: deleted - * NEWS: autoconficate - -2003-03-10 Fumitoshi UKAI - - * version.c.in: cvs version - -2003-03-07 Fumitoshi UKAI - - * w3m 0.4.1 - * version.c.in: update - * doc/README: version 0.4.1, release date - * doc-jp/README: ditto - * NEWS: update - -2003-03-06 Hironori SAKAMOTO - - * [w3m-dev 03794] displayBuffer() when CurrentTab == NULL. - * display.c (displayBuffer): check buf - * linein.c (inputLineHistSearch): check CurrentTab - (next_dcompl): check CurrentTab - (_editor): check CurrentTab - * main.c (resize_screen): check CurrentTab - -2003-03-06 Fumitoshi UKAI - - * [w3m-dev 03793] incremental search fix - * main.c (dispincsrch): revert sbuf.pos fix - start from next position in next forward search - (srch): start from next position in forward saerch - if not found, restore original position - (srch_nxtprv): start from next position in next forward search - * search.c (forwardSearch): search from current position - -2003-03-06 Fumitoshi UKAI - - * [w3m-dev 03792] URL match string - incremental search fix - * main.c (chkURLBuffer): allow - at end of URL string - (dispincsrch): start from current position in case of - incremental search - * search.c (forwardSearch): found if same position - (backwardSearch): ditto +2015-12-17 Araki Ken -2003-03-03 Hironori SAKAMOTO + * w3mimg/x11/x11_w3mimg.c: + w3mimgdisplay supports 32 bit depth screen. (e.g. gnome-terminal) + Origin: https://bitbucket.org/arakiken/w3m/commits/f9c22db8cfd1aaba9bb7301ef9ba51ed88d8bb40 - * [w3m-dev 03788] UFhalfclose - * file.c (UFhalfclose): closeNews() for SCM_NEWS,NNTP +2015-12-17 Tatsuya Kinoshita -2003-02-28 Hironori SAKAMOTO + * w3mimg/x11/x11_w3mimg.c: + Revert "Fix handling visuals and colormaps incorrectly". + This reverts commit e24b4064daf3e022e370788a8c7267db40c37dda. - * [w3m-dev 03783] pipe to "command1 | command2" - * Bonus/utf8.cgi: added +2015-11-19 Tatsuya Kinoshita -2003-02-27 Hironori SAKAMOTO + * fm.h: Accept cookies by default. - * [w3m-dev 03784] ftp directory support - * ftp.c (AbortLoading): added - (KeyAbort): added - (openFTPStream): remove '~' in realpathname? - (loadFTPDir): remove '~' in realpathname? - keyabort - new ex_ftpdir_name_size_date() - add symlink information to flist - (XD_CTOD): deleted - (EX_COUNT_DIGIT): added - (ex_ftpdir_name_size_date): add **link - accept device file - loose date check for localized server + * fm.h: Set argv_is_url to 1 by default. + Bug-Arch: https://bugs.archlinux.org/task/47102 -2003-02-27 Hironori SAKAMOTO +2015-11-18 Tatsuya Kinoshita - * [w3m-dev 03783] pipe to "command1 | command2" - * etc.c (myExtCommand): redirect to subshell - * main.c (pipeBuf): conv_to_system(cmd) - shell_quote() - set buf->filename, buf->buffername + * config.guess, config.sub: + Update config.* with autotools-dev 20150820.1. -2003-02-26 Hironori SAKAMOTO +2015-11-11 Mingye Wang (Arthur2e5) - * [w3m-dev 03782] real linenumber for EDIT and EDIT_SCREEN - * main.c (cur_real_linenumber): added - (editBf): use cur_real_linenumber instead of CUR_LINENUMBER - (editScr): ditto + * po/LINGUAS, po/zh_CN.po, po/zh_TW.po: + Add zh_CN and zh_TW translations. + Please note that the zh_TW translation is machine-converted using + OpenCC from zh_CN, and needs to be further polished by actual zh_TW + speakers. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804732#10 -2003-02-26 Hironori SAKAMOTO +2015-10-24 BwackNinja - * [w3m-dev 03781] Debian Bug report logs - #181897: w3m submits query urls with "extra" - * main.c (_followForm): remove tailling '?' + * w3mimg/x11/x11_w3mimg.c: + Fix handling visuals and colormaps incorrectly. + cf. https://github.com/hut/ranger/issues/86 + Origin: https://gist.github.com/BwackNinja/60a344730170f9ce2163 + Bug-Arch: https://bugs.archlinux.org/task/46836 + Bug: https://sourceforge.net/p/w3m/patches/72/ -2003-02-25 Hironori SAKAMOTO +2015-10-10 Tatsuya Kinoshita - * [w3m-dev-en 00891] Re: w3m 0.4 has been released! - * image.c (getCharSize): set W3M_TTY here, before Imgdisplay invoke - (openImgdisplay): no need setting W3M_TTY here + * cookie.c: Remove incomplete special_domain tests. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385702 -2003-02-25 Fumitoshi UKAI +2015-10-04 Gaetan Bisson - * version.c.in: cvs version + * scripts/w3mhelp.cgi.in: Do not use defined(%hash). + Origin: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/w3m&id=d9e0a4f0b461c9e2177cd9e64a10581386650503 + Bug-Arch: https://bugs.archlinux.org/task/45608 -2003-02-24 Fumitoshi UKAI +2015-09-06 Tatsuya Kinoshita - * w3m 0.4 - * version.c.in: update - * doc/README: version 0.4, release date - * doc-jp/README: ditto - * NEWS: update + * file.c: Do not use C99-style comments. -2003-02-24 patakuti@t3.rim.or.jp +2015-09-06 David Crosby - * [w3m-dev 03772] Compilation error on Cygwin B20.1 - * terms.c (term_title): use Sprintf() instead of snprintf() - * doc-jp/README.cygwin doc/README.cygwin: add note about B20.1 + * file.c: Mitigate issue #16 found by @kcwu. + * table.c: Fix stack overflow found by @kcwu. + Origin: https://github.com/dafyddcrosby/sw3m + Bug-sw3m: https://github.com/dafyddcrosby/sw3m/issues/16 -2003-02-21 WATANABE Katsuyuki +2015-08-21 Tatsuya Kinoshita - * [w3m-dev 03765] Re: README.cygwin - * doc/README.cygwin: translated + * doc-jp/keymap.lynx, doc/keymap.lynx: Fix unknown key. + Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/265144 + Bug: https://sourceforge.net/p/w3m/bugs/48/ -2003-02-21 Fumitoshi UKAI +2015-08-11 David Crosby - * doc/README: update + Fix resource leaks, dead assignments, divide-by-zero, and so on. + Origin: https://github.com/dafyddcrosby/sw3m -2003-02-21 Dai Sato + * buffer.c: Check for presence of prevl before using. - * [w3m-dev 03762] Re: README.cygwin - * doc/README.cygwin: translated + * html.h: Adjust UFclose to remove false positive of CWE-481. -2003-02-21 Hironori SAKAMOTO + * ftp.c: Move sockent for splint. - * [w3m-dev 03761] eliminate compiler warnings - * ftp.c (ftp_login): Str tmp - * table.c (feed_table_tag): p is used ifdef ID_EXT + * cookie.c: Use unsigned int for max_count. -2003-02-21 WATANABE Katsuyuki + * libwc/iso2022.c: Add missing comparision that made if always true. - * [w3m-dev 03760] Re: README.cygwin - * doc-jp/README: update + * Str.c: Use fgetc in while loops, use int instead of char. -2003-02-19 Fumitoshi UKAI + * mailcap.c: Adjust len to size_t. - * 0.4 release candidate 3 - * version.c.in: update + * history.c: Check return value of rename. -2003-02-19 Atsushi YOKOYAMA + * main.c: Adjust while loop. - * [w3m-dev 03758] Re: SVR4 signal behavior - * etc.c (reset_signals): use mySignal() - (setup_child): ditto - (myExec): ditto - (mySignal): added, use sigaction if available - * fm.h (TRAP_ON): use mySignal - (TRAP_OFF): ditto - * istream.c (ISclose): ditto - * main.c (sig_chld): ditto - (main): ditto - (do_dump): ditto - (resize_hook): ditto - (resize_handler): ditto - (srchcore): ditto - (readsh): ditto - (SigAlarm): ditto - * proto.h (mySignal): added - * terms.c (error_dump): use mySignal() - (set_int): ditto - (mouse_init): ditto + * news.c: Check dup call for errors. -2003-02-19 Hironori SAKAMOTO + * file.c: Remove unused value. - * [w3m-dev 03753] Fixed multipart.cgi - * scripts/multipart/multipart.cgi.in: remove w3m-control - use input hidden - add form_encode + * ftp.c: dup can give a negative value. -2003-02-18 WATANABE Katsuyuki + * main.c: Use int for c. - * [w3m-dev 03749] README.cygwin - * doc-jp/README.cygwin: added - * doc/README: updated + * table.c: Initialize new_tabwidth at declaration. -2003-02-17 Fumitoshi UKAI + * local.c: Remove overflow on readlink. - * 0.4 release candidate 2 - * version.c.in: update + * anchor.c, file.c, istream.c, main.c, menu.c, rc.c, table.c, terms.c: + * url.c: Remove dead assignments flagged by Clang static analysis. -2003-02-13 Fumitoshi UKAI + * w3mbookmark.c: + Move fclose to fix dereference after null check (Coverity). - * [w3m-dev 03742] Re: Bug##180814: w3m: Missing w3mimgdisplay message at startup - * image.c (getCharSize): stderr redirect to omit /bin/sh error message + * file.c: Fix resource leak in AuthDigestCred. -2003-02-13 Fumitoshi UKAI + * buffer.c: Fix resource leak in readBufferCache. - * XMakefile (install-core): fix for broken non-POSIX /bin/sh + * cookie.c: Fix resource leak in load_cookies. -2003-02-11 Hironori SAKAMOTO + * frame.c: Fix resource leak. - * [w3m-dev-en 00868] fix mark_all_pages - * anchor.c (reAnchorAny): next_line process for MarkAllPages + * w3mhelperpanel.c: Fix resource leak. -2003-02-11 Hironori SAKAMOTO - - * [w3m-dev-en 00867] fix installation problem - * XMakefile (install-core): test AUXBIN_TARGETS - -2003-02-11 Fumitoshi UKAI - - * version.c.in: cvs version - -2003-02-11 Fumitoshi UKAI - - * 0.4 release candidate 1 - * version.c.in: update - -2003-02-09 Hironori SAKAMOTO - - * [w3m-dev 03737] local-CGI POST - * local.c (localcgi_post): use tmp file - -2003-02-08 Hiroyuki Ito - - * [w3m-dev 03736] dirlist sort - * scripts/dirlist.cgi.in (right_dir): use cmp for filename comparison - -2003-02-07 Hironori SAKAMOTO - - * [w3m-dev 03735] Re: make error of checkType arg - * etc.c (checkType): delete USE_ANSI_COLOR - * file.c (addnewline): macro for USE_ANSI_COLOR - (readHeader): rewrite of USE_ANSI_COLOR - (HTMLlineproc2body): ditto - (addnewline2): ditto - (addnewline): ditto - (loadBuffer): ditto - (getNextPage): ditto - * proto.h (checkType): macro for USE_ANSI_COLOR - -2003-02-07 Hironori SAKAMOTO - - * [w3m-dev 03733] Re: display decoded URL - * display.c (make_lastline_link): buf->document_code - -2003-02-07 Hironori SAKAMOTO - - * [w3m-dev 03732] Re: scroll() is slow ? - * configure (use_raw_scroll): added - (config.h) use_raw_scroll - * config.h.dist (USE_RAW_SCROLL): added - * display.c (displayBuffer): ifdef USE_RAW_SCROLL - * proto.h (scroll): ifdef USE_RAW_SCROLL - (rscroll): ditto - (need_clrtoeol): if 0 - (terms.c): if 0 need_clrtoeol - (scroll_raw): ifdef USE_RAW_SCROLL - -2003-02-06 Fumitoshi UKAI - - * NEWS: rc: decode_url - -2003-02-06 Hironori SAKAMOTO - - * [w3m-dev 03730] display decoded URL - * anchor.c (link_list_panel): support DecodeURL - * display.c (make_lastline_link): support DecodeURL - * etc.c (url_unquote_conv): added - * fm.h (DecodeURL): added - * history.c (historyBuffer): support DecodeURL - * indep.c (QUOTE_MAP): added - (HTML_QUOTE_MAP): added - (html_quote_char): deleted - (url_quote): use is_url_quote - (file_quote): use is_file_quote - (is_url_safe): deleted - (Str_form_quote): use is_url_unsafe - (Str_url_unquote): add safe args - (is_shell_safe): delete - (shell_quote): use is_shell_unsafe - * indep.h (QUOTE_MAP): added - (HTML_QUOTE_MAP): added - (HTML_QUOTE_MASK): added - (SHELL_UNSAFE_MASK): added - (URL_QUOTE_MASK): added - (FILE_QUOTE_MASK): added - (URL_UNSAFE_MASK): added - (GET_QUOTE_TYPE): added - (is_html_quote): added - (is_shell_unsafe): added - (is_url_quote): added - (is_file_quote): added - (is_url_unsafe): added - (html_quote_char): added - (html_quote_char): deleted - (Str_url_unquote): added safe - (form_unquote): Str_url_unquote changes - * linein.c (_prev): support DecodeURL - (_next): ditto - * main.c (goURL0): support DecodeURL - (_peekURL): ditto - (curURL): ditto - * map.c (follow_map_panel): support DecodeURL - (append_map_info): ditto - (append_link_info): ditto - (append_frame_info): ditto - (page_info_panel): ditto - * menu.c (initSelectMenu): delete SCM_LOCAL_CGI - support DecodeURL - (initSelTabMenu): delete SCM_LOCAL_CGI - support DecodeURL - (link_menu): support DecodeURL - * parsetagx.c (parse_tag): is_html_quote - * proto.h (url_unquote_conv): added - * rc.c (CMT_DECODE_URL): added - (params1): add decode_url - * url.c (openURL): Str_url_unquote non safe - -2003-02-06 Hironori SAKAMOTO - - * [w3m-dev 03729] buf fix of reAnchorNewsheader() - * anchor.c (reAnchorAny): check l->bpos - (reAnchorNewsheader): check l->bpos - strlen(*q) - lineBuf[l->size] - -2003-02-06 Hironori SAKAMOTO - - * [w3m-dev 03728] IPv6 hostname - * url.c (parseURL): rewrite IPv6 address parser - -2003-02-04 Hironori SAKAMOTO - - * [w3m-dev 03724] Re: view source, edit source - * buffer.c (reshapeBuffer): initialize buf->width first - * display.c (displayBuffer): no need to check buf>sourcefile - -2003-02-01 Hironori SAKAMOTO - - * [w3m-dev 03721] PATH_INFO support of local CGI - * local.c (CGIFN_DROOT): deleted - (CGIFN_LIBDIR): added - (CGIFN_MODE): deleted - (CGIFN_CONTAIN_SLASH): deleted - (check_local_cgi): rewrite - (cgi_filename): rewrite - (localcgi_post): support PATH_INFO - * url.c (openURL): rewrite - * Bonus/smb.cgi: use PATH_INFO - -2003-02-01 Hironori SAKAMOTO - - * [w3m-dev 03720] mark remains - * main.c (srchcore): PREC_NUM - -2003-01-31 Hironori SAKAMOTO - - * [w3m-dev 03719] Re: Too slow when loading big file with fold_line=1 - * file.c (addnewline): check i len - -2003-01-31 Hironori SAKAMOTO - - * [w3m-dev 03718] Too slow when loading big file with fold_line=1 - * etc.c (nextColumn): added - (calcPosition): use New_N - rewrite with nextColumn - (columnLen): added - * file.c (addnewline): rewrite with columnLen - * proto.h (columnLen): added - -2003-01-31 Hironori SAKAMOTO - - * [w3m-dev 03717] print newline before exec shell command. - * main.c (execsh): print newline - -2003-01-31 Hironori SAKAMOTO - - * [w3m-dev 03715] initial currentLine when pager mode. - * file.c (getNextPage): fix cur - -2003-01-31 Hironori SAKAMOTO - - * [w3m-dev 03714] -cols 1 -dump -o fold_line=1 - * file.c (addnewline): check i == 0, i == l->len - * fm.h (_INIT_BUFFER_WIDTH): added - (INIT_BUFFER_WIDTH): use _INIT_BUFFER_WIDTH - -2003-01-31 Hironori SAKAMOTO - - * [w3m-dev 03713] search with "$" - * search.c (forwardSearch): check l->next && l->next->bpos - (backwardSearch): check l->size, l->next && l->next->bpos - -2003-01-31 Hironori SAKAMOTO - - * [w3m-dev 03712] buf fix of LINE_INFO - * main.c (curlno): rewrite - -2003-01-30 Hironori SAKAMOTO - - * [w3m-dev 03709] Re: view source, edit source - * display.c (displayBuffer): INIT_BUFFER_WIDTH - * file.c (_saveBuffer): added - (saveBuffer): use _saveBuffer - (saveBufferBody): added - * main.c (vmSrc): saveBufferBody - * proto.h (saveBufferBody): added - -2003-01-30 Hironori SAKAMOTO + * w3mbookmark.c: Fix resource leak and a null return value dereference. - * [w3m-dev-en 00852] Re: Enhancement: content type detection of files - * url.c (DefaultGuess): remove upppercases - (guessContentTypeFromTable): rewrite, strcasecmp + * linein.c: Fix a divide-by-zero. -2003-01-30 Hironori SAKAMOTO + * cookie.c: Change total_dot_number to unsigned int. - * [w3m-dev 03708] Re: Don't stop loading image when moving to next page. - * config.h.dist (lstat): define ifndef HAVE_LSTAT - * configure (config.h) ditto - * display.c (fmTerm): new loadImage - (save_current_buf): only ifdef USE_BUFINFO - (displayBuffer): new loadImage - * etc.c (setup_child): TrapSignal - * file.c (loadGeneralFile): TRAP_OFF, TRAP_ON - (loadHTMLstream): ditto - (loadGopherDir): ditto - (loadBuffer): ditto - (loadImageBuffer): ditto - (getNextPage): ditto - (save2tmp): ditto - * fm.h (TrapSignal): added - (TRAP_ON): added - (TRAP_OFF): added - * form.c (HAVE_LSTAT): deleted - * frame.c (createFrameFile): TRAP_OFF, TRAP_ON - * image.c (image_buffer): added - (deleteImage): new loadImage - (getAllImage): initialize image_buffer - (loadImage): rewrite - * main.c (main): new loadImage - (checkDownloadList): remove ifdef HAVE_LSTAT - * news.c (loadNwesgroup): TRAP_ON, TRAP_OFF - * proto.h (loadImage): add buf arg - * url.c (openSocket): TRAP_ON, TRAP_OFF - (check_no_proxy): TRAP_ON, TRAP_OFF - -2003-01-29 Hironori SAKAMOTO - - * [w3m-dev 03707] Don't stop loading image when moving to next page. - * display.c (save_current_buf): required when defined USE_IMAGE - (displayBuffer): stop only buffer changed - * image.c (loadImage): IMG_FLAG_START load from maxLoadImage - -2003-01-29 Hironori SAKAMOTO - - * [w3m-dev 03706] X-Image-URL: support, bug fix of reshapeBuffer() - * buffer.c (reshapeBuffer): rewrite - * file.c (readHeader): rewrite - -2003-01-29 NAKAJIMA Mikio - - * [w3m-dev 03705] goodict.cgi (was: Re: google.cgi (was: Re: keymap key SEARCH string)) - * Bonus/goodict.cgi: added - -2003-01-29 Hironori SAKAMOTO - - * [w3m-dev 03700] Re: google.cgi (was: Re: keymap key SEARCH string) - * main.c (goURL0): check relative or *url == '#' - -2003-01-28 Hironori SAKAMOTO - - * [w3m-dev 03689] Re: fold patch - * fm.h (BufferPos): add bpos - * main.c (save_buffer_position): bpos initialize - (resetPos): reset bpos - -2003-01-26 Hironori SAKAMOTO - - * [w3m-dev 03686] Re: fold patch - * buffer.c (writeBufferCache): rewrite - (readBufferCache): rewrite - * etc.c (calcPosition): short -> int realColumn - * fm.h (Line): short -> int len,width,size,bpos,bwidth - (BufferPoint): short->int pos - (Buffer): short->int currentColumn,pos,visualpos - (BufferPos): short->int currentColumn,pos - * frame.h (frameset_queue): short->int pos,currentColumn - * main.c (clear_mark): short->int pos - (dispincsrch): short->int pos - (backBf): short->int pos - (set_buffer_environ): short->int prev_pos - -2003-01-25 Hironori SAKAMOTO - - * [w3m-dev 03684] Re: fold patch - * file.c (PSIZE): added - (HTMLlineproc2body): outc,outp is created by NewAtom_N - use PSIZE - -2003-01-25 Fumitoshi UKAI - - * file.c (getNextPage): no need volatile for code - -2003-01-25 Hironori SAKAMOTO - - * [w3m-dev 03683] interrupt in getNextPage() - * file.c (getNextPage): trap SIGINT - -2003-01-25 Hironori SAKAMOTO - - * [w3m-dev 03682] open null file on tab - * display.c (displayBuffer): if empty, clear() - -2003-01-25 Hironori SAKAMOTO - - * [w3m-dev 03681] Re: fold patch - * buffer.c (reshapeBuffer): buf->pos, sbuf.currentLine fix - FoldLine - * display.c (arrangeCursor): buf->pos fix - (restorePosition): buf->pos fix - -2003-01-24 Fumitoshi UKAI - - * NEWS: func: RESHAPE - rc: fold_line - -2003-01-24 Fumitoshi UKAI - - * fix compiler warnings - * display.c (displayBuffer): fix suggest parentheses around && within || -2003-01-24 Hironori SAKAMOTO - - * [w3m-dev 03667] fold patch - * anchor.c (reAnchorPos): rewrite - (reAnchorWord): delete reseq_anchor() - (reAnchorAny): use l->size - delete reseq_anchor() - * backend.c (internal_get): pass TRUE to saveBuffer - * buffer.c (newBuffer): delete n->linelen - (reshapeBuffer): rewrite - * display.c (displayBuffer): FoldLine - (redrawLine): l->bpos - (cursorUp0): added - (cursorUp): rewrite - (cursorDown0): added - (cursowDown): rewrite - (cursorRight): check l->next - l->bwidth - (cursorLeft): l->prev && l->bpos - l->bwidth - (arrangeCursor): buf->currentLine->bwidth - buf->cursorX - * etc.c (checkType): **oporp - rewrite - (calcPosition): realColumn allocated by New_reuse - * file.c (addnewline): add nlines arg - (propBuffer): deleted - (colorBuffer): deleted - (readHeader): propBuffer - FOLD_BUFFER_WIDTH - (HTMLlineproc2body): rewrite - (addnewline2): added - (addnewline): rewrite - (loadBuffer): propBuffer, colorBuffer - (saveBuffer): cont arg - (getNextPage): rewrite - * fm.h (LINELEN): 256 - (FNLEN): deleted - (Line): add size, bpos, bwidth - (Buffer): delete linelen - (INIT_BUFFER_WIDTH): check showLineNum - (FOLD_BUFFER_WIDTH): added - (FoldLine): added - * funcname.tab (RESHAPE): added - * main.c (do_dump): pass FALSE to saveBuffer - (nscroll): rewrite - (clear_mark): l->size - (shiftvisualpos): rewrite - (pipeBuf): pass TRUE to saveBuffer - (linebeg): check line->prev && line->bpos - (linend): check line->next, line->next->bpos - (editScr): pass TRUE to saveBuffer - (svBuf): pass TRUE to saveBuffer - (vmSrc): pass TRUE to saveBuffer - (reshape): added - (curlno): rewrite - * mimehead.c (LINELEN): deleted - * proto.h (reshape): added - (saveBuffer): add cont arg - (cursorUp0): added - (cursorDown0): added - (checkType): change type oprop, ocolor, delete check_color, len - * rc.c (CMT_FOLD_LINE): added - (params1): add fold_line - (sync_with_option): check PagerMax - * search.c (set_mark): l->size - (forwardSearch): rewrite - (backwardSearch): rewrite - * doc/README.func (RESHAPE): added - * doc-jp/README.func (RESHAPE): added - * scripts/w3mhelp.cgi.in (Buffer operation): add reshape - -2003-01-24 Hironori SAKAMOTO - - * etc.c (next_status): after = is R_ST_VALUE - R_ST_VALUE > => R_ST_NORMAL - R_ST_VALUE SP => R_ST_TAG - (read_token): R_ST_VALUE - (correct_irrtag): R_ST_VALUE - * rm.h (R_ST_VALUE): added - (ST_IS_REAL_TAG): rewrite - (ST_IS_COMMENT): deleted - (ST_IS_TAG): deleted - * parsetagx.c (parse_tag): skip too long tagname - skip too long attrname - if attrvalue has quote char, need reconstruct - if unknown attr, need reconstruct - * table.c (visible_length): R_ST_VALUE - -2003-01-24 Hironori SAKAMOTO - - * [w3m-dev 03680] showProgress() on fast system - * file.c (showProgress): check line len, time - -2003-01-24 Hironori SAKAMOTO - - * [w3m-dev 03679] Re: cleanup for pipe - * etc.c (open_pipe_rw): check stdin, stdout - * file.c (uncompress_stream): rewrite - -2003-01-23 Fumitoshi UKAI - - * [w3m-dev 03678] Re: config.param is clear when configure -help - * configure: don't override config.param - -2003-01-23 Hironori SAKAMOTO - - * [w3m-dev 03677] view source, edit source - * buffer.c (discardBuffer): unlink header source - * file.c (loadFile): delete skip header - * fm.h (BP_SOURCE): deleted - (SkipHeader): deleted - * main (editBf): cleanup - (vmSrc): cleanup - -2003-01-23 Hironori SAKAMOTO - - * [w3m-dev 03676] cleanup for pipe - * etc.c (open_pipe_rw): added - * file.c (uncompress_stream): rewrite using open_pipe_rw - * image.c (openImgdisplay): rewrite using open_pipe_rw - * local.c (localcgi_popen_rw): deleted - (localcgi_post): rewrite using open_pipe_rw - * proto.h (open_pipe_rw): added - * search.c (migemor): initialized to NULL - (migemow): initialized to NULL - (migemo_pid): initialized to 0 - (open_migemo): rewrite using open_pipe_rw - -2003-01-23 Hironori SAKAMOTO - - * [w3m-dev 03675] x-face - * file.c (xface2xpm): use getImage() - (readHeader): check same file - (loadImageBuffer): rewrite - (lessopen_stream): shell_quote() - -2003-01-23 Hironori SAKAMOTO - - * [w3m-dev 03674] -dump problem - * file.c (loadGeneralFile): return NULL when dump - * main.c (dump_source): deleted - (dump_head): deleted - (dupm_extra): deleted - (do_dump): added - (main): singal when dump - -2003-01-23 Yoshinobu Sakane - - * [w3m-dev 03671] Re: config.param is clear when configure -help - * configure: test -f config.param - -2003-01-22 Hironori SAKAMOTO - - * [w3m-dev 03665] imlib2 support (on X11) - * configure: X11 inline image with Imlib2 - fix typo in fb/imlib2 - * w3mimg/x11/x11_w3mimg.c: USE_IMLIB2 - (x11_load_image): USE_IMLIB2 - (x11_show_image): USE_IMLIB2 - (x11_free_image): USE_IMLIB2 - (x11_get_image_size): USE_IMLIB2 - -2003-01-22 Hironori SAKAMOTO - - * [w3m-dev 03664] config.param is clear when configure -help - * configure: config.param created after arg parsing - -2003-01-21 Fumitoshi UKAI - - * map.c (follow_map_menu): if USE_IMAGE or MENU_MAP - * proto.h (follow_map_menu): ditto - -2003-01-21 Hironori SAKAMOTO - - * [w3m-dev 03660] Re: fputs -> Strfputs - * Str.h (Strncmp_charp): paren - (Strncasecmp_charp): ditto - (Strinsert): ditto - (Strshrinkfirst): ditto - * display.c (disp_err_message): added - * file.c (loadGeneralFile): don't put function in macro arg - (saveBuffer): ditto - * frame.c (createFrameFile): ditto - * proto.h (disp_err_message): macro->function - * table.c (pushdata): if data is NULL, use "" - (suspend_or_pushdata): if line is NULL, use "" - * textlist.h (pushText): don't use (s) twice in a macro - -2003-01-21 Hironori SAKAMOTO - - * [w3m-dev 03659] Can't download from SSL. - * istream.c (ISfileno): case IST_SSL - -2003-01-21 Hironori SAKAMOTO - - * [w3m-dev 03658] Re: Other user can see local cookie. - * fm.h (rc_dir): init(NULL) - * rc.c (config_file): deleted - (init_rc): use rc_dir - -2003-01-21 Hironori SAKAMOTO - - * [w3m-dev 03657] fputs -> Strfputs - * form.c (form_fputs_decode): use Strfputs() - -2003-01-19 Fumitoshi UKAI - - * [w3m-dev 03655] Re: file.c:image_source when undef USE_IMAGE - * map.c (follow_map_menu): fix warnings - -2003-01-19 WATANABE Katsuyuki - - * [w3m-dev 03654] file.c:image_source when undef USE_IMAGE - * file.c (readHeader): image_source ifdef USE_IMAGE - (loadGeneralFile): ditto - (uncompress_stream): ditto - -2003-01-19 Fumitoshi UKAI - - * [w3m-dev 03653] SourceForge.net: 576032 w3m https crashes with OpenSSL-0.9.7 - * istream.c (ssl_check_cert_ident): use sk_GENERAL_NAME_free() - -2003-01-18 Fumitoshi UKAI - - * [w3m-dev 03652] Re: Debian bug #176981 - * file.c (checkHeader): always remove_space - (loadGeneralFile): no need remove_space - -2003-01-18 Hironori SAKAMOTO - - * [w3m-dev 03651] Debian bug #176981 - * file.c (checkRedirection): added - (loadGeneralFile): check redirection - t_buf only is created when it is NULL - remove_space - -2003-01-18 Hironori SAKAMOTO - - * [w3m-dev 03647] expandName() and expandPath() - * etc.c (openSecretFile): use expandPath - (expandName): rewrite - (file_to_url): use expandPath - * file.c (_doFileCopy): use expandPath - (doFileSave): use expandPath - * indep.c (expandPath): rewrite - * linein.c (inputLineHistSearch): use expandPath - (next_dcompl): use expandPath - (doComplete): use expandPath - * local.c (set_cgi_environ): rewrite - * mailcap.c (loadMailcap): use expandPath - * main.c (svBuf): use expandPath - (addDownloadList): use expandPath - * rc.c (init_rc): use expandPath - (rcFile): rewrite - (auxbinFile): use expandPath - (libFile): use expandPath - (etcFile): use expandPath - (helpFile): use expandPath - * url.c (loadMimeTypes): use expandPath - (loadURIMethods): use expandPath - -2003-01-18 Hironori SAKAMOTO - - * [w3m-dev 03646] setup child process, local CGI - * etc.c (reset_signals): static - don't ignore SIGUSR1 - (close_all_fds_except): static - DEV_NULL_PATH - (setup_child): added - (myExec): rewrite - (mySystem): rewrite - * file.c (readHeader): check image_source - (loadGeneralFile): check image_source - (doExternal): use setup_child - (_doFileCopy): use setup_child - (doFileSave): use setup_child - (uncompress_stream): check image_source - use setup_child - * image.c (getCharSize): no need stderr redirect - (openImgdisplay): use setup_child - (loadImage): use setup_child - (getImageSize): no need stderr redirect - * local.c (writeLocalCookie): check Local_cookie_file - (localcgi_popen_rw): added - (localcgi_popen_r): deleted - (localcgi_post): rewrite - (localcgi_get): deleted - * proto.h (localcgi_get): defined by localcgi_post - (reset_signals): deleted - (close_all_fds_except): deleted - (close_all_fds): deleted - (setup_child): added - * search.c (open_migemo): use setup_child, myExec - * w3mimgdisplay.c (main): use DEV_NULL_PATH - -2003-01-16 Hironori SAKAMOTO - - * [w3m-dev 03644] Re: Other user can see local cookie. - * cookie.c (save_cookies): return if no_rc_dir - * etc.c (tmpf_base): add cookie - (tmpfname): use tmp_dir instead of rc_dir - * file.c (loadGeneralFile): cookie is not passed via URL - * fm.h (TMPF_COOKIE): incl - (MAX_TMPF_TYPE): incl - (no_rc_dir): added - (tmp_dir): added - (config_file): added - * local.c (Local_cookie_file): added - (writeLocalCookie): added - (setLocalCookie): dont set environment LOCAL_COOKIE - (localcgi_post): writeLocalCookie - (localcgi_get): writeLocalCookie - * main.c (config_filename): deleted - (cmd_loadURL): arg FormList - (main): rewrite config_file, rc - (ldhelp): no cookie in URL - (cmd_loadURL): arg FormList - (goURL0): cmd_loadURL change - (cmd_loadBuffer): cmd_loadURL change - (adBmark): cookie is posted - (follow_map): cmd_loadURL change - (linkMn): cmd_loadURL change - (reinit): init_rc change - * proto.h (create_option_search_table): deleted - (init_rc): no args - * rc.c (create_option_search_table): static - (init_rc): no args - rewrite - (optionpanel_src1): rewrite - (load_option_panel): html_quote - (panel_set_option): no_rc_dir - * w3mbookmark.c: rewrite - * w3mhelperpanel.c: rewrite - * scripts/dirlist.cgi.in: rewrite - * scripts/w3mhelp.cgi.in: rewrite - * scripts/w3mmail.cgi.in: rewrite - * scripts/multipart/multipart.cgi.in: rewrite - -2003-01-16 Fumitoshi UKAI - - * file.c (loadGopherDir): convertLine RAW_MODE - * ftp.c (loadFTPDir): ditto - -2003-01-16 Hironori SAKAMOTO - - * [w3m-dev 03642] Re: cleanup (don't close connection of news server) - * local.c (localcgi_post): localcgi_popen_r first - -2003-01-16 Hironori SAKAMOTO - - * [w3m-dev 03641] Re: cleanup (don't close connection of news server) - * ftp.c (ftp_command): fix fwrite arg - * news.c (news_command): fix fwrite arg - -2003-01-16 Hironori SAKAMOTO - - * [w3m-dev 03640] Re: cleanup (don't close connection of news server) - * anchor.c (_put_ahchor_news): always conv_str - (_put_anchor_all): always conv_str - * etc.c (close_all_fds): deleted - (close_all_fds_except): added, except fd=f is left open - * file.c (guess_filename): added - (UFhalfclose): added - (convertLine): cleanup_line if not raw mode - check uf - (readHeader): always convertLine - (loadGeneralFile): rewrite - (loadGopherDir): return Str, args change to ParsedURL and code - rewrite - (saveBuffer): always conv_str - (_doFileCopy): close_all_fds - (doFileSave): close_all_fds_except - (uncompress_stream): dup, close_all_fds_except - * form.c (form_fputs_decode): always conv_str - (input_textarea): convertLine - * frame.c (createFrameFile): convertLine - * ftp.c (loadFTPDir): arg code - rewrite - (readFTPDir): convertLine - * html.h (UFfileno): added - * image.c (loadImage): close_all_fds - * indep.h (RAW_MODE): added - * local.c (loadLocalDir): return Str - (dirBuffer): rewrite - (localcgi_popen_r): close_all_fds - * main.c (main): check SCM_LOCAL - print err_msg - * news.c (news_command): args cmd and arg - (news_quit): news_command - (openNewsStream): news_command - (readNewsgroup): deleted - (loadNewsgroup): added - (closeNews): added - * proto.h (loadGopherDir): update - (conv_str): define for no JP_CHARSET - (readFTPDir): deleted - (loadFTPDir): added - (readNewsgroup): deleted - (loadNewsgroup): added - (dirBuffer): deleted - (loadLocalDir): added - (close_all_fds): defined by close_all_fds_except - (close_all_fds_except): added - -2003-01-16 Hironori SAKAMOTO - - * [w3m-dev 03639] Re: smb.cgi - * Bonus/2ch.cgi: change password handling - * Bonus/README: update - * Bonus/README.eng: ditto - -2003-01-12 qhwt@myrealbox.com - - * [w3m-dev 03636] segfault in main.c - * main.c (main): check newbuf->currentURL.file - -2003-01-12 Fumitoshi UKAI - - * Bonus/README.eng: sync with Bonus/README - -2003-01-12 Hironori SAKAMOTO - - * [w3m-dev 03635] 2ch.cgi - * Bonus/2ch.cgi: added - * Bonus/README: update - -2003-01-12 Fumitoshi UKAI - - * Bonus/README.eng: sync with Bonus/README - -2003-01-12 Hironori SAKAMOTO - - * [w3m-dev 03634] smb.cgi - * Bonus/smb.cgi: added - * Bonus/README: update - -2003-01-12 Fumitoshi UKAI - - * ftp.c (ftp_pasv): ftp_command response - (readFTPDir): masked declaration of realpathname - -2003-01-12 Hironori SAKAMOTO - - * [w3m-dev 03633] Re: cleanup (don't close connection of news server) - * file.c (FTPhalfclose): deleted - (loadGeneralFile): closeFTP when doFileSave is done - (_doFileCopy): return int - (doFileMove): return int - (doFileSave): return int - * ftp.c: rewrite - * main.c (w3m_exit): disconnectFTP - * proto.h (_doFileCopy): return int - (doFileMove): return int - (doFileSave): return int - (openFTP): deleted - (openFTPStream): return InputStream - (closeFTP): no arg - (Ftpfclose): disconnectFTP - * url.c (openFTPstream): deleted - -2003-01-11 Fumitoshi UKAI - - * fix compiler warnings - * html.h (UFclose): value computed but not used - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03632] cleanup (don't close connection of news server) - * file.c (loadSomething): remove UFclose nntp:,news: - (loadFile): UFclose - (loadGeneralFile): always UFclose - * html.h (UFclose): only reset when ISclose ==0 - * istream.c (ISclose): return int - (ISfileno): flag IST_UNCLOSE - * istream.h (ISclose): return int - (IST_UNCLOSE): added - * news.c (news_close): reset IST_UNCLOSE - (news_open): set IST_UNCLOSE - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03631] display current form item - * form.c (form2str): rewrite - * istream.c (ssl_get_certificate): fix typo - * map.c (follow_map_panel): valign=top - (append_map_info): valign=top - (append_link_info): valign=top - (append_frame_info): - html_quote ssl_certificate - (page_info_panel): rewrite, html_quote - -2003-01-11 Fumitoshi UKAI - - * doc/README.pre_form: update - * doc-jp/README.pre_form: ditto - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03630] improved pre_form - * form.c (pre_form): add re_url, name - (add_pre_form): add name - rewrite - (loadPreForm): add "form" - (preFormUpdateBuffer): handle re_url - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03629] delete tmp file - * etc.c (tempfname): always file to delete - * file.c (xface2xpm): no need fileToDelete - (readHeader): ditto - (loadGeneralFile): ditto - (loadHTMLBuffer): ditto - (loadHTMLString): ditto - (loadGopherDir): ditto - (loadImageBuffer): ditto - (doExternal): rewrite - (doFileSave): no need fileToDelete - (uncompress_stream): ditto - * fm.h (CurrentPid): added - * image.c (getImage): cache->touch to delete - * local.c (setLocalCookie): use CurrentPid - (localcgi_post): fileToDelete - * main.c (main): CurrentPid - (pipeBuf): no need fileToDelete - (query_from_followform): CurrentPid - (vmSrc): no need fileToDelete - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03628] Re: Error occured while reset - * file.c (doExternal): bufp = NULL, return 1 - (uncompress_stream): tempfname fileToDelete - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03626] Re: relative URL - * url.c (parseURL2): copy if scheme is local or local-cgi - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03625] keymap key SEARCH string - * main.c (srch): accept command argument - (reMark): accept command argument - * Bonus/google.cgi: added - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03622] Re: Error occured while reset - * file.c (uncompress_stream): child process initialized - * terms.c (close_tty): close unless stdin,out,err - (reset_tty): flush_tty, close_tty - (write1): flush_tty - (refresh): flush_tty - (flush_tty): check ttyf - -2003-01-11 Hironori SAKAMOTO - - * [w3m-dev 03620] -m option and header - * buffer.c (reshapeBuffer): fix reading from stdin - fix -m option - * display.c (redrawNLine): rewrite - (redrawLine): return l instead of l->next - (redrawLineImage): ditto - * file.c (loadFile): read header even if skip header - (loadGeneralFile): read header even if skip header - * fm.h (SkipHeader): added - * main.c (main): check whether reading from stdin - SkipHeader - -2003-01-10 Hironori SAKAMOTO - - * [w3m-dev 03619] Re: Error occured while reset - * file.c (process_img): check image.ext - (HTMLlineproc2body): check image.ext - (loadImageBuffer): url, ext is in URLFile - * frame.c (unloadFrame): no need to push to fileToDelete - (copyFrame): no need to reset FB_TODELETE - (resetFrameElement): f_body->source, buf->sourcefile - (frame_download_source): buf->source - buf->sourcefile reset - * frame.h (FB_NOCACHE): deleted - (FB_TODELETE): deleted - * main.c (vmSrc): Currentbuf->sourcefile - need_reshape if images exist - -2003-01-09 Hironori SAKAMOTO - - * [w3m-dev 03617] sourcefile when Content-Encoding: is specified. - * file.c (uncompress_stream): add src arg - (examineFile): change uncompress_stream - (loadGeneralFile): change uncompress_stream - (doExternal): src - (uncompress_stream): ext - tmpfile with same ext - -2003-01-09 Hironori SAKAMOTO - - * [w3m-dev 03616] Re: data: URL scheme - * file.c (loadGeneralFile): check SCM_DATA - (loadImageBuffer): newBuffer() - * html.h (SCM_DATA): added - * indep.c (url_unquote): deleted - (Str_url_unquote): renamed from Str_form_unquote - + is decoded is_form only - * indep.h (url_unquote): deleted - (Str_url_unquote): added - (Str_form_unquote): define by Str_url_unquote - * main.c (followA): file_unquote - (cmd_loadURL): file_unquote - * url.c (DefaultPort): add for data: - (schemetable): add "data" - (DefaultFile): SCM_FTPDIR - (parseURL): scheme copied from current - (parseURL2): SCM_DATA - check SCM_FTP, SCM_FTPDIR - (_parsedURL2Str): add data in scheme_str - handle SCM_DATA - SCM_FTPDIR - (openURL): file_unquote - handle SCM_DATA - -2003-01-08 Hironori SAKAMOTO - - * [w3m-dev 03611] relative URL - * news.c (openNewsStream): don't skip '/' for nntp: - (readNewsgroup): cleanup - * url.c (parseURL): don't copy user & password - (parseURL2): fix for group, don't copy user & password - -2003-01-07 Fumitoshi UKAI - - * fix build warnings - * url.c (parseURL2): fix comparison between pointer and integer - * news.c (readNewsgroup): variable `scheme',`group',`list' might be clobbered by `longjmp' or `vfork' - -2003-01-07 Hironori SAKAMOTO - - * [w3m-dev 03610] Re: news: - * anchor.c (_put_anchor_news): check '<' - (reAnchorNewsheader): added - * file.c (loadSomething): Subject: as buffername - (checkHeader): check buf->document_header - (loadGeneralFile): reAnchorNewsheader - * html.h (SCM_NNTP_GROUP): added - * main.c (main): delete USE_NNTP in switch (newbuf->real_scheme) - (chkNMIDBuffer): lowercase in url_like_pat - * news.c (add_news_message): add scheme, group as arg - (openNewsStream): check SCM_NNTP_GROUP - check current_news.host - (readNewsgroup): rewrite to support nntp:,news: extension - * proto.h (reAnchorNewsheader): added - * url.c (DefaultPort): add 119 for nntp group - (parseURL2): rewrite to support nntp:,news: extension - (_parsedURL2Str): add for SCM_NNTP_GROUP - (openURL): rewrite to support nntp:,news: extension - -2002-12-28 Fumitoshi UKAI - - * fix build errors - * display.c (make_lastline_message): fix error for undef JP_CHARSET - * news.c (readNewsgroup: `code' always required - - * gcc -Wall -Werror clean - * file.c (loadHTMLstream): unused variable `p' - * news.c (news_command): unused variable `c' - (news_open): unused variable `tmp' - (readNewsgroup): volatile page, qgroup, flag, start, end - uninitialized variable `page' - * url.c (openURL): unused variable `fw', `r', `stream' - -2002-12-28 Fumitoshi UKAI - - * rc: nntpserver, nntpmode, max_news - -2002-12-28 Hironori SAKAMOTO - - * [w3m-dev 03608] news: - * XMakefile (LSRCS): add news.c - (LOBJS): add news.o - * file.c (loadSOmething): don't UFclose() for nntp/news - (readHeader): remove . at beginning of line for news - img link to file: - (loadGeneralFile): add SCM_NEWS_GROUP - don't UFclose() for nntp/news - (loadHTMLstream): . line check for news - (loadBuffer): . line check for news - * fm.h (NNTP_server): added - (NNTP_mode): added - (MaxNewsMessage): added - * html.h (SCM_NEWS_GROUP): added - * main.c (main): NNTP_server or NNTPSERVER - NNTP_mode or NNTPMODE - add SCM_NEWS_GROUP - (followA): remove news:..@.. check - (cmd_loadURL): remove news:...@.. check - (w3m_exit): disconnectNews - * proto.h (openNewsStream): added - (readNewsgroup): added - (disconnectNews): added - * rc.c (CMT_NNTP_SERVER): added - (CMT_NNTP_MODE): added - (CMT_MAX_NEWS): added - (params9): add nntpserver, nntpmode, max_news - * url.c (DefaultPort): add 119 for news group - (parseURL2): news:..@... is SCM_NEWS_GROUP - (_parsedURL2Str): add news for SCM_NEWS_GROUP - (openURL): cleanup SCM_NEWS - add SCM_NEWS_GROUP - * news.c: added - -2002-12-28 Hironori SAKAMOTO - - * [w3m-dev 03607] mymktime: time zone support - * etc.c (get_zone): added - (mymktime): parse timezone - -2002-12-28 Hironori SAKAMOTO - - * [w3m-dev 03606] Re: clean up displayBuffer() - * main.c (followA): B_FORCE_REDRAW - (follow_map): ditto - -2002-12-27 Hironori SAKAMOTO - - * [w3m-dev 03604] http response code and content-type - * file.c (loadGeneralFile): don't guessContentType if http errors - -2002-12-26 Hiroyuki Ito - - * [w3m-dev 03602] Re: w3mimgdisplay core dump - * w3mimgdisplay.c (DrawImage): check load_image, imageBuf[n].pixmap - * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): check img->pixmap - * w3mimg/x11/x11_w3mimg.c (x11_show_image): check img->pixmap - -2002-12-26 Hironori SAKAMOTO - - * [w3m-dev 03601] Re: meta refresh - * main.c (LastEvent): added - (pushEvent): add to LastEvent - -2002-12-26 Hironori SAKAMOTO - - * [w3m-dev 03600] Re: meta refresh - * main.c (main): move add_download_list - -2002-12-25 Hironori SAKAMOTO - - * [w3m-dev 03598] restore cursor when download list panel is updated. - * main.c (stopDownload): delete->replace - (ldDL): use DownloadListBuffer() - -2002-12-25 Hironori SAKAMOTO - - * [w3m-dev 03597] Re: meta refresh - * main.c (Event): next, linked list - (N_EVENT_QUEUE): deleted - (eventQueue): deleted - (n_event_queue): deleted - (CurrentEvent): added - (main): event processing, add CurrentEvent linked list - (pushEvent): add Event to CurrentEvent - (SigAlarm): Currentbuf->event - * proto.h (pushEvent): rename args - -2002-12-25 Hiroaki Shimotsu - - * [w3m-dev 03596] LIST - * anchor.c (link_list_panel): check internal - -2002-12-25 Hironori SAKAMOTO - - * [w3m-dev 03595] tolower, toupper - * Str.c (Strlower): TOLOWER - (Strupper): TOUPPER - * backend.c: delete ctype.h - * etc.c (gethtmlcmd): TOLOWER - * file.c (readHeader): TOLOWER - (checkOverWrite): TOLOWER - (guess_charset): TOLOWER - * ftp.c: delete ctype.h - * indep.c (strcasecmp): TOLOWER - (strncasecmp): TOLOWER - (strcasematch): TOLOWER - * istream.c: include myctype.h - (ssl_get_certificate): TOLOWER - * mailcap.c (mailcapMatch): TOLOWER - * main.c (_quitfm): TOLOWER - * menu.c (accesskey_menu): TOLOWER - * mimehead.c: include myctype.h - (decodeWord): TOUPPER - * mktable.c: delete ctype.h, include myctype.h - (main): IS_SPACE - * myctype.h: delete ctype.h - (TOLOWER): added - (TOUPPER): added - * parsetagx.c (parse_tag): TOLOWER - * rc.c (str_to_bool): TOLOWER - (str_to_color): TOLOWER - * regex.c: delete ctype.h, include myctype.h - (TOLOWER): added - (TOUPPER): added - (regmatch1): TOLOWER - (matchWhich): TOLOWER, TOUPPER - -2002-12-22 Fumitoshi UKAI - - * mimehead.c (decodeWord): don't use toupper() (requires ctype.h) - -2002-12-22 ABE Yuji - - * [w3m-dev 03594] mime decode with encoding named 'b' & 'q' - * mimehead.c (decodeWord): toupeer(method) - -2002-12-22 Fumitoshi UKAI - - * file.c (discardline): not used - -2002-12-22 Hironori SAKAMOTO - - * [w3m-dev 03593] Re: segmentation fault when exist after <img> - * file.c (cur_title): added - (save_obuf): deleted - (process_title): added - (process_n_title): added - (feed_title): added - (HTMLtagproc1): rewrite HTML_TITLE, HTML_N_TITLE, - HTML_TITLE_ALT, HTML_N_HEAD, HTML_HEAD - (HTMLlineproc0): check RB_TITLE - (completeHTMLstream): add RB_TITLE - (loadHTMLstream): initialize cur_title - -2002-12-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03590] segmentation fault when <title> exist after <img> - * file.c (save_line): deleted - (save_prevchar): deleted - (save_obuf): added - (HTMLtagproc1): bcopy save_obuf - -2002-12-20 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03588] include time.h in ftp.c - * ftp.c: include <time.h> - -2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03583] w3mman - * scripts/w3mman/README: W3MMAN_W3M, W3MMAN_MAN - * scripts/w3mman/w3mman.1.in: add ENVIRONMENT - * scripts/w3mman/w3mman.in: $ENV{'W3MMAN_W3M'}, $ENV{'W3MMAN_MAN'} - * scripts/w3mman/w3mman2html.cgi.in: $ENV{'W3MMAN_MAN'} - hyphenation - -2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03582] add config options graphic_char and use_proxy - * NEWS: rc: graphic_char, use_proxy - * fm.h (Do_no_use_proxy): macro using use_proxy - (use_proxy): added - (no_graphic_char): deleted - (UseGraphicChar): added - * main.c (main): UseGraphicChar, use_proxy - * rc.c (CMT_GRAPHIC_CHAR): added - (CMT_USE_PROXY): added - (params1): graphic_char - (params4): use_proxy - * terms.c (graph_ok): UseGraphicChar - -2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03581] MARK_URL, MARK_WORD - * main.c (chkWORD): accept ()[]{}&|;*?$ as anchor - -2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03580] Re: clean up displayBuffer() - * main.c (main): force redraw - -2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03579] Re: clean up displayBuffer() - * display.c (displayBuffer): re calcTabPos() when force or image redraw - * main.c (_mark): force redraw - (reinit): redraw image - * search.c (backwardSearch): found_last - -2002-12-19 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03584] Re: meta refresh - * main.c (DefaultAlarm): fix initialize value - -2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03578] meta refresh - * file.c (getMetaRefreshParam): do nothing if refresh_interval < 0 - (HTMLtagproc1): rewrite refresh - (HTMLlineproc2body): add HTML_META - * fm.h (BP_RELOAD): deleted - (Buffer): add event - (AL_IMPLICIT_DONE): deleted - (AL_ONCE): deleted - (AL_RESTORE): deleted - (AlarmEvent): added - * main.c (AlarmEvent): deleted - (PrevAlarm): deleted - (DefaultAlarm): added - (CurrentAlarm): point to DefaultAlarm - (main): CurrentKeyData, CurrentCmdData - handle Currentbuf->event - (SigAlarm): CurrentAlarm is pointer - (copyAlarmEvent): deleted - (setAlarm): setAlarmEvent pass &DefaultAlarm - (setAlarmEvent): arg event - (ldDL): no BP_RELOAD - * proto.h (setAlarmEvent): arg event - -2002-12-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03577] incorrect table width - * table.c (dv2sv): fix move direction - (set_integered_width): ditto - (check_table_height): ditto - (feed_table_tag): ditto - -2002-12-17 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03576] Re: news support - * anchor.c (_put_anchor_news): convert to document code and quote - (_put_anchor_all): convert to document code - * main.c (chkNMIDBuffer): change url_like_pat - -2002-12-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: rc: preserve_timestamp - -2002-12-15 Takahashi Youichirou <nikuq@hk.airnet.ne.jp> - - * [w3m-dev 03574] Re: preserve timestamp - * ftp.c (getFtpModtime): don't call localtime,gettime in same expr - -2002-12-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03573] Re: Bug#172851: w3m: In form, takes hostname as baseref for relative URI action - * url.c (parseURL): if empty is URL, base URL is used - -2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03571] base=0 -> 10 in toNumber() - * parsetagx.c (toNumber): strtol base=10 - -2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03570] meta tag in frame - * frame.c (createFrameFile): fix meta equiv parse in frame - -2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03569] Re: preserve timestamp - * file.c (loadGeneralFile): PresetveTimestamp - (_doFileCopy): is_pipe, PreserveTimestamp - (doFileSave): PreserveTImestamp - * fm.h (PreserveTimestamp): added - * rc.c (CMT_PRESERVE_TIMESTAMP): added - (params3): add preserve_timestamp - -2002-12-15 Takahashi Youichirou <nikuq@hk.airnet.ne.jp> - - * [w3m-dev 03568] Re: preserve timestamp - * etc.c (USE_COOKIE): moved - * file.c (utime.h): include - (setModtime): added - (loadGeneralFile): set f.modtime - (_doFileCopy): setModtime() - (doFileSave): setModtime() - * ftp.c (getFtpModtime): added - (openFTP): pass URLFile, set modtime - * html.h (URLFile): add modtime - * proto.h (openFTP): arg URLFile *uf - (mymktime): always - * url.c (init_stream): initialize modtime - (openFTPStream): pass URLFile - (openURL): openFTPStream - -2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03567] default keybinding - * doc-jp/keymap.default (C-q,C-t,(,),+,-,D,L,T,m,r,{,|,}, - M-c,M-k,M-l,M-m,M-o,M-t): assign - * doc/keymap.default: ditto - * keybind.c: ditto - * doc-jp/keymap.lynx (C-q,C-t,C-u,(,),,,.,;,D,L,T,W,[,], - m,r,w,{,|,},M-<,M->,M-W,M-c,M-g, - M-k,M-l,M-m,M-n,M-o,M-p,M-t,M-w): assign - * doc/keymap.lynx: ditto - * keybind_lynx.c: ditto - * doc-jp/menu.default (Main): Select,SelectTab,TAB_LINK - * doc/menu.default: ditto - -2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03566] configure prefix - * configure: add X prefix for expr args - -2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03564] clean up displayBuffer() - * display.c (delayed_msg): static - (drawAnchorCursor): static - (redrawBuffer): define - (redrawNLine): static - (redrawLine): static - (redrawLineRegion): static - (do_effects): static - (do_color): static - (make_lastline_link): added - (make_lastline_message): added - (displayBuffer): rewrite with make_lastline_message() - (drawAnchorCursor0): added - (drawAnchorCursor): added - * main.c (main): remove onA() - (keyPressEventProc): remove onA() - (disp_srchresult): static - disp_message TRUE - (isrch): remove onA() - (srch): displayBuffer - remove onA() - (srch_nxtprv): remove onA() - (pipeBuf): disp_message TRUE - (pipesh): disp_message TRUE - (readsh): disp_message TRUE - (_mark): dispBuffer - (_followForm): break, always dispBuffer - (drawAnchorCursor0): deleted - (drawAnchorCursor): deleted - (onA): deleted - (anchorMn): delete onA() - (svBuf): displayBuffer B_NORMAL - (reload): disp_err_message TRUE - displayBuffer - (rFrame): displayBuffer - (invoke_browser): displayBuffer - (extbrz): disp_err_message TRUE - (process_mouse): onA -> displayBuffer - (movMs): delete onA() - (menuMs): onA -> displayBuffer - (closeTMs): disp_message TRUE - (wrapToggle): disp_message TRUE - (execdict): disp_message TRUE - (SigAlarm): displayBuffer, delete onA - (reinit): displayBuffer - * map.c (getCurrentMapLabel): deleted - (retrieveCurrentMapArea): added - * proto.h (redrawBuffer): deleted - (redrawNLine): deleted - (redrawLine): deleted - (redrawLineRegion): deleted - (do_effects): deleted - (do_color): deleted - (message_list): deleted - (getCurrentMapLabel): deleted - (retrieveCurrentMapArea): added - -2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03563] Directory Traversal Vulnerabilities in FTP Clients - * file.c (guess_save_name): pass guess_filename - -2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03562] #undef BUFINFO - * config.h.dist (BUFINFO): undef - * configure (use_bufinfo): n - * main.c (saveBufferInfo): ifdef USE_BUFINFO - * proto.h (reloadBuffer): if 0 - (saveBufferInfo): ifdef USE_BUFINFO - -2002-12-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03559] Re: use select instead of signal for loading images - * fm.h (Buffer): add image_loaded - * image.c (W3M_SIGIMG): deleted - (image_lock): deleted - (need_load_image): deleted - (load_image_handler): deleted - (load_image_next): deleted - (getAllImage): check image_loaded - (loadImage): delete image_lock - delete IMG_FLAG_NEXT - * main.c (main): check image_loaded - * proto.h (sleep_till_anykey): return int - * terms.c (sleep_till_anykey): return int - -2002-12-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03558] long title is displayed over tab region - * display.c (redrawNLine): check l < 0 - use addnstr - -2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03554] Re: Undo/Redo - * doc/README.func (REDO): added - (UNDO): added - * doc-jp/README.func (REDO): added - (UNDO): added - * scripts/w3mhelp.cgi.in: (Page/Cursor motion): add undoPos, redoPos - -2002-12-11 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: func: REDO, UNDO - -2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03553] Undo/Redo - * fm.h (Buffer): add undo - (BufferPos): added - * funcname.tab (REDO): added - (UNDO): added - * main.c (save_buffer_position): added - (main): save_buffer_position - (resetPos): added - (undoPos): added - (redoPos): added - * proto.h (undoPos): added - (redoPos): added - -2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03552] Re: link list - * menu.c (accesskey_menu): check hseq - (list_menu): check hseq - -2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03551] Re: External URI loader - * file.c (loadGeneralFile): fix SCM_UNKNONWN - -2002-12-10 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: func: LIST, LIST_MENU, MOVE_LIST_MENU - -2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03549] link list - * anchor.c (addMultirowsImg): add a->slave - (getAnchorText): arg AnchorList *al - (link_list_panel): added - * funcname.tab (LIST): added - (LIST_MENU): added - (MOVE_LIST_MENU): added - * main.c (anchorMn): added - (accessKey): use anchorMn() - (listMn): added - (movlistMn): added - (linkLst): added - * map.c (searchMapList): not static - * menu.c (accesskey_menu): pass AnchorList to getAnchorText() - (lmKeys): added - (lmKeys2): added - (nlmKeys): added - (nlmKeys2): added - (lmGoto): added - (lmSelect): added - (list_menu): added - * proto.h (linkLst): added - (listMn): added - (movlistMn): added - (list_menu): added - (searchMapList): added - (getAnchorText): arg AnchorList *al - (link_list_panel): added - * doc/README.func (LIST): added - (LIST_MENU): added - (MOVE_LIST_MENU): added - * doc-jp/README.func (LINK_MENU): fix message - (LIST): added - (LIST_MENU): added - (MOVE_LIST_MENU): added - * scripts/w3mhelp.cgi.in (Page/Cursor motion): add movlistMn - (Hyperlink operation): add linkLst linkMn - -2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03548] close anchor before <img align=...> - * file.c (process_img): use div_int - (process_hr): use div_int - (process_idattr): don't close_anchor - (CLOSE_A): added - (HTMLtagproc1): </p> close anchor - <dl>,<ul>,<ol>,<blockquote>,<li>,<dt>,<dd> close anchor - <noframes> close anchor - <pre> close anchor - <center> close anchor - <div> close anchor - add DIV_INT - <form> close anchor - * html.c (TagMAP): add div_int - * html.h (HTML_DIV_INT): added - (HTML_N_DIV_INT): added - * tagtable.tab (div_int): added - (/div_int): added - -2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03544] Can't display "1&2" in table - * file.c (HTMLlineproc0): continue -> R_ST_NORMAL - -2002-12-10 Fumitoshi UKAI <ukai@debian.or.jp> - - * file.c (loadGeneralFile): missing `{', fix indent for SCM_UNKNOWN - * main.c (set_buffer_environ): unused variables `prev_col' - -2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03543] External URI loader (Debian closes: Bug#169962) - * file.c (loadGeneralFile): rewrite SCM_UNKNOWN - -2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03542] news support - * file.c (loadGeneralFile): NNTP as well as NEWS - * indep.c (url_unquote_char): check % hex hex - (url_unquote): unquote except \0, \n, \r - -2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03541] Re: W3M_LINE_NO / W3M_CURRENT_COLUMN - * main.c (goLine): check searchKeyData() - (set_buffer_environ): W3M_CURRENT_* - -2002-12-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03536] <del>, <s> - * file.c (HTMLtagproc1): <s>..</s> is [S:...:S] - (HTMLtagproc0): <del> will delete <table> - * fm.h (RB_S): added - * html.c (TagMAP): <s>,</s> - move <internal>, </internal> - * html.h (HTML_S): added - (HTML_N_S): added - (HTML_INTERNAL): renumed - (HTML_N_INTERNAL): ditto - (MAX_HTMLTAG): add 2 - * rc.c (CMT_DISP_INS_DEL): update - * table.c (feed_table_tag): add HTML_S, HTML_N_S - * table.h (TBLM_S): added - (TBLM_ANCHOR): renum - * tagtable.tab: (strike, s): HTML_S - (/strike, /s): HTML_N_S - -2002-12-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03535] close anchor, quote < - * file.c (HTMLtagproc1): close_anchor - * frame.c (createFrameFile): quote < - -2002-12-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03534] cleanup file.c - * file.c (HTMLlineproc2body): cleanup - -2002-12-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * version.c.in: w3m/0.3.2.2+cvs - * NEWS: 0.3.2.2 - -2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * security fix - * file.c (process_img): html_quote() - -2002-12-06 Takahashi Youichirou <nikuq@hk.airnet.ne.jp> - - * [w3m-dev 03530] save history - * history.c (saveHistory): save tmpfile and rename - -2002-12-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: func: ACCESSKEY, LINK_MENU - -2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03529] Support of title, accesskey of anchor - * anchor.c (putAnchor): arg title, key - initialize slave - (registerHref): arg title, key - (registerName): title = NULL, key = '\0' - (registerForm): title = NULL, key = '\0' - (_put_anchor_news): title = NULL, key = '\0' - (_put_anchor_all): title = NULL, key = '\0' - (addMultirowsImg): register title, accesskey - (addMultirowsForm): title = NULL, key = '\0' - (getAnchorText): added - * display.c (displayBuffer): show title if any - * file.c (set_breakpoint): use bcopy - (back_to_breakpoint): use bcopy - (flushline): s/anchor/anchor.url/ - s/anchor_hseq/anchor.hseq/ - s/anchor_target/anchor.target/ - add anchor.* - (close_effect0): s/anchor/anchor.url/ - s/anchor_hseq/anchor.hseq/ - (close_anchor): use bzero - (process_img): ATTR_TITLE, - (HTMLtagproc1): s/anchor/anchor.url/ - target, referer, title, accesskey, hseq - (HTMLlineproc2body): ATTR_TITLE, ATTR_ACCESSKEY - (init_henv): use bzero - * fm.h (Anchor): add title, accesskey, slave - (Breakpoint): use Anchor - (struct readbuffer): use Anchor - * funcname.tab (ACCESSKEY): added - (LINK_MENU): added - * html.c (ALST_A): add ATTR_TITLE, ATTR_ACCESSKEY - (ALST_IMG): add ATTR_TITLE - (ALST_IMG_ALT): add ATTR_TITLE - (AttrMAP): add accesskey, renum - * html.h (ATTR_ACCESSKEY): added - (ATTR_*): renum 50->60 - * main.c (linkMn): added - (accessKey): added - * menu.c (LinkMenu): deleted - (LinkV): deleted - (initLinkMenu): deleted - (lmGoURL): deleted - (popupMenu): delete initLinkMenu() - (initMenu): delete Link - (link_menu): added - (accesskey_menu): added - * proto.h (linkMn): added - (link_menu): added - (accessKey): added - (accesskey_menu): added - (putAnchor): arg title, key - (registerHref): arg title, key - (registerImg): arg title - (getAnchorText): added - * doc/README.func (ACCESSKEY): added - (LINK_MENU): added - * doc-jp/README.func (ACCESSKEY): added - (LINK_MENU): added - * scripts/w3mhelp.cgi.in (Hyperlink operation): add linkMn accessKey - -2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03528] area without alt - * map.c (getCurrentMapLabel): when a->alt is empty - -2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03527] fix frame.c - * frame.c (createFrameFile): move need_reconstruct - -2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03526] Re: fix doc*/README.func, w3mhelp.cgi.in - * scripts/w3mhelp.cgi.in: (load_keymap): - always upcase ESC,SPC,TAB,DEL,UP,DOWN,RIGHT,LEFT - -2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03525] Re: sync option - * func.c (initKeymap): delete check force, keymap_initialized - -2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03524] fix doc*/README.func, w3mhelp.cgi.in - * doc/README.func (REINIT): added - * doc-jp/README.func (REINIT): added - * scripts/w3mhelp.cgi.in (Page/Cursor motion): - add moveR1 movL1 movD1 movU1 ldown1 lup1 - (File/Stream operation): add pipeBuf - (Miscellany): add dispVer execCmd reinit - (load_keymap): rewrite - (norm_key): rewrite - -2002-12-05 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: rc: display_ins_del - -2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03523] Re: del/ins - * file.c (HTMLtagproc1): check displayInsDel, RB_DEL - * fm.h (RB_DEL): added - (displayInsDel): added - * rc.c (CMT_DISP_INS_DEL): added - (display_ins_del): added - * table.c (feed_table_tag): check displayInsDel, TBLM_DEL - * table.h (TBLM_DEL): added - (TBLM_ANCHOR): renum - (struct table_mode): unsigned int pre_mode - -2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03522] newline around <pre>..</pre> - * file.c (HTMLtagproc1): break before <pre>/after </pre> if necessary - -2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03521] sync option - * display.c (redrawNLine): calcTabPos() - * func.c (initKeymap): return if keymap_initialized - * main.c (calcTabPos): no more static - (main): move sync_with_option, initCookie, setLocalCookie - move backend - move initKeymap, initMouseAction, initMenu - remove calcTabPos - add displayBuffer - (numTab): static - (deleteTab): delete calcTabPos - (moveTab): delete calcTabPos - * proto.h (calcTabPos): added - -2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev-en 00841] Re: w3m segfaults if the terminal is not writable - * terms.c (reset_tty): don't close stderr - -2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03516] Re: 2 stroke keybinding - * func.c (keymap_initialized): initialized to FALSE - (setKeymap): push KeyData - -2002-12-04 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: 2 stroke keybinding - func: MULTIMAP - -2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03515] 2 stroke keybinding - * func.c (setKeymap): add map - K_MULTI support - (getKey2): added - (getKey): rewrite to use getKey2() - * func.h (K_MULTI): added - (MULTI_KEY): added - * funcname.tab (MULTIMAP): added - * main.c (escKeyProc): added - (escmap): rewrite to use escKeyProc() - (escbmap): rewrite to use escKeyProc() - (escdmap): rewrite to use escKeyProc() - (multimap): added - * proto.h (multimap): added - -2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03514] Effect of tab title - * display.c (redrawNLine): rewrite, do without clrtoeolx() - -2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03512] Re: HTML parser - * table.c (feed_table_tag): HTML_N_SELECT, HTML_N_CAPTION - -2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03510] waiting time when cookie was rejected. - * file.c (readHeader): display cookie warnings for only 1 sec - -2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03509] HTML parser - * file.c (close_textarea): delete - (HTMLtagproc1): rewrite - delete HTML_EOL - move HTML_LISTING, HTML_N_LISTING - add HTML_PRE_PLAIN, HTML_N_PRE_PLAIN - add HTML_PLAINTEXT - end_tag - (HTMLlineproc0): s/str/line/ - rewrite - (completeHTMLstream): </textarea> if necessary - * fm.h (struct readbuffer): delete ignore_tag - add end_tag - (RB_XMPMODE): deleted - (RB_LSTMODE): deleted - (RB_SCRIPT): added - (RB_STYLE): added - (RB_*): renumber - (R_ST_EOL): added - (R_ST_*): renumber - (ST_IS_TAG): check R_ST_EOL - * form.c (form_fputs_decode): remove <eol> handling - * frame.c (newFrame): remove_space() - (CASE_TABLE_TAG): added - (createFrameFile): rewrite - * html.c (TagMAP): delete eol - add pre_plain, /pre_plain - * html.h (HTML_EOL): deleted - (HTML_PRE_PLAIN): added - (HTML_N_PRE_PLAIN): added - * table.c (visible_length): rewrite - (visible_length_plain): added - (maximum_visible_length_plain): added - (do_refill): R_ST_EOL - (table_close_select): end_tag - (table_close_textarea): end_tag - (TAG_ACTION_PLAIN): added - (feed_table_tag): rewrite - (feed_table): rewrite - * table.h (TBLM_*) reassign - (struct table_mode): delete ignore_tag - add end_tag - * tagtable.tab (eol): deleted - (pre_plain): added - (/pre_plain): added - -2002-12-03 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03505] Re: coredump when ssl error - * file.c (loadGeneralFile): term_raw(), SIGINT before retry - -2002-12-03 AIDA Shinra <aida-s@jcom.home.ne.jp> - - * [w3m-dev 03504] coredump when ssl error - * file.c (loadGeneralFile): term_raw, SIGINT - -2002-12-03 Fumitoshi UKAI <ukai@debian.or.jp> - - * remove ununsed variables - * file.c (addLink): unused variable `t' - * menu.c (lmGoURL): unused variable `pu' - -2002-12-03 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03501] link tag support - * buffer.c (reshapeBuffer): initialize formlist, linklist, - maplist, hmarklist, imarklist - * file.c (addLink): added - (HTMLlineproc2body): add HTML_LINK - (loadHTMLstream): use HTMLlineproc0 not in R_ST_NORMAL - (reloadBuffer): initialize linklist, maplist, - hmarklist, imarklist - * fm.h (LINK_TYPE_NONE): added - (LINK_TYPE_REL): added - (LINK_TYPE_REV): added - (LinkList): added - (Buffer): add linklist - * html.c (ALST_LINK): added - (TagMAP): add link - (AtrMAP): add rel, rev, title - * html.h (HTML_LINK): added - (ATTR_REL): added - (ATTR_REV): added - (ATTR_TITLE): added - * map.c (append_map_info): anchor - (append_link_info): added - (page_info_panel): append_link_info - * menu.c (LinkMenu): added - (linkV): added - (initLinkMenu): added - (lmGoURL): added - (popupMenu): initLinkMenu() - (initMenu): w3mMenuList new 4 - add "Link" - * tagtable.tab (link): added - -2002-11-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m bug] internal tag - * display.c (loadHTMLstream): HTMLlineproc0 internal - -2002-11-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03498] Re: parse <!-- ... --> in <script> - * file.c (HTMLlineproc0): tag in textarea - * frame.c (createFrameFile): fix comment processing in frame - -2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03497] incorrect image size - * image.c (getImageSize): invoke w3mimgdiplay -size instead of "5;..." - * w3mimgdisplay.c (defined_size): added - (main): if defined_size get_image_size() - (GetOption): -size - -2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03496] parse <!-- ... --> in <script> - * etc.c (read_token): check <pre> - * file.c (HTMLlineproc0): remove comment processing - check pre mode - comment processing move - -2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03495] local CGI can't work - * local.c: #include "hash.h" - (set_environ): env string put in hash - -2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03494] Number of line is few when pager mode. - * display.c (redrawLine): buf->rootY - -2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03493] scroll menu - * menu.c (mLineU): added - (mLineD): added - (MenuKeymap): C-r, C-s, J, K - (mouse_scroll_line): added - (process_mMouse): drag - BTN4, BTN5 - * doc-jp/README.menu: update - -2002-11-27 Fumitoshi UKAI <ukai@debian.or.jp> - - * version.c.in: w3m/0.3.2.1+cvs - -2002-11-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03491] Re: case insensitive regexp search - * regex.c (matchWhich): tolower - -2002-11-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * use local_cookie for support local-cgi commands - * file.c (loadGeneralFile): pass Local_cookie to DirBufferCommand - * fm.h (Local_cookie): Str - * local.c (setLocalCookie): Str, set_environ() - (set_cgi_environ): remove LOCAL_COOKIE - * main.c (ldhelp): pass Local_cookie - (adBmark): ditto - * rc.c (optionpanel_src1): cookie - (load_option_panel): pass Local_cookie - * w3mbookmark.c (main): check Local_cookie - * w3mhelperpanel (main): ditto - * scripts/dirlist.cgi.in: ditto - * scripts/w3mhelp.cgi.in: ditto - * scripts/multipart/multipart.cgi.in: ditto - -2002-11-27 Fumitoshi UKAI <ukai@debian.or.jp> - - * frame.c (createFrameFile): html_quote() - -2002-11-27 Hiroyuki Ito <hito@crl.go.jp> - - * [w3m-dev 03488] meta refresh in frame - * file.c (getMetaRefreshParam): added - (HTMLtagproc1): use getMetaRefreshParam() - * frame.c (createFrameFile): check meta refresh - * proto.h (getMetaRefreshProgram): added - -2002-11-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * w3m 0.3.2.1 security fix - * frame.c (createFrameFile): html_quote() - -2002-11-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03486] fix of displayLineInfo - * display.c (displayBuffer): don't divide by 0 - -2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03485] fix mouse menu position - * main.c (do_mouse_action): use anchor_map is no active_map - check top left corner - (FRAME_WIDTH): added - (menuMs): adjust cursorX using FRAME_WIDTH - -2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: func: CLOSE_TAB_MOUSE, MENU_MOUSE, MOVE_MOUSE, TAB_MOUSE - -2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * doc/README.mouse_menu: deleted - * doc/README.mouse: added - * doc-jp/README.mouse_menu: deleted - * doc-jp/README.mouse: added - -2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * map.c (follow_map_menu): MapArea *a is used ifdef MENU_MAP - * func.c (initMouseAction): remove unsed variables: x, width, map - -2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03478] mouse action configuration - * display.c (displayBuffer): mouse_menu -> mouse_action.menu_str - mouse_action.lastline_str - (redrawNLine): mouse_menu -> mouse_action.menu_str - * fm.h (MouseMenuMap): deleted - (MouseActionMap): added - (MouseAction): added - (mouse_action): added - * func.c (default_mouse_action): added - (setMouseAction0): added - (setMouseAction1): added - (setMouseAction2): added - (initMouseMenu): deleted - (initMouseAction): added - * funcname.tab (CLOSE_TAB_MOUSE): added - (MENU_MOUSE): added - (MOVE_MOUSE): added - (TAB_MOUSE): added - * main.c (main): initMouseMenu() -> initMouseAction() - mouse_menu -> mouse_action - (posTab): mouse_menu -> mouse_action - check y > LastTab->y - (mouse_menu_action): deleted - (do_mouse_action): added - (process_mouse): mouse_menu -> mouse_action - do_mouse_action() - (movMs): added - (menuMs): added - (tabMs): added - (closeTMs): added - (reinit): initMouseMenu() -> initMouseAction() - resource: MOUSE_MENU -> MOUSE - (calcTabPos): mouse_menu -> mouse_action - * menu.c (mainMn): mouse_menu -> mouse_action - (selMn): mouse_menu -> mouse_action - (tabMn): mouse_menu -> mouse_action - (initMenu): add SelectTag to w3mMenuList - * proto.h (movMs): added - (menuMs): added - (tabMs): added - (closeTMs): added - (initMouseMenu): deleted - (initMouseAction): added - * rc.c (sync_with_option): initMouseMenu() -> initMouseAction() - * doc/README.func (CLOSE_TAB_MOUSE): added - (MENU_MOUSE): added - (MOVE_MOUSE): added - (TAB_MOUSE): added - * doc-jp/README.func (CLOSE_TAB_MOUSE): added - (MENU_MOUSE): added - (MOVE_MOUSE): added - (TAB_MOUSE): added - -2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03476] Re: Bug#170506: w3m: Unable to use mozilla bugzilla - * file.c (HTMLtagproc1): initialize ignore_tag in table_mode - (HTMLtagproc0): check table_level - * table.c (feed_table_tag): set mode->ignore_tag - * table.h (struct table_mode): add ignore_tag - -2002-11-25 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03471] Re: SETPGRP() - * configure: SETPGRP() always defined - * proto.h (close_all_fds): added - (myExec): #ifdef HAVE_SETPGRP - * etc.c (close_all_fds): added - (myExec): #ifdef HAVE_SETPGRP - (mySystem): #ifndef -> #ifdef - * file.c (_doFileCopy): delete #ifdef HAVE_SETPGRP - (doFileSave): ditto - * image.c (openImgdisplay): delete #ifdef HAVE_SETPGRP - use close_all_fds() - * search.c (open_migemo): ditto - -2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03466] Re: background download when external viewer - * file.c (doExternal): UFclose(&uf); - -2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03464] Re: case insensitive regexp search - (rewrite [w3m-dev 03462] by Hiroyuki Ito <hito@crl.go.jp>) - * regex.c (matchWhich): add int - (newRegex0): igncase - (regmatch1): matchWhich with re->mode & RE_IGNCASE - (matchWhich): add igncase - -2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03459] background download when external viewer - * etc.c (myExec): added - (mySystem): rewrite to use myExec() - * file.c (doExternal): run background if BackgroundExtViewer - * proto.h (myExec): added - -2002-11-23 Fumitoshi UKAI <ukai@debian.or.jp> - - * doc/README.mouse_menu: delete column 10 limit - * doc-jp/README.mouse_menu: ditto - -2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03458] Re: mouse menu - * display.c (displayBuffer): nTab2 -> nTab, mouse_menu - * fm.h (nTab2): deleted - (MouseMenuMap): added - (MouseMenu): added - (LIMIT_MOUSE_MENU): added - * func.c (initMouseMenu): delete mouse_menu_map initialization - conv_from_system - mouse_menu->width - * main.c (main): mouse_menu->in_action = FALSE - (posTab): check mouse_menu - (mouse_menu_action): add y arg - mouse_menu_width check - (process_mouse): nTab2 -> nTab, mouse_menu - (nTabLine): deleted - (calcTabPos): check mouse_menu - * menu.c (mainMn): x, y - (selMn): mouse_menu check - (tabMn): mosue_menu check - * proto.h (nTabLine): deleted - -2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: options: -N - -2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03457] open URL of command line on each new tabs - * main.c (delBuffer): static - (fusage): -N - (main): add open_new_tab for -N - -2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03456] tiling of tab - * display.c (displayBuffer): use LastTab->y - (redrawNLine): fix column calculation - * fm.h (TabBuffer): add x1, x2, y - * main.c (calcTabPos): added - (main): calcTabPos() - (mouse_scroll_line): rewrite - (process_mouse): use LastTab->y - (_newT): calcTabPos() - (calcTabPos): added - (deleteTab): calcTabPos() - (moveTab): calcTabPos() - -2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * doc/README.mouse_menu: added - * doc-jp/README.mouse_menu: added - -2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03455] mouse menu - * configure (config.h): MOUSE_FILE - * display.c (displayBuffer): nTab -> nTab2, N_TAB -> nTabLine() - (redrawNLine): nTab -> nTab2, N_TAB -> nTabLine() - mouse_menu support - * fm.h (nTab2): added - (N_TAB): deleted - (NO_TABBUFFER): added - (struct _MouseMenu): added - (mouse_menu_map): added - (mouse_menu): added - * func.c (initMouseMenu): added - * main.c (main): initMouseMenu() - (posTab): mouse_menu support - (mouse_menu_action): added - (process_mouse): mouse_menu support - (reinit): initMouseMenu() - (nTabLine): added - (moveTab): check NO_TABBUFFER - * proto.h (nTabLine): added - (initMouseMenu): added - * rc.c (sync_with_option): initMouseMenu() - -2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: func: NEXT, PREV - -2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03454] next / previous buffer - * funcname.tab (NEXT): added - (PREV): added - * main.c (nextBf): added - (prevBf): added - * proto.h (nextBf): added - (prevBf): added - * doc/README.func (NEXT): added - (PREV): added - * doc-jp/README.func (NEXT): added - (PREV): added - * scripts/w3mhelp.cgi.in (Buffer operation): nextBf prevBf - -2002-11-20 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: rc: image_map_list - -2002-11-20 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03452] image map - * display.c (displayBuffer): use getCurrentMapLabel() - * fm.h (MapArea): delete ifdef MENU_MAP - (image_map_list): added - * main.c (followA): don't call retrieveCurrentImg() ifdef USE_IMAGE - use retrieveCurrentMap() ifndef USE_IMAGE - (_followForm): indent - (drawAnchorCursor0): add AnchorList - (drawAnchorCuror): pass AnchorList to drawAnchorCursor0 - (follow_map): follow_map_panel - * map.c (searchMapList): added - (nearestMapArea): n, min default value to -1 - (searchMapArea): added - (getCurrentMapLabel): added - (getMapXY): moved - (retrieveCurrentMap): added - (follow_map_menu): parsed_tagarg -> name - rewrite to search map list/area - (follow_map_panel): parsed_tagarg -> name - rewrite to search map list/area - (newMapArea): delete ifdef MENU_MAP - (append_map_info): added - (page_info_panel): append_map_info - * proto.h (follow_map_menu): parsed_tagarg -> name - (follow_map_panel): parsed_tagarg -> name - (getCurrentMapLabel): added - (retrieveCurrentMap): added - * rc.c (CMT_IMAGE_MAP_LIST): added - (image_map_list): added - -2002-11-20 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> - - * [w3m-dev 03450] Re: cygwin console on Win9X - * terms.c (mouse_init): ifdef __CYGWIN__ - (mouse_end): ditto - -2002-11-19 Fumitoshi UKAI <ukai@debian.or.jp> - - * ftp.c (ftp_fclose): void return - -2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03444] download from ftp. - * file.c (FTPhalfclose: static - (loadGeneralFile): UFclose - FTPhalfclose for SCM_FTP - UFclose before signal back - (loadImageBuffer): UFclose before signal back - (openGeneralPagerBuffer): UFclose - * ftp.c (ftp_fclose): added - (Ftpfclose): dont read response(), but ftp_fclose() - (FtpBye): ftp_fclose() - -2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03449] Add DOWNLOAD_LIST to doc*/README.func and scripts/w3mhelp.cgi.in - * doc-jp/README.func (DOWNLOAD_LIST): added - * doc/README.func (DOWNLOAD_LIST): added - * scripts/w3mhelp.cgi.in (Miscellany): add ldDL - -2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03448] Some fixes - * url.c (KeyAbort): SIGNAL_RETURN - * .cvsginore: delete w3mimgsize - * scripts/.cvsignore: delete xface2xbm - * scripts/xface2xbm.in: deleted - -2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03447] Re: Open download list panel on new tab - * main.c (download_action): buffer management deleted - (ldDL): buffer management moved here - -2002-11-19 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: rc: open_tab_dl_list - -2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03446] Open download list panel on new tab - * fm.h (open_tab_dl_list): added - * main.c (download_action): buffer delete when download done - (ldDL): open buf in new tab if open_tab_dl_list - * rc.c (CMT_OPEN_TAB_DL_LIST): added - (open_tab_dl_list): added - -2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03445] download list for "w3m foo.tar.gz" - * main.c (main): display download list - -2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03443] Can't display "echo only_one_line | w3m" - * display.c (redrawNLine): check 1st line - -2002-11-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03442] Re: setting form on loading - * form.c (preFormUpdateBuffer): ifdef MENU_SELECT - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03441] charset of save file - * file.c (_doFileCopy): use conv_from_system() - (doFileSave): conv_from_system() - * main.c (DownloadListBuffer): conv_from_system() - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03440] Re: restore alarm event - * fm.h (BP_RELOAD): added - (DOWNLOAD_LIST_TITLE): added - * main.c (main): if BP_RELOAD, do reload - (reload): if buffer is DOWNLOAD_LIST, ldDL() - (DownloadListBuffer): rewrite with DOWNLOAD_LIST_TITLE - (download_action): delete "update" - don't delete prev buffer - (ldDL): rewrite to do reload - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03439] restore alarm event - * fm.h (AL_RESTORE): added - * main.c (alarm_sec): deleted - (alarm_status): deleted - (alarm_buffer): deleted - (alarm_event): deleted - (AlarmEvent): added - (CurrentAlarm): added - (PrevAlarm): added - (main): rewrite with CurrentAlarm - (SigAlarm): rewrite with CurrentAlarm - (copyAlarmEvent): added - (setAlarm): if AL_RESTORE, copy back from PrevAlarm - rewrite with CurrentAlarm - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03438] Re: segmentation fault by large complex table. - * table.c (check_table_height): check MAXROWCELL - * table.h (MAXROWCELL): added - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03437] Re: Check image size - * fm.h (MAX_IMAGE_SIZE): changed to 2048 - -2002-11-16 Hiroyuki Ito <hito@crl.go.jp> - - * [w3m-dev 03436] Check image size - * file.c (process_img): check w > MAX_IMAGE_SIZE - (HTMLlineproc2body): check w,h > MAX_IMAGE_SIZE - * fm.h (MAX_IMAGE_SIZE): added - * image.c (getImageSize): check w,h,width,height > MAX_IMAGE_SIZE - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03435] save image with SAVE - * buffer.c (discardBuffer): check image - * file.c (loadImageBuffer): add st - IMG_FLAG_DONE_REMOVE - s/sourcefile/mailcap_source/ - * fm.h (IMG_FLAG_DONT_REMOVE): added - * image.c (drawImage): & IMG_FLAG_LOADED - (deleteImage): & IMG_FLAG_DONT_REMOVE - (showImageProgress): & IMG_FLAG_LOADED - (getImage): & IMG_FLAG_LOADED - (getImageSize): & IMG_FLAG_LOADED - * main.c (vmSrc): delete ifdef USE_IMAGE - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03434] Re: cygwin console on Win9X - * terms.c (cygwin_mouse_btn_swapped): ifdef USE_MOUSE - (lastConMouse): deleted - (check_win9x): static - (read_win32_console): static - (GetConsoleHwnd): static - (cygwin_version): ifdef USE_MOUSE, static - (check_cygwin_console): static - (NEED_XTERM_ON): added - (NEED_XTERM_OFF): added - (NEED_CYGWIN_ON): added - (NEED_CYGWIN_OFF): added - (XTERM_TITLE): static char[] - (SCREEN_TITLE): static char[] - (CYGWIN_TITLE): static char[] - (term_title): check title_str - * terms.h (LASTLINE): added - (is_xterm): deleted - (enable_win9x_console_input): extern - (disable_win9x_console_input): extern - (NEED_XTERM_ON): deleted - (NEED_XTERM_OFF): deleted - -2002-11-16 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> - - * [w3m-dev 03433] cygwin console on Win9X - * configure (config.h): SUPPORT_WIN9X_CONSOLE_MBCS - * linein.c (inputLineHistSearch): enable_win9x_console_input() - disable_win9x_console_input() - * main.c (mouse): cygin_mouse_btn_swapped - * terms.c (is_xterm): static - (isLocalConsole): added - (cygwin_mouse_btn_swapped): added - (check_win32_console): deleted - (check_win9x): added - (init_win32_console_handle): check ttyslot() - (enable_win9x_console_input): added - (disable_win9x_console_input): added - (read_win32_console_input): delete ifdef MOUSE - (cmp_tv): deleted - (subtract_tv): deleted - (GetConsoleHwnd): added - (cygwin_version): added - (select_or_poll_win32_console): deleted - (check_cygwin_console): added - (select_win32_console): deleted - (set_tty): check_cygin_console() - (term_title): SetConsoleTitle() - (CYGWIN_ON): added - (CYGIN_OFF): added - (mouse_init): NEED_CYGWIN_ON - (mouse_end): NEED_CYGWIN_OFF - * terms.h (cygwin_mouse_btn_swapped): added - (enable_win9x_console_input): added - (disable_win9x_console_input): added - (NEED_CYGWIN_ON): added - (NEED_CYGWIN_OFF): added - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03432] Re: tab browser - * display.c (displayBuffer): s/buf->LINES/LASTLINES/ in cygwin - -2002-11-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: func: DOWNLOAD_LIST - -2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03431] save file by background process - * file.c (loadGeneralFile): use _doFileCopy() - (_doFileCopy): renamed from doFileCopy() - lock - fork & save - (doFileSave): lock - fork & save - * fm.h (DownloadList): added - (FirstDL): added - (LastDL): added - * form.c (struct internal_action): add download - * funcname.tab (DOWNLOAD_LIST): added - * html.h (URLFile): add url - * main.c (dump_extra): add add_download_list - (main): add_download_list, ldDL() - (_quitfm): added - (quitfm): rewrite with _quitfm() - (qquitfm): ditto - (w3m_exit): stopDownload() - (addDownloadList): added - (checkDownloadList): added - (convert_size3): added - (DownloadListBuffer): added - (download_action): added - (stopDownload): added - (ldDL): added - * proto.h (ldDL): added - (convert_size): added - (convert_size2): added - (doFileCopy): deleted - (_doFileCopy): added - (addDownloadList): added - (stopDownload): added - (checkDownloadList): added - (download_action): added - * url.c (openURL): save url in uf - -2002-11-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03430] disable display of alarm command - * main.c (SigAlarm): remove display_message_nsec() - (setAlarm): show sec - -2002-11-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: env,rc: https_proxy - -2002-11-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03429] https proxy - * fm.h (HTTPS_proxy): added - (HTTPS_proxy_parsed): added - * main.c (main): check https_proxy - * rc.c (CMT_HTTPS_PROXY): added - (https_proxy): added - (parse_proxy): HTTPS_proxy - * url.c (openURL): for HTTPS, use HTTPS_proxy - (schemeToProxy): HTTPS_proxy_parsed - -2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03428] install manual as w3m.exe.1 on Cygwin - * XMakefile (MAN1_TARGET): added - (HELP_TARGET): added - (install): use MAN1_TARGET, HELP_TARGET - (uninstall): use MAN1_TARGET, uninstall HELP_TARGET - -2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03427] Re: Select the nearest map area as default. - * map.c (newMapArea): accept sign chars - if points is not enough, return as SHAPE_UNKNOWN - -2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03425] charset of title - * display.c (displayBuffer): buffername converted to system coding - for term title - -2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03424] Content length - * file.c (loadGeneralFile): current_content_length before do_download - (save2tmp): current_content_length move before return - -2002-11-12 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03422] Re: setting form on loading - * form.c (loadPreForm): initialize name - check textarea, name for /textarea - -2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03418] Re: tab browser - * display.c (redrawNLine): s/clrtoeol/clrtoeolx/ - move rootY - -2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03417] install_w3mimgdisplay - * configure: define install_w3mimgdisplay - after use_w3mimg_fb determined - -2002-11-12 Akira TAGOH <at@gclab.org> - - * [w3m-dev 03415] fix a build issue for 64bit arch - * gcmain.c: deleted - * main.c: no need gcmain.c - s/MAIN/main/ - * mktable.c: ditto - * w3mbookmark.c: ditto - * w3mhelperpanel.c: ditto - -2002-11-12 Fumitoshi UKAI <ukai@debian.or.jp> - - * doc/w3m.1: update - * doc-jp/w3m.1: update - * NEWS: update: -show-option - -2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03414] Re: show parameter - * main.c (fusage): add -show-option - (MAIN): check -show-option - -2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03413] Re: setting form on loading - * form.c (loadPreForm): add textarea - (preFormUpdateBuffer): submit if value is matched as well - case FORM_TEXTAREA - case FORM_SELECT ifdef MENU_SELECT - -2002-11-12 Yuji Abe <cbo46560@pop12.odn.ne.jp> - - * [w3m-dev 03411] do AUXBIN_TARGETS - * scripts/Makefile (all): add AUXBIN_TARGETS - (clean): add AUXBIN_TARGETS - -2002-11-12 AIDA Shinra <aida-s@jcom.home.ne.jp> - - * [w3m-dev 03408] edit From in w3mail.cgi - * scripts/w3mmail.cgi.in: edit from as well - -2002-11-12 AIDA Shinra <aida-s@jcom.home.ne.jp> - - * [w3m-dev 03408] fix Bug#87472 - MOUSE_SCROLL_LINE should be a run-time option - * fm.h (relative_wheel_scroll): added - (fixed_wheel_scroll_count): added - (relative_wheel_scroll_ratio): added - * main.c (mouse_scroll_line): added - (process_mouse): s/MOUSE_SCROLL_LINE/mouse_scroll_line()/ - * menu.c (MOUSE_SCROLL_LINE): deleted - * terms.h (MOUSE_SCROLL_LINE): deleted - * rc.c (CMT_RELATIVE_WHEEL_SCROLL): added - (CMT_RELATIVE_WHEEL_SCROLL_RATIO): added - (CMT_FIXED_WHEEL_SCROLL_COUNT): added - (wheelmode): added - (params3): add relative_wheel_scroll, - relative_wheel_scroll_ratio, - fixed_wheel_scroll_count - * NEWS: updated - -2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03407] char GlobalKeymap -> unsigned char GlobalKeymap - * fm.h (GlobalKeymap): char->unsigned char - (EscKeymap): ditto - (EscBKeymap): ditto - (EscDKeymap): ditto - (PcKeymap): ditto - * keybind.c: ditto - * keybind_lynx.c: ditto - -2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03406] - * scripts/Makefile: add AUXBIN_DIR - update LIB_DIR, HELP_DIR - xface2xpm installed in AUXBIN_DIR - * scripts/multipart/Makefile: update LIB_DIR - * scripts/w3mman/Makefile: update LIB_DIR - -2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03405] Re: tab browser - * main.c (moveTab): B_FORCE_REDRAW - -2002-11-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03401] w3mhelp.cgi - * proto.h (tabMn): nulcmd ifndef USE_MENU - * scripts/w3mhelp-funcdesc.en.pl.in: add LINEEDIT:EDITOR - * scripts/w3mhelp-funcdesc.ja.pl.in: add LINEEDIT:EDITOR - Tab operation - * scripts/w3mhelp-funcname.pl.in: add LINEEDIT:EDITOR C-o - * scripts/w3mhelp.cgi.in: add tabA in Hyperlink operation - add tabURL, tabrURL in File/Stream operation - add Tab operation - add lineedit_editor in Line edit mode - -2002-11-10 NOMIYA Masaru <nomiya@ttmy.ne.jp> - - * [w3m-dev 03399] - * XMakefile: ;; -> ; - -2002-11-10 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03398] auxbindir - * XMakefile: EXT_TARGETS -> LIB_TARGETS, AUXBIN_TARGETS - * config.h.dist: add AUXBIN_DIR - LIB_DIR is cgi-bin - * configure: add -auxbindir - add AUXBIN_DIR - LIB_DIR is cgi-bin - EXT_TARGETS -> LIB_TARGETS, AUXBIN_TARGETS - * file.c (compression_decoder): libfile_p -> auxbin_p - (check_command): libfile_p -> auxbin_p - use w3m_auxbin_dir() instead of w3m_lib_dir() - (acceptableEncoding): libfile_p -> auxbin_p - (xface2xpm): use auxbinFile() instead of libFile() - (uncompress_stream): libfile_p -> auxbin_p - use auxbinFile() instead of libFile() - * image.c (getCharSize): use w3m_auxbin_dir() instead of w3m_lib_dir() - (openImgdisplay): use w3m_auxbin_dir() instead of w3m_lib_dir() - * indep.c (w3m_auxbin_dir): added - * indep.h (w3m_auxbin_dir): added - * proto.h (auxbinFile): added - * rc.c (auxbinFile): added - (libFile): #if 0, no longer used - (helpFile): used only #ifndef USE_HELP_CGI - * NEWS: separate auxbindir and libdir (local-CGI, file:///$LIB/) - -2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03396] Re: meta refresh problem - * main.c (MAIN): AL_IMPLICIT -> alarm_status - (SigAlarm): AL_IMPLICIT -> alarm_status - -2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03391] use editor when input at last line - * linein.c (_editor): added - -2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03390] some fixes related with form - * form.c (input_textarea): goto input_end - unlink(tmpf); - * main.c (_followForm): s/TEXT/Password/ - -2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03388] meta refresh problem - * fm.h (AL_IMPLICIT_DONE): 3->4 - (AL_ONCE): 8 - (AL_IMPLICIT_ONCE): (AL_IMPLICIT|AL_ONCE) - * main.c (MAIN): & AL_IMPLICIT, & AL_IMPLICIT_DONE - (SigAlarm): & AL_IMPLICIT, & AL_IMPLICIT_DONE, & AL_ONCE - (setAlaramEvent): & AL_IMPLICIT - -2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03387] Re: tab browser - * buffer.c (newBuffer): buf->LINES initialize - (gotoLine): use buf->LINES - (gotoRealLine): use buf->LINES - * display.c (displayBuffer): check by buf->LINES - (redrawNLine): buf->LINES - (redrawLine): buf->LINES - (redrawLineImage): no need buf->rootY - (cursorDown): buf->LINES - (arrangeCursor): buf->LINES - * etc.c (columnSkip): buf->LINES - (lineSkip): buf->LINES - (currentLineSkip): buf->LINES - * fm.h (Buffer): add LINES - * main.c (nscroll): Currentbuf->LINES - (pgFore): Currentbuf->LINES - (pgBack): Currentbuf->LINES - (ctrCsrV): Currentbuf->LINES - (movD): Currentbuf->LINES - (movU): Currentbuf->LINES - (_goLine): Currentbuf->LINES - (drawAnchorCursor): Currentbuf->LINES - (setOpt): B_REDRAW_IMAGE - (newT): B_REDRAW_IMAGE - (closeT): B_REDRAW_IMAGE - (nextT): B_REDRAW_IMAGE - (prevT): B_REDRAW_IMAGE - (moveTab): B_NORMAL - -2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03386] Re: Interrupt in no_proxy_check() - * file.c (getAuthCookie): term_cbreak() - (loadGeneralFile): term_cbreak() - term_raw() - preFormUpdateBuffer() before term_raw() - (loadHTMLstream): term_raw() - -2002-11-07 Katsumi@yamaoka.cc - - * [w3m-dev 03385] install-sh typo - * install-sh: s/'/"/ - -2002-11-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03383] Select the nearest map area as default. - * fm.h (MapArea): add center_x, center_y - * map.c (nearestMapArea): added - (follow_map_menu): initial by nearestMapArea() - (newMapArea): set center_x, center_y - -2002-11-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03382] Interrupt in no_proxy_check() - * url.c (check_no_proxy): SIGINT trap by KeyAbort - -2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03380] fix configure - * configure: s/INSTALL_W3MIMGDISPLAY/install_w3mimgdisplay/ - already define - * config.h.dist (INSTALL_W3MIMGDISPLAY): added - -2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03379] setuid w3mimgdisplay and check console tty - * XMakefile: w3mimgdisplay install by INSTALL_W3MIMGDISPLAY - * configure: ask setuid w3mimgdisplay - (w3mimgdisplay_setuid): added - (INSTALL_W3MIMGDISPLAY): added - * etc.c (mySystem): close until FOPEN_MAX - * image.c (openImgdisplay): setenv W3M_TTY - stderr to /dev/null - close until FOPEN_MAX - * install-sh: -o, -g for owner, group - * proto.h (ttyname_tty): added - * search.c (open_migemo): stderr to /dev/null - close until FOPEN_MAX - * terms.c (ttyname_tty): added - * w3mimgdisplay.c: include <sys/types.h>, <unistd.h> - W3MIMGDISPLAY_SETUID - stderr to /dev/null - * w3mimg/w3mimg.c: include <sys/types.h>, <unistd.h> - W3MIMGDISPLAY_SETUID - * w3mimg/fb/fb_w3mimg.c (check_tty_console): added - -2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03377] sync_with_option - * etc.c (loadPassword): reset passwords - * form.c (loadPreForm): reset PreForm - * main.c (option_assigned): deleted - (parse_proxy): deleted - (MAIN): move initCookie(), setLocalCookie() - after sync_with_option() - delete parseURL for *_proxy - s/WrapSearch/WrapDefault/ - move initKeymap(), initMenu() after setupscreen() - sync_with_option() after init_rc() - * rc.c (pre_form_file): move in params9 (network settting) - (sync_with_option): initKeymap(), initMenu() is done - if fmInitialized - (init_rc): delete sync_with_option() - -2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03375] NULL check of CurrentTab - * display.c (disp_message_nsec): check CurrentTab - * file.c (doExternal): check CurrentTab - * image.c (loadImage): check CurrentTab - -2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03374] disable_secret_security_check - * etc.c (openSecurityFile): disable_secret_security_check - * fm.h (disable_secret_security_check): added - * rc.c (CMT_DISABLE_SECRET_SECURITY_CHECK): added - (disable_secret_security_check): added - * NEWS: rc: disable_secret_security_check - -2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * NEWS: update - -2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * rc.c (CMT_PRE_FORM_FILE): added - (pre_form_file): added - -2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * doc-jp/README.tab: added [w3m-dev 03372] - * doc/README.tab: brief translation - -2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03372] tab browser - * display.c (displayBuffer): add ny - rootY offset by tab - tab line - (cursorDown): offset rootY - (arrangeCursor): offset rootY - * etc.c (columnSkip): offset rootY - (lineSkip): offset rootY - (currentLineSkip): offset rootY - * file.c (HTMLlineproc2body): ATTR_TARGET - * fm.h (MapArea): add target - (Buffer): add rootY - (TabBuffer): added - (Currentbuf): comment out - (Firstbuf): comment out - (CurrentTab): added - (FirstTab): added - (LastTab): added - (open_tab_blank): added - (close_tab_back): added - (nTab): added - (TabCols): added - (N_TAB): added - (Currentbuf): CurrentTab->currentBuffer - (Firstbuf): CurrentTab->firstBuffer - * funcname.tab (CLOSE_TAB): added - (NEW_TAB): added - (NEXT_TAB): added - (PREV_TAB): added - (TAB_GOTO): added - (TAB_GOTO_RELATIVE): added - (TAB_LEFT): added - (TAB_LINK): added - (TAB_MENU): added - (TAB_RIGHT): added - * html.c (ALST_AREA): add ATTR_TARGET - * image.c (showImageProgress): offset rootY - * main.c (_newT): added - (followTab): added - (moveTab): added - (check_target): added - (MAIN): init tab related values - buf => tab - (nscroll): offset rootY - (pgFore): offset rootY - (pgBack): offset rootY - (ctrCsrV): offset rootY - (_movD): offset rootY - (_movU): offset rootY - (_goLine): offset rootY - (_mark): offset rootY - (followA): check target - (_followForm): offset rootY - (drawAnchorCursor0): offset rootY - (drawAnchorCursor): offset rootY - (backBf): check close_tab_back - (follow_map): rewrite for tab, check target - (posTab): added - (process_mouse): tab operation - offset rootY - (deleteFiles): for all buffers in all tabs - (newTab): added - (newT): added - (numTab): added - (deleteTab): added - (closeT): added - (nextT): added - (prevT): added - (followTab): added - (tabA): added - (tabURL0): added - (tabURL): added - (tabrURL): added - (moveTab): added - (tabR): added - (tabL): added - * map.c (follow_map_menu): return MapArea - (newMapArea): add target args - * menu.c (SelTabMenu): added - (SelTabV): added - (initSelTabMenu): added - (smChTab): added - (smDelTab): added - (MainMenuItem): add Select Tab - on New Tab - (popupMenu): add initSelTabMenu() - offset rootY - (mainMn): offset rootY - (selMn): offset rootY - (initSelectMenu): offset rootY - (tabMn): added - * proto.h (newT): added - (closeT): added - (nextT): added - (prevT): added - (tabA): added - (tabURL): added - (tabrURL): added - (tabR): added - (tabL): added - (newTab): added - (deleteTab): added - (follow_map_menu): return MapArea - (newMapArea): add target arg - (tabMn): added - * rc.c (CMT_OPEN_TAB_BLANK): added - (CMT_CLOSE_TAB_BACK): added - (open_tab_blank): added - (close_tab_back): added - * doc/README.func (CLOSE_TAB): added - (NEW_TAB): added - (NEXT_TAB): added - (PREV_TAB): added - (TAB_GOTO): added - (TAB_GOTO_RELATIVE): added - (TAB_LEFT): added - (TAB_LINK): added - (TAB_MENU): added - (TAB_RIGHT): added - * doc-jp/README.func: ditto doc/README.func - -2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * doc-jp/README.pre_form: added [w3m-dev 03373] - * doc/README.pre_form: brief translation - -2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * etc.c (PASS_IS_READABLE_MSG): deleted - (FILE_IS_READABLE_MSG): added - (openPasswdFile): deleted - (openSecretFile): delete error_msg arg - (loadPasswd): use openSecretFile() - * form.c (next_token): delete unused static decl - (FILE_IS_READABLE_MSG): deleted - (loadPreForm): no need pass error_msg - * proto.h (openSecretFile): delete error_msg arg - -2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03373] setting form on loading - * config.h.dist (PRE_FORM_FILE): added - * configure (PRE_FORM_FILE): added - * etc.c (openPasswdFile): define by openSecretFile() - (openSecretFile): renamed, not static - * file.c (loadGeneralFile): preFOrmUpdateBuffer() - * fm.h (Buffer): add submit - (pre_form_file): added - * form.c (struct pre_form_item): added - (struct pre_form): added - (next_token): added - (PreForm): added - (add_pre_form): added - (add_pre_form_item): added - (loadPreForm): added - (preFormUpdateBuffer): added - * frame.c (renderFrame): add preFormUpdateBuffer() - * main.c (MAIN): buf->submit check - * proto.h (preFormUpdateBuffer): added - (openSecretFile): added - (loadPreForm): added - * rc.c (sync_with_option): add loadPreForm() - -2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03371] segmentation fault by large complex table. - * table.c (bsearch_2short): indexarry char to short - (bsearch_double): ditto - (dv2sv): ditto - (table_rule_width): ditto - (set_integrated_width): ditto - (check_table_height): ditto - (feed_table_tag): ditto - * table.h (struct table_cell): index, eindex char to short - -2002-11-05 Fumitoshi UKAI <ukai@debian.or.jp> - - * w3m 0.3.2 - * version.c.in: update - * doc/README: version 0.3.2, release date - * doc-jp/README: ditto - * NEWS: update - -2002-11-05 Fumitoshi UKAI <ukai@debian.or.jp> - - * scripts/w3mhelp.cgi.in: add chkWORD - -2002-11-04 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev-en 00827] Re: w3m-cvs segfaults on news://<mid> URLs - * url.c (openURL): check pu->file for news: - -2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * fix compilation warnings - * w3mimgdisplay.c: add #include <string.h> for strlen, strcmp - * w3mimg/fb/fb.c: add #include <string.h> for memset - * w3mimg/fb/fb_w3mimg.c: add #include <string.h> for memset - -2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * 0.3.2 release candidate 4 - * version.c.in: update - -2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03365] ~/.netrc support - * etc.c (add_auth_pass_entry): add netrc arg - add new entry to tail - (find_auth_pass_entry): ent->host == NULL is "default" - (loadPasswd): rewrite with next_token, parsePasswd, - openPasswdFile - load ~/.netrc - (next_token): added - (parsePasswd): added - (openPasswdFile): added - * ftp.c (openFTP): use find_auth_user_passwd - * NEWS: ~/.netrc - -2002-10-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03363] refresh download - * file.c (HTMLtagproc1): alarm is implicit once - * fm.h (AL_IMPLICIT_ONCE): added - * main.c (searchKeyData): reset CurrentKeyData, CurrentCmdData - (SigAlarm): CurrentCmdData is saved to data - message displayed on AL_EXPLICIT - clear alarm when AL_IMPLICIT_ONCE - (setAlarmEvent): AL_IMPLICIT_ONCE - -2002-10-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03362] Re: support for http://user:pass@www.url.com - * etc.c (loadPasswd): accept host, passwd - -2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03359] support for http://user:pass@www.url.com - * etc.c (find_auth_user_passwd): use ParsedURL for args - use user and passwd if these are defined in ParsedURL - * file.c (getAuthCookie): change find_auth_user_passwd() - * proto.h (find_auth_user_passwd): change prototype - * NOTE: http://user:pass@www.url.com is NOT RECOMMENDED - for security reasons. + * cookie.c: Free tmp. -2002-10-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * local.c: Remove unreachable return. - * [w3m-dev 03357] tab in <pre> in <ul>,<ol>,... - * file.c (HTMLlineproc2): check indent for tabstop +2015-08-10 Alan Grow <alangrow@gmail.com> -2002-10-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * url.c (HTTPrequest): + - Use Content-Type instead of Content-type. + - Use Content-Length instead of Content-length. + Origin: https://github.com/acg/w3m/commit/5946c2784d4eae46ec06e52390e43a874b3395fc - * [w3m-dev 03354] display current line number - * display.c (displayBuffer): %3d -> %d +2015-08-09 Egmont Koblinger <egmont@users.sourceforge.net> -2002-10-29 Fumitoshi UKAI <ukai@debian.or.jp> + * terms.c: Support sgrmouse for skip_escseq. + * menu.c: Adjust comments for keymaps. + Origin: https://sourceforge.net/p/w3m/patches/65/#e2aa - * 0.3.2 release candidate 3 - * version.c.in: update +2015-08-09 Tatsuya Kinoshita <tats@debian.org> -2002-10-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * keybind_lynx.c: Support sgrmouse for Lynx-like key binding. + cf. https://sourceforge.net/p/w3m/patches/65/ - * [w3m-dev 03352] w3mimgsize is not necessary. - * XMakefile (IMGSIZE): removed - * config.h.dist (IMGSIZE): removed - * configure (imgtarget): remove IMGSIZE - (config.h): remove IMGSIZE - * rc.c (CMT_IMGSIZE): removed - * doc/README.img: remove imgsize - * w3mimgsize.c: removed +2015-08-09 IWAMOTO Kouichi <sue@iwmt.org> -2002-10-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * menu.c: Support SGR style mouse handler for menu. + cf. https://github.com/tats/w3m/issues/5 + Origin: https://gist.github.com/ttdoda/83fbcf676a21da28432b + Bug: https://sourceforge.net/p/w3m/patches/65/ - * [w3m-dev 03351] w3m core dump - * table.c (feed_table_tag): fix rendering problem (maybe security hole?) +2015-08-06 Richard Quirk <richard@quirk.es> -2002-10-28 Fumitoshi UKAI <ukai@debian.or.jp> + Fix problems reported by cppcheck, clang --analyze and gcc warnings. + Origin: https://github.com/tats/w3m/pull/6 - * [w3m-dev-en 00796] - * configure: expand here. ($var in Makefile is $v + ar) - * XMakefile: clean w3mimg/**/*.o + * Str.c, Str.h: Strnew_charp and co do not modify the char* input. -2002-10-28 Fumitoshi UKAI <ukai@debian.or.jp> + * local.c: Close temp file if pipe open fails. - * [w3m-dev-en 00795] - * configure: IMLIB_CONFIG, IMLIB2_CONFIG, GDKPIXBUF_CONFIG - * rc.c (CMT_DISP_IMAGE): need if not defined USE_IMAGE + * rc.c: Avoid passing null to strlen. -2002-10-27 Fumitoshi UKAI <ukai@debian.or.jp> + * file.c: Initialise hidden_input to NULL. + This prevents a possible use of garbage value on line 3017. - * 0.3.2 release candidate 2 - * version.c.in: update + * file.c: Use pclose for pipe. -2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> +2015-08-05 IWAMOTO Kouichi <sue@iwmt.org> - * [w3m-dev-en 00788] - * fm.h (displayImage): FALSE ifndef USE_IMAGE - * rc.c (displayImage): display_image even if USE_IMAGE undefined - (sync_with_options): display_image is forced to be FALSE - ifndef USE_IMAGE + * main.c: Fix that SGR style mouse handler has off-by-one problem. + cf. https://github.com/tats/w3m/issues/5 + Origin: https://gist.github.com/ttdoda/30c189a63d483beeb207 + Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/1390768 + Bug: https://sourceforge.net/p/w3m/patches/65/ -2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev-en 00783] hsaka@mth.biglobe.ne.jp (Hironori SAKAMOTO) - add display_lineinfo option - * display.c (displayBuffer): check displayLineInfo - * fm.h (displayLineInfo): added - * rc.c (CMT_DISPLINEINFO): added - (display_lineinfo): added - * NEWS (rc: display_lineinfo): add +2015-07-31 yshl <yshl@takechiyo.net> -2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> + * Bonus/goodict.cgi: + - Use Encode.pm instead of NKF. + - Update to the current URL. + - Enable to select search mode. + Origin: https://github.com/tats/w3m/pull/4 - * [w3m-dev-en 00781] "Clemens Fischer" <ino-waiting@gmx.net> - zope doesn't recognize implied *LWS in accept-language - * rc.c (sync_with_option): remove optional LWS +2015-07-20 Tatsuya Kinoshita <tats@debian.org> -2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> + * README: Add short description. - * [w3m-dev-en 00780] "Carlo E. Prelz" <fluido@fluido.as> - always print on screen the relative position - * display.c (displayBuffer): relative position + * doc-jp/FAQ.html, doc/FAQ.html: Mention GOPHER_PROXY and FTP_PROXY. -2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> +2015-07-05 Tatsuya Kinoshita <tats@debian.org> - * 0.3.2 release candidate 1 - * version.c.in: update + * doc-jp/FAQ.html, doc/FAQ.html: Mention HTTPS_PROXY. + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791425 -2002-10-26 Gary Johnson <garyjohn@spk.agilent.com> +2015-06-27 yshl <yshl@takechiyo.net> - * [w3m-dev-en 00777] patch to fix w3m-0.3.1 word break problem - * file.c (is_period_char): - 0x203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK - (is_beginning_char): - 0x2018 - LEFT SINGLE QUOTATION MARK - 0x2039 - SINGLE LEFT-POINTING ANGLE QUOTATION MARK - (is_word_char): add several chars ifndef JP_CHARSET - add ':' and '*' + * doc-jp/README.SSL: Modify certdata2pem.rb to assume the encoding + of the certdata.txt to be UTF-8. + Origin: https://github.com/tats/w3m/pull/3 -2002-10-17 Hiroyuki Ito <hito@crl.go.jp> +2015-06-23 Daniel Schepler <dschepler@gmail.com> - * [w3m-dev 03342] - * doc/README.img: updated - * doc-jp/README.img: updated + * terms.c: Wrap the functions used by image.c in USE_IMAGE. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789539 -2002-10-17 Daiki Ueno <ueno@unixuser.org> +2015-05-09 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 03341] white space is needed to close an empty-element tag - * parsetagx.c (parse_tag): extract tagname until '/' + * doc-jp/README.siteconf, doc/README.siteconf: + Update examples of siteconf for twitter.com. -2002-10-11 Fumitoshi UKAI <ukai@debian.or.jp> +2015-05-03 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 03339] Re: Debian Bug#164098 w3m: <sup> is not properly supported - * file.c (HTMLtagproc1): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB - * html.c (TagMAP): sup, /sup, sub, /sub - * html.c (HTML_SUP): added - (HTML_N_SUP): added - (HTML_SUB): added - (HTML_N_SUB): added - * table.c (feed_table_tag): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB - * tagtable.tab (sup): added - (/sup): added - (sub): added - (/sub): added + * main.c: Correct GC version confirmation. -2002-10-11 Hiroyuki Ito <hito@crl.go.jp> +2015-05-02 yshl <yshl@takechiyo.net> - * [w3m-dev 03337] delete unused functions in fb.c etc. (Re: canna patch) - * w3mimg/fb/fb.c (fb_image_rotate): delete - (fb_frame_rotate): delete - (fb_pset): delete - (fb_get_color): delete - (fb_clear): delete - (fb_cmap_disp): delete - (fb_fscrn_disp): delete - (fb_vscrn_disp): delete - * w3mimg/fb/fb.h (fb_image_rotate): delete - (fb_frame_rotate): delete - (fb_pset): delete - (fb_get_color): delete - (fb_clear): delete - (fb_cmap_disp): delete - (fb_fscrn_disp): delete - (fb_vscrn_disp): delete - * w3mimg/fb/fb_img.c (fb_image_draw_simple): delete - * w3mimg/fb/fb_img.h (fb_image_draw_simple): delete - - * w3mimg/fb/license.txt: removed, follow w3m license - -2002-10-09 AIDA Shinra <aida-s@jcom.home.ne.jp> - - * [w3m-dev 03336] proxy check for https authorization: - * url.c (HTTPrequest): check CONNECT request for ssl - -2002-10-06 Hiroyuki Ito <hito@crl.go.jp> - - * [w3m-dev 03333] x11 image animation - * w3mimg/x11/x11_w3mimg.c (struct x11_image): added - (x11_img_new): added - (resize_image): added - (x11_load_image): rewrite GdkPixbuf - (x11_show_image): rewrite GdkPixbuf - (x11_free_image): rewrite GdkPixbuf - -2002-10-02 Yuji Abe <cbo46560@pop12.odn.ne.jp> - - * [w3m-dev 03332] Re: hang up when seeing web page that contains xbm file - * w3mimg/x11/x11_w3mimg.c (x11_load_image): transparent support - -2002-10-02 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> - - * [w3m-dev 03331] Re: hang up when seeing web page that contains xbm file - * configure: check gdk-pixbuf-config existence - -2002-10-01 Yuji Abe <cbo46560@pop12.odn.ne.jp> - - * [w3m-dev 03330] Re: hang up when seeing web page that contains xbm file - * w3mimg/x11/x11_w3mimg.c (x11_load_image): scaling - -2002-09-30 Yuji Abe <cbo46560@pop12.odn.ne.jp> - - * [w3m-dev 03327] gdk-pixbuf support for w3m-img/x11 - * configure (use_w3mimg_x11) Imlib1 or GdkPixbuf - check gdkpixbuf - * w3mimg/x11/x11_w3mimg.c (USE_GDKPIXBUF): added - (x11_init): USE_GDKPIXBUF - (x11_load_image): USE_GDKPIXBUF - (x11_get_image_size): USE_GDKPIXBUF - -2002-09-30 qhwt@myrealbox.com - - * [w3m-dev 03325] Re: hang up when seeing web page that contains xbm file - * w3mimgdisplay.c (main): always return response - even if size is unknown - -2002-09-29 Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp> - - * [w3m-dev 03323] EDITOR - * main.c (MAIN): use not_null() + * main.c: Correct GC version confirmation. + Origin: https://github.com/tats/w3m/pull/2 -2002-09-29 AIDA Shinra <aida-s@jcom.home.ne.jp> - - * Re: [w3m-dev 03320] Re: Passwords - * etc.c (dir_under): same path is ok - * file.c (loadGeneralFile): if missing, return NULL - ssl cert already checked - * html.h (URLFILE): add ssl_certificate - * istream.c (ssl_get_certificate): change args - * istream.h (ssl_get_certificate): ditto - * url.c (openSSLHandle): add p_cert - ssl certificate check here - (HTTPrequest): auth_cookie fix - -2002-09-25 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03321] Bug#162104: file descriptors 1 and 2 are closed rather than reopened to /dev/null - * etc.c (mySystem): fd 0,1,2 redirect /dev/null, close all other fds - -2002-09-25 AIDA Shinra <aida-s@jcom.home.ne.jp> - - * [w3m-dev 03319] mailto - * main.c (followA): mailto - * main.c (cmd_loadURL): mailto - * url.c (_parsedURL2Str): mailto: query - -2002-09-25 AIDA Shinra <aida-s@jcom.home.ne.jp> - - * [w3m-dev 03318] Re: Passwords - * etc.c (struct auth_path): added - (passwords): added - (dir_under): added - (add_auth_pass_entry): added - (find_auth_pass_entry): added - (find_auth_user_passwd): added - (loadPasswd): added - (find_auth): dir_under() - (add_auth_cookie): check file - * file.c (find_auth_user_passwd): removed - (getAuthCookie): use delText() - check proxy - (get_auth_cookie): removed - (loadGeneralFile): auth_pu - * proto.h (schemeToProxy): added - (get_auth_cookie): removed - (loadPasswd): added - (find_auth_user_passwd): added - * rc.c (sync_with_option): loadPasswd() - * textlist.c (delValue): added - * textlist.h (delValue): added - (delText): added - * url.c (HTTPrequest): seen_www_auth - (schemeToProxy): added - -2002-09-11 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03312] Re: Passwords - * config.h.dist: PASSWD_FILE - * file.c (find_auth_user_passwd): return if passwd_file == NULL - -2002-09-11 Yuuichi Teranishi <teranisi@gohome.org> - - * [w3m-dev 03311] Re: Passwords - * configure (config.h): default PASSWD_FILE - * fm.h (passwd_file): default PASSWD_FILE - -2002-09-11 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03307] add password_file support - * file.c (find_auth_user_passwd): added - * fm.h (passwd_file): added - * rc.c (CMT_PASSWDFILE): added - (passwdfile): added - -2002-09-09 Hiroyuki Ito <hito@crl.go.jp> - - * [w3m-dev 03300] framebuffer: 8bit color support - * w3mimg/fb/fb.c: support FB_VISUAL_PSEUDOCOLOR 256 colors - -2002-09-09 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> - - * [w3m-dev 03299] remove file before copying (install-sh) - * install-sh: remove file before copying - -2002-09-09 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> - - * [w3m-dev 03298] [ -f instead of [ -e (configure) - * configure: use test -f instead of test -e - -2002-09-09 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> - - * [w3m-dev 03297] TERM=mlterm - * terms.c (w3m_term_info_list): add mlterm - -2002-09-09 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> - - * [w3m-dev 03296] fix configure (strtoq) - * configure (strtoq): fix missing semicolon - -2002-09-06 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03292] Re: load file at cursor - * anchor.c (reAnchorPos): added - (reAnchorWord): added - (reAnchorAny): rewrite to use reAnchorPos() - * funcname.tab (MARK_WORD): added - * keybind.c (;) MARK_WORD - * main.c (getCurWord): added - (chkWORD): added - (is_wordchar): added - (getCurWord): added - (GetWord): rewrite to use getCurWord() - * proto.h (chkWORD): added - (reAnchorWord): added - * doc/README.func: add MARK_WORD - * doc/keymap.default: add MARK_WORD - * doc-jp/README.func: add MARK_WORD - * doc-jp/keymap.default: add MARK_WORD - * NEWS: add MARK_WORD - -2002-08-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 03291] parsetagx.c:toNumber() - * parsetagx.c (toNumber): don't parse non-number value as 0, - just ignore - -2002-08-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large files - * indep.c (strtoclen): need defined() - -2002-08-21 Fumitoshi UKAI <ukai@debian.or.jp> - - * Debian Bug#157098: wrong file presentation on large files - from "Eduard Bloch" <blade@debian.org> - * configure (clen_t): added - (HAVE_STRTOLL): added - (HAVE_STRTOQ): added - (HAVE_ATOLL): added - (HAVE_ATOQ): added - * config.h.dist: ditto - * file.c (current_content_length): s/int/clen_t/ - (loadGeneralFile): s/atoi/strtoclen/ - (convert_size): s/int/clen_t/ - (convert_size2): s/int/clen_t/ - (showProgress): s/int/clen_t/ - (loadHTMLstream): s/int/clen_t/ linelen, trbyte - (loadBuffer): ditto - (getNextPage): s/int/clen_t/ linelen - (save2tmp): s/int/clen_t/ linelen, trbye - (_MoveFile): s/int/clen_t/ linelen, trbye - * fm.h (_Buffer): s/int/clen_t/ linelen, trbye - * ftp.c (size_int2str): s/long/clen_t/ - (ex_ftpdir_name_size_date): s/long/clen_t/ - * indep.c (strtoclen): added - * indep.h (strtoclen): added - * proto.h (showProgress): s/int/clen_t/ - -2002-07-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * Debian Bug#154766: w3m-img: support DirectColor framebuffer visuals? - from Colin Watson <cjwatson@debian.org> - * w3mimg/fb/fb.c (fb_open): accept FB_VISUAL_DIRECTCOLOR - -2002-07-30 Hiroyuki Ito <hito@crl.go.jp> - - * [w3m-dev 03282] Re: w3m-img for framebuffer update - * w3mimg/fb/fb.c (fb_image_new): ignore no image - calloc multiple images - (fb_image_fill): added - (fb_image_draw): width, height fix - (fb_image_rotate): fix typo - (fb_image_copy): added - (fb_frame_new): added - (fb_freme_free): added - (fb_frame_rotate): added - * w3mimg/fb/fb.h (FB_IMAGE): add num, id, delay - (fb_frame_new): added - (fb_frame_free): added - (fb_frame_rotate): added - * w3mimg/fb/fb_gdkpixbuf.c (get_image_size): animation support - (fb_image_load): animation support - (draw): add bg, x, y, w, h args - * w3mimg/fb/fb_img.h (fb_image_load): return FB_IMAGE** - * w3mimg/fb/fb_imlib2.c (fb_image_load): return FB_IMAGE** - * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): animation support - -2002-07-23 Hiroyuki Ito <hito@crl.go.jp> - - * [w3m-dev 03280] w3m-img without w3mimgsize - * fm.h (Imagesize): deleted - * image.c (getImageSize): rewrite to use w3mimgdisplay - instead of w3mimgsize - * rc.c (params1): remove imgsize, merged to imgdisplay - -2002-07-23 Hiroyuki Ito <hito@crl.go.jp> - - * [w3m-dev 03279] w3m-img for framebuffer update - http://homepage3.nifty.com/slokar/fb/w3mfb.patch.gz - * w3mimg/fb/readme.txt: update - * w3mimg/fb/fb.c: update - * w3mimg/fb/fb.h: update - * w3mimg/fb/fb_gdkpixbuf.c: update - * w3mimg/fb/fb_img.c: update - * w3mimg/fb/fb_img.h: update - * w3mimg/fb/fb_imlib2.c: update - * w3mimg/fb/fb_w3mimg.c: update - * w3mimg/fb/fb_gdkpixbuf.h: deleted - * w3mimg/fb/fb_imlib2.h: deleted - * w3mimg/w3mimg.h (w3mimg_op): add get_image_size() - * w3mimg/x11/x11_w3mimg.c: update - * w3mimgdisplay.c (main): use get_image_size() - * w3mimgsize.c (main): use get_image_size() - -2002-07-19 Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp> - - * [w3m-dev 03277] compile error on Solaris7 - * w3mimg/w3mimg.c: include <stdio.h> for NULL - -2002-07-19 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> - -a * [w3m-dev 03276] compile error on EWS4800 - * file.c (extract_auth_val): fix warnings - * w3mimg/w3mimg.c: include <stdlib.h> - -2002-07-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03275] fix of multipart.cgi - * scripts/multipart/multipart.cgi.in: check REQUEST_METHOD first - need $count for POST - -2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> - - * w3mimgdisplay.c (main): '5' for w3mimgsize - -2002-07-18 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> - - * [w3m-dev 03270] Re: w3m-img for framebuffer merged - * w3mimg/x11/x11_w3mimg.c (w3mimg_x11open): unsigned int nchildren - -2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> - - * XMakefile (w3mimg/w3mimg): added - (w3img/fb) fixed - * w3mimg/w3mimg.h (w3mimg_open): deleted to avoid compilation warnings - * w3mimg/w3mimg.c: added - * configure (imgobjs): add w3mimg/w3mimg.o +2015-04-29 Markus Hiereth <post@hiereth.de> -2002-07-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * po/de.po: Update German translation. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783383 - * [w3m-dev 03272] Re: w3m-img for framebuffer merged (Re: Re: w3m-img for framebuffer) - * XMakefile (w3mimg/x11): chdir - (w3mimg/fb): chdir +2015-04-29 Tatsuya Kinoshita <tats@debian.org> -2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> + * po/Makevars, po/de.po, po/ja.po, po/w3m.pot, rc.c: + Update PO strings for display_borders. - * [w3m-dev 03273] Re: w3m-img for framebuffer merged - * configure (use_w3mimg_fb): check linux, use test -c +2015-04-26 yshl <yshl@takechiyo.net> -2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> + * main.c: Use GC_oom_fn instead of GC_set_oom_fn for gc-7.1. + Origin: https://github.com/tats/w3m/pull/1 - * merge w3m-img for framebuffer support - * w3mimg/w3mimg.h: created - * w3mimg/x11/x11_w3mimg.c: created - * w3mimg/fb/fb_w3mimg.c: created - * w3mimgsize.c w3mimgdisplay.c: modified - * configure: modified - * XMakefile: modified - * config.h.dist: updated +2015-02-03 Tatsuya Kinoshita <tats@debian.org> -2002-07-18 ZXB01226@nifty.com + * po/de.po, po/ja.po, po/w3m.pot: Update PO. - * w3m-img for framebuffer support - * http://homepage3.nifty.com/slokar/fb/ - * w3mimg/fb/fb.c w3mimg/fb/fb.h - w3mimg/fb/fb_img.c w3mimg/fb/fb_img.h - w3mimg/fb/fb_gdkpixbuf.c w3mimg/fb/fb_gdkpixbuf.h - w3mimg/fb/fb_imlib2.c w3mimg/fb/fb_imlib.h - w3mimg/fb/readme.txt w3mimg/fb/license.txt: added +2015-02-02 Tatsuya Kinoshita <tats@debian.org> -2002-07-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * file.c, fm.h, rc.c: + New option "display_borders" to display 0 pixel table borders. + cf. http://d.hatena.ne.jp/rubikitch/20101120 - * [w3m-dev 03263] fix lastA segfault - * main.c (lastA): fix lastA segfault when no anchor found +2015-01-24 Tatsuya Kinoshita <tats@debian.org> -2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> + * acinclude.m4, configure, version.c.in: + Update to 0.5.3+gitYYYYMMDD (generate from ChangeLog). - * version.c.in: cvs version +2015-01-15 Tatsuya Kinoshita <tats@debian.org> -2002-07-16 Fumitoshi UKAI <ukai@debian.or.jp> + * alloc.h, main.c: Drop C99 features. - * w3m 0.3.1 - * version.c.in: update - * doc/README: version 0.3, release date - * doc-jp/README: ditto - * NEWS: update +2015-01-15 Scarlett <scarlett@xavin.net> -2002-07-12 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> + Add overflow detection. + Origin: http://marc.info/?l=openbsd-ports&m=142090828929750&w=2 + * main.c: Call exit(1) when out of memory to avoid dereferencing null + pointers when gc's malloc fails. + * alloc.h: Replacements for w3m's allocation macros which add + overflow detection and concentrate the macros in one file. + * indep.h, libwc/charset.c, libwc/status.c, matrix.c: Use the + overflow-detecting allocation macros from alloc.h. - * [w3m-dev 03255] update cygwin info - * doc-jp/README: update - * doc/README: update - * doc-jp/README.cygwin: deleted - * doc/README.cygwin: deleted +2015-01-15 Tatsuya Kinoshita <tats@debian.org> -2002-07-10 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + * Str.c, cookie.c, map.c: + Do not use C99 printf format specifiers and asprintf. - * [w3m-dev 03240] doc-jp update - * doc-jp/MANUAL.html: update - * doc-jp/README: update - * doc-jp/README.SSL: update - * doc-jp/README.img: update +2015-01-15 Scarlett <scarlett@xavin.net> -2002-07-10 Fumitoshi UKAI <ukai@debian.or.jp> + Correct printf arguments and use asprintf. + Origin: http://marc.info/?l=openbsd-ports&m=142090828929750&w=2 + * Str.c: Use asprintf() instead of rolling our own printf string + length detection. + * cookie.c: Pass the char pointer in the string struct to printf %s + instead of the string struct itself. + Print time_t using %lld instead of %ld to allow for 64-bit time_t. + * main.c: Print a long int using the correct format specifier. + * map.c: Print size_t using the correct format specifier. - * gc/: import gc6.1alpha5 +2014-12-06 Araki Ken <arakiken@users.sf.net> -2002-07-09 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + Support OSC 5379 remote imaging and sixel graphics. + Origin: https://bitbucket.org/arakiken/w3m/branch/remoteimg (2014-11-16) - * delete old mail addresses of aito-san from docs - * delete old ftp site from w3m-doc/install.html.in + * doc/README.sixel, terms.c: Add README.sixel. W3M_IMG2SIXEL + environmental variable enables to specify options of img2sixel. -2002-07-01 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + * image.c, terms.c: + Add n_terminal_image argument to put_image_{sixel|osc5379}(). + Use struct winsize to calculate ppc and ppl. - * [w3m-dev 03235] topA/lastA with prec_num - * main.c: add prec_num to topA() and lastA() + * terms.c: If SCREEN_VARIANT=sixel on GNU screen, exec img2sixel + without -P option. -2002-06-24 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * terms.c: ttymode_set() -> ttymode_reset(). - * [w3m-dev 03233] "obuf->flag |= RB_IGNORE_P" after <body> tag - * file.c (HTMLtagproc1): no need RB_IGNORE_P after <body> tag + * terms.c: Fix. -2002-06-18 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + * terms.c: Support GNU screen. - * [w3m-dev 03215] Re: Boehm GC 6.1alpha5 - * XMakefile: add "base_lib gc.a" for making GC + * terms.c: Show GIF (except animation GIF) correctly. -2002-06-18 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + * main.c, terms.c: img2sixel exits by Ctrl+C. Enable GIF Animation if + 'I' is pressed to show it. - * [w3m-dev 03212] lstat() in form.c - * form.c: define lstat unless HAVE_LSTAT - (form_write_from_file): always check lstat() + * image.c: Add declaration of get_pixel_per_cell(). -2002-06-17 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + * terms.c: Show the first frame of animation gif files. - * [w3m-dev 03214] strtoul() in frame.c - * frame.c (parseFrameSetLength): strtoul() -> strtol() + * terms.c: system() -> fork()&execvp() -2002-06-10 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + * display.c: Draw underline on anchor which contains cboth text and + images. - * [w3m-dev-en 00752] Re: tab completion weirdness in w3m 0.3 - * file.c (doFileCopy): same fix as [w3m-dev-en 00751] + * etc.c: Remove close_tty() from setup_child() because close_tty() + sometimes interrupts loadGeneralFile() in loadImage() and corrupt + image data can be cached in ~/.w3m. -2002-06-10 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + * image.c: Minor fix. - * [w3m-dev-en 00751] Re: tab completion weirdness in w3m 0.3 - * main.c (svBuf): unescape spaces when input is filename - * proto.h (unescape_spaces): added + * image.c: Cache image files if at all possible and convert them to + sixel when -sixel option is specified. -2002-06-08 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + * image.c: Init pixel_per_{char|line}_i if get_pixel_per_cell() fails. - * [w3m-dev 03207] strchr(), strcasecmp(), and strncasecmp() - * etc.c (strchr): removed - (strcasecmp): removed - (strncasecmp): removed - * indep.c (strchr): moved, cast - (strcasecmp): moved, fix the case that s1 = "" - (strncasecmp): moved, fix the case that s1 is shorter than s2 - * indep.h (strchr): added - (strcasecmp): added - (strncasecmp): added + * display.c, file.c, fm.h, image.c, main.c, terms.c: + Add -sixel option which supports image processing by img2sixel. -2002-06-06 Fumitoshi UKAI <ukai@debian.or.jp> + * image.c: Don't download image files whose size is specified in + <img> tag. - * [w3m-dev 03206] Re: dict - * main.c (execdict): quote word + * image.c: Minor fixes of parseImageHeader(). -2002-06-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * image.c: Determine the format of an image file by its header data + not by its file name suffix. - * [w3m-dev 03204] INET6 - * main.c (fversion): s/USE_INET6/INET6/ + * image.c: Read width and height from jpeg, png and gif files directly + instead of executing w3mimgdisplay -size. -2002-06-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * display.c: display.c: Draw underline on anchor text which is not + overlapped with any image. - * [w3m-dev 03203] dict - * main.c (execdict): fix loadGeneralFile() + * terms.c: Clear fd_set by FD_ZERO() before select(). -2002-06-02 Tushar Samant <scribble@pobox.com> + * file.c: nw and ni are rounded up instead of rounded off to show + every corner of images. - * [w3m-dev-en 00748] PATCH: Reinitialize w3m while running - * funcname.tab (INIT_MAILCAP): deleted - (REINIT): added - * main.c (config_filename): added - (reinit): added - * proto.h (reinit): added - * rc.c (rc_initialized): deleted - * w3mhelperpanel.c (editMailcap): use REINIT MAILCAP + * terms.c: Change time to wait for the response of "\x1b[14t\x1b[18t" + from 0.1 sec to 0.5 sec. -2002-06-02 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + * image.c: + - clearImage() works. + - Use cached image files created by w3m in getImage(). - * [w3m-dev 03200] Re: New configuration option ``keymap_file'' and new command ``DEFINE_KEY'' - * fm.h: add <sts/stat.h>, unistd.h> - * fm.h (keymap_file): added - * func.c (keymap_initialized): added - (current_keymap_file): added - (setKeymap): added - (initKeymap): rewrite to use setKeymap() - * funcname.tab (DEFINE_KEY): added - * main.c (MAIN): initKeymap(TRUE) - (defKey): added - * proto.h (defKey): added - (setKeymap): added - (initKeymap): add force param - * rc.c (CMT_KEYMAP_FILE): added - (params3): add keymap_file - (sync_with_option): add initKeymap(FALSE) - * doc/README.func (DEFINE_KEY): added - * doc-jp/README.func: (DEFINE_KEY): added - * scripts/w3mhelp.cgi.in: add defKey - * NEWS: - func: DEFINE_KEY - rc: keymap_file + * file.c: Hack for alignment. -2002-06-02 Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp> + * fm.h, image.c, terms.c: + - Adjust the image size to the terminal cell size. + - If the image size is specified in html source, skip to load the image. - * [w3m-dev 03196] C-w - * linein.c (inputLineHistSearch) move_word changed - * linein.c (setStrType): add space to termchar + * display.c, fm.h, image.c, main.c, terms.c, w3mimg/x11/x11_w3mimg.c: + Support remote image by OSC 5379 show_picture sequence. -2002-05-15 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> +2014-12-06 Olaf Hering <olh@suse.de> - * [w3m-dev 03191] typo in file.c:extract_auth_val()? - * file.c (extract_auth_val): s/177/0177/ + * parsetagx.c: Fix crash in parse_tag() during every start. + Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-parsetagx-crash.patch?expand=1 -2002-05-15 Tsutomu OKADA <okada@furuno.co.jp> + * fm.h: Change the default to alt_entity=0. + Change the default for the option "Use ASCII equivalents to + display entities" from YES to NO. + Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-0.5.1-no-ASCII-equivalents-by-default.patch?expand=1 + Bug-Novell: https://bugzilla.novell.com/show_bug.cgi?id=247397 - * [w3m-dev 03190] a tiny patch for configure - * configure (ask_choice): reset default value + * anchor.c, libwc/gb18030.c, libwc/ucs.c, regex.c: + Fix a few harmless uninitialized variables. + Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-uninitialized.patch?expand=1 -2002-04-27 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> +2014-12-06 Peter Poeml <poeml@suse.de> - * [w3m-dev 03185] Re: cmd_mark in main.c, rev 1.60 broke unmark? - * main.c (cmd_mark): deleted - (_mark): xor PE_MARK - (reMark): or PE_MARK + * terms.c: Prevent segfault when editing a textarea field with vi. + Add fix for segfault that can occur when editing a textarea field + with vi, and returning to w3m (it seems to happen if the terminal + is not writable, as when using w3m after 'su - some_user') + Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-0.4.1-textarea-segfault.dif?expand=1 -2002-04-27 Fumitoshi UKAI <ukai@debian.or.jp> +2014-12-04 Tatsuya Kinoshita <tats@debian.org> - * scripts/.cvsignore: add xface2xpm + * acinclude.m4: Follow updated configure. -2002-04-26 Tushar Samant <scribble@pobox.com> - - * [w3m-dev-en 00733] Submission: "English" patch - * rc.c: update english +2014-12-03 Yusuke Baba <babayaga1@y8.dion.ne.jp> -2002-04-25 Fumitoshi UKAI <ukai@debian.or.jp> + * configure, w3mimg/fb/fb.c, w3mimg/fb/fb.h, w3mimg/fb/fb_w3mimg.c: + Support FreeBSD framebuffer. + Origin: http://www.ac.auone-net.jp/~baba/w3m-img/index.html + Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=122673 - * [w3m-dev-en 00730] Re: Patch for a more flexible dictionary lookup - * NEWS: rc: use_dictcommand, dictcommand - * main.c (execdict): use url_quote_conv() instead of cURLcode() - * proto.h (cURLcode): deleted - * doc-jp/README.dict: updated +2014-12-02 Naohiro Aota <naota@gentoo.org> -2002-04-25 Tushar Samant <scribble@pobox.com> + * acinclude.m4, configure, w3mimg/fb/fb_gdkpixbuf.c: + * w3mimg/x11/x11_w3mimg.c: + Depend on gdk-pixbuf instead of gtk when gtk2. + Origin: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/w3m/files/w3m-0.5.3-gdk-pixbuf.patch?revision=1.1 - * [w3m-dev-en 00729] Re: Patch for a more flexible dictionary lookup - * config.h.dist (DICT): define - * configure (use_dict): default y - * fm.h (DICTCMD): deleted - (UseDictCommand): added - (DictCommand): added - * main.c (execdict): rewrite to use DictCommand, loadGeneralFile() - * rc.c (CMT_USE_DICTCOMMAND): added - (CMT_DICTCOMMAND): added - (params1): use_dictcommand, dictcommand added - * doc/README.dict: updated +2014-12-02 Jeroen Roovers <jer@gentoo.org> -2002-04-21 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + * acinclude.m4, configure: Add tinfo to with_termlib. + Fix building against sys-libs/ncurses[tinfo]. + Origin: https://504588.bugs.gentoo.org/attachment.cgi?id=372650 + Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=504588 - * [w3m-dev 03181] KEYBIND_SRC was not passed to scripts/Makefile - * Makefile (all-scripts): pass KEYBIND_SRC +2014-12-01 OBATA Akio <obache@netbsd.org> -2002-04-17 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + * acinclude.m4, configure: + Assume defined PKG_CONFIG points right location when gtk2. + Origin: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/w3m/patches/patch-aa?rev=1.13&content-type=text/x-cvsweb-markup + Origin: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/w3m/patches/patch-ak?rev=1.1&content-type=text/x-cvsweb-markup - * [w3m-dev 03178] Parser of ``cols'' and ``rows'' - * frame.c (parseFrameSetLength): added - (newFrameSet): use parseFrameSetLength() +2014-12-01 Vsevolod Stakhov <vsevolod@FreeBSD.org> -2002-04-17 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 03177] SIGUSR1 --> W3M_SIGIMG in image.c - * image.c (W3M_SIGIMG): added - (load_image_handler): s/SIGUSR1/W3M_SIGIMG/ - (load_image_next): ditto - (loadImage): ditto - -2002-04-17 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 03176] no Content-Type in http response header - * file.c (loadGeneralFile): guess content-type from filename - -2002-04-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03169] Can't calculate table height if number of cells > 20. - * table.c (check_table_height): change row, rowspan, indexarray, height - from array to pointer + * config.h.in: Disable USE_EGD for LibreSSL. + Disable use of RAND_egd as it is absent in FreeBSD. + This also fixes build error with LibreSSL. + Origin: https://bz-attachments.freebsd.org/attachment.cgi?id=144635 + Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191852 + Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191956 -2002-04-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2014-12-01 zimous <zimous@matfyz.cz> - * [w3m-dev 03167] xface2xbm -> xface2xpm (current imlib can't handle XBM) - * configure: s/XFACE2XBM/XFACE2XPM/ - * config.h.dist: ditto - * file.c (xface2xpm): renamed from xface2xbm - modified for xpm - (readHeader): s/xface2xbm/xface2xpm/ - * scripts/Makefile (LIB_TARGETS): s/xface2xbm/xface2xpm/ - * scripts/xface2xpm.in: added + * po/ja.po: Set Language tag properly for Japanese translation. + Origin: https://512722.bugs.gentoo.org/attachment.cgi?id=378452 + Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=512722 -2002-03-30 Fumitoshi UKAI <ukai@debian.or.jp> +2014-11-30 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 03162] Re: "ttp:" is marked instead of "http:" by MARL_URL - * main.c (chkURLBuffer): "mailto" removed when USE_W3MMAILER - in this case, chkExternalURIBuffer() will mark mailto: URL. + * doc/w3m.1: Typo fix. -2002-03-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2014-11-30 Markus Hiereth <post@hiereth.de> - * [w3m-dev 03160] Re: "ttp:" is marked instead of "http:" by MARL_URL - * NEWS: mark_all_pages - * anchor.c (reAnchorAny): check MarkAllPages - * fm.h (MarkAllPages): added - * rc.c (CMT_MARK_ALL_PAGES): added - (mark_all_pages): added - -2002-03-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03159] "ttp:" is marked instead of "http:" by MARL_URL - * main.c (chkURLBuffer): check internal URLs first - -2002-03-28 Fumitoshi UKAI <ukai@debian.or.jp> - - * terms.c (set_tty): s/term_info/w3m_term_info/g; - struct term_info is defined in FreeBSD's sys/consio.h - reported by KOIE Hidetaka <hide@koie.org> - -2002-03-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03146] Re: header option - * main.c (make_optional_header_string): cleanups - -2002-03-28 Yuuichi Teranishi <teranisi@gohome.org> - - * [w3m-dev 03145] header option - * main.c (MAIN): hide args for security - -2002-03-23 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 03140] Forward: Bug#139305: - w3m: EXTERN_LINK does not work if href ends with ampersand - * main.c (invoke_browser): check bg by browser - -2002-03-21 Fumitoshi UKAI <ukai@debian.or.jp> - - * terms.c (term_title): use ttyf instead of stderr - -2002-03-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03137] Re: w3mman.1 - * XMakefile (MAN1): added - (MAN1_JA): added - (install-core): install man - (install-scripts): pass MAN_DIR - (uninstall): uninstall man, pass MAN_DIR to subdirs - * config.h.dist (MAN_DIR): added - (MAN1_DIR): added - (MAN1_JA_DIR): added - * configure: -mandir - (config.h): add MAN_DIR, MAN1_DIR, MAN1_JA_DIR - * scripts/w3mman/Makefile (MAN1_DIR): added - -2002-03-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03136] Add COMMAND to execute multiple commands - * fm.h (CurrentMenuData): deleted - (CurrentCmdData): added - * func.c (getKey): check next char of ^ - (getWord): get word until ';' - (getQWord): rewrite using Str - * funcname.tab (COMMAND): added - * main.c (MAIN): delete CurrentMenuData - initialize CurrentCmdData - (searchKeyData): use CurrentCmdData - (execCmd): added - (SigAlarm): delete CurrentMenuData, use CurrentCmdData - * menu.c (action_menu): delete CurrentMenuData, use CurrentCmdData - * proto.h (execCmd): added - * doc/README.func (ALARM): capitalize - (COMMAND): added - * doc-jp/README.func (COMMAND): added - -2002-03-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03135] commit of [w3m-dev 03006] is incomplete. - * file.c (HTMLlineproc2body): check form_int fid attr - update forms[] - fix buf->formlist - -2002-03-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * part of [w3m-dev-en 00713] contrib: unofficial "current page info" patch, updated for w3m-0.3 - by Moritz Barsnick <barsnick@gmx.net> - * map.c (page_info_panel): s/line/lines/ - s/byte/bytes/ - anchor for URL of current anchor - -2002-03-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * -title support - modified [w3m-dev-en 00710] contrib: unofficial "xterm title" patch, updated for w3m-0.3 - by Moritz Barsnick <barsnick@gmx.net> - * NEWS: -title - * fm.h (displayTitleTerm): added - * proto.h (term_title): added - * main.c (fusage): add -title - (MAIN): add -title - (quitfm): term_title("") - * display.c (displayBuffer): term_title() - * terms.c (title_str): added - (TERM_INFO): added - (term_info): modified from mouse_term_info - (term_info_list): modified from xterm_mouse_term - add "screen" - (set_tty): check displayTitleTerm - (term_title): added - -2002-03-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03132] Re: Reload image - * file.c (loadGeneralFile): b->type = "text/html" - * file.c (loadImageBuffer): comment out getImageSize() - image_flag = IMG_FLAG_AUTO - * file.c (openGeneralPagerBuffer): buf->type = "text/html" - * frame.c (resetFrameElement): if (buf->mailcap_source) ... - * frame.c (frame_download_source): if (buf->mailcap_source) ... - * main.c (vwSrc): #ifdef USE_IMAGE - -2002-03-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03133] Re: w3mman.1 - * scripts/w3mman/Makefile (MAN1_TARGETS): added - (MAN_TARGETS): use $(MAN_TARGETS) - (INSTALL_MAN): added - (install): use $MAN1_TARGETS, $(INSTALL_MAN) - * scripts/w3mman/w3mman2html.cgi.in: $PAGER='cat' - -2002-03-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * scripts/.cvsignore: add xface2xbm - -2002-03-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03130] w3mman.1 - * scripts/w3mman/.cvsignore: add w3mman.1 - * scripts/w3mman/Makefile (MAN_DIR): added - (MAN_TARGETS): added - (all): add $(MAN_TARGETS) - (.in): replace @LIB_DIR@ - (install): install $(MAN_TARGETS) - (uninstall): uninstall $(MAN_TARGETS) - (clean): clean $(MAN_TARGETS) - * scripts/w3mman/w3mman.1.in: added - * scripts/w3mman/w3mman2html.cgi.in: undef $PAGER - -2002-03-15 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03129] Re: X-Face - * configure (use_xface): ask - * fm.h (_Buffer): add header_source - * buffer.c (reshapeBuffer): fix reshape when reading stdin with image - fix disappearing header when reading stdin - * file.c (xface2xbm): check file existence - * file.c (readHeader): save to tmp file - X-Face when activeImage & displayImage - * main.c (dispI): comment out checking content type - * main.c (stopI): ditto - * scripts/xface2xbm.in: update compface URL - read from file $XF - write to file $XBM - -2002-03-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * proto.h (readHeader): added - -2002-03-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03127] X-Face - * NEWS: X-Face support - * configure (use_xface): added - * config.h.dist (USE_XFACE): added - (XFACE2XBM): added - * file.c (xface2xbm): added - (readHeader): X-Face: handling - * scripts/Makefile (LIB_TARGETS): add xface2xbm - * scripts/xface2xbm.in: added + * doc/w3m.1: Miscellaneous changes to improve English manpage. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#30 -2002-03-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2014-11-29 Markus Hiereth <post@hiereth.de> - * [w3m-dev 03126] reshapeBuffer() and -m option - * buffer.c (reshapeBuffer): fix reshapeBuffer() in case of -m option - -2002-03-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03125] w3m -m < image - * file.c (openGeneralPagerBuffer): use internal viewer for -m option + * doc/w3m.1: Improve FILES. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#30 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403634 -2002-03-13 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * doc/w3m.1: Improve EXAMPLES. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#30 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380560 - * [w3m-dev 03116] Re: aligned block in <td align="center"> - * file.c (flushline): align if align="align" - * fm.h (RB_LEFT): change value - (RB_ALIGN): include RB_LEFT - (RB_INTABLE): added - * table.c (do_refill): obuf.flag |= RB_INTABLE + * doc/w3m.1: Improve explanation about option -N. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#30 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345084 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530468 -2002-03-11 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> + * doc/w3m.1: Note that -cols only affects when HTML is rendered. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#30 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285251 - * [w3m-dev 03110] Re: gopher broken - * file.c (loadGeneralFile): #ifdef USE_GOPHER + * doc/w3m.1: Add more info on configuration. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#30 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=268211 -2002-03-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2014-11-29 Justin B Rye <justin.byam.rye@gmail.com> - * [w3m-dev 03106] Re: displayBuffer - * display.c (displayBuffer): revert previous changes - * file.c (process_img): remove space in src attribute + * scripts/w3mman/w3mman.1.in: Tweak for W3MMAN_W3M. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771003#5 -2002-03-10 Rei FURUKAWA <furukawa@tcp-ip.or.jp> + * scripts/w3mman/w3mman.1.in: English fixes. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#25 - * [w3m-dev 03096] displayBuffer - * display.c (displayBuffer): buf->need_reshape = 0 to prevent recursive - displayBuffer calls +2014-11-29 Tatsuya Kinoshita <tats@debian.org> -2002-03-09 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-19+. - * [w3m-dev 03095] Re: gopher broken - (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) - * file.c (loadGopherDir): html_quote(url_quote_conv()) +2014-11-29 Justin B Rye <justin.byam.rye@gmail.com> -2002-03-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * scripts/w3mman/w3mman2html.cgi.in: Fix Perl warnings. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771004 - * [w3m-dev 03092] Reload image - * file.c (loadImageBuffer): cache->index = 0 +2014-10-21 Tatsuya Kinoshita <tats@debian.org> -2002-03-09 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-19 - * [w3m-dev 03093] Re: gopher broken - (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) - * file.c (loadGopherDir): fix ->ptr - q should be url_quote() - * url.c (openURL): url_unquote() for gopher selector + * po/LINGUAS: Correct LINGUAS to a whitespace separated list -2002-03-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2014-10-21 Markus Hiereth <markus.hiereth@freenet.de> - * [w3m-dev 03090] Re: gopher broken - (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) - * file.c (loadGeneralFile): if loadGopherDir, type is real_type - * file.c (loadGopherDir): rewrite to use loadHTMLstream() + * po/LINGUAS, po/de.po: Add German translation + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763964 -2002-03-08 Fumitoshi UKAI <ukai@debian.or.jp> +2014-10-15 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 03088] gopher broken - (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) - * file.c (form_max): initial value should be -1 - * file.c (loadGopherDir): </A> + * version.c.in: Update to 0.5.3+debian-18 -2002-03-08 YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> + * doc-jp/README.SSL: Update README.SSL to follow default values - * [w3m-dev 03087] vi +1 emptyfile - * etc.c (myEditor): line > 1 + * config.sub: Update config.sub with autotools-dev 20140911.1 -2002-03-06 Christian Weisgerber <w3m-dev-en@mips.inka.de> + * fm.h: Disable SSLv3 by default [CVE-2014-3566] + cf. https://blog.mozilla.org/security/2014/10/14/the-poodle-attack-and-the-end-of-ssl-3-0/ - * [w3m-dev-en 00699] - * configure: define SETPGRP() instead of setpgrp() - * etc.c (mySystem): use SETPGRP() instead of setpgrp() - * image.c (openImgdisplay): ditto - * search.c (open_migemo): ditto - * url.c: revert changes by Dai Sato on 2002-02-01 - since stdio.h and config.h is included with this order - in fm.h +2014-10-15 Ludwig Nussel <ludwig.nussel@suse.de> -2002-03-06 Fumitoshi UKAI <ukai@debian.or.jp> + * fm.h: Force ssl_verify_server on and disable SSLv2 support + Origin: http://www.openwall.com/lists/oss-security/2010/06/14/4 - * version.c.in: 0.3+cvs +2014-10-13 Tatsuya Kinoshita <tats@debian.org> -2002-03-06 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-17+ - * w3m 0.3 - * version.c.in: update - * doc/README: version 0.3, release date - * doc-jp/README: ditto - * NEWS: update +2014-10-04 Tatsuya Kinoshita <tats@debian.org> -2002-03-06 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * libwc/ambwidth_map.awk, libwc/map/ucs_ambwidth.map: + Fix incorrect generation of ucs_ambwidth_map - * [w3m-dev 03084] A temporary file remains when pipe + 'v' - * proto.h (saveBufferDelNum): deleted - * file.c (saveBufferDelNum): deleted - * file.c (saveBuffer): saveBufferDelNum() renamed - * main.c (vwSrc): tmpfname() recorded as fileToDelete - use saveBuffer() instead of saveBufferDelNum() +2014-08-22 Tatsuya Kinoshita <tats@debian.org> -2002-03-04 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-17 - * doc-jp/MANUAL.html: add note about file:/cgi-bin - * doc/MANUAL.html: ditto + * config.guess: + Update config.guess to 2014-03-23 with autotools-dev 20140510.1 -2002-03-01 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * config.sub: + Update config.sub to 2014-05-01 with autotools-dev 20140510.1 - * [w3m-dev 03073] frame + image - * file.c (loadGeneralFile): w3m_dump & ~DUMP_FRAME - * file.c (loadImageBuffer): comment out if (frame_source) +2014-08-22 Micah Cowan <micah@addictivecode.org> -2002-03-01 Fumitoshi UKAI <ukai@debian.or.jp> + * main.c: Support Boehm GC 7.2. + Replace Gentoo's patch to prevent segfaults due to infinite recursion. + Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=080_gc72.patch;att=1;bug=758831 + Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758831 + Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=555467 + Bug: http://sourceforge.net/p/w3m/patches/63/ + Bug: http://sourceforge.net/p/w3m/patches/59/ - * [w3m-dev 03072] Proxy-Authorization (Re: Re: https through proxy) - * file.c (loadGeneralFile) delete Proxy-Authorization set here - * fm.h (HR_FLAG_PROXY): added - * main.c (MAIN): need "Basic " for proxy_auth_cookie - * url.c (HTTPrequest): add seen_proxy_auth - if proxy and no Proxy-Authorization: header seen and - has proxy_auth_cookie, use it - * url.c (openURL): hr->flag |= HR_FLAG_PROXY - - * file.c (loadGeneralFile) comment indent fix - * html.c (TagMAP): ditto +2014-08-22 Tatsuya Kinoshita <tats@debian.org> -2002-02-28 Fumitoshi UKAI <ukai@debian.or.jp> + * main.c: + Revert "Support Boehm GC 7.2" (w3m-0.5.2-gc72.patch from Gentoo) + This reverts commit 4331db3e3e673ac4dbfe8e9f2b42a8e0478dc98a. - * [w3m-dev 03070] Re: https through proxy - * url.c (openURL): pass extra_header (Proxy-Authorization:) +2014-06-23 Tatsuya Kinoshita <tats@debian.org> -2002-02-26 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-16 - * [w3m-dev 03067] Re: https through proxy - * file.c (loadGeneralFile): comment out ssl_get_certificate here + * url.c: Disable ciphers that use keys smaller than 128 bits + Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/1325674 -2002-02-26 Fumitoshi UKAI <ukai@debian.or.jp> +2014-01-04 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev-en 00691] Re: w3m 0.2.5.1 fails to recognize '<dt id="XXX">' - * html.c: ATTR_CORE for dt, dd, blockquote, caption + * version.c.in: Update to 0.5.3+debian-15 -2002-02-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2014-01-03 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 03064] Re: SELECTED form value - * form.c (formResetBuffer): set inititial value + * version.c.in: Update to 0.5.3+debian-14 -2002-02-23 HIDAI Ken-ichi <hidai@nmn.jp> + * acinclude.m4, configure: Use pkg-config to build with imlib2 1.4.6 - * [w3m-dev 03060] doc-jp/README.migemo - * doc-jp/README.migemo: added + * doc/HISTORY, doc/README.cookie, doc/README.m17n: + Prefer US-ASCII rathar than Japanese encodings in English documents -2002-02-23 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2013-12-27 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 03059] table + hborder + rowspan + valign=bottom - * table.c (renderTable): add case BORDER_NOWIN: + * doc-jp/MANUAL.html, doc/MANUAL.html: + Cleanup unusable links in MANUAL.html + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517315 -2002-02-20 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-13+ - * [w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information upon reload (or almost anything else) - * etc.c (find_auth): add `file' - check file as well - * etc.c (find_auth_cookie): add `file' - * etc.c (add_auth_cookie): add `file' - * file.c (AuthBasicCred): add "Basic " - * file.c (AuthDigestCred): add "Digest " - * file.c (getAuthCookie): if h_auth == NULL, get recorded cookie - * file.c (get_auth_cookie): get recorded cookie - * file.c (loadGeneralFile): don't clear add_auth_cookie_flag - by redirection - add_auth_cookie if authorization is required and passed - * fm.h (auth_cookie): add file - * ftp.c (openFTP): follow change auth_cookie - * proto.h (get_auth_cookie): added - * proto.h (find_auth_cookie): add `file' - * proto.h (add_auth_cookie): add `file' - * url.c (openURL): get_auth_cookie +2013-12-17 Tatsuya Kinoshita <tats@debian.org> -2002-02-20 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-13 - * [w3m-dev 03058] mailer - * NEWS: rc: mailer - * fm.h (Mailer): change default - * main.c (MAIN): $MAILER will be used as "mailer" - * main.c (followA): if "mailer" defined & simple mailto: URL, - use mailer instead of w3mmail.cgi - * main.c (cmd_loadURL): ditto - * rc.c (params6): remove ifndef USE_W3MMAILER +2013-12-14 Tatsuya Kinoshita <tats@debian.org> -2002-02-15 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * config.guess: + Update config.guess to 2013-06-10 with autotools-dev 20130810.1 - * [w3m-dev 03056] DISPLAY_IMAGE, STOP_IMAGE don't work. - * main.c (dispI): fix DISPLAY_IMAGE - * main.c (stopI): fix STOP_IMAGE + * config.sub: + Update config.sub to 2013-08-10 with autotools-dev 20130810.1 -2002-02-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2013-12-07 Reinhard Max <max@suse.de> - * [w3m-dev 03055] LIB_DIR -> w3m_lib_dir() - * image.c (getCharSize): s/LIB_DIR/w3m_lib_dir()/ - * image.c (openImgdisplay): ditto - * image.c (getImageSize): ditto + * local.c: Fix a directory descriptor leak in loadLocalDir. + Patch from openSUSE on 2009-09-07. + Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-closedir.patch + Bug-Novell: https://bugzilla.novell.com/show_bug.cgi?id=531675 -2002-02-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2013-12-07 AIDA Shinra <shinra@j10n.org> - * [w3m-dev 03048] garbage of images on the right edge of termical. - * display.c (redrawLineImage): fix width calculation + * main.c: Fix crash after SEARCH_NEXT. + Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-search-next.patch>, + [w3m-dev:04473] on 2013-12-07. -2002-02-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2013-11-11 Paul Boekholt <p.boekholt@gmail.com> - * [w3m-dev 03053] Re: SSL indicator - * main.c (dump_extra): Output SSL certificate. + * file.c: Add support for single quoted meta refresh URL + Bug: https://sourceforge.net/p/w3m/patches/53/ + Bug-NetBSD: http://gnats.netbsd.org/42400 -2002-02-12 Katsumi Yamaoka <yamaoka@jpl.org> +2013-11-07 Cristian Rodriguez <crrodriguez@opensuse.org> - * [w3m-dev 03038] LDFLAGS - * XMakefile: refer to LDFLAGS when linking - * configure: add -ldflags=* + * url.c: Use SSL_OP_NO_COMPRESSION if available. + Due to the "CRIME attack" (CVE-2012-4929) HTTPS clients that + negotiate TLS-level compression can be abused for MITM attacks. + * url.c: Use SSL_MODE_RELEASE_BUFFERS if available. + Patch from openSUSE on 2012-11-12: + https://build.opensuse.org/request/show/141054 -2002-02-12 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> +2013-10-15 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 03036] - * display.c (displayBuffer): ifdef USE_SSL + * Makefile.in: + Depend on funcname.tab to fix parallel make issue of scripts + Bug: https://sourceforge.net/p/w3m/patches/64/ + Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=362249 -2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp> + * w3mimg/Makefile.in: + Avoid prerequisite $(IMGOBJS) to fix parallel make issue of w3mimg + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726188 - * [w3m-dev 03034] check buf - * frame.c (frame_download_source): buf->ssl_certificate can be used - only if buf != NULL && buf != NO_BUFFER + * acinclude.m4, configure: + Explicitly add -lX11 to IMGX11LDFLAGS only when gtk2 + Bug: https://sourceforge.net/p/w3m/patches/57/ -2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp> + * w3mimg/Makefile.in: Revert "Fix parallel make issue" + This reverts commit aa6f871c6dcc108118142bcc786e4a6ac3d46867. - * [w3m-dev 03033] SSL indicator - * display.c (displayBuffer): show SSL indicator + * Makefile.in: + Revert "Explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5" + This reverts commit 7410954066d68ac2ad6aea638801714447321fec. -2002-02-08 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> +2013-10-14 AIDA Shinra <shinra@j10n.org> - * [w3m-dev 03025] fix image loading on EWS4800 - * image.c (loadImage): exit if symlink failed - exit if fopen failed + * url.c: Define schemeNumToName() to fix scheme bug. + Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-schemebug.patch>, + [w3m-dev:04470] on 2013-10-14. + Bug: https://sourceforge.net/p/w3m/patches/60/ -2002-02-08 Fumitoshi UKAI <ukai@debian.or.jp> + * config.h.in, file.c, fm.h, html.h, image.c, indep.c, indep.h: + * istream.c, istream.h, local.c, main.c, mimehead.c, proto.h: + Workaround of GC crash on Cygwin64. + Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-win64gc.patch>, + [w3m-dev:04469] on 2013-10-14. - * [w3m-dev 03022] SSL certificates of frame body - * frame.h (frame_body): add ssl_certificate - * frame.c (frame_download_source): save ssl_certificate - * map.c (append_frame_info): display ssl_certificate of frame_body +2013-10-14 Tatsuya Kinoshita <tats@debian.org> -2002-02-08 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-12+ - * [w3m-dev 03021] Bug#132934: w3m should recognize file:/uris - in chkURLBuffer function - * main.c (chkURLBuffer): add "file:" - -2002-02-08 Yuji Abe <cbo46560@pop12.odn.ne.jp> - - * [w3m-dev 03017] URI scheme is case insensitive - * url.c (searchURIMethods): s/strcmp/strcasecmp/ - -2002-02-08 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 03011] segmentation fault on <input> tag without <form> - * file.c (process_input): tmp initialization fix - -2002-02-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [emacs-w3m:02733] for emacs-w3m better rendering with inline image - * main.c (MAIN): activeImage = TRUE when -halfdump & display_image=1 - -2002-02-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 03006] fix form order in table - * file.c (process_form): static - fix form index order - method should be quoted - * file.c (process_form): added - * file.c (HTMLlineproc2body): add form_id - * html.c (ALST_FORM_INT): added - * html.c (form_int): update - -2002-02-07 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 03005] fix Bad cert ident - * istream.c (ssl_match_cert_ident): added - * istream.c (ssl_check_cert_ident): use ssl_match_cert_ident() - -2002-02-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02999] don't ask accept bad cert when background downloading - * file.c (getAuthCookie): if QuietMessage, return NULL - * file.c (inputAnswer): if QuietMessage, input "n" +2013-10-14 Jarek Czekalski <jarekczek@poczta.onet.pl> -2002-02-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02991] form support in w3m -halfdump foo.html|w3m -halfload - * fm.h (DUMP_HALFEXTRA): deleted - * proto.h (process_select): return Str - * file.c (process_img): process_form() fix - * file.c (process_input): process_form() fix - * file.c (process_select): return Str - process_form() fix - * file.c (process_textarea): process_form() fix - * file.c (process_form): support -halfdump - * file.c (HTMLtagproc1): delete case HTML_FORM_INT, HTML_N_FORM_INT - process_{form,select,textarea}() fix - * file.c (HTMLlineproc2body): support -halfload - HTML_INTERNAL, HTML_N_INTERNAL, - HTML_FORM_INT, HTML_FORM_INT, - HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT, - HTML_SELECT_INT, HTML_N_SELECT_INT, - HTML_OPTION_INT, HTML_TITLE_ALT - * file.c (print_internal_information): fix -halfdump - * file.c (loadHTMLstream): no DUMP_HALFEXTRA - * html.h: add HTML_INTERNAL, HTML_N_INTERNAL, - HTML_SELECT_INT, HTML_N_SELECT_INT, - HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT - * html.c (ALST_TEXTAREA_INT): added - * html.c (ALST_SELECT_INT): added - * html.c: add <internal>, </internal>, <select_int>, </select_int> - <option_int>, <textarea_int>, </textarea_int> - * main.c (MAIN): delete -halfdump_extra - dont output <pre> by -halfdump - * table.c (feed_table_tag): process_{form,select}() fix - add case HTML_INTERNAL, HTML_N_INTERNAL, - HTML_SELECT_INT, HTML_N_SELECT_INT, - HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT, - * tagtable.tab: add internal, /internal, select_int, /select_int - option_int, textarea_int, /textarea_int - -2002-02-05 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02990] - * file.c (doFileCopy): use Strfgets() instead of fgets() - * file.c (doFileSave): ditto - -2002-02-05 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02989] - * file.c (inputAnswer): use Strfgets() instead of fgets() - -2002-02-04 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> - - * [w3m-dev 02986] - * file.c (print_internal_information): Don't print boundaries. - Use henv->f instead of stdout. - -2002-02-04 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02984] inline image improvements and cleanups - * config.h.dist (HAVE_SYMLINK) added - * config.h.dist (HAVE_LSTAT): added - * configure: symlink() check - * configure: lstat() check - * fm.h (maxLoadImage): added - * form.c (form_write_from_file): s/HAVE_READLINK/HAVE_LSTAT/ - * image.c: include <sys/stat.h> - * image.c (MAX_LOAD_IMAGE): default 8 - * image.c (max_load_image): deleted - * image.c (n_load_image): added - * image.c (showImageProgress): added - * image.c (loadImage): check load image count - s/HAVE_READLINK/HAVE_LSTAT/ (HAVE_SYMLINK) - showImageProgress - * local.c: include <sys/stat.h> - s/HAVE_READLINK/HAVE_LSTAT/ - * rc.c (CMT_MAX_LOAD_IMAGE): added - * rc.c (max_load_image): added - * doc/README.img: update - * doc-jp/README.img: update - - * file.c (process_img): pre_int fix - -2002-02-04 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02985] inputAnswer() and no "ssl_forbid_method" - * file.c (inputAnswer): buf size is 80 - * url.c (openSSLHandle): if old_ssl_forbid_method == ssl_forbid_method - ssl path is not modified - -2002-02-04 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02980] Re: code_to_str not found ifndef JP_CHARSET - * backend.c (get_mime_charset_name): used only ifdef JP_CHARSET - -2002-02-04 Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp> - - * [w3m-dev 02979] code_to_str not found ifndef JP_CHARSET - * file.c (print_internal_information): ifdef JP_CHARSET - -2002-02-03 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02967] parallel image downloading - * fm.h (ImageCache): add touch, pid - * image.c (getCharSize): retry fscanf - * image.c (drawImage): retry fflush - * image.c (MAX_LOAD_IMAGE): added, default 4 - * image.c (image_cache): change to ImageCache** - * image.c (image_lock): added - * image.c (load_image_handler): signal SIGUSR1 - * image.c (load_image_next): signal SIGUSR1 - * image.c (loadImage): parallel image downloading - * image.c (getImage): initialize touch, pid - * image.c (getImageSize): return value is TRUE or FALSE - retry fscanf - -2002-02-03 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02970] multiple -lnsl -lsocket - * configure: merge bsdlib and extlib detection, use extlib only - add ldflags to extlib - (SYS_LIBRARIES): remove extlib - (LOCAL_LIBRARIES): exlib only - -2002-02-03 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> - - * [w3m-dev 02964] Print data of forms when halfdump option is set - * backend.c (print_headers): print w3m-current-url and w3m-base-url - * backend.c (print_formlist): deleted - * backend.c (internal_get): remove "if (buf->formlist) {}" - * file.c (print_internal_information): added - * file.c (loadHTMLstream): if halfdump, print_internal_information - if w3m_backend, print_internal_information - * fm.h (DUMP_HALFEXTRA): added - * main.c (-halfdump_extra): added - -2002-02-01 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> - - * [w3m-dev 02972] #include "config.h" - * url.c, mktable.c: fix the order of including files - -2002-02-01 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02968] fix problem with Netscape-Enterprise WWW-authenticate - * file.c (findAuthentication): token is case insensitive - -2002-02-01 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02961] halfdump image is not consistent - * file.c (flushline): check f - * file.c (do_blankline): fix blanklink conditions - -2002-02-01 Fumitoshi UKAI <ukai@debian.or.jp> - - * gcc -Wall -Werror safe - * anchor.c (addMultirowsImg): unused variable: fi - * display.c (redrawLineImage): unused variable: ncol - * file.c (process_img): uninitialized variables: r2, ni, w0, i0, ismap - unused variable: url, ext - * file.c (loadHTMLstream): need volatile image_flag - * image.c (image_index): int - * image.c (getCharSize): need prototype - * image.c (getImage): uninitialized variable: key - return NULL - * map.c (follow_map_menu): used only USE_IMAGE: px, py, map - * map.c (newMapArea): used only USE_IMAGE: p, i, max - * proto.h (addMultirowsImg): added - * w3mimgdisplay.c (main): format string fix - * w3mimgdisplay.c (DrawImage): need (Pixmap) cast - - * inflate.c: indent - -2002-02-01 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz) - * NEWS: w3m-img merge - * .cvsignore: add w3mimgdisplay, w3mimgsize - * XMakefile: add image.c to SRCS - add image.o to OBJS - add IMGDISPLAY, IMGSIZE - * config.h.dist: USE_IMAGE, IMGSIZE, IMGDISPLAY - * configure: add find_imlib - ask use_image - (config.h) add $imgtarget to EXT_TARGETS - $def_use_image - IMGSIZE, IMGDISPLAY - * fm.h (MAX_IMAGE): added - * fm.h (DEFAULT_PIXEL_PER_CHAR): fix for USE_IMAGE - * fm.h (DEFAULT_PIXEL_PER_LINE): added - * fm.h (B_REDRAW_IMAGE): added - * fm.h (IMG_FLAG_SKIP): added - * fm.h (IMG_FLAG_AUTO): added - * fm.h (IMG_FLAG_START): added - * fm.h (IMG_FLAG_STOP): added - * fm.h (IMG_FLAG_NEXT): added - * fm.h (IMG_FLAG_UNLOADED): added - * fm.h (IMG_FLAG_LOADED): added - * fm.h (IMG_FLAG_ERROR): added - * fm.h (MapArea): added - * fm.h (MapList): s/urls/alts/, add area - * fm.h (ImageCache): added - * fm.h (Image): added - * fm.h (Anchor): add image - * fm.h (Buffer): add imarklist, image_flag, need_reshape - * fm.h (RG_FRAME_SRC): added - * fm.h (ALIGN_MIDDLE): added - * fm.h (ALIGN_TOP): added - * fm.h (ALIGN_BOTTOM): added - * fm.h (QuietMessage): added - * fm.h (Imgdisplay): added - * fm.h (Imgsize): added - * fm.h (activeImage): added - * fm.h (displayImage): added - * fm.h (autoImage): added - * fm.h (useExtImageViewer): added - * fm.h (image_source): added - * fm.h (view_unseenobject): change default if USE_IMAGE - * fm.h (set_pixel_per_char): added - * fm.h (pixel_per_line): added - * fm.h (set_pixel_per_line): added - * fm.h (image_scale): added - * proto.h (dispI): added - * proto.h (stopI): added - * proto.h (deleteImage): added - * proto.h (getAllImage): added - * proto.h (loadImage): added - * proto.h (getImage): added - * proto.h (getImageSize): added - * proto.h (process_img): add width arg - * proto.h (loadImageBuffer): added - * proto.h (follow_map_menu): add a_img arg - * proto.h (getMapXY): added - * proto.h (newMapArea): added - * proto.h (touch_cursor): added - * proto.h (cURLcode): added - * proto.h (initImage): added - * proto.h (termImage): added - * proto.h (addImage): added - * proto.h (drawImage): added - * proto.h (clearImage): added - * anchor.c (addMultirowsImg): added - * buffer.c (discardBuffer): deleteImage if USE_IMAGE - * buffer.c (reshapeBuffer): buf->need_reshape check - * display.c (fmTerm): if activeImage, stop load image - * display.c (fmInit): if displayImage, initImage - * display.c (image_touch): added - * display.c (draw_image_flag): added - * display.c (redrawLineImage): added - * display.c (displayBuffer): buf->need_reshape = TRUE - mode == B_REDRAW_IMAGE - image flag checks - force redraw image in mode == B_REDRAW_IMAGE - displayBuffer if need reshape - drawImage - * display.c (redrawNLine): redrawLineImage - * display.c (redrawLineImage): added - * display.c (disp_message_nsec): return immediately if QuietMessage - * etc.c (reset_signals): ignore SIGUSR1 - * file.c (frame_source): added - * file.c (_MoveFile): added - * file.c (cur_baseURL): added - * file.c (cur_document_code): added - * file.c (cur_iseq): added - * file.c (loadGeneralFile): fix fmInitialized and prevtrap checks - save cur_baseURL - image_source load - loadImageBuffer for "image/*" - frame_source flag - fix b->type when proc is loadImageBuffer - * file.c (process_img): add width arg - parse height and width attr, align - fix for inline-image - * file.c (process_input): fix for form <input type="image"> - * file.c (HTMLtagproc1): pass h_env->limit to process_img() - fix <img_alt> for inline-image - save cur_baseURL - * file.c (HTMLlineproc2body): fix <img_alt> for inline-image - * file.c (loadHTMLstream): fix for inline-image - fix fmInitialized and prevtrap checks - save cur_document_code - save image_flag - * file.c (loadGopherDir): save cur_document_code - fix fmInitialized and prevtrap checks - * file.c (loadImageBuffer): added for inline-image - * file.c (save2tmp): fix fmInitialized and prevtrap checks - * frame.c (frame_download_source): set RG_FRAME_SRC flag - image check - * funcname.tab (DISPLAY_IMAGE): added - * funcname.tab (STOP_IMAGE): added - * html.c (ALST_IMG): add align, ismap - * html.c (ALST_AREA): add shape, coords - * html.c (ALST_IMG_ALT): add width, height, usemap, ismap, hseq, - xoffset, yoffset, top_margin, bottom_margin - * html.c (AttrMap): add shape, coords, ismap, xoffset, yoffset - * html.h (ATTR_SHAPE): added - * html.h (ATTR_COORDS): added - * html.h (ATTR_ISMAP): added - * html.h (ATTR_XOFFSET): added - * html.h (ATTR_YOFFSET): added - * html.h (ATTR_TOP_MARGIN): added - * html.h (ATTR_BOTTOM_MARGIN): added - * html.h (SHAPE_UNKNOWN): added - * html.h (SHAPE_DEFAULT): added - * html.h (SHAPE_RECT): added - * html.h (SHAPE_CIRCLE): added - * html.h (SHAPE_POLY): added - * image.c: added - * main.c (fversion): add USE_IMAGE - * main.c (fusage): -ppl option - * main.c (MAIN): set_pixel_per_char if ppc specified - -ppl option - loadImage - * main.c (pushBuffer): deleteImage - * main.c (quitfm): termImage - * main.c (selBuf): deleteImage - * main.c (followA): fix for inline-image and map area - * main.c (query_from_followform): getMapXY() - * main.c (setOpt): displayBuffer B_REDRAW_IMAGE - * main.c (follow_map): fix calculate x, y - * main.c (dispI): added - * main.c (stopI): added - * map.c: include <math.h> - * map.c (inMapArea): added - * map.c (follow_map_menu): add a_img arg to handle inline-image - * map.c (follow_map_panel): use MapArea - * map.c (getMapXY): added - * map.c (newMapArea): added - * menu.c (smChBuf): deleteImage - * parsetagx.c (toAlign): align top, bottom, middle - * rc.c (P_SCALE): added - * rc.c (CMT_PIXEL_PER_LINE): added - * rc.c (CMT_DISP_IMAGE): added - * rc.c (CMT_AUTO_IMAGE): added - * rc.c (CMT_EXT_IMAGE_VIEWER): added - * rc.c (CMT_IMAGE_SCALE): added - * rc.c (CMT_IMGDISPLAY): added - * rc.c (CMT_IMGSIZE): added - * rc.c (show_param): P_PIXELS - * rc.c (set_param): P_PIXELS - * rc.c (sync_with_option): initImage - * rc.c (to_str): P_PIXELS - * table.c (feed_table_tag): fix <img> for inline-image - * tagtable.tab (image): added - * terms.c (wgetch): retry read when EINTR or EAGAIN - * terms.c (touch_cursor): added - * w3mimgdisplay.c: added - * w3mimgsize.c: added - * doc/README.func (DISPLAY_IMAGE): added - * doc/README.func (STOP_IMAGE): added - * doc/README.img: added - * doc-jp/README.func (DISPLAY_IMAGE): added - * doc-jp/README.func (STOP_IMAGE): added - * doc-jp/README.img: added - * scripts/w3mhelp.cgi.in: show dispI, stopI - * scripts/multipart/multipart.cgi.in: inline image support - -2002-02-01 Fumitoshi UKAI <ukai@debian.or.jp> - - * version.c.in: 0.2.5+cvs - -2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * w3m 0.2.5 - * version.c.in: update - * doc/README: version 0.2.5, release date - * doc-jp/README: ditto - * NEWS: update - -2002-01-31 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02960] inflate without memmove() - * inflate.c: rewrite without memmove() - -2002-01-31 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * inflate.c: support raw deflate without zlib header - -2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02955] compression_decoders error message - * file.c (uncompress_stream): redirect stderr - * inflate.c (main): print error message - -2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02949] fix for #undef USE_MIGEMO - * main.c (dispincsrch): need #ifdef USE_MIGEMO - -2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02946] toggle migemo - * fm.h (migemo_active): added - * proto.h (inputLineHistSearch): add arg `prop' to incrfunc() - * linein.c (inputLineHistSearch): ditto - * main.c (isrch): ditto - * main.c (dispincsrch): ditto - C-\ toggle migemo - underline when migemo is active - * search.c (migemo_active): deleted - * search.c (migemo_running): added - * search.c (init_migemo): migemo_running - * search.c (migemostr): ditto - * search.c (forwardSearch): migemo_active > 0 - * search.c (backwardSearch): ditto - -2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02942] Digest qop=auth support - * file.c (http_auth): add request to cred() arg - * file.c (AuthBasicCred): ditto - * file.c (AuthDigestCred): ditto - * file.c (AuthDigestCred): support algorithm=MD5, MD5-sess - qop=auth, auth-int - * file.c (qstr_unquote): return NULL if input is NULL - * file.c (none_auth_param): added - * file.c (findAuthentication): skip weak or unknown auth - * file.c (getAuthCookie): add request to arg - * file.c (loadGeneralFile): add request to getAuthCookie() - -2002-01-31 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02934] add auth cookie with unquoted realm - * file.c (loadGeneralFile): need unquote realm - -2002-01-31 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02933] segmentation fault when w3m -dump https: - * file.c (readHeader): use inputAnswer() - * file.c (getAuthCookie): remove term_cbreak() - * file.c (checkOverWrite): use inputAnswer() - * file.c (inputAnswer): added - * istream.c (ssl_get_certificate): use inputAnswer() - * main.c (qquitfm): change prompt - * proto.h (inputAnswer): added - -2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02931] use POST in multipart.cgi - * scripts/multipart/multipart.cgi.in: support POST method - -2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02930] Re: fixed w3mmail.cgi - * scripts/w3mmail.cgi.in (lang_header_default): [=_?] should be encoded - * scripts/w3mmail.cgi.in (lang_body_default): '=' should be encoded - -2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02929] Re: fixed w3mmail.cgi - * file.c (openPagerBuffer): use content_charset as document_code - * file.c (getNextPage): code is document_code or DocumentCode - -2002-01-30 Fumitoshi UKAI <ukai@debian.or.jp> + * terms.c: Fix paren in check_cygwin_console() + Bug: https://sourceforge.net/p/w3m/patches/66/ - * [w3m-dev 02928] RFC2617: HTTP Digest authentication - * NEWS: RFC2617: HTTP Digest authentication - * config.h.dist (USE_DIGEST_AUTH): added - * configure (use_digest_auth): added, enabled when openssl found - (because it used openssl/md5.h) - * file.c (auth_param): added - * file.c (http_auth): added - * file.c (extract_auth_val): added - * file.c (qstr_unquote): added - * file.c (extract_auth_param): added - * file.c (get_auth_param): added - * file.c (AuthBasicCred): added - * file.c (digest_hex): added - * file.c (AuthDigestCred): added - * file.c (basic_auth_param): added - * file.c (digest_auth_param): added - * file.c (www_auth): added - * file.c (findAuthentication): added - * file.c (getAuthCookie): rewrite, use http_auth - * file.c (loadGeneralFile): HRequest hr - * file.c (loadGeneralFile): use findAuthentication, new getAuthCookie - * proto.h (HTTPrequestMethod): added - * proto.h (HTTPrequestURI): added - * proto.h (openURL): add `hr' arg - * url.c (HTTPrequestMethod): added - * url.c (HTTPrequestURI): added - * url.c (HTTPrequest): use HTTPrequestMethod and HTTPrequestURI - * url.c (openURL): add `hr' arg - -2002-01-30 SASAKI Takeshi <sasaki@ct.sakura.ne.jp> - - * [w3m-dev 02927] mailto: POST method with w3mmail.cgi - * file.c (loadGeneralFile): pass request even if SCM_UNKNOWN - (for external URI loader) - * scripts/w3mmail.cgi.in: support POST method - -2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02926] fixed w3mmail.cgi - * scripts/w3mmail.cgi.in: dont MIME encode for preview - * scripts/w3mmail.cgi.in (lang_body): add 7bit/8bit flag arg - * scripts/w3mmail.cgi.in: fix hidden from value - * scripts/w3mmail.cgi.in (lang_setup): check $LC_ALL, $LC_CTYPE - * scripts/w3mmail.cgi.in (lang_header_default): fix MIME encode word - -2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02920] don't use inttypes.h and/or stdint.h - * mktable.c: remove inttypes.h, uintptr_t, use unsigned long instead - * configure: remove inttypes.h detection - * config.h.dist: remove HAVE_INTTYPES_H - -2002-01-29 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02921] use inttypes.h instead of stdint.h - * configure: check inttypes.h instead of stdint.h - * config.h.dist: s/STDINT_H/INTTYPES_H/ - * mktable.c: use inttypes.h instead of stdint.h - -2002-01-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02919] no need of width - * scripts/w3mmail.cgi.in: no need width=80 for header field name - -2002-01-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02919] wrong table width calculation - * table.c (set_table_matrix0): refine width calculation - -2002-01-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02918] fixed scripts/w3mmail.cgi.in - * scripts/w3mmail.cgi.in: add width=80 for header field name - * scripts/w3mmail.cgi.in (url_unquote): use pack instead of chr - -2002-01-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02914] - * history.c (copyHist): added - * history.h (copyHist): ditto - * main.c (goURL0): copyHist(URLHist), push current and anchor URLs - default set by DefaultURLString - -2002-01-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02913] wrong table width calculation - * table.c (set_table_matrix0): refine width calculation - -2002-01-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02875] rendering a table with inconsistent colspan,rowspan - * table.c (feed_table_tag): don't clear HTT_X|HTT_Y - instead, if set these flags, break the loop - -2002-01-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02909] wrong table width calculation (sf.net Bug#506949) - * table.c (correct_table_matrix4): added - * table.c (set_table_matrix0): use correct_table_matrix4() - -2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02908] document code of frame - * frame.c (renderFrame): save document_code if JP_CHARSET - -2002-01-25 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02904] - * rc.c (N_STR): use cpp stringification - -2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02902] mouse inactive after calling some command with ALARM. - * main.c (SigAlarm): mouse_inactive() and mouse_active() - -2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02901] Default URL for GOTO* - * fm.h (DEFAULT_URL_*): added - * fm.h (DefaultURLString): added - * main.c (cmd_loadURL): add arg `referer' - * main.c (goURL0): 2nd arg is `relative' flag - check DefaultURLString - if relative, then current and referer is set - * main.c (ldhelp): cmd_loadURL arg changes - * main.c (deletePrevBuf): ditto - * main.c (cmd_loadBuffer): ditto - * main.c (adBmark): ditto - * main.c (follow_map): ditto - * rc.c (CMT_DEFAULT_URL): added - * rc.c (defaulturls): added - * rc.c (params9): add "default_url" +2013-10-13 Tatsuya Kinoshita <tats@debian.org> -2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * version.c.in: Update to 0.5.3+debian-12 - * [w3m-dev 02901] DNS_ORDER_* - * fm.h (DNS_ORDER_*): added - * rc.c (dnsorders): use N_S(DNS_ORDER_*) - -2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02901] ACCEPT_BAD_COOKIE_* - * file.c (readHeader): accept_bad_cookie is one of ACCEPT_BAD_COOKIE_* - * fm.h (PERHAPS): deleted - * fm.h (ACCEPT_BAD_COOKIE_*): added - * rc.c (n_s): added - * rc.c (N_S): added - * rc.c (badcookiestr): use N_S(ACCEPT_BAD_COOKIE_*) - -2002-01-24 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * doc-jp/MANUAL.html, doc-jp/w3m.1, doc/MANUAL.html, doc/w3m.1: + Update document for the -s option change + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=75527 - * [w3m-dev 02896] fid attr value should be in sequence - * table.c (feed_table_tag): s/line/""/ for HTML_FORM,HTML_N_FORM + * terms.c: Do not fail when LANG is not set. + Check whether the value of LC_ALL, LC_CTYPE or LANG is not NULL in + check_cygwin_console(). + Bug: https://sourceforge.net/p/w3m/patches/66/ -2002-01-24 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02894] Re: goURL - * file.c (HTMLtagproc1): s/goURL/gorURL/ - * keybind.c (EscKeymap): M-u = GOTO_RELATIVE - * keybind_lynx.c (EscKeymap): ditto - * doc/keymap.default: ditto - * doc/keymap.lynx: ditto - * doc-jp/keymap.default: ditto - * doc-jp/keymap.lynx: ditto - * main.c (MAIN): add $HTTP_HOME or $WWW_HOME to history - * main.c (MAIN): add history even if it is local file or local cgi - * main.c (goURL0): change args, def_url -> current - * main.c (goURL0): delete ParsedURL *b_url - * main.c (goURL0): add Buffer *cur_buf - * main.c (goURL0): if current is supplied, use its URL as default - * main.c (goURL0): add URL to history if loadURL succeeded - * main.c (goURL): change args for goURL0() - * main.c (gorURL): ditto - -2002-01-23 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02889] fix scripts/multipart/multipart.cgi.in - * scripts/multipart/multipart.cgi.in: return "" instead of next - -2002-01-23 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02885] Re: goURL - * funcname.tab (GOTO_RELATIVE): added - * main.c (goURL0): renamed from goURL - don't add http:// here, if base URL is NULL, cmd_loadURL() - will add http:// when necessary - * main.c (goURL): go to URL with current URL - * main.c (gorURL): go to relative URL - * proto.h (gorURL): added - * doc/README.func (GOTO_RELATIVE): added - * doc-jp/README.func (GOTO_RELATIVE): ditto - -2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev-en 00670] GOTO behavior change - * main.c (goURL): default URL is current URL - if retry_http specified, and inputed URL is not absolute URL - add http:// to top of url - - * linein.c (InputKeymap): C-w as backword-kill-word - -2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02880] URI_PATTERN - * url.c (URI_PATTERN): better match for % hex hex - * url.c (chkExternalURIBuffer): don't use URI_PATTERN as format string - -2002-01-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02879] reset signals - * etc.c (reset_signals): added - * etc.c (mySystem): use reset_signals() - * file.c (uncompress_stream): use reset_signals() - * proto.h (reset_signals): added - * search.c (init_migemo): kill by SIGKILL - * search.c (open_migemo): use reset_signals() - -2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * url.c (URI_PATTERN): remove \ - -2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02878] fix regexp [-...], [...-], []...] - * regexp.c (newRegex0): if first char is `-' or ']' after '[', - it isn't meta char. - if last char in [..] is `-', it isn't meta char. - -2002-01-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02877] some fixes for urimethodmap - * config.h.dist (RC_DIR): remove tailing / - * configure (mailer): if use_w3mmailer = y, don't ask mailer - * configure (RC_DIR): remove tailing / - * fm.h (Mailer): ifndef USE_W3MMAILER - * main.c (MAIN): ifndef USE_W3MMAILER getenv("MAILER") - * rc.c ("mailer"): ifndef USE_W3MMAILER - * regex.c (newRegex0): \ escape kanji chars - * url.c (searchURIMethods): need escape for - - * scripts/w3mmail.cgi.in: move $url, $qurl - * scripts/w3mmail.cgi.in: url_unquote $to - -2002-01-21 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02876] w3mmail.cgi.in backport from w3mmee - * action='file://$0' - * don't add \n to $body's tail - * $body =~ s/\r+\n/\n/g; - * s/@cmd/@opt/ - * url_unquote: + should be unquote too - -2002-01-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02873] delete "decode MIME-body" in doc{,-jp}/README - * doc-jp/README: delete "decode MIME-body" - * doc/README: ditto - -2002-01-18 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> - - * [w3m-dev 02872] EWS4800 sh doesn't work ${param-word} - * configure (use_migemo): change migemo URL - * configure (def_migemo_command): fix for EWS4800 - * configure (def_image_viewer): ditto - * configure (def_audio_player): ditto - -2002-01-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02871] ignore SIGCHLD (for at least EWS4800) - * search.c (open_migemo): signal(SIGCHLD, SIG_IGN); - -2002-01-18 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02870] don't kill migemo by SIGINT - * main.c (w3m_exit): init_migemo() to kill migemo - * search.c: #include <unistd.h> - * search.c (migemo_active): added - * search.c (migemo_pid): added - * search.c (init_migemo): migemo_active = use_migemo - * search.c (init_migemo): kill migemo_pid - * search.c (open_migemo): s/pid/migemo_pid/ - * search.c (open_migemo): setpgrp() - * search.c (open_migemo): s/use_migemo/migemo_active/ - * search.c (migemostr): ditto - * search.c (forwardSearch): ditto - * search.c (backwardSearch): ditto - -2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02867] mark URL for external URIs - * main.c (chkURLBuffer): chkExternalURIBuffer() - * proto.h (chkExternalURIBuffer): added - * url.c (chkExternalURIBuffer): added - -2002-01-17 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02866] - * search.c: #include <signal.h> - * search.c (open_migemo): ignore SIG_INT for migemo process - * search.c (open_migemo): close_tty() - * search.c (open_migemo): use execl() instead of system() - -2002-01-17 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02865] - * search.c (open_migemo): add flush_tty() - -2002-01-17 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02864] def_migemo_command - * configure (def_migemo_command): default is - migemo -t egrep /usr/local/share/migemo/migemo-dict - -2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02863] discard migemo error message - * search.c (open_migemo): close stderr - -2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02862] SIGPIPE for migemo support - * main.c (SigPipe): added - * main.c (MAIN): signal(SIGPIPE, ) - * search.c: #include <errno.h> - * search.c (migemostr): check fflush() error - * search.c (migemostr): check result string (empty is err) - * search.c (migemostr): if error occured, disable use_migemo - -2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02861] IPv6 configuration check - * configure: force "#define INET6" if socket(AF_INET6, SOCK_STREAM, 0) - failed but use_ipv6=y in config.param - -2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02859] - * config.h.dist (DEF_MIGEMO_COMMAND): added - * configure (DEF_MIGEMO_COMMAND): added - * fm.h (migemo_command): initial value is DEF_MIGEMO_COMMAND - * main.c (migemostr): remove here, move search.c - * main.c (srchcore): dont migemostr() here - * proto.h (init_migemo): added - * rc.c (sync_with_option): init_migemo() - * search.c (init_migemo): added - * search.c (open_migemo): added - * search.c (migemostr): communicate background migemo - * search.c (forwardSearch): if regexCompile for migemostr failed, - try original str - * search.c (backwardSearch): ditto - -2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02855] - * main.c (dispincsrch): for C-s C-s, revert some changes - -2002-01-17 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02854] highlight for incremental search - * NEWS: highlight for incremental search - * display.c (EFFECT_MARK_START): added - * display.c (EFFECT_MARK_END): added - * display.c (EFFECT_MARK_START_C): added - * display.c (EFFECT_MARK_END_C): added - * display.c (EFFECT_MARK_START_M): added - * display.c (EFFECT_MARK_END_M): added - * display.c: define_effect for MARK_{START,END} - * display.c (mark_mode): added - * display.c (redrawLine): if mark_mode - * display.c (do_effects): do_effect2(PE_MARK, ...) - * display.c (do_effects): do_effect1(PE_MARK, ...) - * fm.h (P_EFFECT): changed to 0x01ff - * fm.h (PE_MARK): moved - * fm.h (mark_color): added - * linein.c (inputLineHistSearch): incrfunc(int ch, Str str) - * main.c (clear_mark): added - * main.c (dispincsrch): remove arg `x', `y' - * main.c (dispincsrch): move SAVE_BUFPOSITION() - * main.c (srch): if (result & SR_FOUND) clear_mark() - * main.c (cmd_mark): PE_MARK - * main.c (nextMk): s/PM_MARK/PE_MARK/ - * main.c (prevMk): s/PM_MARK/PE_MARK/ - * proto.h (inputLineHistSearch): change prototype incfunc() - * rc.c (CMT_MARK_COLOR): added - * rc.c (params2): add "mark_color" - * search.c (set_mark): added - * search.c (forwardSearch): use set_mark() - * search.c (backwardSearch): use set_mark() - -2002-01-16 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02851] - * regex.c (newRegex0): fix return NULL; - -2002-01-16 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> - - * [w3m-dev 02847] - * menu.c (initSelectMenu): use /* */ instead of // - -2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02846] - * regex.c (newRegex0): check msg - -2002-01-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02845] - * regex.c (newRegex0): check regex->storage[STORAGE_MAX] - -2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02843] w3mmail.cgi.in update - * scripts/w3mmail.cgi.in: add $SENDMAIL_OPT - change html - -2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02841] migemo patch - * NEWS: migemo support - * config.h.dist (USE_MIGEMO): added - * configure: add use_migemo - * fm.h (use_migemo): added - * fm.h (migemo_command: added - * main.c (fversion): add "migemo" - * main.c (migemostr): added - * main.c (srchcore): if use_migemo, use migemostr - * rc.c (CMT_USE_MIGEMO): added - * rc.c (CMT_MIGEMO_COMMAND): added - * rc.c (params3): add use_migemo, migemo_command - -2002-01-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * main.c (fversion): add "external-uri-loader,w3mmailer" - -2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02840] - * scripts/w3mmail.cgi.in: use LOCAL_COOKIE - * scripts/w3mmail.cgi.in: no need HTTP response header - * scripts/w3mmail.cgi.in: fix typo $nkf_NKF - * scripts/w3mmail.cgi.in: eval { use NKF; } is perl5ism - * scripts/multipart/multipart.cgi.in: ditto - -2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02835] - * rc.c: move label_topline, nextpage_topline from param3 to param1 - param7 is SSL Setting - -2002-01-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02834] mailto: use external program - * NEWS: use w3mmail.cgi for mailto: URL - * configure: add use_w3mmailer - * frame.c (createFrameFile): ifndef USE_W3MMAILER - * main.c (followA): ifndef USE_W3MMAILER - * main.c (cmd_loadURL): ifndef USE_W3MMAILER - * url.c (schemetable): ifndef USE_W3MMAILER, mailto: become SCM_UNKNOWN - * url.c (parseURL2): ifndef USE_W3MMAILER - * url.c (_parsedURL2Str): ifndef USE_W3MMAILER - * url.c (default_urimethods): added - * url.c (searchURIMethods): check default_urimethods - * scripts/Makefile: add w3mmail.cgi - * scritps/w3mmail.cgi.in: added - * scripts/.cvsignore: ignore w3mmail.cgi - -2002-01-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * file.c (loadGeneralFile): return NULL, not NO_BUFFER - -2002-01-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02833] ssl_forbid_method in SSL Setting - * rc.c (params7): ssl_forbid_method moved here - * rc.c (params8): ssl_forbid_method removed here - * rc.c (sections): params7 ifdef USE_SSL - -2002-01-15 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02832] external URI loader support - * NEWS: support external URI loader - * config.h.dist (USE_EXTERNAL_URI_LOADER): added - * config.h.dist (USER_URIMETHODMAP): added - * config.h.dist (SYS_URIMETHODMAP): added - * configure: ask use_external_uri_loader - * file.c (loadGeneralFile): return NO_BUFFER, not NULL - * file.c (loadGeneralFile): add SCM_UNKNOWN for USE_EXTERNAL_URI_LOADER - * fm.h (urimethodmap_files): added - * menu.c (initSelectMenu): SCM_UNKNOWN comment out - * proto.h (initURIMethods): added - * proto.h (searchURIMethods): added - * rc.c (CMT_URIMETHODMAP): added - * rc.c (params6): add urimethodmap - * rc.c (sync_with_option): add initURIMethods() - * url.c (parseURL): if SCM_UNKNOWN, url is saved in pu->file - * url.c (_parsedURL2Str): if SCM_UNKNOWN, url is in pu->file - * url.c (urimethods): added - * url.c (loadURIMethods): added - * url.c (initURIMethods): added - * url.c (searchURIMethods): added - -2002-01-13 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02828] - * url.c (_parsedURL2Str): add '/' at the end when scheme is SCM_FTPDIR - -2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02829] - * file.c (loadGeneralFile): return NO_BUFFER - * file.c (loadGeneralFile): if ssl_get_certificate() fails, - no buffer created - * istream.c (ssl_certificate_validity): deleted - * istream.c (ssl_set_certificate_validity): ditto - * istream.c (accept_this_site): added - * istream.c (ssl_accept_this_site): ditto - * istream.c (ssl_check_cert_ident): 1st arg is `X509 *' - * istream.c (ssl_get_certificate): 2nd arg is `char *hostname' - cert check code moved here from openSSLHandle() - * url.c (free_ssl_ctx): accept_this_site initialized - * url.c (openSSLHandle): remove cert check code here - -2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02827] - * scripts/Makefile: use sed instead of /bin/sh while read; echo loop - -2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02823] - * scripts/Makefile: don't use read -r - because Solaris 8 for x86 doesn't work - -2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02822] Print FTP directory list for -dump_extra option - * file.c (loadGeneralFile): remove FTPDIRtmp, use readFTPDir() instead - save to buf->sourcefile for -dump_extra - * ftp.c (FTPDIRtmp): deleted - * ftp.c (openFTP): delete readFTPDir() part - * ftp.c (readFTPDir): added - * proto.h (readFTPDir): added - -2002-01-11 Akinori Ito <aito@fw.ipsj.or.jp> - - * [w3m-dev 02819] - * regex.c (RegexMatch): loop condition changed (from < to <= ) - * regex.c (regmatch_iter): end condition changed (from >= to >) - * search.c (forwardSearch): next search fix - -2002-01-11 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02818] - * regex.c (regmatch_iter): return 0 if out of range - -2002-01-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02817] - * menu.c (menuBackwardSearch): new regexMatch() - -2002-01-11 aito@fw.ipsj.or.jp - - * [w3m-dev 02815] - * cookie.c (domain_match): use new regex - * main.c (chkURLBuffer): use new regex - * main.c (chkNMIDBuffer): use new regex - * menu.c (menuForwardSearch): new regexMatch() - * regex.c (RegexMatch): negative length means whole string - * regex.c (RegexMatch): new regmatch() - * regex.c (regmatch_sub_anytime): add 5th arg `char *' - * regex.c (regmatch_iter): add 4th arg `char *' - * regex.c (regmatch): add 3rd arg `char *' - * url.c (openSocket): use new regex - -2002-01-10 aito@fw.ipsj.or.jp - - * [w3m-dev 02811] new regexp implementation - * regex.h: remove defines - * regex.h: struct regexchar, struct regex - * regex.c: include stdio.h, stdlib.h, string.h, config.h - * regex.c: remove include fm.h - * regex.c (NULL JP_CHARSET IS_ALPHA IS_KANJI1): define unless defined - * regex.c (RE_*) define - * regex.c (st_ptr): deleted - * regex.c (regmatch): remove 4th arg `int' - * regex.c (newRegex0): rewrite, based on old newRegex - * regex.c (newRegex): use newRegex0() - * regex.c (RegexMatch): rewrite - * regex.c (struct MatchingContext1): added - * regex.c (struct MatchingContext2): added - * regex.c (YIELD): added - * regex.c (regmatch_sub_anytime): added - * regex.c (regmatch_iter): added - * regex.c (regmatch): use regmatch_iter() - * regex.c (regmatch1): rewrite - * regex.c (lc2c): add 2nd arg `len', rewrite - -2002-01-10 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> - - * [w3m-dev 02810] - * scripts/Makefile: read -r - * scripts/w3mhelp.cgi.in: fix bugs displaying "C-" only in some case - -2002-01-08 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02794] - * url.c (parseURL): cleanup - * url.c (parseURL2): file_unquote(pu->file) - -2002-01-07 Fumitoshi UKAI <ukai@debian.or.jp> - - * version.c.in: 0.2.4+cvs - -2002-01-07 Fumitoshi UKAI <ukai@debian.or.jp> - - * w3m 0.2.4 - * version.c.in: update - * doc/README: version 0.2.4, release date - * doc-jp/README: ditto - * NEWS: update - -2002-01-06 Fumitoshi UKAI <ukai@debian.or.jp> +2013-10-12 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 02781] Re: Bug#127883: w3m tries to use xv as default - * config.h.dist (DEF_IMAGE_VIEWER): added - * config.h.dist (DEF_AUDIO_PLAYER): added - * configure (def_image_viewer): added - * configure (def_audio_player): added - * configure (DEF_IMAGE_VIEWER): added - * configure (DEF_AUDIO_PLAYER): added - * mailcap.c (DefaultMailcap): use DEF_IMAGE_VIEWER, DEF_AUDIO_PLAYER - -2002-01-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02779] `;' is valid in URL - * main.c (chkURLBuffer): add ; - -2001-12-28 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02772] - * istream.c (ssl_get_certificate): show certificate subject and issuer - * istream.c (ssl_check_cert_ident): add missing NULL for Strcat_m_charp - * url.c (openSSLHandle): close(sock) and SSL_free(handle) on failure - -2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02770] form element outside <form>..</form> - * main.c (_followForm): check whether parent action is "none" - * form.c (internal_action): add "none" - * form.c (do_internal): check internal_action[i].rout - * file.c (process_input): check cur_form_id - * file.c (process_select): ditto - * file.c (process_textarea): ditto - -2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02769] <form>..</form> as block element - * file.c (HTMLtagproc1): CLOSE_P for <form>...</form> - * table.c (feed_table_tag): add feed_table_block_tag for <form></form> - -2001-12-28 Hironori Sakamoto <h-saka@lsi.nec.co.jp> - - * [w3m-dev 02765] backend - * backend.c (internal_get): cleanups - * file.c (flushline): remove w3m_backend checks - * file.c (loadHTMLstream): add w3m_backend check - * fm.h (backend_halfdump_str): deleted - * fm.h (backend_halfdump_buf): added - -2001-12-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02761] - * file.c (loadcmdout): remove unnecessary buf check - -2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02760] - * file.c (getshell): check buf == NULL - * main.c (execdict): check buf == NULL - buf->type == NULL, then buf->type is set as "text/plain" - -2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02759] fold textarea - * fm.h (FoldTextarea): added - * form.c (formUpdateBuffer): check FoldTextarea - * rc.c (CMT_FOLD_TEXTAREA): added - * rc.c (params1): add "fold_textarea" - -2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02757] - * main.c (execdict): w = conv_from_system(word) - * main.c (dictword): call execdict() only - -2001-12-27 Fumitoshi UKAI <ukai@debian.or.jp> - - * url.c (openSSLHandle): accept_this_file is out of - #ifdef USE_SSL_VERIFY - -2001-12-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02753] - * url (ssl_verify_error_string): deleted - * url.c (openSSLHandle): use X509_verify_cert_error_string() - -2001-12-27 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02750] RFC2818 server identity check - * istream.c (ssl_certificate_validity): added - * istream.c (ssl_set_certificate_validity): added - * istream.c (ssl_get_certificate): use ssl_certificate_validity - * istream.h (ssl_set_certificate_validity): added - * url.c (ssl_verity_error_string): added - * url.c (openSSLHandle): add accept_this_site - * url.c (openSSLHandle): dont check by SSL_VERIFY_PEER, - use SSL_get_verify_result() instead - * url.c (openSSLHandle): check peer_certificate() and then - SSL_get_verify_result() - -2001-12-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02749] cleanup code for editor,mailer,extbrowser - * etc.c (myExtCommand): added - * etc.c (myEditor): added - * form.c (input_textarea): use myEditor() - * main.c (pipeBuf): use myExtCommand() - * main.c (editBf): use myEditor() - * main.c (editScr): use myEditor() - * main.c (followA): use myExtCommand() - * main.c (cmd_loadURL): use myExtCommand() - * main.c (invoke_browser): use myExtCommand() - * main.c (execdict): use myExtCommand() - * proto.h (myExtCommand): added - * proto.h (myEditor): added - -2001-12-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02748] cleanup code for restoring cursor position - * buffer.c (reshapeBuffer): delete top, linenum, cursorY, pos, - currentColumn, formitem - * buffer.c (reshapeBuffer): add sbuf and - use copyBuffer(), restorePosition() - * buffer.c (reshapeBuffer): use chkURLBuffer(), chkNMIDBuffer() - * display.c (in_check_url): deleted - * display.c (displayBuffer): ditto - * display.c (displayBuffer): s/Currentbuf/buf/ - * display.c (arrangeLine): ditto - * display.c (restorePosition): added - * fm.h (TOP_LINENUMBER): added - * fm.h (CUR_LINENUMBER): added - * main.c (editBf): delete type, top, linenum, cursorY, pos, - currentColumn - * main.c (editBf): add sbuf and use copyBuffer(), restorePosition() - * main.c (reload): delete type, top, linenum, cursorY, pos, - currentColumn - * main.c (reload): add sbuf and use copyBuffer(), restorePosition() - * main.c (chkURLBuffer): added - * main.c (chkURL): chkRULBuffer on Currentbuf - * main.c (chkNMIDBuffer): added - * main.c (chkNMID): chkNMIDBuffer on Currentbuf - * proto.h (chkURLBuffer): added - * proto.h (chkNMIDBuffer): added - * proto.h (restorePosition): added - -2001-12-27 "OMAE, jun" <jun-o@dai.meta.ne.jp> - - * [w3m-dev 02735] - * indep.c (bcopy): need (chat *) cast - * indep.c (bzero): use char * instead of void * - -2001-12-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02745] - * istream.h: #include <x509v3.h> deleted - * istream.c: #include <x509v3.h> - * istream.c (ssl_check_cert_ident): if subjectAltName dNSName found, - don't try commonName - -2001-12-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02743] RFC2818 server identity check - * NEWS: RFC2818 server identity check - * istream.c (ssl_check_cert_ident): added - * istream.h (ssl_check_cert_ident): ditto - * istream.h: #include <x509v3.h> - * url.c (free_ssl_ctx): ssl_ctx = NULL - * url.c (openSSLHandle): arg hostname to check cert id - * url.c (openSSLHandle): check SSL_get_verify_result - if ssl_verify_server - * url.c (openSSLHandle): check server identity by ssl_check_cert_ident - * url.c (openURL): openSSLHandle with pu->host - -2001-12-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02715] bugfix in scripts/multipart/multipart.cgi.in - was not applied - * scripts/multipart/multipart.cgi: fix "use NKF" check - -2001-12-26 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02732] fix Debian Bug#126381 - - Passwords entered for HTTPS are used for HTTP - * etc.c (find_auth): add port arg - * etc.c (find_auth_cookie): add port arg - * etc.c (add_auth_cookie): add port arg - * file.c (getAuthCookie): find_auth_cookie(host, port, realm) - * file.c (loadGeneralFile): add_auth_cookie(host, port, realm, ss) - * fm.h (struct auth_cookie): add port - * ftp.c (openFTP): find_auth_cookie(host, port, user) - * ftp.c (openFTP): add_auth_cookie(host, port, user, pwd) - * proto.h (find_auth_cookie): add port - * proto.h (add_auth_cookie): add port - -2001-12-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02729] - * doc-jp/README.func (DOWNLOAD): update - * doc-jp/README.func (EDIT): ditto - * doc-jp/README.func (EDIT_SCREEN): ditto - * doc-jp/README.func (SAVE): ditto - * doc/README.func (DOWNLOAD): ditto - * doc/README.func (SAVE): ditto - * doc/README.func (SUBMIT): ditto - * scripts/w3mhelp.cgi.in: $key is normalized by &norm_key - * scripts/w3mhelp.cgi.in: keyfunc update - * scripts/w3mhelp.cgi.in (load_keymap): check data, &norm_key - * scripts/w3mhelp.cgi.in (norm_key): added - -2001-12-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * [#496613] LASTLINE in terms.c - by Kazuhiro NISHIYAMA (znz) - * terms.c (LASTLINE): defined(__CYGWIN__) instead of defined(CYGWIN) - * terms.c (setlinescols): ditto - -2001-12-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * [#496610] #include <sys/wait.h> - by Kazuhiro NISHIYAMA (znz) - * main.c: #if defined(HAVE_WAITPID) || defined(HAVE_WAIT3) - * etc.c: ditto - * file.c: ditto - -2001-12-26 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> - - * [w3m-dev 02725] bcopy, bzero - * etc.c (bcopy): deleted - * etc.c (bzero): deleted - * indep.c (bcopy): added - * indep.c (bzero): added - * indep.c (bcopy): src should be const - * fm.h (bcopy): ditto - -2001-12-25 Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp> - - * [w3m-dev 02727] - * doc-jp/keymap.default (C-r): ISEARCH_BACK - * doc-jp/keymap.default (C-s): ISEARCH - * doc-jp/README.func: fix typo - -2001-12-25 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02726] incremental search - * NEWS: incremental search - * fm.h (inputLineHist) define by inputLineHistSearch - * fm.h (COPY_BUFPOTISION): added - * fm.h (SAVE_BUFPOSITION): ditto - * fm.h (RESTORE_BUFPOSITION): ditto - * funcname.tab (ISEARCH): added - * funcname.tab (ISEARCH_BACK): added - * keybind.c (GlobalKeymap): C-s = ISEARCH, C-r = ISEARCH_BACK - * linein.c (inputLineHistSearch): renamed from inputLineHist, - new arg incrfunc() for increment search - * linein.c (inputLineHistSearch): add cursorX, cursorY - * main.c (srchcore): remove displayBuffer, onA - * main.c (dispincsrch): added - * main.c (isrch): ditto - * main.c (isrchfor): ditto - * main.c (isrchbak): ditto - * main.c (srch): add displayBuffer, onA - * main.c (srch_nxtprv): ditto - * proto.h (isrchfor): added - * proto.h (isrchbak): ditto - * proto.h (inputLineHistSearch): renamed - * doc/keymap.default (C-r): ISEARCH_BACK - * doc/keymap.default (C-s): ISEARCH - * doc/README.func (ISEARCH): added - * doc/README.func (ISEARCH_BACK): ditto - * doc-jp/README.func (ISEARCH): added - * doc-jp/README.func (ISEARCH_BACK): ditto - -2001-12-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02723] cleanup resizing - * main.c (resized): renamed to need_resize_screen - * main.c (need_resize_screen): added - * main.c (resize_hook): prototype here - * main.c (resize_handler): ditto - * main.c (MAIN): move signal initialization - * main.c (MAIN): remove duplicate signal initialization - * main.c (resize_screen): added - * proto.h (resize_hook): deleted - * terms.c (mouse_init): remove signal - -2001-12-25 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02721] - * main.c (resize_handler): added - * main.c (MAIN): use resize_handler in getch() - -2001-12-25 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> - - * [w3m-dev 02714] - * scripts/w3mhelp.cgi.in: $helpdir should be handled by cygwin_pathconv - when $CYGPATH=1 - -2001-12-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02715] bugfix in scripts/multipart/multipart.cgi.in - * scripts/multipart/multipart.cgi: fix "use NKF" check - -2001-12-25 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02719] (based on [w3m-dev 02708] comments) - * resize_hook: set resized flag only - * main.c (MAIN): in key input loop, process resize - when resized flag is set - -2001-12-24 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02702] fix problem with emacs-w3m in [w3m-dev 02699] - * main.c (MAIN): remove some flag initialization, its too early? - this code caused problem with emacs-w3m. - -2001-12-23 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02700] search refactoring - * based on http://www.nmn.jp/~hidai/software/w3m/ - * fm.h: add SR_* constants, result value for search - * main.c (srchcore): added - * main.c (disp_srchresult): added - * main.c (srch): added - * main.c (srchfor): use srch() - * main.c (srchbak): use srch() - * main.c (srch_nxtprv): use srchcore() & disp_srch_result() - * search.c (forwardSearch): return SR_* result value - * search.c (backwardSearch): ditto - -2001-12-23 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02699] initialization too late - * main.c (MAIN): initializations moved before arg processing - * debian bug closes: Bug##102445: ignores SIGWINCH while downloading - -2001-12-22 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02696] - * configure: fix bashism of w3mhelp-{lynx,w3m}_{en,ja} expansion - -2001-12-22 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> - - * [w3m-dev 02687] version number in w3mhelp-*.html (+[w3m-dev 02689]) - * configure (cur_ver): w3mhelp*.html version subst - * w3mhelp*.html: deleted - * w3mhelp*.html.in: added + * table.h: Bump MAXCOL to 256 + Bug: https://sourceforge.net/p/w3m/feature-requests/24/ -2001-12-22 Tsutomu Okada <okada@furuno.co.jp> +2013-10-12 Laurence Richert <laurencerichert@yahoo.de> - * [w3m-dev 02682] - * doc/README: remove README.dj - * doc-jp/README.hp: deleted + * main.c, proto.h: vim/-perator like handling + - half page scrolling + - jumping to elements numbered by getLinkNumberStr() from Karsten + Schoelzel + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724028 -2001-12-22 Fumitoshi UKAI <ukai@debian.or.jp> +2013-10-12 Tatsuya Kinoshita <tats@debian.org> - * [w3m-dev 02692] w3m on linux/ia64 - * mktable.c: #include "config.h" - * mktable.c: #include "stdint.h" or uintptr_t typedef - * mktable.c: use uintptr_t instead of unsigned int - * configure: check pthread on linux - * configure: add gc_cflags for linux/ia64,alpha,s390 - * configure: check stdint.h - * configure (config.h): add $pthreadlib to GCLIB - * configure (config.h): add $def_have_stdint_h - * config.h.dist (HAVE_STDINT_H): added - * Str.c: add #include <stdlib.h> for exit() on some platform (ia64) + * doc-jp/README, doc/README: + Mention project page rather than unavailable mailing lists -2001-12-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2013-10-09 Rafael Laboissiere <rafael@laboissiere.net> - * [w3m-dev 02690] RC_DIR in scripts - * configure (config.h): add RC_DIR - * config.h.dist: ditto - * XMakefile: pass RC_DIR - * scripts/Makefile: subst RC_DIR - * scripts/dirlist.cgi.in: $RC_DIR initial value - * scripts/w3mhelp.cgi.in: ditto - * scripts/w3mhelp.cgi.in (cygwin_pathconv): added + * doc/README.img: Fix typo + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725892 -2001-12-22 Fumitoshi UKAI <ukai@debian.or.jp> +2013-08-12 Tatsuya Kinoshita <tats@debian.org> - * version.c.in: 0.2.3.2+cvs + * version.c.in: Update to 0.5.3+debian-11+ -2001-12-22 Fumitoshi UKAI <ukai@debian.or.jp> + * ChangeLog: Update ChangeLog to use contributor's name - * w3m 0.2.3.2 - Security fix in w3m/scripts - * version.c.in: update - * w3mhelp-*.html: version 0.2.3.2 - * doc/README: version 0.2.3.2, release date - * doc-jp/README: ditto - * NEWS: added +2013-08-08 Tatsuya Kinoshita <tats@debian.org> -2001-12-22 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-11 - * scripts/w3mhelp.cgi.in: lang=[a-z][a-z] only +2013-08-04 Tatsuya Kinoshita <tats@debian.org> -2001-12-22 Hironori Sakamoto <h-saka@lsi.nec.co.jp> + * Str.c: Check length for Strchop() - * Security hole in multipart.cgi.in, w3mman2html.cgi.in - * scripts/w3mhelp.cgi.in: open(F, "< $var") instead of open(F, $var) - * scripts/w3mhelp.cgi.in: fix eval qq{require ...}; - * scripts/multipart/multipart.cgi.in: ditto - * scripts/w3mman/w3mman2html.cgi.in: validate $keyword, $section, $man + * main.c: Fix potentially segfault of execdict() -2001-12-21 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Update to 0.5.3+debian-10+ - * [w3m-dev-en 00656] - * helpdir default is PREFIX/share/w3m + * file.c: Fix segfault of loadGeneralFile() + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718612 -2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> +2013-08-02 Tatsuya Kinoshita <tats@debian.org> - * version.c.in: 0.2.3.1-cvs + * version.c.in: Update to 0.5.3+debian-10 -2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> +2013-08-02 Piotr P. Karwasz <piotr.p@karwasz.org> - * w3m 0.2.3.1 - * version.c.in: update - * w3mhelp-*.html: version 0.2.3.1 - * doc/README: version 0.2.3.1, release date - * doc-jp/README: ditto + * scripts/w3mman/w3mman2html.cgi.in: + Correct underline processing and more UTF-8 support for w3mman2html.cgi. + Patch from <https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/680202> + on 2010-11-23. -2001-12-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2013-08-01 Hilko Bengen <bengen@debian.org> - * [w3m-dev 02683] - * configure (def_param): fix wrong behavior unless variable initialized - * configure (def_param): fix unnecessary eval - * configure (ask_choice): ditto + * entity.c: Ignore SOFT HYPHEN to prevent drawing hyphens everywhere. + Patch from <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441934> + on 2011-03-01. -2001-12-20 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> +2013-08-01 Tatsuya Kinoshita <tats@debian.org> - * w3mhelp-*.html, doc/README, doc-jp/README: - * fix version number to 0.2.3. + * doc-jp/README, doc/README: Update contact list in README + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696209 -2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> +2013-07-30 Tatsuya Kinoshita <tats@debian.org> - * version.c.in: 0.2.3-cvs + * config.guess, config.sub: + Update config.guess and config.sub to supprot aarch64. + Updated with Debian autotools-dev version 20130515.1. -2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> +2013-07-30 Conrad J.C. Hughes <debbugs@xrad.org> - * w3m 0.2.3 release - * version.c.in: update + * main.c: Sort anchors by sequence number in -dump. + Patch from <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657666> + on 2012-01-27. -2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> +2013-07-30 Tatsuya Kinoshita <tats@debian.org> - * w3m 0.2.3 release condidate 3 - * configure (use_bundled_gclib): added + * version.c.in: Update to 0.5.3+debian-9+ -2001-12-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2013-07-29 Tatsuya Kinoshita <tats@debian.org> - * w3m 0.2.3 release candidate 2 - * [w3m-dev 02678] - * configure: get mygcversion from gc/version.h - * Makefile: update GCLIBTGZ + * version.c.in: Update version to w3m/0.5.3+debian-9 -2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> + * version.c.in: Set CURRENT_VERSION to debian version - * w3m 0.2.3 release candidate 1 - * gc/: sync with w3m-0.2.2-inu-1.1/gc - * Patches/ews4800: deleted - * configure: comment out Patches/ews4800 +2013-07-28 Tatsuya Kinoshita <tats@debian.org> -2001-12-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * file.c: Fix segfault of process_button() - * [w3m-dev 02655] print version and compile options - * configure: change order of questions - * main.c (fversion): added - * main.c (fusage): use fversion() - * main.c (fusage): add -help, -version - * main.c (MAIN): add -help, -version +2013-04-08 AIDA Shinra <shinra@j10n.org> -2001-12-20 Tsutomu Okada <okada@furuno.co.jp> + * file.c: One more patch for siteconf from [w3m-dev 04464] - * [w3m-dev 02672] - * main.c (wrap_GC_warn_proc): msg_ring initial value - * main.c (SigAlarm): not need #ifdef USE_ALARM, already guarded + * anchor.c, config.h.in, display.c, doc-jp/README.siteconf: + * doc/README.siteconf, file.c, fm.h, form.c, frame.c, func.c: + * history.c, indep.c, indep.h, linein.c, main.c, map.c, menu.c: + * po/ja.po, proto.h, rc.c, url.c: Support the siteconf feature. + Patch to support the siteconf feature, from [w3m-dev 04463] + on 2012-06-27. -2001-12-18 Fumitoshi UKAI <ukai@debian.or.jp> +2013-04-08 Hayaki Saito <user@zuse.jp> - * [#493911] too few arguments to function `longjmp' - by Kazuhiro NISHIYAMA (znz) - * configure (LONGJMP): need val argument + * keybind.c, main.c, proto.h, terms.c: + Support SGR 1006 mouse reporting. + cf. [w3m-dev 04466] on 2012-07-15 + Origin: https://gist.github.com/3114255 + Bug: https://sourceforge.net/p/w3m/patches/65/ -2001-12-18 Fumitoshi UKAI <ukai@debian.or.jp> +2012-05-19 Hilko Bengen <bengen@debian.org> - * [#493906] missing #ifdef by Kazuhiro NISHIYAMA (znz) - * main.c (sig_chld): #ifdef SIGCHLD - * main.c (SigAlarm): #ifdef USE_ALARM + * form.c: Assume "text" if an input type is unknown. + Patch from <http://bugs.debian.org/615843> on 2011-03-01. -2001-12-18 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> +2012-05-19 Simon Ruderich <simon@ruderich.org> - * [w3m-dev 02670] - * table.c (maximum_visible_length): use strchr() - * table.c (do_refill): use force==2 mode for flushline() + * Makefile.in: Use $(CPPFLAGS) with $(CPP). + Patch from <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665491> + on 2012-03-24. -2001-12-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2012-05-03 Miroslav Šulc <fordfrog@gentoo.org> - * [w3m-dev 02669] delete cURLcode() - * main.c (cURLcode): deleted - * main.c (loadNormalBuf): no need to use cURLcode() - * main.c (followI): ditto - * main.c (query_from_followform): need conv_form_encoding() + * w3mimg/Makefile.in: Fix parallel make issue. + Patch from Gentoo + <http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/w3m/files/w3m-0.5.3-parallel-make.patch?revision=1.1&view=markup> + <https://bugs.gentoo.org/show_bug.cgi?id=353390> on 2011-02-01. -2001-12-18 Rin Okuyama <okuyama@cna.ne.jp> +2012-05-03 MATSUU Takuto <matsuu@gentoo.org> - * [w3m-dev 02668] install-sh: -e option of sh(1) - * install-sh: add set -e + * main.c: Support Boehm GC 7.2. + Patch from Gentoo + <http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/w3m/files/w3m-0.5.2-gc72.patch?revision=1.1&view=markup> + on 2009-12-13. -2001-12-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> +2012-05-02 Reinhard Tartler <siretart@tauware.de> - * [w3m-dev 02667] - * terms.c (mouse_init): #ifdef SIGWINCH guard - -2001-12-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02666] resizing on xterm with gpm support - * terms.c (mouse_init): check Gpm_Open return value, signal(SIGWINCH) - -2001-12-16 Rin Okuyama <okuyama@cna.ne.jp> - - * [w3m-dev 02664] install-sh -s option - * XMakefile: install-sh -s - * install-sh: support strip option - -2001-12-15 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02663] fix prevA() cause loop - * table.c (do_refill): force flushline - * table.c (feed_table_tag): push line if <a> has no href attr - -2001-12-15 Rin Okuyama <okuyama@cna.ne.jp> - - * [w3m-dev 02659] rc.c (show_srch_str) - * fm.h (show_srch_str): added - * main.c (srch_nxtprv): check show_srch_str - * rc.c (CMT_SHOW_SRCH_STR): added - -2001-12-15 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02657] - * main.c (chkURL): accept URL ending with '=' - -2001-12-15 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02656] - * XMakefile (clean): remove functable.c - * anchor.c (_put_anchor_new): use Strnew_size() and Strcat_charp_n() - * indep.c (getescapechar): use GET_MYCDIGIT - -2001-12-13 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02541] mouse support on cygwin - * linein.c (_esc): ignore ESC M <ch> <ch> <ch> on cygwin - * terms.c (is_xterm): not static on cygwin - * terms.c (ConInV): INPUT_RECORD * -> char * - * terms.c (MouseConToXTerm): deleted - * terms.c (iMouseConXTerm): deleted - * terms.c (expand_win32_console_input_buffer): added - * terms.c (read_win32_console_input): use PeekConsoleInput - and ReadConsole - * terms.c (read_win32_console): use read_win32_console_input() - * terms.c (cmp_tv): added - * terms.c (subtract_tv): added - * terms.c (select_or_poll_win32_console): added - * terms.c (select_win32_console): added - * terms.c (xterm_mouse_term): deleted - * terms.c (mouse_term_info): added - * terms.c (set_tty): modified to use mouse_term_info - * terms.c (sleep_till_anykey): use select_win32_console on cygwin - * terms.c (mouse_init): check is_xterm flag - * terms.c (mouse_end): check is_xterm flag - * terms.h (is_xterm): if cygwin - * terms.h (NEED_XTERM_ON): added - * terms.h (NEED_XTERM_OFF): added - -2001-12-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02651] search keymap using hash - * XMakefile (func.c): depends functable.c funcname1.h - * XMakefile (functable.c): generated from funcname.tab - * functable.awk: added - * fm.h (w3mKeyList): deleted - * func.c (w3mKeyList): ditto - * file.c (readHeader): change getFuncList() - * func.c (w3mNFuncList): deleted - * func.c (functable.c): include - * func.c (initKeymap): no need to count w3mFuncList - * func.c (initKeymap): change getFuncList() - * func.c (initKeymap): put data to keyData hashtable - * func.c (countFuncList): deleted - * func.c (getFuncList): use getHash_si() - * func.c (getKeyData): use getHash_iv() - * func.c (addKeyList): deleted - * func.c (searchKeyList): deleted - * func.h (textlist.h): include - * func.h (hash.h): include - * func.h (KEY_HASH_SIZE): added - * func.h (KeyListItem): deleted - * func.h (KeyList): deleted - * hash.c: s/hist/sv/ - * hash.c: add defhashfunc_i(int, void *, iv) - * hash.h: s/hist/sv/ - * hash.h: defhash(int, void *, iv) - * hash.h (putHash_*): added - * hash.h (getHash_*): added - * hash.h (defhashfunc_i): added - * history.c (pushHashHist): s/hist/sv/ - * history.c (getHashHist): s/hist/sv/ - * history.h (Hist): s/hist/sv/ - * main.c (searchKeyData): item deleted - * main.c (searchKeyData): data added - * main.c (searchKeyData): use getKayData() instead of searchKeyList() - * main.c (setAlarm): w3mNFuncList deleted - * main.c (setAlarm): change getFuncList() - * menu.c (w3mNFuncList): deleted - * menu.c (w3mFuncList): deleted - * menu.c (initMenu): no need to count w3mFuncList - * menu.c (setMenuItem): change getFuncList() - * proto.h (countFuncList): deleted - * proto.h (getFuncList): change args - * proto.h (addKeyList): deleted - * proto.h (searchKeyList): deleted - * proto.h (getKeyData): added - -2001-12-11 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02650] - * file.c (readHeader): Strnew_charp_n() should be used - -2001-12-11 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02647] - * proto.h (arg_is): deleted - * etc.c (arg_is): ditto - * etc.c (searchAnchorArg): ditto - -2001-12-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02648] rewrite strCmp() with strcmp() - * indep.c (strCmp): use strcmp() - -2001-12-11 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02441] A patch against functions *_(un)?quote() - * indep.c (url_unquote_char): use GET_MYCDIGIT, instead of sscanf - * indep.c (url_quote): use xdigit[] instead of sprintf() - * myctype.c (MYCTYPE_DIGITMAP): added - * myctype.h (MYCTYPE_DIGITMAP): ditto - * myctype.h (GET_MYCDIGIT): added - -2001-12-11 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02647] - * proto.h (getAnchor): deleted - * etc.c (getAnchor): deleted - -2001-12-09 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02646] Some code cleanups - * configure: use host libgc instead of gc/gc.a on Linux and/or AIX - if possible - * etc.c (get_cmd): deleted, merged into gethtmlcmd() - * etc.c (gethtmlcmd): merge get_cmd() code - * file.c (uncompressed_file_type): initialize slen - * file.c (passthrough): status deleted - * file.c (HTMLlineproc0): istr deleted, gethtmlcmd() argument fix - * fm.h (_GNU_SOURCE): ifndef _GNU_SOURCE - * proto.h (gethtmlcmd): fix prototypes - * terms.c: include <sys/ioctl.h> always - -2001-12-09 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02645] - * configure: fix to prevent rcsid expansion - -2001-12-08 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02641] - * configure: generate version.c from version.c.in - * version.c.in: added - * version.c: deleted, autogenerated from version.c.in - * .cvsignore (version.c): added - -2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02642] - * linein.c (next_dcompl): fix ifdef EMACS_LIKE_LINEEDIT - -2001-12-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02640] - * linein.c (escape_spaces): rewrite - * linein.c (unescape_spaces): rewrite - -2001-12-07 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02638] completion for ! and/or @ - * linein.c (next_compl): check "\\ ", "\\\t" - * linein.c (escape_spaces): added - * linein.c (unescape_spaces): added - * linein.c (doComplete): use unescape_spaces, escape_spaces - -2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02637] - * url.c (openSocket): hostname volatile -> const - * url.c (openSocket): add hname - * url.c (openSocket): copy hostname to hname to be modified safely - * url.c (otherinfo): revert previous change - -2001-12-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02635] dirlist - * file.c (loadGeneralFile): use pu.file instead of pu.real_file - * scripts/dirlist.cgi.in: modified for perl4 - -2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> - - * [#489463] Host: header is wrong IPv6 literal addr - * url.c (otherinfo): IPv6 address should be quoted with bracket - -2001-12-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + * istream.c, istream.h: + Fix that struct file_handle conflicts with glibc 2.14. + Patch from <https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/935540> + on 2012-02-19. - * [w3m-dev 02629] - * linein.c (next_compl): completion for name including space - -2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02633] - * url.c (parseURL2): filename should be quoted here, because - it will be unquote() soon - -2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> - - * rename install.sh to install-sh - * XMakefile: s/install.sh/install-sh/ - -2001-12-07 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02622] - * tagtable.tab (noframes): added - * tagtable.tab (/noframes): added - * fm.h (RB_NOFRAMES): added - * html.h (HTML_NOFRAMES): added - * html.h (HTML_N_NOFRAMES): added - * html.c (ALST_NOFRAMES): added - * html.c (98 HTML_NOFRAMES): added - * html.c (99 HTML_N_NOFRAMES): added - * file.c (HTMLtagproc1): add HTML_NOFRAMES, HTML_N_NOFRAMES - * file.c (HTMLtagproc1): don't meta refresh if it is in noframes and - auto frame rendering - * main.c (MAIN): use setAlarmEvent() - * main.c (SigAlarm): ditto - * main.c (setAlarm): ditto - * main.c (setAlarmEvent): check if status == AL_UNSET - -2001-12-06 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02619] - * file.c (loadHTMLString): set document type - -2001-12-05 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02618] - * configure: fix typo in --mimetypes - -2001-12-05 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02617] - * scripts/Makefile (HELP_LIBS): added - * scripts/Makefile (all): depends $(HELP_LIBS) - * scripts/Makefile (install): depends $(HELP_LIBS) - * scripts/Makefile (w3mhelp-funcname.pl): split from helplibs - * scripts/Makefile (w3mhelp-funcdesc.pl): split from helplibs, touch - * scripts/Makefile (clean): clean *-stamp - * scripts/.cvsignore: add w3mhelp-funcdesc-stamp - -2001-12-05 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02616] - * buffer.c (gotoLine): use set_delayed_message instead of disp_message - * buffer.c (gotoRealLine): ditto - * display.c (delayed_msg): added - * display.c (displayBuffer): display deleyed_msg if it is set - * display.c (set_delayed_message): added - * proto.h (set_delayed_message): added - -2001-12-05 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02615] - * main.c (goLine): _goLine() called twice when prec_num was set - -2001-12-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02614] - * XMakefile (HELP_ALLFILES): added - * XMakefile (INSTALL_PROGRAM): ditto - * XMakefile (INSTALL_SCRIPT): ditto - * XMakefile (INSTALL_DATA): ditto - * XMakefile (install) use INSTALL_{PROGRAM,DATA} - * XMakefile (install-helpfile): cleanup - * XMakefile (install-scripts): pass MKDIR - * XMakefile (uninstall): cleanup - * XMakefile (clean): cleanup - * scripts/Makefile (MKDIR): added - * scripts/Makefile (INSTALL_DATA): added - * scripts/Makefile (install): mkdir, use INSTALL_DATA - * scripts/Makefile (uninstall): added - * scripts/Makefile (clean): ignore errors - * scripts/multipart/Makefile (MKDIR): added - * scripts/multipart/Makefile (install): mkdir - * scripts/multipart/Makefile (uninstall): added - * scripts/multipart/Makefile (clean): ignore errors - * scripts/multipart/Makefile (dist): cleanup - * scripts/w3mman/Makefile (MKDIR): added - * scripts/w3mman/Makefile (install): mkdir - * scripts/w3mman/Makefile (uninstall): added - * scripts/w3mman/Makefile (clean): ignore errors - * scripts/w3mman/Makefile (dist): cleanup - -2001-12-04 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02611] a improvement of find_cookie() - * cookie.c (make_cookie): domainname is passed as argument - * cookie.c (find_cookie): FQDN(pu->host) done only once - * func.c (getQWord): comment reformat - * local.c (check_local_cgi): ditto - -2001-12-04 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02609] - * proto.h: remove duplicate prototypes - -2001-12-04 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02608] - * local.c (localcgi_get): request == NULL means no ? in URL - * url.c (openURL): ditto - -2001-12-03 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02606] - * XMakefile (install-scripts): run pwd outside for loop - -2001-12-03 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02605] $(PWD) / allocStr() - - * XMakefile (install-scripts): use $$TOPDIR instead of $(PWD) - - * indep.c (allocStr): if len is negative, it will copy string in `s' - * display.c (record_err_message): pass -1 as length to allocStr - * etc.c (lastFileName): ditto - * etc.c (mybasename): ditto - * etc.c (FQDN): ditto - * file.c (push_tag): ditto - * func.c (addKeyList): ditto - * history.c (unshiftHist): ditto - * history.c (pushHist): ditto - * indep.c (cleanupName): ditto - * linein.c (inputLineHist): ditto - * local.c (dirBuffer): ditto - * main.c (gotoLabel): ditto - * main.c (searchKeyData): ditto - * parsetagx.c (parsedtag_set_value): ditto - * terms.c (GETSTR): ditto - * textlist.h (pushText): ditto - * url.c (DefaultFile): ditto - * url.c (parseURL): ditto - * url.c (ALLOC_STR): ditto - * url.c (parseURL2): ditto - * url.c (openURL): ditto - * w3mhelperpanel.c (extractMailcapEntry): ditto - -2001-12-02 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02604] - * configure: kanji_symbols=n if lang=EN - * file.c (HTMLlineproc2body): initialize rule - -2001-12-02 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02603] - * scripts/w3mhelp.cgi.in: modified for perl4 - -2001-12-01 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02601] - * Makefile (install-core): added - * Makefile (install-helpfile): added - * configure (use_help_cgi): default yes if perl found - * configure (config.h): add HELP_CGI - * configure (config.h): add $def_use_help_cgi - * main.c (ldhelp): add USE_HELP_CGI code - * scripts/Makefile: use w3mhelp*.pl.in - * scripts/w3mhelp-funcname.pl.in: added - * scripts/w3mhelp-funcdesc.en.pl.in: added - * scripts/w3mhelp-funcdesc.ja.pl.in: added - * scripts/w3mhelp.cgi.in: use %buf_*, %lineedit_* - * scripts/w3mhelp.cgi.in: use %title - - * [w3m-dev 02660] (based on [w3m-dev 02577] - by Kiyokazu SUTO <suto@ks-and-ks.ne.jp>) - * scripts/.cvsignore: add w3mhelp.cgi w3mhelp-*.pl - * scripts/Makefile (HELP_DIR): added - * scripts/Makefile (LIB_TARGETS): add w3mhelp.cgi - * scripts/Makefile (DOCDIRS): added - * scripts/Makefile (all): add helplibs - * scripts/Makefile (.in): subst HELP_DIR, DOCDIRS - * scripts/Makefile (helplibs): added - * scripts/Makefile (install): s/DISTDIR/DESTDIR/ - * scripts/Makefile (install): install w3mhelp-*.pl - - * scripts/w3mhelp.cgi.in: added - - * XMakefile (INSTALL2): deleted - * XMakefile (install): split - * XMakefile (install-core): added - * XMakefile (install-helpfile): added - * XMakefile (all-scripts): HELP_DIR - * XMakefile (install-scripts): HELP_DIR - - * doc/REAMDE.func: add ALARM, SUSPEND - * doc-jp/README.func: ditto - - * config.h.dist: updated - -2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> - - * url.c (otherinfo): use AcceptLang - * rc.c (sync_with_option): initialize AcceptLang - -2001-11-30 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02599] - * main.c comment reformat - -2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02598] - * url.c (otherinfo): add missing NULL - -2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02597] (based on [w3m-dev 02594] by aito@fw.ipsj.or.jp) - * fm.h (AcceptLang): added - * fm.h (AcceptMedia): added - * rc.c (CMT_ACCEPTENCODING): added - * rc.c (CMT_ACCEPTMEDIA): added - * rc.c (params9): add accept_encoding, accept_media - * rc.c (sync_with_option): initialize AcceptEncoding and AcceptMedia - * url.c (otherinfo): use Strcat_m_charp() - -2001-11-30 aito@fw.ipsj.or.jp - - * [w3m-dev 02594] - * configure: s/dcode/display_code/ - -2001-11-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02596] - * file.c (acceptableEncoding): fix segfault if no decoder found - -2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02595] - * file.c (compression_decoder): add encodings - * file.c (readHeader): use compression_decoder->encodings - -2001-11-30 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02593] - * form.h: comment reformat - * matrix.c: ditto - * menu.c: ditto - * regex.c: ditto - * table.h: ditto - * terms.c: ditto - -2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02592] Accept: and AcceptEncoding: - * url.c (otherinfo): use acceptableEncoding() acceptableMimeTypes() - - * file.c: add compression_decoder - * file.c (check_compress): rewrite by using compression_decoder - * file.c (compress_application_type): ditto - * file.c (uncompressed_file_type): ditto - * file.c (check_command): added - * file.c (acceptableEncoding): added - * proto.h (acceptableEncoding): ditto - * file.c (uncompress_stream): renamed from gunzip_stream - * file.c (uncompress_stream): rewrite by using compression_decoder - * configure: add PATH_SEPARATOR - - * mailcap.c (extractMailcapEntry): static - * mailcap.c (loadMailcap): static - * proto.h (loadMailcap): removed - * mailcap.c (acceptableMimeTypes): added - * proto.h (acceptableMimeTypes): added - - * configure: #define USE_PATH_ENVVAR for __EMX__ - * file.c: GUNZIP_*, BUNZIP2_*, INFLATE_* removed here -> config.h - * file.c (gunzip_stream): s/(GUNZIP|BUNZIP2|INFLATE)_CMD/\1_CMDNAME/ - * configure (config.h): GUNZIP_*, BUNZIP2_*, INFLATE_* moved here - * fm.h (DirBufferCommand): use CGI_EXTENSION - * fm.h (mailcap_list): removed from global -> mailcap.c - * fm.h (UserMailcap): removed from global -> mailcap.c - * mailcap.c: static mailcap_list - * mailcap.c: static UserMailcap - * proto.h (initMimeTypes): moved - * proto.h (get_os2_dft): removed - * rc.c (loadMimeTypes): removed here -> url.c - * rc.c (initMimeTypes): removed here -> url.c - * fm.h (mimetypes_list): removed from global -> url.c - * fm.h (UserMimeTypes): removed from global -> url.c - * url.c: static mimetypes_list - * url.c: static UserMimeTypes - * url.c (loadMimeTypes): moved here - * url.c (initMimeTypes): moved here - -2001-11-30 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02590] - * main.c (_peekURL): peek URL on <input type="image"> - -2001-11-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02589] - * rc.c (params1): remove #ifdef VIEW_UNSEENOBJECTS - -2001-11-29 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02588] - * configure: fix alarm() check - -2001-11-29 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02587] - * file.c (gunzip_stream): s/__CYGWIN__/USE_BINMODE_STREAM/ - - * [w3m-dev 02586] - * configure: typo s/_zdmachdep.c/zmachdep.c/ - - * fix shadow variable - * main.c (HTMLtagproc1): s/refresh/refresh_interval/ - * matrix.c (LUfactor): s/index/indexarray/ - * matrix.c (LUsolve): ditto - * matrix.c (m_inverse): ditto - * matrix.c (LUinverse): ditto - * table.c (bsearch_2short): ditto - * table.c (bsearch_double): ditto - * table.c (dv2sv): ditto - * table.c (check_cell_width): ditto - * table.c (set_integered_width): ditto - * table.c (set_table_width): ditto - * table.c (check_table_height): ditto - * ftp.c: s/ftp/current_ftp/ - * ftp.c (Ftpfclose): ditto - * ftp.c (openFTP): ditto - * ftp.c (closeFTP): ditto - * ftp.c (FtpLogin): save to current_ftp - * ftp.c (openFTP): s/realpath/realpathname/ - * ftp.c (openFTP): remove i - - * ftp.c (ftp_pasv): s/sin/sockaddr/ - - * [w3m-dev 02584] code cleanup - - * linein.c (_esc): fix #ifdef EMACS_LIKE_LINEEDIT - - * fix shadow variables (partially) - * version.c: s/version/w3m_version/ - * configure: ditto - * fm.h: ditto - * local.c (set_environ): ditto - * main.c (fusage): ditto - * main.c (MAIN): ditto - * main.c (dispVer): ditto - * rc.c (load_option_panel): ditto - * url.c (otherinfo): ditto - * file.c (readHeader): s/tmp/tmp2/ - * file.c (loadGeneralFile): s/tmp/cmd/ - * file.c (flushline): s/f/df/ - * file.c (doExternal): s/stat/mc_stat/ - * proto.h: ditto - * mailcap.c (unquote_mailcap_loop): ditto - * mailcap.c (unquote_mailcap): ditto - * main.c (cmd_loadBuffer): s/link/linkid/ - * main.c (sig_chld): s/stat/p_stat/ - * fm.h: remove config_file - * main.c (MAIN): s/config_file/config_filename/ - * rc.c (init_rc): ditto - * proto.h: ditto - * rc.c: add config_file - * menu.c (goem_menu): s/select/mselect/ - * menu.c (draw_menu_item): ditto - * menu.c (select_menu): ditto - * menu.c (goto_menu): ditto - * menu.c (action_menu): ditto - * menu.c (mNext): ditto - * menu.c (mPrev): ditto - * menu.c (mOk): ditto - * menu.c (mSrchF): ditto - * menu.c (mSrchB): ditto - * menu.c (mSrchN): ditto - * menu.c (mSrchP): ditto - * menu.c (process_mMouse): ditto - * menu.c (smDelBuf): ditto - * proto.h: ditto - - * printf format - * display.c (redrawLine): use %*ld instead of %*d - - * require parentheses - * ftp.c (FtpLogin): add paren - - * fix variable might be clobbered by `longjmp' or `vfork' - * file.c (loadGeneralFile): add volatile - * file.c (loadHTMLString): ditto - * file.c (loadBuffer): ditto - * file.c (doExternal): ditto - * frame.c (createFrameFile): ditto - * main.c (srchfor): ditto - * main.c (srchbak): ditto - * main.c (srch_nxtprv): ditto - * url.c (openSocket): ditto - - * fix unused variables - * file.c (readHeader): emssg if USE_COOKIE defined - * file.c (HTMLlineproc2body: remove tmp - * file.c (saveBufferDelNum): remove p - * linein.c (_esc): c2 if JP_CHARSET defined - - * fix uninitialized variables - * Str.c (Sprintf): initialize p - * buffer.c (readBufferCache): initialize prevl - * conv.c (cConvSE): initialize ub - * conv.c (_cConvEE): initialize ub - * conv.c (cConvES): initialize ub - * file.c (loadGeneralFile): initialize proc, t, prevtral, ss, realm - * file.c (HTMLlineproc2body): initialize debug - * file.c (HTMLlineproc0): initialize tbl_mode, tbl_width - * file.c (loadHTMLstream): initialize prevtrap - * file.c (loadHTMLString): initialize prevtrap - * file.c (loadBuffer): initialize prevtrap - * form.c (formUpdateBuffer): initialize col - * ftp.c (openFTP): initialize pwd - * local.c (dirBuffer): initialize nrow - * main.c (gpm_process_mouse): initialize btn - * menu.c (gpm_process_menu_mouse): ditto - * menu.c (initMenu): initialize nmenu, nitem, item - * parsetagx.c (parse_tag): initialize attr_id - * rc.c (show_params): initialize t - * table.c (visible_length): initialize amp_len - * table.c (set_integered_width): initialize x - * table.c (check_table_height): initialize space - * table.c (renderTable): initialize vrulea, vruleb, vrulec - * terms.c (putchars): initialize s - * url.c (openSocket): initialize trap, result - * url.c (openURL): initialize sslh - -2001-11-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02579] - * configure: Use environment variables CC, CFLAGS, LDFLAGS - -2001-11-28 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02574] sysconfdir - * configure: add -bindir=* -libdir=* -helpdir=* -sysconfdir=* - * configure: add ETC_DIR - * indep.c (w3m_etc_dir): added - * indep.h: ditto - * rc.c (init_rc): use etcFile() instead of libFile() - * rc.c (etcFile): added - * proto.h: ditto - -2001-11-28 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02578] - * file.c (process_anchor): support <input type="image"> - * html.c (ALST_INPUT): add ATTR_SRC, ATTR_WIDTH, ATTR_HEIGHT - * html.c (MAXA_INPUT): +3 - - * conv.c (checkShiftCode): fix comments for indent(1) - * main.c (loadLink): ditto - * fm.h: ditto - * file.c (process_anchor); ditto - * file.c (HTMLlineproc2body): ditto - -2001-11-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02576] - * url.c (openURL): remove pu->file = p; which cause segfault - because p is not initialized - -2001-11-28 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02571] MAXPATHLEN - * indep.c (currentdir): #ifdef MAXPATHLEN for GNU Hurd - * configure: ditto - -2001-11-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02572] - * main.c (_peekURL): initialize s when anchor not found - -2001-11-27 aito@fw.ipsj.or.jp - * Error correction on doc-jp/FAQ.html - -2001-11-27 sakane@d4.bsd.nes.nec.co.jp (Yoshinobu Sakane) - * w3m-doc update. - -2001-11-26 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02537] - * configure: s/$def_egd/def_use_egd/ - -2001-11-26 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02556] - * indep.c (strcasestr): strcasestr("", "") should not return NULL - - * [w3m-dev 02555] - * configure: check strcasestr - * fm.h (_GNU_SOURCE): requires for strcasestr() - * indep.c (strcasestr): #ifdef HAVE_STRCASESTR - * indep.c (strcasestr): check whether s2 is NULL - * indep.h: add #include "config.h" - * indep.h: #ifdef HAVE_STRCASESTR - * indep.h: strcasestr() takes const char * - -2001-11-26 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> - - * [w3m-dev 02553] - * configure: SysV's tr requires '[a-z]' '[A-Z]' - -2001-11-26 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02547] "message/*" as a kind of text type - * file.c (is_text_type): add message/* - -2001-11-25 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02535] Name conflicts in configure - * configure: s/libdir/tlibdir/ for loop variables - -2001-11-25 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> - - * display.c: call of init_win32_console_handle is deleted - -2001-11-25 Rin Okuyama <okuyama@cna.ne.jp> - - * [w3m-dev 02533] setpgrp bug in configure - * configure: s/have_setpgrp/def_have_setpgrp/ - s/setpgrp/def_setpgrp/ - -2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> - - * Makefile (indent): indent - * run make indent - -2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02530] - * file.c (readHeader): NULL check for domain - -2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02529] - * configure (ask_choice): fix bugs - * configure (include_opt): disable as much as if baby model - * configure: ask/def parameter after model selected - - * fm.h (use_mark): runtime option use_mark - * main.c (_mark): ditto - * main.c (cmd_mark): ditto - * main.c (nextMk): ditto - * main.c (prevMk): ditto - * main.c (reMk): ditto - * rc.c (CMT_USE_MARK): ditto - * rc.c (params3): ditto - - * fm.h (nextpage_topline): runtime option nextpage_topline - * etc.c (lineSkip): ditto - * main.c (nscroll): ditto - * rc.c (CMT_NEXTPAGE_TOPLINE): ditto - * rc.c (params3): ditto - - * fm.h (label_topline): runtime option label_topline - * file.c (loadGeneralFile): ditto - * main.c (loadLink): ditto - * rc.c (CMT_LABEL_TOPLINE): ditto - * rc.c (params3): ditto - - * fm.h (vi_prec_num): runtime option vi_prec_num - * main.c (pgFore): ditto - * main.c (pgBack): ditto - * rc.c (CMT_VI_PREC_NUM): ditto - * rc.c (params3): ditto - - * fm.h (emacs_like_lineedit): runtime option emacs_like_lineedit - * linein.c (inputLineHist): ditto - * linein.c (_esc): ditto - * linein.c (next_dcompl): ditto - * rc.c (CMT_EMACS_LIKE_LINEEDIT): ditto - * rc.c (params3): ditto - - * fm.h (ftppass_hostnamegen): runtime option ftppass_hostnamegen - * ftp.c (FtpLogin): ditto - * rc.c (CMT_FTPPASS_HOSTNAMEGEN): ditto - * rc.c (params9): ditto - -2001-11-24 Akihiro Sagawa <sagawa@sohgoh.net> - - * [w3m-dev 02528] RFC2732 URL Patch - * main.c (chkURL): check RFC2732 style URLs - * url.c (parseURL): remove RFC2732 address check here, - move to openSocket() - * url.c (openSocket): check RFC2732 style hostname - * url.c (openSocket): check IPv4 address strictly - -2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02526] - * .cvsignore: add inflate mktable w3m w3mbookmark w3mhelperpanel - _zdmachdep.c - * configure: - pref_lang -> lang={JA|EN} - dcode -> display_code - scode -> system_code - remove save_params() - add def_param(), ask_choice() ask_param() - all confiration parameters can be read from config.param - s/DICT/USE_DICT/ - s/BUFINFO/USE_BUFINFO/ - * fm.h: s/DICT/USE_DICT/ - * proto.h: ditto - * doc/README.dict: ditto - * doc-jp/README.dict: ditto - * display.c: s/BUFINFO/USE_BUFINFO/ - * main.c: s/DICT/USE_DICT/ s/BUFINFO/USE_BUFINFO/ - -2001-11-24 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02523] - * table.c (feed_table_tag): - fix problem of anchor tag with name attribute only - -2001-11-23 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02511] - * terms.c (isWinConsole): added - -2001-11-22 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02509] ([w3m-dev 02499] [w3m-dev 02508]) - * terms.c (setlinescols): initialize LASTLINE - * terms.c: add LASTLINE - * fm.h: extern int LASTLINE - * linein.c: remove defined(__CYGWIN__) && defined(JP_CHARSET) - * main.c: remove MOUSE_* definition - * terms.h: move MOUSE_* definition from main.c - * terms.c: add tty - * terms.c (check_win32_console): added - * terms.c (init_win32_console_handle): ditto - * terms.c (read_win32_console_input): ditto - * terms.c (read_win32_console): ditto - * terms.c (set_tty) add call init_win32_console - * terms.c (getch) use read_win32_console - * terms.c (mouse_init): check hConIn - * terms.c (mouse_end): ditto - -2001-11-22 aito@fw.ipsj.or.jp - - * [w3m-dev 02503] - * indep.c (getescapechar): allow incomplete entity references in URL - closes: Debian Bug#120540 - -2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02506] - * anchor.c (putHmarker): remove #ifdef __CYGWIN__ for bzero() - * matrix.h (m_copy): ditto - * table.c (pushTable): ditto - -2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02505] - * configure (alarm): check alarm if USE_ALARM - -2001-11-22 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02501] - * .cvsignore: add funcname.c funcname1.h funcname2.h tagtable.c - * scripts/.cvsignore: added, dirlist.cgi - * scripts/multipart/.cvsignore: added, multipart.cgi - * scripts/w3mman/.cvsignore: added, w3mman w3mman2html.cgi - * doc-jp/README.kokb: deleted - * gc/makefile.depend: deleted - -2001-11-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * table.c (feed_table): fix the following table - <table border=1><tr><td>< <</table> - -2001-11-22 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> - - * [w3m-dev 02497] - * url.c (parseURL2): fix #ifdef __EMX__ code - * indep.c (cleanupName): remove #if 0 /* SUPPORT_NETBIOS_SHARE */ code - -2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02494] - * configure (MIME_TYPES): check if mimetypes is empty - * configure (label_topline): add missing = - * configure (nextpage_topline): ditto - -2001-11-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02493] - * scripts/multipart/Makefile: s/DISTDIR/DESTDIR/ - -2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02481] - * s/BG_COLOR/USE_BG_COLOR/ - * s/ANSI_COLOR/USE_ANSI_COLOR/ - * s/COLOR/USE_COLOR/ - * s/MENU/USE_MENU/ - * s/MOUSE/USE_MOUSE/ - - * [w3m-dev 02480] new configure - * config.h.dist: updated - * configure: $def_emacs_like_lineedit, $def_vi_prec_num - $def_label_topline, $def_nextpage_topline - $def_use_mark, $def_use_gopher, $def_use_alarm - * configure: add --{ssl,gc}-{include,lib}dir, --mimetypes - * configure: BoehmGC Debian hack - * XMakefile: add $(OPTS) - * terms.c: use HAVE_SYS_SELECT_H - * configure: add sys/select.h detection - * configure: no_float_h -> float_h - * configure: add chdir() detection - * local.c (localcgi_post): use HAVE_CHDIR instead of __EMX__ - * local.c (localcgi_get): ditto - * main.c: <time.h> no need for #ifdef __EMX__ - other files already do #include <time.h> - - [w3m-dev 02479] - * rc.c (init_rc): remove #ifdef __EMX__ for tmpdir - * config.h.dit: updated - * url.c (openURL): use CGI_EXTENSION - add extlen - * rc.c (helpFile): remove #ifdef __EMX__ - use w3m_help_dir() - * w3mbookmark.c (lib_dir): removed - * w3mbookmark.c (print_bookmark_panel): use w3m_lib_dir() - * rc.c (libFile): remove #ifdef __EMX__ - use w3m_lib_dir() - * local.c (get_os2_dft): removed - * local.c (check_local_cgi): use w3m_lib_dir() instead of lib_dir - * local.c (cgi_filename): ditto - * indep.c (w3m_dir): added - * indep.c (w3m_lib_dir w3m_help_dir): ditto - * indep.h (w3m_lib_dir w3m_help_dir): ditto - * terms.c (set_tty): remove #ifdef __EMX__ - use DEV_TTY_PATH - * local.c (localcgi_get): use DEV_NULL_PATH - * w3mhelperpanel.c (printMailcapPanal): remove #ifdef __EMX__ - use W3mHELPERPANEL_CMDNAME - * rc.c (optionpanel_src1): ditto - * w3mbookmark.c (bkmark_src1): remove #ifdef __EMX__ - use W3MBOOKMARK_CMDNAME - * main.c (adBmark): ditto - use w3m_lib_dir() - * terms.c (getTCstr): remove #ifdef __DJGPP__ - use DEFAULT_TERM - check ent is NULL - * main.c (fusage): remove #ifdef SHOW_PARAMS - * main.c (MAIN): ditto - * rc.c (show_params): ditto - * fm.h (view_unseenobject): remove #ifdef VIEW_UNSEENOBJECTS - * url.c (check_no_proxy): remove #ifdef NOPROXY_NETADDR - * configure (show_params): removed - * configure (config.h): - - fix comment for USE_MARK - - add MENU_THIN_FRAME - - move $def_nntp (USE_NNTP), $def_ansi_color (ANSI_COLOR) - - remove VIEW_UNSEENOBJECTS - - remove $def_show_params (SHOW_PARAMS) - - define DEFAULT_TERM - - define W3MBOOKMARK_CMDNAME - - define W3MHELPERPANEL_CMDNAME - - define DEV_NULL_PATH - - define DEV_TTY_PATH - - define CGI_EXTENSION - - [w3m-dev 02478] - * Makefile: make -> $(MAKE) - -2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02473] - * scripts/Makefile: chmod +x - * scripts/Makefile: add clean target - * scripts/multipart/Makefile: ditto - * scripts/w3mman/Makefile: ditto - * XMakefile: clean scripts - * scripts/dirlist.cgi: removed from CVS - * Makefile (install-scripts): added - * XMakefile: (install-scripts): depends all-scripts - -2001-11-21 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02470] - * XMakefile: all of scripts are generated by this instead of configure - * configure: add PERL, remove scripts/dirlist.cgi generation - * config.h.dist: add PERL - * scripts/Makefile: added - * scripts/multipart/Makefile scripts/w3mman/Makefile: - new scripts generation and installation - * scripts/multipart/README scripts/w3mman/README: update - -2001-11-21 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02472] cleanup CYGWIN macro - * display.c (displayBuffer): use __CYGWIN__ macro - * fm.h: ditto - * terms.c (refresh): add condition for isWinConsole which - defined only japanese cygwin environment - -2001-11-21 Akinori Ito <aito@fw.ipsj.or.jp> - - * [w3m-dev 02466] - Homepage URLs and author's mail addresses in the documents - are changed. - -2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02459] - * XMakefile: update scripts/dirlist.cgi generation - * scripts/multipart/multipart.cgi: removed - * scripts/w3mman/w3mman scripts/w3mman/w3mman2html.cgi: removed - - * [w3m-dev 02462] - * scripts/dirlist.in scripts/dirlist.cgi: removed - * scripts/dirlist.cgi.in: added - -2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> - - * add rcsids - -2001-11-21 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02454] - * buffer.c (newBuffer): set COLS - * display.c (displayBuffer redrawLine redrawLineRegion - cursorRight arrangeCursor cursorXY): - new showLineNumber implementation - * main.c (ctrCsrH shiftvisualpos shiftl shiftr _movL _movR - _followForm follow_map process_mouse): - use buf->COLS, buf->rootX - * menu.c (popupMenu mainMn initSelectMenu): - use buf->rootX - * etc.c (columnSkip): use buf->COLS - * file.c (HTMLlineproc2body loadBuffer saveBufferDelNum getNextPage) - remove old showLineNumber codes - * fm.h (Buffer): add rootX, COLS - -2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> - - * XMakefile (clean): rm tagtable.c - * .cvsignore: XXMakefile config.h config.param - -2001-11-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02455] - * XMakefile.dist deflate.c: removed, not used - * tagtable.c: removed, autogenerated files - * XMakefile (mktable w3mbookmark w3mhelperpanel): use LIBS2 - * configure: add $bsdlib - -2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * frame.c (newFrameSet): fix possible buffer overrun - -2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> - - * XXMakefile config.h: removed from CVS - these are autogenerated files. - config.h is moved to config.h.dist as sample config file. - -2001-11-20 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02449] - * file.c (HTMLtagproc1): reimplement meta refresh with - setAlarmEvent() - * fm.h: put back alarm related variables to main.c - add alarm related status flags - * main.c: put back alarm related variables from fm.h - alarm_once was renamed alarm_status - add alarm_buffer and setAlarmEvent() - * main.c (MAIN): cancel the alarm event if the buffer was - changed - * main.c (SigAlarm): ditto - * main.c (setAlarm): use setAlarmEvent() - * proto.h: add setAlarmEvent() - -2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> - - * w3mhelperpanel.c (extractMailcapEntry): remove unused variables - * istream.c (StrISgets): add parentheses around assignment used - as truth value - - * XMakefile (clean): remove funcname.c funcname1.h funcname2.h - these are autogenerated files. - * funcname.c funcname1.h funcname2.h: removed from CVS - - * main.c (MAIN): add braces to avoid ambiguous `else' - * main.c (set_buffer_environ): remove unused variables - * linein.c (_rcompl): not EMACS_LIKE_LINEEDIT only - * local.c (localcgi_get): remove unused variables - * mailcap.c (unquote_mailcap_loop): remove unused variables - * url.c (init_PRNG) add parentheses around assignment used as true value - * url.c (parseURL): remove unsed label - * url.c (parseURL2): remove unused variables - * ftp.c (ftp_escape_str ftp_restore_str): remove not used functions - * indep.c (getescapechar): remove unused variable - - * proto.h: add missing prototypes - -2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02447] - * terms.c (skip_escseq): is_xterm && ESC [ M <ch> <ch> <ch> - -2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02448] - * terms.c (mouse_init): Gpm_Close() is required. - closes: Debian Bug#120221: w3m-ssl: trashes terminal on exit - -2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> - - * [w3m-dev 02444] - * XMakefile (funcname1.h funcname2.h): sort as well as funcname.c - -2001-11-19 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02439] - * terms.c (xterm_mouse_term set_tty): add cygwin as xterm-style - mouse terminal - -2001-11-19 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> - - * [w3m-dev 02436] - * main.c (GetWord): closes: #482763 segmentation fault in main.c - -2001-11-19 Fumitoshi UKAI <ukai@debian.or.jp> - - * gc/.cvsignore: - remove gctest, if_mach, if_not_there, threadlibs - closes: #482765 i386 binaries in gc directory - -2001-11-17 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02432] - * configure: follow autoconf conventions - STRCASECMP -> HAVE_STRCASECMP - STRCHR -> HAVE_STRCHR - STRERROR -> HAVE_STRERROR - SYS_ERRLIST -> HAVE_SYS_ERRLIST - NOBCOPY -> HAVE_BCOPY - GETCWD -> HAVE_GETCWD - GETWD -> HAVE_GETWD - READLINK -> HAVE_READLINK (HAVE_LSTAT?) - TERMIO -> HAVE_TERMIO_H - TERMIOS -> HAVE_TERMIOS_H - SGTTY -> HAVE_SGTTY_H - DIRENT -> HAVE_DIRENT_H - NO_FLOAT_H -> HAVE_FLOAT_H - * etc.c fm.h config.h: HAVE_STRCASECMP - * etc.c config.h file.c: HAVE_STRCHR - strchr() moved from file.c to etc.c - * etc.c config.h: HAVE_STRERROR - * etc.c config.h main.c (MAIN): HAVE_SYS_ERRLIST - * etc.c fm.h: HAVE_BCOPY - * etc.c indep.c (currentdir) config.h: HAVE_GETCWD - * indep.c (currentdir) config.h: HAVE_GETWD - * form.c (form_write_from_file) local.c (dirBuffer) - config.h: HAVE_READLINK - * config.h terms.c: HAVE_TERMIO_H, HAVE_TERMIOS_H, HAVE_SGTTY_H - * config.h local.h: HAVE_DIRENT_H - * config.h matric.c: HAVE_FLOAT_H - - * anchor.c cookie.c file.c parsetagx.c regex.c table.c url.c: - remove include <strings.h> ifdef __EMX__ - it will be included in fm.h - * frame.c: remove include <strings.h> for bzero() and bcopy() - these are declared in fm.h - * indep.c: remove include <strings.h> for bcopy() - this is declared in fm.h - * istream.c mailcap.c: remove include <strings.h> for bzero() - this is declared in fm.h - * parsetag.c: remove include <strings.h> for bzero() - no bzero() used in this file - - * [w3m-dev 02431] - * terms.c (set_tty): "rxvt" is xterm - (getTCstr): tgetstr("Km", &pt) is not xterm, removed - (mouse_init): check Gpm_Open() == -2 to detect xterm when USE_GPM - -2001-11-16 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02418] - * main.c (chkURL): add mailto: like pattern to mark as anchor - * search.c (forwardSearch): check whether currentLine is NULL - * search.c (backwardSearch): ditto - -2001-11-16 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> - - * [w3m-dev-en 00641] Re: w3m-0.2.1-inu-1.6 - * configure: add some dirs for zlib and mime.types - -2001-11-16 Fumitoshi UKAI <ukai@debian.or.jp> - - * [w3m-dev 02417] - * terms.c (mouse_init): fix mouse handling on TERM=linux - if Gpm_Open() successed, set is_xterm = 0 so that - w3m uses gpm functions. - -2001-11-16 Tsutomu Okada <okada@furuno.co.jp> - - * [w3m-dev 02408] meta refresh - * file.c (HTMLtagproc1): - use MetaRefresh - add case refresh > 0 - * fm.h: - add MetaRefresh - move alarm related definition from main.c - * main.c: - move alarm releated definition to fm.h - (SigAlarm): alarm_once - * rc.c: - add CMT_META_REFRESH - - * [w3m-dev 02415] - * file.c (loadHTMLBuffer): - pushText() to clean up temporary files - - * [w3m-dev 02414] - * file.c (loadHTMLstream): - SETJMP and signal after buffer is initialized - - * [w3m-dev 02413] - * main.c (reMark): - don't save invalid regexp to MarkString - -2001-11-15 aito@eie.yz.yamagata-u.ac.jp - - * release-0-2-2 - * Update to w3m-0.2.1-inu-1.6 - -2001-11-09 aito@eie.yz.yamagata-u.ac.jp - - * release-0-2-1-inu-1-5 - * Updates from 0.2.1 into 0.2.1-inu-1.5 - -2001-11-08 aito@eie.yz.yamagata-u.ac.jp - - * release-0-2-1 - * import w3m-0.2.1 - -$Id: ChangeLog,v 1.1055 2012/05/22 10:20:45 inu Exp $ +2011-10-30 Colin Watson <cjwatson@ubuntu.com> + + * acinclude.m4, configure, w3mbookmark.c: + Appease gcc -Werror=format-security. + Patch from 0.5.3-3ubuntu1 on 2011-10-23. + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646321 + +2011-06-19 Martin Pitt <martin.pitt@ubuntu.com> + + * Makefile.in: + Explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5. + Patch from 0.5.2-10ubuntu1 on 2010-12-03. + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605761 + +2011-06-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * main.c: Change the -s option to "squeeze multiple blank lines". + Change the -s option from "display charset Shift_JIS" to "squeeze + multiple blank lines" to work as /usr/bin/pager. In addition, the + options -j and -e are disabled. To specify the display charset, + use -O{s|j|e} instead. + Patch from [w3m-dev 01275] on 2000-10-26. + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=75527 + +2011-06-19 Hiroyuki Ito <ZXB01226@nifty.com> + + * file.c, fm.h, html.c, html.h, proto.h, table.c, tagtable.tab: + Support the button element as defined in HTML 4.01. + Patch from upstream, [w3m-dev 04411] on 2010-09-17, to support the + button element. It is discussed upstream and incomplete, but enough + to login Launchpad. + Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=136810 + Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/628755 + +See ChangeLog.1 for earlier changes. + +;; Local Variables: +;; coding: utf-8 +;; End: diff --git a/ChangeLog.1 b/ChangeLog.1 new file mode 100644 index 0000000..88358ef --- /dev/null +++ b/ChangeLog.1 @@ -0,0 +1,9322 @@ +2012-05-22 Tatsuya Kinoshita <tats@vega.ocn.ne.jp> + + * [w3m-dev 04451] w3m/entity.h should be removed when `make clean' + * Makefile.in: add entity.h to "make clean" target. + +2012-05-22 Tatsuya Kinoshita <tats@vega.ocn.ne.jp> + + * [w3m-dev 04452] Re: w3m on macosx 10.6.6 + * doc/w3m.1, doc/STORY.html, doc-jp/STORY.html: + delete words about formerly included Boehm GC library. + +2012-05-22 Enu <theme.of.n@gmail.com> + + * file.c, HTML.c: parse META CHARSET. + +2011-01-17 Dai Sato <satodai@w3m.jp> + + * correction: ChangeLog of 2011-01-15 (0.5.2 -> 0.5.3) + +2011-01-15 Dai Sato <satodai@w3m.jp> + + * w3m 0.5.3 + * version.c.in: update + * doc/README: version 0.5.3, release date, maintainer + * doc-jp/README: ditto + * po/w3m.pot, ja.po: ditto + * NEWS: update + * configure.ac: version 0.5.3 + * configure: regenerated + +2011-01-05 SAKAI Kiyotaka <kiyotaka.sakai@ntt-at.co.jp> + + * [w3m-dev 04445] Re: Update documents (README.cookie) + * doc-jp/README.cookie: refer to RFC 2109. + * doc/README.cookie: diito. + +2011-01-05 SAKAI Kiyotaka <kiyotaka.sakai@ntt-at.co.jp> + + * [w3m-dev 04444] Re: error when 'make install' + * w3mimg/win/.cvsignore: added. + +2011-01-04 SAKAI Kiyotaka <kiyotaka.sakai@ntt-at.co.jp> + + * [w3m-dev 04441] error when 'make install' + * update followig files. ABOUT-NLS Makefile.in acinclude.m4 + aclocal.m4 config.rpath configure configure.ac entity.h install-sh + po/ChangeLog po/Makefile.in.in po/Rules-quot po/boldquot.sed + po/en@boldquot.header po/en@quot.header po/insert-header.sin + po/quot.sed po/remove-potcdate.sin + +2010-12-28 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04440] Update documents (README.cookie) + * doc/README.cookie: added. + * doc-jp/README.cookie: add document about cookie_avoid_wrong_number_of_dots. + +2010-12-24 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04439] Update documents (README.m17n) + * doc-jp/README.m17n: add documents for options "east_asian_width", "gb18030_as_ucs" and "simple_preserve_space". + * doc/README.m17n: ditto. + +2010-12-24 AIDA Shinra <shinra@j10n.org> + + * [w3m-dev 04437] Re: Windows版w3mimg、他 + * w3mimg/win/win_w3mimg.cpp: remove unused ifdefs. + (load, animate): support "-anim" option. + (show): support "image_scale". + +2010-12-20 AIDA Shinra <shinra@j10n.org> + + * [w3m-dev 04425] Re: Windows版w3mimg、他 + * w3mimgdisplay: supports Windows console (http://www.j10n.org/files/w3m-cvs-1.1040-misc.patch). + * image.c: ditto. + * configure.ac: ditto. + * config.h.in: ditto. + * acinclude.m4: ditto. + * Makefile.in: ditto. + * w3mimg/w3mimg.h: ditto. + * w3mimg/w3mimg.c: ditto. + * w3mimg/Makefile.in: ditto. + * doc/README.img: ditto. + * doc-jp/README.img: ditto. + * w3mimgdisplay.c (main): call "w_op->close(w_op)" before exit. + * w3mimg/win/win_w3mimg.cpp: added. + * w3mimg/win/Makefile.in: added. + +2010-12-20 Ito Hiroyuki <ZXB01226@nifty.com> + + * doc/README.img: add documents about some options. + * doc-jp/README.img: ditto. + +2010-12-15 AIDA Shinra <shinra@j10n.org> + + * [w3m-dev 04424] Windows版w3mimg、他 + * scripts/w3mman/Makefile.in (DESTDIR): removed. + * scripts/multipart/Makefile.in (DESTDIR): removed. + * scripts/Makefile.in (DESTDIR): removed. + * url.c (add_index_file): can specify multiple files as an index file for directories. + * mktable.c (defhashfunc): fi indent of output. + * ftp.c (ftp_login): support IPv6. + * file.c (is_text_type): check if the type is "application/xhtml". + * Makefile.in (DESTDIR): removed. + (GC_LIBS): added. + (EXT_LIBS): use "GC_LIBS". + (entity.h): depend on entity.tab and mktable$(EXT). + (indep.o): depend on entity.h + (mktable$(EXT)): depend on Str.o, hash.o and myctype.o instead of $(ALIB). + +2010-12-15 Kazuhiko <kazuhiko@fdiary.net> + + * [w3m-dev 04419] AC_W3M_EXTLIBS does not check /lib64 + * acinclude.m4 (AC_W3M_EXTLIBS): search /lib64 and /usr/lib64. + +2010-12-11 theme.of.n@gmail.com + + * [w3m-dev 04421] Patch to prevent sending `Referer: ' header from HTTPS to HTTP + * url.c (otherinfo): Don't send Referer: if https:// -> http:// + +2010-10-11 d+w3m@vdr.jp + + * [w3m-dev 04414] Re: "normal" bugs from bugs.debian.org + * doc/w3m.1: add documents about some options. + * doc/FAQ.html: fix typo. + +2010-08-24 Karsten Schoelzel <kuser@gmx.de> + + * [w3m-dev 04393] [patch] locale-related character management + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313365 + * libwc/map/ucs_isalpha.map: added + * libwc/map/ucs_islower.map: added + * libwc/map/ucs_isupper.map: added + * libwc/map/mk_ucs_case_map.pl: added + * libwc/map/ucs_case.map: added + * libwc/map/mk_ucs_isdigit_map.pl: added + * libwc/map/ucs_isdigit.map: added + * libwc/ucs.c (wc_any_to_ucs): ceck if cc.ccs == WC_CCS_US_ASCII + (wc_is_ucs_alpha, wc_is_ucs_digit, wc_is_ucs_alnum) + (wc_is_ucs_lower, wc_is_ucs_upper, wc_ucs_toupper) + (wc_ucs_tolower, wc_ucs_totitle): added + * regex.c (match_longchar, match_range_longchar): use wc_any_to_ucs(), wc_ucs_tolower(), wc_ucs_toupper() and wc_ucs_totitle() + * main.c (nextChar, prevChar, getChar, is_wordchar): added + (movLW): use prevChar() and is_wordchar() + (movRW): use nextChar() and is_wordchar() + (getCurWord): remove 4th parameter + (getCurWord): use prevChar(), nextChar() and is_wordchar() + +2010-08-20 Karsten Schoelzel <kuser@gmx.de> + + * [w3m-dev 04401] Re: mailto with options handling + * rc.c: Introduce option mailto_options + * main.c (handleMailto): added + (followA, cmd_loadURL): use handleMailto() + * fm.h (MAILTO_OPTIONS_USE_W3MMAILER, MAILTO_OPTIONS_IGNORE) + (MAILTO_OPTIONS_USE_MAILTO_URL): added + +2010-08-20 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04402] Re: "normal" bugs from bugs.debian.org + * terms.c (reset_exit_with_value, reset_error_exit): added + (reset_exit): use reset_exit_with_value() + (ttymode_set, ttymode_reset, set_cc, getTCstr) + (sleep_till_anykey): use reset_error_exit() instead of reset_exit() + +2010-08-14 "Adam C. Emerson" <azure@azureprime.com> + + * [w3m-dev 04390] + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573789 + * html.c: All elements have the id attribute. + +2010-08-12 Peter J. R. Moulder + + * [w3m-dev 04384] + * http://sourceforge.net/tracker/index.php?func=detail&aid=2987194&group_id=39518&atid=425441 + * html.c: some tags have ALST_NOP attribute + * tagtable.tab: add <span> and </span> + * html.h (HTML_SPAN, HTML_N_SPAN): added + +2010-08-11 SAKAI Kiyotaka <kiyotaka.sakai@ntt-at.co.jp> + + * [w3m-dev 04381] Re: check socklen_t + * ftp.c: fix condition (#ifndef HAVE_SOCKLEN_T) + +2010-08-10 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04379] check socklen_t + * configure.ac: check socklen_t + * ftp.c (ftp_login, ftp_pasv): use socklen_t instead of int + +2010-08-09 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04374] Re: "important" bugs from bugs.debian.org + * table.c (feed_table_tag): don't show message when rowspan is greater than ATTR_ROWSPAN_MAX + * [w3m-dev 04376] Re: "important" bugs from bugs.debian.org + * table.c (feed_table_tag): fix indent + +2010-08-08 Steven Harms <ZXB01226@nifty.com> + + * [w3m-dev 04371] Re: "important" bugs from bugs.debian.org + * https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/131993 + * table.c (ATTR_ROWSPAN_MAX): added + (feed_table_tag): maximum value of rowspan is ATTR_ROWSPAN_MAX + +2010-08-08 d+w3m@vdr.jp + + * [w3m-dev 04360] Re: "important" bugs from bugs.debian.org + * main.c (main): use DEFAULT_COLS + (main): the maximum value of the -cols option is MAXIMUM_COLS + * backend.c (backend): use DEFAULT_COLS + * fm.h (MAXIMUM_COLS, DEFAULT_COLS): added + +2010-08-04 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04369] Re: w3m's bugs from bugs.debian.org + * terms.c (graph_ok): fix condition (UseGraphicChar != GRAPHIC_CHAR_DEC) + * symbol.c (get_symbol): fix condition (UseGraphicChar != GRAPHIC_CHAR_ASCII) + * rc.c (params1): type of graphic_char option is PI_SEL_C + * main.c (main): use GRAPHIC_CHAR_ASCII and GRAPHIC_CHAR_DEC instead of FALSE and TRUE + * fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_DEC, GRAPHIC_CHAR_CHARSET): added + +2010-08-03 d+w3m@vdr.jp + + * [w3m-dev 04363] Re: w3m's bugs from bugs.debian.org + * doc/w3m.1: revert option -S + * doc-jp/w3m.1: revert option -S, -e, -j and -s + * main.c: remove codes for Debian + +2010-08-03 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04343] + * file.c (loadGeneralFile): register user name and password for proxy authentication. + * url.c (HTTPrequest): unused variable seen_proxy_auth was removed + * fm.h: global variables proxy_auth_cookie and pauth are removed + * main.c (main): remove option -pauth + * doc/MANUAL.html: ditto + * doc-jp/MANUAL.html: ditto + * doc-jp/w3m.1: ditto + * doc/w3m.1: ditto + * doc/README.passwd: added + * doc-jp/README.passwd: added + +2010-07-31 Tatsuya Kinoshita <tats@vega.ocn.ne.jp> + + * [w3m-dev 04350] Re: w3m's bugs from bugs.debian.org + * file.c (process_img): Revert the change of using ATTR_TITLE if ATTR_ALT is empty. + +2010-07-30 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04348] Re: "important" bugs from bugs.debian.org + * file.c (TEXTAREA_ATTR_COL_MAX, TEXTAREA_ATTR_ROWS_MAX): added. + (process_textarea): check cur_textarea_size > TEXTAREA_ATTR_COL_MAX and cur_textarea_rows > TEXTAREA_ATTR_ROWS_MAX + +2010-07-30 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04345] Re: "important" bugs from bugs.debian.org + * file.c (HR_ATTR_WIDTH_MAX): added. + (process_hr): check w > HR_ATTR_WIDTH_MAX + +2010-07-26 d+w3m@vdr.jp + + * [w3m-dev 04237] [patch] cookie avoid [wrong number of dots] + * rc.c: Introduce option cookie_avoid_wrong_number_of_dots. + * fm.h: add global variables cookie_avoid_wrong_number_of_dots and Cookie_avoid_wrong_number_of_dots_domains. + * cookie.c (check_avoid_wrong_number_of_dots_domain): added. + (add_cookie): use check_avoid_wrong_number_of_dots_domain(). + +2010-07-26 Ito Hiroyuki <ZXB01226@nifty.com> + + * acinclude.m4: define AC_W3M_SSL_DIGEST_AUTH + +2010-07-25 AIDA Shinra <shinra@j10n.org> + + * [w3m-dev 04049] Ctrl-C safe resolver + * fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_CHARSET, GRAPHIC_CHAR_ALL): removed. + * fm.h: UseGraphicChar is initialized as FALSE. + * main.c (sig_chld): use TRUE and FALSE instead of GRAPHIC_CHAR_ALL and GRAPHIC_CHAR_ASCII. + * merge ambiguous width patch ( http://www.j10n.org/files/w3m-cvs-1.914-ambwidth.patch ). + +2010-07-24 Ito Hiroyuki <ZXB01226@nifty.com> + + * [w3m-dev 04326] suppress compile warnings + * file.c (digest_hex): type of the parameter s is "unsigned char *". + (AuthDigestCred): use unsigned char. + (ex_efct): type of the function is "static int". + +2010-07-20 Sascha Silbe <sascha-debian-bugs-w3m-1@silbe.org> + + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523159#5 + * url.c (openSSLHandle): add support for TLS SNI (Server Name Indication) + +2010-07-19 Karsten Schoelzel <kuser@gmx.de> + + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329862#20 + * table.c (feed_table_tag): check displayLinkNumber. + * proto.h: add getLinkNumberStr(). + * main.c (do_dump): check displayLinkNumber. + * fm.h: add global variable displayLinkNumber. + * file.c (getLinkNumberStr): added. + (process_input, process_select, HTMLtagproc1): check displayLinkNumber. + +2010-07-19 Karsten Schoelzel <kuser@gmx.de> + + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329863#8 + * rc.c: Introduce option pseudo_inlines. + * fm.h: add global variable pseudoInlines. + * file.c (process_img): check q. + +2010-07-19 "Trent W. Buck" <twb@cybersource.com.au> + + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537706#10 + * rc.c (interpret_rc): check line->length before call Strchop(). + +2010-07-19 Karsten Schoelzel <kuser@gmx.de> + + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366284#5 + * rc.c (init_rc): check config_file is NULL or not. + (panel_set_option): check config_file instead of no_rc_dir. + +2010-07-19 Karsten Schoelzel <kuser@gmx.de> + + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261174#10 + * terms.c (graph_ok): check UseGraphicChar is GRAPHIC_CHAR_ALL or not. + * symbol.c (get_symbol): check UseGraphicChar. + * rc.c (graphic_char_str): added. + * main.c (sig_chld): use GRAPHIC_CHAR_ASCII and GRAPHIC_CHAR_ALL. + * fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_CHARSET, GRAPHIC_CHAR_ALL): added. + * fm.h: UseGraphicChar is initialized as GRAPHIC_CHAR_ASCII. + +2010-07-19 Karsten Schoelzel <kuser@gmx.de> + + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185006#22 + * main.c (sig_chld): save exit code to d->err. + (addDownloadList): initialize d->running and d->err. + (DownloadListBuffer): check d->err. + + * fm.h (_DownloadList): add running and err. + + * file.c (save2tmp): check returned value of Strfputs(). + (doFileSave): exit code is depend on the returned value of save2tmp(). + +2010-07-19 d+w3m@vdr.jp + + * [w3m-dev 04238] [patch] simple preserve space + * rc.c: Introduce option simple_preserve_space. + * fm.h: add global variable SimplePreserveSpace. + * file.c (HTMLlineproc0): check SimplePreserveSpace. + +2010-07-18 Karsten Schoelzel <kuser@gmx.de> + + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242599#21 + * file.c (is_html_type): added. + (examineFile, loadGeneralFile, _saveBuffer) + (openGeneralPagerBuffer, reloadBuffer): use is_html_type() instead + of strcasecmp(). + (loadGeneralFile): set f.guess_tupe + * display.c (displayBuffer): use is_html_type() instead of strcasecmp(). + * buffer.c (reshapeBuffer): use is_html_type() instead of strcasecmp(). + * backend.c (internal_get): use is_html_type() instead of strcasecmp(). + * main.c (vwSrc, reload, dispI, stopI): use is_html_type() instead of strcasecmp(). + * proto.h: add is_html_type() + * url.c: add "xhtml" to DefaultGuess. + +2010-07-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04286] Re: break textform when buffer back + * form.c (form_update_line): set line->size + +2010-07-18 d+w3m@vdr.jp + + * [w3m-dev 04319] Re: w3m's bugs from bugs.debian.org + * doc/w3m.1: fix typo. + * doc-jp/w3m.1: update + +2010-07-18 Petr Salinger <Petr.Salinger@seznam.cz> + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486 + * terms.c: fix version check logic for FreeBSD + +2010-07-18 Colin Watson <cjwatson@ubuntu.com> + * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325699 + * scripts/w3mman/w3mman2html.cgi.in (Content-Type): "MAN_KEEP_FORMATTING=1" + +2010-07-18 Ludwig Nussel <ludwig.nussel@...e.de> + * http://www.openwall.com/lists/oss-security/2010/06/14/4 + * istream.c (ssl_check_cert_ident): replace \0 to make full string + visible to user (CVE-2010-2074). + +2007-06-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04279] charset + * libwc/ces.h, libwc/charset.c: set charset to Shift_JIS, when locale + is japanese, jp_JP.PCK, ja_JP.IBM-932, ja_JP.IBM-943, or windows-31j. + +2007-06-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04278] Re: segfault on CentOS4.5/libgc6.8 + * term.c: add handling xterm-incompatible terminals without gpm. + +2007-06-04 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04271] vi_prec_num + * main.c: make number prefixes working when vi_prec_num=0. + +2007-05-31 Dai Sato <satodai@w3m.jp> + + * w3m 0.5.2 + * version.c.in: update + * doc/README: version 0.5.2, release date, maintainer + * doc-jp/README: ditto + * po/w3m.pot, ja.po: ditto + * NEWS: update + * configure.ac: version 0.5.2 + * configure: regenerated + +2007-05-31 Tsutomu OKADA + + * [20070530101431@w3mbbs] Re: road to 0.5.2 + * ftp.c: fix typo. + * main.c, mktable.c, w3mbookmark.c, w3mhelperpanel.c: add GC_INIT(). + +2007-05-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04266] Bug fix when tab browsing + * fm.h, main.c: fix for tab browsing. + +2007-05-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04265] compile error when #undef USE_BG_COLOR + * terms.c: add #ifdef __CYGWIN__. + +2007-05-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04264] Re: road to 0.5.2 + * po/makefile.in.in, scripts/*/Makefile.in: add datarootdir. + +2007-05-29 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04262] FreeBSD sysmouse (Re: road to 0.5.2) + * configure.ac: unbreak sysmouse support, pointed out by + Travis Poppe <tlp@lickwid.net>. + * configure: regenerated. + +2007-05-29 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04260] Warning (Re: road to 0.5.2) + * main.c, display.c: delete unused macros, change void to static void. + +2007-05-29 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04259] long long (Re: road to 0.5.2) + * Makefile.in, aclocal.m4: move 'gc' from $LIBS to $LIBGC. + * configure: regenerated. + +2007-05-29 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04256] Re: road to 0.5.2 + * scripts/Makefile.in, scripts/w3mhelp.cgi.in: add datarootdir. + +2007-05-28 Hideyuki SHIRAI <shirai@meadowy.org> + + * [w3m-dev 04251] Re: road to 0.5.2 + * po/w3m.pot: pot-update. + +2007-05-27 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04252] Re: road to 0.5.2 + * Makefile.in: add datarootdir for Autoconf 2.60 and later. + +2007-05-23 NOKUBI Takatsugu <knok@daionet.gr.jp> + + * [w3m-dev 04155] w3m mingw patch + * config.h, configure.ac, etc.c, file.c, ftp.c, indep.c, istream.c, + local.c, main.c, rc.c, terms.c, url.c: fix for minpw, except for + deleting nsl and dl from configure.ac. + * configure: regenerated. + +2007-05-23 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04233], [w3m-dev 04236] Re: <del>, <s>, <ins>, and so on + * file.c, fm.h, po/ja.po, po/w3m.pot, rc.c, table.c: + expand display_ins_del to select a type of fontify. + +2007-05-23 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04242] Re: Compile error when --without-ssl + * aclocal.m4, configure.ac: add checking ssl before digest_auth. + * configure: regenerated. + +2007-05-23 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04240] nl_langinfo() requires setlocale() + * fm.h, main.c, menu.c, rc.c: add "#ifdef"s. + * libwc/charset.c: add setlocale() for nl_langinfo(). + +2007-05-23 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03923] <pre> in <table> + * file.c, table.c: avoid extra blanks in pre in table. + +2007-05-23 tamo + + * [20070121110209@w3mbbs] unnecessary decoding in linein.c + * linein.c: decoding URLs in correct condition. + +2007-05-23 Tsutomu OKADA + + * [20061228000713@w3mbbs] avoid warning for file.c + * html.h: change char to unsigned char for HTML_DL_COMPACT(133). + +2007-05-23 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04213] update Unicode characters' width + * libwc/ucs.c, libwc/ucs.h, libwc/map/ucs_wide.map: + catch-up to EastAsianWidth-5.0.0.txt. + +2007-04-19 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04212] quote URL of local dir + * local.c: quote URLs with non-ASCII local directory names. + +2007-04-19 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 04211] input type=image + * file.c, html.[ch]: avoid conflicts between input_alt and img_alt. + fix calculation of labeled line numbers when fold_line=1. + +2007-04-19 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04197] Re: italic text + * fm.h: display <em> and <i> elements with underline. + +2006-12-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * [SECURITY] fix format string vulnerability + * file.c (inputAnswer) fix format string bug + +2006-12-07 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04185] Re: italic text + * file.c, fm.h, html.c, html.h, tagtable.tab: + display <em> and <i> elements with bold letters. + +2006-12-07 Hideyuki SHIRAI <shirai@meadowy.org> + + * [w3m-dev 04184] automatic uncompression in downloading + * rc.c: Add `AutoUncompress'. + (params3): Ditto. + * fm.h: Add `AutoUncompress'. + * file.c (loadGeneralFile): Check `AutoUncompress' when uncompress + data. + (HTMLlineproc2body): Ditto. + * po/w3m.pot: Add new message for `AutoUncompress'. + * po/ja.po: ditto. + +2006-12-10 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04159] Re: Is this mailing list still alive? + * cookie.c: accept invalid "set-cookies" headers + when "domainName == .hostName". + +2006-12-10 noz + + * [20051124052846@w3mbbs] LiveHTTPHeaders + * file.c, fm.h, main.c, url.c: add -reqlog option which makes + ~/.w3m/request.log like LiveHTTPHeaders of FireFox. + +2006-08-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * mailcap.c (acceptableMimeTypes): change default accept: line + w3m should prefer text/html to other text/*. + reported as Debian Bug#374296 + +2006-06-12 Dai Sato <satodai@w3m.jp> + + * another fix for [w3m-dev-en 01067] Some more patches + * file.c (loadBuffer): avoid decoding when dump_extra option is specified. + +2006-06-10 Dai Sato <satodai@w3m.jp> + + * fix for [w3m-dev-en 01067] Some more patches + * file.c (loadGeneralFile): avoid decoding when dump_extra option is specified. + +2006-06-10 Dai Sato <satodai@w3m.jp> + + * [w3m-dev 03992] Change to display progress status when dump_extra option is specified + * file.c (loadHTMLstream): Show progress status when dump_extra option is specified. + +2006-06-07 Dai Sato <satodai@w3m.jp> + + * [w3m-dev 04129] handling newlines in form values + * parsetagx.c: don't delete newlines in hidden values. + +2006-05-29 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01067] Some more patches + * file.c, html.h, url.c: decode content-encoding in all situations. + +2006-05-29 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01067] Some more patches + * main.c: delete calls to GC from wrap_GC_warn_proc to avoid deadlocks. + +2006-05-29 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01067] Some more patches + * main.c: fix unsafe usages of SIGWINCH handler. + +2006-05-29 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01067] Some more patches + * keybind(_lynx).c, doc(-jp)/keymap.default: add SHIFT-TAB as a default binding for PREV_LINK. + +2006-04-08 Dai Sato <satodai@w3m.jp> + + * [w3m-dev 04154] Unclosed textarea in table + * table.c: close textarea when table related tags found. + +2006-04-08 Dai Sato <satodai@w3m.jp> + + * [w3m-dev 04153] NEXT_LINK error + * anchor.c, filc.c, fm.h: check A tag in HTMLlineproc2body(). + +2006-04-08 Dai Sato <satodai@w3m.jp> + + * [w3m-dev 04152] [PATCH] Add more explanation for the usage of the option setting panel. + * doc(-jp)/FAQ.html, doc-jp/MANUAL.html: add explanations for .w3m/config and -o option. + +2006-04-08 Dai Sato <satodai@w3m.jp> + + * [w3m-dev 04150] vi-prec_num + * main.c: fix vi_prec_num switching. + +2006-04-08 Dai Sato <satodai@w3m.jp> + + * [w3m-dev 04146] disable HAVE_LANGINFO_CODESET on cygwin + * configure.ac: avoid AM_LANGINFO_CODESET check for Cygwin. + +2006-04-07 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01060] Some patches + * file.c, fm.h, rc.c: Introduce option show_cookie and set it TRUE by default. If set to FALSE received cookies will not be shown. + * This fixes Debian bug #253547: w3m: Too slow receiving cookies. + +2006-04-07 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01060] Some patches + * parsetagx.c: Replace '\n' (newline) with ' ' (space) in attributes of html tags instead of ignoring them. + * Fixes Debian bug #326167: w3m: new lines in hidden form fields are stripped + +2006-04-07 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01060] Some patches + * scripts/w3mman/w3mman*.in: Add w3mman -l <file> command line argument for viewing of local man files. + * Fixes Debian bug #138805: w3mman -l doesn't work. + +2006-04-07 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01060] Some patches + * libwc/detect.c: Use the hint instead of US_ASCII in wc_auto_detect. + * Fixes Debian bug #291735: w3m shouldn't "simplify" page's charset + +2006-04-07 Dai Sato <satodai@w3m.jp> + + * [w3m-dev-en 01060] Some patches + * Str.h, table.c: Use Strnew_charp() instead of the wrong Strnew(). + * Fixes SF bug #895351 Strnew called with argument in table.c. + +2006-02-10 Dai Sato <satodai@w3m.jp> + + * http://dog.w3m.jp/bbs/spool/until200602.html#20060210153135@keijiwan + * url.c: replace pclose passed to localcgi_post/get() with fclose in openURL() + +2006-02-09 Dai Sato <satodai@w3m.jp> + + * http://vimrc.hp.infoseek.co.jp/w3m-pclose.html + * file.c: replace pclose with fclose in the end of uncompress_stream() + +2005-02-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * configure.ac: rename from configure.in. this is for autoconf2.50 + +2005-02-27 NOMIYA Masaru <nomiya@ttmy.ne.jp> + + * [w3m-dev 04143] Patch for OS/2 + * config.h.in: ifdef HAVE_SETPGRP + * configure.in: define USE_BINMODE_STREAM for *os2-emx* + * islang.c: ULONG -> unsigned long + * main.c: ULONG -> unsigned long + +2005-02-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 01045] From newbie: problem with w3m-0.5.1 installation + * acinclude.m4 (AC_W3M_SSL): define USE_SSL after ssl library found + +2005-01-19 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 04133] mouse_end() should preced reset_tty()? + * terms.c (reset_exit): mouse_end() should precede reset_tty() + +2005-01-05 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 04130] [w3m-dev 04131] [w3m-dev 04132] Multiple challeges in *-Authenticate header + * file.c (skip_auth_token): added + (extract_auth_val): ',' is end of token + (extract_auth_param): use skip_auth_token + (AuthDigestCred): parse qop and calc cnonce correctly + (findAuthentication): use skip_auth_token + +2004-11-09 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): + fix unused variable `i' + * w3mimg/x11/x11_w3mimg.c (x11_load_image): + ditto + +2004-11-09 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04128] Re: w3mimgdisplay + * acinclude.m4 (AC_W3M_IMAGE): check not yes + * aclocal.m4, configure: regen + * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): + fb_image_fill in case GDK_PIXBUF_FRAME_DISPOSE + * w3mimg/x11/x11_w3mimg.c (get_animation_size): + return n + (x11_load_image): + fill in case GDK_PIXBUF_FRAME_DISPOSE + +2004-11-05 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04117] Re: start attribute and value attribute on ordered lists + * file.c (HTMLtagproc1): allow negative value for start attr + +2004-10-14 Fumitoshi UKAI <ukai@debian.or.jp> + + * Bug#276246: w3m's locale parsing should at least see '@euro' modifier + * config.h (HAVE_LANGINFO_CODESET): added + * configure.in (AM_LANGINFO_CODESET): added + * libwc/charset.c: #include <langinfo.h> + (wc_charset_to_ces): use nl_langinfo(CODESET) + +2004-09-30 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04108] PIPE_BUF + * main.c (pipeBuf): set buf->currentURL.file to prevent + segfault by "PIPE_BUF cat;VIEW SOURCE;" + +2004-08-31 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + + * [w3m-dev 04104] w3mmail.cgi + * scripts/w3mmail.cgi.in: strip ^M + +2004-08-17 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04099] Re: w3m-img gtk2 + * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix resize bug + +2004-08-06 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04097] Re: w3m-img gtk2 + * w3mimg/fb/fb_gdkpixbuf.c (draw): no need bg + (get_animation_size): use GTimeVal + (fb_image_load): use GTimeVal + fix for animation + * w3mimg/x11/x11_w3mimg.c (get_animation_size): use GTimeVal + (x11_load_image): use GTimeVal + fix for animation + +2004-08-05 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 04096] w3m-img gtk2 + * acinclude.m4 (AC_W3M_IMAGE): add USE_GTK2 + add --with-imagelib=gtk2 + * aclocal.m4 config.guess config.sub configure: regen + * config.h.in: add USE_GTK2 + * w3mimg/fb/fb_gdkpixbuf.c: support USE_GTK2 + * w3mimg/fb/fb_img.h: add fb_image_init() + * w3mimg/fb/fb_imlib2.h: fb_image_init() stub + * w3mimg/fb/fb_w3mimg.c: call fb_image_init() + * w3mimg/x11/x11_w3mimg.c: support USE_GTK2 + +2004-08-03 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 04095] build fix when configure with --enable-messagel10n + * main.c (main): locale and textdomain initialization if ENABLE_NLS + * menu.c (initMenu): use _() instead of gettext() + * rc.c (show_params): use _() instead of gettext() + +2004-07-18 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 04094] Re: option panel: gettextize select list + * rc.c (load_option_panel): don't gettext&wc_conv colorstr + several times + +2004-07-16 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 04093] bookmark charset + * add global variable: BookmarkCharset. + * main.c:adBmark(): remove condition LANG = JA. + * main.c: buffername encode by BookmarkCharset when add bookmark. + * main.c: BookmarkCharset pass to w3mbookmark. + * w3mbookmark.c: ditto. + +2004-07-16 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 04092] remove __CYGWIN__ && LANG == JA + * remove condition LANG == JA && __CYGWIN__ + * cygwin_mouse_btn_swapped enabled when before 1.5.x + +2004-07-16 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 04091] option panel: gettextize select list + * rc.c: gettextize option select list. + * rc.c: add gettextize message. + * po/w3m.pot: ditto. + * po/ja.po: ditto. + +2004-07-14 Fumitoshi UKAI <ukai@debian.or.jp> + + * Debian Bug#259053 + * doc/FAQ.html, doc-jp/FAQ.html: ~/.mailcap -> ~/.w3m/mailcap + +2004-05-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * based on [w3m-dev 04079] + SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + * Makefile.in: (libwc/libwc.a): always make in libwc subdir + (w3mimg/w3mimg.a): always make in w3mimg subdir + +2004-05-03 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 01007] + * libwc/Makefile.in (CFLAGS): need @CPPFLAGS@ + +2004-05-03 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: cvs version + +2004-04-29 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.5.1 + * version.c.in: update + * doc/README: version 0.5, release date, maintainer + * doc-jp/README: ditto + * NEWS: update + * configure.in: version 0.5.1 + * po/w3m.pot, ja.po: update-po + +2004-04-27 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + + * [w3m-dev 04068] install-sh problem + [w3m-dev 04069] install-sh problem 2 + * Makefile.in (MAKE_ARGS): delete INSTALL + * install-sh: replace with X Consortium install-sh (from automake) + +2004-04-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 04073] Re: run configure in another directory + * Makefile.in (CFLAGS): include dir here + (DEFS): delete include dirs + (libwc/libwc.a): pass OPTS only + (w3mimg/w3mimg.a): pass OPTS only + * libwc/Makefile.in (CFLAGS): fixed + * w3mimg/Makefile.in (CFLAGS): added + (fb x11): pass OPTS only + * w3mimg/fb/Makefile.in (CFLAGS): added + * w3mimg/x11/Makefile.in (CFLAGS): added + +2004-04-23 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + + * [w3m-dev 04066] --disable-color + * rc.c (load_option_panel): #ifdef USE_COLOR + +2004-04-22 Masao Uebayashi <uebayasi@pultek.co.jp> + + * fix build error for --enable-m17n --disable-unicode + * libwc/detect.c (wc_create_detect_map): #ifdef USE_UNICODE + +2004-04-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 04064] authentication + closes: Bug#:244029: w3m: HTTP basic authentication annoyance + * fm.h (auth_cookie): deleted + * proto.h (find_auth_cookie): deleted + (add_auth_cookie): deleted + (add_auth_user_passwd): added + (invalidate_auth_user_passwd): added + * etc.c (auth_pass): add bad flag + delete file + (dir_under): deleted + (add_auth_pass_entry): add override flag + no need to check file + (find_auth_pass_entry): delete file + check bad flag + check uname + (find_auth_user_passwd): find by pu->user + (add_auth_user_passwd): added + (invalidate_auth_user_passwd): added + (parsePasswd): add no override + ignore file + (find_auth): deleted + (find_auth_cookie): deleted + (dump_auth_cookie): deleted + (add_auth_cookie): deleted + * file.c (getAuthCookie): add *uname, *pwd + rewrite + (loadGeneralFile): delete ss, add uname, pwd + use add_auth_user_passwd instead of add_auth_cookie + * url.c (HTTPrequest): don't authorization here + it should be done in getAuthCookie in loadGeneralFile + through extra_header + * ftp.c (openFTPStream): add uname + use find_auth_user_passwd instead of find_auth_cookie + use add_auth_user_passwd instead of add_auth_cookie + +2004-04-10 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + + * [w3m-dev 04063] about Makefile + * Makefile.in (DEFS): use CGIBIN_DIR instead of LIB_DIR + (MAKE_ARGS): ditto + (distclean): rm -f + * config.h.dist: use CGIBIN_DIR instead of LIB_DIR + * indep.c (w3m_lib_dir): ditto + * scripts/Makefile.in: ditto + * scripts/multipart/Makefile.in: ditto + * w3mimg/Makefile.in (clearn): remove w3mimg.a + +2004-04-05 AIDA Shinra <shinra@j10n.org> + + * [w3m-dev 04049] w3m-cvs-1.914-misc.patch + * Makefile.in (funcname.tab): dont modify when target is unchanged. + (CFLAGS): need $(CPPFLAGS)? + * config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H + * configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/ + don't use AC_CYGWIN + don't use $CYGWIN, use $host_os *cygwin* + AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h) + add stdint.h, inttypes.h + * etc.c (find_auth_pass_entry): host is case insensitive + * libwc/wc_types.h: use stdint.h or inttypes.h + * main.c (MAIN); need GC_init() + +2004-04-01 Fumitoshi UKAI <ukai@debian.or.jp> + + Debian Bug#241192 w3m ipv6 FQDN resolution failure + * etc.c (FQDN): need to set ai_flags AI_CANONNAME, since we need + ai_canonname here. + +2004-03-31 AIDA Shinra <shinra@j10n.org> + + * [w3m-dev 04050] SSL verify + * url.c (openSSLHandle): don't load verify locations if + both ssl_ca_file and ssl_ca_path is NULL. + +2004-03-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix search problem on different charset page than display charset + * proto.h (conv_search_string): added + * search.c (migemostr): use conv_search_string + (conv_search_string): added + * main.c (srchcore): use conv_search_string + (reMark): ditto + * menu.c (menu_search_forward): ditto + (menu_search_backward): ditto + (menu_search_next_previous): ditto + +2004-03-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * rc.c: cleanup LANG == JA + +2004-03-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * main.c (main): DisplayCharset also follow locale + +2004-03-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * scripts/w3mhelp.cgi.in: use charset parramter + * scripts/w3mhelp-funcdesc.en.pl.in: add charset + * scripts/w3mhelp-funcdesc.ja.pl.in: ditto + +2004-03-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * main.c (main): don't use SystemCharset for default of + DisplayChaset, DocumentCharset + +2004-03-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.5 + * version.c.in: update + * doc/README: version 0.5, release date, maintainer + * doc-jp/README: ditto + * NEWS: update + +2004-03-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * main.c (main): DisplayCharset and DocumentCharset also follow + locale configuration + * Makefile.in (distclean): distclean libwc + * libwc/Makefile.in: add distclean + * scripts/multipart/Makefile.in: add distclean + * scripts/w3mman/Makefile.in: add distclean + * scripts/Makefile.in: add distclean + +2004-03-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3mimg/Makefile.in (distclean): rm -f w3mimg.a + +2004-03-22 Akihiro Sagawa <sagawa@sohgoh.net> + + * [w3m-dev 04046] + * configure.in (AC_W3M_IPv6): should check it after ext libs + +2004-03-22 Akihiro Sagawa <sagawa@sohgoh.net> + + * [w3m-dev 04045] + * Makefile.in (DEFUNS): need $(top_srcdir) + +2004-03-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * Makefile.in (install-po): fix for broken sh. + reported in [w3m-dev 04043] Re: w3m 0.5 + +2004-03-13 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 04041] spell-miss in configure + * acinclude.m4 (AC_W3M_M17N): fix help-string + suggested by sakane@d4.bsd.nes.nec.co.jp (Yoshinobu Sakane) + +2004-02-06 MANTANI Nobutaka <nobutaka@nobutaka.com> + + * [w3m-dev 04038] --disable-m17n problem in form.c + * form.c (form_update_line): fix for disable-m17n + +2004-01-10 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 04030] PUSH_TAG macro + * table.c (PUSH_TAG): fixed problem in --disable-m17n + +2003-12-09 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 04025] mismatch message in ja.po + * po/ja.po: fix wrong messages + +2003-12-09 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 04024] fix: drive letter + * url.c (parseURL2): fix for SUPPORT_DOS_DRIVE_PREFIX + +2003-12-09 YONETANI Tomokazu <qhwt@myrealbox.com> + + * [w3m-dev 04022] $^ + * Makefile.in (DEFUNS): added + funcname.tab: don't use $^ + * w3mimg/Makefile.in (w3mimg.a): don't use $^ + +2003-12-09 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 04021] Deeply nested table + * file.c (completeHTMLstream): check obuf->table_level + +2003-10-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * Bug#217509: segfaults if TERM is not set + * terms.c (check_cygwin_console): check TERM==NULL + (set_tty): check TERM==NULL + +2003-10-23 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 04011] accessing to an `https' URI with a fragment via a proxy + * url.c (HTTPrequestURI): drop fragment + (openURL): don't clear pu->label + +2003-10-23 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 04010] support for deprecated __ss_family + * acinclude.m4 (AC_W3M_IPv6): check __ss_family + * config.h.in: add HAVE_OLD_SS_FAMILY + * ftp.c (ftp_pasv): ifdef HAVE_OLD_SS_FAMILY + +2003-10-23 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 04009] ./configure --disable-image problem + * file.c (loadHTMLstream): if defined(USE_M17N) + +2003-10-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 04006] checking GC_version for libgc + reported by SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + * acinclude.m4 (AC_W3M_GC): check GC_init instead of GC_version + +2003-10-21 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + + * [w3m-dev 03996] HELP_DIR and funcname.tab + * configure.in (HELP_DIR): don't eval + * scripts/w3mhelp.cgi: subst @prefix@ for $helpdir + +2003-10-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * #include <openssl/...> + suggested by ABE Yuji <cbo46560@pop12.odn.ne.jp> + [w3m-dev 03998] problem about pkg-config check for OpenSSL + * html.h: #include <openssl/...> + * istream.c: ditto + * istream.h: ditto + * url.c: ditto + +2003-10-20 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 04002] Re: function and w3m-control + * url.c (getURLScheme): accept numeric in scheme + +2003-10-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03996] HELP_DIR and funcname.tab + reported by SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + * configure.in: don't use posix shell syntax $(..) + * funcname.tab: deleted + +2003-10-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * scripts/Makefile.in (w3mhelp-funcname.pl): depends ../funcname.tab + * Makefile.in (IMGOBJS): deleted + (indep.o): depends on fm.h funcname1.h + (IMGDISPLAY): depends on w3mimg/w3mimg.a + (w3mimg/w3mimg.a): renamed from w3mimg + * acinclude.m4 (AC_W3M_IMAGE): modify IMBOBJS + * w3mimg/Makefile.in (AR): added + (RANLIB): added + (IMGOBJS): added + (w3mimg.a): added + +2003-10-11 qhwt@myrealbox.com + + * [w3m-dev 03990] Re: post-m17n merge problem? + * Makefile.in (MAN1): need $(top_srcdir) + (MAN1_JA): ditto + (LOBJS): depends on fm.h funcname1.h + (INFLATE): depends on $(ALIB) + (libwc/libwc.a): renamed from libwc + (IMGDISPLAY): depends on $(IMGOBJS) instead of w3mimg + depends on $(ALIB) + (w3mimgdisplay.o): depends on w3mimg/w3mimg.h + * acinclude.m4 (AC_W3M_M17N): WCTARGET is libwc/libwc.a + * configure.in (HELP_DIR): expand ${prefix} + +2003-10-08 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03985] Re: support for 307 Temporary Redirect + * file.c (loadGeneralFile): support 307 Temporary Redirect + +2003-10-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix build error --disbable-m17n + * config.h.in: undef USE_M17N, USE_UNICODE + * etc.c (url_unquote_conv): USE_M17N + * file.c (convertLine): USE_M17N + (loadHTMLStream): fix ifdef USE_IMAGE->USE_M17N + (loadBuffer): fix USE_M17N + (getNextPage): fix USE_M17N + * fm.h (USE_M17N): don't define USE_M17N in case LANG == JA + (this should be done by configure) + (wc_ces): dummy typedef + (wc_Str_conv): fix non-m17n macro args + (wc_Str_conv_strict): ditto + * ftp.c (loadFTPDir): fix undefined USE_M17N + * mimehead.c (decodeWord): ditto + (decodeMIME): ditto + * news.c (loadNewsgroup): ditto + * proto.h (convertLine): ditto + (loadGopherDir): ditto + (loadFTPDir): ditto + (loadNewsgroup): ditto + (decodeWord): ditto + (decodeMIME): ditto + (url_unquote_conv): ditto + * terms.c (SETCH): ditto + +2003-10-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * --with-imagelib request on [w3m-dev 03981] + from Mamoru KOMACHI <usata@sodan.ecc.u-tokyo.ac.jp> + * acinclude.m4 (AC_W3M_IMAGE): add --with-imagelib + +2003-10-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix problem reported on [w3m-dev 03981] + from Mamoru KOMACHI <usata@sodan.ecc.u-tokyo.ac.jp> + * configure.in: add AC_SUBST(HELP_DIR) + * Makefile.in (HELP_DIR): use AC_SUBT(HELP_DIR) + * scripts/Makefile.in: add PACKAGE, VERSION, DOMAIN + use PACKAGE instead of package: + CGIBIN_DIR,AUXBIN_DIR,CONF_DIR + add HELP_DIR + add SUBDIRS + (install unstall): do $(SUBDIRS) + * scripts/multipart/Makefile.in: add PACKAGE,VERSION,DOMAIN + use PACKAGE instead of package: + CGIBIN_DIR,AUXBIN_DIR,CONF_DIR + add HELP_DIR + * scripts/w3mman/Makefile.in: add PACKAGE,VERSION,DOMAIN + use PACKAGE instead of package: + CGIBIN_DIR,AUXBIN_DIR,CONF_DIR + add HELP_DIR + add BIN_DIR, MAN1_DIR + LIB_TARGETS->CGIBIN_TARGETS + fix INSTALL_MAN + * scripts/w3mman/w3mman.1.in: + change @LIB_DIR@ to @libexecdir@/@PACKAGE@/cgi-bin/ + +2003-10-01 Akira TAGOH <at@gclab.org> + + * acinclude.m4 (AC_W3M_SSL): use PKG_CHECK_MODULES + +2003-09-29 Fumitoshi UKAI <ukai@debian.or.jp> + + * Makefile.in (distclean): remove posubst + * Makefile.in (functable.c): fix cannot open file `b' for reading + +2003-09-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * funcname.tab: generated from DEFUN + * main.c menu.c: use DEFUN + * conv.c ucs_eucjp.h ucs_latin1.h: deleted + +2003-09-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * add posubst, compile-time message l10n + * Makefile.in: @POSUBST@ + * acinclude.m4(AC_W3M_M17N): add POSUBST, POLANG + --enable-messagel10n + * configure.in (W3M_LANG): subst + (AM_GET_GNUTEXT): if messagel10n enabled, don't use NLS + (AC_OUTOUT): add posubst, chmod +x + * menu.c: remove if LANG == JA messages + * rc.c: ditto + +2003-09-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * remove ./intl + * configure.in: external fo AM_GNU_GETTEXT + * Makefile.in: remove intl, INTLTARGET + +2003-09-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix [w3m-dev 03975] Re: gettextize + * Makefile.in: add INTLTARGET, NLSTARGET + cleanup + * configure.in: INTLTARGET=intl,NLSTARGET=po if USE_NLS + +2003-09-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * gettextize + * Makefile.in: updated + * menu.c: gettextize + * rc.c: gettextize + * intl/.cvsignore: added + * po/.cvsignore: added + * po/Makevars: added + * po/Makevars.template: removed + * po/POTFILES.in: updated + * po/w3m.pot: created + * po/ja.po: created + +2003-09-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * based on [w3m-dev 03970] + SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + * acinclude.m4 (AC_W3M_IMAGE): add IMGTARGETS + * w3mimg/Makefile.in (all): use @IMGTARGETS@ + +2003-09-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * gettextize initial modifications + * configure.in Makefile.in aclocal.m4 config.h.in: + update to support NLS + * ABOUT-NLS: added + * config.rpath: added + * mkinstalldirs: added + * intl/: added + * po/: added + * fm.h: NLS support + * main.c (main): add gettext trigger + +2003-09-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * more autoconfisicate + +2003-09-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * merge m17n patch (w3m-0.4.1-m17n-20030308.patch.gz) + * add libwc + +2003-09-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: cvs version + +2003-09-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.4.2 + * version.c.in: update + * doc/README: version 0.4.2, release date + * doc-jp/README: ditto + * NEWS: update + +2003-09-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03967] Re: IPv4/IPv6 only option patch + * NEWS: options: -4, -6 + * fm.h (DNS_ORDER_INET_ONLY): added + (DNS_ORDER_INET6_ONLY): added + (ai_family_order_table): [3]->[7] + * main.c (fusage): add -4/-6 + (main): -4/-6 mapped to dns_order=4/dns_order=6 + * rc.c (dnsorders): add DNS_ORDER_INET_ONLY, DNS_ORDER_INET6_ONLY + * url.c (dnsorders): add 3-6 + +2003-09-16 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03960] + * acinclude.m4 (AC_W3M_CHECK_VER): fix version check logic + +2003-08-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03958] w3mimgdisplay on jfbterm + * w3mimg/fb/fb_w3mimg.c (w3mimg_fbopen): check TERM=jfbterm + +2003-08-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03957] Location: from local-CGI + * file.c (loadGeneralFile): don't parse header for local file + redirected by Location: from local-CGI + +2003-08-12 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> + + * [w3m-dev 03950] rel attribute of anchor tag + * html.c (ALST_A): add ATTR_REL + (MAXA_A): +1 + +2003-07-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03945] Re: application/xhtml+xml support + * Makefile.in (ETC_DIR): added + (CONF_DIR): added + (DEFS): add CONF_DIR + (MAKE_ARGS): add CONF_DIR + * config.h.in (SYS_MAILCAP): use CONF_DIR + (SYS_URIMETHODMAP): use CONF_DIR + * func.c (sys_current_keymap_file): added + (interpret_keymap): added + (initKeymap): use interpret_keymap + (interpret_mouse_action): added + (initMouseAction): use interpret_mouse_action + * indep.c (w3m_conf_dir): added + * indep.h (w3m_conf_dir): added + * menu.c (interpret_menu): added + (initMenu): use interpret_menu + * proto.h (confFile): added + * rc.c (init_rc): read config file by interpret_rc + (confFile): added + +2003-07-23 Takahashi Youichirou <nikuq@hk.airnet.ne.jp> + + * [w3m-dev 03942] Save history + * history.c (saveHistory): check tmpfile write error + +2003-07-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03941] fix character encoding for 'v' + * main.c (vwSrc): use document_code as DisplayCode + +2003-07-23 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 03939] next/prev visited link + * funcname.tab (NEXT_VISITED): added + (PREV_VISITED): added + * main.c (_nextA): added + (_prevA): added + (nextVA): added + (prevVA): added + * proto.h (nextVA): added + (prevVA): added + * doc/README.func (NEXT_VISITED): added + (PREV_VISITED): added + * doc-jp/README.func (NEXT_VISITED): added + (PREV_VISITED): added + * NEWS: func: NEXT_VISITED, PREV_VISITED + + +2003-07-14 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03938] clear region margin + * w3mimgdisplay.c (clearMargin): added + (GetOption): add -margin + (ClearImage): clear margin + * w3mi,g/w3mimg.h (w3mimg_op): clear_margin + * w3mimg/fb/fb.c (fb_clear): x,y must be >= 0 + * w3mimg/x11/x11_w3mimg.c (x11_clear): x,y must be >= 0 + +2003-07-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03937] <center> in <table> + * table.c (feed_table_tag): fix <center>,</center>,<div>,</div>, + <p>,<br>,<nobr>,</nobr>,<wbr> + check_rowcol() for <img> + +2003-07-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3mimg/fb/fb_img.h (get_image_size): add missing prototypes + * w3mimg/fb/fb.c (fb_clear): unused variable `j' + +2003-07-09 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03935] Re: clear image + * w3mimg/fb/fb.c (fb_get_packed_color): added + (fb_image_pset): use fb_get_packed_color + (fb_image_fill): use fb_get_packed_color + (fb_clear): use tmp to store pixels + +2003-07-09 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03934] Re: clear image + * w3mimg/x11/x11_w3mimg.c (x11_clear): s/FALSE/False/ + +2003-07-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03931] Re: clear image + * w3mimgdisplay.c (ClearImage): offset + * w3mimg/fb/fb.c (fb_clear): memcpy by pixel_size + +2003-07-08 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03929] clear image + * image.c (syncImage): added + (drawImage): rewrite using syncImage() + (clearImage): use clear image command (6) + * w3mimgdisplay.c: change protocol + 2 => terminate drawing + 6 => clear image + (main): '2' calls TermImage() + '6' calls ClearImage() + TermImage() when exit + (TermImage): renamed from ClearImage + (ClearImage): rewritten to call w_op->clear() + * w3mimg.h/w3mimg.h (w3mimg_op): add clear() + * w3mimg/fb/fb.c (fb_clear): added + * w3mimg/fb/fb.h (fb_clear): added + * w3mimg/fb/fb_img.c (fb_image_clear): added + * w3mimg/fb/fb_w3mimg.c (w3mfb_clear): added + (w3mimg_fbopen): initialize wop->clear + * w3mimg/x11/x11_w3mimg.c (x11_clear): added + (w3mimg_x11open): initialize wop->clear + +2003-07-08 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03927] deflate + * file.c (compression_decoder): .deflate for application/x-deflate's + extension + +2003-06-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03916] Re: charset attribute of anchor tag + requested by TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> + for emacs-w3m + * html.c (ALST_A): add ATTR_CHARSET + (MAXA_A): +1 + +2003-06-18 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03914] a fragment in the Referer URI + * url.c (otherinfo): strip URI fragment + +2003-06-13 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03913] fix gif animation support + * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix gif animation + * w3mimg/x11/x11_w3mimg.c (x11_load_image): ditto + +2003-05-15 Akinori Ito <aito@fw.ipsj.or.jp> + + * [w3m-dev 03902] Re: table rendering + * table.c (check_relative_width): check n_leftcell + check w <= r + +2003-05-14 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03901] body with status-code 401 + * file.c (loadGeneralFile): show page when 401, 407 + +2003-05-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03900] Re: table rendering + * table.c (check_relative_width): j loop starts from 0 + +2003-05-14 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + + * [w3m-dev 03899] minor fixes + * acinclude.m4: fix s/SSLCFLAGS/SSL_CFLAGS/ + * doc/README: update, fix typo + * doc-jp/FAQ.html: update, fix URL + * doc-jp/README: update + * doc-jp/README.SSL: update + * doc-jp/README.cookie: update + * doc-jp/README.img: update URL + * doc-jp/README.migemo: update + * doc-jp/STORY.html: fix URL + +2003-05-14 Akinori Ito <aito@fw.ipsj.or.jp> + + * [w3m-dev 03898] Re: table rendering + * table.c (check_relative_width): added + (set_table_matrix): use check_relative_width + +2003-05-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03896] html_quote in textarea in frame + * frame.c (createFrameFile): fix html_quote in textarea in frame + +2003-05-13 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> + + * [w3m-dev 03895] type=image support of pre_form + * form.c (loadPreFOrm): add image + (preFormUpdateBuffer): add FORM_INPUT_IMAGE + * doc/README.pre_form: update + * doc-jp/README.pre_form: ditto + +2003-05-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03891] Re: urimethodmap and relative URL + * url.c (parseURL2): copy scheme part into pu->file when SCM_UNKNOWN + +2003-05-07 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03889] Progress bar in Download List Panel + * main.c (DownloadListBuffer): calculation in double + +2003-05-07 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + + * [w3m-dev 03888] autodetect ssl + * acinclude.m4 (AC_W3M_SSL): use SSL_* + * configure.in: move AC_W3M_SSL after AC_W3M_EXTLIBS + +2003-05-03 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03887] Re: I-search problem + * main.c (dispincsrch): don't move cursor if not found. + +2003-04-27 qhwt@myrealbox.com + + * [w3m-dev 03886] Re: POSTing patch (Re: User-Agent for Bonus/2ch.cgi) + * Bonus/2ch.cgi: posting + +2003-04-20 qhwt@myrealbox.com + + * [w3m-dev 03883] User-Agent for Bonus/2ch.cgi + * Bonus/2ch.cgi: User-Agent + +2003-04-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03882] Re: Bug#189460: w3m: <q> tag is not recognized + * file.c (HTMLtagproc1): add HTML_Q, HTML_N_Q + * html.c (TagMAP): add "q", "/q" + * html.h (HTML_Q): added + (HTML_N_Q): added + * tagtable.tab: add q, /q + +2003-04-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03880] Re: convert \ -> / in URL + * Bonus/backslash_to_slash.cgi: added + +2003-04-15 Masanori Kobayasi <zap03216@nifty.ne.jp> + + * [w3m-dev 03878] I-search problem + * linein.c (inputLineHistSearch): don't call incrfunc twice + * main.c (dispincsrch): fix search loop problem + +2003-04-14 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03875] Re: SSL & compressed stream + * file.c (loadGeneralFile): check t_buf != NULL + * url.c (openURL): don't initialize URLFile here + (init_stream): 0 clear URLFile + +2003-04-14 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03873] SSL & compressed stream + * file.c (loadGeneralFile): always update ssl_certificate + * url.c (openURL): initialize URLFile + +2003-04-12 NAKAJIMA Mikio <minakaji@osaka.email.ne.jp> + + * [w3m-dev 03872] goodict.cgi + * Bonus/goodict.cgi: adapt new goo dict web page + +2003-04-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * configure.in (AUXBIN_TARGETS): don't reset, move to head + +2003-04-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03870] Re: configure --help + * acinclude.m4 (AC_W3M_IMAGE): fix help message + (AC_W3M_SSL): fix typo + +2003-04-09 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03865] Re: configure --help + * acinclude.m4 (AC_W3M_ANSI_COLOR): depends USE_COLOR + (AC_W3M_BG_COLOR): depends USE_COLOR + (AC_W3M_W3MMAILER): depends external_uri_loader + * fm.h: undef USE_BG_COLOR ifndef USE_COLOR + +2003-04-09 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03864] doc/README + * doc/README doc-jp/README: update + +2003-04-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m] local cookie string is too easy to guess. + * fm.h (Local_cookie): deleted + * local.c (Local_cookie): static + (writeLocalCookie): localCookie() + (setLocalCookie): deleted + (localCookie): added + * main.c (main): delete srand48(), setLocalCookie() + (adBmark): s/Local_cookie/localCookie()/ + * proto.h (setLocalCookie): deleted + (localCookie): added + * rc.c (load_option_panel): s/Local_cookie/localCookie()/ + +2003-04-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03858] configure cleanup + * acinclude.m4 configure.in: update + +2003-04-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03856] <gc.h> + * backend.c entity.c fm.h hash.c indep.c indep.h matrix.c + textlist.c: s/"gc.h"/<gc.h>/ + +2003-04-08 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03849] fix no INET6 + * ftp.c: no need ifdef INET6 + +2003-04-08 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03846] fix use_history + * main.c (main): move loadHistory + +2003-04-08 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03844] w3mhelp.cgi update + * scripts/w3mhelp-funcdesc.en.pl.in: add %menu_funcdesc + * scripts/w3mhelp-funcdesc.ja.pl.in: add %menu_funcdesc + update %title + * scripts/w3mhelp-funcname.pl.in: add %menu_funcname + add %menu_keyfunc + * scripts/w3mhelp.cgi.in: modified for menu + link to keymap + +2003-04-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03843] cleanup macros + * config.h.dist config.h.in etc.c file.c fm.h ftp.c linein.c + main.c rc.c: + delete EMACS_LIKE_LINEEDIT, VI_PREC_NUM, LABEL_TOPLINE, + NEXTPAGE_TOPLINE, FTPPASS_HOSTNAMEGEN + use_mark default FALSE + emacs_like_lineedit default FALSE + vi_prec_num default FALSE + add UseHistory, use_history + * NEWS: rc: use_history + +2003-04-05 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03838] W3M_LIBS splitted from LIBS + * Makefile.in (W3M_LIBS): added + * acinclude.m4 (AC_W3M_TERMLIB): use W3M_LIB + (AC_W3M_SSL): ditto + * configure.in (W3M_LIBS): added + +2003-04-04 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03837] Re: gif animation with no delay_time + * w3mimg/fb/fb_gdkpixbuf.c (get_animation_size): add delay + check delay_time + (get_image_size): no need delay time + (fb_image_load): check delay + (draw): no bg + * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): delete delay skip loop + * w3mimg/x11/x11_w3mimg.c (get_animation_size): add delay + check delay_time + (x11_load_image): check delay + (x11_get_image_size): no need delay time + +2003-03-28 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * doc(-jp)/keymap.default: ';' is quoted + +2003-03-28 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * Makefile.in: distclean removes core + +2003-03-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03836] CFLAGS for SSL in configure + * acinclude.m4 (AC_W3M_SSL): add -I$dir/include to CFLAGS + +2003-03-28 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03834] Re: gif animation with no delay_time + * w3mimg/x11/x11_w3mimg.c (x11_load_image): fix delay check + +2003-03-27 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03833] gif animation with no delay_time + * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): skip delay<=0 + * w3mimg/x11/x11_w3mimg.c (x11_image): add delay + (x11_img_new): initialize delay + (x11_load_image): initialize delay + (x11_show_image): jump to last image if delay<=0 + +2003-03-27 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 03831] fix typo + * acinclude.m4 (AC_W3M_LANG): SYSTEM_CODE + * configure.in: fix typo CYGIN + +2003-03-27 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03830] Image size of gif animation + * w3mimg/fb/fb_gdkpixbuf.c (get_animation_size): added + (get_image_size): use get_animation_size() + (fb_image_load): ditto + * w3mimg/x11/x11_w3mimg.c (get_animation_size): added + (x11_load_image): use get_animation_size() + (x11_get_image_size): ditto + +2003-03-25 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03829] w3mimgdisplay -anim + * w3mimgdisplay.c (maxAnim): added, default 100 + (main): add --anim option, w_op->max_anim + * w3mimg/w3mimg.h (w3mimg_op): add max_anim + * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): add max_anim + * w3mimg/fb/fb_img.h (fb_image_load): add max_anim args + * w3mimg/fb/fb_imlib2.c (fb_image_load): add max_anim args + * w3mimg/fb/fb_w3mimg.c (w3mfb_load_image): pass max_anim + * w3mimg/x11/x11_w3mimg.c (x11_load_image): max_anim + +2003-03-24 Daiki Ueno <ueno@unixuser.org> + + * [w3m-dev 03828] possible typo in nextA + * main.c (nextA): fix typo? + +2003-03-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03827] Re: checking for GC_version... no + * configure.in: add dl for extlibs + +2003-03-20 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03825] re-anchor for fold line + * anchor.c (reAnchorPos): fix for fold line + +2003-03-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00910] Re: autoconf: env MAKE not respected + * Makefile.in (SET_MAKE): added + (SHELL): added + +2003-03-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00908] Re: autoconf: --without-migemo is a nop + * acinclude.m4 (AC_W3M_MIGEMO): dont define USE_MIGEMO + when with_migemo=no + +2003-03-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03823] Re: etc.c: treatment for "%7E" is added to expandName() + * url.c (parseURL2): file unquote + * etc.c (expandName): revert previous changes + +2003-03-14 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03822] Re: etc.c: treatment for "%7E" is added to expandName() + * etc.c (expandName): rewrite with strncasecmp + +2003-03-14 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03821] fix for pmake + * Makefile.in: use $(srcdir)/... instead of $< + +2003-03-13 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * etc.c: treatment for "%7E" is added to expandName() + +2003-03-13 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03819] support cd build && ../configure + * Makefile.in: add VPATH + add MV + use $(top_srcdir), $<, $@ + * acinclude.m4 (AC_W3M_VERSION): use $srcdir + * configure.in (AC_W3M_VERSION): move + * mktable.c (main): basename + +2003-03-13 Fumitoshi UKAI <ukai@debian.or.jp> + + * Makefile.in (distclean): added + +2003-03-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03818] fix autoconf + * Makefile.in (CGIBIN_DIR): added + (AUXBIN_DIR): added + (HELP_DIR): added + (RC_DIR): added + (MAKE_ARGS): added + (TARGET): use $(package) + (MAN1_TARGET): ditto + (install): use $(*_DIR) + * acinclude.m4 (AC_W3M_TERMLIB): added + (AC_W3M_GC): default search prefix /usr /usr/local $HOME + fix searches + (AC_W3M_SSL): fix bugs + * config.h (RC_DIR): remove tailing / + (SYS_MAILCAP): use ETC_DIR + (SYS_MIMETYPES): ditto + (USER_MIMETYPES): homedir + * configure.in: quote + (AC_W3M_TERMLIB): use + * Bonus/oldconfigure.sh: rewrite + +2003-03-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03816] --enable-lynx => --enable-keymap=lynx + * acinclude.m4 (AC_W3M_KEYMAP): --enable-lynx => --enable-keymap=lynx + * Bonus/oldconfigure.sh: ditto + +2003-03-12 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03814] fix autoconf + * acinclude.m4: quote variables + * Bonus/oldconfigure.sh: configure using old config.param + +2003-03-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03812] fix autoconf + * acinclude.m4 (AC_W3M_IMAGE): default is autodetect x11,fb + +2003-03-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03810] fix autoconf + * acinclude.m4 (AC_W3M_EXTLIBS): use $dir + (AC_W3M_GC): PREFIX is optional + (AC_W3M_SSL): PREFIX is optional + with_ssl=yes, check usual dirs + use $dir + (AC_W3M_IPv6): use $dir + +2003-03-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03809] fix autoconf + * acinclude.m4 (AC_W3M_CHECK_VER): accept version like "1.9.13-2" + +2003-03-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03808] fix autoconf + * acinclude.m4 (AC_W3M_GC): --with-gc takes PREFIX + check include first + (AC_W3M_CHECK_VER): show checking message + (AC_W3M_IMAGE): if gdkpixbuf found, don't check imlib* + +2003-03-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * Makefile.in (MODEL): delete @W3M_TARGET@ + * configure.in: AC_SUBST(W3M_TARGET) + +2003-03-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * which: deleted + * makeallmomdel: deleted + +2003-03-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03804] fix autoconf + * acinclude.m4 (AC_W3M_MENU): default enabled + (AC_W3M_MOUSE): default enabled + (AC_W3M_COOKIE): default enabled + (AC_W3M_LANG): can't detect locale here. + autoconf set LANG=C + (AC_W3M_DIGEST_AUTH): default enabled + (AC_W3M_SSL): default enabled + * configure.in (AC_W3M_DIGEST_AUTH): added + +2003-03-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03804] fix autoconf + * config.h.in (EAMCS_LIKE_LINEEDIT): define + (VI_PREC_NUM): define + (USE_MARK): define + (LABEL_TOPLINE): define + (NEXTPAGE_TOPLINE): define + (FTPPASS_HOSTNAMEGEN): define + (SHOW_PARAMS): define + (VIEW_UNSEENOBJECTS): define + (ID_EXT): define + +2003-03-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03804] fix autoconf + * acinclude.m4 (AC_W3M_MODEL): deleted + (AC_W3M_COLOR): default enable + (AC_W3M_ANSI_COLOR): default enable + (AC_W3M_BG_COLOR): default enable + (AC_W3M_SHOW_PARAMS): deleted + (AC_W3M_DICT): default enable + (AC_W3M_HISTORY): default enable + (AC_W3M_VIEW_UNSEENOBJECTS): deleted + (AC_W3M_FORMAT_NICE): deleted + (AC_W3M_ID_EXT): deleted + (AC_W3M_FTPPASS_HOSTNAMEGEN): deleted + (AC_W3M_NNTP): default enabled + (AC_W3M_LANG): autodetect whether japanese is enabled + (AC_W3M_KANJI_SYMBOLS): default enabled + (AC_W3M_EMACS_LIKE_LINEEDIT): deleted + (AC_W3M_VI_PREC_NUM): deleted + (AC_W3M_MARK): deleted + (AC_W3M_LABEL_TOPLINE): deleted + (AC_W3M_NEXTPAGE_TOPLINE): deleted + (AC_W3M_SSL): fix without ssl + (AC_W3M_IMAGE): default enabled + (AC_W3M_XFACE): check uncompface + (AC_W3M_IPv6): enable_ipv6 if inet6 lib found + * configure.in (AC_PROG_CPP): added + +2003-03-11 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03803] fix autoconf + * acinclude.m4 (AC_W3M_MIGEMO): add missing test + needs quote + (AC_W3M_SSL): delete x + +2003-03-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03802] fix autoconf + * acinclude.m4 (AC_W3M_CHECK_VER): warn only + +2003-03-11 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03801] fix autoconf + * acinclude.m4 (AC_W3M_BG_COLOR): fix typo + (AC_W3M_KANJI_SYMBOLS): check enable_japanese != 'no' + (AC_W3M_KEYMAP): needs {} + (AC_W3M_EXTLIBS): don't modify libdir, use extlibdir + (AC_W3M_SSL): missing x + (AC_W3M_IMAGE): add AC_DEFINE(USE_IMAGE) + * config.h.in: s/USE_KANJI_SYMBOLS/KANJI_SYMBOLS/ + add SIZEOF_LONG_LONG + don't use //, use /* */ + * configure.in: add AC_CHECK_SIZEOF(long long, 0) + +2003-03-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * autoconfiscate + * Makefile.in: added + * acinclude.m4: added + * aclocal.m4: added (generated from acinclude.m4 by aclocal) + * configure.in: added + * config.h.in: added + * config.guess: added + * config.sub: added + * .cvsignore: add Makefile config.cache config.log config.status + * configure: generated by autoconf + * gc/: deleted + * XMakefile: deleted + * XXMakefile: deleted + * NEWS: autoconficate + +2003-03-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: cvs version + +2003-03-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.4.1 + * version.c.in: update + * doc/README: version 0.4.1, release date + * doc-jp/README: ditto + * NEWS: update + +2003-03-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03794] displayBuffer() when CurrentTab == NULL. + * display.c (displayBuffer): check buf + * linein.c (inputLineHistSearch): check CurrentTab + (next_dcompl): check CurrentTab + (_editor): check CurrentTab + * main.c (resize_screen): check CurrentTab + +2003-03-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03793] incremental search fix + * main.c (dispincsrch): revert sbuf.pos fix + start from next position in next forward search + (srch): start from next position in forward saerch + if not found, restore original position + (srch_nxtprv): start from next position in next forward search + * search.c (forwardSearch): search from current position + +2003-03-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03792] URL match string + incremental search fix + * main.c (chkURLBuffer): allow - at end of URL string + (dispincsrch): start from current position in case of + incremental search + * search.c (forwardSearch): found if same position + (backwardSearch): ditto + +2003-03-03 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03788] UFhalfclose + * file.c (UFhalfclose): closeNews() for SCM_NEWS,NNTP + +2003-02-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03783] pipe to "command1 | command2" + * Bonus/utf8.cgi: added + +2003-02-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03784] ftp directory support + * ftp.c (AbortLoading): added + (KeyAbort): added + (openFTPStream): remove '~' in realpathname? + (loadFTPDir): remove '~' in realpathname? + keyabort + new ex_ftpdir_name_size_date() + add symlink information to flist + (XD_CTOD): deleted + (EX_COUNT_DIGIT): added + (ex_ftpdir_name_size_date): add **link + accept device file + loose date check for localized server + +2003-02-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03783] pipe to "command1 | command2" + * etc.c (myExtCommand): redirect to subshell + * main.c (pipeBuf): conv_to_system(cmd) + shell_quote() + set buf->filename, buf->buffername + +2003-02-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03782] real linenumber for EDIT and EDIT_SCREEN + * main.c (cur_real_linenumber): added + (editBf): use cur_real_linenumber instead of CUR_LINENUMBER + (editScr): ditto + +2003-02-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03781] Debian Bug report logs - #181897: w3m submits query urls with "extra" + * main.c (_followForm): remove tailling '?' + +2003-02-25 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> + + * [w3m-dev-en 00891] Re: w3m 0.4 has been released! + * image.c (getCharSize): set W3M_TTY here, before Imgdisplay invoke + (openImgdisplay): no need setting W3M_TTY here + +2003-02-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: cvs version + +2003-02-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.4 + * version.c.in: update + * doc/README: version 0.4, release date + * doc-jp/README: ditto + * NEWS: update + +2003-02-24 patakuti@t3.rim.or.jp + + * [w3m-dev 03772] Compilation error on Cygwin B20.1 + * terms.c (term_title): use Sprintf() instead of snprintf() + * doc-jp/README.cygwin doc/README.cygwin: add note about B20.1 + +2003-02-21 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 03765] Re: README.cygwin + * doc/README.cygwin: translated + +2003-02-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc/README: update + +2003-02-21 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * [w3m-dev 03762] Re: README.cygwin + * doc/README.cygwin: translated + +2003-02-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03761] eliminate compiler warnings + * ftp.c (ftp_login): Str tmp + * table.c (feed_table_tag): p is used ifdef ID_EXT + +2003-02-21 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 03760] Re: README.cygwin + * doc-jp/README: update + +2003-02-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * 0.4 release candidate 3 + * version.c.in: update + +2003-02-19 Atsushi YOKOYAMA <yoko-a@cmh.fuchu.toshiba.co.jp> + + * [w3m-dev 03758] Re: SVR4 signal behavior + * etc.c (reset_signals): use mySignal() + (setup_child): ditto + (myExec): ditto + (mySignal): added, use sigaction if available + * fm.h (TRAP_ON): use mySignal + (TRAP_OFF): ditto + * istream.c (ISclose): ditto + * main.c (sig_chld): ditto + (main): ditto + (do_dump): ditto + (resize_hook): ditto + (resize_handler): ditto + (srchcore): ditto + (readsh): ditto + (SigAlarm): ditto + * proto.h (mySignal): added + * terms.c (error_dump): use mySignal() + (set_int): ditto + (mouse_init): ditto + +2003-02-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03753] Fixed multipart.cgi + * scripts/multipart/multipart.cgi.in: remove w3m-control + use input hidden + add form_encode + +2003-02-18 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 03749] README.cygwin + * doc-jp/README.cygwin: added + * doc/README: updated + +2003-02-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * 0.4 release candidate 2 + * version.c.in: update + +2003-02-13 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03742] Re: Bug##180814: w3m: Missing w3mimgdisplay message at startup + * image.c (getCharSize): stderr redirect to omit /bin/sh error message + +2003-02-13 Fumitoshi UKAI <ukai@debian.or.jp> + + * XMakefile (install-core): fix for broken non-POSIX /bin/sh + +2003-02-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev-en 00868] fix mark_all_pages + * anchor.c (reAnchorAny): next_line process for MarkAllPages + +2003-02-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev-en 00867] fix installation problem + * XMakefile (install-core): test AUXBIN_TARGETS + +2003-02-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: cvs version + +2003-02-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * 0.4 release candidate 1 + * version.c.in: update + +2003-02-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03737] local-CGI POST + * local.c (localcgi_post): use tmp file + +2003-02-08 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03736] dirlist sort + * scripts/dirlist.cgi.in (right_dir): use cmp for filename comparison + +2003-02-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03735] Re: make error of checkType arg + * etc.c (checkType): delete USE_ANSI_COLOR + * file.c (addnewline): macro for USE_ANSI_COLOR + (readHeader): rewrite of USE_ANSI_COLOR + (HTMLlineproc2body): ditto + (addnewline2): ditto + (addnewline): ditto + (loadBuffer): ditto + (getNextPage): ditto + * proto.h (checkType): macro for USE_ANSI_COLOR + +2003-02-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03733] Re: display decoded URL + * display.c (make_lastline_link): buf->document_code + +2003-02-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03732] Re: scroll() is slow ? + * configure (use_raw_scroll): added + (config.h) use_raw_scroll + * config.h.dist (USE_RAW_SCROLL): added + * display.c (displayBuffer): ifdef USE_RAW_SCROLL + * proto.h (scroll): ifdef USE_RAW_SCROLL + (rscroll): ditto + (need_clrtoeol): if 0 + (terms.c): if 0 need_clrtoeol + (scroll_raw): ifdef USE_RAW_SCROLL + +2003-02-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: rc: decode_url + +2003-02-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03730] display decoded URL + * anchor.c (link_list_panel): support DecodeURL + * display.c (make_lastline_link): support DecodeURL + * etc.c (url_unquote_conv): added + * fm.h (DecodeURL): added + * history.c (historyBuffer): support DecodeURL + * indep.c (QUOTE_MAP): added + (HTML_QUOTE_MAP): added + (html_quote_char): deleted + (url_quote): use is_url_quote + (file_quote): use is_file_quote + (is_url_safe): deleted + (Str_form_quote): use is_url_unsafe + (Str_url_unquote): add safe args + (is_shell_safe): delete + (shell_quote): use is_shell_unsafe + * indep.h (QUOTE_MAP): added + (HTML_QUOTE_MAP): added + (HTML_QUOTE_MASK): added + (SHELL_UNSAFE_MASK): added + (URL_QUOTE_MASK): added + (FILE_QUOTE_MASK): added + (URL_UNSAFE_MASK): added + (GET_QUOTE_TYPE): added + (is_html_quote): added + (is_shell_unsafe): added + (is_url_quote): added + (is_file_quote): added + (is_url_unsafe): added + (html_quote_char): added + (html_quote_char): deleted + (Str_url_unquote): added safe + (form_unquote): Str_url_unquote changes + * linein.c (_prev): support DecodeURL + (_next): ditto + * main.c (goURL0): support DecodeURL + (_peekURL): ditto + (curURL): ditto + * map.c (follow_map_panel): support DecodeURL + (append_map_info): ditto + (append_link_info): ditto + (append_frame_info): ditto + (page_info_panel): ditto + * menu.c (initSelectMenu): delete SCM_LOCAL_CGI + support DecodeURL + (initSelTabMenu): delete SCM_LOCAL_CGI + support DecodeURL + (link_menu): support DecodeURL + * parsetagx.c (parse_tag): is_html_quote + * proto.h (url_unquote_conv): added + * rc.c (CMT_DECODE_URL): added + (params1): add decode_url + * url.c (openURL): Str_url_unquote non safe + +2003-02-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03729] buf fix of reAnchorNewsheader() + * anchor.c (reAnchorAny): check l->bpos + (reAnchorNewsheader): check l->bpos + strlen(*q) + lineBuf[l->size] + +2003-02-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03728] IPv6 hostname + * url.c (parseURL): rewrite IPv6 address parser + +2003-02-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03724] Re: view source, edit source + * buffer.c (reshapeBuffer): initialize buf->width first + * display.c (displayBuffer): no need to check buf>sourcefile + +2003-02-01 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03721] PATH_INFO support of local CGI + * local.c (CGIFN_DROOT): deleted + (CGIFN_LIBDIR): added + (CGIFN_MODE): deleted + (CGIFN_CONTAIN_SLASH): deleted + (check_local_cgi): rewrite + (cgi_filename): rewrite + (localcgi_post): support PATH_INFO + * url.c (openURL): rewrite + * Bonus/smb.cgi: use PATH_INFO + +2003-02-01 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03720] mark remains + * main.c (srchcore): PREC_NUM + +2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03719] Re: Too slow when loading big file with fold_line=1 + * file.c (addnewline): check i <l->len + +2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03718] Too slow when loading big file with fold_line=1 + * etc.c (nextColumn): added + (calcPosition): use New_N + rewrite with nextColumn + (columnLen): added + * file.c (addnewline): rewrite with columnLen + * proto.h (columnLen): added + +2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03717] print newline before exec shell command. + * main.c (execsh): print newline + +2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03715] initial currentLine when pager mode. + * file.c (getNextPage): fix cur + +2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03714] -cols 1 -dump -o fold_line=1 + * file.c (addnewline): check i == 0, i == l->len + * fm.h (_INIT_BUFFER_WIDTH): added + (INIT_BUFFER_WIDTH): use _INIT_BUFFER_WIDTH + +2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03713] search with "$" + * search.c (forwardSearch): check l->next && l->next->bpos + (backwardSearch): check l->size, l->next && l->next->bpos + +2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03712] buf fix of LINE_INFO + * main.c (curlno): rewrite + +2003-01-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03709] Re: view source, edit source + * display.c (displayBuffer): INIT_BUFFER_WIDTH + * file.c (_saveBuffer): added + (saveBuffer): use _saveBuffer + (saveBufferBody): added + * main.c (vmSrc): saveBufferBody + * proto.h (saveBufferBody): added + +2003-01-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev-en 00852] Re: Enhancement: content type detection of files + * url.c (DefaultGuess): remove upppercases + (guessContentTypeFromTable): rewrite, strcasecmp + +2003-01-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03708] Re: Don't stop loading image when moving to next page. + * config.h.dist (lstat): define ifndef HAVE_LSTAT + * configure (config.h) ditto + * display.c (fmTerm): new loadImage + (save_current_buf): only ifdef USE_BUFINFO + (displayBuffer): new loadImage + * etc.c (setup_child): TrapSignal + * file.c (loadGeneralFile): TRAP_OFF, TRAP_ON + (loadHTMLstream): ditto + (loadGopherDir): ditto + (loadBuffer): ditto + (loadImageBuffer): ditto + (getNextPage): ditto + (save2tmp): ditto + * fm.h (TrapSignal): added + (TRAP_ON): added + (TRAP_OFF): added + * form.c (HAVE_LSTAT): deleted + * frame.c (createFrameFile): TRAP_OFF, TRAP_ON + * image.c (image_buffer): added + (deleteImage): new loadImage + (getAllImage): initialize image_buffer + (loadImage): rewrite + * main.c (main): new loadImage + (checkDownloadList): remove ifdef HAVE_LSTAT + * news.c (loadNwesgroup): TRAP_ON, TRAP_OFF + * proto.h (loadImage): add buf arg + * url.c (openSocket): TRAP_ON, TRAP_OFF + (check_no_proxy): TRAP_ON, TRAP_OFF + +2003-01-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03707] Don't stop loading image when moving to next page. + * display.c (save_current_buf): required when defined USE_IMAGE + (displayBuffer): stop only buffer changed + * image.c (loadImage): IMG_FLAG_START load from maxLoadImage + +2003-01-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03706] X-Image-URL: support, bug fix of reshapeBuffer() + * buffer.c (reshapeBuffer): rewrite + * file.c (readHeader): rewrite + +2003-01-29 NAKAJIMA Mikio <minakaji@osaka.email.ne.jp> + + * [w3m-dev 03705] goodict.cgi (was: Re: google.cgi (was: Re: keymap key SEARCH string)) + * Bonus/goodict.cgi: added + +2003-01-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03700] Re: google.cgi (was: Re: keymap key SEARCH string) + * main.c (goURL0): check relative or *url == '#' + +2003-01-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03689] Re: fold patch + * fm.h (BufferPos): add bpos + * main.c (save_buffer_position): bpos initialize + (resetPos): reset bpos + +2003-01-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03686] Re: fold patch + * buffer.c (writeBufferCache): rewrite + (readBufferCache): rewrite + * etc.c (calcPosition): short -> int realColumn + * fm.h (Line): short -> int len,width,size,bpos,bwidth + (BufferPoint): short->int pos + (Buffer): short->int currentColumn,pos,visualpos + (BufferPos): short->int currentColumn,pos + * frame.h (frameset_queue): short->int pos,currentColumn + * main.c (clear_mark): short->int pos + (dispincsrch): short->int pos + (backBf): short->int pos + (set_buffer_environ): short->int prev_pos + +2003-01-25 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03684] Re: fold patch + * file.c (PSIZE): added + (HTMLlineproc2body): outc,outp is created by NewAtom_N + use PSIZE + +2003-01-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * file.c (getNextPage): no need volatile for code + +2003-01-25 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03683] interrupt in getNextPage() + * file.c (getNextPage): trap SIGINT + +2003-01-25 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03682] open null file on tab + * display.c (displayBuffer): if empty, clear() + +2003-01-25 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03681] Re: fold patch + * buffer.c (reshapeBuffer): buf->pos, sbuf.currentLine fix + FoldLine + * display.c (arrangeCursor): buf->pos fix + (restorePosition): buf->pos fix + +2003-01-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: func: RESHAPE + rc: fold_line + +2003-01-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix compiler warnings + * display.c (displayBuffer): fix suggest parentheses around && within || +2003-01-24 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03667] fold patch + * anchor.c (reAnchorPos): rewrite + (reAnchorWord): delete reseq_anchor() + (reAnchorAny): use l->size + delete reseq_anchor() + * backend.c (internal_get): pass TRUE to saveBuffer + * buffer.c (newBuffer): delete n->linelen + (reshapeBuffer): rewrite + * display.c (displayBuffer): FoldLine + (redrawLine): l->bpos + (cursorUp0): added + (cursorUp): rewrite + (cursorDown0): added + (cursowDown): rewrite + (cursorRight): check l->next + l->bwidth + (cursorLeft): l->prev && l->bpos + l->bwidth + (arrangeCursor): buf->currentLine->bwidth + buf->cursorX + * etc.c (checkType): **oporp + rewrite + (calcPosition): realColumn allocated by New_reuse + * file.c (addnewline): add nlines arg + (propBuffer): deleted + (colorBuffer): deleted + (readHeader): propBuffer + FOLD_BUFFER_WIDTH + (HTMLlineproc2body): rewrite + (addnewline2): added + (addnewline): rewrite + (loadBuffer): propBuffer, colorBuffer + (saveBuffer): cont arg + (getNextPage): rewrite + * fm.h (LINELEN): 256 + (FNLEN): deleted + (Line): add size, bpos, bwidth + (Buffer): delete linelen + (INIT_BUFFER_WIDTH): check showLineNum + (FOLD_BUFFER_WIDTH): added + (FoldLine): added + * funcname.tab (RESHAPE): added + * main.c (do_dump): pass FALSE to saveBuffer + (nscroll): rewrite + (clear_mark): l->size + (shiftvisualpos): rewrite + (pipeBuf): pass TRUE to saveBuffer + (linebeg): check line->prev && line->bpos + (linend): check line->next, line->next->bpos + (editScr): pass TRUE to saveBuffer + (svBuf): pass TRUE to saveBuffer + (vmSrc): pass TRUE to saveBuffer + (reshape): added + (curlno): rewrite + * mimehead.c (LINELEN): deleted + * proto.h (reshape): added + (saveBuffer): add cont arg + (cursorUp0): added + (cursorDown0): added + (checkType): change type oprop, ocolor, delete check_color, len + * rc.c (CMT_FOLD_LINE): added + (params1): add fold_line + (sync_with_option): check PagerMax + * search.c (set_mark): l->size + (forwardSearch): rewrite + (backwardSearch): rewrite + * doc/README.func (RESHAPE): added + * doc-jp/README.func (RESHAPE): added + * scripts/w3mhelp.cgi.in (Buffer operation): add reshape + +2003-01-24 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * etc.c (next_status): after = is R_ST_VALUE + R_ST_VALUE > => R_ST_NORMAL + R_ST_VALUE SP => R_ST_TAG + (read_token): R_ST_VALUE + (correct_irrtag): R_ST_VALUE + * rm.h (R_ST_VALUE): added + (ST_IS_REAL_TAG): rewrite + (ST_IS_COMMENT): deleted + (ST_IS_TAG): deleted + * parsetagx.c (parse_tag): skip too long tagname + skip too long attrname + if attrvalue has quote char, need reconstruct + if unknown attr, need reconstruct + * table.c (visible_length): R_ST_VALUE + +2003-01-24 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03680] showProgress() on fast system + * file.c (showProgress): check line len, time + +2003-01-24 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03679] Re: cleanup for pipe + * etc.c (open_pipe_rw): check stdin, stdout + * file.c (uncompress_stream): rewrite + +2003-01-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03678] Re: config.param is clear when configure -help + * configure: don't override config.param + +2003-01-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03677] view source, edit source + * buffer.c (discardBuffer): unlink header source + * file.c (loadFile): delete skip header + * fm.h (BP_SOURCE): deleted + (SkipHeader): deleted + * main (editBf): cleanup + (vmSrc): cleanup + +2003-01-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03676] cleanup for pipe + * etc.c (open_pipe_rw): added + * file.c (uncompress_stream): rewrite using open_pipe_rw + * image.c (openImgdisplay): rewrite using open_pipe_rw + * local.c (localcgi_popen_rw): deleted + (localcgi_post): rewrite using open_pipe_rw + * proto.h (open_pipe_rw): added + * search.c (migemor): initialized to NULL + (migemow): initialized to NULL + (migemo_pid): initialized to 0 + (open_migemo): rewrite using open_pipe_rw + +2003-01-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03675] x-face + * file.c (xface2xpm): use getImage() + (readHeader): check same file + (loadImageBuffer): rewrite + (lessopen_stream): shell_quote() + +2003-01-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03674] -dump problem + * file.c (loadGeneralFile): return NULL when dump + * main.c (dump_source): deleted + (dump_head): deleted + (dupm_extra): deleted + (do_dump): added + (main): singal when dump + +2003-01-23 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 03671] Re: config.param is clear when configure -help + * configure: test -f config.param + +2003-01-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03665] imlib2 support (on X11) + * configure: X11 inline image with Imlib2 + fix typo in fb/imlib2 + * w3mimg/x11/x11_w3mimg.c: USE_IMLIB2 + (x11_load_image): USE_IMLIB2 + (x11_show_image): USE_IMLIB2 + (x11_free_image): USE_IMLIB2 + (x11_get_image_size): USE_IMLIB2 + +2003-01-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03664] config.param is clear when configure -help + * configure: config.param created after arg parsing + +2003-01-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * map.c (follow_map_menu): if USE_IMAGE or MENU_MAP + * proto.h (follow_map_menu): ditto + +2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03660] Re: fputs -> Strfputs + * Str.h (Strncmp_charp): paren + (Strncasecmp_charp): ditto + (Strinsert): ditto + (Strshrinkfirst): ditto + * display.c (disp_err_message): added + * file.c (loadGeneralFile): don't put function in macro arg + (saveBuffer): ditto + * frame.c (createFrameFile): ditto + * proto.h (disp_err_message): macro->function + * table.c (pushdata): if data is NULL, use "" + (suspend_or_pushdata): if line is NULL, use "" + * textlist.h (pushText): don't use (s) twice in a macro + +2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03659] Can't download from SSL. + * istream.c (ISfileno): case IST_SSL + +2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03658] Re: Other user can see local cookie. + * fm.h (rc_dir): init(NULL) + * rc.c (config_file): deleted + (init_rc): use rc_dir + +2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03657] fputs -> Strfputs + * form.c (form_fputs_decode): use Strfputs() + +2003-01-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03655] Re: file.c:image_source when undef USE_IMAGE + * map.c (follow_map_menu): fix warnings + +2003-01-19 WATANABE Katsuyuki <knabe@sannet.ne.jp> + + * [w3m-dev 03654] file.c:image_source when undef USE_IMAGE + * file.c (readHeader): image_source ifdef USE_IMAGE + (loadGeneralFile): ditto + (uncompress_stream): ditto + +2003-01-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03653] SourceForge.net: 576032 w3m https crashes with OpenSSL-0.9.7 + * istream.c (ssl_check_cert_ident): use sk_GENERAL_NAME_free() + +2003-01-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03652] Re: Debian bug #176981 + * file.c (checkHeader): always remove_space + (loadGeneralFile): no need remove_space + +2003-01-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03651] Debian bug #176981 + * file.c (checkRedirection): added + (loadGeneralFile): check redirection + t_buf only is created when it is NULL + remove_space + +2003-01-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03647] expandName() and expandPath() + * etc.c (openSecretFile): use expandPath + (expandName): rewrite + (file_to_url): use expandPath + * file.c (_doFileCopy): use expandPath + (doFileSave): use expandPath + * indep.c (expandPath): rewrite + * linein.c (inputLineHistSearch): use expandPath + (next_dcompl): use expandPath + (doComplete): use expandPath + * local.c (set_cgi_environ): rewrite + * mailcap.c (loadMailcap): use expandPath + * main.c (svBuf): use expandPath + (addDownloadList): use expandPath + * rc.c (init_rc): use expandPath + (rcFile): rewrite + (auxbinFile): use expandPath + (libFile): use expandPath + (etcFile): use expandPath + (helpFile): use expandPath + * url.c (loadMimeTypes): use expandPath + (loadURIMethods): use expandPath + +2003-01-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03646] setup child process, local CGI + * etc.c (reset_signals): static + don't ignore SIGUSR1 + (close_all_fds_except): static + DEV_NULL_PATH + (setup_child): added + (myExec): rewrite + (mySystem): rewrite + * file.c (readHeader): check image_source + (loadGeneralFile): check image_source + (doExternal): use setup_child + (_doFileCopy): use setup_child + (doFileSave): use setup_child + (uncompress_stream): check image_source + use setup_child + * image.c (getCharSize): no need stderr redirect + (openImgdisplay): use setup_child + (loadImage): use setup_child + (getImageSize): no need stderr redirect + * local.c (writeLocalCookie): check Local_cookie_file + (localcgi_popen_rw): added + (localcgi_popen_r): deleted + (localcgi_post): rewrite + (localcgi_get): deleted + * proto.h (localcgi_get): defined by localcgi_post + (reset_signals): deleted + (close_all_fds_except): deleted + (close_all_fds): deleted + (setup_child): added + * search.c (open_migemo): use setup_child, myExec + * w3mimgdisplay.c (main): use DEV_NULL_PATH + +2003-01-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03644] Re: Other user can see local cookie. + * cookie.c (save_cookies): return if no_rc_dir + * etc.c (tmpf_base): add cookie + (tmpfname): use tmp_dir instead of rc_dir + * file.c (loadGeneralFile): cookie is not passed via URL + * fm.h (TMPF_COOKIE): incl + (MAX_TMPF_TYPE): incl + (no_rc_dir): added + (tmp_dir): added + (config_file): added + * local.c (Local_cookie_file): added + (writeLocalCookie): added + (setLocalCookie): dont set environment LOCAL_COOKIE + (localcgi_post): writeLocalCookie + (localcgi_get): writeLocalCookie + * main.c (config_filename): deleted + (cmd_loadURL): arg FormList + (main): rewrite config_file, rc + (ldhelp): no cookie in URL + (cmd_loadURL): arg FormList + (goURL0): cmd_loadURL change + (cmd_loadBuffer): cmd_loadURL change + (adBmark): cookie is posted + (follow_map): cmd_loadURL change + (linkMn): cmd_loadURL change + (reinit): init_rc change + * proto.h (create_option_search_table): deleted + (init_rc): no args + * rc.c (create_option_search_table): static + (init_rc): no args + rewrite + (optionpanel_src1): rewrite + (load_option_panel): html_quote + (panel_set_option): no_rc_dir + * w3mbookmark.c: rewrite + * w3mhelperpanel.c: rewrite + * scripts/dirlist.cgi.in: rewrite + * scripts/w3mhelp.cgi.in: rewrite + * scripts/w3mmail.cgi.in: rewrite + * scripts/multipart/multipart.cgi.in: rewrite + +2003-01-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * file.c (loadGopherDir): convertLine RAW_MODE + * ftp.c (loadFTPDir): ditto + +2003-01-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03642] Re: cleanup (don't close connection of news server) + * local.c (localcgi_post): localcgi_popen_r first + +2003-01-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03641] Re: cleanup (don't close connection of news server) + * ftp.c (ftp_command): fix fwrite arg + * news.c (news_command): fix fwrite arg + +2003-01-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03640] Re: cleanup (don't close connection of news server) + * anchor.c (_put_ahchor_news): always conv_str + (_put_anchor_all): always conv_str + * etc.c (close_all_fds): deleted + (close_all_fds_except): added, except fd=f is left open + * file.c (guess_filename): added + (UFhalfclose): added + (convertLine): cleanup_line if not raw mode + check uf + (readHeader): always convertLine + (loadGeneralFile): rewrite + (loadGopherDir): return Str, args change to ParsedURL and code + rewrite + (saveBuffer): always conv_str + (_doFileCopy): close_all_fds + (doFileSave): close_all_fds_except + (uncompress_stream): dup, close_all_fds_except + * form.c (form_fputs_decode): always conv_str + (input_textarea): convertLine + * frame.c (createFrameFile): convertLine + * ftp.c (loadFTPDir): arg code + rewrite + (readFTPDir): convertLine + * html.h (UFfileno): added + * image.c (loadImage): close_all_fds + * indep.h (RAW_MODE): added + * local.c (loadLocalDir): return Str + (dirBuffer): rewrite + (localcgi_popen_r): close_all_fds + * main.c (main): check SCM_LOCAL + print err_msg + * news.c (news_command): args cmd and arg + (news_quit): news_command + (openNewsStream): news_command + (readNewsgroup): deleted + (loadNewsgroup): added + (closeNews): added + * proto.h (loadGopherDir): update + (conv_str): define for no JP_CHARSET + (readFTPDir): deleted + (loadFTPDir): added + (readNewsgroup): deleted + (loadNewsgroup): added + (dirBuffer): deleted + (loadLocalDir): added + (close_all_fds): defined by close_all_fds_except + (close_all_fds_except): added + +2003-01-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03639] Re: smb.cgi + * Bonus/2ch.cgi: change password handling + * Bonus/README: update + * Bonus/README.eng: ditto + +2003-01-12 qhwt@myrealbox.com + + * [w3m-dev 03636] segfault in main.c + * main.c (main): check newbuf->currentURL.file + +2003-01-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * Bonus/README.eng: sync with Bonus/README + +2003-01-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03635] 2ch.cgi + * Bonus/2ch.cgi: added + * Bonus/README: update + +2003-01-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * Bonus/README.eng: sync with Bonus/README + +2003-01-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03634] smb.cgi + * Bonus/smb.cgi: added + * Bonus/README: update + +2003-01-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * ftp.c (ftp_pasv): ftp_command response + (readFTPDir): masked declaration of realpathname + +2003-01-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03633] Re: cleanup (don't close connection of news server) + * file.c (FTPhalfclose): deleted + (loadGeneralFile): closeFTP when doFileSave is done + (_doFileCopy): return int + (doFileMove): return int + (doFileSave): return int + * ftp.c: rewrite + * main.c (w3m_exit): disconnectFTP + * proto.h (_doFileCopy): return int + (doFileMove): return int + (doFileSave): return int + (openFTP): deleted + (openFTPStream): return InputStream + (closeFTP): no arg + (Ftpfclose): disconnectFTP + * url.c (openFTPstream): deleted + +2003-01-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix compiler warnings + * html.h (UFclose): value computed but not used + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03632] cleanup (don't close connection of news server) + * file.c (loadSomething): remove UFclose nntp:,news: + (loadFile): UFclose + (loadGeneralFile): always UFclose + * html.h (UFclose): only reset when ISclose ==0 + * istream.c (ISclose): return int + (ISfileno): flag IST_UNCLOSE + * istream.h (ISclose): return int + (IST_UNCLOSE): added + * news.c (news_close): reset IST_UNCLOSE + (news_open): set IST_UNCLOSE + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03631] display current form item + * form.c (form2str): rewrite + * istream.c (ssl_get_certificate): fix typo + * map.c (follow_map_panel): valign=top + (append_map_info): valign=top + (append_link_info): valign=top + (append_frame_info): <pre_int> + html_quote ssl_certificate + (page_info_panel): rewrite, html_quote + +2003-01-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc/README.pre_form: update + * doc-jp/README.pre_form: ditto + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03630] improved pre_form + * form.c (pre_form): add re_url, name + (add_pre_form): add name + rewrite + (loadPreForm): add "form" + (preFormUpdateBuffer): handle re_url + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03629] delete tmp file + * etc.c (tempfname): always file to delete + * file.c (xface2xpm): no need fileToDelete + (readHeader): ditto + (loadGeneralFile): ditto + (loadHTMLBuffer): ditto + (loadHTMLString): ditto + (loadGopherDir): ditto + (loadImageBuffer): ditto + (doExternal): rewrite + (doFileSave): no need fileToDelete + (uncompress_stream): ditto + * fm.h (CurrentPid): added + * image.c (getImage): cache->touch to delete + * local.c (setLocalCookie): use CurrentPid + (localcgi_post): fileToDelete + * main.c (main): CurrentPid + (pipeBuf): no need fileToDelete + (query_from_followform): CurrentPid + (vmSrc): no need fileToDelete + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03628] Re: Error occured while reset + * file.c (doExternal): bufp = NULL, return 1 + (uncompress_stream): tempfname fileToDelete + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03626] Re: relative URL + * url.c (parseURL2): copy if scheme is local or local-cgi + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03625] keymap key SEARCH string + * main.c (srch): accept command argument + (reMark): accept command argument + * Bonus/google.cgi: added + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03622] Re: Error occured while reset + * file.c (uncompress_stream): child process initialized + * terms.c (close_tty): close unless stdin,out,err + (reset_tty): flush_tty, close_tty + (write1): flush_tty + (refresh): flush_tty + (flush_tty): check ttyf + +2003-01-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03620] -m option and header + * buffer.c (reshapeBuffer): fix reading from stdin + fix -m option + * display.c (redrawNLine): rewrite + (redrawLine): return l instead of l->next + (redrawLineImage): ditto + * file.c (loadFile): read header even if skip header + (loadGeneralFile): read header even if skip header + * fm.h (SkipHeader): added + * main.c (main): check whether reading from stdin + SkipHeader + +2003-01-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03619] Re: Error occured while reset + * file.c (process_img): check image.ext + (HTMLlineproc2body): check image.ext + (loadImageBuffer): url, ext is in URLFile + * frame.c (unloadFrame): no need to push to fileToDelete + (copyFrame): no need to reset FB_TODELETE + (resetFrameElement): f_body->source, buf->sourcefile + (frame_download_source): buf->source + buf->sourcefile reset + * frame.h (FB_NOCACHE): deleted + (FB_TODELETE): deleted + * main.c (vmSrc): Currentbuf->sourcefile + need_reshape if images exist + +2003-01-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03617] sourcefile when Content-Encoding: is specified. + * file.c (uncompress_stream): add src arg + (examineFile): change uncompress_stream + (loadGeneralFile): change uncompress_stream + (doExternal): src + (uncompress_stream): ext + tmpfile with same ext + +2003-01-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03616] Re: data: URL scheme + * file.c (loadGeneralFile): check SCM_DATA + (loadImageBuffer): newBuffer() + * html.h (SCM_DATA): added + * indep.c (url_unquote): deleted + (Str_url_unquote): renamed from Str_form_unquote + + is decoded is_form only + * indep.h (url_unquote): deleted + (Str_url_unquote): added + (Str_form_unquote): define by Str_url_unquote + * main.c (followA): file_unquote + (cmd_loadURL): file_unquote + * url.c (DefaultPort): add for data: + (schemetable): add "data" + (DefaultFile): SCM_FTPDIR + (parseURL): scheme copied from current + (parseURL2): SCM_DATA + check SCM_FTP, SCM_FTPDIR + (_parsedURL2Str): add data in scheme_str + handle SCM_DATA + SCM_FTPDIR + (openURL): file_unquote + handle SCM_DATA + +2003-01-08 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03611] relative URL + * news.c (openNewsStream): don't skip '/' for nntp: + (readNewsgroup): cleanup + * url.c (parseURL): don't copy user & password + (parseURL2): fix for group, don't copy user & password + +2003-01-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix build warnings + * url.c (parseURL2): fix comparison between pointer and integer + * news.c (readNewsgroup): variable `scheme',`group',`list' might be clobbered by `longjmp' or `vfork' + +2003-01-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03610] Re: news:<newsgroup> + * anchor.c (_put_anchor_news): check '<' + (reAnchorNewsheader): added + * file.c (loadSomething): Subject: as buffername + (checkHeader): check buf->document_header + (loadGeneralFile): reAnchorNewsheader + * html.h (SCM_NNTP_GROUP): added + * main.c (main): delete USE_NNTP in switch (newbuf->real_scheme) + (chkNMIDBuffer): lowercase in url_like_pat + * news.c (add_news_message): add scheme, group as arg + (openNewsStream): check SCM_NNTP_GROUP + check current_news.host + (readNewsgroup): rewrite to support nntp:,news: extension + * proto.h (reAnchorNewsheader): added + * url.c (DefaultPort): add 119 for nntp group + (parseURL2): rewrite to support nntp:,news: extension + (_parsedURL2Str): add for SCM_NNTP_GROUP + (openURL): rewrite to support nntp:,news: extension + +2002-12-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix build errors + * display.c (make_lastline_message): fix error for undef JP_CHARSET + * news.c (readNewsgroup: `code' always required + + * gcc -Wall -Werror clean + * file.c (loadHTMLstream): unused variable `p' + * news.c (news_command): unused variable `c' + (news_open): unused variable `tmp' + (readNewsgroup): volatile page, qgroup, flag, start, end + uninitialized variable `page' + * url.c (openURL): unused variable `fw', `r', `stream' + +2002-12-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * rc: nntpserver, nntpmode, max_news + +2002-12-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03608] news:<newsgroup> + * XMakefile (LSRCS): add news.c + (LOBJS): add news.o + * file.c (loadSOmething): don't UFclose() for nntp/news + (readHeader): remove . at beginning of line for news + img link to file: + (loadGeneralFile): add SCM_NEWS_GROUP + don't UFclose() for nntp/news + (loadHTMLstream): . line check for news + (loadBuffer): . line check for news + * fm.h (NNTP_server): added + (NNTP_mode): added + (MaxNewsMessage): added + * html.h (SCM_NEWS_GROUP): added + * main.c (main): NNTP_server or NNTPSERVER + NNTP_mode or NNTPMODE + add SCM_NEWS_GROUP + (followA): remove news:..@.. check + (cmd_loadURL): remove news:...@.. check + (w3m_exit): disconnectNews + * proto.h (openNewsStream): added + (readNewsgroup): added + (disconnectNews): added + * rc.c (CMT_NNTP_SERVER): added + (CMT_NNTP_MODE): added + (CMT_MAX_NEWS): added + (params9): add nntpserver, nntpmode, max_news + * url.c (DefaultPort): add 119 for news group + (parseURL2): news:..@... is SCM_NEWS_GROUP + (_parsedURL2Str): add news for SCM_NEWS_GROUP + (openURL): cleanup SCM_NEWS + add SCM_NEWS_GROUP + * news.c: added + +2002-12-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03607] mymktime: time zone support + * etc.c (get_zone): added + (mymktime): parse timezone + +2002-12-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03606] Re: clean up displayBuffer() + * main.c (followA): B_FORCE_REDRAW + (follow_map): ditto + +2002-12-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03604] http response code and content-type + * file.c (loadGeneralFile): don't guessContentType if http errors + +2002-12-26 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03602] Re: w3mimgdisplay core dump + * w3mimgdisplay.c (DrawImage): check load_image, imageBuf[n].pixmap + * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): check img->pixmap + * w3mimg/x11/x11_w3mimg.c (x11_show_image): check img->pixmap + +2002-12-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03601] Re: meta refresh + * main.c (LastEvent): added + (pushEvent): add to LastEvent + +2002-12-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03600] Re: meta refresh + * main.c (main): move add_download_list + +2002-12-25 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03598] restore cursor when download list panel is updated. + * main.c (stopDownload): delete->replace + (ldDL): use DownloadListBuffer() + +2002-12-25 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03597] Re: meta refresh + * main.c (Event): next, linked list + (N_EVENT_QUEUE): deleted + (eventQueue): deleted + (n_event_queue): deleted + (CurrentEvent): added + (main): event processing, add CurrentEvent linked list + (pushEvent): add Event to CurrentEvent + (SigAlarm): Currentbuf->event + * proto.h (pushEvent): rename args + +2002-12-25 Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp> + + * [w3m-dev 03596] LIST + * anchor.c (link_list_panel): check internal + +2002-12-25 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03595] tolower, toupper + * Str.c (Strlower): TOLOWER + (Strupper): TOUPPER + * backend.c: delete ctype.h + * etc.c (gethtmlcmd): TOLOWER + * file.c (readHeader): TOLOWER + (checkOverWrite): TOLOWER + (guess_charset): TOLOWER + * ftp.c: delete ctype.h + * indep.c (strcasecmp): TOLOWER + (strncasecmp): TOLOWER + (strcasematch): TOLOWER + * istream.c: include myctype.h + (ssl_get_certificate): TOLOWER + * mailcap.c (mailcapMatch): TOLOWER + * main.c (_quitfm): TOLOWER + * menu.c (accesskey_menu): TOLOWER + * mimehead.c: include myctype.h + (decodeWord): TOUPPER + * mktable.c: delete ctype.h, include myctype.h + (main): IS_SPACE + * myctype.h: delete ctype.h + (TOLOWER): added + (TOUPPER): added + * parsetagx.c (parse_tag): TOLOWER + * rc.c (str_to_bool): TOLOWER + (str_to_color): TOLOWER + * regex.c: delete ctype.h, include myctype.h + (TOLOWER): added + (TOUPPER): added + (regmatch1): TOLOWER + (matchWhich): TOLOWER, TOUPPER + +2002-12-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * mimehead.c (decodeWord): don't use toupper() (requires ctype.h) + +2002-12-22 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03594] mime decode with encoding named 'b' & 'q' + * mimehead.c (decodeWord): toupeer(method) + +2002-12-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * file.c (discardline): not used + +2002-12-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03593] Re: segmentation fault when <title> exist after <img> + * file.c (cur_title): added + (save_obuf): deleted + (process_title): added + (process_n_title): added + (feed_title): added + (HTMLtagproc1): rewrite HTML_TITLE, HTML_N_TITLE, + HTML_TITLE_ALT, HTML_N_HEAD, HTML_HEAD + (HTMLlineproc0): check RB_TITLE + (completeHTMLstream): add RB_TITLE + (loadHTMLstream): initialize cur_title + +2002-12-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03590] segmentation fault when <title> exist after <img> + * file.c (save_line): deleted + (save_prevchar): deleted + (save_obuf): added + (HTMLtagproc1): bcopy save_obuf + +2002-12-20 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03588] include time.h in ftp.c + * ftp.c: include <time.h> + +2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03583] w3mman + * scripts/w3mman/README: W3MMAN_W3M, W3MMAN_MAN + * scripts/w3mman/w3mman.1.in: add ENVIRONMENT + * scripts/w3mman/w3mman.in: $ENV{'W3MMAN_W3M'}, $ENV{'W3MMAN_MAN'} + * scripts/w3mman/w3mman2html.cgi.in: $ENV{'W3MMAN_MAN'} + hyphenation + +2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03582] add config options graphic_char and use_proxy + * NEWS: rc: graphic_char, use_proxy + * fm.h (Do_no_use_proxy): macro using use_proxy + (use_proxy): added + (no_graphic_char): deleted + (UseGraphicChar): added + * main.c (main): UseGraphicChar, use_proxy + * rc.c (CMT_GRAPHIC_CHAR): added + (CMT_USE_PROXY): added + (params1): graphic_char + (params4): use_proxy + * terms.c (graph_ok): UseGraphicChar + +2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03581] MARK_URL, MARK_WORD + * main.c (chkWORD): accept ()[]{}&|;*?$ as anchor + +2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03580] Re: clean up displayBuffer() + * main.c (main): force redraw + +2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03579] Re: clean up displayBuffer() + * display.c (displayBuffer): re calcTabPos() when force or image redraw + * main.c (_mark): force redraw + (reinit): redraw image + * search.c (backwardSearch): found_last + +2002-12-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03584] Re: meta refresh + * main.c (DefaultAlarm): fix initialize value + +2002-12-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03578] meta refresh + * file.c (getMetaRefreshParam): do nothing if refresh_interval < 0 + (HTMLtagproc1): rewrite refresh + (HTMLlineproc2body): add HTML_META + * fm.h (BP_RELOAD): deleted + (Buffer): add event + (AL_IMPLICIT_DONE): deleted + (AL_ONCE): deleted + (AL_RESTORE): deleted + (AlarmEvent): added + * main.c (AlarmEvent): deleted + (PrevAlarm): deleted + (DefaultAlarm): added + (CurrentAlarm): point to DefaultAlarm + (main): CurrentKeyData, CurrentCmdData + handle Currentbuf->event + (SigAlarm): CurrentAlarm is pointer + (copyAlarmEvent): deleted + (setAlarm): setAlarmEvent pass &DefaultAlarm + (setAlarmEvent): arg event + (ldDL): no BP_RELOAD + * proto.h (setAlarmEvent): arg event + +2002-12-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03577] incorrect table width + * table.c (dv2sv): fix move direction + (set_integered_width): ditto + (check_table_height): ditto + (feed_table_tag): ditto + +2002-12-17 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03576] Re: news support + * anchor.c (_put_anchor_news): convert to document code and quote + (_put_anchor_all): convert to document code + * main.c (chkNMIDBuffer): change url_like_pat + +2002-12-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: rc: preserve_timestamp + +2002-12-15 Takahashi Youichirou <nikuq@hk.airnet.ne.jp> + + * [w3m-dev 03574] Re: preserve timestamp + * ftp.c (getFtpModtime): don't call localtime,gettime in same expr + +2002-12-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03573] Re: Bug#172851: w3m: In form, takes hostname as baseref for relative URI action + * url.c (parseURL): if empty is URL, base URL is used + +2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03571] base=0 -> 10 in toNumber() + * parsetagx.c (toNumber): strtol base=10 + +2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03570] meta tag in frame + * frame.c (createFrameFile): fix meta equiv parse in frame + +2002-12-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03569] Re: preserve timestamp + * file.c (loadGeneralFile): PresetveTimestamp + (_doFileCopy): is_pipe, PreserveTimestamp + (doFileSave): PreserveTImestamp + * fm.h (PreserveTimestamp): added + * rc.c (CMT_PRESERVE_TIMESTAMP): added + (params3): add preserve_timestamp + +2002-12-15 Takahashi Youichirou <nikuq@hk.airnet.ne.jp> + + * [w3m-dev 03568] Re: preserve timestamp + * etc.c (USE_COOKIE): moved + * file.c (utime.h): include + (setModtime): added + (loadGeneralFile): set f.modtime + (_doFileCopy): setModtime() + (doFileSave): setModtime() + * ftp.c (getFtpModtime): added + (openFTP): pass URLFile, set modtime + * html.h (URLFile): add modtime + * proto.h (openFTP): arg URLFile *uf + (mymktime): always + * url.c (init_stream): initialize modtime + (openFTPStream): pass URLFile + (openURL): openFTPStream + +2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03567] default keybinding + * doc-jp/keymap.default (C-q,C-t,(,),+,-,D,L,T,m,r,{,|,}, + M-c,M-k,M-l,M-m,M-o,M-t): assign + * doc/keymap.default: ditto + * keybind.c: ditto + * doc-jp/keymap.lynx (C-q,C-t,C-u,(,),,,.,;,D,L,T,W,[,], + m,r,w,{,|,},M-<,M->,M-W,M-c,M-g, + M-k,M-l,M-m,M-n,M-o,M-p,M-t,M-w): assign + * doc/keymap.lynx: ditto + * keybind_lynx.c: ditto + * doc-jp/menu.default (Main): Select,SelectTab,TAB_LINK + * doc/menu.default: ditto + +2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03566] configure prefix + * configure: add X prefix for expr args + +2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03564] clean up displayBuffer() + * display.c (delayed_msg): static + (drawAnchorCursor): static + (redrawBuffer): define + (redrawNLine): static + (redrawLine): static + (redrawLineRegion): static + (do_effects): static + (do_color): static + (make_lastline_link): added + (make_lastline_message): added + (displayBuffer): rewrite with make_lastline_message() + (drawAnchorCursor0): added + (drawAnchorCursor): added + * main.c (main): remove onA() + (keyPressEventProc): remove onA() + (disp_srchresult): static + disp_message TRUE + (isrch): remove onA() + (srch): displayBuffer + remove onA() + (srch_nxtprv): remove onA() + (pipeBuf): disp_message TRUE + (pipesh): disp_message TRUE + (readsh): disp_message TRUE + (_mark): dispBuffer + (_followForm): break, always dispBuffer + (drawAnchorCursor0): deleted + (drawAnchorCursor): deleted + (onA): deleted + (anchorMn): delete onA() + (svBuf): displayBuffer B_NORMAL + (reload): disp_err_message TRUE + displayBuffer + (rFrame): displayBuffer + (invoke_browser): displayBuffer + (extbrz): disp_err_message TRUE + (process_mouse): onA -> displayBuffer + (movMs): delete onA() + (menuMs): onA -> displayBuffer + (closeTMs): disp_message TRUE + (wrapToggle): disp_message TRUE + (execdict): disp_message TRUE + (SigAlarm): displayBuffer, delete onA + (reinit): displayBuffer + * map.c (getCurrentMapLabel): deleted + (retrieveCurrentMapArea): added + * proto.h (redrawBuffer): deleted + (redrawNLine): deleted + (redrawLine): deleted + (redrawLineRegion): deleted + (do_effects): deleted + (do_color): deleted + (message_list): deleted + (getCurrentMapLabel): deleted + (retrieveCurrentMapArea): added + +2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03563] Directory Traversal Vulnerabilities in FTP Clients + * file.c (guess_save_name): pass guess_filename + +2002-12-13 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03562] #undef BUFINFO + * config.h.dist (BUFINFO): undef + * configure (use_bufinfo): n + * main.c (saveBufferInfo): ifdef USE_BUFINFO + * proto.h (reloadBuffer): if 0 + (saveBufferInfo): ifdef USE_BUFINFO + +2002-12-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03559] Re: use select instead of signal for loading images + * fm.h (Buffer): add image_loaded + * image.c (W3M_SIGIMG): deleted + (image_lock): deleted + (need_load_image): deleted + (load_image_handler): deleted + (load_image_next): deleted + (getAllImage): check image_loaded + (loadImage): delete image_lock + delete IMG_FLAG_NEXT + * main.c (main): check image_loaded + * proto.h (sleep_till_anykey): return int + * terms.c (sleep_till_anykey): return int + +2002-12-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03558] long title is displayed over tab region + * display.c (redrawNLine): check l < 0 + use addnstr + +2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03554] Re: Undo/Redo + * doc/README.func (REDO): added + (UNDO): added + * doc-jp/README.func (REDO): added + (UNDO): added + * scripts/w3mhelp.cgi.in: (Page/Cursor motion): add undoPos, redoPos + +2002-12-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: func: REDO, UNDO + +2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03553] Undo/Redo + * fm.h (Buffer): add undo + (BufferPos): added + * funcname.tab (REDO): added + (UNDO): added + * main.c (save_buffer_position): added + (main): save_buffer_position + (resetPos): added + (undoPos): added + (redoPos): added + * proto.h (undoPos): added + (redoPos): added + +2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03552] Re: link list + * menu.c (accesskey_menu): check hseq + (list_menu): check hseq + +2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03551] Re: External URI loader + * file.c (loadGeneralFile): fix SCM_UNKNONWN + +2002-12-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: func: LIST, LIST_MENU, MOVE_LIST_MENU + +2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03549] link list + * anchor.c (addMultirowsImg): add a->slave + (getAnchorText): arg AnchorList *al + (link_list_panel): added + * funcname.tab (LIST): added + (LIST_MENU): added + (MOVE_LIST_MENU): added + * main.c (anchorMn): added + (accessKey): use anchorMn() + (listMn): added + (movlistMn): added + (linkLst): added + * map.c (searchMapList): not static + * menu.c (accesskey_menu): pass AnchorList to getAnchorText() + (lmKeys): added + (lmKeys2): added + (nlmKeys): added + (nlmKeys2): added + (lmGoto): added + (lmSelect): added + (list_menu): added + * proto.h (linkLst): added + (listMn): added + (movlistMn): added + (list_menu): added + (searchMapList): added + (getAnchorText): arg AnchorList *al + (link_list_panel): added + * doc/README.func (LIST): added + (LIST_MENU): added + (MOVE_LIST_MENU): added + * doc-jp/README.func (LINK_MENU): fix message + (LIST): added + (LIST_MENU): added + (MOVE_LIST_MENU): added + * scripts/w3mhelp.cgi.in (Page/Cursor motion): add movlistMn + (Hyperlink operation): add linkLst linkMn + +2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03548] close anchor before <img align=...> + * file.c (process_img): use div_int + (process_hr): use div_int + (process_idattr): don't close_anchor + (CLOSE_A): added + (HTMLtagproc1): </p> close anchor + <dl>,<ul>,<ol>,<blockquote>,<li>,<dt>,<dd> close anchor + <noframes> close anchor + <pre> close anchor + <center> close anchor + <div> close anchor + add DIV_INT + <form> close anchor + * html.c (TagMAP): add div_int + * html.h (HTML_DIV_INT): added + (HTML_N_DIV_INT): added + * tagtable.tab (div_int): added + (/div_int): added + +2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03544] Can't display "1&2" in table + * file.c (HTMLlineproc0): continue -> R_ST_NORMAL + +2002-12-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * file.c (loadGeneralFile): missing `{', fix indent for SCM_UNKNOWN + * main.c (set_buffer_environ): unused variables `prev_col' + +2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03543] External URI loader (Debian closes: Bug#169962) + * file.c (loadGeneralFile): rewrite SCM_UNKNOWN + +2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03542] news support + * file.c (loadGeneralFile): NNTP as well as NEWS + * indep.c (url_unquote_char): check % hex hex + (url_unquote): unquote except \0, \n, \r + +2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03541] Re: W3M_LINE_NO / W3M_CURRENT_COLUMN + * main.c (goLine): check searchKeyData() + (set_buffer_environ): W3M_CURRENT_* + +2002-12-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03536] <del>, <s> + * file.c (HTMLtagproc1): <s>..</s> is [S:...:S] + (HTMLtagproc0): <del> will delete <table> + * fm.h (RB_S): added + * html.c (TagMAP): <s>,</s> + move <internal>, </internal> + * html.h (HTML_S): added + (HTML_N_S): added + (HTML_INTERNAL): renumed + (HTML_N_INTERNAL): ditto + (MAX_HTMLTAG): add 2 + * rc.c (CMT_DISP_INS_DEL): update + * table.c (feed_table_tag): add HTML_S, HTML_N_S + * table.h (TBLM_S): added + (TBLM_ANCHOR): renum + * tagtable.tab: (strike, s): HTML_S + (/strike, /s): HTML_N_S + +2002-12-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03535] close anchor, quote < + * file.c (HTMLtagproc1): close_anchor + * frame.c (createFrameFile): quote < + +2002-12-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03534] cleanup file.c + * file.c (HTMLlineproc2body): cleanup + +2002-12-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: w3m/0.3.2.2+cvs + * NEWS: 0.3.2.2 + +2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * security fix + * file.c (process_img): html_quote() + +2002-12-06 Takahashi Youichirou <nikuq@hk.airnet.ne.jp> + + * [w3m-dev 03530] save history + * history.c (saveHistory): save tmpfile and rename + +2002-12-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: func: ACCESSKEY, LINK_MENU + +2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03529] Support of title, accesskey of anchor + * anchor.c (putAnchor): arg title, key + initialize slave + (registerHref): arg title, key + (registerName): title = NULL, key = '\0' + (registerForm): title = NULL, key = '\0' + (_put_anchor_news): title = NULL, key = '\0' + (_put_anchor_all): title = NULL, key = '\0' + (addMultirowsImg): register title, accesskey + (addMultirowsForm): title = NULL, key = '\0' + (getAnchorText): added + * display.c (displayBuffer): show title if any + * file.c (set_breakpoint): use bcopy + (back_to_breakpoint): use bcopy + (flushline): s/anchor/anchor.url/ + s/anchor_hseq/anchor.hseq/ + s/anchor_target/anchor.target/ + add anchor.* + (close_effect0): s/anchor/anchor.url/ + s/anchor_hseq/anchor.hseq/ + (close_anchor): use bzero + (process_img): ATTR_TITLE, + (HTMLtagproc1): s/anchor/anchor.url/ + target, referer, title, accesskey, hseq + (HTMLlineproc2body): ATTR_TITLE, ATTR_ACCESSKEY + (init_henv): use bzero + * fm.h (Anchor): add title, accesskey, slave + (Breakpoint): use Anchor + (struct readbuffer): use Anchor + * funcname.tab (ACCESSKEY): added + (LINK_MENU): added + * html.c (ALST_A): add ATTR_TITLE, ATTR_ACCESSKEY + (ALST_IMG): add ATTR_TITLE + (ALST_IMG_ALT): add ATTR_TITLE + (AttrMAP): add accesskey, renum + * html.h (ATTR_ACCESSKEY): added + (ATTR_*): renum 50->60 + * main.c (linkMn): added + (accessKey): added + * menu.c (LinkMenu): deleted + (LinkV): deleted + (initLinkMenu): deleted + (lmGoURL): deleted + (popupMenu): delete initLinkMenu() + (initMenu): delete Link + (link_menu): added + (accesskey_menu): added + * proto.h (linkMn): added + (link_menu): added + (accessKey): added + (accesskey_menu): added + (putAnchor): arg title, key + (registerHref): arg title, key + (registerImg): arg title + (getAnchorText): added + * doc/README.func (ACCESSKEY): added + (LINK_MENU): added + * doc-jp/README.func (ACCESSKEY): added + (LINK_MENU): added + * scripts/w3mhelp.cgi.in (Hyperlink operation): add linkMn accessKey + +2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03528] area without alt + * map.c (getCurrentMapLabel): when a->alt is empty + +2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03527] fix frame.c + * frame.c (createFrameFile): move need_reconstruct + +2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03526] Re: fix doc*/README.func, w3mhelp.cgi.in + * scripts/w3mhelp.cgi.in: (load_keymap): + always upcase ESC,SPC,TAB,DEL,UP,DOWN,RIGHT,LEFT + +2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03525] Re: sync option + * func.c (initKeymap): delete check force, keymap_initialized + +2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03524] fix doc*/README.func, w3mhelp.cgi.in + * doc/README.func (REINIT): added + * doc-jp/README.func (REINIT): added + * scripts/w3mhelp.cgi.in (Page/Cursor motion): + add moveR1 movL1 movD1 movU1 ldown1 lup1 + (File/Stream operation): add pipeBuf + (Miscellany): add dispVer execCmd reinit + (load_keymap): rewrite + (norm_key): rewrite + +2002-12-05 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: rc: display_ins_del + +2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03523] Re: del/ins + * file.c (HTMLtagproc1): check displayInsDel, RB_DEL + * fm.h (RB_DEL): added + (displayInsDel): added + * rc.c (CMT_DISP_INS_DEL): added + (display_ins_del): added + * table.c (feed_table_tag): check displayInsDel, TBLM_DEL + * table.h (TBLM_DEL): added + (TBLM_ANCHOR): renum + (struct table_mode): unsigned int pre_mode + +2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03522] newline around <pre>..</pre> + * file.c (HTMLtagproc1): break before <pre>/after </pre> if necessary + +2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03521] sync option + * display.c (redrawNLine): calcTabPos() + * func.c (initKeymap): return if keymap_initialized + * main.c (calcTabPos): no more static + (main): move sync_with_option, initCookie, setLocalCookie + move backend + move initKeymap, initMouseAction, initMenu + remove calcTabPos + add displayBuffer + (numTab): static + (deleteTab): delete calcTabPos + (moveTab): delete calcTabPos + * proto.h (calcTabPos): added + +2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev-en 00841] Re: w3m segfaults if the terminal is not writable + * terms.c (reset_tty): don't close stderr + +2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03516] Re: 2 stroke keybinding + * func.c (keymap_initialized): initialized to FALSE + (setKeymap): push KeyData + +2002-12-04 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: 2 stroke keybinding + func: MULTIMAP + +2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03515] 2 stroke keybinding + * func.c (setKeymap): add map + K_MULTI support + (getKey2): added + (getKey): rewrite to use getKey2() + * func.h (K_MULTI): added + (MULTI_KEY): added + * funcname.tab (MULTIMAP): added + * main.c (escKeyProc): added + (escmap): rewrite to use escKeyProc() + (escbmap): rewrite to use escKeyProc() + (escdmap): rewrite to use escKeyProc() + (multimap): added + * proto.h (multimap): added + +2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03514] Effect of tab title + * display.c (redrawNLine): rewrite, do without clrtoeolx() + +2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03512] Re: HTML parser + * table.c (feed_table_tag): HTML_N_SELECT, HTML_N_CAPTION + +2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03510] waiting time when cookie was rejected. + * file.c (readHeader): display cookie warnings for only 1 sec + +2002-12-04 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03509] HTML parser + * file.c (close_textarea): delete + (HTMLtagproc1): rewrite + delete HTML_EOL + move HTML_LISTING, HTML_N_LISTING + add HTML_PRE_PLAIN, HTML_N_PRE_PLAIN + add HTML_PLAINTEXT + end_tag + (HTMLlineproc0): s/str/line/ + rewrite + (completeHTMLstream): </textarea> if necessary + * fm.h (struct readbuffer): delete ignore_tag + add end_tag + (RB_XMPMODE): deleted + (RB_LSTMODE): deleted + (RB_SCRIPT): added + (RB_STYLE): added + (RB_*): renumber + (R_ST_EOL): added + (R_ST_*): renumber + (ST_IS_TAG): check R_ST_EOL + * form.c (form_fputs_decode): remove <eol> handling + * frame.c (newFrame): remove_space() + (CASE_TABLE_TAG): added + (createFrameFile): rewrite + * html.c (TagMAP): delete eol + add pre_plain, /pre_plain + * html.h (HTML_EOL): deleted + (HTML_PRE_PLAIN): added + (HTML_N_PRE_PLAIN): added + * table.c (visible_length): rewrite + (visible_length_plain): added + (maximum_visible_length_plain): added + (do_refill): R_ST_EOL + (table_close_select): end_tag + (table_close_textarea): end_tag + (TAG_ACTION_PLAIN): added + (feed_table_tag): rewrite + (feed_table): rewrite + * table.h (TBLM_*) reassign + (struct table_mode): delete ignore_tag + add end_tag + * tagtable.tab (eol): deleted + (pre_plain): added + (/pre_plain): added + +2002-12-03 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03505] Re: coredump when ssl error + * file.c (loadGeneralFile): term_raw(), SIGINT before retry + +2002-12-03 AIDA Shinra <aida-s@jcom.home.ne.jp> + + * [w3m-dev 03504] coredump when ssl error + * file.c (loadGeneralFile): term_raw, SIGINT + +2002-12-03 Fumitoshi UKAI <ukai@debian.or.jp> + + * remove ununsed variables + * file.c (addLink): unused variable `t' + * menu.c (lmGoURL): unused variable `pu' + +2002-12-03 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03501] link tag support + * buffer.c (reshapeBuffer): initialize formlist, linklist, + maplist, hmarklist, imarklist + * file.c (addLink): added + (HTMLlineproc2body): add HTML_LINK + (loadHTMLstream): use HTMLlineproc0 not in R_ST_NORMAL + (reloadBuffer): initialize linklist, maplist, + hmarklist, imarklist + * fm.h (LINK_TYPE_NONE): added + (LINK_TYPE_REL): added + (LINK_TYPE_REV): added + (LinkList): added + (Buffer): add linklist + * html.c (ALST_LINK): added + (TagMAP): add link + (AtrMAP): add rel, rev, title + * html.h (HTML_LINK): added + (ATTR_REL): added + (ATTR_REV): added + (ATTR_TITLE): added + * map.c (append_map_info): anchor + (append_link_info): added + (page_info_panel): append_link_info + * menu.c (LinkMenu): added + (linkV): added + (initLinkMenu): added + (lmGoURL): added + (popupMenu): initLinkMenu() + (initMenu): w3mMenuList new 4 + add "Link" + * tagtable.tab (link): added + +2002-11-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m bug] internal tag + * display.c (loadHTMLstream): HTMLlineproc0 internal + +2002-11-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03498] Re: parse <!-- ... --> in <script> + * file.c (HTMLlineproc0): tag in textarea + * frame.c (createFrameFile): fix comment processing in frame + +2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03497] incorrect image size + * image.c (getImageSize): invoke w3mimgdiplay -size instead of "5;..." + * w3mimgdisplay.c (defined_size): added + (main): if defined_size get_image_size() + (GetOption): -size + +2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03496] parse <!-- ... --> in <script> + * etc.c (read_token): check <pre> + * file.c (HTMLlineproc0): remove comment processing + check pre mode + comment processing move + +2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03495] local CGI can't work + * local.c: #include "hash.h" + (set_environ): env string put in hash + +2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03494] Number of line is few when pager mode. + * display.c (redrawLine): buf->rootY + +2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03493] scroll menu + * menu.c (mLineU): added + (mLineD): added + (MenuKeymap): C-r, C-s, J, K + (mouse_scroll_line): added + (process_mMouse): drag + BTN4, BTN5 + * doc-jp/README.menu: update + +2002-11-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: w3m/0.3.2.1+cvs + +2002-11-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03491] Re: case insensitive regexp search + * regex.c (matchWhich): tolower + +2002-11-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * use local_cookie for support local-cgi commands + * file.c (loadGeneralFile): pass Local_cookie to DirBufferCommand + * fm.h (Local_cookie): Str + * local.c (setLocalCookie): Str, set_environ() + (set_cgi_environ): remove LOCAL_COOKIE + * main.c (ldhelp): pass Local_cookie + (adBmark): ditto + * rc.c (optionpanel_src1): cookie + (load_option_panel): pass Local_cookie + * w3mbookmark.c (main): check Local_cookie + * w3mhelperpanel (main): ditto + * scripts/dirlist.cgi.in: ditto + * scripts/w3mhelp.cgi.in: ditto + * scripts/multipart/multipart.cgi.in: ditto + +2002-11-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * frame.c (createFrameFile): html_quote() + +2002-11-27 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03488] meta refresh in frame + * file.c (getMetaRefreshParam): added + (HTMLtagproc1): use getMetaRefreshParam() + * frame.c (createFrameFile): check meta refresh + * proto.h (getMetaRefreshProgram): added + +2002-11-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * w3m 0.3.2.1 security fix + * frame.c (createFrameFile): html_quote() + +2002-11-27 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03486] fix of displayLineInfo + * display.c (displayBuffer): don't divide by 0 + +2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03485] fix mouse menu position + * main.c (do_mouse_action): use anchor_map is no active_map + check top left corner + (FRAME_WIDTH): added + (menuMs): adjust cursorX using FRAME_WIDTH + +2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: func: CLOSE_TAB_MOUSE, MENU_MOUSE, MOVE_MOUSE, TAB_MOUSE + +2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc/README.mouse_menu: deleted + * doc/README.mouse: added + * doc-jp/README.mouse_menu: deleted + * doc-jp/README.mouse: added + +2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * map.c (follow_map_menu): MapArea *a is used ifdef MENU_MAP + * func.c (initMouseAction): remove unsed variables: x, width, map + +2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03478] mouse action configuration + * display.c (displayBuffer): mouse_menu -> mouse_action.menu_str + mouse_action.lastline_str + (redrawNLine): mouse_menu -> mouse_action.menu_str + * fm.h (MouseMenuMap): deleted + (MouseActionMap): added + (MouseAction): added + (mouse_action): added + * func.c (default_mouse_action): added + (setMouseAction0): added + (setMouseAction1): added + (setMouseAction2): added + (initMouseMenu): deleted + (initMouseAction): added + * funcname.tab (CLOSE_TAB_MOUSE): added + (MENU_MOUSE): added + (MOVE_MOUSE): added + (TAB_MOUSE): added + * main.c (main): initMouseMenu() -> initMouseAction() + mouse_menu -> mouse_action + (posTab): mouse_menu -> mouse_action + check y > LastTab->y + (mouse_menu_action): deleted + (do_mouse_action): added + (process_mouse): mouse_menu -> mouse_action + do_mouse_action() + (movMs): added + (menuMs): added + (tabMs): added + (closeTMs): added + (reinit): initMouseMenu() -> initMouseAction() + resource: MOUSE_MENU -> MOUSE + (calcTabPos): mouse_menu -> mouse_action + * menu.c (mainMn): mouse_menu -> mouse_action + (selMn): mouse_menu -> mouse_action + (tabMn): mouse_menu -> mouse_action + (initMenu): add SelectTag to w3mMenuList + * proto.h (movMs): added + (menuMs): added + (tabMs): added + (closeTMs): added + (initMouseMenu): deleted + (initMouseAction): added + * rc.c (sync_with_option): initMouseMenu() -> initMouseAction() + * doc/README.func (CLOSE_TAB_MOUSE): added + (MENU_MOUSE): added + (MOVE_MOUSE): added + (TAB_MOUSE): added + * doc-jp/README.func (CLOSE_TAB_MOUSE): added + (MENU_MOUSE): added + (MOVE_MOUSE): added + (TAB_MOUSE): added + +2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03476] Re: Bug#170506: w3m: Unable to use mozilla bugzilla + * file.c (HTMLtagproc1): initialize ignore_tag in table_mode + (HTMLtagproc0): check table_level + * table.c (feed_table_tag): set mode->ignore_tag + * table.h (struct table_mode): add ignore_tag + +2002-11-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03471] Re: SETPGRP() + * configure: SETPGRP() always defined + * proto.h (close_all_fds): added + (myExec): #ifdef HAVE_SETPGRP + * etc.c (close_all_fds): added + (myExec): #ifdef HAVE_SETPGRP + (mySystem): #ifndef -> #ifdef + * file.c (_doFileCopy): delete #ifdef HAVE_SETPGRP + (doFileSave): ditto + * image.c (openImgdisplay): delete #ifdef HAVE_SETPGRP + use close_all_fds() + * search.c (open_migemo): ditto + +2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03466] Re: background download when external viewer + * file.c (doExternal): UFclose(&uf); + +2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03464] Re: case insensitive regexp search + (rewrite [w3m-dev 03462] by Hiroyuki Ito <hito@crl.go.jp>) + * regex.c (matchWhich): add int + (newRegex0): igncase + (regmatch1): matchWhich with re->mode & RE_IGNCASE + (matchWhich): add igncase + +2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03459] background download when external viewer + * etc.c (myExec): added + (mySystem): rewrite to use myExec() + * file.c (doExternal): run background if BackgroundExtViewer + * proto.h (myExec): added + +2002-11-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc/README.mouse_menu: delete column 10 limit + * doc-jp/README.mouse_menu: ditto + +2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03458] Re: mouse menu + * display.c (displayBuffer): nTab2 -> nTab, mouse_menu + * fm.h (nTab2): deleted + (MouseMenuMap): added + (MouseMenu): added + (LIMIT_MOUSE_MENU): added + * func.c (initMouseMenu): delete mouse_menu_map initialization + conv_from_system + mouse_menu->width + * main.c (main): mouse_menu->in_action = FALSE + (posTab): check mouse_menu + (mouse_menu_action): add y arg + mouse_menu_width check + (process_mouse): nTab2 -> nTab, mouse_menu + (nTabLine): deleted + (calcTabPos): check mouse_menu + * menu.c (mainMn): x, y + (selMn): mouse_menu check + (tabMn): mosue_menu check + * proto.h (nTabLine): deleted + +2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: options: -N + +2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03457] open URL of command line on each new tabs + * main.c (delBuffer): static + (fusage): -N + (main): add open_new_tab for -N + +2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03456] tiling of tab + * display.c (displayBuffer): use LastTab->y + (redrawNLine): fix column calculation + * fm.h (TabBuffer): add x1, x2, y + * main.c (calcTabPos): added + (main): calcTabPos() + (mouse_scroll_line): rewrite + (process_mouse): use LastTab->y + (_newT): calcTabPos() + (calcTabPos): added + (deleteTab): calcTabPos() + (moveTab): calcTabPos() + +2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc/README.mouse_menu: added + * doc-jp/README.mouse_menu: added + +2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03455] mouse menu + * configure (config.h): MOUSE_FILE + * display.c (displayBuffer): nTab -> nTab2, N_TAB -> nTabLine() + (redrawNLine): nTab -> nTab2, N_TAB -> nTabLine() + mouse_menu support + * fm.h (nTab2): added + (N_TAB): deleted + (NO_TABBUFFER): added + (struct _MouseMenu): added + (mouse_menu_map): added + (mouse_menu): added + * func.c (initMouseMenu): added + * main.c (main): initMouseMenu() + (posTab): mouse_menu support + (mouse_menu_action): added + (process_mouse): mouse_menu support + (reinit): initMouseMenu() + (nTabLine): added + (moveTab): check NO_TABBUFFER + * proto.h (nTabLine): added + (initMouseMenu): added + * rc.c (sync_with_option): initMouseMenu() + +2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: func: NEXT, PREV + +2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03454] next / previous buffer + * funcname.tab (NEXT): added + (PREV): added + * main.c (nextBf): added + (prevBf): added + * proto.h (nextBf): added + (prevBf): added + * doc/README.func (NEXT): added + (PREV): added + * doc-jp/README.func (NEXT): added + (PREV): added + * scripts/w3mhelp.cgi.in (Buffer operation): nextBf prevBf + +2002-11-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: rc: image_map_list + +2002-11-20 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03452] image map + * display.c (displayBuffer): use getCurrentMapLabel() + * fm.h (MapArea): delete ifdef MENU_MAP + (image_map_list): added + * main.c (followA): don't call retrieveCurrentImg() ifdef USE_IMAGE + use retrieveCurrentMap() ifndef USE_IMAGE + (_followForm): indent + (drawAnchorCursor0): add AnchorList + (drawAnchorCuror): pass AnchorList to drawAnchorCursor0 + (follow_map): follow_map_panel + * map.c (searchMapList): added + (nearestMapArea): n, min default value to -1 + (searchMapArea): added + (getCurrentMapLabel): added + (getMapXY): moved + (retrieveCurrentMap): added + (follow_map_menu): parsed_tagarg -> name + rewrite to search map list/area + (follow_map_panel): parsed_tagarg -> name + rewrite to search map list/area + (newMapArea): delete ifdef MENU_MAP + (append_map_info): added + (page_info_panel): append_map_info + * proto.h (follow_map_menu): parsed_tagarg -> name + (follow_map_panel): parsed_tagarg -> name + (getCurrentMapLabel): added + (retrieveCurrentMap): added + * rc.c (CMT_IMAGE_MAP_LIST): added + (image_map_list): added + +2002-11-20 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 03450] Re: cygwin console on Win9X + * terms.c (mouse_init): ifdef __CYGWIN__ + (mouse_end): ditto + +2002-11-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * ftp.c (ftp_fclose): void return + +2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03444] download from ftp. + * file.c (FTPhalfclose: static + (loadGeneralFile): UFclose + FTPhalfclose for SCM_FTP + UFclose before signal back + (loadImageBuffer): UFclose before signal back + (openGeneralPagerBuffer): UFclose + * ftp.c (ftp_fclose): added + (Ftpfclose): dont read response(), but ftp_fclose() + (FtpBye): ftp_fclose() + +2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03449] Add DOWNLOAD_LIST to doc*/README.func and scripts/w3mhelp.cgi.in + * doc-jp/README.func (DOWNLOAD_LIST): added + * doc/README.func (DOWNLOAD_LIST): added + * scripts/w3mhelp.cgi.in (Miscellany): add ldDL + +2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03448] Some fixes + * url.c (KeyAbort): SIGNAL_RETURN + * .cvsginore: delete w3mimgsize + * scripts/.cvsignore: delete xface2xbm + * scripts/xface2xbm.in: deleted + +2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03447] Re: Open download list panel on new tab + * main.c (download_action): buffer management deleted + (ldDL): buffer management moved here + +2002-11-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: rc: open_tab_dl_list + +2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03446] Open download list panel on new tab + * fm.h (open_tab_dl_list): added + * main.c (download_action): buffer delete when download done + (ldDL): open buf in new tab if open_tab_dl_list + * rc.c (CMT_OPEN_TAB_DL_LIST): added + (open_tab_dl_list): added + +2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03445] download list for "w3m foo.tar.gz" + * main.c (main): display download list + +2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03443] Can't display "echo only_one_line | w3m" + * display.c (redrawNLine): check 1st line + +2002-11-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03442] Re: setting form on loading + * form.c (preFormUpdateBuffer): ifdef MENU_SELECT + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03441] charset of save file + * file.c (_doFileCopy): use conv_from_system() + (doFileSave): conv_from_system() + * main.c (DownloadListBuffer): conv_from_system() + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03440] Re: restore alarm event + * fm.h (BP_RELOAD): added + (DOWNLOAD_LIST_TITLE): added + * main.c (main): if BP_RELOAD, do reload + (reload): if buffer is DOWNLOAD_LIST, ldDL() + (DownloadListBuffer): rewrite with DOWNLOAD_LIST_TITLE + (download_action): delete "update" + don't delete prev buffer + (ldDL): rewrite to do reload + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03439] restore alarm event + * fm.h (AL_RESTORE): added + * main.c (alarm_sec): deleted + (alarm_status): deleted + (alarm_buffer): deleted + (alarm_event): deleted + (AlarmEvent): added + (CurrentAlarm): added + (PrevAlarm): added + (main): rewrite with CurrentAlarm + (SigAlarm): rewrite with CurrentAlarm + (copyAlarmEvent): added + (setAlarm): if AL_RESTORE, copy back from PrevAlarm + rewrite with CurrentAlarm + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03438] Re: segmentation fault by large complex table. + * table.c (check_table_height): check MAXROWCELL + * table.h (MAXROWCELL): added + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03437] Re: Check image size + * fm.h (MAX_IMAGE_SIZE): changed to 2048 + +2002-11-16 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03436] Check image size + * file.c (process_img): check w > MAX_IMAGE_SIZE + (HTMLlineproc2body): check w,h > MAX_IMAGE_SIZE + * fm.h (MAX_IMAGE_SIZE): added + * image.c (getImageSize): check w,h,width,height > MAX_IMAGE_SIZE + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03435] save image with SAVE + * buffer.c (discardBuffer): check image + * file.c (loadImageBuffer): add st + IMG_FLAG_DONE_REMOVE + s/sourcefile/mailcap_source/ + * fm.h (IMG_FLAG_DONT_REMOVE): added + * image.c (drawImage): & IMG_FLAG_LOADED + (deleteImage): & IMG_FLAG_DONT_REMOVE + (showImageProgress): & IMG_FLAG_LOADED + (getImage): & IMG_FLAG_LOADED + (getImageSize): & IMG_FLAG_LOADED + * main.c (vmSrc): delete ifdef USE_IMAGE + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03434] Re: cygwin console on Win9X + * terms.c (cygwin_mouse_btn_swapped): ifdef USE_MOUSE + (lastConMouse): deleted + (check_win9x): static + (read_win32_console): static + (GetConsoleHwnd): static + (cygwin_version): ifdef USE_MOUSE, static + (check_cygwin_console): static + (NEED_XTERM_ON): added + (NEED_XTERM_OFF): added + (NEED_CYGWIN_ON): added + (NEED_CYGWIN_OFF): added + (XTERM_TITLE): static char[] + (SCREEN_TITLE): static char[] + (CYGWIN_TITLE): static char[] + (term_title): check title_str + * terms.h (LASTLINE): added + (is_xterm): deleted + (enable_win9x_console_input): extern + (disable_win9x_console_input): extern + (NEED_XTERM_ON): deleted + (NEED_XTERM_OFF): deleted + +2002-11-16 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> + + * [w3m-dev 03433] cygwin console on Win9X + * configure (config.h): SUPPORT_WIN9X_CONSOLE_MBCS + * linein.c (inputLineHistSearch): enable_win9x_console_input() + disable_win9x_console_input() + * main.c (mouse): cygin_mouse_btn_swapped + * terms.c (is_xterm): static + (isLocalConsole): added + (cygwin_mouse_btn_swapped): added + (check_win32_console): deleted + (check_win9x): added + (init_win32_console_handle): check ttyslot() + (enable_win9x_console_input): added + (disable_win9x_console_input): added + (read_win32_console_input): delete ifdef MOUSE + (cmp_tv): deleted + (subtract_tv): deleted + (GetConsoleHwnd): added + (cygwin_version): added + (select_or_poll_win32_console): deleted + (check_cygwin_console): added + (select_win32_console): deleted + (set_tty): check_cygin_console() + (term_title): SetConsoleTitle() + (CYGWIN_ON): added + (CYGIN_OFF): added + (mouse_init): NEED_CYGWIN_ON + (mouse_end): NEED_CYGWIN_OFF + * terms.h (cygwin_mouse_btn_swapped): added + (enable_win9x_console_input): added + (disable_win9x_console_input): added + (NEED_CYGWIN_ON): added + (NEED_CYGWIN_OFF): added + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03432] Re: tab browser + * display.c (displayBuffer): s/buf->LINES/LASTLINES/ in cygwin + +2002-11-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: func: DOWNLOAD_LIST + +2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03431] save file by background process + * file.c (loadGeneralFile): use _doFileCopy() + (_doFileCopy): renamed from doFileCopy() + lock + fork & save + (doFileSave): lock + fork & save + * fm.h (DownloadList): added + (FirstDL): added + (LastDL): added + * form.c (struct internal_action): add download + * funcname.tab (DOWNLOAD_LIST): added + * html.h (URLFile): add url + * main.c (dump_extra): add add_download_list + (main): add_download_list, ldDL() + (_quitfm): added + (quitfm): rewrite with _quitfm() + (qquitfm): ditto + (w3m_exit): stopDownload() + (addDownloadList): added + (checkDownloadList): added + (convert_size3): added + (DownloadListBuffer): added + (download_action): added + (stopDownload): added + (ldDL): added + * proto.h (ldDL): added + (convert_size): added + (convert_size2): added + (doFileCopy): deleted + (_doFileCopy): added + (addDownloadList): added + (stopDownload): added + (checkDownloadList): added + (download_action): added + * url.c (openURL): save url in uf + +2002-11-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03430] disable display of alarm command + * main.c (SigAlarm): remove display_message_nsec() + (setAlarm): show sec + +2002-11-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: env,rc: https_proxy + +2002-11-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03429] https proxy + * fm.h (HTTPS_proxy): added + (HTTPS_proxy_parsed): added + * main.c (main): check https_proxy + * rc.c (CMT_HTTPS_PROXY): added + (https_proxy): added + (parse_proxy): HTTPS_proxy + * url.c (openURL): for HTTPS, use HTTPS_proxy + (schemeToProxy): HTTPS_proxy_parsed + +2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03428] install manual as w3m.exe.1 on Cygwin + * XMakefile (MAN1_TARGET): added + (HELP_TARGET): added + (install): use MAN1_TARGET, HELP_TARGET + (uninstall): use MAN1_TARGET, uninstall HELP_TARGET + +2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03427] Re: Select the nearest map area as default. + * map.c (newMapArea): accept sign chars + if points is not enough, return as SHAPE_UNKNOWN + +2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03425] charset of title + * display.c (displayBuffer): buffername converted to system coding + for term title + +2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03424] Content length + * file.c (loadGeneralFile): current_content_length before do_download + (save2tmp): current_content_length move before return + +2002-11-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03422] Re: setting form on loading + * form.c (loadPreForm): initialize name + check textarea, name for /textarea + +2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03418] Re: tab browser + * display.c (redrawNLine): s/clrtoeol/clrtoeolx/ + move rootY + +2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03417] install_w3mimgdisplay + * configure: define install_w3mimgdisplay + after use_w3mimg_fb determined + +2002-11-12 Akira TAGOH <at@gclab.org> + + * [w3m-dev 03415] fix a build issue for 64bit arch + * gcmain.c: deleted + * main.c: no need gcmain.c + s/MAIN/main/ + * mktable.c: ditto + * w3mbookmark.c: ditto + * w3mhelperpanel.c: ditto + +2002-11-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc/w3m.1: update + * doc-jp/w3m.1: update + * NEWS: update: -show-option + +2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03414] Re: show parameter + * main.c (fusage): add -show-option + (MAIN): check -show-option + +2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03413] Re: setting form on loading + * form.c (loadPreForm): add textarea + (preFormUpdateBuffer): submit if value is matched as well + case FORM_TEXTAREA + case FORM_SELECT ifdef MENU_SELECT + +2002-11-12 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03411] do AUXBIN_TARGETS + * scripts/Makefile (all): add AUXBIN_TARGETS + (clean): add AUXBIN_TARGETS + +2002-11-12 AIDA Shinra <aida-s@jcom.home.ne.jp> + + * [w3m-dev 03408] edit From in w3mail.cgi + * scripts/w3mmail.cgi.in: edit from as well + +2002-11-12 AIDA Shinra <aida-s@jcom.home.ne.jp> + + * [w3m-dev 03408] fix Bug#87472 + MOUSE_SCROLL_LINE should be a run-time option + * fm.h (relative_wheel_scroll): added + (fixed_wheel_scroll_count): added + (relative_wheel_scroll_ratio): added + * main.c (mouse_scroll_line): added + (process_mouse): s/MOUSE_SCROLL_LINE/mouse_scroll_line()/ + * menu.c (MOUSE_SCROLL_LINE): deleted + * terms.h (MOUSE_SCROLL_LINE): deleted + * rc.c (CMT_RELATIVE_WHEEL_SCROLL): added + (CMT_RELATIVE_WHEEL_SCROLL_RATIO): added + (CMT_FIXED_WHEEL_SCROLL_COUNT): added + (wheelmode): added + (params3): add relative_wheel_scroll, + relative_wheel_scroll_ratio, + fixed_wheel_scroll_count + * NEWS: updated + +2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03407] char GlobalKeymap -> unsigned char GlobalKeymap + * fm.h (GlobalKeymap): char->unsigned char + (EscKeymap): ditto + (EscBKeymap): ditto + (EscDKeymap): ditto + (PcKeymap): ditto + * keybind.c: ditto + * keybind_lynx.c: ditto + +2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03406] + * scripts/Makefile: add AUXBIN_DIR + update LIB_DIR, HELP_DIR + xface2xpm installed in AUXBIN_DIR + * scripts/multipart/Makefile: update LIB_DIR + * scripts/w3mman/Makefile: update LIB_DIR + +2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03405] Re: tab browser + * main.c (moveTab): B_FORCE_REDRAW + +2002-11-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03401] w3mhelp.cgi + * proto.h (tabMn): nulcmd ifndef USE_MENU + * scripts/w3mhelp-funcdesc.en.pl.in: add LINEEDIT:EDITOR + * scripts/w3mhelp-funcdesc.ja.pl.in: add LINEEDIT:EDITOR + Tab operation + * scripts/w3mhelp-funcname.pl.in: add LINEEDIT:EDITOR C-o + * scripts/w3mhelp.cgi.in: add tabA in Hyperlink operation + add tabURL, tabrURL in File/Stream operation + add Tab operation + add lineedit_editor in Line edit mode + +2002-11-10 NOMIYA Masaru <nomiya@ttmy.ne.jp> + + * [w3m-dev 03399] + * XMakefile: ;; -> ; + +2002-11-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03398] auxbindir + * XMakefile: EXT_TARGETS -> LIB_TARGETS, AUXBIN_TARGETS + * config.h.dist: add AUXBIN_DIR + LIB_DIR is cgi-bin + * configure: add -auxbindir + add AUXBIN_DIR + LIB_DIR is cgi-bin + EXT_TARGETS -> LIB_TARGETS, AUXBIN_TARGETS + * file.c (compression_decoder): libfile_p -> auxbin_p + (check_command): libfile_p -> auxbin_p + use w3m_auxbin_dir() instead of w3m_lib_dir() + (acceptableEncoding): libfile_p -> auxbin_p + (xface2xpm): use auxbinFile() instead of libFile() + (uncompress_stream): libfile_p -> auxbin_p + use auxbinFile() instead of libFile() + * image.c (getCharSize): use w3m_auxbin_dir() instead of w3m_lib_dir() + (openImgdisplay): use w3m_auxbin_dir() instead of w3m_lib_dir() + * indep.c (w3m_auxbin_dir): added + * indep.h (w3m_auxbin_dir): added + * proto.h (auxbinFile): added + * rc.c (auxbinFile): added + (libFile): #if 0, no longer used + (helpFile): used only #ifndef USE_HELP_CGI + * NEWS: separate auxbindir and libdir (local-CGI, file:///$LIB/) + +2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03396] Re: meta refresh problem + * main.c (MAIN): AL_IMPLICIT -> alarm_status + (SigAlarm): AL_IMPLICIT -> alarm_status + +2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03391] use editor when input at last line + * linein.c (_editor): added + +2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03390] some fixes related with form + * form.c (input_textarea): goto input_end + unlink(tmpf); + * main.c (_followForm): s/TEXT/Password/ + +2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03388] meta refresh problem + * fm.h (AL_IMPLICIT_DONE): 3->4 + (AL_ONCE): 8 + (AL_IMPLICIT_ONCE): (AL_IMPLICIT|AL_ONCE) + * main.c (MAIN): & AL_IMPLICIT, & AL_IMPLICIT_DONE + (SigAlarm): & AL_IMPLICIT, & AL_IMPLICIT_DONE, & AL_ONCE + (setAlaramEvent): & AL_IMPLICIT + +2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03387] Re: tab browser + * buffer.c (newBuffer): buf->LINES initialize + (gotoLine): use buf->LINES + (gotoRealLine): use buf->LINES + * display.c (displayBuffer): check by buf->LINES + (redrawNLine): buf->LINES + (redrawLine): buf->LINES + (redrawLineImage): no need buf->rootY + (cursorDown): buf->LINES + (arrangeCursor): buf->LINES + * etc.c (columnSkip): buf->LINES + (lineSkip): buf->LINES + (currentLineSkip): buf->LINES + * fm.h (Buffer): add LINES + * main.c (nscroll): Currentbuf->LINES + (pgFore): Currentbuf->LINES + (pgBack): Currentbuf->LINES + (ctrCsrV): Currentbuf->LINES + (movD): Currentbuf->LINES + (movU): Currentbuf->LINES + (_goLine): Currentbuf->LINES + (drawAnchorCursor): Currentbuf->LINES + (setOpt): B_REDRAW_IMAGE + (newT): B_REDRAW_IMAGE + (closeT): B_REDRAW_IMAGE + (nextT): B_REDRAW_IMAGE + (prevT): B_REDRAW_IMAGE + (moveTab): B_NORMAL + +2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03386] Re: Interrupt in no_proxy_check() + * file.c (getAuthCookie): term_cbreak() + (loadGeneralFile): term_cbreak() + term_raw() + preFormUpdateBuffer() before term_raw() + (loadHTMLstream): term_raw() + +2002-11-07 Katsumi@yamaoka.cc + + * [w3m-dev 03385] install-sh typo + * install-sh: s/'/"/ + +2002-11-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03383] Select the nearest map area as default. + * fm.h (MapArea): add center_x, center_y + * map.c (nearestMapArea): added + (follow_map_menu): initial by nearestMapArea() + (newMapArea): set center_x, center_y + +2002-11-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03382] Interrupt in no_proxy_check() + * url.c (check_no_proxy): SIGINT trap by KeyAbort + +2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03380] fix configure + * configure: s/INSTALL_W3MIMGDISPLAY/install_w3mimgdisplay/ + already define + * config.h.dist (INSTALL_W3MIMGDISPLAY): added + +2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03379] setuid w3mimgdisplay and check console tty + * XMakefile: w3mimgdisplay install by INSTALL_W3MIMGDISPLAY + * configure: ask setuid w3mimgdisplay + (w3mimgdisplay_setuid): added + (INSTALL_W3MIMGDISPLAY): added + * etc.c (mySystem): close until FOPEN_MAX + * image.c (openImgdisplay): setenv W3M_TTY + stderr to /dev/null + close until FOPEN_MAX + * install-sh: -o, -g for owner, group + * proto.h (ttyname_tty): added + * search.c (open_migemo): stderr to /dev/null + close until FOPEN_MAX + * terms.c (ttyname_tty): added + * w3mimgdisplay.c: include <sys/types.h>, <unistd.h> + W3MIMGDISPLAY_SETUID + stderr to /dev/null + * w3mimg/w3mimg.c: include <sys/types.h>, <unistd.h> + W3MIMGDISPLAY_SETUID + * w3mimg/fb/fb_w3mimg.c (check_tty_console): added + +2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03377] sync_with_option + * etc.c (loadPassword): reset passwords + * form.c (loadPreForm): reset PreForm + * main.c (option_assigned): deleted + (parse_proxy): deleted + (MAIN): move initCookie(), setLocalCookie() + after sync_with_option() + delete parseURL for *_proxy + s/WrapSearch/WrapDefault/ + move initKeymap(), initMenu() after setupscreen() + sync_with_option() after init_rc() + * rc.c (pre_form_file): move in params9 (network settting) + (sync_with_option): initKeymap(), initMenu() is done + if fmInitialized + (init_rc): delete sync_with_option() + +2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03375] NULL check of CurrentTab + * display.c (disp_message_nsec): check CurrentTab + * file.c (doExternal): check CurrentTab + * image.c (loadImage): check CurrentTab + +2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03374] disable_secret_security_check + * etc.c (openSecurityFile): disable_secret_security_check + * fm.h (disable_secret_security_check): added + * rc.c (CMT_DISABLE_SECRET_SECURITY_CHECK): added + (disable_secret_security_check): added + * NEWS: rc: disable_secret_security_check + +2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * NEWS: update + +2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * rc.c (CMT_PRE_FORM_FILE): added + (pre_form_file): added + +2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc-jp/README.tab: added [w3m-dev 03372] + * doc/README.tab: brief translation + +2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03372] tab browser + * display.c (displayBuffer): add ny + rootY offset by tab + tab line + (cursorDown): offset rootY + (arrangeCursor): offset rootY + * etc.c (columnSkip): offset rootY + (lineSkip): offset rootY + (currentLineSkip): offset rootY + * file.c (HTMLlineproc2body): ATTR_TARGET + * fm.h (MapArea): add target + (Buffer): add rootY + (TabBuffer): added + (Currentbuf): comment out + (Firstbuf): comment out + (CurrentTab): added + (FirstTab): added + (LastTab): added + (open_tab_blank): added + (close_tab_back): added + (nTab): added + (TabCols): added + (N_TAB): added + (Currentbuf): CurrentTab->currentBuffer + (Firstbuf): CurrentTab->firstBuffer + * funcname.tab (CLOSE_TAB): added + (NEW_TAB): added + (NEXT_TAB): added + (PREV_TAB): added + (TAB_GOTO): added + (TAB_GOTO_RELATIVE): added + (TAB_LEFT): added + (TAB_LINK): added + (TAB_MENU): added + (TAB_RIGHT): added + * html.c (ALST_AREA): add ATTR_TARGET + * image.c (showImageProgress): offset rootY + * main.c (_newT): added + (followTab): added + (moveTab): added + (check_target): added + (MAIN): init tab related values + buf => tab + (nscroll): offset rootY + (pgFore): offset rootY + (pgBack): offset rootY + (ctrCsrV): offset rootY + (_movD): offset rootY + (_movU): offset rootY + (_goLine): offset rootY + (_mark): offset rootY + (followA): check target + (_followForm): offset rootY + (drawAnchorCursor0): offset rootY + (drawAnchorCursor): offset rootY + (backBf): check close_tab_back + (follow_map): rewrite for tab, check target + (posTab): added + (process_mouse): tab operation + offset rootY + (deleteFiles): for all buffers in all tabs + (newTab): added + (newT): added + (numTab): added + (deleteTab): added + (closeT): added + (nextT): added + (prevT): added + (followTab): added + (tabA): added + (tabURL0): added + (tabURL): added + (tabrURL): added + (moveTab): added + (tabR): added + (tabL): added + * map.c (follow_map_menu): return MapArea + (newMapArea): add target args + * menu.c (SelTabMenu): added + (SelTabV): added + (initSelTabMenu): added + (smChTab): added + (smDelTab): added + (MainMenuItem): add Select Tab + on New Tab + (popupMenu): add initSelTabMenu() + offset rootY + (mainMn): offset rootY + (selMn): offset rootY + (initSelectMenu): offset rootY + (tabMn): added + * proto.h (newT): added + (closeT): added + (nextT): added + (prevT): added + (tabA): added + (tabURL): added + (tabrURL): added + (tabR): added + (tabL): added + (newTab): added + (deleteTab): added + (follow_map_menu): return MapArea + (newMapArea): add target arg + (tabMn): added + * rc.c (CMT_OPEN_TAB_BLANK): added + (CMT_CLOSE_TAB_BACK): added + (open_tab_blank): added + (close_tab_back): added + * doc/README.func (CLOSE_TAB): added + (NEW_TAB): added + (NEXT_TAB): added + (PREV_TAB): added + (TAB_GOTO): added + (TAB_GOTO_RELATIVE): added + (TAB_LEFT): added + (TAB_LINK): added + (TAB_MENU): added + (TAB_RIGHT): added + * doc-jp/README.func: ditto doc/README.func + +2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc-jp/README.pre_form: added [w3m-dev 03373] + * doc/README.pre_form: brief translation + +2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * etc.c (PASS_IS_READABLE_MSG): deleted + (FILE_IS_READABLE_MSG): added + (openPasswdFile): deleted + (openSecretFile): delete error_msg arg + (loadPasswd): use openSecretFile() + * form.c (next_token): delete unused static decl + (FILE_IS_READABLE_MSG): deleted + (loadPreForm): no need pass error_msg + * proto.h (openSecretFile): delete error_msg arg + +2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03373] setting form on loading + * config.h.dist (PRE_FORM_FILE): added + * configure (PRE_FORM_FILE): added + * etc.c (openPasswdFile): define by openSecretFile() + (openSecretFile): renamed, not static + * file.c (loadGeneralFile): preFOrmUpdateBuffer() + * fm.h (Buffer): add submit + (pre_form_file): added + * form.c (struct pre_form_item): added + (struct pre_form): added + (next_token): added + (PreForm): added + (add_pre_form): added + (add_pre_form_item): added + (loadPreForm): added + (preFormUpdateBuffer): added + * frame.c (renderFrame): add preFormUpdateBuffer() + * main.c (MAIN): buf->submit check + * proto.h (preFormUpdateBuffer): added + (openSecretFile): added + (loadPreForm): added + * rc.c (sync_with_option): add loadPreForm() + +2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03371] segmentation fault by large complex table. + * table.c (bsearch_2short): indexarry char to short + (bsearch_double): ditto + (dv2sv): ditto + (table_rule_width): ditto + (set_integrated_width): ditto + (check_table_height): ditto + (feed_table_tag): ditto + * table.h (struct table_cell): index, eindex char to short + +2002-11-05 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.3.2 + * version.c.in: update + * doc/README: version 0.3.2, release date + * doc-jp/README: ditto + * NEWS: update + +2002-11-05 Fumitoshi UKAI <ukai@debian.or.jp> + + * scripts/w3mhelp.cgi.in: add chkWORD + +2002-11-04 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00827] Re: w3m-cvs segfaults on news://<mid> URLs + * url.c (openURL): check pu->file for news: + +2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * fix compilation warnings + * w3mimgdisplay.c: add #include <string.h> for strlen, strcmp + * w3mimg/fb/fb.c: add #include <string.h> for memset + * w3mimg/fb/fb_w3mimg.c: add #include <string.h> for memset + +2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * 0.3.2 release candidate 4 + * version.c.in: update + +2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03365] ~/.netrc support + * etc.c (add_auth_pass_entry): add netrc arg + add new entry to tail + (find_auth_pass_entry): ent->host == NULL is "default" + (loadPasswd): rewrite with next_token, parsePasswd, + openPasswdFile + load ~/.netrc + (next_token): added + (parsePasswd): added + (openPasswdFile): added + * ftp.c (openFTP): use find_auth_user_passwd + * NEWS: ~/.netrc + +2002-10-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03363] refresh download + * file.c (HTMLtagproc1): alarm is implicit once + * fm.h (AL_IMPLICIT_ONCE): added + * main.c (searchKeyData): reset CurrentKeyData, CurrentCmdData + (SigAlarm): CurrentCmdData is saved to data + message displayed on AL_EXPLICIT + clear alarm when AL_IMPLICIT_ONCE + (setAlarmEvent): AL_IMPLICIT_ONCE + +2002-10-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03362] Re: support for http://user:pass@www.url.com + * etc.c (loadPasswd): accept host, passwd + +2002-10-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03359] support for http://user:pass@www.url.com + * etc.c (find_auth_user_passwd): use ParsedURL for args + use user and passwd if these are defined in ParsedURL + * file.c (getAuthCookie): change find_auth_user_passwd() + * proto.h (find_auth_user_passwd): change prototype + * NOTE: http://user:pass@www.url.com is NOT RECOMMENDED + for security reasons. + +2002-10-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03357] tab in <pre> in <ul>,<ol>,... + * file.c (HTMLlineproc2): check indent for tabstop + +2002-10-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03354] display current line number + * display.c (displayBuffer): %3d -> %d + +2002-10-29 Fumitoshi UKAI <ukai@debian.or.jp> + + * 0.3.2 release candidate 3 + * version.c.in: update + +2002-10-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03352] w3mimgsize is not necessary. + * XMakefile (IMGSIZE): removed + * config.h.dist (IMGSIZE): removed + * configure (imgtarget): remove IMGSIZE + (config.h): remove IMGSIZE + * rc.c (CMT_IMGSIZE): removed + * doc/README.img: remove imgsize + * w3mimgsize.c: removed + +2002-10-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03351] w3m core dump + * table.c (feed_table_tag): fix rendering problem (maybe security hole?) + +2002-10-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00796] + * configure: expand here. ($var in Makefile is $v + ar) + * XMakefile: clean w3mimg/**/*.o + +2002-10-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00795] + * configure: IMLIB_CONFIG, IMLIB2_CONFIG, GDKPIXBUF_CONFIG + * rc.c (CMT_DISP_IMAGE): need if not defined USE_IMAGE + +2002-10-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * 0.3.2 release candidate 2 + * version.c.in: update + +2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00788] + * fm.h (displayImage): FALSE ifndef USE_IMAGE + * rc.c (displayImage): display_image even if USE_IMAGE undefined + (sync_with_options): display_image is forced to be FALSE + ifndef USE_IMAGE + +2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00783] hsaka@mth.biglobe.ne.jp (Hironori SAKAMOTO) + add display_lineinfo option + * display.c (displayBuffer): check displayLineInfo + * fm.h (displayLineInfo): added + * rc.c (CMT_DISPLINEINFO): added + (display_lineinfo): added + * NEWS (rc: display_lineinfo): add + +2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00781] "Clemens Fischer" <ino-waiting@gmx.net> + zope doesn't recognize implied *LWS in accept-language + * rc.c (sync_with_option): remove optional LWS + +2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00780] "Carlo E. Prelz" <fluido@fluido.as> + always print on screen the relative position + * display.c (displayBuffer): relative position + +2002-10-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * 0.3.2 release candidate 1 + * version.c.in: update + +2002-10-26 Gary Johnson <garyjohn@spk.agilent.com> + + * [w3m-dev-en 00777] patch to fix w3m-0.3.1 word break problem + * file.c (is_period_char): + 0x203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + (is_beginning_char): + 0x2018 - LEFT SINGLE QUOTATION MARK + 0x2039 - SINGLE LEFT-POINTING ANGLE QUOTATION MARK + (is_word_char): add several chars ifndef JP_CHARSET + add ':' and '*' + +2002-10-17 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03342] + * doc/README.img: updated + * doc-jp/README.img: updated + +2002-10-17 Daiki Ueno <ueno@unixuser.org> + + * [w3m-dev 03341] white space is needed to close an empty-element tag + * parsetagx.c (parse_tag): extract tagname until '/' + +2002-10-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03339] Re: Debian Bug#164098 w3m: <sup> is not properly supported + * file.c (HTMLtagproc1): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB + * html.c (TagMAP): sup, /sup, sub, /sub + * html.c (HTML_SUP): added + (HTML_N_SUP): added + (HTML_SUB): added + (HTML_N_SUB): added + * table.c (feed_table_tag): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB + * tagtable.tab (sup): added + (/sup): added + (sub): added + (/sub): added + +2002-10-11 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03337] delete unused functions in fb.c etc. (Re: canna patch) + * w3mimg/fb/fb.c (fb_image_rotate): delete + (fb_frame_rotate): delete + (fb_pset): delete + (fb_get_color): delete + (fb_clear): delete + (fb_cmap_disp): delete + (fb_fscrn_disp): delete + (fb_vscrn_disp): delete + * w3mimg/fb/fb.h (fb_image_rotate): delete + (fb_frame_rotate): delete + (fb_pset): delete + (fb_get_color): delete + (fb_clear): delete + (fb_cmap_disp): delete + (fb_fscrn_disp): delete + (fb_vscrn_disp): delete + * w3mimg/fb/fb_img.c (fb_image_draw_simple): delete + * w3mimg/fb/fb_img.h (fb_image_draw_simple): delete + + * w3mimg/fb/license.txt: removed, follow w3m license + +2002-10-09 AIDA Shinra <aida-s@jcom.home.ne.jp> + + * [w3m-dev 03336] proxy check for https authorization: + * url.c (HTTPrequest): check CONNECT request for ssl + +2002-10-06 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03333] x11 image animation + * w3mimg/x11/x11_w3mimg.c (struct x11_image): added + (x11_img_new): added + (resize_image): added + (x11_load_image): rewrite GdkPixbuf + (x11_show_image): rewrite GdkPixbuf + (x11_free_image): rewrite GdkPixbuf + +2002-10-02 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03332] Re: hang up when seeing web page that contains xbm file + * w3mimg/x11/x11_w3mimg.c (x11_load_image): transparent support + +2002-10-02 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 03331] Re: hang up when seeing web page that contains xbm file + * configure: check gdk-pixbuf-config existence + +2002-10-01 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03330] Re: hang up when seeing web page that contains xbm file + * w3mimg/x11/x11_w3mimg.c (x11_load_image): scaling + +2002-09-30 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03327] gdk-pixbuf support for w3m-img/x11 + * configure (use_w3mimg_x11) Imlib1 or GdkPixbuf + check gdkpixbuf + * w3mimg/x11/x11_w3mimg.c (USE_GDKPIXBUF): added + (x11_init): USE_GDKPIXBUF + (x11_load_image): USE_GDKPIXBUF + (x11_get_image_size): USE_GDKPIXBUF + +2002-09-30 qhwt@myrealbox.com + + * [w3m-dev 03325] Re: hang up when seeing web page that contains xbm file + * w3mimgdisplay.c (main): always return response + even if size is unknown + +2002-09-29 Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp> + + * [w3m-dev 03323] EDITOR + * main.c (MAIN): use not_null() + +2002-09-29 AIDA Shinra <aida-s@jcom.home.ne.jp> + + * Re: [w3m-dev 03320] Re: Passwords + * etc.c (dir_under): same path is ok + * file.c (loadGeneralFile): if missing, return NULL + ssl cert already checked + * html.h (URLFILE): add ssl_certificate + * istream.c (ssl_get_certificate): change args + * istream.h (ssl_get_certificate): ditto + * url.c (openSSLHandle): add p_cert + ssl certificate check here + (HTTPrequest): auth_cookie fix + +2002-09-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03321] Bug#162104: file descriptors 1 and 2 are closed rather than reopened to /dev/null + * etc.c (mySystem): fd 0,1,2 redirect /dev/null, close all other fds + +2002-09-25 AIDA Shinra <aida-s@jcom.home.ne.jp> + + * [w3m-dev 03319] mailto + * main.c (followA): mailto + * main.c (cmd_loadURL): mailto + * url.c (_parsedURL2Str): mailto: query + +2002-09-25 AIDA Shinra <aida-s@jcom.home.ne.jp> + + * [w3m-dev 03318] Re: Passwords + * etc.c (struct auth_path): added + (passwords): added + (dir_under): added + (add_auth_pass_entry): added + (find_auth_pass_entry): added + (find_auth_user_passwd): added + (loadPasswd): added + (find_auth): dir_under() + (add_auth_cookie): check file + * file.c (find_auth_user_passwd): removed + (getAuthCookie): use delText() + check proxy + (get_auth_cookie): removed + (loadGeneralFile): auth_pu + * proto.h (schemeToProxy): added + (get_auth_cookie): removed + (loadPasswd): added + (find_auth_user_passwd): added + * rc.c (sync_with_option): loadPasswd() + * textlist.c (delValue): added + * textlist.h (delValue): added + (delText): added + * url.c (HTTPrequest): seen_www_auth + (schemeToProxy): added + +2002-09-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03312] Re: Passwords + * config.h.dist: PASSWD_FILE + * file.c (find_auth_user_passwd): return if passwd_file == NULL + +2002-09-11 Yuuichi Teranishi <teranisi@gohome.org> + + * [w3m-dev 03311] Re: Passwords + * configure (config.h): default PASSWD_FILE + * fm.h (passwd_file): default PASSWD_FILE + +2002-09-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03307] add password_file support + * file.c (find_auth_user_passwd): added + * fm.h (passwd_file): added + * rc.c (CMT_PASSWDFILE): added + (passwdfile): added + +2002-09-09 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03300] framebuffer: 8bit color support + * w3mimg/fb/fb.c: support FB_VISUAL_PSEUDOCOLOR 256 colors + +2002-09-09 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> + + * [w3m-dev 03299] remove file before copying (install-sh) + * install-sh: remove file before copying + +2002-09-09 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> + + * [w3m-dev 03298] [ -f instead of [ -e (configure) + * configure: use test -f instead of test -e + +2002-09-09 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> + + * [w3m-dev 03297] TERM=mlterm + * terms.c (w3m_term_info_list): add mlterm + +2002-09-09 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp> + + * [w3m-dev 03296] fix configure (strtoq) + * configure (strtoq): fix missing semicolon + +2002-09-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03292] Re: load file at cursor + * anchor.c (reAnchorPos): added + (reAnchorWord): added + (reAnchorAny): rewrite to use reAnchorPos() + * funcname.tab (MARK_WORD): added + * keybind.c (;) MARK_WORD + * main.c (getCurWord): added + (chkWORD): added + (is_wordchar): added + (getCurWord): added + (GetWord): rewrite to use getCurWord() + * proto.h (chkWORD): added + (reAnchorWord): added + * doc/README.func: add MARK_WORD + * doc/keymap.default: add MARK_WORD + * doc-jp/README.func: add MARK_WORD + * doc-jp/keymap.default: add MARK_WORD + * NEWS: add MARK_WORD + +2002-08-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03291] parsetagx.c:toNumber() + * parsetagx.c (toNumber): don't parse non-number value as 0, + just ignore + +2002-08-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large files + * indep.c (strtoclen): need defined() + +2002-08-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * Debian Bug#157098: wrong file presentation on large files + from "Eduard Bloch" <blade@debian.org> + * configure (clen_t): added + (HAVE_STRTOLL): added + (HAVE_STRTOQ): added + (HAVE_ATOLL): added + (HAVE_ATOQ): added + * config.h.dist: ditto + * file.c (current_content_length): s/int/clen_t/ + (loadGeneralFile): s/atoi/strtoclen/ + (convert_size): s/int/clen_t/ + (convert_size2): s/int/clen_t/ + (showProgress): s/int/clen_t/ + (loadHTMLstream): s/int/clen_t/ linelen, trbyte + (loadBuffer): ditto + (getNextPage): s/int/clen_t/ linelen + (save2tmp): s/int/clen_t/ linelen, trbye + (_MoveFile): s/int/clen_t/ linelen, trbye + * fm.h (_Buffer): s/int/clen_t/ linelen, trbye + * ftp.c (size_int2str): s/long/clen_t/ + (ex_ftpdir_name_size_date): s/long/clen_t/ + * indep.c (strtoclen): added + * indep.h (strtoclen): added + * proto.h (showProgress): s/int/clen_t/ + +2002-07-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * Debian Bug#154766: w3m-img: support DirectColor framebuffer visuals? + from Colin Watson <cjwatson@debian.org> + * w3mimg/fb/fb.c (fb_open): accept FB_VISUAL_DIRECTCOLOR + +2002-07-30 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03282] Re: w3m-img for framebuffer update + * w3mimg/fb/fb.c (fb_image_new): ignore no image + calloc multiple images + (fb_image_fill): added + (fb_image_draw): width, height fix + (fb_image_rotate): fix typo + (fb_image_copy): added + (fb_frame_new): added + (fb_freme_free): added + (fb_frame_rotate): added + * w3mimg/fb/fb.h (FB_IMAGE): add num, id, delay + (fb_frame_new): added + (fb_frame_free): added + (fb_frame_rotate): added + * w3mimg/fb/fb_gdkpixbuf.c (get_image_size): animation support + (fb_image_load): animation support + (draw): add bg, x, y, w, h args + * w3mimg/fb/fb_img.h (fb_image_load): return FB_IMAGE** + * w3mimg/fb/fb_imlib2.c (fb_image_load): return FB_IMAGE** + * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): animation support + +2002-07-23 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03280] w3m-img without w3mimgsize + * fm.h (Imagesize): deleted + * image.c (getImageSize): rewrite to use w3mimgdisplay + instead of w3mimgsize + * rc.c (params1): remove imgsize, merged to imgdisplay + +2002-07-23 Hiroyuki Ito <hito@crl.go.jp> + + * [w3m-dev 03279] w3m-img for framebuffer update + http://homepage3.nifty.com/slokar/fb/w3mfb.patch.gz + * w3mimg/fb/readme.txt: update + * w3mimg/fb/fb.c: update + * w3mimg/fb/fb.h: update + * w3mimg/fb/fb_gdkpixbuf.c: update + * w3mimg/fb/fb_img.c: update + * w3mimg/fb/fb_img.h: update + * w3mimg/fb/fb_imlib2.c: update + * w3mimg/fb/fb_w3mimg.c: update + * w3mimg/fb/fb_gdkpixbuf.h: deleted + * w3mimg/fb/fb_imlib2.h: deleted + * w3mimg/w3mimg.h (w3mimg_op): add get_image_size() + * w3mimg/x11/x11_w3mimg.c: update + * w3mimgdisplay.c (main): use get_image_size() + * w3mimgsize.c (main): use get_image_size() + +2002-07-19 Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp> + + * [w3m-dev 03277] compile error on Solaris7 + * w3mimg/w3mimg.c: include <stdio.h> for NULL + +2002-07-19 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + +a * [w3m-dev 03276] compile error on EWS4800 + * file.c (extract_auth_val): fix warnings + * w3mimg/w3mimg.c: include <stdlib.h> + +2002-07-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03275] fix of multipart.cgi + * scripts/multipart/multipart.cgi.in: check REQUEST_METHOD first + need $count for POST + +2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3mimgdisplay.c (main): '5' for w3mimgsize + +2002-07-18 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 03270] Re: w3m-img for framebuffer merged + * w3mimg/x11/x11_w3mimg.c (w3mimg_x11open): unsigned int nchildren + +2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * XMakefile (w3mimg/w3mimg): added + (w3img/fb) fixed + * w3mimg/w3mimg.h (w3mimg_open): deleted to avoid compilation warnings + * w3mimg/w3mimg.c: added + * configure (imgobjs): add w3mimg/w3mimg.o + +2002-07-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03272] Re: w3m-img for framebuffer merged (Re: Re: w3m-img for framebuffer) + * XMakefile (w3mimg/x11): chdir + (w3mimg/fb): chdir + +2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03273] Re: w3m-img for framebuffer merged + * configure (use_w3mimg_fb): check linux, use test -c + +2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * merge w3m-img for framebuffer support + * w3mimg/w3mimg.h: created + * w3mimg/x11/x11_w3mimg.c: created + * w3mimg/fb/fb_w3mimg.c: created + * w3mimgsize.c w3mimgdisplay.c: modified + * configure: modified + * XMakefile: modified + * config.h.dist: updated + +2002-07-18 ZXB01226@nifty.com + + * w3m-img for framebuffer support + * http://homepage3.nifty.com/slokar/fb/ + * w3mimg/fb/fb.c w3mimg/fb/fb.h + w3mimg/fb/fb_img.c w3mimg/fb/fb_img.h + w3mimg/fb/fb_gdkpixbuf.c w3mimg/fb/fb_gdkpixbuf.h + w3mimg/fb/fb_imlib2.c w3mimg/fb/fb_imlib.h + w3mimg/fb/readme.txt w3mimg/fb/license.txt: added + +2002-07-18 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03263] fix lastA segfault + * main.c (lastA): fix lastA segfault when no anchor found + +2002-07-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: cvs version + +2002-07-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.3.1 + * version.c.in: update + * doc/README: version 0.3, release date + * doc-jp/README: ditto + * NEWS: update + +2002-07-12 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> + + * [w3m-dev 03255] update cygwin info + * doc-jp/README: update + * doc/README: update + * doc-jp/README.cygwin: deleted + * doc/README.cygwin: deleted + +2002-07-10 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> + + * [w3m-dev 03240] doc-jp update + * doc-jp/MANUAL.html: update + * doc-jp/README: update + * doc-jp/README.SSL: update + * doc-jp/README.img: update + +2002-07-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * gc/: import gc6.1alpha5 + +2002-07-09 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * delete old mail addresses of aito-san from docs + * delete old ftp site from w3m-doc/install.html.in + +2002-07-01 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * [w3m-dev 03235] topA/lastA with prec_num + * main.c: add prec_num to topA() and lastA() + +2002-06-24 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03233] "obuf->flag |= RB_IGNORE_P" after <body> tag + * file.c (HTMLtagproc1): no need RB_IGNORE_P after <body> tag + +2002-06-18 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * [w3m-dev 03215] Re: Boehm GC 6.1alpha5 + * XMakefile: add "base_lib gc.a" for making GC + +2002-06-18 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03212] lstat() in form.c + * form.c: define lstat unless HAVE_LSTAT + (form_write_from_file): always check lstat() + +2002-06-17 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * [w3m-dev 03214] strtoul() in frame.c + * frame.c (parseFrameSetLength): strtoul() -> strtol() + +2002-06-10 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev-en 00752] Re: tab completion weirdness in w3m 0.3 + * file.c (doFileCopy): same fix as [w3m-dev-en 00751] + +2002-06-10 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev-en 00751] Re: tab completion weirdness in w3m 0.3 + * main.c (svBuf): unescape spaces when input is filename + * proto.h (unescape_spaces): added + +2002-06-08 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03207] strchr(), strcasecmp(), and strncasecmp() + * etc.c (strchr): removed + (strcasecmp): removed + (strncasecmp): removed + * indep.c (strchr): moved, cast + (strcasecmp): moved, fix the case that s1 = "" + (strncasecmp): moved, fix the case that s1 is shorter than s2 + * indep.h (strchr): added + (strcasecmp): added + (strncasecmp): added + +2002-06-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03206] Re: dict + * main.c (execdict): quote word + +2002-06-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03204] INET6 + * main.c (fversion): s/USE_INET6/INET6/ + +2002-06-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03203] dict + * main.c (execdict): fix loadGeneralFile() + +2002-06-02 Tushar Samant <scribble@pobox.com> + + * [w3m-dev-en 00748] PATCH: Reinitialize w3m while running + * funcname.tab (INIT_MAILCAP): deleted + (REINIT): added + * main.c (config_filename): added + (reinit): added + * proto.h (reinit): added + * rc.c (rc_initialized): deleted + * w3mhelperpanel.c (editMailcap): use REINIT MAILCAP + +2002-06-02 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03200] Re: New configuration option ``keymap_file'' and new command ``DEFINE_KEY'' + * fm.h: add <sts/stat.h>, unistd.h> + * fm.h (keymap_file): added + * func.c (keymap_initialized): added + (current_keymap_file): added + (setKeymap): added + (initKeymap): rewrite to use setKeymap() + * funcname.tab (DEFINE_KEY): added + * main.c (MAIN): initKeymap(TRUE) + (defKey): added + * proto.h (defKey): added + (setKeymap): added + (initKeymap): add force param + * rc.c (CMT_KEYMAP_FILE): added + (params3): add keymap_file + (sync_with_option): add initKeymap(FALSE) + * doc/README.func (DEFINE_KEY): added + * doc-jp/README.func: (DEFINE_KEY): added + * scripts/w3mhelp.cgi.in: add defKey + * NEWS: + func: DEFINE_KEY + rc: keymap_file + +2002-06-02 Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp> + + * [w3m-dev 03196] C-w + * linein.c (inputLineHistSearch) move_word changed + * linein.c (setStrType): add space to termchar + +2002-05-15 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03191] typo in file.c:extract_auth_val()? + * file.c (extract_auth_val): s/177/0177/ + +2002-05-15 Tsutomu OKADA <okada@furuno.co.jp> + + * [w3m-dev 03190] a tiny patch for configure + * configure (ask_choice): reset default value + +2002-04-27 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03185] Re: cmd_mark in main.c, rev 1.60 broke unmark? + * main.c (cmd_mark): deleted + (_mark): xor PE_MARK + (reMark): or PE_MARK + +2002-04-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * scripts/.cvsignore: add xface2xpm + +2002-04-26 Tushar Samant <scribble@pobox.com> + + * [w3m-dev-en 00733] Submission: "English" patch + * rc.c: update english + +2002-04-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00730] Re: Patch for a more flexible dictionary lookup + * NEWS: rc: use_dictcommand, dictcommand + * main.c (execdict): use url_quote_conv() instead of cURLcode() + * proto.h (cURLcode): deleted + * doc-jp/README.dict: updated + +2002-04-25 Tushar Samant <scribble@pobox.com> + + * [w3m-dev-en 00729] Re: Patch for a more flexible dictionary lookup + * config.h.dist (DICT): define + * configure (use_dict): default y + * fm.h (DICTCMD): deleted + (UseDictCommand): added + (DictCommand): added + * main.c (execdict): rewrite to use DictCommand, loadGeneralFile() + * rc.c (CMT_USE_DICTCOMMAND): added + (CMT_DICTCOMMAND): added + (params1): use_dictcommand, dictcommand added + * doc/README.dict: updated + +2002-04-21 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03181] KEYBIND_SRC was not passed to scripts/Makefile + * Makefile (all-scripts): pass KEYBIND_SRC + +2002-04-17 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03178] Parser of ``cols'' and ``rows'' + * frame.c (parseFrameSetLength): added + (newFrameSet): use parseFrameSetLength() + +2002-04-17 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03177] SIGUSR1 --> W3M_SIGIMG in image.c + * image.c (W3M_SIGIMG): added + (load_image_handler): s/SIGUSR1/W3M_SIGIMG/ + (load_image_next): ditto + (loadImage): ditto + +2002-04-17 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03176] no Content-Type in http response header + * file.c (loadGeneralFile): guess content-type from filename + +2002-04-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03169] Can't calculate table height if number of cells > 20. + * table.c (check_table_height): change row, rowspan, indexarray, height + from array to pointer + +2002-04-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03167] xface2xbm -> xface2xpm (current imlib can't handle XBM) + * configure: s/XFACE2XBM/XFACE2XPM/ + * config.h.dist: ditto + * file.c (xface2xpm): renamed from xface2xbm + modified for xpm + (readHeader): s/xface2xbm/xface2xpm/ + * scripts/Makefile (LIB_TARGETS): s/xface2xbm/xface2xpm/ + * scripts/xface2xpm.in: added + +2002-03-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03162] Re: "ttp:" is marked instead of "http:" by MARL_URL + * main.c (chkURLBuffer): "mailto" removed when USE_W3MMAILER + in this case, chkExternalURIBuffer() will mark mailto: URL. + +2002-03-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03160] Re: "ttp:" is marked instead of "http:" by MARL_URL + * NEWS: mark_all_pages + * anchor.c (reAnchorAny): check MarkAllPages + * fm.h (MarkAllPages): added + * rc.c (CMT_MARK_ALL_PAGES): added + (mark_all_pages): added + +2002-03-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03159] "ttp:" is marked instead of "http:" by MARL_URL + * main.c (chkURLBuffer): check internal URLs first + +2002-03-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * terms.c (set_tty): s/term_info/w3m_term_info/g; + struct term_info is defined in FreeBSD's sys/consio.h + reported by KOIE Hidetaka <hide@koie.org> + +2002-03-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03146] Re: header option + * main.c (make_optional_header_string): cleanups + +2002-03-28 Yuuichi Teranishi <teranisi@gohome.org> + + * [w3m-dev 03145] header option + * main.c (MAIN): hide args for security + +2002-03-23 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 03140] Forward: Bug#139305: + w3m: EXTERN_LINK does not work if href ends with ampersand + * main.c (invoke_browser): check bg by browser + +2002-03-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * terms.c (term_title): use ttyf instead of stderr + +2002-03-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03137] Re: w3mman.1 + * XMakefile (MAN1): added + (MAN1_JA): added + (install-core): install man + (install-scripts): pass MAN_DIR + (uninstall): uninstall man, pass MAN_DIR to subdirs + * config.h.dist (MAN_DIR): added + (MAN1_DIR): added + (MAN1_JA_DIR): added + * configure: -mandir + (config.h): add MAN_DIR, MAN1_DIR, MAN1_JA_DIR + * scripts/w3mman/Makefile (MAN1_DIR): added + +2002-03-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03136] Add COMMAND to execute multiple commands + * fm.h (CurrentMenuData): deleted + (CurrentCmdData): added + * func.c (getKey): check next char of ^ + (getWord): get word until ';' + (getQWord): rewrite using Str + * funcname.tab (COMMAND): added + * main.c (MAIN): delete CurrentMenuData + initialize CurrentCmdData + (searchKeyData): use CurrentCmdData + (execCmd): added + (SigAlarm): delete CurrentMenuData, use CurrentCmdData + * menu.c (action_menu): delete CurrentMenuData, use CurrentCmdData + * proto.h (execCmd): added + * doc/README.func (ALARM): capitalize + (COMMAND): added + * doc-jp/README.func (COMMAND): added + +2002-03-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03135] commit of [w3m-dev 03006] is incomplete. + * file.c (HTMLlineproc2body): check form_int fid attr + update forms[] + fix buf->formlist + +2002-03-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * part of [w3m-dev-en 00713] contrib: unofficial "current page info" patch, updated for w3m-0.3 + by Moritz Barsnick <barsnick@gmx.net> + * map.c (page_info_panel): s/line/lines/ + s/byte/bytes/ + anchor for URL of current anchor + +2002-03-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * -title support + modified [w3m-dev-en 00710] contrib: unofficial "xterm title" patch, updated for w3m-0.3 + by Moritz Barsnick <barsnick@gmx.net> + * NEWS: -title + * fm.h (displayTitleTerm): added + * proto.h (term_title): added + * main.c (fusage): add -title + (MAIN): add -title + (quitfm): term_title("") + * display.c (displayBuffer): term_title() + * terms.c (title_str): added + (TERM_INFO): added + (term_info): modified from mouse_term_info + (term_info_list): modified from xterm_mouse_term + add "screen" + (set_tty): check displayTitleTerm + (term_title): added + +2002-03-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03132] Re: Reload image + * file.c (loadGeneralFile): b->type = "text/html" + * file.c (loadImageBuffer): comment out getImageSize() + image_flag = IMG_FLAG_AUTO + * file.c (openGeneralPagerBuffer): buf->type = "text/html" + * frame.c (resetFrameElement): if (buf->mailcap_source) ... + * frame.c (frame_download_source): if (buf->mailcap_source) ... + * main.c (vwSrc): #ifdef USE_IMAGE + +2002-03-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03133] Re: w3mman.1 + * scripts/w3mman/Makefile (MAN1_TARGETS): added + (MAN_TARGETS): use $(MAN_TARGETS) + (INSTALL_MAN): added + (install): use $MAN1_TARGETS, $(INSTALL_MAN) + * scripts/w3mman/w3mman2html.cgi.in: $PAGER='cat' + +2002-03-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * scripts/.cvsignore: add xface2xbm + +2002-03-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03130] w3mman.1 + * scripts/w3mman/.cvsignore: add w3mman.1 + * scripts/w3mman/Makefile (MAN_DIR): added + (MAN_TARGETS): added + (all): add $(MAN_TARGETS) + (.in): replace @LIB_DIR@ + (install): install $(MAN_TARGETS) + (uninstall): uninstall $(MAN_TARGETS) + (clean): clean $(MAN_TARGETS) + * scripts/w3mman/w3mman.1.in: added + * scripts/w3mman/w3mman2html.cgi.in: undef $PAGER + +2002-03-15 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03129] Re: X-Face + * configure (use_xface): ask + * fm.h (_Buffer): add header_source + * buffer.c (reshapeBuffer): fix reshape when reading stdin with image + fix disappearing header when reading stdin + * file.c (xface2xbm): check file existence + * file.c (readHeader): save to tmp file + X-Face when activeImage & displayImage + * main.c (dispI): comment out checking content type + * main.c (stopI): ditto + * scripts/xface2xbm.in: update compface URL + read from file $XF + write to file $XBM + +2002-03-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * proto.h (readHeader): added + +2002-03-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03127] X-Face + * NEWS: X-Face support + * configure (use_xface): added + * config.h.dist (USE_XFACE): added + (XFACE2XBM): added + * file.c (xface2xbm): added + (readHeader): X-Face: handling + * scripts/Makefile (LIB_TARGETS): add xface2xbm + * scripts/xface2xbm.in: added + +2002-03-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03126] reshapeBuffer() and -m option + * buffer.c (reshapeBuffer): fix reshapeBuffer() in case of -m option + +2002-03-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03125] w3m -m < image + * file.c (openGeneralPagerBuffer): use internal viewer for -m option + +2002-03-13 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03116] Re: aligned block in <td align="center"> + * file.c (flushline): align if align="align" + * fm.h (RB_LEFT): change value + (RB_ALIGN): include RB_LEFT + (RB_INTABLE): added + * table.c (do_refill): obuf.flag |= RB_INTABLE + +2002-03-11 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> + + * [w3m-dev 03110] Re: gopher broken + * file.c (loadGeneralFile): #ifdef USE_GOPHER + +2002-03-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03106] Re: displayBuffer + * display.c (displayBuffer): revert previous changes + * file.c (process_img): remove space in src attribute + +2002-03-10 Rei FURUKAWA <furukawa@tcp-ip.or.jp> + + * [w3m-dev 03096] displayBuffer + * display.c (displayBuffer): buf->need_reshape = 0 to prevent recursive + displayBuffer calls + +2002-03-09 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03095] Re: gopher broken + (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) + * file.c (loadGopherDir): html_quote(url_quote_conv()) + +2002-03-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03092] Reload image + * file.c (loadImageBuffer): cache->index = 0 + +2002-03-09 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03093] Re: gopher broken + (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) + * file.c (loadGopherDir): fix ->ptr + q should be url_quote() + * url.c (openURL): url_unquote() for gopher selector + +2002-03-09 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03090] Re: gopher broken + (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) + * file.c (loadGeneralFile): if loadGopherDir, type is real_type + * file.c (loadGopherDir): rewrite to use loadHTMLstream() + +2002-03-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03088] gopher broken + (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) + * file.c (form_max): initial value should be -1 + * file.c (loadGopherDir): </A> + +2002-03-08 YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> + + * [w3m-dev 03087] vi +1 emptyfile + * etc.c (myEditor): line > 1 + +2002-03-06 Christian Weisgerber <w3m-dev-en@mips.inka.de> + + * [w3m-dev-en 00699] + * configure: define SETPGRP() instead of setpgrp() + * etc.c (mySystem): use SETPGRP() instead of setpgrp() + * image.c (openImgdisplay): ditto + * search.c (open_migemo): ditto + * url.c: revert changes by Dai Sato on 2002-02-01 + since stdio.h and config.h is included with this order + in fm.h + +2002-03-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: 0.3+cvs + +2002-03-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.3 + * version.c.in: update + * doc/README: version 0.3, release date + * doc-jp/README: ditto + * NEWS: update + +2002-03-06 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03084] A temporary file remains when pipe + 'v' + * proto.h (saveBufferDelNum): deleted + * file.c (saveBufferDelNum): deleted + * file.c (saveBuffer): saveBufferDelNum() renamed + * main.c (vwSrc): tmpfname() recorded as fileToDelete + use saveBuffer() instead of saveBufferDelNum() + +2002-03-04 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc-jp/MANUAL.html: add note about file:/cgi-bin + * doc/MANUAL.html: ditto + +2002-03-01 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03073] frame + image + * file.c (loadGeneralFile): w3m_dump & ~DUMP_FRAME + * file.c (loadImageBuffer): comment out if (frame_source) + +2002-03-01 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03072] Proxy-Authorization (Re: Re: https through proxy) + * file.c (loadGeneralFile) delete Proxy-Authorization set here + * fm.h (HR_FLAG_PROXY): added + * main.c (MAIN): need "Basic " for proxy_auth_cookie + * url.c (HTTPrequest): add seen_proxy_auth + if proxy and no Proxy-Authorization: header seen and + has proxy_auth_cookie, use it + * url.c (openURL): hr->flag |= HR_FLAG_PROXY + + * file.c (loadGeneralFile) comment indent fix + * html.c (TagMAP): ditto + +2002-02-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03070] Re: https through proxy + * url.c (openURL): pass extra_header (Proxy-Authorization:) + +2002-02-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03067] Re: https through proxy + * file.c (loadGeneralFile): comment out ssl_get_certificate here + +2002-02-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00691] Re: w3m 0.2.5.1 fails to recognize '<dt id="XXX">' + * html.c: ATTR_CORE for dt, dd, blockquote, caption + +2002-02-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03064] Re: SELECTED form value + * form.c (formResetBuffer): set inititial value + +2002-02-23 HIDAI Ken-ichi <hidai@nmn.jp> + + * [w3m-dev 03060] doc-jp/README.migemo + * doc-jp/README.migemo: added + +2002-02-23 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03059] table + hborder + rowspan + valign=bottom + * table.c (renderTable): add case BORDER_NOWIN: + +2002-02-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information upon reload (or almost anything else) + * etc.c (find_auth): add `file' + check file as well + * etc.c (find_auth_cookie): add `file' + * etc.c (add_auth_cookie): add `file' + * file.c (AuthBasicCred): add "Basic " + * file.c (AuthDigestCred): add "Digest " + * file.c (getAuthCookie): if h_auth == NULL, get recorded cookie + * file.c (get_auth_cookie): get recorded cookie + * file.c (loadGeneralFile): don't clear add_auth_cookie_flag + by redirection + add_auth_cookie if authorization is required and passed + * fm.h (auth_cookie): add file + * ftp.c (openFTP): follow change auth_cookie + * proto.h (get_auth_cookie): added + * proto.h (find_auth_cookie): add `file' + * proto.h (add_auth_cookie): add `file' + * url.c (openURL): get_auth_cookie + +2002-02-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03058] mailer + * NEWS: rc: mailer + * fm.h (Mailer): change default + * main.c (MAIN): $MAILER will be used as "mailer" + * main.c (followA): if "mailer" defined & simple mailto: URL, + use mailer instead of w3mmail.cgi + * main.c (cmd_loadURL): ditto + * rc.c (params6): remove ifndef USE_W3MMAILER + +2002-02-15 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03056] DISPLAY_IMAGE, STOP_IMAGE don't work. + * main.c (dispI): fix DISPLAY_IMAGE + * main.c (stopI): fix STOP_IMAGE + +2002-02-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03055] LIB_DIR -> w3m_lib_dir() + * image.c (getCharSize): s/LIB_DIR/w3m_lib_dir()/ + * image.c (openImgdisplay): ditto + * image.c (getImageSize): ditto + +2002-02-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03048] garbage of images on the right edge of termical. + * display.c (redrawLineImage): fix width calculation + +2002-02-14 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03053] Re: SSL indicator + * main.c (dump_extra): Output SSL certificate. + +2002-02-12 Katsumi Yamaoka <yamaoka@jpl.org> + + * [w3m-dev 03038] LDFLAGS + * XMakefile: refer to LDFLAGS when linking + * configure: add -ldflags=* + +2002-02-12 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 03036] + * display.c (displayBuffer): ifdef USE_SSL + +2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03034] check buf + * frame.c (frame_download_source): buf->ssl_certificate can be used + only if buf != NULL && buf != NO_BUFFER + +2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03033] SSL indicator + * display.c (displayBuffer): show SSL indicator + +2002-02-08 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 03025] fix image loading on EWS4800 + * image.c (loadImage): exit if symlink failed + exit if fopen failed + +2002-02-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03022] SSL certificates of frame body + * frame.h (frame_body): add ssl_certificate + * frame.c (frame_download_source): save ssl_certificate + * map.c (append_frame_info): display ssl_certificate of frame_body + +2002-02-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03021] Bug#132934: w3m should recognize file:/uris + in chkURLBuffer function + * main.c (chkURLBuffer): add "file:" + +2002-02-08 Yuji Abe <cbo46560@pop12.odn.ne.jp> + + * [w3m-dev 03017] URI scheme is case insensitive + * url.c (searchURIMethods): s/strcmp/strcasecmp/ + +2002-02-08 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 03011] segmentation fault on <input> tag without <form> + * file.c (process_input): tmp initialization fix + +2002-02-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [emacs-w3m:02733] for emacs-w3m better rendering with inline image + * main.c (MAIN): activeImage = TRUE when -halfdump & display_image=1 + +2002-02-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03006] fix form order in table + * file.c (process_form): static + fix form index order + method should be quoted + * file.c (process_form): added + * file.c (HTMLlineproc2body): add form_id + * html.c (ALST_FORM_INT): added + * html.c (form_int): update + +2002-02-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 03005] fix Bad cert ident + * istream.c (ssl_match_cert_ident): added + * istream.c (ssl_check_cert_ident): use ssl_match_cert_ident() + +2002-02-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02999] don't ask accept bad cert when background downloading + * file.c (getAuthCookie): if QuietMessage, return NULL + * file.c (inputAnswer): if QuietMessage, input "n" + +2002-02-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02991] form support in w3m -halfdump foo.html|w3m -halfload + * fm.h (DUMP_HALFEXTRA): deleted + * proto.h (process_select): return Str + * file.c (process_img): process_form() fix + * file.c (process_input): process_form() fix + * file.c (process_select): return Str + process_form() fix + * file.c (process_textarea): process_form() fix + * file.c (process_form): support -halfdump + * file.c (HTMLtagproc1): delete case HTML_FORM_INT, HTML_N_FORM_INT + process_{form,select,textarea}() fix + * file.c (HTMLlineproc2body): support -halfload + HTML_INTERNAL, HTML_N_INTERNAL, + HTML_FORM_INT, HTML_FORM_INT, + HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT, + HTML_SELECT_INT, HTML_N_SELECT_INT, + HTML_OPTION_INT, HTML_TITLE_ALT + * file.c (print_internal_information): fix -halfdump + * file.c (loadHTMLstream): no DUMP_HALFEXTRA + * html.h: add HTML_INTERNAL, HTML_N_INTERNAL, + HTML_SELECT_INT, HTML_N_SELECT_INT, + HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT + * html.c (ALST_TEXTAREA_INT): added + * html.c (ALST_SELECT_INT): added + * html.c: add <internal>, </internal>, <select_int>, </select_int> + <option_int>, <textarea_int>, </textarea_int> + * main.c (MAIN): delete -halfdump_extra + dont output <pre> by -halfdump + * table.c (feed_table_tag): process_{form,select}() fix + add case HTML_INTERNAL, HTML_N_INTERNAL, + HTML_SELECT_INT, HTML_N_SELECT_INT, + HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT, + * tagtable.tab: add internal, /internal, select_int, /select_int + option_int, textarea_int, /textarea_int + +2002-02-05 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02990] + * file.c (doFileCopy): use Strfgets() instead of fgets() + * file.c (doFileSave): ditto + +2002-02-05 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02989] + * file.c (inputAnswer): use Strfgets() instead of fgets() + +2002-02-04 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> + + * [w3m-dev 02986] + * file.c (print_internal_information): Don't print boundaries. + Use henv->f instead of stdout. + +2002-02-04 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02984] inline image improvements and cleanups + * config.h.dist (HAVE_SYMLINK) added + * config.h.dist (HAVE_LSTAT): added + * configure: symlink() check + * configure: lstat() check + * fm.h (maxLoadImage): added + * form.c (form_write_from_file): s/HAVE_READLINK/HAVE_LSTAT/ + * image.c: include <sys/stat.h> + * image.c (MAX_LOAD_IMAGE): default 8 + * image.c (max_load_image): deleted + * image.c (n_load_image): added + * image.c (showImageProgress): added + * image.c (loadImage): check load image count + s/HAVE_READLINK/HAVE_LSTAT/ (HAVE_SYMLINK) + showImageProgress + * local.c: include <sys/stat.h> + s/HAVE_READLINK/HAVE_LSTAT/ + * rc.c (CMT_MAX_LOAD_IMAGE): added + * rc.c (max_load_image): added + * doc/README.img: update + * doc-jp/README.img: update + + * file.c (process_img): pre_int fix + +2002-02-04 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02985] inputAnswer() and no "ssl_forbid_method" + * file.c (inputAnswer): buf size is 80 + * url.c (openSSLHandle): if old_ssl_forbid_method == ssl_forbid_method + ssl path is not modified + +2002-02-04 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02980] Re: code_to_str not found ifndef JP_CHARSET + * backend.c (get_mime_charset_name): used only ifdef JP_CHARSET + +2002-02-04 Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp> + + * [w3m-dev 02979] code_to_str not found ifndef JP_CHARSET + * file.c (print_internal_information): ifdef JP_CHARSET + +2002-02-03 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02967] parallel image downloading + * fm.h (ImageCache): add touch, pid + * image.c (getCharSize): retry fscanf + * image.c (drawImage): retry fflush + * image.c (MAX_LOAD_IMAGE): added, default 4 + * image.c (image_cache): change to ImageCache** + * image.c (image_lock): added + * image.c (load_image_handler): signal SIGUSR1 + * image.c (load_image_next): signal SIGUSR1 + * image.c (loadImage): parallel image downloading + * image.c (getImage): initialize touch, pid + * image.c (getImageSize): return value is TRUE or FALSE + retry fscanf + +2002-02-03 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02970] multiple -lnsl -lsocket + * configure: merge bsdlib and extlib detection, use extlib only + add ldflags to extlib + (SYS_LIBRARIES): remove extlib + (LOCAL_LIBRARIES): exlib only + +2002-02-03 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> + + * [w3m-dev 02964] Print data of forms when halfdump option is set + * backend.c (print_headers): print w3m-current-url and w3m-base-url + * backend.c (print_formlist): deleted + * backend.c (internal_get): remove "if (buf->formlist) {}" + * file.c (print_internal_information): added + * file.c (loadHTMLstream): if halfdump, print_internal_information + if w3m_backend, print_internal_information + * fm.h (DUMP_HALFEXTRA): added + * main.c (-halfdump_extra): added + +2002-02-01 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * [w3m-dev 02972] #include "config.h" + * url.c, mktable.c: fix the order of including files + +2002-02-01 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02968] fix problem with Netscape-Enterprise WWW-authenticate + * file.c (findAuthentication): token is case insensitive + +2002-02-01 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02961] halfdump image is not consistent + * file.c (flushline): check f + * file.c (do_blankline): fix blanklink conditions + +2002-02-01 Fumitoshi UKAI <ukai@debian.or.jp> + + * gcc -Wall -Werror safe + * anchor.c (addMultirowsImg): unused variable: fi + * display.c (redrawLineImage): unused variable: ncol + * file.c (process_img): uninitialized variables: r2, ni, w0, i0, ismap + unused variable: url, ext + * file.c (loadHTMLstream): need volatile image_flag + * image.c (image_index): int + * image.c (getCharSize): need prototype + * image.c (getImage): uninitialized variable: key + return NULL + * map.c (follow_map_menu): used only USE_IMAGE: px, py, map + * map.c (newMapArea): used only USE_IMAGE: p, i, max + * proto.h (addMultirowsImg): added + * w3mimgdisplay.c (main): format string fix + * w3mimgdisplay.c (DrawImage): need (Pixmap) cast + + * inflate.c: indent + +2002-02-01 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz) + * NEWS: w3m-img merge + * .cvsignore: add w3mimgdisplay, w3mimgsize + * XMakefile: add image.c to SRCS + add image.o to OBJS + add IMGDISPLAY, IMGSIZE + * config.h.dist: USE_IMAGE, IMGSIZE, IMGDISPLAY + * configure: add find_imlib + ask use_image + (config.h) add $imgtarget to EXT_TARGETS + $def_use_image + IMGSIZE, IMGDISPLAY + * fm.h (MAX_IMAGE): added + * fm.h (DEFAULT_PIXEL_PER_CHAR): fix for USE_IMAGE + * fm.h (DEFAULT_PIXEL_PER_LINE): added + * fm.h (B_REDRAW_IMAGE): added + * fm.h (IMG_FLAG_SKIP): added + * fm.h (IMG_FLAG_AUTO): added + * fm.h (IMG_FLAG_START): added + * fm.h (IMG_FLAG_STOP): added + * fm.h (IMG_FLAG_NEXT): added + * fm.h (IMG_FLAG_UNLOADED): added + * fm.h (IMG_FLAG_LOADED): added + * fm.h (IMG_FLAG_ERROR): added + * fm.h (MapArea): added + * fm.h (MapList): s/urls/alts/, add area + * fm.h (ImageCache): added + * fm.h (Image): added + * fm.h (Anchor): add image + * fm.h (Buffer): add imarklist, image_flag, need_reshape + * fm.h (RG_FRAME_SRC): added + * fm.h (ALIGN_MIDDLE): added + * fm.h (ALIGN_TOP): added + * fm.h (ALIGN_BOTTOM): added + * fm.h (QuietMessage): added + * fm.h (Imgdisplay): added + * fm.h (Imgsize): added + * fm.h (activeImage): added + * fm.h (displayImage): added + * fm.h (autoImage): added + * fm.h (useExtImageViewer): added + * fm.h (image_source): added + * fm.h (view_unseenobject): change default if USE_IMAGE + * fm.h (set_pixel_per_char): added + * fm.h (pixel_per_line): added + * fm.h (set_pixel_per_line): added + * fm.h (image_scale): added + * proto.h (dispI): added + * proto.h (stopI): added + * proto.h (deleteImage): added + * proto.h (getAllImage): added + * proto.h (loadImage): added + * proto.h (getImage): added + * proto.h (getImageSize): added + * proto.h (process_img): add width arg + * proto.h (loadImageBuffer): added + * proto.h (follow_map_menu): add a_img arg + * proto.h (getMapXY): added + * proto.h (newMapArea): added + * proto.h (touch_cursor): added + * proto.h (cURLcode): added + * proto.h (initImage): added + * proto.h (termImage): added + * proto.h (addImage): added + * proto.h (drawImage): added + * proto.h (clearImage): added + * anchor.c (addMultirowsImg): added + * buffer.c (discardBuffer): deleteImage if USE_IMAGE + * buffer.c (reshapeBuffer): buf->need_reshape check + * display.c (fmTerm): if activeImage, stop load image + * display.c (fmInit): if displayImage, initImage + * display.c (image_touch): added + * display.c (draw_image_flag): added + * display.c (redrawLineImage): added + * display.c (displayBuffer): buf->need_reshape = TRUE + mode == B_REDRAW_IMAGE + image flag checks + force redraw image in mode == B_REDRAW_IMAGE + displayBuffer if need reshape + drawImage + * display.c (redrawNLine): redrawLineImage + * display.c (redrawLineImage): added + * display.c (disp_message_nsec): return immediately if QuietMessage + * etc.c (reset_signals): ignore SIGUSR1 + * file.c (frame_source): added + * file.c (_MoveFile): added + * file.c (cur_baseURL): added + * file.c (cur_document_code): added + * file.c (cur_iseq): added + * file.c (loadGeneralFile): fix fmInitialized and prevtrap checks + save cur_baseURL + image_source load + loadImageBuffer for "image/*" + frame_source flag + fix b->type when proc is loadImageBuffer + * file.c (process_img): add width arg + parse height and width attr, align + fix for inline-image + * file.c (process_input): fix for form <input type="image"> + * file.c (HTMLtagproc1): pass h_env->limit to process_img() + fix <img_alt> for inline-image + save cur_baseURL + * file.c (HTMLlineproc2body): fix <img_alt> for inline-image + * file.c (loadHTMLstream): fix for inline-image + fix fmInitialized and prevtrap checks + save cur_document_code + save image_flag + * file.c (loadGopherDir): save cur_document_code + fix fmInitialized and prevtrap checks + * file.c (loadImageBuffer): added for inline-image + * file.c (save2tmp): fix fmInitialized and prevtrap checks + * frame.c (frame_download_source): set RG_FRAME_SRC flag + image check + * funcname.tab (DISPLAY_IMAGE): added + * funcname.tab (STOP_IMAGE): added + * html.c (ALST_IMG): add align, ismap + * html.c (ALST_AREA): add shape, coords + * html.c (ALST_IMG_ALT): add width, height, usemap, ismap, hseq, + xoffset, yoffset, top_margin, bottom_margin + * html.c (AttrMap): add shape, coords, ismap, xoffset, yoffset + * html.h (ATTR_SHAPE): added + * html.h (ATTR_COORDS): added + * html.h (ATTR_ISMAP): added + * html.h (ATTR_XOFFSET): added + * html.h (ATTR_YOFFSET): added + * html.h (ATTR_TOP_MARGIN): added + * html.h (ATTR_BOTTOM_MARGIN): added + * html.h (SHAPE_UNKNOWN): added + * html.h (SHAPE_DEFAULT): added + * html.h (SHAPE_RECT): added + * html.h (SHAPE_CIRCLE): added + * html.h (SHAPE_POLY): added + * image.c: added + * main.c (fversion): add USE_IMAGE + * main.c (fusage): -ppl option + * main.c (MAIN): set_pixel_per_char if ppc specified + -ppl option + loadImage + * main.c (pushBuffer): deleteImage + * main.c (quitfm): termImage + * main.c (selBuf): deleteImage + * main.c (followA): fix for inline-image and map area + * main.c (query_from_followform): getMapXY() + * main.c (setOpt): displayBuffer B_REDRAW_IMAGE + * main.c (follow_map): fix calculate x, y + * main.c (dispI): added + * main.c (stopI): added + * map.c: include <math.h> + * map.c (inMapArea): added + * map.c (follow_map_menu): add a_img arg to handle inline-image + * map.c (follow_map_panel): use MapArea + * map.c (getMapXY): added + * map.c (newMapArea): added + * menu.c (smChBuf): deleteImage + * parsetagx.c (toAlign): align top, bottom, middle + * rc.c (P_SCALE): added + * rc.c (CMT_PIXEL_PER_LINE): added + * rc.c (CMT_DISP_IMAGE): added + * rc.c (CMT_AUTO_IMAGE): added + * rc.c (CMT_EXT_IMAGE_VIEWER): added + * rc.c (CMT_IMAGE_SCALE): added + * rc.c (CMT_IMGDISPLAY): added + * rc.c (CMT_IMGSIZE): added + * rc.c (show_param): P_PIXELS + * rc.c (set_param): P_PIXELS + * rc.c (sync_with_option): initImage + * rc.c (to_str): P_PIXELS + * table.c (feed_table_tag): fix <img> for inline-image + * tagtable.tab (image): added + * terms.c (wgetch): retry read when EINTR or EAGAIN + * terms.c (touch_cursor): added + * w3mimgdisplay.c: added + * w3mimgsize.c: added + * doc/README.func (DISPLAY_IMAGE): added + * doc/README.func (STOP_IMAGE): added + * doc/README.img: added + * doc-jp/README.func (DISPLAY_IMAGE): added + * doc-jp/README.func (STOP_IMAGE): added + * doc-jp/README.img: added + * scripts/w3mhelp.cgi.in: show dispI, stopI + * scripts/multipart/multipart.cgi.in: inline image support + +2002-02-01 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: 0.2.5+cvs + +2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.2.5 + * version.c.in: update + * doc/README: version 0.2.5, release date + * doc-jp/README: ditto + * NEWS: update + +2002-01-31 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02960] inflate without memmove() + * inflate.c: rewrite without memmove() + +2002-01-31 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * inflate.c: support raw deflate without zlib header + +2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02955] compression_decoders error message + * file.c (uncompress_stream): redirect stderr + * inflate.c (main): print error message + +2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02949] fix for #undef USE_MIGEMO + * main.c (dispincsrch): need #ifdef USE_MIGEMO + +2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02946] toggle migemo + * fm.h (migemo_active): added + * proto.h (inputLineHistSearch): add arg `prop' to incrfunc() + * linein.c (inputLineHistSearch): ditto + * main.c (isrch): ditto + * main.c (dispincsrch): ditto + C-\ toggle migemo + underline when migemo is active + * search.c (migemo_active): deleted + * search.c (migemo_running): added + * search.c (init_migemo): migemo_running + * search.c (migemostr): ditto + * search.c (forwardSearch): migemo_active > 0 + * search.c (backwardSearch): ditto + +2002-01-31 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02942] Digest qop=auth support + * file.c (http_auth): add request to cred() arg + * file.c (AuthBasicCred): ditto + * file.c (AuthDigestCred): ditto + * file.c (AuthDigestCred): support algorithm=MD5, MD5-sess + qop=auth, auth-int + * file.c (qstr_unquote): return NULL if input is NULL + * file.c (none_auth_param): added + * file.c (findAuthentication): skip weak or unknown auth + * file.c (getAuthCookie): add request to arg + * file.c (loadGeneralFile): add request to getAuthCookie() + +2002-01-31 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02934] add auth cookie with unquoted realm + * file.c (loadGeneralFile): need unquote realm + +2002-01-31 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02933] segmentation fault when w3m -dump https: + * file.c (readHeader): use inputAnswer() + * file.c (getAuthCookie): remove term_cbreak() + * file.c (checkOverWrite): use inputAnswer() + * file.c (inputAnswer): added + * istream.c (ssl_get_certificate): use inputAnswer() + * main.c (qquitfm): change prompt + * proto.h (inputAnswer): added + +2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02931] use POST in multipart.cgi + * scripts/multipart/multipart.cgi.in: support POST method + +2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02930] Re: fixed w3mmail.cgi + * scripts/w3mmail.cgi.in (lang_header_default): [=_?] should be encoded + * scripts/w3mmail.cgi.in (lang_body_default): '=' should be encoded + +2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02929] Re: fixed w3mmail.cgi + * file.c (openPagerBuffer): use content_charset as document_code + * file.c (getNextPage): code is document_code or DocumentCode + +2002-01-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02928] RFC2617: HTTP Digest authentication + * NEWS: RFC2617: HTTP Digest authentication + * config.h.dist (USE_DIGEST_AUTH): added + * configure (use_digest_auth): added, enabled when openssl found + (because it used openssl/md5.h) + * file.c (auth_param): added + * file.c (http_auth): added + * file.c (extract_auth_val): added + * file.c (qstr_unquote): added + * file.c (extract_auth_param): added + * file.c (get_auth_param): added + * file.c (AuthBasicCred): added + * file.c (digest_hex): added + * file.c (AuthDigestCred): added + * file.c (basic_auth_param): added + * file.c (digest_auth_param): added + * file.c (www_auth): added + * file.c (findAuthentication): added + * file.c (getAuthCookie): rewrite, use http_auth + * file.c (loadGeneralFile): HRequest hr + * file.c (loadGeneralFile): use findAuthentication, new getAuthCookie + * proto.h (HTTPrequestMethod): added + * proto.h (HTTPrequestURI): added + * proto.h (openURL): add `hr' arg + * url.c (HTTPrequestMethod): added + * url.c (HTTPrequestURI): added + * url.c (HTTPrequest): use HTTPrequestMethod and HTTPrequestURI + * url.c (openURL): add `hr' arg + +2002-01-30 SASAKI Takeshi <sasaki@ct.sakura.ne.jp> + + * [w3m-dev 02927] mailto: POST method with w3mmail.cgi + * file.c (loadGeneralFile): pass request even if SCM_UNKNOWN + (for external URI loader) + * scripts/w3mmail.cgi.in: support POST method + +2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02926] fixed w3mmail.cgi + * scripts/w3mmail.cgi.in: dont MIME encode for preview + * scripts/w3mmail.cgi.in (lang_body): add 7bit/8bit flag arg + * scripts/w3mmail.cgi.in: fix hidden from value + * scripts/w3mmail.cgi.in (lang_setup): check $LC_ALL, $LC_CTYPE + * scripts/w3mmail.cgi.in (lang_header_default): fix MIME encode word + +2002-01-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02920] don't use inttypes.h and/or stdint.h + * mktable.c: remove inttypes.h, uintptr_t, use unsigned long instead + * configure: remove inttypes.h detection + * config.h.dist: remove HAVE_INTTYPES_H + +2002-01-29 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02921] use inttypes.h instead of stdint.h + * configure: check inttypes.h instead of stdint.h + * config.h.dist: s/STDINT_H/INTTYPES_H/ + * mktable.c: use inttypes.h instead of stdint.h + +2002-01-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02919] no need of width + * scripts/w3mmail.cgi.in: no need width=80 for header field name + +2002-01-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02919] wrong table width calculation + * table.c (set_table_matrix0): refine width calculation + +2002-01-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02918] fixed scripts/w3mmail.cgi.in + * scripts/w3mmail.cgi.in: add width=80 for header field name + * scripts/w3mmail.cgi.in (url_unquote): use pack instead of chr + +2002-01-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02914] + * history.c (copyHist): added + * history.h (copyHist): ditto + * main.c (goURL0): copyHist(URLHist), push current and anchor URLs + default set by DefaultURLString + +2002-01-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02913] wrong table width calculation + * table.c (set_table_matrix0): refine width calculation + +2002-01-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02875] rendering a table with inconsistent colspan,rowspan + * table.c (feed_table_tag): don't clear HTT_X|HTT_Y + instead, if set these flags, break the loop + +2002-01-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02909] wrong table width calculation (sf.net Bug#506949) + * table.c (correct_table_matrix4): added + * table.c (set_table_matrix0): use correct_table_matrix4() + +2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02908] document code of frame + * frame.c (renderFrame): save document_code if JP_CHARSET + +2002-01-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02904] + * rc.c (N_STR): use cpp stringification + +2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02902] mouse inactive after calling some command with ALARM. + * main.c (SigAlarm): mouse_inactive() and mouse_active() + +2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02901] Default URL for GOTO* + * fm.h (DEFAULT_URL_*): added + * fm.h (DefaultURLString): added + * main.c (cmd_loadURL): add arg `referer' + * main.c (goURL0): 2nd arg is `relative' flag + check DefaultURLString + if relative, then current and referer is set + * main.c (ldhelp): cmd_loadURL arg changes + * main.c (deletePrevBuf): ditto + * main.c (cmd_loadBuffer): ditto + * main.c (adBmark): ditto + * main.c (follow_map): ditto + * rc.c (CMT_DEFAULT_URL): added + * rc.c (defaulturls): added + * rc.c (params9): add "default_url" + +2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02901] DNS_ORDER_* + * fm.h (DNS_ORDER_*): added + * rc.c (dnsorders): use N_S(DNS_ORDER_*) + +2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02901] ACCEPT_BAD_COOKIE_* + * file.c (readHeader): accept_bad_cookie is one of ACCEPT_BAD_COOKIE_* + * fm.h (PERHAPS): deleted + * fm.h (ACCEPT_BAD_COOKIE_*): added + * rc.c (n_s): added + * rc.c (N_S): added + * rc.c (badcookiestr): use N_S(ACCEPT_BAD_COOKIE_*) + +2002-01-24 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02896] fid attr value should be in sequence + * table.c (feed_table_tag): s/line/""/ for HTML_FORM,HTML_N_FORM + +2002-01-24 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02894] Re: goURL + * file.c (HTMLtagproc1): s/goURL/gorURL/ + * keybind.c (EscKeymap): M-u = GOTO_RELATIVE + * keybind_lynx.c (EscKeymap): ditto + * doc/keymap.default: ditto + * doc/keymap.lynx: ditto + * doc-jp/keymap.default: ditto + * doc-jp/keymap.lynx: ditto + * main.c (MAIN): add $HTTP_HOME or $WWW_HOME to history + * main.c (MAIN): add history even if it is local file or local cgi + * main.c (goURL0): change args, def_url -> current + * main.c (goURL0): delete ParsedURL *b_url + * main.c (goURL0): add Buffer *cur_buf + * main.c (goURL0): if current is supplied, use its URL as default + * main.c (goURL0): add URL to history if loadURL succeeded + * main.c (goURL): change args for goURL0() + * main.c (gorURL): ditto + +2002-01-23 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02889] fix scripts/multipart/multipart.cgi.in + * scripts/multipart/multipart.cgi.in: return "" instead of next + +2002-01-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02885] Re: goURL + * funcname.tab (GOTO_RELATIVE): added + * main.c (goURL0): renamed from goURL + don't add http:// here, if base URL is NULL, cmd_loadURL() + will add http:// when necessary + * main.c (goURL): go to URL with current URL + * main.c (gorURL): go to relative URL + * proto.h (gorURL): added + * doc/README.func (GOTO_RELATIVE): added + * doc-jp/README.func (GOTO_RELATIVE): ditto + +2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00670] GOTO behavior change + * main.c (goURL): default URL is current URL + if retry_http specified, and inputed URL is not absolute URL + add http:// to top of url + + * linein.c (InputKeymap): C-w as backword-kill-word + +2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02880] URI_PATTERN + * url.c (URI_PATTERN): better match for % hex hex + * url.c (chkExternalURIBuffer): don't use URI_PATTERN as format string + +2002-01-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02879] reset signals + * etc.c (reset_signals): added + * etc.c (mySystem): use reset_signals() + * file.c (uncompress_stream): use reset_signals() + * proto.h (reset_signals): added + * search.c (init_migemo): kill by SIGKILL + * search.c (open_migemo): use reset_signals() + +2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * url.c (URI_PATTERN): remove \ + +2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02878] fix regexp [-...], [...-], []...] + * regexp.c (newRegex0): if first char is `-' or ']' after '[', + it isn't meta char. + if last char in [..] is `-', it isn't meta char. + +2002-01-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02877] some fixes for urimethodmap + * config.h.dist (RC_DIR): remove tailing / + * configure (mailer): if use_w3mmailer = y, don't ask mailer + * configure (RC_DIR): remove tailing / + * fm.h (Mailer): ifndef USE_W3MMAILER + * main.c (MAIN): ifndef USE_W3MMAILER getenv("MAILER") + * rc.c ("mailer"): ifndef USE_W3MMAILER + * regex.c (newRegex0): \ escape kanji chars + * url.c (searchURIMethods): need escape for - + * scripts/w3mmail.cgi.in: move $url, $qurl + * scripts/w3mmail.cgi.in: url_unquote $to + +2002-01-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02876] w3mmail.cgi.in backport from w3mmee + * action='file://$0' + * don't add \n to $body's tail + * $body =~ s/\r+\n/\n/g; + * s/@cmd/@opt/ + * url_unquote: + should be unquote too + +2002-01-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02873] delete "decode MIME-body" in doc{,-jp}/README + * doc-jp/README: delete "decode MIME-body" + * doc/README: ditto + +2002-01-18 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 02872] EWS4800 sh doesn't work ${param-word} + * configure (use_migemo): change migemo URL + * configure (def_migemo_command): fix for EWS4800 + * configure (def_image_viewer): ditto + * configure (def_audio_player): ditto + +2002-01-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02871] ignore SIGCHLD (for at least EWS4800) + * search.c (open_migemo): signal(SIGCHLD, SIG_IGN); + +2002-01-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02870] don't kill migemo by SIGINT + * main.c (w3m_exit): init_migemo() to kill migemo + * search.c: #include <unistd.h> + * search.c (migemo_active): added + * search.c (migemo_pid): added + * search.c (init_migemo): migemo_active = use_migemo + * search.c (init_migemo): kill migemo_pid + * search.c (open_migemo): s/pid/migemo_pid/ + * search.c (open_migemo): setpgrp() + * search.c (open_migemo): s/use_migemo/migemo_active/ + * search.c (migemostr): ditto + * search.c (forwardSearch): ditto + * search.c (backwardSearch): ditto + +2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02867] mark URL for external URIs + * main.c (chkURLBuffer): chkExternalURIBuffer() + * proto.h (chkExternalURIBuffer): added + * url.c (chkExternalURIBuffer): added + +2002-01-17 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02866] + * search.c: #include <signal.h> + * search.c (open_migemo): ignore SIG_INT for migemo process + * search.c (open_migemo): close_tty() + * search.c (open_migemo): use execl() instead of system() + +2002-01-17 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02865] + * search.c (open_migemo): add flush_tty() + +2002-01-17 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02864] def_migemo_command + * configure (def_migemo_command): default is + migemo -t egrep /usr/local/share/migemo/migemo-dict + +2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02863] discard migemo error message + * search.c (open_migemo): close stderr + +2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02862] SIGPIPE for migemo support + * main.c (SigPipe): added + * main.c (MAIN): signal(SIGPIPE, ) + * search.c: #include <errno.h> + * search.c (migemostr): check fflush() error + * search.c (migemostr): check result string (empty is err) + * search.c (migemostr): if error occured, disable use_migemo + +2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02861] IPv6 configuration check + * configure: force "#define INET6" if socket(AF_INET6, SOCK_STREAM, 0) + failed but use_ipv6=y in config.param + +2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02859] + * config.h.dist (DEF_MIGEMO_COMMAND): added + * configure (DEF_MIGEMO_COMMAND): added + * fm.h (migemo_command): initial value is DEF_MIGEMO_COMMAND + * main.c (migemostr): remove here, move search.c + * main.c (srchcore): dont migemostr() here + * proto.h (init_migemo): added + * rc.c (sync_with_option): init_migemo() + * search.c (init_migemo): added + * search.c (open_migemo): added + * search.c (migemostr): communicate background migemo + * search.c (forwardSearch): if regexCompile for migemostr failed, + try original str + * search.c (backwardSearch): ditto + +2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02855] + * main.c (dispincsrch): for C-s C-s, revert some changes + +2002-01-17 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02854] highlight for incremental search + * NEWS: highlight for incremental search + * display.c (EFFECT_MARK_START): added + * display.c (EFFECT_MARK_END): added + * display.c (EFFECT_MARK_START_C): added + * display.c (EFFECT_MARK_END_C): added + * display.c (EFFECT_MARK_START_M): added + * display.c (EFFECT_MARK_END_M): added + * display.c: define_effect for MARK_{START,END} + * display.c (mark_mode): added + * display.c (redrawLine): if mark_mode + * display.c (do_effects): do_effect2(PE_MARK, ...) + * display.c (do_effects): do_effect1(PE_MARK, ...) + * fm.h (P_EFFECT): changed to 0x01ff + * fm.h (PE_MARK): moved + * fm.h (mark_color): added + * linein.c (inputLineHistSearch): incrfunc(int ch, Str str) + * main.c (clear_mark): added + * main.c (dispincsrch): remove arg `x', `y' + * main.c (dispincsrch): move SAVE_BUFPOSITION() + * main.c (srch): if (result & SR_FOUND) clear_mark() + * main.c (cmd_mark): PE_MARK + * main.c (nextMk): s/PM_MARK/PE_MARK/ + * main.c (prevMk): s/PM_MARK/PE_MARK/ + * proto.h (inputLineHistSearch): change prototype incfunc() + * rc.c (CMT_MARK_COLOR): added + * rc.c (params2): add "mark_color" + * search.c (set_mark): added + * search.c (forwardSearch): use set_mark() + * search.c (backwardSearch): use set_mark() + +2002-01-16 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02851] + * regex.c (newRegex0): fix return NULL; + +2002-01-16 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 02847] + * menu.c (initSelectMenu): use /* */ instead of // + +2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02846] + * regex.c (newRegex0): check msg + +2002-01-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02845] + * regex.c (newRegex0): check regex->storage[STORAGE_MAX] + +2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02843] w3mmail.cgi.in update + * scripts/w3mmail.cgi.in: add $SENDMAIL_OPT + change html + +2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02841] migemo patch + * NEWS: migemo support + * config.h.dist (USE_MIGEMO): added + * configure: add use_migemo + * fm.h (use_migemo): added + * fm.h (migemo_command: added + * main.c (fversion): add "migemo" + * main.c (migemostr): added + * main.c (srchcore): if use_migemo, use migemostr + * rc.c (CMT_USE_MIGEMO): added + * rc.c (CMT_MIGEMO_COMMAND): added + * rc.c (params3): add use_migemo, migemo_command + +2002-01-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * main.c (fversion): add "external-uri-loader,w3mmailer" + +2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02840] + * scripts/w3mmail.cgi.in: use LOCAL_COOKIE + * scripts/w3mmail.cgi.in: no need HTTP response header + * scripts/w3mmail.cgi.in: fix typo $nkf_NKF + * scripts/w3mmail.cgi.in: eval { use NKF; } is perl5ism + * scripts/multipart/multipart.cgi.in: ditto + +2002-01-16 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02835] + * rc.c: move label_topline, nextpage_topline from param3 to param1 + param7 is SSL Setting + +2002-01-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02834] mailto: use external program + * NEWS: use w3mmail.cgi for mailto: URL + * configure: add use_w3mmailer + * frame.c (createFrameFile): ifndef USE_W3MMAILER + * main.c (followA): ifndef USE_W3MMAILER + * main.c (cmd_loadURL): ifndef USE_W3MMAILER + * url.c (schemetable): ifndef USE_W3MMAILER, mailto: become SCM_UNKNOWN + * url.c (parseURL2): ifndef USE_W3MMAILER + * url.c (_parsedURL2Str): ifndef USE_W3MMAILER + * url.c (default_urimethods): added + * url.c (searchURIMethods): check default_urimethods + * scripts/Makefile: add w3mmail.cgi + * scritps/w3mmail.cgi.in: added + * scripts/.cvsignore: ignore w3mmail.cgi + +2002-01-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * file.c (loadGeneralFile): return NULL, not NO_BUFFER + +2002-01-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02833] ssl_forbid_method in SSL Setting + * rc.c (params7): ssl_forbid_method moved here + * rc.c (params8): ssl_forbid_method removed here + * rc.c (sections): params7 ifdef USE_SSL + +2002-01-15 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02832] external URI loader support + * NEWS: support external URI loader + * config.h.dist (USE_EXTERNAL_URI_LOADER): added + * config.h.dist (USER_URIMETHODMAP): added + * config.h.dist (SYS_URIMETHODMAP): added + * configure: ask use_external_uri_loader + * file.c (loadGeneralFile): return NO_BUFFER, not NULL + * file.c (loadGeneralFile): add SCM_UNKNOWN for USE_EXTERNAL_URI_LOADER + * fm.h (urimethodmap_files): added + * menu.c (initSelectMenu): SCM_UNKNOWN comment out + * proto.h (initURIMethods): added + * proto.h (searchURIMethods): added + * rc.c (CMT_URIMETHODMAP): added + * rc.c (params6): add urimethodmap + * rc.c (sync_with_option): add initURIMethods() + * url.c (parseURL): if SCM_UNKNOWN, url is saved in pu->file + * url.c (_parsedURL2Str): if SCM_UNKNOWN, url is in pu->file + * url.c (urimethods): added + * url.c (loadURIMethods): added + * url.c (initURIMethods): added + * url.c (searchURIMethods): added + +2002-01-13 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02828] + * url.c (_parsedURL2Str): add '/' at the end when scheme is SCM_FTPDIR + +2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02829] + * file.c (loadGeneralFile): return NO_BUFFER + * file.c (loadGeneralFile): if ssl_get_certificate() fails, + no buffer created + * istream.c (ssl_certificate_validity): deleted + * istream.c (ssl_set_certificate_validity): ditto + * istream.c (accept_this_site): added + * istream.c (ssl_accept_this_site): ditto + * istream.c (ssl_check_cert_ident): 1st arg is `X509 *' + * istream.c (ssl_get_certificate): 2nd arg is `char *hostname' + cert check code moved here from openSSLHandle() + * url.c (free_ssl_ctx): accept_this_site initialized + * url.c (openSSLHandle): remove cert check code here + +2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02827] + * scripts/Makefile: use sed instead of /bin/sh while read; echo loop + +2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02823] + * scripts/Makefile: don't use read -r + because Solaris 8 for x86 doesn't work + +2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02822] Print FTP directory list for -dump_extra option + * file.c (loadGeneralFile): remove FTPDIRtmp, use readFTPDir() instead + save to buf->sourcefile for -dump_extra + * ftp.c (FTPDIRtmp): deleted + * ftp.c (openFTP): delete readFTPDir() part + * ftp.c (readFTPDir): added + * proto.h (readFTPDir): added + +2002-01-11 Akinori Ito <aito@fw.ipsj.or.jp> + + * [w3m-dev 02819] + * regex.c (RegexMatch): loop condition changed (from < to <= ) + * regex.c (regmatch_iter): end condition changed (from >= to >) + * search.c (forwardSearch): next search fix + +2002-01-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02818] + * regex.c (regmatch_iter): return 0 if out of range + +2002-01-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02817] + * menu.c (menuBackwardSearch): new regexMatch() + +2002-01-11 aito@fw.ipsj.or.jp + + * [w3m-dev 02815] + * cookie.c (domain_match): use new regex + * main.c (chkURLBuffer): use new regex + * main.c (chkNMIDBuffer): use new regex + * menu.c (menuForwardSearch): new regexMatch() + * regex.c (RegexMatch): negative length means whole string + * regex.c (RegexMatch): new regmatch() + * regex.c (regmatch_sub_anytime): add 5th arg `char *' + * regex.c (regmatch_iter): add 4th arg `char *' + * regex.c (regmatch): add 3rd arg `char *' + * url.c (openSocket): use new regex + +2002-01-10 aito@fw.ipsj.or.jp + + * [w3m-dev 02811] new regexp implementation + * regex.h: remove defines + * regex.h: struct regexchar, struct regex + * regex.c: include stdio.h, stdlib.h, string.h, config.h + * regex.c: remove include fm.h + * regex.c (NULL JP_CHARSET IS_ALPHA IS_KANJI1): define unless defined + * regex.c (RE_*) define + * regex.c (st_ptr): deleted + * regex.c (regmatch): remove 4th arg `int' + * regex.c (newRegex0): rewrite, based on old newRegex + * regex.c (newRegex): use newRegex0() + * regex.c (RegexMatch): rewrite + * regex.c (struct MatchingContext1): added + * regex.c (struct MatchingContext2): added + * regex.c (YIELD): added + * regex.c (regmatch_sub_anytime): added + * regex.c (regmatch_iter): added + * regex.c (regmatch): use regmatch_iter() + * regex.c (regmatch1): rewrite + * regex.c (lc2c): add 2nd arg `len', rewrite + +2002-01-10 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 02810] + * scripts/Makefile: read -r + * scripts/w3mhelp.cgi.in: fix bugs displaying "C-" only in some case + +2002-01-08 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02794] + * url.c (parseURL): cleanup + * url.c (parseURL2): file_unquote(pu->file) + +2002-01-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: 0.2.4+cvs + +2002-01-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.2.4 + * version.c.in: update + * doc/README: version 0.2.4, release date + * doc-jp/README: ditto + * NEWS: update + +2002-01-06 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02781] Re: Bug#127883: w3m tries to use xv as default + * config.h.dist (DEF_IMAGE_VIEWER): added + * config.h.dist (DEF_AUDIO_PLAYER): added + * configure (def_image_viewer): added + * configure (def_audio_player): added + * configure (DEF_IMAGE_VIEWER): added + * configure (DEF_AUDIO_PLAYER): added + * mailcap.c (DefaultMailcap): use DEF_IMAGE_VIEWER, DEF_AUDIO_PLAYER + +2002-01-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02779] `;' is valid in URL + * main.c (chkURLBuffer): add ; + +2001-12-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02772] + * istream.c (ssl_get_certificate): show certificate subject and issuer + * istream.c (ssl_check_cert_ident): add missing NULL for Strcat_m_charp + * url.c (openSSLHandle): close(sock) and SSL_free(handle) on failure + +2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02770] form element outside <form>..</form> + * main.c (_followForm): check whether parent action is "none" + * form.c (internal_action): add "none" + * form.c (do_internal): check internal_action[i].rout + * file.c (process_input): check cur_form_id + * file.c (process_select): ditto + * file.c (process_textarea): ditto + +2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02769] <form>..</form> as block element + * file.c (HTMLtagproc1): CLOSE_P for <form>...</form> + * table.c (feed_table_tag): add feed_table_block_tag for <form></form> + +2001-12-28 Hironori Sakamoto <h-saka@lsi.nec.co.jp> + + * [w3m-dev 02765] backend + * backend.c (internal_get): cleanups + * file.c (flushline): remove w3m_backend checks + * file.c (loadHTMLstream): add w3m_backend check + * fm.h (backend_halfdump_str): deleted + * fm.h (backend_halfdump_buf): added + +2001-12-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02761] + * file.c (loadcmdout): remove unnecessary buf check + +2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02760] + * file.c (getshell): check buf == NULL + * main.c (execdict): check buf == NULL + buf->type == NULL, then buf->type is set as "text/plain" + +2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02759] fold textarea + * fm.h (FoldTextarea): added + * form.c (formUpdateBuffer): check FoldTextarea + * rc.c (CMT_FOLD_TEXTAREA): added + * rc.c (params1): add "fold_textarea" + +2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02757] + * main.c (execdict): w = conv_from_system(word) + * main.c (dictword): call execdict() only + +2001-12-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * url.c (openSSLHandle): accept_this_file is out of + #ifdef USE_SSL_VERIFY + +2001-12-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02753] + * url (ssl_verify_error_string): deleted + * url.c (openSSLHandle): use X509_verify_cert_error_string() + +2001-12-27 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02750] RFC2818 server identity check + * istream.c (ssl_certificate_validity): added + * istream.c (ssl_set_certificate_validity): added + * istream.c (ssl_get_certificate): use ssl_certificate_validity + * istream.h (ssl_set_certificate_validity): added + * url.c (ssl_verity_error_string): added + * url.c (openSSLHandle): add accept_this_site + * url.c (openSSLHandle): dont check by SSL_VERIFY_PEER, + use SSL_get_verify_result() instead + * url.c (openSSLHandle): check peer_certificate() and then + SSL_get_verify_result() + +2001-12-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02749] cleanup code for editor,mailer,extbrowser + * etc.c (myExtCommand): added + * etc.c (myEditor): added + * form.c (input_textarea): use myEditor() + * main.c (pipeBuf): use myExtCommand() + * main.c (editBf): use myEditor() + * main.c (editScr): use myEditor() + * main.c (followA): use myExtCommand() + * main.c (cmd_loadURL): use myExtCommand() + * main.c (invoke_browser): use myExtCommand() + * main.c (execdict): use myExtCommand() + * proto.h (myExtCommand): added + * proto.h (myEditor): added + +2001-12-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02748] cleanup code for restoring cursor position + * buffer.c (reshapeBuffer): delete top, linenum, cursorY, pos, + currentColumn, formitem + * buffer.c (reshapeBuffer): add sbuf and + use copyBuffer(), restorePosition() + * buffer.c (reshapeBuffer): use chkURLBuffer(), chkNMIDBuffer() + * display.c (in_check_url): deleted + * display.c (displayBuffer): ditto + * display.c (displayBuffer): s/Currentbuf/buf/ + * display.c (arrangeLine): ditto + * display.c (restorePosition): added + * fm.h (TOP_LINENUMBER): added + * fm.h (CUR_LINENUMBER): added + * main.c (editBf): delete type, top, linenum, cursorY, pos, + currentColumn + * main.c (editBf): add sbuf and use copyBuffer(), restorePosition() + * main.c (reload): delete type, top, linenum, cursorY, pos, + currentColumn + * main.c (reload): add sbuf and use copyBuffer(), restorePosition() + * main.c (chkURLBuffer): added + * main.c (chkURL): chkRULBuffer on Currentbuf + * main.c (chkNMIDBuffer): added + * main.c (chkNMID): chkNMIDBuffer on Currentbuf + * proto.h (chkURLBuffer): added + * proto.h (chkNMIDBuffer): added + * proto.h (restorePosition): added + +2001-12-27 "OMAE, jun" <jun-o@dai.meta.ne.jp> + + * [w3m-dev 02735] + * indep.c (bcopy): need (chat *) cast + * indep.c (bzero): use char * instead of void * + +2001-12-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02745] + * istream.h: #include <x509v3.h> deleted + * istream.c: #include <x509v3.h> + * istream.c (ssl_check_cert_ident): if subjectAltName dNSName found, + don't try commonName + +2001-12-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02743] RFC2818 server identity check + * NEWS: RFC2818 server identity check + * istream.c (ssl_check_cert_ident): added + * istream.h (ssl_check_cert_ident): ditto + * istream.h: #include <x509v3.h> + * url.c (free_ssl_ctx): ssl_ctx = NULL + * url.c (openSSLHandle): arg hostname to check cert id + * url.c (openSSLHandle): check SSL_get_verify_result + if ssl_verify_server + * url.c (openSSLHandle): check server identity by ssl_check_cert_ident + * url.c (openURL): openSSLHandle with pu->host + +2001-12-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02715] bugfix in scripts/multipart/multipart.cgi.in + was not applied + * scripts/multipart/multipart.cgi: fix "use NKF" check + +2001-12-26 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02732] fix Debian Bug#126381 + - Passwords entered for HTTPS are used for HTTP + * etc.c (find_auth): add port arg + * etc.c (find_auth_cookie): add port arg + * etc.c (add_auth_cookie): add port arg + * file.c (getAuthCookie): find_auth_cookie(host, port, realm) + * file.c (loadGeneralFile): add_auth_cookie(host, port, realm, ss) + * fm.h (struct auth_cookie): add port + * ftp.c (openFTP): find_auth_cookie(host, port, user) + * ftp.c (openFTP): add_auth_cookie(host, port, user, pwd) + * proto.h (find_auth_cookie): add port + * proto.h (add_auth_cookie): add port + +2001-12-26 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02729] + * doc-jp/README.func (DOWNLOAD): update + * doc-jp/README.func (EDIT): ditto + * doc-jp/README.func (EDIT_SCREEN): ditto + * doc-jp/README.func (SAVE): ditto + * doc/README.func (DOWNLOAD): ditto + * doc/README.func (SAVE): ditto + * doc/README.func (SUBMIT): ditto + * scripts/w3mhelp.cgi.in: $key is normalized by &norm_key + * scripts/w3mhelp.cgi.in: keyfunc update + * scripts/w3mhelp.cgi.in (load_keymap): check data, &norm_key + * scripts/w3mhelp.cgi.in (norm_key): added + +2001-12-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [#496613] LASTLINE in terms.c + by Kazuhiro NISHIYAMA (znz) + * terms.c (LASTLINE): defined(__CYGWIN__) instead of defined(CYGWIN) + * terms.c (setlinescols): ditto + +2001-12-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [#496610] #include <sys/wait.h> + by Kazuhiro NISHIYAMA (znz) + * main.c: #if defined(HAVE_WAITPID) || defined(HAVE_WAIT3) + * etc.c: ditto + * file.c: ditto + +2001-12-26 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> + + * [w3m-dev 02725] bcopy, bzero + * etc.c (bcopy): deleted + * etc.c (bzero): deleted + * indep.c (bcopy): added + * indep.c (bzero): added + * indep.c (bcopy): src should be const + * fm.h (bcopy): ditto + +2001-12-25 Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp> + + * [w3m-dev 02727] + * doc-jp/keymap.default (C-r): ISEARCH_BACK + * doc-jp/keymap.default (C-s): ISEARCH + * doc-jp/README.func: fix typo + +2001-12-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02726] incremental search + * NEWS: incremental search + * fm.h (inputLineHist) define by inputLineHistSearch + * fm.h (COPY_BUFPOTISION): added + * fm.h (SAVE_BUFPOSITION): ditto + * fm.h (RESTORE_BUFPOSITION): ditto + * funcname.tab (ISEARCH): added + * funcname.tab (ISEARCH_BACK): added + * keybind.c (GlobalKeymap): C-s = ISEARCH, C-r = ISEARCH_BACK + * linein.c (inputLineHistSearch): renamed from inputLineHist, + new arg incrfunc() for increment search + * linein.c (inputLineHistSearch): add cursorX, cursorY + * main.c (srchcore): remove displayBuffer, onA + * main.c (dispincsrch): added + * main.c (isrch): ditto + * main.c (isrchfor): ditto + * main.c (isrchbak): ditto + * main.c (srch): add displayBuffer, onA + * main.c (srch_nxtprv): ditto + * proto.h (isrchfor): added + * proto.h (isrchbak): ditto + * proto.h (inputLineHistSearch): renamed + * doc/keymap.default (C-r): ISEARCH_BACK + * doc/keymap.default (C-s): ISEARCH + * doc/README.func (ISEARCH): added + * doc/README.func (ISEARCH_BACK): ditto + * doc-jp/README.func (ISEARCH): added + * doc-jp/README.func (ISEARCH_BACK): ditto + +2001-12-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02723] cleanup resizing + * main.c (resized): renamed to need_resize_screen + * main.c (need_resize_screen): added + * main.c (resize_hook): prototype here + * main.c (resize_handler): ditto + * main.c (MAIN): move signal initialization + * main.c (MAIN): remove duplicate signal initialization + * main.c (resize_screen): added + * proto.h (resize_hook): deleted + * terms.c (mouse_init): remove signal + +2001-12-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02721] + * main.c (resize_handler): added + * main.c (MAIN): use resize_handler in getch() + +2001-12-25 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> + + * [w3m-dev 02714] + * scripts/w3mhelp.cgi.in: $helpdir should be handled by cygwin_pathconv + when $CYGPATH=1 + +2001-12-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02715] bugfix in scripts/multipart/multipart.cgi.in + * scripts/multipart/multipart.cgi: fix "use NKF" check + +2001-12-25 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02719] (based on [w3m-dev 02708] comments) + * resize_hook: set resized flag only + * main.c (MAIN): in key input loop, process resize + when resized flag is set + +2001-12-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02702] fix problem with emacs-w3m in [w3m-dev 02699] + * main.c (MAIN): remove some flag initialization, its too early? + this code caused problem with emacs-w3m. + +2001-12-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02700] search refactoring + * based on http://www.nmn.jp/~hidai/software/w3m/ + * fm.h: add SR_* constants, result value for search + * main.c (srchcore): added + * main.c (disp_srchresult): added + * main.c (srch): added + * main.c (srchfor): use srch() + * main.c (srchbak): use srch() + * main.c (srch_nxtprv): use srchcore() & disp_srch_result() + * search.c (forwardSearch): return SR_* result value + * search.c (backwardSearch): ditto + +2001-12-23 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02699] initialization too late + * main.c (MAIN): initializations moved before arg processing + * debian bug closes: Bug##102445: ignores SIGWINCH while downloading + +2001-12-22 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02696] + * configure: fix bashism of w3mhelp-{lynx,w3m}_{en,ja} expansion + +2001-12-22 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * [w3m-dev 02687] version number in w3mhelp-*.html (+[w3m-dev 02689]) + * configure (cur_ver): w3mhelp*.html version subst + * w3mhelp*.html: deleted + * w3mhelp*.html.in: added + +2001-12-22 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02682] + * doc/README: remove README.dj + * doc-jp/README.hp: deleted + +2001-12-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02692] w3m on linux/ia64 + * mktable.c: #include "config.h" + * mktable.c: #include "stdint.h" or uintptr_t typedef + * mktable.c: use uintptr_t instead of unsigned int + * configure: check pthread on linux + * configure: add gc_cflags for linux/ia64,alpha,s390 + * configure: check stdint.h + * configure (config.h): add $pthreadlib to GCLIB + * configure (config.h): add $def_have_stdint_h + * config.h.dist (HAVE_STDINT_H): added + * Str.c: add #include <stdlib.h> for exit() on some platform (ia64) + +2001-12-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02690] RC_DIR in scripts + * configure (config.h): add RC_DIR + * config.h.dist: ditto + * XMakefile: pass RC_DIR + * scripts/Makefile: subst RC_DIR + * scripts/dirlist.cgi.in: $RC_DIR initial value + * scripts/w3mhelp.cgi.in: ditto + * scripts/w3mhelp.cgi.in (cygwin_pathconv): added + +2001-12-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: 0.2.3.2+cvs + +2001-12-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.2.3.2 - Security fix in w3m/scripts + * version.c.in: update + * w3mhelp-*.html: version 0.2.3.2 + * doc/README: version 0.2.3.2, release date + * doc-jp/README: ditto + * NEWS: added + +2001-12-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * scripts/w3mhelp.cgi.in: lang=[a-z][a-z] only + +2001-12-22 Hironori Sakamoto <h-saka@lsi.nec.co.jp> + + * Security hole in multipart.cgi.in, w3mman2html.cgi.in + * scripts/w3mhelp.cgi.in: open(F, "< $var") instead of open(F, $var) + * scripts/w3mhelp.cgi.in: fix eval qq{require ...}; + * scripts/multipart/multipart.cgi.in: ditto + * scripts/w3mman/w3mman2html.cgi.in: validate $keyword, $section, $man + +2001-12-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev-en 00656] + * helpdir default is PREFIX/share/w3m + +2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: 0.2.3.1-cvs + +2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.2.3.1 + * version.c.in: update + * w3mhelp-*.html: version 0.2.3.1 + * doc/README: version 0.2.3.1, release date + * doc-jp/README: ditto + +2001-12-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02683] + * configure (def_param): fix wrong behavior unless variable initialized + * configure (def_param): fix unnecessary eval + * configure (ask_choice): ditto + +2001-12-20 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * w3mhelp-*.html, doc/README, doc-jp/README: + * fix version number to 0.2.3. + +2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * version.c.in: 0.2.3-cvs + +2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.2.3 release + * version.c.in: update + +2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.2.3 release condidate 3 + * configure (use_bundled_gclib): added + +2001-12-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * w3m 0.2.3 release candidate 2 + * [w3m-dev 02678] + * configure: get mygcversion from gc/version.h + * Makefile: update GCLIBTGZ + +2001-12-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3m 0.2.3 release candidate 1 + * gc/: sync with w3m-0.2.2-inu-1.1/gc + * Patches/ews4800: deleted + * configure: comment out Patches/ews4800 + +2001-12-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02655] print version and compile options + * configure: change order of questions + * main.c (fversion): added + * main.c (fusage): use fversion() + * main.c (fusage): add -help, -version + * main.c (MAIN): add -help, -version + +2001-12-20 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02672] + * main.c (wrap_GC_warn_proc): msg_ring initial value + * main.c (SigAlarm): not need #ifdef USE_ALARM, already guarded + +2001-12-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * [#493911] too few arguments to function `longjmp' + by Kazuhiro NISHIYAMA (znz) + * configure (LONGJMP): need val argument + +2001-12-18 Fumitoshi UKAI <ukai@debian.or.jp> + + * [#493906] missing #ifdef by Kazuhiro NISHIYAMA (znz) + * main.c (sig_chld): #ifdef SIGCHLD + * main.c (SigAlarm): #ifdef USE_ALARM + +2001-12-18 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02670] + * table.c (maximum_visible_length): use strchr() + * table.c (do_refill): use force==2 mode for flushline() + +2001-12-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02669] delete cURLcode() + * main.c (cURLcode): deleted + * main.c (loadNormalBuf): no need to use cURLcode() + * main.c (followI): ditto + * main.c (query_from_followform): need conv_form_encoding() + +2001-12-18 Rin Okuyama <okuyama@cna.ne.jp> + + * [w3m-dev 02668] install-sh: -e option of sh(1) + * install-sh: add set -e + +2001-12-18 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02667] + * terms.c (mouse_init): #ifdef SIGWINCH guard + +2001-12-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02666] resizing on xterm with gpm support + * terms.c (mouse_init): check Gpm_Open return value, signal(SIGWINCH) + +2001-12-16 Rin Okuyama <okuyama@cna.ne.jp> + + * [w3m-dev 02664] install-sh -s option + * XMakefile: install-sh -s + * install-sh: support strip option + +2001-12-15 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02663] fix prevA() cause loop + * table.c (do_refill): force flushline + * table.c (feed_table_tag): push line if <a> has no href attr + +2001-12-15 Rin Okuyama <okuyama@cna.ne.jp> + + * [w3m-dev 02659] rc.c (show_srch_str) + * fm.h (show_srch_str): added + * main.c (srch_nxtprv): check show_srch_str + * rc.c (CMT_SHOW_SRCH_STR): added + +2001-12-15 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02657] + * main.c (chkURL): accept URL ending with '=' + +2001-12-15 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02656] + * XMakefile (clean): remove functable.c + * anchor.c (_put_anchor_new): use Strnew_size() and Strcat_charp_n() + * indep.c (getescapechar): use GET_MYCDIGIT + +2001-12-13 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02541] mouse support on cygwin + * linein.c (_esc): ignore ESC M <ch> <ch> <ch> on cygwin + * terms.c (is_xterm): not static on cygwin + * terms.c (ConInV): INPUT_RECORD * -> char * + * terms.c (MouseConToXTerm): deleted + * terms.c (iMouseConXTerm): deleted + * terms.c (expand_win32_console_input_buffer): added + * terms.c (read_win32_console_input): use PeekConsoleInput + and ReadConsole + * terms.c (read_win32_console): use read_win32_console_input() + * terms.c (cmp_tv): added + * terms.c (subtract_tv): added + * terms.c (select_or_poll_win32_console): added + * terms.c (select_win32_console): added + * terms.c (xterm_mouse_term): deleted + * terms.c (mouse_term_info): added + * terms.c (set_tty): modified to use mouse_term_info + * terms.c (sleep_till_anykey): use select_win32_console on cygwin + * terms.c (mouse_init): check is_xterm flag + * terms.c (mouse_end): check is_xterm flag + * terms.h (is_xterm): if cygwin + * terms.h (NEED_XTERM_ON): added + * terms.h (NEED_XTERM_OFF): added + +2001-12-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02651] search keymap using hash + * XMakefile (func.c): depends functable.c funcname1.h + * XMakefile (functable.c): generated from funcname.tab + * functable.awk: added + * fm.h (w3mKeyList): deleted + * func.c (w3mKeyList): ditto + * file.c (readHeader): change getFuncList() + * func.c (w3mNFuncList): deleted + * func.c (functable.c): include + * func.c (initKeymap): no need to count w3mFuncList + * func.c (initKeymap): change getFuncList() + * func.c (initKeymap): put data to keyData hashtable + * func.c (countFuncList): deleted + * func.c (getFuncList): use getHash_si() + * func.c (getKeyData): use getHash_iv() + * func.c (addKeyList): deleted + * func.c (searchKeyList): deleted + * func.h (textlist.h): include + * func.h (hash.h): include + * func.h (KEY_HASH_SIZE): added + * func.h (KeyListItem): deleted + * func.h (KeyList): deleted + * hash.c: s/hist/sv/ + * hash.c: add defhashfunc_i(int, void *, iv) + * hash.h: s/hist/sv/ + * hash.h: defhash(int, void *, iv) + * hash.h (putHash_*): added + * hash.h (getHash_*): added + * hash.h (defhashfunc_i): added + * history.c (pushHashHist): s/hist/sv/ + * history.c (getHashHist): s/hist/sv/ + * history.h (Hist): s/hist/sv/ + * main.c (searchKeyData): item deleted + * main.c (searchKeyData): data added + * main.c (searchKeyData): use getKayData() instead of searchKeyList() + * main.c (setAlarm): w3mNFuncList deleted + * main.c (setAlarm): change getFuncList() + * menu.c (w3mNFuncList): deleted + * menu.c (w3mFuncList): deleted + * menu.c (initMenu): no need to count w3mFuncList + * menu.c (setMenuItem): change getFuncList() + * proto.h (countFuncList): deleted + * proto.h (getFuncList): change args + * proto.h (addKeyList): deleted + * proto.h (searchKeyList): deleted + * proto.h (getKeyData): added + +2001-12-11 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02650] + * file.c (readHeader): Strnew_charp_n() should be used + +2001-12-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02647] + * proto.h (arg_is): deleted + * etc.c (arg_is): ditto + * etc.c (searchAnchorArg): ditto + +2001-12-11 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02648] rewrite strCmp() with strcmp() + * indep.c (strCmp): use strcmp() + +2001-12-11 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02441] A patch against functions *_(un)?quote() + * indep.c (url_unquote_char): use GET_MYCDIGIT, instead of sscanf + * indep.c (url_quote): use xdigit[] instead of sprintf() + * myctype.c (MYCTYPE_DIGITMAP): added + * myctype.h (MYCTYPE_DIGITMAP): ditto + * myctype.h (GET_MYCDIGIT): added + +2001-12-11 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02647] + * proto.h (getAnchor): deleted + * etc.c (getAnchor): deleted + +2001-12-09 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02646] Some code cleanups + * configure: use host libgc instead of gc/gc.a on Linux and/or AIX + if possible + * etc.c (get_cmd): deleted, merged into gethtmlcmd() + * etc.c (gethtmlcmd): merge get_cmd() code + * file.c (uncompressed_file_type): initialize slen + * file.c (passthrough): status deleted + * file.c (HTMLlineproc0): istr deleted, gethtmlcmd() argument fix + * fm.h (_GNU_SOURCE): ifndef _GNU_SOURCE + * proto.h (gethtmlcmd): fix prototypes + * terms.c: include <sys/ioctl.h> always + +2001-12-09 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02645] + * configure: fix to prevent rcsid expansion + +2001-12-08 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02641] + * configure: generate version.c from version.c.in + * version.c.in: added + * version.c: deleted, autogenerated from version.c.in + * .cvsignore (version.c): added + +2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02642] + * linein.c (next_dcompl): fix ifdef EMACS_LIKE_LINEEDIT + +2001-12-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02640] + * linein.c (escape_spaces): rewrite + * linein.c (unescape_spaces): rewrite + +2001-12-07 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02638] completion for ! and/or @ + * linein.c (next_compl): check "\\ ", "\\\t" + * linein.c (escape_spaces): added + * linein.c (unescape_spaces): added + * linein.c (doComplete): use unescape_spaces, escape_spaces + +2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02637] + * url.c (openSocket): hostname volatile -> const + * url.c (openSocket): add hname + * url.c (openSocket): copy hostname to hname to be modified safely + * url.c (otherinfo): revert previous change + +2001-12-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02635] dirlist + * file.c (loadGeneralFile): use pu.file instead of pu.real_file + * scripts/dirlist.cgi.in: modified for perl4 + +2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * [#489463] Host: header is wrong IPv6 literal addr + * url.c (otherinfo): IPv6 address should be quoted with bracket + +2001-12-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02629] + * linein.c (next_compl): completion for name including space + +2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02633] + * url.c (parseURL2): filename should be quoted here, because + it will be unquote() soon + +2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp> + + * rename install.sh to install-sh + * XMakefile: s/install.sh/install-sh/ + +2001-12-07 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02622] + * tagtable.tab (noframes): added + * tagtable.tab (/noframes): added + * fm.h (RB_NOFRAMES): added + * html.h (HTML_NOFRAMES): added + * html.h (HTML_N_NOFRAMES): added + * html.c (ALST_NOFRAMES): added + * html.c (98 HTML_NOFRAMES): added + * html.c (99 HTML_N_NOFRAMES): added + * file.c (HTMLtagproc1): add HTML_NOFRAMES, HTML_N_NOFRAMES + * file.c (HTMLtagproc1): don't meta refresh if it is in noframes and + auto frame rendering + * main.c (MAIN): use setAlarmEvent() + * main.c (SigAlarm): ditto + * main.c (setAlarm): ditto + * main.c (setAlarmEvent): check if status == AL_UNSET + +2001-12-06 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02619] + * file.c (loadHTMLString): set document type + +2001-12-05 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02618] + * configure: fix typo in --mimetypes + +2001-12-05 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02617] + * scripts/Makefile (HELP_LIBS): added + * scripts/Makefile (all): depends $(HELP_LIBS) + * scripts/Makefile (install): depends $(HELP_LIBS) + * scripts/Makefile (w3mhelp-funcname.pl): split from helplibs + * scripts/Makefile (w3mhelp-funcdesc.pl): split from helplibs, touch + * scripts/Makefile (clean): clean *-stamp + * scripts/.cvsignore: add w3mhelp-funcdesc-stamp + +2001-12-05 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02616] + * buffer.c (gotoLine): use set_delayed_message instead of disp_message + * buffer.c (gotoRealLine): ditto + * display.c (delayed_msg): added + * display.c (displayBuffer): display deleyed_msg if it is set + * display.c (set_delayed_message): added + * proto.h (set_delayed_message): added + +2001-12-05 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02615] + * main.c (goLine): _goLine() called twice when prec_num was set + +2001-12-05 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02614] + * XMakefile (HELP_ALLFILES): added + * XMakefile (INSTALL_PROGRAM): ditto + * XMakefile (INSTALL_SCRIPT): ditto + * XMakefile (INSTALL_DATA): ditto + * XMakefile (install) use INSTALL_{PROGRAM,DATA} + * XMakefile (install-helpfile): cleanup + * XMakefile (install-scripts): pass MKDIR + * XMakefile (uninstall): cleanup + * XMakefile (clean): cleanup + * scripts/Makefile (MKDIR): added + * scripts/Makefile (INSTALL_DATA): added + * scripts/Makefile (install): mkdir, use INSTALL_DATA + * scripts/Makefile (uninstall): added + * scripts/Makefile (clean): ignore errors + * scripts/multipart/Makefile (MKDIR): added + * scripts/multipart/Makefile (install): mkdir + * scripts/multipart/Makefile (uninstall): added + * scripts/multipart/Makefile (clean): ignore errors + * scripts/multipart/Makefile (dist): cleanup + * scripts/w3mman/Makefile (MKDIR): added + * scripts/w3mman/Makefile (install): mkdir + * scripts/w3mman/Makefile (uninstall): added + * scripts/w3mman/Makefile (clean): ignore errors + * scripts/w3mman/Makefile (dist): cleanup + +2001-12-04 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02611] a improvement of find_cookie() + * cookie.c (make_cookie): domainname is passed as argument + * cookie.c (find_cookie): FQDN(pu->host) done only once + * func.c (getQWord): comment reformat + * local.c (check_local_cgi): ditto + +2001-12-04 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02609] + * proto.h: remove duplicate prototypes + +2001-12-04 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02608] + * local.c (localcgi_get): request == NULL means no ? in URL + * url.c (openURL): ditto + +2001-12-03 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02606] + * XMakefile (install-scripts): run pwd outside for loop + +2001-12-03 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02605] $(PWD) / allocStr() + + * XMakefile (install-scripts): use $$TOPDIR instead of $(PWD) + + * indep.c (allocStr): if len is negative, it will copy string in `s' + * display.c (record_err_message): pass -1 as length to allocStr + * etc.c (lastFileName): ditto + * etc.c (mybasename): ditto + * etc.c (FQDN): ditto + * file.c (push_tag): ditto + * func.c (addKeyList): ditto + * history.c (unshiftHist): ditto + * history.c (pushHist): ditto + * indep.c (cleanupName): ditto + * linein.c (inputLineHist): ditto + * local.c (dirBuffer): ditto + * main.c (gotoLabel): ditto + * main.c (searchKeyData): ditto + * parsetagx.c (parsedtag_set_value): ditto + * terms.c (GETSTR): ditto + * textlist.h (pushText): ditto + * url.c (DefaultFile): ditto + * url.c (parseURL): ditto + * url.c (ALLOC_STR): ditto + * url.c (parseURL2): ditto + * url.c (openURL): ditto + * w3mhelperpanel.c (extractMailcapEntry): ditto + +2001-12-02 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02604] + * configure: kanji_symbols=n if lang=EN + * file.c (HTMLlineproc2body): initialize rule + +2001-12-02 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02603] + * scripts/w3mhelp.cgi.in: modified for perl4 + +2001-12-01 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02601] + * Makefile (install-core): added + * Makefile (install-helpfile): added + * configure (use_help_cgi): default yes if perl found + * configure (config.h): add HELP_CGI + * configure (config.h): add $def_use_help_cgi + * main.c (ldhelp): add USE_HELP_CGI code + * scripts/Makefile: use w3mhelp*.pl.in + * scripts/w3mhelp-funcname.pl.in: added + * scripts/w3mhelp-funcdesc.en.pl.in: added + * scripts/w3mhelp-funcdesc.ja.pl.in: added + * scripts/w3mhelp.cgi.in: use %buf_*, %lineedit_* + * scripts/w3mhelp.cgi.in: use %title + + * [w3m-dev 02660] (based on [w3m-dev 02577] + by Kiyokazu SUTO <suto@ks-and-ks.ne.jp>) + * scripts/.cvsignore: add w3mhelp.cgi w3mhelp-*.pl + * scripts/Makefile (HELP_DIR): added + * scripts/Makefile (LIB_TARGETS): add w3mhelp.cgi + * scripts/Makefile (DOCDIRS): added + * scripts/Makefile (all): add helplibs + * scripts/Makefile (.in): subst HELP_DIR, DOCDIRS + * scripts/Makefile (helplibs): added + * scripts/Makefile (install): s/DISTDIR/DESTDIR/ + * scripts/Makefile (install): install w3mhelp-*.pl + + * scripts/w3mhelp.cgi.in: added + + * XMakefile (INSTALL2): deleted + * XMakefile (install): split + * XMakefile (install-core): added + * XMakefile (install-helpfile): added + * XMakefile (all-scripts): HELP_DIR + * XMakefile (install-scripts): HELP_DIR + + * doc/REAMDE.func: add ALARM, SUSPEND + * doc-jp/README.func: ditto + + * config.h.dist: updated + +2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * url.c (otherinfo): use AcceptLang + * rc.c (sync_with_option): initialize AcceptLang + +2001-11-30 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02599] + * main.c comment reformat + +2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02598] + * url.c (otherinfo): add missing NULL + +2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02597] (based on [w3m-dev 02594] by aito@fw.ipsj.or.jp) + * fm.h (AcceptLang): added + * fm.h (AcceptMedia): added + * rc.c (CMT_ACCEPTENCODING): added + * rc.c (CMT_ACCEPTMEDIA): added + * rc.c (params9): add accept_encoding, accept_media + * rc.c (sync_with_option): initialize AcceptEncoding and AcceptMedia + * url.c (otherinfo): use Strcat_m_charp() + +2001-11-30 aito@fw.ipsj.or.jp + + * [w3m-dev 02594] + * configure: s/dcode/display_code/ + +2001-11-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02596] + * file.c (acceptableEncoding): fix segfault if no decoder found + +2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02595] + * file.c (compression_decoder): add encodings + * file.c (readHeader): use compression_decoder->encodings + +2001-11-30 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02593] + * form.h: comment reformat + * matrix.c: ditto + * menu.c: ditto + * regex.c: ditto + * table.h: ditto + * terms.c: ditto + +2001-11-30 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02592] Accept: and AcceptEncoding: + * url.c (otherinfo): use acceptableEncoding() acceptableMimeTypes() + + * file.c: add compression_decoder + * file.c (check_compress): rewrite by using compression_decoder + * file.c (compress_application_type): ditto + * file.c (uncompressed_file_type): ditto + * file.c (check_command): added + * file.c (acceptableEncoding): added + * proto.h (acceptableEncoding): ditto + * file.c (uncompress_stream): renamed from gunzip_stream + * file.c (uncompress_stream): rewrite by using compression_decoder + * configure: add PATH_SEPARATOR + + * mailcap.c (extractMailcapEntry): static + * mailcap.c (loadMailcap): static + * proto.h (loadMailcap): removed + * mailcap.c (acceptableMimeTypes): added + * proto.h (acceptableMimeTypes): added + + * configure: #define USE_PATH_ENVVAR for __EMX__ + * file.c: GUNZIP_*, BUNZIP2_*, INFLATE_* removed here -> config.h + * file.c (gunzip_stream): s/(GUNZIP|BUNZIP2|INFLATE)_CMD/\1_CMDNAME/ + * configure (config.h): GUNZIP_*, BUNZIP2_*, INFLATE_* moved here + * fm.h (DirBufferCommand): use CGI_EXTENSION + * fm.h (mailcap_list): removed from global -> mailcap.c + * fm.h (UserMailcap): removed from global -> mailcap.c + * mailcap.c: static mailcap_list + * mailcap.c: static UserMailcap + * proto.h (initMimeTypes): moved + * proto.h (get_os2_dft): removed + * rc.c (loadMimeTypes): removed here -> url.c + * rc.c (initMimeTypes): removed here -> url.c + * fm.h (mimetypes_list): removed from global -> url.c + * fm.h (UserMimeTypes): removed from global -> url.c + * url.c: static mimetypes_list + * url.c: static UserMimeTypes + * url.c (loadMimeTypes): moved here + * url.c (initMimeTypes): moved here + +2001-11-30 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02590] + * main.c (_peekURL): peek URL on <input type="image"> + +2001-11-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02589] + * rc.c (params1): remove #ifdef VIEW_UNSEENOBJECTS + +2001-11-29 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02588] + * configure: fix alarm() check + +2001-11-29 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02587] + * file.c (gunzip_stream): s/__CYGWIN__/USE_BINMODE_STREAM/ + + * [w3m-dev 02586] + * configure: typo s/_zdmachdep.c/zmachdep.c/ + + * fix shadow variable + * main.c (HTMLtagproc1): s/refresh/refresh_interval/ + * matrix.c (LUfactor): s/index/indexarray/ + * matrix.c (LUsolve): ditto + * matrix.c (m_inverse): ditto + * matrix.c (LUinverse): ditto + * table.c (bsearch_2short): ditto + * table.c (bsearch_double): ditto + * table.c (dv2sv): ditto + * table.c (check_cell_width): ditto + * table.c (set_integered_width): ditto + * table.c (set_table_width): ditto + * table.c (check_table_height): ditto + * ftp.c: s/ftp/current_ftp/ + * ftp.c (Ftpfclose): ditto + * ftp.c (openFTP): ditto + * ftp.c (closeFTP): ditto + * ftp.c (FtpLogin): save to current_ftp + * ftp.c (openFTP): s/realpath/realpathname/ + * ftp.c (openFTP): remove i + + * ftp.c (ftp_pasv): s/sin/sockaddr/ + + * [w3m-dev 02584] code cleanup + + * linein.c (_esc): fix #ifdef EMACS_LIKE_LINEEDIT + + * fix shadow variables (partially) + * version.c: s/version/w3m_version/ + * configure: ditto + * fm.h: ditto + * local.c (set_environ): ditto + * main.c (fusage): ditto + * main.c (MAIN): ditto + * main.c (dispVer): ditto + * rc.c (load_option_panel): ditto + * url.c (otherinfo): ditto + * file.c (readHeader): s/tmp/tmp2/ + * file.c (loadGeneralFile): s/tmp/cmd/ + * file.c (flushline): s/f/df/ + * file.c (doExternal): s/stat/mc_stat/ + * proto.h: ditto + * mailcap.c (unquote_mailcap_loop): ditto + * mailcap.c (unquote_mailcap): ditto + * main.c (cmd_loadBuffer): s/link/linkid/ + * main.c (sig_chld): s/stat/p_stat/ + * fm.h: remove config_file + * main.c (MAIN): s/config_file/config_filename/ + * rc.c (init_rc): ditto + * proto.h: ditto + * rc.c: add config_file + * menu.c (goem_menu): s/select/mselect/ + * menu.c (draw_menu_item): ditto + * menu.c (select_menu): ditto + * menu.c (goto_menu): ditto + * menu.c (action_menu): ditto + * menu.c (mNext): ditto + * menu.c (mPrev): ditto + * menu.c (mOk): ditto + * menu.c (mSrchF): ditto + * menu.c (mSrchB): ditto + * menu.c (mSrchN): ditto + * menu.c (mSrchP): ditto + * menu.c (process_mMouse): ditto + * menu.c (smDelBuf): ditto + * proto.h: ditto + + * printf format + * display.c (redrawLine): use %*ld instead of %*d + + * require parentheses + * ftp.c (FtpLogin): add paren + + * fix variable might be clobbered by `longjmp' or `vfork' + * file.c (loadGeneralFile): add volatile + * file.c (loadHTMLString): ditto + * file.c (loadBuffer): ditto + * file.c (doExternal): ditto + * frame.c (createFrameFile): ditto + * main.c (srchfor): ditto + * main.c (srchbak): ditto + * main.c (srch_nxtprv): ditto + * url.c (openSocket): ditto + + * fix unused variables + * file.c (readHeader): emssg if USE_COOKIE defined + * file.c (HTMLlineproc2body: remove tmp + * file.c (saveBufferDelNum): remove p + * linein.c (_esc): c2 if JP_CHARSET defined + + * fix uninitialized variables + * Str.c (Sprintf): initialize p + * buffer.c (readBufferCache): initialize prevl + * conv.c (cConvSE): initialize ub + * conv.c (_cConvEE): initialize ub + * conv.c (cConvES): initialize ub + * file.c (loadGeneralFile): initialize proc, t, prevtral, ss, realm + * file.c (HTMLlineproc2body): initialize debug + * file.c (HTMLlineproc0): initialize tbl_mode, tbl_width + * file.c (loadHTMLstream): initialize prevtrap + * file.c (loadHTMLString): initialize prevtrap + * file.c (loadBuffer): initialize prevtrap + * form.c (formUpdateBuffer): initialize col + * ftp.c (openFTP): initialize pwd + * local.c (dirBuffer): initialize nrow + * main.c (gpm_process_mouse): initialize btn + * menu.c (gpm_process_menu_mouse): ditto + * menu.c (initMenu): initialize nmenu, nitem, item + * parsetagx.c (parse_tag): initialize attr_id + * rc.c (show_params): initialize t + * table.c (visible_length): initialize amp_len + * table.c (set_integered_width): initialize x + * table.c (check_table_height): initialize space + * table.c (renderTable): initialize vrulea, vruleb, vrulec + * terms.c (putchars): initialize s + * url.c (openSocket): initialize trap, result + * url.c (openURL): initialize sslh + +2001-11-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02579] + * configure: Use environment variables CC, CFLAGS, LDFLAGS + +2001-11-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02574] sysconfdir + * configure: add -bindir=* -libdir=* -helpdir=* -sysconfdir=* + * configure: add ETC_DIR + * indep.c (w3m_etc_dir): added + * indep.h: ditto + * rc.c (init_rc): use etcFile() instead of libFile() + * rc.c (etcFile): added + * proto.h: ditto + +2001-11-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02578] + * file.c (process_anchor): support <input type="image"> + * html.c (ALST_INPUT): add ATTR_SRC, ATTR_WIDTH, ATTR_HEIGHT + * html.c (MAXA_INPUT): +3 + + * conv.c (checkShiftCode): fix comments for indent(1) + * main.c (loadLink): ditto + * fm.h: ditto + * file.c (process_anchor); ditto + * file.c (HTMLlineproc2body): ditto + +2001-11-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02576] + * url.c (openURL): remove pu->file = p; which cause segfault + because p is not initialized + +2001-11-28 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02571] MAXPATHLEN + * indep.c (currentdir): #ifdef MAXPATHLEN for GNU Hurd + * configure: ditto + +2001-11-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02572] + * main.c (_peekURL): initialize s when anchor not found + +2001-11-27 aito@fw.ipsj.or.jp + * Error correction on doc-jp/FAQ.html + +2001-11-27 sakane@d4.bsd.nes.nec.co.jp (Yoshinobu Sakane) + * w3m-doc update. + +2001-11-26 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02537] + * configure: s/$def_egd/def_use_egd/ + +2001-11-26 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02556] + * indep.c (strcasestr): strcasestr("", "") should not return NULL + + * [w3m-dev 02555] + * configure: check strcasestr + * fm.h (_GNU_SOURCE): requires for strcasestr() + * indep.c (strcasestr): #ifdef HAVE_STRCASESTR + * indep.c (strcasestr): check whether s2 is NULL + * indep.h: add #include "config.h" + * indep.h: #ifdef HAVE_STRCASESTR + * indep.h: strcasestr() takes const char * + +2001-11-26 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp> + + * [w3m-dev 02553] + * configure: SysV's tr requires '[a-z]' '[A-Z]' + +2001-11-26 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02547] "message/*" as a kind of text type + * file.c (is_text_type): add message/* + +2001-11-25 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02535] Name conflicts in configure + * configure: s/libdir/tlibdir/ for loop variables + +2001-11-25 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * display.c: call of init_win32_console_handle is deleted + +2001-11-25 Rin Okuyama <okuyama@cna.ne.jp> + + * [w3m-dev 02533] setpgrp bug in configure + * configure: s/have_setpgrp/def_have_setpgrp/ + s/setpgrp/def_setpgrp/ + +2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * Makefile (indent): indent + * run make indent + +2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02530] + * file.c (readHeader): NULL check for domain + +2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02529] + * configure (ask_choice): fix bugs + * configure (include_opt): disable as much as if baby model + * configure: ask/def parameter after model selected + + * fm.h (use_mark): runtime option use_mark + * main.c (_mark): ditto + * main.c (cmd_mark): ditto + * main.c (nextMk): ditto + * main.c (prevMk): ditto + * main.c (reMk): ditto + * rc.c (CMT_USE_MARK): ditto + * rc.c (params3): ditto + + * fm.h (nextpage_topline): runtime option nextpage_topline + * etc.c (lineSkip): ditto + * main.c (nscroll): ditto + * rc.c (CMT_NEXTPAGE_TOPLINE): ditto + * rc.c (params3): ditto + + * fm.h (label_topline): runtime option label_topline + * file.c (loadGeneralFile): ditto + * main.c (loadLink): ditto + * rc.c (CMT_LABEL_TOPLINE): ditto + * rc.c (params3): ditto + + * fm.h (vi_prec_num): runtime option vi_prec_num + * main.c (pgFore): ditto + * main.c (pgBack): ditto + * rc.c (CMT_VI_PREC_NUM): ditto + * rc.c (params3): ditto + + * fm.h (emacs_like_lineedit): runtime option emacs_like_lineedit + * linein.c (inputLineHist): ditto + * linein.c (_esc): ditto + * linein.c (next_dcompl): ditto + * rc.c (CMT_EMACS_LIKE_LINEEDIT): ditto + * rc.c (params3): ditto + + * fm.h (ftppass_hostnamegen): runtime option ftppass_hostnamegen + * ftp.c (FtpLogin): ditto + * rc.c (CMT_FTPPASS_HOSTNAMEGEN): ditto + * rc.c (params9): ditto + +2001-11-24 Akihiro Sagawa <sagawa@sohgoh.net> + + * [w3m-dev 02528] RFC2732 URL Patch + * main.c (chkURL): check RFC2732 style URLs + * url.c (parseURL): remove RFC2732 address check here, + move to openSocket() + * url.c (openSocket): check RFC2732 style hostname + * url.c (openSocket): check IPv4 address strictly + +2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02526] + * .cvsignore: add inflate mktable w3m w3mbookmark w3mhelperpanel + _zdmachdep.c + * configure: + pref_lang -> lang={JA|EN} + dcode -> display_code + scode -> system_code + remove save_params() + add def_param(), ask_choice() ask_param() + all confiration parameters can be read from config.param + s/DICT/USE_DICT/ + s/BUFINFO/USE_BUFINFO/ + * fm.h: s/DICT/USE_DICT/ + * proto.h: ditto + * doc/README.dict: ditto + * doc-jp/README.dict: ditto + * display.c: s/BUFINFO/USE_BUFINFO/ + * main.c: s/DICT/USE_DICT/ s/BUFINFO/USE_BUFINFO/ + +2001-11-24 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02523] + * table.c (feed_table_tag): + fix problem of anchor tag with name attribute only + +2001-11-23 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02511] + * terms.c (isWinConsole): added + +2001-11-22 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02509] ([w3m-dev 02499] [w3m-dev 02508]) + * terms.c (setlinescols): initialize LASTLINE + * terms.c: add LASTLINE + * fm.h: extern int LASTLINE + * linein.c: remove defined(__CYGWIN__) && defined(JP_CHARSET) + * main.c: remove MOUSE_* definition + * terms.h: move MOUSE_* definition from main.c + * terms.c: add tty + * terms.c (check_win32_console): added + * terms.c (init_win32_console_handle): ditto + * terms.c (read_win32_console_input): ditto + * terms.c (read_win32_console): ditto + * terms.c (set_tty) add call init_win32_console + * terms.c (getch) use read_win32_console + * terms.c (mouse_init): check hConIn + * terms.c (mouse_end): ditto + +2001-11-22 aito@fw.ipsj.or.jp + + * [w3m-dev 02503] + * indep.c (getescapechar): allow incomplete entity references in URL + closes: Debian Bug#120540 + +2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02506] + * anchor.c (putHmarker): remove #ifdef __CYGWIN__ for bzero() + * matrix.h (m_copy): ditto + * table.c (pushTable): ditto + +2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02505] + * configure (alarm): check alarm if USE_ALARM + +2001-11-22 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02501] + * .cvsignore: add funcname.c funcname1.h funcname2.h tagtable.c + * scripts/.cvsignore: added, dirlist.cgi + * scripts/multipart/.cvsignore: added, multipart.cgi + * scripts/w3mman/.cvsignore: added, w3mman w3mman2html.cgi + * doc-jp/README.kokb: deleted + * gc/makefile.depend: deleted + +2001-11-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * table.c (feed_table): fix the following table + <table border=1><tr><td>< <</table> + +2001-11-22 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp> + + * [w3m-dev 02497] + * url.c (parseURL2): fix #ifdef __EMX__ code + * indep.c (cleanupName): remove #if 0 /* SUPPORT_NETBIOS_SHARE */ code + +2001-11-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02494] + * configure (MIME_TYPES): check if mimetypes is empty + * configure (label_topline): add missing = + * configure (nextpage_topline): ditto + +2001-11-22 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02493] + * scripts/multipart/Makefile: s/DISTDIR/DESTDIR/ + +2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02481] + * s/BG_COLOR/USE_BG_COLOR/ + * s/ANSI_COLOR/USE_ANSI_COLOR/ + * s/COLOR/USE_COLOR/ + * s/MENU/USE_MENU/ + * s/MOUSE/USE_MOUSE/ + + * [w3m-dev 02480] new configure + * config.h.dist: updated + * configure: $def_emacs_like_lineedit, $def_vi_prec_num + $def_label_topline, $def_nextpage_topline + $def_use_mark, $def_use_gopher, $def_use_alarm + * configure: add --{ssl,gc}-{include,lib}dir, --mimetypes + * configure: BoehmGC Debian hack + * XMakefile: add $(OPTS) + * terms.c: use HAVE_SYS_SELECT_H + * configure: add sys/select.h detection + * configure: no_float_h -> float_h + * configure: add chdir() detection + * local.c (localcgi_post): use HAVE_CHDIR instead of __EMX__ + * local.c (localcgi_get): ditto + * main.c: <time.h> no need for #ifdef __EMX__ + other files already do #include <time.h> + + [w3m-dev 02479] + * rc.c (init_rc): remove #ifdef __EMX__ for tmpdir + * config.h.dit: updated + * url.c (openURL): use CGI_EXTENSION + add extlen + * rc.c (helpFile): remove #ifdef __EMX__ + use w3m_help_dir() + * w3mbookmark.c (lib_dir): removed + * w3mbookmark.c (print_bookmark_panel): use w3m_lib_dir() + * rc.c (libFile): remove #ifdef __EMX__ + use w3m_lib_dir() + * local.c (get_os2_dft): removed + * local.c (check_local_cgi): use w3m_lib_dir() instead of lib_dir + * local.c (cgi_filename): ditto + * indep.c (w3m_dir): added + * indep.c (w3m_lib_dir w3m_help_dir): ditto + * indep.h (w3m_lib_dir w3m_help_dir): ditto + * terms.c (set_tty): remove #ifdef __EMX__ + use DEV_TTY_PATH + * local.c (localcgi_get): use DEV_NULL_PATH + * w3mhelperpanel.c (printMailcapPanal): remove #ifdef __EMX__ + use W3mHELPERPANEL_CMDNAME + * rc.c (optionpanel_src1): ditto + * w3mbookmark.c (bkmark_src1): remove #ifdef __EMX__ + use W3MBOOKMARK_CMDNAME + * main.c (adBmark): ditto + use w3m_lib_dir() + * terms.c (getTCstr): remove #ifdef __DJGPP__ + use DEFAULT_TERM + check ent is NULL + * main.c (fusage): remove #ifdef SHOW_PARAMS + * main.c (MAIN): ditto + * rc.c (show_params): ditto + * fm.h (view_unseenobject): remove #ifdef VIEW_UNSEENOBJECTS + * url.c (check_no_proxy): remove #ifdef NOPROXY_NETADDR + * configure (show_params): removed + * configure (config.h): + - fix comment for USE_MARK + - add MENU_THIN_FRAME + - move $def_nntp (USE_NNTP), $def_ansi_color (ANSI_COLOR) + - remove VIEW_UNSEENOBJECTS + - remove $def_show_params (SHOW_PARAMS) + - define DEFAULT_TERM + - define W3MBOOKMARK_CMDNAME + - define W3MHELPERPANEL_CMDNAME + - define DEV_NULL_PATH + - define DEV_TTY_PATH + - define CGI_EXTENSION + + [w3m-dev 02478] + * Makefile: make -> $(MAKE) + +2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02473] + * scripts/Makefile: chmod +x + * scripts/Makefile: add clean target + * scripts/multipart/Makefile: ditto + * scripts/w3mman/Makefile: ditto + * XMakefile: clean scripts + * scripts/dirlist.cgi: removed from CVS + * Makefile (install-scripts): added + * XMakefile: (install-scripts): depends all-scripts + +2001-11-21 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02470] + * XMakefile: all of scripts are generated by this instead of configure + * configure: add PERL, remove scripts/dirlist.cgi generation + * config.h.dist: add PERL + * scripts/Makefile: added + * scripts/multipart/Makefile scripts/w3mman/Makefile: + new scripts generation and installation + * scripts/multipart/README scripts/w3mman/README: update + +2001-11-21 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02472] cleanup CYGWIN macro + * display.c (displayBuffer): use __CYGWIN__ macro + * fm.h: ditto + * terms.c (refresh): add condition for isWinConsole which + defined only japanese cygwin environment + +2001-11-21 Akinori Ito <aito@fw.ipsj.or.jp> + + * [w3m-dev 02466] + Homepage URLs and author's mail addresses in the documents + are changed. + +2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02459] + * XMakefile: update scripts/dirlist.cgi generation + * scripts/multipart/multipart.cgi: removed + * scripts/w3mman/w3mman scripts/w3mman/w3mman2html.cgi: removed + + * [w3m-dev 02462] + * scripts/dirlist.in scripts/dirlist.cgi: removed + * scripts/dirlist.cgi.in: added + +2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * add rcsids + +2001-11-21 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02454] + * buffer.c (newBuffer): set COLS + * display.c (displayBuffer redrawLine redrawLineRegion + cursorRight arrangeCursor cursorXY): + new showLineNumber implementation + * main.c (ctrCsrH shiftvisualpos shiftl shiftr _movL _movR + _followForm follow_map process_mouse): + use buf->COLS, buf->rootX + * menu.c (popupMenu mainMn initSelectMenu): + use buf->rootX + * etc.c (columnSkip): use buf->COLS + * file.c (HTMLlineproc2body loadBuffer saveBufferDelNum getNextPage) + remove old showLineNumber codes + * fm.h (Buffer): add rootX, COLS + +2001-11-21 Fumitoshi UKAI <ukai@debian.or.jp> + + * XMakefile (clean): rm tagtable.c + * .cvsignore: XXMakefile config.h config.param + +2001-11-20 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02455] + * XMakefile.dist deflate.c: removed, not used + * tagtable.c: removed, autogenerated files + * XMakefile (mktable w3mbookmark w3mhelperpanel): use LIBS2 + * configure: add $bsdlib + +2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * frame.c (newFrameSet): fix possible buffer overrun + +2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * XXMakefile config.h: removed from CVS + these are autogenerated files. + config.h is moved to config.h.dist as sample config file. + +2001-11-20 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02449] + * file.c (HTMLtagproc1): reimplement meta refresh with + setAlarmEvent() + * fm.h: put back alarm related variables to main.c + add alarm related status flags + * main.c: put back alarm related variables from fm.h + alarm_once was renamed alarm_status + add alarm_buffer and setAlarmEvent() + * main.c (MAIN): cancel the alarm event if the buffer was + changed + * main.c (SigAlarm): ditto + * main.c (setAlarm): use setAlarmEvent() + * proto.h: add setAlarmEvent() + +2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * w3mhelperpanel.c (extractMailcapEntry): remove unused variables + * istream.c (StrISgets): add parentheses around assignment used + as truth value + + * XMakefile (clean): remove funcname.c funcname1.h funcname2.h + these are autogenerated files. + * funcname.c funcname1.h funcname2.h: removed from CVS + + * main.c (MAIN): add braces to avoid ambiguous `else' + * main.c (set_buffer_environ): remove unused variables + * linein.c (_rcompl): not EMACS_LIKE_LINEEDIT only + * local.c (localcgi_get): remove unused variables + * mailcap.c (unquote_mailcap_loop): remove unused variables + * url.c (init_PRNG) add parentheses around assignment used as true value + * url.c (parseURL): remove unsed label + * url.c (parseURL2): remove unused variables + * ftp.c (ftp_escape_str ftp_restore_str): remove not used functions + * indep.c (getescapechar): remove unused variable + + * proto.h: add missing prototypes + +2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02447] + * terms.c (skip_escseq): is_xterm && ESC [ M <ch> <ch> <ch> + +2001-11-20 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02448] + * terms.c (mouse_init): Gpm_Close() is required. + closes: Debian Bug#120221: w3m-ssl: trashes terminal on exit + +2001-11-20 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02444] + * XMakefile (funcname1.h funcname2.h): sort as well as funcname.c + +2001-11-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02439] + * terms.c (xterm_mouse_term set_tty): add cygwin as xterm-style + mouse terminal + +2001-11-19 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02436] + * main.c (GetWord): closes: #482763 segmentation fault in main.c + +2001-11-19 Fumitoshi UKAI <ukai@debian.or.jp> + + * gc/.cvsignore: + remove gctest, if_mach, if_not_there, threadlibs + closes: #482765 i386 binaries in gc directory + +2001-11-17 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02432] + * configure: follow autoconf conventions + STRCASECMP -> HAVE_STRCASECMP + STRCHR -> HAVE_STRCHR + STRERROR -> HAVE_STRERROR + SYS_ERRLIST -> HAVE_SYS_ERRLIST + NOBCOPY -> HAVE_BCOPY + GETCWD -> HAVE_GETCWD + GETWD -> HAVE_GETWD + READLINK -> HAVE_READLINK (HAVE_LSTAT?) + TERMIO -> HAVE_TERMIO_H + TERMIOS -> HAVE_TERMIOS_H + SGTTY -> HAVE_SGTTY_H + DIRENT -> HAVE_DIRENT_H + NO_FLOAT_H -> HAVE_FLOAT_H + * etc.c fm.h config.h: HAVE_STRCASECMP + * etc.c config.h file.c: HAVE_STRCHR + strchr() moved from file.c to etc.c + * etc.c config.h: HAVE_STRERROR + * etc.c config.h main.c (MAIN): HAVE_SYS_ERRLIST + * etc.c fm.h: HAVE_BCOPY + * etc.c indep.c (currentdir) config.h: HAVE_GETCWD + * indep.c (currentdir) config.h: HAVE_GETWD + * form.c (form_write_from_file) local.c (dirBuffer) + config.h: HAVE_READLINK + * config.h terms.c: HAVE_TERMIO_H, HAVE_TERMIOS_H, HAVE_SGTTY_H + * config.h local.h: HAVE_DIRENT_H + * config.h matric.c: HAVE_FLOAT_H + + * anchor.c cookie.c file.c parsetagx.c regex.c table.c url.c: + remove include <strings.h> ifdef __EMX__ + it will be included in fm.h + * frame.c: remove include <strings.h> for bzero() and bcopy() + these are declared in fm.h + * indep.c: remove include <strings.h> for bcopy() + this is declared in fm.h + * istream.c mailcap.c: remove include <strings.h> for bzero() + this is declared in fm.h + * parsetag.c: remove include <strings.h> for bzero() + no bzero() used in this file + + * [w3m-dev 02431] + * terms.c (set_tty): "rxvt" is xterm + (getTCstr): tgetstr("Km", &pt) is not xterm, removed + (mouse_init): check Gpm_Open() == -2 to detect xterm when USE_GPM + +2001-11-16 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02418] + * main.c (chkURL): add mailto: like pattern to mark as anchor + * search.c (forwardSearch): check whether currentLine is NULL + * search.c (backwardSearch): ditto + +2001-11-16 Dai Sato <satodai@dog.intcul.tohoku.ac.jp> + + * [w3m-dev-en 00641] Re: w3m-0.2.1-inu-1.6 + * configure: add some dirs for zlib and mime.types + +2001-11-16 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02417] + * terms.c (mouse_init): fix mouse handling on TERM=linux + if Gpm_Open() successed, set is_xterm = 0 so that + w3m uses gpm functions. + +2001-11-16 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02408] meta refresh + * file.c (HTMLtagproc1): + use MetaRefresh + add case refresh > 0 + * fm.h: + add MetaRefresh + move alarm related definition from main.c + * main.c: + move alarm releated definition to fm.h + (SigAlarm): alarm_once + * rc.c: + add CMT_META_REFRESH + + * [w3m-dev 02415] + * file.c (loadHTMLBuffer): + pushText() to clean up temporary files + + * [w3m-dev 02414] + * file.c (loadHTMLstream): + SETJMP and signal after buffer is initialized + + * [w3m-dev 02413] + * main.c (reMark): + don't save invalid regexp to MarkString + +2001-11-15 aito@eie.yz.yamagata-u.ac.jp + + * release-0-2-2 + * Update to w3m-0.2.1-inu-1.6 + +2001-11-09 aito@eie.yz.yamagata-u.ac.jp + + * release-0-2-1-inu-1-5 + * Updates from 0.2.1 into 0.2.1-inu-1.5 + +2001-11-08 aito@eie.yz.yamagata-u.ac.jp + + * release-0-2-1 + * import w3m-0.2.1 + +$Id: ChangeLog,v 1.1055 2012/05/22 10:20:45 inu Exp $ diff --git a/Makefile.in b/Makefile.in index 7d692f9..77b9ecc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -111,6 +111,7 @@ IMGDISPLAY=w3mimgdisplay$(EXT) MAN1_TARGET=$(PACKAGE).1 MAN1=$(top_srcdir)/doc/w3m.1 MAN1_JA=$(top_srcdir)/doc-jp/w3m.1 +MAN1_DE=$(top_srcdir)/doc-de/w3m.1 LIB_TARGETS=$(BOOKMARKER) $(HELPER) AUXBIN_TARGETS=@AUXBIN_TARGETS@ @@ -150,7 +151,7 @@ parsetagx.o: html.c funcname.tab: $(DEFUNS) (echo '#define DEFUN(x,y,z) x y';\ - sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' $(DEFUNS)) | $(CPP) - | \ + sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' $(DEFUNS)) | $(CPP) $(CPPFLAGS) - | \ awk '$$1 ~ /^[_A-Za-z]/ { \ for (i=2;i<=NF;i++) { print $$i, $$1} \ }' > $@.tmp @@ -220,10 +221,12 @@ install-core: $(TARGETS) -$(MKDIR) $(DESTDIR)$(HELP_DIR) -$(MKDIR) $(DESTDIR)$(mandir)/man1 -$(MKDIR) $(DESTDIR)$(mandir)/ja/man1 + -$(MKDIR) $(DESTDIR)$(mandir)/de/man1 $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET) $(INSTALL_DATA) $(HELP_FILE) $(DESTDIR)$(HELP_DIR)/$(HELP_TARGET) $(INSTALL_DATA) $(MAN1) $(DESTDIR)$(mandir)/man1/$(MAN1_TARGET) $(INSTALL_DATA) $(MAN1_JA) $(DESTDIR)$(mandir)/ja/man1/$(MAN1_TARGET) + $(INSTALL_DATA) $(MAN1_DE) $(DESTDIR)$(mandir)/de/man1/$(MAN1_TARGET) targets="$(AUXBIN_TARGETS)"; for file in $$targets; \ do \ case $$file in \ @@ -250,7 +253,7 @@ install-po: (cd $$subdir && $(MAKE) install); \ done -all-scripts: +all-scripts: funcname.tab for dir in $(SCRIPTSUBDIRS); \ do \ (cd $$dir && $(MAKE) $(MAKE_ARGS)); \ @@ -280,6 +283,7 @@ uninstall: -$(RM) -f $(HELP_DIR)/$(HELP_TARGET) -$(RM) -f $(mandir)/man1/$(MAN1_TARGET) -$(RM) -f $(mandir)/ja/man1/$(MAN1_TARGET) + -$(RM) -f $(mandir)/de/man1/$(MAN1_TARGET) -for dir in $(SCRIPTSUBDIRS); \ do \ (cd $$dir && $(MAKE) $(MAKE_ARGS) uninstall); \ @@ -318,7 +322,7 @@ depend: makedepend $(CFLAGS) *.c dist: - cd ..; tar cvfz w3m-$(VERSION).tar.gz w3m + git archive --format=tar --prefix=w3m-$(VERSION)/ HEAD | xz -9 > ../w3m-$(VERSION).tar.xz bindist: cd ..; tar cvfz w3m-$(VERSION)-$(MODEL).tar.gz w3m/w3m* w3m/doc* w3m/Bonus* w3m/README w3m/scripts diff --git a/NEWS b/NEWS index 66e309d..7a215e8 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,121 @@ +Debian's w3m 0.5.3+git20210102 + +* new features + - support links containing divs for HTML5 + - rudimentary support for HTML5 tags: figure, figcaption, and section + - enhance the behaviour of the q tag when m17n and Unicode are configured + - support for file://hostname/... URLs + - new commands CURSOR_TOP, CURSOR_MIDDLE, and CURSOR_BOTTOM + - new option space_autocomplete, disabled by default +* bug fixes + - fix and improve broken Gopher support, enabled by default + - change the encoding of the Japanese document files to UTF-8 + - use the default ciphers without SSL_CTX_set_cipher_list for OpenSSL 1.1 + - fix compilation errors due to sys_errlist and longjmp + - define X_DISPLAY_MISSING when configure --without-x for Imlib2 + - avoid the -l option of the man command for w3mman + - fix some source formatting in the manual + - show keyboard shortcuts in a consistent order in help + - fix traditional Chinese translation + - drop obsolete w3m-doc + +Debian's w3m 0.5.3+git20200502 + +* bug fixes + - support ' entity + - prevent multiple User-Agent with -header + - fix -Wchar-subscripts +* new features + - support setting user_agent in siteconf + - new command GOTO_HOME + - extend ssl_forbid_method for TLSv1.2 and TLSv1.3 + +Debian's w3m 0.5.3+git20190105 + +* bug fixes + - do not use deprecated features with OpenSSL 1.1 + - fix dependency for Imlib2 + - fix that the mark_all_pages option works + - respect the simple_preserve_space option for table cells + - fix error handling for ~/.w3m/request.log and localcgi_post() +* new feature + - w3mman supports specifying a section number during a keyword search + +Debian's w3m 0.5.3+git20180125 + +* bug fixes + - fix stack overflow with malformed text [CVE-2018-6196] + - fix null deref with malformed text [CVE-2018-6197] + - fix /tmp file races only when ~/.w3m is unwritable [CVE-2018-6198] + - do not remove w3mdict.cgi when "make distclean" + - do not turn a form's GET into POST + - correct <base ...> parsing + - accept TERM=fbterm +* new feature + - extend ssl_forbid_method to disable TLSv1.1 + +Debian's w3m 0.5.3+git20170102 + +* bug fixes + - fix multiple flaws with malformed text + (buffer overflow, use after free, infinite loop) + - fix uninitialized variable when not USE_IMAGE + +Debian's w3m 0.5.3+git20161120 + +* bug fixes + - fix multiple flaws with malformed text + (stack overflow, buffer overflow, null deref, out of memory) + [CVE-2016-9622], [CVE-2016-9623], [CVE-2016-9624], [CVE-2016-9625], + [CVE-2016-9626], [CVE-2016-9627], [CVE-2016-9628], [CVE-2016-9629], + [CVE-2016-9630], [CVE-2016-9631], [CVE-2016-9632], [CVE-2016-9633] + - fix stack overflow with nested table and textarea [CVE-2016-9439] + - fix suspend (^Z) behavior + +Debian's w3m 0.5.3+git20161031 + +* new features + - support OSC 5379 remote imaging and sixel graphics + - support SGR style mouse handler + - support 32-bit color images + - support FreeBSD framebuffer + - support button element + - support meta charset + - include w3mdict.cgi to use a dictd dictionary query + - add extbrowser4..9 + - add display_borders to display 0 pixel table borders + - add siteconf feature + - add German translation for options setting panel + - add translations for de, zh_CN and zh_TW +* bug fixes + - fix multiple flaws with malformed text + [CVE-2016-9422], [CVE-2016-9423], [CVE-2016-9424], [CVE-2016-9425], + [CVE-2016-9426], [CVE-2016-9428], [CVE-2016-9429], [CVE-2016-9430], + [CVE-2016-9431], [CVE-2016-9432], [CVE-2016-9433], [CVE-2016-9434], + [CVE-2016-9435], [CVE-2016-9436], [CVE-2016-9437], [CVE-2016-9438], + [CVE-2016-9440], [CVE-2016-9441], [CVE-2016-9443], [CVE-2016-9621] + - fix potential heap buffer corruption due to Strgrow [CVE-2016-9442] + - disable SSLv2 and SSLv3 by default [CVE-2014-3566] + - set ssl_verify_server to 1 by default + - disable RC4, export ciphers, and keys < 128 bits + - use SSL_OP_NO_COMPRESSION due to "CRIME attack" [CVE-2012-4929] + - use SSL_MODE_RELEASE_BUFFERS + - disable USE_EGD for LibreSSL + - appease gcc -Werror=format-security + - option -s is now "squeeze multiple blank lines" to work as pager, and + -j and -e are obsolete, so use -O{s|j|e} to specify display charset + - accept single quoted meta refresh URL + - assume "text" if a form input type is unknown + - accept cookies by default + - set use_dictcommand to 1 by default + - set default_url to 1 by default + - set argv_is_url to 1 by default + - set alt_entity to 0 by default + - fix build problems with Boehm GC 7.2, imlib2 1.4.6 and glibc 2.14 + - fix parallel make failure + - fix incorrect ucs_ambwidth_map + - and many fixes + w3m 0.5.3 - 2011-01-15 * security fix diff --git a/README b/README index 8778d80..8dcef06 100644 --- a/README +++ b/README @@ -1,3 +1,12 @@ +w3m: WWW wo Miru Tool +===================== + +w3m is a pager with WWW capability. It IS a pager, but it can be used +as a text-mode WWW browser. + +This package is maintained for Debian <https://www.debian.org>, +forked from the original version <https://sourceforge.net/projects/w3m/>. + If you can read English, see doc/*. If you can read Japanese, see doc-jp/*. If you can read both, read both and correct English. :-) diff --git a/Str.c b/Str.c index e5a0982..61fe3ca 100644 --- a/Str.c +++ b/Str.c @@ -48,6 +48,8 @@ Str Strnew_size(int n) { Str x = GC_MALLOC(sizeof(struct _Str)); + if (n < 0) + n = 0; x->ptr = GC_MALLOC_ATOMIC(n + 1); x->ptr[0] = '\0'; x->area_size = n + 1; @@ -56,7 +58,7 @@ Strnew_size(int n) } Str -Strnew_charp(char *p) +Strnew_charp(const char *p) { Str x; int n; @@ -73,7 +75,7 @@ Strnew_charp(char *p) } Str -Strnew_m_charp(char *p, ...) +Strnew_m_charp(const char *p, ...) { va_list ap; Str r = Strnew(); @@ -87,7 +89,7 @@ Strnew_m_charp(char *p, ...) } Str -Strnew_charp_n(char *p, int n) +Strnew_charp_n(const char *p, int n) { Str x; @@ -140,7 +142,7 @@ Strcopy(Str x, Str y) } void -Strcopy_charp(Str x, char *y) +Strcopy_charp(Str x, const char *y) { int len; @@ -160,7 +162,7 @@ Strcopy_charp(Str x, char *y) } void -Strcopy_charp_n(Str x, char *y, int n) +Strcopy_charp_n(Str x, const char *y, int n) { int len = n; @@ -180,7 +182,7 @@ Strcopy_charp_n(Str x, char *y, int n) } void -Strcat_charp_n(Str x, char *y, int n) +Strcat_charp_n(Str x, const char *y, int n) { int newlen; @@ -209,7 +211,7 @@ Strcat(Str x, Str y) } void -Strcat_charp(Str x, char *y) +Strcat_charp(Str x, const char *y) { if (y == NULL) return; @@ -232,8 +234,8 @@ Strgrow(Str x) { char *old = x->ptr; int newlen; - newlen = x->length * 6 / 5; - if (newlen == x->length) + newlen = x->area_size * 6 / 5; + if (newlen == x->area_size) newlen += 2; x->ptr = GC_MALLOC_ATOMIC(newlen); x->area_size = newlen; @@ -278,8 +280,8 @@ void Strchop(Str s) { STR_LENGTH_CHECK(s); - while ((s->ptr[s->length - 1] == '\n' || s->ptr[s->length - 1] == '\r') && - s->length > 0) { + while (s->length > 0 && + (s->ptr[s->length - 1] == '\n' || s->ptr[s->length - 1] == '\r')) { s->length--; } s->ptr[s->length] = '\0'; @@ -301,7 +303,7 @@ Strinsert_char(Str s, int pos, char c) } void -Strinsert_charp(Str s, int pos, char *p) +Strinsert_charp(Str s, int pos, const char *p) { STR_LENGTH_CHECK(s); while (*p) @@ -530,11 +532,8 @@ Str Strfgets(FILE * f) { Str s = Strnew(); - char c; - while (1) { - c = fgetc(f); - if (feof(f) || ferror(f)) - break; + int c; + while ((c = fgetc(f)) != EOF) { Strcat_char(s, c); if (c == '\n') break; @@ -546,11 +545,8 @@ Str Strfgetall(FILE * f) { Str s = Strnew(); - char c; - while (1) { - c = fgetc(f); - if (feof(f) || ferror(f)) - break; + int c; + while ((c = fgetc(f)) != EOF) { Strcat_char(s, c); } return s; diff --git a/Str.h b/Str.h index f345c74..248815d 100644 --- a/Str.h +++ b/Str.h @@ -30,22 +30,22 @@ typedef struct _Str { Str Strnew(void); Str Strnew_size(int); -Str Strnew_charp(char *); -Str Strnew_charp_n(char *, int); -Str Strnew_m_charp(char *, ...); +Str Strnew_charp(const char *); +Str Strnew_charp_n(const char *, int); +Str Strnew_m_charp(const char *, ...); Str Strdup(Str); void Strclear(Str); void Strfree(Str); void Strcopy(Str, Str); -void Strcopy_charp(Str, char *); -void Strcopy_charp_n(Str, char *, int); -void Strcat_charp_n(Str, char *, int); +void Strcopy_charp(Str, const char *); +void Strcopy_charp_n(Str, const char *, int); +void Strcat_charp_n(Str, const char *, int); void Strcat(Str, Str); -void Strcat_charp(Str, char *); +void Strcat_charp(Str, const char *); void Strcat_m_charp(Str, ...); Str Strsubstr(Str, int, int); void Strinsert_char(Str, int, char); -void Strinsert_charp(Str, int, char *); +void Strinsert_charp(Str, int, const char *); void Strdelete(Str, int, int); void Strtruncate(Str, int); void Strlower(Str); diff --git a/acinclude.m4 b/acinclude.m4 index e4ccc3d..b09f4e6 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -6,7 +6,8 @@ dnl w3m autoconf macros AC_DEFUN([AC_W3M_VERSION], [AC_SUBST(CURRENT_VERSION) cvsver=`$AWK '\$[1] ~ /Id:/ { print \$[3]}' $srcdir/ChangeLog` - sed -e 's/define CURRENT_VERSION "\(.*\)+cvs/define CURRENT_VERSION "\1+cvs-'$cvsver'/' $srcdir/version.c.in > version.c + ymdver=`sed -e 's/ .*//;s/-//g;q' $srcdir/ChangeLog` + sed -e 's/define CURRENT_VERSION "\(.*\)YYYYMMDD/define CURRENT_VERSION "\1'$ymdver'/;s/define CURRENT_VERSION "\(.*\)+cvs/define CURRENT_VERSION "\1+cvs-'$cvsver'/' $srcdir/version.c.in > version.c CURRENT_VERSION=`sed -n 's/.*define CURRENT_VERSION *"w3m\/\(.*\)".*$/\1/p' version.c`]) # # ---------------------------------------------------------------- @@ -124,8 +125,8 @@ AC_DEFUN([AC_W3M_GOPHER], [AC_SUBST(USE_GOPHER) AC_MSG_CHECKING(if gopher is enabled) AC_ARG_ENABLE(gopher, - [ --enable-gopher enable GOPHER],, - [enable_gopher="no"]) + [ --disable-gopher disable GOPHER],, + [enable_gopher="yes"]) test x"$enable_gopher" = xyes && AC_DEFINE(USE_GOPHER) AC_MSG_RESULT($enable_gopher)]) # @@ -330,10 +331,10 @@ AC_DEFINE_UNQUOTED(DEF_MAILER, "$w3m_mailer")]) # ---------------------------------------------------------------- AC_DEFUN([AC_W3M_EXT_BROWSER], [AC_SUBST(DEF_EXT_BROWSER) -w3m_browser="/usr/bin/mozilla" +w3m_browser="/usr/bin/firefox" AC_MSG_CHECKING(which external browser is used by default) AC_ARG_WITH(browser, - [ --with-browser=BROWSER default browser (/usr/bin/mozilla)], + [ --with-browser=BROWSER default browser (/usr/bin/firefox)], [w3m_browser="$with_browser"]) AC_MSG_RESULT($w3m_browser) AC_DEFINE_UNQUOTED(DEF_EXT_BROWSER, "$w3m_browser")]) @@ -400,10 +401,10 @@ AC_DEFUN([AC_W3M_TERMLIB], AC_ARG_WITH(termlib, [ --with-termlib[=LIBS] terminal library LIBS is space separated list of: - terminfo mytinfo termcap ncurses curses],, + terminfo mytinfo termcap tinfo ncurses curses],, [with_termlib="yes"]) AC_MSG_RESULT($with_termlib) - test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap ncurses curses" + test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap tinfo ncurses curses" for lib in $with_termlib; do AC_CHECK_LIB($lib, tgetent, [W3M_LIBS="$W3M_LIBS -l$lib"; break]) done @@ -600,7 +601,7 @@ AC_DEFUN([AC_W3M_IMAGE], if test x"$enable_image" = xyes; then enable_image=x11 case "`uname -s`" in - Linux|linux|LINUX) + Linux|linux|LINUX|FreeBSD|freebsd|FREEBSD) if test -c /dev/fb0; then enable_image=x11,fb fi;; @@ -649,6 +650,9 @@ AC_DEFUN([AC_W3M_IMAGE], fi;; imlib2) with_imlib2="yes" + if test x"$PKG_CONFIG" = x; then + PKG_CONFIG=pkg-config + fi if test x"$IMLIB2_CONFIG" = x; then IMLIB2_CONFIG=imlib2-config fi;; @@ -661,8 +665,6 @@ AC_DEFUN([AC_W3M_IMAGE], with_gtk2="yes" if test x"$PKG_CONFIG" = x; then PKG_CONFIG=pkg-config - else - PKG_CONFIG=: fi;; esac done @@ -705,8 +707,8 @@ AC_DEFUN([AC_W3M_IMAGE], IMGTARGETS="x11" AC_DEFINE(USE_GDKPIXBUF) AC_DEFINE(USE_GTK2) - IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`" - IMGX11LDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`" + IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`" + IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`" elif test x"$have_gdkpixbuf" = xyes; then AC_DEFINE(USE_W3MIMG_X11) IMGOBJS="$IMGOBJS x11/x11_w3mimg.o" @@ -728,7 +730,7 @@ AC_DEFUN([AC_W3M_IMAGE], IMGTARGETS="x11" AC_DEFINE(USE_IMLIB2) IMGX11CFLAGS="`${IMLIB2_CONFIG} --cflags`" - IMGX11LDFLAGS="`${IMLIB2_CONFIG} --libs`" + IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs imlib2`" else AC_MSG_WARN([unable to build w3mimgdisplay with X11 support]) fi @@ -740,8 +742,8 @@ AC_DEFUN([AC_W3M_IMAGE], IMGTARGETS="${IMGTARGETS} fb" AC_DEFINE(USE_GDKPIXBUF) AC_DEFINE(USE_GTK2) - IMGFBCFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gtk+-2.0`" - IMGFBLDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0 gtk+-2.0`" + IMGFBCFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0`" + IMGFBLDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0`" elif test x"$have_gdkpixbuf" = xyes; then AC_DEFINE(USE_W3MIMG_FB) IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o" @@ -756,7 +758,7 @@ AC_DEFUN([AC_W3M_IMAGE], AC_DEFINE(USE_IMLIB2) IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o" IMGFBCFLAGS="`${IMLIB2_CONFIG} --cflags`" - IMGFBLDFLAGS="`${IMLIB2_CONFIG} --libs`" + IMGFBLDFLAGS="`${PKG_CONFIG} --libs imlib2`" else AC_MSG_WARN([unable to build w3mimgdisplay with FB support]) fi @@ -858,21 +860,6 @@ if test x"$enable_ipv6" = xyes; then fi]) # # ---------------------------------------------------------------- -# AC_W3M_SYS_ERRLIST -# ---------------------------------------------------------------- -AC_DEFUN([AC_W3M_SYS_ERRLIST], -[AC_SUBST(HAVE_SYS_ERRLIST) -AC_MSG_CHECKING(for sys_errlist) -AC_TRY_COMPILE( -changequote(<<,>>)dnl -<<extern char *sys_errlist[];>>, -<<printf(sys_errlist[0]);>>, -changequote([,])dnl -[have_sys_errlist="yes"; AC_DEFINE(HAVE_SYS_ERRLIST)], -[have_sys_errlist="no"]) -AC_MSG_RESULT($have_sys_errlist)]) -# -# ---------------------------------------------------------------- # AC_W3M_SIGSETJMP # ---------------------------------------------------------------- AC_DEFUN([AC_W3M_SIGSETJMP], diff --git a/alloc.h b/alloc.h new file mode 100644 index 0000000..fa0d391 --- /dev/null +++ b/alloc.h @@ -0,0 +1,39 @@ +/* + * by Scarlett. public domain. + * replacements for w3m's allocation macros which add overflow + * detection and concentrate the macros in one file + */ +#ifndef W3_ALLOC_H +#define W3_ALLOC_H +#include <gc.h> +#include <stdlib.h> +#include <stdio.h> +#include <limits.h> + +static inline size_t +z_mult_no_oflow_(size_t n, size_t size) +{ + if (size != 0 && n > ULONG_MAX / size) { + fprintf(stderr, + "w3m: overflow in malloc, %lu*%lu\n", (unsigned long)n, (unsigned long)size); + exit(1); + } + return n * size; +} + +#define New(type) \ + (GC_MALLOC(sizeof(type))) + +#define NewAtom(type) \ + (GC_MALLOC_ATOMIC(sizeof(type))) + +#define New_N(type, n) \ + (GC_MALLOC(z_mult_no_oflow_((n), sizeof(type)))) + +#define NewAtom_N(type, n) \ + (GC_MALLOC_ATOMIC(z_mult_no_oflow_((n), sizeof(type)))) + +#define New_Reuse(type, ptr, n) \ + (GC_REALLOC((ptr), z_mult_no_oflow_((n), sizeof(type)))) + +#endif /* W3_ALLOC_H */ diff --git a/anchor.c b/anchor.c index 27bbd56..b6d121c 100644 --- a/anchor.c +++ b/anchor.c @@ -11,7 +11,7 @@ putAnchor(AnchorList *al, char *url, char *target, Anchor **anchor_return, { int n, i, j; Anchor *a; - BufferPoint bp; + BufferPoint bp = { 0 }; if (al == NULL) { al = New(AnchorList); al->anchors = NULL; @@ -200,10 +200,11 @@ _put_anchor_news(Buffer *buf, char *p1, char *p2, int line, int pos) if (*(p2 - 1) == '>') p2--; } - tmp = wc_Str_conv_strict(Strnew_charp_n(p1, p2 - p1), InnerCharset, - buf->document_charset); - tmp = Sprintf("news:%s", file_quote(tmp->ptr)); - return registerHref(buf, tmp->ptr, NULL, NO_REFERER, NULL, '\0', line, + tmp = Strnew_charp("news:"); + Strcat_charp_n(tmp, p1, p2 - p1); + return registerHref(buf, url_encode(tmp->ptr, baseURL(buf), + buf->document_charset), + NULL, NO_REFERER, NULL, '\0', line, pos); } #endif /* USE_NNTP */ @@ -213,9 +214,10 @@ _put_anchor_all(Buffer *buf, char *p1, char *p2, int line, int pos) { Str tmp; - tmp = wc_Str_conv_strict(Strnew_charp_n(p1, p2 - p1), InnerCharset, - buf->document_charset); - return registerHref(buf, url_quote(tmp->ptr), NULL, NO_REFERER, NULL, + tmp = Strnew_charp_n(p1, p2 - p1); + return registerHref(buf, url_encode(tmp->ptr, baseURL(buf), + buf->document_charset), + NULL, NO_REFERER, NULL, '\0', line, pos); } @@ -549,7 +551,8 @@ shiftAnchorPosition(AnchorList *al, HmarkerList *hl, int line, int pos, break; if (a->start.pos > pos) { a->start.pos += shift; - if (hl->marks[a->hseq].line == line) + if (hl && hl->marks && + a->hseq >= 0 && hl->marks[a->hseq].line == line) hl->marks[a->hseq].pos = a->start.pos; } if (a->end.pos >= pos) @@ -641,7 +644,6 @@ addMultirowsForm(Buffer *buf, AnchorList *al) { int i, j, k, col, ecol, pos; Anchor a_form, *a; - FormItemList *fi; Line *l, *ls; if (al == NULL || al->nanchor == 0) @@ -668,7 +670,6 @@ addMultirowsForm(Buffer *buf, AnchorList *al) if (!ls) continue; } - fi = (FormItemList *)a_form.url; col = COLPOS(ls, a_form.start.pos); ecol = COLPOS(ls, a_form.end.pos); for (j = 0; l && j < a_form.rows; l = l->next, j++) { @@ -685,6 +686,8 @@ addMultirowsForm(Buffer *buf, AnchorList *al) a->hseq = a_form.hseq; a->y = a_form.y; a->end.pos = pos + ecol - col; + if (pos < 1 || a->end.pos >= l->size) + continue; l->lineBuf[pos - 1] = '['; l->lineBuf[a->end.pos] = ']'; for (k = pos; k < a->end.pos; k++) @@ -756,7 +759,7 @@ link_list_panel(Buffer *buf) p = parsedURL2Str(&pu)->ptr; u = html_quote(p); if (DecodeURL) - p = html_quote(url_unquote_conv(p, buf->document_charset)); + p = html_quote(url_decode2(p, buf)); else p = u; } @@ -787,7 +790,7 @@ link_list_panel(Buffer *buf) p = parsedURL2Str(&pu)->ptr; u = html_quote(p); if (DecodeURL) - p = html_quote(url_unquote_conv(p, buf->document_charset)); + p = html_quote(url_decode2(p, buf)); else p = u; t = getAnchorText(buf, al, a); @@ -809,16 +812,13 @@ link_list_panel(Buffer *buf) p = parsedURL2Str(&pu)->ptr; u = html_quote(p); if (DecodeURL) - p = html_quote(url_unquote_conv(p, buf->document_charset)); + p = html_quote(url_decode2(p, buf)); else p = u; if (a->title && *a->title) t = html_quote(a->title); - else if (DecodeURL) - t = html_quote(url_unquote_conv - (a->url, buf->document_charset)); else - t = html_quote(a->url); + t = html_quote(url_decode2(a->url, buf)); Strcat_m_charp(tmp, "<li><a href=\"", u, "\">", t, "</a><br>", p, "\n", NULL); a = retrieveAnchor(buf->formitem, a->start.line, a->start.pos); @@ -842,19 +842,13 @@ link_list_panel(Buffer *buf) p = parsedURL2Str(&pu)->ptr; u = html_quote(p); if (DecodeURL) - p = html_quote(url_unquote_conv(p, - buf-> - document_charset)); + p = html_quote(url_decode2(p, buf)); else p = u; if (m->alt && *m->alt) t = html_quote(m->alt); - else if (DecodeURL) - t = html_quote(url_unquote_conv(m->url, - buf-> - document_charset)); else - t = html_quote(m->url); + t = html_quote(url_decode2(m->url, buf)); Strcat_m_charp(tmp, "<li><a href=\"", u, "\">", t, "</a><br>", p, "\n", NULL); } diff --git a/buffer.c b/buffer.c index 5afc26a..e70cffe 100644 --- a/buffer.c +++ b/buffer.c @@ -47,6 +47,8 @@ newBuffer(int width) #ifdef USE_M17N n->auto_detect = WcOption.auto_detect; #endif + n->check_url = MarkAllPages; /* use default from -o mark_all_pages */ + n->need_reshape = 1; /* always reshape new buffers to mark URLs */ return n; } @@ -705,6 +707,7 @@ readBufferCache(Buffer *buf) cache = fopen(buf->savecache, "r"); if (cache == NULL || fread1(clnum, cache) || fread1(tlnum, cache)) { + fclose(cache); buf->savecache = NULL; return -1; } @@ -760,8 +763,10 @@ readBufferCache(Buffer *buf) } #endif } - buf->lastLine = prevl; - buf->lastLine->next = NULL; + if (prevl) { + buf->lastLine = prevl; + buf->lastLine->next = NULL; + } fclose(cache); unlink(buf->savecache); buf->savecache = NULL; diff --git a/config.guess b/config.guess index 51fab47..f50dcdb 100755 --- a/config.guess +++ b/config.guess @@ -1,13 +1,12 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2004-03-12' +timestamp='2018-02-24' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -16,24 +15,22 @@ timestamp='2004-03-12' # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# along with this program; if not, see <https://www.gnu.org/licenses/>. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Per Bothner <per@bothner.com>. -# Please send patches to <config-patches@gnu.org>. Submit a context -# diff and a properly formatted ChangeLog entry. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). +# +# Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. +# You can get the latest version of this script from: +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. +# Please send patches to <config-patches@gnu.org>. + me=`echo "$0" | sed -e 's,.*/,,'` @@ -42,7 +39,7 @@ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. -Operation modes: +Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit @@ -53,8 +50,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. +Copyright 1992-2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -66,11 +62,11 @@ Try \`$me --help' for more information." while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; + echo "$timestamp" ; exit ;; --version | -v ) - echo "$version" ; exit 0 ;; + echo "$version" ; exit ;; --help | --h* | -h ) - echo "$usage"; exit 0 ;; + echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. @@ -104,16 +100,16 @@ set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > $dummy.c ; + ,,) echo "int x;" > "$dummy.c" ; for c in cc gcc c89 c99 ; do - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; @@ -123,7 +119,7 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ;' +esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) @@ -136,12 +132,40 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown +case "$UNAME_SYSTEM" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + eval "$set_cc_for_build" + cat <<-EOF > "$dummy.c" + #include <features.h> + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" + + # If ldd exists, use it to detect musl libc. + if command -v ldd >/dev/null && \ + ldd --version 2>&1 | grep -q ^musl + then + LIBC=musl + fi + ;; +esac + # Note: order is significant - the case branches are not exclusive. -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward @@ -151,22 +175,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in + UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ + "/sbin/$sysctl" 2>/dev/null || \ + "/usr/sbin/$sysctl" 2>/dev/null || \ + echo unknown)` + case "$UNAME_MACHINE_ARCH" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + sh5el) machine=sh5le-unknown ;; + earmv*) + arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` + endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` + machine="${arch}${endian}"-unknown + ;; + *) machine="$UNAME_MACHINE_ARCH"-unknown ;; esac # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in + # to ELF recently (or will in the future) and ABI. + case "$UNAME_MACHINE_ARCH" in + earm*) + os=netbsdelf + ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build + eval "$set_cc_for_build" if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null + | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? @@ -176,7 +211,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in fi ;; *) - os=netbsd + os=netbsd + ;; + esac + # Determine ABI tags. + case "$UNAME_MACHINE_ARCH" in + earm*) + expr='s/^earmv[0-9]/-eabi/;s/eb$//' + abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` ;; esac # The OS release @@ -184,83 +226,62 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. - case "${UNAME_VERSION}" in + case "$UNAME_VERSION" in Debian*) release='-gnu' ;; *) - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit 0 ;; - amd64:OpenBSD:*:*) - echo x86_64-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - cats:OpenBSD:*:*) - echo arm-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - macppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvmeppc:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pegasos:OpenBSD:*:*) - echo powerpc-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mipseb-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sun3:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + echo "$machine-${os}${release}${abi}" + exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" + exit ;; *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" + exit ;; + *:LibertyBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" + exit ;; + *:MidnightBSD:*:*) + echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" + exit ;; *:ekkoBSD:*:*) - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" + exit ;; + *:SolidBSD:*:*) + echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" + exit ;; macppc:MirBSD:*:*) - echo powerppc-unknown-mirbsd${UNAME_RELEASE} - exit 0 ;; + echo powerpc-unknown-mirbsd"$UNAME_RELEASE" + exit ;; *:MirBSD:*:*) - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" + exit ;; + *:Sortix:*:*) + echo "$UNAME_MACHINE"-unknown-sortix + exit ;; + *:Redox:*:*) + echo "$UNAME_MACHINE"-unknown-redox + exit ;; + mips:OSF1:*.*) + echo mips-dec-osf1 + exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on @@ -270,76 +291,73 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "EV4.5 (21064)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "EV5 (21164)") - UNAME_MACHINE="alphaev5" ;; + UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") - UNAME_MACHINE="alphaev56" ;; + UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") - UNAME_MACHINE="alphapca56" ;; + UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") - UNAME_MACHINE="alphapca57" ;; + UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") - UNAME_MACHINE="alphaev6" ;; + UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") - UNAME_MACHINE="alphaev67" ;; + UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") - UNAME_MACHINE="alphaev69" ;; + UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") - UNAME_MACHINE="alphaev7" ;; + UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") - UNAME_MACHINE="alphaev79" ;; + UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; - Alpha*:OpenVMS:*:*) - echo alpha-hp-vms - exit 0 ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit 0 ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit 0 ;; + echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 - exit 0;; + exit ;; *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-amigaos + exit ;; *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-morphos + exit ;; *:OS/390:*:*) echo i370-ibm-openedition - exit 0 ;; + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; *:OS400:*:*) - echo powerpc-ibm-os400 - exit 0 ;; + echo powerpc-ibm-os400 + exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit 0;; + echo arm-acorn-riscix"$UNAME_RELEASE" + exit ;; + arm*:riscos:*:*|arm*:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp - exit 0;; + exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then @@ -347,32 +365,51 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in else echo pyramid-pyramid-bsd fi - exit 0 ;; + exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 - exit 0 ;; + exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 - exit 0 ;; - DRS?6000:UNIX_SV:4.2*:7*) + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7 && exit 0 ;; + sparc) echo sparc-icl-nx7; exit ;; esac ;; + s390x:SunOS:*:*) + echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + exit ;; sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux"$UNAME_RELEASE" + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval "$set_cc_for_build" + SUN_ARCH=i386 + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH=x86_64 + fi + fi + echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) @@ -380,26 +417,26 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit 0 ;; + echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" + exit ;; sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit 0 ;; + echo m68k-sun-sunos"$UNAME_RELEASE" + exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) - echo m68k-sun-sunos${UNAME_RELEASE} + echo m68k-sun-sunos"$UNAME_RELEASE" ;; sun4) - echo sparc-sun-sunos${UNAME_RELEASE} + echo sparc-sun-sunos"$UNAME_RELEASE" ;; esac - exit 0 ;; + exit ;; aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; + echo sparc-auspex-sunos"$UNAME_RELEASE" + exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor @@ -409,44 +446,44 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit 0 ;; + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit 0 ;; + echo m68k-milan-mint"$UNAME_RELEASE" + exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit 0 ;; + echo m68k-hades-mint"$UNAME_RELEASE" + exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit 0 ;; + echo m68k-unknown-mint"$UNAME_RELEASE" + exit ;; m68k:machten:*:*) - echo m68k-apple-machten${UNAME_RELEASE} - exit 0 ;; + echo m68k-apple-machten"$UNAME_RELEASE" + exit ;; powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit 0 ;; + echo powerpc-apple-machten"$UNAME_RELEASE" + exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 - exit 0 ;; + exit ;; RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit 0 ;; + echo mips-dec-ultrix"$UNAME_RELEASE" + exit ;; VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit 0 ;; + echo vax-dec-ultrix"$UNAME_RELEASE" + exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit 0 ;; + echo clipper-intergraph-clix"$UNAME_RELEASE" + exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + eval "$set_cc_for_build" + sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include <stdio.h> /* for printf() prototype */ int main (int argc, char *argv[]) { @@ -455,94 +492,95 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF - $CC_FOR_BUILD -o $dummy $dummy.c \ - && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && exit 0 - echo mips-mips-riscos${UNAME_RELEASE} - exit 0 ;; + $CC_FOR_BUILD -o "$dummy" "$dummy.c" && + dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`"$dummy" "$dummyarg"` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos"$UNAME_RELEASE" + exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax - exit 0 ;; + exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax - exit 0 ;; + exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax - exit 0 ;; + exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix - exit 0 ;; + exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 - exit 0 ;; + exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 - exit 0 ;; + exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 - exit 0 ;; + exit ;; AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] + if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ + [ "$TARGET_BINARY_INTERFACE"x = x ] then - echo m88k-dg-dgux${UNAME_RELEASE} + echo m88k-dg-dgux"$UNAME_RELEASE" else - echo m88k-dg-dguxbcs${UNAME_RELEASE} + echo m88k-dg-dguxbcs"$UNAME_RELEASE" fi else - echo i586-dg-dgux${UNAME_RELEASE} + echo i586-dg-dgux"$UNAME_RELEASE" fi - exit 0 ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 - exit 0 ;; + exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 - exit 0 ;; + exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 - exit 0 ;; + exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd - exit 0 ;; + exit ;; *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit 0 ;; + echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" + exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix - exit 0 ;; + exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit 0 ;; + echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" + exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + eval "$set_cc_for_build" + sed 's/^ //' << EOF > "$dummy.c" #include <sys/systemcfg.h> main() @@ -553,128 +591,143 @@ EOF exit(0); } EOF - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 - echo rs6000-ibm-aix3.2.5 + if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi - exit 0 ;; - *:AIX:*:[45]) + exit ;; + *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` + if [ -x /usr/bin/lslpp ] ; then + IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | + awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit 0 ;; + echo "$IBM_ARCH"-ibm-aix"$IBM_REV" + exit ;; *:AIX:*:*) echo rs6000-ibm-aix - exit 0 ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) + exit ;; + ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) echo romp-ibm-bsd4.4 - exit 0 ;; + exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit 0 ;; # report: romp-ibm BSD 4.3 + echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx - exit 0 ;; + exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 - exit 0 ;; + exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd - exit 0 ;; + exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 - exit 0 ;; + exit ;; 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; + HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` + case "$UNAME_MACHINE" in + 9000/31?) HP_ARCH=m68000 ;; + 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "$sc_cpu_version" in + 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 + 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "$sc_kernel_bits" in + 32) HP_ARCH=hppa2.0n ;; + 64) HP_ARCH=hppa2.0w ;; + '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 + esac ;; + esac fi - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + if [ "$HP_ARCH" = "" ]; then + eval "$set_cc_for_build" + sed 's/^ //' << EOF > "$dummy.c" - #define _HPUX_SOURCE - #include <stdlib.h> - #include <unistd.h> + #define _HPUX_SOURCE + #include <stdlib.h> + #include <unistd.h> - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac - if [ ${HP_ARCH} = "hppa2.0w" ] + if [ "$HP_ARCH" = hppa2.0w ] then - # avoid double evaluation of $set_cc_for_build - test -n "$CC_FOR_BUILD" || eval $set_cc_for_build - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null + eval "$set_cc_for_build" + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ then - HP_ARCH="hppa2.0w" + HP_ARCH=hppa2.0w else - HP_ARCH="hppa64" + HP_ARCH=hppa64 fi fi - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit 0 ;; + echo "$HP_ARCH"-hp-hpux"$HPUX_REV" + exit ;; ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit 0 ;; + HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux"$HPUX_REV" + exit ;; 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + eval "$set_cc_for_build" + sed 's/^ //' << EOF > "$dummy.c" #include <unistd.h> int main () @@ -699,360 +752,364 @@ EOF exit (0); } EOF - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 + $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && + { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 - exit 0 ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) echo hppa1.1-hp-bsd - exit 0 ;; + exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd - exit 0 ;; + exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix - exit 0 ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) echo hppa1.1-hp-osf - exit 0 ;; + exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf - exit 0 ;; + exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk + echo "$UNAME_MACHINE"-unknown-osf1mk else - echo ${UNAME_MACHINE}-unknown-osf1 + echo "$UNAME_MACHINE"-unknown-osf1 fi - exit 0 ;; + exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites - exit 0 ;; + exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit 0 ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit 0 ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit 0 ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit 0 ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit 0 ;; + exit ;; CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' - exit 0 ;; + exit ;; CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; *:UNICOS/mp:*:*) - echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; + echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; + FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit 0 ;; + echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" + exit ;; sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; + echo sparc-unknown-bsdi"$UNAME_RELEASE" + exit ;; *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" + exit ;; *:FreeBSD:*:*) - # Determine whether the default compiler uses glibc. - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include <features.h> - #if __GLIBC__ >= 2 - LIBC=gnu - #else - LIBC= - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - # GNU/KFreeBSD systems have a "k" prefix to indicate we are using - # FreeBSD's kernel, but not the complete OS. - case ${LIBC} in gnu) kernel_only='k' ;; esac - echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} - exit 0 ;; + UNAME_PROCESSOR=`/usr/bin/uname -p` + case "$UNAME_PROCESSOR" in + amd64) + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; + esac + echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + exit ;; i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit 0 ;; - i*:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit 0 ;; + echo "$UNAME_MACHINE"-pc-cygwin + exit ;; + *:MINGW64*:*) + echo "$UNAME_MACHINE"-pc-mingw64 + exit ;; + *:MINGW*:*) + echo "$UNAME_MACHINE"-pc-mingw32 + exit ;; + *:MSYS*:*) + echo "$UNAME_MACHINE"-pc-msys + exit ;; i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit 0 ;; - x86:Interix*:[34]*) - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' - exit 0 ;; - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) - echo i${UNAME_MACHINE}-pc-mks - exit 0 ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i586-pc-interix - exit 0 ;; + echo "$UNAME_MACHINE"-pc-pw32 + exit ;; + *:Interix*:*) + case "$UNAME_MACHINE" in + x86) + echo i586-pc-interix"$UNAME_RELEASE" + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix"$UNAME_RELEASE" + exit ;; + IA64) + echo ia64-unknown-interix"$UNAME_RELEASE" + exit ;; + esac ;; i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit 0 ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit 0 ;; + echo "$UNAME_MACHINE"-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit 0 ;; + echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; *:GNU:*:*) # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit 0 ;; + echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" + exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu - exit 0 ;; + echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" + exit ;; i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit 0 ;; + echo "$UNAME_MACHINE"-pc-minix + exit ;; + aarch64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + eval "$set_cc_for_build" + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi + else + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; cris:Linux:*:*) - echo cris-axis-linux-gnu - exit 0 ;; + echo "$UNAME_MACHINE"-axis-linux-"$LIBC" + exit ;; + crisv32:Linux:*:*) + echo "$UNAME_MACHINE"-axis-linux-"$LIBC" + exit ;; + e2k:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + frv:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + hexagon:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + i*86:Linux:*:*) + echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + exit ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + k1om:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval "$set_cc_for_build" + sed 's/^ //' << EOF > "$dummy.c" #undef CPU - #undef mips - #undef mipsel + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel + CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips + CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 + eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" + test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } ;; - mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips64 - #undef mips64el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 - #else - CPU= - #endif - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` - test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 - ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit 0 ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit 0 ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit 0 ;; + mips64el:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + openrisc*:Linux:*:*) + echo or1k-unknown-linux-"$LIBC" + exit ;; + or32:Linux:*:* | or1k*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-"$LIBC" + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-"$LIBC" + exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; + PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; + PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; + *) echo hppa-unknown-linux-"$LIBC" ;; esac - exit 0 ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit 0 ;; + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-"$LIBC" + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-"$LIBC" + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-"$LIBC" + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-"$LIBC" + exit ;; + riscv32:Linux:*:* | riscv64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit 0 ;; + echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" + exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + tile*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + vax:Linux:*:*) + echo "$UNAME_MACHINE"-dec-linux-"$LIBC" + exit ;; x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit 0 ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit 0 ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit 0 ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include <features.h> - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #ifdef __INTEL_COMPILER - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 - ;; + if objdump -f /bin/sh | grep -q elf32-x86-64; then + echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 + else + echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + fi + exit ;; + xtensa*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 - exit 0 ;; + exit ;; i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit 0 ;; + # Use sysv4.2uw... so that sysv4* matches it. + echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" + exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; + echo "$UNAME_MACHINE"-pc-os2-emx + exit ;; i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-stop + exit ;; i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit 0 ;; - i*86:syllable:*:*) - echo ${UNAME_MACHINE}-pc-syllable - exit 0 ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo "$UNAME_MACHINE"-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos"$UNAME_RELEASE" + exit ;; i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + echo "$UNAME_MACHINE"-pc-msdosdjgpp + exit ;; + i*86:*:4.*:*) + UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" fi - exit 0 ;; - i*86:*:5:[78]*) + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit 0 ;; + echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" + exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` - echo ${UNAME_MACHINE}-pc-isc$UNAME_REL + echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL" elif /bin/uname -X 2>/dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 @@ -1062,369 +1119,333 @@ EOF && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" else - echo ${UNAME_MACHINE}-pc-sysv32 + echo "$UNAME_MACHINE"-pc-sysv32 fi - exit 0 ;; + exit ;; pc:*:*:*) # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit 0 ;; + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configure will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 - exit 0 ;; + exit ;; paragon:*:*:*) echo i860-intel-osf1 - exit 0 ;; + exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 fi - exit 0 ;; + exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv - exit 0 ;; + exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv - exit 0 ;; + exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix - exit 0 ;; - M68*:*:R3V[567]*:*) - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4.3${OS_REL} && exit 0 + && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && echo i486-ncr-sysv4 && exit 0 ;; + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + echo m68k-unknown-lynxos"$UNAME_RELEASE" + exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 - exit 0 ;; + exit ;; TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + echo sparc-unknown-lynxos"$UNAME_RELEASE" + exit ;; rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; + echo rs6000-unknown-lynxos"$UNAME_RELEASE" + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos"$UNAME_RELEASE" + exit ;; SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit 0 ;; + echo mips-dde-sysv"$UNAME_RELEASE" + exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 - exit 0 ;; + exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 - exit 0 ;; + exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 + echo "$UNAME_MACHINE"-sni-sysv4 else echo ns32k-sni-sysv fi - exit 0 ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says <Richard.M.Bartel@ccMail.Census.GOV> - echo i586-unisys-sysv4 - exit 0 ;; + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says <Richard.M.Bartel@ccMail.Census.GOV> + echo i586-unisys-sysv4 + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes <hewes@openmarket.com>. # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 - exit 0 ;; + exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 - exit 0 ;; + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo "$UNAME_MACHINE"-stratus-vos + exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos - exit 0 ;; + exit ;; mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit 0 ;; + echo m68k-apple-aux"$UNAME_RELEASE" + exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 - exit 0 ;; + exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} + echo mips-nec-sysv"$UNAME_RELEASE" else - echo mips-unknown-sysv${UNAME_RELEASE} + echo mips-unknown-sysv"$UNAME_RELEASE" fi - exit 0 ;; + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos - exit 0 ;; + exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos - exit 0 ;; + exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos - exit 0 ;; + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit 0 ;; + echo sx4-nec-superux"$UNAME_RELEASE" + exit ;; SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit 0 ;; + echo sx5-nec-superux"$UNAME_RELEASE" + exit ;; SX-6:SUPER-UX:*:*) - echo sx6-nec-superux${UNAME_RELEASE} - exit 0 ;; + echo sx6-nec-superux"$UNAME_RELEASE" + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux"$UNAME_RELEASE" + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux"$UNAME_RELEASE" + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux"$UNAME_RELEASE" + exit ;; + SX-ACE:SUPER-UX:*:*) + echo sxace-nec-superux"$UNAME_RELEASE" + exit ;; Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; + echo powerpc-apple-rhapsody"$UNAME_RELEASE" + exit ;; *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit 0 ;; + echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" + exit ;; *:Darwin:*:*) - case `uname -p` in - *86) UNAME_PROCESSOR=i686 ;; - powerpc) UNAME_PROCESSOR=powerpc ;; - esac - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} - exit 0 ;; + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + eval "$set_cc_for_build" + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc + fi + fi + elif test "$UNAME_PROCESSOR" = i386 ; then + # Avoid executing cc on OS X 10.9, as it ships with a stub + # that puts up a graphical alert prompting to install + # developer tools. Any system running Mac OS X 10.7 or + # later (Darwin 11 and later) is required to have a 64-bit + # processor. This is not true of the ARM version of Darwin + # that Apple uses in portable devices. + UNAME_PROCESSOR=x86_64 + fi + echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" + exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then + if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit 0 ;; + echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" + exit ;; *:QNX:*:4*) echo i386-pc-qnx - exit 0 ;; - NSR-?:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit 0 ;; + exit ;; + NEO-*:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSR-*:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSV-*:NONSTOP_KERNEL:*:*) + echo nsv-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSX-*:NONSTOP_KERNEL:*:*) + echo nsx-tandem-nsk"$UNAME_RELEASE" + exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux - exit 0 ;; + exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv - exit 0 ;; + exit ;; DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit 0 ;; + echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" + exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. - if test "$cputype" = "386"; then + if test "$cputype" = 386; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-plan9 + exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 - exit 0 ;; + exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex - exit 0 ;; + exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 - exit 0 ;; + exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 - exit 0 ;; + exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 - exit 0 ;; + exit ;; *:ITS:*:*) echo pdp10-unknown-its - exit 0 ;; + exit ;; SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} - exit 0 ;; + echo mips-sei-seiux"$UNAME_RELEASE" + exit ;; *:DragonFly:*:*) - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit 0 ;; + echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "$UNAME_MACHINE" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" + exit ;; + i*86:rdos:*:*) + echo "$UNAME_MACHINE"-pc-rdos + exit ;; + i*86:AROS:*:*) + echo "$UNAME_MACHINE"-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo "$UNAME_MACHINE"-unknown-esx + exit ;; + amd64:Isilon\ OneFS:*:*) + echo x86_64-unknown-onefs + exit ;; esac -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 +echo "$0: unable to guess system type" >&2 -eval $set_cc_for_build -cat >$dummy.c <<EOF -#ifdef _SEQUENT_ -# include <sys/types.h> -# include <sys/utsname.h> -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include <sys/param.h> - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif +case "$UNAME_MACHINE:$UNAME_SYSTEM" in + mips:Linux | mips64:Linux) + # If we got here on MIPS GNU/Linux, output extra information. + cat >&2 <<EOF -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include <sys/param.h> -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} +NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize +the system type. Please install a C compiler and try again. EOF - -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit 0 ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit 0 ;; - c34*) - echo c34-convex-bsd - exit 0 ;; - c38*) - echo c38-convex-bsd - exit 0 ;; - c4*) - echo c4-convex-bsd - exit 0 ;; - esac -fi + ;; +esac cat >&2 <<EOF -$0: unable to guess system type -This script, last modified $timestamp, has failed to recognize -the operating system you are using. It is advised that you -download the most up to date version of the config scripts from +This script (version $timestamp), has failed to recognize the +operating system you are using. If your script is old, overwrite *all* +copies of config.guess and config.sub with the latest versions from: - ftp://ftp.gnu.org/pub/gnu/config/ + https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +and + https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub -If the version you run ($0) is already up to date, please -send the following data and any information you think might be -pertinent to <config-patches@gnu.org> in order to provide the needed -information to handle your system. +If $0 has already been updated, send the following data and any +information you think might be pertinent to config-patches@gnu.org to +provide the necessary information to handle your system. config.guess timestamp = $timestamp @@ -1443,16 +1464,16 @@ hostinfo = `(hostinfo) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} +UNAME_MACHINE = "$UNAME_MACHINE" +UNAME_RELEASE = "$UNAME_RELEASE" +UNAME_SYSTEM = "$UNAME_SYSTEM" +UNAME_VERSION = "$UNAME_VERSION" EOF exit 1 # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff --git a/config.h.dist b/config.h.dist index 844a555..4f31fea 100644 --- a/config.h.dist +++ b/config.h.dist @@ -9,10 +9,10 @@ /* User Configuration */ /* - If you define DICT, you can use dictionary look-up function + If you define USE_DICT, you can use dictionary look-up function in w3m. See README.dict for detail. */ -#define DICT +#define USE_DICT /* If you want to load and save URL history. @@ -138,6 +138,7 @@ INSTALL_W3MIMGDISPLAY=$(INSTALL_PROGRAM) #undef USE_W3MIMG_FB #undef USE_IMLIB #undef USE_GDKPIXBUF +#undef X_DISPLAY_MISSING #undef USE_IMLIB2 #define USE_HELP_CGI #undef USE_XFACE @@ -194,7 +195,6 @@ typedef long clen_t; #define HAVE_STRCASESTR #define HAVE_STRCHR #define HAVE_STRERROR -#define HAVE_SYS_ERRLIST #define HAVE_BCOPY #define HAVE_WAITPID #define HAVE_WAIT3 @@ -210,6 +210,7 @@ typedef long clen_t; #define HAVE_SRANDOM #undef HAVE_GETPASSPHRASE #define HAVE_CHDIR +#define HAVE_MKDTEMP #define SETJMP(env) sigsetjmp(env,1) diff --git a/config.h.in b/config.h.in index 2f41eed..6bb0ee0 100644 --- a/config.h.in +++ b/config.h.in @@ -25,6 +25,7 @@ #define PASSWD_FILE RC_DIR "/passwd" #define PRE_FORM_FILE RC_DIR "/pre_form" +#define SITECONF_FILE RC_DIR "/siteconf" #define USER_MAILCAP RC_DIR "/mailcap" #define SYS_MAILCAP CONF_DIR "/mailcap" #define USER_MIMETYPES "~/.mime.types" @@ -74,6 +75,7 @@ #undef USE_IMLIB #undef USE_GDKPIXBUF #undef USE_GTK2 +#undef X_DISPLAY_MISSING #undef USE_IMLIB2 #undef USE_XFACE #undef USE_DICT @@ -84,7 +86,7 @@ #undef INET6 #undef HAVE_SOCKLEN_T #undef HAVE_OLD_SS_FAMILY -#define USE_EGD +#undef USE_EGD #define ENABLE_REMOVE_TRAILINGSPACES #undef MENU_THIN_FRAME #undef USE_RAW_SCROLL @@ -126,7 +128,6 @@ typedef long clen_t; #undef HAVE_STRCASESTR #undef HAVE_STRCHR #undef HAVE_STRERROR -#undef HAVE_SYS_ERRLIST #undef HAVE_BCOPY #undef HAVE_WAITPID #undef HAVE_WAIT3 @@ -142,6 +143,7 @@ typedef long clen_t; #undef HAVE_SRANDOM #undef HAVE_GETPASSPHRASE #undef HAVE_CHDIR +#undef HAVE_MKDTEMP #undef HAVE_SETPGRP #undef HAVE_SETLOCALE #undef HAVE_LANGINFO_CODESET @@ -179,7 +181,7 @@ typedef RETSIGTYPE MySignalHandler; #endif /* __MINGW32_VERSION */ #else # define SETJMP(env) setjmp(env) -# define LONGJMP(env,val) longjmp(env) +# define LONGJMP(env,val) longjmp(env, val) # define JMP_BUF jmp_buf #endif @@ -209,6 +211,10 @@ typedef RETSIGTYPE MySignalHandler; #define SUPPORT_WIN9X_CONSOLE_MBCS 1 #endif +#if defined(__CYGWIN__) && defined(__x86_64__) +#define DONT_CALL_GC_AFTER_FORK +#endif + #if defined(__DJGPP__) #define DEFAULT_TERM "dosansi" #else diff --git a/config.sub b/config.sub index ba33103..1d8e98b 100755 --- a/config.sub +++ b/config.sub @@ -1,42 +1,40 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2004-03-12' +timestamp='2018-02-22' -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA. - +# along with this program; if not, see <https://www.gnu.org/licenses/>. +# # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). -# Please send patches to <config-patches@gnu.org>. Submit a context -# diff and a properly formatted ChangeLog entry. + +# Please send patches to <config-patches@gnu.org>. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. +# You can get the latest version of this script from: +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub + # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. @@ -55,12 +53,11 @@ timestamp='2004-03-12' me=`echo "$0" | sed -e 's,.*/,,'` usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS +Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS Canonicalize a configuration name. -Operation modes: +Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit @@ -70,8 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>." version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. +Copyright 1992-2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -83,11 +79,11 @@ Try \`$me --help' for more information." while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) - echo "$timestamp" ; exit 0 ;; + echo "$timestamp" ; exit ;; --version | -v ) - echo "$version" ; exit 0 ;; + echo "$version" ; exit ;; --help | --h* | -h ) - echo "$usage"; exit 0 ;; + echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. @@ -98,8 +94,8 @@ while test $# -gt 0 ; do *local*) # First pass through any local machine types. - echo $1 - exit 0;; + echo "$1" + exit ;; * ) break ;; @@ -116,17 +112,24 @@ esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ + kopensolaris*-gnu* | cloudabi*-eabi* | \ + storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + android-linux) + os=-linux-android + basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` + basic_machine=`echo "$1" | sed 's/-[^-]*$//'` + if [ "$basic_machine" != "$1" ] + then os=`echo "$1" | sed 's/.*-/-/'` else os=; fi ;; esac @@ -145,10 +148,13 @@ case $os in -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis) + -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; + -bluegene*) + os=-cnk + ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 @@ -163,54 +169,65 @@ case $os in os=-chorusos basic_machine=$1 ;; - -chorusrdb) - os=-chorusrdb + -chorusrdb) + os=-chorusrdb basic_machine=$1 - ;; + ;; -hiux*) os=-hiuxwe2 ;; + -sco6) + os=-sco5v6 + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` + ;; -sco5) os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` + basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` ;; -psos*) os=-psos @@ -227,56 +244,114 @@ case $basic_machine in # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ + | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ - | c4x | clipper \ + | arc | arceb \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | ba \ + | be32 | be64 \ + | bfin \ + | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ + | e2k | epiphany \ + | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ + | hexagon \ + | i370 | i860 | i960 | ia16 | ia64 \ | ip2k | iq2000 \ - | m32r | m32rle | m68000 | m68k | m88k | mcore \ + | k1om \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ - | mips64vr | mips64vrel \ + | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ + | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | moxie \ + | mt \ | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ - | openrisc | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | open8 | or1k | or1knd | or32 \ + | pdp10 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pru \ | pyramid \ - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | riscv32 | riscv64 \ + | rl78 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ - | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xscale | xstormy16 | xtensa \ - | z8k) + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ + | visium \ + | wasm32 \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + leon|leon[3-9]) + basic_machine=sparc-$basic_machine + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) + ;; + ms1) + basic_machine=mt-unknown ;; - m6811 | m68hc11 | m6812 | m68hc12) - # Motorola 68HC11/12. + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) basic_machine=$basic_machine-unknown os=-none ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' @@ -287,70 +362,102 @@ case $basic_machine in ;; # Object if more than one company name word. *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ + | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ - | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | cydra-* \ + | avr-* | avr32-* \ + | ba-* \ + | be32-* | be64-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | e2k-* | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ + | hexagon-* \ + | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | ip2k-* | iq2000-* \ - | m32r-* | m32rle-* \ + | k1om-* \ + | le32-* | le64-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | mcore-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ - | mips64vr-* | mips64vrel-* \ + | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ | msp430-* \ - | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* | nios2eb-* | nios2el-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pru-* \ | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | riscv32-* | riscv64-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ + | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ | tron-* \ - | v850-* | v850e-* | vax-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ + | visium-* \ + | wasm32-* \ | we32k-* \ - | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ - | xtensa-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ | ymp-* \ - | z8k-*) + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) - basic_machine=i386-unknown + basic_machine=i386-pc os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) @@ -363,7 +470,7 @@ case $basic_machine in basic_machine=a29k-amd os=-udi ;; - abacus) + abacus) basic_machine=abacus-unknown ;; adobe68k) @@ -384,7 +491,7 @@ case $basic_machine in basic_machine=x86_64-pc ;; amd64-*) - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl @@ -409,6 +516,13 @@ case $basic_machine in basic_machine=m68k-apollo os=-bsd ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + asmjs) + basic_machine=asmjs-unknown + ;; aux) basic_machine=m68k-apple os=-aux @@ -417,10 +531,35 @@ case $basic_machine in basic_machine=ns32k-sequent os=-dynix ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` + ;; c90) basic_machine=c90-cray os=-unicos ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -445,13 +584,20 @@ case $basic_machine in basic_machine=j90-cray os=-unicos ;; - cr16c) - basic_machine=cr16c-unknown + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16 | cr16-*) + basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; @@ -481,14 +627,30 @@ case $basic_machine in basic_machine=m88k-motorola os=-sysv3 ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; - dpx2* | dpx2*-bull) + dpx2*) basic_machine=m68k-bull os=-sysv3 ;; + e500v[12]) + basic_machine=powerpc-unknown + os=$os"spe" + ;; + e500v[12]-*) + basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` + os=$os"spe" + ;; ebmon29k) basic_machine=a29k-amd os=-ebmon @@ -578,9 +740,6 @@ case $basic_machine in hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; - hppa-next) - os=-nextstep3 - ;; hppaosf) basic_machine=hppa1.1-hp os=-osf @@ -592,28 +751,27 @@ case $basic_machine in i370-ibm* | ibm*) basic_machine=i370-ibm ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; - i386-vsta | vsta) + vsta) basic_machine=i386-unknown os=-vsta ;; @@ -631,8 +789,16 @@ case $basic_machine in basic_machine=m68k-isi os=-sysv ;; - m88k-omron*) - basic_machine=m88k-omron + leon-*|leon[3-9]-*) + basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` + os=-linux ;; magnum | m3230) basic_machine=mips-mips @@ -642,10 +808,21 @@ case $basic_machine in basic_machine=ns32k-utek os=-sysv ;; + microblaze*) + basic_machine=microblaze-xilinx + ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; mingw32) - basic_machine=i386-pc + basic_machine=i686-pc os=-mingw32 ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; miniframe) basic_machine=m68000-convergent ;; @@ -654,14 +831,10 @@ case $basic_machine in os=-mint ;; mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` ;; mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware + basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k @@ -671,14 +844,29 @@ case $basic_machine in basic_machine=powerpc-unknown os=-morphos ;; + moxiebox) + basic_machine=moxie-unknown + os=-moxiebox + ;; msdos) basic_machine=i386-pc os=-msdos ;; + ms1-*) + basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` + ;; + msys) + basic_machine=i686-pc + os=-msys + ;; mvs) basic_machine=i370-ibm os=-mvs ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; ncr3000) basic_machine=i486-ncr os=-sysv4 @@ -707,7 +895,7 @@ case $basic_machine in basic_machine=v70-nec os=-sysv ;; - next | m*-next ) + next | m*-next) basic_machine=m68k-next case $os in -nextstep* ) @@ -743,20 +931,27 @@ case $basic_machine in np1) basic_machine=np1-gould ;; - nv1) - basic_machine=nv1-cray - os=-unicosmp + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; + nsv-tandem) + basic_machine=nsv-tandem + ;; + nsx-tandem) + basic_machine=nsx-tandem + ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; - or32 | or32-*) + openrisc | openrisc-*) basic_machine=or32-unknown - os=-coff ;; os400) basic_machine=powerpc-ibm @@ -778,6 +973,14 @@ case $basic_machine in basic_machine=i860-intel os=-osf ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` + os=-linux + ;; pbd) basic_machine=sparc-tti ;; @@ -787,6 +990,12 @@ case $basic_machine in pc532 | pc532-*) basic_machine=ns32k-pc532 ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` + ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; @@ -800,41 +1009,42 @@ case $basic_machine in basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium4-*) - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; - ppc) basic_machine=powerpc-unknown + ppc | ppcbe) basic_machine=powerpc-unknown ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; - ppcle | powerpclittle | ppc-le | powerpc-little) + ppcle | powerpclittle) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) + ppc64le | powerpc64little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm @@ -843,6 +1053,14 @@ case $basic_machine in basic_machine=i586-unknown os=-pw32 ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) + basic_machine=i386-pc + os=-rdos + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -869,6 +1087,10 @@ case $basic_machine in sb1el) basic_machine=mipsisa64sb1el-unknown ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; sei) basic_machine=mips-sei os=-seiux @@ -876,14 +1098,10 @@ case $basic_machine in sequent) basic_machine=i386-sequent ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sh64) - basic_machine=sh64-unknown + sh5el) + basic_machine=sh5le-unknown ;; - sparclite-wrs | simso-wrs) + simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; @@ -901,6 +1119,9 @@ case $basic_machine in basic_machine=i860-stratus os=-sysv4 ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` + ;; sun2) basic_machine=m68000-sun ;; @@ -957,17 +1178,9 @@ case $basic_machine in basic_machine=t90-cray os=-unicos ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff + tile*) + basic_machine=$basic_machine-unknown + os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown @@ -1029,17 +1242,23 @@ case $basic_machine in basic_machine=hppa1.1-winbond os=-proelf ;; + x64) + basic_machine=x86_64-pc + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; xps | xps100) basic_machine=xps100-honeywell ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` + ;; ymp) basic_machine=ymp-cray os=-unicos ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; none) basic_machine=none-none os=-none @@ -1059,31 +1278,24 @@ case $basic_machine in romp) basic_machine=romp-ibm ;; + mmix) + basic_machine=mmix-knuth + ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sh64) - basic_machine=sh64-unknown - ;; - sparc | sparcv8 | sparcv9 | sparcv9b) - basic_machine=sparc-sun - ;; cydra) basic_machine=cydra-cydrome ;; @@ -1103,7 +1315,7 @@ case $basic_machine in # Make sure to match an already-canonicalized machine name. ;; *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; esac @@ -1111,10 +1323,10 @@ esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` ;; *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` ;; *) ;; @@ -1125,49 +1337,60 @@ esac if [ x"$os" != x"" ] then case $os in - # First match some system type aliases - # that might get confused with valid system types. + # First match some system type aliases that might get confused + # with valid system types. # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; - -svr4*) - os=-sysv4 - ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; - # First accept the basic system types. + # es1800 is here to avoid being matched by es* (a different OS) + -es1800*) + os=-ose + ;; + # Now accept the basic system types. # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. + # Each alternative MUST end in a * to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ + | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ + | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) + | -morphos* | -superux* | -rtmk* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ + | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ + | -midnightbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1184,12 +1407,12 @@ case $os in -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ + -sim | -xray | -os68k* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) - os=`echo $os | sed -e 's|mac|macos|'` + os=`echo "$os" | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc @@ -1198,26 +1421,20 @@ case $os in os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` + os=`echo "$os" | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` + os=`echo "$os" | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; - -os400*) + -os400*) os=-os400 ;; -wince*) os=-wince ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; -utek*) os=-bsd ;; @@ -1242,7 +1459,7 @@ case $os in -nova*) os=-rtmk-nova ;; - -ns2 ) + -ns2) os=-nextstep2 ;; -nsk*) @@ -1255,7 +1472,7 @@ case $os in -sinix*) os=-sysv4 ;; - -tpf*) + -tpf*) os=-tpf ;; -triton*) @@ -1264,7 +1481,7 @@ case $os in -oss*) os=-sysv3 ;; - -svr4) + -svr4*) os=-sysv4 ;; -svr3) @@ -1279,27 +1496,38 @@ case $os in -ose*) os=-ose ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; - -aros*) - os=-aros + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos ;; - -kaos*) - os=-kaos + -pikeos*) + # Until real need of OS specific support for + # particular features comes up, bare metal + # configurations are quite functional. + case $basic_machine in + arm*) + os=-eabi + ;; + *) + os=-elf + ;; + esac + ;; + -nacl*) + ;; + -ios) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 exit 1 ;; esac @@ -1316,6 +1544,12 @@ else # system, and we'll never get to this point. case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; *-acorn) os=-riscix1.2 ;; @@ -1325,9 +1559,24 @@ case $basic_machine in arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff - ;; + c4x-* | tic4x-*) + os=-coff + ;; + c8051-*) + os=-elf + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 @@ -1346,13 +1595,13 @@ case $basic_machine in ;; m68000-sun) os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 ;; m68*-cisco) os=-aout ;; + mep-*) + os=-elf + ;; mips*-cisco) os=-elf ;; @@ -1368,12 +1617,18 @@ case $basic_machine in sparc-* | *-sun) os=-sunos4.1.1 ;; + pru-*) + os=-elf + ;; *-be) os=-beos ;; *-ibm) os=-aix ;; + *-knuth) + os=-mmixware + ;; *-wec) os=-proelf ;; @@ -1407,7 +1662,7 @@ case $basic_machine in m88k-omron*) os=-luna ;; - *-next ) + *-next) os=-nextstep ;; *-sequent) @@ -1422,9 +1677,6 @@ case $basic_machine in i370-*) os=-mvs ;; - *-next) - os=-nextstep3 - ;; *-gould) os=-sysv ;; @@ -1476,7 +1728,7 @@ case $basic_machine in -sunos*) vendor=sun ;; - -aix*) + -cnk*|-aix*) vendor=ibm ;; -beos*) @@ -1534,15 +1786,15 @@ case $basic_machine in vendor=stratus ;; esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` ;; esac -echo $basic_machine$os -exit 0 +echo "$basic_machine$os" +exit # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff --git a/configure b/configure index 4c1bc06..7861cce 100755 --- a/configure +++ b/configure @@ -1,13 +1,9 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.67 for w3m 0.5.3. +# Generated by GNU Autoconf 2.69 for w3m 0.5.3. # -# Report bugs to <satodai@w3m.jp>. # -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -91,6 +87,7 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -135,6 +132,31 @@ export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -168,7 +190,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi -test x\$exitcode = x0 || exit 1" +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && @@ -213,14 +236,25 @@ IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi if test x$as_have_required = xno; then : @@ -230,11 +264,10 @@ fi $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and satodai@w3m.jp -$0: about your system, including any error possibly output -$0: before this message. Then install a modern shell, or -$0: manually run the script under such a shell if you do -$0: have one." + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." fi exit 1 fi @@ -323,6 +356,14 @@ $as_echo X"$as_dir" | } # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -444,6 +485,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). @@ -478,16 +523,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -499,28 +544,8 @@ else as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -554,7 +579,7 @@ PACKAGE_NAME='w3m' PACKAGE_TARNAME='w3m' PACKAGE_VERSION='0.5.3' PACKAGE_STRING='w3m 0.5.3' -PACKAGE_BUGREPORT='satodai@w3m.jp' +PACKAGE_BUGREPORT='' PACKAGE_URL='' gt_needs= @@ -603,7 +628,6 @@ HELP_DIR SIGNAL_RETURN RETSIGTYPE HAVE_SIGSETJMP -HAVE_SYS_ERRLIST USE_BINMODE_STREAM LIBGC AUXBIN_TARGETS @@ -704,6 +728,11 @@ build_os build_vendor build_cpu build +X_EXTRA_LIBS +X_LIBS +X_PRE_LIBS +X_CFLAGS +XMKMF MAN NKF PERL @@ -748,6 +777,7 @@ infodir docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -770,6 +800,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_x enable_m17n enable_unicode enable_messagel10n @@ -821,6 +852,7 @@ CCC CC CFLAGS CPP +XMKMF PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR @@ -864,6 +896,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1116,6 +1149,15 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1230,7 +1272,7 @@ Try \`$0 --help' for more information" $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac @@ -1253,7 +1295,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1281,8 +1323,6 @@ target=$target_alias if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1408,6 +1448,7 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1425,6 +1466,10 @@ _ACEOF cat <<\_ACEOF +X features: + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR + System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] @@ -1462,7 +1507,7 @@ Optional Features: --disable-alarm disable alarm --disable-cookie disable cookie --disable-nntp disable NNTP - --enable-gopher enable GOPHER + --disable-gopher disable GOPHER --disable-dict disable dictionary lookup (see README.dict) --disable-help-cgi disable help cgi --disable-external-uri-loader disable external URI loader @@ -1474,6 +1519,7 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-x use the X Window System --with-charset=CHARSET --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib @@ -1486,11 +1532,11 @@ Optional Packages: --with-migemo=MIGEMO_COMMAND migemo command --with-editor=EDITOR default editor (/usr/bin/vi) --with-mailer=MAILER default mailer (/usr/bin/mail) - --with-browser=BROWSER default browser (/usr/bin/mozilla) + --with-browser=BROWSER default browser (/usr/bin/firefox) --with-ssl=PREFIX support https protocol --with-termlib=LIBS terminal library LIBS is space separated list of: - terminfo mytinfo termcap ncurses curses + terminfo mytinfo termcap tinfo ncurses curses --with-gc=PREFIX libgc PREFIX Some influential environment variables: @@ -1504,6 +1550,7 @@ Some influential environment variables: CC C compiler command CFLAGS C compiler flags CPP C preprocessor + XMKMF Path to xmkmf, Makefile generator for X Window System PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path @@ -1515,7 +1562,7 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to <satodai@w3m.jp>. +Report bugs to the package provider. _ACEOF ac_status=$? fi @@ -1579,9 +1626,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF w3m configure 0.5.3 -generated by GNU Autoconf 2.67 +generated by GNU Autoconf 2.69 -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1625,7 +1672,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_compile @@ -1663,7 +1710,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile @@ -1700,7 +1747,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp @@ -1732,7 +1779,7 @@ $as_echo "$ac_try_echo"; } >&5 test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -1746,53 +1793,11 @@ fi # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -1801,7 +1806,7 @@ ac_fn_c_check_func () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -1856,10 +1861,52 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using @@ -1868,10 +1915,10 @@ $as_echo "$ac_res" >&6; } ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval "test \"\${$3+set}\"" = set; then : + if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 @@ -1930,15 +1977,11 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## ----------------------------- ## -## Report this to satodai@w3m.jp ## -## ----------------------------- ##" - ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" @@ -1947,7 +1990,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel @@ -1960,7 +2003,7 @@ ac_fn_c_check_header_compile () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -1978,7 +2021,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile @@ -1991,7 +2034,7 @@ ac_fn_c_check_type () as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" @@ -2032,7 +2075,7 @@ fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type @@ -2053,7 +2096,8 @@ int main () { static int test_array [1 - 2 * !(($2) >= 0)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2069,7 +2113,8 @@ int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2095,7 +2140,8 @@ int main () { static int test_array [1 - 2 * !(($2) < 0)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2111,7 +2157,8 @@ int main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2145,7 +2192,8 @@ int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -2209,7 +2257,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ rm -f conftest.val fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_compute_int @@ -2218,7 +2266,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by w3m $as_me 0.5.3, which was -generated by GNU Autoconf 2.67. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2476,7 +2524,7 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;} || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi done @@ -2604,7 +2652,7 @@ if test -z "$CXX"; then set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : +if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then @@ -2616,7 +2664,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2648,7 +2696,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : +if ${ac_cv_prog_ac_ct_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then @@ -2660,7 +2708,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2812,7 +2860,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C++ compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@ -2855,7 +2903,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 @@ -2914,7 +2962,7 @@ $as_echo "$ac_try_echo"; } >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi fi fi @@ -2925,7 +2973,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : +if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2966,7 +3014,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi @@ -2976,7 +3024,7 @@ OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : +if ${ac_cv_cxx_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3013,7 +3061,7 @@ ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : +if ${ac_cv_prog_cxx_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag @@ -3101,7 +3149,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : +if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then @@ -3113,7 +3161,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3147,7 +3195,7 @@ if test -n "$ac_tool_prefix"; then set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3159,7 +3207,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3187,7 +3235,7 @@ if test -z "$ac_cv_prog_CC"; then set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3199,7 +3247,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3240,7 +3288,7 @@ if test -z "$CC"; then set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3252,7 +3300,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3280,7 +3328,7 @@ if test -z "$CC"; then set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3293,7 +3341,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -3339,7 +3387,7 @@ if test -z "$CC"; then set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3351,7 +3399,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3383,7 +3431,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3395,7 +3443,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3438,7 +3486,7 @@ fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 @@ -3467,7 +3515,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3504,7 +3552,7 @@ ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : +if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag @@ -3582,7 +3630,7 @@ else fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : +if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no @@ -3591,8 +3639,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <stdarg.h> #include <stdio.h> -#include <sys/types.h> -#include <sys/stat.h> +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -3689,7 +3736,7 @@ if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : + if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -3805,7 +3852,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c @@ -3860,7 +3907,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : +if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3880,7 +3927,7 @@ case $as_dir/ in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. @@ -3951,7 +3998,7 @@ fi $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF @@ -3983,7 +4030,7 @@ if test -n "$ac_tool_prefix"; then set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then : +if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then @@ -3995,7 +4042,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4023,7 +4070,7 @@ if test -z "$ac_cv_prog_RANLIB"; then set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then @@ -4035,7 +4082,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4076,7 +4123,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PERL+set}" = set; then : +if ${ac_cv_path_PERL+:} false; then : $as_echo_n "(cached) " >&6 else case $PERL in @@ -4090,7 +4137,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4122,7 +4169,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_NKF+set}" = set; then : +if ${ac_cv_path_NKF+:} false; then : $as_echo_n "(cached) " >&6 else case $NKF in @@ -4136,7 +4183,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_NKF="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4168,7 +4215,7 @@ do set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_MAN+set}" = set; then : +if ${ac_cv_path_MAN+:} false; then : $as_echo_n "(cached) " >&6 else case $MAN in @@ -4182,7 +4229,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MAN="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4208,13 +4255,698 @@ fi done test -n "$MAN" || MAN="/usr/bin/man" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 +$as_echo_n "checking for X... " >&6; } + + +# Check whether --with-x was given. +if test "${with_x+set}" = set; then : + withval=$with_x; +fi + +# $have_x is `yes', `no', `disabled', or empty when we do not yet know. +if test "x$with_x" = xno; then + # The user explicitly disabled X. + have_x=disabled +else + case $x_includes,$x_libraries in #( + *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( + *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : + $as_echo_n "(cached) " >&6 +else + # One or both of the vars are not set, and there is no cached value. +ac_x_includes=no ac_x_libraries=no +rm -f -r conftest.dir +if mkdir conftest.dir; then + cd conftest.dir + cat >Imakefile <<'_ACEOF' +incroot: + @echo incroot='${INCROOT}' +usrlibdir: + @echo usrlibdir='${USRLIBDIR}' +libdir: + @echo libdir='${LIBDIR}' +_ACEOF + if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then + # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. + for ac_var in incroot usrlibdir libdir; do + eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" + done + # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. + for ac_extension in a so sl dylib la dll; do + if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && + test -f "$ac_im_libdir/libX11.$ac_extension"; then + ac_im_usrlibdir=$ac_im_libdir; break + fi + done + # Screen out bogus values from the imake configuration. They are + # bogus both because they are the default anyway, and because + # using them would break gcc on systems where it needs fixed includes. + case $ac_im_incroot in + /usr/include) ac_x_includes= ;; + *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; + esac + case $ac_im_usrlibdir in + /usr/lib | /usr/lib64 | /lib | /lib64) ;; + *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; + esac + fi + cd .. + rm -f -r conftest.dir +fi + +# Standard set of common directories for X headers. +# Check X11 before X11Rn because it is often a symlink to the current release. +ac_x_header_dirs=' +/usr/X11/include +/usr/X11R7/include +/usr/X11R6/include +/usr/X11R5/include +/usr/X11R4/include + +/usr/include/X11 +/usr/include/X11R7 +/usr/include/X11R6 +/usr/include/X11R5 +/usr/include/X11R4 + +/usr/local/X11/include +/usr/local/X11R7/include +/usr/local/X11R6/include +/usr/local/X11R5/include +/usr/local/X11R4/include + +/usr/local/include/X11 +/usr/local/include/X11R7 +/usr/local/include/X11R6 +/usr/local/include/X11R5 +/usr/local/include/X11R4 + +/usr/X386/include +/usr/x386/include +/usr/XFree86/include/X11 + +/usr/include +/usr/local/include +/usr/unsupported/include +/usr/athena/include +/usr/local/x11r5/include +/usr/lpp/Xamples/include + +/usr/openwin/include +/usr/openwin/share/include' + +if test "$ac_x_includes" = no; then + # Guess where to find include files, by looking for Xlib.h. + # First, try using that file with no special directory specified. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <X11/Xlib.h> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # We can compile using X headers with no special include directory. +ac_x_includes= +else + for ac_dir in $ac_x_header_dirs; do + if test -r "$ac_dir/X11/Xlib.h"; then + ac_x_includes=$ac_dir + break + fi +done +fi +rm -f conftest.err conftest.i conftest.$ac_ext +fi # $ac_x_includes = no + +if test "$ac_x_libraries" = no; then + # Check for the libraries. + # See if we find them without any special options. + # Don't add to $LIBS permanently. + ac_save_LIBS=$LIBS + LIBS="-lX11 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <X11/Xlib.h> +int +main () +{ +XrmInitialize () + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBS=$ac_save_LIBS +# We can link X programs with no special library path. +ac_x_libraries= +else + LIBS=$ac_save_LIBS +for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` +do + # Don't even attempt the hair of trying to link an X program! + for ac_extension in a so sl dylib la dll; do + if test -r "$ac_dir/libX11.$ac_extension"; then + ac_x_libraries=$ac_dir + break 2 + fi + done +done +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi # $ac_x_libraries = no + +case $ac_x_includes,$ac_x_libraries in #( + no,* | *,no | *\'*) + # Didn't find X, or a directory has "'" in its name. + ac_cv_have_x="have_x=no";; #( + *) + # Record where we found X for the cache. + ac_cv_have_x="have_x=yes\ + ac_x_includes='$ac_x_includes'\ + ac_x_libraries='$ac_x_libraries'" +esac +fi +;; #( + *) have_x=yes;; + esac + eval "$ac_cv_have_x" +fi # $with_x != no + +if test "$have_x" != yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 +$as_echo "$have_x" >&6; } + no_x=yes +else + # If each of the values was on the command line, it overrides each guess. + test "x$x_includes" = xNONE && x_includes=$ac_x_includes + test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries + # Update the cache value to reflect the command line values. + ac_cv_have_x="have_x=yes\ + ac_x_includes='$x_includes'\ + ac_x_libraries='$x_libraries'" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 +$as_echo "libraries $x_libraries, headers $x_includes" >&6; } +fi + +if test "$no_x" = yes; then + # Not all programs may use this symbol, but it does not hurt to define it. + +$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h + + X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= +else + if test -n "$x_includes"; then + X_CFLAGS="$X_CFLAGS -I$x_includes" + fi + + # It would also be nice to do this for all -L options, not just this one. + if test -n "$x_libraries"; then + X_LIBS="$X_LIBS -L$x_libraries" + # For Solaris; some versions of Sun CC require a space after -R and + # others require no space. Words are not sufficient . . . . + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 +$as_echo_n "checking whether -R must be followed by a space... " >&6; } + ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" + ac_xsave_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + X_LIBS="$X_LIBS -R$x_libraries" +else + LIBS="$ac_xsave_LIBS -R $x_libraries" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + X_LIBS="$X_LIBS -R $x_libraries" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 +$as_echo "neither works" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_c_werror_flag=$ac_xsave_c_werror_flag + LIBS=$ac_xsave_LIBS + fi + + # Check for system-dependent libraries X programs must link with. + # Do this before checking for the system-independent R6 libraries + # (-lICE), since we may need -lsocket or whatever for X linking. + + if test "$ISC" = yes; then + X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" + else + # Martyn Johnson says this is needed for Ultrix, if the X + # libraries were built with DECnet support. And Karl Berry says + # the Alpha needs dnet_stub (dnet does not exist). + ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char XOpenDisplay (); +int +main () +{ +return XOpenDisplay (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 +$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } +if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldnet $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dnet_ntoa (); +int +main () +{ +return dnet_ntoa (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dnet_dnet_ntoa=yes +else + ac_cv_lib_dnet_dnet_ntoa=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 +$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } +if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" +fi + + if test $ac_cv_lib_dnet_dnet_ntoa = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 +$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } +if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldnet_stub $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dnet_ntoa (); +int +main () +{ +return dnet_ntoa (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dnet_stub_dnet_ntoa=yes +else + ac_cv_lib_dnet_stub_dnet_ntoa=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 +$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } +if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" +fi + + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$ac_xsave_LIBS" + + # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, + # to get the SysV transport functions. + # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) + # needs -lnsl. + # The nsl library prevents programs from opening the X display + # on Irix 5.2, according to T.E. Dickey. + # The functions gethostbyname, getservbyname, and inet_addr are + # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. + ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" +if test "x$ac_cv_func_gethostbyname" = xyes; then : + +fi + + if test $ac_cv_func_gethostbyname = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } +if ${ac_cv_lib_nsl_gethostbyname+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnsl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname (); +int +main () +{ +return gethostbyname (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nsl_gethostbyname=yes +else + ac_cv_lib_nsl_gethostbyname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } +if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" +fi + + if test $ac_cv_lib_nsl_gethostbyname = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 +$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } +if ${ac_cv_lib_bsd_gethostbyname+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lbsd $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char gethostbyname (); +int +main () +{ +return gethostbyname (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_bsd_gethostbyname=yes +else + ac_cv_lib_bsd_gethostbyname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 +$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } +if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" +fi + + fi + fi + + # lieder@skyler.mavd.honeywell.com says without -lsocket, + # socket/setsockopt and other routines are undefined under SCO ODT + # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary + # on later versions), says Simon Leinen: it contains gethostby* + # variants that don't use the name server (or something). -lsocket + # must be given before -lnsl if both are needed. We assume that + # if connect needs -lnsl, so does gethostbyname. + ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" +if test "x$ac_cv_func_connect" = xyes; then : + +fi + + if test $ac_cv_func_connect = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 +$as_echo_n "checking for connect in -lsocket... " >&6; } +if ${ac_cv_lib_socket_connect+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsocket $X_EXTRA_LIBS $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char connect (); +int +main () +{ +return connect (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_socket_connect=yes +else + ac_cv_lib_socket_connect=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 +$as_echo "$ac_cv_lib_socket_connect" >&6; } +if test "x$ac_cv_lib_socket_connect" = xyes; then : + X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" +fi + + fi + + # Guillermo Gomez says -lposix is necessary on A/UX. + ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" +if test "x$ac_cv_func_remove" = xyes; then : + +fi + + if test $ac_cv_func_remove = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 +$as_echo_n "checking for remove in -lposix... " >&6; } +if ${ac_cv_lib_posix_remove+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lposix $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char remove (); +int +main () +{ +return remove (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_posix_remove=yes +else + ac_cv_lib_posix_remove=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 +$as_echo "$ac_cv_lib_posix_remove" >&6; } +if test "x$ac_cv_lib_posix_remove" = xyes; then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" +fi + + fi + + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. + ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" +if test "x$ac_cv_func_shmat" = xyes; then : + +fi + + if test $ac_cv_func_shmat = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 +$as_echo_n "checking for shmat in -lipc... " >&6; } +if ${ac_cv_lib_ipc_shmat+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lipc $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shmat (); +int +main () +{ +return shmat (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ipc_shmat=yes +else + ac_cv_lib_ipc_shmat=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 +$as_echo "$ac_cv_lib_ipc_shmat" >&6; } +if test "x$ac_cv_lib_ipc_shmat" = xyes; then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" +fi + + fi + fi + + # Check for libraries that X11R6 Xt/Xaw programs need. + ac_save_LDFLAGS=$LDFLAGS + test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" + # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to + # check for ICE first), but we must link in the order -lSM -lICE or + # we get undefined symbols. So assume we have SM if we have ICE. + # These have to be linked with before -lX11, unlike the other + # libraries we check for below, so use a different variable. + # John Interrante, Karl Berry + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 +$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } +if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lICE $X_EXTRA_LIBS $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char IceConnectionNumber (); +int +main () +{ +return IceConnectionNumber (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ICE_IceConnectionNumber=yes +else + ac_cv_lib_ICE_IceConnectionNumber=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 +$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } +if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : + X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" +fi + + LDFLAGS=$ac_save_LDFLAGS + +fi + # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" = set; then : +if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias @@ -4230,7 +4962,7 @@ fi $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' @@ -4248,7 +4980,7 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" = set; then : +if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then @@ -4263,7 +4995,7 @@ fi $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -4469,7 +5201,7 @@ if test x$enable_messagel10n = xno; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : + if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -4479,7 +5211,7 @@ do test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ @@ -4567,7 +5299,7 @@ rm -f conf$$.file set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_MSGFMT+set}" = set; then : +if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in @@ -4608,7 +5340,7 @@ fi set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_GMSGFMT+set}" = set; then : +if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in @@ -4622,7 +5354,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4690,7 +5422,7 @@ rm -f conf$$.file set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_XGETTEXT+set}" = set; then : +if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in @@ -4768,7 +5500,7 @@ rm -f conf$$.file set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_MSGMERGE+set}" = set; then : +if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in @@ -4890,7 +5622,7 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi -if test "${acl_cv_path_LD+set}" = set; then : +if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then @@ -4927,7 +5659,7 @@ fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${acl_cv_prog_gnu_ld+set}" = set; then : +if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. @@ -4947,7 +5679,7 @@ with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } -if test "${acl_cv_rpath+set}" = set; then : +if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else @@ -4977,11 +5709,9 @@ else fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : +if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -4995,7 +5725,7 @@ do for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in @@ -5044,7 +5774,7 @@ $as_echo "$ac_cv_path_GREP" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : +if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -5061,7 +5791,7 @@ do for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -5117,7 +5847,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; } solaris*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } -if test "${gl_cv_solaris_64bit+set}" = set; then : +if ${gl_cv_solaris_64bit+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -5664,7 +6394,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } -if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then : +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" @@ -5698,7 +6428,7 @@ $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } -if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then : +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" @@ -5774,7 +6504,7 @@ typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 $as_echo_n "checking for GNU gettext in libc... " >&6; } -if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then : +if eval \${$gt_func_gnugettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -5837,7 +6567,7 @@ $as_echo "$ac_res" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 $as_echo_n "checking for iconv... " >&6; } -if test "${am_cv_func_iconv+set}" = set; then : +if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else @@ -5894,7 +6624,7 @@ $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 $as_echo_n "checking for working iconv... " >&6; } -if test "${am_cv_func_iconv_works+set}" = set; then : +if ${am_cv_func_iconv_works+:} false; then : $as_echo_n "(cached) " >&6 else @@ -6490,7 +7220,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 $as_echo_n "checking for GNU gettext in libintl... " >&6; } -if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then : +if eval \${$gt_func_gnugettext_libintl+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_CPPFLAGS="$CPPFLAGS" @@ -6755,7 +7485,7 @@ $as_echo "$enable_image" >&6; } if test x"$enable_image" = xyes; then enable_image=x11 case "`uname -s`" in - Linux|linux|LINUX) + Linux|linux|LINUX|FreeBSD|freebsd|FREEBSD) if test -c /dev/fb0; then enable_image=x11,fb fi;; @@ -6811,6 +7541,9 @@ $as_echo "$with_imagelib" >&6; } fi;; imlib2) with_imlib2="yes" + if test x"$PKG_CONFIG" = x; then + PKG_CONFIG=pkg-config + fi if test x"$IMLIB2_CONFIG" = x; then IMLIB2_CONFIG=imlib2-config fi;; @@ -6823,8 +7556,6 @@ $as_echo "$with_imagelib" >&6; } with_gtk2="yes" if test x"$PKG_CONFIG" = x; then PKG_CONFIG=pkg-config - else - PKG_CONFIG=: fi;; esac done @@ -6926,8 +7657,8 @@ $as_echo "$as_me: WARNING: Imlib2 is not installed. Install Imlib2 (version >= $as_echo "#define USE_GTK2 1" >>confdefs.h - IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`" - IMGX11LDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`" + IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`" + IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`" elif test x"$have_gdkpixbuf" = xyes; then $as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h @@ -6955,7 +7686,7 @@ $as_echo "$as_me: WARNING: Imlib2 is not installed. Install Imlib2 (version >= $as_echo "#define USE_IMLIB2 1" >>confdefs.h IMGX11CFLAGS="`${IMLIB2_CONFIG} --cflags`" - IMGX11LDFLAGS="`${IMLIB2_CONFIG} --libs`" + IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs imlib2`" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with X11 support" >&5 $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with X11 support" >&2;} @@ -6971,8 +7702,8 @@ $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with X11 support" >&2;} $as_echo "#define USE_GTK2 1" >>confdefs.h - IMGFBCFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gtk+-2.0`" - IMGFBLDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0 gtk+-2.0`" + IMGFBCFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0`" + IMGFBLDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0`" elif test x"$have_gdkpixbuf" = xyes; then $as_echo "#define USE_W3MIMG_FB 1" >>confdefs.h @@ -6991,7 +7722,7 @@ $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with X11 support" >&2;} IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o" IMGFBCFLAGS="`${IMLIB2_CONFIG} --cflags`" - IMGFBLDFLAGS="`${IMLIB2_CONFIG} --libs`" + IMGFBLDFLAGS="`${PKG_CONFIG} --libs imlib2`" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with FB support" >&5 $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with FB support" >&2;} @@ -7045,7 +7776,7 @@ $as_echo "$enable_xface" >&6; } set dummy uncompface; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_uncompface+set}" = set; then : +if ${ac_cv_prog_uncompface+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$uncompface"; then @@ -7057,7 +7788,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_uncompface=""yes"" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7102,7 +7833,7 @@ $as_echo "$enable_keymap" >&6; } xlynx) KEYMAP_FILE="keybind_lynx";; *) - as_fn_error $? "keymap should be either w3m or lynx." "$LINENO" 5 ;; + as_fn_error $? "keymap should be either w3m or lynx." "$LINENO" 5;; esac HELP_FILE=w3mhelp-${enable_keymap}_$w3m_lang.html @@ -7225,7 +7956,7 @@ $as_echo_n "checking if gopher is enabled... " >&6; } if test "${enable_gopher+set}" = set; then : enableval=$enable_gopher; else - enable_gopher="no" + enable_gopher="yes" fi test x"$enable_gopher" = xyes && $as_echo "#define USE_GOPHER 1" >>confdefs.h @@ -7344,7 +8075,7 @@ cat >>confdefs.h <<_ACEOF _ACEOF -w3m_browser="/usr/bin/mozilla" +w3m_browser="/usr/bin/firefox" { $as_echo "$as_me:${as_lineno-$LINENO}: checking which external browser is used by default" >&5 $as_echo_n "checking which external browser is used by default... " >&6; } @@ -7395,7 +8126,7 @@ if test x"$enable_ipv6" = xyes; then $as_echo_n "checking if IPv6 API available... " >&6; } ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" -if test "x$ac_cv_func_getaddrinfo" = x""yes; then : +if test "x$ac_cv_func_getaddrinfo" = xyes; then : enable_ipv6="yes" else enable_ipv6="no" @@ -7412,7 +8143,7 @@ $as_echo_n "checking for libinet6... " >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -linet6" >&5 $as_echo_n "checking for getaddrinfo in -linet6... " >&6; } -if test "${ac_cv_lib_inet6_getaddrinfo+set}" = set; then : +if ${ac_cv_lib_inet6_getaddrinfo+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -7446,7 +8177,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet6_getaddrinfo" >&5 $as_echo "$ac_cv_lib_inet6_getaddrinfo" >&6; } -if test "x$ac_cv_lib_inet6_getaddrinfo" = x""yes; then : +if test "x$ac_cv_lib_inet6_getaddrinfo" = xyes; then : enable_ipv6="yes" use_libinet6="found"; W3M_LIBS="$W3M_LIBS -linet6"; break else @@ -7534,7 +8265,7 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -7548,7 +8279,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7577,7 +8308,7 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in @@ -7591,7 +8322,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7767,7 +8498,7 @@ $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5 $as_echo_n "checking for SSL_new in -lssl... " >&6; } -if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then : +if ${ac_cv_lib_ssl_SSL_new+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -7801,7 +8532,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_new" >&5 $as_echo "$ac_cv_lib_ssl_SSL_new" >&6; } -if test "x$ac_cv_lib_ssl_SSL_new" = x""yes; then : +if test "x$ac_cv_lib_ssl_SSL_new" = xyes; then : w3m_ssl="found"; CFLAGS="$CFLAGS $SSL_CFLAGS" W3M_LIBS="$W3M_LIBS $SSL_LIBS -lssl -lcrypto" else w3m_ssl="not found" @@ -7847,12 +8578,12 @@ $as_echo "$enable_digest_auth" >&6; } ac_fn_c_check_func "$LINENO" "sqrt" "ac_cv_func_sqrt" -if test "x$ac_cv_func_sqrt" = x""yes; then : +if test "x$ac_cv_func_sqrt" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 $as_echo_n "checking for sqrt in -lm... " >&6; } -if test "${ac_cv_lib_m_sqrt+set}" = set; then : +if ${ac_cv_lib_m_sqrt+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -7886,7 +8617,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 $as_echo "$ac_cv_lib_m_sqrt" >&6; } -if test "x$ac_cv_lib_m_sqrt" = x""yes; then : +if test "x$ac_cv_lib_m_sqrt" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBM 1 _ACEOF @@ -7901,7 +8632,7 @@ if test x"$enable_mouse" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } -if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : +if ${ac_cv_lib_gpm_Gpm_Open+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -7935,7 +8666,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } -if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : +if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then : $as_echo "#define USE_GPM 1" >>confdefs.h W3M_LIBS="$W3M_LIBS -lgpm" @@ -7977,12 +8708,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_termlib" >&5 $as_echo "$with_termlib" >&6; } - test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap ncurses curses" + test x"$with_termlib" = xyes && with_termlib="terminfo mytinfo termlib termcap tinfo ncurses curses" for lib in $with_termlib; do as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_tgetent" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -l$lib" >&5 $as_echo_n "checking for tgetent in -l$lib... " >&6; } -if eval "test \"\${$as_ac_Lib+set}\"" = set; then : +if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -8025,7 +8756,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8168,7 +8899,7 @@ $as_echo "$with_gc" >&6; } test x"$with_gc" = xyes && with_gc="/usr /usr/local ${HOME}" unset ac_cv_header_gc_h ac_fn_c_check_header_mongrel "$LINENO" "gc.h" "ac_cv_header_gc_h" "$ac_includes_default" -if test "x$ac_cv_header_gc_h" = x""yes; then : +if test "x$ac_cv_header_gc_h" = xyes; then : fi @@ -8187,7 +8918,7 @@ $as_echo "$with_gc" >&6; } $as_echo_n "checking $dir/$inc... " >&6; } unset ac_cv_header_gc_h ac_fn_c_check_header_mongrel "$LINENO" "gc.h" "ac_cv_header_gc_h" "$ac_includes_default" -if test "x$ac_cv_header_gc_h" = x""yes; then : +if test "x$ac_cv_header_gc_h" = xyes; then : gcincludedir="$dir/$inc"; CFLAGS="$CFLAGS -I$dir/$inc"; break fi @@ -8205,7 +8936,7 @@ fi unset ac_cv_lib_gc_GC_init { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_init in -lgc" >&5 $as_echo_n "checking for GC_init in -lgc... " >&6; } -if test "${ac_cv_lib_gc_GC_init+set}" = set; then : +if ${ac_cv_lib_gc_GC_init+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -8239,7 +8970,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_init" >&5 $as_echo "$ac_cv_lib_gc_GC_init" >&6; } -if test "x$ac_cv_lib_gc_GC_init" = x""yes; then : +if test "x$ac_cv_lib_gc_GC_init" = xyes; then : LIBGC="-lgc" fi @@ -8257,7 +8988,7 @@ $as_echo_n "checking $dir... " >&6; } unset ac_cv_lib_gc_GC_init { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_init in -lgc" >&5 $as_echo_n "checking for GC_init in -lgc... " >&6; } -if test "${ac_cv_lib_gc_GC_init+set}" = set; then : +if ${ac_cv_lib_gc_GC_init+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -8291,7 +9022,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_init" >&5 $as_echo "$ac_cv_lib_gc_GC_init" >&6; } -if test "x$ac_cv_lib_gc_GC_init" = x""yes; then : +if test "x$ac_cv_lib_gc_GC_init" = xyes; then : gclibdir="$dir/lib"; LIBGC="-L$dir/lib -lgc"; break fi @@ -8303,7 +9034,7 @@ fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zError in -lz" >&5 $as_echo_n "checking for zError in -lz... " >&6; } -if test "${ac_cv_lib_z_zError+set}" = set; then : +if ${ac_cv_lib_z_zError+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -8337,7 +9068,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zError" >&5 $as_echo "$ac_cv_lib_z_zError" >&6; } -if test "x$ac_cv_lib_z_zError" = x""yes; then : +if test "x$ac_cv_lib_z_zError" = xyes; then : AUXBIN_TARGETS="$AUXBIN_TARGETS inflate\$(EXT)" fi @@ -8345,7 +9076,7 @@ fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> #include <sys/socket.h> " -if test "x$ac_cv_type_socklen_t" = x""yes; then : +if test "x$ac_cv_type_socklen_t" = xyes; then : $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h fi @@ -8367,7 +9098,7 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } -if eval "test \"\${$as_ac_Header+set}\"" = set; then : +if eval \${$as_ac_Header+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8407,7 +9138,7 @@ done if test $ac_header_dirent = dirent.h; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } -if test "${ac_cv_search_opendir+set}" = set; then : +if ${ac_cv_search_opendir+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -8441,11 +9172,11 @@ for ac_lib in '' dir; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if test "${ac_cv_search_opendir+set}" = set; then : + if ${ac_cv_search_opendir+:} false; then : break fi done -if test "${ac_cv_search_opendir+set}" = set; then : +if ${ac_cv_search_opendir+:} false; then : else ac_cv_search_opendir=no @@ -8464,7 +9195,7 @@ fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } -if test "${ac_cv_search_opendir+set}" = set; then : +if ${ac_cv_search_opendir+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS @@ -8498,11 +9229,11 @@ for ac_lib in '' x; do fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if test "${ac_cv_search_opendir+set}" = set; then : + if ${ac_cv_search_opendir+:} false; then : break fi done -if test "${ac_cv_search_opendir+set}" = set; then : +if ${ac_cv_search_opendir+:} false; then : else ac_cv_search_opendir=no @@ -8522,7 +9253,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8634,7 +9365,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } -if test "${ac_cv_header_sys_wait_h+set}" = set; then : +if ${ac_cv_header_sys_wait_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8674,17 +9405,17 @@ $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h fi ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default" -if test "x$ac_cv_header_termios_h" = x""yes; then : +if test "x$ac_cv_header_termios_h" = xyes; then : $as_echo "#define HAVE_TERMIOS_H 1" >>confdefs.h else ac_fn_c_check_header_mongrel "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default" -if test "x$ac_cv_header_termio_h" = x""yes; then : +if test "x$ac_cv_header_termio_h" = xyes; then : $as_echo "#define HAVE_TERMIO_H 1" >>confdefs.h else ac_fn_c_check_header_mongrel "$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default" -if test "x$ac_cv_header_sgtty_h" = x""yes; then : +if test "x$ac_cv_header_sgtty_h" = xyes; then : $as_echo "#define HAVE_SGTTY_H 1" >>confdefs.h fi @@ -8697,35 +9428,35 @@ fi ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" -if test "x$ac_cv_header_float_h" = x""yes; then : +if test "x$ac_cv_header_float_h" = xyes; then : $as_echo "#define HAVE_FLOAT_H 1" >>confdefs.h fi ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_select_h" = x""yes; then : +if test "x$ac_cv_header_sys_select_h" = xyes; then : $as_echo "#define HAVE_SYS_SELECT_H 1" >>confdefs.h fi ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" -if test "x$ac_cv_header_locale_h" = x""yes; then : +if test "x$ac_cv_header_locale_h" = xyes; then : $as_echo "#define HAVE_LOCALE_H 1" >>confdefs.h fi ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" -if test "x$ac_cv_header_stdint_h" = x""yes; then : +if test "x$ac_cv_header_stdint_h" = xyes; then : $as_echo "#define HAVE_STDINT_H 1" >>confdefs.h fi ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" -if test "x$ac_cv_header_inttypes_h" = x""yes; then : +if test "x$ac_cv_header_inttypes_h" = xyes; then : $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h fi @@ -8738,7 +9469,7 @@ fi # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 $as_echo_n "checking size of long long... " >&6; } -if test "${ac_cv_sizeof_long_long+set}" = set; then : +if ${ac_cv_sizeof_long_long+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : @@ -8748,7 +9479,7 @@ else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long_long=0 fi @@ -8766,7 +9497,7 @@ _ACEOF -for ac_func in strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale +for ac_func in strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir mkdtemp getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -8781,7 +9512,7 @@ done for ac_func in strftime do : ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" -if test "x$ac_cv_func_strftime" = x""yes; then : +if test "x$ac_cv_func_strftime" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRFTIME 1 _ACEOF @@ -8790,7 +9521,7 @@ else # strftime is in -lintl on SCO UNIX. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 $as_echo_n "checking for strftime in -lintl... " >&6; } -if test "${ac_cv_lib_intl_strftime+set}" = set; then : +if ${ac_cv_lib_intl_strftime+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -8824,7 +9555,7 @@ LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 $as_echo "$ac_cv_lib_intl_strftime" >&6; } -if test "x$ac_cv_lib_intl_strftime" = x""yes; then : +if test "x$ac_cv_lib_intl_strftime" = xyes; then : $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h LIBS="-lintl $LIBS" @@ -8835,7 +9566,7 @@ done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5 $as_echo_n "checking for wait3 that fills in rusage... " >&6; } -if test "${ac_cv_func_wait3_rusage+set}" = set; then : +if ${ac_cv_func_wait3_rusage+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -8899,7 +9630,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setpgrp takes no argument" >&5 $as_echo_n "checking whether setpgrp takes no argument... " >&6; } -if test "${ac_cv_func_setpgrp_void+set}" = set; then : +if ${ac_cv_func_setpgrp_void+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -8944,7 +9675,7 @@ case "$host_os" in { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } -if test "${am_cv_langinfo_codeset+set}" = set; then : +if ${am_cv_langinfo_codeset+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -8978,29 +9709,6 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_errlist" >&5 -$as_echo_n "checking for sys_errlist... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -extern char *sys_errlist[]; -int -main () -{ -printf(sys_errlist[0]); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - have_sys_errlist="yes"; $as_echo "#define HAVE_SYS_ERRLIST 1" >>confdefs.h - -else - have_sys_errlist="no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_errlist" >&5 -$as_echo "$have_sys_errlist" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5 $as_echo_n "checking for sigsetjmp... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -9026,7 +9734,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext $as_echo "$have_sigsetjmp" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } -if test "${ac_cv_type_signal+set}" = set; then : +if ${ac_cv_type_signal+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -9076,7 +9784,7 @@ RC_DIR="~/.$PACKAGE" $as_echo "#define RC_DIR \"\$RC_DIR\"" >>confdefs.h -DOCDIRS="doc:en_English doc-jp:ja_Japanese" +DOCDIRS="doc:en_English doc-jp:ja_Japanese doc-de:de_German" cat >>confdefs.h <<_ACEOF #define DOCDIRS "$DOCDIRS" _ACEOF @@ -9084,9 +9792,10 @@ _ACEOF cvsver=`$AWK '\$1 ~ /Id:/ { print \$3}' $srcdir/ChangeLog` - sed -e 's/define CURRENT_VERSION "\(.*\)+cvs/define CURRENT_VERSION "\1+cvs-'$cvsver'/' $srcdir/version.c.in > version.c + ymdver=`sed -e 's/ .*//;s/-//g;q' $srcdir/ChangeLog` + sed -e 's/define CURRENT_VERSION "\(.*\)YYYYMMDD/define CURRENT_VERSION "\1'$ymdver'/;s/define CURRENT_VERSION "\(.*\)+cvs/define CURRENT_VERSION "\1+cvs-'$cvsver'/' $srcdir/version.c.in > version.c CURRENT_VERSION=`sed -n 's/.*define CURRENT_VERSION *"w3m\/\(.*\)".*$/\1/p' version.c` -ac_config_files="$ac_config_files Makefile posubst po/Makefile.in scripts/Makefile scripts/dirlist.cgi scripts/w3mhelp.cgi scripts/w3mmail.cgi scripts/xface2xpm scripts/multipart/Makefile scripts/multipart/multipart.cgi scripts/w3mman/Makefile scripts/w3mman/w3mman scripts/w3mman/w3mman.1 scripts/w3mman/w3mman2html.cgi libwc/Makefile w3mimg/Makefile w3mimg/fb/Makefile w3mimg/x11/Makefile w3mimg/win/Makefile w3mhelp-w3m_en.html w3mhelp-w3m_ja.html w3mhelp-lynx_en.html w3mhelp-lynx_ja.html" +ac_config_files="$ac_config_files Makefile posubst po/Makefile.in scripts/Makefile scripts/dirlist.cgi scripts/w3mhelp.cgi scripts/w3mmail.cgi scripts/xface2xpm scripts/multipart/Makefile scripts/multipart/multipart.cgi scripts/w3mman/Makefile scripts/w3mman/w3mman scripts/w3mman/w3mman.1 scripts/w3mman/w3mman.de.1 scripts/w3mman/w3mman2html.cgi libwc/Makefile w3mimg/Makefile w3mimg/fb/Makefile w3mimg/x11/Makefile w3mimg/win/Makefile w3mhelp-w3m_en.html w3mhelp-w3m_ja.html w3mhelp-lynx_en.html w3mhelp-lynx_ja.html" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -9152,10 +9861,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && + if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} @@ -9187,7 +9907,7 @@ LTLIBOBJS=$ac_ltlibobjs -: ${CONFIG_STATUS=./config.status} +: "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" @@ -9288,6 +10008,7 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -9483,16 +10204,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -9552,28 +10273,16 @@ else as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -9595,7 +10304,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # values after options handling. ac_log=" This file was extended by w3m $as_me 0.5.3, which was -generated by GNU Autoconf 2.67. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -9654,17 +10363,17 @@ $config_headers Configuration commands: $config_commands -Report bugs to <satodai@w3m.jp>." +Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ w3m config.status 0.5.3 -configured by $0, generated by GNU Autoconf 2.67, +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -9755,7 +10464,7 @@ fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' @@ -9810,6 +10519,7 @@ do "scripts/w3mman/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/w3mman/Makefile" ;; "scripts/w3mman/w3mman") CONFIG_FILES="$CONFIG_FILES scripts/w3mman/w3mman" ;; "scripts/w3mman/w3mman.1") CONFIG_FILES="$CONFIG_FILES scripts/w3mman/w3mman.1" ;; + "scripts/w3mman/w3mman.de.1") CONFIG_FILES="$CONFIG_FILES scripts/w3mman/w3mman.de.1" ;; "scripts/w3mman/w3mman2html.cgi") CONFIG_FILES="$CONFIG_FILES scripts/w3mman/w3mman2html.cgi" ;; "libwc/Makefile") CONFIG_FILES="$CONFIG_FILES libwc/Makefile" ;; "w3mimg/Makefile") CONFIG_FILES="$CONFIG_FILES w3mimg/Makefile" ;; @@ -9821,7 +10531,7 @@ do "w3mhelp-lynx_en.html") CONFIG_FILES="$CONFIG_FILES w3mhelp-lynx_en.html" ;; "w3mhelp-lynx_ja.html") CONFIG_FILES="$CONFIG_FILES w3mhelp-lynx_ja.html" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -9844,9 +10554,10 @@ fi # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= + tmp= ac_tmp= trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } @@ -9854,12 +10565,13 @@ $debug || { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" + test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -9881,7 +10593,7 @@ else ac_cs_awk_cr=$ac_cr fi -echo 'BEGIN {' >"$tmp/subs1.awk" && +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF @@ -9909,7 +10621,7 @@ done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h @@ -9957,7 +10669,7 @@ t delim rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" @@ -9989,7 +10701,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF @@ -10023,7 +10735,7 @@ fi # test -n "$CONFIG_FILES" # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || +cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF @@ -10035,8 +10747,8 @@ _ACEOF # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 @@ -10137,7 +10849,7 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -10156,7 +10868,7 @@ do for ac_f do case $ac_f in - -) ac_f="$tmp/stdin";; + -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -10165,7 +10877,7 @@ do [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" @@ -10191,8 +10903,8 @@ $as_echo "$as_me: creating $ac_file" >&6;} esac case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -10328,21 +11040,22 @@ s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} - rm -f "$tmp/stdin" + rm -f "$ac_tmp/stdin" case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; @@ -10353,20 +11066,20 @@ which seems to be undefined. Please make sure it is defined" >&2;} if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ + mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; diff --git a/configure.ac b/configure.ac index 7308fc6..0e31d18 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl w3m autoconf dnl Process this file with autoconf to produce a configure script. -AC_INIT(w3m, 0.5.3, satodai@w3m.jp) +AC_INIT(w3m, 0.5.3) PACKAGE=w3m VERSION=0.5.3 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") @@ -28,6 +28,7 @@ AC_PROG_RANLIB AC_PATH_PROGS(PERL, perl, /usr/local/bin/perl) AC_PATH_PROGS(NKF, nkf, /usr/local/bin/nkf) AC_PATH_PROGS(MAN, man, /usr/bin/man) +AC_PATH_XTRA AC_CANONICAL_HOST AC_EXEEXT @@ -150,7 +151,7 @@ dnl AC_FUNC_MEMCMP dnl AC_FUNC_MMAP dnl AC_FUNC_SETVBUF_REVERSED dnl AC_FUNC_VPRINTF -AC_CHECK_FUNCS(strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale) +AC_CHECK_FUNCS(strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir mkdtemp getcwd getwd readlink setenv putenv strtoll stroq atoll atoq symlink readlink lstat srand48 srandom getpassphrase waitpid setlocale) AC_FUNC_STRFTIME AC_FUNC_WAIT3 AC_FUNC_SETPGRP @@ -161,7 +162,6 @@ case "$host_os" in AM_LANGINFO_CODESET ;; esac -AC_W3M_SYS_ERRLIST AC_W3M_SIGSETJMP AC_W3M_SIGNAL @@ -172,7 +172,7 @@ AC_SUBST(RC_DIR) RC_DIR="~/.$PACKAGE" AC_DEFINE(RC_DIR, "$RC_DIR") AC_SUBST(DOCDIRS) -DOCDIRS="doc:en_English doc-jp:ja_Japanese" +DOCDIRS="doc:en_English doc-jp:ja_Japanese doc-de:de_German" AC_DEFINE_UNQUOTED(DOCDIRS, "$DOCDIRS") AC_W3M_VERSION @@ -181,7 +181,8 @@ scripts/Makefile scripts/dirlist.cgi \ scripts/w3mhelp.cgi \ scripts/w3mmail.cgi scripts/xface2xpm \ scripts/multipart/Makefile scripts/multipart/multipart.cgi \ -scripts/w3mman/Makefile scripts/w3mman/w3mman scripts/w3mman/w3mman.1 \ +scripts/w3mman/Makefile scripts/w3mman/w3mman \ +scripts/w3mman/w3mman.1 scripts/w3mman/w3mman.de.1 \ scripts/w3mman/w3mman2html.cgi \ libwc/Makefile \ w3mimg/Makefile w3mimg/fb/Makefile w3mimg/x11/Makefile w3mimg/win/Makefile \ diff --git a/cookie.c b/cookie.c index 8020f6d..705e277 100644 --- a/cookie.c +++ b/cookie.c @@ -22,10 +22,10 @@ static int is_saved = 1; #define contain_no_dots(p, ep) (total_dot_number((p),(ep),1)==0) -static int -total_dot_number(char *p, char *ep, int max_count) +static unsigned int +total_dot_number(char *p, char *ep, unsigned int max_count) { - int count = 0; + unsigned int count = 0; if (!ep) ep = p + strlen(p); @@ -105,6 +105,7 @@ make_portlist(Str port) pl->next = first; first = pl; } + Strfree(tmp); return first; } @@ -247,16 +248,12 @@ find_cookie(ParsedURL *pu) Strcat(tmp, Sprintf("; $Domain=\"%s\"", p1->domain->ptr)); if (p1->portl) Strcat(tmp, - Sprintf("; $Port=\"%s\"", portlist2str(p1->portl))); + Sprintf("; $Port=\"%s\"", portlist2str(p1->portl)->ptr)); } } return tmp; } -char *special_domain[] = { - ".com", ".edu", ".gov", ".mil", ".net", ".org", ".int", NULL -}; - int check_avoid_wrong_number_of_dots_domain( Str domain ) { @@ -324,7 +321,7 @@ add_cookie(ParsedURL *pu, Str name, Str value, if (version == 0) { /* [NETSCAPE] rule */ - int n = total_dot_number(domain->ptr, + unsigned int n = total_dot_number(domain->ptr, domain->ptr + domain->length, 3); if (n < 2) { @@ -332,19 +329,6 @@ add_cookie(ParsedURL *pu, Str name, Str value, COOKIE_ERROR(COO_ESPECIAL); } } - else if (n == 2) { - char **sdomain; - int ok = 0; - for (sdomain = special_domain; !ok && *sdomain; sdomain++) { - int offset = domain->length - strlen(*sdomain); - if (offset >= 0 && - strcasecmp(*sdomain, &domain->ptr[offset]) == 0) - ok = 1; - } - if (!ok && ! check_avoid_wrong_number_of_dots_domain(domain)) { - COOKIE_ERROR(COO_ESPECIAL); - } - } } else { /* [DRAFT 12] s. 4.3.2 case 2 */ @@ -463,7 +447,7 @@ save_cookies(void) continue; fprintf(fp, "%s\t%s\t%s\t%ld\t%s\t%s\t%d\t%d\t%s\t%s\t%s\n", parsedURL2Str(&p->url)->ptr, - p->name->ptr, p->value->ptr, p->expires, + p->name->ptr, p->value->ptr, (long)p->expires, p->domain->ptr, p->path->ptr, p->flag, p->version, str2charp(p->comment), (p->portl) ? portlist2str(p->portl)->ptr : "", @@ -517,36 +501,36 @@ load_cookies(void) cookie->commentURL = NULL; parseURL(readcol(&str)->ptr, &cookie->url, NULL); if (!*str) - return; + break; cookie->name = readcol(&str); if (!*str) - return; + break; cookie->value = readcol(&str); if (!*str) - return; + break; cookie->expires = (time_t) atol(readcol(&str)->ptr); if (!*str) - return; + break; cookie->domain = readcol(&str); if (!*str) - return; + break; cookie->path = readcol(&str); if (!*str) - return; + break; cookie->flag = atoi(readcol(&str)->ptr); if (!*str) - return; + break; cookie->version = atoi(readcol(&str)->ptr); if (!*str) - return; + break; cookie->comment = readcol(&str); if (cookie->comment->length == 0) cookie->comment = NULL; if (!*str) - return; + break; cookie->portl = make_portlist(readcol(&str)); if (!*str) - return; + break; cookie->commentURL = readcol(&str); if (cookie->commentURL->length == 0) cookie->commentURL = NULL; diff --git a/display.c b/display.c index e00eb0c..e62d07f 100644 --- a/display.c +++ b/display.c @@ -257,7 +257,7 @@ make_lastline_link(Buffer *buf, char *title, char *url) parseURL2(url, &pu, baseURL(buf)); u = parsedURL2Str(&pu); if (DecodeURL) - u = Strnew_charp(url_unquote_conv(u->ptr, buf->document_charset)); + u = Strnew_charp(url_decode2(u->ptr, buf)); #ifdef USE_M17N u = checkType(u, &pr, NULL); #endif @@ -487,7 +487,7 @@ displayBuffer(Buffer *buf, int mode) term_title(conv_to_system(buf->buffername)); refresh(); #ifdef USE_IMAGE - if (activeImage && displayImage && buf->img) { + if (activeImage && displayImage && buf->img && buf->image_loaded) { drawImage(); } #endif @@ -497,6 +497,10 @@ displayBuffer(Buffer *buf, int mode) save_current_buf = buf; } #endif + if (mode == B_FORCE_REDRAW && (buf->check_url & CHK_URL) ) { + chkURLBuffer(buf); + displayBuffer(buf, B_NORMAL); + } } static void @@ -521,7 +525,15 @@ drawAnchorCursor0(Buffer *buf, AnchorList *al, int hseq, int prevhseq, break; } if (hseq >= 0 && an->hseq == hseq) { + int start_pos = an->start.pos; + int end_pos = an->end.pos; for (i = an->start.pos; i < an->end.pos; i++) { + if (enable_inline_image && (l->propBuf[i] & PE_IMAGE)) { + if (start_pos == i) + start_pos = i + 1; + else if (end_pos == an->end.pos) + end_pos = i - 1; + } if (l->propBuf[i] & (PE_IMAGE | PE_ANCHOR | PE_FORM)) { if (active) l->propBuf[i] |= PE_ACTIVE; @@ -529,9 +541,9 @@ drawAnchorCursor0(Buffer *buf, AnchorList *al, int hseq, int prevhseq, l->propBuf[i] &= ~PE_ACTIVE; } } - if (active) + if (active && start_pos < end_pos) redrawLineRegion(buf, l, l->linenumber - tline + buf->rootY, - an->start.pos, an->end.pos); + start_pos, end_pos); } else if (prevhseq >= 0 && an->hseq == prevhseq) { if (active) @@ -855,14 +867,16 @@ redrawLineImage(Buffer *buf, Line *l, int i) y = (int)(i * pixel_per_line); sx = (int)((rcol - COLPOS(l, a->start.pos)) * pixel_per_char); sy = (int)((l->linenumber - image->y) * pixel_per_line); - if (sx == 0 && x + image->xoffset >= 0) - x += image->xoffset; - else - sx -= image->xoffset; - if (sy == 0 && y + image->yoffset >= 0) - y += image->yoffset; - else - sy -= image->yoffset; + if (! enable_inline_image) { + if (sx == 0 && x + image->xoffset >= 0) + x += image->xoffset; + else + sx -= image->xoffset; + if (sy == 0 && y + image->yoffset >= 0) + y += image->yoffset; + else + sy -= image->yoffset; + } if (image->width > 0) w = image->width - sx; else @@ -1119,18 +1133,18 @@ addChar(char c, Lineprop mode) } #ifdef USE_M17N if (w == 2 && WcOption.use_wide) - addstr(graph2_symbol[(int)c]); + addstr(graph2_symbol[(unsigned char)c % N_GRAPH_SYMBOL]); else #endif - addch(*graph_symbol[(int)c]); + addch(*graph_symbol[(unsigned char)c % N_GRAPH_SYMBOL]); } else { #ifdef USE_M17N symbol = get_symbol(DisplayCharset, &w); - addstr(symbol[(int)c]); + addstr(symbol[(unsigned char)c % N_SYMBOL]); #else symbol = get_symbol(); - addch(*symbol[(int)c]); + addch(*symbol[(unsigned char)c % N_SYMBOL]); #endif } } diff --git a/doc-de/FAQ.html b/doc-de/FAQ.html new file mode 100644 index 0000000..d88ba64 --- /dev/null +++ b/doc-de/FAQ.html @@ -0,0 +1,691 @@ + +<html> + <head> + <style> + span.mono { + font-family:mono; + } + </style> + <meta http-equiv="content-type" content="text/html;charset=UTF-8"> + <title>W3M FAQ + + +

+ Häufig gestellte Fragen zu w3m +

+

+ Akinori Ito <aito@fw.ipsj.or.jp>
korrigiert von Tom Berger <tom.be@gmx.net> +

+

+ + Übersicht + +

+
    +
  • + + + Allgemeine Fragen; wie bekomme ich das Programm, welche Arbeitsumgebung wird benötigt? + + +
  • +
      +
    • + + Wie wird w3m ausgesprochen? + +
    • +
    • + + Warum hat man es w3m genannt? + +
    • +
    • + + Auf welchen Plattformen läuft es? + +
    • +
    • + + Wo bekomme ich mehr Informationen über w3m? + +
    • +
    • + + Gibt es eine Mailingliste für w3m? + +
    • +
    • + + Gibt es das Programm fertig kompiliert? + +
    • +
    +
  • + + + Kompilierung und Installation + + +
  • +
  • + + + Optionen, Befehle und Verwendung + + +
  • +
      +
    • + + w3m beendet sich von selbst, wenn es ohne Argumente aufgerufen wurde. Was läuft hier falsch? + +
    • +
    • + + w3m startet mit schwarzen Zeichen vor schwarzem Hintergrund. Wie kann ich das ändern? + +
    • +
    • + + Kann w3m Dinge in Farbe darstellen? + +
    • +
    • + + Kann w3m mit monochromen Bildschirmen benutzt werden? + +
    • +
    • + + Wie kann ich den angezeigten Bereich verschieben? + +
    • +
    • + + Wie komme ich von einem zum anderen Hyperlink? + +
    • +
    • + + Grafische Browser stellen ein Wort rot dar, w3m hingegen nicht. Warum? + +
    • +
    • + + Wie ändere ich die für Hyperlinks, Bilder und Formularfelder benutzten Farben? + +
    • +
    • + + w3m scheint die Umgebungsvariable EDITOR zu ignorieren. Weshalb? + +
    • +
    • + + Wie breche ich eine Suche oder die Eingabe einer URL ab? + +
    • +
    +
  • + + + Fragen zur Benutzung als Internetbrowser + + +
  • +
      +
    • + + Wie fülle ich mit w3m Formulare aus? + +
    • +
    • + + w3m scheint langsamer als einige andere Browser zu sein. Warum? + +
    • +
    • + + Die Zeit zum Laden einer Seite wird nicht geringer, wenn diese Seite schon einmal angezeigt wurde. + +
    • +
    • + + Wie lade ich eine Datei herunter, auf die verlinkt wird? + +
    • +
    • + + Wie gebe ich einen Proxy-Server vor? + +
    • + +
    • + + Wie wähle ich den standardmäßig verwendeten Bildbetrachter aus? + +
    • +
    • + + Wie wird eine URL eingegeben? + +
    • +
    • + + w3m hängt eine URL an die vorherige an, obwohl die Zeile mit STRG-u gelöscht worden war. Was ist zu tun? + +
    • +
    +
  • + + + Verschiedenes + + +
  • +
      +
    • + + Ich suche die Konfigurationsdatei von w3m. + +
    • +
    • + + Wofür sind die w3mxxxx Dateien in meinem ~/.w3m Verzeichnis gut? + +
    • +
    +
+

+ + Allgemeine Fragen; wie bekomme ich das Programm, welche Arbeitsumgebung wird benötigt? + +

+
+
+ + Wie wird w3m ausgesprochen? + +
+
+

+ Der Name wird englisch ausgesprochen W-three-M und reimt sich nicht auf pteranodon. +

+
+
+ + Warum hat man es w3m genannt? + +
+
+

+ Darin steckt der japanische Satz WWW-wo-Miru, was Sichte das weltweite Netz bedeutet. Dieser Browser könnte also auf deutsch Sdw2N heißen. +

+
+
+ + Auf welchen Plattformen läuft es? + +
+
+

+ Das Programm läuft auf verschiedenen Unices, seit der Version 990226 auf OS/2 und seit Version 990303 auch auf Microsoft-Windows mit Cygwin32. +

+

+ Es wurde bestätigt, dass neuere Versionen laufen auf: +

+
    +
  • + SunOS 4.1.x +
  • +
  • + HP-UX 9.x, 10.x +
  • +
  • + Solaris 2.5.x, 2.6, 8 +
  • +
  • + Linux 2.0.1 bis 3.17 +
  • +
  • + FreeBSD 2.2.8, 3.1, 3.2, 4.6 +
  • +
  • + NetBSD/macppc, m68k +
  • +
  • + EWS4800 Rel.12.2 Rev.A +
  • +
  • + Digital UNIX: v3.2D, v4.0D +
  • +
  • + IRIX 5.3, IRIX 6.5 +
  • +
  • + OS/2 mit emx +
  • +
  • + Windows 9x/NT mit Cygwin32 b20.1 +
  • +
  • + MS-DOS mit DJGPP und WATT32 Pakettreiber +
  • +
  • + MacOS X Server +
  • +
  • + MacOS X 10.1, 10.2 +
  • +
+
+
+ + Wo bekomme ich mehr Informationen über w3m? + +
+
+

+ Auf der englischen Homepage des w3m-Projekts. +

+
+
+ + Gibt es eine Mailingliste für w3m? + +
+
+

+ Es gibt eine Mailingliste für Entwickler (w3m-dev-en). Einzelheiten dazu finden Sie auf der Homepage des w3m-Projekts. Sie können Ihre Anmerkungen auch dem Autor schicken. +

+
+
+ + Gibt es das Programm fertig kompiliert? + +
+
+

+ Bis jetzt wurde das Programm nur für Windows /Cygnus32 kompiliert. Sollten Sie dies für andere Plattformen durchgeführt haben und möchten Ihre Binärversion der Allgemeinheit zur Verfügung stellen, kontaktieren Sie den Autor. +

+
+
+

+ + Zurück zur Übersicht + +

+

+ + Kompilierung und Installation + +

+

+ Kein Problem :-) +

+

+ + Optionen, Befehle und Verwendung + +

+
+
+ + w3m beendet sich von selbst, wenn es ohne Argumente aufgerufen wurde. Was läuft hier falsch? + +
+
+

+ w3m ist ein Textbetrachter. Deshalb schließt sich das Programm von selbst, wenn es ohne ein Argument aufgerufen wird. Es läuft weiter +

+
    +
  • + mit einem Dateinamen oder einer Adresse als Argument +
  • +
  • + mit aus der Standardeingabe eingehenden Daten +
  • +
  • + nach Aufruf mit der Option -B, woraufhin die Lesezeichendatei gezeigt wird +
  • +
  • + nach Aufruf mit der Option -v, woraufhin eine Begrüßungsseite angezeigt wird +
  • +
  • + wenn die Variablen HTTP_HOME oder WWW_HOME spezifiziert wurden +
  • +
+
+
+ + w3m startet mit schwarzen Zeichen vor schwarzem Hintergrund. Wie kann ich das ändern? + +
+
+

+ Wenn w3m für den Farbmodus kompiliert wurde, geht das Programm von weißem Hintergrund aus und zeigt die Buchstaben in schwarz. +

+

+ Sie können entweder die Hintergrundfarbe Ihres Terminals ändern (bei xterm z.B. mit der Option -bg) oder so vorgehen +

+
    +
  1. + Mit w3m -M den Monochrom-Modus von w3m starten +
  2. +
  3. + o eintippen, was Sie in den Einstellungs-Dialog bringt +
  4. +
  5. + YES neben in Farbe anzeigen markieren und irgendeine Farbe auswählen. +
  6. +
  7. + auf [OK] klicken +
  8. +
+
+
+ + Kann w3m Dinge in Farbe darstellen? + +
+
+

+ Ja. Wenn Sie ./configure durchführen, werden Ihnen folgende Möglichkeiten angeboten: +

+
+  Let's do some configurations. Choose config option among the list. 
1 - Baby model (no color, no menu, no mouse, no cookie, no SSL)
2 - Little model (color, menu, no mouse, no cookie, no SSL)
3 - Mouse model (color, menu, mouse, no cookie, no SSL)
4 - Cookie model (color, menu, mouse, cookie, no SSL)
5 - Monster model (with everything; you need openSSL library)
6 - Customize Which? +
+

+ Sie entscheiden sich für 2, 3, 4, oder 5. +

+
+
+ + Kann w3m mit monochromen Bildschirmen benutzt werden? + +
+
+

+ Ja, Sie können entweder +

+
    +
  • + obige Frage bei ./configure mit 1 beantworten, oder +
  • +
  • + w3m mit der Option -M starten, oder +
  • +
  • + innerhalb von w3m die Taste o betätigen, was den Einstellungs-Dialog öffnet, in dem Sie in Farbe anzeigen abschalten können. +
  • +
+
+
+ + Wie kann ich den angezeigten Bereich verschieben? + +
+
+

+ Indem Sie den Cursor an den Rand des Bildschirmes bewegen. Außerdem können Sie die folgenden Kommmandos nutzen +

+
    +
  • SHIFT_LEFT und SHIFT_RIGHT, denen die Tasten > und < zugeordnet sind
  • +
  • SHIFT_LEFT1 und SHIFT_RIGHT1, denen die Tasten . und , zugeordnet sind
  • +
+

+ Ein weiterer Weg wäre, mit der Option -geometry des Terminalprogramms den zur Anzeige verfügbaren Platz anzupassen, beispielsweise mit einer Eingabe der Art +

+
  xterm -geometry 110x45 -bg white -name w3m -e w3m -B
+
+
+ + Wie komme ich von einem zum anderen Hyperlink? + +
+
+

+ + Sie erreichen den nächsten Hyperlink mit der TAB-Taste. Zum vorhergehenden springt der Cursor, wenn die ESC-Taste vor der TAB-Taste gedrückt wurde. (Mehr zu Funktionen und Tastaturbelegung im Handbuch von w3m) + +

+
+
+ + Grafische Browser stellen ein Wort rot dar, w3m hingegen nicht. Warum? + +
+
+

+ w3m ignoriert das Attribut COLOR="..." in HTML. Dessen Berücksichtigung zu implementieren, wäre möglich, aber ich denke, die Dokumente wären am Ende schwerer lesbar. +

+
+
+ + Wie ändere ich die für Hyperlinks, Bilder und Formularfelder benutzten Farben? + +
+
+

+ Tippen Sie in w3m o ein und gelangen damit in den Einstellungs-Dialog. Dort können Sie die Farben ändern. +

+
+
+ + w3m scheint die Umgebungsvariable EDITOR zu ignorieren. Weshalb? + +
+
+

+ Tippen Sie in w3m o ein und gelangen damit in den Einstellungs-Dialog. Jeglicher Eintrag im Feld Editor hat Vorrang gegenüber der Umgebungsvariablen. +

+

+ Wenn Sie also das durch EDITOR angegebene Textbearbeitungsprogramm verwenden möchten, löschen Sie den Eintrag und drücken [OK]. +

+
+
+ + Wie breche ich eine Suche oder die Eingabe einer URL ab? + +
+
+

+ Löschen Sie den eingegebenen Text mit STRG-u und drücken Sie die Eingabetaste. +

+
+
+

+ + Zurück zur Übersicht + +

+

+ + Fragen zur Benutzung als Internetbrowser + +

+
+
+ + Wie fülle ich mit w3m Formulare aus? + +
+
+

+ Formular-Eingabefelder werden in rot (oder invertiert) angezeigt. Bewegen Sie den Cursor dorthin. Wenn es +

+
    +
  • + ein Texteingabefeld ist, drücken Sie die Eingabetaste, schreiben den Text unten in die Eingabezeile und drücken die Eingabetaste nochmals, +
  • +
  • + sich um einen Radiobutton oder eine Checkbox handelt, wird bei Drücken der Eingabetaste die Auswahl verändert oder neu getroffen +
  • +
  • + sich um einen Texteingabebereich handelt, wird durch Drücken der Eingabetaste ein Editor gestartet +
  • +
  • + sich um eine Schaltflächen für Übermitteln oder Zurücksetzen handelt, wird die entsprechende Aktion ausgeführt. +
  • +
+
+
+ + w3m scheint langsamer als einige andere Browser zu sein. Warum? + +
+
+

+ HTML-Dokumente werden in zwei Schritten verarbeitet. Erst nachdem ein Dokument vollständig vorliegt, baut w3m die Anzeige auf. +

+

+ Da die meisten anderen Browser die Seite aufbauen, ehe sie komplett ist, scheinen sie schneller. +

+
+
+ + Die Zeit zum Laden einer Seite wird nicht geringer, wenn diese Seite schon einmal angezeigt wurde. + +
+
+

+ w3m nutzt keinen eigenen Zwischenspeicher. Es liest daher Dokumente jedesmal neu vom Server ein. Wenn möglich, verwenden Sie einen Server für die Zwischenspeicherung. +

+
+
+ + Wie lade ich eine Datei herunter, auf die verlinkt wird? + +
+
+

+ Verwenden Sie a (oder d bei lynx-artiger Tastaturbelegung) oder ESC RET. Wenn Sie ein eingebundenes Bild herunterladen möchten, drücken Sie ESC I. (Mehr zu Funktionen und Tastaturbelegung im Handbuch von w3m) +

+
+
+ + Wie gebe ich einen Proxy-Server vor? + +
+
+

+ Setzen Sie die Umgebungsvariablen HTTP_PROXY, HTTPS_PROXY, GOPHER_PROXY und FTP_PROXY oder öffnen mit o den Einstellungs-Dialog. Um beispielsweise den Port 8000 von proxy.example.org zu benutzen, geben Sie ein +

+
  http://proxy.example.org:8000/
+
+ +
+ + Wie wähle ich den standardmäßig verwendeten Bildbetrachter aus? + +
+
+

+ Standardmäßig benutzt w3m den Bildbetrachter xv. Wenn Sie beispielsweise display vorziehen, ergänzen Sie ~/.w3m/mailcap oder /etc/mailcap um die Zeile: +

+
+  image/*; display %s
+
+

+ Ebenso können Sie für andere Dateitypen externe Anzeigeprogramme festlegen: +

+
+  image/*; display %s 
application/postscript; ghostview %s
application/x-dvi; xdvi %s +
+
+
+ + Wie wird eine URL eingegeben? + +
+
+

+ Drücken Sie U +

+
+
+ + w3m hängt eine URL an die vorherige an, obwohl die Zeile mit STRG-u gelöscht worden war. Was ist zu tun? + +
+
+

+ Geben Sie die komplette Adresse ein, z.B. http://www.slashdot.org. +

+
+
+

+ + Zurück zur Übersicht + +

+

+ + Verschiedenes + +

+
+
+ + Ich suche die Konfigurationsdatei von w3m. + +
+
+

+ Es ist ~/.w3m/config. +

+ +

+ In dieser Datei kann jeder Benutzer das Verhalten von w3m anpassen. Sie finden dort zeilenweise die Variablen zu den im Einstellungs-Dialog beschriebenen Optionen. Den Namen und die Belegung einer Variable trennt ein Leerzeichen. +

+ +

Ohne eine benutzerspezifische Konfigurationsdatei richtet sich w3m nach der systemweiten Konfigurationsdatei /etc/w3m/config. +

+ +
+
+ + Wofür sind die w3mxxxx Dateien in meinem ~/.w3m Verzeichnis gut? + +
+
+

+ Es handelt sich um temporäre Dateien, die w3m beim Lesen anlegt. Sie dienen nicht zur Zwischenspeicherung und werden beim Verlassen des Programms normalerweise gelöscht. Wenn welche zurückbleiben, löschen Sie sie einfach selbst. +

+
+
+

+ + Zurück zur Übersicht + +

+ + diff --git a/doc-de/MANUAL.html b/doc-de/MANUAL.html new file mode 100644 index 0000000..e12d3b3 --- /dev/null +++ b/doc-de/MANUAL.html @@ -0,0 +1,2353 @@ + + + + w3m Handbuch + + + + + + +

w3m HANDBUCH

+
+ Akinori Ito
aito@fw.ipsj.or.jp +
+

Übersicht

+ +
+

+ Einführung +

+

+ w3m ist ein textorientierter Browser und Textbetrachter (Pager). In einem Terminalemulator können Sie damit lokale und andere Dokumente anzeigen lassen und Verknüpfungen (Hyperlinks) weiterverfolgen. +

+
+

+ Einstellungen +

+

+ Der Aufruf per Befehlszeile lautet +

+ +
+  w3m [Option]… [Datei|Adresse]…
+
+

+ Wenn Sie Dateinamen oder Adressen in der Befehlszeile angeben, werden diese Dokumente angezeigt. Fehlen entsprechende Argumente, wird w3m ein Dokument aus der Standardeingabe erwarten und anzeigen. Erhält das Programm auch hier keine Daten, beendet es sich normalerweise selbstständig. +

+

+ Optionen sind unter anderem: +

+
+

Allgemeine Optionen

+
+ -B +
+
+

+ + starte mit einer Ansicht aller Lesezeichen (wenn kein anderes Zielobjekt angegeben ist) +

+
+
+ -M +
+
+

+ + monochrome Anzeige +

+
+
+ -no-mouse +
+
+

+ Mausfunktion aus +

+
+
+ -num +
+
+

+ + zeige Zeilennummern an + +

+
+ +
+ -v +
+
+

+ + begrüße den Benutzer mit einer eingebauten Seite (wenn kein anderes Zielobjekt angegeben ist) +

+
+
+ -W +
+
+

+ + wechsle zwischen umlaufendem und nicht umlaufendem Suchen +

+
+
+ -X +
+
+

+ nach Beenden des Programms das Terminal nicht neu initialisieren. +

+
+
+ +Zahl +
+
+

+ gehe zu Zeile Zahl. Wirkt nur, wenn Zahl größer ist als die im Terminal verfügbare Zeilenzahl +

+
+

Browser-Optionen

+
+ -cols Zahl +
+
+

+ + bei für die Standardausgabe bestimmten Inhalten, nimm bei zur Umsetzung von HTML eine Länge von num Zeichen pro Zeile +

+
+
+ -cookie +
+
+

+ + verwende gespeicherte Cookies und akzeptiere neue +

+
+
+ -no-cookie +
+
+

+ + verwende weder gespeicherte Cookies noch akzeptiere neue + +

+
+
+ -F +
+
+

+ + verarbeite Frames +

+
+
+ -no-graph +
+
+

+ + verwende bei der Umsetzung von Tabellen und Frames keine grafischen Zeichen +

+
+
+ -header Zeichenkette +
+
+

+ + füge der HTTP(S)-Anfrage Zeichenkette an. Diese muss der Kopfdaten-Syntax "Variable: Wert" entsprechen +

+
+
+ -m +
+
+

+ arbeite im Internetnachrichten-Modus. Mit dieser Option entnimmt w3m den Typ eines Dokumentes dessen Kopfdaten. Dies ist nützlich beim Lesen von Mails und Usenet-Nachrichten. + +

+
+
+ -no-proxy +
+
+

+ + verwende keinen Proxy +

+
+
+ -post Datei +
+
+

+ verwende die Methode POST, um in Datei hinterlegte Daten hochzuladen. Hierbei wird die Syntax "var1=wert1[&var2=wert2]…" erwartet +

+
+

Textbetrachter-Optionen

+
+ -l Zahl +
+
+

+ + Anzahl der Zeilen, die zwischengespeichert werden, wenn Text per Standardeingabe übergeben wurde. (Voreinstellung ist 10000) +

+
+
+ -r +
+
+

+ + verarbeite spezielle Escape-Zeichen (beispielsweise ANSI-Escape-Zeichen oder nroff-Rückwärtsschritte für fette und unterstrichene Zeichen) nicht, sondern zeige sie stattdessen mittels Caret-Notation. +

+
+
+ -s +
+
+

+ + mehrere leere Zeilen werden bis auf eine gelöscht +

+
+ +
+ -t Zahl +
+
+

+ Tab-Zeichen so verwerten, dass Spalten mit einer Weite von Zahl Zeichen entstehen. Wirkt nicht auf Standardausgabe +

+
+

Datenart- und Datenkodierungs-Optionen

+
+ -I Zeichenkodierung +
+
+

+ + zu benutzende Zeichenkodierung für erhaltene Daten +

+
+
+ -O Zeichenkodierung +
+
+

+ + zu benutzende Zeichenkodierung für auszugebende Daten +

+
+
+ -T Typ +
+
+

+ + legt den MIME-Typ erhaltener Daten fest. Ohne diese Option bestimmt ihn das Programm anhand der Dateinamen-Erweiterung. Wenn dies fehlschlägt, wird text/plain als Typ angenommen. Zum Beispiel: +

+

+ Übernimm HTML-Dokument von der Standardeingabe und zeige es an +

+
+   cat beispiel.html | w3m -T text/html
+
+

+ Zeige HTML-Quelltext an +

+
+   w3m -T text/plain beispiel.html
+
+
+

Optionen zur Datenausgabe, mit sofortigem Verlassen des Programms

+
+ -dump +
+
+

+ lies das per URL angegebene Dokument und leite es verarbeitet der Standardausgabe zu. Wenn mit der Option -cols nichts anderes eingestellt ist, erhält es eine Breite von 80 Zeichen +

+
+
+ -dump_source +
+
+

+ + leite den Seitenquelltext der Standardausgabe zu +

+
+
+ -dump_head +
+
+

+ + leite die Antwort einer HEAD-Anfrage für eine URL der Standardausgabe zu +

+
+
+ -dump_both +
+
+

+ + leite Antwort auf HEAD-Anfrage und Seitenquelltext der Standardausgabe zu + +

+
+
+ -dump_extra +
+
+

+ + leite Antwort auf HEAD-Anfrage, Seitenquelltext und Extrainformation der Standardausgabe zu +

+
+ +

Optionen, die Standards für Einstellungen und Datenquellen außer Kraft setzen

+ +
+ -bookmark Datei +
+
+

+ + benutze anstelle der Standarddatei bookmark.html für Lesezeichen die Datei Datei +

+
+
+ -config Datei +
+
+

+ + benutze Datei anstelle der Standard-Konfigurationsdatei +

+
+
+ -o Option=Wert +
+
+

+ + arbeite mit einer Konfiguration, bei der die Einstellung Option mit Wert belegt ist. Ohne Option=Wert gleichwertig mit -show-option +

+
+
+
+

+ Farbzuordnung im Dokument +

+

+ Links und Bildelemente werden wie folgt angezeigt: +

+
+ + + + + + + + + + + + + + + + + + + +
+ + Farbmodus + + Monochrom-Modus +
+ Hyperlinks + + blau + + unterstrichen +
+ Bilder + + grün + + invertiert +
+ Formular-Eingabefelder + + rot + + invertiert +
+ +

+ Diese Farben können nach Eingabe von o im Einstellungs-Dialog anders zugeordnet werden. +

+
+

+ Funktionen und Tastaturbelegung +

+ +

+ Wenn w3m läuft, bedienen Sie das Programm, indem Sie Funktionen anhand ihres Namens oder der ihr zugeordneten Tastenkombination aufrufen. Es gibt voreingestellte Tastaturbelegungen. + +

+ +

+ Sie können die Tastaturbelegungen (abgesehen von jenen des Menü- und des Texteingabe-Modus) in einer Datei ~/.w3m/keymap anpassen. Beispielsweise bindet +

+ +
+   keymap C-o NEXT_PAGE
+
+ +

+ die Funktion NEXT_PAGE (die normalerweise mit SPC und C-v verknüpft ist) mit C-o. Siehe die Liste verfügbarer Funktionen in README.func. Original- und Lynx-artige Tastaturbelegungen enthalten die Beispieldateien keymap.default und keymap.lynx. +

+ +

+ Im Folgenden stehen C- und M- für die Eingabe-Modifikationen mit der Steuerungs- und der Meta-Taste. Die letztere ersetzt die ALT-Taste, wohingegen Drücken der ESC-Taste zwischen Meta-modifiziertem und einfachen Tastendruck wechselt. Das Minus-Zeichen bedeutet das gleichzeitige Drücken von Tasten; der Leerraum dagegen steht dafür, dass eine Taste nach der anderen gedrückt wird. Mit 2 M ist also gemeint, die 2 und dann M zu drücken. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Funktion + Tastenkombination + + Beschreibung +
+ Standard + + Lynx-ähnlich +
+

Navigation innerhalb von Seiten

+
+ NEXT_PAGE + + SPC, C-v, +, PGDN + + SPC, C-v, + + + Scrolle eine Seite abwärts +
+ PREVIOUS_PAGE + + b, M-v, -, PGUP + + b, M-v, - + + Scrolle eine Seite aufwärts +
+ MOVE_RIGHT + + l, C-f, RIGHT + + l + + Bewege Cursor nach rechts (mit Verschiebung um halbe Bildschirmbreite an dessen Rand) +
+ C-b, LEFT + + h, C-b, LEFT + + h + + Bewege Cursor nach links (mit Verschiebung um halbe Bildschirmbreite an dessen Rand) +
+ MOVE_DOWN + + j, C-n, DOWN + + j + + Bewege Cursor abwärts (scrolle eine Zeile am Bildschirmrand) +
+ MOVE_UP + + k, C-p, UP + + k + + Bewege Cursor aufwärts (scrolle eine Zeile am Bildschirmrand) +
+ UP + + J + + J + + Scrolle den Anzeigebereich eine Zeile aufwärts +
+ DOWN + + K + + K + + Scrolle den Anzeigebereich eine Zeile abwärts +
+ LINE_BEGIN + + ^, C-a + + ^ + + Gehe zum Zeilenanfang +
+ LINE_END + + $, C-e + + $ + + Gehe zum Zeilenende +
+ NEXT_WORD + + w + + w + + Gehe zum nächsten Wort +
+ PREVIOUS_WORD + + W + + W + + Gehe zum vorherigen Wort +
+ SHIFT_RIGHT + + > + + > + + Anzeigebereich nach rechts versetzen +
+ SHIFT_LEFT + + < + + < + + Anzeigebereich nach links versetzen +
+ RIGHT + + . + + . + + Anzeigebereich um eine Spalte nach rechts verschieben +
+ LEFT + + , + + , + + Anzeigebereich um eine Spalte nach links verschieben +
+ BEGIN + + g, M-<, HOME + + C-a, M-< + + Gehe zur ersten Zeile +
+ END + + G, M->, END + + C-e, M-> + + Gehe zur letzten Zeile +
+ GOTO_LINE + + M-g + + G + + Gehe zur angegebenen Zeile +
+ LINE_INFO + + C-g + + C-g + + Zeige aktuelle Position im Dokument an +
+ CENTER_H + + Z + + Z + + Bildschirm rechts und links des Cursors zentrieren +
+ CENTER_V + + z + + z + + Bildschirm ober- und unterhalb des Cursors zentrieren +
+ NEXT_LINK + + TAB + + TAB, C-n, DOWN + + Gehe zum nächsten Hyperlink +
+ PREVIOUS_LINK + + M-TAB, C-u + + M-TAB, C-u, C-p, UP + + Gehe zum vorangegangen Hyperlink +
+ LINK_BEGIN + + [ + + [ + + Gehe zum ersten Hyperlink +
+ LINK_END + + ] + + ] + + Gehe zum letzten Hyperlink +
MOVE_LIST_MENUM-mM-mÖffne Menü mit vorhandenen Hyperlinks
+

Umgang mit Hyperlinks

+
+ GOTO_LINK + + C-j, C-m, RET + + C-f, C-j, C-m, RET, RIGHT + + Folge dem aktuellen Hyperlink in neuem Puffer +
LIST_MENUM-lM-lÖffne Menü mit Hyperlinks und folge dem ausgewählten
+ SAVE_LINK + + a, M-RET + + d, M-RET + + Speichere Ziel des Hyperlinks +
+ PEEK_LINK + + u + + u + + Zeige Zieladresse +
+ PEEK_IMG + + i + + i + + Zeige Adresse des Bildes +
+ VIEW_IMAGE + + I + + I + + Zeige Bild in Betrachter +
+ SAVE_IMAGE + + M-I + + M-I + + Speichere Bild +
MARK_WORD;;Wandle aktuelles Wort in Hyperlink um
+ MARK_URL + + : + + : + + Wandle URL-artige Zeichenketten um in Hyperlinks +
+ MARK_MID + + M-: + + M-: + + + Wandle Nachrichten-ID-artige Zeichenketten um in Hyperlinks +
+ PEEK + + c + + c + + Zeige aktuelle Adresse an +
+ INFO + + = + + = + + Zeige Informationen über dieses Dokument +
+ HISTORY + + C-h + + C-h + + Chronik aufgesuchter Dokumente +
+ EXTERN + + M + + M + + Zeige das aktuelle Dokument mit einem externen Browser (wird eine Taste von 2 bis 9 gedrückt, also beispielsweise 3 M, eingegeben, kommt ein anderer, in der Konfiguration hinterlegter Browser zum Einsatz) +
+ EXTERN_LINK + + M-M + + M-M + + Bringe das Linkziel mit einem externen Browser zur Anzeige (vorangestellte Zahlen wirken sich wie oben beschrieben aus) +
+

Verwalten von Lesezeichen

+
+ BOOKMARK + + M-b + + v, M-b + + Lesezeichen ansehen +
+ ADD_BOOKMARK + + M-a + + a, M-a + + Lege für aktuelle Seite Lesezeichen an +
+

Umgang mit Dateien und Datenströmen

+
+ GOTO + + U + + g, U + + Öffne angegebenes Dokument in neuem Puffer +
GOTO_RELATIVEM-uM-uÖffne relative Adresse in neuem Puffer
+ LOAD + + V + + V + + Öffne lokale Datei in einem neuen Puffer +
+ READ_SHELL + + @ + + @ + + + + Führe einen Shell-Befehl aus und zeige Ausgabe in einem neuen Puffer +
+ PIPE_SHELL + + # + + # + + + + Führe einen Shell-Befehl aus und zeige Ausgabe in einem neuen Puffer +
+

Arbeit an Seiteninhalten

+
+ VIEW + + v + + \ + + Wechsle zwischen HTML-Quellcode und verarbeitetem Dokument +
LISTLLListe Link-Elemente, Hyperlinks und Bilder auf
+ FRAME + + F + + F + + Wechsle zwischen Kennung und Umsetzung von HTML-Frames +
+ REDRAW + + C-l + + C-l, C-w + + Bildschirmanzeige neu aufbauen +
+ RELOAD + + R + + R, C-r + + Aktuelles Dokument erneut laden +
+ EDIT + + E + + E + + Bearbeite lokales Quelldokument +
+ EDIT_SCREEN + + M-e + + M-e + + Bearbeite eine Kopie des verarbeiteten Dokuments +
PIPE_BUF||Leite aktuellen Pufferinhalt einem Shell-Befehl zu und zeige Ausgabe an
+ DOWNLOAD + + M-s + + M-s + + Dokument-Quellcode speichern +
+ SAVE_SCREEN + + S + + S, p + + Speichere verarbeitetes Dokument +
+

Navigation zwischen Puffern und Reitern

+
+ BACK + + B + + B, C-b, LEFT + + Schließe aktuellen Puffer und kehre zu dem im Stapel darunterliegenden zurück +
+ GOTO_HOME + + C-_ + + + Zurück zur Startseite (die Variablen HTTP_HOME oder WWW_HOME spezifiziert wurden) +
+ SELECT_MENU + + s + + s, C-h + + Öffne Pufferstapel-Menü +
+ TAB_MENU + + M-t + + M-t + + Öffne das Reiter-Auswahl-Menü +
+ NEW_TAB + + T + + T + + Öffne neuen Reiter (mit aktuellem Dokument) +
+ TAB_LINK + + C-t + + C-t + + Folge dem aktuellen Hyperlink in einem neuen Reiter +
+ NEXT_TAB + + } + + } + + Schalte zum nächsten Reiter +
+ PREV_TAB + + { + + { + + Schalte zum vorherigen Reiter +
+ CLOSE_TAB + + C-q + + C-q + + Schließe aktuellen Reiter +
+

Suchfunktionen

+
+ SEARCH + + / + + /, C-s + + Suche vorwärts +
+ SEARCH_BACK + + ? + + + Suche rückwärts +
+ ISEARCH + + C-s + + + Inkrementelle Suche vorwärts +
+ ISEARCH_BACK + + C-r + + + Inkrementelle Suche rückwärts +
+ SEARCH_NEXT + + n + + n + + Setze Suche vorwärts fort +
+ SEARCH_PREV + + N + + + Setze Suche rückwärts fort +
+ WRAP_TOGGLE + + C-w + + w + + Wechsle zwischen umlaufendem und nicht-umlaufendem Suchen +
+

Arbeit mit Textmarken

+
+ MARK + + C-SPC + + C-SPC + + Setze/Lösche Markierung +
+ PREV_MARK + + M-p + + P + + Gehe zur vorherigen Markierung +
+ NEXT_MARK + + M-n + + N + + Gehe zur nächsten Markierung +
+ REG_MARK + + " + + " + + Markiere alle Vorkommen eines Zeichenmusters +
+

Verschiedenes

+
+ COMMAND + + M-c + + M-c + + Rufe eine oder mehrere durch Strichpunkt getrennte w3m-Funktionen auf +
+ HELP + + H + + H, ? + + Zeige Hilfe-Übersicht +
+ OPTIONEN + + o + + o + + Einstellungs-Dialog öffnen +
SET_OPTIONM-oM-oSetze Option
DEFINE_KEYM-kM-kDefiniere eine Verbindung zwischen einer Tastenkombination und einem Kommando
MOUSE_TOGGLEmmSchalte Mausbedienung an oder ab
DOWNLOAD_LISTDDÜbersicht heruntergeladener Dateien anzeigen
+ COOKIE + + C-k + + C-k + + Zeige die gespeicherten Cookies +
UNDO((Nimm die letzte Cursorbewegung zurück
REDO))Den letzten Rücknahmebefehl zurücknehmen
+ EXEC_SHELL + + ! + + ! + + Shell-Befehl ausführen +
DICT_WORDM-wM-wFühre eine Wörterbuch-Funktion aus (siehe README.dict)
DICT_WORD_ATM-WM-WBenutze Wörterbuch für Wort unter Cursor
VERSIONrrZeige die Version von w3m an
+ SUSPEND + + C-z + + C-z + + w3m zum Hintergrundprozess machen. (Wird mit dem Shell-Befehl fg zurückgenommen.) +
+ QUIT + + q + + q + + Mit Bestätigungsfrage beenden +
+ EXIT + + Q + + Q + + Sofort beenden +
+ +

+ Darüber hinaus gibt es die folgenden Bedien-Modi mit fester Tastaturbelegung für die entsprechenden Funktionen. Diese sind nicht durch die Funktion DEFINE_KEY oder Einträge der keymap-Datei veränderbar. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Funktion
(interner Name) +
Tastenkombination + + Beschreibung +
+

Menü-Auswahl-Modus

+
+ BUF:NEXT + j, C-n, DOWN + + Nächster Eintrag +
BUF:PREV + + k, C-p, UP + + Vorheriger Eintrag +
+ BUF:DELETE + D + + Lösche Eintrag +
+ BUF:GO + + SPC, RET, RIGHT + + Wähle Eintrag aus +
+

Popup-Menü-Modus

+
+MENU:SELECT + + SPC, RET, RIGHT + Wähle Punkt aus +
+MENU:CLOSE + C-c + + Schließe Menü +
+MENU:CANCEL + + LEFT, BKSPC, C-h + Einen Auswahlschritt zurück +
+MENU:DOWN + j, C-n, DOWN + + Gehe zum nächsten Punkt +
+MENU:UP + + k, C-p, UP + Gehe zum vorherigen Punkt +
+MENU:LINE_UP + K + + Scrolle einen Punkt aufwärts +
+MENU:LINE_DOWN + J + + Scrolle einen Punkt abwärts +
+MENU:TOP + C-a + + Gehe zum ersten Punkt +
+MENU:LAST + C-e + + Gehe zum letzten Punkt +
+MENU:NEXT + C-v, C-f + Gehe zur nächsten Seite +
+MENU:PREV + ESC v, C-b + + Gehe zur vorherigen Seite +
+MENU:SEARCH_FORE + C-s, / + + Suche vorwärts +
+MENU:SEARCH_BACK + + C-r, ? + Suche rückwärts +
+MENU:SEARCH_NEXT + + n + Suche weitere Übereinstimmung
+MENU:SEARCH_PREV + + N + Suche frühere Übereinstimmung
+

Eingabezeile-Bearbeitungs-Modus

+
+ LINEEDIT:FORWARD + + C-f, RIGHT + + Bewege Cursor vorwärts +
+LINEEDIT:BACK + + C-b, LEFT + + Bewege Cursor rückwärts +
+LINEEDIT:BS + + C-h, BKSPC + + Vorheriges Zeichen löschen +
+LINEEDIT:DEL + + C-d + + Aktuelles Zeichen löschen +
+LINEEDIT:KILL_AFTER + + C-k + + Lösche alles nach dem Cursor +
+LINEEDIT:KILL_BEFORE + + C-u + + Lösche alles vor dem Cursor +
+LINEEDIT:TOP + + C-a + + Gehe zum Zeilenanfang +
+LINEEDIT:BOTTOM + + C-e + + Gehe zum Zeilenende +
+LINEEDIT:PREV + + C-p, UP + + Hole den vorherigen Chronik-Eintrag +
+LINEEDIT:NEXT + + C-n, DOWN + + Hole den nächsten Chronik-Eintrag +
+LINEEDIT:COMPLETE + + TAB, SPC + + Versuche, den Dateinamen zu komplettieren +
+LINEEDIT:EDITOR + + C-o + + Bearbeite mit externem Editor +
+LINEEDIT:ACCEPT + + RET + + Eingabezeile übernehmen +
+ + +
+

+ Bedienung per Maus +

+

+ Wenn w3m mit Mausfunktionen kompiliert wurde und Sie das Programm entweder in einer Konsole mit GPM oder in einem X-Terminal-Emulator starten, ist ein Navigieren mit der Maus möglich. (Im Falle von rxvt müssen Sie die Umgebungsvariable TERM mit xterm oder kxterm belegen.) +

+

Die Datei README.mouse erklärt, wie die Bedienung per Maus an eigene Vorlieben angepasst werden kann. +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Handlung + Beschreibung +
+ Linksklick + +Zuerst:
Der Cursor wird an die Mauszeigerposition versetzt.
Dann:
Dem Hyperlink, auf dem der Cursor momentan steht und auf den sich der Mauszeiger richtet, wird gefolgt. +
+ Mittelklick + + Zurück zum vorherigen Puffer. +
+ Rechtsklick + + Öffne Menü. Sie können Menüpunkte durch Anklicken auswählen. +
+ Linksziehen + + Dokument scrollen. Standardmäßig wird das Dokument im Fenster verschoben. Ein Verschieben des Fensters über dem stehenden Dokument erreichen Sie über den Einstellungs-Dialog. +
+
+

+ Lokale CGI-Skripte +

+

+ w3m ist in der Lage, CGI-Skripte direkt laufen zu lassen. Dies bedeutet, dass sich das Programm wie ein HTTP-Server verhält und das CGI-Skript ausführt und dessen Ausgabe anzeigt. Beispielsweise wurden die Lesezeichen-Registrierung und der Verzeichnis-Browser als lokale CGI-Skripte programmiert. Darüber hinaus kann w3m durch solche Skripte als Schnittstelle zum Einholen von Daten aller Art fungieren. +

+

+ Aus Sicherheitsgründen kommen für von w3m benutzte CGI-Skripte nur folgende Verzeichnisse in Frage: +

+
    +
  • + Das Verzeichnis, in dem w3m-bezogene Dateien abgelegt sind (typischerweise /usr/local/lib/w3m). Auf dieses Verzeichnis kann mit der Variblen $LIB referenziert werden. +
  • +
  • + Das Verzeichnis /cgi-bin/. Sie können /cgi-bin/ im Feld Verzeichnis für ausführbare Skripte des Einstellungs-Dialogs jedem gewünschten Verzeichnis zuordnen. Mehrere Pfade lassen sich durch Doppelpunkt getrennt angeben, also in der Form /usr/local/cgi-bin:/home/aito/cgi-bin. Es wird davon abgeraten, das aktuelle Verzeichnis hier mitaufzunehmen. Zum Zugriff auf Skripte im Verzeichnis /cgi-bin/ erwartet w3m eine URL folgender Art: +
  • +
    + w3m -o cgi_bin=/path/to/cgi-bin file:/cgi-bin/script.cgi
    +
    +
+

+ Das CGI-Skript kann zur Steuerung von w3m die spezielle Kopfzeile w3m-control: enthalten. Darin können alle Funkionen (siehe README.func) eingetragen sein. Die angegebene Funktion wird aufgerufen, nachdem das Dokument angezeigt wird. Beispielsweise, wird eine Skriptausgabe +

+
+Content-Type: text/plain
W3m-control: BACK +
+

+ eine leere Seite anzeigen und den Puffer sofort löschen. Dies ist nützlich, wenn es nicht gewünscht ist, die Seite nach Aufrufen des Skriptes anzuzeigen. Das nächste Beispiel +

+
+Content-Type: text/plain
W3m-control: DELETE_PREVBUF contents..... +
+

+ führt zum Übergehen des aktuellen Puffers. +

+

+ Jede w3m-control-Kopfzeile kann nur eine Funktion aufrufen. Jedoch können Sie im Kopfteil einer HTTP-Kommunikation mehr als eine w3m-control-Anweisung hinterlegen. Überdies ist es möglich, die GOTO-Funktion mit einem Argument aufzurufen: +

+
+Content-Type: text/plain
W3m-control: GOTO http://www.example.org/ +
+

+ Sie bewirken damit das gleiche wie mit der Anweisung Location: im Kopfteil: +

+
+Content-Type: text/plain
Location: http://www.example.org/ +
+

+ Beachten Sie, dass diese Anweisung wirkungslos ist, wenn das CGI-Skript durch einen HTTP-Server angesprochen wird. +

+ + diff --git a/doc-de/README.func b/doc-de/README.func new file mode 100644 index 0000000..cb175db --- /dev/null +++ b/doc-de/README.func @@ -0,0 +1,150 @@ +ABORT Sofort beenden +ACCESSKEY Öffne Zugangstasten-Menü +ADD_BOOKMARK Lege für aktuelle Seite Lesezeichen an +ALARM Alarm einrichten +BACK Schließe aktuellen Puffer und kehre zu dem im Stapel darunterliegenden zurück +BEGIN Gehe zur ersten Zeile +BOOKMARK Lesezeichen ansehen +CENTER_H Um Cursor herum horizontal zentrieren +CENTER_V Um Cursor herum vertikal zentrieren +CHARSET Ändere die Zeichenkodierung für das aktuelle Dokument +CLOSE_TAB Schließe Reiter +CLOSE_TAB_MOUSE Schließe Reiter bei Mauszeiger +COMMAND Rufe w3m Funktion(en) auf +COOKIE Cookie-Liste ansehen +CURSOR_TOP Cursor auf die höchste Zeile bewegen +CURSOR_MIDDLE Cursor auf die mittlere Zeile bewegen +CURSOR_BOTTOM Cursor auf die unterste Zeile bewegen +DEFAULT_CHARSET Ändere die Voreinstellung für die Zeichenkodierung +DEFINE_KEY Definiere eine Verbindung zwischen einer Tastenkombination und einem Kommando +DELETE_PREVBUF Lösche vorherigen Puffer (hauptsächlich für lokale CGI-Skripte) +DICT_WORD Führe eine Wörterbuch-Funktion aus (siehe README.dict) +DICT_WORD_AT Benutze Wörterbuch für Wort unter Cursor +DISPLAY_IMAGE Starte das Laden und die Erstellung von Bildern erneut +DOWN Scrolle den Anzeigebereich eine Zeile abwärts +DOWNLOAD Dokument-Quellcode speichern +DOWNLOAD_LIST Die Übersicht heruntergeladener Dateien zeigen +EDIT Bearbeite lokales Quelldokument +EDIT_SCREEN Bearbeite eine Kopie des verarbeiteten Dokuments +END Gehe zur letzten Zeile +EXEC_SHELL Führe Shell-Befehl aus und zeige Ausgabe an +EXIT Sofort beenden +EXTERN Verwende externen Browser zur Anzeige +EXTERN_LINK Verwende externen Browser zur Anzeige des Linkziels +FRAME Wechsle zwischen Kennung und Umsetzung von HTML-Frames +GOTO Öffne angegebenes Dokument in neuem Puffer +GOTO_HOME Zurück zur Startseite (die Variablen HTTP_HOME oder WWW_HOME spezifiziert wurden) +GOTO_LINE Gehe zur angebenen Zeile +GOTO_LINK Folge dem aktuellen Hyperlink in neuem Puffer +GOTO_RELATIVE Gehe zu relativer Adresse +HELP Zeige Hilfe-Übersicht +HISTORY Chronik aufgesuchter Dokumente +INFO Zeige Informationen über dieses Dokument +INTERRUPT w3m zum Hintergrundprozess machen +ISEARCH Inkrementelle Suche vorwärts +ISEARCH_BACK Inkrementelle Suche rückwärts +LEFT Anzeigebereich um eine Spalte nach links verschieben +LINE_BEGIN Gehe zum Zeilenanfang +LINE_END Gehe zum Zeilenende +LINE_INFO Zeige aktuelle Position im Dokument an +LINK_BEGIN Gehe zum ersten Hyperlink +LINK_END Gehe zum letzten Hyperlink +LINK_MENU Öffne Menü mit den Link-Elementen +LIST Zeige alle referenzierten URLs +LIST_MENU Öffne Menü mit aufsuchbaren Hyperlinks +LOAD Öffne lokale Datei in einem neuen Puffer +MAIN_MENU Öffne Menü +MARK Setze/Lösche Markierung +MARK_MID Wandle Nachrichten-ID-artige Zeichenketten um in Hyperlinks +MARK_URL Wandle URL-artige Zeichenketten um in Hyperlinks +MARK_WORD Wandle aktuelles Wort in Hyperlink um +MENU Öffne Menü +MENU_MOUSE Öffne Menü beim Mauszeiger +MOUSE_TOGGLE Schalte Mausbedienung an oder ab +MOVE_DOWN Cursor abwärts +MOVE_DOWN1 Cursor abwärts; am Rand gleitend bewegen +MOVE_LEFT Cursor nach links +MOVE_LEFT1 Cursor nach links; am Rand gleitend bewegen +MOVE_LIST_MENU Öffne Menü mit vorhandenen Hyperlinks +MOVE_MOUSE Cursor auf Mauszeigerposition setzen +MOVE_RIGHT Cursor nach rechts +MOVE_RIGHT1 Cursor nach rechts; am Rand gleitend bewegen +MOVE_UP Cursor aufwärts +MOVE_UP1 Cursor aufwärts; am Rand gleitend bewegen +MSGS Zeige Fehlermeldungen an +NEW_TAB Öffne neuen Reiter (mit aktuellem Dokument) +NEXT Schalte zum nächsten Puffer +NEXT_DOWN Gehe abwärts zum nächsten Hyperlink +NEXT_HALF_PAGE Scrolle eine halbe Seite abwärts +NEXT_LEFT Gehe zum nächsten Hyperlink links +NEXT_LEFT_UP Gehe zum nächsten Hyperlink links oder oberhalb +NEXT_LINK Gehe zum nächsten Hyperlink +NEXT_MARK Gehe zur nächsten Markierung +NEXT_PAGE Eine Seite abwärts +NEXT_RIGHT Gehe zum nächsten Hyperlink rechts +NEXT_RIGHT_DOWN Gehe zum nächsten Hyperlink rechts oder unterhalb +NEXT_TAB Schalte zum nächsten Reiter +NEXT_UP Gehe zum nächsten Hyperlink oberhalb +NEXT_VISITED Gehe zum nächsten besuchten Hyperlink +NEXT_WORD Gehe zum nächsten Wort +NOTHING Tue nichts +NULL Tue nichts +OPTIONS Zeige Einstellungen für Änderungen +PEEK Zeige aktuelle Adresse an +PEEK_IMG Zeige Adresse des Bildes +PEEK_LINK Zeige Zieladresse +PIPE_BUF Leite aktuellen Pufferinhalt einem Shell-Befehl zu und zeige Ausgabe an +PIPE_SHELL Führe Shell-Befehl aus und zeige Ausgabe an +PREV Schalte zum vorherigen Puffer +PREV_HALF_PAGE Scrolle eine halbe Seite aufwärts +PREV_LINK Gehe zum vorangegangen Hyperlink +PREV_MARK Gehe zur vorherigen Markierung +PREV_PAGE Eine Seite aufwärts +PREV_TAB Schalte zum vorherigen Reiter +PREV_VISITED Gehe zum vorherigen besuchten Hyperlink +PREV_WORD Gehe zum vorherigen Wort +PRINT Speichere verarbeitetes Dokument +QUIT Mit Bestätigungsfrage beenden +READ_SHELL Führe Shell-Befehl aus und zeige Ausgabe an +REDO Den letzten Rücknahmebefehl zurücknehmen +REDRAW Bildschirmanzeige neu aufbauen +REG_MARK Zu einem Muster passenden Zeichenfolgen überall markieren +REINIT Konfigurationsdatei erneut laden +RELOAD Aktuelles Dokument erneut laden +RESHAPE Dokument nochmals verarbeiten +RIGHT Anzeigebereich um eine Spalte nach rechts verschieben +SAVE Dokument-Quellcode speichern +SAVE_IMAGE Speichere Bild +SAVE_LINK Speichere Ziel des Hyperlinks +SAVE_SCREEN Speichere verarbeitetes Dokument +SEARCH Suche vorwärts +SEARCH_BACK Suche rückwärts +SEARCH_FORE Suche vorwärts +SEARCH_NEXT Setze Suche vorwärts fort +SEARCH_PREV Setze Suche rückwärts fort +SELECT Zeige Puffferstapel-Übersicht +SELECT_MENU Öffne Puffferstapel-Menü +SETENV Setze Umgebungsvariable +SET_OPTION Setze Option +SHELL Führe Shell-Befehl aus und zeige Ausgabe an +SHIFT_LEFT Anzeigebereich nach links versetzen +SHIFT_RIGHT Anzeigebereich nach rechts versetzen +SOURCE Wechsle zwischen HTML-Wiedergabe und -Verarbeitung +STOP_IMAGE Bilder nicht mehr laden und anzeigen +SUBMIT Formular übermitteln +SUSPEND w3m zum Hintergrundprozess machen +TAB_GOTO Öffne das angegebene Dokument in einem neuen Reiter +TAB_GOTO_RELATIVE Öffne relative Adresse in einem neuen Reiter +TAB_LEFT Einen Reiter weiter nach links gehen +TAB_LINK Folge dem aktuellen Hyperlink in einem neuen Reiter +TAB_MENU Öffne das Reiter-Auswahl-Menü +TAB_MOUSE Wähle per Maus Reiter aus +TAB_RIGHT Einen Reiter weiter nach rechts gehen +UNDO Nimm die letzte Cursorbewegung zurück +UP Scrolle den Anzeigebereich eine Zeile aufwärts +VERSION Zeige die Version von w3m an +VIEW Wechsle zwischen HTML-Wiedergabe und -Verarbeitung +VIEW_BOOKMARK Lesezeichen ansehen +VIEW_IMAGE Zeige Bild in Betrachter +WHEREIS Suche vorwärts +WRAP_TOGGLE Wechsle zwischen umlaufendem und nicht-umlaufendem Suchen diff --git a/doc-de/w3m.1 b/doc-de/w3m.1 new file mode 100644 index 0000000..7deb203 --- /dev/null +++ b/doc-de/w3m.1 @@ -0,0 +1,334 @@ +.nr N -1 +.nr D 5 +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH W3M 1 2016\-08\-06 "w3m 0.5.3" +.SH NAME +w3m \- Ein auf Texte ausgerichtetes Programme zur Anzeige von Dateien und +Datenströmen sowie zum Browsen im Internet +.SH SYNOPSIS +w3m [OPTION]... [ \fIDatei\fP | \fIURL\fP ]... +.SH BESCHREIBUNG +.\" This defines appropriate quote strings for nroff and troff +.ds lq " +.ds rq " +.if t .ds lq `` +.if t .ds rq '' +.if \nN==0 .nr N 10 +.\" Just in case these number registers aren't set yet... +.if \nD==0 .nr D 5 + +\fIw3m\fP ist ein textorientierter Browser, der lokale oder im Internet +liegende Seiten sowie andere Dokumente anzeigen kann. Er verarbeitet +HTML\-Tabellen und Frames, nicht jedoch JavaScript und Cascading Style +Sheets. \fIw3m\fP kann auch als Textbetrachter (Pager) dienen. Entsprechende +Dateien werden beim Aufruf als Argument angegeben oder an der +Standardeingabe als Datenstrom übernommen. Mit \fIw3m\fP kann sich der Benutzer +überdies durch Verzeichnisbäume bewegen. + +\fIw3m\fP arbeitet mit Reitern (Registerkarten, Tabs) und Puffern, was einen +einfachen Wechsel zwischen geladenen Inhalten erlaubt. Wenn die Erweiterung +w3m\-img installiert ist, zeigt \fIw3m\fP auch in die Seiten eingebundene +Grafiken an. Wann immer die Umsetzung von HTML\-Inhalten durch \fIw3m\fP Ihren +Ansprüchen nicht genügt, reicht ein einzelnes Kommando, um die Ziel\-URL +einem grafischen Browser zu übergeben. + +Um nach Start des Programms Hilfe zu den Optionen zu erhalten, drücken Sie +\(lqH\(rq. + +.SH ARGUMENTE + +Wenn das Programm mit einem oder mehreren Argumenten aufgerufen wird, +behandelt \fIw3m\fP diese Ziele je nach Typ des Inhalts. Bei Daten aus dem +Internet verwertet \fIw3m\fP die Angabe in den HTTP\-Kopfzeilen. Bei relativen +oder absoluten Pfaden in Dateisystemen richtet sich \fIw3m\fP nach dem +Dateinamen. + +Ohne Argument aufgerufen, erwartet \fIw3m\fP unformatierte Daten aus der +Standardeingabe, es sei denn, der Benutzer hat einen anderen MIME\-Typ +angegeben. + +Sollte \fIw3m\fP weder ein Zielobjekt vorliegen noch ein Ausweichen vorgesehen +sein (beispielsweise durch die Option \fB\-v\fP, siehe unten), gibt das Programm +nur Benutzungshinweise aus. +.SH OPTIONEN +Vor Befehlszeilen\-Optionen steht das \(lq\-\(rq Zeichen einzeln, ihnen kann +ein Argument folgen. +.SS "Allgemeine Optionen" +.TP +\fB\-B\fP +starte mit einer Ansicht aller Lesezeichen (wenn kein anderes Zielobjekt +angegeben ist) +.TP +\fB\-M\fP +monochrome Anzeige +.TP +\fB\-no\-mouse\fP +Mausfunktion aus +.TP +\fB\-num\fP +zeige Zeilennummern an +.TP +\fB\-N\fP +verteile die übergebenen Argumente unter Reitern. Standardmäßig würde ein +Stapel von Puffern benutzt +.TP +\fB\-ppc \fP\fInum\fP +Weite von \fInum\fP Bildpunkten pro Zeichen, einstellbar von 4.0 bis 32.0, +standardmäßig 8.0. Größere Werte machen Tabellen enger. (Implementierung +unklar) +.TP +\fB\-ppl \fP\fInum\fP +Höhe von \fInum\fP Bildpunkten pro Linie, einstellbar von 4.0 bis +64.0. (Implementierung unklar) +.TP +\fB\-title\fP, \fB\-title=TERM\fP +verwende den Puffernamen auch als Titel des Terminalfensters. Soweit TERM +eingegeben wurde, konfiguriert dieser Wert den Stil des Titels +.TP +\fB\-v\fP +begrüße den Benutzer mit einer eingebauten Seite (wenn kein anderes +Zielobjekt angegeben ist) +.TP +\fB\-W\fP +wechsle zwischen umlaufendem und nicht umlaufendem Suchen +.TP +\fB\-X\fP +initialisiere nach Verlassen des Programms das Terminal nicht neu +.TP +\fB+\fP\fIZahl\fP +gehe zu Zeile \fIZahl\fP; wirkt nur, wenn \fIZahl\fP größer ist als die im +Terminal verfügbare Zeilenzahl +.SS Browser\-Optionen +.TP +\fB\-cols \fP\fInum\fP +bei für die Standardausgabe bestimmten Inhalten, nimm bei der Umsetzung von +HTML eine Länge von \fInum\fP Zeichen pro Zeile +.TP +\fB\-cookie\fP, \fB\-no\-cookie\fP +verwende gespeicherte Cookies und akzeptiere neue. Oder tue weder das eine +noch das andere +.TP +\fB\-F\fP +verarbeite Frames +.TP +\fB\-graph\fP, \fB\-no\-graph\fP +bei der Umsetzung von Tabellen und Frames grafische Zeichen verwenden oder +nicht verwenden +.TP +\fB\-header \fP\fIZeichenkette\fP +füge \fIZeichenkette\fP der HTTP(S)\-Anfrage an. Diese muss der Kopfdaten\-Syntax +\f(CWVariable: Wert\fP entsprechen +.TP +\fB\-m\fP +stelle eine Usenet\-Nachricht entsprechend \(lqContent\-type\(rq in den +Kopfdaten dar +.TP +\fB\-no\-proxy\fP +verwende keinen Proxy +.TP +\fB\-post \fP\fIDatei\fP +verwende die Methode POST, um in \fIDatei\fP hinterlegte Daten +hochzuladen. Hierbei wird die Syntax \f(CWvar1=wert1[&var2=wert2]…\fP erwartet +.TP +\fB\-4\fP +nur IPv4. Entspricht dns_order=4 in der Konfigurationsdatei +.TP +\fB\-6\fP +nur IPv6. Entspricht dns_order=6 in der Konfigurationsdatei +.SS Textbetrachter\-Optionen +.TP +\fB\-l \fP\fInum\fP +Anzahl der Zeilen, die zwischengespeichert werden, wenn Text per +Standardeingabe übergeben wurde. (Voreinstellung ist 10000) +.TP +\fB\-r\fP +verarbeite spezielle Escape\-Zeichen (beispielsweise ANSI\-Escape\-Zeichen oder +nroff\-Rückwärtsschritte für fette und unterstrichene Zeichen) nicht, sondern +zeige sie stattdessen mittels Caret\-Notation. +.TP +\fB\-s\fP +mehrere leere Zeilen werden bis auf eine gelöscht +.TP +\fB\-t\fP \fInum\fP +berücksichtige Tab\-Zeichen so, dass Spalten mit einer Weite von \fInum\fP +Zeichen entstehen +.SS "Datenart\- und Datenkodierungs\-Optionen" +.TP +\fB\-I \fP\fIcharset\fP +zu benutzende Zeichenkodierung für erhaltene Daten +.TP +\fB\-O \fP\fIcharset\fP +zu benutzende Zeichenkodierung für auszugebende Daten +.TP +\fB\-T \fP\fITyp\fP +zu benutzender MIME\-Typ für erhaltenen Daten +.SS "Optionen zur Datenausgabe, mit sofortigem Verlassen des Programms" +.TP +\fB\-dump\fP +leite die verarbeitete Seite der Standardausgabe zu. Die Option gilt als +gesetzt, wenn der Aufruf beinhaltet, dass die Ausgabe in eine Datei +umgeleitet oder einem weiteren Programm übergeben wird. +.TP +\fB\-dump_source\fP +leite den Seitenquelltext der Standardausgabe zu +.TP +\fB\-dump_head\fP +leite die Antwort einer HEAD\-Anfrage für eine URL der Standardausgabe zu +.TP +\fB\-dump_both\fP +leite Antwort auf HEAD\-Anfrage und Seitenquelltext der Standardausgabe zu +.TP +\fB\-dump_extra\fP +leite Antwort auf HEAD\-Anfrage, Seitenquelltext und Extrainformation der +Standardausgabe zu +.TP +\fB\-help\fP +zeige eine Zusammenfassung verfügbarer Funktionen und Befehlszeilen\-Optionen +.TP +\fB\-show\-option\fP +zeige alle zur Konfiguration verfügbaren Optionen +.TP +\fB\-version\fP +gibt die Version von \fIw3m\fP aus +.SS "Optionen, die Standards für Einstellungen und Datenquellen außer Kraft setzen" +.TP +\fB\-bookmark \fP\fIDatei\fP +benutze anstelle der Standarddatei bookmark.html für Lesezeichen die Datei +\fIDatei\fP +.TP +\fB\-config \fP\fIDatei\fP +benutze \fIDatei\fP anstelle der Standardkonfigurationsdatei +.TP +\fB\-debug\fP +BITTE NICHT BENUTZEN +.TP +\fB\-o \fP\fIOption=Wert\fP +arbeite mit einer Konfiguration, bei der die Einstellung \fIOption\fP mit +\fIWert\fP belegt ist. Ohne \fIOption=Wert\fP gleichwertig mit \fB\-show\-option\fP +.TP +\fB\-reqlog\fP +Protokolliere Header der HTTP\-Kommunikation in Datei \f(CW~/.w3m/request.log\fP +.SH BEISPIELE +.SS "Verwendung als Textbetrachter" +.TP +zwei HTML\-Fragmente zusammengefügt anzeigen +.EX +$ cat header.html footer.html | w3m \-T text/html +.EE +.TP +zwei Dateien unter Reitern einander gegenüberstellen +.EX +$ w3m \-N config.old config +.EE +.SS "browser\-artige Verwendung" +.TP +zeige Internet\-Inhalt in monochromem Terminal +.EX +$ w3m \-M http://w3m.sourceforge.net +.EE +.TP +zeige eingebettete Grafiken an +.EX +$ w3m \-o auto_image=TRUE http://w3m.sourceforge.net +.EE +.TP +zeige Inhalt aus dem Usenet +.EX +$ w3m \-m nntp://news.aioe.org/comp.os.linux.networking +.EE +.TP +mit der POST\-Methode Daten für eine URL hochladen +.EX +$ w3m \-post \- http://example.com/form.php <<<'a=0&b=1' +.EE +.SS "filterartige Verwendung" +.TP +konvertiere eine HTML\-Datei in reinen Text von bestimmter Zeilenlänge +.EX +$ w3m \-cols 40 foo.html > foo.txt +.EE +.TP +übergib den Bestand an Lesezeichen mit zugehörigen Links als reinen Text einer Datei. +.EX +$ w3m \-B \-o display_link_number=1 > out.txt +.EE +.TP +Konvertierung in ein anderes Dateiformat und eine andere Zeichenkodierung +.EX +$ w3m \-T text/html \-I EUC\-JP \-O UTF\-8 < foo.html > foo.txt +.EE +.SS "starte ohne Eingabedaten" +.TP +begrüße den Benutzer mit einer eingebauten Seite +.EX +$ w3m \-v +.EE +.\".SH Errors +.SH UMGEBUNGSVARIABLEN +\fIw3m\fP weicht auf den Wert der Umgebungsvariablen WWW_HOME aus, wenn das +Programm ohne Zielobjekt aufgerufen wurde. +.SH DATEIEN +.TP +\f(CW~/.w3m/bookmark.html\fP +voreingestellte Datei für Lesezeichen +.TP +\f(CW~/.w3m/config\fP +benutzerdefinierte Konfigurationsdatei; gegenüber \f(CW/etc/w3m/config\fP +vorrangig +.TP +\f(CW~/.w3m/cookie\fP +Ablageort für Cookies; wird beim Verlassen des Programms geschrieben und +beim Aufruf gelesen +.TP +\f(CW~/.w3m/history\fP +Chronik besuchter Seiten und URLs +.TP +\f(CW~/.w3m/keymap\fP +benutzerdefinierte Tastaturbelegung, setzt standardmäßige Belegung außer +Kraft +.TP +\f(CW~/.w3m/mailcap\fP +Konfigurationsdatei für Programme zur externen Anzeige +.TP +\f(CW~/.w3m/menu\fP +benutzerdefiniertes Menü; vorrangig gegenüber Standardmenü +.TP +\f(CW~/.w3m/mime.types\fP +Datei mit MIME\-Typen +.TP +\f(CW~/.w3m/mouse\fP +benutzerdefinierte Mauseinstellungen +.TP +\f(CW~/.w3m/passwd\fP +Datei mit Nutzerkonto\-Passwort\-Liste +.TP +\f(CW~/.w3m/pre_form\fP +.\" .TP +.\" .I $~/.w3m/urimethodmap +.\" ??? +enthält vordefinierte Werte für wiederkehrende HTML\-Formulare +.SH "SIEHE AUCH" +README und Beispieldateien finden Sie im Dokumentationsverzeichnis Ihrer +\fIw3m\fP\-Installation. Aktuelle Informationen zu \fIw3m\fP finden Sie auf der +Projektseite +.UR http://w3m.sourceforge.net +unter +.UE +.SH DANKSAGUNGEN +In \fIw3m\fP ist Programmcode verschiedener Quellen eingeflossen. Benutzer +haben mit Korrekturen (Patch\-Dateien) und Vorschlägen zur Verbesserung des +Programms beigetragen. +.SH AUTOR +.UR aito@fw.ipsj.or.jp +Akinori ITO +.UE +Die deutsche Übersetzung wurde 2016 von +.UR markus.hiereth@freenet.de +Markus Hiereth +.UE +erstellt. + diff --git a/doc-jp/FAQ.html b/doc-jp/FAQ.html index e16a986..0e38158 100644 --- a/doc-jp/FAQ.html +++ b/doc-jp/FAQ.html @@ -3,25 +3,25 @@ W3M FAQ -

w3m˴ؤɤʹ(Ǥ)Ȥ

+

w3mに関して良く聞かれる(であろう)質問とその答え

-ƣ §
+伊藤 彰則
aito@fw.ipsj.or.jp
-

ŪʤȡˡưĶ

+

一般的なこと,入手方法,動作環境

-
``w3m''ϲɤΤǤ -
֤֤塼󤨤פޤϡ֤֤塼꡼פǤ -``w3m''Ƚ񤤤ƥץƥΥɥɤϤޤ +
``w3m''は何と読むのですか? +
「だぶりゅーさんえむ」または「だぶりゅーすりーえむ」です. +``w3m''と書いてプテラノドンと読んだりはしません.

-

ɤ``w3m''Ȥ̾ʤΡ -
WWW-wo-Miru(WWW򸫤)դޤ +
どうして``w3m''という名前なの? +
WWW-wo-Miru(WWWを見る)から付けました.

-

ɤĶưΡ -
ŪUNIXưޤǿǤޤϤ˶ᤤСưǧƤΤϡ +
どういう環境で動くの? +
一般的なUNIXで動きます.最新版またはそれに近いバージョンで動作が確認されているのは,
 SunOS 4.1.x
@@ -39,175 +39,175 @@ MS-DOS with DJGPP and WATT32 packet driver
 MacOS X Server
 MacOS X 10.1, 10.2
 
-ʤɤǤ¾ΤΤǤ⡤᥸㡼UNIXƥʤưǤ礦 +などです.その他のものでも,メジャーなUNIXシステムなら動くでしょう.

-version 990226 顤OS/2 ư褦Ǥ +version 990226 から,OS/2 で動くようです.

-version 990303 顤Windows+cygwin32 ư褦ˤʤޤ +version 990303 から,Windows+cygwin32 で動くようになりました.

-

Windows 9x/NT ǤưʤΡ -
CygwinȤưޤ +
Windows 9x/NT では動かないの? +
Cygwinを使えば動きます.

-

w3m˴ؤϤɤΡ +
w3mに関する情報はどこから手に入るの?
-http://w3m.sourceforge.net/ w3m Υڡ -ޤ +http://w3m.sourceforge.net/に w3m のページ +があります.

-

ǿǤϤɤΡ +
最新版はどこから手に入るの?
-http://prdownloads.sourceforge.net/w3m/ޤ +http://prdownloads.sourceforge.net/w3m/から手に入ります.

-

w3m ˴ؤMLϤޤ󤫡 +
w3m に関するMLはありませんか?
-ȯԸML(w3m-dev(ܸ)w3m-dev-en(Ѹ))ޤܤ -w3m Υڡ -ȯϢʳ -ȤˤϡԤ -ľܥ᡼뤫뤤 -w3m BBS˽񤤤Ƥ -

-

ХʥۤϤʤΡ +開発者向けML(w3m-dev(日本語)とw3m-dev-en(英語))があります。詳しくは +w3m のページ +をご覧ください。開発関連以外で +何か言いたいことがある場合には,作者に +直接メールするか,あるいは +w3m BBSに書いてください. +

+

バイナリ配布はしないの?
-ĤΥץåȥեˤĤơw3mΥХʥۤä -äƤ륵Ȥޤܤ +いくつかのプラットフォームについて,w3mのバイナリ配布をやって +くださっているサイトがあります.詳しくは -w3mΥڡ򤴤󤯤 +w3mのページをごらんください.
-

ѥȥ󥹥ȡ

-äʤ :-) +

コンパイルとインストール

+特に問題なし :-) -

ץ󡤥ޥɡȤ

+

オプション,コマンド,使いかた

-
w3m Ϥ顤ɽ˽ä㤤ޤΡ -
w3m ڡǤǤ顤ꤷʤǵư -Τޤ޽λޤɽˤϡ +
w3m と入力したら,何も表示せずに終わっちゃいました.何が悪いの? +
w3m はページャです.ですから,何も指定しないで起動すれば +そのまま終了します.何か表示させたい場合には,
    -
  1. ˥ե̾URL񤯡 -
  2. ɸϤ˲Ƥ롥 -
  3. -B ץ(֥åޡɽ)Ĥ롥 -
  4. Ķѿ HTTP_HOME WWW_HOME ˡڡURLƤ +
  5. 引数にファイル名かURLを書く. +
  6. 標準入力に何か入れてあげる. +
  7. -B オプション(ブックマーク表示)をつける. +
  8. 環境変数 HTTP_HOME か WWW_HOME に,見たいページのURLを入れておく.
-Τɤ줫äƤ +のどれかをやってください.

-

w3mư顤̤ùˤʤäƤޤޤɤơ -
w3m򥫥顼ɽǥѥ뤹ȡǽطʿ -ʸˤʤޤΤᡤդطʤˤƤ֤ -w3mưȡʤʤޤ

-ϡΤ褦ˤƿꤷޤ +

w3mを起動したら,画面が真っ黒になってしまいました.どうして? +
w3mをカラー表示の設定でコンパイルすると,最初は背景色が白で +文字色が黒の設定になります.そのため,ふだん背景を黒にしている状態で +w3mを起動すると,字が見えなくなります.

+こういう場合は,次のようにして色を設定します.

    -
  • w3m -M w3m ư⡼ɤɽ롥 -
  • "o" ޥɤǥץ̤ˤ롥 -
  • 顼ɽ⡼ɤONˤŬʸǡ -[OK]򤹤롥 +
  • w3m -M で w3m を起動し,白黒モードで表示する. +
  • "o" コマンドでオプション設定画面にする. +
  • カラー表示モードをONにし,適当な文字色を選んで, +[OK]を選択する.

-

顼ɽ򤵤ˤϤɤΡ -
ѥˡconfigure Υץ --disable-color ꤷ -Х顼ɽǤ褦ˤʤޤ +
カラー表示をさせるにはどうするの? +
コンパイル時に,configure のオプションに --disable-color を指定しな +ければカラー表示ができるようになります。

-

ɽɡ -
ˡ3Ĥޤ +
白黒で表示したいんだけど? +
方法は3つあります.
    -
  1. 嵭μ 1 ƥѥ뤹롥 -
  2. -M ץĤƵư롥 -
  3. "o" ޥɤǥץѥͥư顼ɽOFFˤ롥 +
  4. 上記の質問に 1 と答えてコンパイルする. +
  5. -M オプションをつけて起動する. +
  6. "o" コマンドでオプション設定パネルを起動し,カラー表示をOFFにする.

-

̤Ϥ߽Фʬ򸫤ˤϡ -
̤ü˰ưС˹碌ƲΤޤ -ޤ">""<"DzΤ򤺤餹ȤǤޤ -

-

ư鷺路 -
TABǼΥ󥫡˰ưΤǡLynxȻФǻȤǤ礦 -ޤC-uESC TABΥ󥫡ޤ -

-

NetscapeǤ֤ʸˤʤäƤʬw3m ǤϹޤޡʤ -
w3mϡ<FONT COLOR="..">ˤʸοˤбƤޤ -бԲǽǤϤʤǤʸοطʤƱˤʤäꤷƸŤ餯 -ʤΤʤΤǡޤб뵤ˤʤޤ -

-

󥫡//formοѤˤϡ -
990309Ǥ顤ץڤ꤫褦ˤʤޤ"o" ޥ -ѥͥɽʿǤɽطʤƱ -ʤäƲ⸫ʤȤˤϡ-M ץɽˤƤ -Ȥ褤Ǥ礦 -

-

Ķѿ EDITOR ꤷɡʤΤϤʤ -
"o"ޥɤǥץɽƤߤƤ -ǥιܤ˲񤤤ƤС줬ͥ褵ޤ -Ķѿϡˤƥץ -Ƥ -

-

URLϤǤˤϡ -
- C-c ޤ +
画面をはみ出した部分を見るには? +
カーソルを画面の端に移動させれば,それに合わせて画面全体がずれます. +また,">"と"<"で画面全体をずらすことができます. +

+

カーソル移動がわずらわしい. +
TABで次のアンカーに移動するので,Lynxと似た感覚で使えるでしょう. +また,C-uおよびESC TABで前のアンカーに戻ります. +

+

Netscapeでは赤い文字になっている部分が,w3m では黒いまま.なぜ? +
w3mは,<FONT COLOR="..">による文字の色指定には対応していません. +対応は不可能ではないですが,文字の色が背景と同じになったりして見づらく +なるのがオチなので,あまり対応する気になりません. +

+

アンカー/画像/formの色を変えるには? +
990309版から,オプションで切りかえられるようになりました."o" コマンド +で設定パネルを表示させ,好きな色を選んでください.字の表示色が背景と同じに +なって何も見えないという場合には,-M オプションで白黒表示にしてから設定を +するとよいでしょう. +

+

環境変数 EDITOR を設定したけど,効かないのはなぜ? +
"o"コマンドでオプションを表示させてみてください. +エディタの項目に何か書いてあれば,それが優先されます. +環境変数を効かせたい場合は,この欄を空白にしてオプションを +更新してください. +

+

サーチやURL入力を途中でやめるには? +
+ C-c で戻ります.
-

WWWȤμ

+

WWWを使う場合の質問

-
formϤˤϤɤΡ -
formʬϡ̾(ޤȿž)ɽƤޤΤǡ -˥äƤäƥ꥿򲡤ޤȡ +
formに入力するにはどうするの? +
formの部分は,画面上で赤(または反転)で表示されていますので, +そこにカーソルを持っていってリターンを押します.すると,
    -
  • text ξϡ̺DzԤԤˤʤޤΤǡʸϤޤ -
  • radio, checkbox ξϡιܤФޤ -
  • textarea ξϡǥưޤΤǡʸϤϤޤ -ΤȤɬɽѴɤƱɤǥե¸Ƥ -
  • submit, reset ξϡformƤ/ꥢޤ +
  • text の場合は,画面最下行で入力待ちになりますので,文字を入力します. +
  • radio, checkbox の場合は,その項目が選ばれます. +
  • textarea の場合は,エディタが起動しますので,文章を入力します. +このとき,必ず表示用漢字コードと同じ漢字コードでファイルを保存してください. +
  • submit, reset の場合は,formの内容を送信/クリアします.
-
ʸɽ٤ɡ -
w3mHTMLʸ2ѥΤǡʸΤɤߤޤʤ -ɽǤޤNetscapeʤɤʸɤߤʤɽΤǡ -ɽ®褦˻פΤǤ礦 +
文書の表示が遅いんだけど? +
w3mはHTML文書を2パスで整形するので,文書全体を読みこまないと +表示ができません.Netscapeなどは文書を読みながら表示するので, +表示が速いように思えるのでしょう.

-

ɤʸ2ܤɤȤˡɤߤߤ®ʤʤɡ -
¾¿Υ֥饦Ȱ㤤w3mϥåäƤޤ -ΤᡤʸɤिӤWWWФʸžޤ⤷ǽʤ顤 -å奵ФѤȲŬǤϥץƱǤ +
一度読んだ文書を2度目に読んだときに,読みこみが速くならないんだけど? +
他の多くのブラウザと違い,w3mはキャッシュを持っていません. +そのため,文書を読むたびにWWWサーバから文書を転送します.もし可能なら, +キャッシュサーバを利用すると快適です.設定はプロキシの設定と同じです.

-

Υեľ¸ˡϤʤΡ -
'a' (Lynx Хɤξ 'd') ޤ ESC RETǥʸ -¸ޤ¸ ESC I Ǥ +
リンク先のファイルを直接保存する方法はないの? +
'a' (Lynx 風キーバインドの場合は 'd') または ESC RETでリンク先の文書を +保存します.画像を保存する場合は ESC I です.

-

ץϤɤΡ -
Ķѿ HTTP_proxy ꤹ뤫"o" ޥɤΥץѥͥ -ꤷޤ㤨 proxy.hogege.com ȤۥȤ 8000֥ݡȤ -Ѥ硤 +
プロキシの設定はどうするの? +
環境変数 HTTP_PROXY, HTTPS_PROXY, GOPHER_PROXY, FTP_PROXY を設定するか,"o" コマンドのオプション設定パネル +で設定します.例えば proxy.hogege.com というホストの 8000番ポートを +利用する場合,

     http://proxy.hogege.com:8000/
 

-ꤷޤ +と設定します.

-

֥饦ưȡw3mǤޤäƤޤޤ -Ȥʤޤ󤫡 -
"o"ޥɤѥͥɽ֥饦ιܤˡ㤨 +
外部ブラウザを起動すると,w3mが固まってしまいます. +何とかなりませんか? +
"o"コマンドで設定パネルを表示し,外部ブラウザの項目に,例えば

     netscape %s &
 

-Τ褦Ϥޤξ硤%s ʬ URL ֤äƥ֥饦ư -ޤ +のように入力します.この場合,%s の部分が URL に置きかわってブラウザが起動し +ます.

-

Υӥ塼ѤɡɤΡ -
Ǥϲ򸫤Τ xv Ȥ褦ˤʤäƤޤ -㤨 display Ѥϡ~/.w3m/mailcap ޤ /etc/mailcap ˼Τ -ʵҤޤ +
画像のビューアを変えたいんだけど,どうするの? +
初期設定では画像を見るのに xv を使うようになっていますが,これを +例えば display に変える場合は,~/.w3m/mailcap または /etc/mailcap に次のよ +うな記述を入れます.

 image/*; display %s
 

-Ʊ褦ˡ¾ΥפΥǡץꤹ뤳Ȥ -Ǥޤ +同じように,他のタイプのデータを処理するプログラムを指定することも +できます.

 image/*;                     display %s
@@ -218,19 +218,19 @@ application/x-dvi;           xdvi %s
 
-

¾

+

その他

-
եϤɤˤΡ -
~/.w3m ǥ쥯ȥβ config Ǥ -ץѥͥѹǤȵҤƤ륪ץͤ -Υեѹȡw3m εưĴǤޤ -ץ̾ͤǶڤäΤ 1 Ԥ 1 ȤĽ񤤤ꤷޤ -

-

~/.w3m β w3mXXXXXX Τ褦ʥե뤬󤢤뤱ɡ -
WWWФեɤǤȤˡŪ¸ -եǤ륭åեǤϤޤ -w3m λоõϤǤw3m۾ェλˤϻĤ -ȤޤϼǾäƤ +
設定ファイルはどこにあるの? +
~/.w3m ディレクトリの下の config です. +オプション設定パネルで変更できると記述されているオプションの値を +このファイルで変更すると,w3m の挙動を調整できます. +オプションの名前と値を空白で区切ったものを 1 行に 1 組ずつ書いて設定します. +

+

~/.w3m の下に w3mXXXXXX のようなファイルがたくさんあるけど,何? +
WWWサーバからファイルを読んでいるときに,それを一時的に保存する +ファイルです.いわゆるキャッシュファイルではありません. +w3m を終了すれば消去されるはずですが,w3mが異常終了した場合には残る +ことがあります.そういう場合は手で消してください.

diff --git a/doc-jp/HISTORY b/doc-jp/HISTORY index ce90974..af1248e 100644 --- a/doc-jp/HISTORY +++ b/doc-jp/HISTORY @@ -1,28 +1,28 @@ 2001/3/23 ============================================================== From: Hironori Sakamoto Subject: [w3m-dev 01807] Re: w3m-0.2.0 -* url.c USE_NNTP __EMX__ ǥѥǤʤ -* EWS4800 Ѥ patch (֤˹礤ޤǤ͡京) -* ssl_forbid_method ߤ #define USE_SSL #undef USE_SSL_VERIFY - ξν(rc.c url.c) - # hsaka24 ǥʥ󥹤˽ƤޤäΤǤ͡ - # ߤޤ -* rc.c ˰ ISO-2022-JP Τ - # źդ patch Ǥ뤫ɤ -* saveBufferDelNum del==TRUE λ":" 롣 -* main.c URL¸֤ν - # hsaka24 ǥʥ󥹤˽Ƥޤ +* url.c が USE_NNTP や __EMX__ でコンパイルできない。 +* EWS4800 用の patch (間に合いませんでしたね。坂根さん) +* ssl_forbid_method がらみで #define USE_SSL で #undef USE_SSL_VERIFY + の場合の処理。(rc.c と url.c) + # hsaka24 でアナウンスせずに修正を入れてしまったのが問題でしたね。 + # すみません。 +* rc.c に一部 ISO-2022-JP があるものを修正。 + # 添付の patch であたるかどうか… +* saveBufferDelNum で del==TRUE の時、":" 以前が2回削除される。 +* main.c の URL履歴を保存する位置の修正。 + # これも hsaka24 でアナウンスせずに修正を入れてました。 From: TSUCHIYA Masatoshi Subject: [w3m-dev 01810] deflate (was: w3m-0.2.0) -0.2.0 ˤ Content-encoding: deflate б뤿Υѥå [w3m-dev 01684] -ޤޤƤ褦ǤǤ http://cvs.m17n.org/~akr/diary/ -ϱǤޤǤ +0.2.0 には Content-encoding: deflate に対応するためのパッチ [w3m-dev 01684] +も含まれているようですが、これだけでは http://cvs.m17n.org/~akr/diary/ +は閲覧できませんでした。 From: Fumitoshi UKAI Subject: [w3m-dev 01808] Re: w3m-0.2.0 -GNU/Linux glibc 2.2Ϥ sin.ss_len ʤΤ -IPv6 ǥѥǤޤ +GNU/Linux で glibc 2.2系だと sin.ss_len がないので +IPv6 でコンパイルできません。 From: Hironori Sakamoto Subject: [w3m-dev-en 00399] Re: w3m-0.2.0 @@ -36,82 +36,82 @@ Subject: [w3m-dev-en 00399] Re: w3m-0.2.0 >> - private mailcap extension has an illegal name From: SATO Seichi -Subject: w3mɽˤХ -ʸȤ $* Ϥ Segmentation fault -ȯ褦Ǥ(̵̣ʸʤǤ) +Subject: w3mの正規表現検索におけるバグ +検索文字列として $* を渡すと Segmentation fault が +発生するようです。(全然無意味な文字列なんですが) 2001/3/22 ============================================================== From: Hironori Sakamoto Subject: [w3m-dev 01664] Re: Patch for anonymizer.com -HTTP(HTTPS)ξ URL -http:///: ... -ȤʤäƤ cleanupName() ƤФʤͤˤƤߤޤ +HTTP(HTTPS)の場合に URL が + http:///: ... +となっていれば cleanupName() を呼ばない様にしてみました。 From: Hironori Sakamoto Subject: [w3m-dev 01670] Re: w3m-0.1.11-pre-kokb24-test1 -Str.c strcpy/strncpy bcopy or memcpy ˤǤ -bcopy Ϥ memcpy Ϥ줹ΤϸˤȤƤ⡢Ȥꤢ -bcopy ֤Ȼפޤ -ĤǤˡsaveBufferDelNum ǰ '\0' ʤʤäƤХνǤ +Str.c の strcpy/strncpy を bcopy or memcpy にする件ですが、 +bcopy 系と memcpy 系を統一するのは後にするとしても、とりあえず全て +bcopy に置き換えた方がいいと思います。 +ついでに、saveBufferDelNum で一部 '\0' が扱えなくなっているバグの修正です。 From: TSUCHIYA Masatoshi Subject: [w3m-dev 01618] backend patch Subject: [w3m-dev 01671] backend patch for w3m-0.1.11-pre-kokb24-test1 -w3m Ūʥ饤ȤȤƯǽɲäѥåǤ +w3m を対話的なクライアントとして働く機能を追加するパッチです。 From: hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) Subject: [w3m-dev 01673] SEGV in append_frame_info() ->w3m/0.1.11-pre-kokb23-m17n-0.8 ȤäƤޤDer Angriff Υȥåץڡ ( ->http://i.am/goebbels/)ǡڡξ򸫤褦ȡ=ץ򲡤顢 ->Segmentation Fault Ƥޤޤ -ȤλŦޤm17n Ǥ˸¤ʤΤǡȤꤢн褷Ƥޤ +>w3m/0.1.11-pre-kokb23-m17n-0.8 を使っていますが、Der Angriff のトップページ ( +>http://i.am/goebbels/)で、ページの情報を見ようと「=」キーを押したら、 +>Segmentation Fault してしまいました。 +との指摘がありました。m17n 版に限らないので、とりあえず対処しておきます。 From: hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) Subject: [w3m-dev 01674] image map -> AREAǺä饤ȥɥ᡼ޥåפhref"#test"Τ褦ʾˡ -> ׽ޤ -> Image map links β̤ǤϡURLǤʤalttitleɽɤ -> פޤ -ȤλŦޤΤǽ/бƤߤޤ -* #undef MENU_MAP ξ硢#label ΤߤǤäƤ reload ˤʤ롣 - ̤ΥХåեθƤӽФʤΤǡʤȤä񤷤Ǥ - ʤǺХåեθƤӽФƤʤͤˤޤ - Хåեʤ #define MENU_MAP Ȼפޤ -* ɲä° alt Τ (title äƲ) - MapList ¤ΤѤɤ褦ˤפޤݤʤΤǻߤޤ -ȤʤäƤޤ +> AREAで作ったクライアントサイドイメージマップのhrefが"#test"のような場合に、 +> ジャンプ出来ません。 +> Image map links の画面では、URLだけでなく、altやtitleも表示した方が良いと +> 思います。 +との指摘がありましたので修正/対応してみました。ただし、 +* #undef MENU_MAP の場合、#label のみであっても reload になる。 + 別のバッファからの呼び出しなので、こうしないとちょっと難しいです。 + なお、内部で作成したバッファからの呼び出しは全てそうなる様にしました。 + バッファを作らない #define MENU_MAP の方がいいかと思います。 +* 追加した属性は alt のみ (title って何?) + MapList 構造体を変えた方が良いようにも思いましたが、面倒なので止めました。 +となってます。 From: hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) Subject: [w3m-dev 01675] goto label -GOTO #define MENU_MAP ξΥ᡼ޥå - #label Τߤ URL ꤵ줿 reload ʤͤˤޤ -줫顢[w3m-dev 01101] space in URL ɲä줿 goURL() ˰ܤ -ޤinputLineHist() URL Ϥ硢ʸ ^V -ȤʤϤǤʤΤɬפʤȤפޤȤ⤢ä -ζνϳޤ +GOTO や #define MENU_MAP の場合のイメージマップ +で #label のみの URL が指定された場合に reload しない様にしました。 +それから、[w3m-dev 01101] space in URL で追加された処理を goURL() に移し +ました。ただし、inputLineHist() で URL を入力する場合、空白文字は ^V を +使わないと入力できないので必要ないとも思います。そういうこともあって +後ろの空白の処理は外しました。 From: Tsutomu Okada Subject: [w3m-dev 01676] Re: w3m-0.1.11-pre-kokb24-test1 Subject: [w3m-dev 01678] Re: w3m-0.1.11-pre-kokb24-test1 -ƣ [w3m-dev 01627] ΥѥåΤGC_warn ϢȺ٤ʥ -νƤƤۤ褦˻פޤ +須藤さんの [w3m-dev 01627] のパッチのうち、GC_warn 関連と細かなソース +の修正は当てておいたほうがいいように思います。 From: Hironori Sakamoto Subject: [w3m-dev 01680] Re: w3m-0.1.11-pre-kokb24-test1 - >> ĤǤ - >> δĶǤϡ-pedantic ˤä + >> 岡田です。 + >> 私の環境では、-pedantic によって >> warning: ANSI forbids assignment between function pointer and `void *' >> warning: pointer targets in initialization differ in signedness -ʤǤ͡򷡤äƤޤä... +う、ごめんなさい。私ですね。墓穴を掘ってしまった... >> warning: overflow in implicit constant conmplicit con version >> warning: pointer targets in passing arg 2 of `Strcat_charp_n' differ in signedness - >> Ȥٹ𤬽Фޤ⽤٤Ǥ礦 -ˤȤϤʤΤ patch Фޤ + >> という警告が出ましたが、これらも修正すべきでしょうか? +修正するにこしたことはないので patch を出します。 From: Hironori Sakamoto Subject: [w3m-dev 01684] Re: http://cvs.m17n.org/~akr/diary/ -application/x-deflate б +application/x-deflate 対応. From: Moritz Barsnick Subject: [w3m-dev-en 00318] Information about current page @@ -137,209 +137,209 @@ but it would be nice for me & some others if it was in the official From: Hironori Sakamoto Subject: [w3m-dev 01772] Re: visited anchor Subject: [w3m-dev 01773] Re: visited anchor - * visited anhor color - * textlist ١ historyhash 줿 (URL) history - * #undef KANJI_SYMBOLS ξ rule μѹ + * visited anhor color。 + * textlist ベースの history。hash 化された (URL) history。 + * #undef KANJI_SYMBOLS の場合の rule の実装の変更。 From: Hironori Sakamoto Subject: [w3m-dev 01786] Re: w3m-0.1.11-pre-hsaka24 Subject: [w3m-dev 01787] Re: w3m-0.1.11-pre-hsaka24 - >> 1. http://www.tomoya.com/ ǡ ʸɽ(ե졼μ - >> ưɽ ON ʤ顢F 򲡤)MAIN Υե졼ɽ褦Ȥȡ - >> main.c:2082 Sprintf (gotoLabel label=0x0 ǸƤӤƤ - >> ) -[w3m-dev 01675] ̿ŪʥХߤޤ - >> 2. ǼĦ http://133.5.222.232/keijiban/index.htm ɽ褦Ȥ - >> ȡframe.c:668 strcasecmp -ä顣 + >> 1. http://www.tomoya.com/ で、 の文書を表示させ(フレームの自 + >> 動表示が ON なら、F を押す)、MAIN のフレームを表示させようとすると、 + >> main.c:2082 の Sprintf で落ちる(gotoLabel を label=0x0 で呼びだしてい + >> る)。 +[w3m-dev 01675] の致命的なバグ。すみません。 + >> 2. 掲示板α http://133.5.222.232/keijiban/index.htm を表示させようとす + >> ると、frame.c:668 の strcasecmp で落ちる +こっちは前々から。 From: Hironori Sakamoto Subject: [w3m-dev 01788] Re: w3m-0.1.11-pre-hsaka24 -w3m-0.1.11-pre-hsaka24 ΥХǤ +w3m-0.1.11-pre-hsaka24 のバグ修正です。 From: Hironori Sakamoto Subject: [w3m-dev 01792] Re: w3m-0.1.11-pre-hsaka24 - >> ̷ʤΤǤuseVisitedColor TRUE ΤȤ - >> http://www.kusastro.kyoto-u.ac.jp/%7Ebaba/wais/other-system.html ˤ - >> ơǸβ̤ɽ 12 äۤԤޤŪˤϡgoLineL -retrieveAnchor() linear search äΤǤ -binary search ѤƤߤޤɤǤ礦 + >> 全然別件なのですが、useVisitedColor が TRUE のとき + >> http://www.kusastro.kyoto-u.ac.jp/%7Ebaba/wais/other-system.html にお + >> いて、最後の画面の表示が 1〜2 秒ほど待たされます。具体的には、goLineL +retrieveAnchor() が linear search だったのが原因でした。 +binary search に変えてみました。どうでしょう。 From: hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) Subject: [w3m-dev 01793]
  • -
  • type °Ǥ
  • ˤΤͭʤΤǤϤʤơ -
        Ǥλ񤭤(ʹߤ
      • ˤͭȤʤ) -ǤΤǽޤ +
      • タグの type 属性ですが、その
      • にのみ有効なのではなくて、 +
            での指定を上書きする(以降の
          • にも有効となる)様 +ですので修正しました。 From: hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) Subject: [w3m-dev 01801] some fixes. -frame ɽƤơŤ˽ϤƤʬޤ -νǤ +frame を表示していて、2重に出力されている部分がありました。 +その修正です。 Subject: IPv6 support for w3m's ftp From: Hajimu UMEMOTO - w3m HTTP IPv6 бƤΤǤǰʤ FTP ǽ - IPv6 бƤޤFTP ǽФ IPv6 бѥåޤ -Τǡѥå˴ޤĺʤǤ礦 + w3m の HTTP は IPv6 対応されているのですが、残念ながら FTP 機能の方 +は IPv6 対応していません。FTP 機能に対する IPv6 対応パッチを作成しまし +たので、非公式パッチに含めて頂けないでしょうか? 2001/3/16 ================================================================== From: hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) Subject: [w3m-dev 01711] Authorization -http://user:pass@hostname/ б +・http://user:pass@hostname/ に対応. From: hsaka@mth.biglobe.ne.jp Subject: [w3m-dev 01724] buf->type when mailcap is used. -mailcap Ȥä(copiousoutput, htmloutput) ˤ⡢ -buf->type ꤹͤˤޤ -'v', 'E' ȤΤȡm17n ǥХåե text/html Ȥ -ɬפʲս꤬Τǡ +mailcap を使った場合(copiousoutput, htmloutput) にも、 +buf->type を設定する様にしました。 +'v', 'E' を使いたいのと、m17n の方でバッファが text/html だという +情報が必要な箇所があるので。 From: hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) Subject: [w3m-dev 01726] anchor jump too slow by TAB-key on STDIN. -ɸϤHTMLɤǤ硤 - URL path äꤹȡˡcurrentdir() -ƤФƤ뤿®٤㲼Ƥޤ -Ω夲ǰ ȥǥ쥯ȥꤹͤˤޤ -ĤǤɸϤξѤ URL "file:///-" "-" ˤޤ +標準入力からHTMLを読んでいる場合, +リンク先の URL が相対 path 指定だったりすると、常に、currentdir() が +呼ばれているために速度が低下していました. +そこで立ち上げた時点で一度 カレントディレクトリを設定する様にしました。 +ついでに標準入力からの場合の変な URL "file:///-" を "-" だけにしました。 From: sakane@d4.bsd.nes.nec.co.jp (Yoshinobu Sakane) Subject: [w3m-dev 01727] C-z when stdin % cat main.c | w3m -ơC-z ݤ˥ץץȤʤФѥå -Ǥ +して、C-z した際にシェルプロンプトに戻らない件に対するパッチ +です。 From: Hironori Sakamoto Subject: [w3m-dev 01729] ignore_null_img_alt -ignore_null_img_alt OFF ȡ Ȥ ALT ° -̵ǤⲿɽʤʤäƤΤǽޤ -줫顢 ͤʻξˡ -
            ֤ȡwidth °̵뤵ԤäƤޤΤ -ޤʤΤ
            Ʊͤνͤˤޤ +ignore_null_img_alt が OFF だと、 という ALT 属性が +無い場合でも何も表示しなくなっていたので修正しました。 +それから、 の様な指定の場合に、 +
            で置き換えると、width 属性が無視され改行が入ってしまうのが +いまいちなので
            と同様の処理を入れる様にしました。 From: Hironori Sakamoto Subject: [w3m-dev 01730] Re:
            in a table -
            βɡ +
            の改良. From: Hironori Sakamoto Subject: [w3m-dev 01731] completion list -DzϤǤΥե̾䴰 +最下行入力でのファイル名の補完時に ----- Completion list ----- X11R6/ compat/ include/ libdata/ local/ nfs/ ports/ share/ bin/ games/ lib/ libexec/ mdec/ obj/ sbin/ src/ (Load)Filename? /usr/ -ͤɽ뤿 patch Ǥ +の様に表示させるための patch です。 From: Kiyokazu SUTO Subject: [w3m-dev 01733] A patch concerning SSL -SSLȤ -1. Ȥʤ᥽åɤꤹ륪ץssl_forbid_methodפɲä롢 -2. ³Ω˼ԤȤ˥顼åɽ롢 +SSLを使う時に +1. 使わないメソッドを指定するオプション「ssl_forbid_method」を追加する、 +2. 接続確立に失敗したときにエラーメッセージを表示する、 From: Kiyokazu SUTO Subject: [w3m-dev 01735] Re: A patch concerning SSL Subject: [w3m-dev 01737] Re: A patch concerning SSL -1. ssl_forbid_methodΡ֥ǡפP_STRINGP_SSLPATHѤơ - ưΥץѥͥˤѹǤSSL³˻Ȥ᥽åɤ - ȿǤ褦ˤ -2. Ƽ泌顼å򤢤ټäƤƸǸ褦ˤ(mule - 2.3 base on emacs 19.34εǽΥѥꡢ¾emacsenˤ뤫Τ餺) +1. ssl_forbid_methodの「データ型」をP_STRINGからP_SSLPATHに変えて、起 + 動後のオプション設定パネルによる変更でもSSL接続に使われるメソッドの + 選択に反映されるようにした、 +2. 各種エラーメッセージをある程度取っておいて後で見れるようにした(mule + 2.3 base on emacs 19.34の機能のパクリ、他のemacsenにあるかは知らず)、 From: sakane@d4.bsd.nes.nec.co.jp (Yoshinobu Sakane) Subject: [w3m-dev 01738] [w3m-doc] w3m document maintenance -w3mϢĢ(http://mi.med.tohoku.ac.jp/~satodai/w3m/bbs/spool/log.html) -ˤ񤭤ޤƤǤäw3mΥɥϤ᤿ -Ȼפޤ +w3m連絡帳(http://mi.med.tohoku.ac.jp/~satodai/w3m/bbs/spool/log.html) +にも書きましたが、懸案であったw3mのドキュメント整備を始めた +いと思います。 From: kiwamu -Subject: [w3m-dev 01739] ۥޥб patch -w3mۥޥбƤߤޤ -rxvtxtermǻѤǤޤ -ktermȥۥξ岼Ʊȥ륳ɤ֤ƤޤΤ -¸ԲǽߤǤ +Subject: [w3m-dev 01739] ホイールマウス対応 patch +w3mをホイールマウス対応させてみました。 +rxvtとxtermで使用できます。 +ktermだとホイールの上下が同じコントロールコードを返してしまうので +実現不可能みたいです。 From: Fumitoshi UKAI Subject: [w3m-dev 01742] w3mmee 0.1.11p16-6 segfault -w3mmee 0.1.11p16-6 Ǥmime.types ƤˤäƤ segfault ޤ -# Ԥȥ +w3mmee 0.1.11p16-6 ですが、mime.types の内容によっては segfault します。 +# 空行があるとダメ From: Hironori Sakamoto Subject: [w3m-dev 01752] SEGV in search_param() - > >> w3m -o 1 SEGV ޤ - > search_param() size_t unsigned Τ i = 0 ΤȤ - > e = 4294967295 ˤʤäƤޤäƤ褦Ǥ + > >> ・w3m -o 1 等で SEGV します。 + > search_param() で size_t が unsigned のため i = 0 のとき + > e = 4294967295 になってしまっているようです。 From: Hironori Sakamoto Subject: [w3m-dev 01753] empty