1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

162 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
388de7bd65 Bug 841, CVE-2006-5925: Disable SMB earlier so that features.log is correct. 2006-11-18 22:17:58 +02:00
Kalle Olavi Niemitalo
f915c31127 Bug 841, CVE-2006-5925: Prevent enabling the SMB protocol.
src/protocol/smb/smb.c: Added #error directives so that this
vulnerable code cannot be accidentally compiled in.

features.conf: Disable CONFIG_SMB by default and explain why.

configure.in: If CONFIG_SMB is enabled, disable it and warn the user.
This is for people who have customized features.conf.
2006-11-18 20:39:01 +02:00
Kalle Olavi Niemitalo
d050cb67aa Revert the use of wcwidth() and describe why.
This reverts the following commits:
- 86ed79deaf
  Use wcwidth if available and applicable.
- 304f5fa1ea
  comment fix (__STDC_ISO_10646__, not __STDC_ISO_10646)
- part of 71eebf1cc7
  Compensate for glibc not defining wcwidth() when _XOPEN_SOURCE is not set
And adds a lengthy comment about LC_CTYPE problems.
2006-10-22 00:05:37 +03:00
Laurent MONIN
09991b59f1 Partial Afrikaans translation was added. Thanks to Friedel Wolff. 2006-10-11 14:39:04 +02:00
Kalle Olavi Niemitalo
86ed79deaf Use wcwidth if available and applicable.
(If wchar_t is not Unicode, then it is not applicable.)
2006-09-24 23:56:12 +03:00
Kalle Olavi Niemitalo
9818f665a8 Fix spelling in the "Python support is incomplete" warning. 2006-09-17 17:32:07 +03:00
Kalle Olavi Niemitalo
9a695bfb0c Explain why the configure script tries to use -rdynamic. 2006-09-17 17:28:57 +03:00
Kalle Olavi Niemitalo
92cb452a9e Rename CONFIG_UTF_8 to CONFIG_UTF8.
The configure script no longer recognizes "CONFIG_UTF_8=yes" lines
in custom features.conf files.  They will have to be changed to
"CONFIG_UTF8=yes".  This incompatibility was deemed acceptable
because no released version of ELinks supports CONFIG_UTF_8.

The --enable-utf-8 option was not renamed.
2006-09-17 16:12:47 +03:00
Witold Filipczyk
4f78b0dda1 True color mode. See new konsole.
TODO: dump
2006-08-19 23:39:40 +02:00
Jonas Fonseca
b9908b4622 Use internal OFF_T_FORMAT instead of PRId64
... since the latter is for printing int64_T and we don't check for that and
we use PRId64 only for printing values having the off_t types.

Besides off_t has it's own ELinks specific defaults so it should be safer
to use an internal format string. If off_t is 8 bytes use "lld" else use
"ld".

