Commit graph

14640 commits

Author SHA1 Message Date
adam
3061d7c3c5 wasi-compiler-rt, wasi-libcxx: update to LLVM 16 2023-10-06 19:18:15 +00:00
adam
be3d9ca40d llvm: updated to 16.0.6
https://releases.llvm.org/16.0.0/docs/ReleaseNotes.html
https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
https://releases.llvm.org/16.0.0/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/16.0.0/projects/libcxx/docs/ReleaseNotes.html
2023-10-06 19:15:19 +00:00
gutteridge
7d828df37a gcc9: move admonition about PKGREVSION next to the entry (NFC)
(Fix my previous adjustment.)
2023-10-05 06:03:11 +00:00
gutteridge
39d888d84d gcc8: move admonition about PKGREVSION next to the entry (NFC)
(Not that that makes any difference when automated tools are involved.)
2023-10-05 05:27:38 +00:00
gutteridge
ef1a87140e gcc*-libs: fix PKGREVISION values that got out of sync (again) 2023-10-05 05:20:10 +00:00
gutteridge
ab2721e4b7 gcc8-libs: fix PKGREVISION value that got out of sync (again) 2023-10-05 05:15:36 +00:00
adam
70f651348b py-pygls: updated to 1.1.0
1.1.0

Bug Fixes

Fix broken link and outdated comment
Correctly cast from UTF16 positions
Ensure server commands can be executed
Mypy lints
Error code of JsonRpcInternalError
Only show code action when there's no sum
Don't include trailing whitespace in code action title
'bool' object has no attribute 'resolve_provider'
Computation of formatting and diagnostic provider capabilities

CI

Migrate to Poetry and modernise
Linter for conventional commits
Autogenerate changelog with git-cliff
Automate CONTRIBUTORS.md
Retry Pyodide tests
Test against Python 3.12
Use matrix.python-version in cache key
Update json-extension pipeline
Pin poetry to 1.5.1
Do not install chromium/chromedriver
Enable coverage reporting
Run all lints even when some fail
Increase Pyodide CI retries to 6

Documentation

Use autodoc to document client methods
Update docstrings
Change specification for commit messages
Typo in vscode-playground README.md
Add api docs for servers, protocol and workspace
Align docstring formatting
Handle methods starting with $/
Update links and code snippets
Rename advanced usage to user guide
Instructions for using plain text files with vscode-playground

Features

Add document diagnostic capability
Add workspace symbol resolve
Add workspace diagnostic support
Adds inline value support
Adds type hierarchy request support
Add await syntax support for sending edit request to client
Allow servers to provide NotebookDocumentSyncOptions
Initial support for notebook document syncronisation
Add notebook support to example inlay_hints.py server
Accept PositionEncoding client capability
Support UTF32 ans UTF8 position encoding

Miscellaneous Tasks

Update autogenerated Pygls client
Introduce black formatting
Add .git-blame-ignore-revs file
Delete fountain-vscode-extension
Update README.md
Bump lsprotocol version
Fix deprecation warning, set chrome path
Disable body-max-line-length check
Add .readthedocs.yaml
Strict types in uris.py and workspace.py
Move workspace/doc/position into own files
Fix mypy types
Maintain Workspace backwards compat
Fix use of deprecated methods in tests/test_language_server.py

Refactor

Move example json-server to examples/servers
Rename json-vscode-extension/ -> vscode-playground
Simplify end-to-end test client fixture definition
Rename Client -> JsonRPCClient
Rename LanguageClient -> BaseLanguageClient
Rename <verb>_document to <verb>_text_document
Expose workspace via a property
Server Position class
Rename server Position to PositionCodec, instantiate it in Workspace
Reference types via types module
Make default argument mandatory, add type annotations

Testing

Test that the client provided token is used
Remove a useless sleep
Test cases of server initiated progress
Base Pyodide wheel deps off poetry.lock

Build

Bump semver in /examples/fountain-vscode-extension
Bump semver in /examples/json-vscode-extension
Bump word-wrap in /examples/json-vscode-extension
Lock min Python version to 3.7.9
Cache specific Python minor version
Bump lsprotocol to 2023.0.0b1
Release v1.1.0

Json-extension

Support cancellation in progress example

Progress

Support work done progress cancellation from client

Server

Add a type annotation to help completions in editor

Added

Add LanguageClient with LSP methods autogenerated from type annotations in lsprotocol
Add base JSON-RPC Client with support for running servers in a subprocess and communicating over stdio.
Support work done progress cancel
Add support for textDocument/inlayHint and inlayHint/resolve requests

Fixed

pygls no longer overrides the event loop for the current thread when given an explicit loop to use.
Fixed MethodTypeNotRegisteredError when registering a TEXT_DOCUMENT_DID_SAVE feature with options.
Fixed detection of LanguageServer type annotations when using string-based annotations.
2023-10-04 21:27:48 +00:00
adam
93c1adfb70 py-lsprotocol: updated to 2023.0.0b1
2023.0.0b1
Add broad spectrum tests for python
2023-10-04 21:24:42 +00:00
adam
5f2edeba95 py-inflect: updated to 7.0.0
v7.0.0

Features
- Refine type hint for ``singular_noun`` to indicate a literal return type for ``False``.

Deprecations and Removals
- Removed methods renamed in 0.2.0.


v6.2.0

Features
- Project now supports Pydantic 2 while retaining support for Pydantic 1.

