aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #146 from acli/20200821_a_CLEANEDTatsuya Kinoshita2020-08-301-1/+2
|\ | | | | Patch to make w3m’s handling of the a element HTML5 compatible (when the stream is HTML5)
| * In HTML5 anchors should not be closed when encountering divs, for example, ↵Ambrose Li2020-08-251-1/+2
| | | | | | | | | | | | 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.
* | Cleaned version of 20200823_q branch. Changes the behaviour of the q tag ↵Ambrose Li2020-08-241-0/+1
|/ | | | | | (when m17n and Unicode are configured) to use "smart" quotes if the display charset can handle them. Falls back to old behaviour (ASCII quotes with left/right quote semantics for 6/0 and 2/6) if display charset is us-ascii. Also changes the behaviour of conv_entity() to convert left/right quotes and some dashes because named entities are needed for the new code for the q tag.
* Allow setting User Agent in SiteconfAzure2019-06-301-1/+3
| | | | | | Since Google gives usable search results to Lynx but not to w3m, and many other sites block Lynx but /not/ w3m, we want to be able to set the User Agent string on a per-site basis.
* Allow to override UserAgentLaurent Arnoud2019-04-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Adding on command line the user agent add a duplicate header: ``` ./w3m -header "User-Agent: Mozilla" http://localhost:9999 GET / HTTP/1.0 User-Agent: w3m/0.5.3+git20190105 Accept: text/html, text/*;q=0.5, image/*, application/*, message/*, x-scheme-handler/*, audio/*, video/*, inode/* Accept-Encoding: gzip, compress, bzip, bzip2, deflate Accept-Language: en;q=1.0 Host: localhost:9999 Pragma: no-cache Cache-control: no-cache User-Agent: Mozilla ``` As a result most server will take the first given; the default w3m_version or the one defined on config `user_agent` With this patch we can now override `User-Agent` from command line
* Prevent array index out of bounds for symbolTatsuya Kinoshita2016-11-141-0/+1
| | | | Bug-Debian: https://github.com/tats/w3m/issues/38
* Set use_dictcommand to 1 by defaultTatsuya Kinoshita2016-10-301-1/+1
|
* Set default_url to 1 by defaultTatsuya Kinoshita2016-07-181-1/+1
|
* Add extbrowser4, extbrowser5, ..., and extbrowser9Tatsuya Kinoshita2016-03-131-0/+6
|
* Accept cookies by defaultTatsuya Kinoshita2015-11-181-3/+3
|
* Set argv_is_url to 1 by defaultTatsuya Kinoshita2015-11-181-1/+1
| | | | Bug-Arch: https://bugs.archlinux.org/task/47102
* New option "display_borders" to display 0 pixel table borders.Tatsuya Kinoshita2015-02-021-0/+1
| | | | cf. http://d.hatena.ne.jp/rubikitch/20101120
* Add -sixel option which supports image processing by img2sixel.Araki Ken2014-12-061-1/+1
|
* - Adjust the image size to the terminal cell size. - If the image size is ↵Araki Ken2014-12-061-0/+2
| | | | specified in html source, skip to load the image.
* Support remote image by OSC 5379 show_picture sequence.Araki Ken2014-12-061-0/+3
|
* Change the default to alt_entity=0Olaf Hering2014-12-061-1/+1
| | | | | | | | 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
* Merge branch 'bug/ssl-init'Tatsuya Kinoshita2014-10-151-2/+2
|\
| * Disable SSLv3 by default [CVE-2014-3566]Tatsuya Kinoshita2014-10-151-1/+1
| | | | | | | | cf. https://blog.mozilla.org/security/2014/10/14/the-poodle-attack-and-the-end-of-ssl-3-0/
| * Force ssl_verify_server on and disable SSLv2 supportLudwig Nussel2014-10-151-2/+2
| | | | | | | | Origin: http://www.openwall.com/lists/oss-security/2010/06/14/4
* | Merge branch 'bug/win64gc'Tatsuya Kinoshita2013-10-141-2/+4
|\ \ | | | | | | | | | | | | | | | Conflicts: istream.c main.c
| * | Workaround of GC crash on Cygwin64AIDA Shinra2013-10-141-2/+4
| |/ | | | | | | | | Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-win64gc.patch>, [w3m-dev:04469] on 2013-10-14.
* | Merge branch 'feature/siteconf'Tatsuya Kinoshita2013-04-081-0/+13
|\ \
| * | Support the siteconf featureTatsuya Kinoshita2013-04-081-0/+13
| |/ | | | | | | | | Patch to support the siteconf feature, from [w3m-dev 04463] on 2012-06-27, provided by AIDA Shinra.
* / Support the button element as defined in HTML 4.01Tatsuya Kinoshita2011-06-191-0/+9
|/ | | | | | Patch from upstream, [w3m-dev 04411] on 2010-09-17, to support the button element. It is discussed upstream and incomplete, but enough to login Launchpad.
* Adding upstream version 0.5.3upstream/0.5.3Tatsuya Kinoshita2011-05-041-5/+21
|
* Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita2011-05-041-9/+35
|
* Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita2011-05-041-0/+1165