head	1.11;
access;
symbols
	pkgsrc-2026Q3:1.10.0.26
	pkgsrc-2026Q3-base:1.10
	pkgsrc-2026Q2:1.10.0.24
	pkgsrc-2026Q2-base:1.10
	pkgsrc-2026Q1:1.10.0.22
	pkgsrc-2026Q1-base:1.10
	pkgsrc-2025Q4:1.10.0.20
	pkgsrc-2025Q4-base:1.10
	pkgsrc-2025Q3:1.10.0.18
	pkgsrc-2025Q3-base:1.10
	pkgsrc-2025Q2:1.10.0.16
	pkgsrc-2025Q2-base:1.10
	pkgsrc-2025Q1:1.10.0.14
	pkgsrc-2025Q1-base:1.10
	pkgsrc-2024Q4:1.10.0.12
	pkgsrc-2024Q4-base:1.10
	pkgsrc-2024Q3:1.10.0.10
	pkgsrc-2024Q3-base:1.10
	pkgsrc-2024Q2:1.10.0.8
	pkgsrc-2024Q2-base:1.10
	pkgsrc-2024Q1:1.10.0.6
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.10.0.4
	pkgsrc-2023Q4-base:1.10
	pkgsrc-2023Q3:1.10.0.2
	pkgsrc-2023Q3-base:1.10
	pkgsrc-2023Q2:1.6.0.2
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.4.0.2
	pkgsrc-2023Q1-base:1.4;
locks; strict;
comment	@# @;


1.11
date	2026.11.16.01.46.29;	author ktnb;	state Exp;
branches;
next	1.10;
commitid	5ifrPlqrVzc1SC3H;

1.10
date	2023.08.28.13.41.08;	author fcambus;	state Exp;
branches;
next	1.9;
commitid	neho7aYONTIKCyCE;

1.9
date	2023.08.26.18.41.07;	author fcambus;	state Exp;
branches;
next	1.8;
commitid	5zH8Ykyro0rGlkCE;

1.8
date	2023.08.25.13.52.03;	author fcambus;	state Exp;
branches;
next	1.7;
commitid	2xrWaf6aByzpMaCE;

1.7
date	2023.08.24.22.22.28;	author fcambus;	state Exp;
branches;
next	1.6;
commitid	ySN66C382JZAD5CE;

1.6
date	2023.05.14.18.55.54;	author fcambus;	state Exp;
branches;
next	1.5;
commitid	6J0sU1XTAmy2MXoE;

1.5
date	2023.04.19.15.08.36;	author fcambus;	state Exp;
branches;
next	1.4;
commitid	0ZtMyNK8V6tRjJlE;

1.4
date	2023.03.03.10.59.27;	author fcambus;	state Exp;
branches;
next	1.3;
commitid	m0lW1sTgaMR3sFfE;

1.3
date	2023.03.03.10.31.16;	author fcambus;	state Exp;
branches;
next	1.2;
commitid	ziMwBTxHOfAoiFfE;

1.2
date	2023.02.27.21.29.37;	author fcambus;	state Exp;
branches;
next	1.1;
commitid	tA3z0cZaWVJc4dfE;

1.1
date	2023.02.14.07.11.54;	author fcambus;	state Exp;
branches;
next	;
commitid	IhnXMmZ7HzhVJsdE;


desc
@@


1.11
log
@poke: update to 5.0

* User interface updates
  - Now hyperlink server can bind to a user-specified port for
    listening to commands (-p, --hserver-port).

* Poke Language updates
  - Floating-point arithmetic is now supported on uint<32>/uint<64>
    types. uint<32> will be interpreted as a single-precision
    floating-point number and uint<64> will be interpreted as a
    double-precision floating-point number as defined per the IEEE
    754 standard. The following expressions are now supported:
      - Addition:       a .+  b
      - Subtraction:    a .-  b
      - Multiplication: a .*  b
      - Division:       a ./  b
      - Ceil-devision:  a ./^ b
      - Exponentiation: a .** b
      - Remainder:      a .%  b
      - Post-increment: a.++
      - Pre-increment:  .++a
      - Post-decrement: a.--
      - Pre-decrement:  .--a
      - Negation:      .-a

      - Less-than:                a .<  b
      - Less-than-or-equal-to:    a .<= b
      - Greater-than:             a .>  b
      - Greater-than-or-equal-to: a .>= b
      - Equal-to:                 a .== b
      - Not-equal-to:             a .!= b

