1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-19 01:36:33 -04:00
Commit Graph

2631 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
bb04bd6a4a Lots of NEWS. All important and many unimportant changes are listed.
More work will be needed before the release to shorten this list so
that users will actually bother to read it.
2007-01-01 15:55:10 +02:00
Witold Filipczyk
e195690acd Minor optimisation (?). 2006-12-31 19:58:23 +01:00
Witold Filipczyk
87e10dd412 epoll is fashionable.
Added the configuration option --enable-epoll. Use epoll instead of select.
2006-12-31 19:05:43 +01:00
Witold Filipczyk
38b09e44c7 Limit the timeout to one second only under Windows. 2006-12-31 16:49:52 +01:00
Kalle Olavi Niemitalo
4ae90c798c Bug 919, mem_mmap_realloc: Don't overflow the buffer when shrinking it.
The bug was possible only #ifndef HAVE_MREMAP, thus not on Linux.
2006-12-31 09:49:13 +02:00
Witold Filipczyk
7a424fca7a Merge with master 2006-12-30 13:45:33 +01:00
Witold Filipczyk
d4d3c8c694 Merge with master 2006-12-30 13:40:48 +01:00
Miciah Dashiel Butler Masters
4d10c3fb8c Merge with git+ssh://pasky.or.cz/srv/git/elinks.git 2006-12-30 11:22:34 +00:00
M. Levinson
e978853f63 Use document->cached in the Python scripting backend
As commit 7db8abf6e7 does for Lua
and the document info box, change the Python scripting backend's
current_document and current_header APIs to use document->cached
instead of find_in_cached so the currently displayed document
will be used rather than the latest version of the document.
2006-12-30 11:20:30 +00:00
Miciah Dashiel Butler Masters
896cdab771 Re-use @fs in activate_link instead of introducing a new local variable
This optimisation is made possible by commit
15dce57bc9.
2006-12-30 11:17:43 +00:00
Kalle Olavi Niemitalo
92d079de82 Set ecmascript.enable = 0 by default.
ECMAScript support is still considered experimental, and there are
several known vulnerabilities (bugs 548, 755, 771).
2006-12-29 23:24:42 +02:00
Witold Filipczyk
91be2ea6b8 Use popen for flite. 2006-12-29 00:21:30 +01:00
Witold Filipczyk
60fc3bd04f '' is used instead of "" to quote text for the flite.
With this change executing an arbitrary code is not possible.
At least, I think so.
2006-12-28 18:48:20 +01:00
Witold Filipczyk
4bbe55f28e Merge with master 2006-12-28 18:33:37 +01:00
Kalle Olavi Niemitalo
7b931a2de0 conf2doc: Backslashify --help, --enable, --disable to avoid —. 2006-12-27 19:41:04 +02:00
Kalle Olavi Niemitalo
eb7ac943ed doc: Backslashify dashes in long options to prevent —. 2006-12-27 19:14:57 +02:00
Kalle Olavi Niemitalo
b2aa89d7c3 doc: Fix some missing or incorrect letters. 2006-12-27 19:13:05 +02:00
Witold Filipczyk
314cf3f2b2 Merge with master 2006-12-26 22:46:15 +01:00
Witold Filipczyk
23dec6e87b Merge with master 2006-12-26 22:40:33 +01:00
Witold Filipczyk
e965d07055 speech: added flite - the alternative synthesis engine.
Added the document.speech.system option:
0 - festival
1 - flite

