1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-01 02:05:33 +00:00
Commit Graph

1063 Commits

Author SHA1 Message Date
Petr Baudis
aedb588e2b Fix perl pre_format_html hook wrt. binary files
When trying to view a binary file, this hook would cut it at the first
'\0'.

[ From commit 5af21a8d29 in ELinks
  0.12.GIT.  --KON ]
2007-05-02 00:27:58 +03:00
Petr Baudis
6aa6a71c23 Fix compilation of perl hooks
It complains here that n_a might be used uninitialized and POPpx doesn't
set anything like it.

[ From commit 0f8ee055db in ELinks
  0.12.GIT.  --KON ]
2007-05-02 00:27:10 +03:00
Kalle Olavi Niemitalo
2d88393f97 NEWS: mention bug 691 2007-05-01 23:59:50 +03:00
Miciah Dashiel Butler Masters
4895620e09 Fix IPv4 DNS lookup bug
In revision 1.15 of dns.c (as it was called way back then), pasky
backported a fix from Links 0.97pre2 to try gethostbyaddr before
trying gethostbyname for DNS lookups:

   MacOS address resolution fix (Aldy Hernandez) (from 0.97pre2)

However, that fix introduced a bug, because it was calling gethostbyaddr
on all addresses, not just IP addresses. Mikulas fixed that bug in Links
0.98:

   Do not call gethostbyaddr when name is not ip address (it should avoid
   some useless nameserver queries)'

This fix was never backported to ELinks. Until today.

This commit is functionally the same as the fix in Links 0.98, plus it uses
inet_aton for great correctness!

This fixes a bug reported in #elinks by tnks, whereby lookups for
yubnub.org resulted in 121.117.98.110 == 0x7975626E == 'y', 'u', 'b', 'n'.
I believe that it also fixes bug 691 (which is already closed with a
workaround).

[ From commit 8344dfe6c9 in ELinks
  0.12.GIT.  --KON ]
2007-05-01 23:56:08 +03:00
Kalle Olavi Niemitalo
705f8d549f NEWS: 0.11.3.GIT _now_ 2007-05-01 17:53:00 +03:00
Kalle Olavi Niemitalo
0a2f95dcf5 NEWS: Use just http: instead of link:http:.
And canonicalize the https URL for bug 712.
2007-05-01 16:59:44 +03:00
Kalle Olavi Niemitalo
5ad02ade29 NEWS: mention bug 396 2007-05-01 16:21:53 +03:00
Jonas Fonseca
ed29b38a9a Never show empty filename in the what-to-do dialog
This fixes the last comment of bug 396.

[ From commit 58c83a9f48 in ELinks
  0.12.GIT.  --KON ]
2007-05-01 16:19:59 +03:00
Kalle Olavi Niemitalo
6f9f09781d NEWS: mention Debian bug 380347 2007-05-01 15:01:10 +03:00
Kalle Olavi Niemitalo
14588b9455 Debian bug 380347: Prevent a buffer overflow in entity_cache.
[ From commit 341d54151f in ELinks
  0.12.GIT.  --KON ]
2007-05-01 15:00:57 +03:00
Kalle Olavi Niemitalo
61032a627b NEWS: mention passive FTP over IPv6 2007-05-01 14:56:02 +03:00
Kalle Olavi Niemitalo
887d650efe Revert 2d6840b9, "Only set the socket protocol family on success."
Revert commit 2d6840b9bd9d3a7a45a5ad92b4e98ff7224d6d97.  It is causing
passive FTP via IPv6 to fail on ftp.funet.fi.  ELinks sends PASV and
the server says "425 You cannot use PASV on IPv6 connections. Use EPSV
instead."

[ Backported from commit c0f488251f in
  ELinks 0.12.GIT.  --KON ]
2007-05-01 14:43:05 +03:00
Kalle Olavi Niemitalo
7e025e6eb5 html_textarea: Use memmove rather than memcpy.
This is an overlapping copy and memcpy is not required to support that.

[ From commit a58345f4e7 in ELinks
  0.12.GIT.  --KON ]
2007-05-01 14:40:37 +03:00
Kalle Olavi Niemitalo
44a4ec5cbc Document the meaning of document_options.cp.
Miciah provided part of the text.

[ From commit 487a047264 in ELinks
  0.12.GIT.  --KON ]
2007-05-01 14:23:05 +03:00
Kalle Olavi Niemitalo
466d0d4011 NEWS: mention bugs 928, 947
[ Backported from commits 65fbb90413 and
  a14b830722 in ELinks 0.12.GIT.  --KON ]
