pkgsrc change: reduce pkglint warnings.
9.16.42 (2023-06-21)
Security release:
- CVE-2023-2828
- CVE-2023-2911
6192. [security] A query that prioritizes stale data over lookup
triggers a fetch to refresh the stale data in cache.
If the fetch is aborted for exceeding the recursion
quota, it was possible for 'named' to enter an infinite
callback loop and crash due to stack overflow. This has
been fixed. (CVE-2023-2911) [GL #4089]
6190. [security] Improve the overmem cleaning process to prevent the
cache going over the configured limit. (CVE-2023-2828)
[GL #4055]
6183. [bug] Fix a serve-stale bug where a delegation from cache
could be returned to the client. [GL #3950]
6173. [bug] Properly process extra "nameserver" lines in
resolv.conf otherwise the next line is not properly
processed. [GL #4066]
6169. [bug] named could crash when deleting inline-signing zones
with "rndc delzone". [GL #4054]
Features
- add new info line called "Churn" which displays the files with the most
modifications (commits) (#1071) @o2sh @Byron
- add Hlsl support (#1082) @progDes007
Chore
- performance: optimize case where repo has a commit-graph for massive
performance gains (#1081) @Byron
- docs: add a cmd.exe version of the cd snippet (#1048) @mataha
- refacto: use the builder pattern to instantiate the Info struct (#1047)
@o2sh @spenserblack
- improve bot regex (#1086) @o2sh @spenserblack
Changes from 1.28.0:
## 1.29.1 - 2023-06-19
- Add support for passing booleans to PEGs for "always" and "never"
matching.
- Allow dictionary types for `take` and `drop`
- Fix bug with closing channels while other fibers were waiting on them:
`ev/take`, `ev/give`, and `ev/select` will now return the correct
(documented) value when another fiber closes the channel.
- Add `ffi/calling-conventions` to show all available calling conventions
for FFI.
- Add `net/setsockopt`
- Add `signal` argument to `os/proc-kill` to send signals besides `SIGKILL`
on Posix.
- Add `source` argument to `os/clock` to get different time sources.
- Various combinator functions now are variadic like `map`
- Add `file/lines` to iterate over lines in a file lazily.
- Reorganize test suite to be sorted by module rather than pseudo-randomly.
- Add `*task-id*`
- Add `env` argument to `fiber/new`.
- Add `JANET_NO_AMALG` flag to Makefile to properly incremental builds
- Optimize bytecode compiler to generate fewer instructions and improve
loops.
- Fix bug with `ev/gather` and hung fibers.
- Add `os/isatty`
- Add `has-key?` and `has-value?`
- Make imperative arithmetic macros variadic
- `ev/connect` now yields to the event loop instead of blocking while
waiting for an ACK.
update in freeze because: this is a leaf package, and micro updates
from qgis have an excellent track record of not causing problems.
(This commit is just version change and distinfo.)
Maintenance release: improve the natural language detection speed
Maintenance release:
* Improve the natural language detection speed
* Reduce the binary size by 20%
* Improve the test harnesses
Fixes "ld: fatal: option --version-script requires option -z
gnu-version-script-compat to be specified" on Solaris 11.4.
Tested to build as before on Tribblix, and therefore hopefully SmartOS.
NFCI on non-"SunOS" platforms.
[0.23.0] - 2022-06-19
Breaking Change
- focus_XYZ key bindings are merged into the move_XYZ set, so only one way to
bind arrow-like keys from now on (#1539)
Added
- allow reset (soft,mixed,hard) from commit log (#1500)
- support reword of commit from log (#829)
- fuzzy find branch [@UUGTech] (#1350)
- list changes in commit message inside external editor [@bc-universe] (#1420)
- allow detaching HEAD and checking out specific commit from log view
[@fralcow] (#1499)
- add no-verify option on commits to not run hooks [@dam5h] (#1374)
- allow fetch on status tab [@alensiljak] (#1471)
- allow copy file path on revision files and status tree [@yanganto] (#1516)
- print message of where log will be written if -l is set (#1472)
- show remote branches in log [@cruessler] (#1501)
Fixes
- fixed side effect of crossterm 0.26 on windows that caused double input of
all keys [@pm100] (#1686)
- commit msg history ordered the wrong way (#1445)
- improve help documentation for amend cmd (#1448)
- lag issue when showing files tab (#1451)
- fix key binding shown in bottom bar for stash_open (#1454)
- --bugreport does not require param (#1466)
- edit-file command shown on commits msg (#1461)
- crash on branches popup in small terminal (#1470)
- edit command duplication (#1489)
- syntax errors in key_bindings.ron will be logged (#1491)
- Fix UI freeze when copying with xclip installed on Linux (#1497)
- Fix UI freeze when copying with wl-copy installed on Linux (#1497)
- commit hooks report "command not found" on Windows with wsl2 installed
(#1528)
- crashes on entering submodules (#1510)
- fix race issue: revlog messages sometimes appear empty (#1473)
- default to tick-based updates [@cruessler] (#1444)
- add support for options handling in log and stashes views [@kamillo] (#1661)
Changed
- minimum supported rust version bumped to 1.65 (thank you time crate)
Fixes PLIST mismatch (DESTDIR is missing _sources/multi_page.rst.txt and
multi_page.html) in that case, at least on my macOS system. No change on
my NetBSD system without sphinx.
The openssl-sys crate has a misguided piece of logic to prefer any
Homebrew tree to the usual place for finding OpenSSL. Remove this code
so that Rust actually uses pkgsrc OpenSSL as it should.
In particular, if you have Apple Game Porting toolkit installed, you get
a Homebrew installation for x86_64 on an ARM machine, which can never work.
OK during freeze adam@, wiz@
What's Changed
Add fixing consciousely typo by @yarikoptic in #2777
atalog typo (saw twice in a project) by @yarikoptic in #2782
created fstrings by @marksmayo in #2784
Replace bandit, isort, pylint, pyupgrade, and flake8 plus plugins with ruff by @cclauss in #2779
Add Microsoft Mispelling by @Casey-Kiewit in #2789
Use Latest Version In README Pre-Commit Example by @Casey-Kiewit in #2788
ruff: Use format specifiers instead of percent format by @cclauss in #2787
New typos by @gforcada in #2793
Ruff: Ignore new rule PLC1901 by @cclauss in #2797
Add various typo fixes by @luzpaz in #2795
Another suggestion by @gforcada in #2798
Fix AssertionError when opening with chardet by @n-thumann in #2785
Fix typo (and variants) from xxHash by @DimitriPapadopoulos in #2761
Add huld->hold Spelling Mistake by @Casey-Kiewit in #2792
Fix CI issues by @DimitriPapadopoulos in #2796
CI: fix new ruff error B028 by @DimitriPapadopoulos in #2802
Skip subdirectories of hidden directories by @DimitriPapadopoulos in #2541
Add tweek(s)->tweak(s) correction by @cfi-gb in #2804
Add supoort->support by @thughes in #2806
Add Suggestion For readded Mispelling by @Casey-Kiewit in #2805
Add displaing->displaying by @peternewman in #2808
Another suggestion for stati by @gforcada in #2810
Add dimaond -> diamond by @Moiman in #2813
Add vai->via, vie by @peternewman in #2815
Remove invalid correction - Kwanza = currency of Angola by @DimitriPapadopoulos in #2803
sinoid and friends by @DimitriPapadopoulos in #2807
Add excludle->exclude by @peternewman in #2814
Add gadjet->gadget and friend by @peternewman in #2818
Add togueter->together by @luzpaz in #2821
Add "mutabl->mutable" by @sirosen in #2822
Add containin->containing by @janosh in #2824
Add mandess->madness by @luzpaz in #2825
some fixes by @marksmayo in #2820
Fix new ruff errors reported by CI by @DimitriPapadopoulos in #2834
Add fusipn->fusion by @luzpaz in #2836
Add 'subcription->subscription' by @sirosen in #2832
Add 'promtp->prompt' by @sirosen in #2833
Add 'endpdoint' as a misspelling of 'endpoint' by @sirosen in #2830
Add more misspellings of 'identities' by @sirosen in #2829
Friends of existing typos by @DimitriPapadopoulos in #2837
Fix 66ec667 by @DimitriPapadopoulos in #2838
equivallent and friends by @DimitriPapadopoulos in #2827
Add delpoys->deploys by @luzpaz in #2842
Added variations on 'difference' by @luzpaz in #2841
Add 'canoncical->canonical' by @sirosen in #2831
Add additional typos by @kianmeng in #2835
Add spelling corrections for inject and variants. by @cfi-gb in #2846
Add 'credentail->credential' by @sirosen in #2844
Add 'requestor->requester' by @sirosen in #2845
Update README.rst by @andyholmes in #2466
Add exrension(s)->extension(s) by @luzpaz in #2847
Add facttory->factory and facttories-> factories by @nils-van-zuijlen in #2848
Add several spelling corrections by @luzpaz in #2849
Add comtaining->containing by @nils-van-zuijlen in #2855
topoplogical and friends by @DimitriPapadopoulos in #2854
Add placehoulder->placeholder by @sirosen in #2856
More typos from GlobalProtect-openconnect by @DimitriPapadopoulos in #2850
Add spelling correction for siver->silver/sliver/diver by @cfi-gb in #2858
Add assertino->assertion by @sourcefrog in #2859
add notority->notoriety by @EdwardBetts in #2861
Misspellings from eLabFTW by @DimitriPapadopoulos in #2863
Add invirant{,s}->invariant{,s} by @ojeda in #2870
Add alloccat*->allocat* by @ojeda in #2869
Add "multiply"/"multiplies" variations to instances of "multiple" by @jdufresne in #2872
Add strin->string and optiona->optional by @peternewman in #2817
Add wellplate -> well plate by @claydugo in #2873
Add afile Misspelling by @Casey-Kiewit in #2876
Ignore 'misspellings' due to string escapes by @Zac-HD in #2875
Add pre-poulate Misspellings by @Casey-Kiewit in #2878
Link with libsocket where needed (#234) by @amigadave in #235
Remove libsoup from doc and CI by @janbrummer in #238
Fix coverity findings by @janbrummer in #241
Add a comment that docs option needs introspection by @janbrummer in #242
Set pac data after download only by @janbrummer in #244
Fix race condition in px_manager_get_proxies_sync by @janbrummer in #245
Update gobject dependency in pkgconfig file by @floppym in #239
Reread env variables in each get_config call by @janbrummer in #246
Bump version to 0.5.2 by @janbrummer in #247
1.7.6 Patch Release
Bug Fixes
Fix distributed training with mixed dense and sparse partitions.
Fix monotone constraints on CPU with large trees.
[spark] Make the spark model have the same UID as its estimator
Optimize prediction with QuantileDMatrix.
Document
Improve doxygen
Update the cuDF pip index URL.
Maintenance
Fix tests with pandas 2.0.
Version 3.1.0 - June, 2023
--------------------------
- Added `tag_emitter.py` to examples. This example demonstrates how to insert
tags into your parsed results that are not part of the original parsed text.
Version 3.1.0b2 - May, 2023
---------------------------
- Updated `create_diagram()` code to be compatible with railroad-diagrams package
version 3.0.
- Fixed bug in `NotAny`, where parse actions on the negated expr were not being run.
This could cause `NotAny` to incorrectly fail if the expr would normally match,
but would fail to match if a condition used as a parse action returned False.
- Fixed `create_diagram()` to accept keyword args, to be passed through to the
`template.render()` method to generate the output HTML (PR submitted by Aussie Schnore,
good catch!)
- Fixed bug in `python_quoted_string` regex.
- Added `examples/bf.py` Brainf*ck parser/executor example. Illustrates using
a pyparsing grammar to parse language syntax, and attach executable AST nodes to
the parsed results.
Version 3.1.0b1 - April, 2023
-----------------------------
- Added support for Python 3.12.
- API CHANGE: A slight change has been implemented when unquoting a quoted string
parsed using the `QuotedString` class. Formerly, when unquoting and processing
whitespace markers such as \t and \n, these substitutions would occur first, and
then any additional '\' escaping would be done on the resulting string. This would
parse "\\n" as "\<newline>". Now escapes and whitespace markers are all processed
in a single pass working left to right, so the quoted string "\\n" would get unquoted
to "\n" (a backslash followed by "n").
- Added named field "url" to `pyparsing.common.url`, returning the entire
parsed URL string.
- Fixed bug when parse actions returned an empty string for an expression that
had a results name, that the results name was not saved. That is:
expr = Literal("X").add_parse_action(lambda tokens: "")("value")
result = expr.parse_string("X")
print(result["value"])
would raise a `KeyError`. Now empty strings will be saved with the associated
results name.
- Fixed bug in `SkipTo` where ignore expressions were not properly handled while
scanning for the target expression.
- Updated `ci.yml` permissions to limit default access to source - submitted by Joyce
Brum of Google. Thanks so much!
- Updated the `lucene_grammar.py` example (better support for '*' and '?' wildcards)
and corrected the test cases - brought to my attention by Elijah Nicol, good catch!
Version 3.1.0a1 - March, 2023
-----------------------------
- API ENHANCEMENT: `Optional(expr)` may now be written as `expr | ""`
This will make this code:
"{" + Optional(Literal("A") | Literal("a")) + "}"
writable as:
"{" + (Literal("A") | Literal("a") | "") + "}"
Some related changes implemented as part of this work:
- `Literal("")` now internally generates an `Empty()` (and no longer raises an exception)
- `Empty` is now a subclass of `Literal`
- Added new class property `identifier` to all Unicode set classes in `pyparsing.unicode`,
using the class's values for `cls.identchars` and `cls.identbodychars`. Now Unicode-aware
parsers that formerly wrote:
ppu = pyparsing.unicode
ident = Word(ppu.Greek.identchars, ppu.Greek.identbodychars)
can now write:
ident = ppu.Greek.identifier
# or
# ident = ppu.Ελληνικά.identifier
- `ParseResults` now has a new method `deepcopy()`, in addition to the current
`copy()` method. `copy()` only makes a shallow copy - any contained `ParseResults`
are copied as references - changes in the copy will be seen as changes in the original.
In many cases, a shallow copy is sufficient, but some applications require a deep copy.
`deepcopy()` makes a deeper copy: any contained `ParseResults` or other mappings or
containers are built with copies from the original, and do not get changed if the
original is later changed.
- Reworked `delimited_list` function into the new `DelimitedList` class.
`DelimitedList` has the same constructor interface as `delimited_list`, and
in this release, `delimited_list` changes from a function to a synonym for
`DelimitedList`. `delimited_list` and the older `delimitedList` method will be
deprecated in a future release, in favor of `DelimitedList`.
- Error messages from `MatchFirst` and `Or` expressions will try to give more details
if one of the alternatives matches better than the others, but still fails.
- Added new class method `ParserElement.using_each`, to simplify code
that creates a sequence of `Literals`, `Keywords`, or other `ParserElement`
subclasses.
For instance, to define suppressible punctuation, you would previously
write:
LPAR, RPAR, LBRACE, RBRACE, SEMI = map(Suppress, "(){};")
You can now write:
LPAR, RPAR, LBRACE, RBRACE, SEMI = Suppress.using_each("(){};")
`using_each` will also accept optional keyword args, which it will
pass through to the class initializer. Here is an expression for
single-letter variable names that might be used in an algebraic
expression:
algebra_var = MatchFirst(
Char.using_each(string.ascii_lowercase, as_keyword=True)
)
- Added new builtin `python_quoted_string`, which will match any form
of single-line or multiline quoted strings defined in Python.
- Extended `expr[]` notation for repetition of `expr` to accept a
slice, where the slice's stop value indicates a `stop_on`
expression:
test = "BEGIN aaa bbb ccc END"
BEGIN, END = Keyword.using_each("BEGIN END".split())
body_word = Word(alphas)
expr = BEGIN + Group(body_word[...:END]) + END
# equivalent to
# expr = BEGIN + Group(ZeroOrMore(body_word, stop_on=END)) + END
print(expr.parse_string(test))
Prints:
['BEGIN', ['aaa', 'bbb', 'ccc'], 'END']
- `ParserElement.validate()` is deprecated. It predates the support for left-recursive
parsers, and was prone to false positives (warning that a grammar was invalid when
it was in fact valid). It will be removed in a future pyparsing release. In its
place, developers should use debugging and analytical tools, such as `ParserElement.set_debug()`
and `ParserElement.create_diagram()`.
- Added bool `embed` argument to `ParserElement.create_diagram()`.
When passed as True, the resulting diagram will omit the `<DOCTYPE>`,
`<HEAD>`, and `<BODY>` tags so that it can be embedded in other
HTML source. (Useful when embedding a call to `create_diagram()` in
a PyScript HTML page.)
- Added `recurse` argument to `ParserElement.set_debug` to set the
debug flag on an expression and all of its sub-expressions.
- Added '·' (Unicode MIDDLE DOT) to the set of Latin1.identbodychars.
- Fixed bug in `Word` when `max=2`. Also added performance enhancement
when specifying `exact` argument.
- `Word` arguments are now validated if `min` and `max` are both
given, that `min` <= `max`; raises `ValueError` if values are invalid.
- Fixed bug in srange, when parsing escaped '/' and '\' inside a
range set.
- Fixed exception messages for some `ParserElements` with custom names,
which instead showed their contained expression names.
- Fixed bug in pyparsing.common.url, when input URL is not alone
on an input line.
- Multiple added and corrected type annotations. With much help from
Stephen Rosen, thanks!
- Some documentation and error message clarifications on pyparsing's
keyword logic, cited by Basil Peace.
- General docstring cleanup for Sphinx doc generation, PRs submitted
by Devin J. Pohly. A dirty job, but someone has to do it - much
appreciated!
- `invRegex.py` example renamed to `inv_regex.py` and updated to PEP-8
variable and method naming. PR submitted by Ross J. Duff, thanks!
- Removed examples `sparser.py` and `pymicko.py`, since each included its
own GPL license in the header. Since this conflicts with pyparsing's
MIT license, they were removed from the distribution to avoid
confusion among those making use of them in their own projects.
Version 2.92
debian: Build depend on a couple of packages
Use CC_BUILD to generate math test tables
Add ctype.h, remove explicit lex func prototypes from lex.l
Remove 'const' attribute when assigning to tm_zone field
Allow use of libedit in place of readline
Check for all readline helper functions separately
Define _GNU_SOURCE in edit.c to get asprintf declared
Remove redundant box value check in ThreadBoxSetDefault
test: Allow "UTC", "GMT", or "NONE" to be returned for GMT time zone
Make tm_zone and tm_gmtoff fields optional
Autodetect 'significand' function
Use base-10 for all float exponents. Use base 2 for base 2/8/16 powers
Support C-like hex float values in lexer
Add ChaCha implementation