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

138 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
e4c475f6df proxy: Ignore files created via Makefile.
gen.c wrote "%d.txt" files, but adding "*.txt" to .gitignore might
cause future documentation to be ignored.  Rename to "%d.http".
2007-07-17 14:38:43 +03:00
Kalle Olavi Niemitalo
9ef3dd5e29 Debian bug 431211: Correct GNU GPL version in debian/copyright. 2007-07-06 02:08:22 +03:00
Witold Filipczyk
4e310fd9aa contrib: Tool for view pages offline.
This tool is intended for developers to make debugging ELinks more fun.
2007-06-23 16:08:58 +03:00
Kalle Olavi Niemitalo
9f75e1f094 Link to gitweb at repo.or.cz, rather than pasky.or.cz.
The history converted from CVS is not in repo.or.cz though, so keep
referring to pasky.or.cz for that.  (We don't seem to use
"gitweb.elinks.cz", which is a DNS alias for pasky.or.cz.)

<paakku> Do you think we should maybe point people to gitweb at
    repo.or.cz rather than pasky.or.cz?
<pasky> absolutely
<pasky> actually I thought we already are pointing people at
    repo.or.cz
<pasky> at least there was some movement to do that already, I believe
    :)
2007-06-21 10:29:06 +03:00
Kalle Olavi Niemitalo
2c576cd1d6 contrib/elinks.conf: Remove the file.
I don't think there is any point in keeping this file when users can
easily run elinks -no-home -config-dump to get an equivalent one.
The result won't include options for features that were disabled at
configure time, but the users won't need those options either.

Furthermore, if this file is installed as /etc/elinks/elinks.conf like
contrib/debian/rules does, and people then modify it, they cannot
easily upgrade to changed defaults in later ELinks versions; these
changes may even be security-related, like ecmascript.enable in the
upcoming ELinks 0.12.0.  It is better if /etc/elinks/elinks.conf
contains only the settings that the sysadmin explicitly wants to
change from the defaults, and all the rest comes from the elinks
binary.
2007-05-06 22:05:11 +03:00
Kalle Olavi Niemitalo
f33c95ac7b contrib/elinks.conf: Update from -config-dump.
Just to show how badly it was out of date.
2007-05-06 21:47:53 +03:00
Kalle Olavi Niemitalo
097195bef4 Add contrib/mkdist, used for making ELinks snapshots and releases.
This is the mkdist to which doc/release.txt refers.
The script was originally written by Pasky and then modified by Fonseca.
This version doesn't know the correct directory names and so won't work
without modifications, but it seems better to check it in now than wait.
2007-04-22 18:01:22 +03:00
Kalle Olavi Niemitalo
599cf3d91e Move debian to contrib/debian.
Files in the debian directory aren't being kept up to date.
(For example, debian/control declares a dependency on libgnutls11-dev
even though ELinks now requires at least 1.2, and debian/changelog
does not mention the 0.11.* releases.)
Until the files are up to date again and there is a commitment to keep
them so, they belong in contrib.
2007-04-22 15:54:50 +03:00
Witold Filipczyk
d341483639 gpm: ELinks can use the wheel mouse on the Linux console.
The gpm-wheel.patch in src/contrib. Tested for the exps2 mouse type.
2007-03-10 12:55:23 +02:00
Witold Filipczyk
728c97556d bzip2: Used the patch from bug the 517.
Removed the bzip2-pipe.patch from contrib.
2007-02-24 16:12:49 +02:00
Witold Filipczyk
0fe90d6ac6 bzip2: added the configure option --enable-bzip2-encoding
Use it with the patched bzlib. The patch in contrib.
Added the bzip2-pipe.patch.README.
2007-02-24 16:12:39 +02:00
Witold Filipczyk
cc28da68a7 bzip2: removed unclean my BZ2_bzRead2.
Use the patched bzlib instead. I put the bzip2-pipe.patch
in the contrib directory.
2007-02-24 16:12:31 +02:00
M. Levinson
ec1bedc25e Python: Document more goto_url_hook and follow_url_hook return values.
Document what happens if goto_url_hook or follow_url_hook returns None or "".
doc/events.txt already explains the corresponding C values.