Reported-by: Andy Tanenbaum <ast@cs.vu.nl>
2006-08-05 00:43:34 +02:00
Witold Filipczyk
e301f0c4ab Alignment of --with-gc 2006-07-26 21:31:01 +02:00
Witold Filipczyk
d83068ec85 Proper CFLAGS and LDFLAGS for the Python scripting backend.
The patch by M. Levinson.
I added DIR to the --with-python
2006-07-26 21:27:57 +02:00
Witold Filipczyk
098fb87065 Expand $LOCALEDIR. Previously, it was ${prefix}/share/locale 2006-07-21 14:08:24 +02:00
Witold Filipczyk
2a6125e3d0 Merge with utf8. src/document/plain/renderer.c replaced by utf8 version 2006-07-21 13:12:06 +02:00
Witold Filipczyk
70a46e12aa Fixed the issue when assummed codepage is not UTF-8 2006-07-19 19:11:03 +02:00
Witold Filipczyk
49ce097505 Bugfix for bug 768 2006-07-07 19:56:47 +02:00
Laurent MONIN
4b04a25b32 Support for negotiate-auth, using GSSAPI. It makes possible to
authenticate users by Kerberos. Patch by Karel Zak.
2006-06-14 14:41:59 +02:00
Petr Baudis
759ae7bef8 Fix missing space in lzma description indentation 2006-05-23 01:50:55 +02:00
Witold Filipczyk
7d1a966239 lzma encoding support using LZMA SDK. Original lzma executable decompresses faster than this code. I have no idea why. 2006-03-24 12:30:54 +01:00
Miciah Dashiel Butler Masters
368504f736 Update SpiderMonkey configure check Debian compatibility
Support the new libmozjs packages in Debian unstable that replace the
old libsmjs packages.
2006-02-26 08:28:15 +00:00
Miciah Dashiel Butler Masters
b2ec6e0a3e Update SpiderMonkey configure check Debian compatibility
Support the new libmozjs packages in Debian unstable that replace the
old libsmjs packages.
2006-02-26 08:25:22 +00:00
Miciah Dashiel Butler Masters
59ad38bc53 Update Lua configure check for 5.0
Use the new names instead of the deprecated names to increase
the likelihood that later versions, which might lack the
backwards-compatibility wrappers, will work.
2006-02-26 08:20:30 +00:00
witekfl
dca8b9e115 >& is bashism 2006-02-25 09:58:17 +01:00
Pavol Babincak
f9d67aeb73 Added configure option --enable-utf-8
For enabling better UTF-8 support by Witek and Scrool.
2006-02-18 20:28:00 +01:00
Petr Baudis
8890d95174 Cure few of my ie.-vs-e.g. sins 2006-02-11 19:37:57 +01:00
Jonas Fonseca
d2c7fc05e9 BUILD: Always show manual and manpage build info, remove AC_SUBST dups 2006-02-08 20:28:10 +01:00
Jonas Fonseca
51e5a51936 BUILD: Only compile Boehm's GC in if explicitly requested
Reported by zas.
2006-02-01 10:36:42 +01:00
Jonas Fonseca
7eaa1bb2f9 CONFIG: Fix GC checking on Debian-based systems
This changes GC checking to use the EL_CHECK_OPTIONAL_LIBRARY macro to
reduce redundancy. This means that there is --with-gc instead of
--enable-gc so you can pass it a path, which is needed on Debian systems
where <gc.h> resides in /usr/include/gc/gc.h.

The macro is adapted accordingly to serve the above purpose. That is,
"$withval/include" and "$withval/lib" is only appended to CFLAGS and LIBS
if they exist (else "$withval" is appended to CFLAGS).
2006-01-31 04:28:25 +01:00
4aaafc4716 Inroduced garbage collector. Disabled by default 2006-01-30 22:09:13 +01:00
5c607c1ce8 Check for python 2006-01-29 16:48:33 +01:00
c518a9f06a Compilation fix when --without-openssl was used 2006-01-28 22:03:46 +01:00
Jonas Fonseca
20baf3b207 Newer versions of AsciiDoc (7.0.5 atleast) needs to be passed --unsafe
Detect this in configure and set ASCIIDOC_FLAGS accordingly.
2006-01-27 02:32:06 +01:00
20f587a725 Do not link -lfsplib when FSP is not enabled 2006-01-21 20:46:37 +01:00
Jonas Fonseca
e960992d06 Try to cleanup the spidermonkey configuring
Remove the entry in features.log all devoted to spidermonkey.
2006-01-20 16:31:59 +01:00
witekfl
943cbd1bc6 Do not link against -ljs when SEE is used and sm-scripting is disabled 2006-01-20 15:26:57 +01:00
Jonas Fonseca
206037eaa4 Handle the logic for util/{md5,sha1} in the Makefile 2006-01-19 02:08:07 +01:00
Jonas Fonseca
359d835050 Handle the logic for util/scanner in the Makefile; less CONFIG_* variables 2006-01-19 01:24:42 +01:00
Jonas Fonseca
9e592e2131 A few changes to improve configuration of FSP
- Use EL_ARG_DEPENDS(), the other way ended up in undefined symbols
   errors with --enable-fsp and no fsplib.
 - Also check for -lfsp in addition to -lfsplib.
 - This could probably also use a --with-fsplib or something to specify the
   path, had problems with that too, because fsplib-0.7 installed into
   /usr/local, ...
