aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-24Prevent integer overflow due to fontstatTatsuya Kinoshita1-0/+1
2021-04-23Treat 127.0.0.1, [::1], and hostname as localhostTatsuya Kinoshita1-0/+6
2021-04-17New option localhost_only to restrict connections only to localhostTatsuya Kinoshita1-0/+1
Bug-Debian: https://github.com/tats/w3m/issues/117
2021-04-10New option cross_origin_referer to use origin only RefererTatsuya Kinoshita1-0/+1
2021-02-28New option ssl_ca_default to explicitly use OpenSSL default pathsTatsuya Kinoshita1-0/+1
2021-02-18Support kitty image protocolbptato1-0/+1
2021-02-13Add auto-detection of ssl_ca_file by configureTatsuya Kinoshita1-1/+1
cf. gnutls-trustfiles in Emacs 27.1 <https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/net/gnutls.el?h=emacs-27.1#n106>
2021-02-10Disable TLSv1.0 and TLSv1.1 by defaultTatsuya Kinoshita1-1/+1
2021-02-10New option ssl_min_version for OpenSSL 1.1Tatsuya Kinoshita1-0/+3
2021-02-10New option ssl_cipher to specify ciphers for TLSv1.2 and belowTatsuya Kinoshita1-0/+5
2021-02-02Support iTerm2 graphics protocol, replace encodeB with base64_encodebptato1-0/+1
2021-02-02sixel and osc5379 image display protocols can be chosen in optionsbptato1-0/+4
2020-09-01Space is now entered in URL fields instead of triggering file completion, ↵bptato1-0/+1
old behavior can be toggled via options
2020-08-25In HTML5 anchors should not be closed when encountering divs, for example, ↵Ambrose Li1-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.
2020-08-24Cleaned version of 20200823_q branch. Changes the behaviour of the q tag ↵Ambrose Li1-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.
2019-06-30Allow setting User Agent in SiteconfAzure1-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.
2019-04-21Allow to override UserAgentLaurent Arnoud1-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
2016-11-14Prevent array index out of bounds for symbolTatsuya Kinoshita1-0/+1
Bug-Debian: https://github.com/tats/w3m/issues/38
2016-10-30Set use_dictcommand to 1 by defaultTatsuya Kinoshita1-1/+1
2016-07-18Set default_url to 1 by defaultTatsuya Kinoshita1-1/+1
2016-03-13Add extbrowser4, extbrowser5, ..., and extbrowser9Tatsuya Kinoshita1-0/+6
2015-11-18Accept cookies by defaultTatsuya Kinoshita1-3/+3
2015-11-18Set argv_is_url to 1 by defaultTatsuya Kinoshita1-1/+1
Bug-Arch: https://bugs.archlinux.org/task/47102
2015-02-02New option "display_borders" to display 0 pixel table borders.Tatsuya Kinoshita1-0/+1
cf. http://d.hatena.ne.jp/rubikitch/20101120
2014-12-06Add -sixel option which supports image processing by img2sixel.Araki Ken1-1/+1
2014-12-06- Adjust the image size to the terminal cell size. - If the image size is ↵Araki Ken1-0/+2
specified in html source, skip to load the image.
2014-12-06Support remote image by OSC 5379 show_picture sequence.Araki Ken1-0/+3
2014-12-06Change the default to alt_entity=0Olaf Hering1-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
2014-10-15Disable SSLv3 by default [CVE-2014-3566]Tatsuya Kinoshita1-1/+1
cf. https://blog.mozilla.org/security/2014/10/14/the-poodle-attack-and-the-end-of-ssl-3-0/
2014-10-15Force ssl_verify_server on and disable SSLv2 supportLudwig Nussel1-2/+2
Origin: http://www.openwall.com/lists/oss-security/2010/06/14/4
2013-10-14Workaround of GC crash on Cygwin64AIDA Shinra1-2/+4
Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-win64gc.patch>, [w3m-dev:04469] on 2013-10-14.
2013-04-08Support the siteconf featureTatsuya Kinoshita1-0/+13
Patch to support the siteconf feature, from [w3m-dev 04463] on 2012-06-27, provided by AIDA Shinra.
2011-06-19Support the button element as defined in HTML 4.01Tatsuya Kinoshita1-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.
2011-05-04Adding upstream version 0.5.3upstream/0.5.3Tatsuya Kinoshita1-5/+21
2011-05-04Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita1-9/+35
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+1165
2010-08-20Introduce option mailto_optionsIto Hiroyuki1-1/+7
2010-08-08[w3m-dev 04360] Re: "important" bugs from bugs.debian.orgIto Hiroyuki1-1/+4
2010-08-04fix conditions for UseGraphicCharIto Hiroyuki1-2/+5
2010-08-03* register user name and password for proxy authentication.Ito Hiroyuki1-3/+1
* remove option -pauth
2010-07-26* [w3m-dev 04237] [patch] cookie avoid [wrong number of dots]Ito Hiroyuki1-1/+3
2010-07-25* merge ambiguous width patchIto Hiroyuki1-5/+2
* http://www.j10n.org/files/w3m-cvs-1.914-ambwidth.patch
2010-07-19* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki1-1/+2
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329862#20 * table.c (feed_table_tag): check displayLinkNumber. * proto.h: add getLinkNumberStr(). * main.c (do_dump): check displayLinkNumber. * fm.h: add global variable displayLinkNumber. * file.c (getLinkNumberStr): added. (process_input, process_select, HTMLtagproc1): check displayLinkNumber.
2010-07-19* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki1-1/+2
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329863#8 * rc.c: Introduce option pseudo_inlines. * fm.h: add global variable pseudoInlines. * file.c (process_img): check q.
2010-07-19* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki1-2/+5
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261174#10 * terms.c (graph_ok): check UseGraphicChar is GRAPHIC_CHAR_ALL or not. * symbol.c (get_symbol): check UseGraphicChar. * rc.c (graphic_char_str): added. * main.c (sig_chld): use GRAPHIC_CHAR_ASCII and GRAPHIC_CHAR_ALL. * fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_CHARSET, GRAPHIC_CHAR_ALL): added. * fm.h: UseGraphicChar is initialized as GRAPHIC_CHAR_ASCII.
2010-07-19* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki1-2/+3
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185006#22 * main.c (sig_chld): save exit code to d->err. (addDownloadList): initialize d->running and d->err. (DownloadListBuffer): check d->err. * fm.h (_DownloadList): add running and err. * file.c (save2tmp): check returned value of Strfputs(). (doFileSave): exit code is depend on the returned value of save2tmp().
2010-07-19* [w3m-dev 04238] [patch] simple preserve spaceIto Hiroyuki1-1/+2
* rc.c: Introduce option simple_preserve_space. * fm.h: add global variable SimplePreserveSpace. * file.c (HTMLlineproc0): check SimplePreserveSpace.
2007-05-30fix for tab browsing. [w3m-dev 04266]Dai Sato1-1/+8
2007-05-23[w3m-dev 04236] expand display_ins_del to select a type of fontify.Dai Sato1-5/+16
2007-05-23[w3m-dev 04240] nl_langinfo() requires setlocale()Dai Sato1-2/+2