Commit Graph

23 Commits

Author SHA1 Message Date
Rene Kita
d33a522936 Fix potential null pointer dereference 2022-04-19 10:08:54 +02:00
Rene Kita
1308f5efe5 Check for NULL before dereferencing the pointer
In case of an error the whole frame is freed, break out of the loop to
return early.
2022-04-19 10:08:54 +02:00
Tatsuya Kinoshita
7b44362891 Remove .cvsignore 2020-09-15 20:23:16 +09:00
Shun Sakai
d2283055e2 Change the encoding of the Japanese docs to UTF-8 2020-05-06 21:54:30 +09:00
Akinori Hattori
2266d1bd98 Fix dependency for Imlib2
Bug-Gentoo: https://bugs.gentoo.org/605930
Origin: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d6e3e6839898829e8cce211b97a7fa77f5d06e
2019-01-05 17:32:51 +09:00
Tatsuya Kinoshita
d7afaf6808 Accept TERM=fbterm
cf. https://bushowhige.blogspot.jp/2015/01/fbterm-w3m-img.html
2018-01-06 18:19:10 +09:00
Tatsuya Kinoshita
045aae709f Fix invalid braces when not Linux or FreeBSD 2016-03-29 19:15:29 +09:00
Franz Thoma
1dd6464be9 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
2015-12-20 16:06:43 +09:00
Tatsuya Kinoshita
88d3e7c679 Wrap render_pixbuf_to_pixmap_32() in USE_GTK2 2015-12-17 00:44:38 +09:00
arakiken
e50693f6dc w3mimgdisplay supports 32 bit depth screen. (e.g. gnome-terminal) 2015-12-17 00:14:27 +09:00
Tatsuya Kinoshita
fb624e21fa Revert "Fix handling visuals and colormaps incorrectly"
This reverts commit e24b4064da.
2015-12-17 00:11:27 +09:00
BwackNinja
e24b4064da 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/
2015-10-24 07:32:19 +09:00
Araki Ken
f4268d8d18 Support remote image by OSC 5379 show_picture sequence. 2014-12-06 20:47:04 +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
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
c762459c93 Merge branch 'bug/parallel-make' 2013-10-15 21:11:41 +09:00
Tatsuya Kinoshita
ef93465a67 Avoid prerequisite $(IMGOBJS) to fix parallel make issue of w3mimg 2013-10-15 21:09:00 +09:00
Tatsuya Kinoshita
456d12ba35 Revert "Fix parallel make issue"
This reverts commit aa6f871c6d.
2013-10-15 19:40:26 +09:00
Tatsuya Kinoshita
e2292d5c74 Remove garbage files 2012-05-22 23:06:58 +09:00
Tatsuya Kinoshita
aa6f871c6d 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>.
2012-05-03 19:31:06 +09:00
Tatsuya Kinoshita
5397d09e58 Adding upstream version 0.5.3 2011-05-04 16:41:45 +09:00
Tatsuya Kinoshita
6db339b3d7 Adding upstream version 0.5.2 2011-05-04 16:23:02 +09:00
Tatsuya Kinoshita
72f72d64a4 Adding upstream version 0.5.1 2011-05-04 16:05:14 +09:00