Re: [perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-17 Thread Bernhard Schmalhofer
Will Coleda schrieb: On Wed, Jul 16, 2008 at 10:54 PM, James Keenan via RT <[EMAIL PROTECTED]> wrote: This module is written in Perl 5 and is called in a program written in Perl 5. In the work I've done in this project, I've taken the approach to return values which I think is more Perlish,

Re: [perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread chromatic
On Wednesday 16 July 2008 19:54:57 James Keenan via RT wrote: > This module is written in Perl 5 and is called in a program written in > Perl 5. In the work I've done in this project, I've taken the approach > to return values which I think is more Perlish, namely, if a subroutine > completes and

Re: [perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread Will Coleda
On Wed, Jul 16, 2008 at 10:54 PM, James Keenan via RT <[EMAIL PROTECTED]> wrote: > This module is written in Perl 5 and is called in a program written in > Perl 5. In the work I've done in this project, I've taken the approach > to return values which I think is more Perlish, namely, if a subrouti

[perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread James Keenan via RT
This module is written in Perl 5 and is called in a program written in Perl 5. In the work I've done in this project, I've taken the approach to return values which I think is more Perlish, namely, if a subroutine completes and does what you wanted it to, it should return a true value. A bare ret

[perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread James Keenan via RT
On Wed Jul 16 19:25:46 2008, coke wrote: > > Attached is a patch which passes all tests by removing the tests for > the explicit true value of these methods. > Coke: I don't think we should accept this patch, for the simple reason that I think the changes made to lib/Parrot/Op

Re: [perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread Will Coleda
plicit return value that was originally present. (e.g. in >> sort_ops in Parrot/Ops2pm/Utils.pm). > > IIRC, in the spring of 2007 my fellow Cage Cleaner went down this > precise road, possibly with this very module. I.e., he added bare > returns to subs that had quite well-define

[perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread James Keenan via RT
On Wed Jul 16 18:53:05 2008, [EMAIL PROTECTED] wrote: > > So if you really think lib/Parrot/Ops2c/Utils.pm could be better > designed while achieving the same functionality, have a go at it! But in the short run I would recommend simply reverting to the last prior version of the m

[perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread James Keenan via RT
d, possibly with this very module. I.e., he added bare returns to subs that had quite well-defined final statements. And he got the same kind of test failures as we have here. But when I refactored tools/build/ops2c.pl into lib/Parrot/Ops2c/Utils.pm earlier that year, it was for the purpose of refactor

Re: [perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread Will Coleda
768 Tests: 38 Failed: 3) > Failed tests: 16-17, 36 > Non-zero exit status: 3 > t/tools/ops2pmutils/10-print_module(Wstat: 1024 Tests: 42 Failed: 4) > Failed tests: 16-17, 34-35 > Non-zero exit status: 4 > t/tools/ops2pmutils/11-print_h (Wstat: 512 Tests: 23

[perl #57026] [BUG]: Changes to Parrot::Ops2c::Utils in remove_getfd branch cause failures in buildtools_tests

2008-07-16 Thread via RT
Failed tests: 16-17, 34-35 Non-zero exit status: 4 t/tools/ops2pmutils/11-print_h (Wstat: 512 Tests: 23 Failed: 2) Failed tests: 16-17 Non-zero exit status: 2 Files=38, Tests=1009, 24 wallclock secs ( 0.16 usr 0.05 sys + 12.72 cusr 0.77 csys = 13.70 CPU) Result: FAIL Fail

[perl #52506] [CAGE] Refactor ops2c

2008-06-22 Thread Mark Glines via RT
On Sat Jun 21 07:33:57 2008, [EMAIL PROTECTED] wrote: > Mark: Do you have any objection to closing this RT? No objection here, my needs regarding g++ builds have been satisfied. Thanks! Mark

[perl #52506] [CAGE] Refactor ops2c

2008-06-21 Thread James Keenan via RT
Resolved per discussion with Infinoid.

[perl #52506] [CAGE] Refactor ops2c

2008-06-21 Thread James Keenan via RT
Mark: Do you have any objection to closing this RT? Thanks. kid51

[perl #52506] [PATCH] Refactor ops2c

2008-04-09 Thread James Keenan via RT
On Sun Apr 06 13:13:20 2008, infinoid wrote: > > * Honestly, I'm not really sure print_c_source_top and > print_c_source_bottom need to be public methods any more. In fact, they > could be merged into print_c_source_file entirely. True, but ... > But separating the > filehandling from the pri

[perl #52506] [PATCH] Refactor ops2c

2008-04-06 Thread James Keenan via RT
As per discussion on #parrot, the remaining TODO questions posed no obstacle to merging the branch back into trunk. So I did so in r26830.

Re: [perl #52506] [PATCH] Refactor ops2c

2008-04-06 Thread ajr
On Windows, make, make perl6, and make test all function in ops2c branch with no more than the customary grumbling. -- Email and shopping with the feelgood factor! 55% of income to good causes. http://www.ippimail.com

[perl #52506] [PATCH] Refactor ops2c

2008-04-06 Thread Mark Glines via RT
On Sun Apr 06 07:39:09 2008, [EMAIL PROTECTED] wrote: > Following discussion on #parrot with Infinoid, I created the 'ops2c' > branch in our SVN repository to handle refactoring of this area of the > build system. You can follow developments there with: > > svn co ht

Re: [perl #52506] [PATCH] Refactor ops2c

2008-04-06 Thread chromatic
ub > declaration, and another declaration at the end of the file with an > initializer block. > > It seems appropriate to change the order of things output by ops2c, to > avoid the redundant declaration. So I did so. Patch attached. +1 here -- c

[perl #52506] [PATCH] Refactor ops2c

2008-04-06 Thread James Keenan via RT
Following discussion on #parrot with Infinoid, I created the 'ops2c' branch in our SVN repository to handle refactoring of this area of the build system. You can follow developments there with: svn co https://svn.perl.org/parrot/branches/ops2c In that branch, I have applied Infino

[perl #52506] [PATCH] Refactor ops2c

2008-04-06 Thread James Keenan via RT
Following discussion on #parrot with Infinoid, I created the 'ops2c' branch in our SVN repository to handle refactoring of this area of the build system. You can follow developments there with: svn co https://svn.perl.org/parrot/branches/ops2c In that branch, I have applied Infino

[perl #52506] [PATCH] Refactor ops2c

2008-04-06 Thread Mark Glines via RT
Additional testing note. If you try out this patch, you will need to remove src/ops/*.c before doing a "make". Otherwise ops2c won't be re-run, and you won't actually be testing the patch. Extra points for anyone who tests it on something other than gcc. :) Mark

[perl #52506] [PATCH] Refactor ops2c

2008-04-06 Thread via RT
reports an error about "static op_lib_t core_op_lib" being declared twice, and rightly so, because it is. There's an initial stub declaration, and another declaration at the end of the file with an initializer block. It seems appropriate to change the order of things output by ops2c,

ops2c

2004-03-25 Thread Michael Scott
I'm trying to write some documentation for the ops2c system at the moment and have a question. In Parrot::OpsFile::read_ops() a Parrot::Op's type is set to 'inline' or 'function', yet in Parrot::Op type is expected to be 'auto' or 'manual'. Au

[CVS ci] use ops2c for cgoto, no op_info for prederef

2003-02-06 Thread Leopold Toetsch
This patch removes a lot of code duplication: - core_ops_cg.c is built by ops2c.pl now, making ops2cgc.pl obsolete - core_ops_prederef.c doesn't have an op_info_table anymore, it was just a duplication of core_ops.c - this saves ~300K in sources and makes the interpreter smaller by ~10% - all core