Skip to content

Commit

Permalink
[headercleanup] Brought the headercleanup branch up to date with r38253.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/branches/headercleanup@38254 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
chromatic committed Apr 21, 2009
1 parent cfa3394 commit 501acf4
Show file tree
Hide file tree
Showing 118 changed files with 4,973 additions and 1,610 deletions.
24 changes: 21 additions & 3 deletions CREDITS
Expand Up @@ -289,6 +289,11 @@ U: grunblatt
N: Danny Werner
D: Test for literals

N: Daniel Arbelo Arrocha
U: darbelo
D: OpenBSD fixes and testing
E: dany.arbelo@gmail.com

N: Dave Woldrich
D: Win32 build fixes
E: dave@woldrich.com
Expand Down Expand Up @@ -348,6 +353,7 @@ D: a patch to remove slash_exec from config
D: language Lua
D: language WMLScript (PIR translator)
D: Pipp
D: Release manager for 1.1.0

N: Garrett Rooney
D: Fix typo in PARROT_BIGENDIAN case
Expand Down Expand Up @@ -383,6 +389,11 @@ D: The human version of indent.
E: gregor@focusresearch.com
S: Sunnyvale, CA

N: Havard Eidnes
U: he
D: NetBSD and OpenBSD fixes
E: he@NetBSD.org

N: H.Merijn Brand
D: HP-UX fixes and smoke tests

Expand Down Expand Up @@ -582,6 +593,10 @@ E: luke@luqui.org
U: luqui
D: Many fixes

U: LylePerl
D: Win32 and CGI testing
W: http://perl.bristolbath.org/blog/lyle/

N: Marcelo Serra Castilhos
E: mhelix@terra.com.br
D: Bug fix
Expand Down Expand Up @@ -749,9 +764,6 @@ D: The Second Perl 6 Summarizer after Bryan C. Warnock
E: pdcawley@bofh.org.uk
W: http://www.bofh.org.uk:8080/

U: rg
D: fixes to pod2html generator

N: Reini Urban
U: rurban
E: rurban@cpan.org
Expand Down Expand Up @@ -783,6 +795,11 @@ D: Author of Amber; bug fixes and tests
N: Roland Illing
D: Building Parrot with pkgsrc

N: Rolf Grossmann
U: rg
D: pod2html fixes, floating point fixes, platform testing, cage cleaning
E: rg@progtech.net

N: Ron Blaschke
U: rblasch
E: ron@rblasch.org
Expand Down Expand Up @@ -914,6 +931,7 @@ N: Uri Guttman
D: Lot of general Parrot design hints

N: Vasily Chekalkin
U: bacek
E: bacek@bacek.com
D: Core and Rakudo patches

Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,5 +1,9 @@
#1 $Id$

2009.04.21 fperrad
* Released 1.1.0
See NEWS for more.

