You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2014/08/21 02:10:00 UTC

[01/12] git commit: Provide version numbers in all .pm files.

Repository: lucy-clownfish
Updated Branches:
  refs/heads/master d00b1e7c0 -> e6cf0653c


Provide version numbers in all .pm files.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/8846ca4e
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/8846ca4e
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/8846ca4e

Branch: refs/heads/master
Commit: 8846ca4ec39973b4b8e6ce4ff12581db5812a8f2
Parents: 04a7a18
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 16:59:11 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:57:42 2014 -0700

----------------------------------------------------------------------
 compiler/perl/buildlib/Clownfish/CFC/Build.pm               | 3 +++
 compiler/perl/lib/Clownfish/CFC/Base.pm                     | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm     | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm       | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm        | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm    | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm      | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm       | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm      | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm         | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm  | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm     | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Class.pm              | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm        | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/File.pm               | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm           | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Function.pm           | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm          | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Method.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm          | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Type.pm               | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Variable.pm           | 2 ++
 compiler/perl/lib/Clownfish/CFC/Parser.pm                   | 2 ++
 compiler/perl/lib/Clownfish/CFC/Test.pm                     | 2 ++
 compiler/perl/lib/Clownfish/CFC/Util.pm                     | 2 ++
 32 files changed, 65 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/buildlib/Clownfish/CFC/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/buildlib/Clownfish/CFC/Build.pm b/compiler/perl/buildlib/Clownfish/CFC/Build.pm
index c6bf5a3..896f674 100644
--- a/compiler/perl/buildlib/Clownfish/CFC/Build.pm
+++ b/compiler/perl/buildlib/Clownfish/CFC/Build.pm
@@ -18,6 +18,9 @@ use warnings;
 
 package Clownfish::CFC::Build;
 
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
+
 # In order to find Clownfish::CFC::Perl::Build::Charmonic, look in 'lib'
 # and cleanup @INC afterwards.
 use lib 'lib';

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Base.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Base.pm b/compiler/perl/lib/Clownfish/CFC/Base.pm
index 3b5b067..f44f299 100644
--- a/compiler/perl/lib/Clownfish/CFC/Base.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Base.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Base;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
index f65c546..26e8028 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
index af1ec73..31544f0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::Aliases;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
index c4b4209..1f7e897 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::Class;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
index bb88026..3e52fd0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::File;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
index 2ec30aa..b02ad56 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::Function;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
index ab9aa7c..b698c88 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::Method;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
index 8571595..7113438 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
index 4fc530f..05f7b38 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Class;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
index 7598c7d..04b8b01 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Constructor;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
index cf1369e..176719a 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Method;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
index ef36c1e..3991d61 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Pod;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
index a114115..2030e15 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Subroutine;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
index 1e9ba76..9ac9ca4 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::TypeMap;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm b/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
index bb3e6a1..f0ca48d 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::CBlock;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Class.pm b/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
index 8e751b4..2ec9f33 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Class;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm b/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
index f6c1904..50defdf 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::DocuComment;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/File.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/File.pm b/compiler/perl/lib/Clownfish/CFC/Model/File.pm
index b2f82ae..8f4bab5 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/File.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/File.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::File;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm b/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
index d54dbf1..231a1d0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::FileSpec;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Function.pm b/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
index 163728f..d8d02d9 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Function;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm b/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
index 0ee3ea1..be6eab4 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Hierarchy;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Method.pm b/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
index e264a47..3b8996a 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Method;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm b/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
index 8fbb810..b1e3173 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::ParamList;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm b/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
index c879ff1..ac08957 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Parcel;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm b/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
index 99a4eca..d640ae5 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Prereq;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm b/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
index 824c6fa..aa84186 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Symbol;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Type.pm b/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
index 92e1b98..9c8d6b8 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Type;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm b/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
index da535df..6c8b9b5 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Variable;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Parser.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Parser.pm b/compiler/perl/lib/Clownfish/CFC/Parser.pm
index 94752cb..68c132f 100644
--- a/compiler/perl/lib/Clownfish/CFC/Parser.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Parser.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Parser;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Test.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Test.pm b/compiler/perl/lib/Clownfish/CFC/Test.pm
index bebd673..9319149 100644
--- a/compiler/perl/lib/Clownfish/CFC/Test.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Test.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Test;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8846ca4e/compiler/perl/lib/Clownfish/CFC/Util.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Util.pm b/compiler/perl/lib/Clownfish/CFC/Util.pm
index 25d10f6..9665f50 100644
--- a/compiler/perl/lib/Clownfish/CFC/Util.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Util.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Util;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 


[07/12] git commit: Use specific X.Y.Z version in Build.PL.

Posted by ma...@apache.org.
Use specific X.Y.Z version in Build.PL.

Otherwise, if we take it from CFC.pm the dist will be named
Clownfish-CFC-X.YYYZZZ.tar.gz when we want Clownfish-CFC-X.Y.Z.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/485303da
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/485303da
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/485303da

Branch: refs/heads/master
Commit: 485303dabc6ac65d806118e857e5312489e5c06f
Parents: d9d55cc
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Thu Aug 14 16:50:17 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:59:52 2014 -0700

----------------------------------------------------------------------
 compiler/perl/Build.PL   | 2 +-
 devel/bin/update_version | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/485303da/compiler/perl/Build.PL
