1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

2644 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
c0f488251f 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."
2007-04-30 09:08:20 +03:00
Kalle Olavi Niemitalo
68ff5a8d61 Bug 816, html_textarea: Expand entity references.
Because the renderer no longer does that.
The comment "We don't cope well with entities here" may now be
obsolete but I'm not sure about that so I'm leaving it in.
2007-04-30 02:10:25 +03:00
Kalle Olavi Niemitalo
a58345f4e7 html_textarea: Use memmove rather than memcpy.
This is an overlapping copy and memcpy is not required to support that.
2007-04-30 01:41:32 +03:00
Kalle Olavi Niemitalo
bafe47508d Bug 784: Add html_context->doc_cp and parse attributes with it.
options->cp is still used for this in seven places where html_context
is not easily available.  Those should eventually be corrected too,
but I'm checking this change in already because it's better than what
we had before.
2007-04-30 00:56:39 +03:00
Kalle Olavi Niemitalo
8b010bb27d NEWS: mention bug 816 2007-04-29 23:33:23 +03:00
Kalle Olavi Niemitalo
5e83337d49 Bug 784: Keep form_control.default_value in the document charset.
Previously, html_special_form_control converted
form_control.default_value to the terminal charset, and init_form_state
then copied the value to form_state.value.  However, when CONFIG_UTF8
is defined and UTF-8 I/O is enabled, form_state.value is supposed to
be in UTF-8, rather than in the terminal charset.

This mismatch could not be conveniently fixed in
html_special_form_control because that does not know which terminal is
being used and whether UTF-8 I/O is enabled there.  Also, constructing
a conversion table from the document charset to form_state.value could
have ruined renderer_context.convert_table, because src/intl/charsets.c
does not support multiple concurrent conversion tables.

So instead, we now keep form_control.default_value in the document
charset, and convert it in the viewer each time it is needed.  Because
the result of the conversion is kept in form_state.value between
incremental renderings, this shouldn't even slow things down too much.

I am not implementing the proper charset conversions for the DOM
defaultValue property yet, because the current code doesn't have
them for other string properties either, and bug 805 is already open
for that.
2007-04-29 22:01:13 +03:00
Kalle Olavi Niemitalo
0df5b7fdf5 Apply form history to fs->value, not fc->default_value.
I am going make fc->default_value use the charset of the document, and
recoding the string from the form history to that might lose characters.