2009.03.17 allison
* Released 1.0.0
See NEWS for more.
Expand Down
9 changes: 7 additions & 2 deletions MANIFEST
@@ -1,7 +1,7 @@
# ex: set ro:
# $Id$
#
# generated by tools/dev/mk_manifest_and_skip.pl Wed Apr 15 17:57:34 2009 UT
# generated by tools/dev/mk_manifest_and_skip.pl Sun Apr 19 13:39:13 2009 UT
#
# See tools/dev/install_files.pl for documentation on the
# format of this file.
Expand Down Expand Up @@ -122,6 +122,7 @@ compilers/pct/README.pod []doc
compilers/pct/src/PAST.pir [pct]
compilers/pct/src/PAST/Compiler.pir [pct]
compilers/pct/src/PAST/Node.pir [pct]
compilers/pct/src/PCT/Dumper.pir [pct]
compilers/pct/src/PCT/Grammar.pir [pct]
compilers/pct/src/PCT/HLLCompiler.pir [pct]
compilers/pct/src/PCT/Node.pir [pct]
Expand Down Expand Up @@ -1137,7 +1138,6 @@ lib/Pod/Simple/TranscodeDumb.pm []
lib/Pod/Simple/TranscodeSmart.pm []
lib/Pod/Simple/XHTML.pm []
lib/Pod/Simple/XMLOutStream.pm []
parrot.spec []
parrotbug []
runtime/parrot/dynext/README []doc
runtime/parrot/include/README []doc
Expand Down Expand Up @@ -1718,6 +1718,7 @@ t/manifest/03-regenerate_skip.t [test]
t/manifest/04-alt_file.t [test]
t/manifest/05-alt_skip.t [test]
t/manifest/README []doc
t/native_pbc/annotations.pbc [test]
t/native_pbc/header.t [test]
t/native_pbc/integer.t [test]
t/native_pbc/integer_1.pbc [test]
Expand All @@ -1742,6 +1743,8 @@ t/native_pbc/string_3.pbc [test]
t/native_pbc/string_4.pbc [test]
t/native_pbc/string_6.pbc [test]
t/native_pbc/string_7.pbc [test]
t/native_pbc/testdata/README []doc
t/native_pbc/testdata/annotations.pir [test]
t/oo/attributes.t [test]
t/oo/composition.t [test]
t/oo/inheritance.t [test]
Expand Down Expand Up @@ -1905,6 +1908,7 @@ t/pmc/stringhandle.t [test]
t/pmc/sub.t [test]
t/pmc/sys.t [test]
t/pmc/task.t [test]
t/pmc/testlib/packfile_common.pir [test]
t/pmc/threads.t [test]
t/pmc/timer.t [test]
t/pmc/undef.t [test]
Expand Down Expand Up @@ -2059,6 +2063,7 @@ tools/dev/.gdbinit []
tools/dev/as2c.pl []
tools/dev/bench_op.pir []
tools/dev/cc_flags.pl []
tools/dev/create_language.pl []
tools/dev/debian_docs.sh []
tools/dev/fetch_languages.pl []
tools/dev/gen_charset_tables.pl []
Expand Down
4 changes: 2 additions & 2 deletions MANIFEST.generated
Expand Up @@ -2,10 +2,10 @@
# See tools/dev/install_files.pl for documentation on the
# format of this file.
# Please re-sort this file after *EVERY* modification
blib/lib/libparrot.1.0.0.dylib [main]lib
blib/lib/libparrot.1.1.0.dylib [main]lib
blib/lib/libparrot.a [main]lib
blib/lib/libparrot.dylib [main]lib
blib/lib/libparrot.so.1.0.0 [main]lib
blib/lib/libparrot.so.1.1.0 [main]lib
blib/lib/libparrot.so [main]lib
compilers/json/JSON/grammar.pbc [json]
compilers/json/JSON.pbc [json]
Expand Down
2 changes: 1 addition & 1 deletion META.yml
Expand Up @@ -4,7 +4,7 @@
# See http://module-build.sourceforge.net/META-spec-current.html for details.
---
name: parrot
version: 1.0.0
version: 1.1.0
author: parrot-dev@lists.parrot.org
abstract: a virtual machine designed for dynamic languages
license: artistic2
Expand Down
23 changes: 21 additions & 2 deletions NEWS
Expand Up @@ -2,14 +2,33 @@

New in 1.1.0
- Core
+ Added op: load_language
+ Added op: load_language, find_caller_lex
+ socket IO are back as PMC
+ refactor some PMC: Hash, ManagedStruct
- Compiler
+ PGE
- Allow \x, \c, and \o in enumerated character classes (incl ranges)
- Add initial greedy-only version of ** <exp> quantifier
+ PCT
- Add HLL source line bytecode annotations
- Add another dumper format to assist syntax highlighters
- Revise mk_language_shell.pl to updated create_language.pl
- Deprecations
+ Removed ops: gcd, exec, classname, need_finalize, runinterp, substr_r
+ Removed dynamic op: mul
+ Removed dynamic op: mul
+ Removed .HLL_map directive; use interp's .hll_map() instead
+ Removed PMCs: slice, bound_nci, ref
+ Removed Configure.pl option: --pmc
+ Removed PMC union struct
- Documentation
+ Book
- Reorganization and many improvements & additions
- Tools
+ Add a parrot-fuzzer
- Miscellaneous
+ Improve Debian/Ubuntu package
+ various bugfixes, code cleanups, and coding standard fixes