----------------------------------------------------------------------
diff --git a/compiler/perl/Build.PL b/compiler/perl/Build.PL
index af7256b..020af01 100644
--- a/compiler/perl/Build.PL
+++ b/compiler/perl/Build.PL
@@ -24,7 +24,7 @@ my $builder = Clownfish::CFC::Build->new(
     license     => 'apache',
     dist_author =>
         'The Apache Lucy Project <dev at lucy dot apache dot org>',
-    dist_version_from => 'lib/Clownfish/CFC.pm',
+    dist_version       => '0.4.0',
     dist_abstract      => 'CFC Apache Clownfish compiler',
     requires           => { 'perl' => '5.8.3', },
     configure_requires => { 'Module::Build' => 0.280801 },

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/485303da/devel/bin/update_version
----------------------------------------------------------------------
diff --git a/devel/bin/update_version b/devel/bin/update_version
index ce1f9a8..dc01d4b 100755
--- a/devel/bin/update_version
+++ b/devel/bin/update_version
@@ -77,6 +77,12 @@ $buf =~ s/(^=head1\s+VERSION\s+)([\d.]+)/$1$x_y_z_version/m
     or die "no match";
 write_file( 'runtime/perl/lib/Clownfish.pod', $buf );
 
+# Update compiler Build.PL
+$buf = read_file('compiler/perl/Build.PL');
+$buf =~ s/(dist_version\ +=>\ +)'.+?'/$1'$x_y_z_version'/
+    or die "no match";
+write_file( 'compiler/perl/Build.PL', $buf );
+
 # Update runtime Build.PL
 $buf = read_file('runtime/perl/Build.PL');
 $buf =~ s/(dist_version\ +=>\ +)'.+?'/$1'$x_y_z_version'/


[08/12] git commit: Fix branding in INSTALL and README.

Posted by ma...@apache.org.
Fix branding in INSTALL and README.

Use "Apache Clownfish" first, and use it as an adjective per trademark
guidelines.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/b02caa05
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/b02caa05
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/b02caa05

Branch: refs/heads/master
Commit: b02caa05cc5e5214a53c12f9f0bb181740aee340
Parents: bc93301
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Mon Aug 18 18:31:06 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:59:52 2014 -0700

----------------------------------------------------------------------
 INSTALL | 16 ++++++++--------
 README  | 15 +++++++--------
 2 files changed, 15 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b02caa05/INSTALL
----------------------------------------------------------------------
diff --git a/INSTALL b/INSTALL
index 41034e9..75c0a2c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,13 +1,13 @@
 Build Instructions
 ==================
 
-Clownfish is a "symbiotic" object system for C which is designed to pair with
-a "host" dynamic language environment, facilitating the development of high
-performance host language extensions.  Currently it is available for Perl and
-plain C libraries.
+The Apache Clownfish "symbiotic" object system pairs with "host" dynamic
+language environments and facilitates the development of high performance host
+language extensions.  Currently, it is available for Perl and plain C
+libraries.
 
-Clownfish runtime
------------------
+Apache Clownfish runtime
+------------------------
 
 To build the Clownfish runtime for Perl, chdir to the "runtime/perl"
 subdirectory underneath the "clownfish" top level and follow the instructions
@@ -20,8 +20,8 @@ INSTALL document there.
 The Clownfish runtime build requires the Clownfish compiler and will build it
 first.
 
-Clownfish compiler
-------------------
+Apache Clownfish compiler
+-------------------------
 
 To only build the Clownfish compiler with Perl bindings, chdir to the
 "compiler/perl" subdirectory underneath the "clownfish" top level and follow

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b02caa05/README
----------------------------------------------------------------------
diff --git a/README b/README
index 4aae8c1..8bc4d46 100644
--- a/README
+++ b/README
@@ -1,15 +1,14 @@
-Clownfish
-=========
+Apache Clownfish
+================
 
 OVERVIEW
 
-Clownfish is a "symbiotic" object system for C which is designed to pair with
-a "host" dynamic language environment, facilitating the development of high
-performance host language extensions.  Currently, it is a subproject of Apache
-Lucy.
+The Apache Clownfish "symbiotic" object system pairs with "host" dynamic
+language environments and facilitates the development of high performance host
+language extensions.  Currently, it is a subproject of Apache Lucy.
 
 INSTALLATION
 
-To build and install Clownfish, follow the instructions in the accompanying
-"INSTALL" document.
+To build and install Apache Clownfish, follow the instructions in the
+accompanying "INSTALL" document.
 


[12/12] git commit: Copy and adapt release_commands.pl from Lucy.

Posted by ma...@apache.org.
Copy and adapt release_commands.pl from Lucy.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/e6cf0653
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/e6cf0653
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/e6cf0653

Branch: refs/heads/master
Commit: e6cf0653c66a759cca36ee8a35b19efa7ab5f051
Parents: 532afe5
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Mon Aug 18 18:57:31 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:59:52 2014 -0700

----------------------------------------------------------------------
 devel/bin/release_commands.pl | 316 +++++++++++++++++++++++++++++++++++++
 1 file changed, 316 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/e6cf0653/devel/bin/release_commands.pl
----------------------------------------------------------------------
diff --git a/devel/bin/release_commands.pl b/devel/bin/release_commands.pl
new file mode 100755
index 0000000..eeee9d0
--- /dev/null
+++ b/devel/bin/release_commands.pl
@@ -0,0 +1,316 @@
+#!/usr/bin/perl
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+use 5.010;
+use strict;
+use warnings;
+use Getopt::Long qw( GetOptions );
+
+my $usage = join( ' ',
+    $0, qq|--version=X.Y.Z-rcN|, qq|--apache-id=APACHE_ID|,
+    qq|--name="FULL NAME"| )
+    . "\n";
+
+my ( $full_rc_version, $apache_id, $name );
+GetOptions(
+    'version=s'   => \$full_rc_version,
+    'apache-id=s' => \$apache_id,
+    'name=s'      => \$name,
+);
+$full_rc_version or die $usage;
+$apache_id       or die $usage;
+$name            or die $usage;
+$apache_id =~ /^\w+$/ or die $usage;
+$full_rc_version =~ m/^(\d+)\.(\d+)\.(\d+)-rc(\d+)$/ or die $usage;
+my ( $major, $minor, $micro, $rc ) = ( $1, $2, $3, $4 );
+my $x_y_z_version = sprintf( "%d.%d.%d", $major, $minor, $micro );
+
+say qq|###############################################################|;
+say qq|# Commands to execute release for |
+    . qq|Apache Clownfish $x_y_z_version RC $rc|;
+say qq|###############################################################|;
+
+say qq|# If your code signing key is not already available from pgp.mit.edu|;
+say qq|# and <http://www.apache.org/dist/lucy/KEYS>, publish it.|;
+say qq|[...]\n|;
+
+say qq|# chdir to the top level of your local copy of the Clownfish repository.|;
+say qq|[...]\n|;
+
+if ( $micro == 0 && $rc < 2 ) {
+    say qq|# Check out the master branch.|;
+    say qq|git checkout master\n|;
+}
+else {
+    say qq|# Check out the $major.$minor branch.|;
+    say qq|git checkout $major.$minor\n|;
+}
+
+if ( $rc < 2 ) {
+    say qq|# Since this is the first RC, run update_version.|;
+    say qq|./devel/bin/update_version $x_y_z_version\n|;
+    say qq|# Update the the CHANGES file and associate release|;
+    say qq|# $x_y_z_version with today's date.|;
+    say qq|[...]\n|;
+    say qq|# Commit version bump and CHANGES.|;
+    say qq|git commit -m "Updating CHANGES and version number |
+        . qq|for release $x_y_z_version."\n|;
+}
+
+if ( $micro == 0 && $rc < 2 ) {
+    say qq|# Since this is the first release in a series (i.e. X.Y.0),|;
+    say qq|# create a branch.|;
+    say qq|git checkout -b $major.$minor|;
+}
+
+say qq|# Create a tag for the release candidate.|;
+say qq|git tag apache-clownfish-$full_rc_version |
+    . qq|-m "Tagging release candidate $rc for $x_y_z_version."\n|;
+
+say qq|# Export a pristine copy of the source from the release candidate|;
+say qq|# tag.|;
+say qq|git archive --prefix=apache-clownfish-$x_y_z_version/ |
+    . qq|--output=apache-clownfish-$x_y_z_version.tar.gz |
+    . qq|apache-clownfish-$full_rc_version\n|;
+
+say qq|# Create an RC directory in our dev area on dist.apache.org|;
+say qq|# and check out a copy.|;
+say qq|svn mkdir -m "Create RC dir for apache-clownfish-$full_rc_version" |
+    . qq|https://dist.apache.org/repos/dist/dev/lucy/clownfish/apache-clownfish-$full_rc_version|;
+say qq|svn co |
+    . qq|https://dist.apache.org/repos/dist/dev/lucy/clownfish/apache-clownfish-$full_rc_version\n|;
+
+say qq|# Move the tarball and a copy of the CHANGES file into the RC dir,|;
+say qq|# then chdir into it.|;
+say qq|mv apache-clownfish-$x_y_z_version.tar.gz apache-clownfish-$full_rc_version|;
+say qq|cp -p CHANGES apache-clownfish-$full_rc_version/CHANGES-$x_y_z_version.txt|;
+say qq|cd apache-clownfish-$full_rc_version\n|;
+
+say qq|# Generate checksums.|;
+say qq|perl -MDigest -e '\$d = Digest->new("MD5"); open \$fh, |
+    . qq|"<apache-clownfish-$x_y_z_version.tar.gz" or die; |
+    . qq|\$d->addfile(\$fh); print \$d->hexdigest; |
+    . qq|print "  apache-clownfish-$x_y_z_version.tar.gz\\n"' > |
+    . qq| apache-clownfish-$x_y_z_version.tar.gz.md5|;
+say qq|perl -MDigest -e '\$d = Digest->new("SHA-512"); open \$fh, |
+    . qq|"<apache-clownfish-$x_y_z_version.tar.gz" or die; |
+    . qq|\$d->addfile(\$fh); print \$d->hexdigest; |
+    . qq|print "  apache-clownfish-$x_y_z_version.tar.gz\\n"' > |
+    . qq| apache-clownfish-$x_y_z_version.tar.gz.sha\n|;
+
+say qq|# Sign the release.|;
+say qq|gpg --armor --output apache-clownfish-$x_y_z_version.tar.gz.asc |
+    . qq|--detach-sig apache-clownfish-$x_y_z_version.tar.gz\n|;
+
+say qq|# Add the artifacts and commit to the dev area on dist.apache.org.|;
+say qq|svn add |
+    . qq|apache-clownfish-$x_y_z_version.tar.gz |
+    . qq|apache-clownfish-$x_y_z_version.tar.gz.md5 |
+    . qq|apache-clownfish-$x_y_z_version.tar.gz.sha |
+    . qq|apache-clownfish-$x_y_z_version.tar.gz.asc |
+    . qq|CHANGES-$x_y_z_version.txt |;
+say qq|svn ci -m "Add apache-clownfish-$x_y_z_version artifacts"\n|;
+
+say qq|# Perform whatever QC seems prudent on the tarball, installing it|;
+say qq|# on test systems, etc.|;
+say qq|[...]\n|;
+
+say qq|# Push your branch and the tag for the RC.|;
+say qq|git push origin $major.$minor|;
+say qq|git push origin apache-clownfish-$full_rc_version\n|;
+
+say qq|###############################################################|;
+say qq|# Voting|;
+say qq|###############################################################\n|;
+
+say qq|# Call a release vote on the dev list, referring to the artifacts|;
+say qq|# made public in the previous step and using the boilerplate email|;
+say qq|# below.|;
+say qq|[...]\n|;
+
+say qq|###############################################################|;
+say qq|# After the vote has passed...|;
+say qq|###############################################################\n|;
+
+say qq|# Tag the release and delete the RC tags.|;
+say qq|git tag apache-clownfish-$x_y_z_version apache-clownfish-$full_rc_version|;
+say qq|git push origin apache-clownfish-$x_y_z_version|;
+for ( 1 .. $rc ) {
+    my $rc_tag = qq|apache-clownfish-$major.$minor.$micro-rc$_|;
+    say qq|git tag -d $rc_tag|;
+    say qq|git push origin :$rc_tag|;
+}
+say "";
+
+say qq|# Copy release artifacts to the production dist directory and|;
+say qq|# remove the RC dir.  The "svnmucc" app, which ships with Subversion|;
+say qq|# 1.7, is required.  If you don't have it, you can ssh to|;
+say qq|# people.apache.org and run the commands from there.|;
+say qq|ssh $apache_id\@people.apache.org|;
+say qq|svnmucc -m "Publish Apache Clownfish $x_y_z_version" |
+    . qq|-U https://dist.apache.org/repos/dist/ |
+    . qq|mv dev/lucy/clownfish/apache-clownfish-$full_rc_version/apache-clownfish-$x_y_z_version.tar.gz |
+    . qq|release/lucy/clownfish/apache-clownfish-$x_y_z_version.tar.gz |
+    . qq|mv dev/lucy/clownfish/apache-clownfish-$full_rc_version/apache-clownfish-$x_y_z_version.tar.gz.md5 |
+    . qq|release/lucy/clownfish/apache-clownfish-$x_y_z_version.tar.gz.md5 |
+    . qq|mv dev/lucy/clownfish/apache-clownfish-$full_rc_version/apache-clownfish-$x_y_z_version.tar.gz.sha |
+    . qq|release/lucy/clownfish/apache-clownfish-$x_y_z_version.tar.gz.sha |
+    . qq|mv dev/lucy/clownfish/apache-clownfish-$full_rc_version/apache-clownfish-$x_y_z_version.tar.gz.asc |
+    . qq|release/lucy/clownfish/apache-clownfish-$x_y_z_version.tar.gz.asc |
+    . qq|mv dev/lucy/clownfish/apache-clownfish-$full_rc_version/CHANGES-$x_y_z_version.txt |
+    . qq|release/lucy/clownfish/CHANGES-$x_y_z_version.txt |
+    . qq|rm dev/lucy/clownfish/apache-clownfish-$full_rc_version\n|;
+
+say qq|# Carefully remove the artifacts for any previous releases superseded|;
+say qq|# by this one.|;
+if ( $micro > 0 ) {
+    my $prev = sprintf( "%d.%d.%d", $major, $minor, $micro - 1 );
+    say qq|svnmucc -m "Remove Apache Clownfish $prev" |
+        . qq|-U https://dist.apache.org/repos/dist/release/lucy/clownfish |
+        . qq|rm apache-clownfish-$prev.tar.gz |
+        . qq|rm apache-clownfish-$prev.tar.gz.md5 |
+        . qq|rm apache-clownfish-$prev.tar.gz.sha |
+        . qq|rm apache-clownfish-$prev.tar.gz.asc |
+        . qq|rm CHANGES-$prev.txt |;
+}
+say qq|[...]\n|;
+
+say qq|# Update the issue tracker.|;
+say qq|# While logged into JIRA, visit the following web page. (Note: this|;
+say qq|# permalink may or may not work, and you may not have the necessary|;
+say qq|# JIRA permissions to perform the required actions.  Please let the|;
+say qq|# dev list know if you encounter problems.)  Click the "release"|;
+say qq|# link for $x_y_z_version and input the date from the CHANGES file.|;
+say qq|https://issues.apache.org/jira/plugins/servlet/|
+    . qq|project-config/LUCY/versions\n|;
+
+say qq|# Once the release files are in place, update the download page|;
+say qq|# of the Lucy website. The easiest way to perform this action is to|;
+say qq|# use the CMS bookmarklet at https://cms.apache.org/#bookmark|;
+say qq|# to access the edit screens via the CMS web interface.  Change the|;
+say qq|# artifact links to point at the new version; ensure that while the|;
+say qq|# primary download links point at mirrors, the signature and sums|;
+say qq|# files point at apache.org.|;
+say qq|[...]\n|;
+
+say qq|# [TODO: this action cannot yet be performed by the RM, so ignore.]|;
+say qq|# Publish HTML exports of the documentation for the new release on|;
+say qq|# the Lucy website.|;
+say qq|[...]\n|;
+
+say qq|# Send emails announcing the release to:|;
+say qq|#|;
+say qq|#     * The user list.|;
+say qq|#     * The dev list.|;
+say qq|#     * The announce\@a.o list.  Be sure to send from your|;
+say qq|#       \@apache.org address|;
+say qq|#|;
+say qq|# Use the entry in the CHANGES file as the basis for your|;
+say qq|# email, or optionally, use the boilerplate announcement text below.|;
+say qq|[...]\n|;
+
+say qq|###############################################################|;
+say qq|# Boilerplate VOTE email for dev\@lucy.a.o|;
+say qq|# Suggested subject:|;
+say qq|#|;
+say qq|#    [VOTE] Apache Clownfish $x_y_z_version RC $rc|;
+say qq|#|;
+say qq|###############################################################\n|;
+
+say <<END_CLOWNFISH_DEV_VOTE;
+Hello,
+
+Release candidate $rc for Apache Clownfish version $x_y_z_version can be
+found at:
+
+    https://dist.apache.org/repos/dist/dev/lucy/clownfish/apache-clownfish-$full_rc_version/
+
+See the CHANGES file at the top level of the archive for information
+about the content of this release.
+
+This candidate was assembled according to the process documented at:
+
+    http://wiki.apache.org/lucy/ReleaseGuide
+
+It was cut using "git archive" from the tag at:
+
+    https://git-wip-us.apache.org/repos/asf?p=lucy-clownfish.git;a=tag;h=refs/tags/apache-clownfish-$full_rc_version
+
+Please vote on releasing this candidate as Apache Clownfish version
+$x_y_z_version.  The vote will be held open for at least the next 72
+hours.
+
+All interested parties are welcome to inspect the release candidate
+and express approval or disapproval.  Votes from members of the Lucy
+PMC are binding; the vote passes if there are at least three binding
++1 votes and more +1 votes than -1 votes. 
+
+For suggestions as to how to evaluate Apache Clownfish release candidates,
+and for information on ASF voting procedures, see:
+
+    http://wiki.apache.org/lucy/ReleaseVerification
+    http://wiki.apache.org/lucy/ReleasePrep
+    http://www.apache.org/foundation/voting.html
+
+[ ] +1 Release RC $rc as Apache Clownfish $x_y_z_version.
+[ ] +0
+[ ] -1 Do not release RC $rc as Apache Clownfish $x_y_z_version because...
+
+Here's my +1.
+
+Thanks!
+END_CLOWNFISH_DEV_VOTE
+
+say qq|###############################################################|;
+say qq|# Boilerplate ANNOUNCE email|;
+say qq|# Suggested subject:|;
+say qq|#|;
+say qq|#    [ANNOUNCE] Apache Clownfish $x_y_z_version released|;
+say qq|#|;
+say qq|###############################################################\n|;
+
+say <<END_ANNOUNCE_EMAIL;
+Greetings,
+
+The Apache Lucy team is pleased to announce the release of
+Apache Clownfish version $x_y_z_version!
+
+The Apache Clownfish "symbiotic" object system pairs with "host"
+dynamic language environments and facilitates the development of
+high performance host language extensions.  For a list of issues resolved in
+this version, please see the release notes:
+
+  http://www.apache.org/dist/lucy/clownfish/CHANGES-$x_y_z_version.txt
+
+The most recent release can be obtained from our download page:
+
+  http://lucy.apache.org/download.html
+
+For general information on Apache Clownfish, please visit the Lucy
+project website:
+
+  http://lucy.apache.org/
+
+Regards, 
+
+$name, on behalf of the Apache Lucy development team
+and community
+
+END_ANNOUNCE_EMAIL
+
+say qq|###############################################################|;
+


[06/12] git commit: Udpate version to 0.4.0.

Posted by ma...@apache.org.
Udpate version to 0.4.0.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/d9d55cc5
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/d9d55cc5
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/d9d55cc5

Branch: refs/heads/master
Commit: d9d55cc5462c19aec84db032addfda98440e8cab
Parents: 5758a5b
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 18:19:30 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:59:52 2014 -0700

----------------------------------------------------------------------
 compiler/perl/buildlib/Clownfish/CFC/Build.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC.pm              |  4 +--
 compiler/perl/lib/Clownfish/CFC/Base.pm         |  2 +-
 compiler/perl/lib/Clownfish/CFC/Binding/Core.pm |  2 +-
 .../lib/Clownfish/CFC/Binding/Core/Aliases.pm   |  2 +-
 .../lib/Clownfish/CFC/Binding/Core/Class.pm     |  2 +-
 .../perl/lib/Clownfish/CFC/Binding/Core/File.pm |  2 +-
 .../lib/Clownfish/CFC/Binding/Core/Function.pm  |  2 +-
 .../lib/Clownfish/CFC/Binding/Core/Method.pm    |  2 +-
 compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm |  2 +-
 .../lib/Clownfish/CFC/Binding/Perl/Class.pm     |  2 +-
 .../Clownfish/CFC/Binding/Perl/Constructor.pm   |  2 +-
 .../lib/Clownfish/CFC/Binding/Perl/Method.pm    |  2 +-
 .../perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm  |  2 +-
 .../Clownfish/CFC/Binding/Perl/Subroutine.pm    |  2 +-
 .../lib/Clownfish/CFC/Binding/Perl/TypeMap.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Class.pm  |  2 +-
 .../perl/lib/Clownfish/CFC/Model/DocuComment.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/File.pm   |  2 +-
 .../perl/lib/Clownfish/CFC/Model/FileSpec.pm    |  2 +-
 .../perl/lib/Clownfish/CFC/Model/Function.pm    |  2 +-
 .../perl/lib/Clownfish/CFC/Model/Hierarchy.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Method.pm |  2 +-
 .../perl/lib/Clownfish/CFC/Model/ParamList.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Type.pm   |  2 +-
 .../perl/lib/Clownfish/CFC/Model/Variable.pm    |  2 +-
 compiler/perl/lib/Clownfish/CFC/Parser.pm       |  2 +-
 compiler/perl/lib/Clownfish/CFC/Perl/Build.pm   |  6 ++---
 .../lib/Clownfish/CFC/Perl/Build/Charmonic.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC/Test.pm         |  2 +-
 compiler/perl/lib/Clownfish/CFC/Util.pm         |  2 +-
 compiler/python/setup.py                        |  2 +-
 devel/bin/update_version                        |  4 +--
 runtime/c/install.sh                            |  4 +--
 runtime/common/charmonizer.c                    |  4 +--
 runtime/common/charmonizer.main                 |  4 +--
 runtime/core/Clownfish.cfp                      |  2 +-
 runtime/core/TestClownfish.cfp                  |  4 +--
 runtime/perl/Build.PL                           |  6 ++---
 runtime/perl/buildlib/Clownfish/Build.pm        |  2 +-
 .../perl/buildlib/Clownfish/Build/Binding.pm    |  2 +-
 runtime/perl/lib/Clownfish.pm                   | 26 ++++++++++----------
 runtime/perl/lib/Clownfish.pod                  |  2 +-
 runtime/perl/lib/Clownfish/ByteBuf.pm           |  2 +-
 runtime/perl/lib/Clownfish/CharBuf.pm           |  2 +-
 runtime/perl/lib/Clownfish/Class.pm             |  2 +-
 runtime/perl/lib/Clownfish/Err.pm               |  2 +-
 runtime/perl/lib/Clownfish/Hash.pm              |  2 +-
 runtime/perl/lib/Clownfish/LockFreeRegistry.pm  |  2 +-
 runtime/perl/lib/Clownfish/Num.pm               |  2 +-
 runtime/perl/lib/Clownfish/Obj.pm               |  2 +-
 runtime/perl/lib/Clownfish/Test.pm              |  2 +-
 runtime/perl/lib/Clownfish/Util/StringHelper.pm |  2 +-
 runtime/perl/lib/Clownfish/VArray.pm            |  2 +-
 58 files changed, 80 insertions(+), 80 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/buildlib/Clownfish/CFC/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/buildlib/Clownfish/CFC/Build.pm b/compiler/perl/buildlib/Clownfish/CFC/Build.pm
index 896f674..342d8a3 100644
--- a/compiler/perl/buildlib/Clownfish/CFC/Build.pm
+++ b/compiler/perl/buildlib/Clownfish/CFC/Build.pm
@@ -18,7 +18,7 @@ use warnings;
 
 package Clownfish::CFC::Build;
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 # In order to find Clownfish::CFC::Perl::Build::Charmonic, look in 'lib'

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC.pm b/compiler/perl/lib/Clownfish/CFC.pm
index e8e6c48..26f67d4 100644
--- a/compiler/perl/lib/Clownfish/CFC.pm
+++ b/compiler/perl/lib/Clownfish/CFC.pm
@@ -17,7 +17,7 @@ use strict;
 use warnings;
 
 package Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 END {
@@ -26,7 +26,7 @@ END {
 }
 
 use XSLoader;
-BEGIN { XSLoader::load( 'Clownfish::CFC', '0.003000' ) }
+BEGIN { XSLoader::load( 'Clownfish::CFC', '0.4.0' ) }
 
 {
     package Clownfish::CFC::Util;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Base.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Base.pm b/compiler/perl/lib/Clownfish/CFC/Base.pm
index f44f299..2b82f39 100644
--- a/compiler/perl/lib/Clownfish/CFC/Base.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Base.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Base;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
index 26e8028..ab3b742 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
index 31544f0..e2d65f9 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::Aliases;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
index 1f7e897..a569f56 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::Class;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
index 3e52fd0..ebc2458 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::File;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
index b02ad56..712dece 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::Function;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
index b698c88..0a508b2 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::Method;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
index 7113438..f11d0c5 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
index 05f7b38..c241163 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Class;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
index 04b8b01..d336f8a 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Constructor;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
index 176719a..d87e99b 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Method;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
index 3991d61..3b5a725 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Pod;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
index 2030e15..ee133ef 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Subroutine;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
index 9ac9ca4..15701ac 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::TypeMap;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm b/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
index f0ca48d..861d5c4 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::CBlock;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Class.pm b/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
index 2ec9f33..1952758 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Class;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm b/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
index 50defdf..3550e71 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::DocuComment;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/File.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/File.pm b/compiler/perl/lib/Clownfish/CFC/Model/File.pm
index 8f4bab5..bdd71c1 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/File.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/File.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::File;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm b/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
index 231a1d0..3d7b622 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::FileSpec;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Function.pm b/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
index d8d02d9..5657e63 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Function;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm b/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
index be6eab4..271f9b4 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Hierarchy;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Method.pm b/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
index 3b8996a..840eaad 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Method;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm b/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
index b1e3173..03c8aa6 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::ParamList;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm b/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
index ac08957..0d0cde0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Parcel;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm b/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
index d640ae5..36da564 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Prereq;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm b/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
index aa84186..3f63f20 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Symbol;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Type.pm b/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
index 9c8d6b8..0a16499 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Type;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm b/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
index 6c8b9b5..1679dec 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Variable;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Parser.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Parser.pm b/compiler/perl/lib/Clownfish/CFC/Parser.pm
index 68c132f..3d85d15 100644
--- a/compiler/perl/lib/Clownfish/CFC/Parser.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Parser.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Parser;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
index cb8395f..939ea9d 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
@@ -18,7 +18,7 @@ use warnings;
 
 package Clownfish::CFC::Perl::Build;
 use base qw( Module::Build );
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 use File::Spec::Functions qw( catdir catfile curdir updir abs2rel rel2abs );
@@ -584,10 +584,10 @@ the Perl bindings for Clownfish modules.
             'Other::Module' => '0.3.0',
         },
         configure_requires => {
-            'Clownfish::CFC::Perl::Build' => 0.003000,
+            'Clownfish::CFC::Perl::Build' => 0.004000,
         },
         build_requires => {
-            'Clownfish::CFC::Perl::Build' => 0.003000,
+            'Clownfish::CFC::Perl::Build' => 0.004000,
         },
     );
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
index 1e4d476..36c0261 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
@@ -20,7 +20,7 @@ package Clownfish::CFC::Perl::Build::Charmonic;
 
 use base qw( Module::Build );
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 use Carp;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Test.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Test.pm b/compiler/perl/lib/Clownfish/CFC/Test.pm
index 9319149..6b9a9b0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Test.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Test.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Test;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/perl/lib/Clownfish/CFC/Util.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Util.pm b/compiler/perl/lib/Clownfish/CFC/Util.pm
index 9665f50..d4ce5fc 100644
--- a/compiler/perl/lib/Clownfish/CFC/Util.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Util.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Util;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/compiler/python/setup.py
----------------------------------------------------------------------
diff --git a/compiler/python/setup.py b/compiler/python/setup.py
index c5917e1..b5d5c10 100644
--- a/compiler/python/setup.py
+++ b/compiler/python/setup.py
@@ -185,7 +185,7 @@ cfc_extension = Extension('clownfish._cfc',
                           sources = c_filepaths)
 
 setup(name = 'clownfish-cfc',
-      version = '0.3.0',
+      version = '0.4.0',
       description = 'Clownfish compiler',
       author = 'Apache Lucy Project',
       author_email = 'dev at lucy dot apache dot org',

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/devel/bin/update_version
----------------------------------------------------------------------
diff --git a/devel/bin/update_version b/devel/bin/update_version
index 6df87b6..ce1f9a8 100755
--- a/devel/bin/update_version
+++ b/devel/bin/update_version
@@ -48,7 +48,7 @@ for my $path ('runtime/common/charmonizer.c', 'runtime/common/charmonizer.main')
     $buf = read_file($path);
     $buf =~ s/(cfish_version\[\]\s+=\s+)"[\d.]+"/$1"$x_y_z_version"/
         or die "no match";
-    $buf =~ s/(cfish_major_version\[\]\s+=\s+)"[\d.]+"/$1"$x_y_z_version"/
+    $buf =~ s/(cfish_major_version\[\]\s+=\s+)"[\d.]+"/$1"$x.$y"/
         or die "no match";
     write_file($path, $buf);
 }
@@ -97,7 +97,7 @@ write_file( 'runtime/c/install.sh', $buf );
 
 # Update compiler/python/setup.py
 $buf = read_file('compiler/python/setup.py');
-$buf =~ s/(\bversion\s+=\s+)'[\d.]+'/$1'$x_y_z_version/
+$buf =~ s/(\bversion\s+=\s+)'[\d.]+'/$1'$x_y_z_version'/
     or die "no match";
 write_file( 'compiler/python/setup.py', $buf );
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/c/install.sh
----------------------------------------------------------------------
diff --git a/runtime/c/install.sh b/runtime/c/install.sh
index 48b6e4c..ae9d04c 100755
--- a/runtime/c/install.sh
+++ b/runtime/c/install.sh
@@ -17,8 +17,8 @@
 
 set -e
 
-version=0.3.0
-major_version=0.3
+version=0.4.0
+major_version=0.4
 
 usage()
 {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.c b/runtime/common/charmonizer.c
index c05e4a5..dff9b8d 100644
--- a/runtime/common/charmonizer.c
+++ b/runtime/common/charmonizer.c
@@ -7136,8 +7136,8 @@ typedef struct SourceFileContext {
     chaz_MakeVar *var;
 } SourceFileContext;
 
-static const char cfish_version[]       = "0.3.0";
-static const char cfish_major_version[] = "0.3";
+static const char cfish_version[]       = "0.4.0";
+static const char cfish_major_version[] = "0.4";
 
 static void
 S_add_compiler_flags(struct chaz_CLIArgs *args) {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.main b/runtime/common/charmonizer.main
index 7b2a24f..ef0c05f 100644
--- a/runtime/common/charmonizer.main
+++ b/runtime/common/charmonizer.main
@@ -42,8 +42,8 @@ typedef struct SourceFileContext {
     chaz_MakeVar *var;
 } SourceFileContext;
 
-static const char cfish_version[]       = "0.3.0";
-static const char cfish_major_version[] = "0.3";
+static const char cfish_version[]       = "0.4.0";
+static const char cfish_major_version[] = "0.4";
 
 static void
 S_add_compiler_flags(struct chaz_CLIArgs *args) {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/core/Clownfish.cfp
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish.cfp b/runtime/core/Clownfish.cfp
index ae91f8a..4a6b5c3 100644
--- a/runtime/core/Clownfish.cfp
+++ b/runtime/core/Clownfish.cfp
@@ -1,5 +1,5 @@
 {
     "name": "Clownfish",
     "nickname": "Cfish",
-    "version": "v0.3.0"
+    "version": "v0.4.0"
 }

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/core/TestClownfish.cfp
----------------------------------------------------------------------
diff --git a/runtime/core/TestClownfish.cfp b/runtime/core/TestClownfish.cfp
index f15309f..d7474d7 100644
--- a/runtime/core/TestClownfish.cfp
+++ b/runtime/core/TestClownfish.cfp
@@ -1,8 +1,8 @@
 {
     "name": "TestClownfish",
     "nickname": "TestCfish",
-    "version": "v0.3.0",
+    "version": "v0.4.0",
     "prerequisites": {
-        "Clownfish": "v0.3.0"
+        "Clownfish": "v0.4.0"
     }
 }

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/Build.PL
----------------------------------------------------------------------
diff --git a/runtime/perl/Build.PL b/runtime/perl/Build.PL
index 6fef470..fd03dca 100644
--- a/runtime/perl/Build.PL
+++ b/runtime/perl/Build.PL
@@ -24,19 +24,19 @@ my $builder = Clownfish::Build->new(
     license     => 'apache',
     dist_author =>
         'The Apache Lucy Project <dev at lucy dot apache dot org>',
-    dist_version       => '0.3.0',
+    dist_version       => '0.4.0',
     dist_abstract      => 'Apache Clownfish Runtime',
     requires           => { 'perl' => '5.8.3', },
     configure_requires => {
         'Module::Build'               => 0.280801,
-        'Clownfish::CFC::Perl::Build' => 0.003000,
+        'Clownfish::CFC::Perl::Build' => 0.004000,
     },
     build_requires => {
         'Module::Build'      => 0.280801,
         'ExtUtils::CBuilder' => 0.21,
         'ExtUtils::ParseXS'  => 2.18,
         'Devel::PPPort'      => 3.13,
-        'Clownfish::CFC'     => 0.003000,
+        'Clownfish::CFC'     => 0.004000,
     },
     meta_merge => { keywords => [qw( clownfish )], },
     meta_add   => {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/buildlib/Clownfish/Build.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/buildlib/Clownfish/Build.pm b/runtime/perl/buildlib/Clownfish/Build.pm
index 3540e1b..0b7da01 100644
--- a/runtime/perl/buildlib/Clownfish/Build.pm
+++ b/runtime/perl/buildlib/Clownfish/Build.pm
@@ -31,7 +31,7 @@ use base qw(
 );
 no lib '../../compiler/perl/lib';
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 use File::Spec::Functions qw( catdir catfile updir rel2abs );

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/buildlib/Clownfish/Build/Binding.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/buildlib/Clownfish/Build/Binding.pm b/runtime/perl/buildlib/Clownfish/Build/Binding.pm
index ccfaeca..98c7f0d 100644
--- a/runtime/perl/buildlib/Clownfish/Build/Binding.pm
+++ b/runtime/perl/buildlib/Clownfish/Build/Binding.pm
@@ -16,7 +16,7 @@ package Clownfish::Build::Binding;
 use strict;
 use warnings;
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 sub bind_all {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish.pm b/runtime/perl/lib/Clownfish.pm
index 5f1bdd1..42bf493 100644
--- a/runtime/perl/lib/Clownfish.pm
+++ b/runtime/perl/lib/Clownfish.pm
@@ -20,7 +20,7 @@ package Clownfish;
 
 use 5.008003;
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 use Exporter 'import';
@@ -41,7 +41,7 @@ BEGIN {
     require DynaLoader;
     our @ISA = qw( DynaLoader );
     # This loads a large number of disparate subs.
-    bootstrap Clownfish '0.3.0';
+    bootstrap Clownfish '0.4.0';
 }
 
 sub kdump {
@@ -56,7 +56,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Util::StringHelper;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     BEGIN {
         push our @ISA, 'Exporter';
@@ -74,7 +74,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::LockFreeRegistry;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     no warnings 'redefine';
     sub DESTROY { }    # leak all
@@ -82,7 +82,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Obj;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     use Clownfish qw( to_clownfish to_perl );
     use Carp qw( confess );
@@ -100,7 +100,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Class;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
 
     sub _find_parent_class {
@@ -142,7 +142,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Method;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     no warnings 'redefine';
     sub DESTROY { }    # leak all
@@ -150,7 +150,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::ViewByteBuf;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     use Carp;
     sub new { confess "ViewByteBuf objects can only be created from C." }
@@ -158,7 +158,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::String;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
 
     {
@@ -173,7 +173,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::StackString;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     use Carp;
     sub new { confess "StackString objects can only be created from C." }
@@ -183,7 +183,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Err;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     sub do_to_string { shift->to_string }
     use Scalar::Util qw( blessed );
@@ -222,7 +222,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::VArray;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     no warnings 'redefine';
     sub clone       { CORE::shift->_clone }
@@ -238,7 +238,7 @@ Clownfish - Apache Clownfish symbiotic object system.
 
 =head1 VERSION
 
-0.3.0
+0.4.0
 
 =head1 DESCRIPTION
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish.pod
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish.pod b/runtime/perl/lib/Clownfish.pod
index cfb3c79..a4dcbb5 100644
--- a/runtime/perl/lib/Clownfish.pod
+++ b/runtime/perl/lib/Clownfish.pod
@@ -19,7 +19,7 @@ Clownfish - Symbiotic object system.
 
 =head1 VERSION
 
-0.3.0
+0.4.0
 
 =head1 DESCRIPTION
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/ByteBuf.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/ByteBuf.pm b/runtime/perl/lib/Clownfish/ByteBuf.pm
index cab5b7d..f539b0b 100644
--- a/runtime/perl/lib/Clownfish/ByteBuf.pm
+++ b/runtime/perl/lib/Clownfish/ByteBuf.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::ByteBuf;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/CharBuf.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/CharBuf.pm b/runtime/perl/lib/Clownfish/CharBuf.pm
index a6458c8..ce9c6e6 100644
--- a/runtime/perl/lib/Clownfish/CharBuf.pm
+++ b/runtime/perl/lib/Clownfish/CharBuf.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::String;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/Class.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Class.pm b/runtime/perl/lib/Clownfish/Class.pm
index ed4b538..f830247 100644
--- a/runtime/perl/lib/Clownfish/Class.pm
+++ b/runtime/perl/lib/Clownfish/Class.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Class;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/Err.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Err.pm b/runtime/perl/lib/Clownfish/Err.pm
index 61a8a5a..8d52583 100644
--- a/runtime/perl/lib/Clownfish/Err.pm
+++ b/runtime/perl/lib/Clownfish/Err.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Err;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/Hash.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Hash.pm b/runtime/perl/lib/Clownfish/Hash.pm
index b542f59..ef06df9 100644
--- a/runtime/perl/lib/Clownfish/Hash.pm
+++ b/runtime/perl/lib/Clownfish/Hash.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Hash;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/LockFreeRegistry.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/LockFreeRegistry.pm b/runtime/perl/lib/Clownfish/LockFreeRegistry.pm
index e13e53c..95f2a91 100644
--- a/runtime/perl/lib/Clownfish/LockFreeRegistry.pm
+++ b/runtime/perl/lib/Clownfish/LockFreeRegistry.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::LockFreeRegistry;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/Num.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Num.pm b/runtime/perl/lib/Clownfish/Num.pm
index 72bafaa..c343762 100644
--- a/runtime/perl/lib/Clownfish/Num.pm
+++ b/runtime/perl/lib/Clownfish/Num.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Num;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/Obj.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Obj.pm b/runtime/perl/lib/Clownfish/Obj.pm
index 3036630..503874b 100644
--- a/runtime/perl/lib/Clownfish/Obj.pm
+++ b/runtime/perl/lib/Clownfish/Obj.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Obj;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/Test.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Test.pm b/runtime/perl/lib/Clownfish/Test.pm
index aad0681..ef4de51 100644
--- a/runtime/perl/lib/Clownfish/Test.pm
+++ b/runtime/perl/lib/Clownfish/Test.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Test;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/Util/StringHelper.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Util/StringHelper.pm b/runtime/perl/lib/Clownfish/Util/StringHelper.pm
index 47d9120..cc1854c 100644
--- a/runtime/perl/lib/Clownfish/Util/StringHelper.pm
+++ b/runtime/perl/lib/Clownfish/Util/StringHelper.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Util::StringHelper;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9d55cc5/runtime/perl/lib/Clownfish/VArray.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/VArray.pm b/runtime/perl/lib/Clownfish/VArray.pm
index 949a904..561371d 100644
--- a/runtime/perl/lib/Clownfish/VArray.pm
+++ b/runtime/perl/lib/Clownfish/VArray.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::VArray;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;


[10/12] git commit: Update release date in CHANGES.

Posted by ma...@apache.org.
Update release date in CHANGES.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/532afe57
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/532afe57
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/532afe57

Branch: refs/heads/master
Commit: 532afe5701be93584a05c7394536733ef5848cb8
Parents: b02caa0
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Mon Aug 18 18:32:36 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:59:52 2014 -0700

----------------------------------------------------------------------
 CHANGES | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/532afe57/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 06f3c9f..03b060a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,6 @@
 Revision history for Apache Clownfish
 
-0.4.0  2014-XX-XX
+0.4.0  2014-08-19
 
   Initial independent release after separation from Apache Lucy.
 


[05/12] git commit: Add CFC CPAN prereqs, but avoid warning.

Posted by ma...@apache.org.
Add CFC CPAN prereqs, but avoid warning.

Reversing the logic (adding then conditionally deleting rather than
conditionally adding) means that the CPAN dist will generate a META.json
with the proper prereqs.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/8b7336af
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/8b7336af
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/8b7336af

Branch: refs/heads/master
Commit: 8b7336af94b42cceb9378c2334fed46d782df618
Parents: 8846ca4
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 17:53:44 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:57:43 2014 -0700

----------------------------------------------------------------------
 runtime/perl/Build.PL                    | 8 ++++++--
 runtime/perl/buildlib/Clownfish/Build.pm | 6 ++++--
 2 files changed, 10 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8b7336af/runtime/perl/Build.PL
----------------------------------------------------------------------
diff --git a/runtime/perl/Build.PL b/runtime/perl/Build.PL
index 14cd1c9..6fef470 100644
--- a/runtime/perl/Build.PL
+++ b/runtime/perl/Build.PL
@@ -27,12 +27,16 @@ my $builder = Clownfish::Build->new(
     dist_version       => '0.3.0',
     dist_abstract      => 'Apache Clownfish Runtime',
     requires           => { 'perl' => '5.8.3', },
-    configure_requires => { 'Module::Build' => 0.280801 },
-    build_requires     => {
+    configure_requires => {
+        'Module::Build'               => 0.280801,
+        'Clownfish::CFC::Perl::Build' => 0.003000,
+    },
+    build_requires => {
         'Module::Build'      => 0.280801,
         'ExtUtils::CBuilder' => 0.21,
         'ExtUtils::ParseXS'  => 2.18,
         'Devel::PPPort'      => 3.13,
+        'Clownfish::CFC'     => 0.003000,
     },
     meta_merge => { keywords => [qw( clownfish )], },
     meta_add   => {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8b7336af/runtime/perl/buildlib/Clownfish/Build.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/buildlib/Clownfish/Build.pm b/runtime/perl/buildlib/Clownfish/Build.pm
index 19d923f..3540e1b 100644
--- a/runtime/perl/buildlib/Clownfish/Build.pm
+++ b/runtime/perl/buildlib/Clownfish/Build.pm
@@ -67,8 +67,10 @@ sub new {
         include        => [],                  # Don't use default includes.
         source => [ $CORE_SOURCE_DIR, $XS_SOURCE_DIR ],
     };
-    $args{build_requires}{'Clownfish::CFC'} = '0.3.0'
-        if $IS_CPAN_DIST;
+    if (!$IS_CPAN_DIST) {
+        delete $args{build_requires}{'Clownfish::CFC'};
+        delete $args{configure_requires}{'Clownfish::CFC::Perl::Build'};
+    }
     my $self = $class->SUPER::new( recursive_test_files => 1, %args );
 
     # Fix for MSVC: Although the generated XS should be C89-compliant, it


[04/12] git commit: Adapt Lucy's update_version tool for Clownfish.

Posted by ma...@apache.org.
Adapt Lucy's update_version tool for Clownfish.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/5758a5bb
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/5758a5bb
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/5758a5bb

Branch: refs/heads/master
Commit: 5758a5bb7ee4b07eddcc992afe27f43fbffe27d2
Parents: 8b7336a
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 18:19:09 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:57:43 2014 -0700

----------------------------------------------------------------------
 devel/bin/update_version | 182 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 182 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/5758a5bb/devel/bin/update_version
----------------------------------------------------------------------
diff --git a/devel/bin/update_version b/devel/bin/update_version
new file mode 100755
index 0000000..6df87b6
--- /dev/null
+++ b/devel/bin/update_version
@@ -0,0 +1,182 @@
+#!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+use strict;
+use warnings;
+use FindBin qw( $Bin );
+use File::Find;
+
+# make sure we are at the top-level dir
+chdir("$Bin/../../");
+
+my $usage = "$0 version\n";
+my $version = shift(@ARGV) or die $usage;
+
+# standardize version strings
+my ( $x, $y, $z );
+if ( $version =~ m/^(\d+)\.(\d+)\.(\d+)$/ ) {
+    ( $x, $y, $z ) = ( $1, $2, $3 );
+}
+elsif ( $version =~ m/^(\d+)\.(\d\d\d)(\d\d\d)$/ ) {
+    ( $x, $y, $z ) = ( int($1), int($2), int($3) );
+}
+else {
+    die "Unknown version syntax. Try X.Y.Z or X.YYYZZZ\n";
+}
+my $x_y_z_version    = sprintf( "%d.%d.%d",    $x, $y, $z );
+my $x_yyyzzz_version = sprintf( "%d.%03d%03d", $x, $y, $z );
+
+print "Using version: $x_y_z_version ( $x_yyyzzz_version )\n";
+
+my $buf;
+
+# Update charmonizer.
+for my $path ('runtime/common/charmonizer.c', 'runtime/common/charmonizer.main') {
+    $buf = read_file($path);
+    $buf =~ s/(cfish_version\[\]\s+=\s+)"[\d.]+"/$1"$x_y_z_version"/
+        or die "no match";
+    $buf =~ s/(cfish_major_version\[\]\s+=\s+)"[\d.]+"/$1"$x_y_z_version"/
+        or die "no match";
+    write_file($path, $buf);
+}
+
+# Update CFC.pm.
+$buf = read_file('compiler/perl/lib/Clownfish/CFC.pm');
+$buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/g
+    or die "no match";
+$buf =~ s/XSLoader::load\( 'Clownfish::CFC', '(.+?)'/XSLoader::load\( 'Clownfish::CFC', '$x_y_z_version'/
+    or die "no match";
+write_file( 'compiler/perl/lib/Clownfish/CFC.pm', $buf );
+
+# Update Clownfish.pm.
+$buf = read_file('runtime/perl/lib/Clownfish.pm');
+$buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/g
+    or die "no match";
+$buf =~ s/(bootstrap Clownfish ')(.+?)'/$1$x_y_z_version'/
+    or die "no match";
+$buf =~ s/^\d+\.\d+\.\d+\b$/$x_y_z_version/m
+    or die "no match";
+write_file( 'runtime/perl/lib/Clownfish.pm', $buf );
+
+# Update Clownfish.pod.
+$buf = read_file('runtime/perl/lib/Clownfish.pod');
+$buf =~ s/(^=head1\s+VERSION\s+)([\d.]+)/$1$x_y_z_version/m
+    or die "no match";
+write_file( 'runtime/perl/lib/Clownfish.pod', $buf );
+
+# Update runtime Build.PL
+$buf = read_file('runtime/perl/Build.PL');
+$buf =~ s/(dist_version\ +=>\ +)'.+?'/$1'$x_y_z_version'/
+    or die "no match";
+$buf =~ s/(Clownfish::CFC::Perl::Build'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g
+    or die "no match";
+$buf =~ s/(Clownfish::CFC'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g
+    or die "no match";
+write_file( 'runtime/perl/Build.PL', $buf );
+
+# Update runtime/c/install.sh
+$buf = read_file('runtime/c/install.sh');
+$buf =~ s/\bversion=[\d.]+/version=$x_y_z_version/
+    or die "no match";
+$buf =~ s/\bmajor_version=[\d.]+/major_version=$x.$y/
+    or die "no match";
+write_file( 'runtime/c/install.sh', $buf );
+
+# Update compiler/python/setup.py
+$buf = read_file('compiler/python/setup.py');
+$buf =~ s/(\bversion\s+=\s+)'[\d.]+'/$1'$x_y_z_version/
+    or die "no match";
+write_file( 'compiler/python/setup.py', $buf );
+
+# Update POD in compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
+$buf = read_file('compiler/perl/lib/Clownfish/CFC/Perl/Build.pm');
+$buf =~ s/(Clownfish::CFC::Perl::Build'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g
+    or die "no match";
+write_file( 'compiler/perl/lib/Clownfish/CFC/Perl/Build.pm', $buf );
+
+# Update Clownfish.cfp.
+$buf = read_file('runtime/core/Clownfish.cfp');
+$buf =~ s/("version":\s+)"v\d+\.\d+\.\d+"/$1"v$x_y_z_version"/
+    or die "no match";
+write_file( 'runtime/core/Clownfish.cfp', $buf );
+
+# Update runtime/core/TestClownfish.cfp
+$buf = read_file('runtime/core/TestClownfish.cfp');
+$buf =~ s/("version":\s+)"v\d+\.\d+\.\d+"/$1"v$x_y_z_version"/
+    or die "no match";
+$buf =~ s/("Clownfish":\s+)"v\d+\.\d+\.\d+"/$1"v$x_y_z_version"/
+    or die "no match";
+write_file( 'runtime/core/TestClownfish.cfp', $buf );
+
+# Update all other Perl modules.
+find(\&update_pm_file, 'compiler/perl');
+find(\&update_pm_file, 'runtime/perl');
+
+sub update_pm_file {
+    return unless /[.]pm$/;
+    my $name = $_;
+    return if $name eq 'Clownfish.pm';
+    return if $name eq 'CFC.pm';
+    my $buf = read_file($name);
+    $buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/g
+        or die "no match in $File::Find::name";
+    write_file($name, $buf);
+}
+
+# utility functions
+sub read_file {
+    my ($file) = @_;
+    local $/;
+    open( F, "< $file" ) or die "Cannot read $file: $!\n";
+    my $buf = <F>;
+    close(F) or die "Cannot close $file: $!\n";
+    return $buf;
+}
+
+sub write_file {
+    my ( $file, $buf ) = @_;
+    open( F, "> $file" ) or die "Cannot write $file: $!\n";
+    print F $buf;
+    close(F) or die "Cannot close $file: $!\n";
+}
+
+print "Done.  Consider running git grep for the old version.\n";
+exit();
+
+__END__
+
+=head1 NAME
+
+update_version - update Clownfish version strings in source files
+
+=head1 SYNOPSIS
+
+ perl devel/bin/update_version version
+
+=head1 DESCRIPTION
+
+Updates key source files with I<version>, using correct syntax
+depending on the file format and type.
+
+I<version> may be specified in either format:
+
+ X.Y.Z
+ X.YYYZZZ
+
+and update_version will convert the specified string into the 
+correct format for each relevant file.
+
+=cut


[09/12] git commit: Remove extraneous material from LICENSE.

Posted by ma...@apache.org.
Remove extraneous material from LICENSE.

*   utf8proc
*   Snowball
*   US Constitution


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/bc93301a
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/bc93301a
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/bc93301a

Branch: refs/heads/master
Commit: bc93301a776e34a64ce52a4074fd6e19eef089ae
Parents: 0bc1d55
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Mon Aug 18 16:39:51 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:59:52 2014 -0700

----------------------------------------------------------------------
 LICENSE | 60 ------------------------------------------------------------
 1 file changed, 60 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/bc93301a/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index 036f6f6..c9d86a1 100644
--- a/LICENSE
+++ b/LICENSE
@@ -201,63 +201,6 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 
-Portions of the Snowball stemming library are bundled with this distribution
-under modules/analysis/snowstem and modules/analysis/snowstop.  Here is the
-license for those materials:
-
-    Copyright (c) 2001, Dr Martin Porter
-    Copyright (c) 2002, Richard Boulton
-    All rights reserved.
-
-    Redistribution and use in source and binary forms, with or without
-    modification, are permitted provided that the following conditions are met:
-
-        * Redistributions of source code must retain the above copyright notice,
-          this list of conditions and the following disclaimer.
-        * Redistributions in binary form must reproduce the above copyright
-          notice, this list of conditions and the following disclaimer in the
-          documentation and/or other materials provided with the distribution.
-        * Neither the name of the copyright holders nor the names of its contributors
-          may be used to endorse or promote products derived from this software
-          without specific prior written permission.
-
-    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Portions of the utf8proc library are bundled with this distribution under
-modules/unicode/utf8proc.  The utf8proc library also contains materials
-derived from files licensed by the Unicode consortium.  Here are the licenses
-for all bundled materials associated with utf8proc:
-
-    Copyright (c) 2009 Public Software Group e. V., Berlin, Germany
-
-    Permission is hereby granted, free of charge, to any person obtaining a
-    copy of this software and associated documentation files (the "Software"),
-    to deal in the Software without restriction, including without limitation
-    the rights to use, copy, modify, merge, publish, distribute, sublicense,
-    and/or sell copies of the Software, and to permit persons to whom the
-    Software is furnished to do so, subject to the following conditions:
-
-    The above copyright notice and this permission notice shall be included in
-    all copies or substantial portions of the Software.
-
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-    DEALINGS IN THE SOFTWARE.
-
-
 This software distribution contains derived data from a modified version of
 the Unicode data files. The following license applies to that data:
 
@@ -304,9 +247,6 @@ This product bundles the Lemon parser generator from the SQLite project,
 which has been released into the public domain by its authors as explained at
 <http://www.sqlite.org/copyright.html>.
 
-This product bundles the text of the Constitution of the United States of
-America, which is in the public domain.
-
 This product bundles the install-sh script from the GNU autotools project,
 which is released under an MIT/X11 license.
 


[03/12] git commit: Unify version numbers for Clownfish and CFC.

Posted by ma...@apache.org.
Unify version numbers for Clownfish and CFC.

Since both Clownfish and CFC will be released together in a single
Apache package, unify their version numbers.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/04a7a18b
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/04a7a18b
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/04a7a18b

Branch: refs/heads/master
Commit: 04a7a18bb7812bdc9506213f964e945a1778446c
Parents: 15a6b28
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 16:22:01 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:57:42 2014 -0700

----------------------------------------------------------------------
 compiler/perl/lib/Clownfish/CFC.pm            | 5 +++--
 compiler/perl/lib/Clownfish/CFC/Perl/Build.pm | 7 ++++---
 runtime/perl/buildlib/Clownfish/Build.pm      | 2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/04a7a18b/compiler/perl/lib/Clownfish/CFC.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC.pm b/compiler/perl/lib/Clownfish/CFC.pm
index 7dd8171..e8e6c48 100644
--- a/compiler/perl/lib/Clownfish/CFC.pm
+++ b/compiler/perl/lib/Clownfish/CFC.pm
@@ -17,7 +17,8 @@ use strict;
 use warnings;
 
 package Clownfish::CFC;
-our $VERSION = '0.01';
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 END {
     Clownfish::CFC::Model::Class->_clear_registry();
@@ -25,7 +26,7 @@ END {
 }
 
 use XSLoader;
-BEGIN { XSLoader::load( 'Clownfish::CFC', '0.01' ) }
+BEGIN { XSLoader::load( 'Clownfish::CFC', '0.003000' ) }
 
 {
     package Clownfish::CFC::Util;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/04a7a18b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
index eaa9dd7..cb8395f 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
@@ -18,7 +18,8 @@ use warnings;
 
 package Clownfish::CFC::Perl::Build;
 use base qw( Module::Build );
-our $VERSION = '0.01';
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 use File::Spec::Functions qw( catdir catfile curdir updir abs2rel rel2abs );
 use File::Path qw( mkpath );
@@ -583,10 +584,10 @@ the Perl bindings for Clownfish modules.
             'Other::Module' => '0.3.0',
         },
         configure_requires => {
-            'Clownfish::CFC::Perl::Build' => 0.01,
+            'Clownfish::CFC::Perl::Build' => 0.003000,
         },
         build_requires => {
-            'Clownfish::CFC::Perl::Build' => 0.01,
+            'Clownfish::CFC::Perl::Build' => 0.003000,
         },
     );
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/04a7a18b/runtime/perl/buildlib/Clownfish/Build.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/buildlib/Clownfish/Build.pm b/runtime/perl/buildlib/Clownfish/Build.pm
index 356eaa5..19d923f 100644
--- a/runtime/perl/buildlib/Clownfish/Build.pm
+++ b/runtime/perl/buildlib/Clownfish/Build.pm
@@ -67,7 +67,7 @@ sub new {
         include        => [],                  # Don't use default includes.
         source => [ $CORE_SOURCE_DIR, $XS_SOURCE_DIR ],
     };
-    $args{build_requires}{'Clownfish::CFC'} = '0.1.0'
+    $args{build_requires}{'Clownfish::CFC'} = '0.3.0'
         if $IS_CPAN_DIST;
     my $self = $class->SUPER::new( recursive_test_files => 1, %args );
 


[11/12] git commit: Add CHANGES.

Posted by ma...@apache.org.
Add CHANGES.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/0bc1d55d
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/0bc1d55d
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/0bc1d55d

Branch: refs/heads/master
Commit: 0bc1d55d899b23b151512492f6ceabc0f585f719
Parents: 485303d
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Thu Aug 14 19:09:52 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:59:52 2014 -0700

----------------------------------------------------------------------
 CHANGES | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0bc1d55d/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
new file mode 100644
index 0000000..06f3c9f
--- /dev/null
+++ b/CHANGES
@@ -0,0 +1,6 @@
+Revision history for Apache Clownfish
+
+0.4.0  2014-XX-XX
+
+  Initial independent release after separation from Apache Lucy.
+


[02/12] git commit: Mod CONTRIBUTING to accept Github pull requests.

Posted by ma...@apache.org.
Mod CONTRIBUTING to accept Github pull requests.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/15a6b28e
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/15a6b28e
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/15a6b28e

Branch: refs/heads/master
Commit: 15a6b28ea341504801b4585f5db7ba6b872eb775
Parents: d00b1e7
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 15:51:43 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Wed Aug 20 16:57:42 2014 -0700

----------------------------------------------------------------------
 CONTRIBUTING | 52 ++++++++++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/15a6b28e/CONTRIBUTING
----------------------------------------------------------------------
diff --git a/CONTRIBUTING b/CONTRIBUTING
index af1048f..4594ccd 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -1,9 +1,13 @@
-=========================
-Contributing to Clownfish
-=========================
+================================
+Contributing to Apache Clownfish
+================================
 
 MAKE A PLAN:
 
+  Clownfish is developed by the Apache Lucy community.
+
+    http://lucy.apache.org/
+
   If you propose to make non-trivial changes to Clownfish, especially changes
   to the public API, send a note to the Lucy developer's list describing your
   plans:
@@ -21,10 +25,11 @@ GET THE CODE:
 
     https://github.com/apache/lucy-clownfish
 
+  Follow the instructions in INSTALL to set up your local workspace.
+
 MAKE CHANGES:
 
-  Edit the source code as you see fit, then follow the instructions in INSTALL
-  to build Clownfish and run its test suite.
+  Edit the source code as you see fit, then build and run tests.
 
   Please bear the following in mind:
 
@@ -40,28 +45,18 @@ MAKE CHANGES:
       within the Lucy development community; the simpler the contribution, the
       more quickly it can be reviewed and integrated. 
 
-GENERATE A PATCH:
-
-  The easiest way to create a patch with Git is to capture the output of
-  `git diff`:
-
-    git diff > my_changes.patch
-
-  More experienced Git users may wish to generate patch sequences using
-  `git format-patch`.
-
-CONTRIBUTE YOUR PATCH
+OPEN AN ISSUE:
 
-  Lucy's issue-tracker/bug-tracker installation runs Atlassian JIRA and we
-  generally use the term "issue" rather than "bug" because not every
-  contribution fixes a "bug".
+  Clownfish uses Lucy's issue-tracker/bug-tracker installation, which runs
+  Atlassian JIRA.  We generally use the term "issue" rather than "bug" because
+  not every contribution fixes a "bug".
   
      https://issues.apache.org/jira/browse/LUCY
   
   1. Create a JIRA account for yourself and sign in.
   2. Once you have signed in, the "create new issue" link will appear.  Either
      use it to open a new issue or navigate to an existing one as appropriate.
-  3. Attach your patch to the issue using the menu command
+  3. To attach files to an issue, use the menu command
      'More Actions > Attach Files'.
 
   Attaching a file to an issue causes an email notification to be sent to the
@@ -69,8 +64,21 @@ CONTRIBUTE YOUR PATCH
   persistent while engaging with the Lucy committers who review and apply such
   patches.
 
+CONTRIBUTE A PATCH:
+
+  The easiest way to create a patch with Git is to capture the output of
+  `git diff`:
+
+    git diff > my_changes.patch
+
+  The resulting patch file can then be attached to a JIRA issue.
+
 GITHUB PULL REQUESTS
 
-  At this time, we have no way to accept pull requests for the Github
-  read-only mirror, so please use the JIRA patch submission process.
+  Github users may submit pull requests against our mirror:
+
+    https://github.com/apache/lucy-clownfish
+
+  An email notifying the Lucy developers list of your pull request will be
+  triggered automatically.