head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.10 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.8 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.6 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.2 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.1.0.2; locks; strict; comment @# @; 1.3 date 2009.12.17.14.47.35; author he; state dead; branches; next 1.2; 1.2 date 2009.12.09.09.23.51; author he; state Exp; branches; next 1.1; 1.1 date 2009.10.21.14.23.13; author he; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2009.10.21.14.23.13; author tron; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2009.10.22.14.51.26; author tron; state Exp; branches; next ; desc @@ 1.3 log @Update parrot from version 1.7.0 to 1.8.0. Update OK'ed by agc@@ Pkgsrc changes: o Replace perl and parrot interpreter references where we can (one perl module not available at pre-configure time not done) o Remove patches which are no longer necessary, since they either came from upstream or have been adopted there o Update the PLIST to sync with what's being installed Upstream changes: - Functionality + The FileHandle PMC now exposes the exit code of child process that was run as pipe. + Experimental support for overriding VTABLE invoke in PIR objects was added. + The method 'type' was added to the PackfileAnnotations PMC. + The internals of the parrot calling conventions, PCC, were reworked. All call paths now use a CallSignature object for passing arguments and return values. + The new API-function 'Parrot_ext_call' was added for calling into C-land. + The fixed-size allocator was improved. + The files installed by 'make install-dev' are now covered by 'make install' as well. + The experimental ops 'fetch' and 'vivify' were added. + The -I option to the command 'parrot' now prepends items to the search path. + The Context struct was substituted with auto attributes (context_auto_attrs branch). + Use the osname determined in auto::arch in subsequent configuration steps (convert_OSNAME branch). + Eliminated dependence on Perl 5 '%Config' in auto::format (auto_format_no_Config branch). + MultiSub PMCs now stringify to the name of their first candidate, instead of the number of candidates. + The platform detection at the start of the configuration process was improved. + The 'lineof' method on CodeString objects now precomputes line number information to be more efficient on variable-width encoded strings. + P6object now supports .WHO and .WHERE methods on protoobjects. - Compilers + A shiny new self-hosting implementation of NQP has been added in ext/nqp-rx. - New NQP available as nqp-rx.pbc or parrot-nqp fakecutable. - NQP includes direct support for grammars and regexes, including protoregexes. - NQP has a new PAST-based regex engine (intended to replace PGE). - Regexes may contain code assertions, parameters, lexical declarations, and more. - Double-quoted strings now interpolate scalar variables and closures. - Subroutine declarations are now lexical by default. + PCT - PAST::Block now supports an 'nsentry' attribute. - PAST::Var allows 'contextual' scope. - Attribute bindings now return the bound value. - Platforms + Fixes for the port of Parrot to RTEMS were applied. Yay, first port to a real time OS! + On NetBSD, shared libs are now used. - Performance + Use the the fixed-sized allocator in the Context and the CallSignature PMC. + Many small speed improvements. - New deprecations + MT19937, the Mersenne twisted pseudorandom number generator, is now hosted on github and will be removed from the Parrot core. (eligible in 2.1) + The 'Parrot_call_*' functions for invoking a sub/method object from C are deprecated. They are replaced by 'Parrot_ext_call'. (eligible in 2.1) + All bitwise VTABLE functions are deprecated. (eligible in 2.1) + All bitwise ops will become dynops. (eligible in 2.1) - Realized deprecations + The slice VTABLE entry was removed. + The last traces of the 'malloc' garbage collector were removed. + Parrot_pcc_constants() was renamed to Parrot_pcc_get_constants(). + The deprecated functions from the Embedding/Extension interface were removed. + The library YAML/Parser/Syck.pir was removed. + The VTABLE function instantiate_str() was removed. + Building of parrot_nqp was removed. - Tests + The test coverage of the time-related ops was much improved. + New testing functions in Test::More: lives_ok() and dies_ok(). + The Perl 5 based test scripts t/op/bitwist.t, t/op/comp.t, t/op/inf_nan.t, t/op/literal.t, t/op/number.t, t/op/sprintf2.t, and t/op/00ff-dos.t were converted to PIR. + The test scripts t/op/annotate.t and t/op/time.t have begun to be translated from Perl 5 to PIR. + In some tests the dependency on %Config from Perl 5 was eliminated. - Documentation + The meaning of 'p' means in NCI function call signatures was clarified. - Tools + The stub for a new language, as created by mk_language_shell.pl, now relies on the PIR-based tools, which are replacing the Perl 5-based tools. + The library Configure.pir was added. + The library distutils.pir was added. - Miscellaneous + The mailing list parrot-users and a corresponding google group was created, http://groups.google.com/group/parrot-users. + Many bugfixes, code cleanups, and coding standard fixes. @ text @$NetBSD: patch-ai,v 1.2 2009/12/09 09:23:51 he Exp $ Mirror a change committed just after the release: the open_pipe_for_writing test should work everywhere. --- t/op/io.t.orig 2009-10-20 23:30:03.000000000 +0200 +++ t/op/io.t @@@@ -51,22 +51,6 @@@@ Tests various io opcodes. ok(1, 'open with null mode') .end -.sub 'tt661_todo_test' :anon - # Checks whether the platform is linux, MSWin32, darwin: on other - # platforms, the following tests are todo'ed. - .include 'sysinfo.pasm' - $S0 = sysinfo .SYSINFO_PARROT_OS - if $S0 == 'linux' goto tt661_ok -# if $S0 == 'MSWin32' goto tt661_ok - if $S0 == 'darwin' goto tt661_ok - if $S0 == 'openbsd' goto tt661_ok - - .return (0) - - tt661_ok: - .return (1) -.end - .include 'iglobals.pasm' .sub 'open_pipe_for_reading' @@@@ -103,8 +87,6 @@@@ Tests various io opcodes. .end .sub 'open_pipe_for_writing' - $I0 = tt661_todo_test() - unless $I0 goto open_pipe_for_writing_todoed .local pmc interp interp = getinterp @@@@ -137,10 +119,6 @@@@ Tests various io opcodes. open_pipe_for_writing_failed: nok(1, 'open pipe for writing') .return () - - open_pipe_for_writing_todoed: - todo(1, 'Unimplemented in this platform, TT #661') - .end # Local Variables: @ 1.2 log @Update to version 1.7.0. Pkgsrc changes: o Adapt the patch to t/op/io.t to a change done upstream slightly after 1.7.0 was released. o Add a patch which fixes a problem exposed by one of the tests, related to library cloning, which caused dlclose() to be called twice with the same handle value, ref. Parrot ticket 1340. Upstream changes: New in 1.7.0 - Functionality + Parrot_capture_lex has been added to the PARROT_EXPORT API + PARROT_MAX_ARGS has been increased from 8 to 16 to allow for ops that take mo re than 8 args - Performance + The profiling runcore now caches metadata for improved performance - Maintenance and cleanup + Expanded the Parrot debugger documentation + Parrot debugger now uses the new Parrot STRING API + Continue to port rest of internals to use the STRING API - Deprecations + The JIT subsystem has been removed and is being written from the ground up. More information can be found at https://trac.parrot.org/parrot/wiki/JITRewrite + Implicit optional named parameters (eligible in 2.1) + Continuation-based ExceptionHandlers (eligible in 2.1) + Use of undocumented variables in class_init (eligible in 2.1) + Parrot_oo_get_namespace (eligible in 2.1) - Bugfix + Improved line number tracking in IMCC - Tests + Converted many more Perl 5 tests to PIR + Expanded test coverage of the CallSignature, Namespace, FixedPMCArray, ResizeableIntegerArray and ExceptionHandler PMCs @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update parrot from version 1.6.0 to 1.6.0nb1. Pkgsrc changes: o Enable shared libraries for NetBSD, and deal with the resulting fallout: tests which are written in C need to point their run-path to the build version of the shared libraries. o The default is shared libs with .so, except for on Darwin, where shared libs are named differently. The Darwin part is untested. @ text @d3 2 a4 2 I beleive this test works for all relevant pkgsrc platforms. It has been similarly transformed upstream after 1.7.0 was released. d6 1 a6 1 --- t/op/io.t.orig 2008-12-18 06:19:20.000000000 +0100 d8 1 a8 1 @@@@ -51,28 +51,9 @@@@ Tests various io opcodes. d18 1 a18 1 - if $S0 == 'MSWin32' goto tt661_ok d31 1 a31 13 - $I0 = tt661_todo_test() - unless $I0 goto open_pipe_for_reading_todoed - .local pmc interp interp = getinterp @@@@ -103,15 +84,9 @@@@ Tests various io opcodes. open_pipe_for_reading_failed: nok(1, 'open pipe for reading') .return () - - open_pipe_for_reading_todoed: - todo(1, 'Unimplemented in this platform, TT #661') a36 1 - d40 1 a40 1 @@@@ -144,9 +119,6 @@@@ Tests various io opcodes. d47 1 @ 1.1.2.1 log @file patch-ai was added on branch pkgsrc-2009Q3 on 2009-10-22 14:51:26 +0000 @ text @d1 62 @ 1.1.2.2 log @Pullup ticket #2916 - requested by he parrot: build fix Revisions pulled up: - lang/parrot/Makefile 1.23 - lang/parrot/PLIST.Darwin 1.1 - lang/parrot/PLIST.shared 1.1 - lang/parrot/distinfo 1.17-1.18 - lang/parrot/patches/patch-af 1.3 - lang/parrot/patches/patch-ag 1.3 - lang/parrot/patches/patch-ai 1.1 - lang/parrot/patches/patch-aj 1.1 --- Module Name: pkgsrc Committed By: he Date: Wed Oct 21 14:23:14 UTC 2009 Modified Files: pkgsrc/lang/parrot: Makefile distinfo Added Files: pkgsrc/lang/parrot/patches: patch-af patch-ag patch-ai patch-aj Log Message: Update parrot from version 1.6.0 to 1.6.0nb1. Pkgsrc changes: o Enable shared libraries for NetBSD, and deal with the resulting fallout: tests which are written in C need to point their run-path to the build version of the shared libraries. o The default is shared libs with .so, except for on Darwin, where shared libs are named differently. The Darwin part is untested. --- Module Name: pkgsrc Committed By: he Date: Thu Oct 22 11:31:44 UTC 2009 Modified Files: pkgsrc/lang/parrot: distinfo Log Message: I'm terribly sorry, patch-ai had the incorrect checksum. This update fixes it. --- Module Name: pkgsrc Committed By: he Date: Thu Oct 22 12:59:58 UTC 2009 Added Files: pkgsrc/lang/parrot: PLIST.Darwin PLIST.shared Log Message: Sorry once again, these two files should have been committed as part of the 1.6.0nb1 update. @ text @a0 62 $NetBSD: patch-ai,v 1.1 2009/10/21 14:23:13 he Exp $ I beleive this test works for all relevant pkgsrc platforms. It has been similarly transformed upstream after 1.7.0 was released. --- t/op/io.t.orig 2008-12-18 06:19:20.000000000 +0100 +++ t/op/io.t @@@@ -51,28 +51,9 @@@@ Tests various io opcodes. ok(1, 'open with null mode') .end -.sub 'tt661_todo_test' :anon - # Checks whether the platform is linux, MSWin32, darwin: on other - # platforms, the following tests are todo'ed. - .include 'sysinfo.pasm' - $S0 = sysinfo .SYSINFO_PARROT_OS - if $S0 == 'linux' goto tt661_ok - if $S0 == 'MSWin32' goto tt661_ok - if $S0 == 'darwin' goto tt661_ok - if $S0 == 'openbsd' goto tt661_ok - - .return (0) - - tt661_ok: - .return (1) -.end - .include 'iglobals.pasm' .sub 'open_pipe_for_reading' - $I0 = tt661_todo_test() - unless $I0 goto open_pipe_for_reading_todoed - .local pmc interp interp = getinterp @@@@ -103,15 +84,9 @@@@ Tests various io opcodes. open_pipe_for_reading_failed: nok(1, 'open pipe for reading') .return () - - open_pipe_for_reading_todoed: - todo(1, 'Unimplemented in this platform, TT #661') .end .sub 'open_pipe_for_writing' - $I0 = tt661_todo_test() - unless $I0 goto open_pipe_for_writing_todoed - .local pmc interp interp = getinterp @@@@ -144,9 +119,6 @@@@ Tests various io opcodes. open_pipe_for_writing_failed: nok(1, 'open pipe for writing') .return () - - open_pipe_for_writing_todoed: - todo(1, 'Unimplemented in this platform, TT #661') .end # Local Variables: @