2006-01-16 22:03:31 +01:00
bb9b4437fa - FSP protocol 2006-01-16 11:40:13 +01:00
Jonas Fonseca
becf3b42ab Create .vimrc files both during all and init
Then make init doesn't have to always be run by configure.
2006-01-15 22:23:39 +01:00
Jonas Fonseca
943f9d7185 Create .gitignore file when builddir != srcdir
... so that cg-status will not list files in the builddir when it is
embedded in the srcdir.
2006-01-15 18:49:44 +01:00
Jonas Fonseca
2748d043f9 Autogenerate .vimrc files and put the master in config/vimrc
This changes the init target to be idempotent: most importantly it will now
never overwrite a Makefile if it exists. Additionally 'make init' will
generate the .vimrc files. Yay, no more stupid 'added fairies' commits! ;)
2006-01-15 18:38:58 +01:00
Jonas Fonseca
89f59dab70 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-14 15:00:26 +01:00
Jonas Fonseca
c7022f50e9 Also substitute CONFIG_GNUTLS_OPENSSEL_COMPAT 2006-01-13 01:40:02 +01:00
Jonas Fonseca
a0dc1238b9 Only set CONFIG_ECMASCRIPT_SMJS if CONFIG_SPIDERMONKEY is also defined 2006-01-13 01:33:40 +01:00
Laurent MONIN
fd39e595a3 CONFIG_SEE -> CONFIG_ECMASCRIPT_SEE. 2006-01-12 17:33:33 +01:00
Laurent MONIN
3f9bb0d7f9 CONFIG_BEOS -> CONFIG_OS_BEOS 2006-01-11 20:12:59 +01:00
Laurent MONIN
202965d338 CONFIG_WIN32 -> CONFIG_OS_WIN32 2006-01-11 20:10:27 +01:00
Laurent MONIN
86f5f2cf48 CONFIG_UNIX -> CONFIG_OS_UNIX 2006-01-11 20:10:27 +01:00
Laurent MONIN
9eafa94fd9 CONFIG_RISCOS -> CONFIG_OS_RISCOS 2006-01-11 20:10:26 +01:00
Laurent MONIN
b6ccfc0e07 CONFIG_OS2 -> CONFIG_OS_OS2 2006-01-11 20:10:26 +01:00
Laurent MONIN
a9b8abb70c 2006-01-11 14:14:11 +01:00
Laurent MONIN
52537b6733 2006-01-11 14:10:58 +01:00
Laurent MONIN
76751d1935 2006-01-11 14:10:51 +01:00
Laurent MONIN
5805586f0f 2006-01-11 14:10:41 +01:00
Laurent MONIN
4b2b5798ab 2006-01-11 14:07:17 +01:00
Laurent MONIN
f7a2dfc12a CONFIG_LUA -> CONFIG_SCRIPTING_LUA 2006-01-11 14:06:13 +01:00
Jonas Fonseca
1d2a6e4d1b Introduce CONFIG_ECMASCRIPT_SMJS used for Spidermonkey document scripting
It makes it possible to build with SEE document scripting and Spidermonkey
browser scripting.
2006-01-11 02:21:53 +01:00
witekfl
d8592e4f99 Alternative experimental ECMAScript engine. 2006-01-10 19:17:29 +01:00
Jonas Fonseca
eee912f2c1 elinks-0.12.GIT 2006-01-01 00:21:28 +01:00
Jonas Fonseca
06ce0f5ee6 elinks-0.11.0 2006-01-01 00:00:05 +01:00
Jonas Fonseca
61185ff34e Make ECMAScript browser scripting configurable
Either set CONFIG_SM_SCRIPTING in features.conf or pass to ./configure the
option --disable-sm-scripting. Now scripting is also enabled when needed
and not only if some other scripting backend is enabled.

