Commit Graph

2116 Commits

Author SHA1 Message Date
Tatsuya Kinoshita
778cc49935 Update ChangeLog 2019-07-01 23:01:18 +09:00
Tatsuya Kinoshita
d6545481ae Merge pull request #119 from adamemerson/siteconf-user-agent
Allow setting User Agent in Siteconf
2019-07-01 22:58:33 +09:00
Azure
83e072d6d5 Allow setting User Agent in Siteconf
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-06-30 12:15:22 -04:00
Tatsuya Kinoshita
350c41a86c Update ChangeLog 2019-04-22 21:05:52 +09:00
Tatsuya Kinoshita
b0509cee7d Merge pull request #113 from spk/allow-override-user-agent
Allow to override UserAgent
2019-04-22 21:02:12 +09:00
Laurent Arnoud
b06d1f6a02 Allow to override UserAgent
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
2019-04-21 21:47:52 +02:00
Tatsuya Kinoshita
599f5c1723 Update ChangeLog 2019-01-05 17:41:27 +09:00
Tatsuya Kinoshita
998882cc3d Update NEWS 2019-01-05 17:38:22 +09:00
Tatsuya Kinoshita
a4370a097b Update config.* with autotools-dev 20180224.1 2019-01-05 17:36:32 +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
a701bcb26f Update ChangeLog 2018-12-22 14:31:17 +09:00
Tatsuya Kinoshita
56bf714a24 Fix square brackets 2018-12-22 12:52:49 +09:00
Nemo Inis
13c0ff5567 w3mman support for section number during keyword search
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916968#5
2018-12-21 21:16:48 +09:00
Tatsuya Kinoshita
87b2653b5e Update ChangeLog 2018-10-26 21:52:11 +09:00
Ben Wong
94ab9857e9 Fix that the MarkAllPages option works as originally intended
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911929
2018-10-26 21:34:19 +09:00
Tatsuya Kinoshita
cf2b303334 Update ChangeLog 2018-10-26 21:18:22 +09:00
Tatsuya Kinoshita
8c32ce830c Indentation fix 2018-10-26 21:13:46 +09:00
Tatsuya Kinoshita
bfe9ba9275 Merge pull request #103 from Polynomial-C/openssl-1.1_disable_deprecated
Do not use deprecated features with openssl-1.1
2018-10-26 21:06:37 +09:00
Mark Wright
d10007a2c6 Do not use deprecated features with openssl-1.1 2018-10-24 16:00:04 +02:00
Tatsuya Kinoshita
169789b148 Update ChangeLog 2018-05-20 20:09:01 +09:00
Tatsuya Kinoshita
dbe0bc2430 Merge pull request #99 from domainexpert/noop-check
Added check for : command not producing .gmo file in po/Makefile.in.in
2018-05-20 20:02:46 +09:00
Andrew Santosa
5b7e7d8204 Added check for : command not producing .gmo file in po/Makefile.in.in 2018-05-15 11:01:53 +08:00
Tatsuya Kinoshita
4ef1a5f3df Update ChangeLog 2018-03-24 06:36:23 +09:00
Tatsuya Kinoshita
73302179ea Respect simple_preserve_space for table cells
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893902
2018-03-24 06:26:30 +09:00
Tatsuya Kinoshita
bdc549fc51 Update ChangeLog 2018-03-23 18:42:52 +09:00
Tatsuya Kinoshita
e039eb2590 Merge pull request #97 from barbeque/patch-1
Update grammar & spelling in some English READMEs
2018-03-23 18:35:04 +09:00
Mike
2ad8196f6b Update README.img 2018-03-22 20:40:03 -06:00
Mike
3e1499584f Update README.dict 2018-03-22 20:37:53 -06:00
Mike
655b396508 Update README.pre_form 2018-03-22 20:36:48 -06:00
Mike
a70109ea7d Update README.cookie 2018-03-22 20:33:29 -06:00
Mike
602213f45b Update README.cookie 2018-03-22 20:32:54 -06:00
Tatsuya Kinoshita
ffce48e995 Update ChangeLog 2018-03-05 00:01:28 +09:00
Tatsuya Kinoshita
303b70fc8f Update ChangeLog 2018-03-04 23:58:38 +09:00
Tatsuya Kinoshita
4f2be7d71e Merge pull request #96 from ZhouyangJia/master
Fix crashes when some external APIs fail
2018-03-04 23:54:59 +09:00
Jia Zhouyang
7a49f77b1e Add error handling code for fopen
Check the return code of fopen, and return when it fails.
2018-03-04 20:57:08 +08:00
Jia Zhouyang
996287e2fd Add error handling code for fopen
Check the return value of fopen, and add proper error handling code.
2018-03-04 20:50:49 +08:00
Jia Zhouyang
e0d419f034 Add error handling for chdir
When chdir fails, print error message and exit.
2018-03-04 20:42:40 +08:00
Tatsuya Kinoshita
a58f37c94f Update ChangeLog 2018-01-25 18:24:48 +09:00
Tatsuya Kinoshita
01d41d49b2 Add CVE IDs
cf. https://security-tracker.debian.org/tracker/source-package/w3m
2018-01-25 18:23:40 +09:00
Tatsuya Kinoshita
0ca159fbfe Update ChangeLog 2018-01-21 11:27:04 +09:00
Tatsuya Kinoshita
e773a0e089 Update NEWS 2018-01-21 10:34:22 +09:00
Tatsuya Kinoshita
327bb74254 Do not remove w3mdict.cgi when "make distclean" 2018-01-21 10:34:22 +09:00
Tatsuya Kinoshita
18dcbadf27 Make temporary directory safely when ~/.w3m is unwritable 2018-01-21 10:34:11 +09:00
Tatsuya Kinoshita
b592dac63b Suppress error messages when ~/.w3m is unwritable
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871425
2018-01-21 10:33:40 +09:00
Tatsuya Kinoshita
27c8dd7710 Update ChangeLog 2018-01-20 22:20:15 +09:00
Tatsuya Kinoshita
ce8f3e1090 Update config.* with autotools-dev 20171216.1 2018-01-20 22:16:57 +09:00
Tatsuya Kinoshita
8354763b90 Prevent negative indent value in feed_table_block_tag()
Bug-Debian: https://github.com/tats/w3m/issues/88
2018-01-20 21:31:03 +09:00
Tatsuya Kinoshita
707fb45073 Update ChangeLog 2018-01-06 20:24:40 +09:00
Tatsuya Kinoshita
49d4d1e70f Doc fix for ssl_forbid_method 2018-01-06 19:52:35 +09:00
Tatsuya Kinoshita
762e28dc89 Fix multi-character character constant for ssl_forbid_method 2018-01-06 19:49:57 +09:00