I hacked the headerizer to do double duty as a lister of everything
marked PARROT_API in the main C source files. It skips the PMCs. The
make target is "make apilist".
It's crude, but ought to make it easy to skim for things that
shouldn't be marked PARROT_API.
xoxo,
Andy
--
Andy Lest
I'm also suggesting that we prune old unused docs, starting with:
=head1 HISTORY
Initial version 2004.06.11 by Matt Fowles
Not to pick on Matt (since much of these are by Leo), but I see zero
value in this used-once boilerplate. Anyone mind if I get rid of it
as I come across it?
On Friday 01 February 2008 15:42:41 Andy Lester wrote:
> > Do we really need to export 16,000 symbols? We ought to be *removing*
> > PARROT_API, not adding it.
> The bulk of those are autogenerated in the PMCs, of course.
I have a plan. If we're cloning parent PMC vtables anyway, we only have
On Friday 01 February 2008 15:41:34 Andy Lester wrote:
> > Any reason not to write:
> >
> > PMC *result = PMC_IS_NULL(lex_pad) ? NULL : VTABLE...;
> No reason in my book, but I got a general anti-ternary vibe in the
> past from the p2 crew.
Anything that gets us an extra const *and* limits t
Do we really need to export 16,000 symbols? We ought to be *removing*
PARROT_API, not adding it.
The bulk of those are autogenerated in the PMCs, of course.
What about unused functions? Look at, say, Parrot_char_digit_value()
in src/string_primitives.c. It's PARROT_API for no apparent re
Any reason not to write:
PMC *result = PMC_IS_NULL(lex_pad) ? NULL : VTABLE...;
This assignment seems like a simple case, and you get a nice const
opportunity
for free.
No reason in my book, but I got a general anti-ternary vibe in the
past from the p2 crew.
--
Andy Lester =>
On Friday 01 February 2008 15:34:35 [EMAIL PROTECTED] wrote:
> Author: petdance
> Date: Fri Feb 1 15:34:35 2008
> New Revision: 25412
>
> Modified:
>trunk/src/ops/var.ops
>
> Log:
> consting
>
> Modified: trunk/src/ops/var.ops
> --- trunk/src/ops/var.ops (original)
> +++ trunk/src/ops/va
On Feb 1, 2008, at 5:07 PM, chromatic wrote:
Do we really need to export 16,000 symbols? We ought to be *removing*
PARROT_API, not adding it.
Agreed, and that's why I've added -fvisibility=hidden to the
automagically derived warnings. That way we can pull stuff out and
see how things g
On Friday 01 February 2008 15:01:33 [EMAIL PROTECTED] wrote:
> Author: petdance
> Date: Fri Feb 1 15:01:32 2008
> New Revision: 25410
>
> Modified:
>trunk/include/parrot/warnings.h
>trunk/src/warnings.c
>
> Log:
> print_pbc_location needs to be PARROT_API for t/src/warnings.t to work
Bug
On Friday 01 February 2008 14:00:52 [EMAIL PROTECTED] wrote:
> I think that runs into the wish to not get into the internals of
> svn/svk/git in doing these tests. Not sure I agree, but that was a comment
> I saw somewhere. It does seem svk could have a "are you setup?" query or
> not start setup
On Feb 1, 2008 3:24 PM, Klaas-Jan Stol <[EMAIL PROTECTED]> wrote:
> hi,
>
> for people starting to use PAST nodes, it might be difficult to get started,
> or not very clear what you can do with it. For instance, suppose you have a
> certain language construct to translate, you need to figure out wh
hi,
for people starting to use PAST nodes, it might be difficult to get started,
or not very clear what you can do with it. For instance, suppose you have a
certain language construct to translate, you need to figure out which past
nodes you have to create, and what attributes.
would it be an ide
On Friday 01 February 2008 12:10:22 Alberto Simões wrote:
> Alberto Simões wrote:
> > [EMAIL PROTECTED] wrote:
> >> Let me guess - you've got svk installed, but never used it. Try 'n'
> >> instead of Ctrl-C. svk is asking (unnecessarily, one might conclude)
> >> if you
> >> want to create the l
On Fri, 1 Feb 2008, Alberto Simões wrote:
> Hi
>
> t/postconfigure/03-revision1/8
>
> is taking forever in my powerbook pro.
I'd guess that this is the same problem reported in
[perl #50218]: Uninitialized svk install hangs
postconfig/03-revision.t and Parrot::Revi
Alberto Simões wrote:
[EMAIL PROTECTED] wrote:
ok 3 - Able to make Parrot dir
ok 4 - Able to copy Parrot::Revision
After a C^c
ok 5 - Got numeric value for reversion number
Let me guess - you've got svk installed, but never used it. Try 'n'
instead of Ctrl-C. svk is asking (unnecessarily
[EMAIL PROTECTED] wrote:
ok 3 - Able to make Parrot dir
ok 4 - Able to copy Parrot::Revision
After a C^c
ok 5 - Got numeric value for reversion number
Let me guess - you've got svk installed, but never used it. Try 'n'
instead of Ctrl-C. svk is asking (unnecessarily, one might conclude) if
Just because someone will ask:
perl 5.8.8
parrot r25407
Alberto Simões wrote:
Hi
t/postconfigure/03-revision1/8
is taking forever in my powerbook pro.
Running with -v we get:
[EMAIL PROTECTED] parrot]$ prove -v t/postconfigure/03-revision.t
t/postconfigure/03-revision
Hi
t/postconfigure/03-revision1/8
is taking forever in my powerbook pro.
Running with -v we get:
[EMAIL PROTECTED] parrot]$ prove -v t/postconfigure/03-revision.t
t/postconfigure/03-revision..
1..8
ok 1 - Changed to temporary directory for testing
ok 2 - Able to make li
# New Ticket Created by Michael Stephens
# Please include the string: [perl #50444]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=50444 >
Variable was declared at the top of a function and then redeclared
inside of a loo
# New Ticket Created by chromatic
# Please include the string: [perl #50448]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=50448 >
When an exception occurs and exits Parrot, some of the memory allocated by
IMCC can go unf
20 matches
Mail list logo