1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

1239 Commits

Author SHA1 Message Date
Miciah Dashiel Butler Masters
bec425d650 elinks.conf.5: Correct description of 'unset' directive
The 'unset' directive does not take a value.
(cherry picked from commit dc7731d30d)
2008-03-08 16:27:17 +02:00
Kalle Olavi Niemitalo
bedf76bda4 update-man: Install manpages to srcdir, not builddir.
elinks.1.in, elinkskeys.5, and elinks.conf.5 are included in the Git tree,
so they are initially in the srcdir, and that's were the new versions must go.
(cherry picked from commit 9cae6a4fa4)
2008-03-08 16:27:17 +02:00
Kalle Olavi Niemitalo
183eafcc02 keys2doc: Change \"foo\" to "foo".
(cherry picked from commit d73632d7de)
2008-03-08 16:27:16 +02:00
Jonas Fonseca
190b340c90 Update Danish translation 2008-03-06 16:22:37 +01:00
Witold Filipczyk
af66d330c9 Mark option changed in "File extensions -> Add".
Previously, file extensions added or modified via the menu did not get
saved to elinks.conf when config.saving_style was 3 (the default).
This patch makes the file-extension dialog box call option_changed,
which then sets OPT_TOUCHED, so that the option appears modified in
the option manager and will be saved.

[ Reported by Witek; original patch by me; adapted to 0.11 by Witek;
  commit message by me.  --KON ]
2008-03-04 23:46:17 +02:00
Adam Golebiowski
bc640bf7d1 pl.po: Shortcut key for File/resize terminal changed from 't' to 'r'. 2008-03-04 22:12:38 +01:00
Witold Filipczyk
eda6c6ba24 Polish translation was updated. 2008-03-04 13:17:05 +00:00
Jonas Fonseca
f52d0a70ba elinks-0.11.4rc1.GIT 2008-03-04 10:26:11 +01:00
Jonas Fonseca
56ac81c474 elinks-0.11.4rc1 2008-03-04 10:23:09 +01:00
Jonas Fonseca
2bfc7b3724 Minor fixes and improvements to option strings
This syncs some changes (ie. -> e.g. etc.) from elinks-0.12 or beyond.
I noticed them while updating the web pages, and apologize that I will
not spent the time to attribute it to the individual commits.

Update elinks.conf(5) while at it.
2008-03-03 03:03:11 +01:00
Jonas Fonseca
0ecc8b9d60 Add description and version info to manpages
This adopts customized docbook manpage header from git's
Documentation/asciidoc.conf and does away with a couple of
ugly hacks.
2008-03-03 02:51:25 +01:00
Jonas Fonseca
8fd01fa28d elinks.conf(5): Rewrite using AsciiDoc 8.2.1 and DocBook XSL 1.72.0
This removes the SMB config options from the manpage.
2008-03-03 02:35:32 +01:00
Jonas Fonseca
9a51cae5a1 elinkskeys(5): Rewrite using AsciiDoc 8.2.1 and DocBook XSL 1.72.0 2008-03-03 02:34:52 +01:00
Jonas Fonseca
3de420d72f keys2doc: fix handling of dots (.) in description list term
Quote character keybindings to workaround unescaped (resulting to
invisible) dots in elinkskeys(5).
2008-03-03 01:59:01 +01:00
Jonas Fonseca
dc497964e9 keys2doc: map the KBD_MOD_SHIFT modifier to Shift-prefix 2008-03-03 01:39:28 +01:00
Jonas Fonseca
3ea7939b0d elinks(1): update and polish; leave out the platform section
The list of platforms are better maintained on the homepage.
2008-03-02 23:29:17 +01:00
Jonas Fonseca
b09b149986 elinks(1): Rewrite using AsciiDoc 8.2.1 and DocBook XSL 1.72.0
It basically rewrites the nroff formatting of the elinks(1) manpage and
is mainly checked in separately to make it easier to review later
updates.
2008-03-02 23:15:25 +01:00
Kalle Olavi Niemitalo
74c22adc69 NEWS: mention bug 1000 2008-03-02 16:36:29 +02:00
Witold Filipczyk
3a4c053bd5 bug 1000: Do not discard the query part of URI. 2008-03-02 13:52:19 +02:00
Kalle Olavi Niemitalo
0bb128238e Bug 1003: fix bug number in previous commit 2008-03-01 16:57:43 +02:00
Kalle Olavi Niemitalo
6d2e034007 Bug 1001: fix uninitialized-pointer crash in URI rewriting 2008-03-01 15:33:41 +02:00
Jonas Fonseca
c069403b75 FTP: Test and fix handling of symbolic link name containing spaces
The bug was reported by Paul B. Mahol on elinks-users. The example is
from the FTP site he provided:

	ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-ia64/