Bugfixes
- Added validation of user-defined words and amended the type declarations to match, allowing for null values but not empty strings.
2023-10-04 21:17:43 +00:00
jperkin
06a0459c03 python312: Fix socket module on SunOS. 2023-10-04 13:19:49 +00:00
adam
c7771f6600 vala: updated to 0.56.33
Vala 0.56.13
* Bindings:
 - gtk4: Restore CssProvider.load_from_data() signature to take an array
2023-10-04 08:18:02 +00:00
adam
9fa0340ea0 pyversion.mk: allow Python 3.12 2023-10-02 20:10:38 +00:00
adam
45603da2e8 python312 py312-html-docs: added version 3.12.0
Python 3.12

New syntax features:

PEP 695, type parameter syntax and the type statement

New grammar features:

PEP 701, f-strings in the grammar

Interpreter improvements:

PEP 684, a unique per-interpreter GIL
PEP 669, low impact monitoring
Improved ‘Did you mean …’ suggestions for NameError, ImportError, and SyntaxError exceptions

Python data model improvements:

PEP 688, using the buffer protocol from Python

Significant improvements in the standard library:

The pathlib.Path class now supports subclassing
The os module received several improvements for Windows support
A command-line interface has been added to the sqlite3 module
isinstance() checks against runtime-checkable protocols enjoy a speed up of between two and 20 times
The asyncio package has had a number of performance improvements, with some benchmarks showing a 75% speed up.
A command-line interface has been added to the uuid module
Due to the changes in PEP 701, producing tokens via the tokenize module is up to up to 64% faster.

Security improvements:

Replace the builtin hashlib implementations of SHA1, SHA3, SHA2-384, SHA2-512, and MD5 with formally verified code from the HACL* project. These builtin implementations remain as fallbacks that are only used when OpenSSL does not provide them.

C API improvements:

PEP 697, unstable C API tier
PEP 683, immortal objects

CPython implementation improvements:

PEP 709, comprehension inlining
CPython support for the Linux perf profiler
Implement stack overflow protection on supported platforms

New typing features:

PEP 692, using TypedDict to annotate **kwargs
PEP 698, typing.override() decorator

Important deprecations, removals or restrictions:

PEP 623: Remove wstr from Unicode objects in Python’s C API, reducing the size of every str object by at least 8 bytes.
PEP 632: Remove the distutils package. See the migration guide for advice replacing the APIs it provided. The third-party Setuptools package continues to provide distutils, if you still require it in Python 3.12 and beyond.
gh-95299: Do not pre-install setuptools in virtual environments created with venv. This means that distutils, setuptools, pkg_resources, and easy_install will no longer available by default; to access these run pip install setuptools in the activated virtual environment.
The asynchat, asyncore, and imp modules have been removed, along with several unittest.TestCase method aliases.
2023-10-02 20:07:14 +00:00
adam
32ae989baa python311 py311-html-docs: updated to 3.11.6
Python 3.11.6 final

Core and Builtins
gh-109351: Fix crash when compiling an invalid AST involving a named (walrus) expression.

gh-109207: Fix a SystemError in __repr__ of symtable entry object.

gh-109179: Fix bug where the C traceback display drops notes from SyntaxError.

gh-88943: Improve syntax error for non-ASCII character that follows a numerical literal. It now points on the invalid non-ASCII character, not on the valid numerical literal.

gh-108959: Fix caret placement for error locations for subscript and binary operations that involve non-semantic parentheses and spaces. Patch by Pablo Galindo

gh-108520: Fix multiprocessing.synchronize.SemLock.__setstate__() to properly initialize multiprocessing.synchronize.SemLock._is_fork_ctx. This fixes a regression when passing a SemLock accross nested processes.

Rename multiprocessing.synchronize.SemLock.is_fork_ctx to multiprocessing.synchronize.SemLock._is_fork_ctx to avoid exposing it as public API.

Library
gh-110036: On Windows, multiprocessing Popen.terminate() now catchs PermissionError and get the process exit code. If the process is still running, raise again the PermissionError. Otherwise, the process terminated as expected: store its exit code. Patch by Victor Stinner.
gh-110038: Fixed an issue that caused KqueueSelector.select() to not return all the ready events in some cases when a file descriptor is registered for both read and write.
gh-109631: re functions such as re.findall(), re.split(), re.search() and re.sub() which perform short repeated matches can now be interrupted by user.
gh-109593: Avoid deadlocking on a reentrant call to the multiprocessing resource tracker. Such a reentrant call, though unlikely, can happen if a GC pass invokes the finalizer for a multiprocessing object such as SemLock.
gh-109613: Fix os.stat() and os.DirEntry.stat(): check for exceptions. Previously, on Python built in debug mode, these functions could trigger a fatal Python error (and abort the process) when a function succeeded with an exception set. Patch by Victor Stinner.
gh-109375: The pdb alias command now prevents registering aliases without arguments.
gh-107219: Fix a race condition in concurrent.futures. When a process in the process pool was terminated abruptly (while the future was running or pending), close the connection write end. If the call queue is blocked on sending bytes to a worker process, closing the connection write end interrupts the send, so the queue can be closed. Patch by Victor Stinner.
gh-50644: Attempts to pickle or create a shallow or deep copy of codecs streams now raise a TypeError. Previously, copying failed with a RecursionError, while pickling produced wrong results that eventually caused unpickling to fail with a RecursionError.
gh-108987: Fix _thread.start_new_thread() race condition. If a thread is created during Python finalization, the newly spawned thread now exits immediately instead of trying to access freed memory and lead to a crash. Patch by Victor Stinner.
gh-108843: Fix an issue in ast.unparse() when unparsing f-strings containing many quote types.
gh-108682: Enum: raise TypeError if super().__new__() is called from a custom __new__.
gh-105829: Fix concurrent.futures.ProcessPoolExecutor deadlock
gh-64662: Fix support for virtual tables in sqlite3.Connection.iterdump(). Patch by Aviv Palivoda.
gh-107913: Fix possible losses of errno and winerror values in OSError exceptions if they were cleared or modified by the cleanup code before creating the exception object.
gh-104372: On Linux where subprocess can use the vfork() syscall for faster spawning, prevent the parent process from blocking other threads by dropping the GIL while it waits for the vfork’ed child process exec() outcome. This prevents spawning a binary from a slow filesystem from blocking the rest of the application.
gh-84867: unittest.TestLoader no longer loads test cases from exact unittest.TestCase and unittest.FunctionTestCase classes.