* Poke Runtime updates
  - Thanks to the great work of David Faust, poke now supports
    reactive IO spaces!  Extent of a PVM value mapped in a given IO
    space will be tracked and values will be re-mapped only if a
    write happens in their extent; which is a big performance win for
    read-intense programs.

  - A bunch of undefined behavior (UB) releated to left-shifts has
    been fixed.

  - Improved human-readable message of E_conv exception when
    verifying length/size of an array with dynamic bound(s) to help
    the user to understand the mistake.

* Poke compiler updates
  - Now poke can properly handle writes to nested integral
    struct/unions fields.  Previously write to nested fields of
    integral structs did not materialize in IO space.

* Standard Poke Library updates
  - Closure's pretty printer now adds closure's name (identifier) to
    output.
  - Two new functions to calculate square root of single and double
    precision floating point numbers: sqrtf and sqrtd.
    They accept uint<32> and uint<64> respectively as the IEEE 754
    single and double precision floating-point numbers.

* libpoke updates
  - Version of DSO is bumped to 2.0.0, and from this release onward,
    we try to not break the ABI, and bump the version components
    according to the libtool's recommendation (when needed).

  - To be able to keep the ABI backward-compatibility promise, all
    public APIs are now accepting either pk_compiler or pk_val. This
    is the first step toward removing global state from libpoke to be
    able to have multiple instances of libpoke in a single process
    (and also to be able to accomplish thread-safety). We're not
    there yet, but we'll be there some day (hopefully soon)!

