On Fri Feb 20 00:36:36 2009, alli...@perl.org wrote:
>
> - There's still a problem with the installed test libraries. I'll look
> into it and provide an additional patch.
Ah, it wasn't a problem with the test libraries, just with Rakudo's
t/harness (using a hardcoded path to the parrot executabl
On Wed Oct 15 17:48:28 2008, Whiteknight wrote:
>
> With the pdd27mmd branch merged in now, what's the status of this request?
The MMD table is now just a namespace, and namespaces are shareable
between interpreters. So, resolved.
Allison
On Tue Sep 23 22:34:38 2008, cotto wrote:
>
> I propose to reject this ticket. Reducing code duplication is a good
> idea, but it's not at all clear to me what this ticket is referring to.
> If someone cares to point out what code should be merged, great.
> Otherwise this ticket is too vague to
On Mon Sep 22 06:37:24 2008, Whiteknight wrote:
>
> Sept 08 milestone came and went. Any updates on this ticket? Maybe this
> ticket should be closed out (since it's vague) and replaced with another
> ticket or tickets for individual places where exit_fatal should be
> replaced with real_except
On Wed Oct 15 12:42:23 2008, coke wrote:
> Here's yet another updated version (this time for the exception handler)
> of the test that doesn't segfault, but still generates incorrect output
> (generates both an OK line and a NOK line)
It looks like the exception handler is resuming after the excep
Agreed that this particular ticket is not useful. Resolve it and replace
it with a [CAGE] ticket with explicit instructions on converting all
existing 'sprintf', 'strcat', etc calls with calls to 'snprintf',
'strlcat', etc. (Also include a list of all calls that should be converted.)
This can wait
As mentioned in RT #49168, I'm in favor of a --language flag, that selects the
default
PBC/PIR file to run, and passes all other arguments to the ':main' sub in that
file. It can also
select default paths based on the options set the the configuration file for
that language.
Then, using the $
Thanks, applied in r30349.
> Committed a fix to tcl in branch (r29940) to pull from the correct
> slot. All tests now pass. I'd like to see this segfault/assert/boom
> addressed before we merge back, just in case.
Resolved in r29941, by throwing an exception when requesting an
attribute that doesn't exist, or an attribute a
Merged pdd25cx branch into trunk in r29952. Deleted branch in r29953.
In r29934 of the branch, I can't even get tcl to build, it keeps
complaining about calls to tcl_error_s which it says doesn't exist.
Since you mentioned you were eliminating the versions of tcl_error
identical to 'die', I went through and replaced the calls to tcl_error
with calls to die. It builds
chromatic and I have fixed the majority of the language issues (see
child tickets for specific comments). I will merge the branch back into
trunk first thing tomorrow morning (Saturday, August 2nd).
On Tue Jul 22 06:10:41 2008, fperrad wrote:
>
> In fact 'docall' uses a pushaction.
I modified 'docall' so it no longer uses pushaction, and all Lua tests
are now passing.
On Fri Jul 11 09:41:21 2008, julianalbo wrote:
>
> There is a problem with the autogenerated name: in several cases there
> are other things with that name. For example, for the float.pmc we
> have the Parrot_Float type defined in include/parrot/config.h
>
> Given that the name will be mainly use
A bit more detail on the conversion process for a PMC:
1) Find the core data of the PMC, and convert it into a series of ATTR
statement at the beginning of the "pmclass" block. So, if the PMC uses
only 'PMC_int_val', create a single entry: 'ATTR INTVAL integer_data;'
(Pick a meaningful name, and a
Resolved in r28017.
There will always be a few situations where it's not possible to throw a
real exception (because there's no interpreter argument, or it's an
error within the exception subsystem, etc.). So, we need to keep one
simple fatal error sub around. I replaced 'internal_exception' with
'exit_fatal' in the p
Yes, PDD 19 can talk about 'subroutines' rather than 'compilation
units'. (I just did a quick skim of the file, and a simple search and
replace changing 'compilation unit' to 'subroutine' will work fine.)
In imcc.y, change 'compilation_unit' and 'compilation_units' to
something more general like '
Resolved in r26278. It was an alignment problem in the parrot_string_t
struct, triggered by 'Parrot_unmake_COW', when it does a 'memcpy' of the
string's original buffer to the copy's buffer. Fixed by moving the
UINTVAL 'bufused' after the char* 'strstart'.
The problem was in the conversion of pobj_t to the new flattened
structure for PDD17. I've reverted that part of r25266 for now (in
r26254). The problem is probably an incomplete conversion, with some
parts of the code still expecting the multi-level structure. I'll work
on a more complete conversi
Alright, I set up a windows box with MSVC and ActivePerl and did a
binary search. The commit that caused the breakage is r25266, when we
updated the PMC struct. Tomorrow I'll experiment with reverting parts of
that commit.
I can't duplicate the bug on any other platform, and can't pinpoint the
bug with the info I've got. I have access to a windows box for the next
few weeks. What compiler you were using?
On Sun Jan 27 09:19:32 2008, [EMAIL PROTECTED] wrote:
>
> Allison: I have 3 different patches from you in this thread in the last
> day. Which one or which combination do you most want tried out?
Test the most recent one, darwin_full_dynamic_symbol_lookup.patch.
> (moi: ppc-darwin 10.4.11)
The attached patch removes '-flat_namespace' and consistently uses
'-undefined dynamic_lookup'. It also restricts the changes to just the
darwin config hints file, which seems like a more appropriate place. It
resolves all the test failures related to undefined symbols on OS X.
(t/src/intlist.t is
The attached patch allows 'make' to complete on my OS X box, and passes
'make test'. It gets a segfault when running 'make perl6', at the point
where it runs 'pbc_to_exe perl6.pbc'. The segfault appears to be a
standard GC-style error attempting to access reclaimed memory, and not
related to symbol
Update:
Nat Torkington wrote a test case for the features we're using (compiling
a dynamic library, and compiling an executable that uses that library),
which I've attached. The test case works, and is fundamentally the same
as what Parrot is doing. I've been stepping through the differences
betwe
It also works as a shared binary if I append the following to the
compile line (pretty much exactly the contents of $O_FILES in the Makefile):
c++ -o pbc_to_exe pbc_to_exe.o -L/usr/local/lib -L/opt/local/lib
-L/sw/lib -L/sw/lib -L/opt/local/lib -L/sw/lib
-L/Users/allison/projects/svn/parrot/blib/
On Tue Jan 22 15:38:11 2008, [EMAIL PROTECTED] wrote:
>
> Are you building a static or a shared binary? Did this problem only
> show up after Coke switched the default to shared?
Shared. I don't know the exact timing of the change in relation to the
failure starting. But, changing config/init/hi
>From http://osdir.com/ml/lib.libtom/2005-01/msg00010.html:
"By default common symbols are not included in static
archive table of contents. If you use the ranlib(1) -c
option you can get Linux behavior."
And from 'man ranlib' on 10.4.11:
-c Include common symbols as definitions with respe
Cleaned up copyright, after talking to Gregor (who is sending in a
signed contributor agreement). Resolved in r24885.
On Mon Oct 22 09:34:51 2007, ptc wrote:
> In src/pmc/default.pmc:get_attr_str() there is the todo item:
>
> /* let's look for props first
> * XXX do we need that in the default object system?
>
> We require an answer to this question, and quite possibly further
> development depending upon the
General idea approved, pending review of implementation changes.
All PDD tickets and all found design tickets moved to Launchpad. Please
submit design requests to https://blueprints.launchpad.net/parrot/.
chromatic, go ahead and apply this in the pdd17pmc branch. Was already
updated in docs/dev/pccmethod.pod. I'm noting the change in DEPRECATED.pod.
Supplied through 'inspect' and 'inspect_str' vtable functions.
> Long term, Configure system should be replaced with a bootstrapping
> miniparrot system.
At some point after the 1.0 release, we'll decide how to eliminate the
Perl 5 dependency from the build system. That may be with miniparrot, it
may not. Either way, it's too far in the future to keep an acti
> We need to provide a way to access and change a class' inheritance
> hierarchy. Also, classes need a way to override the hierarchy at
> class construction time.
Resolved by the new object implementation. Runtime access to the
inheritance hierarchy is provided through the 'parents' method and
'in
Now correctly adds debian_packaging_guide.pod to the MANIFEST. New
directory structure good. Resolving.
Allison
Task description:
Add an opcode 'copy' to src/ops/set.ops. Similar to 'clone'.
- It takes two PMC arguments
- It calls VTABLE_morph on $1, and then VTABLE_assign on the two.
- It needs to call VTABLE_type to get the type of the source PMC to pass
to 'morph' instead of calling $1->vtable->base_t
Resolved in r23461.
Implemented with the new object model. There are now two ways to set a
vtable override at runtime: calling the 'add_method' method with the
named parameter "vtable => 1", or calling the vtable function
'add_vtable_override'.
On Mon Oct 01 21:21:42 2007, kjs wrote:
> Is it still necessary to prefix these
> directives with "pcc_" (as it is the only calling conventions)? Other
> directives such as .yield and .return also use the PCC, but do
> not have this prefix. This difference seems arbitrary and inconsistent
> (synta
Underlying code issue resolved in r22405. The MMD methods were directly
poking into the union value of "Integer", which doesn't work when the
multi-method is being called as the closest match for a subclass of Integer.
The problem is specifically with vtable overrides in classes that are
cloned into a thread (which is a cloned interpreter object). The sub
object for the vtable override loses its 'seg' member, as demonstrated
in the gdb output below. The particular vtable override in tests 13 and
14 of t/pmc/threa
Resolved in r22217.
Resolved in r22089 with a patch from Juan Natera (Pabellon) at the PPW
Hackathon.
Thanks! Applied to the pdd15oo branch in r22075, to be rolled into trunk
along with the rest of the branch.
A good place to start is by adding POD to the tutorial files already in
the directory. I added POD to many, but not to all. In r22071, I added a
one sentence descriptions "this illustrates X" to the files that had no
POD, which could be expanded into full descriptions.
The hash opcode and vtable function are deprecated in PDD 17. (Neither
are used or useful.)
We will deprecate all types for .local other than string, num, int, and pmc.
Allison
On Tue Apr 03 10:37:13 2007, particle wrote:
> lib/Parrot/Pmc2c/PCCMETHOD.pm contains a number of constants, defined
> for use in the package. these constants should be generated during the
> configure process and included, following the DRY principle (don't
> repeat yourself.)
In r20917, I commit
PMCNULL is a singleton, so PMCNULL always equals PMCNULL.
Undef allows morphing and "interesting values" of Undef (with attached
properties and possibly roles) so it can't be just a singleton. But,
Undef can report itself as equal to other Undefs. Let's make it so.
It's likely that undefined elem
Resolved in r19096.
On Mon Feb 20 16:23:46 2006, jhoblitt at hawaii.edu wrote:
> On Tue, Feb 21, 2006 at 01:03:59AM +0100, Leopold Toetsch wrote:
> >
> > On Feb 20, 2006, at 23:44, Joshua Hoblitt via RT wrote:
> >
> > >What happened to the factorial PASM example? It seems to have
> > >disappeared and it hasn't re-
And reverted in r18541. The patch is fragile. Broken on Windows, and
fixing it for Windows breaks it for OSX and Linux.
Allison
Thanks, applied in r18535 with some modifications. Particularly, changed
the name of the flag from PARROT_ARG_OBJECT to PARROT_ARG_INVOCANT,
moved the code for handling object overrides of 'invoke' from
delegate.pmc to parrotobject.pmc, and kept the regression test for RT
#41732 (still relevant, it
On Sun Feb 18 17:13:40 2007, coke wrote:
> > If I'm understanding correctly:
> >
> > - MANIFEST indicates which files are to be in the distribution.
> >
> > - svn:ignore indicates which files in a build tree are to be
> > ignored as part of "svn status" and other svn commands.
> >
> > - MANIFEST.
Reverted in r18519. This feature is still being reviewed. (Previous
patches implementing portions of this behavior may also be reverted.)
Mike is writing a proposal for the mailing list to discuss.
Allison
> The current implementation of ResizableBooleanArray appears to use 64
> bytes for each element. It would be nice to reduce that significantly.
Either ResizableBooleanArray has been significantly refactored since
this ticket was submitted last year (it has been), or the ticket was
never true in t
Fixed in r18215.
On Mon Jul 10 17:25:13 2006, chip wrote:
> Parrot's default namespace implementation should be 100% untyped --
> basically just a hash with some additional methods.
>
> Making this happen requires solving the problem of Parrot's currently
> requiring classes and class method namespaces to have the
Thanks, applied in r17680.
Made a few more text edits in r17591. Paul Cochrane's changes approved,
ticket resolved.
Jerry Gay (via RT) wrote:
> ...an Exporter PMC that defines an api for
> exporting.
Proposed interface:
$P0 = new Exporter
$P0.import($P1, ['KeyTo'; 'ImportedNamespace'], $P2)
where $P1 is the current namespace, and $P2 is an array of sub names to
import. It'd be even better if we could have the
Namespaces have an export feature. A bit clunky, but a definite
improvement over the .IMPORT macro. I've replaced all instances of
.IMPORT with the "export_to" method, except
languages/PIR/examples/test.pir, because it seems to just be a generic
syntax example.
On Tue Mar 13 16:10:04 2007, [EMAIL PROTECTED] wrote:
> [library/Test::More] add isnt() to test inequality - ints only
> refactor the is() :multi for integers into a _cmp_ok() function, and
> then use that to provide is() and isnt()
I spent some time poking at refactoring this patch and #41806 (s
Thanks, applied in r17469.
Fixed in r17210.
On Sat Jan 27 11:39:15 2007, [EMAIL PROTECTED] wrote:
> This patch allows object vtable method overrides for find_method,
get_attr,
> get_attr, get_attr_str, set_attr, set_attr_str, and get_class. Now these
> can be overridden in PIR using the :vtable flag or prefixing their
> respective names wit
On Thu Jan 11 09:58:32 2007, [EMAIL PROTECTED] wrote:
> I've held off on applying it because Allison said we need a
> deprecation cycle
> for the name() -> get_name() rename.
I've made a note in DEPRECATED.pod that the method is being renamed
(r17030). Go ahead and apply this patch immediately aft
James Keenan wrote:
> Okay. So (a) are people experiencing this on other OSes? (b) how do
> we fix it?
This was a feature request submitted as a failing test. I've changed the
test to reflect current behavior in r17026, and submitted the feature
request as a separate ticket #41528.
Allison
On Tue Jan 16 12:05:17 2007, [EMAIL PROTECTED] wrote:
> Attached patch adds new syntax documentation to docs/imcc/syntax.pod and
> fixes some typos there. It now also indicates where various flags are
> explained.
Applied in r16678.
> Is the shorthand syntax for function calls ("($P0, a :slurpy)
The :vtable feature has been implemented. Any remaining bugs in the
implementation should be submitted as separate tickets.
> PMC Class name IDs ... will require a dot in front
My preference is to eliminate the dot in classname IDs. Lodge your
objections now, before it's made fact in 0.4.9.
Allison
On Sat Jan 29 06:17:10 2005, leo wrote:
> Matt Diephouse <[EMAIL PROTECTED]> wrote:
> > I already use that workaround in some of my code, but that sorta
> > defeats the purpose of testing the filehandle itself. The filehandle
> > should become false after it returns the last line of the file - not
75 matches
Mail list logo