Commit Graph

229 Commits

Author SHA1 Message Date
Araki Ken
e8b2d47358 system() -> fork()&execvp() 2014-12-06 20:47:05 +09:00
Araki Ken
1eabd79f5b Draw underline on anchor which contains cboth text and images. 2014-12-06 20:47:05 +09:00
Araki Ken
09ececc3b7 Remove close_tty() from setup_child() because close_tty() sometimes interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m. 2014-12-06 20:47:05 +09:00
Araki Ken
622bdafb59 Minor fix. 2014-12-06 20:47:05 +09:00
Araki Ken
de942f3abf Cache image files if at all possible and convert them to sixel when -sixel option is specified. 2014-12-06 20:47:05 +09:00
Araki Ken
9504d18d0a Init pixel_per_{char|line}_i if get_pixel_per_cell() fails. 2014-12-06 20:47:05 +09:00
Araki Ken
2fe66f3a6f Add -sixel option which supports image processing by img2sixel. 2014-12-06 20:47:05 +09:00
Araki Ken
98b4d10ce4 Don't download image files whose size is specified in <img> tag. 2014-12-06 20:47:04 +09:00
Araki Ken
08811e76fd Minor fixes of parseImageHeader(). 2014-12-06 20:47:04 +09:00
Araki Ken
e6856f2329 Determine the format of an image file by its header data not by its file name suffix. 2014-12-06 20:47:04 +09:00
Araki Ken
0c0d4b5f38 Read width and height from jpeg, png and gif files directly instead of executing w3mimgdisplay -size. 2014-12-06 20:47:04 +09:00
Araki Ken
0d99209d9f * display.c: Draw underline on anchor text which is not overlapped with any image. 2014-12-06 20:47:04 +09:00
Araki Ken
f941b1d562 * terms.c: Clear fd_set by FD_ZERO() before select(). 2014-12-06 20:47:04 +09:00
Araki Ken
0640eca05c * file.c: nw and ni are rounded up instead of rounded off to show every corner of images. 2014-12-06 20:47:04 +09:00
Araki Ken
a95a178971 * terms.c: Change time to wait for the response of "\x1b[14t\x1b[18t" from 0.1 sec to 0.5 sec.
* image.c:
  - clearImage() works.
  - Use cached image files created by w3m in getImage().

* file.c: Hack for alignment.
2014-12-06 20:47:04 +09:00
Araki Ken
147ef0048b - Adjust the image size to the terminal cell size. - If the image size is specified in html source, skip to load the image. 2014-12-06 20:47:04 +09:00
Araki Ken
f4268d8d18 Support remote image by OSC 5379 show_picture sequence. 2014-12-06 20:47:04 +09:00
Tatsuya Kinoshita
6ef08c68f1 Merge branch 'bug/parsetagx-crash' 2014-12-06 19:01:47 +09:00
Olaf Hering
608828ed7e 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
2014-12-06 19:01:13 +09:00
Tatsuya Kinoshita
e479f83b19 Merge branch 'bug/no-ascii-default' 2014-12-06 18:01:17 +09:00
Olaf Hering
6e73bad0ff 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
2014-12-06 18:00:05 +09:00
Tatsuya Kinoshita
0552b86da6 Merge branch 'bug/uninitialized' 2014-12-06 17:19:46 +09:00
Olaf Hering
fc754b42ec Fix a few harmless uninitialized variables
Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-uninitialized.patch?expand=1
2014-12-06 17:18:49 +09:00
Tatsuya Kinoshita
a1b70ec952 Merge branch 'bug/textarea-segfault' 2014-12-06 16:51:54 +09:00
Peter Poeml
c6f15256e9 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
2014-12-06 16:50:16 +09:00
Tatsuya Kinoshita
fcc18b1367 Merge branch 'feature/w3m-img-freebsd' 2014-12-04 00:32:32 +09:00
Tatsuya Kinoshita
afdbf8abec Follow updated configure 2014-12-04 00:31:40 +09:00
Tatsuya Kinoshita
9f938c4cdf Merge branch 'feature/w3m-img-freebsd' 2014-12-03 23:29:02 +09:00
Yusuke Baba
416d70d11e 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
2014-12-03 22:29:39 +09:00
Tatsuya Kinoshita
eeea7ba4fe Merge branch 'bug/gdk-pixbuf' 2014-12-02 00:23:54 +09:00
Naohiro Aota
385ae3366f 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
2014-12-02 00:23:10 +09:00
Tatsuya Kinoshita
1fc8e1c841 Merge branch 'bug/tinfo' 2014-12-02 00:03:26 +09:00
Jeroen Roovers
66d2dd007f 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
2014-12-02 00:02:29 +09:00
Tatsuya Kinoshita
00043aa7a6 Merge branch 'bug/gtk2-pkg-config' 2014-12-01 23:52:50 +09:00
OBATA Akio
ed8092bfa1 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
2014-12-01 23:51:24 +09:00
Tatsuya Kinoshita
d8211c3bf9 Merge branch 'bug/libressl' 2014-12-01 23:03:37 +09:00
Vsevolod Stakhov
b008f95eea 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
2014-12-01 23:00:54 +09:00
Tatsuya Kinoshita
e077be68e2 Merge branch 'bug/lang-ja' 2014-12-01 22:56:19 +09:00
zimous
22a2286775 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
2014-12-01 22:16:38 +09:00
Tatsuya Kinoshita
734db12b05 Merge branch 'bug/lang-en' 2014-11-30 06:06:39 +09:00
Tatsuya Kinoshita
7b2f7a3817 Typo fix 2014-11-30 06:05:11 +09:00
Markus Hiereth
7d4a592721 Miscellaneous changes to improve English manpage
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#30
2014-11-30 06:04:11 +09:00
Tatsuya Kinoshita
14a982136b Merge branch 'bug/lang-en' 2014-11-29 18:30:54 +09:00
Markus Hiereth
d225ffa47a 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
2014-11-29 17:14:57 +09:00
Markus Hiereth
61cf1445be 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
2014-11-29 16:59:58 +09:00
Markus Hiereth
bfb03b0ff1 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
2014-11-29 16:35:29 +09:00
Markus Hiereth
cbdc37330b 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
2014-11-29 15:44:29 +09:00
Markus Hiereth
57b2e57502 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
2014-11-29 15:25:50 +09:00
Justin B Rye
fed5b54ffe Tweak for W3MMAN_W3M
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771003#5
2014-11-29 14:27:50 +09:00
Justin B Rye
72b8b629d8 English fixes
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766550#25
2014-11-29 14:22:34 +09:00