common/thrift.git
12 years agoThrift-1693:libthrift has dependency on two different versions of httpcore
Jake Farrell [Thu, 13 Sep 2012 01:43:10 +0000 (01:43 +0000)] 
Thrift-1693:libthrift has dependency on two different versions of httpcore
Client: java
Patch: Jake Farrell

Update version of httpclient to match httpcore in use in java lib.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1384182 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1691 Serializer/deserializer support for Delphi
Roger Meier [Wed, 12 Sep 2012 20:09:02 +0000 (20:09 +0000)] 
THRIFT-1691 Serializer/deserializer support for Delphi
Patch: Jens Geyer

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1384105 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1655. java: TBinaryProtocol: exceeded message length raises generic TException
Bryan Duxbury [Tue, 11 Sep 2012 18:33:07 +0000 (18:33 +0000)] 
THRIFT-1655. java: TBinaryProtocol: exceeded message length raises generic TException

This patch converts the TException into a TProtocolException.

Patch: Tyler Hobbs

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1383515 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1686 t_php_generator.cc uses "and" instead of "&&", and causes compiler errors...
Roger Meier [Thu, 6 Sep 2012 17:59:55 +0000 (17:59 +0000)] 
THRIFT-1686 t_php_generator.cc uses "and" instead of "&&", and causes compiler errors with Visual Studio
Patch: Ben Craig

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381696 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1615
Roger Meier [Wed, 5 Sep 2012 20:07:52 +0000 (20:07 +0000)] 
THRIFT-1615
cleanup: remove empty stuff

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381333 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1615 PHP Namespace (was Thrift for Symfony 2)
Roger Meier [Wed, 5 Sep 2012 19:47:14 +0000 (19:47 +0000)] 
THRIFT-1615 PHP Namespace (was Thrift for Symfony 2)
Patch: Xavier HAUSHERR

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381323 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1650: Update clean items and svn:ignore entries for OS X artifacts
Jake Farrell [Sun, 2 Sep 2012 03:26:50 +0000 (03:26 +0000)] 
Thrift-1650: Update clean items and svn:ignore entries for OS X artifacts
Client: ruby
Patch: Nathan Beyer

add a few entries to the CLEAN variable, so that some additional OS X artifacts will get cleaned up

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1379915 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1670: Incompatibilities between different versions of a Thrift interface
Jake Farrell [Wed, 29 Aug 2012 02:04:35 +0000 (02:04 +0000)] 
Thrift-1670: Incompatibilities between different versions of a Thrift interface
Client: delphi
Patch: Jens Geyer

The method TProtocolUtil.Skip() lacks implementation, which leads to exceptions after unknown message members are found by the generated deserialisation code.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1378429 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1656: Setting proper headers in THttpServer.cpp so that "Cross-Origin Resource...
Jake Farrell [Wed, 22 Aug 2012 02:57:07 +0000 (02:57 +0000)] 
Thrift-1656: Setting proper headers in THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can work.
Client: cpp
Patch: Shantanu Choudhary

Set headers from server side, in the response, so that Javascript can handle Cross-site HTTP requests.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1375883 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1658:Java thrift server is not throwing TApplicationException
Jake Farrell [Wed, 22 Aug 2012 02:27:06 +0000 (02:27 +0000)] 
Thrift-1658:Java thrift server is not throwing TApplicationException
Client: java
Patch: Keith Turner

Exceptions not being handled correctly within newly modified ProcessFunctions. Added back code previously removed from auto generated class.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1375880 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1674:Update Thrift D library to be compatible with 2.060
Jake Farrell [Sat, 18 Aug 2012 03:31:28 +0000 (03:31 +0000)] 
Thrift-1674:Update Thrift D library to be compatible with 2.060
Client: d
Patch: David Nadlinger

Updated D lib for 2.060.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1374507 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1664:Reference to non-existing variable in build script
Jake Farrell [Mon, 13 Aug 2012 04:03:44 +0000 (04:03 +0000)] 
Thrift-1664:Reference to non-existing variable in build script
Client: build
Patch: Christopher Rogers

Fixes missing letter in variable $success_logical in aclocal/ax_signed_right_shift.m4:107

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1372257 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1673: Ruby compile flags for extension for multi arch builds (os x)
Jake Farrell [Thu, 9 Aug 2012 16:03:14 +0000 (16:03 +0000)] 
Thrift-1673: Ruby compile flags for extension for multi arch builds (os x)
Client: ruby
Patch: Jake Farrell

