[svn:parrot] r17076 - trunk
Author: fperrad Date: Tue Feb 20 01:34:00 2007 New Revision: 17076 Modified: trunk/RESPONSIBLE_PARTIES Log: [docs] update Modified: trunk/RESPONSIBLE_PARTIES == --- trunk/RESPONSIBLE_PARTIES (original) +++ trunk/RESPONSIBLE_PARTIES Tue Feb 20 01:34:00 2007 @@ -43,6 +43,7 @@ High Level Language Developer Patrick Michaud (Perl 6) Matt Diephouse (Tcl) Will Coleda (Tcl) +Francois Perrad (Lua) Build Manager Joshua Hoblitt @@ -50,6 +51,7 @@ Platform Porter Florian Ragwitz (Debian) Aldo Calpini (PocketPC) +Francois Perrad (MinGW32) Contributors
[svn:parrot] r17077 - trunk/lib/Parrot/Docs/Section
Author: fperrad Date: Tue Feb 20 01:36:04 2007 New Revision: 17077 Modified: trunk/lib/Parrot/Docs/Section/Compilers.pm Log: [docs] - add SMOP Modified: trunk/lib/Parrot/Docs/Section/Compilers.pm == --- trunk/lib/Parrot/Docs/Section/Compilers.pm (original) +++ trunk/lib/Parrot/Docs/Section/Compilers.pm Tue Feb 20 01:36:04 2007 @@ -50,6 +50,7 @@ 'the Parrot/Punie Abstract Syntax Tree (new implementation)', 'compilers/past-pm' ), +$self-new_group( 'smop', 'Simple Meta Object Protocol', 'compilers/smop' ), $self-new_group( 'BCG', 'Byte Code Generation', 'compilers/bcg' ), $self-new_group( 'JSON', 'JavaScript Object Notation', 'compilers/json' ), );
[svn:parrot] r17078 - trunk
Author: fperrad Date: Tue Feb 20 01:48:21 2007 New Revision: 17078 Modified: trunk/MANIFEST Log: MANIFEST Modified: trunk/MANIFEST == --- trunk/MANIFEST (original) +++ trunk/MANIFEST Tue Feb 20 01:48:21 2007 @@ -1,7 +1,7 @@ # ex: set ro: # $Id$ # -# generated by tools/dev/mk_manifest_and_skip.pl Sun Feb 18 17:29:19 2007 UT +# generated by tools/dev/mk_manifest_and_skip.pl Tue Feb 20 08:46:59 2007 UT # # See tools/dev/install_files.pl for documentation on the # format of this file. @@ -1389,7 +1389,6 @@ languages/lua/lib/luaregex.pir [lua] languages/lua/lib/luastring.pir [lua] languages/lua/lib/luatable.pir [lua] -languages/lua/lua.pir [lua] languages/lua/luac.pir [lua] languages/lua/luac.pl [lua] languages/lua/pmc/lua.pmc [lua] @@ -1407,6 +1406,7 @@ languages/lua/src/Lua51.pir [lua] languages/lua/src/dumplex.tg[lua] languages/lua/src/lua.pg[lua] +languages/lua/src/lua.pir [lua] languages/lua/src/lua51.pg [lua] languages/lua/src/lua51_testlex.pg [lua] languages/lua/src/parse.pir [lua] @@ -2185,9 +2185,9 @@ lib/Parrot/OpTrans/CPrederef.pm [devel] lib/Parrot/OpTrans/CSwitch.pm [devel] lib/Parrot/OpTrans/Compiled.pm [devel] -lib/Parrot/OpsFile.pm [devel] lib/Parrot/Ops2pm/Auxiliary.pm [devel] lib/Parrot/Ops2pm/Utils.pm [devel] +lib/Parrot/OpsFile.pm [devel] lib/Parrot/PIR/Formatter.pm [devel] lib/Parrot/Pmc2c.pm [devel] lib/Parrot/Pmc2c/Library.pm [devel] @@ -2972,4 +2972,3 @@ tools/util/smokeserv-client.pl [] tools/util/smokeserv-server.pl [] vtable.tbl [devel] -#
[svn:parrot] r17079 - in trunk/languages/lua: . config/makefiles src t t/Parrot/Test
Author: fperrad Date: Tue Feb 20 04:18:27 2007 New Revision: 17079 Modified: trunk/languages/lua/config/makefiles/root.in trunk/languages/lua/src/dumplex.tg trunk/languages/lua/src/lua.pir trunk/languages/lua/src/lua51_testlex.pg trunk/languages/lua/t/Parrot/Test/Lua.pm trunk/languages/lua/t/harness trunk/languages/lua/test_lex.pir Log: [Lua] - test_lex reworks Modified: trunk/languages/lua/config/makefiles/root.in == --- trunk/languages/lua/config/makefiles/root.in(original) +++ trunk/languages/lua/config/makefiles/root.inTue Feb 20 04:18:27 2007 @@ -52,14 +52,12 @@ $(LIBPATH)/luadebug.pbc GEN_PIR = \ - src/lua51_grammar_gen.pir \ src/lua51_testlex_gen.pir \ src/dumplex_gen.pir \ src/lua_grammar_gen.pir \ src/ASTGrammar.pir GEN_PBC = \ - src/Lua51.pbc \ src/Lua51TestLex.pbc \ src/LuaDumpLex.pbc \ src/lua.pbc \ @@ -71,12 +69,6 @@ $(GEN_PBC) \ Lua/parser.pm -src/lua51_grammar_gen.pir: src/lua51.pg - $(PGE) --output=src/lua51_grammar_gen.pir src/lua51.pg - -src/Lua51.pbc: src/Lua51.pir src/lua51_grammar_gen.pir src/parse.pir - $(PARROT) -o src/Lua51.pbc --output-pbc src/Lua51.pir - src/lua51_testlex_gen.pir: src/lua51_testlex.pg $(PGE) --output=src/lua51_testlex_gen.pir src/lua51_testlex.pg @@ -90,8 +82,6 @@ src/LuaDumpLex.pbc: src/dumplex_gen.pir $(PARROT) -o src/LuaDumpLex.pbc --output-pbc src/dumplex_gen.pir -### - src/lua_grammar_gen.pir: src/lua.pg $(PGE) --output=src/lua_grammar_gen.pir src/lua.pg @@ -104,7 +94,6 @@ luac.pbc: luac.pir $(PARROT) -o luac.pbc --output-pbc luac.pir -### pmc/lua_group$(LOAD_EXT) : $(PMC_FILES) @cd $(PMCDIR) $(PMCBUILD) generate $(PMCS) Modified: trunk/languages/lua/src/dumplex.tg == --- trunk/languages/lua/src/dumplex.tg (original) +++ trunk/languages/lua/src/dumplex.tg Tue Feb 20 04:18:27 2007 @@ -1,4 +1,4 @@ -# Copyright (C) 2006, The Perl Foundation. +# Copyright (C) 2006-2007, The Perl Foundation. # $Id$ grammar Lua::DumpLex is TGE::Grammar; @@ -38,10 +38,10 @@ tree.get('dump', $P1, 'Lua::TestLex::punctuator') L6: -$I0 = defined $P0['reserved_words'] +$I0 = defined $P0['keyword'] unless $I0 goto L7 -$P1 = $P0['reserved_words'] -tree.get('dump', $P1, 'Lua::TestLex::reserved_words') +$P1 = $P0['keyword'] +tree.get('dump', $P1, 'Lua::TestLex::keyword') L7: $I0 = defined $P0['ws'] @@ -54,8 +54,8 @@ L2: } -transform dump (Lua::TestLex::reserved_words) :language('PIR') { -print word:\t +transform dump (Lua::TestLex::keyword) :language('PIR') { +print keyword:\t print node print \n } Modified: trunk/languages/lua/src/lua.pir == --- trunk/languages/lua/src/lua.pir (original) +++ trunk/languages/lua/src/lua.pir Tue Feb 20 04:18:27 2007 @@ -72,6 +72,78 @@ .end +.sub 'quoted_literal' +.param pmc mob +.param string delim +.param pmc adv :slurpy :named + +.local string target +.local pmc mfrom, mpos +.local int pos, lastpos +(mob, target, mfrom, mpos) = mob.'newfrom'(mob) +pos = mfrom +lastpos = length target + +.local string literal +literal = '' +LOOP: +if pos lastpos goto L1 +error(mob, unfinished string) +L1: +$S0 = substr target, pos, 1 +if $S0 != delim goto L2 +mob.'result_object'(literal) +mpos = pos +.return (mob) +L2: +$I0 = index \n\r, $S0 +if $I0 0 goto L3 +error(mob, unfinished string) +L3: +if $S0 != \\ goto CONCAT +inc pos +if pos == lastpos goto LOOP # error +$S0 = substr target, pos, 1 +$I0 = index 'abfnrtv', $S0 +if $I0 0 goto L4 +$S0 = substr \a\b\f\n\r\t\x0b, $I0, 1 +goto CONCAT +L4: +$I0 = index \n\r, $S0 +if $I0 0 goto L5 +$S0 = \n +goto CONCAT +L5: +$I0 = index '0123456789', $S0 +if $I0 0 goto CONCAT +inc pos +$S0 = substr target, pos, 1 +$I1 = index '0123456789', $S0 +if $I1 0 goto L6 +$I0 *= 10 +$I0 += $I1 +inc pos +$S0 = substr target, pos, 1 +$I1 = index '0123456789', $S0 +if $I1 0 goto L6 +$I0 *= 10 +$I0 += $I1 +goto L7 +L6: +dec pos +L7: +if $I0 256 goto L8 +error(mob, escape sequence too large) +L8: +$S0 = chr $I0 + +CONCAT: +concat literal, $S0 +inc pos +goto LOOP +.end + + .sub 'long_string' .param pmc mob .param pmc adv :slurpy :named Modified: trunk/languages/lua/src/lua51_testlex.pg == --- trunk/languages/lua/src/lua51_testlex.pg(original) +++ trunk/languages/lua/src/lua51_testlex.pgTue Feb 20 04:18:27 2007 @@ -1,22 +1,18 @@ -# Copyright (C) 2006, The Perl Foundation. +# Copyright (C)
[svn:parrot] r17080 - in trunk/languages/lua: . src
Author: fperrad Date: Tue Feb 20 06:54:33 2007 New Revision: 17080 Modified: trunk/languages/lua/src/ASTGrammar.tg trunk/languages/lua/src/lua.pg trunk/languages/lua/src/lua51_testlex.pg trunk/languages/lua/test_lex.pir Log: [Lua] - small fix for lexico part of the grammar - use quoted_literal instead of PGE::Text::bracketed (implement Lua rules) - text_lex uses Lua::Grammar rules Modified: trunk/languages/lua/src/ASTGrammar.tg == --- trunk/languages/lua/src/ASTGrammar.tg (original) +++ trunk/languages/lua/src/ASTGrammar.tg Tue Feb 20 06:54:33 2007 @@ -449,50 +449,23 @@ transform past (Lua::Grammar::string) :language('PIR') { - stringsingle: -$P0 = node['stringsingle'] -if null $P0 goto stringdouble -.return tree.'get'('past', $P0, 'Lua::Grammar::stringsingle') - stringdouble: - $P0 = node['stringsingle'] -.return tree.'get'('past', $P0, 'Lua::Grammar::stringsingle') -} - -transform past (Lua::Grammar::stringdouble) :language('PIR') { .local pmc result result = new 'PAST::Val' .local string value -# Check if this is a string match -$I0 = defined node[PGE::Text::bracketed] -if $I0 goto bracketed_value -value = node -goto no_bracketed_value - bracketed_value: -value = node[PGE::Text::bracketed] - no_bracketed_value: - -# NOTE: Will have to come back and handle interpolation properly. -# Currently have no way to distinguish between single quoted and -# double quoted strings. + quoted_literal: +$P0 = node['quoted_literal'] +if null $P0 goto long_string +value = $P0 result.'init'('node'=node, 'vtype'='.String', 'name'=value) .return (result) -} - -transform past (Lua::Grammar::stringsingle) :language('PIR') { -.local pmc result -result = new 'PAST::Val' - -.local string value -# Check if this is a string match -$I0 = defined node[PGE::Text::bracketed] -if $I0 goto bracketed_value -value = node -goto no_bracketed_value - bracketed_value: -value = node[PGE::Text::bracketed] - no_bracketed_value: - + long_string: +$P0 = node['long_string'] +if null $P0 goto error +value = $P0 result.'init'('node'=node, 'vtype'='.String', 'name'=value) .return (result) + error: +printerr Unknown string\n } + Modified: trunk/languages/lua/src/lua.pg == --- trunk/languages/lua/src/lua.pg (original) +++ trunk/languages/lua/src/lua.pg Tue Feb 20 06:54:33 2007 @@ -292,27 +292,24 @@ =cut -rule string { - stringdouble | stringsingle | long_string +token string { + | \ quoted_literal: \ + | \' quoted_literal: ' \' + | long_string } -regex stringdouble { PGE::Text::bracketed: } -regex stringsingle { PGE::Text::bracketed: ' } token number { - [ digit+ -[ '.' digit+ ]? -[ [eE] [+\-]? digit+ ]? - ] - | [ '.' digit+ ] [ [eE] [+\-]? digit+ ]? - | [ 0 [xX] xdigit+ ] + | 0 [Xx] xdigit+ + | [ digit+ [ \. digit* ]? | \. digit+ ] +[ [Ee] [+\-]? digit+ ]? } token ws { [ \s+ -| '--' \N* | '--' long_comment +| '--' \N* ]* } Modified: trunk/languages/lua/src/lua51_testlex.pg == --- trunk/languages/lua/src/lua51_testlex.pg(original) +++ trunk/languages/lua/src/lua51_testlex.pgTue Feb 20 06:54:33 2007 @@ -44,59 +44,3 @@ | \] } -token Name { - !keyword \b ident -} - -token keyword { - [ 'and' | 'break' | 'do'| 'elseif' - | 'else' | 'end'| 'false' | 'for' - | 'function' | 'if' | 'in'| 'local' - | 'nil' | 'not'| 'or'| 'repeat' - | 'return' | 'then' | 'true' | 'until' - | 'while'] \b -} - -#token keyword { -#| and -#| break -#| do -#| else -#| elseif -#| end -#| false -#| for -#| function -#| if -#| in -#| local -#| nil -#| not -#| or -#| repeat -#| return -#| then -#| true -#| until -#| while -#} - -token String { -| \ quoted_literal: \ -| \' quoted_literal: ' \' -| long_string -} - -token Number { -| 0 [Xx] xdigit+ -| [ digit+ [ \. digit* ]? | \. digit+ ] - [ [Ee] [+\-]? digit+ ]? -} - -token ws { -[ \s+ -| \-\- long_comment -| \-\- \N* -]* -} - Modified: trunk/languages/lua/test_lex.pir == --- trunk/languages/lua/test_lex.pir(original) +++ trunk/languages/lua/test_lex.pirTue Feb 20 06:54:33 2007 @@ -28,8 +28,17 @@ set_hll_global ['Lua::TestLex'], 'die', $P0 # import Lua::Grammar::* into Lua::TestLex -#$P0 = get_hll_global ['Lua::Grammar'],
[svn:parrot] r17081 - trunk/t/distro
Author: particle Date: Tue Feb 20 09:45:33 2007 New Revision: 17081 Modified: trunk/t/distro/manifest_skip.t Log: [t]: fix skip test count Modified: trunk/t/distro/manifest_skip.t == --- trunk/t/distro/manifest_skip.t (original) +++ trunk/t/distro/manifest_skip.t Tue Feb 20 09:45:33 2007 @@ -5,7 +5,7 @@ use strict; use warnings; use lib qw( . lib ../lib ../../lib ); -use Test::More; +use Test::More tests = 2; use Data::Dumper; use File::Find qw(find); @@ -34,7 +34,7 @@ # check that MANIFEST.SKIP is in sync with svn:ignore # An new MANIFEST.SKIP can be generated with tools/dev/gen_manifest_skip.pl -skip 'Not a working copy' = 3 +skip 'Not a working copy' = 2 unless ( $Parrot::Revision::svn_entries || `svk ls .` ); diag this may take a while...; @@ -58,11 +58,11 @@ or diag(Files ignored by SVN but not in MANIFEST.SKIP:[EMAIL PROTECTED]); } -# remember to change the number of tests :-) -BEGIN { plan tests = 2; } + exit; + sub list_diff { my ( $a, $b ) = @_; @@ -74,6 +74,7 @@ [ sort grep { $elem{$_} 0 } keys %elem ] ); } + # Local Variables: # mode: cperl # cperl-indent-level: 4
[svn:parrot] r17082 - in trunk/languages/PIR: docs lib
Author: bernhard Date: Tue Feb 20 11:57:54 2007 New Revision: 17082 Modified: trunk/languages/PIR/docs/pirgrammar.pod trunk/languages/PIR/lib/pir.pg Log: [languages/PIR] * added unique_reg to allowed flags for parameters * updated pirgrammar.pod * removed pirgrammar.html (can be generated) * minor fixes for pir.pg (both syntax and comments, now in POD format) Courtesy of Klass Jan Stol Modified: trunk/languages/PIR/docs/pirgrammar.pod == --- trunk/languages/PIR/docs/pirgrammar.pod (original) +++ trunk/languages/PIR/docs/pirgrammar.pod Tue Feb 20 11:57:54 2007 @@ -1,6 +1,6 @@ =head1 NAME -PIR.pod - The Grammar of languages/PIR +pirgrammar.pod - The Grammar of languages/PIR =head1 DESCRIPTION @@ -19,7 +19,7 @@ =head1 VERSION -0.1.1 +0.1.2 =head1 LEXICAL CONVENTIONS @@ -39,9 +39,9 @@ .eom.meth_call .pragma .get_results.namespace .return .global .nci_call .result - .HLL_map.param .sub - .HLL.pcc_begin_return .sym - .immediate .pcc_begin_yield .yield + .globalconst.param .sub + .HLL_map.pcc_begin_return .sym + .HLL.pcc_begin_yield .yield .include.pcc_begin @@ -178,7 +178,7 @@ .end param_decl: -.param [ [ type identifier ] | register ] get_flags? nl +.param [ [ type identifier ] | register ] [ get_flags | :unique_reg ]* nl get_flags: [ :slurpy @@ -194,13 +194,14 @@ The simplest example for a subroutine definition looks like: - .sub foo - # PIR instructions go here - .end + .sub foo + # PIR instructions go here + .end The body of the subroutine can contain PIR instructions. The subroutine can be given one or more flags, indicating the sub should behave in a special way. Below is a list of these -flags and their meaning: +flags and their meaning. The flag C:unique_reg is discussed in the section defining +local declarations. =over 4 @@ -290,27 +291,28 @@ that when bar is invoked, this sub is called Ibefore and Iafter. It is undecided yet whether this flag will be implemented. If so, its syntax may change. + =back The sub flags are listed after the sub name. They may be separated by a comma, but this is not necessary. The subroutine name can also be a string instead of a bareword, as is shown in this example: - .sub 'foo' :load, :init :anon - # PIR body - .end + .sub 'foo' :load, :init :anon + # PIR body + .end Parameter definitions have the following syntax: - .sub main - .param int argc :optional - .param int has_argc :optional - .param num nParam - .param pmc argv :slurpy - .param string sParam :named('foo') - .param $P0 :named('bar') - # body - .end + .sub main +.param int argc :optional +.param int has_argc :optional +.param num nParam +.param pmc argv :slurpy +.param string sParam :named('foo') +.param $P0 :named('bar') +# body + .end As shown, parameter definitions may take flags as well. These flags are listed here: @@ -327,15 +329,15 @@ :named('x') -The parameter is known in the called sub by name C'x'. The C:named flag can also be used Bwithout an +The parameter is known in the called sub by name C'x'. The C:named flag can also be used Bwithout an identifier, in combination with the C:flat or C:slurpy flag, i.e. on a container holding several values: - .param pmc args :slurpy :named + .param pmc args :slurpy :named and - .arg args :flat :named - + .arg args :flat :named + =item * @@ -402,15 +404,15 @@ Local temporary variables can be declared by the directives C.local or C.sym. There is no difference between these directives, except within macro definitions. (See Macros). - .local int i - .local num a, b, c - .sym string s1, s2 - .sym pmc obj + .local int i + .local num a, b, c + .sym string s1, s2 + .sym pmc obj The optional C:unique_reg modifier will force the register allocator to associate the identifier with a unique register for the duration of the compilation unit. - .local int j :unique_reg + .local int j :unique_reg =head2 Lexical declarations @@ -421,12 +423,12 @@ The declaration - .lex 'i', $P0 + .lex 'i', $P0 indicates that the value in $P0 is stored as a lexical variable, named by 'i'. Once the above lexical declaration is written, and given the following statement: - $P1 = new .Integer + $P1 = new .Integer then the following two statements have an identical effect: @@ -458,14 +460,14 @@ Instead of a register, one can also specify a local variable, like so: - .local pmc p - .lex 'i', p + .local pmc p + .lex 'i', p The same is true when a parameter should be
[svn:parrot] r17083 - in trunk/runtime/parrot: include library library/CGI library/File library/File/Spec library/Getopt library/HTTP library/MIME library/PGE library/Parrot library/String library/Tes
Author: paultcochrane Date: Tue Feb 20 12:02:52 2007 New Revision: 17083 Modified: trunk/runtime/parrot/include/hllmacros.pir (props changed) trunk/runtime/parrot/include/sockets.pasm (props changed) trunk/runtime/parrot/library/CGI/QueryHash.pir (props changed) trunk/runtime/parrot/library/File/Spec.pir (props changed) trunk/runtime/parrot/library/File/Spec/Unix.pir (props changed) trunk/runtime/parrot/library/File/Spec/Win32.pir (props changed) trunk/runtime/parrot/library/Getopt/Obj.pir (props changed) trunk/runtime/parrot/library/HTTP/Daemon.pir (props changed) trunk/runtime/parrot/library/Iter.pir (props changed) trunk/runtime/parrot/library/JSON.pir (props changed) trunk/runtime/parrot/library/MIME/Base64.pir (props changed) trunk/runtime/parrot/library/PGE/Dumper.pir (props changed) trunk/runtime/parrot/library/PGE/Glob.pir (props changed) trunk/runtime/parrot/library/PGE/Hs.pir (props changed) trunk/runtime/parrot/library/PGE/P6Grammar.pir (props changed) trunk/runtime/parrot/library/PGE/Text.pir (props changed) trunk/runtime/parrot/library/PGE/Util.pir (props changed) trunk/runtime/parrot/library/Parrot/Capture_PIR.pir (props changed) trunk/runtime/parrot/library/Parrot/Coroutine.pir (props changed) trunk/runtime/parrot/library/Parrot/HLLCompiler.pir (props changed) trunk/runtime/parrot/library/Pg.pir (props changed) trunk/runtime/parrot/library/STM.pir (props changed) trunk/runtime/parrot/library/String/Utils.pir (props changed) trunk/runtime/parrot/library/Test/Builder.pir (props changed) trunk/runtime/parrot/library/Test/Builder/Output.pir (props changed) trunk/runtime/parrot/library/Test/Builder/Test.pir (props changed) trunk/runtime/parrot/library/Test/Builder/TestPlan.pir (props changed) trunk/runtime/parrot/library/Test/Builder/Tester.pir (props changed) trunk/runtime/parrot/library/Test/More.pir (props changed) trunk/runtime/parrot/library/pcore.pir (props changed) trunk/runtime/parrot/library/random_lib.pir (props changed) trunk/runtime/parrot/library/tcpstream.pir (props changed) Log: Set svn:eol-style property to 'native' (part 1)
[svn:parrot] r17084 - in trunk/src: . atomic charset dynpmc encodings io jit/skeleton ops pmc stm
Author: paultcochrane Date: Tue Feb 20 12:03:37 2007 New Revision: 17084 Modified: trunk/src/atomic/sparc_v9.s (props changed) trunk/src/charset/tables.c (props changed) trunk/src/charset/tables.h (props changed) trunk/src/dynpmc/dynlexpad.pmc (props changed) trunk/src/dynpmc/quantumreg.pmc (props changed) trunk/src/dynpmc/rotest.pmc (props changed) trunk/src/encodings/ucs2.c (props changed) trunk/src/encodings/ucs2.h (props changed) trunk/src/encodings/utf16.c (props changed) trunk/src/encodings/utf16.h (props changed) trunk/src/hll.c (props changed) trunk/src/inter_call.c (props changed) trunk/src/io/io_mmap.c (props changed) trunk/src/io/io_string.c (props changed) trunk/src/jit/skeleton/jit_emit.h (props changed) trunk/src/ops/ops.skip (props changed) trunk/src/ops/pic.ops (props changed) trunk/src/ops/stm.ops (props changed) trunk/src/pic_jit.c (props changed) trunk/src/pmc/addrregistry.pmc (props changed) trunk/src/pmc/capture.pmc (props changed) trunk/src/pmc/coroutine.pmc (props changed) trunk/src/pmc/file.pmc (props changed) trunk/src/pmc/lexinfo.pmc (props changed) trunk/src/pmc/lexpad.pmc (props changed) trunk/src/pmc/namespace.pmc (props changed) trunk/src/pmc/os.pmc (props changed) trunk/src/pmc/pair.pmc (props changed) trunk/src/pmc/parrotrunningthread.pmc (props changed) trunk/src/pmc/pmethod_test.pmc (props changed) trunk/src/pmc/stmlog.pmc (props changed) trunk/src/pmc/stmref.pmc (props changed) trunk/src/pmc/stmvar.pmc (props changed) trunk/src/pmc/super.pmc (props changed) trunk/src/stm/backend.c (props changed) trunk/src/stm/stm_internal.h (props changed) trunk/src/stm/stm_waitlist.h (props changed) trunk/src/stm/waitlist.c (props changed) Log: Set svn:eol-style property to 'native' (part 2)
[svn:parrot] r17085 - in trunk/docs: . art dev pdds pdds/draft req stm
Author: paultcochrane Date: Tue Feb 20 12:04:14 2007 New Revision: 17085 Modified: trunk/docs/BROKEN.pod (props changed) trunk/docs/art/pp001-intro.pod (props changed) trunk/docs/art/pp002-pmc.pod (props changed) trunk/docs/art/pp003-oop.pod (props changed) trunk/docs/dev/fhs.pod (props changed) trunk/docs/dev/optimizer.pod (props changed) trunk/docs/dev/pmc_object_design_meeting_notes.pod (props changed) trunk/docs/dev/wranglers.pod (props changed) trunk/docs/extend.pod (props changed) trunk/docs/optable.pod (props changed) trunk/docs/parrothist.pod (props changed) trunk/docs/pcc_state.pod (props changed) trunk/docs/req/model_users.pod (props changed) trunk/docs/roles_responsibilities.pod (props changed) trunk/docs/stability.pod (props changed) trunk/docs/stm/atomic.pod (props changed) trunk/docs/stm/howto.pod (props changed) trunk/docs/stm/internals.pod (props changed) trunk/docs/stm/stm_frontend.pod (props changed) trunk/docs/stm/thread-issues.pod (props changed) Changes in other areas also in this revision: Modified: trunk/docs/pdds/README (props changed) trunk/docs/pdds/draft/pdd19_pir.pod (props changed) trunk/docs/pdds/draft/pdd24_events.pod (props changed) trunk/docs/pdds/draft/pdd25_concurrency.pod (props changed) trunk/docs/pdds/draft/pddXX_cstruct.pod (props changed) trunk/docs/pdds/draft/pddXX_pmc.pod (props changed) trunk/docs/pdds/pdd22_io.pod (props changed) trunk/docs/pdds/pdd23_exceptions.pod (props changed) Log: Set svn:eol-style property to 'native' (part 2)
[svn:parrot] r17086 - trunk/cage
Author: paultcochrane Date: Tue Feb 20 12:04:32 2007 New Revision: 17086 Modified: trunk/cage/consting.pod (props changed) trunk/cage/todo.pod (props changed) Log: Set svn:eol-style property to 'native' (part 4)
[svn:parrot] r17087 - in trunk/tools: build dev docs util
Author: paultcochrane Date: Tue Feb 20 12:04:56 2007 New Revision: 17087 Modified: trunk/tools/build/headerize.pl (props changed) trunk/tools/build/revision_c.pl (props changed) trunk/tools/build/vtable_extend.pl (props changed) trunk/tools/dev/.gdbinit (props changed) trunk/tools/dev/gen_charset_tables.pl (props changed) trunk/tools/dev/gen_class.pl (props changed) trunk/tools/dev/mk_manifest_and_skip.pl (props changed) trunk/tools/dev/ops_not_tested.pl (props changed) trunk/tools/dev/ops_renum.mak (props changed) trunk/tools/dev/parrot_8.supp (props changed) trunk/tools/dev/src-t.sh (props changed) trunk/tools/dev/vms-patch (props changed) trunk/tools/docs/search-ops.py (props changed) trunk/tools/util/perltidy.conf (props changed) trunk/tools/util/pgegrep (props changed) trunk/tools/util/pirtidy.pl (props changed) trunk/tools/util/smokeserv-README.pod (props changed) trunk/tools/util/smokeserv-client.pl (props changed) trunk/tools/util/smokeserv-server.pl (props changed) Log: Set svn:eol-style property to 'native' (part 5)
[svn:parrot] r17088 - in trunk/ext/Parrot-Embed: . lib/Parrot t
Author: paultcochrane Date: Tue Feb 20 12:05:17 2007 New Revision: 17088 Modified: trunk/ext/Parrot-Embed/Build.PL (props changed) trunk/ext/Parrot-Embed/Changes (props changed) trunk/ext/Parrot-Embed/MANIFEST (props changed) trunk/ext/Parrot-Embed/README (props changed) trunk/ext/Parrot-Embed/TODO (props changed) trunk/ext/Parrot-Embed/lib/Parrot/Embed.pm (props changed) trunk/ext/Parrot-Embed/lib/Parrot/Embed.xs (props changed) trunk/ext/Parrot-Embed/lib/Parrot/Interpreter.pm (props changed) trunk/ext/Parrot-Embed/lib/Parrot/PMC.pm (props changed) trunk/ext/Parrot-Embed/t/greet.pir (props changed) trunk/ext/Parrot-Embed/t/interp.t (props changed) trunk/ext/Parrot-Embed/typemap (props changed) Log: Set svn:eol-style property to 'native' (part 6)
[svn:parrot] r17089 - in trunk/apps/p3: . cgi-pir
Author: paultcochrane Date: Tue Feb 20 12:05:45 2007 New Revision: 17089 Modified: trunk/apps/p3/README (props changed) trunk/apps/p3/cgi-pir/slides.pir (props changed) trunk/apps/p3/index.html (props changed) trunk/apps/p3/p3p.css (props changed) trunk/apps/p3/p3p.html (props changed) trunk/apps/p3/slides.js (props changed) Log: Set svn:eol-style property to 'native' (part 7)
[svn:parrot] r17090 - in trunk/lib: . File Parrot Parrot/Configure Parrot/Configure/Step Parrot/Docs/Section Parrot/PIR Parrot/Pmc2c Parrot/Test Perl/Critic/Policy/CodeLayout Perl/Critic/Policy/Testin
Author: paultcochrane Date: Tue Feb 20 12:06:55 2007 New Revision: 17090 Modified: trunk/lib/File/Which.pm (props changed) trunk/lib/Parrot/Config.pm (props changed) trunk/lib/Parrot/Configure/Data.pm (props changed) trunk/lib/Parrot/Configure/Step/Base.pm (props changed) trunk/lib/Parrot/Docs/Section/Compilers.pm (props changed) trunk/lib/Parrot/PIR/Formatter.pm (props changed) trunk/lib/Parrot/Pmc2c/Null.pm (props changed) trunk/lib/Parrot/Pmc2c/PMETHODs.pm (props changed) trunk/lib/Parrot/Pmc2c/Ref.pm (props changed) trunk/lib/Parrot/Pmc2c/SharedRef.pm (props changed) trunk/lib/Parrot/Pmc2c/Standard.pm (props changed) trunk/lib/Parrot/Pmc2c/StandardConst.pm (props changed) trunk/lib/Parrot/Pmc2c/StandardRO.pm (props changed) trunk/lib/Parrot/Pmc2c/StmRef.pm (props changed) trunk/lib/Parrot/Pmc2c/UtilFunctions.pm (props changed) trunk/lib/Parrot/Pmc2c/Utils.pm (props changed) trunk/lib/Parrot/Pmc2c/default.pm (props changed) trunk/lib/Parrot/Pmc2c/deleg_pmc.pm (props changed) trunk/lib/Parrot/Pmc2c/delegate.pm (props changed) trunk/lib/Parrot/Revision.pm (props changed) trunk/lib/Parrot/Test/APL.pm (props changed) trunk/lib/Parrot/Test/Cardinal.pm (props changed) trunk/lib/Parrot/Test/Harness.pm (props changed) trunk/lib/Parrot/Test/PIR_PGE.pm (props changed) trunk/lib/Parrot/Test/Perl6.pm (props changed) trunk/lib/Parrot/Test/Punie.pm (props changed) trunk/lib/Perl/Critic/Policy/CodeLayout/ProhibitDuplicateCoda.pm (props changed) trunk/lib/Perl/Critic/Policy/CodeLayout/ProhibitTrailingWhitespace.pm (props changed) trunk/lib/Perl/Critic/Policy/CodeLayout/UseParrotCoda.pm (props changed) trunk/lib/Perl/Critic/Policy/TestingAndDebugging/MisplacedShebang.pm (props changed) trunk/lib/Perl/Critic/Policy/TestingAndDebugging/ProhibitShebangWarningsArg.pm (props changed) trunk/lib/Perl/Critic/Policy/TestingAndDebugging/RequirePortableShebang.pm (props changed) trunk/lib/SmartLink.pm (props changed) Log: Set svn:eol-style property to 'native' (part 8)
[svn:parrot] r17091 - in trunk/include/parrot: . atomic stm
Author: paultcochrane Date: Tue Feb 20 12:07:17 2007 New Revision: 17091 Modified: trunk/include/parrot/atomic.h (props changed) trunk/include/parrot/atomic/fallback.h (props changed) trunk/include/parrot/atomic/gcc_pcc.h (props changed) trunk/include/parrot/atomic/gcc_x86.h (props changed) trunk/include/parrot/atomic/sparc.h (props changed) trunk/include/parrot/cclass.h (props changed) trunk/include/parrot/compiler.h (props changed) trunk/include/parrot/hll.h (props changed) trunk/include/parrot/inter_call.h (props changed) trunk/include/parrot/pic.h (props changed) trunk/include/parrot/stm/backend.h (props changed) trunk/include/parrot/thr_windows.h (props changed) Log: Set svn:eol-style property to 'native' (part 9)
[svn:parrot] r17092 - trunk/editor
Author: paultcochrane Date: Tue Feb 20 12:07:33 2007 New Revision: 17092 Modified: trunk/editor/indent_pir.vim (props changed) trunk/editor/pir.vim.in (props changed) trunk/editor/skeleton.pir (props changed) Log: Set svn:eol-style property to 'native' (part 10)
[svn:parrot] r17093 - in trunk/compilers: bcg/include bcg/src bcg/src/pmc bcg/t imcc json json/JSON past past-pm past-pm/PAST past-pm/POST past/PAST pge pge/PGE pge/PGE/pmc smop smop/t tge tge/TGE
Author: paultcochrane Date: Tue Feb 20 12:08:29 2007 New Revision: 17093 Modified: trunk/compilers/bcg/include/bcg.h (props changed) trunk/compilers/bcg/src/bcg.c (props changed) trunk/compilers/bcg/src/bcg_emitter.h (props changed) trunk/compilers/bcg/src/bcg_emitter_pasm.c (props changed) trunk/compilers/bcg/src/bcg_logger.c (props changed) trunk/compilers/bcg/src/bcg_logger.h (props changed) trunk/compilers/bcg/src/bcg_op.c (props changed) trunk/compilers/bcg/src/bcg_private.h (props changed) trunk/compilers/bcg/src/bcg_reg_alloc.h (props changed) trunk/compilers/bcg/src/bcg_reg_alloc_vanilla.c (props changed) trunk/compilers/bcg/src/bcg_unit.c (props changed) trunk/compilers/bcg/src/bcg_utils.c (props changed) trunk/compilers/bcg/src/bcg_utils.h (props changed) trunk/compilers/bcg/src/pmc/bcg.pmc (props changed) trunk/compilers/bcg/t/BCG.t (props changed) trunk/compilers/imcc/reg_alloc_bc.c (props changed) trunk/compilers/json/JSON.pir (props changed) trunk/compilers/json/JSON/grammar.pg (props changed) trunk/compilers/json/JSON/pge2pir.tg (props changed) trunk/compilers/json/postalcodes.pir (props changed) trunk/compilers/json/test.pir (props changed) trunk/compilers/past-pm/PAST-pm.pir (props changed) trunk/compilers/past-pm/PAST/Compiler.pir (props changed) trunk/compilers/past-pm/PAST/Node.pir (props changed) trunk/compilers/past-pm/POST/Compiler.pir (props changed) trunk/compilers/past-pm/POST/Grammar.tg (props changed) trunk/compilers/past-pm/POST/Node.pir (props changed) trunk/compilers/past-pm/README (props changed) trunk/compilers/past/Node.pir (props changed) trunk/compilers/past/PAST.pir (props changed) trunk/compilers/past/PAST/Code.pir (props changed) trunk/compilers/past/PAST/Exp.pir (props changed) trunk/compilers/past/PAST/Op.pir (props changed) trunk/compilers/past/PAST/Stmt.pir (props changed) trunk/compilers/past/PAST/Stmts.pir (props changed) trunk/compilers/past/PAST/Sub.pir (props changed) trunk/compilers/past/PAST/Val.pir (props changed) trunk/compilers/past/PAST/Var.pir (props changed) trunk/compilers/pge/P6Rule.grammar (props changed) trunk/compilers/pge/PGE.pir (props changed) trunk/compilers/pge/PGE/CodeString.pir (props changed) trunk/compilers/pge/PGE/Exp.pir (props changed) trunk/compilers/pge/PGE/Match.pir (props changed) trunk/compilers/pge/PGE/OPTable.pir (props changed) trunk/compilers/pge/PGE/P5Regex.pir (props changed) trunk/compilers/pge/PGE/P6Regex.pir (props changed) trunk/compilers/pge/PGE/Regex.pir (props changed) trunk/compilers/pge/PGE/builtins.pg (props changed) trunk/compilers/pge/PGE/pmc/codestring.pmc (props changed) trunk/compilers/pge/STATUS (props changed) trunk/compilers/pge/pgc.pir (props changed) trunk/compilers/smop/Attribute.pir (props changed) trunk/compilers/smop/Class.pir (props changed) trunk/compilers/smop/_accessor.pir (props changed) trunk/compilers/smop/t/class.t (props changed) trunk/compilers/smop/t/superclass.t (props changed) trunk/compilers/tge/README (props changed) trunk/compilers/tge/TGE.pir (props changed) trunk/compilers/tge/TGE/Compiler.pir (props changed) trunk/compilers/tge/TGE/Grammar.pir (props changed) trunk/compilers/tge/TGE/Parser.pg (props changed) trunk/compilers/tge/TGE/Rule.pir (props changed) trunk/compilers/tge/TGE/Tree.pir (props changed) trunk/compilers/tge/tgc.pir (props changed) Log: Set svn:eol-style property to 'native' (part 11)
[svn:parrot] r17094 - in trunk/t: . codingstd compilers/imcc/reg compilers/imcc/syn compilers/json compilers/past compilers/past-pm compilers/pge compilers/pge/p5regex compilers/pge/p6regex compilers/
Author: paultcochrane Date: Tue Feb 20 12:10:40 2007 New Revision: 17094 Modified: trunk/t/README (props changed) trunk/t/TESTS.STATUS.pod (props changed) trunk/t/codingstd/c_code_coda.t (props changed) trunk/t/codingstd/c_indent.t (props changed) trunk/t/codingstd/c_parens.t (props changed) trunk/t/codingstd/c_struct.t (props changed) trunk/t/codingstd/cuddled_else.t (props changed) trunk/t/codingstd/fixme.t (props changed) trunk/t/codingstd/gmt_utc.t (props changed) trunk/t/codingstd/line_endings.t (props changed) trunk/t/codingstd/linelength.t (props changed) trunk/t/codingstd/perlcritic.t (props changed) trunk/t/codingstd/tabs.t (props changed) trunk/t/codingstd/trailing_space.t (props changed) trunk/t/compilers/imcc/reg/alloc.t (props changed) trunk/t/compilers/imcc/syn/errors.t (props changed) trunk/t/compilers/imcc/syn/pasm.t (contents, props changed) trunk/t/compilers/json/from_parrot.t (props changed) trunk/t/compilers/json/to_parrot.t (props changed) trunk/t/compilers/past-pm/NoneGrammar.tg (props changed) trunk/t/compilers/past-pm/NoneParser.pg (props changed) trunk/t/compilers/past-pm/hllcompiler.t (props changed) trunk/t/compilers/past-pm/past.t (props changed) trunk/t/compilers/past-pm/post.t (props changed) trunk/t/compilers/past-pm/script.source (props changed) trunk/t/compilers/past/node.t (props changed) trunk/t/compilers/past/past.t (props changed) trunk/t/compilers/past/past_op.t (props changed) trunk/t/compilers/past/past_val.t (props changed) trunk/t/compilers/past/past_var.t (props changed) trunk/t/compilers/pge/01-codestring.t (props changed) trunk/t/compilers/pge/02-match.t (props changed) trunk/t/compilers/pge/03-optable.t (props changed) trunk/t/compilers/pge/06-grammar.t (props changed) trunk/t/compilers/pge/p5regex/p5rx.t (props changed) trunk/t/compilers/pge/p5regex/re_tests (props changed) trunk/t/compilers/pge/p6regex/01-regex.t (props changed) trunk/t/compilers/pge/p6regex/builtins.t (props changed) trunk/t/compilers/pge/p6regex/closure.t (props changed) trunk/t/compilers/pge/p6regex/context.t (props changed) trunk/t/compilers/pge/p6regex/rx_backtrack (props changed) trunk/t/compilers/pge/p6regex/rx_captures (props changed) trunk/t/compilers/pge/p6regex/rx_charclass (props changed) trunk/t/compilers/pge/p6regex/rx_lookarounds (props changed) trunk/t/compilers/pge/p6regex/rx_metachars (props changed) trunk/t/compilers/pge/p6regex/rx_modifiers (props changed) trunk/t/compilers/pge/p6regex/rx_subrules (props changed) trunk/t/compilers/pge/p6regex/subrules.t (props changed) trunk/t/compilers/pge/p6regex/syntax_errors.t (props changed) trunk/t/compilers/pge/p6regex/text_brk.t (props changed) trunk/t/compilers/pge/pge-hs.t (props changed) trunk/t/compilers/pge/pge_examples.t (props changed) trunk/t/compilers/pge/pge_globs.t (props changed) trunk/t/compilers/pge/pge_util.t (props changed) trunk/t/compilers/tge/basic.t (props changed) trunk/t/compilers/tge/grammar.t (props changed) trunk/t/compilers/tge/parser.t (props changed) trunk/t/configure/base.t (props changed) trunk/t/configure/config_steps.t (props changed) trunk/t/configure/configure.t (props changed) trunk/t/configure/data.t (props changed) trunk/t/configure/step.t (props changed) trunk/t/distro/file_metadata.t (props changed) trunk/t/distro/manifest_skip.t (props changed) trunk/t/distro/test_file_coverage.t (props changed) trunk/t/doc/opcode-doc.t (props changed) trunk/t/doc/pod.t (props changed) trunk/t/dynoplibs/dan.t (props changed) trunk/t/dynoplibs/myops.t (props changed) trunk/t/dynpmc/dynlexpad.t (props changed) trunk/t/dynpmc/quantumreg.t (props changed) trunk/t/dynpmc/sub.t (props changed) trunk/t/dynpmc/subclass_with_pir_method.t (props changed) trunk/t/examples/japh.t (props changed) trunk/t/examples/library.t (props changed) trunk/t/examples/namespace.t (props changed) trunk/t/examples/pasm.t (props changed) trunk/t/examples/past.t (props changed) trunk/t/examples/pir.t (props changed) trunk/t/examples/shootout.t (props changed) trunk/t/examples/streams.t (props changed) trunk/t/examples/subs.t (props changed) trunk/t/library/File_Spec.t (props changed) trunk/t/library/cgi_query_hash.t (props changed) trunk/t/library/coroutine.t (contents, props changed) trunk/t/library/data_escape.t (props changed) trunk/t/library/getopt_obj.t (props changed) trunk/t/library/iter.t (props changed) trunk/t/library/mime_base64.t (props changed) trunk/t/library/perlhist.txt (props changed) trunk/t/library/pg.t (props changed) trunk/t/library/test_builder_tester.t (props
[svn:parrot] r17095 - in trunk/config: auto auto/cpu/i386 auto/cpu/ppc auto/cpu/sun4 auto/cpu/x86_64 auto/msvc auto/readline auto/va_ptr gen gen/makefiles gen/platform/cygwin gen/platform/netbsd gen/p
Author: paultcochrane Date: Tue Feb 20 12:11:27 2007 New Revision: 17095 Modified: trunk/config/auto/cpu.pm (props changed) trunk/config/auto/cpu/i386/auto.pm (props changed) trunk/config/auto/cpu/i386/test_gcc_cmpxchg.in (props changed) trunk/config/auto/cpu/ppc/auto.pm (props changed) trunk/config/auto/cpu/ppc/test_gcc_cmpset.in (props changed) trunk/config/auto/cpu/sun4/auto.pm (props changed) trunk/config/auto/cpu/sun4/test_atomic.in (props changed) trunk/config/auto/cpu/x86_64/auto.pm (props changed) trunk/config/auto/m4.pm (props changed) trunk/config/auto/msvc.pm (props changed) trunk/config/auto/msvc/test_c.in (props changed) trunk/config/auto/readline.pm (props changed) trunk/config/auto/readline/readline.in (props changed) trunk/config/auto/va_ptr.pm (props changed) trunk/config/auto/va_ptr/test_c.in (props changed) trunk/config/gen/PodText.pm (props changed) trunk/config/gen/makefiles/editor.in (props changed) trunk/config/gen/makefiles/ext.in (props changed) trunk/config/gen/makefiles/json.in (props changed) trunk/config/gen/makefiles/parrot_embed.in (props changed) trunk/config/gen/makefiles/past-pm.in (props changed) trunk/config/gen/makefiles/past.in (props changed) trunk/config/gen/makefiles/tge.in (props changed) trunk/config/gen/platform/cygwin/math.c (props changed) trunk/config/gen/platform/netbsd/math.c (props changed) trunk/config/gen/platform/openbsd/math.c (props changed) trunk/config/gen/platform/solaris/math.c (props changed) trunk/config/gen/platform/win32/threads.h (props changed) trunk/config/gen/revision.pm (props changed) trunk/config/init/hints/netbsd.pm (props changed) trunk/config/init/install.pm (props changed) trunk/config/inter/lex.pm (props changed) trunk/config/inter/libparrot.pm (props changed) trunk/config/inter/make.pm (props changed) trunk/config/inter/shlibs.pm (props changed) trunk/config/inter/yacc.pm (props changed) Log: Set svn:eol-style property to 'native' (part 13)
[svn:parrot] r17096 - in trunk/languages: APL APL/config/makefiles APL/lib APL/src APL/src/pmc APL/t APL/tools BASIC/compiler/samples HQ9plus HQ9plus/lib/Parrot/Test HQ9plus/t PIR PIR/docs PIR/example
Author: paultcochrane Date: Tue Feb 20 12:20:48 2007 New Revision: 17096 Modified: trunk/languages/APL/APL.pir (props changed) trunk/languages/APL/README (props changed) trunk/languages/APL/STATUS (props changed) trunk/languages/APL/config/makefiles/root.in (props changed) trunk/languages/APL/demo.apl (props changed) trunk/languages/APL/lib/PAST.pir (props changed) trunk/languages/APL/lib/past2pir.tg (props changed) trunk/languages/APL/lib/pasteval.tg (props changed) trunk/languages/APL/lib/pge2past.tg (props changed) trunk/languages/APL/src/APLGrammar.pg (props changed) trunk/languages/APL/src/parse2past.tg (props changed) trunk/languages/APL/src/pmc/aplvector.pmc (props changed) trunk/languages/APL/t/APL.pm (props changed) trunk/languages/APL/t/characters.t (props changed) trunk/languages/APL/t/dyadic.t (props changed) trunk/languages/APL/t/harness (props changed) trunk/languages/APL/t/index.t (props changed) trunk/languages/APL/t/jaah.t (props changed) trunk/languages/APL/t/monadic.t (props changed) trunk/languages/APL/t/numbers.t (props changed) trunk/languages/APL/t/pmc_aplvector.t (props changed) trunk/languages/APL/t/specification.t (props changed) trunk/languages/APL/t/vector.t (props changed) trunk/languages/APL/tools/gen_operator_defs.pl (props changed) trunk/languages/BASIC/compiler/samples/count_to_100.bas (props changed) trunk/languages/HQ9plus/README (props changed) trunk/languages/HQ9plus/lib/Parrot/Test/HQ9plus.pm (props changed) trunk/languages/HQ9plus/t/basic.t (props changed) trunk/languages/HQ9plus/t/harness (props changed) trunk/languages/PIR/PROPOSALS (props changed) trunk/languages/PIR/README (props changed) trunk/languages/PIR/ROADMAP.pod (props changed) trunk/languages/PIR/TODO (props changed) trunk/languages/PIR/docs/pirgrammar.html (props changed) trunk/languages/PIR/docs/pirgrammar.pod (props changed) trunk/languages/PIR/examples/hllmap.pir (props changed) trunk/languages/PIR/examples/macro2.pir (props changed) trunk/languages/PIR/t/assign.t (props changed) trunk/languages/PIR/t/branch.t (props changed) trunk/languages/PIR/t/call.t (props changed) trunk/languages/PIR/t/compunit.t (props changed) trunk/languages/PIR/t/exotic.t (props changed) trunk/languages/PIR/t/harness (props changed) trunk/languages/PIR/t/macro.t (props changed) trunk/languages/PIR/t/pirstat.t (props changed) trunk/languages/PIR/t/sub.t (props changed) trunk/languages/PIR/t/sym.t (props changed) trunk/languages/PIR/t/whitespace.t (props changed) trunk/languages/WMLScript/build/SRM/Register.pm (props changed) trunk/languages/WMLScript/build/SRM/Stack.pm (props changed) trunk/languages/WMLScript/build/stdlibs.pl (props changed) trunk/languages/WMLScript/build/translator.pl (props changed) trunk/languages/WMLScript/config/makefiles/root.in (props changed) trunk/languages/WMLScript/doc/running.pod (props changed) trunk/languages/WMLScript/doc/status.pod (props changed) trunk/languages/WMLScript/ops/wmls.ops (props changed) trunk/languages/WMLScript/pmc/wmlsboolean.pmc (props changed) trunk/languages/WMLScript/pmc/wmlsbytecode.pmc (props changed) trunk/languages/WMLScript/pmc/wmlsfloat.pmc (props changed) trunk/languages/WMLScript/pmc/wmlsinteger.pmc (props changed) trunk/languages/WMLScript/pmc/wmlsinvalid.pmc (props changed) trunk/languages/WMLScript/pmc/wmlsstring.pmc (props changed) trunk/languages/WMLScript/runtime/wmlsconsole.pir (props changed) trunk/languages/WMLScript/runtime/wmlsfloat.pir (props changed) trunk/languages/WMLScript/runtime/wmlslang.pir (props changed) trunk/languages/WMLScript/runtime/wmlsstring.pir (props changed) trunk/languages/WMLScript/src/WMLScript.pir (props changed) trunk/languages/WMLScript/src/script.pir (props changed) trunk/languages/WMLScript/src/translation.rules (props changed) trunk/languages/WMLScript/src/wmlslibs.cfg (props changed) trunk/languages/WMLScript/src/wmlsstdlibs.pir (props changed) trunk/languages/WMLScript/t/Parrot/Test/WMLScript.pm (props changed) trunk/languages/WMLScript/t/boolean.t (props changed) trunk/languages/WMLScript/t/examples.t (props changed) trunk/languages/WMLScript/t/expr.t (props changed) trunk/languages/WMLScript/t/float.t (props changed) trunk/languages/WMLScript/t/functions.t (props changed) trunk/languages/WMLScript/t/harness (props changed) trunk/languages/WMLScript/t/integer.t (props changed) trunk/languages/WMLScript/t/invalid.t (props changed) trunk/languages/WMLScript/t/lang.t (props changed) trunk/languages/WMLScript/t/libfloat.t (props changed) trunk/languages/WMLScript/t/libstring.t (props changed)
[svn:parrot] r17097 - trunk/t/pmc
Author: jisom Date: Tue Feb 20 12:22:28 2007 New Revision: 17097 Modified: trunk/t/pmc/io.t Log: Test that readline on a file without a final newline works properly. Modified: trunk/t/pmc/io.t == --- trunk/t/pmc/io.t(original) +++ trunk/t/pmc/io.tTue Feb 20 12:22:28 2007 @@ -6,7 +6,7 @@ use warnings; use lib qw( . lib ../lib ../../lib ); use Test::More; -use Parrot::Test tests = 44; +use Parrot::Test tests = 45; =head1 NAME @@ -246,6 +246,22 @@ 2 OUTPUT +open $FOO, '', temp.file or die can't open 'temp.file': $!; +print $FOO 12\n34; +close $FOO; +pasm_output_is( 'CODE', 'OUTPUT', open and readline, no final newline ); +open P0, temp.file +set S0, +set S1, +readline S0, P0 +readline S1, P0 +print S1 +print S0 +end +CODE +3412 +OUTPUT + open $FOO, '', temp.file;# Clobber previous contents close $FOO;
[svn:parrot] r17099 - trunk
Author: paultcochrane Date: Tue Feb 20 12:23:39 2007 New Revision: 17099 Modified: trunk/DEPRECATED.pod (props changed) trunk/META.yml (props changed) Log: Set svn:eol-style property to 'native' (part 16)
[svn:parrot] r17100 - in trunk/languages/lua: . src
Author: paultcochrane Date: Tue Feb 20 12:25:20 2007 New Revision: 17100 Modified: trunk/languages/lua/luac.pir (props changed) trunk/languages/lua/src/lua.pir (props changed) Log: Set svn:eol-style property to 'native' (part 17)
[svn:parrot] r17101 - trunk/languages/lua/src
Author: paultcochrane Date: Tue Feb 20 12:26:16 2007 New Revision: 17101 Modified: trunk/languages/lua/src/lua.pir (props changed) Log: [lua] Set svn:keywords property
[svn:parrot] r17102 - in trunk/languages/lua: . src
Author: paultcochrane Date: Tue Feb 20 12:27:01 2007 New Revision: 17102 Modified: trunk/languages/lua/luac.pir (props changed) trunk/languages/lua/src/lua.pir (props changed) Log: Set svn:eol-style property to 'native' (part 18)
[svn:parrot] r17103 - trunk/src/io
Author: chromatic Date: Tue Feb 20 12:34:52 2007 New Revision: 17103 Modified: trunk/src/io/io_buf.c Log: Fix for RT #41538. See also r17097 for a test case. Modified: trunk/src/io/io_buf.c == --- trunk/src/io/io_buf.c (original) +++ trunk/src/io/io_buf.c Tue Feb 20 12:34:52 2007 @@ -557,7 +557,7 @@ } buf_start = b-next; -for (l = 0; ; ) { +for (l = 0; b-next b-endb; ) { l++; if (IS_EOL(io, b-next++)) { break;
[svn:parrot] r17104 - in trunk: . config/gen/makefiles config/init ext/Parrot-Embed/tools
Author: chromatic Date: Tue Feb 20 13:19:53 2007 New Revision: 17104 Added: trunk/ext/Parrot-Embed/tools/ trunk/ext/Parrot-Embed/tools/write_typemap.pl Modified: trunk/MANIFEST trunk/config/gen/makefiles/parrot_embed.in trunk/config/init/defaults.pm Log: [Parrot::Embed] More Makefile fixes in the hopes that Win32 builds work now. Modified: trunk/MANIFEST == --- trunk/MANIFEST (original) +++ trunk/MANIFEST Tue Feb 20 13:19:53 2007 @@ -713,6 +713,7 @@ ext/Parrot-Embed/lib/Parrot/PMC.pm [] ext/Parrot-Embed/t/greet.pir[] ext/Parrot-Embed/t/interp.t [] +ext/Parrot-Embed/tools/write_typemap.pl [] ext/Parrot-Embed/typemap[] include/parrot/atomic.h [main]include include/parrot/atomic/fallback.h[main]include Modified: trunk/config/gen/makefiles/parrot_embed.in == --- trunk/config/gen/makefiles/parrot_embed.in (original) +++ trunk/config/gen/makefiles/parrot_embed.in Tue Feb 20 13:19:53 2007 @@ -7,19 +7,20 @@ MKPATH = @mkpath@ CP = @cp@ PERL= @perl@ -PERL_INC = $(shell $(PERL) -MConfig -e print \$$Config::Config{archlib})/CORE -PERL_TYPEMAP= $(shell $(PERL) -MExtUtils::MakeMaker -e \$$_ = \$$INC{\ExtUtils/MakeMaker.pm\}; s/MakeMaker.pm/typemap/; print) PARROT = ../../parrot$(EXE) # compilation options +#CONDITIONED_LINE(win32):LIB_PREFIX := ../../ +#INVERSE_CONDITIONED_LINE(win32):LIB_PREFIX = +A = @a@ O = @o@ SHARE_EXT = @share_ext@ C_LIBS = @libs@ -ALL_PARROT_LIBS = @libparrot_ldflags@ $(ICU_SHARED) $(C_LIBS) +ALL_PARROT_LIBS = $(LIB_PREFIX)@libparrot_ldflags@ $(ICU_SHARED) $(C_LIBS) LINKFLAGS = @linkflags@ @link_debug@ @ld_debug@ LINK= @link@ LD_SHARE_FLAGS = @ld_share_flags@ -CC_INC = -I$(PERL_INC) -I../../include +CC_INC = [EMAIL PROTECTED]@ -I../../include CFLAGS = $(CC_INC) @ccflags@ @cc_debug@ @ccwarn@ @cc_hasjit@ @cg_flag@ @gc_flag@ $(CC_SHARED) # files needing compilation @@ -42,10 +43,10 @@ $(SO_FILE) : $(O_FILE) $(MKPATH) blib/arch/auto/Parrot/Embed - $(LINK) $(LD_SHARE_FLAGS) -o $(SO_FILE) $(O_FILE) @rpath_blib@ $(ALL_PARROT_LIBS) $(LINKFLAGS) + $(LINK) $(LD_SHARE_FLAGS) @[EMAIL PROTECTED]@ $(SO_FILE) $(O_FILE) @rpath_blib@ $(ALL_PARROT_LIBS) $(LINKFLAGS) $(C_FILE) : lib/Parrot/Embed.xs - ( cd lib/Parrot; xsubpp -prototypes -typemap $(PERL_TYPEMAP) -typemap ../../typemap Embed.xs Embed.c ) + $(PERL) tools/write_typemap.pl $(PBC) : t/greet.pir $(PARROT) -o $(PBC) t/greet.pir @@ -53,5 +54,5 @@ test : $(TEST_FILES) prove -b $(TEST_FILES) -clean : +clean : $(RM_RF) blib $(C_FILE) $(O_FILE) Modified: trunk/config/init/defaults.pm == --- trunk/config/init/defaults.pm (original) +++ trunk/config/init/defaults.pm Tue Feb 20 13:19:53 2007 @@ -23,6 +23,7 @@ use FindBin;# see build_dir use Parrot::Configure::Step; use Cwd qw(abs_path); +use File::Spec; $description = q{Setting up Configure's default values}; @@ -135,6 +136,7 @@ libparrot_soname = '', perl = $^X, +perl_inc = $self-find_perl_headers(), test_prog = 'parrot', rm_f = '$(PERL) -MExtUtils::Command -e rm_f', rm_rf = '$(PERL) -MExtUtils::Command -e rm_rf', @@ -228,6 +230,11 @@ return $self; } +sub find_perl_headers { +my $self = shift; +return File::Spec-catdir( $Config::Config{archlib}, 'CORE' ); +} + 1; # Local Variables: Added: trunk/ext/Parrot-Embed/tools/write_typemap.pl == --- (empty file) +++ trunk/ext/Parrot-Embed/tools/write_typemap.pl Tue Feb 20 13:19:53 2007 @@ -0,0 +1,17 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use File::Spec::Functions; +use ExtUtils::MakeMaker; + +chdir( catdir( qw( lib Parrot ) ) ); +my $custom_typemap = catfile( qw( .. .. typemap ) ); + +(my $perl_typemap = $INC{'ExtUtils/MakeMaker.pm'} ) =~ s/MakeMaker.pm/typemap/; + +my $c_file = qx/xsubpp -prototypes -typemap $perl_typemap -typemap $custom_typemap Embed.xs/; +open( my $file, '', 'Embed.c' ) or die Cannot write Embed.c\n; +print { $file } $c_file; +close $file;
[svn:parrot] r17106 - in trunk: . t/pmc
Author: particle Date: Tue Feb 20 17:25:43 2007 New Revision: 17106 Added: trunk/t/pmc/parrotrunningthread.t (contents, props changed) trunk/t/pmc/stmlog.t (contents, props changed) trunk/t/pmc/stmref.t (contents, props changed) trunk/t/pmc/stmvar.t (contents, props changed) Modified: trunk/MANIFEST Log: [t]: add test files for untested pmcs Modified: trunk/MANIFEST == --- trunk/MANIFEST (original) +++ trunk/MANIFEST Tue Feb 20 17:25:43 2007 @@ -2839,6 +2839,7 @@ t/pmc/parrotio.t[] t/pmc/parrotlibrary.t [] t/pmc/parrotobject.t[] +t/pmc/parrotrunningthread.t [] t/pmc/parrotthread.t[] t/pmc/pmc.t [] t/pmc/pmethod_test.t[] @@ -2858,6 +2859,9 @@ t/pmc/sharedref.t [] t/pmc/signal.t [] t/pmc/slice.t [] +t/pmc/stmlog.t [] +t/pmc/stmref.t [] +t/pmc/stmvar.t [] t/pmc/string.t [] t/pmc/sub.t [] t/pmc/super.t [] Added: trunk/t/pmc/parrotrunningthread.t == --- (empty file) +++ trunk/t/pmc/parrotrunningthread.t Tue Feb 20 17:25:43 2007 @@ -0,0 +1,40 @@ +#!perl +# Copyright (C) 2007, The Perl Foundation. +# $Id$ + +use strict; +use warnings; +use lib qw( . lib ../lib ../../lib ); +use Test::More; +use Parrot::Test tests = 1; + +=head1 NAME + +t/pmc/parrotrunningthread.t - test the ParrotRunningThread PMC + + +=head1 SYNOPSIS + +% prove t/pmc/parrotrunningthread.t + +=head1 DESCRIPTION + +Tests the ParrotRunningThread PMC. + +=cut + +pir_output_is( 'CODE', 'OUT', 'new' ); +.sub 'test' :main +new P0, .ParrotRunningThread +print ok 1\n +.end +CODE +ok 1 +OUT + +# Local Variables: +# mode: cperl +# cperl-indent-level: 4 +# fill-column: 100 +# End: +# vim: expandtab shiftwidth=4: Added: trunk/t/pmc/stmlog.t == --- (empty file) +++ trunk/t/pmc/stmlog.tTue Feb 20 17:25:43 2007 @@ -0,0 +1,40 @@ +#!perl +# Copyright (C) 2007, The Perl Foundation. +# $Id$ + +use strict; +use warnings; +use lib qw( . lib ../lib ../../lib ); +use Test::More; +use Parrot::Test tests = 1; + +=head1 NAME + +t/pmc/stmlog.t - test the STMLog PMC + + +=head1 SYNOPSIS + +% prove t/pmc/stmlog.t + +=head1 DESCRIPTION + +Tests the STMLog PMC. + +=cut + +pir_output_is( 'CODE', 'OUT', 'new' ); +.sub 'test' :main +new P0, .STMLog +print ok 1\n +.end +CODE +ok 1 +OUT + +# Local Variables: +# mode: cperl +# cperl-indent-level: 4 +# fill-column: 100 +# End: +# vim: expandtab shiftwidth=4: Added: trunk/t/pmc/stmref.t == --- (empty file) +++ trunk/t/pmc/stmref.tTue Feb 20 17:25:43 2007 @@ -0,0 +1,40 @@ +#!perl +# Copyright (C) 2007, The Perl Foundation. +# $Id$ + +use strict; +use warnings; +use lib qw( . lib ../lib ../../lib ); +use Test::More; +use Parrot::Test tests = 1; + +=head1 NAME + +t/pmc/stmref.t - test the STMRef PMC + + +=head1 SYNOPSIS + +% prove t/pmc/stmref.t + +=head1 DESCRIPTION + +Tests the STMRef PMC. + +=cut + +pir_output_is( 'CODE', 'OUT', 'new' ); +.sub 'test' :main +new P0, .STMRef +print ok 1\n +.end +CODE +ok 1 +OUT + +# Local Variables: +# mode: cperl +# cperl-indent-level: 4 +# fill-column: 100 +# End: +# vim: expandtab shiftwidth=4: Added: trunk/t/pmc/stmvar.t == --- (empty file) +++ trunk/t/pmc/stmvar.tTue Feb 20 17:25:43 2007 @@ -0,0 +1,40 @@ +#!perl +# Copyright (C) 2007, The Perl Foundation. +# $Id$ + +use strict; +use warnings; +use lib qw( . lib ../lib ../../lib ); +use Test::More; +use Parrot::Test tests = 1; + +=head1 NAME + +t/pmc/stmvar.t - test the STMVar PMC + + +=head1 SYNOPSIS + +% prove t/pmc/stmvar.t + +=head1 DESCRIPTION + +Tests the STMVar PMC. + +=cut + +pir_output_is( 'CODE', 'OUT', 'new' ); +.sub 'test' :main +new P0, .STMVar +print ok 1\n +.end +CODE +ok 1 +OUT + +# Local Variables: +# mode: cperl +# cperl-indent-level: 4 +# fill-column: 100 +# End: +# vim: expandtab shiftwidth=4:
[svn:parrot] r17107 - trunk/src/stm
Author: particle Date: Tue Feb 20 19:01:12 2007 New Revision: 17107 Modified: trunk/src/stm/backend.c Log: [stm]: don't access a null pointer Modified: trunk/src/stm/backend.c == --- trunk/src/stm/backend.c (original) +++ trunk/src/stm/backend.c Tue Feb 20 19:01:12 2007 @@ -1338,6 +1338,9 @@ void Parrot_STM_destroy_extracted(Interp *interp, void *saved_log_data) { STM_saved_tx_log *saved; +if (saved_log_data == NULL) +return; + saved = saved_log_data; mem_sys_free(saved-reads); mem_sys_free(saved-writes);
[svn:parrot] r17108 - tags/buildtools-17107
Author: jkeenan Date: Tue Feb 20 20:28:08 2007 New Revision: 17108 Added: tags/buildtools-17107/ - copied from r17107, /trunk/ Log: Tagging most recent point in trunk so that buildtools branch can be synched to it.
[svn:parrot] r17109 - tags/buildtools-17001
Author: jkeenan Date: Tue Feb 20 20:43:30 2007 New Revision: 17109 Removed: tags/buildtools-17001/ Log: Deleting obsolete tag in buildtools branch.
[svn:parrot] r17111 - tags/buildtools-17048
Author: jkeenan Date: Tue Feb 20 21:17:40 2007 New Revision: 17111 Removed: tags/buildtools-17048/ Log: Deleting obsolete tag in buildtools branch.