You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/03/30 23:35:43 UTC
svn commit: r760189 [6/9] - in /incubator/thrift/trunk: ./ compiler/cpp/
compiler/cpp/src/ compiler/cpp/src/generate/ compiler/cpp/src/parse/
contrib/ contrib/fb303/ contrib/fb303/cpp/ contrib/fb303/if/
contrib/fb303/java/ contrib/fb303/php/ contrib/fb...
Modified: incubator/thrift/trunk/lib/perl/lib/Thrift/BinaryProtocol.pm
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/lib/Thrift/BinaryProtocol.pm?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/lib/Thrift/BinaryProtocol.pm (original)
+++ incubator/thrift/trunk/lib/perl/lib/Thrift/BinaryProtocol.pm Mon Mar 30 21:35:00 2009
@@ -1,13 +1,20 @@
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
+# 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
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# http://www.apache.org/licenses/LICENSE-2.0
#
-# package - thrift.protocol.binary
-# author - T Jake Luciani <ja...@gmail.com>
-# author - Mark Slee <mc...@facebook.com>
+# 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.
#
require 5.6.0;
Modified: incubator/thrift/trunk/lib/perl/lib/Thrift/BufferedTransport.pm
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/lib/Thrift/BufferedTransport.pm?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/lib/Thrift/BufferedTransport.pm (original)
+++ incubator/thrift/trunk/lib/perl/lib/Thrift/BufferedTransport.pm Mon Mar 30 21:35:00 2009
@@ -1,13 +1,20 @@
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
+# 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
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# http://www.apache.org/licenses/LICENSE-2.0
#
-# package - thrift.transport.buffered
-# author - T Jake Luciani <ja...@gmail.com>
-# author - Mark Slee <mc...@facebook.com>
+# 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.
#
require 5.6.0;
Modified: incubator/thrift/trunk/lib/perl/lib/Thrift/FramedTransport.pm
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/lib/Thrift/FramedTransport.pm?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/lib/Thrift/FramedTransport.pm (original)
+++ incubator/thrift/trunk/lib/perl/lib/Thrift/FramedTransport.pm Mon Mar 30 21:35:00 2009
@@ -1,15 +1,22 @@
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
+# 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.
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
-#
-# package - thrift
-# author - T Jake Luciani <ja...@gmail.com>
-# author - Mark Slee <mc...@facebook.com>
-#
-require 5.6.0;
+
use strict;
use warnings;
Modified: incubator/thrift/trunk/lib/perl/lib/Thrift/HttpClient.pm
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/lib/Thrift/HttpClient.pm?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/lib/Thrift/HttpClient.pm (original)
+++ incubator/thrift/trunk/lib/perl/lib/Thrift/HttpClient.pm Mon Mar 30 21:35:00 2009
@@ -1,13 +1,20 @@
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
-#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
-#
-# package - thrift.transport.http
-# based on socket transport implementation and java version of HttpClient
-# author - Igor Afanasyev <ig...@gmail.com>
+# 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.
#
require 5.6.0;
Modified: incubator/thrift/trunk/lib/perl/lib/Thrift/MemoryBuffer.pm
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/lib/Thrift/MemoryBuffer.pm?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/lib/Thrift/MemoryBuffer.pm (original)
+++ incubator/thrift/trunk/lib/perl/lib/Thrift/MemoryBuffer.pm Mon Mar 30 21:35:00 2009
@@ -1,13 +1,20 @@
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
+# 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
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# http://www.apache.org/licenses/LICENSE-2.0
#
-# package - thrift.transport.memorybuffer
-# author - T Jake Luciani <ja...@gmail.com>
-# author - Mark Slee <mc...@facebook.com>
+# 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.
#
require 5.6.0;
Modified: incubator/thrift/trunk/lib/perl/lib/Thrift/Protocol.pm
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/lib/Thrift/Protocol.pm?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/lib/Thrift/Protocol.pm (original)
+++ incubator/thrift/trunk/lib/perl/lib/Thrift/Protocol.pm Mon Mar 30 21:35:00 2009
@@ -1,13 +1,20 @@
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
-#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
-#
-# package - thrift.protocol
-# author - T Jake Luciani <ja...@gmail.com>
-# author - Mark Slee <mc...@facebook.com>
+# 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.
#
require 5.6.0;
Modified: incubator/thrift/trunk/lib/perl/lib/Thrift/Socket.pm
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/lib/Thrift/Socket.pm?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/lib/Thrift/Socket.pm (original)
+++ incubator/thrift/trunk/lib/perl/lib/Thrift/Socket.pm Mon Mar 30 21:35:00 2009
@@ -1,13 +1,20 @@
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
-#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
-#
-# package - thrift.socket
-# author - T Jake Luciani <ja...@gmail.com>
-# author - Mark Slee <mc...@facebook.com>
+# 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.
#
require 5.6.0;
Modified: incubator/thrift/trunk/lib/perl/lib/Thrift/Transport.pm
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/lib/Thrift/Transport.pm?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/lib/Thrift/Transport.pm (original)
+++ incubator/thrift/trunk/lib/perl/lib/Thrift/Transport.pm Mon Mar 30 21:35:00 2009
@@ -1,13 +1,20 @@
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
-#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
-#
-# package - thrift.transport
-# author - T Jake Luciani <ja...@gmail.com>
-# author - Mark Slee <mc...@facebook.com>
+# 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.
#
require 5.6.0;
Modified: incubator/thrift/trunk/lib/perl/test.pl
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/test.pl?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/test.pl (original)
+++ incubator/thrift/trunk/lib/perl/test.pl Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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;
Modified: incubator/thrift/trunk/lib/perl/test/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/test/Makefile.am?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/test/Makefile.am (original)
+++ incubator/thrift/trunk/lib/perl/test/Makefile.am Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
THRIFT = @top_builddir@/compiler/cpp/thrift
THRIFT_IF = @top_srcdir@/test/ThriftTest.thrift
Modified: incubator/thrift/trunk/lib/perl/test/memory_buffer.t
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/perl/test/memory_buffer.t?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/perl/test/memory_buffer.t (original)
+++ incubator/thrift/trunk/lib/perl/test/memory_buffer.t Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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 Test::More tests => 6;
use strict;
Modified: incubator/thrift/trunk/lib/php/README
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/README?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/README (original)
+++ incubator/thrift/trunk/lib/php/README Mon Mar 30 21:35:00 2009
@@ -1,8 +1,5 @@
Thrift PHP Software Library
-Author: Mark Slee (mcslee@facebook.com)
-Last Modified: 2007-Mar-05
-
Thrift is distributed under the Thrift open source software license.
Please see the included LICENSE file.
Modified: incubator/thrift/trunk/lib/php/README.apache
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/README.apache?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/README.apache (original)
+++ incubator/thrift/trunk/lib/php/README.apache Mon Mar 30 21:35:00 2009
@@ -1,8 +1,5 @@
Thrift PHP/Apache Integration
-Author: Mark Slee (mcslee@facebook.com)
-Last Modified: 2007-Mar-20
-
Thrift is distributed under the Thrift open source software license.
Please see the included LICENSE file.
Modified: incubator/thrift/trunk/lib/php/src/Thrift.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/Thrift.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/Thrift.php (original)
+++ incubator/thrift/trunk/lib/php/src/Thrift.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift
*/
+
/**
* Data types that can be sent via Thrift
*/
Modified: incubator/thrift/trunk/lib/php/src/autoload.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/autoload.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/autoload.php (original)
+++ incubator/thrift/trunk/lib/php/src/autoload.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift
*/
+
/**
* Include this file if you wish to use autoload with your PHP generated Thrift
* code. The generated code will *not* include any defined Thrift classes by
Modified: incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp (original)
+++ incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
Modified: incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h (original)
+++ incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
#pragma once
PHP_FUNCTION(thrift_protocol_write_binary);
Modified: incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.cpp?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.cpp (original)
+++ incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.cpp Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
Modified: incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.h?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.h (original)
+++ incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.h Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
#pragma once
PHP_FUNCTION(thrift_protocol_binary_deserialize);
Modified: incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php (original)
+++ incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php Mon Mar 30 21:35:00 2009
@@ -1,16 +1,27 @@
<?php
-include_once $GLOBALS['THRIFT_ROOT'].'/transport/TBufferedTransport.php';
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.protocol
*/
+include_once $GLOBALS['THRIFT_ROOT'].'/transport/TBufferedTransport.php';
+
/**
* Binary implementation of the Thrift protocol.
*
Modified: incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php (original)
+++ incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.protocol
*/
+
/**
* Protocol module. Contains all the types and definitions needed to implement
* a protocol encoder/decoder.
Modified: incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/**
* Buffered transport. Stores data to an internal buffer that it doesn't
* actually write out until flush is called. For reading, we do a greedy
Modified: incubator/thrift/trunk/lib/php/src/transport/TFramedTransport.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TFramedTransport.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TFramedTransport.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TFramedTransport.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/**
* Framed transport. Writes and reads data in chunks that are stamped with
* their length.
Modified: incubator/thrift/trunk/lib/php/src/transport/THttpClient.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/THttpClient.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/THttpClient.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/THttpClient.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/**
* HTTP client for Thrift
*
Modified: incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/**
* A memory buffer is a tranpsort that simply reads from and writes to an
* in-memory string buffer. Anytime you call write on it, the data is simply
Modified: incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/**
* Transport that only accepts writes and ignores them.
* This is useful for measuring the serialized size of structures.
Modified: incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/**
* Php stream transport. Reads to and writes from the php standard streams
* php://input and php://output
Modified: incubator/thrift/trunk/lib/php/src/transport/TSocket.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TSocket.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TSocket.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TSocket.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/**
* Sockets implementation of the TTransport interface.
*
Modified: incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/** Inherits from Socket */
include_once $GLOBALS['THRIFT_ROOT'].'/transport/TSocket.php';
Modified: incubator/thrift/trunk/lib/php/src/transport/TTransport.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TTransport.php?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TTransport.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TTransport.php Mon Mar 30 21:35:00 2009
@@ -1,15 +1,26 @@
<?php
-
-/**
- * Copyright (c) 2006- Facebook
- * Distributed under the Thrift Software License
+/*
+ * 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
*
- * See accompanying file LICENSE or visit the Thrift site at:
- * http://developers.facebook.com/thrift/
+ * 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.
*
* @package thrift.transport
*/
+
/**
* Transport exceptions
*/
Modified: incubator/thrift/trunk/lib/py/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/Makefile.am?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/Makefile.am (original)
+++ incubator/thrift/trunk/lib/py/Makefile.am Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
DESTDIR ?= /
EXTRA_DIST = setup.py src
Modified: incubator/thrift/trunk/lib/py/README
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/README?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/README (original)
+++ incubator/thrift/trunk/lib/py/README Mon Mar 30 21:35:00 2009
@@ -1,8 +1,5 @@
Thrift Python Software Library
-Author: Mark Slee (mcslee@facebook.com)
-Last Modified: 2007-Sep-04
-
Thrift is distributed under the Thrift open source software license.
Please see the included LICENSE file.
Modified: incubator/thrift/trunk/lib/py/setup.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/setup.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/setup.py (original)
+++ incubator/thrift/trunk/lib/py/setup.py Mon Mar 30 21:35:00 2009
@@ -1,10 +1,23 @@
#!/usr/bin/env python
+
+#
+# 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
#
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
+# 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.
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
from distutils.core import setup, Extension
Modified: incubator/thrift/trunk/lib/py/src/TSCons.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/TSCons.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/TSCons.py (original)
+++ incubator/thrift/trunk/lib/py/src/TSCons.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
from os import path
from SCons.Builder import Builder
Modified: incubator/thrift/trunk/lib/py/src/Thrift.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/Thrift.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/Thrift.py (original)
+++ incubator/thrift/trunk/lib/py/src/Thrift.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
class TType:
STOP = 0
Modified: incubator/thrift/trunk/lib/py/src/__init__.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/__init__.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/__init__.py (original)
+++ incubator/thrift/trunk/lib/py/src/__init__.py Mon Mar 30 21:35:00 2009
@@ -1,7 +1,20 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
__all__ = ['Thrift', 'TSCons']
Modified: incubator/thrift/trunk/lib/py/src/protocol/TBinaryProtocol.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/protocol/TBinaryProtocol.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/protocol/TBinaryProtocol.py (original)
+++ incubator/thrift/trunk/lib/py/src/protocol/TBinaryProtocol.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
from TProtocol import *
from struct import pack, unpack
Modified: incubator/thrift/trunk/lib/py/src/protocol/TProtocol.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/protocol/TProtocol.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/protocol/TProtocol.py (original)
+++ incubator/thrift/trunk/lib/py/src/protocol/TProtocol.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
from thrift.Thrift import *
Modified: incubator/thrift/trunk/lib/py/src/protocol/__init__.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/protocol/__init__.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/protocol/__init__.py (original)
+++ incubator/thrift/trunk/lib/py/src/protocol/__init__.py Mon Mar 30 21:35:00 2009
@@ -1,7 +1,20 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
__all__ = ['TProtocol', 'TBinaryProtocol', 'fastbinary']
Modified: incubator/thrift/trunk/lib/py/src/protocol/fastbinary.c
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/protocol/fastbinary.c?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/protocol/fastbinary.c (original)
+++ incubator/thrift/trunk/lib/py/src/protocol/fastbinary.c Mon Mar 30 21:35:00 2009
@@ -1,14 +1,21 @@
-// Copyright (c) 2006- Facebook
-// Distributed under the Thrift Software License
-//
-// See accompanying file LICENSE or visit the Thrift site at:
-// http://developers.facebook.com/thrift/
-//
-// NOTE: This code was contributed by an external developer.
-// The internal Thrift team has reviewed and tested it,
-// but we cannot guarantee that it is production-ready.
-// Please feel free to report bugs and/or success stories
-// to the public mailing list.
+/*
+ * 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.
+ */
#include <Python.h>
#include "cStringIO.h"
Modified: incubator/thrift/trunk/lib/py/src/server/THttpServer.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/server/THttpServer.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/server/THttpServer.py (original)
+++ incubator/thrift/trunk/lib/py/src/server/THttpServer.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
import BaseHTTPServer
Modified: incubator/thrift/trunk/lib/py/src/server/TNonblockingServer.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/server/TNonblockingServer.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/server/TNonblockingServer.py (original)
+++ incubator/thrift/trunk/lib/py/src/server/TNonblockingServer.py Mon Mar 30 21:35:00 2009
@@ -1,3 +1,21 @@
+#
+# 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.
+#
"""Implementation of non-blocking server.
The main idea of the server is reciving and sending requests
Modified: incubator/thrift/trunk/lib/py/src/server/TServer.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/server/TServer.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/server/TServer.py (original)
+++ incubator/thrift/trunk/lib/py/src/server/TServer.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
import logging
import sys
Modified: incubator/thrift/trunk/lib/py/src/server/__init__.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/server/__init__.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/server/__init__.py (original)
+++ incubator/thrift/trunk/lib/py/src/server/__init__.py Mon Mar 30 21:35:00 2009
@@ -1,7 +1,20 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
__all__ = ['TServer', 'TNonblockingServer']
Modified: incubator/thrift/trunk/lib/py/src/transport/THttpClient.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/transport/THttpClient.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/transport/THttpClient.py (original)
+++ incubator/thrift/trunk/lib/py/src/transport/THttpClient.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
from TTransport import *
from cStringIO import StringIO
Modified: incubator/thrift/trunk/lib/py/src/transport/TSocket.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/transport/TSocket.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/transport/TSocket.py (original)
+++ incubator/thrift/trunk/lib/py/src/transport/TSocket.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
from TTransport import *
import os
Modified: incubator/thrift/trunk/lib/py/src/transport/TTransport.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/transport/TTransport.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/transport/TTransport.py (original)
+++ incubator/thrift/trunk/lib/py/src/transport/TTransport.py Mon Mar 30 21:35:00 2009
@@ -1,8 +1,21 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
from cStringIO import StringIO
from struct import pack,unpack
Modified: incubator/thrift/trunk/lib/py/src/transport/TTwisted.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/transport/TTwisted.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/transport/TTwisted.py (original)
+++ incubator/thrift/trunk/lib/py/src/transport/TTwisted.py Mon Mar 30 21:35:00 2009
@@ -1,9 +1,29 @@
+#
+# 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.
+#
from zope.interface import implements, Interface, Attribute
from twisted.internet.protocol import Protocol, ServerFactory, ClientFactory, \
connectionDone
from twisted.internet import defer
from twisted.protocols import basic
from twisted.python import log
+
+
from thrift.transport import TTransport
from cStringIO import StringIO
Modified: incubator/thrift/trunk/lib/py/src/transport/__init__.py
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/py/src/transport/__init__.py?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/py/src/transport/__init__.py (original)
+++ incubator/thrift/trunk/lib/py/src/transport/__init__.py Mon Mar 30 21:35:00 2009
@@ -1,7 +1,20 @@
-# Copyright (c) 2006- Facebook
-# Distributed under the Thrift Software License
#
-# See accompanying file LICENSE or visit the Thrift site at:
-# http://developers.facebook.com/thrift/
+# 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.
+#
__all__ = ['TTransport', 'TSocket', 'THttpClient']
Modified: incubator/thrift/trunk/lib/rb/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/Makefile.am?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/Makefile.am (original)
+++ incubator/thrift/trunk/lib/rb/Makefile.am Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
EXTRA_DIST = \
CHANGELOG \
LICENSE \
Modified: incubator/thrift/trunk/lib/rb/README
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/README?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/README (original)
+++ incubator/thrift/trunk/lib/rb/README Mon Mar 30 21:35:00 2009
@@ -1,5 +1,4 @@
Thrift Ruby Software Library
- by Kevin Ballard, Kevin Clark, Mark Slee
http://incubator.apache.org/thrift/
== DESCRIPTION:
Modified: incubator/thrift/trunk/lib/rb/Rakefile
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/Rakefile?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/Rakefile (original)
+++ incubator/thrift/trunk/lib/rb/Rakefile Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
require 'rubygems'
require 'rake'
require 'spec/rake/spectask'
Modified: incubator/thrift/trunk/lib/rb/benchmark/Benchmark.thrift
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/Benchmark.thrift?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/Benchmark.thrift (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/Benchmark.thrift Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
namespace rb ThriftBenchmark
service BenchmarkService {
Modified: incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/benchmark.rb Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
require 'rubygems'
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'thrift'
Modified: incubator/thrift/trunk/lib/rb/benchmark/client.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/client.rb?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/client.rb (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/client.rb Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'thrift'
require 'thrift/server/nonblockingserver'
Modified: incubator/thrift/trunk/lib/rb/benchmark/gen-rb/BenchmarkService.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/gen-rb/BenchmarkService.rb?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/gen-rb/BenchmarkService.rb (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/gen-rb/BenchmarkService.rb Mon Mar 30 21:35:00 2009
@@ -1,4 +1,23 @@
#
+# 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.
+#
+
+#
# Autogenerated by Thrift
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
Modified: incubator/thrift/trunk/lib/rb/benchmark/gen-rb/Benchmark_constants.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/gen-rb/Benchmark_constants.rb?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/gen-rb/Benchmark_constants.rb (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/gen-rb/Benchmark_constants.rb Mon Mar 30 21:35:00 2009
@@ -1,4 +1,23 @@
#
+# 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.
+#
+
+#
# Autogenerated by Thrift
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
Modified: incubator/thrift/trunk/lib/rb/benchmark/gen-rb/Benchmark_types.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/gen-rb/Benchmark_types.rb?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/gen-rb/Benchmark_types.rb (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/gen-rb/Benchmark_types.rb Mon Mar 30 21:35:00 2009
@@ -1,4 +1,23 @@
#
+# 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.
+#
+
+#
# Autogenerated by Thrift
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
Modified: incubator/thrift/trunk/lib/rb/benchmark/server.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/server.rb?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/server.rb (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/server.rb Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'thrift'
require 'thrift/server/nonblockingserver'
Modified: incubator/thrift/trunk/lib/rb/benchmark/thin_server.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/benchmark/thin_server.rb?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/benchmark/thin_server.rb (original)
+++ incubator/thrift/trunk/lib/rb/benchmark/thin_server.rb Mon Mar 30 21:35:00 2009
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'thrift'
require 'thrift/server/nonblockingserver'
Modified: incubator/thrift/trunk/lib/rb/ext/binary_protocol_accelerated.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/ext/binary_protocol_accelerated.h?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/ext/binary_protocol_accelerated.h (original)
+++ incubator/thrift/trunk/lib/rb/ext/binary_protocol_accelerated.h Mon Mar 30 21:35:00 2009
@@ -1,4 +1,4 @@
-/**
+/*
* 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
Modified: incubator/thrift/trunk/lib/rb/ext/compact_protocol.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/ext/compact_protocol.h?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/ext/compact_protocol.h (original)
+++ incubator/thrift/trunk/lib/rb/ext/compact_protocol.h Mon Mar 30 21:35:00 2009
@@ -1,4 +1,4 @@
-/**
+/*
* 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
Modified: incubator/thrift/trunk/lib/rb/ext/constants.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/ext/constants.h?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/ext/constants.h (original)
+++ incubator/thrift/trunk/lib/rb/ext/constants.h Mon Mar 30 21:35:00 2009
@@ -1,4 +1,4 @@
-/**
+/*
* 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
Modified: incubator/thrift/trunk/lib/rb/ext/macros.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/ext/macros.h?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/ext/macros.h (original)
+++ incubator/thrift/trunk/lib/rb/ext/macros.h Mon Mar 30 21:35:00 2009
@@ -1,4 +1,4 @@
-/**
+/*
* 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
Modified: incubator/thrift/trunk/lib/rb/ext/memory_buffer.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/ext/memory_buffer.h?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/ext/memory_buffer.h (original)
+++ incubator/thrift/trunk/lib/rb/ext/memory_buffer.h Mon Mar 30 21:35:00 2009
@@ -1,4 +1,4 @@
-/**
+/*
* 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
Modified: incubator/thrift/trunk/lib/rb/ext/protocol.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/ext/protocol.h?rev=760189&r1=760188&r2=760189&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/ext/protocol.h (original)
+++ incubator/thrift/trunk/lib/rb/ext/protocol.h Mon Mar 30 21:35:00 2009
@@ -1,4 +1,4 @@
-/**
+/*
* 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