Documentation
gh-109209: The minimum Sphinx version required for the documentation is now 4.2.
gh-105052: Update timeit doc to specify that time in seconds is just the default.
gh-102823: Document the return type of x // y when x and y have type float.

Tests
gh-110031: Skip test_threading tests using thread+fork if Python is built with Address Sanitizer (ASAN). Patch by Victor Stinner.
gh-110088: Fix test_asyncio timeouts: don’t measure the maximum duration, a test should not measure a CI performance. Only measure the minimum duration when a task has a timeout or delay. Add CLOCK_RES to test_asyncio.utils. Patch by Victor Stinner.
gh-110033: Fix test_interprocess_signal() of test_signal. Make sure that the subprocess.Popen object is deleted before the test raising an exception in a signal handler. Otherwise, Popen.__del__() can get the exception which is logged as Exception ignored in: ... and the test fails. Patch by Victor Stinner.
gh-109594: Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait() timeout. Patch by Victor Stinner.
gh-109748: Fix test_zippath_from_non_installed_posix() of test_venv: don’t copy __pycache__/ sub-directories, because they can be modified by other Python tests running in parallel. Patch by Victor Stinner.
gh-103053: Skip test_freeze_simple_script() of test_tools.test_freeze if Python is built with ./configure --enable-optimizations, which means with Profile Guided Optimization (PGO): it just makes the test too slow. The freeze tool is tested by many other CIs with other (faster) compiler flags. Patch by Victor Stinner.
gh-109396: Fix test_socket.test_hmac_sha1() in FIPS mode. Use a longer key: FIPS mode requires at least of at least 112 bits. The previous key was only 32 bits. Patch by Victor Stinner.
gh-104736: Fix test_gdb on Python built with LLVM clang 16 on Linux ppc64le (ex: Fedora 38). Search patterns in gdb “bt” command output to detect when gdb fails to retrieve the traceback. For example, skip a test if Backtrace stopped: frame did not save the PC is found. Patch by Victor Stinner.
gh-109237: Fix test_site.test_underpth_basic() when the working directory contains at least one non-ASCII character: encode the ._pth file to UTF-8 and enable the UTF-8 Mode to use UTF-8 for the child process stdout. Patch by Victor Stinner.
gh-109230: Fix test_pyexpat.test_exception(): it can now be run from a directory different than Python source code directory. Before, the test failed in this case. Skip the test if Modules/pyexpat.c source is not available. Skip also the test on Python implementations other than CPython. Patch by Victor Stinner.
gh-109015: Fix test_asyncio, test_imaplib and test_socket tests on FreeBSD if the TCP blackhole is enabled (sysctl net.inet.tcp.blackhole). Skip the few tests which failed with ETIMEDOUT which such non standard configuration. Currently, the FreeBSD GCP image enables TCP and UDP blackhole (sysctl net.inet.tcp.blackhole=2 and sysctl net.inet.udp.blackhole=1). Patch by Victor Stinner.
gh-91960: Skip test_gdb if gdb is unable to retrieve Python frame objects: if a frame is <optimized out>. When Python is built with “clang -Og”, gdb can fail to retrive the frame parameter of _PyEval_EvalFrameDefault(). In this case, tests like py_bt() are likely to fail. Without getting access to Python frames, python-gdb.py is mostly clueless on retrieving the Python traceback. Moreover, test_gdb is no longer skipped on macOS if Python is built with Clang. Patch by Victor Stinner.
gh-108962: Skip test_tempfile.test_flags() if chflags() fails with “OSError: [Errno 45] Operation not supported” (ex: on FreeBSD 13). Patch by Victor Stinner.
gh-89392: Removed support of test_main() function in tests. They now always use normal unittest test runner.
gh-108851: Fix test_tomllib recursion tests for WASI buildbots: reduce the recursion limit and compute the maximum nested array/dict depending on the current available recursion limit. Patch by Victor Stinner.
gh-108851: Add get_recursion_available() and get_recursion_depth() functions to the test.support module. Patch by Victor Stinner.
gh-108822: regrtest now computes statistics on all tests: successes, failures and skipped. test_netrc, test_pep646_syntax and test_xml_etree now return results in their test_main() function. Patch by Victor Stinner and Alex Waygood.
gh-108388: Convert test_concurrent_futures to a package of 7 sub-tests. Patch by Victor Stinner.
gh-108388: Split test_multiprocessing_fork, test_multiprocessing_forkserver and test_multiprocessing_spawn into test packages. Each package is made of 4 sub-tests: processes, threads, manager and misc. It allows running more tests in parallel and so reduce the total test duration. Patch by Victor Stinner.
gh-101634: When running the Python test suite with -jN option, if a worker stdout cannot be decoded from the locale encoding report a failed testn so the exitcode is non-zero. Patch by Victor Stinner.
gh-100086: The Python test runner (libregrtest) now logs Python build information like “debug” vs “release” build, or LTO and PGO optimizations. Patch by Victor Stinner.
gh-98903: The Python test suite now fails wit exit code 4 if no tests ran. It should help detecting typos in test names and test methods.
gh-95027: On Windows, when the Python test suite is run with the -jN option, the ANSI code page is now used as the encoding for the stdout temporary file, rather than using UTF-8 which can lead to decoding errors. Patch by Victor Stinner.
gh-93353: regrtest now checks if a test leaks temporary files or directories if run with -jN option. Patch by Victor Stinner.

