[perl #54948] new() failures Rev: 27859

2008-05-28 Thread via RT
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #54948] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54948 Using a rock paper sicissors script posted here a while bac, this *once*

Re: assignable mutators (S06/Lvalue subroutines)

2008-05-28 Thread TSa
HaloO, Dave Whipp wrote: The sequence I was thing of is: my $obj = Length.new; $obj.mm = 42; say $obj.inch; # your Length.inch method yields $obj.mm = 63; say $obj.inch; # Length.inch to resumes, overwriting $obj.mm back to 42 It seems to me that the assignment within your inch method will

Re: [perl #54946] [PATCH] more operators in grammar, implemented !==, !eq

2008-05-28 Thread Moritz Lenz
Olivier MenguXX (via RT) wrote: # New Ticket Created by Olivier Mengué # Please include the string: [perl #54946] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54946 Added operators in grammar : -

[perl #54946] [PATCH] more operators in grammar, implemented !==, !eq

2008-05-28 Thread Olivier Mengué
# New Ticket Created by Olivier Mengué # Please include the string: [perl #54946] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54946 Added operators in grammar : - non-inclusive range: ..^ ^.. ^..^ - binding test:

Re: [perl #54868] [PATCH] [OpenGL] Autogen sigs/funcs; Win32/MSVC support; make clean; docs

2008-05-28 Thread Geoffrey Broadwell
On Mon, 2008-05-26 at 21:41 -0700, Will Coleda via RT wrote: On Mon, May 26, 2008 at 10:08 PM, Geoffrey Broadwell [EMAIL PROTECTED] wrote: On Mon, 2008-05-26 at 18:25 -0700, Geoffrey Broadwell wrote: Please give this version a try. tetragon++ has reported success on Mac OS X. Now we

[perl #54942] [PATCH] Update PDD19 For #48549

2008-05-28 Thread via RT
# New Ticket Created by Andrew Whitworth # Please include the string: [perl #54942] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54942 The unbracketed .namespace declaration is deprecated as per #48549. Included is

[perl #53602] remove or convert tools/docs/search-ops.py

2008-05-28 Thread James Keenan via RT
On Tue May 27 20:23:21 2008, [EMAIL PROTECTED] wrote: Why are there four separate test files? It makes more sense to me to combine them into a single test file; I'm not sure why there's such a proliferation of multiple test files for files being tested. Since the usage of the program is

Re: [perl #43173] [TODO] Need config support for a null command (config/inter/progs.pm)

2008-05-28 Thread NotFound
On Sat, May 10, 2008 at 7:06 AM, Patrick R. Michaud via RT [EMAIL PROTECTED] wrote: As far as I can tell, this comment is no longer in config/inter/progs.pm and there's no marker for this ticket. So I'm guessing it has been resolved somehow and the ticket can be closed -- anyone want to

[perl #43173] [TODO] Need config support for a null command (config/inter/progs.pm)

2008-05-28 Thread Patrick R. Michaud via RT
Ah, good. Then I think we can close this ticket, which I am now doing. Thanks! Pm

Re: I need Windows OpenGL headers for study/testing

2008-05-28 Thread Geoffrey Broadwell
On Tue, 2008-05-27 at 21:16 +0200, Ron Blaschke wrote: [Answers to all my questions] Forgot to mention, I sent in a new patch a few hours ago incorporating all of the OpenGL Win32/MSVC portability fixes to RT 54868: http://rt.perl.org/rt3/Ticket/Display.html?id=54868 Can you give that

Re: parameters: ref vs rw

2008-05-28 Thread TSa
HaloO, Larry Wall wrote: Mostly that means that rw will cause autovivification and ref won't. As noted in the 'assignable mutators (S06/Lvalue subroutines)' thread I assume that scalar containers as such cannot be autovivified, right? But not yet existing entries in an array or hash can be

Re: [perl #53602] remove or convert tools/docs/search-ops.py

2008-05-28 Thread chromatic
On Wednesday 28 May 2008 04:37:43 James Keenan via RT wrote: On Tue May 27 20:23:21 2008, [EMAIL PROTECTED] wrote: Why are there four separate test files? It makes more sense to me to combine them into a single test file; I'm not sure why there's such a proliferation of multiple test

Re: I need Windows OpenGL headers for study/testing

2008-05-28 Thread Ron Blaschke
Geoffrey Broadwell wrote: On Tue, 2008-05-27 at 21:16 +0200, Ron Blaschke wrote: [Answers to all my questions] Forgot to mention, I sent in a new patch a few hours ago incorporating all of the OpenGL Win32/MSVC portability fixes to RT 54868:

Comments on parrotblog

2008-05-28 Thread Will Coleda
Would it be helpful to have comments that are posted on articles on parrotblog sent to this mailing list? Or are folks who wish for such things able to accomplish this through their readers? -- Will Coke Coleda

Re: I need Windows OpenGL headers for study/testing

2008-05-28 Thread Geoffrey Broadwell
On Wed, 2008-05-28 at 20:39 +0200, Ron Blaschke wrote: I've applied the patch against a clean r27888 and got: Generating runtime/parrot/includedone. Generating OpenGL bindings... step gen::opengl died during execution: 'GLOBAL_LOGGER_NAME' is defined as

[perl #46669] [TODO] [C] Throw an AttributeError if a PMC is NULL in get_attr_str()

2008-05-28 Thread Patrick R. Michaud via RT
On Mon Oct 22 09:37:22 2007, pcoch wrote: In src/pmc/default.pmc:get_attr_str() there is the todo item: if (PMC_IS_NULL(p)) { /* TODO AttributeError */ } This should be as simple as adding a real_exception() here. I vote to reject this TODO item. Returning a

[perl #54992] [CAGE] Add a 'codetest' make target

2008-05-28 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #54992] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54992 For developers working in languages that want to play nice with the repository, it

Re: [perl #46669] [TODO] [C] Throw an AttributeError if a PMC is NULL in get_attr_str()

2008-05-28 Thread chromatic
On Wednesday 28 May 2008 11:58:02 Patrick R. Michaud via RT wrote: On Mon Oct 22 09:37:22 2007, pcoch wrote: In src/pmc/default.pmc:get_attr_str() there is the todo item: if (PMC_IS_NULL(p)) { /* TODO AttributeError */ } This should be as simple as

Re: I need Windows OpenGL headers for study/testing

2008-05-28 Thread Ron Blaschke
Geoffrey Broadwell wrote: On Wed, 2008-05-28 at 20:39 +0200, Ron Blaschke wrote: [snip] In other words, let's assume the *parent* of the /gl/ directory will be in the include path list, and force to only glob the /gl/ child of that parent. The original version would also glob all the files in

Re: I need Windows OpenGL headers for study/testing

2008-05-28 Thread Geoffrey Broadwell
On Wed, 2008-05-28 at 21:30 +0200, Ron Blaschke wrote: Geoffrey Broadwell wrote: I guess you are right. I have changed it as you suggested. Now Configure says: Generating OpenGL bindings...In OpenGL header 'C:/Program Files/Microsoft SDKs/Windows/v6.1/Include/gl/GLU.h', prototype

[perl #55000] Threads Failures on Optimized Build

2008-05-28 Thread via RT
# New Ticket Created by chromatic # Please include the string: [perl #55000] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55000 I'm seeing several test failures from an optimized build (Ubuntu Hardy Heron x86

Re: [perl #52886] [BUG] including gmp.h causes build break in C++ build

2008-05-28 Thread NotFound
On Mon, Apr 14, 2008 at 3:18 PM, via RT Senaka Fernando [EMAIL PROTECTED] wrote: Including gmp.h causes build break in C++ build on Ubuntu Gutsy. The problem is some down stream header adding libintl.h, which gives trouble. Thus, it Works for me in Ubuntu after the recent C++ related changes.

Re: I need Windows OpenGL headers for study/testing

2008-05-28 Thread Ron Blaschke
Geoffrey Broadwell wrote: On Wed, 2008-05-28 at 21:30 +0200, Ron Blaschke wrote: Geoffrey Broadwell wrote: I guess you are right. I have changed it as you suggested. Now Configure says: Generating OpenGL bindings...In OpenGL header 'C:/Program Files/Microsoft

Re: [perl #54988] AutoReply: [PATCH] enhance t/harness (again)

2008-05-28 Thread Moritz Lenz
perl6 via RT wrote: Attached patch enhances t/harness, this time it offers the possibility to call fudge on a per-file base (as requested on IRC by particle and pmichaud, iirc). The patch adds a --configfudge option, which (in conjunction with --tests-from-file ) only fudges those tests

Re: [perl #54988] AutoReply: [PATCH] enhance t/harness (again)

2008-05-28 Thread jerry gay
On Wed, May 28, 2008 at 3:14 PM, Moritz Lenz [EMAIL PROTECTED] wrote: perl6 via RT wrote: Attached patch enhances t/harness, this time it offers the possibility to call fudge on a per-file base (as requested on IRC by particle and pmichaud, iirc). The patch adds a --configfudge option, which

Re: Mixing named and positional values

2008-05-28 Thread Allison Randal
(After talking about it on the phone today.) From the Parrot side, we have basically 3 binary factors: named (or not), positional (or not), and optional/required. The unmarked case is a required parameter that can be passed as a positional argument and can't be passed as a named argument.

[perl #53602] remove or convert tools/docs/search-ops.py

2008-05-28 Thread James Keenan via RT
On Wed May 28 10:25:09 2008, [EMAIL PROTECTED] wrote: Okay, that's fixable. If you *really* need to optimize this regex, use qr//, as it generally works better than /o. [snip] Can you combine the test files then? Yes. That worked. Thanks for the suggestion. Please see revised

Re: [perl #53602] remove or convert tools/docs/search-ops.py

2008-05-28 Thread chromatic
On Wednesday 28 May 2008 18:15:32 James Keenan via RT wrote: Yes. That worked. Thanks for the suggestion. Please see revised patch attached. All tests pass for me, so +1 here. I say commit away. I do have one more question though: +{ +    my $tdir = tempdir(); +    foreach my $g (keys

[perl #54992] [CAGE] Add a 'codetest' make target

2008-05-28 Thread James Keenan via RT
I will work on this. Attached is *part* of the solution. kid51 run_code_tests Description: Binary data

Re: Mixing named and positional values

2008-05-28 Thread Bob Rogers
From: Allison Randal [EMAIL PROTECTED] Date: Thu, 29 May 2008 02:22:37 +0200 . . . Any of these alternatives can be marked as optional. Positional parameters must come before all lookahead or named parameters. Lookahead parameters must come before all named parameters.

[perl #54992] [CAGE] Add a 'codetest' make target

2008-05-28 Thread James Keenan via RT
On Wed May 28 18:57:31 2008, [EMAIL PROTECTED] wrote: I will work on this. Attached is *part* of the solution. And here is a more complete solution. (In the course of its development, I ran it and it identified 3 coding standards problems which I then fixed. So it must be doing something

[perl #54992] [CAGE] Add a 'codetest' make target

2008-05-28 Thread James Keenan via RT
And here is a more complete solution. This lists the tests included in this target. $ make codetest /usr/local/bin/perl t/run_code_tests t/distro/file_metadata...# Collecting svn:mime-type attributes... t/distro/file_metadata...1/5 # Collecting svn:keywords attributes...

Re: I need Windows OpenGL headers for study/testing

2008-05-28 Thread Geoffrey Broadwell
On Wed, 2008-05-28 at 22:54 +0200, Ron Blaschke wrote: Geoffrey Broadwell wrote: OK, I know what's causing this (no typemap entry for 'wchar_t*', as the error indicates). Not sure about best NCI type type to match this to -- it really wants to be a native Parrot string with encoding UCS2,

Re: Mixing named and positional values

2008-05-28 Thread Patrick R. Michaud
On Wed, May 28, 2008 at 10:05:32PM -0400, Bob Rogers wrote: From: Allison Randal [EMAIL PROTECTED] Any of these alternatives can be marked as optional. Positional parameters must come before all lookahead or named parameters. Lookahead parameters must come before all named