Message-ID: <3a142e750802262008l6fd55be5v44207bc4479dd3fc@mail.gmail.com>
2008-02-27 13:23:13 +01:00
Jonas Fonseca
aa9a847c00 Fix the FTP parser test program to handle multiline responses
... so all the tests with responses stretching multiple lines are
actually tested in their entirety.
2008-02-27 13:17:46 +01:00
Jonas Fonseca
397bef882b parse_time: set tm_sec to zero before conditional second parsing
This fixes test 9 (Basic VMS responses) that uses time specs with
seconds left out (e.g. 17:44) for me.
2008-02-27 12:26:58 +01:00
Jonas Fonseca
9be36ed129 Introduce otherman:[] macro for non-ELinks manpage references
.. avoids an unsafe AsciiDoc operation.
2008-02-23 18:22:34 +01:00
Witold Filipczyk
fd10dac428 pl.po: fixes. 2008-02-21 14:51:07 +01:00
Kalle Olavi Niemitalo
f33beda650 NEWS: mention bug 987
It was fixed in commit 7e0c0e14e2.
2008-02-17 21:30:35 +02:00
Kalle Olavi Niemitalo
6db80a4fc0 NEWS: "XON/XOFF", not "XON/OFF" 2008-02-17 20:51:21 +02:00
Witold Filipczyk
21c3953b70 pl.po: Typo 2008-02-14 18:58:08 +01:00
Y Giridhar Appaji Nag
01b0c81227 Bug 1002: Fix build failure on Debian GNU/Linux arch powerpc
Change char id to enum bittorrent_message_id id to prevent FTBFS on
powerpc and s390
2008-02-10 12:35:17 +01:00
Jonas Fonseca
c72730628a Clean vernum.o
Reported-by: paakku on #elinks
(cherry picked from commit 442645b766)
2008-02-09 13:52:33 +02:00
Witold Filipczyk
649f7d6ca6 Avoid compilation of vernum.c in 'make install'
(cherry picked from commit 00fc1c394c)
2008-02-09 13:52:15 +02:00
Laurent MONIN
ffb5edd047 Patch: fix for bug 938
This patch prevents  handle_itrm_stdin() and clear_handlers(itrm->in.std) to be
called when -remote is set and in.std < 0.
It adds two assertions for in.std >= 0 in handle_itrm_stdin() and
unhandle_itrm_stdin().
May be a bad fix, please test and review.

[Added a NEWS entry.  --KON]
2008-02-09 13:32:53 +02:00
Kalle Olavi Niemitalo
dc747a6ec3 configure: Don't try to link with Lua 5.1.
ELinks does not yet work with Lua 5.1 (see bug 742),
so the configure script should not suggest that it does.
When bug 742 is eventually fixed, ELinks should probably
prefer Lua 5.1 over 5.0, as the newer version seems likely
to be kept installed longer.
2008-02-09 13:27:33 +02:00
Kalle Olavi Niemitalo
bd67e69bcd Bug 54: Don't disable XON/XOFF flow control.
Do not clear the IXON flag in termios.c_iflag.
Bug 54 did not actually ask for this flag to be kept,
but the cable I am using doesn't seem to have the handshake
lines connected right, so XON/XOFF is a must at 38400 bps,
at least until ELinks learns to send padding based on terminfo.

Any user who has bound actions to Ctrl+S or Ctrl+Q and finds that
they no longer work should just "stty -ixon" before running ELinks.
We don't have any default bindings for those keys, fortunately.

(cherry picked from commit a3d093bd25
 but moved the NEWS entry into the 0.11.4rc0 section)
2008-02-08 00:34:11 +02:00
Kalle Olavi Niemitalo
9c39f43d1b Bug 54: Don't force 8-bit characters and no parity.
Actually, don't use the cfmakeraw function at all,
and don't look for it during configure either.

(cherry picked from commit 87f1661314
 but moved the NEWS entry into the 0.11.4rc0 section)
2008-02-08 00:32:07 +02:00
Kalle Olavi Niemitalo
b2e59f8576 Define datarootdir in Makefile.config.in, for better Autoconf compatibility.
With Autoconf 2.60a, the default values of datadir, infodir, and
mandir refer to ${datarootdir}.  If Makefile.config.in does not define
datarootdir, Autoconf detects this and expands ${datarootdir} when it
substitutes expressions like @datadir@, but it also outputs the
following warning:

config.status: creating Makefile.config
config.status: WARNING:  /home/Kalle/src/elinks/Makefile.config.in seems to ignore the --datarootdir setting

