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

836 Commits

Author SHA1 Message Date
Eric Wald
ac51268514 CONTRIB: Add ftplugin for setting Vim to the ELinks coding style
This will replace the .vimrc infrastructure currently used, which is
considered insecure.
2006-01-29 10:38:12 +01:00
Jonas Fonseca
42771c1c64 Be more careful when copying .deps/*.pp files
Some systems won't have them and then there will be lots of error messages.
2006-01-29 10:35:31 +01:00
Jonas Fonseca
564b67883b Mist configure.in fixes and simplifications
- Remove AC_PROG_MAKE_SET; we's be using GNU.
 - Don't AC_SUBST() SPARSE; AC_PATH_PROGS() already does that.
 - Fix cleaning after previous builds by moving up builddir setting
   and only cleaning under $builddir/src/ so as not to launch infinite
   reruns of configure.
2006-01-29 10:33:14 +01:00
Jonas Fonseca
803f3c5d39 More build speed ups by using native make for more stuff
Nearly halves traversal of an empty tree.
2006-01-29 10:32:30 +01:00
Laurent MONIN
02cbb8f8b5 Add a css media test file (see bug 722). 2006-01-29 10:27:56 +01:00
Laurent MONIN
0983c5c764 Fix a memleak that may occur on systems without alloca(), backport from
gettext 0.14.5.
2006-01-29 10:27:41 +01:00
Laurent MONIN
9c767f491f Upgrade config.charset to latest version from gnu gettext. 2006-01-29 10:27:27 +01:00
Jonas Fonseca
f19aa38e1f Fix typo 2006-01-29 10:25:18 +01:00
Jonas Fonseca
d7571e313c Cleanup SGML info backends #includes and description 2006-01-29 10:25:03 +01:00
Jonas Fonseca
3c9c1eba1a Also substitute CONFIG_GNUTLS_OPENSSEL_COMPAT 2006-01-29 10:23:06 +01:00
Laurent MONIN
1f7bc476c6 Add a comment about CONFIG_TCP_INTERLINK. 2006-01-29 10:22:30 +01:00
Laurent MONIN
92387e4478 Store lib.o name in a variable named LIB_O_NAME. 2006-01-29 10:22:19 +01:00
Jonas Fonseca
79f92e3feb Drop relic from index.txt 2006-01-29 10:20:28 +01:00
Jonas Fonseca
18d830da51 A few fixes 2006-01-29 10:19:13 +01:00
Jonas Fonseca
dd9e88b817 Center some dialog examples 2006-01-29 10:18:45 +01:00
Jonas Fonseca
20f7fdbca4 Retire index.txt
Put the remaining parts which didn't already get reused into manual.txt
and base a largely rewritten README on the file listing TOC.
2006-01-29 10:18:27 +01:00
Jonas Fonseca
a456cdbea3 Include osdep/stat.h to get S_* macros 2006-01-29 10:17:37 +01:00
Jonas Fonseca
d80b072e1b Compile fix after check_uri_file() after the cleanup 2006-01-29 10:15:16 +01:00
Jonas Fonseca
43f81014d0 Fix typo 2006-01-29 10:03:46 +01:00
Adam Golebiowski
c475dc6124 Polish translation was updated (work mostly done by Jakub Bogusz) 2006-01-29 10:03:18 +01:00
Laurent MONIN
621d172d94 Add a note about mode_t and S_I???? macros. 2006-01-29 10:03:05 +01:00
Laurent MONIN
e03aacf5d3 Complete the list of S_I* macros. 2006-01-29 10:02:55 +01:00
Laurent MONIN
1c95d6c2af Simplify secure_open() call, make it a wrapper around secure_open_umask(). 2006-01-29 10:02:46 +01:00
Laurent MONIN
5fd2b6228f Prefer S_I?USR and S_IRWXU over obsolete S_IREAD, S_IWRITE, S_IEXEC. 2006-01-29 10:01:30 +01:00
Laurent MONIN
347b3530a1 Use mode_t and mode macros everywhere. 2006-01-29 09:59:09 +01:00
Jonas Fonseca
691d6ee8db Polish translation was updated. 2006-01-29 09:58:39 +01:00
Laurent MONIN
f265cd50fd French translation was updated. 2006-01-29 09:58:09 +01:00
Kalle Olavi Niemitalo
a4aae551a2 Fix pod2html errors in contrib/perl/hooks.pl 2006-01-29 09:57:59 +01:00
Laurent MONIN
e636aba003 More dependencies. 2006-01-29 09:57:48 +01:00
Laurent MONIN
fbe5b19238 Make $(MAN_DIR)/man5/elinkskeys.5 target depends on $(HELP2DOC) and
Makefile.
2006-01-29 09:57:37 +01:00
Laurent MONIN
4071e9b468 Remove obsolete elinksmanual(1) link. 2006-01-29 09:57:23 +01:00
Jonas Fonseca
572563e990 Remove useless FAQ entry 2006-01-29 09:56:49 +01:00
Jonas Fonseca
6c86694923 Preprocess elinks.1.in and elinkskeys.5 to add title and date fields
Regenerate all man pages.
2006-01-29 09:56:39 +01:00
Laurent MONIN
57afb8e34f Use date -I for man page date, suggested by lindi. 2006-01-29 09:55:49 +01:00
Jonas Fonseca
2d95ad040c As a stop gap measure avoid using NULL entry->nonce and realms
Reported by xmath. Obviously needs to be looked into.
2006-01-10 16:09:04 +01:00
Laurent MONIN
a304091a0a print_elinksconf_header(): fix quotes and backslashes
escaping. elinks.conf.5 was badly formatted.
2006-01-10 16:07:57 +01:00
Laurent MONIN
35fa87cd55 Enforce locales env vars to be sure elinks generate english texts,
even on systems using non-english locales.
2006-01-10 16:07:33 +01:00
Jonas Fonseca
8a8ef8ae6a This years batch of Gopher fixes
Two crash fixes, and really make the directory 'view' the default.
2006-01-10 16:07:17 +01:00
Kalle Olavi Niemitalo
63797ae9b3 Don't include <sys/param.h> in util/math for MAX/MIN
<sys/param.h> includes <linux/param.h>, which includes <asm/param.h>, which
includes <asm-i486/param.h>, which includes <linux/config.h>, which
includes <linux/autoconf.h>, which includes <asm-i486/autoconf.h>, which
undefines CONFIG_IPV6.
2006-01-10 16:06:09 +01:00
Jonas Fonseca
32238b625f Simplify the doc Makefile tremendously 2006-01-10 16:05:21 +01:00
Laurent MONIN
857138d391 check_uri_file(): use strcspn(). 2006-01-10 16:03:49 +01:00
Miciah Dashiel Butler Masters
b4edfc977d Fix add_document_to_string to add all chars in a line, not just the first
Revision 1.82 of src/scripting/lua/core.c and revision 1.42
of src/viewer/dump/dump.c (2 years, 2 months ago), which moved
add_document_to_string from the former to the latter, introduced
a logic error: the local variable pos was set in the outer loop,
which iterates thru the lines in the document, whereas it should be
(and had been) set in the inner loop, which iterates thru the columns.

This brings us all the way back to a working current_document_formatted
for Lua scripts.
2006-01-10 16:00:12 +01:00
Miciah Dashiel Butler Masters
2011629449 Fix add_document_to_string to actually add stuff
Revision 1.147 (14 months, 2 weeks ago) broke the logic so that only
frame characters were added. This fixes that change, getting us halfway
back to a working current_document_formatted function for Lua.
2006-01-10 16:00:03 +01:00
Laurent MONIN
bba44965bf check_uri_file(): optimize by not using strlen() more than needed. 2006-01-10 15:59:39 +01:00
Laurent MONIN
0ca96e9ae9 check_whether_file_exists(): optimize by not using strlen() more than
needed.
2006-01-10 15:59:32 +01:00
Jonas Fonseca
3a6d465d94 Use check_whether_file_exists() when encoding a file URI string
The file URI encoding is done in translate_url() immediately after the call
to find_uri_protocol() [which also uses check_whether_file_exists()]. So it
only makes sense to use check_whether_file_exists() also here since this is
a potential ambiguous URL from the user.

This fixes handling of files like 'a?b' given the command line, reported by
rrowan. It broke (for the n-th time ;) in CVS version 1.317->1.318 back in
August. The fix preserves the intend of that patch, namely the intend to
optimize the number of calls to file_exists().
2006-01-10 15:58:50 +01:00
Jonas Fonseca
1a1bf9960d Add a simple test script of the mailcap cache
It has a few nasty hacks to reduce the dependencies on defined symbols.
2006-01-10 15:58:06 +01:00
Jonas Fonseca
754d56b451 Realign the test docs with reality 2006-01-10 15:48:48 +01:00
Jonas Fonseca
c613339b45 Check if the test 'trash' directory could be entered
Original patch by Alex Riesen <raa.lkml@gmail.com> for GIT.
2006-01-10 15:48:33 +01:00
Jonas Fonseca
da9c03b278 Use get_opt_codepage_tree() and kill warning 2006-01-10 15:47:18 +01:00