Updating extension build to use ruby cflags which include the arch flags needed.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1371273 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1671:Cocoa code generator does not put keywords into generated method calls
Jake Farrell [Wed, 8 Aug 2012 17:38:39 +0000 (17:38 +0000)] 
Thrift-1671:Cocoa code generator does not put keywords into generated method calls
Client: cocoa
Patch: Jan Brauer

Adds keywords into generated method calls.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1370855 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1661:Add --with-qt4 configure option
Jake Farrell [Fri, 27 Jul 2012 16:01:33 +0000 (16:01 +0000)] 
Thrift-1661:Add --with-qt4 configure option
Client: cpp
Patch: Blair Zajac

Adds ability to enable/disable qt4 support.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1366428 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1662:"removeObject:" should be "removeObserver:" in [-TSocketServer dealloc]?
Jake Farrell [Fri, 27 Jul 2012 15:48:37 +0000 (15:48 +0000)] 
Thrift-1662:"removeObject:" should be "removeObserver:" in [-TSocketServer dealloc]?
Client: cocoa
Patch: Ken Morishita

Fixed issue there TSockerServer was using wrong notification center method. Using
- (void)removeObserver:(id)notificationObserver

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1366424 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1655: Configure still trying to use thrift_generators in output
Jake Farrell [Tue, 24 Jul 2012 17:28:24 +0000 (17:28 +0000)] 
Thrift-1655: Configure still trying to use thrift_generators in output
Client: build
Patch: Jake Farrell

Remove thrift_generators line from configure.ac

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1365183 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1116 Compilation error in file TSSLSocket.cpp on FreeBSD-8.0
Roger Meier [Wed, 18 Jul 2012 12:03:20 +0000 (12:03 +0000)] 
THRIFT-1116 Compilation error in file TSSLSocket.cpp on FreeBSD-8.0
Patch: Pavlin Radoslavov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1362896 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1064 TClientInfoServerHandler::processContext() is not called for TNonblocking...
Roger Meier [Wed, 18 Jul 2012 05:42:51 +0000 (05:42 +0000)] 
THRIFT-1064 TClientInfoServerHandler::processContext() is not called for TNonblockingServer server event handler
Patch: Pavlin Radoslavov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1362773 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1652: TSaslTransport does not log the error when kerberos auth fails
Jake Farrell [Sat, 14 Jul 2012 23:56:20 +0000 (23:56 +0000)] 
Thrift-1652: TSaslTransport does not log the error when kerberos auth fails
Client: java
Patch: Rohini Palaniswamy

The actual kerberos authentication failure is not logged and it is very difficult to find the actual reason for the failure.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1361615 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1632. rb: ruby: data corruption in thrift_native implementation of MemoryBuffe...
Bryan Duxbury [Fri, 29 Jun 2012 00:21:19 +0000 (00:21 +0000)] 
THRIFT-1632. rb: ruby: data corruption in thrift_native implementation of MemoryBufferTransport

This patch fixes a subtle bug whereby the read buffer was being resized but the method continued to read from the original, unresized buffer but at the wrong location.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1355198 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Roger Meier [Wed, 27 Jun 2012 10:17:57 +0000 (10:17 +0000)] 
THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
remove redundant thrift-sample.sln

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1354405 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1624. java: Isset Generated differently on different platforms
Bryan Duxbury [Tue, 26 Jun 2012 00:32:57 +0000 (00:32 +0000)] 
THRIFT-1624. java: Isset Generated differently on different platforms

This patch initializes is_union_ to a specific value to try and avoid the issue.

Patch: Brian Bloniarz

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1353784 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1635 D codegen bug for required non-nullable fields
Roger Meier [Sun, 24 Jun 2012 19:20:58 +0000 (19:20 +0000)] 
THRIFT-1635 D codegen bug for required non-nullable fields
Patch: David Nadlinger

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1353316 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1633 Add windows build configurations to support static linking
Roger Meier [Sun, 24 Jun 2012 19:18:00 +0000 (19:18 +0000)] 
THRIFT-1633 Add windows build configurations to support static linking
Patch: Adam Duffy

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1353315 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1608 add license header
Roger Meier [Sun, 24 Jun 2012 19:07:12 +0000 (19:07 +0000)] 
THRIFT-1608 add license header

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1353313 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdding svn propset ignore for compiler/src/windows/version.h
Jake Farrell [Fri, 22 Jun 2012 04:18:22 +0000 (04:18 +0000)] 
Adding svn propset ignore for compiler/src/windows/version.h

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1352770 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1438: lib/cpp/src/windows/config.h should read version from configure.ac rathe...
Jake Farrell [Fri, 22 Jun 2012 03:51:38 +0000 (03:51 +0000)] 
THRIFT-1438: lib/cpp/src/windows/config.h should read version from configure.ac rather than a #define
Client: compiler
Patch: Jake Farrell