Build
gh-63760: Fix Solaris build: no longer redefine the gethostname() function. Solaris defines the function since 2005. Patch by Victor Stinner, original patch by Jakub Kulík.
gh-108740: Fix a race condition in make regen-all. The deepfreeze.c source and files generated by Argument Clinic are now generated or updated before generating “global objects”. Previously, some identifiers may miss depending on the order in which these files were generated. Patch by Victor Stinner.

Windows
gh-109991: Update Windows build to use OpenSSL 3.0.11.
gh-107565: Update Windows build to use OpenSSL 3.0.10.

macOS
gh-109991: Update macOS installer to use OpenSSL 3.0.11.

Tools/Demos
gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use 1.1.1w, 3.0.11, and 3.1.3.
2023-10-02 19:59:04 +00:00
adam
4da33cdbd0 py-executing: updated to 2.0.0
2.0.0
Unknown changes
2023-10-01 16:23:54 +00:00
adam
8b3a3346d5 py-asttokens: updated to 2.4.0
2.4.0
Merge pull request 116 from gristlabs/walk-include-joinedstr
Add include_joined_str parameter to util.walk

2.3.0
setup.cfg shouldn't have version
2023-10-01 16:20:51 +00:00
adam
59b8d7d23f nodejs: updated to 20.8.0
Version 20.8.0 (Current)

Notable Changes

Stream performance improvements

Performance improvements to writable and readable streams, improving the creation and destruction by ±15% and reducing the memory overhead each stream takes in Node.js

Performance improvements for readable webstream, improving readable stream async iterator consumption by ±140% and improving readable stream pipeTo consumption by ±60%

Rework of memory management in vm APIs with the importModuleDynamically option

This rework addressed a series of long-standing memory leaks and use-after-free issues in the following APIs that support importModuleDynamically:

vm.Script
vm.compileFunction
vm.SyntheticModule
vm.SourceTextModule
This should enable affected users to upgrade from older versions of Node.js.
2023-10-01 16:00:13 +00:00
nros
b6014ea840 lang/qore: update to version 1.19.1
Changes from release notes:

New Features in Qore:

    New user modules:
        GoogleDataProvider
        GoogleRestClient
        HueRestClient
    ConnectionProvider module
        added a logger interface to the abstract base connection class.
        added a connection-defined feature list to connection info.
    FileLocationHandler module
        implemented support for non-blocking I/O from file handlers.
    Logger module
        added LoggerInterface and LoggerWrapper classes.
    added the following function and methods to support base64-url
      encoding of data:
        make_base64_url_string()
        <string>::toBase64Url()
        <binary>::toBase64Url()
    added the following class and new methods to support OAuth2
      and non-blocking polling functionality:
        FilePollOperation class
        ReadOnlyFile::startPollRead()
        HTTPClient::getUsername()
        HTTPClient::getPassword()
    added the encode_chars option to the HTTPClient class

Bug Fixes in Qore:

    ConnectionProvider module
        assume connections are up until they are proven to be down
        fixed a bug where the InvalidConnection class would report an
          invalid url hash.
    RestClient module
        implemented consistent support for OAuth2 authorization flows
          including for OAuth2 with non-blocking I/O and non-blocking
          retrieval of Swagger schemas for REST clients.
        fixed a bug where polling pings did not respect connection
          options or the validator.
    fixed a bugs handling the signal mask that could cause
      hard-to-debug problems such as deadlocks in JIT in the JVM on
      macOS aarch64.
    fixed a bug handling non-blocking I/O for socket connections on
      Darwin / macOS.
    fixed a bug where function and method variants did not report
      varargs in the signature.
    fixed a bug where an access exception could be raised when a
      reference to a private member was used in a static class method.
    fixed a bug where the stack guard was not properly enforced when
      the JVM assumed enforcement responsibility; in addition, due to
      the fact that thread stacks are allocated from overcommitted
      memory, reducing the thread stack size to 512KB had no effect on
      the memory size of Qore programs but did affect Qore, Java, and
      Python programs, therefore the stack limit for all threads was
      reset to 8MB as of this release.
    HttpServer
        allow context info to be cleared after handling each request to
        ensure that context info (like thread-local data) does not leak
        into other connections on the same thread.
    RestClient
        do not try to get another OAuth2 token if the token was just
        retrieved.
    fixed a bug where user variants would not always set the varargs
      flags from ellipses.
    fixed an extraneous SOCKET-NOT-OPEN exception when running
      socket callbacks after a socket was closed.