[ commit message by me --KON ]
2007-01-12 00:02:50 +02:00
M. Levinson
26473f72f5 Python: Give goto_url_hook only one argument, like follow_url_hook.
On Dec 31, 2006, at 11:30am, Kalle Olavi Niemitalo writes:
>src/scripting/python/hooks.c (script_hook_url) calls hooks as
>goto_url_hook(new-url, current-url) and follow_url_hook(new-url).
>It has a comment saying that the current-url parameter exists
>only for compatibility and that the script can instead use
>elinks.current_url().  However, the current-url parameter was
>added in commit 87e27b9b3e and is
>not in ELinks 0.11.2, so any compatibility problems would only
>hit people who have been using 0.12.GIT snapshots.  Can we remove
>the second parameter now before releasing ELinks 0.12pre1?

The decision isn't up to me, but I think this is a good idea. Here's a
patch that would update the documentation and hooks.py, as well as hooks.c.

FYI, if this patch is applied then anyone who's still trying to use a
goto_url_hook that expects a second argument will get a "Browser scripting
error" dialog box that says:

	An error occurred while running a Python script:

	TypeError: goto_url_hook() takes exactly 2 arguments (1 given)
2007-01-01 17:45:36 +02:00
M. Levinson
78bd416dc0 Bug 880: Prevent SIGSEGV in init_python when -no-home is used.
Before this patch, init_python would crash trying to set up elinks.home
at the Python side.  Now it uses None as the value in that case.
Also, init_python no longer adds "(null)" to $PYTHONPATH.
2006-12-08 19:59:41 +02:00
Thomas Adam
1951009a2d Lots of updates to hooks.rb
[jf: Merged from http://starshine.org/xteddy/thomas/elinks/hooks.rb]
2006-12-04 23:23:12 +01:00
Jonas Fonseca
7e9fc6f33b 6 GB funny 2006-11-28 21:49:35 +01:00
M. Levinson
0c1ba7306f doc: Additional functionality for Python backend.
This should have been in commit ebadc9bf9e.
2006-11-26 11:37:51 +02:00
Miciah Dashiel Butler Masters
44537de0c4 SMJS (user): Add documentation on the available interfaces
Note that the interfaces may change at any time (which is the reason that
I've put off committing this file for so long).
2006-11-14 16:13:11 +00:00
Witold Filipczyk
c87186e156 Merge with git+ssh://pasky.or.cz/srv/git/elinks.git 2006-10-21 13:55:45 +02:00
Miciah Dashiel Butler Masters
c884123d53 SMJS: Add scripts for YouTube and PornoTube 2006-10-20 23:11:25 +00:00
Miciah Dashiel Butler Masters
f22dbfb6f5 SMJS: block_pr0n: return the original URI if not blocking it
Return the original URI instead of the value true, so that any later hooks
will have the URI.
2006-10-20 23:10:36 +00:00
Witold Filipczyk
68913c8c7d Oh, sorry. I forgot about these. 2006-10-19 16:20:26 +02:00
M. Levinson
ebadc9bf9e Additional functionality for Python backend. 2006-10-19 15:21:39 +02:00
Witold Filipczyk
8c0af4e403 Minor optimization in hooks.py 2006-09-02 12:26:55 +02:00
Witold Filipczyk
c201ecbb46 Fixed. 2006-09-02 12:18:27 +02:00
Witold Filipczyk
c5a6e58e64 Added google_redirect. Speedup. 2006-09-02 12:07:29 +02:00
Witold Filipczyk
6c8f532692 Fixes to the Python scripting by M. Levinson 2006-07-24 18:52:25 +02:00
Miciah Dashiel Butler Masters
40a0152ed3 SMJS: Add reload() function to reload hooks.js 2006-06-23 04:00:02 +00:00
Miciah Dashiel Butler Masters
eced76116d SMJS: videodownloader.net smartprefix 2006-06-23 03:58:31 +00:00
Miciah Dashiel Butler Masters
a8cb377325 SMJS: Babelfish smartprefix
Port the Lua Babelfish smartprefix
2006-06-23 03:55:08 +00:00
Miciah Dashiel Butler Masters
4206716d2a SMJS: gmane: search for newsgroup or mailing list if no search terms
If given only one word, guess whether it is a newsgroup or a mailing list
and search for it.
2006-06-23 03:52:49 +00:00
Jonas Fonseca
97f9b90e27 Fix a typo 2006-06-06 16:26:45 +02:00
Jonas Fonseca
3cb080e5a2 Update vi keybindings to match the new action names 2006-05-26 23:48:39 +02:00
Witold Filipczyk
15caf0ff0c I didn't know that the tarball has generated html docs :) 2006-04-29 18:09:23 +02:00
Miciah Dashiel Butler Masters
ca312b7d90 Fix for recent change in Google Video 2006-03-26 20:28:25 +00:00
witekfl
c26ce0d291 spec: s/gawk/awk/ 2006-02-25 10:16:35 +01:00
Russ Rowan
2a5317a67b Scary stuff indeed. 2006-02-21 23:12:12 -05:00
Miciah Dashiel Butler Masters
b64b76a3ce Revert bad stuff in a3fb98f499
Revert stuff that wasn't supposed to have been committed.
2006-02-19 07:31:39 +00:00
Miciah Dashiel Butler Masters
a3fb98f499 src/bfu
Inconsequential change to push_hierbox_delete_button

Use item instead of context->item.
2006-02-19 06:22:12 +00:00
witekfl
f5b0611486 Removed *.html and fixed typos 2006-02-17 19:16:57 +01:00
witekfl
1f19d7c55d Mended broken html on www.mbank.com.pl 2006-02-06 16:03:08 +01:00
witekfl
5388ccc5ef hooks.py: annulled black background on cygwin.com 2006-02-02 16:04:11 +01:00
Miciah Dashiel Butler Masters
8d91c501a6 SMJS: mangle_deb_bugnumbers: fix horrible error
Use cached.type instead of cached.content_type so that the script
works again.
2006-01-30 15:42:58 +00:00
b99f15fa33 Info about Python scripting 2006-01-30 12:39:40 +01:00
87e27b9b3e goto_url_hook takes 2 params not 1. Some dumbprefixes defined in hooks.py 2006-01-29 14:58:03 +01:00
Eric Wald
c6ba201e0c 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-28 05:21:45 +01:00
Miciah Dashiel Butler Masters
2e9d433402 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-28 03:27:45 +00:00
Miciah Dashiel Butler Masters
495fb2805b 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-28 03:27:45 +00:00
Miciah Dashiel Butler Masters
4fda3ba828 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-25 15:52:19 +00:00
Miciah Dashiel Butler Masters
8391080201 Reflow some logic in google_video.js. 2006-01-25 15:50:51 +00:00
Miciah Dashiel Butler Masters
8a4a18796b 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-25 15:36:31 +00:00
Miciah Dashiel Butler Masters
1082c85bd0 Fix GITweb smartprefix blob, tree, and history commands. 2006-01-16 18:53:56 +00:00
5a3f77fbe2 Removed obsolete CGI script. From now there is native FSP support. 2006-01-16 14:16:13 +01:00
Kalle Olavi Niemitalo
e75bd0e79f Fix pod2html errors in contrib/perl/hooks.pl 2006-01-10 22:40:13 +01:00
Russ Rowan
c3066a4076 bugmenot.com changed their format. Back to the old method of handling it. 2005-12-30 20:04:48 -05:00
Jonas Fonseca
73a91e6d8f Also allow 'gitweb tag elinks-0.11rc0' 2005-12-30 03:37:56 +01:00
Jonas Fonseca
b2848dd1cb Add gitweb smartprefix
Examples are 'gitweb shortlog elinks-0.11rc0' and 'gitweb search NEWS'.
2005-12-30 01:32:31 +01:00
Miciah Dashiel Butler Masters
a0f8465770 Return uri from rewrite_uri instead of true. 2005-12-29 22:28:58 +00:00
Miciah Dashiel Butler Masters
ff2f2e2df1 Factor smartprefixes_common.js and smartprefixes_bookmarks.js out of
hooks.js and add smartprefixes_classic.js.
2005-12-29 22:28:36 +00:00
Miciah Dashiel Butler Masters
b9a3855f98 Use ===, which checks for equality of value as well as equality of type,
instead of doing both checks separately.
2005-12-29 07:32:12 +00:00
Miciah Dashiel Butler Masters
10e8282e7c Add a hooks.js for SpiderMonkey to make Jonas happy. 2005-12-29 07:06:35 +00:00
Miciah Dashiel Butler Masters
ca4e79f123 Drop .or from elinks.or.cz. 2005-12-29 04:43:25 +00:00
Miciah Dashiel Butler Masters
6ee8bc7966 Fix an error message: the cvs prefix takes one to three arguments,
not two to three.
2005-12-29 04:19:27 +00:00
Jonas Fonseca
c99b1cc2cc Render content of CDATA sections with orange2 (in lack of something better) 2005-12-26 19:56:07 +01:00
Jonas Fonseca
3338f851ec Add example of how to configure colors used for HTML highlighting 2005-12-24 16:03:15 +01:00
Jonas Fonseca
9bc71ec8a9 Retire the SEE-based *.js scripting backend 2005-12-19 01:22:32 +01:00
Petr Baudis
aaac5e2047 Make the grafting script more idi^Wuser-proof
Insist on being run from the project root and pre-create possibly
missing directories.
2005-12-14 19:32:18 +01:00
Jonas Fonseca
df97a92e53 Oops, add missing description of preformat hook return value 2005-11-26 01:22:14 +01:00
Jonas Fonseca
22008c5c62 Improve the ruby hook example file
Add preformat hook by Thomas Adam (as can be seen on his ELinks page at
http://edulinux.homeunix.org/elinks/) and spice up the hook descriptions
a bit.
2005-11-26 01:14:08 +01:00
Russ Rowan
8399b2caf2 The site search prefix now checks for an actual URL (with the isurl sub).
Searching for multiple terms with the site specified is now possible.
2005-11-23 16:56:39 -05:00
Russ Rowan
638cce2d19 The URL checking now has its own subroutine. 2005-11-23 16:14:57 -05:00
Russ Rowan
917b310cdb Fixed the IP address detection in goto search. 2005-11-23 15:42:23 -05:00
Russ Rowan
4f74807a9b Added a usenet binary search prefix. 2005-11-03 01:52:33 -05:00
Jonas Fonseca
7659f284ac Try to comply to the client-side javascript interface and not our own
Renames the following things:
ELinks.write() -> alert() or navigator.alert()
ELinks.version -> navigator.appVersion
ELinks.home    -> navigator.appHome

The last one is not defined by the client-side javascript interface.
2005-10-25 17:43:33 +02:00
Jonas Fonseca
b73cb9d8d0 Cleanup and add gitweb() lambda
It will handle searching and going to the different views (summary, log,
tree, etc)
2005-10-24 02:35:28 +02:00
Jonas Fonseca
28f615138c Add some smart lambda derived prefixes: gmane, bugzilla 2005-10-24 02:07:51 +02:00
Jonas Fonseca
9f104bca07 Add a sample hooks.js file based on treats from lua
Only localhost detection plus dumb- and smartprefixes for now.
2005-10-24 00:59:40 +02:00
Laurent MONIN
df065ead80 Remove now useless $Id: lines. 2005-10-21 09:14:07 +02:00
Russ Rowan
de63178386 Convert some characters to entities to allow them in a search string. 2005-09-28 16:02:01 -04:00
Frobozz the Neuromancer,668,302-521-2606,609-645-8080
c914d6a1e3 Added contrib/grafthistory.sh 2005-09-19 08:46:50 -04: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
eb22654911 Me Og, Og correct English not to look like Og speaking. 2005-09-17 03:26:09 +02:00
Frobozz the Neuromancer,668,302-521-2606,609-645-8080
a153695c08 No more $ld$s. 2005-09-15 20:03:22 -04:00
Petr Baudis
06ea255a22 Convert part of the build to the new build system
The root makefile is converted as well as some leaf Makefiles. This
also brings in the required infrastructure and adjusts configure.in
appropriately.

I converted only makefiles containing no configurable stuff, since
that'll require more consideration yet.
2005-09-15 21:03:56 +02:00
Jonas Fonseca
7462f22635 Remove now obsolete .cvsignore files. 2005-09-15 18:33:20 +02:00
Jonas Fonseca
da11cf325a Convert more bits from the .cvsignore files. Now cg-status doesn't list
anything here. It might do in the future.
2005-09-15 18:25:37 +02:00
Petr Baudis
0f6d4310ad Initial commit of the HEAD branch of the ELinks CVS repository, as of
Thu Sep 15 15:57:07 CEST 2005. The previous history can be added to this
by grafting.
2005-09-15 15:58:31 +02:00