Commit graph

14813 commits

Author SHA1 Message Date
ryoon
50e9dff031 mono: Update 6.12.0.199
Changelog:
mono-6.12.0.199

Bump nuget.exe to v6.6.1

mono-6.12.0.198

Fix xar url again

(cherry picked from commit 3005442)

mono-6.12.0.190

Change download URL for PCL reference assemblies

mono-6.12.0.188

Bump NuGetSdkResolver in msbuild

mono-6.12.0.185

Backport fixes for sharing wrappers when type attributes are involved (…

…#21537)

* [wasm] Fix the handling of i8/u8 in get_wrapper_shared_type_full (). (#19859)

Previously, these were returned verbatim, which caused sharing issues when the type had
attributes.

Fixes #19841.

* [aot] Fix the handling of r4/r8 parameter types with attributes during generic sharing. (#20217)

The attributes need to be ignored as with the other types, otherwise gsharedvt wrappers for signatures with
parameters like double f = default will not be found.

Fixes #20195.

mono-6.12.0.184

Backporting dotnet/runtime#59861 (#21532)

Fixes dotnet/runtime#72181

mono-6.12.0.183

Backport dotnet/runtime#71436 (#21519)

Backport dotnet/runtime#71436
Backport of #21516 to 2020-02
2023-11-24 13:58:45 +00:00
taca
23efe447f5 lang/php81: update to 8.1.26
PHP 8.1.26 (2023-11-23)

- Core:
  . Fixed bug GH-12468 (Double-free of doc_comment when overriding static
    property via trait). (ilutov)
  . Fixed segfault caused by weak references to FFI objects. (sj-i)
  . Fixed max_execution_time: don't delete an unitialized timer. (Kévin Dunglas)

- DOM:
  . Fix registerNodeClass with abstract class crashing. (nielsdos)
  . Add missing NULL pointer error check. (icy17)
  . Fix validation logic of php:function() callbacks. (nielsdos)

- Fiber:
  . Fixed bug GH-11121 (ReflectionFiber segfault). (danog, trowski, bwoebi)

- FPM:
  . Fixed bug GH-9921 (Loading ext in FPM config does not register module
    handlers). (Jakub Zelenka)
  . Fixed bug GH-12232 (FPM: segfault dynamically loading extension without
    opcache). (Jakub Zelenka)

- Intl:
  . Removed the BC break on IntlDateFormatter::construct which threw an
    exception with an invalid locale. (David Carlier)

- Opcache:
  . Added warning when JIT cannot be enabled. (danog)
  . Fixed bug GH-8143 (Crashes in zend_accel_inheritance_cache_find since
    upgrading to 8.1.3 due to corrupt on-disk file cache). (turchanov)

- OpenSSL:
  . Fixed bug GH-12489 (Missing sigbio creation checking in openssl_cms_verify).
    (Jakub Zelenka)

- PCRE:
  . Fixed bug GH-11374 (Backport upstream fix, Different preg_match result
    with -d pcre.jit=0). (mvorisek)

- SOAP:
  . Fixed bug GH-12392 (Segmentation fault on SoapClient::__getTypes).
    (nielsdos)
  . Fixed bug #66150 (SOAP WSDL cache race condition causes Segmentation
    Fault). (nielsdos)
  . Fixed bug #67617 (SOAP leaves incomplete cache file on ENOSPC). (nielsdos)
  . Fix incorrect uri check in SOAP caching. (nielsdos)
  . Fix segfault and assertion failure with refcounted props and arrays.
    (nielsdos)
  . Fix potential crash with an edge case of persistent encoders. (nielsdos)
  . Fixed bug #75306 (Memleak in SoapClient). (nielsdos)

- Streams:
  . Fixed bug #75708 (getimagesize with "&$imageinfo" fails on StreamWrappers).
    (Jakub Zelenka)

- XMLReader:
  . Add missing NULL pointer error check. (icy17)

- XMLWriter:
  . Add missing NULL pointer error check. (icy17)

- XSL:
  . Add missing module dependency. (nielsdos)
  . Fix validation logic of php:function() callbacks. (nielsdos)
2023-11-24 06:03:45 +00:00
taca
61136d4a4e PHP 8.2.13 (2023-11-23)
- Core:
  . Fixed double-free of non-interned enum case name. (ilutov)
  . Fixed bug GH-12457 (Incorrect result of stripos with single character
    needle). (SakiTakamachi)
  . Fixed bug GH-12468 (Double-free of doc_comment when overriding static
    property via trait). (ilutov)
  . Fixed segfault caused by weak references to FFI objects. (sj-i)
  . Fixed max_execution_time: don't delete an unitialized timer. (Kévin Dunglas)
  . Fixed bug GH-12558 (Arginfo soft-breaks with namespaced class return type
    if the class name starts with N). (kocsismate)

- DOM:
  . Fix registerNodeClass with abstract class crashing. (nielsdos)
  . Add missing NULL pointer error check. (icy17)
  . Fix validation logic of php:function() callbacks. (nielsdos)

- Fiber:
  . Fixed bug GH-11121 (ReflectionFiber segfault). (danog, trowski, bwoebi)

- FPM:
  . Fixed bug GH-9921 (Loading ext in FPM config does not register module
    handlers). (Jakub Zelenka)
  . Fixed bug GH-12232 (FPM: segfault dynamically loading extension without
    opcache). (Jakub Zelenka)
  . Fixed bug #76922 (FastCGI terminates conn after FCGI_GET_VALUES).
    (Jakub Zelenka)

- Intl:
  . Removed the BC break on IntlDateFormatter::construct which threw an
    exception with an invalid locale. (David Carlier)

- Opcache:
  . Added warning when JIT cannot be enabled. (danog)
  . Fixed bug GH-8143 (Crashes in zend_accel_inheritance_cache_find since
    upgrading to 8.1.3 due to corrupt on-disk file cache). (turchanov)

- OpenSSL:
  . Fixed bug GH-12489 (Missing sigbio creation checking in openssl_cms_verify).
    (Jakub Zelenka)

- PCRE:
  . Fixed bug GH-11374 (Backport upstream fix, Different preg_match result
    with -d pcre.jit=0). (mvorisek)

- SOAP:
  . Fixed bug GH-12392 (Segmentation fault on SoapClient::__getTypes).
    (nielsdos)
  . Fixed bug #66150 (SOAP WSDL cache race condition causes Segmentation
    Fault). (nielsdos)
  . Fixed bug #67617 (SOAP leaves incomplete cache file on ENOSPC). (nielsdos)
  . Fix incorrect uri check in SOAP caching. (nielsdos)
  . Fix segfault and assertion failure with refcounted props and arrays.
    (nielsdos)
  . Fix potential crash with an edge case of persistent encoders. (nielsdos)
  . Fixed bug #75306 (Memleak in SoapClient). (nielsdos)

- Streams:
  . Fixed bug #75708 (getimagesize with "&$imageinfo" fails on StreamWrappers).
    (Jakub Zelenka)

- XMLReader:
  . Add missing NULL pointer error check. (icy17)

- XMLWriter:
  . Add missing NULL pointer error check. (icy17)

- XSL:
  . Add missing module dependency. (nielsdos)
  . Fix validation logic of php:function() callbacks. (nielsdos)
2023-11-24 06:01:26 +00:00
adam
4a8ff1f18b py-mypy: updated to 1.7.1
1.7.1
Bug fixes
2023-11-23 20:52:09 +00:00
jperkin
ded94a18e0 nodejs*: Consolidate and fix python includes.
Ensures that PYTHON_FOR_BUILD_ONLY is set prior to including pyversion.mk,
and ensures python and its dependencies are not buildlinked.
2023-11-23 16:57:37 +00:00
ryoon
6e0a813b41 nim: Update to 2.0.0
Changelog:
# v2.0.0 - 2023-08-01

Version 2.0 is a big milestone with too many changes to list them all here.

For a full list see [details](changelog_2_0_0_details.html).


## New features

### Better tuple unpacking

Tuple unpacking for variables is now treated as syntax sugar that directly
expands into multiple assignments. Along with this, tuple unpacking for
variables can now be nested.

```nim
proc returnsNestedTuple(): (int, (int, int), int, int) = (4, (5, 7), 2, 3)

# Now nesting is supported!
let (x, (_, y), _, z) = returnsNestedTuple()

```

### Improved type inference

A new form of type inference called [top-down inference](https://nim-lang.github.io/Nim/manual_experimental.html#topminusdown-type-inference) has been implemented for a variety of basic cases.

For example, code like the following now compiles:

```nim
let foo: seq[(float, byte, cstring)] = @[(1, 2, "abc")]
```

### Forbidden Tags

[Tag tracking](https://nim-lang.github.io/Nim/manual.html#effect-system-tag-tracking) now supports the definition
of forbidden tags by the `.forbids` pragma which can be used to disable certain effects in proc types.

For example:

```nim

type IO = object ## input/output effect
proc readLine(): string {.tags: [IO].} = discard
proc echoLine(): void = discard

proc no_IO_please() {.forbids: [IO].} =
  # this is OK because it didn't define any tag:
  echoLine()
  # the compiler prevents this:
  let y = readLine()

```

### New standard library modules

The famous `os` module got an overhaul. Several of its features are available
under a new interface that introduces a `Path` abstraction. A `Path` is
a `distinct string`, which improves the type safety when dealing with paths, files
and directories.

Use:

- `std/oserrors` for OS error reporting.
- `std/envvars` for environment variables handling.
- `std/paths` for path handling.
- `std/dirs` for directory creation/deletion/traversal.
- `std/files` for file existence checking, file deletions and moves.
- `std/symlinks` for symlink handling.
- `std/appdirs` for accessing configuration/home/temp directories.
- `std/cmdline` for reading command line parameters.

### Consistent underscore handling

The underscore identifier (`_`) is now generally not added to scope when
used as the name of a definition. While this was already the case for
variables, it is now also the case for routine parameters, generic
parameters, routine declarations, type declarations, etc. This means that the following code now does not compile:

```nim
proc foo(_: int): int = _ + 1
echo foo(1)

proc foo[_](t: typedesc[_]): seq[_] = @[default(_)]
echo foo[int]()

proc _() = echo "_"
_()

type _ = int
let x: _ = 3
```

Whereas the following code now compiles:

```nim
proc foo(_, _: int): int = 123
echo foo(1, 2)

proc foo[_, _](): int = 123
echo foo[int, bool]()

proc foo[T, U](_: typedesc[T], _: typedesc[U]): (T, U) = (default(T), default(U))
echo foo(int, bool)

proc _() = echo "one"
proc _() = echo "two"

type _ = int
type _ = float
```

### JavaScript codegen improvement

The JavaScript backend now uses [BigInt](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt)
for 64-bit integer types (`int64` and `uint64`) by default. As this affects
JS code generation, code using these types to interface with the JS backend
may need to be updated. Note that `int` and `uint` are not affected.

For compatibility with [platforms that do not support BigInt](https://caniuse.com/bigint)
and in the case of potential bugs with the new implementation, the
old behavior is currently still supported with the command line option
`--jsbigint64:off`.


## Docgen improvements

`Markdown` is now the default markup language of doc comments (instead
of the legacy `RstMarkdown` mode). In this release we begin to separate
RST and Markdown features to better follow specification of each
language, with the focus on Markdown development.
See also [the docs](https://nim-lang.github.io/Nim/markdown_rst.html).

* Added a `{.doctype: Markdown | RST | RstMarkdown.}` pragma allowing to
  select the markup language mode in the doc comments of the current `.nim`
  file for processing by `nim doc`:

    1. `Markdown` (default) is basically CommonMark (standard Markdown) +
        some Pandoc Markdown features + some RST features that are missing
        in our current implementation of CommonMark and Pandoc Markdown.
    2. `RST` closely follows the RST spec with few additional Nim features.
    3. `RstMarkdown` is a maximum mix of RST and Markdown features, which
        is kept for the sake of compatibility and ease of migration.

* Added separate `md2html` and `rst2html` commands for processing
  standalone `.md` and `.rst` files respectively (and also `md2tex`/`rst2tex`).

* Added Pandoc Markdown bracket syntax `[...]` for making anchor-less links.
* Docgen now supports concise syntax for referencing Nim symbols:
  instead of specifying HTML anchors directly one can use original
  Nim symbol declarations (adding the aforementioned link brackets
  `[...]` around them).
  * To use this feature across modules, a new `importdoc` directive was added.
    Using this feature for referencing also helps to ensure that links
    (inside one module or the whole project) are not broken.
* Added support for RST & Markdown quote blocks (blocks starting with `>`).
* Added a popular Markdown definition lists extension.
* Added Markdown indented code blocks (blocks indented by >= 4 spaces).
* Added syntax for additional parameters to Markdown code blocks:

       ```nim test="nim c $1"
       ...
       ```


## C++ interop enhancements

Nim 2.0 takes C++ interop to the next level. With the new [virtual](https://nim-lang.github.io/Nim/manual_experimental.html#virtual-pragma) pragma and the extended [constructor](https://nim-lang.github.io/Nim/manual_experimental.html#constructor-pragma) pragma.
Now one can define constructors and virtual procs that maps to C++ constructors and virtual methods, allowing one to further customize
the interoperability. There is also extended support for the [codeGenDecl](https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-codegendecl-pragma) pragma, so that it works on types.

It's a common pattern in C++ to use inheritance to extend a library. Some even use multiple inheritance as a mechanism to make interfaces.

Consider the following example:

```cpp

struct Base {
  int someValue;
  Base(int inValue)  {
    someValue = inValue;
  };
};

class IPrinter {
public:
  virtual void print() = 0;
};
```

```nim

type
  Base* {.importcpp, inheritable.} = object
    someValue*: int32
  IPrinter* {.importcpp.} = object

const objTemplate = """
  struct $1 : public $3, public IPrinter {
    $2
  };
""";

type NimChild {.codegenDecl: objTemplate .} = object of Base

proc makeNimChild(val: int32): NimChild {.constructor: "NimClass('1 #1) : Base(#1)".} =
  echo "It calls the base constructor passing " & $this.someValue
  this.someValue = val * 2 # Notice how we can access `this` inside the constructor. It's of the type `ptr NimChild`.

proc print*(self: NimChild) {.virtual.} =
  echo "Some value is " & $self.someValue

let child = makeNimChild(10)
child.print()
```

It outputs:

```
It calls the base constructor passing 10
Some value is 20
```


## ARC/ORC refinements

With the 2.0 release, the ARC/ORC model got refined once again and is now finally complete:

1. Programmers now have control over the "item was moved from" state as `=wasMoved` is overridable.
2. There is a new `=dup` hook which is more efficient than the old combination of `=wasMoved(tmp); =copy(tmp, x)` operations.
3. Destructors now take a parameter of the attached object type `T` directly and don't have to take a `var T` parameter.

With these important optimizations we improved the runtime of the compiler and important benchmarks by 0%! Wait ... what?
Yes, unfortunately it turns out that for a modern optimizer like in GCC or LLVM there is no difference.

But! This refined model is more efficient once separate compilation enters the picture. In other words, as we think of
providing a stable ABI it is important not to lose any efficiency in the calling conventions.


## Tool changes

- Nim now ships Nimble version 0.14 which added support for lock-files. Libraries are stored in `$nimbleDir/pkgs2` (it was `$nimbleDir/pkgs` before). Use `nimble develop --global` to create an old style link file in the special links directory documented at https://github.com/nim-lang/nimble#nimble-develop.
- nimgrep now offers the option `--inContext` (and `--notInContext`), which
  allows to filter only matches with the context block containing a given pattern.
- nimgrep: names of options containing "include/exclude" are deprecated,
  e.g. instead of `--includeFile` and `--excludeFile` we have
  `--filename` and `--notFilename` respectively.
  Also, the semantics are now consistent for such positive/negative filters.
- Nim now ships with an alternative package manager called Atlas. More on this in upcoming versions.


## Porting guide

### Block and Break

Using an unnamed break in a block is deprecated. This warning will become an error in future versions! Use a named block with a named break instead. In other words, turn:

```nim

block:
  a()
  if cond:
    break
  b()

```

Into:

```nim

block maybePerformB:
  a()
  if cond:
    break maybePerformB
  b()

```

### Strict funcs

The definition of `"strictFuncs"` was changed.
The old definition was roughly: "A store to a ref/ptr deref is forbidden unless it's coming from a `var T` parameter".
The new definition is: "A store to a ref/ptr deref is forbidden."

This new definition is much easier to understand, the price is some expressitivity. The following code used to be
accepted:

```nim

{.experimental: "strictFuncs".}

type Node = ref object
  s: string

func create(s: string): Node =
  result = Node()
  result.s = s # store to result[]

```

Now it has to be rewritten to:

```nim

{.experimental: "strictFuncs".}

type Node = ref object
  s: string

func create(s: string): Node =
  result = Node(s: s)

```

### Standard library

Several standard library modules have been moved to nimble packages, use `nimble` or `atlas` to install them:

- `std/punycode` => `punycode`
- `std/asyncftpclient` => `asyncftpclient`
- `std/smtp` => `smtp`
- `std/db_common` => `db_connector/db_common`
- `std/db_sqlite` => `db_connector/db_sqlite`
- `std/db_mysql` => `db_connector/db_mysql`
- `std/db_postgres` => `db_connector/db_postgres`
- `std/db_odbc` => `db_connector/db_odbc`
- `std/md5` => `checksums/md5`
- `std/sha1` => `checksums/sha1`
- `std/sums` => `sums`
2023-11-23 16:41:31 +00:00
ryoon
fe1f08c357 openjdk17: Update to 1.17.0.9.9
Changelog:
Additional features include:

    Update to 17.0.9 GA
2023-11-23 15:34:02 +00:00
ryoon
8050caffd0 openjdk11: Update to 1.11.0.21.9
Changelog:
Additional features include:

    Update to 11.0.21 GA
2023-11-23 15:33:19 +00:00
ryoon
dd4ab63377 openjdk8: Update to 1.8.392
Changelog:
Additional features include:

    Updated to 8u392 GA
2023-11-23 15:32:42 +00:00
jperkin
a323e97202 python*: Remove -luuid hack on SunOS.
This ends up leaking into the shipped python-config, which wouldn't normally
be a problem, but broken build systems such as waf end up linking against
libraries that are not buildlinked, resulting in missing libuuid references.

If this is still required for builtin libuuid support then that will need to
be done in a different way that doesn't end up in the exported libraries.
2023-11-23 12:43:35 +00:00
jperkin
576c73c72d llvm: Switch PYTHON_FOR_BUILD_ONLY to "tool".
Avoids problems where python is buildlinked, and buildlink dependencies of
python ending up being available during the build but not registered as full
dependencies, resulting in them potentially being unavailable at runtime.
2023-11-23 11:01:46 +00:00
jperkin
ec93872846 python: Default tool.mk to PYTHON_FOR_BUILD_ONLY=tool.
Helps to avoid buildlinking unnecessarily which can lead to dependency
issues with packages that are pulled in by python's buildlink3.mk.
2023-11-23 11:00:52 +00:00
wiz
66490412e6 sbcl: mark as broken on i386/NetBSD
https://mail-index.netbsd.org/pkgsrc-bulk/2023/11/21/msg024562.html
2023-11-23 08:36:21 +00:00
jperkin
bcea87c47e nodejs: Switch PYTHON_FOR_BUILD_ONLY to "tool".
Avoids problems where python is buildlinked, and buildlink dependencies of
python ending up being available during the build but not registered as full
dependencies, resulting in them potentially being unavailable at runtime.
2023-11-22 16:30:23 +00:00
ryoon
a3c3d2b677 openjdk-bin: Update to 21.0.1
For bootstrap lang/openjdk21.
2023-11-22 14:11:32 +00:00
ryoon
f3fe50d7e7 lang: Enable openjdk21 2023-11-22 14:08:34 +00:00
ryoon
0b8e9d6d08 lang/openjdk21: import openjdk21-1.21.0.1.12
Open-source implementation of the Java Platform, Standard Edition.
This package privides OpenJDK 21 LTS.

This package is NOT certified to be compatible with any Java standard.
Use at own risk.

Mandatory trademark notice:
    "OpenJDK is a trademark or registered trademark of Oracle America,
     Inc. in the United States and other countries."
2023-11-22 14:06:50 +00:00
adam
ceaf7bec67 py-mypy: updated to 1.7.0
1.7.0

Using TypedDict for **kwargs Typing
TypeVarTuple Support Enabled (Experimental)
New Way of Installing Mypyc Dependencies
New Rules for Re-exports
Improved Type Inference
Narrowing Tuple Types Using len()
More Precise Tuple Lengths (Experimental)
2023-11-22 10:31:16 +00:00
wiz
eccc092023 py-lsprotocol: increase version to make it higher than before 2023-11-19 20:27:49 +00:00
wiz
8c39d31489 vala: update to 0.56.14.
Vala 0.56.14
============
 * Various improvements and bug fixes:
  - codegen: Generate compatible wrapper of ref-void functions [#1486]
  - vala: Prevent usage of strlen() on non-null-terminated string [#1485]

 * Bindings:
  - glib-2.0: Add new symbols from 2.78
  - gstreamer-1.0: Make ElementFactory.make()'s name parameter default to null
  - gtk4-wayland: Add the missing wayland-client bindings
  - wayland-client: Complete the binding
2023-11-19 19:30:22 +00:00
wiz
f3c4c012d5 py-pygls: update to 1.2.0.
What's Changed

    Remove dependency on typeguard by @karthiknadig in #411
    Simplify vscode-playground setup and fix Python discovery by @alcarney in #374
    chore: pin lsprotocol to 2023.0.0 by @alcarney in #414
    build: v1.2.0 by @tombh in #412
2023-11-19 16:14:07 +00:00
wiz
dd3371ca4e py-lsprotocol: update to 2023.0.0.1.
Enhancements

    Update to latest LSP spec by @karthiknadig in #281

Bug Fixes

    Update package classifiers by @karthiknadig in #284
2023-11-19 14:21:42 +00:00
tnn
39dc0c9df6 rust: add CHECK_PORTABILITY_SKIP 2023-11-17 20:08:12 +00:00
he
eb30193cb4 lang/rust-bin: update to 1.73.0 to mirror update of lang/rust. 2023-11-16 09:57:51 +00:00
he
9081e36a17 rust: Upgrade to version 1.73.0.
Pkgsrc changes:
 * Adjust patches and cargo checksums to new versions.
 * For an external LLVM, set dependency of llvm >= 15, in accordance
   with the upstream changes.
 * Add a patch with a backport from LLVM 17.0.3 fixing codegen for
   PPC, ref. https://github.com/rust-lang/rust/issues/116845

Upstream changes:

Version 1.73.0 (2023-10-05)
==========================

Language
--------

- [Uplift `clippy::fn_null_check` lint as `useless_ptr_null_checks`.]
  (https://github.com/rust-lang/rust/pull/111717/)
- [Make `noop_method_call` warn by default.]
  (https://github.com/rust-lang/rust/pull/111916/)
- [Support interpolated block for `try` and `async` in macros.]
  (https://github.com/rust-lang/rust/pull/112953/)
- [Make `unconditional_recursion` lint detect recursive drops.]
  (https://github.com/rust-lang/rust/pull/113902/)
- [Future compatibility warning for some impls being incorrectly
  considered not overlapping.]
  (https://github.com/rust-lang/rust/pull/114023/)
- [The `invalid_reference_casting` lint is now **deny-by-default**
  (instead of allow-by-default)]
  (https://github.com/rust-lang/rust/pull/112431

Compiler
--------

- [Write version information in a `.comment` section like GCC/Clang.]
  (https://github.com/rust-lang/rust/pull/97550/)
- [Add documentation on v0 symbol mangling.]
  (https://github.com/rust-lang/rust/pull/97571/)
- [Stabilize `extern "thiscall"` and `"thiscall-unwind"` ABIs.]
  (https://github.com/rust-lang/rust/pull/114562/)
- [Only check outlives goals on impl compared to trait.]
  (https://github.com/rust-lang/rust/pull/109356/)
- [Infer type in irrefutable slice patterns with fixed length as array.]
  (https://github.com/rust-lang/rust/pull/113199/)
- [Discard default auto trait impls if explicit ones exist.]
  (https://github.com/rust-lang/rust/pull/113312/)
- Add several new tier 3 targets:
    - [`aarch64-unknown-teeos`]
      (https://github.com/rust-lang/rust/pull/113480/)
    - [`csky-unknown-linux-gnuabiv2`]
      (https://github.com/rust-lang/rust/pull/113658/)
    - [`riscv64-linux-android`]
      (https://github.com/rust-lang/rust/pull/112858/)
    - [`riscv64gc-unknown-hermit`]
      (https://github.com/rust-lang/rust/pull/114004/)
    - [`x86_64-unikraft-linux-musl`]
      (https://github.com/rust-lang/rust/pull/113411/)
    - [`x86_64-unknown-linux-ohos`]
      (https://github.com/rust-lang/rust/pull/113061/)
- [Add `wasm32-wasi-preview1-threads` as a tier 2 target.]
  (https://github.com/rust-lang/rust/pull/112922/)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

Libraries
---------

- [Add `Read`, `Write` and `Seek` impls for `Arc<File>`.]
  (https://github.com/rust-lang/rust/pull/94748/)
- [Merge functionality of `io::Sink` into `io::Empty`.]
  (https://github.com/rust-lang/rust/pull/98154/)
- [Implement `RefUnwindSafe` for `Backtrace`]
  (https://github.com/rust-lang/rust/pull/100455/)
- [Make `ExitStatus` implement `Default`]
  (https://github.com/rust-lang/rust/pull/106425/)
- [`impl SliceIndex<str> for (Bound<usize>, Bound<usize>)`]
  (https://github.com/rust-lang/rust/pull/111081/)
- [Change default panic handler message format.]
  (https://github.com/rust-lang/rust/pull/112849/)
- [Cleaner `assert_eq!` & `assert_ne!` panic messages.]
  (https://github.com/rust-lang/rust/pull/111071/)
- [Correct the (deprecated) Android `stat` struct definitions.]
  (https://github.com/rust-lang/rust/pull/113130/)

Stabilized APIs
---------------

- [Unsigned `{integer}::div_ceil`]
  (https://doc.rust-lang.org/stable/std/primitiv e.u32.html#method.div_ceil)
- [Unsigned `{integer}::next_multiple_of`]
  (https://doc.rust-lang.org/stable/std/primitive.u32.html#method.next_multiple_of)
- [Unsigned `{integer}::checked_next_multiple_of`]
  (https://doc.rust-lang.org/stable/std/primitive.u32.html#method.checked_next_multiple_of)
- [`std::ffi::FromBytesUntilNulError`]
  (https://doc.rust-lang.org/stable/std/ffi/struct.FromBytesUntilNulError.html)
- [`std::os::unix::fs::chown`]
  (https://doc.rust-lang.org/stable/std/os/unix/fs/fn.chown.html)
- [`std::os::unix::fs::fchown`]
  (https://doc.rust-lang.org/stable/std/os/unix/fs/fn.fchown.html)
- [`std::os::unix::fs::lfchown`]
  (https://doc.rust-lang.org/stable/std/os/unix/fs/fn.lchown.html)
- [`LocalKey::<Cell<T>>::get`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.get)
- [`LocalKey::<Cell<T>>::set`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set)
- [`LocalKey::<Cell<T>>::take`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take)
- [`LocalKey::<Cell<T>>::replace`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace)
- [`LocalKey::<RefCell<T>>::with_borrow`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow)
- [`LocalKey::<RefCell<T>>::with_borrow_mut`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow_mut)
- [`LocalKey::<RefCell<T>>::set`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set-1)
- [`LocalKey::<RefCell<T>>::take`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take-1)
- [`LocalKey::<RefCell<T>>::replace`]
  (https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace-1)

These APIs are now stable in const contexts:

- [`rc::Weak::new`]
  (https://doc.rust-lang.org/stable/alloc/rc/struct.Weak.html#method.new)
- [`sync::Weak::new`]
  (https://doc.rust-lang.org/stable/alloc/sync/struct.Weak.html#method.new)
- [`NonNull::as_ref`]
  (https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.as_ref)

Cargo
-----

- [Encode URL params correctly for `SourceId` in `Cargo.lock`.]
  (https://github.com/rust-lang/cargo/pull/12280/)
- [Bail out an error when using `cargo::` in custom build script.]
  (https://github.com/rust-lang/cargo/pull/12332/)

Misc
----

Compatibility Notes
-------------------

- [Update the minimum external LLVM to 15.]
  (https://github.com/rust-lang/rust/pull/114148/)
- [Check for non-defining uses of return position `impl Trait`.]
  (https://github.com/rust-lang/rust/pull/112842/)

Internal Changes
----------------

These changes do not affect any public interfaces of Rust, but they
represent significant improvements to the performance or internals
of rustc and related tools.

- [Remove LLVM pointee types, supporting only opaque pointers.]
  (https://github.com/rust-lang/rust/pull/105545/)
- [Port PGO/LTO/BOLT optimized build pipeline to Rust.]
  (https://github.com/rust-lang/rust/pull/112235/)
- [Replace in-tree `rustc_apfloat` with the new version of the crate.]
  (https://github.com/rust-lang/rust/pull/113843/)
- [Update to LLVM 17.]
  (https://github.com/rust-lang/rust/pull/114048/)
- [Add `internal_features` lint for internal unstable features.]
  (https://github.com/rust-lang/rust/pull/108955/)
- [Mention style for new syntax in tracking issue template.]
  (https://github.com/rust-lang/rust/pull/113586/)
2023-11-16 09:49:12 +00:00
nia
4bcf328782 gcc6: can't work on NetBSD/aarch64 2023-11-16 09:24:04 +00:00
adam
c1252e2288 nodejs: updated to 21.2.0
Version 21.2.0 (Current)

Notable Changes

- doc: add MrJithil to collaborators (Jithil P Ponnan)
- doc: add Ethan-Arrowood as a collaborator (Ethan Arrowood)
- (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners)
- fs: add stacktrace to fs/promises (翠 / green)
- (SEMVER-MINOR) lib: add --no-experimental-global-navigator CLI flag (Antoine du Hamel)
- (SEMVER-MINOR) lib: add navigator.language & navigator.languages (Aras Abbasi)
- (SEMVER-MINOR) lib: add navigator.platform (Aras Abbasi)
- (SEMVER-MINOR) stream: add support for deflate-raw format to webstreams compression (Damian Krzeminski)
- stream: use Array for Readable buffer (Robert Nagy)
- stream: optimize creation (Robert Nagy)
- (SEMVER-MINOR) test_runner: adds built in lcov reporter (Phil Nash)
- (SEMVER-MINOR) test_runner: add Date to the supported mock APIs (Lucas Santos)
- (SEMVER-MINOR) test_runner, cli: add --test-timeout flag (Shubham Pandey)
2023-11-15 18:13:05 +00:00
jperkin
7269f66e9b go: Add support for GO_VERSION_REQD.
This isn't full multi support like other languages yet, but for now simply a
way for a package to indicate that it requires a specific version of go.

Useful for things like wireguard-go which currently do not build with 1.21.
2023-11-15 15:54:40 +00:00
nia
609d585206 python: Ensure find is terminated. 2023-11-15 15:24:09 +00:00
wiz
34455967c8 py-python-language-server: remove
Dead upstream, does not support Python 3.11+, active fork packaged
as lang/py-lsp-server
2023-11-15 00:08:29 +00:00
wiz
389f47b775 *: recursive bump for cairo dependency changes 2023-11-14 14:01:17 +00:00
wiz
996169b34d cairo-gobject: remove
Point users at cairo>=1.18.
2023-11-14 13:58:33 +00:00
jym
fd37664fde PHP 7.4 reached EOL November 28 2022.
Reference the PHP "supported versions" URL [1] rather than pointing towards
specific revisions that are, or will be, EOL eventually.

[1] https://www.php.net/supported-versions.php
2023-11-14 02:00:58 +00:00
taca
54a224aa9f lang/php: switch default PHP's version to 8.1
Switch default PHP's version to 8.1 after discussion on tech-pkg@.
2023-11-13 16:33:10 +00:00
wiz
55a3644820 py-lsp-server: update to 1.9.0.
## Version 1.9.0 (2023/11/06)

### Issues Closed

* rope_autoimport doesn't initialize after `workspace/didChangeConfiguration` message
* Add code action for implementing auto-import
* Maybe use initializationOptions as additional source of settings

### Pull Requests Merged

* Revert "Rename `_utils` module to `utils`"
* Rename `_utils` module to `utils`
* Raise supported Pylint upper version
* Improve/simplify README Development section
* Add code completions to `rope_autoimport` plugin
* Pass argument `extendIgnore` to flake8
* Ignore notebook names on cell completion for autoimport
* Minor bug fix in Rope autoimport plugin
* Make workspace/didChangeConfig work with notebook documents
* Load `rope_autoimport` cache on `workspace/didChangeConfiguration`
* Support `initializationOptions` to configure the server
* Fix missing signatures for docstrings in Markdown
2023-11-13 11:15:06 +00:00
wiz
acc6405ee2 *: revebump for new brotli option for freetype2
Addresses PR 57693
2023-11-12 13:20:31 +00:00
schmonz
1ab6ef176a execline: update to 2.9.4.0. Changes:
- Adaptation to skalibs-2.14.0.0.
- New dummy -e option in execlineb.
- Slightly better error reporting in execlineb.
2023-11-11 11:52:41 +00:00
adam
343b67f953 oracle-jdk17: updated to 17.0.9
17.0.9
https://www.oracle.com/java/technologies/javase/17-0-9-relnotes.html#R17_0_9
2023-11-10 18:30:26 +00:00
nia
af3f247d3b Revert previous 2023-11-10 16:55:31 +00:00
bsiegert
3989a08567 Revbump all Go packages after go121 update 2023-11-10 15:45:04 +00:00
bsiegert
4bbf6aab1c Update go120 to 1.20.11 and go121 to 1.21.4 (security).
These minor releases include 2 security fixes following the security policy:

- path/filepath: recognize \??\ as a Root Local Device path prefix.

  On Windows, a path beginning with \??\ is a Root Local Device path equivalent
  to a path beginning with \\?\. Paths with a \??\ prefix may be used to access
  arbitrary locations on the system. For example, the path \??\c:\x is
  equivalent to the more common path c:\x.

  The filepath package did not recognize paths with a \??\ prefix as special.

  Clean could convert a rooted path such as \a\..\??\b into
  the root local device path \??\b. It will now convert this
  path into .\??\b.

  IsAbs did not report paths beginning with \??\ as absolute.
  It now does so.

  VolumeName now reports the \??\ prefix as a volume name.

  Join(`\`, `??`, `b`) could convert a seemingly innocent
  sequence of path elements into the root local device path
  \??\b. It will now convert this to \.\??\b.

  This is CVE-2023-45283 and https://go.dev/issue/63713.

- path/filepath: recognize device names with trailing spaces and superscripts

  The IsLocal function did not correctly detect reserved names in some cases:

  reserved names followed by spaces, such as "COM1 ".
  "COM" or "LPT" followed by a superscript 1, 2, or 3.
  IsLocal now correctly reports these names as non-local.

  This is CVE-2023-45284 and https://go.dev/issue/63713.
2023-11-10 15:39:34 +00:00
nia
ee593830c1 python39: Honour user's choice of readline implementation. 2023-11-10 12:14:04 +00:00
nia
4ae58f0227 python: Honour user's choice of readline implementation. 2023-11-10 12:13:22 +00:00
nia
d5c403ed5a python39, python310: Fixes for Mac OS X 10.4 via MacPorts. 2023-11-10 09:48:39 +00:00
wiz
9ffc0c19f4 py-cmake-language-server: make PKGNAME match directory name 2023-11-09 14:19:49 +00:00
wiz
3dbeee8487 *: recursive bump for icu 74.1 2023-11-08 13:18:02 +00:00
wiz
0c4646c355 *: latest py-sphinx only support Python 3.9+ 2023-11-07 22:37:56 +00:00
gdt
d73686e26e lang/guile18: Note SunOS build failure
Add comments explaining where building on SunOS fails.  This is very
likely an upstream problem rather than a pkgsrc problem, and guile18
is old, so this is very unlikely to be fixed.  Add commented-out
BROKEN_ON pending something like IGNORE_BROKEN_NO.
2023-11-07 18:51:56 +00:00
nia
e53fcb1898 Centralize per-package hacks for lack of -rpath on Darwin/powerpc. 2023-11-07 13:19:47 +00:00
nia
36aff40b9a Default to python 3.10 if compiler lacks c11 support. 2023-11-07 11:36:57 +00:00