Commit Graph

24 Commits

Author SHA1 Message Date
Fumitoshi UKAI
17e7c1ae51 fix indent 2002-12-25 16:18:19 +00:00
Fumitoshi UKAI
d31151945a [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
From: Hiroyuki Ito <hito@crl.go.jp>
2002-12-25 16:14:45 +00:00
Fumitoshi UKAI
eee9736e27 [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
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-06 03:50:48 +00:00
Fumitoshi UKAI
dce9a74733 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
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-31 09:36:21 +00:00
Fumitoshi UKAI
b107236efc [w3m-dev 03337] delete unused functions in fb.c etc. (Re: canna patch)
* w3mimg/fb/license.txt: removed, follow w3m license
2002-10-10 16:32:06 +00:00
Fumitoshi UKAI
936f9c669b * [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
From: Hiroyuki Ito <hito@crl.go.jp>
2002-10-10 16:15:55 +00:00
Fumitoshi UKAI
f21a195381 * [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
From: Hiroyuki Ito <hito@crl.go.jp>
2002-10-05 16:43:10 +00:00
Fumitoshi UKAI
8fa8286f12 [w3m-dev 03332] Re: hang up when seeing web page that contains xbm file
* w3mimg/x11/x11_w3mimg.c (x11_load_image): transparent support
From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-10-01 15:34:20 +00:00
Fumitoshi UKAI
fa68f163df [w3m-dev 03330] Re: hang up when seeing web page that contains xbm file
* w3mimg/x11/x11_w3mimg.c (x11_load_image): scaling
From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-09-30 17:44:30 +00:00
Fumitoshi UKAI
6b3f98f6c7 [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
From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-09-29 15:29:12 +00:00
Fumitoshi UKAI
0e63c0c10c [w3m-dev 03300] framebuffer: 8bit color support
* w3mimg/fb/fb.c: support FB_VISUAL_PSEUDOCOLOR 256 colors
From: Hiroyuki Ito <hito@crl.go.jp>
2002-09-09 14:03:44 +00:00
Fumitoshi UKAI
0317882329 fix indent 2002-09-09 13:59:09 +00:00
Fumitoshi UKAI
2c36d5fe0d 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
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-07-30 16:03:00 +00:00
Fumitoshi UKAI
3e1846025a [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
From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-29 15:25:37 +00:00
Fumitoshi UKAI
9f103b13bb [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()
From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-22 16:17:32 +00:00
Fumitoshi UKAI
a5f51f7501 [w3m-dev 03277] compile error on Solaris7
* w3mimg/w3mimg.c: include <stdio.h> for NULL
From: Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp>
2002-07-19 03:25:56 +00:00
Fumitoshi UKAI
8432622858 [w3m-dev 03276] compile error on EWS4800
* file.c (extract_auth_val): fix warnings
* w3mimg/w3mimg.c: include <stdlib.h>
From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
2002-07-19 03:24:28 +00:00
Fumitoshi UKAI
2bd2c7d4ee indent 2002-07-18 15:10:52 +00:00
Fumitoshi UKAI
be795a72eb rcsid comment 2002-07-18 14:59:02 +00:00
Fumitoshi UKAI
897ac09f34 fix indent again 2002-07-18 14:36:48 +00:00
Fumitoshi UKAI
eec657d140 indent 2002-07-18 14:31:07 +00:00
Fumitoshi UKAI
fa8a2631f0 [w3m-dev 03270] Re: w3m-img for framebuffer merged
* w3mimg/x11/x11_w3mimg.c (w3mimg_x11open): unsigned int nchildren
From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
2002-07-18 06:23:51 +00:00
Fumitoshi UKAI
c4c0f87fce 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
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-07-18 06:07:25 +00:00
Fumitoshi UKAI
a12c96b492 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
From: Fumitoshi UKAI  <ukai@debian.or.jp>

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
From: Hiroshi Kawashima <kei@sm.sony.co.jp>
2002-07-17 20:58:48 +00:00