New in 1.0.0
- Documentation
Expand Down
29 changes: 19 additions & 10 deletions PLATFORMS
Expand Up @@ -14,19 +14,18 @@ Platform B8 Runloops Feature Comp Test Inst YYYYMMDD
CGoto JIT EXEC Thr Sig
--------------------------------------------------------------------------------
cygwin1.5.25-x86-gcc3.4.4 4 Y Y - - - Y Y Y 20090315
darwin8.11.1-x86-gcc4.0.1 ?? ? ? ? ? ? Y Y/1*2 ? 20081216
freebsd-x86-gcc-3.4.6 Y ? ? ? ? Y Y ? 20080519
linux-x86-gcc4.1.2 Y Y ? Y Y Y Y ? 20080617
darwin8.11.1-x86-gcc4.0.1 ?? ? N ? ? ? Y Y*3 Y 20090420
linux-x86-gcc4.1.2 Y Y ? Y Y Y Y ? 20090419
linux-x86-gcc4.1.3 Y Y ? Y Y Y Y ? 20080414
linux-x86-gcc4.2.3 Y Y ? Y Y Y Y ? 20080715
linux-x86-gcc4.2.4 Y Y ? Y Y Y Y ? 20081023
linux-x86-gcc4.3.2 Y Y ? Y Y Y Y ? 20081030
linux-x86-llvm-gcc-4.2 Y Y ? ? ? Y Y ? 20080801
sol10-sparc-cc_5.9 B4*2 Y - - Y Y Y Y ? 20080510
sol10-sparc-cc_5.9 B8 Y - - Y Y Y Y/3*1 ? 20090217
sol10-sparc-gcc_4.0.2 B4*2 Y - - Y Y Y Y/1 ? 20080510
sol10-sparc-cc_5.9 B4 Y - - Y Y Y Y ? 20090419
sol10-sparc-cc_5.9 B8 Y - - Y Y Y Y ? 20090419
sol10-sparc-gcc_4.0.2 B4 Y - - Y Y Y Y/1 ? 20080510
sol10-sparc-gcc_4.0.2 B8 Y - - Y Y Y Y/2 ? 20080518
win32-x86-mingw_gcc3.4.5 Y Y - - - Y Y Y 20090217
win32-x86-mingw_gcc3.4.5 Y Y - - - Y Y Y 20090421
win32-x86-msvc_9.0 - Y - Y - Y Y ? 20090317


Expand All @@ -37,11 +36,21 @@ Platform B8 Runloops Feature Comp Test Inst YYYYMMDD
--------------------------------------------------------------------------------
aix5.3-power-gcc4.2 B8 - - - Y ? ? 20080510
cygwin1.7.0-x86-gcc4.3.2 4 Y Y - - - Y Y Y 20090315
freebsd-x86-gcc-3.4.6 Y ? ? ? ? Y Y ? 20080519
freebsd-x86-gcc-4.2.1 4 Y Y Y ? ? Y Y Y 20090415
freebsd-amd64-gcc-4.2.1 8 Y - - ? ? Y Y Y 20090419
linux-ppc-gcc3.4.5 Y Y Y ? ? Y Y ? 20080519
linux-s390x-gcc4.1.2 B4 ? - - Y Y Y Y/2 ? 20080908
linux-x86_64-gcc4.1.2 8 Y - - Y Y Y Y ? 20080220
linux-x86_64-gcc4.3.2 8 Y - - Y Y Y Y ? 20081118
linux-x86_64-gcc4.3.3 8 Y - - Y Y Y Y ? 20090419
netbsd3.1-ppc-gcc-3.3.3 B Y Y ? Y Y Y Y ? 20090419
netbsd4.0-arm-gcc-4.1.2 Y - ? Y Y Y Y ? 20090421
netbsd4.0-i386-gcc-4.1.2 Y Y ? Y Y Y Y ? 20090419
netbsd4.0-ppc-gcc-4.1.2 B Y Y ? Y Y Y Y ? 20090419
netbsd4.0-x86_64-gcc-4.1.2 8 Y - ? Y Y Y Y ? 20090419
netbsd5.0-i386-gcc-4.1.3 Y Y ? Y Y Y Y ? 20090419
netbsd5.0-sparc64-gcc-4.1.3 B8 Y - - Y Y Y Y ? 20090421
netbsd5.0-x86_64-gcc-4.1.3 8 Y - - Y Y Y Y ? 20090419
opensolaris-x86-gcc_4.0.3 4 Y Y ? ? ? Y Y/2 ? 20080325
sol8-sparc-cc B - - - - - - Y ? 20090317
sol8-sparc-gcc_4.1.0 B - - - - - - Y/42 ? 20090317
Expand Down Expand Up @@ -77,9 +86,9 @@ YYYYMMDD The date tested.

