Starting with PHP 8.0, zts is enabled with --enable-zts, rather than
the older --enable-maintainer-zts. Addresses PR pkg/56681.
The actual pkgsrc option name should probably be adjusted, and the
current "maintainer-zts" moved to PKG_LEGACY_OPTIONS. I've left it for
another commit.
v1.4
Additions:
add guidance around the use of Py_FindMethod
Fixes:
Avoid compiler warning about unused function
Fix DESTDIR support in the Makefile
Various documentation warning fixes
which means 11.x and 12.x according to mk/platform/Darwin.mk. On 10.x
(i386 Snow Leopard Server, at least), no problem with the system gcc.
Adjust the scope of the workaround to match.
2022-01-24
11334: fix: don't panic in semantics due to `cfg_attr` disrupting
offsets
Reduces the panic in
https://github.com/rust-analyzer/rust-analyzer/issues/11298 to an
early return, that means we won't resolve these cases again for
now, but this is better than constantly panicking in highlighting
and hovering.
2022-01-17
11287: fix: rust-analyzer spamming overly error message when
workspace not being loaded
Fixes#10120
New in 2021.12:
+ Deprecations:
+ Additions:
+ Add is-wrapped method to Routine (#4579) [99bc766e]
+ Introducing RAKUDO_PRECOMPILATION_PROGRESS [d88d1cc0]
+ Add In Memoriam stub for David H. Adler [dba8dbb0]
+ Add a IterationBuffer.new(iterable) candidate (#4599) [ad145b4c]
+ Add IterationBuffer.unshift/prepend methods (#4641) [259d29b3]
+ Add knowledge about MacOS Monterey [1fc8cce3]
+ Add the ability to display any default values in sub MAIN to the default
USAGE message [0b286ed2]
+ Changes:
+ Remove tai-offset-nanos from CORE::.keys [a8c579b6]
+ Make .subst-mutate faster by simplifying proto [d619e026]
+ Make .match faster by simplifying proto [2204c7cb]
+ Make .subst upto 1.9x as fast [0dae67a6]
+ Remove redundant multi method list(QuantHash:U:) [8fd65670]
+ Replace some empty TWEAKs by "is built"s [82a9ca4f]
+ Better cope with megamorphic callsites after new-disp [85df0ba1]
[3229ef12][2df1d01a][091005f3][9ad99eb9][441e103f][0d84699c][5de7faf4]
[e4b0ddf9][1fbeb4c6][f9aa1d65]
+ Support Terminal::LineEditor in the Raku REPL [5db6a344][138aca10]
[694f648b][7b188795][15a13ffc]
+ Change SetHash.values() from `is rw` to `is raw` [65987460]
+ Very simple ACCEPTS for Int:D vs Int:D (#4625) [57387455]
+ Get either parametric or concrete roles in MRO when requested [641a86d5]
[832a8476][bf2a07fb][856f1af0]
+ Create checksums for release files [8cb674ac]
+ Clean up list of people to ask for rakudo.org access [a31db709]
+ Micro-optiize IterationBuffer.append(IterationBuffer:D) [92c490ee]
+ Remove support for use experimental :collation (#4616) [eb837dee]
+ New disp nativecall (#4629) [f67fb4ab][30a7e94e][889754d5][d46a826f]
[ad5cc86f][f20d448e][452781f3][624f3a7a][02539e96][3e3b5ca8][01470de8]
[a6633242][d5b98cf7]
+ Update Release Guide to have actual information (#4639) [b3b4ca21]
+ Make Date.new(year,month,day) about 40% faster [74c8c861]
+ Make Telemetry::snap(:head) return the filename [ad1fddbb]
+ Make the max number of threads depend on number of cores (#4652)
[afc56429]
+ Make Inline::Perl5 installation suggestion complete [4e23452c]
+ Speedup Instant.Num by manual inlining [4985f8a6][8642808e]
+ Add "ceiling" as a suggestion for "ceil" [57adbb1e]
+ Reduce number of nqp::cpucores calls (#4659) [c7e456d3]
+ Fixes:
+ Make enums and Bool throw on .new [42738187]
+ Use distribution specific comp unit ids in CURFS [7ab396a0]
+ Fix X::Assignment::RO message when assignment to Nil is attempted
[1ea47322][15ed1566]
+ Make sure return value of Str.match is threadsafe [1d0a903a]
+ Fix gisting Buf or Blob parameterized with an unsized type [62c04646]
+ Use better default for nativesize in Buf/Blob gist [e99e2742]
+ Clarify let and temp operators [1fec0ef2]
+ Make StrDistance.ACCEPTS also a multi [3ef09a72]
+ Make sure IO::Path.slurp returns failures [ce0d31fb]
+ Make sure ParallelSequence is included in shas [e98e17da]
+ Fix handling of constrained Mu parameters in signature smartmatching
[4329a995][c6e24eba][034768de][e6a68a94][088e0c4e]
+ Prevent rebinding for readonly parameters [PR #4536] [ea42b3df][5e1f25d9]
[32e307b6][90307035][aeaf6f5e]
+ Fix segfaults when multiple threads initialize dynamics [db136bc5]
+ Make concurrent access to an enum by value safe (#4634) [4c238bdc]
+ Fix CATCH blocks setting $! leading to serialization errors with BEGIN
time exceptions [b994c6bb]
+ Fix stupid copy-pasto, fixes#4660 [57801d59]
+ Minimal change for fix on MacOS Monterey [f029ac83]
+ Don't suggest method of the same name as "not found" [27082897][58c3d950]
[d4914edd][af0153df][545f8d0e]
+ [JVM] Don't let signal(SIGINT) break the REPL [1ef7019b]
+ [JVM] Skip or todo failing tests for JVM [d301860e]
+ Restore larger limit for using string_to_int on 64bit systems [7772b737]
+ Fix segfaults due to concurrent hash access in parallel module loading
[835d0f12]
+ Fix removing proxies in native calls [f0713c42][a6fad879]
+ Internal:
+ Lift $!do reading out of `for` loop body [560ff8c6]
+ Fix unnecessary boxing by routines with native return types [6bd955e6]
+ Prepare extops for a MoarVM internals change [3127861c]
+ Reduce visibility of Str internal classes [380c7758]
+ Only simplify protos on the MoarVM backend [c50bc998]
+ Add a missing MVMROOT in extops [ab02205e]
+ Remove an unnecessary decont on a hot path [24333b11]
New in 2021.10:
+ SPECIAL NOTES:
+ Introduce a new dispatch mechanism, including more general
and efficient handling of various language constructs.
For more info see [The new MoarVM dispatch mechanism is here!](https://6guts.wordpress.com/2021/09/29/the-new-moarvm-dispatch-mechanism-is-here/)
[d557f72b][3e086599][1f359956][959eaeab][dc456a1a][a114255c]
...
(similar lines omitted)
...
[ff92bac5][aa728ef7][40bf3f3e][8d1f24f9][ca3355a8][d6d90f41]
[02c13fad][8fc643ec][b34ae24a]
+ Deprecations:
+ The `$*PERL` variable usage will warn starting from `6.e` language release,
using `$*RAKU` is preferred now [11fd2d70][3dc4aca2]
+ Additions:
+ Add Cool.Version coercer [dab7404c]
+ Changes:
+ De-unicodify `Raku` and `Rakudo` in the welcome message [ba15173f]
+ Fixes:
+ Fix a bug where using a signature constraint with a named callable parameter did not work
[e9a0b18c][9c2cc9c2][ffb587f2][51968148][d47185eb]
+ Make sure name suggestions shown in the `X::Method::NotFound` exception are properly sorted
[0152e3c3][569f90ea]
+ Fix a bug in module loading preventing the `Inline::Python` module to be loaded twice
from different locations [88862a9f]
+ Ensure symbols installed into `GLOBAL` during loading of a compunit are not lost [0cb2cb50][bb607b6b]
+ Fix loading wrong version of a module among ones with the same name happening in some cases [33296d40]
+ Fix overwriting of the `.repo-id` file in some cases [fbb5228e][bc2cac13]
+ Fix `require` of a package with globally existing class names [d4f7d174]
+ Fix displaying a warning when using `is` routine from the `Test` module
when comparing objects where calling `.Str` is impossible [69aaa424]
+ Prevent heredocs from improperly using block variables when continuing after the block [a78c9f0d]
+ Fix a bug where calling `substr` method on a `Str` object without arguments led to infinite loop [93f0d86f]
+ Internal:
+ Log event of exhausting system threads when `RAKUDO_SCHEDULER_DEBUG` env var is enabled [ffaf453d]
+ Pass `lib` in `RAKULIB` instead of `-I` in the `harness6` script [e09df02c]
+ Rewrite `INDIRECT_NAME_LOOKUP` [431c3d6b]
+ Use `$*RAKU` instead of `$*PERL` in more places [ff6951f5]
+ Add `:override` parameter to `Rakudo::Internals.REGISTER-DYNAMIC` [4b8b566a]
+ Consistently use a number for value in name suggestions hash [c99ffc51]
Version 2.90.2 (January 6, 2022)
- Fixed precision error for print using under windows
- Better error-reporting for an edge case of short-if
- Allow '==' to check for equality and '!=' for inequality ('=' and '<>'
still work)
2022.01.10
11238: fix: shrink the span of errors from attribute macros and
derives r=jonas-schievink a=jonas-schievink
Some procedural macros tend to get very large invocations, for
example RTIC's, leading to issues like
https://github.com/rtic-rs/cortex-m-rtic/issues/582, where almost
the entire screen is underlined while editing incomplete code in
the macro.
This PR shrinks the spans of errors from attribute macros and
derives to point only at the attribute, which also matches rustc
more closely.
2021.12.27
11122: Remove note about alpha status from vscode extension
description
2021.12.20
11060: minor: Bump deps
2021.12.13
10995: internal: switch from trait-based TokenSource to simple
struct of arrays
cc #10765
The idea here is to try to simplify the interface as best as we
can. The original trait-based approach is a bit over-engineered
and hard to debug. Here, we replace callback with just data. The
next PR in series will replace the output `TreeSink` trait with
data as well.
The biggest drawback here is that we now require to materialize
all parser's input up-front. This is a bad fit for macro by example:
when you parse `$e:expr`, you might consume only part of the input.
However, today's trait-based solution doesn't really help -- we
were already materializing the whole thing! So, let's keep it
simple!