Flite is faster and uses less memory than Festival.
2006-12-26 22:40:22 +01:00
Kalle Olavi Niemitalo
a287f547fd set_hline: Add a FIXME comment about invalid UTF-8. 2006-12-26 14:59:16 +02:00
Kalle Olavi Niemitalo
cd10da6f31 Bug 912, set_hline: Don't let LINE(y).length remain larger than needed. 2006-12-26 14:51:42 +02:00
Kalle Olavi Niemitalo
26cce9aab3 Bug 912, realloc_line: Return the original line->length if successful.
This will let the caller restore the length if it notices it has
allocated too much space.
2006-12-26 14:38:58 +02:00
Kalle Olavi Niemitalo
819653836a Bug 912: Callers of realloc_line treat only values < 0 as errors.
This will let me change realloc_line to return the original length.
2006-12-26 14:37:08 +02:00
Kalle Olavi Niemitalo
6b68d38131 set_hline: Define local variables as const where possible.
I hope this makes the source easier to understand.
2006-12-26 14:27:50 +02:00
Laurent MONIN
ad25b348be French translation was updated. 2006-12-26 10:45:52 +01:00
Witold Filipczyk
600b147a72 Merge with master 2006-12-25 13:42:50 +01:00
Witold Filipczyk
6ce3546c51 Polish translation was updated. 2006-12-25 13:42:34 +01:00
Witold Filipczyk
87702bd491 Merge with master 2006-12-25 12:39:49 +01:00
Kalle Olavi Niemitalo
b586bd99bc Bug 871, 752: Lock down enum color_mode and change option help to match.
The numbering of document.dump.color_mode and terminal._template_.colors
is now the same regardless of compile-time options, unlike in previous
versions.  Therefore this version of ELinks may interpret a configuration
file differently from previous versions even if compiled with the same
options.  This is unfortunate but the alternatives (keeping the numbering
dependent on configuration options; defining separate options that use
the new numbering; starting the numbers from 10 or so and recognizing the
previous ones only for compatibility) seem even worse.
2006-12-25 11:51:24 +02:00
Kalle Olavi Niemitalo
c56fb7d630 Bug 871: Fall back to 16 colors if color_mode is unsupported.
There may currently be no way to select an unsupported mode,
but the next commit will change that.
2006-12-25 11:25:06 +02:00
Kalle Olavi Niemitalo
2aad5c7d09 fg_color[][] is const. 2006-12-25 11:04:16 +02:00
Kalle Olavi Niemitalo
45f39847c3 color_modes[] is const. 2006-12-25 11:03:51 +02:00
Kalle Olavi Niemitalo
5ae8721ebd color_mode_infos are const. 2006-12-25 11:02:01 +02:00
Kalle Olavi Niemitalo
39673505c8 set_term_color: Fix a typo in a comment. 2006-12-25 10:56:15 +02:00
Kalle Olavi Niemitalo
cae9b720bc Palettes are const.
This does not conflict with querying the palette from xterm (bug 890)
because although those palettes would have to be modifiable, they
would be terminal-specific rather than global.
2006-12-25 10:54:54 +02:00
Kalle Olavi Niemitalo
b4359e0445 Explicitly compare to COLOR_MODE_MONO where appropriate. 2006-12-25 10:27:23 +02:00
Kalle Olavi Niemitalo
bad1b588dd select_loop: If select fails, save its errno. 2006-12-25 10:09:13 +02:00
Witold Filipczyk
c83fd84900 Merge with master 2006-12-23 13:22:44 +01:00
Kalle Olavi Niemitalo
4b156678c6 terminal._template_.utf_8_io: Move the comment above the option and extend it.
This lets xgettext attach the comment to a more appropriate msgid.
2006-12-23 02:49:44 +02:00
Kalle Olavi Niemitalo
15dce57bc9 Bug 908, activate_link: Set fs->state before the fs pointer becomes invalid. 2006-12-23 02:11:01 +02:00
Kalle Olavi Niemitalo
cde14dcd18 utf8_to_unicode: Reject characters in the surrogate range.
This isn't CESU-8.
2006-12-23 01:48:07 +02:00
Kalle Olavi Niemitalo
d62144b944 hacking.txt: spellings of UTF-8, utf8 2006-12-23 01:45:26 +02:00
Kalle Olavi Niemitalo
49c3c89dcb Add an initial comment as commanded in doc/hacking.txt. 2006-12-23 01:44:26 +02:00
Witold Filipczyk
7a99827b45 Merge with master 2006-12-22 18:57:04 +01:00
Witold Filipczyk
60dee79e24 Polish translation was updated. 2006-12-22 18:56:50 +01:00
Witold Filipczyk
f477f41c8b Merge with master 2006-12-22 18:06:26 +01:00
Laurent MONIN
e9dfc8f815 French translation was updated. 2006-12-22 14:52:09 +01:00
Kalle Olavi Niemitalo
f396abcf19 Bug 902: set_hline: Assert that we didn't go past end of array.
This assertion detects the overflow that manifested as bug 902.
2006-12-20 23:19:24 +02:00
Kalle Olavi Niemitalo
114ce8c833 utf8_to_unicode: Reject invalid sequences, such as overlong.
Convert each byte of them to UCS_REPLACEMENT_CHARACTER.  This may not
be the optimal solution but at least it ought to be safe.  Also raise
an internal error if the value read from utf8char_len_tab[] is out of
range.

Note that ELinks is still using the RFC 2279 definition of UTF-8 and
thus allows characters up to 0x7FFFFFFF, even though RFC 3629 has
changed the maximum to 0x10FFFF.
2006-12-20 22:08:34 +02:00