1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00
Commit Graph

58 Commits

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