2023-09-30 11:02:07 +00:00
adam
c64d2d6952 qt6: updated to 6.5.3
Qt 6.5.3 release is a patch release made on the top of Qt 6.5.2.
As a patch release, Qt 6.5.3 does not add any new functionality but provides
bug fixes and other improvements and maintains both forward and backward
compatibility (source and binary) with Qt 6.5.2.

For detailed information about Qt 6.5, refer to the online documentation
included in this distribution. The documentation is also available online:

https://doc.qt.io/qt-6/index.html
2023-09-29 21:12:14 +00:00
taca
3ae7d36332 lang/php81: update to 8.1.24
28 Sep 2023, PHP 8.1.24

- Core:
  . Fixed bug GH-11937 (Constant ASTs containing objects). (ilutov)
  . Fixed bug GH-11790 (On riscv64 require libatomic if actually needed).
    (Jeremie Courreges-Anglas)
  . Fixed bug GH-12073 (Segfault when freeing incompletely initialized
    closures). (ilutov)
  . Fixed bug GH-12060 (Internal iterator rewind handler is called twice).
    (ju1ius)
  . Fixed bug GH-12102 (Incorrect compile error when using array access on TMP
    value in function call). (ilutov)

- DOM:
  . Fix memory leak when setting an invalid DOMDocument encoding. (nielsdos)

- Iconv:
  . Fixed build for NetBSD which still uses the old iconv signature.
    (David Carlier)

- Intl:
  . Fixed bug GH-12020 (intl_get_error_message() broken after
    MessageFormatter::formatMessage() fails). (Girgias)

- MySQLnd:
  . Fixed bug GH-10270 (Invalid error message when connection via SSL fails:
    "trying to connect via (null)"). (Kamil Tekiela)

- ODBC:
  . Fixed memory leak with failed SQLPrepare. (NattyNarwhal)
  . Fixed persistent procedural ODBC connections not getting closed.
    (NattyNarwhal)

- SimpleXML:
  . Fixed bug #52751 (XPath processing-instruction() function is not
    supported). (nielsdos)

- SPL:
  . Fixed bug GH-11972 (RecursiveCallbackFilterIterator regression in 8.1.18).
    (nielsdos)

- SQLite3:
  . Fixed bug GH-11878 (SQLite3 callback functions cause a memory leak with
    a callable array). (nielsdos, arnaud-lb)
2023-09-29 15:11:00 +00:00
taca
89ed167762 lang/php82: update to 8.2.11
28 Sep 2023, PHP 8.2.11

- Core:
  . Fixed bug GH-11937 (Constant ASTs containing objects). (ilutov)
  . Fixed bug GH-11790 (On riscv64 require libatomic if actually needed).
    (Jeremie Courreges-Anglas)
  . Fixed bug GH-11876: ini_parse_quantity() accepts invalid quantities.
    (Girgias)
  . Fixed bug GH-12073 (Segfault when freeing incompletely initialized
    closures). (ilutov)
  . Fixed bug GH-12060 (Internal iterator rewind handler is called twice).
    (ju1ius)
  . Fixed bug GH-12102 (Incorrect compile error when using array access on TMP
    value in function call). (ilutov)

- DOM:
  . Fix memory leak when setting an invalid DOMDocument encoding. (nielsdos)

- Iconv:
  . Fixed build for NetBSD which still uses the old iconv signature.
    (David Carlier)

- Intl:
  . Fixed bug GH-12020 (intl_get_error_message() broken after
    MessageFormatter::formatMessage() fails). (Girgias)

- MySQLnd:
  . Fixed bug GH-10270 (Invalid error message when connection via SSL fails:
    "trying to connect via (null)"). (Kamil Tekiela)

- ODBC:
  . Fixed memory leak with failed SQLPrepare. (NattyNarwhal)
  . Fixed persistent procedural ODBC connections not getting closed.
    (NattyNarwhal)

- SimpleXML:
  . Fixed bug #52751 (XPath processing-instruction() function is not
    supported). (nielsdos)

- SPL:
  . Fixed bug GH-11972 (RecursiveCallbackFilterIterator regression in 8.1.18).
    (nielsdos)

- SQLite3:
  . Fixed bug GH-11878 (SQLite3 callback functions cause a memory leak with
    a callable array). (nielsdos, arnaud-lb)
2023-09-29 15:08:06 +00:00
joerg
127b0c5b29 Depend on ncurses for color handling on Linux. 2023-09-28 21:33:54 +00:00
joerg
02ca7b1a77 libunwind doesn't need LLVM to build. 2023-09-28 21:33:10 +00:00
joerg
cfde71e1ae libcxxabi doesn't care about LLVM libraries, so don't depend on them. 2023-09-28 21:32:13 +00:00
gdt
bc060c082f lang/rust-bin: Adjust SUBDIR in distinfo
DIST_SUBDIR now includes nbN, to handle a new netbsd-i386 distfile.
Adjust paths in distinfo by adding nb1, which worked for building on
nebtsd-9 amd64.
2023-09-28 15:57:26 +00:00
he
073eb61be5 rust-bin: use a revision-specific dist subdir.
This so that the changed bits get re-fetched, and we don't try to
re-use an already-fetched binary, and get a checksum mismatch.
Follow-up on the "new i586 bits" change.
2023-09-28 12:24:32 +00:00
charlotte
e1b9672e20 lang/janet: Update to 1.31.0.
## 1.31.0 - 2023-09-17