2007-05-01 14:14:25 +03:00
Kalle Olavi Niemitalo
612311ffb4 Bug 947, set_hline: Respect wrap_nbsp also if !part->document.
[ Backported from commit ce05aa1f37 in ELinks
  0.12.GIT.  The earlier commit 0b7a56f89a
  changes the CONFIG_UTF8 variant of set_hline, and that does not exist in
  ELinks 0.11.  --KON ]
2007-05-01 14:14:18 +03:00
Kalle Olavi Niemitalo
a7980fcffc Bugs 879, 928, 947: Specially map U+00A0 and U+00AD in translation tables.
[ Backported from commit da3c8c5ce2 in
  ELinks 0.12.GIT.  --KON ]
2007-05-01 14:09:04 +03:00
Kalle Olavi Niemitalo
dd7a3ad95b Bug 879: New constant UCS_SOFT_HYPHEN; use where applicable.
[ Backported from commit 70dc594d93 in
  ELinks 0.12.GIT.  --KON ]
2007-05-01 14:08:34 +03:00
Kalle Olavi Niemitalo
a04af526ed Bug 947, u2cp_: Use UCS_NO_BREAK_SPACE instead of 0xa0.
[ Backported from commit 9d6c0b13e8 in
  ELinks 0.12.GIT.  --KON ]
2007-05-01 14:05:41 +03:00
Kalle Olavi Niemitalo
806fe16027 Bug 712, ssl_set_no_tls: Disable TLS protocols for GnuTLS too.
And log this in NEWS, although that may have to be reverted later if
it turns out this change just hides a real bug elsewhere in ELinks.

[ Backported from commit 2f25d3e57c in
  ELinks 0.12.GIT.  --KON ]
2007-05-01 12:45:26 +03:00
Kalle Olavi Niemitalo
55836e8d8b AUTHORS: add Simon Josefsson
[ From commit d33579bb2f in ELinks
  0.12.GIT.  --KON ]
2007-05-01 12:44:46 +03:00
Simon Josefsson
b1bfa78d1a Use gnutls_set_default_priority.
Thereby enabling TLS 1.2 on GnuTLS versions that support it.

[ From commit 82edb1f892 in ELinks
  0.12.GIT.  --KON ]
2007-05-01 12:44:41 +03:00
Kalle Olavi Niemitalo
711fc8c30a l_pipe_read: Don't leak the old block if mem_realloc fails.
[ From commit 699663614a in ELinks
  0.12.GIT.  --KON ]
2007-05-01 12:44:35 +03:00
Kalle Olavi Niemitalo
43a1d6f880 NEWS: Clarify that these are bug numbers.
This will let the elinks-web tree link to the bugs automatically.

[ Backported from commit 689d80fada in
  ELinks 0.12.GIT.  --KON ]
2007-05-01 12:44:26 +03:00
Kalle Olavi Niemitalo
2d04e8c342 NEWS: mention bug 945
[ Backported from commit 663f9ecfcf in
  ELinks 0.12.GIT.  --KON ]
2007-05-01 12:44:08 +03:00
Kalle Olavi Niemitalo
ba1cef8db4 Bug 945: Don't crash if the error message is not a string.
[ From commit c645ed7485 in ELinks
  0.11.2.GIT.  --KON ]
2007-05-01 12:25:22 +03:00
Kalle Olavi Niemitalo
c69ee15963 lua-scripting: Revised examples for Lua 5.0. And other updates.
Use admonishment elements, especially WARNING for insecure temporary files.
Don't say anything about enabling system functions.
Linuxgames.com no longer uses <CENTER>.
AppWatch.com was shut down on 2001-08-31.

[ From commit e27a3c3f58 in ELinks
  0.12.GIT.  --KON ]
2007-05-01 12:22:44 +03:00
Kalle Olavi Niemitalo
b1f1e9911b lua_console_hook must return "goto_url", not "goto-url".
[ From commit 20fbefbe18 in ELinks
  0.12.GIT.  --KON ]
2007-05-01 12:22:12 +03:00
Kalle Olavi Niemitalo
2db5af36c8 Updated Lua scripting document.
Use the http: AsciiDoc macro instead of link:http:.
Identify the supported version of Lua.  Mention the related bug 742.
"Help | About" nowadays groups scripting backends under "Scripting".
Document proxy_for_hook.
The enable_systems_functions function has been removed.
The setlocale function is nowadays called os.setlocale, and it does
affect the operation of ELinks.
The execute function does not return the exit code.
Document tmpname, edit_bookmark_dialog, xdialog, set_option, get_option.
Document elinks_home.