Remarks:
*1 gcc and cc defaults to 32bits on solaris, for 64bit use
--ccflags='-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO'
--ldflags='-m64'
--ccflags='-m64' --ldflags='-m64' --linkflags='-m64'
*2 http://rt.perl.org/rt3/Ticket/Display.html?id=60926
*3 failures in 'make examples_tests' (part of 'make fulltest')

The following configurations are also working on x86/linux (and possibly
other platforms):
Expand Down
2 changes: 1 addition & 1 deletion README
@@ -1,4 +1,4 @@
This is Parrot, version 1.0.0
This is Parrot, version 1.1.0
------------------------------

Parrot is Copyright (C) 2001-2009, Parrot Foundation.
Expand Down
1 change: 1 addition & 0 deletions RESPONSIBLE_PARTIES
Expand Up @@ -24,6 +24,7 @@ Release Manager Bob Rogers
Will Coleda
Andrew Whitworth
Klaas-Jan Stol
Francois Perrad

Metacommitter Allison Randal
Jerry Gay
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.0.0
1.1.0
9 changes: 5 additions & 4 deletions compilers/nqp/src/Grammar.pg
Expand Up @@ -261,16 +261,17 @@ token postfix {

token methodop {
'.' <ident>
'(' <arglist>
[ <.ws> ')' || <panic: "Missing ')'"> ]
{*} #= methodop
[
| '(' ~ ')' <arglist> {*} #= arglist
| {*} #= null
]
}

token postcircumfix {
| '(' <arglist> ')' {*} #= ( )
| '[' <EXPR> <.ws> ']' {*} #= [ ]
| '{' <EXPR> <.ws> '}' {*} #= { }
| '<' <string_literal: '>' > '>' {*} #= < >
| '<' <string_literal: '>' > '>' {*} #= < >
}

rule arglist {
Expand Down
10 changes: 9 additions & 1 deletion compilers/nqp/src/Grammar/Actions.pir
Expand Up @@ -538,7 +538,9 @@
## method methodop($/, $key) {
## my $past := $($<arglist>);
## my $past := $key eq 'null'
## ?? PAST::Op.new
## !! $<arglist>.ast;
## $past.name(~$<ident>);
## $past.pasttype('callmethod');
## $past.node($/);
Expand All @@ -548,8 +550,14 @@
.param pmc match
.param string key
.local pmc past
unless key == 'null' goto arglist
$P0 = get_hll_global ['PAST'], 'Op'
past = $P0.'new'()
goto have_past
arglist:
$P0 = match['arglist']
past = $P0.'ast'()
have_past:
$S0 = match['ident']
past.'name'($S0)
past.'pasttype'('callmethod')
Expand Down
6 changes: 5 additions & 1 deletion compilers/nqp/t/26-method_ops.t
Expand Up @@ -2,12 +2,15 @@

# method ops (just method calls for now)

plan(2);
plan(3);

class Foo {
method blarg() {
'ok 1 # method calls work';
}
method blargless() {
'ok 3 # argument-less method calls work'
}
}

class Bar {
Expand All @@ -24,3 +27,4 @@ my $foo := Foo.new();

say($foo.blarg());
say(blarg());
say($foo.blargless);

0 comments on commit 501acf4

Please sign in to comment.