- Report line and column when using `janet_dobytes`
- Add `:unless` loop modifier
- Allow calling `reverse` on generators.
- Improve performance of a number of core functions including `partition`, `mean`, `keys`, `values`, `pairs`, `interleave`.
- Add `lengthable?`
- Add `os/sigaction`
- Change `every?` and `any?` to behave like the functional versions of the `and` and `or` macros.
- Fix bug with garbage collecting threaded abstract types.
- Add `:signal` to the `sandbox` function to allow intercepting signals.
2023-09-27 23:58:51 +00:00
he
a5b56c4868 rust-bin: update the i586 binaries, so the result works on netbsd-9...
...and probably newer as well.  Testing status on netbsd-8 is unknown
at the moment.   Ref. pkgsrc-users@ discussion; the old binaries
were built on netbsd-8 and require gcc7's shared libs from pkgsrc.
This set is instead cross-built, and does not depend on an external
LLVM or external gcc.

Bump PKGREVISION, since this gets us new i586 binaries.
2023-09-27 17:19:24 +00:00
vins
507e1a51a3 lang/racket lang/racket-textual: review dependencies
* lang/racket: add missing dependency on GTK3+ needed by the
  `drracket' graphical IDE. Pointed out by @netbsdnoob on UnitedBSD.
  See https://docs.racket-lang.org/gui/libs.html
* Explicitly enable curses and iconv support. These are set upstream
  to be enabled if corresponding headers are found, which means enabled
  on NetBSD, but not necessarily elsewhere. As a consequence, buildlink
  include libiconv.
* Use pkgsrc devel/libffi instead of the bundled library to avoid
  duplication.
* Again, bump revision.
2023-09-25 12:06:35 +00:00
wiz
d4e80f9459 go119: add missing file to PLIST 2023-09-24 23:45:39 +00:00
nros
54e8a5ca56 qore: fix linking of modules on Illumos 2023-09-22 07:10:07 +00:00
vins
08cd727604 lang/racket-textual: regenerate checksums for shared patch files.
Required after recent lang/racket revision.
Revbump package accordingly.
2023-09-21 09:57:29 +00:00
vins
f96a3f88d0 lang/racket: fix build on NetBSD.
* Package uses terminfo, so include "mk/terminfo.buildlink3.mk".
* Patch to not require ncurses on NetBSD. Builds fine with netbsd-curses
  and apparently doesn't require extra features.
* Replace all instances of `-lncurses` with `-lcurses -lterminfo` in
  patch files.
* Replace "devel/ncurses/buildlink3.mk" with "mk/curses.buildlink3.mk"
  in Makefile to reflect above change.
* Bump revision.

Tested on NetBSD-10.0_BETA/amd64.
2023-09-20 22:37:39 +00:00
wiz
5b75b203ab racket: skip portability check for rpm Makefile 2023-09-20 16:27:37 +00:00
adam
9b82da539a nodejs18: updated to 18.18.0
Version 18.18.0 'Hydrogen' (LTS)

Notable Changes

- **build**: sync libuv header change (Jiawen Geng)
- **crypto**: update root certificates to NSS 3.93 (Node.js GitHub Bot)
- **crypto**: update root certificates to NSS 3.90 (Node.js GitHub Bot)
- **deps**: add missing thread-common.c in uv.gyp (Santiago Gimeno)
- **deps**: upgrade to libuv 1.46.0 (Santiago Gimeno)
- **deps**: upgrade to libuv 1.45.0 (Santiago Gimeno)
- **doc**: add atlowChemi to collaborators (atlowChemi)
- **doc**: add vmoroz to collaborators (Vladimir Morozov)
- **doc**: add kvakil to collaborators (Keyhan Vakil)
- **(SEMVER-MINOR)** **esm**: add `--import` flag (Moshe Atlow)
- **(SEMVER-MINOR)** **events**: allow safely adding listener to abortSignal (Chemi Atlow)
- **fs, stream**: initial `Symbol.dispose` and `Symbol.asyncDispose` support (Moshe Atlow)
- **net**: add autoSelectFamily global getter and setter (Paolo Insogna)
- **(SEMVER-MINOR)** **url**: add value argument to has and delete methods (Sankalp Shubham)
2023-09-20 11:23:19 +00:00
adam
8bd907d8c9 nodejs: updated to 20.7.0
Version 20.7.0 (Current)

Notable Changes

- src: support multiple --env-file declarations (Yagiz Nizipli)
- crypto: update root certificates to NSS 3.93 (Node.js GitHub Bot)
- deps: upgrade npm to 10.1.0 (npm team)
- (SEMVER-MINOR) deps: upgrade npm to 10.0.0 (npm team)
- doc: move and rename loaders section (Geoffrey Booth)
- doc: add release key for Ulises Gascon (Ulises Gascón)
- (SEMVER-MINOR) lib: add api to detect whether source-maps are enabled (翠 / green)
- src,permission: add multiple allow-fs-* flags (Carlos Espa)
- (SEMVER-MINOR) test_runner: expose location of tests (Colin Ihrig)
2023-09-20 11:21:59 +00:00
osa
fa751042f2 */*: update NGINX JavaScript 0.8.0 -> 0.8.1
Bump PKGREVISION for www/nginx, www/nginx-devel, and www/unit.

<ChangeLog>

    nginx modules:

    *) Feature: introduced js_periodic directive.
        The directive specifies a JS handler to run at regular intervals.

    *) Feature: implemented items() method for a shared dictionary.
       The method returns all the non-expired key-value pairs.

    *) Bugfix: fixed size() and keys() methods of a shared dictionary.

    *) Bugfix: fixed erroneous exception in r.internalRedirect()
       introduced in 0.8.0.

    Core:

    *) Bugfix: fixed incorrect order of keys in
       Object.getOwnPropertyNames().

</ChangeLog>
2023-09-18 17:49:31 +00:00
taca
7436a49568 lang/ruby-execjs: update to 2.9.1
2.9.0 (2023-09-11)
2.9.1 (2023-09-16)

No release note nor changelog, please refer
<https://github.com/rails/execjs/compare/v2.8.1...v2.9.1> in detail.
2023-09-18 17:31:11 +00:00
vins
2a70defc68 lang/nawk: downgrade to 20230909.
Partially revert previous commit, by downgrading the package to the
most recent release tag supporting ASCII encoded input files (and
processing strings as sequences of bytes).
This is needed by security/mozilla-rootcerts and likely other packages;
see https://mail-index.netbsd.org/tech-pkg/2023/09/17/msg028190.html.

This version incorporates all the changes described in the FIXES file up
to 2023-09-09, minus support for UTF-8 and comma-separated values (CSV)
input.
2023-09-17 10:32:05 +00:00
adam
ac3af26064 py-findpython: updated to 0.4.0
0.4.0

Support allow_prereleases option
2023-09-14 09:30:42 +00:00
adam
e5c039e5db nodejs: updated to 20.6.1
Version 20.6.1 (Current)
esm: fix loading of CJS modules from ESM
2023-09-13 09:55:45 +00:00
vins
12f162f5cf lang/nawk: update to release 20230911
This release marks the official 2nd edition of the AWK programming
language!

# CHANGES (since 20220122)

Sep 11, 2023:
	Added --csv option to enable processing of comma-separated
	values inputs.  When --csv is enabled, fields are separated
	by commas, fields may be quoted with " double quotes, fields
	may contain embedded newlines.

	If no explicit separator argument is provided, split() uses
	the setting of --csv to determine how fields are split.

	Strings may now contain UTF-8 code points (not necessarily
	characters).  Functions that operate on characters, like
	length, substr, index, match, etc., use UTF-8, so the length
	of a string of 3 emojis is 3, not 12 as it would be if bytes
	were counted.

	Regular expressions are processes as UTF-8.

	Unicode literals can be written as \u followed by one
	to eight hexadecimal digits.  These may appear in strings and
	regular expressions.

Sep 06, 2023:
	Fix edge case where FS is changed on commandline. Thanks to
	Gordon Shephard and Miguel Pineiro Jr.

	Fix regular expression clobbering in the lexer, where lexer does
	not make a copy of regexp literals. also makedfa memory leaks have
	been plugged. Thanks to Miguel Pineiro Jr.

Dec 15, 2022:
	Force hex escapes in strings to be no more than two characters,
	as they already are in regular expressions. This brings internal
	consistency, as well as consistency with gawk. Thanks to
	Arnold Robbins.

Sep 12, 2022:
	adjbuf minlen error (cannot be 0) in cat, resulting in NULL pbuf.
	discovered by todd miller. also use-after-free issue with
	tempfree in cat, thanks to Miguel Pineiro Jr and valgrind.

Aug 30, 2022:
	Various leaks and use-after-free issues plugged/fixed.
	Thanks to Miguel Pineiro Jr. <mpj@pineiro.cc>.

May 23, 2022:
	Memory leak when assigning a string to some of the built-in
	variables. allocated string erroneously marked DONTFREE.
	Thanks to Miguel Pineiro Jr. <mpj@pineiro.cc>.

Mar 14, 2022:
	Historic bug: command-line "name=value" assignment had been
	truncating its entry in ARGV. (circa 1989) Thanks to
	Miguel Pineiro Jr. <mpj@pineiro.cc>.

Mar 3, 2022:
	Fixed file management memory leak that appears to have been
	there since the files array was first initialized with stdin,
	stdout, and stderr (circa 1992). Thanks to Miguel Pineiro Jr.
	<mpj@pineiro.cc>.
2023-09-12 19:16:52 +00:00
taca
13900498ee www/ruby-rails70: update to 7.0.8
pkgsrc change: fix dependency of ruby-activestorage70

Active Support

* Fix TimeWithZone still using deprecated #to_s when ENV or config to
  disable it are set.  (Hartley McGuire)

* Fix CacheStore#write_multi when using a distributed Redis cache with a
  connection pool.  Fixes #48938.  (Jonathan del Strother)

Active Record

* Fix change_column not setting precision: 6 on datetime columns when using
  7.0+ Migrations and SQLite.  (Hartley McGuire)

* Fix unscope is not working in specific case

    Before:

    Post.where(id: 1...3).unscope(where: :id).to_sql # "SELECT `posts`.* FROM `posts` WHERE `posts`.`id` >= 1 AND `posts`.`id` < 3"

    After:

    Post.where(id: 1...3).unscope(where: :id).to_sql # "SELECT `posts`.* FROM `posts`"

 Fixes #48094.  (Kazuya Hatanaka)

* Fix associations to a STI model including a class_name parameter

    class Product < ApplicationRecord
      has_many :requests, as: :requestable, class_name: "ProductRequest", dependent: :destroy
    end

    # STI tables
    class Request < ApplicationRecord
      belongs_to :requestable, polymorphic: true

      validate :request_type, presence: true
    end

    class ProductRequest < Request
      belongs_to :user
    end

Accessing such association would lead to:

    table_metadata.rb:22:in `has_column?': undefined method `key?' for nil:NilClass (NoMethodError)

  (Romain Filinto)

