pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

edbrowse: Update wip/edbrowse to 3.7.1



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Oct 29 23:33:48 2017 +0100
Changeset:	bbd6180ccc4b67bd51100a5dcc5ce5c873aa1358

Modified Files:
	edbrowse/Makefile
	edbrowse/distinfo

Log Message:
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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bbd6180ccc4b67bd51100a5dcc5ce5c873aa1358

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 edbrowse/Makefile | 9 +++++----
 edbrowse/distinfo | 8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs:
diff --git a/edbrowse/Makefile b/edbrowse/Makefile
index 046a719af6..dcc3fa492e 100644
--- a/edbrowse/Makefile
+++ b/edbrowse/Makefile
@@ -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@localhost
 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"
diff --git a/edbrowse/distinfo b/edbrowse/distinfo
index 3160f2d0b9..e85cbcd9e9 100644
--- a/edbrowse/distinfo
+++ b/edbrowse/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index