Remove some remnants of SEE scripting backend.
2005-12-25 02:23:54 +01:00
Miciah Dashiel Butler Masters
5aaf1101e1 When checking the GCC version, use $CC instead of just gcc so that we
get the right version if the user sets CC.
2005-12-20 21:44:15 +00:00
Jonas Fonseca
9bc71ec8a9 Retire the SEE-based *.js scripting backend 2005-12-19 01:22:32 +01:00
Russ Rowan
3c9f192267 Colorize Pasky's build system a bit. 2005-12-15 02:44:15 -05:00
Jonas Fonseca
5882b24ea3 0.11rc0.GIT 2005-12-06 14:36:32 +01:00
Jonas Fonseca
e6b65b5431 0.11rc0 2005-12-06 14:34:52 +01:00
Jonas Fonseca
746cee981c Doh, revert -Wunused-parameter arg 2005-12-06 12:35:48 +01:00
Jonas Fonseca
df8aae9742 Add -Wunused-parameter to the gcc 4.* args
kahmalo reported that it spits out warnings for gcc version 4.1.0 20050716
(experimental).
2005-12-06 12:32:46 +01:00
Kalle Olavi Niemitalo
9dd84f8248 Check for GNUTLS 1.2 or newer (1.1 is too old)
The following patch makes the configure script of ELinks ignore an
installed GNUTLS that is too old.  If --with-gnutls was specified, this
results in a fatal error.

Tested with:
 - Debian libgnutls11-dev 1.0.16-14, configure --with-gnutls
   -> error at configure time
 - Debian libgnutls-dev 1.2.9-2, configure --with-gnutls
   -> compiles OK
2005-12-04 20:44:30 +01:00
Jonas Fonseca
68d692724c Add rules to check all .c files with sparse
... and things ain't looking too good. Lots of warnings.
2005-11-24 13:24:19 +01:00
Jonas Fonseca
44cf54f0fc Fix out-of-tree build when srcdir has no Makefile.config
By recursively 'bootstrapping' the builddir specific Makefiles we no longer
depend on running make in the srcdir.

The problem was pointed out by zas.
2005-10-26 00:34:13 +02:00
Jonas Fonseca
eaee3d5f44 Simplify the creation of out-of-tree Makefiles
They now always use the absolute path to the src Makefile.
Silence the mkinstalldir call.
2005-10-25 17:33:01 +02:00
Jonas Fonseca
9e97a100e2 Introduce 'make cleanall' and run it in the build dir when configuring
... but only if Makefile.config exists. cleanall will cause make to enter
even SUBDIR-no dirs and clean OBJS-no files. This should fix the linking
problem report by zas when running:

	./configure --enable-fastmem ; make ; \
	./configure --enable-debug ; make
2005-10-22 13:25:28 +02:00
Jonas Fonseca
0ba773e7a5 Add the basics for _browser_ (ecma)scripting ELinks with SEE
SEE is David Leonard's Simple Ecmascript Engine.  The SEE scripting backend
is very raw and not tested very much. The idea was to see what kind of
creature SEE is (and contradict pasky's aired opinion that no new features
are added anymore ;).

echo 'function goto_url() { return 'localhost'; }' > ~/.elinks/hooks.js
and get local for maximum security ...