* Fix change_table setting datetime precision for 6.1 Migrations
  (Hartley McGuire)

* Fix change_column setting datetime precision for 6.1 Migrations
  (Hartley McGuire)

Action View

* Fix form_for missing the hidden _method input for models with a namespaced
  route.  (Hartley McGuire)

* Fix render collection: @records, cache: true inside jbuilder templates

  The previous fix that shipped in 7.0.7 assumed template fragments are
  always strings, this isn't true with jbuilder.  (Jean Boussier)


Action Pack

* Fix HostAuthorization potentially displaying the value of the
  X_FORWARDED_HOST header when the HTTP_HOST header is being blocked.
  (Hartley McGuire, Daniel Schlosser)

Active Job

* Fix Active Job log message to correctly report a job failed to enqueue
  when the adapter raises an ActiveJob::EnqueueError.  (Ben Sheldon)

Railties

* Omit webdrivers gem dependency from Gemfile template (Sean Doyle)
2023-09-10 14:19:00 +00:00
nia
e7d7dc4a7d mujs: Restore PKGCONFIG_OVERRIDE fixes that were also quietly deleted in r1.3
to ensure that dependent users have the correct RPATH.

Set MAINTAINER to me as a hint that I understand the Makefile patches, and
hopefully I will waste less time being confused in the future, and not
be convinced that I dreamed that I fixed this package before. O.o
2023-09-10 09:57:36 +00:00
nia
3520cfbd7c mujs: In typical pkgsrc fashion, libtoolize package that attempts to
hand-roll its own way of producing shared/static libaries. Install more
than just the static libraries.