Converts compiler/cpp/src/windows/version.h to a template and automates uses of configure.ac version rather than a random #define version string.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1352767 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1567:Thrift/cpp: Allow alternate classes to be used for strings
Jake Farrell [Fri, 22 Jun 2012 03:22:53 +0000 (03:22 +0000)] 
Thrift-1567:Thrift/cpp: Allow alternate classes to be used for strings
Client: cpp
Patch: dreiss

The goal of this diff is to allow Thrift strings to be used without
depending on std::string, since it looks like we're starting to move
away from std::string instead of moving to a better implementation.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1352765 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1608 Allow servlet to be supplied TProcessor and TProtocolFactory after the...
Roger Meier [Tue, 19 Jun 2012 20:54:51 +0000 (20:54 +0000)] 
THRIFT-1608 Allow servlet to be supplied TProcessor and TProtocolFactory after the init() method has finished
Patch: Kiril Raychev

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351848 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1626 concurrency::Mutex timedlock fix and lesser improvements
Roger Meier [Tue, 19 Jun 2012 20:42:33 +0000 (20:42 +0000)] 
THRIFT-1626 concurrency::Mutex timedlock fix and lesser improvements
Patch: Andrew Majorov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351845 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Roger Meier [Mon, 18 Jun 2012 20:23:58 +0000 (20:23 +0000)] 
THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Patch: Peace
add pipe crossplatform example to contrib

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351477 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1631 Fix C++ server constructor typos
Roger Meier [Mon, 18 Jun 2012 20:02:36 +0000 (20:02 +0000)] 
THRIFT-1631 Fix C++ server constructor typos
Patch: Andrew Cox

THRIFT-1573 Error on TNonblockingServer constructor
Patch: Denis

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351472 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1622. cpp: Incorrect size returned on read
Bryan Duxbury [Thu, 14 Jun 2012 14:36:18 +0000 (14:36 +0000)] 
THRIFT-1622. cpp: Incorrect size returned on read

This patch adds a missing 'xfer +=' in a few spots.

Patch: NN

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1350268 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1627 compiler built using compilers.vcxproj cannot be used to build some test...
Roger Meier [Tue, 12 Jun 2012 21:01:06 +0000 (21:01 +0000)] 
THRIFT-1627 compiler built using compilers.vcxproj cannot be used to build some test .thrift files
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1349524 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1558 _xplatform_pipe_6-5-2012.patch
Roger Meier [Thu, 7 Jun 2012 13:24:22 +0000 (13:24 +0000)] 
Thrift-1558 _xplatform_pipe_6-5-2012.patch
fix compile error

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1347604 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1621 Delphi Memory leaks
Roger Meier [Wed, 6 Jun 2012 10:32:24 +0000 (10:32 +0000)] 
THRIFT-1621 Delphi Memory leaks
Patch: Jens Geyer

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346814 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1195 Allow users to act on client connects/disconnects
Roger Meier [Tue, 5 Jun 2012 20:14:14 +0000 (20:14 +0000)] 
THRIFT-1195 Allow users to act on client connects/disconnects
HIVE-3067 Shutdown HiveMetaStore on client disconnect or timeout
HIVE-3057 metastore.HiveMetaStore$HMSHandler should set the thread local raw store to null in shutdown()

Patch: Dragan Okiljevic

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346566 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1558 _xplatform_pipe_6-5-2012.patch
Roger Meier [Tue, 5 Jun 2012 19:57:10 +0000 (19:57 +0000)] 
Thrift-1558 _xplatform_pipe_6-5-2012.patch
Patch: Peace C

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346555 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1613. Add code back into empty source file ToStringTest.java
Bryan Duxbury [Tue, 29 May 2012 18:13:39 +0000 (18:13 +0000)] 
THRIFT-1613. Add code back into empty source file ToStringTest.java

