[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
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2002-02-04 15:18:41 +00:00
parent 53b9c12956
commit a8831d96bd
11 changed files with 183 additions and 86 deletions

View File

@@ -1,15 +1,11 @@
w3m <20>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD><EFBFBD><E9A5A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD>
2002/01/31
2002/02/04
<20><><EFBFBD><EFBFBD> <20><>§
<EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
w3m <20>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD><EFBFBD><E9A5A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĥ<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD>ʲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
http://www2u.biglobe.ne.jp/~hsaka/w3m/index-ja.html#img
patch/w3m-0.2.4-img-2.2.patch.gz
patch/README.img-ja
w3m <20>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD><EFBFBD><E9A5A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĥ<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
<EFBFBD><EFBFBD>ǽ
@@ -64,6 +60,8 @@ w3m
auto_image
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A5A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD>ɤ߹<C9A4><DFB9>ߤޤ<DFA4><DEA4><EFBFBD><EFBFBD>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD> ON<4F><4E>
OFF <20>ξ<EFBFBD><CEBE><EFBFBD><EFBFBD>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD>ޥ<EFBFBD><DEA5><EFBFBD> DISPLAY_IMAGE <20><><EFBFBD>ɤ߹<C9A4><DFB9>ߤ򳫻Ϥ<F2B3ABBB><CFA4>ޤ<EFBFBD><DEA4><EFBFBD>
max_load_image
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ߹<C9A4><DFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κ<EFBFBD><CEBA><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD> 4<><34>1<EFBFBD><31>8 <20>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǽ<EFBFBD><C7BD>
ext_image_viewer
<20><><EFBFBD>ޥ<EFBFBD><DEA5><EFBFBD> VIEW_IMAGE('I')<29>ξ<EFBFBD><CEBE><EFBFBD><EFBFBD><EFBFBD> Content-type: image/* <20>Ǥ<EFBFBD><C7A4><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӥ塼<D3A5><E5A1BC><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD> ON<4F><4E>
@@ -79,28 +77,13 @@ w3m
ɬ<EFBFBD>פʤ<EFBFBD><EFBFBD><EFBFBD>
* w3m-0.2.4.tar.gz
* w3m-0.2.5+cvs-1.287 <20>ʾ<EFBFBD>
http://w3m.sourceforge.net/
http://sourceforge.net/projects/w3m/
http://prdownloads.sourceforge.net/w3m/
* Imlib-1.9.8 (1.9.10 <20>ʾ<EFBFBD><CABE>侩)
libungif-4.1.0b1 <20>
<EFBFBD><EFBFBD><EFBFBD>󥹥ȡ<EFBFBD><EFBFBD><EFBFBD>
gunzip -c DIST/w3m-0.2.4.tar.gz | tar -xvf -
cd w3m-0.2.4
gunzip -c DIST/w3m-0.2.4-img-2.2.patch.gz | patch -p1
configure
# Inline image support (you need Imlib library)
# <20><>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4>Τ<EFBFBD> y <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
# menu <20><>ͭ<EFBFBD><CDAD><EFBFBD>ˤ<EFBFBD><CBA4>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
make
# w3mimgdisplay, w3mimgsize <20><> make <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Imlib <20><>ɬ<EFBFBD>פǤ<D7A4><C7A4><EFBFBD>
make install
# w3mimgdisplay, w3mimgsize <20><>ɬ<EFBFBD><C9AC> $LIB(PREFIX/lib/w3m) <20><>
# install <20><><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
w3mimgdisplay <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
w3mimgdisplay <20>ϰʲ<CFB0><CAB2>Υ<EFBFBD><CEA5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>դ<EFBFBD><D5A4>ޤ<EFBFBD><DEA4>Τ<EFBFBD>ü<EFBFBD><C3BC><EFBFBD>˹<EFBFBD><CBB9><EFBFBD><EFA4BB>
@@ -123,6 +106,12 @@ w3mimgdisplay
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͽ
2002/02/04
* <20>ɥ<EFBFBD><C9A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȳ<EFBFBD><C8B2><EFBFBD>
2002/02/01 w3m-0.2.5+cvs-1.287
* <20>ܲȤ<DCB2> CVS <20>إޡ<D8A5><DEA1><EFBFBD><EFBFBD><EFBFBD>
2002/01/31 w3m-0.2.4-img-2.2
* w3m-0.2.4+cvs-1.278 <20>١<EFBFBD><D9A1><EFBFBD><EFBFBD><EFBFBD>