1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

1054 Commits

Author SHA1 Message Date
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
Laurent MONIN
f835a27e25 Fix crash due to untested null pointer occuring when doing
HTTP_PROXY=8080:proxy.ucv.cl elinks http://wwww.google.cl. Thanks to
Karel Zak.

[ From commit 947c1730a6 in ELinks 0.12.GIT.
  This crash occurs in ELinks 0.11.0 but not in 0.10.6.  --KON ]
2007-04-07 11:15:47 +03:00
Kalle Olavi Niemitalo
977a6df851 NEWS: mention decoding of URI fragment 2007-04-07 10:54:50 +03:00
Miciah Dashiel Butler Masters
a495814482 Decode the fragment identifier extracted from the URI when looking it up
This fixes a problem with fragment references that was reported
by Thomas Adam.

[ Backported from commit c22f38413e in
  ELinks 0.12.GIT, without changing localizable strings.  --KON ]
2007-04-07 10:51:38 +03:00
Kalle Olavi Niemitalo
f8a89597cd NEWS: mention the authentication dialog 2007-04-06 22:43:54 +03:00
Kalle Olavi Niemitalo
b5bbcb2f3a do_auth_dialog: Fix off-by-one error leading to reads of uninitialized memory.
This bug manifested as a junk character at the end of the text in the
authentication dialog.

[ From commit ca496aa2dd in ELinks
  0.12.GIT.  --KON ]
2007-04-06 22:38:46 +03:00
Kalle Olavi Niemitalo
319f362432 NEWS: mention umask in secure file saving 2007-04-06 15:25:59 +03:00
Miciah Dashiel Butler Masters
40f5e23fb0 Secure file saving: restore umask after _all_ failure conditions
The secure file saving code plays some shenanigans with the umask.
Previously, the code could fail to restore the old umask when certain libc
calls failed: malloc, mkstemp, fdopen, and fopen. This resulted in
unrelated code creating files with the wrong umode. Specifically, the
download code's automatic directory creation was creating directories
without the execute permission bit.

Thanks to Quiznos for reporting and helping to track the problem down.

[ Backported from commit 7f0fb0440c in
  ELinks 0.12.GIT.  The general download code in 0.11.2.GIT does not
  automatically create directories but the BitTorrent code does.  --KON ]
2007-04-06 15:18:49 +03:00
Kalle Olavi Niemitalo
452d4c0f61 NEWS: Undocument the reverted Python goto_url_hook change. 2007-04-06 14:32:11 +03:00
Kalle Olavi Niemitalo
1dfdb6e19b Revert 8bedf25b, "goto_url_hook takes 2 params not 1."
Revert 8bedf25bf8.  Different versions
of ELinks call the Python goto_url_hook with different arguments:

- goto_url_hook(current) in 0.11.0, 0.11.1, and 0.11.2.

- goto_url_hook(new, current) in 0.11.2.GIT since 2007-11-27, commit
  8bedf25bf8 which I'm now reverting.
  No released version of ELinks has used this variant.

- goto_url_hook(new) in 0.12.GIT since 2007-01-01, commit
  26473f72f5.  The hook can call
  elinks.current_url() if desired.

I think it will be less confusing to users if we drop the middle
variant and make the rest of the stable 0.11 branch call the hook in
the same way as 0.11.2 did.  The difference will then be only between
the 0.11 and 0.12 branches.
2007-04-06 14:30:00 +03:00