Actually, should have just deleted the file.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343889 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1612 Base64 encoding is broken
Roger Meier [Sun, 27 May 2012 18:05:16 +0000 (18:05 +0000)] 
THRIFT-1612 Base64 encoding is broken
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343074 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1613 Add code back into empty source file ToStringTest.java
Roger Meier [Sun, 27 May 2012 10:54:17 +0000 (10:54 +0000)] 
THRIFT-1613 Add code back into empty source file ToStringTest.java
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343032 13f79535-47bb-0310-9956-ffa450edef68

12 years agoremove empty folders
Roger Meier [Fri, 25 May 2012 05:36:46 +0000 (05:36 +0000)] 
remove empty folders

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1342499 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1336 thrift: added server and processor test code
Roger Meier [Wed, 23 May 2012 19:40:40 +0000 (19:40 +0000)] 
THRIFT-1336 thrift: added server and processor test code
revert partly: disable processor test, it breaks the builds

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1341996 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTHRIFT-1585 C++ library fails to build with OS X pthread implementation
Roger Meier [Wed, 23 May 2012 19:17:20 +0000 (19:17 +0000)] 
THRIFT-1585 C++ library fails to build with OS X pthread implementation
Patch: David Nadlinger

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1341990 13f79535-47bb-0310-9956-ffa450edef68

12 years agoThrift-1611:Improved code generation for typedefs
Jake Farrell [Mon, 21 May 2012 00:07:14 +0000 (00:07 +0000)] 
Thrift-1611:Improved code generation for typedefs
Client: delphi
Patch: Jens Geyer

Currently, IDL typedefs are translated into their base types and do not appear in the generated code at all

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340873 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1610:IWebProxy not available on WP7 platform
Jake Farrell [Sat, 19 May 2012 14:29:15 +0000 (14:29 +0000)] 
THRIFT-1610:IWebProxy not available on WP7 platform
Client: csharp
Patch: Jens Geyer

Fix WP7 clients which do not have IWebProxy available.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340487 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1593 Pass on errors like "connection closed" to the handler module
Roger Meier [Fri, 18 May 2012 11:35:51 +0000 (11:35 +0000)] 
THRIFT-1593 Pass on errors like "connection closed" to the handler module
Patch: Björn Bylander
+ bump jsx

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340073 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
Roger Meier [Fri, 18 May 2012 09:25:02 +0000 (09:25 +0000)] 
THRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
fix test suite

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340044 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
Roger Meier [Fri, 18 May 2012 07:35:19 +0000 (07:35 +0000)] 
THRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
Patch: Itai Zukerman

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340014 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThrift-1326:on some platforms, #include <stdint.h> is necessary to be included in...
Jake Farrell [Fri, 18 May 2012 04:14:45 +0000 (04:14 +0000)] 
Thrift-1326:on some platforms, #include <stdint.h> is necessary to be included in Thrift.h
Client: contrib/fb303
Patch: Jake Farrell

Adding check for needed headers to fb303 configure.ac

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339969 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1539:Build and distribute the fb303 python libraries along with thrift
Jake Farrell [Fri, 18 May 2012 03:57:07 +0000 (03:57 +0000)] 
THRIFT-1539:Build and distribute the fb303 python libraries along with thrift
Client: contrib/fb303 - py
Patch: Jake Farrell

Updated build file so dist egg will include project headers, will publish with py client lib to pypi as part of release process.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339967 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThrift-1604:Python exxception handeling for changes from PEP3110
Jake Farrell [Fri, 18 May 2012 01:00:39 +0000 (01:00 +0000)] 
Thrift-1604:Python exxception handeling for changes from PEP3110
Client: py
Patch: Jake Farrell

Python PEP 3110 changed exception handling by replacing the ',' with 'as'. This was initially introduced in python 2.6 and in 3.0 the ',' usage is no longer suppported. Since exception handling through out the py lib uses the ',' it will need to be converted over to using the 'as' syntax for exceptions

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339941 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1159:THttpClient->Flush() issue (connection thru proxy)
Jake Farrell [Fri, 18 May 2012 00:33:54 +0000 (00:33 +0000)] 
THRIFT-1159:THttpClient->Flush() issue (connection thru proxy)
Client: csharp
Patch: Joshua Samuel + Alex Gaas

Resolve HttpClient flush issues with proxy.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339934 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThrift-1607:Incorrect file modes for several source files
Jake Farrell [Thu, 17 May 2012 05:41:09 +0000 (05:41 +0000)] 
Thrift-1607:Incorrect file modes for several source files
Client: build
Patch: Andrew Cox

