Kalle Olavi Niemitalo
6f14725204
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 the user set CONFIG_SMB in features.conf or
--enable-smb in the command line, disable them and warn the user.
(This commit combines f915c31127
and
388de7bd65
from ELinks 0.12.GIT.)
2006-11-18 22:37:51 +02:00
Witold Filipczyk
8789b7c330
Ecmascript: activate link only when onClick returns true
...
[ Merge stuff from commit c3f17eadeb
, namely
the remaining part which changes enter() to only call activate_link when
needed. --jonas ]
2006-08-22 23:49:40 +02:00
Jonas Fonseca
fcf8d31eba
Fix compilation on Minix3
...
- Include arpa/inet.h to get hton* ntoh* functions.
- Use socklen_t instead of int.
- Try to define PF_INET to AF_INET if it doesn't exist.
Reported-by: Andy Tanenbaum <ast@cs.vu.nl>
2006-08-22 22:10:51 +02:00
Jonas Fonseca
205f346d49
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:39:14 +02:00
Jonas Fonseca
f5d26a34cb
elinks-0.11.1.GIT
2006-01-29 14:03:48 +01:00
Jonas Fonseca
8abfea7054
elinks-0.11.1
2006-01-29 14:00:40 +01:00
Jonas Fonseca
73622b69ba
Update po files
2006-01-29 13:01:18 +01:00
Jonas Fonseca
1afc6b8065
Add Eric Wald to authors
2006-01-29 12:58:30 +01:00
Jonas Fonseca
5e60934627
Sync the doc/ changes from elinks-0.12
...
This includes a lot of improvements to the manpages. The API doc changes
are not merged.
2006-01-29 12:52:19 +01:00
Jonas Fonseca
038f3a4502
Apply the many changes to Makefile.lib in one go
...
This fixes make test dependencies and a lot more things.
2006-01-29 12:41:14 +01:00
Jonas Fonseca
081ab78a88
Revert 06eb3fa02abf12c6d2352af4288a6ad465a0e8c1 (in the historic repo)
...
This was reverted by zas in commit 2a71adda10
in current HEAD (elinks-0.12).
The original commit message reads: Anchors with '#' didn't "work" for
libstdc++ local documentation due to encoded filenames. This change fixes
it and hopefully has no impact for other parts of ELinks.
2006-01-29 12:28:43 +01:00
Jonas Fonseca
ba68992ef2
Normalize all links added by the plain renderer
...
Fixes problems with host or protocol parts not being lowercased. This
triggers an assertion failure when trying to download such links. Reported
by lindi-.
2006-01-29 12:06:30 +01:00
Miciah Dashiel Butler Masters
1c73b1aa69
SMJS: mangle_deb_bugnumbers: add <pre>; set rendered view
...
Use the newly available view_state object to change to rendered view
and wrap everything in <pre> ... </pre> if the document MIME type is
text/plain.
2006-01-29 12:02:23 +01:00
Miciah Dashiel Butler Masters
b9d5bcee1c
SMJS: Give user scripts access to the view_state
...
Introduce the view_state object to ECMAScript with properties .uri and
.plain and pass the current view_state to preformat hooks.
2006-01-29 12:02:08 +01:00
Jonas Fonseca
b69e0d4eb2
Fix out of bound access to the scanned string
2006-01-29 11:54:35 +01:00
Jonas Fonseca
e5ba160c77
Detect whether asciidoc supports --unsafe; set ASCIIDOC_FLAGS accordingly
2006-01-29 11:44:40 +01:00
66500fa4ab
Set text/plain for errors
2006-01-29 11:43:25 +01:00
bd4be81013
Content-Type handling
2006-01-29 11:42:43 +01:00
b530860e5a
Use slashes after directories. Blocks are not used where there is only
...
one instruction
2006-01-29 11:41:33 +01:00
Jonas Fonseca
fac4c2631f
Handle <base href=""> for HTML source rendering
...
Requested by witekfl.
2006-01-29 11:41:13 +01:00
Jonas Fonseca
b7ffca5485
Rename enum html_element_type to html_element_mortality_type
...
This name is reserved for DOM.
2006-01-29 11:32:14 +01:00
Miciah Dashiel Butler Masters
53fb55d8b3
Use <meta> refresh instead of elinks.location method.
...
Instead of assigning the URI for the video to elinks.location, instead
create a <meta> tag to automatically load the video. This way, the video
will still be automatically loaded when the document is loaded from cache.
2006-01-29 11:31:21 +01:00
Miciah Dashiel Butler Masters
e9d12e9128
Reflow some logic in google_video.js.
2006-01-29 11:31:07 +01:00
Miciah Dashiel Butler Masters
bb866498a1
Add a rewrite rule for video.google.com to automatically play videos
...
From the file:
Play videos at video.google.com with minimal niggling. Just follow
the link from the front page or the search page, and the video will
automatically be loaded.
2006-01-29 11:30:53 +01:00
Jonas Fonseca
46ba880e47
List native FSP protocol support
2006-01-29 11:30:30 +01:00
Jonas Fonseca
1d516527ca
Fix the mailcap test program's dependency on gettext
2006-01-29 11:28:38 +01:00
Jonas Fonseca
b53efd138b
Fix the EPLF FTP parser test to run FreeBSD
2006-01-29 11:28:26 +01:00
8a1a2d427b
Make elinks tcc (tiny C compiler) friendly.
...
If you want to try tcc use CC=tcc ./configure and make LD=tcc.
I built ELinks with tcc, but ELinks segfaults.
2006-01-29 11:28:05 +01:00
7832b29030
Do not link -lfsplib when FSP is not enabled
2006-01-29 11:26:40 +01:00
Jonas Fonseca
c8eebcd23b
Don't contaminate CFLAGS with stuff from RUBY_CFLAGS
2006-01-29 11:25:43 +01:00
Jonas Fonseca
9ddadc3075
#include dom/node.h instead of dom/stack.h
2006-01-29 11:22:08 +01:00
Jonas Fonseca
db2dc119f9
Remove some suspiciously looking empty lines
2006-01-29 11:21:17 +01:00
Miciah Dashiel Butler Masters
2cab7a5455
look_for_link: simplify string
...
Use stracpy(empty_string_or_(target_base)) instead of
null_or_stracpy(target_base) and then stracpy("") if that returns NULL.
2006-01-29 11:19:34 +01:00
witekfl
a191b4dc31
Used protocol/common.h in CGI
2006-01-29 11:19:18 +01:00
Jonas Fonseca
2074c8ca88
Remove unused fsp_info struct; use sizeof(*table); fix dir entry hiliting
2006-01-29 11:16:48 +01:00
Jonas Fonseca
2b27347359
Simplify URI string grapping; make dir listing more like FTP; use READ_SIZE
2006-01-29 11:16:20 +01:00
Jonas Fonseca
91f0abfbc1
Minor space cleanups; use pid_t; abort_connection() will close_socket()
2006-01-29 11:16:07 +01:00
Laurent MONIN
c6a0cef63a
French translation was updated.
2006-01-29 11:15:52 +01:00
Laurent MONIN
78a54412c3
Typo fix.
2006-01-29 11:15:31 +01:00
Jonas Fonseca
af67388201
Move close_all_non_term_fd() shared by SMB and FSP to protocol/common
...
Stick a note near the OBJS sorting that it is there also to filter out
duplicates, which are now occuring with SMB and FSP compiled in.
2006-01-29 11:15:18 +01:00
Jonas Fonseca
cbd22ecaca
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-29 11:13:22 +01:00
Jonas Fonseca
7c112e0fa5
Paste the first few lines of fsp.sf.net into the FSP description
2006-01-29 11:12:43 +01:00
Miciah Dashiel Butler Masters
750a915ebb
Fix GITweb smartprefix blob, tree, and history commands.
2006-01-29 11:11:13 +01:00
c9f58a36c9
Removed obsolete CGI script. From now there is native FSP support.
2006-01-29 11:10:14 +01:00
c287c42a07
Make PHP 5 happy.
2006-01-29 11:06:09 +01:00
9341c9085e
- FSP protocol
2006-01-29 11:03:53 +01:00
Jonas Fonseca
183f0e3ba4
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-29 10:47:15 +01:00
Jonas Fonseca
1b999c9b6a
Remove .vimrc files; use the Vim ftplugin instead
2006-01-29 10:45:22 +01:00
Jonas Fonseca
a527afaacf
Make the init target safer, so it won't overwrite subdir Makefiles
2006-01-29 10:41:25 +01:00
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