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

44 Commits

Author SHA1 Message Date
witekfl
8bedf25bf8 goto_url_hook takes 2 params not 1. Some dumbprefixes defined in hooks.py 2006-11-27 17:13:02 +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
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
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
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
Kalle Olavi Niemitalo
a4aae551a2 Fix pod2html errors in contrib/perl/hooks.pl 2006-01-29 09:57:59 +01:00
Jonas Fonseca
c808063946 Fix typo 2006-01-09 16:50:27 +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