File modes of some non-script text files (e.g. .xml, .java, .cc) in the source tree include execute permissions (because these files have the svn:executable property).

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339492 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThrift-1606:Race condition in BoostThreadFactory.cpp
Jake Farrell [Thu, 17 May 2012 04:32:10 +0000 (04:32 +0000)] 
Thrift-1606:Race condition in BoostThreadFactory.cpp
Client: cpp
Patch: alexandre parenteau

Race condition between the line that set state_ to "starting", and the line that checked to make sure that it was "starting". That ended meaning that sometimes calling "start()" would not result in the thread's runnable being called.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339477 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThrift-541: Cocoa code generator doesn't put keywords before all arguments.
Jake Farrell [Wed, 16 May 2012 03:49:57 +0000 (03:49 +0000)] 
Thrift-541: Cocoa code generator doesn't put keywords before all arguments.
Client: cocoa
Patch: Andrew McGeachie

Updates args list to contain keywords before any args.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1338995 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1599 Fixing HTTP client(Ruby)
Roger Meier [Fri, 11 May 2012 18:08:58 +0000 (18:08 +0000)] 
THRIFT-1599 Fixing HTTP client(Ruby)
Patch: Tomas

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337323 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1336 thrift: added server and processor test code
Roger Meier [Fri, 11 May 2012 14:19:48 +0000 (14:19 +0000)] 
THRIFT-1336 thrift: added server and processor test code

last commit was wrong! otherway around!
disable concurrency instead of processor_test ... does not run properly on build slaves

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337177 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1336 thrift: added server and processor test code
Roger Meier [Fri, 11 May 2012 13:50:11 +0000 (13:50 +0000)] 
THRIFT-1336 thrift: added server and processor test code

disable processor_test ... does not run properly on build slaves

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337162 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1589 configure.ac should require at least boost 1.41
Roger Meier [Fri, 11 May 2012 10:44:32 +0000 (10:44 +0000)] 
THRIFT-1589 configure.ac should require at least boost 1.41
Build slaves at Apache need 1.40.0

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337107 13f79535-47bb-0310-9956-ffa450edef68

13 years agosome ignores...
Roger Meier [Fri, 11 May 2012 10:15:51 +0000 (10:15 +0000)] 
some ignores...

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337099 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1336 thrift: added server and processor test code
Roger Meier [Fri, 11 May 2012 10:12:39 +0000 (10:12 +0000)] 
THRIFT-1336 thrift: added server and processor test code

move the tests from src to test:
lib\cpp\src\thrift\concurrency\test to lib\cpp\test\concurrency
lib\cpp\src\thrift\processor\test to lib\cpp\test\processor

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337098 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1574 Apache project branding requirements: DOAP file [PATCH]
Roger Meier [Fri, 11 May 2012 09:03:41 +0000 (09:03 +0000)] 
THRIFT-1574 Apache project branding requirements: DOAP file [PATCH]
add all versions

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337069 13f79535-47bb-0310-9956-ffa450edef68

13 years agoupdate svn:ignore
Roger Meier [Fri, 11 May 2012 08:26:48 +0000 (08:26 +0000)] 
update svn:ignore

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337060 13f79535-47bb-0310-9956-ffa450edef68

13 years agoThrift-1079:Support i64 in AS3
Jake Farrell [Fri, 11 May 2012 02:23:00 +0000 (02:23 +0000)] 
Thrift-1079:Support i64 in AS3
Client: as3
Patch: Reverting

Reverting patch due to usage of non public library which breaks ability to export as3 client to maven central during a release.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337007 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix broken build introduced with THRIFT-1336
Roger Meier [Thu, 10 May 2012 21:17:53 +0000 (21:17 +0000)] 
fix broken build introduced with THRIFT-1336

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1336895 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1336 thrift: added server and processor test code
Roger Meier [Thu, 10 May 2012 09:01:45 +0000 (09:01 +0000)] 
THRIFT-1336 thrift: added server and processor test code
Patch: Dave Watson
- rework made by roger

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1336544 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1597 TJSONProtocol.php is missing from Makefile.am
Roger Meier [Tue, 8 May 2012 19:42:33 +0000 (19:42 +0000)] 
THRIFT-1597 TJSONProtocol.php is missing from Makefile.am
Patch: Andrew Grumet

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1335717 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix TApplicationException not imported in Python gencode
Christopher Piro [Tue, 8 May 2012 01:45:21 +0000 (01:45 +0000)] 
fix TApplicationException not imported in Python gencode