Make the build process generally more portable and predictable by
further separating compilation and link stages, and using LDFLAGS
instead of CFLAGS when linking.
2023-09-10 09:36:38 +00:00
nia
e307283240 ruby3*-base: Require a compiler with c11 and thread local support. 2023-09-10 08:54:09 +00:00
yhardy
b266c4d387 lang/ecl: update to ecl-23.9.9
Tested by building and using math/maxima.

Release announcement:

ECL 23.9.9 release

Dear Community,

We are happy to announce a new stable ECL release tagged 23.9.9.
The new release includes many bug fixes, some new features,
improvements to the compiler and more. Changes include but are
not limited to:

 *  Complete overhaul of thread synchronization primitives (mutexes,
    condition variables, etc.). Users of bordeaux-threads will have
    to update as this breaks workarounds for missing timeouts on
    condition variable wait operations in version 0.9.1 and earlier
    of this library.
 *  Better unicode support: add new functions to convert between
    Lisp strings and byte arrays in different encodings, allow
    non-ascii characters in pathnames and as arguments to
    ext:run-program.
 *  Preliminary support for the Emscripten target (bytecodes
    compiler only).
 *  Various bug fixes and internal improvements to the compiler.
 *  Better conformance to the ANSI standard.

We'd like to thank all people who contributed to ECL with code,
testing, issue reports and otherwise.

People listed here contributed code in this iteration: Caleb Xu,
Catherine Tower, Daniel Kochmański, Dima Pasechnik, Dmitry
Solomennikov, Eric Timmons, Florian Margaine, Jeronimo Pellegrini,
Kevin Zheng, Kirill A. Korinsky, Marius Gerbershagen, Nick Faro,
Tarn W. Burton, Ulrich Müller, Yuguo Zhang, Yuri D. Lensky.

People listed here tested ECL extensively before the release:
Kirill A. Korinsky, Marius Gerbershagen and Paul Ruetz.

This release is available for download in a form of a source code
archive (we do not ship prebuilt binaries):

    ECL 23.9.9 tarball archive
    The ECL Manual

Happy Hacking,
The ECL Developers
2023-09-10 06:28:21 +00:00
wiz
1e07bfebd0 py-lsprotocol: update to 2023.0.0a3.
Enhancements

    Update LSP spec to latest by @karthiknadig in #230
    Add --output-dir switch to code generator by @karthiknadig in #239

Dotnet

    Dotnet: Code generation for LSP methods by @karthiknadig in #222
    Generate request, notification and options classes by @karthiknadig in #224
    dotnet: Add test case generation by @karthiknadig in #226
    Add devcontainer support to repo by @timheuer in #234
    Add dotnet test and format check to GHA by @karthiknadig in #240
    Add response types and improve test suite by @karthiknadig in #243
    Generate dotnet project package. by @karthiknadig in #252
    Format Generated Code by @karthiknadig in #257
    Use record instead of class for LSP types. by @karthiknadig in #258
    Use ImmutableArray and ImmutableDictionary by @karthiknadig in #256

Bug Fixes

    Fix bug with structuring LSPObject type by @karthiknadig in #229
    dotnet: Fix issues with OrType serialization by @karthiknadig in #232
    Improve documentation tags in generated code by @karthiknadig in #250
    Fix warning with generated converter code by @karthiknadig in #251
    Fix for missing notebook selector hook by @karthiknadig in #260
2023-09-09 21:14:52 +00:00
taca
54af1121bf lang/ruby: remove reference to ruby30
Remove references to nonexistent files.
2023-09-09 14:23:23 +00:00
taca
3379366cee lang/ruby: remove support for Ruby 3.0 2023-09-09 14:21:31 +00:00