* IO subsystem updates
  - IOS_F_TRUNCATE has been re-introduced (it was removed after
    release of poke 1.0 by the rationale that it's not that useful of
    a flag.  Turns out it's quite useful to start from an empty file
    when assembling binary files from scratch using poke.

* Pickles updates
  - Improved ustar pickle and add tests.  Method get_last_mod_time
    has been fixed and the following methods has been added:
    get_{file,owner_user,group}_name.
  - Improved time pickle to print date and time properly
    (zero-padded), and also add ptime_str function to get date/time
    information as a string.

* Many Documentation Improvements
@
text
@# $NetBSD: Makefile,v 1.10 2023/08/28 13:41:08 fcambus Exp $

DISTNAME=	poke-5.0
CATEGORIES=	editors
MASTER_SITES=	${MASTER_SITE_GNU:=poke/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.jemarch.net/poke
COMMENT=	Extensible editor for structured binary data
LICENSE=	gnu-gpl-v3

GNU_CONFIGURE=	yes
INFO_FILES=	yes

USE_TOOLS+=	pkg-config gmake makeinfo install-info
USE_LIBTOOL=	yes

CONFIGURE_ARGS+=	--with-gc=${BUILDLINK_PREFIX.boehm-gc}
CONFIGURE_ARGS+=	--enable-mi

# Jitter's no-threading dispatch does not work on NetBSD
CONFIGURE_ARGS.NetBSD+=	--disable-dispatch-no-threading

.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/gettext-tools/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.10
log
@poke: reset MAINTAINER to pkgsrc-users@@NetBSD.org.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/08/26 18:41:07 fcambus Exp $
d3 1
a3 1
DISTNAME=	poke-3.3
d16 1
a17 1
CONFIGURE_ARGS+=	--infodir=${PREFIX}/${PKGINFODIR}
d22 1
a22 1
CONFIGURE_ARGS.NetBSD+= --disable-dispatch-no-threading
@


1.9
log
@poke: move MASTER_SITES to ${MASTER_SITE_GNU}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/08/25 13:52:03 fcambus Exp $
d7 1
a7 1
MAINTAINER=	fcambus@@NetBSD.org
@


1.8
log
@poke: set HOMEPAGE to https://www.jemarch.net/poke.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/08/24 22:22:28 fcambus Exp $
d5 1
a5 1
MASTER_SITES=	https://ftp.gnu.org/gnu/poke/
@


1.7
log
@poke: update to 3.3.

Version 3.3 (20 August 2023)
* Bug fixes

  - Mapping in non-strict mode now assures that constraint expressions
    are executed, even if their result is discarded.  This is
    important because very often constraint expressions have side
    effects (such as setting the current endianness) on which further
    mapping relies.

  - Bug in array promotion has been fixed.

  - A bug impacting array bounders in struct constructors has been
    fixed.

  - The return type of the builtin `iolist' has been fixed.

  - A bug impacting the re-definition of struct types at the top-level
    has been fixed.

  - Error locations were not very xprecise in a couple of circumstances
    due to a bison limitation.  This should be fixed now.

  - Setting values of mapped structs in strict mode now really check
    for integrity, erroing whenever necessary.

  - A bug flushing stream IO devices has been fixed.

  - The .sub dot-command now does the right thing when no name is
    specified, instead of crashing poke.

* Pickles

  - The BTF pickle has been updated to support BTF_KIND_ENUM64.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/05/14 18:55:54 fcambus Exp $
d8 1
a8 1
HOMEPAGE=	https://ftp.gnu.org/gnu/poke/
@


1.6
log
@poke: update to 3.2.

Version 3.2 (13 May 2023)
* Bug fixes

   - Fix value returned by the libpoke function pk_load.

   - Fix a very annoying regression that resulted in a segfault when
     doing l-value maps of struct values having anonymous fields.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/04/19 15:08:36 fcambus Exp $
d3 1
a3 1
DISTNAME=	poke-3.2
@


1.5
log
@poke: update to 3.1.

Version 3.1 (17 April 2023)
* Bug fixes

   - Fix recognition of token 0[bB] in the lexer.

   - Do not validate and check _print* functions within struct types
     as if they were methods.  As functions, they can have any
     signature as they are no special in any way.

   - Do not emit an empty table for computed fiels in the output of
     .info type if the type has no computed fields.

   - Use tar-ustar in AM_INIT_AUTOMAKE.  The usage older algorithms in
     tar was causing problems when creating poke tarballs with long
     path names.

   - std.pk now provides utility functions to parse and compare poke
     versions.  This is for example to be used by poke pickles in
     order to require a particular minimum version of the program.

   - poked now recognizes the short option -S.

   - poked now creates its socket with umask 0077, and it uses a more
     suitable default socket path that includes the PID of the process
     running the daemon.

   - The Poke compiler now emits proper parse errors when problems are
     found in asm templates.

   - poke will no longer abort execution in case it finds a fatal
     error in the lexer, such as memory exhaustion.

   - Casts from arrays to arrays now use the right bounder.

   - Constant folding of offset multiplication by an offset with zero
     unit is now fixed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/03/03 10:59:27 fcambus Exp $
d3 1
a3 1
DISTNAME=	poke-3.1
@


1.4
log
@poke: use CONFIGURE_ARGS.NetBSD to pass --disable-dispatch-no-threading.

Suggested by wiz@@, thanks!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/03/03 10:31:16 fcambus Exp $
d3 1
a3 2
DISTNAME=	poke-3.0
PKGREVISION=	1
@


1.3
log
@poke: passing --disable-dispatch-no-threading is only required on NetBSD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/02/27 21:29:37 fcambus Exp $
d22 2
a23 5
.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+=	--disable-dispatch-no-threading
.endif
@


1.2
log
@poke: add myself as MAINTAINER.

I somehow forgot to do it when importing the package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2023/02/14 07:11:54 fcambus Exp $
d4 1
d20 5
d26 1
a26 1
CONFIGURE_ARGS+=	--enable-mi
@


1.1
log
@editors/poke: import poke-3.0.

GNU poke is an interactive, extensible editor for binary data. Not limited
to editing basic entities such as bits and bytes, it provides a full-fledged
procedural, interactive programming language designed to describe data
structures and to operate on them.
@
text
@d1 1
a1 1
# $NetBSD$
d7 1
a7 1
MAINTAINER=	pkgsrc-users@@NetBSD.org
@