used unconditionally in the generated code. "from thrift.Thrift import *" included it before r1169492 but not since.

Reviewed By: dreiss

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1335325 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1596 Delphi: Test clients should have a return codes that reflect whether...
Roger Meier [Fri, 4 May 2012 23:35:45 +0000 (23:35 +0000)] 
THRIFT-1596 Delphi: Test clients should have a return codes that reflect whether they succeeded or not
Patch: Jens Geyer

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1334250 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1574 Apache project branding requirements: DOAP file [PATCH]
Roger Meier [Fri, 4 May 2012 21:55:55 +0000 (21:55 +0000)] 
THRIFT-1574 Apache project branding requirements: DOAP file [PATCH]
Patch: Shane Curcuru

roger: added more languages and categories

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1334209 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1592 Test clients should have a return codes that reflect whether they succeed...
Roger Meier [Fri, 4 May 2012 06:22:09 +0000 (06:22 +0000)] 
THRIFT-1592 Test clients should have a return codes that reflect whether they succeeded or not
Patch: Nathaniel Cook

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333765 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
Roger Meier [Thu, 3 May 2012 21:21:43 +0000 (21:21 +0000)] 
THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
- fix the build!
- add test/gen-html for ThriftTest.thrift

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333628 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-681 The HTML generator does not handle JavaDoc style comments very well
Roger Meier [Thu, 3 May 2012 10:23:15 +0000 (10:23 +0000)] 
THRIFT-681 The HTML generator does not handle JavaDoc style comments very well
add missing file t_html_generator.h

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333398 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1590 Document the excepted return values and behaviors ThriftTest.thrift so...
Roger Meier [Wed, 2 May 2012 22:56:47 +0000 (22:56 +0000)] 
THRIFT-1590 Document the excepted return values and behaviors ThriftTest.thrift so that all languages can implement a test server
Patch: Nathaniel Cook

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333243 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
Roger Meier [Wed, 2 May 2012 22:49:55 +0000 (22:49 +0000)] 
THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
Patch: Nathaniel Cook

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333239 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-681. The HTML generator does not handle JavaDoc style comments very well
Bryan Duxbury [Wed, 2 May 2012 21:39:01 +0000 (21:39 +0000)] 
THRIFT-681. The HTML generator does not handle JavaDoc style comments very well

Patch: Kevin Burnett

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333222 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix tutorial python server
Christopher Piro [Wed, 2 May 2012 19:33:47 +0000 (19:33 +0000)] 
fix tutorial python server

the port in TServerSocket's constructor should be passed by keyword; the first positional param is actually the hostname

Reviewed By: dreiss

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333163 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1589 configure.ac should require at least boost 1.41
Roger Meier [Tue, 1 May 2012 21:03:41 +0000 (21:03 +0000)] 
THRIFT-1589 configure.ac should require at least boost 1.41

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332827 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
Roger Meier [Tue, 1 May 2012 20:43:26 +0000 (20:43 +0000)] 
THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages

- reduce NUM_QUERIES within test for slow machines ;-r

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332809 13f79535-47bb-0310-9956-ffa450edef68

13 years agodisable c_glib for mingw compiler build
Roger Meier [Tue, 1 May 2012 12:12:17 +0000 (12:12 +0000)] 
disable c_glib for mingw compiler build

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332624 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1514 Callbacks with newer jQuery versions don't work
Roger Meier [Tue, 1 May 2012 11:20:12 +0000 (11:20 +0000)] 
THRIFT-1514 Callbacks with newer jQuery versions don't work
Patch: Andrew Grumet

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332619 13f79535-47bb-0310-9956-ffa450edef68

13 years agoenable c_glib per default
Roger Meier [Tue, 1 May 2012 11:19:53 +0000 (11:19 +0000)] 
enable c_glib per default

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332618 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1586 Two small D issues
Roger Meier [Sat, 28 Apr 2012 19:20:23 +0000 (19:20 +0000)] 
THRIFT-1586 Two small D issues
Patch: David Nadlinger

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1331810 13f79535-47bb-0310-9956-ffa450edef68

