1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

1052 Commits

Author SHA1 Message Date
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 c0f488251fbb8ffc167cc0643a539dc18f2350c0 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 a58345f4e7825372be03614d594a9edf07558861 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 487a0472640d99842c20b6d6df825a4b40d82327 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 65fbb904133c3738fc481f89a91661176297008c and
  a14b83072236ad85f27dd5b2ae68aa54e47bfa49 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 ce05aa1f374bb07d3b55487263ea9f21dcdc422e in ELinks
  0.12.GIT.  The earlier commit 0b7a56f89af491466821a6831e2bb4484eb817b0
  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 da3c8c5ce24e365996087f8206b375548193422c 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 70dc594d93795fd519b9b53d856256c970a063aa 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 9d6c0b13e88c775010b91646aefd974b624fa83e 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 2f25d3e57cd6dd1d2dda71108b2b2db1cb919400 in
  ELinks 0.12.GIT.  --KON ]
2007-05-01 12:45:26 +03:00
Kalle Olavi Niemitalo
55836e8d8b AUTHORS: add Simon Josefsson
[ From commit d33579bb2fd7b19cda8d8c29e184f320ae4d51ea 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 82edb1f8929ba01b5ceaca181b1c1e1bcf9a3b16 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 699663614a28ab06ed84e868b3b42ea9e8cae2a0 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 689d80fada3552a55b6ba25272ee3974fd3f5452 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 663f9ecfcf2f8292b0fda4024d7a13efea64b56d 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 c645ed74852cd766bcf6b815556074086ebce7e0 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 e27a3c3f589c164af24fdc280e6845e8d0955177 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 20fbefbe18686a0e1daf1858819b4077038f6016 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 f76f49345ec682bb63d90602bcf5c5a5f42580de in ELinks
  0.12.GIT.  --KON ]
2007-05-01 12:21:38 +03:00
Kalle Olavi Niemitalo
6975b20197 doc: More AsciiDoc compatibility.
[ From commit c3f5c34dd3248da91b45eaf66ae5e49713780294 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 3308e41c31beec0966ebab2ea1bf5e1ed438c297 and
  dffdb9fdda2f5cea9e0aafb8a2fafed65c3e369c 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 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 0ac97979a217cb41bdc11d22583fbd029dc1c871 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 a72a0dab08a53fed19ec685bf16d2e324fbdcbb0 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 b61d8d06d92df0c5939513c7372bc3c8f0c93612 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 947c1730a61900fd3443696182b6692f2669bf56 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 c22f38413ec97b10f2fbfaafce775e0489012053 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 ca496aa2dd890a8ab3c471ebde903904c7dd423e 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 7f0fb0440c54ae131dabb5b6c7e8e8bce9838ee6 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 8bedf25bf84d60b143b16d0fe1b384dc17c93569.  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
  8bedf25bf84d60b143b16d0fe1b384dc17c93569 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
  26473f72f59641aa60277f14f703f8a76dda5a82.  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
Kalle Olavi Niemitalo
854cc4b5fd Remove inaccurate information from README.Python.
These parts of contrib/python/README.Python are not accurate for
ELinks 0.11.2.GIT:

- It suggests using --with-python=/usr/local, but configure.in treats
  that as equivalent to --without-python and contains a comment:

	# FIXME: If withval is a valid directory append it to PATH
	# so that you can specify one of several Python installations.

- It suggests creating a libpython.so symbolic link, but as of commit
  421d04093a265d0ce40296f28fc12e36a96ff046, the configure script no
  longer tries to link with a bare -lpython but rather always appends
  a version number.
2007-04-05 11:31:35 +03:00
Kalle Olavi Niemitalo
be7f2ecda0 NEWS: mention bug 880 2007-04-05 10:50:30 +03:00