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
Kalle Olavi Niemitalo
47f7ba24c6
Bug 902: set_hline: Allocate memory for one more character cell.
2006-12-20 22:04:41 +02:00
Witold Filipczyk
2530b502b9
Merge with master
2006-12-19 15:05:13 +01:00
Witold Filipczyk
ebfa156a70
pl.po: s/Kodowanie/Kompresja/
2006-12-19 15:04:50 +01:00
Witold Filipczyk
3931db1d00
Merge with master
2006-12-19 09:55:53 +01:00
Jonas Fonseca
7589d4457a
Bug 899: Fix size handling in FTP directory listings
...
This fixes parse_ftp_number to use off_t instead of long to store its
(intermediate) result and return type. It also introduces an OFFT_MAX type
"limit" that is used for validating the size of the parsed number.
A test-case for was added in 37c9bf3f7515c22f6d9e6e553de834f60185cac9 to
test-ftp-parser and the patch has been confirmed to fix the test-case by
adamg and me. This closes bug 899, which is a duplicate of debian bug
403139.
2006-12-18 18:51:57 +01:00
Kalle Olavi Niemitalo
a1fe5cf975
Bug 826, UTF-8 set_hline: Don't skip the character after double-cell.
...
I do not fully understand this code, but I am sure skipping characters
like this is a bug, and correcting it seems to fix bug 826 (too small
table for double-cell characters). I don't see any similar bugs in
other parts of set_hline.
The patch is from bug 826, comment 4, attachment 308. The warning
there about unicode_to_cell(UCS_NO_CHAR) still applies but this patch
does not make the situation worse. I have logged a separate bug 901
about those calls.
2006-12-17 18:13:28 +02:00
Kalle Olavi Niemitalo
47a8be1b4d
doc/perl.pod: Tweak the NAME section for pod2html.
...
This change avoids getting <title>No Title</title> in perl.html.
2006-12-17 16:54:50 +02:00
Kalle Olavi Niemitalo
5331789603
Remove cmd_installsrcdata.
...
cmd_installdata with $(srcdir) now does the same thing.
2006-12-17 16:25:12 +02:00
Kalle Olavi Niemitalo
7c161bbbf2
Prettify installation of manual pages.
...
Before:
[INSTALL] doc/man/man5//home/Kalle/src/elinks/doc/man/man5/elinks.conf.5 -> /home/Kalle/prefix/stow/elinks/share/man/man5
[INSTALL] doc/man/man5//home/Kalle/src/elinks/doc/man/man5/elinkskeys.5 -> /home/Kalle/prefix/stow/elinks/share/man/man5
After:
[INSTALL] doc/man/man5/elinks.conf.5 -> /home/Kalle/prefix/stow/elinks/share/man/man5
[INSTALL] doc/man/man5/elinkskeys.5 -> /home/Kalle/prefix/stow/elinks/share/man/man5
2006-12-17 16:21:36 +02:00
M. Levinson
f7be8f7dfc
Python: Don't complain if hooks.py does not exist.
...
Nor if -no-home prevents it from being found.
This patch is from bug 880, comment 5, attachment 305.
http://bugzilla.elinks.cz/show_bug.cgi?id=880#c5
2006-12-17 16:10:55 +02:00
Witold Filipczyk
0ca94c10c1
bzip2: added the configure option --enable-bzip2-encoding
...
Use it with the patched bzlib. The patch in contrib.
Added the bzip2-pipe.patch.README.
2006-12-17 13:11:56 +01:00
Jonas Fonseca
37c9bf3f75
Test response from server mentioned in debian bug 403139
...
The problem is in the FTP directory listing and number parser which stores
it intermediate results in a variable of type long.
2006-12-15 22:36:53 +01:00
Witold Filipczyk
b5a9ac08e7
gpm: ELinks can use the wheel mouse on the Linux console.
...
The gpm-wheel.patch in src/contrib. Tested for the exps2 mouse type.
2006-12-15 13:56:00 +01:00
Witold Filipczyk
36146ffd3b
bzip2: removed unclean my BZ2_bzRead2.
...
Use the patched bzlib instead. I put the bzip2-pipe.patch
in the contrib directory.
2006-12-15 13:44:59 +01:00
Witold Filipczyk
4eaca109fa
Decompression: write PIPE_BUF bytes to the pipe at once if possible.
2006-12-15 09:41:20 +01:00
Witold Filipczyk
512ba3ed46
FSP: The preparation for the error handling.
...
Numeric codes are returned instead of a plain text in the event
of the fsp error.
2006-12-14 16:18:07 +01:00
Witold Filipczyk
0a146a14d6
Merge with master
2006-12-13 18:09:43 +01:00