13 years agocleanup .gitignore
Roger Meier [Sat, 28 Apr 2012 19:20:08 +0000 (19:20 +0000)] 
cleanup .gitignore

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1331809 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1583 c_glib leaks memory
Roger Meier [Sat, 28 Apr 2012 11:33:58 +0000 (11:33 +0000)] 
THRIFT-1583 c_glib leaks memory
THRIFT-1578 C_GLib generated code does not compile
THRIFT-1582 Bad includes of nested thrift files in c_glib

Patch: José Antonio Santos
Minor Modificatons by roger:
- thrift prefix for includes
- g_object_unref instead of g_clear_object (needs glib>=2.28)

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1331752 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1577 Compile thrift with php module for php 5.4.0 failed. need to replace...
Roger Meier [Tue, 17 Apr 2012 16:03:21 +0000 (16:03 +0000)] 
THRIFT-1577 Compile thrift with php module for php 5.4.0 failed. need to replace function_entry with zend_function_entry
Patch: Matrix Ji

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1327152 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1277 Node.js serializes false booleans as null
Roger Meier [Sun, 15 Apr 2012 15:58:43 +0000 (15:58 +0000)] 
THRIFT-1277 Node.js serializes false booleans as null
Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1326371 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1552 Thrift (cpp) include files shouldn't require adding "thrift" to the compi...
Roger Meier [Sat, 14 Apr 2012 11:03:43 +0000 (11:03 +0000)] 
THRIFT-1552 Thrift (cpp) include files shouldn't require adding "thrift" to the compilers include path

Some additional fixes to build it on windows as well
Patch: Benoit Dion and Roger Meier

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1326087 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMerge branch 'trunk' of https://github.com/benoitdion/thrift into trunk
Roger Meier [Sat, 14 Apr 2012 11:03:21 +0000 (11:03 +0000)] 
Merge branch 'trunk' of https://github.com/benoitdion/thrift into trunk

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1326086 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1566 Thrift/cpp: Use some different string operations
Roger Meier [Fri, 13 Apr 2012 14:50:32 +0000 (14:50 +0000)] 
THRIFT-1566 Thrift/cpp: Use some different string operations

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325792 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1570 Correctly generate code for empty services.
Roger Meier [Fri, 13 Apr 2012 14:38:19 +0000 (14:38 +0000)] 
THRIFT-1570 Correctly generate code for empty services.
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325786 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1565 Thrift/cpp: Use default constructor for strings
Roger Meier [Fri, 13 Apr 2012 14:33:56 +0000 (14:33 +0000)] 
THRIFT-1565 Thrift/cpp: Use default constructor for strings
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325785 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1569 thrift: add stop() method to python TNonblockingServer
Roger Meier [Fri, 13 Apr 2012 14:24:55 +0000 (14:24 +0000)] 
THRIFT-1569 thrift: add stop() method to python TNonblockingServer
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325784 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1568 Thrift: Add User-Agent header to Python THttpClient
Roger Meier [Fri, 13 Apr 2012 14:20:08 +0000 (14:20 +0000)] 
THRIFT-1568 Thrift: Add User-Agent header to Python THttpClient
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325781 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1564 Minor fixes to TZlibTransport
Roger Meier [Fri, 13 Apr 2012 10:30:11 +0000 (10:30 +0000)] 
THRIFT-1564 Minor fixes to TZlibTransport
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325712 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1552 Thrift (cpp) include files shouldn't require adding "thrift" to the compi...
Roger Meier [Fri, 13 Apr 2012 09:13:13 +0000 (09:13 +0000)] 
THRIFT-1552 Thrift (cpp) include files shouldn't require adding "thrift" to the compilers include path.

roger: some additional fixes

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325677 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/'
Roger Meier [Fri, 13 Apr 2012 09:12:31 +0000 (09:12 +0000)] 
THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/'

To ensure there are no include path collisions the C and C++ header
include paths should include 'thrift' as the root leaf. This will
prevent having to place /usr/include/thrift into the compilers include
header search path, which might otherwise result in the compiler
accidentally picking up headers that it shouldn't.

e.g. #include <foo/bar.h> should be #include <thrift/foo/bar.h>

Change-Id: I48f2b0f549bda0fc81e85506ac857adc800b98a1

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325674 13f79535-47bb-0310-9956-ffa450edef68

13 years agoTHRIFT-1079 Support i64 in AS3
Roger Meier [Wed, 11 Apr 2012 22:28:26 +0000 (22:28 +0000)] 
THRIFT-1079 Support i64 in AS3
Patch: Ethan Urie

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325048 13f79535-47bb-0310-9956-ffa450edef68