This change also affects what ECMAScript sees in the defaultValue property.
<http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-26091157>
says it should represent the HTML "value" attribute, so changing it
based on form history is not appropriate.
2007-04-29 21:39:28 +03:00
Kalle Olavi Niemitalo
487a047264 Document the meaning of document_options.cp.
Miciah provided part of the text.
2007-04-29 21:28:40 +03:00
Laurent Monin
084d402c51 Bug 816, html_special_form_control: Don't parse character entity references. 2007-04-29 21:25:42 +03:00
Kalle Olavi Niemitalo
69c185c34e Document the charset of form_state.value for FC_TEXTAREA. 2007-04-29 21:21:25 +03:00
Kalle Olavi Niemitalo
65fbb90413 NEWS: mention bugs 928, 947 2007-04-26 23:53:39 +03:00
Kalle Olavi Niemitalo
ce05aa1f37 Bug 947, set_hline: Also recognize NBSP_CHAR #ifndef CONFIG_UTF8. 2007-04-26 23:46:03 +03:00
Kalle Olavi Niemitalo
da3c8c5ce2 Bugs 879, 928, 947: Specially map U+00A0 and U+00AD in translation tables. 2007-04-26 21:39:46 +03:00
Kalle Olavi Niemitalo
0b7a56f89a Bug 947, set_hline: Respect wrap_nbsp also if !part->document.
This does not yet fix bug 947 for the case where the document is UTF-8
and the terminal is ISO-8859-1.  That will require changing charsets.c
too, it seems.
2007-04-26 07:48:11 +03:00
Kalle Olavi Niemitalo
fa9567653d set_hline: Outdent some code. 2007-04-26 07:38:37 +03:00
Kalle Olavi Niemitalo
0c3a871a4b Bug 879, set_hline: Discard U+00AD SOFT HYPHEN characters if UTF-8.
If not UTF-8, then charsets.c has already discarded them.
2007-04-26 07:12:28 +03:00
Kalle Olavi Niemitalo
70dc594d93 Bug 879: New constant UCS_SOFT_HYPHEN; use where applicable. 2007-04-22 22:38:40 +03:00
Kalle Olavi Niemitalo
9d6c0b13e8 Bug 879, u2cp_: Use UCS_NO_BREAK_SPACE instead of 0xa0. 2007-04-22 22:37:12 +03:00
Kalle Olavi Niemitalo
097195bef4 Add contrib/mkdist, used for making ELinks snapshots and releases.
This is the mkdist to which doc/release.txt refers.
The script was originally written by Pasky and then modified by Fonseca.
This version doesn't know the correct directory names and so won't work
without modifications, but it seems better to check it in now than wait.
2007-04-22 18:01:22 +03:00
Kalle Olavi Niemitalo
599cf3d91e Move debian to contrib/debian.
Files in the debian directory aren't being kept up to date.
(For example, debian/control declares a dependency on libgnutls11-dev
even though ELinks now requires at least 1.2, and debian/changelog
does not mention the 0.11.* releases.)
Until the files are up to date again and there is a commitment to keep
them so, they belong in contrib.
2007-04-22 15:54:50 +03:00
Kalle Olavi Niemitalo
2f25d3e57c 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.
2007-04-21 13:58:20 +03:00
Kalle Olavi Niemitalo
d33579bb2f AUTHORS: add Simon Josefsson 2007-04-21 13:32:27 +03:00
Simon Josefsson
82edb1f892 Use gnutls_set_default_priority.
Thereby enabling TLS 1.2 on GnuTLS versions that support it.
2007-04-21 13:30:34 +03:00
Kalle Olavi Niemitalo
699663614a l_pipe_read: Don't leak the old block if mem_realloc fails. 2007-04-19 00:15:30 +03:00
Kalle Olavi Niemitalo
e27a3c3f58 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.
2007-04-19 00:14:13 +03:00
Kalle Olavi Niemitalo
689d80fada NEWS: Clarify that these are bug numbers.
This will let the elinks-web tree link to the bugs automatically.
2007-04-16 22:49:35 +03:00
Kalle Olavi Niemitalo
dffdb9fdda NEWS: ELinks 0.11.3 was released. 2007-04-16 20:07:32 +03:00
Jonas Fonseca
707bb70361 release.txt: Also remember to update download.html 2007-04-16 08:37:23 +02:00
Jonas Fonseca
315c6e8552 Merge with git+ssh://pasky/srv/git/elinks.git 2007-04-15 22:10:00 +02:00
Jonas Fonseca
8013553d31 release.txt: remember to add version number to NEWS file
Thanks to kahmalo.
2007-04-15 22:09:17 +02:00
Jonas Fonseca
068a103a5a Add .mailmap file to help git-shortlog 2007-04-15 22:08:11 +02:00
Kalle Olavi Niemitalo
663f9ecfcf NEWS: mention bug 945 2007-04-15 02:22:11 +03:00
Kalle Olavi Niemitalo
c645ed7485 Bug 945: Don't crash if the error message is not a string. 2007-04-15 02:20:41 +03:00
Kalle Olavi Niemitalo
20fbefbe18 lua_console_hook must return "goto_url", not "goto-url". 2007-04-15 02:19:49 +03:00
Kalle Olavi Niemitalo
f76f49345e 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.
2007-04-15 01:27:08 +03:00
Kalle Olavi Niemitalo
13d00f8049 NEWS: Moved Tiny C Compiler advice to a separate file. 2007-04-14 16:53:25 +03:00
Kalle Olavi Niemitalo
3308e41c31 NEWS: List release dates, from mailing list announcements. 2007-04-14 12:31:09 +03:00
Laurent MONIN
b6b956ac8f Fix a typo. 2007-04-12 14:47:15 +02:00
Kalle Olavi Niemitalo
753e2c405c NEWS update 2007-04-12 01:05:31 +03:00
Kalle Olavi Niemitalo
049cc9c6b3 Bug 941: Survive an unexpected number of 227 or 229 FTP responses.
And document the functions a little.

[ From commit 71ff470f2e in ELinks
  0.11.2.GIT.  --KON ]
2007-04-12 01:02:00 +03:00
Kalle Olavi Niemitalo
253f55b222 NEWS: Mark Tiny C Compiler support experimental because of many problems. 2007-04-09 16:38:13 +03:00
Kalle Olavi Niemitalo
e92e5a4827 NEWS update 2007-04-09 12:35:55 +03:00
Kalle Olavi Niemitalo
22413166b0 charset_list: Map the "System" codepage to the underlying one.
If LC_CTYPE=fi_FI.ISO-8859-15, and terminal.*.charset = System,
then the charset menu will select ISO 8859-15 by default.
2007-04-09 12:33:18 +03:00
Kalle Olavi Niemitalo
9f64320a3b NEWS rearrangements 2007-04-07 00:01:56 +03:00
Kalle Olavi Niemitalo
4b754b33e6 NEWS: Sync from 0.11.2.GIT commit 452d4c0f61. 2007-04-06 14:33:57 +03:00
Kalle Olavi Niemitalo
d093704166 NEWS: Number the future releases. 2007-04-05 11:08:00 +03:00
Kalle Olavi Niemitalo
89e86bfe29 NEWS: Bug 880 and the SMJS exit segfault have been fixed in 0.11.2.GIT too. 2007-04-05 11:06:34 +03:00
Kalle Olavi Niemitalo
4aff50067c hacking.txt: Promote all headings one level.
"Hacking Elinks" is now a level-0 heading, so we get a <title> in the
generated HTML.
2007-04-04 10:00:16 +03:00
Kalle Olavi Niemitalo
00c9f28d92 NEWS: sync from Git 2007-04-04 01:02:23 +03:00
Kalle Olavi Niemitalo
f0e7bb81df NEWS: Document the upcoming 0.11.3 changes.
Extracted from NEWS of commit 74799c60b2
in ELinks 0.11.2.GIT.
2007-04-01 15:32:42 +03:00