However, I did not update the example Lua scripts.

[ From commit f76f49345e in ELinks
  0.12.GIT.  --KON ]
2007-05-01 12:21:38 +03:00
Kalle Olavi Niemitalo
6975b20197 doc: More AsciiDoc compatibility.
[ From commit c3f5c34dd3 in ELinks
  0.12.GIT.  --KON ]
2007-05-01 12:20:47 +03:00
Kalle Olavi Niemitalo
a5fbe9ffb1 NEWS: Open a section for 0.11.3.GIT. 2007-05-01 12:04:23 +03:00
Kalle Olavi Niemitalo
89df9f10c1 NEWS: List release dates, from mailing list announcements.
[ Backported from commits 3308e41c31 and
  dffdb9fdda in ELinks 0.12.GIT.  --KON ]
2007-05-01 11:49:35 +03:00
Jonas Fonseca
4f9a116fcf elinks-0.11.3.GIT 2007-04-15 22:40:29 +02:00
Jonas Fonseca
3e3948c795 elinks-0.11.3 2007-04-15 22:23:12 +02:00
Jonas Fonseca
7d52c4d07e ELinks now -> ELinks 0.11.3 2007-04-15 22:20:20 +02:00
Jonas Fonseca
941e752552 Add .mailmap file to help git-shortlog 2007-04-15 22:11:19 +02:00
Kalle Olavi Niemitalo
09bd4e9cc4 Merge with http://elinks.cz/elinks-0.11 2007-04-15 12:00:05 +03:00
Kalle Olavi Niemitalo
3aebdec615 fi.po: updates, mostly from 0.12.GIT 2007-04-15 11:53:12 +03:00
Kalle Olavi Niemitalo
2473774517 fi.po: Made update-po 2007-04-15 11:48:41 +03:00
Laurent MONIN
77f09e93b1 French translation was updated. 2007-04-15 09:56:28 +02:00
Jonas Fonseca
4ddec1e3f2 Fix warning from last patch
[ From commit 0ac97979a2 in ELinks
  0.12.GIT.  Related to bug 396.  --KON ]
2007-04-15 10:21:41 +03:00
Kalle Olavi Niemitalo
30cf0e57b2 NEWS: mention bug 941 2007-04-12 00:54:27 +03:00
Kalle Olavi Niemitalo
408b18f9a2 NEWS: remote exploits first 2007-04-12 00:49:07 +03:00
Kalle Olavi Niemitalo
71ff470f2e Bug 941: Survive an unexpected number of 227 or 229 FTP responses.
And document the functions a little.

[ From bug 941 attachment 361.  --KON ]
2007-04-12 00:43:43 +03:00
Kalle Olavi Niemitalo
fd38fca928 NEWS: identify bugs 715 and 694
Bug 715 also affects $FTP_PROXY so don't refer to HTTP specifically.
2007-04-11 01:17:00 +03:00
Jonas Fonseca
51572671c9 Fix assertion failure in the charset menu related to special codepages
If the codepage option was set to utf-8 (a special codepage) it would
end up being out of range when used for the initialy selected menu item.

[ From commit a72a0dab08 in ELinks 0.12.GIT.
  ELinks 0.11 doesn't support UTF-8 as the terminal codepage, but the
  System codepage could cause a similar assertion failure.  ELinks 0.11.2
  did not yet have this bug.  --KON ]
2007-04-09 12:19:08 +03:00
Kalle Olavi Niemitalo
3b5258db0e NEWS: mention bug 738 (fixed in 0.11.1) 2007-04-09 11:18:44 +03:00
Kalle Olavi Niemitalo
d858084b28 NEWS: mention bug 729 2007-04-09 10:17:06 +03:00
Jonas Fonseca
69740ca021 Fix crashes with various bogus BitTorrent URLs
... mainly bittorrent:// and bittorrent://x

The BitTorrent URL is supposed to contain an embedded URL pointing to a
metainfo file. If this is not the case a "custom" error message will be
shown. Also fixes calling of free_list() on an uninitialized list.

Closes bug 729.

[ From commit b61d8d06d9 in ELinks
  0.12.GIT.  This introduces a new string that perhaps won't be
  translated in time for 0.11.3, but I think it's better to display
  an error message in the wrong language than crash.  --KON ]
2007-04-09 10:08:50 +03:00
Kalle Olavi Niemitalo
c148be45ac NEWS: mention the null pointer crash with $HTTP_PROXY 2007-04-07 11:19:11 +03:00