FYI: SEE is smaller than Spidermonkey but doesn't have the same kind of
data-driven interface, although it looks like it is possible to build that.
2005-10-20 20:38:01 +02:00
Laurent MONIN
f28df73348 Fix a missing space. 2005-10-20 10:21:09 +02:00
Jonas Fonseca
c88afeb1c2 path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
Jonas Fonseca
db99a74777 Add support for out-of-tree builds
Involves prefixing with $(srcdir) to some of the build rule variables. For
the builddir we create Makefiles which simply include the srcdir Makefile.
Add list make rule to get list of Makefiles to generate (find will get it
wrong for builddirs nested in srcdir).

There are still a few minor issues like the file paths echoed during make
install ...
2005-10-20 03:49:40 +02:00
Jonas Fonseca
3713389032 Add support for rerunning the autotools
Adaptation of automakes ...
2005-10-03 01:29:52 +02:00
Jonas Fonseca
4f57cd0c6f Make some of the AC_SUBST() variables implicit 2005-10-03 00:50:16 +02:00
Petr Baudis
d8bc3f7b15 Merge with /srv/git/elinks.git 2005-09-26 16:09:29 +02:00
Petr Baudis
87938bbeca Rename locale no to nb
Apparently new name for the locale, makes new gettexts happy. Pointed
out by darix and probably someone else too.
2005-09-26 16:09:00 +02:00
Strahinya Radich
f86a009108 Add Serbian translation 2005-09-23 14:51:14 +02:00
Jonas Fonseca
5455795394 Upgrade to use cg-commit-id for getting build ID
The recent cogito-0.15 renamed commit-id to have the cg-prefix.
2005-09-19 11:04:03 +02:00
Petr Baudis
67ba923af4 Generate doc/man/man1/elinks.1. 2005-09-17 20:43:57 +02:00
Petr Baudis
c94471fde8 Throw in install-sh, missing, and mkinstalldirs, and detect BSD install
presence in the configure script.
2005-09-17 20:00:58 +02:00
Jonas Fonseca
9921e58aba Put the commit ID in the version string
Finally, we are able to identify the builds more accurately. Now we check
if commit-id (cogito tool) is available and pass the output to vernum.c
compilation which then exports it as a build_id string.

The first line of --version is now a bit long, we should probably move the
build date to a second indented line or something.
2005-09-17 14:45:59 +02:00
Jonas Fonseca
a7e8926622 Move notice of GNUTLS >= 1.2 requirement to NEWS file 2005-09-17 11:54:14 +02:00
Petr Baudis
a87d775eeb Merge with git+ssh://pasky.or.cz/srv/git/elinks.git 2005-09-17 08:45:23 +02:00
Petr Baudis
8623d1ce8c Mention that the GNUTLS SSL support is 1.2+
Suggested by Miernik.
2005-09-17 03:53:27 +02:00
Petr Baudis
96c100b014 Define PACKAGE and VERSION macros in config.h. 2005-09-16 13:54:26 +02:00
Petr Baudis
f513eefab9 Readd AC_CONFIG_HEADERS(). 2005-09-16 13:45:59 +02:00
Petr Baudis
a3787a29c1 Remove traces of nuts and automake. 2005-09-16 13:44:33 +02:00
Petr Baudis
94ba122117 Set PACKAGE and VERSION manually isntead of relying on AM_INIT_AUTOMAKE(). 2005-09-16 13:42:25 +02:00
Petr Baudis
03c2fb116d ELBuildized intl/. Final nail in automake's coffin. 2005-09-16 13:38:05 +02:00
Petr Baudis
68b55a8fcb ELBuildized mime/. 2005-09-16 13:36:47 +02:00
Petr Baudis
3e394f3367 ELBuildized viewer/. 2005-09-16 13:33:43 +02:00
Petr Baudis
c89190e0bf ELBuildized scripting/. 2005-09-16 13:29:06 +02:00
Petr Baudis
18f85bec14 ELBuildized util/. 2005-09-16 13:27:27 +02:00
Petr Baudis
98dd1a4fef Converted main, network and terminal to ELBuild. 2005-09-16 13:23:05 +02:00