edbrowse: Update wip/edbrowse to 3.7.1

pkgsrc changes:
 - Use MASTER_SITE_GITHUB for MASTER_SITES and just fetch the .tar.gz archives
   there
 - Depends on lang/libduktape and drop dependency to wip/spidermonkey24

Changes:
3.7.1:
Automatically expand a frame when javascript tries to access its objects.
Otherwise it won't expand unti you expand it explicitly.
This saves resources; don't fetch and expand a frame unless it is needed.

^c interrupts javascript, if that javascript calls our native
methods. It also interrupts http fetch.  Hit ^c if the browsing is
taking too darn long - however - the page may not render properly
or completely.  Don't do this if you are using this page for
ecommerce or something vital.

Keep edbrowse in 1 process. Don't fork a javascript process to make
all the js calls.  There are many technical reasons why 1 process
is a better design.

The keyword jspool is no longer used in the .ebrc config file.  This
was needed for Mozilla JS, but it is not needed for Duktape.

Gather keyword value pairs from <style> tags and css files and
apply them to the corresponding javascript objects.  Implement
getComputedStyle().

3.7.0:
Switch from Mozilla js to Duktape js.

Mask password fields on input forms with stars, as other browsers do.
Issue the ipass command to enter a password without echo.

Curl authorization negotiations enabled or disabled via the can toggle command.
This is a workaround for problems with NTLM.

Parallel instances of edbrowse don't clobber each other's cookies
when they exit and write the common cookie jar.  See mergeCookies()
in cookies.c.  curl does not become active until you need it.

Environment variable JSGC forces duktape garbage collection after
every script.  Environment variable JS1 keeps edbrowse and js in
one process.  These are for development and testing, and could go
away.

Clean up compiler warnings so we can use the -Wall flag.

3.6.3:
Maintain a cache of http files.
Provides faster access to websites that are visited often.
Cache directory and size can be set in the config file, but the
defaults are reasonable.

Use a substring of the url to determine a mime type, not just the suffix.
This is primarily for youtube videos, which can play as a stream, but have no
obvious protocol or suffix to key on.
urlmatch = youtube.com/watch?|youtube.com/embed/
Currently a substring, may become a regexp later.

g? prints the url for the link instead of going to it. You can look before you
leap.
Also g2? g$? etc.

i* on a textarea <buffer 7> goes to that editing session, in this
case equivalent to e7.  This is convenient for scripting, since
you don't know ahead of time which buffer will be allocated for
this purpose.

The M (move) command does not require a destination session; edbrowse
finds an empty session for you.

Represent multiple frames in one edbrowse window. Each has its own javascript
world.  At this point the worlds do not interact.
You can expand and contract frames by the exp and ctr commands.
This commit is contained in:
Leonardo Taccari 2017-10-29 23:33:48 +01:00
parent d5b1e1d5bd
commit bbd6180ccc
2 changed files with 9 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# $NetBSD$
DISTNAME= edbrowse-3.6.2
DISTNAME= edbrowse-3.7.1
CATEGORIES= www
MASTER_SITES= http://edbrowse.org/
EXTRACT_SUFX= .zip
MASTER_SITES= ${MASTER_SITE_GITHUB:=CMB/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://edbrowse.org/
@ -31,7 +31,8 @@ post-install:
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/edbrowse.1
.include "../../devel/pcre/buildlink3.mk"
.include "../../wip/spidermonkey24/buildlink3.mk"
BUILDLINK_API_DEPENDS.libduktape+= libduktape>=2.1.0
.include "../../lang/libduktape/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../www/tidy/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"

View File

@ -1,6 +1,6 @@
$NetBSD$
SHA1 (edbrowse-3.6.2.zip) = 20e66feae2035dc7b498fceb1d1b4cec40357b7a
RMD160 (edbrowse-3.6.2.zip) = d632232a4a859ad39189bd81c1cc188a6ab09497
SHA512 (edbrowse-3.6.2.zip) = 8156189fdba5d0730450279ae4058fa3b7da7b523cb3674cfbc8e80ab3e45347de1b0c93a3bfbc9dc2e9b2ff4d88bfa5cd628c714845379220dd084c4e6696f7
Size (edbrowse-3.6.2.zip) = 600592 bytes
SHA1 (edbrowse-3.7.1.tar.gz) = 263cec2cc5abf9929d4a3bdd9eaba7760e944e24
RMD160 (edbrowse-3.7.1.tar.gz) = a0b3ded967e0a6363bba61fb0ef542321c93d836
SHA512 (edbrowse-3.7.1.tar.gz) = 82c73a0442b17d9c69742b576242b8acab4de6d2b8514bb23e28a54cbaaad1834972fafa031e93e9822c092670ee4eae86cc3b55af10fb4423346043d7146a54
Size (edbrowse-3.7.1.tar.gz) = 598563 bytes