aboutsummaryrefslogtreecommitdiffstats
path: root/main.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-11-22Fix FTBFS due to redefinition of sys_errlistParag Nemade1-4/+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
2020-08-31Removed an unnecessary variable declarationbptato1-4/+2
2020-08-31New commands for moving to the top, middle and bottom of bufferbptato1-8/+44
2020-03-27Fix -Wchar-subscriptsRoland Illig1-2/+2
Origin: http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/www/w3m/patches/patch-main.c?rev=1.1&content-type=text/plain Bug: https://sourceforge.net/p/w3m/patches/76/
2020-01-04Add command to go home.We're Yet1-0/+17
When w3m is launched, if no other options are specified, it attempts to read HTTP_HOME and WWW_HOME from the environment and upon finding a value for one of these load the url specified. Once launched, though, w3m provides no convenience for navigating to the home page. Here, that ability is added. A new command GOTO_HOME is defined with a default key binding of C-_.
2019-04-21Allow to override UserAgentLaurent Arnoud1-0/+2
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
2018-01-21Make temporary directory safely when ~/.w3m is unwritableTatsuya Kinoshita1-0/+7
2017-12-26Typo fix in fusage()Tatsuya Kinoshita1-1/+1
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878106
2017-12-26English fixTatsuya Kinoshita1-1/+1
cf. [emacs-w3m:12706], http://emacs-w3m.namazu.org/ml/msg12598.html
2016-11-06Fix suspend (^Z) behavior.ITOH Yasufumi1-0/+10
Suspend the job w3m belongs to, not w3m only. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2016-06-19Update description of SOURCE and VIEWTatsuya Kinoshita1-1/+1
2016-06-19Update English messagesTatsuya Kinoshita1-114/+104
2016-04-01English fixesJustin B Rye1-32/+32
cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#15 Origin: https://lists.debian.org/debian-l10n-english/2014/12/msg00002.html Origin: https://lists.debian.org/debian-l10n-english/2014/12/msg00030.html Origin: https://lists.debian.org/debian-l10n-english/2015/02/msg00011.html
2016-03-13Add extbrowser4, extbrowser5, ..., and extbrowser9Tatsuya Kinoshita1-0/+18
2016-02-27Typo fix for ACCESSKEYTatsuya Kinoshita1-1/+1
cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779092#5
2015-08-11Adjust while loopDavid Crosby1-1/+2
2015-08-11use int for cDavid Crosby1-1/+1
2015-08-11Remove dead assignments flagged by Clang static analysisDavid Crosby1-7/+0
2015-08-04Fix that SGR style mouse handler has off-by-one problemIWAMOTO Kouichi1-0/+2
cf. https://github.com/tats/w3m/issues/5 Origin: https://gist.github.com/ttdoda/30c189a63d483beeb207 Bug: https://sourceforge.net/p/w3m/patches/65/
2015-05-03Correct GC version confirmationTatsuya Kinoshita1-1/+1
2015-05-02correct GC version confirmationyshl1-1/+1
2015-04-26for gc-7.1yshl1-0/+4
2015-01-15Drop C99 featuresTatsuya Kinoshita1-1/+1
2015-01-15Add overflow detectionScarlett1-0/+8
Origin: http://marc.info/?l=openbsd-ports&m=142090828929750&w=2 * main.c: Call exit(1) when out of memory to avoid dereferencing null pointers when gc's malloc fails. * alloc.h: Replacements for w3m's allocation macros which add overflow detection and concentrate the macros in one file. * indep.h, libwc/charset.c, libwc/status.c, matrix.c: Use the overflow-detecting allocation macros from alloc.h.
2015-01-15Correct printf arguments and use asprintfScarlett1-1/+1
Origin: http://marc.info/?l=openbsd-ports&m=142090828929750&w=2 * Str.c: Use asprintf() instead of rolling our own printf string length detection. * cookie.c: Pass the char pointer in the string struct to printf %s instead of the string struct itself. Print time_t using %lld instead of %ld to allow for 64-bit time_t. * main.c: Print a long int using the correct format specifier. * map.c: Print size_t using the correct format specifier.
2014-12-06img2sixel exits by Ctrl+C. Enable GIF Animation if 'I' is pressed to show it.Araki Ken1-1/+7
2014-12-06Add -sixel option which supports image processing by img2sixel.Araki Ken1-39/+6
2014-12-06Support remote image by OSC 5379 show_picture sequence.Araki Ken1-1/+41
2014-08-22Support Boehm GC 7.2Micah Cowan1-0/+5
Replace Gentoo's patch to prevent segfaults due to infinite recursion. Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=080_gc72.patch;att=1;bug=758831 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758831 Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=555467 Bug: http://sourceforge.net/p/w3m/patches/63/ Bug: http://sourceforge.net/p/w3m/patches/59/
2014-08-22Revert "Support Boehm GC 7.2" (w3m-0.5.2-gc72.patch from Gentoo)Tatsuya Kinoshita1-8/+0
This reverts commit 4331db3e3e673ac4dbfe8e9f2b42a8e0478dc98a.
2013-12-07Fix crash after SEARCH_NEXTAIDA Shinra1-0/+4
Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-search-next.patch>, [w3m-dev:04473] on 2013-12-07.
2013-10-14Workaround of GC crash on Cygwin64AIDA Shinra1-0/+50
Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-win64gc.patch>, [w3m-dev:04469] on 2013-10-14.
2013-10-12vim/-perator like handlingLaurence Richert1-0/+39
- half page scrolling - jumping to elements numbered by getLinkNumberStr() from Karsten Schoelzel
2013-08-04Fix potentially segfault of execdict()Tatsuya Kinoshita1-1/+1
2013-07-30Sort anchors by sequence number in -dumpTatsuya Kinoshita1-8/+19
Patch from <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657666>, provided by Conrad J.C. Hughes.
2013-04-08Support the siteconf featureTatsuya Kinoshita1-43/+39
Patch to support the siteconf feature, from [w3m-dev 04463] on 2012-06-27, provided by AIDA Shinra.
2013-04-08Support SGR 1006 mouse reportingTatsuya Kinoshita1-0/+52
Patch to support SGR 1006 mouse reporting, from [w3m-dev 04466] on 2012-07-15, provided by Hayaki Saito.
2012-05-03Support Boehm GC 7.2Tatsuya Kinoshita1-0/+8
Patch from Gentoo <http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/w3m/files/w3m-0.5.2-gc72.patch?revision=1.1&view=markup>.
2011-06-19Change the -s option to "squeeze multiple blank lines" for pagerTatsuya Kinoshita1-0/+12
Change the -s option from "display charset Shift_JIS" to "squeeze multiple blank lines" to work as /usr/bin/pager. In addition, the options -j and -e are disabled. To specify the display charset, use -O{s|j|e} instead. The patch was committed to the upstream on 2000-10-27. However, it was rejected because of Debian specific on 2010-08-03.
2011-05-04Adding upstream version 0.5.3upstream/0.5.3Tatsuya Kinoshita1-176/+193
2011-05-04Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita1-49/+102
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+6597
2010-08-24[w3m-dev 04393] [patch] locale-related character managementIto Hiroyuki1-51/+79
2010-08-20Introduce option mailto_optionsIto Hiroyuki1-49/+39
2010-08-08[w3m-dev 04360] Re: "important" bugs from bugs.debian.orgIto Hiroyuki1-2/+5
2010-08-04fix conditions for UseGraphicCharIto Hiroyuki1-5/+5
2010-08-03[w3m-dev 04363] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki1-19/+1
remove codes for Debian revert manpages
2010-08-03* register user name and password for proxy authentication.Ito Hiroyuki1-16/+5
* remove option -pauth
2010-07-25* merge ambiguous width patchIto Hiroyuki1-3/+3
* 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-2/+19
* 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.