aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix FTBFS due to redefinition of sys_errlistParag Nemade2020-11-221-18/+0
| | | | | | 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
* In HTML5 anchors should not be closed when encountering divs, for example, ↵Ambrose Li2020-08-251-0/+5
| | | | | | but should be closed when encountering buttons, for example. Many sites that use HTML5-style anchors end up having links displayed with zero-length link texts. The proposed patch correct this behaviour by detecting whether the document is HTML5, then suppressing the close-anchor action in CLOSE_A if it's an HTML5 document. A new macro handles the HTML5-specific cases where anchors are not already always closed. 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 depends on checking the !doctype element.
* Prevent negative array index for realColumn in calcPosition()Tatsuya Kinoshita2016-12-101-1/+1
| | | | Bug-Debian: https://github.com/tats/w3m/issues/69
* Remove close_tty() from setup_child() because close_tty() sometimes ↵Araki Ken2014-12-061-0/+6
| | | | interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m.
* Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita2011-05-041-1/+25
|
* Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita2011-05-041-0/+1989