Permalink
Browse files

Merge branch 'threads' into gh798_embed_api_green_threads

  • Loading branch information...
2 parents 5ee91fa + d215d68 commit 12b8d90c763cdf5c5f1fd4d9262a8c8c0f158046 @niner niner committed Jul 15, 2012
Showing 361 changed files with 12,345 additions and 11,352 deletions.
View
@@ -455,6 +455,7 @@ cachegrind.out.*
/t/tools/pmc2c.*.h
/t/tools/pmc2c.*.pmc
/tools/dev/mk_language_shell.pl
+/tools/dev/pbc_to_exe.pir
/*.gcda
/*.gcno
/*.gcov
View
14 CREDITS
@@ -1,5 +1,3 @@
-=pod
-
Following in the steps of other open source projects that
eventually take over the world, here is the partial list
@@ -78,7 +76,7 @@ U: allison
N: Alvis Yardley
D: Documentation Shepherd (3.9.0 - Present)
-D: Release manger for 4.1.0
+D: Release manger for 4.1.0 and 4.5.0
E: ac.yardley@gmail.com
U: alvis
S: Ft. Worth, Texas
@@ -112,9 +110,10 @@ D: typo squisher
E: yDNA@cpan.org
N: Andrew Whitworth
+D: Product Manager (2.9.0 - current)
D: Internals development
D: Documentation
-D: Release manager for 0.8.2, 1.3.0, 1.5.0, 2.4.0, 2.11.0, 3.3.0, 3.10.0 and 4.0.0
+D: Release manager for 0.8.2, 1.3.0, 1.5.0, 2.4.0, 2.11.0, 3.3.0, 3.10.0, 4.0.0 and 4.4.0
E: wknight8111@gmail.com
U: Whiteknight
@@ -516,6 +515,7 @@ D: various Pynie patches
N: James E Keenan
E: jkeenan@cpan.org
U: jkeenan
+A: kid51
D: Testing of configuration and build tools; release manager
W: http://thenceforward.net/parrot/
S: Brooklyn, NY, USA
@@ -696,7 +696,7 @@ D: clean-ups of compilers/imcc and its documentation.
D: compilers/pirc and languages/PIR.
D: various updates to PCT-based languages (C99,Punie,Cardinal,Ecmascript)
D: languages/json, languages/squaak
-U: kj, kjs
+U: kjs
E: parrotcode@gmail.com
N: Klāvs Priedītis
@@ -1213,4 +1213,6 @@ N: svn
U: svn
E: svn@perl.org
-=cut
+N: Bart Wiegmans
+E: bartwiegmans@gmail.com
+D: mod_parrot
View
@@ -1,3 +1,41 @@
+2012-07-XX release 4.6.0
+ - Core
+ - Documentation
+ - Tests
+ - Community
+
+2012-06-19 release 4.5.0
+ - Core
+ + Added .write_bytes and .read_bytes methods to FileHandle and Socket
+ PMCs.
+ + Added Parrot_api_set_stdhandle, Parrot_api_new_call_object and
+ Parrot_api_setup_signature functions to the embedding API
+ + Removed the "can" VTABLE
+ - Languages
+ + Winxed snapshot updated to 1.9.1
+ - New syntax for parameters in multi
+ - New syntax for initalization with new
+ - Cast to var improved
+ - IMCC
+ + Removed .line, .file, setline and setfile directives from IMCC
+ - Documentation
+ + Fixed up Pod in 240 files to pass 't/codingstd/pod_description.t'.
+ - Tests
+ + Added 'docs/pdds' and 'docs/pdds/draft' as files for
+ 'Parrot::Test::Pod.pm' to exclude.
+ - Build
+ + Reduced number of packages under 'lib/Parrot/Pmc2c/'.
+ + Added method-level documentation to several of the remaining packages.
+ + Added 'docs/pdds' and 'docs/pdds/draft' as files for
+ 'Parrot::Test::Pod.pm' to exclude.
+ - Community
+ + M1, a C-like language that targets M0 had a burst of development
+ and now has many working examples such as recursive Fibonacci and
+ recursive factorial : https://github.com/parrot/m1
+ + Parrot bindings to LAPACK are being worked on as part of Google
+ Summer of Code: https://github.com/leto/parrot-lapack
+
+
2012-05-15 release 4.4.0
- Core
+ Most internal calls to libc exit(x) have been replaced with
View
@@ -4,10 +4,10 @@
DONORS
-=head1 DONORS
+=head1 DESCRIPTION
-We would like to thank the following people and institutions,
-whose financial contributions help support the development of Parrot.
+We want to thank the following people and institutions, whose financial
+contributions help to support the development of Parrot.
=over 4
View
@@ -1018,13 +1018,10 @@ lib/Parrot/IO/File.pm [devel]lib
lib/Parrot/IO/Path.pm [devel]lib
lib/Parrot/Install.pm [devel]lib
lib/Parrot/Manifest.pm [devel]lib
-lib/Parrot/Pmc2c/Attribute.pm [devel]lib
lib/Parrot/Pmc2c/Dumper.pm [devel]lib
lib/Parrot/Pmc2c/Emitter.pm [devel]lib
lib/Parrot/Pmc2c/Library.pm [devel]lib
-lib/Parrot/Pmc2c/MULTI.pm [devel]lib
lib/Parrot/Pmc2c/Method.pm [devel]lib
-lib/Parrot/Pmc2c/Object.pm [devel]lib
lib/Parrot/Pmc2c/PCCMETHOD.pm [devel]lib
lib/Parrot/Pmc2c/PMC.pm [devel]lib
lib/Parrot/Pmc2c/PMC/Null.pm [devel]lib
@@ -1276,7 +1273,6 @@ src/libnci_test.def []
src/library.c []
src/list.c []
src/longopt.c []
-src/misc.c []
src/multidispatch.c []
src/namespace.c []
src/nci/api.c []
@@ -1454,8 +1450,6 @@ src/runcore/profiling.c []
src/runcore/subprof.c []
src/runcore/trace.c []
src/scheduler.c []
-src/spf_render.c []
-src/spf_vtable.c []
src/string/api.c []
src/string/encoding.c []
src/string/encoding/ascii.c []
@@ -1471,6 +1465,10 @@ src/string/encoding/ucs4.c []
src/string/encoding/unicode.h []
src/string/encoding/utf16.c []
src/string/encoding/utf8.c []
+src/string/spf_private.h []
+src/string/spf_render.c []
+src/string/spf_vtable.c []
+src/string/sprintf.c []
src/sub.c []
src/thread.c []
src/utils.c []
@@ -2200,7 +2198,7 @@ tools/dev/parrot_fuzzer.py []
tools/dev/parrot_shell.pl []
tools/dev/parrotbench.pl []
tools/dev/pbc_header.pl []
-tools/dev/pbc_to_exe.pir [devel]
+tools/dev/pbc_to_exe.winxed []
tools/dev/perlcritic-cage.conf []
tools/dev/perlcritic.conf []
tools/dev/perltidy.conf []
View
@@ -1018,6 +1018,8 @@
^/test\.pdb/
^/tools/dev/mk_language_shell\.pl$
^/tools/dev/mk_language_shell\.pl/
+^/tools/dev/pbc_to_exe\.pir$
+^/tools/dev/pbc_to_exe\.pir/
^/vc60\.pdb$
^/vc60\.pdb/
^/vc70\.pdb$
View
@@ -2,14 +2,14 @@
# 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.4.3.0.dylib [main]lib
+blib/lib/libparrot.4.5.0.dylib [main]lib
blib/lib/libparrot.a [main]lib
blib/lib/libparrot.dylib [main]lib
blib/lib/libparrot.so [main]lib
-blib/lib/libparrot.so.4.3.0 [main]lib
+blib/lib/libparrot.so.4.5.0 [main]lib
compilers/data_json/data_json.pbc [data_json]
config/gen/call_list/opengl.in []
-cygparrot-4.3.0.dll [main]bin
+cygparrot-4.5.0.dll [main]bin
docs/ops/bit.pod [doc]
docs/ops/cmp.pod [doc]
docs/ops/core.pod [doc]
View
@@ -4,7 +4,7 @@
=head1 NAME
-README.pod - Readme to Parrot, version 4.3.0.
+README.pod - Readme to Parrot, version 4.5.0.
=head1 DESCRIPTION
View
@@ -4,10 +4,10 @@ This file is best viewed with "perldoc README.cygwin".
README.cygwin - Parrot under Cygwin
-=head1 SYNOPSIS
+=head1 DESCRIPTION
-Parrot builds out of the box under Cygwin,
-when no other parrot is installed. See below at PROBLEMS.
+Parrot builds out of the box under Cygwin, when no other parrot is installed.
+I<See> PROBLEMS below.
There are official cygwin parrot packages available via
L<http://cygwin.com/setup.exe>.
@@ -127,6 +127,11 @@ This is a known cygwin problem with dll's, esp. perl on non-XP 32bit platforms.
You need to install the C<rebase> package and run C<rebaseall> from an C<ash>
shell.
+For more information regarding this problem, I<see>
+http://www.cygwin.com/ml/cygwin/2009-05/msg00413.html;
+http://www.heikkitoivonen.net/blog/2008/11/26/cygwin-upgrades-and-rebaseall/;
+I<and see> http://code.google.com/p/chromium/wiki/CygwinDllRemappingFailure.
+
=item Crash at miniparrot.exe config_lib.pasm
Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross your
@@ -152,6 +157,22 @@ F</usr/lib/libparrot.dll.a>, F</usr/local/lib/libparrot.dll.a>
This is a known Windows limitation with NTFS junctions on files.
+=item Exception: STATUS_ACCESS_VIOLATION ....
+
+If this exception results, ensure there is only one version of the
+C<cygwin1.dll> present on your system or, alternatively, ensure no other
+application interferes with Cygwin. For more information on this problem,
+I<see> the Cygwin/X FAQ at
+http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-status-access-violation
+I<and see> the main Cygwin FAQ at
+http://cygwin.com/faq-nochunks.html#faq.using.bloda
+
+=item build aborts
+
+If the build aborts, it may be necessary to include already built DLLs in the
+rebase. For instructions on how to accomplish this, I<see> the "PROBLEMS"
+section at http://cpansearch.perl.org/src/BFREE/OpenGL-0.57/README.cygwin
+
=back
=head1 TODO
View
@@ -1 +1 @@
-4.3.0
+4.5.0
View
@@ -634,3 +634,11 @@
tags :
- experimental
ticket : 'https://github.com/parrot/parrot/issues/767'
+
+ name : 'write_bytes and read_bytes methods'
+ note :
+ The .write_bytes and .read_bytes methods for the Handle PMC (inherited
+ by FileHandle and Socket, currently) are new and experimental.
+ tags :
+ - experimental
+ ticket : 'https://github.com/parrot/parrot/issues/610'
@@ -3,16 +3,14 @@
# This is the start to rewrite JSON. It starts with rewriting data_json only.
# data_json depends on the PGE. The rewrite use parrot-nqp.
-
=head1 NAME
JSON, a lightweight data-interchange format.
-=head1 SYNOPSIS
+=head1 DESCRIPTION
-The C<from_json> method return a PMC that containing the data structure
-for a given valid JSON (JavaScript Object Notation) string.
-For example:
+The C<from_json> method return a PMC that contains the data structure for
+a given valid JSON (JavaScript Object Notation) string. For example:
.sub 'main' :main
.local pmc result
@@ -4,7 +4,7 @@
data_json - parse JSON, a lightweight data-interchange format.
-=head1 SYNOPSIS
+=head1 DESCRIPTION
Given a valid JSON (JavaScript Object Notation) string, the compiler will
return a sub that when called will produce the appropriate values. For
View
@@ -223,10 +223,6 @@ SP [ ]
yy_push_state(cmt4, yyscanner);
}
-<*>setfile{SP}+["] { yy_push_state(cmt2, yyscanner); }
-
-<*>setline{SP}+ { yy_push_state(cmt1, yyscanner); }
-
<cmt1>{DIGITS} {
yylineno = imcc->line = atoi(yytext);
yy_pop_state(yyscanner);
@@ -284,8 +280,6 @@ SP [ ]
<pod>{EOL} { /* ignore */ }
-<*>".line" return TK_LINE;
-<*>".file" return TK_FILE;
<INITIAL,emit>".annotate" return ANNOTATE;
<INITIAL,emit>".lex" return LEXICAL;
".set_arg" return ARG;
View
@@ -12,6 +12,22 @@
*
*/
+/*
+
+=pod
+
+=head1 NAME
+
+compilers/imcc/imcc.y - Intermediate Code Compiler for Parrot.
+
+=head1 DESCRIPTION
+
+This file contains the grammar of the PIR language parser.
+
+=cut
+
+*/
+
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
@@ -1042,7 +1058,7 @@ do_loadlib(ARGMOD(imc_info_t *imcc), ARGIN(const char *lib))
%nonassoc '\n'
%nonassoc <t> PARAM
-%token <t> SOL HLL TK_LINE TK_FILE
+%token <t> SOL HLL
%token <t> GOTO ARG IF UNLESS PNULL SET_RETURN SET_YIELD
%token <t> ADV_FLAT ADV_SLURPY ADV_OPTIONAL ADV_OPT_FLAG ADV_NAMED ADV_ARROW
%token <t> ADV_INVOCANT ADV_CALL_SIG
@@ -1145,7 +1161,6 @@ compilation_unit:
}
| MACRO '\n' { $$ = 0; }
| pragma { $$ = 0; }
- | location_directive { $$ = 0; }
| '\n' { $$ = 0; }
;
@@ -1159,20 +1174,6 @@ pragma:
}
;
-location_directive:
- TK_LINE INTC COMMA STRINGC '\n'
- {
- imcc->line = atoi($2);
- /* set_filename() frees the STRINGC */
- set_filename(imcc, $4);
- }
- | TK_FILE STRINGC '\n'
- {
- /* set_filename() frees the STRINGC */
- set_filename(imcc, $2);
- }
- ;
-
annotate_directive:
ANNOTATE STRINGC COMMA const
{
@@ -1850,7 +1851,6 @@ statement:
| MACRO '\n' { $$ = 0; }
| FILECOMMENT { $$ = 0; }
| LINECOMMENT { $$ = 0; }
- | location_directive { $$ = 0; }
| annotate_directive { $$ = $1; }
;
Oops, something went wrong.

0 comments on commit 12b8d90

Please sign in to comment.