According to a comment in config.status, "This hack should be removed
a few years after 2.60."  So it seems best to prepare for that now by
defining datarootdir = @datarootdir@ in Makefile.config.in.  Earlier
versions of Autoconf may leave that line unexpanded; but because the
makefiles do not directly refer to ${datarootdir}, there's no harm.
(cherry picked from commit 388b1b0efd)
2008-02-07 23:40:23 +02:00
Jonas Fonseca
e1d82ba441 Fix expansion when setting LOCALEDIR
Use the localedir variable so configure's --localedir option is
honoured. Expand the variable twice to first expand the datadir
and then the prefix variable referenced by datadir.

Noticed by Witold, who also made a similar fix (modulo --localedir)
in elinks-0.12 098fb87065.
2008-02-07 11:43:11 +01:00
Jonas Fonseca
504eb26ae5 elinks-0.11.4rc0.GIT 2008-02-05 00:29:57 +01:00
Jonas Fonseca
cbae4b250d elinks-0.11.4rc0 2008-02-04 23:36:56 +01:00
Witold Filipczyk
53f4e05b51 Polish translation was updated. 2008-01-29 18:57:50 +01:00
Miciah Dashiel Butler Masters
5eba524121 Missing change from last commit 2008-01-27 18:50:16 +00:00
Miciah Dashiel Butler Masters
6aa99fa078 Add KEYMAP_INVALID value for enum keymap_id and properly check for it
get_keymap_id returns -1 when it can't find the keymap.  Because the return
type of get_keymap_id is enum keymap_id and enum keymap_id did not have any
explicit values defined, it could be unsigned, which meant that when
get_keymap_id returned -1, it was really returning a huge positive number.
This meant that when callers checker whether the return value was negative,
they were essentially performing no check at all, so they might give
get_keymap_id an invalid keymap name, get back an invalid keymap_id, and
use that invalid keymap_id.

This commit adds KEYMAP_INVALID = -1 to enum keymap_id and makes all
functions that deal with the enumeration use that symbol.
2008-01-27 18:50:16 +00:00
Miciah Dashiel Butler Masters
7e0c0e14e2 Strings corrections from Malcolm Parsons
Fix the spelling and grammar in various comments, variable names, comment
descriptions, and documentation.
2008-01-27 04:17:47 +00:00
Kalle Olavi Niemitalo
a25fd18e56 Detect all overflows in BitTorrent parse_bencoding_integer.
The previous check (integer > (off_t) integer * 10) did not detect all
overflows.  Examples with 32-bit off_t:

integer = 0x1C71C71D (0x100000000/9 rounded up);
integer * 10 = 0x11C71C722, wraps to 0x1C71C722 which is > integer.

integer = 0x73333333;
integer * 10 = 0x47FFFFFFE, wraps to 0x7FFFFFFE which is > integer.

Examples with 64-bit off_t:

integer = 0x1C71C71C71C71C72 (0x10000000000000000/9 rounded up);
integer * 10 = 0x11C71C71C71C71C74, wraps to 0x1C71C71C71C71C74
which is > integer.

integer = 0x7333333333333333;
integer * 10 = 0x47FFFFFFFFFFFFFFE, wraps to 0x7FFFFFFFFFFFFFFE
which is > integer.

It is unclear to me what effect an undetected overflow would actually
have from the user's viewpoint, so I'm not adding a NEWS entry.
2008-01-26 16:42:27 +02:00
Kalle Olavi Niemitalo
f3bad399e2 Don't assume sizeof(int)==4 in bittorrent 2008-01-26 15:55:46 +02:00
Jonas Fonseca
c2a0d3b969 Use git tools instead of cogito for getting the build ID
The build ID now includes both last tagged version, commit generation
since last tagged version, as well as the leading characters of the
commit ID and a flag for dirty working tree.
2008-01-22 13:31:58 +01:00
Jonas Fonseca
5999d1ef06 Change elinks.or.cz references to elinks.cz
Except for the contrib area changes, they are already in elinks-0.12 and
master.
2008-01-22 12:36:21 +01:00
Kalle Olavi Niemitalo
7515c9753f NEWS: sort by severity 2008-01-22 00:37:36 +02:00
Kalle Olavi Niemitalo
3db6c84f4c Bug 997: Fix unlikely stack corruption in get_pasv_socket.
It is unlikely because the standard members of struct sockaddr_in
(sin_family, sin_port, sin_addr) already require at least 8 bytes
and I don't know of any system that has size_t larger than that.
Besides, at least glibc pads the structure to 16 bytes.
2008-01-22 00:37:36 +02:00