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

1077 Commits

Author SHA1 Message Date
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
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