commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2024-05-23 15:35:37 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.24587 (New) Package is "nqp" Thu May 23 15:35:37 2024 rev:44 rq:1175998 version:2024.04 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2024-04-04 22:26:13.195225452 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new.24587/nqp.changes 2024-05-23 15:36:11.697650645 +0200 @@ -1,0 +2,31 @@ +Thu May 23 05:03:18 UTC 2024 - Martin Schreiner + +- Update to version 2024.04: + * Add "code_of_method" and "declares_method" methods + * Add hint back in + * Add minimized fastutil jar + * Allow --moar-option='--no-optimize' to actually work + * Enable the creation of 'is item' and 'is exact-type' param traits + * Eradicate .publish_method_cache from MoarVM backend + * Further dd tweaks + * Initial stab at a "dd" for NQP + * Make sure we catch errors in stringification + * Manually sort two elements of an array instead of using +.subList().sort() + * More efficient way to get a long as a string + * More tweaking fetching MRO + * Oops, we can type the object key + * P6str's StorageSpec can be a singleton + * Pre-allocate arrays and use bind_pos instead of push + * Rename NQPClassHOW's $!mro to $!MRO + * Simplify JVM backend's set_size_internal + * Simplify runNFA() a little + * Slight tweak in fetching MRO + * [JVM] Fix capturenamedshash to actually include objects +- Apply spec-cleaner. +- Set "Source" to GitHub's URL, so the source tarball may be + downloaded through the appropriate OBS service. +- Use "%{version}" to declare the related MoarVM dependency, rather + than hardcoding MoarVM's version. + +--- Old: nqp-2024.02.tar.gz New: nqp-2024.04.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.0rLrv6/_old 2024-05-23 15:36:12.469678660 +0200 +++ /var/tmp/diff_new_pack.0rLrv6/_new 2024-05-23 15:36:12.473678806 +0200 @@ -17,22 +17,20 @@ Name: nqp -Version:2024.02 -Release:1.1 +Version:2024.04 +Release:0 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other -URL:https://github.com/Raku/nqp -Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2024.02 -Requires: moarvm >= 2024.02 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%ifarch s390x -BuildRequires: libffi-devel -%endif +Source: https://github.com/Raku/nqp/releases/download/%{version}/nqp-%{version}.tar.gz +BuildRequires: moarvm-devel >= %{version} BuildRequires: perl BuildRequires: perl(Digest::SHA) BuildRequires: perl(IPC::Cmd) +Requires: moarvm >= %{version} +%ifarch s390x +BuildRequires: libffi-devel +%endif %description This is "Not Quite Perl" -- a lightweight Raku-like environment for virtual @@ -49,17 +47,16 @@ %setup -q %build -perl Configure.pl --backends=moar --prefix=%{_usr} --with-moar=/usr/bin/moar -make +perl Configure.pl --backends=moar --prefix=%{_usr} --with-moar=%{_bindir}/moar +%make_build %check -make test +%make_build test %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install %files -%defattr(-,root,root) %doc CREDITS %license LICENSE %{_bindir}/* ++ nqp-2024.02.tar.gz -> nqp-2024.04.tar.gz ++ /work/SRC/openSUSE:Factory/nqp/nqp-2024.02.tar.gz /work/SRC/openSUSE:Factory/.nqp.new.24587/nqp-2024.04.tar.gz differ: char 13, line 1
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2024-04-04 22:25:14 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.1905 (New) Package is "nqp" Thu Apr 4 22:25:14 2024 rev:43 rq:1164396 version:2024.02 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2022-10-03 13:45:10.917404858 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new.1905/nqp.changes2024-04-04 22:26:13.195225452 +0200 @@ -1,0 +2,34 @@ +Wed Mar 27 16:20:59 CET 2024 - n...@detonation.org + +- update to version 2024.02 + * Add optional positional parameter to archetypes method + * Make unsigned comparison ops available + * Add nqp::chown() op + * Add `comment` token to the grammar + * Set `.node` for statements + * Make compilation errors more informative + * Add support for RakuAST::Origin::Match + * Provide access to QAST::Block's cuid counter for RakuAST + * Provide current compiler via $*HLL-COMPILER + * Fix back-references when there are aliases + * Remove unused apply_transcoding compiler function + * Remove unused transcode compiler option + * Add nqp::syscall, nqp::register, nqp::delegate ops + * Introduce nqp::track and nqp::guard + * Use nqp::const::HLL_xxx constants instead of magic numbers + * Add all SIG_ELEM constants as nqp::const::xx constants + * Only add unique types to the typecache + * Add support for TWEAK method + * Fix issue with multi_methods in NQPParametricRoleHOW + * Implement locking on NQP(Class|ConcreteRole)HOW + * Make the positional on "method_table" optional + * Make the positional on "(is_)array_type" optional + * Make the positional on "role_typecheck_list" optional + * Make the positional on "mro" optional + * Make the positional on "BUILD(ALL)PLAN" optional + * Create nqp::const::EDGE_xxx connstants + * Remove dead base64 decoding logic + * Add nqp::const::MVM_reg_xxx constants + * (is_)array_type don't need any positional argument + +--- Old: nqp-2022.07.tar.gz New: nqp-2024.02.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.N2OjyE/_old 2024-04-04 22:26:13.971254023 +0200 +++ /var/tmp/diff_new_pack.N2OjyE/_new 2024-04-04 22:26:13.971254023 +0200 @@ -1,7 +1,7 @@ # # spec file for package nqp # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ Name: nqp -Version:2022.07 +Version:2024.02 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other URL:https://github.com/Raku/nqp Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2022.07 -Requires: moarvm >= 2022.07 +BuildRequires: moarvm-devel >= 2024.02 +Requires: moarvm >= 2024.02 BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch s390x BuildRequires: libffi-devel ++ nqp-2022.07.tar.gz -> nqp-2024.02.tar.gz ++ 18054 lines of diff (skipped)
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2022-10-03 13:44:53 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.2275 (New) Package is "nqp" Mon Oct 3 13:44:53 2022 rev:42 rq:1007426 version:2022.07 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2022-04-03 21:31:28.779497514 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new.2275/nqp.changes2022-10-03 13:45:10.917404858 +0200 @@ -1,0 +2,8 @@ +Sat Oct 1 12:32:30 CEST 2022 - n...@detonation.org + +- update to version 2022.07 + * Presize $!mbc and write at offsets instead of pushing + * Write each frame directly to the MAST bytecode file... + * Speed up "sorted_keys" sub + +--- Old: nqp-2022.03.tar.gz New: nqp-2022.07.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.i3717u/_old 2022-10-03 13:45:11.549406248 +0200 +++ /var/tmp/diff_new_pack.i3717u/_new 2022-10-03 13:45:11.553406257 +0200 @@ -17,15 +17,15 @@ Name: nqp -Version:2022.03 +Version:2022.07 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other URL:https://github.com/Raku/nqp Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2022.03 -Requires: moarvm >= 2022.03 +BuildRequires: moarvm-devel >= 2022.07 +Requires: moarvm >= 2022.07 BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch s390x BuildRequires: libffi-devel ++ nqp-2022.03.tar.gz -> nqp-2022.07.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2022.03/README.pod new/nqp-2022.07/README.pod --- old/nqp-2022.03/README.pod 2022-03-20 19:06:20.0 +0100 +++ new/nqp-2022.07/README.pod 2022-07-31 20:16:01.0 +0200 @@ -102,10 +102,10 @@ change without notice. It's a tool for writing Raku compilers, not a low-level module for Raku programmers. -The Lhttps://github.com/perl6/nqp/tree/master/examples> is a good place to start, with the -Lhttps://github.com/perl6/nqp/blob/master/examples/loops.nqp> and other files. Opcodes are listed in -Lhttps://github.com/perl6/nqp/blob/master/docs/ops.markdown>. NQP also has built-in routines -listed in Lhttps://github.com/perl6/nqp/blob/master/docs/built-ins.md>. You can use NQP from this +The Lhttps://github.com/raku/nqp/tree/master/examples> is a good place to start, with the +Lhttps://github.com/raku/nqp/blob/master/examples/loops.nqp> and other files. Opcodes are listed in +Lhttps://github.com/raku/nqp/blob/master/docs/ops.markdown>. NQP also has built-in routines +listed in Lhttps://github.com/raku/nqp/blob/master/docs/built-ins.md>. You can use NQP from this release, it will be already installed if you have built Raku from scratch. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2022.03/VERSION new/nqp-2022.07/VERSION --- old/nqp-2022.03/VERSION 2022-03-20 19:06:23.0 +0100 +++ new/nqp-2022.07/VERSION 2022-07-31 20:16:04.0 +0200 @@ -1 +1 @@ -2022.03 +2022.07 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2022.03/docs/qast.markdown new/nqp-2022.07/docs/qast.markdown --- old/nqp-2022.03/docs/qast.markdown 2022-03-20 19:06:20.0 +0100 +++ new/nqp-2022.07/docs/qast.markdown 2022-07-31 20:16:01.0 +0200 @@ -18,7 +18,7 @@ unit of code that is being compiled. This includes: * **hll** - the name of the high level language that this QAST tree was - produced from, for example, "perl6", "tcl", "bf". + produced from, for example, "raku", "tcl", "bf". * **load** - code to evaluate at the point that the compilation unit is loaded as a module (but not if it is invoked as a mainline program). @@ -32,7 +32,7 @@ QAST::CompUnit.new( # Set the HLL. -:hll('perl6'), +:hll('raku'), # This variable contains the outermost QAST::Block of the # program. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2022.03/examples/CallFromJava.java new/nqp-2022.07/examples/CallFromJava.java --- old/nqp-2022.03/examples/CallFromJava.java 2022-03-20 19:06:20.0 +0100 +++ new/nqp-2022.07/examples/CallFromJava.java 2022-07-31 20:16:01.0 +0200 @@ -1,7 +1,7 @@ // nqp$ javac -cp bin/ examples/CallFromJava.java // nqp$ java -cp nqp-runtime.jar:3rdparty/asm/asm-4.1.jar:3rdparty/asm/asm-tree-4.1.jar:.
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2022-04-03 21:31:06 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.1900 (New) Package is "nqp" Sun Apr 3 21:31:06 2022 rev:41 rq:966632 version:2022.03 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2022-02-21 19:53:44.062870302 +0100 +++ /work/SRC/openSUSE:Factory/.nqp.new.1900/nqp.changes2022-04-03 21:31:28.779497514 +0200 @@ -1,0 +2,15 @@ +Sun Apr 3 11:01:45 CEST 2022 - n...@detonation.org + +- update to version 2022.03 + * Remove some not-needed trys, or convert to nqp::can + the method call + * Provide op coerce_ns on MoarVM and JVM + * Fix all returned native integers getting treated as signed + +--- +Sun Mar 27 08:14:25 UTC 2022 - Stefan Seifert + +- Fix build on RHEL7 + RHEL doesn't include perl's core libraries in its perl package, so + we need to explicitly depend on the modules we need for building. + +--- Old: nqp-2022.02.tar.gz New: nqp-2022.03.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.eTk7FY/_old 2022-04-03 21:31:29.307491767 +0200 +++ /var/tmp/diff_new_pack.eTk7FY/_new 2022-04-03 21:31:29.311491724 +0200 @@ -17,20 +17,33 @@ Name: nqp -Version:2022.02 +Version:2022.03 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other -URL:http://rakudo.org/ +URL:https://github.com/Raku/nqp Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2022.02 -Requires: moarvm >= 2022.02 +BuildRequires: moarvm-devel >= 2022.03 +Requires: moarvm >= 2022.03 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%ifarch s390x +BuildRequires: libffi-devel +%endif +BuildRequires: perl +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(IPC::Cmd) %description -This is "Not Quite Perl" -- a compiler for a subset of Perl 6 used -to implement a full Perl 6 compiler. +This is "Not Quite Perl" -- a lightweight Raku-like environment for virtual +machines. The key feature of NQP is that it's designed to be a very small +environment (as compared with, say, raku or Rakudo) and is focused on being +a high-level way to create compilers and libraries for virtual machines like +MoarVM, the JVM, and others. + +Unlike a full-fledged implementation of Raku, NQP strives to have as small a +runtime footprint as it can, while still providing a Raku object model and +regular expression engine for the virtual machine. %prep %setup -q ++ nqp-2022.02.tar.gz -> nqp-2022.03.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2022.02/VERSION new/nqp-2022.03/VERSION --- old/nqp-2022.02/VERSION 2022-02-11 19:27:03.0 +0100 +++ new/nqp-2022.03/VERSION 2022-03-20 19:06:23.0 +0100 @@ -1 +1 @@ -2022.02 +2022.03 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2022.02/docs/ops.markdown new/nqp-2022.03/docs/ops.markdown --- old/nqp-2022.02/docs/ops.markdown 2022-02-11 19:26:59.0 +0100 +++ new/nqp-2022.03/docs/ops.markdown 2022-03-20 19:06:20.0 +0100 @@ -154,13 +154,13 @@ [coerce_in](#coerce_in-moar) | [coerce_is](#coerce_is) | -[coerce_is](#coerce_iu-moar) | +[coerce_iu](#coerce_iu-moar) | [coerce_ni](#coerce_ni-moar) | -[coerce_ns](#coerce_ns-moar) | +[coerce_ns](#coerce_ns-moar-jvm) | [coerce_si](#coerce_si) | [coerce_sn](#coerce_sn-moar) | [coerce_ui](#coerce_ui-moar) | -[coerce_us](#coerce_us-moar) | +[coerce_us](#coerce_us-moar-jvm) | [intify](#intify-moar) | [numify](#numify-moar) | [stringify](#stringify) @@ -1122,7 +1122,7 @@ Coerce from num to int. -## coerce_ns `moar` +## coerce_ns `moar` `jvm` * `coerce_ns(num --> str)` Coerce from num to str. @@ -1142,7 +1142,7 @@ Coerce from uint to int. -## coerce_us `moar` +## coerce_us `moar` `jvm` * `coerce_us(uint --> str)` Coerce from uint to str. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2022.02/src/QRegex/NFA.nqp new/nqp-2022.03/src/QRegex/NFA.nqp --- old/nqp-2022.02/src/QRegex/NFA.nqp 2022-02-11 19:26:59.0 +0100 +++ new/nqp-2022.03/src/QRegex/NFA.nqp 2022-03-20 19:06:20.0 +0100 @@ -357,7 +357,7 @@ my $subtype := $node.subtype; #note("$indent subrule $from -> $to {$node.name}") if $nfadeb; if $node.name eq
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2022-02-21 19:53:37 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.1958 (New) Package is "nqp" Mon Feb 21 19:53:37 2022 rev:40 rq:956532 version:2022.02 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2021-08-23 10:09:26.136157834 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new.1958/nqp.changes2022-02-21 19:53:44.062870302 +0100 @@ -1,0 +2,32 @@ +Mon Feb 21 15:58:49 CET 2022 - n...@detonation.org + +- update to version 2022.02 + * Introduce a new generalized dispatch mechanism. +It results in a more uniform architecture for all kinds +of dispatch, delivering better performance on a range of +langauge features. For more information see + https://6guts.wordpress.com/2021/09/29/the-new-moarvm-dispatch-mechanism-is-here/ + * Native unsigned integers are now first class citizens + * Give NQPParametricRoleHOW a role_typecheck_list method + * Set NQP HLL on all NQP types + * Avoid an implicit array stringification in NQP + * Avoid a slurp/flatten in NQP object creation + * Avoid lots of string box/unbox in hash key sort + * Use natives to reduce some allocation hotspots + * Fix miscompilation of sized integers as loop condition + * Remove the --rxtrace feature + * Access register allocator via compiler instance + * Switch most $*MAST_FRAME access away from dynamics + * Replace costly $*MAST_FRAME lookup with $frame arg in core op generators + * Don't error if no typechecking mode set + * move lookups of op generators out of repeated code + * Use `my constant` somewhat in QAST compiler + * Add mapping for ctxnt op + * Avoid duplicate lookups in NFA merging + * Fix SpecialArg unintentionally modifying class' MRO + * Don't die on non-primitive objects in $!named + * More universal fix for dumping QAST nodes with attached data + * Implement the -o form of the --output option + * Fix race when checking for global uniques (#760) + +--- Old: nqp-2021.08.tar.gz New: nqp-2022.02.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.5F3e2x/_old 2022-02-21 19:53:44.662870421 +0100 +++ /var/tmp/diff_new_pack.5F3e2x/_new 2022-02-21 19:53:44.674870423 +0100 @@ -1,7 +1,7 @@ # # spec file for package nqp # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ Name: nqp -Version:2021.08 +Version:2022.02 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other URL:http://rakudo.org/ Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2021.08 -Requires: moarvm >= 2021.08 +BuildRequires: moarvm-devel >= 2022.02 +Requires: moarvm >= 2022.02 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ nqp-2021.08.tar.gz -> nqp-2022.02.tar.gz ++ 17011 lines of diff (skipped)
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2021-08-23 10:08:17 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.1899 (New) Package is "nqp" Mon Aug 23 10:08:17 2021 rev:39 rq:913544 version:2021.08 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2021-07-25 20:09:28.119429955 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new.1899/nqp.changes2021-08-23 10:09:26.136157834 +0200 @@ -1,0 +2,6 @@ +Sun Aug 22 10:19:02 CEST 2021 - n...@detonation.org + +- update to version 2021.08 + * Fix several issues on the JVM + +--- Old: nqp-2021.07.tar.gz New: nqp-2021.08.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.23Q1PA/_old 2021-08-23 10:09:26.744157125 +0200 +++ /var/tmp/diff_new_pack.23Q1PA/_new 2021-08-23 10:09:26.748157121 +0200 @@ -17,15 +17,15 @@ Name: nqp -Version:2021.07 +Version:2021.08 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other URL:http://rakudo.org/ Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2021.07 -Requires: moarvm >= 2021.07 +BuildRequires: moarvm-devel >= 2021.08 +Requires: moarvm >= 2021.08 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ nqp-2021.07.tar.gz -> nqp-2021.08.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.07/VERSION new/nqp-2021.08/VERSION --- old/nqp-2021.07/VERSION 2021-07-24 17:07:56.0 +0200 +++ new/nqp-2021.08/VERSION 2021-08-21 15:19:53.0 +0200 @@ -1 +1 @@ -2021.07 +2021.08 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.07/docs/ops.markdown new/nqp-2021.08/docs/ops.markdown --- old/nqp-2021.07/docs/ops.markdown 2021-07-24 17:07:37.0 +0200 +++ new/nqp-2021.08/docs/ops.markdown 2021-08-21 15:13:31.0 +0200 @@ -3260,16 +3260,10 @@ time sleeping is spent.) Returns the passed in number. ## time -* `time_i(--> int)` (DEPRECATED) -* `time_n(--> num)` (DEPRECATED) * `time(--> int)` Return the time in nanoseconds since January 1, 1970 UTC (1970-01-01T00:00:00Z). -The **DEPRECATED** `_i` and `_n` variants return the number of seconds -since January 1, 1970 UTC. `_i` as an integer value, `_n` as a fractional -amount. - # Trigonometric ## acos diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.07/src/vm/jvm/QAST/Compiler.nqp new/nqp-2021.08/src/vm/jvm/QAST/Compiler.nqp --- old/nqp-2021.07/src/vm/jvm/QAST/Compiler.nqp2021-07-24 17:07:37.0 +0200 +++ new/nqp-2021.08/src/vm/jvm/QAST/Compiler.nqp2021-08-21 15:13:31.0 +0200 @@ -831,11 +831,33 @@ # Emit test. if $is_withy { +$il.append($qastcomp.coercion($cond, $RT_OBJ)); + +# Use 'findmethod' to detect and invoke method 'defined'. +$il.append($DUP); +$il.append(JAST::PushSVal.new( :value('defined') )); $il.append($ALOAD_1); $il.append(JAST::Instruction.new(:op('invokestatic'), -$TYPE_OPS, 'isconcrete', 'Long', $TYPE_SMO, $TYPE_TC)); -$il.append($IVAL_ZERO); -$il.append($LCMP); +$TYPE_OPS, 'findmethod', $TYPE_SMO, $TYPE_SMO, $TYPE_STR, $TYPE_TC)); + +my $meth_temp := $*TA.fresh_o(); +my $cond_temp := $*TA.fresh_o(); +$il.append(JAST::Instruction.new( :op('astore'), $meth_temp)); +$il.append(JAST::Instruction.new( :op('astore'), $cond_temp)); +my $cs_idx := $*CODEREFS.get_callsite_idx([$ARG_OBJ], []); +my @argTypes := ['I', $TYPE_TC, $TYPE_SMO, $TYPE_SMO]; +$il.append(JAST::PushIndex.new( :value($cs_idx) )); +$il.append($ALOAD_1); +$il.append(JAST::Instruction.new( :op('aload'), $meth_temp )); +$il.append(JAST::Instruction.new( :op('aload'), $cond_temp )); +$il.append(savesite(JAST::InvokeDynamic.new( +'indcall_noa', 'V', @argTypes, 'org/raku/nqp/runtime/IndyBootstrap', 'indcall_noa' +))); +$il.append(JAST::Instruction.new( :op('aload'), 'cf' )); +$il.append(JAST::Instruction.new( :op('invokestatic'), $TYPE_OPS, +'result_o', $TYPE_SMO, $TYPE_CF )); + +boolify_instructions($il, $RT_OBJ); } else {
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2021-07-25 20:09:18 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.1899 (New) Package is "nqp" Sun Jul 25 20:09:18 2021 rev:38 rq:908138 version:2021.07 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2021-07-10 22:55:21.191364609 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new.1899/nqp.changes2021-07-25 20:09:28.119429955 +0200 @@ -1,0 +2,8 @@ +Sat Jul 24 21:29:09 CEST 2021 - n...@detonation.org + +- update to version 2021.07 + * Implement support for moar::hllincludes config variable + * Fix reproducible build regression + * Wrap QAST::Regex from qbuildsub in QAST::Stmts + +--- Old: nqp-2021.06.tar.gz New: nqp-2021.07.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.24gg4V/_old 2021-07-25 20:09:28.671429340 +0200 +++ /var/tmp/diff_new_pack.24gg4V/_new 2021-07-25 20:09:28.675429336 +0200 @@ -17,15 +17,15 @@ Name: nqp -Version:2021.06 +Version:2021.07 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other URL:http://rakudo.org/ Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2021.06 -Requires: moarvm >= 2021.06 +BuildRequires: moarvm-devel >= 2021.07 +Requires: moarvm >= 2021.07 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ nqp-2021.06.tar.gz -> nqp-2021.07.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.06/3rdparty/nqp-configure/doc/Macros.md new/nqp-2021.07/3rdparty/nqp-configure/doc/Macros.md --- old/nqp-2021.06/3rdparty/nqp-configure/doc/Macros.md2021-06-19 19:01:21.0 +0200 +++ new/nqp-2021.07/3rdparty/nqp-configure/doc/Macros.md2021-07-24 17:08:24.0 +0200 @@ -265,6 +265,75 @@ I.e. for `@envvar(VAR)@` it will generate `$VAR` on \*nix and `%VAR%` on DOS-derivatives (Windows, OS/2). +### for(varname text) + +Iterates over space-separated list of items in a configuration variable +`varname`. For each item in the list a new context is set which defines +`@_@` and `@_item_@` variables with the item value. Both variables are just +each other alises. + +`varname` and `text` parameters are expanded. `varname` is expanded in the outer +context of `for`. `text` is expanded in the context of `for` macro itself. + +For example, if a variable `mylist` is set to "foo bar baz": + +``` +@for(mylist +# @_@ +)@ +``` + +Then the outcome of the above will be: + +``` +# foo +# bar +# baz +``` + +Also, if a variable `indirect` is set to _"mylist"_ then the following example +will expand to the same: + +``` +@for(@indirect@ +# @_@ +)@ +``` + +Due to `varname` parameter expanding in the outer context of the macro, then +if variable `var_list` is set to something like _"var1 var2 var3"_ then we can +nest two `for` macros in the following way: + +``` +@for(var_list +## @_@ +@for(@_@ +# @_@ +)@)@ +``` + +What happens here is the internal `for` will consequently iterate over all three +`varN` variables. Say, if we have them set, correspondingly, to + +- 1 2 +- a b +- I II + +then something like the following will be eventually found in the expanded +output: + +``` +## var1 +# 1 +# 2 +## var2 +# a +# b +## var3 +# I +# II +``` + ### for_backends(text) Iterates through all active backends (i.e. defined with `--backends` command @@ -420,17 +489,22 @@ Similar to `include`, but doesn't wrap the output into begin/end comments. -### insert_filelist(template) +### insert_list(template) -Inserts a list of files from a file found in `@templates_dir@` (context subdir -is respected). The file is expanded first and then treated as a list of files. -The list is considered to be whitespace-sperated (including newlines). Each file -name in the list will be normalized (i.e. passed through `nfp`) and the -result will be formatted for use in a Makefile: +Inserts a list of items from a file found in `@templates_dir@` (context subdir +is respected). The file is expanded first and then the result is split into +single items by newlines. In other words, each line is considered an item. +Empty ones are thrown away. The items are than assembled back according to the +following rules: -* one file per line, newlines escaped with `\` +* each item placed into a separate line and followed by a backslash * all lines, except the first one, indented with four spaces (unless - configuration variable
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2021-07-10 22:54:48 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.2625 (New) Package is "nqp" Sat Jul 10 22:54:48 2021 rev:37 rq:905574 version:2021.06 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2021-06-01 10:35:34.752620743 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new.2625/nqp.changes2021-07-10 22:55:21.191364609 +0200 @@ -1,0 +2,8 @@ +Sat Jul 10 15:49:27 CEST 2021 - n...@detonation.org + +- update to version 2021.06 + * Simplify loop in optimizer's incorporate_inner + * Micro-optimize the sift_down sub in sorted_keys + * Remove no longer needed JVM workaround + +--- Old: nqp-2021.05.tar.gz New: nqp-2021.06.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.oiYUlD/_old 2021-07-10 22:55:21.723360503 +0200 +++ /var/tmp/diff_new_pack.oiYUlD/_new 2021-07-10 22:55:21.723360503 +0200 @@ -17,15 +17,15 @@ Name: nqp -Version:2021.05 +Version:2021.06 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other URL:http://rakudo.org/ Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2021.05 -Requires: moarvm >= 2021.05 +BuildRequires: moarvm-devel >= 2021.06 +Requires: moarvm >= 2021.06 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ nqp-2021.05.tar.gz -> nqp-2021.06.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.05/VERSION new/nqp-2021.06/VERSION --- old/nqp-2021.05/VERSION 2021-05-22 21:29:15.0 +0200 +++ new/nqp-2021.06/VERSION 2021-06-19 19:01:04.0 +0200 @@ -1 +1 @@ -2021.05 +2021.06 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.05/src/HLL/SysConfig.nqp new/nqp-2021.06/src/HLL/SysConfig.nqp --- old/nqp-2021.05/src/HLL/SysConfig.nqp 2021-05-22 21:28:51.0 +0200 +++ new/nqp-2021.06/src/HLL/SysConfig.nqp 2021-06-19 19:00:51.0 +0200 @@ -14,13 +14,7 @@ $!path-sep := nqp::backendconfig eq 'MSWin32' ?? '\\' !! '/'; # Determine NQP home -#?if jvm -# TODO could be replaced by nqp::execname() after the next bootstrap for JVM -my $execname := nqp::atkey(nqp::jvmgetproperties,'nqp.execname') // ''; -#?endif -#?if !jvm my $execname := nqp::execname; -#?endif my $install-dir := $execname eq '' ?? %!build-config !! nqp::substr($execname, 0, nqp::rindex($execname, $!path-sep, nqp::rindex($execname, $!path-sep) - 1)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.05/src/NQP/Optimizer.nqp new/nqp-2021.06/src/NQP/Optimizer.nqp --- old/nqp-2021.05/src/NQP/Optimizer.nqp 2021-05-22 21:28:51.0 +0200 +++ new/nqp-2021.06/src/NQP/Optimizer.nqp 2021-06-19 19:00:51.0 +0200 @@ -69,8 +69,7 @@ next if nqp::existskey(%exclude, $name); my @existing := %set{$name}; if @existing { -for %to_add{$name} { nqp::push(@existing, $_) } -#nqp::splice(@existing, $_.value, 0, 0); +nqp::splice(@existing, %to_add{$name}, nqp::elems(@existing), 0); } else { %set{$name} := %to_add{$name}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.05/src/core/Hash.nqp new/nqp-2021.06/src/core/Hash.nqp --- old/nqp-2021.05/src/core/Hash.nqp 2021-05-22 21:28:51.0 +0200 +++ new/nqp-2021.06/src/core/Hash.nqp 2021-06-19 19:00:51.0 +0200 @@ -15,10 +15,12 @@ sub sift_down(@a, int $start, int $end) { my int $root := $start; +my int $child; +my int $swap; while 2*$root + 1 <= $end { -my $child := 2*$root + 1; -my $swap := $root; +$child := 2*$root + 1; +$swap := $root; if @a[$swap] gt @a[$child] { $swap := $child; @@ -38,13 +40,19 @@ } my int $count := +@keys; +if $count < 3 { +if $count == 2 && @keys[0] gt @keys[1] { +nqp::push(@keys, nqp::shift(@keys)); +} +return @keys; +} my int $start := $count / 2 - 1; +my int $end := $count - 1;
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2021-03-29 18:21:57 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.2401 (New) Package is "nqp" Mon Mar 29 18:21:57 2021 rev:35 rq:881721 version:2021.03 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2021-02-22 14:41:02.160662613 +0100 +++ /work/SRC/openSUSE:Factory/.nqp.new.2401/nqp.changes2021-03-29 18:22:00.346276259 +0200 @@ -1,0 +2,8 @@ +Sun Mar 21 21:47:04 CET 2021 - n...@detonation.org + +- update to version 2021.03 + * Support some missing Rakudo command line flags + * Comment out two lines only needed during debugging + * Eliminate the ops sec_n, asec_n and sech_h, which are no longer used. + +--- Old: nqp-2021.02.tar.gz New: nqp-2021.03.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.TJnEnb/_old 2021-03-29 18:22:00.862276788 +0200 +++ /var/tmp/diff_new_pack.TJnEnb/_new 2021-03-29 18:22:00.862276788 +0200 @@ -17,15 +17,15 @@ Name: nqp -Version:2021.02 +Version:2021.03 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other URL:http://rakudo.org/ Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2021.02 -Requires: moarvm >= 2021.02 +BuildRequires: moarvm-devel >= 2021.03 +Requires: moarvm >= 2021.03 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ nqp-2021.02.tar.gz -> nqp-2021.03.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.02/VERSION new/nqp-2021.03/VERSION --- old/nqp-2021.02/VERSION 2021-02-21 11:43:07.0 +0100 +++ new/nqp-2021.03/VERSION 2021-03-20 14:12:08.0 +0100 @@ -1 +1 @@ -2021.02 +2021.03 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nqp-2021.02/azure-pipelines.yml new/nqp-2021.03/azure-pipelines.yml --- old/nqp-2021.02/azure-pipelines.yml 2021-02-21 11:41:53.0 +0100 +++ new/nqp-2021.03/azure-pipelines.yml 2021-03-20 14:11:43.0 +0100 @@ -104,12 +104,12 @@ echo "##vso[task.setvariable variable=JAVA_HOME]$(JAVA_HOME_11_X64)" echo "##vso[task.setvariable variable=PATH]$(JAVA_HOME_11_X64)/bin:$(PATH)" displayName: "Set java version (non-Windows)" - condition: and( eq( variables['BACKEND'], 'JVM'), ne( variables['Agent.OS'], 'Windows_NT' ) ) + condition: and(succeeded(), eq( variables['BACKEND'], 'JVM'), ne( variables['Agent.OS'], 'Windows_NT' ) ) - pwsh: | echo "##vso[task.setvariable variable=JAVA_HOME]$(JAVA_HOME_11_X64)" echo "##vso[task.setvariable variable=PATH]$(JAVA_HOME_11_X64)\bin;$(PATH)" displayName: "Set java version (Windows)" - condition: and( eq( variables['BACKEND'], 'JVM'), eq( variables['Agent.OS'], 'Windows_NT' ) ) + condition: and(succeeded(), eq( variables['BACKEND'], 'JVM'), eq( variables['Agent.OS'], 'Windows_NT' ) ) - checkout: self path: selfrepo @@ -117,11 +117,11 @@ - script: perl selfrepo/tools/build/checkout-repos-for-test.pl $(RAKUDO_CHECKOUT_TYPE) $(NQP_CHECKOUT_TYPE) $(MOAR_CHECKOUT_TYPE) workingDirectory: $(Pipeline.Workspace) - condition: ne( variables['BACKEND'], 'JVM') + condition: and(succeeded(), ne( variables['BACKEND'], 'JVM')) displayName: Checkout repositories (MoarVM) - script: perl selfrepo/tools/build/checkout-repos-for-test.pl $(RAKUDO_CHECKOUT_TYPE) $(NQP_CHECKOUT_TYPE) none workingDirectory: $(Pipeline.Workspace) - condition: eq( variables['BACKEND'], 'JVM') + condition: and(succeeded(), eq( variables['BACKEND'], 'JVM')) displayName: Checkout repositories (JVM) # Build MoarVM @@ -129,7 +129,7 @@ perl Configure.pl --prefix=../install $(MOAR_OPTIONS) make install workingDirectory: '$(Pipeline.Workspace)/MoarVM' - condition: and( ne( variables['Agent.OS'], 'Windows_NT' ), ne( variables['BACKEND'], 'JVM') ) + condition: and(succeeded(), ne( variables['Agent.OS'], 'Windows_NT' ), ne( variables['BACKEND'], 'JVM')) displayName: Build MoarVM - pwsh: | ${{ variables.PWSH_DEV }} @@ -137,7 +137,7 @@ nmake install failOnStderr: false workingDirectory: '$(Pipeline.Workspace)/MoarVM' -
commit nqp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nqp for openSUSE:Factory checked in at 2021-02-22 14:40:39 Comparing /work/SRC/openSUSE:Factory/nqp (Old) and /work/SRC/openSUSE:Factory/.nqp.new.2378 (New) Package is "nqp" Mon Feb 22 14:40:39 2021 rev:34 rq:874253 version:2021.02 Changes: --- /work/SRC/openSUSE:Factory/nqp/nqp.changes 2020-05-14 23:28:10.445423519 +0200 +++ /work/SRC/openSUSE:Factory/.nqp.new.2378/nqp.changes2021-02-22 14:41:02.160662613 +0100 @@ -1,0 +2,34 @@ +Sun Feb 21 15:50:44 CET 2021 - n...@detonation.org + +- update to version 2021.02 + * Switch spawnprocasync to use a separate arg for the program name + * Stub some Archetypes methods expected by Rakudo + * Don't bind an int attribute to 0 directly after construction + * Improve error message for erroneous <.panic()> syntax + * Fix sprintf() with *-specified negative width argument + * Start up REPL if "-" given *and* STDIN is a tty + * Make HLL::Compiler.execute_stage easier to call from Raku + * Give NQPClassHOW a submethod_table method for better compatibility + * Dump a QAST::Block's name, too for easier debugging + * MoarVM: Allow for explicitly marking the mainline_frame in the bytecode + * Add a nested compiler's load_dependency_tasks to the outer compiler's + * Add frames created by a nested compiler to the outer comp unit + * Allow more interesting constants in NQP + * Simplify Cursor!cursor_pass + * Micro optimize !cursor_fail + * Simplify braid initialization in cursor_init + * Introduce / use !cursor_pass_quick + * Make sure cursor_pass_quick also reset bstack + * Tweaks to regex compiler API + * Remove reliance in a $*W object in alt NFA gen + * NQP_HOME env var should override a static NQP home + * map nqp::setthreadname op to give current thread a name + * Register a plain HLL::Compiler object under the 'HLL' name + * Support for typechecking against Raku roles + * Add a HLL::SysConfig class + * Add missing debug type name for easier debuggin + * Make mixins concurrency safe + * Fix parallel compilation occasionally losing frames + * Fix "no such attribute" errors on mixin created by concurrent code + +--- Old: nqp-2020.05.tar.gz New: nqp-2021.02.tar.gz Other differences: -- ++ nqp.spec ++ --- /var/tmp/diff_new_pack.9u6pRE/_old 2021-02-22 14:41:02.908663442 +0100 +++ /var/tmp/diff_new_pack.9u6pRE/_new 2021-02-22 14:41:02.908663442 +0100 @@ -1,7 +1,7 @@ # # spec file for package nqp # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ Name: nqp -Version:2020.05 +Version:2021.02 Release:1.1 Summary:Not Quite Perl License:Artistic-2.0 Group: Development/Languages/Other URL:http://rakudo.org/ Source: nqp-%{version}.tar.gz -BuildRequires: moarvm-devel >= 2020.05 -Requires: moarvm >= 2020.05 +BuildRequires: moarvm-devel >= 2021.02 +Requires: moarvm >= 2021.02 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ nqp-2020.05.tar.gz -> nqp-2021.02.tar.gz ++ 77581 lines of diff (skipped)