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 37c9bf3f75
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
M. Levinson
b6d14e025c
Reset PyObject pointers to NULL when deinitializing.
...
cleanup_python and python_done_keybinding_interface called by it
now reset the PyObject *python_hooks, *keybindings variables back
to NULL when they release the references. Without this change,
dangling pointers left in those variables could cause problems
if the Python scripting module were deinitialized and reinitialized.
It looks like such reinitialization is not currently possible though,
because enhancement request 73 (plugins support) has not yet been
implemented.
2006-12-13 18:33:54 +02:00
Witold Filipczyk
edb3129a5b
Merge with master
2006-12-12 18:28:25 +01:00
Witold Filipczyk
429d9ad2d6
Simplification. bzf->handle is the same as data->file.
2006-12-12 17:30:22 +01:00
Witold Filipczyk
5424e00131
BZ_bzRead2 is based on BZ_bzRead from the bzlib library.
...
Slightly modified to handle reading from the pipe. This fixes the bug 517.
2006-12-12 16:48:50 +01:00
Witold Filipczyk
d2f55ee411
Removed outdated entries.
2006-12-11 21:35:21 +01:00
Witold Filipczyk
fe4d44414d
The gzip decompression simplification. gzclearerr does the job.
2006-12-11 21:32:14 +01:00
Jonas Fonseca
47d27a4d39
DOM: rename init_dom_node_ to init_dom_node_at and cleanup the declaration
...
Only use the __FILE__ and __LINE__ parameters when DEBUG_MEMLEAK is defined
so that they do not end up in the generated documentation.
2006-12-11 21:21:30 +01:00
Jonas Fonseca
1435211cf6
DOM: add Doxyfile for generating DOM implementation documentation
...
Optimized for Doxygen version 1.5.1 ...
2006-12-11 21:04:38 +01:00
Jonas Fonseca
6df4df9cc4
DOM: start documenting the node module
2006-12-11 20:59:52 +01:00
Witold Filipczyk
c187df9a0a
Small comment according to UTF-8.
2006-12-11 20:55:22 +01:00
Witold Filipczyk
f260691ac4
Set nonblocking mode for output.
2006-12-11 20:51:32 +01:00
Witold Filipczyk
9064e6323b
Scrolls down one line earlier.
2006-12-11 19:17:48 +01:00
Witold Filipczyk
4e93cbf496
Added the keybinding ('R' by default) for reading documents out using
...
the festival program. ELinks automatically scrolls down when read line
is at the bottom of the page. Press 'R' for start or stop reading.
2006-12-11 18:48:44 +01:00
Jonas Fonseca
f90c07d54f
Make it possible to request only the password component of an URI
...
Before it was only to get the password when the user name was also
requested. This fixes FSP access to password protected directories.
The problem was discovered by Witold and mentioned in the post to
elinks-dev with the message-id: <20061209204151.GA32758@pldmachine> on
2006-12-09.
2006-12-10 21:46:32 +01:00
Jonas Fonseca
b527fcb308
Merge with git+ssh://pasky/srv/git/elinks.git
2006-12-10 18:24:58 +01:00
Jonas Fonseca
a89ab52ebd
Start writing a DOM stack 101
2006-12-10 18:24:34 +01:00
Kalle Olavi Niemitalo
3988ab97cc
about_protocol_handler: Don't define len if CONFIG_SMALL.
...
It is not used if CONFIG_SMALL is defined, and GCC complained about this.
With -Werror added by --enable-debug, the whole build failed.
2006-12-10 17:16:38 +02:00
Kalle Olavi Niemitalo
a46afea662
Bug 887: Fix the CONFIG_SMALL version of CANNOT_SAVE_COOKIES.
...
It had fewer parameters than the !CONFIG_SMALL version does, and this
caused compilation to fail.
2006-12-10 17:14:49 +02:00