1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-04 02:35:29 +00:00
Commit Graph

97 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
46eeac0aeb s/elinks\.or\.cz/elinks.cz/ in contrib/debian/
Inspired by commit 5999d1ef06
in ELinks 0.11.3.GIT.
2008-02-28 11:55:24 +02:00
Jonas Fonseca
bc04050126 Fix typo
(cherry picked from commit c808063946)
2008-02-28 11:52:45 +02:00
Kalle Olavi Niemitalo
d2c5aeb2c7 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%.
2008-02-28 10:55:47 +02:00
Kalle Olavi Niemitalo
6139c2ffb5 grafthistory: comment about downloading the pack index 2008-02-24 22:24:33 +02:00
Kalle Olavi Niemitalo
bc42af691b grafthistory: exit if a command fails 2008-02-24 22:23:39 +02:00
Kalle Olavi Niemitalo
31255d4a4d 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.
2008-02-24 22:13:00 +02:00
Miciah Dashiel Butler Masters
3a0286e447 Strings corrections from Malcolm Parsons
Fix the spelling and grammar in various comments, variable names, comment
descriptions, and documentation.
2008-01-27 04:19:23 +00:00
Laurent MONIN
f0e66866f5 Trim trailing whitespaces. 2007-09-14 15:12:32 +02:00
Kalle Olavi Niemitalo
49678b9320 Rewrote contrib/mkdist.
* All arguments must now be given as options.
* Documented.
* chmod +x in Git.
* Do not distribute files whose contents should depend on what the
  configure script found: config.h, config.log, config.status,
  features.log, Makefile.config, contrib/conv/w3m2links.awk,
  contrib/lua/hooks.lua, doc/man/man1/elinks.1.
* Do not distribute other files that configure will rebuild anyway:
  src/intl/gettext/ref-add.sed, src/intl/gettext/ref-del.sed.
  But do distribute contrib/elinks.spec, because it specifies how
  to run configure, and only the @VERSION@ varies in it.
* Do not distribute the empty directory po/.deps.
* Save the commit ID into .git/HEAD in the tar file.
* Compress the *.tar.gz and *.tar.bz2 from the same *.tar file.
* Instead of *.tar.gz.md5 and *.tar.bz2.md5, generate a *.md5 file
  that contains md5sums for *.tar, *.tar.gz, and *.tar.bz2.
* Use md5sum --binary for the sake of Windows.
2007-07-19 22:02:01 +03:00
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