1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00
Commit Graph

60 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
19e2b5fd83 grafthistory: support curl
Mac OS X comes with curl (in the com.apple.pkg.BSD package)
but not with wget.
(cherry picked from commit 14cb43f403)
2008-07-03 11:41:34 +03:00
Kalle Olavi Niemitalo
332438b0c7 grafthistory: keep the downloaded pack, speed up git gc
To segregate the historical commits (can't remember why),
I originally placed their pack in an alternate object store,
but later I found that a *.keep file does the job as well.
This gives a considerable speedup in git gc.  It takes some
more disk space but OTOH you might then run gc more often
and have fewer loose objects.

real      user      sys      (tested in this order)
1m15.900s 0m59.732s 0m4.336s gc after clone&graft without *.keep
0m23.162s 0m17.549s 0m1.588s gc after clone&graft with *.keep
0m06.932s 0m04.440s 0m0.588s gc after clone&graft&gc with *.keep
0m32.214s 0m24.138s 0m2.284s gc after clone&graft&gc without *.keep

Total size of .git/objects/pack/ was 90592 KiB without *.keep
and 97397 KiB with *.keep.  So *.keep reduced gc time by 70-80%
but increased disk space usage by 7.5%.
(cherry picked from commit d2c5aeb2c7)
2008-07-03 11:41:23 +03:00
Kalle Olavi Niemitalo
c6421966a7 grafthistory: comment about downloading the pack index
(cherry picked from commit 6139c2ffb5)
2008-07-03 11:41:08 +03:00
Kalle Olavi Niemitalo
80bb49dfff grafthistory: exit if a command fails
(cherry picked from commit bc42af691b)
2008-07-03 11:40:57 +03:00
Kalle Olavi Niemitalo
521a21d74e grafthistory: git-* commands are deprecated
The fully dashed form git-update-server-info is deprecated
in Git 1.5.4 and will cease to work in Git 1.6.0 (unless
PATH is modified).  Use git update-server-info instead.
(cherry picked from commit 31255d4a4d)
2008-07-03 11:40:46 +03:00
Miciah Dashiel Butler Masters
7e0c0e14e2 Strings corrections from Malcolm Parsons
Fix the spelling and grammar in various comments, variable names, comment
descriptions, and documentation.
2008-01-27 04:17:47 +00:00
Jonas Fonseca
5999d1ef06 Change elinks.or.cz references to elinks.cz
Except for the contrib area changes, they are already in elinks-0.12 and
master.
2008-01-22 12:36:21 +01:00
Kalle Olavi Niemitalo
383f95505f Move debian to contrib/debian.
Today on the elinks-dev mailing list, the new maintainer of the Debian
elinks package asked the debian directory to be removed from released
tarballs, because it makes the Debian diff hard to read.  Also, the
files there are out of date.

When the debian directory was discussed in April 2007, people didn't
want it to be removed, so I instead moved it to contrib/debian in
ELinks 0.12.GIT (599cf3d91e).
And now I'm doing the same in 0.11.3.GIT.
2008-01-06 22:27:25 +02:00
Witold Filipczyk
6bec461302 contrib: Tool for view pages offline.
This tool is intended for developers to make debugging ELinks more fun.

[ From commit 4e310fd9aa in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:51:49 +03:00
Kalle Olavi Niemitalo
8d02ae75c8 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
    :)

[ From commit 9f75e1f094 in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:41:42 +03:00
Kalle Olavi Niemitalo
1dfdb6e19b Revert 8bedf25b, "goto_url_hook takes 2 params not 1."
Revert 8bedf25bf8.  Different versions
of ELinks call the Python goto_url_hook with different arguments:

- goto_url_hook(current) in 0.11.0, 0.11.1, and 0.11.2.

- goto_url_hook(new, current) in 0.11.2.GIT since 2007-11-27, commit
  8bedf25bf8 which I'm now reverting.
  No released version of ELinks has used this variant.

- goto_url_hook(new) in 0.12.GIT since 2007-01-01, commit
  26473f72f5.  The hook can call
  elinks.current_url() if desired.

I think it will be less confusing to users if we drop the middle
variant and make the rest of the stable 0.11 branch call the hook in
the same way as 0.11.2 did.  The difference will then be only between
the 0.11 and 0.12 branches.
2007-04-06 14:30:00 +03:00
Kalle Olavi Niemitalo
854cc4b5fd Remove inaccurate information from README.Python.
These parts of contrib/python/README.Python are not accurate for
ELinks 0.11.2.GIT:

- It suggests using --with-python=/usr/local, but configure.in treats
  that as equivalent to --without-python and contains a comment:

	# FIXME: If withval is a valid directory append it to PATH
	# so that you can specify one of several Python installations.

- It suggests creating a libpython.so symbolic link, but as of commit
  421d04093a, the configure script no
  longer tries to link with a bare -lpython but rather always appends
  a version number.
2007-04-05 11:31:35 +03:00
witekfl
aa56bff974 spec: s/gawk/awk/ 2006-11-27 18:28:30 +01:00
Russ Rowan
f5dc223f2f Scary stuff indeed. 2006-11-27 18:26:13 +01:00
witekfl
7fb319fd36 Removed *.html and fixed typos 2006-11-27 18:21:07 +01:00
witekfl
b05a2e0998 Info about Python scripting 2006-11-27 17:19:10 +01:00
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