pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/edbrowse
Module Name: pkgsrc
Committed By: wiz
Date: Sun Nov 29 13:47:44 UTC 2026
Modified Files:
pkgsrc/www/edbrowse: Makefile PLIST distinfo
pkgsrc/www/edbrowse/patches: patch-src_html.c
Log Message:
www/edbrowse: Update edbrowse to version 3.8.19
Update prepared in wip by adr
3.8.19
<div id=xyz> creates a link window.xyz to the div element,
iff that element is linked into the tree, and the id is not a reserved word,
and that name isn't being used as a variable for some other purpose.
Use this feature for getElementById, it satisfies it 99.5% of the time.
Add a test that uses edbrowse tracing, along with comments to describe the process.
Reverse the css shorthand, so that setting margin sets its four
constituents, and getting margin puts those four pieces back into one string.
Move the node invisible test into C, which makes rendering faster.
Move the node css injection test into C, which makes rendering faster.
Also, we can get rid of a truckload of confusing code in css,
that tried to anticipate these injections, it's much easier to determine
them at render time.
Make NamedNodeMap a proper class with the correct methods,
and use it in the attribute system.
make NodeList a proper class and wrap it around childNodes.
Make DOMTokenList a proper class and use it in the classList system.
Move most of the DOM classes from shared.js into startwindow.js,
so that users can muck with those classes and their prototypes if they
feel they must. Modernize the classses along the way.
Create many self-contained tests in the tests directory, and a runscript
to run them.
Implement assigned css properties in an array like structure.
Implement getPropertyValue, setProperty, removeProperty.
shadowroot, and styles wholly contained within a shadowRoot.
custom element connectedCallback and disconnectedCallback functions.
:r (reply) feature in irc.
Most of the Range class.
Arguments that are passed to the callback function on setTimeout and setInterval.
3.8.18
The if (input field) command to bring a textarea inline.
Plugin renders a page through headless chrome,
then hands the html back to edbrowse.
Bu and Bd, go up to the top or down to the bottom of a block
that is defined by indentation. This is for python programming.
build proper classes instead of just functions that stand in as classes.
These classes extend other classes, as directed by the DOM.
class HTMLElement extends Element extends Node etc.
Implement HTMLCollection, and let the getElements functions use these
collections to present live data to the user.
Restructure selectors and options to be more dynamic, as js changes options underneat us.
3.8.17
Fix some makefile issues, and warnings across different compilers.
Support custom Elements and the CustomElementRegistry.
Make html parsing more efficient, so it isn't quadratic in a file
containing thousands of hyperlinks, which is not unusual.
Customize the text decorationmarkup symbols in your config file.
tdmarks = **+@__~~
Support aria heading attributes:
role=heading aria-level=1 presents like h1
replace the earlier deminimizer, which has become out of date, with
https://github.com/beautifier/js-beautify
Basic support for javascript modules.
3.8.16
Use strict js in shared.js and startwindow.js
Append .html or .txt after running a rendering plugin.
Put standard plugins in the plugins directory, for the user.
Optimize the performance of the http cache.
the a:text c:text and i:text commands.
Expand variables in the prompt string.
Support placing the edbrowse config file at $XDG_CONFIG_HOME/edbrowse/ebrc.
We still fall back to $HOME/.ebrc if it's not there and use $HOME/.ebrc to
create the initial file.
include = relative-path now taken relative to the invoking config file,
like cpp and m4 and everything else in unix.
include = directory, include all files in that directory.
Download css files in parallel. Like the javascript files.
Subject to the jsbg flag.
More secure handling of temp files; there's no need to manually add the sticky
bit to a custom directory any more.
Mutation observers call their functions as microtasks.
Run html scripts (not deferred or async) when you see them, not after browse.
Implement some of the css shorthand properties, such as margin.
Transliterate <em>, and other tags, into concise punctuation
that indicates the meaning of the tag.
Implement <details> open and close.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/edbrowse/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/edbrowse/PLIST \
pkgsrc/www/edbrowse/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/edbrowse/patches/patch-src_html.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/edbrowse/Makefile
diff -u pkgsrc/www/edbrowse/Makefile:1.9 pkgsrc/www/edbrowse/Makefile:1.10
--- pkgsrc/www/edbrowse/Makefile:1.9 Sat Nov 28 21:00:27 2026
+++ pkgsrc/www/edbrowse/Makefile Sun Nov 29 13:47:44 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2026/11/28 21:00:27 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2026/11/29 13:47:44 wiz Exp $
-DISTNAME= edbrowse-3.8.15
-PKGREVISION= 8
+DISTNAME= edbrowse-3.8.19
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=CMB/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -20,7 +19,7 @@ SUBST_CLASSES+= man
SUBST_STAGE.man= post-extract
SUBST_MESSAGE.man= Fixing paths in man page
SUBST_FILES.man= doc/*.1
-SUBST_SED.man= -e '/usersguide\.html/ s,/usr,${PREFIX},g'
+SUBST_SED.man= -E -e '/usersguide\.html/ s,/usr(/local)?/,${PREFIX},g'
MAKE_FILE= makefile
@@ -31,9 +30,10 @@ BUILDLINK_TRANSFORM+= rm:-lpthread rm:-W
opt:-ldl:${BUILDLINK_LDADD.dl:Q} \
opt:-lopenssl:${BUILDLINK_LDADD.openssl:Q}
-MAKE_FLAGS+= QUICKJS_PKG=quickjs-ng
+LDFLAGS+= -lcurl -lodbc -lpcre2-8 -lqjs -lreadline -ltermcap \
+ -lssl -lcrypto
+MAKE_FLAGS+= QUICKJS_PKG=quickjs-ng
-EGDIR= share/examples/${PKGBASE}
DOCDIR= share/doc/${PKGBASE}
AUTO_MKDIRS= yes
@@ -45,8 +45,6 @@ do-install:
${DESTDIR}${PREFIX}/bin
post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/sample.ebrc \
- ${DESTDIR}${PREFIX}/${EGDIR}
${INSTALL_DATA} ${WRKSRC}/doc/usersguide.html \
${DESTDIR}${PREFIX}/${DOCDIR}
Index: pkgsrc/www/edbrowse/PLIST
diff -u pkgsrc/www/edbrowse/PLIST:1.1 pkgsrc/www/edbrowse/PLIST:1.2
--- pkgsrc/www/edbrowse/PLIST:1.1 Mon Dec 8 07:25:21 2025
+++ pkgsrc/www/edbrowse/PLIST Sun Nov 29 13:47:44 2026
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2025/12/08 07:25:21 vins Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/11/29 13:47:44 wiz Exp $
bin/edbrowse
man/man1/edbrowse.1
share/doc/edbrowse/usersguide.html
-share/examples/edbrowse/sample.ebrc
Index: pkgsrc/www/edbrowse/distinfo
diff -u pkgsrc/www/edbrowse/distinfo:1.1 pkgsrc/www/edbrowse/distinfo:1.2
--- pkgsrc/www/edbrowse/distinfo:1.1 Mon Dec 8 07:25:22 2025
+++ pkgsrc/www/edbrowse/distinfo Sun Nov 29 13:47:44 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2025/12/08 07:25:22 vins Exp $
+$NetBSD: distinfo,v 1.2 2026/11/29 13:47:44 wiz Exp $
-BLAKE2s (edbrowse-3.8.15.tar.gz) = 50ba4d2896df378540db13cc3f3dc3ddd76b89578fe4f3ecaf7f3a668794e956
-SHA512 (edbrowse-3.8.15.tar.gz) = 9dbccf389ffa9aaf16cfb1000e768dcd94b19bf18384b248db8480464d6a69d7972d524f987cf20e9c459c1d78d9062568f78556bc6e6a4517f81631d10a5fd5
-Size (edbrowse-3.8.15.tar.gz) = 1099530 bytes
-SHA1 (patch-src_html.c) = 07e2ce6813d5a1eff3a0b89585cea33ffdd2a839
+BLAKE2s (edbrowse-3.8.19.tar.gz) = 5ca266fceaaf1e73ad774bb99bc9058ef8441b4a150094b0171edec3f55c9c12
+SHA512 (edbrowse-3.8.19.tar.gz) = f29919b43f31f3fc93b58fd19d77c5402bbc6ef728c71fd7d61bda0ba014fdd861457568b0c7dd770d1ec512249891a008ab9c09a0294301c8ce804bf2bea034
+Size (edbrowse-3.8.19.tar.gz) = 1637838 bytes
+SHA1 (patch-src_html.c) = 1da25b39e761fbf007b78b64946f6df20f6a0a46
Index: pkgsrc/www/edbrowse/patches/patch-src_html.c
diff -u pkgsrc/www/edbrowse/patches/patch-src_html.c:1.1 pkgsrc/www/edbrowse/patches/patch-src_html.c:1.2
--- pkgsrc/www/edbrowse/patches/patch-src_html.c:1.1 Mon Dec 8 07:25:22 2025
+++ pkgsrc/www/edbrowse/patches/patch-src_html.c Sun Nov 29 13:47:44 2026
@@ -1,15 +1,15 @@
-$NetBSD: patch-src_html.c,v 1.1 2025/12/08 07:25:22 vins Exp $
+$NetBSD: patch-src_html.c,v 1.2 2026/11/29 13:47:44 wiz Exp $
pthread_tryjoin_np is a GNUism.
https://www.gnu.org/software/gnulib/manual/html_node/pthread_005ftryjoin_005fnp.html
---- src/html.c.orig 2025-11-09 16:04:36.000000000 +0000
+--- src/html.c.orig 2026-11-28 23:33:40.594977627 +0000
+++ src/html.c
-@@ -11,7 +11,7 @@ extern int gettimeofday(struct timeval *
+@@ -11,7 +11,7 @@ extern int gettimeofday(struct timeval *tp, void *tzp)
// OSX has no pthread_tryjoin_np, so we can't do our
// asynchronous timers under OSX, which is really no great loss.
--#if defined(__APPLE__) || defined(__ANDROID__) || defined(__FreeBSD__)
+-#if defined(__APPLE__) || defined(__ANDROID__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if !defined(___GNU_SOURCE)
#define pthread_tryjoin_np pthread_join
#endif
Home |
Main Index |
Thread Index |
Old Index