common/thrift.git
12 years agoTHRIFT-1747 Generated Python code incorrect when declaring constants of a struct...
Roger Meier [Thu, 15 Nov 2012 21:46:01 +0000 (21:46 +0000)] 
THRIFT-1747 Generated Python code incorrect when declaring constants of a struct type declared in an included thrift file
Patch: Justin Judd

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

12 years agoTHRIFT-1749 Python TSSLSocket error handling obscures actual error
Roger Meier [Thu, 8 Nov 2012 23:11:14 +0000 (23:11 +0000)] 
THRIFT-1749 Python TSSLSocket error handling obscures actual error
Patch: Tyler Hobbs

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

12 years agoTHRIFT-1748 Guard and RWGuard macros defined in global namespace
Roger Meier [Wed, 7 Nov 2012 20:26:03 +0000 (20:26 +0000)] 
THRIFT-1748 Guard and RWGuard macros defined in global namespace
Patch: Bud Bundy

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

12 years agoTHRIFT-1745 Python JSON protocol
Roger Meier [Fri, 2 Nov 2012 10:36:59 +0000 (10:36 +0000)] 
THRIFT-1745 Python JSON protocol
fix typo detected by cross language test suite

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

12 years agoTHRIFT-847 Test Framework harmonization across all languages
Roger Meier [Fri, 2 Nov 2012 07:50:24 +0000 (07:50 +0000)] 
THRIFT-847 Test Framework harmonization across all languages
add NODE_PATH
remove Unix Domain Socket used by tests

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

12 years agoTHRIFT-1745 Python JSON protocol
Roger Meier [Fri, 2 Nov 2012 00:05:42 +0000 (00:05 +0000)] 
THRIFT-1745 Python JSON protocol
TJSONProtocol.py: Frederic Delbos

THRIFT-847 Test Framework harmonization across all languages
Integration into py lib and test suite

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

12 years agoTHRIFT-1735 remove generated files with make clean
Roger Meier [Thu, 1 Nov 2012 23:02:07 +0000 (23:02 +0000)] 
THRIFT-1735 remove generated files with  make clean

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

12 years agoTHRIFT-1735 remove generated files with make clean
Roger Meier [Thu, 1 Nov 2012 22:59:09 +0000 (22:59 +0000)] 
THRIFT-1735 remove generated files with  make clean

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

12 years agoTHRIFT-1744: Compilation failure under Android NDK toolchain
Henrique Mendonca [Mon, 29 Oct 2012 21:55:46 +0000 (21:55 +0000)] 
THRIFT-1744: Compilation failure under Android NDK toolchain
Client: C++ and Android NDK
Patch: Vlad Troyanker

include config.h

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

12 years agoTHRIFT-1735 integrate tutorial into regular build
Roger Meier [Fri, 26 Oct 2012 21:46:18 +0000 (21:46 +0000)] 
THRIFT-1735 integrate tutorial into regular build
python and python twisted

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

12 years agochange AUTHOR to Apache Thrift <dev@thrift.apache.org>
Roger Meier [Fri, 26 Oct 2012 20:19:44 +0000 (20:19 +0000)] 
change AUTHOR to Apache Thrift <dev@thrift.apache.org>

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

12 years agoThrift-1353: Switch to performance branch, get rid of BinaryParser
Henrique Mendonca [Fri, 26 Oct 2012 07:29:47 +0000 (07:29 +0000)] 
Thrift-1353: Switch to performance branch, get rid of BinaryParser
Client: Node.js
Patch: Wade Simmons

add missing files and licenses

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

12 years agoignore thrift.exe
Roger Meier [Wed, 24 Oct 2012 21:39:54 +0000 (21:39 +0000)] 
ignore thrift.exe

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

12 years agoTHRIFT-1735 do nothing when building with MINGW
Roger Meier [Wed, 24 Oct 2012 21:38:21 +0000 (21:38 +0000)] 
THRIFT-1735 do nothing when building with MINGW

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

12 years agoremove unused variable
Roger Meier [Wed, 24 Oct 2012 21:12:47 +0000 (21:12 +0000)] 
remove unused variable

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

12 years agoadd missing svn:ignore for Makefile
Roger Meier [Wed, 24 Oct 2012 18:59:43 +0000 (18:59 +0000)] 
add missing svn:ignore for Makefile

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

12 years agoTHRIFT-1735 integrate tutorial into regular build
Roger Meier [Wed, 24 Oct 2012 18:40:06 +0000 (18:40 +0000)] 
THRIFT-1735 integrate tutorial into regular build
- cpp support
- cleanup stuff

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

12 years agoTHRIFT-1739: missing license header in node.js files
Jake Farrell [Tue, 23 Oct 2012 00:48:17 +0000 (00:48 +0000)] 
THRIFT-1739: missing license header in node.js files
Client: node.js
Patch: Jake Farrell

Adding license headers to node.js files.

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

12 years agoThrift-1353: Switch to performance branch, get rid of BinaryParser
Henrique Mendonca [Mon, 22 Oct 2012 21:06:14 +0000 (21:06 +0000)] 
Thrift-1353: Switch to performance branch, get rid of BinaryParser
Client: Node.js
Patch: Wade Simmons

"binary" fields will be returned as Buffers instead of Strings
"int64" fields will be returned as http://github.com/broofa/node-int64 objects

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

12 years agoremove whitespace and add some svn:ignore
Roger Meier [Mon, 22 Oct 2012 19:52:40 +0000 (19:52 +0000)] 
remove whitespace and add some svn:ignore

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

12 years agoTHRIFT-1735 integrate tutorial into regular build
Roger Meier [Mon, 22 Oct 2012 19:27:38 +0000 (19:27 +0000)] 
THRIFT-1735 integrate tutorial into regular build
Patch: Roger Meier

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

12 years agoThrift-1738: node.js: export transport and protocol so they can be used outside the...
Henrique Mendonca [Mon, 22 Oct 2012 18:35:30 +0000 (18:35 +0000)] 
Thrift-1738: node.js: export transport and protocol so they can be used outside the cassandra/server context
Client: Node.js
Patch: Barbara Raitz

exports and parse example.

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

12 years agoadd 0.9.0 relase to doap.rdf
Roger Meier [Sat, 20 Oct 2012 21:33:49 +0000 (21:33 +0000)] 
add 0.9.0 relase to doap.rdf

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

12 years agoTHRIFT-1724 HTML generator doesn't identify unions in output
Roger Meier [Sat, 20 Oct 2012 21:29:02 +0000 (21:29 +0000)] 
THRIFT-1724 HTML generator doesn't identify unions in output
Patch: Kevin Radloff

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

12 years agoTHRIFT-1731 error: expected identifier before ';' token
Roger Meier [Sat, 20 Oct 2012 21:18:43 +0000 (21:18 +0000)] 
THRIFT-1731 error: expected identifier before ';' token
Patch: Martin Vogt

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

12 years agoTHRIFT-1713 Named and Anonymous Pipe transport (Delphi)
Roger Meier [Sat, 20 Oct 2012 20:59:41 +0000 (20:59 +0000)] 
THRIFT-1713 Named and Anonymous Pipe transport (Delphi)
Patch: Jens Geyer

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

12 years agoThrift-1709:Warning "Bitwise-or operator used on a sign-extended operand;..."
Jake Farrell [Sat, 20 Oct 2012 16:47:51 +0000 (16:47 +0000)] 
Thrift-1709:Warning "Bitwise-or operator used on a sign-extended operand;..."
Client: csharp
Patch: Jake Farrell

Reverts initial patch submitted with ticket and changes to using unchecked {} due to reported memory issues with the previous patch.

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

12 years agoTHRIFT-1414 bufferoverflow in c_glib buffered transport/socket client
Roger Meier [Wed, 17 Oct 2012 22:05:44 +0000 (22:05 +0000)] 
THRIFT-1414 bufferoverflow in c_glib buffered transport/socket client
Patch: Christian Zimnick

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

12 years agoTHRIFT-1730 error: numeric_limits is not a member of std
Roger Meier [Wed, 17 Oct 2012 22:02:01 +0000 (22:02 +0000)] 
THRIFT-1730 error: numeric_limits is not a member of std
Patch: Martin Vogt

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

12 years agoThrift-1729:C glib refactor left empty folders in svn
Jake Farrell [Fri, 12 Oct 2012 14:55:57 +0000 (14:55 +0000)] 
Thrift-1729:C glib refactor left empty folders in svn
Client: c_glib
Patch: Jake Farrell

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

12 years agoThrift-1728:Upgradation of httpcomponents
Jake Farrell [Fri, 12 Oct 2012 14:44:14 +0000 (14:44 +0000)] 
Thrift-1728:Upgradation of httpcomponents
Client: java
Patch: Karthik K

Upgrade java version dependencies and moves versioning into build.properties

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

12 years agoTHRIFT-1643:Denial of Service attack in TBinaryProtocol.readString
Jake Farrell [Fri, 12 Oct 2012 00:43:13 +0000 (00:43 +0000)] 
THRIFT-1643:Denial of Service attack in TBinaryProtocol.readString
Client: java
Patch: Niraj Tolia

In readString, if the string field's size is greater than the number of bytes remaining in the byte array to deserialize, libthrift will happily allocate a byte array of that size in readStringBody, filling the heap.

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

12 years agoUpdating Thrift trunk version to 1.0.0-dev
Jake Farrell [Thu, 11 Oct 2012 20:34:25 +0000 (20:34 +0000)] 
Updating Thrift trunk version to 1.0.0-dev

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

12 years agoThrift-1721:Dist broken due to 0.8.0 to 0.9.0 changes
Jake Farrell [Thu, 11 Oct 2012 00:29:11 +0000 (00:29 +0000)] 
Thrift-1721:Dist broken due to 0.8.0 to 0.9.0 changes
Client: build
Patch: Jake Farrell

Fix dist build to create the 0.9.0 release

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

12 years agoThrift-1722:C# WP7 Assembly addition beaks mono build
Jake Farrell [Thu, 11 Oct 2012 00:20:00 +0000 (00:20 +0000)] 
Thrift-1722:C# WP7 Assembly addition beaks mono build
Client: csharp
Patch: Jake Farrell

Fix DIST build for release which broke with the addition of WP7 Assembly info.

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

12 years agoThrift-1718:Incorrect check in TFileTransportTest
Jake Farrell [Tue, 9 Oct 2012 19:59:35 +0000 (19:59 +0000)] 
Thrift-1718:Incorrect check in TFileTransportTest
Client: cpp
Patch: Diwaker Gupta

Fixes cpp tests

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

12 years agoTHRIFT-1716 max allowed connections should be PIPE_UNLIMITED_INSTANCES
Roger Meier [Tue, 9 Oct 2012 18:46:55 +0000 (18:46 +0000)] 
THRIFT-1716 max allowed connections should be PIPE_UNLIMITED_INSTANCES
Patch: Jens Geyer

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

12 years agoTHRIFT-1643 Denial of Service attack in TBinaryProtocol.readString
Roger Meier [Tue, 9 Oct 2012 18:42:16 +0000 (18:42 +0000)] 
THRIFT-1643 Denial of Service attack in TBinaryProtocol.readString
Patch: Niraj Tolia
Fix:   add TCompactProtocol maxNetworkBytes

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

12 years agoThrift-1717: fix deb build in jenkins
Jake Farrell [Tue, 9 Oct 2012 01:21:45 +0000 (01:21 +0000)] 
Thrift-1717: fix deb build in jenkins
Client: build
Patch: Jake Farrell

Fixing debian changelog to allow deb build to be automated again within jenkins.

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

12 years agoThrift-1023:Thrift encoding (UTF-8) issue with Ruby 1.9.2
Jake Farrell [Tue, 9 Oct 2012 01:10:43 +0000 (01:10 +0000)] 
Thrift-1023:Thrift encoding (UTF-8) issue with Ruby 1.9.2
Client: rb
Patch: Nathan Beyer

Fixes encoding issue for UTF-8 strings in ruby client.

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

12 years agoThrift-1673: Ruby compile flags for exension for multi arch builds (os x)
Jake Farrell [Tue, 9 Oct 2012 00:30:03 +0000 (00:30 +0000)] 
Thrift-1673: Ruby compile flags for exension for multi arch builds (os x)
Client: rb
Patch: Jake Farrell

Updating extconf to only grab arch flags from ruby binary to stop rvm version >= 1.9.x from breaking.

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

12 years agoupdate Visual Studio project files and svn:ignore
Roger Meier [Sun, 7 Oct 2012 19:15:04 +0000 (19:15 +0000)] 
update Visual Studio project files and svn:ignore

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

12 years agoremove unused stuff
Roger Meier [Sun, 7 Oct 2012 14:56:05 +0000 (14:56 +0000)] 
remove unused stuff

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

12 years agoTHRIFT-1695 allow warning-free compilation in VS 2012 and GNU 4.6
Roger Meier [Sun, 7 Oct 2012 11:51:00 +0000 (11:51 +0000)] 
THRIFT-1695 allow warning-free compilation in VS 2012 and GNU 4.6
Patch: Ben Craig & James K Lowden

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

12 years agoignores
Roger Meier [Sat, 6 Oct 2012 10:35:29 +0000 (10:35 +0000)] 
ignores

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

12 years agoTHRIFT-1713 Named and Anonymous Pipe transport (Delphi)
Roger Meier [Sat, 6 Oct 2012 06:58:00 +0000 (06:58 +0000)] 
THRIFT-1713 Named and Anonymous Pipe transport (Delphi)
Patch: Jens Geyer

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

12 years agoTHRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Roger Meier [Sat, 6 Oct 2012 06:10:57 +0000 (06:10 +0000)] 
THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
minor fix

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

12 years agoTHRIFT-1690
Roger Meier [Sat, 6 Oct 2012 06:00:47 +0000 (06:00 +0000)] 
THRIFT-1690
Non-linux OSes use int's in bsd socket calls as well.

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

12 years agoThrift-1714:Explicitly add CWD to Ruby test_suites.rb
Jake Farrell [Sat, 6 Oct 2012 02:51:45 +0000 (02:51 +0000)] 
Thrift-1714:Explicitly add CWD to Ruby test_suites.rb
Client: rb
Patch: Nathan Beyer

test/rb/Makefile.am contains a invocation or the ruby interpreter to run test_suites.rb that needs modification to run correctly on Ruby 1.9+. Ruby 1.9+ doesn't include the CWD by default anymore.

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

12 years agoTHRIFT-1707: Adjust server_spec.rb for RSpec 2.11.x and Ruby 1.9.3
Jake Farrell [Sat, 6 Oct 2012 00:26:28 +0000 (00:26 +0000)] 
THRIFT-1707: Adjust server_spec.rb for RSpec 2.11.x and Ruby 1.9.3
Client: rb
Patch: Nathan Beyer

The message expectations in RSpec 2.11.x don't seem to work consistently on Ruby 1.9.x when Threads are used. This is causing a problem in a few tests in server_spec.rb.

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

12 years agoupdate svn ignore
Roger Meier [Fri, 5 Oct 2012 13:11:57 +0000 (13:11 +0000)] 
update svn ignore

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

12 years agoThrift-1710: Minor issues in test cases code
Jake Farrell [Fri, 5 Oct 2012 00:41:59 +0000 (00:41 +0000)] 
Thrift-1710: Minor issues in test cases code
Client: delphi
Patch: Jens Geyer

The patch for THRIFT-1670 left some minor issues open. These are hereby fixed.
- incorrect search paths in uses clause
- unused variable in ReadResponse()
- incorrectly formatted comment in IDL

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

12 years agoThrift-1709:Warning "Bitwise-or operator used on a sign-extended operand; consider...
Jake Farrell [Fri, 5 Oct 2012 00:38:11 +0000 (00:38 +0000)] 
Thrift-1709:Warning "Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first" in TBinaryProtocol.cs at ReadInt64()
Client: csharp
Patch: Jens Geyer

Fixes warning at the byte shift operations due to a missing cast at the bitwise-or.

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

12 years agoadd some ignores
Roger Meier [Thu, 4 Oct 2012 18:09:05 +0000 (18:09 +0000)] 
add some ignores

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

12 years agoTHRIFT-1690 Sockets and Pipe Handles truncated on Win64
Roger Meier [Thu, 4 Oct 2012 18:02:15 +0000 (18:02 +0000)] 
THRIFT-1690 Sockets and Pipe Handles truncated on Win64
Patch: Ben Craig

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

12 years agoThrift-336: Compact Protocol in C#
Henrique Mendonca [Wed, 3 Oct 2012 09:26:32 +0000 (09:26 +0000)] 
Thrift-336: Compact Protocol in C#
Patch: Henrique Mendonça

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

12 years agoThrift-336: Compact Protocol in C#
Henrique Mendonca [Wed, 3 Oct 2012 09:25:52 +0000 (09:25 +0000)] 
Thrift-336: Compact Protocol in C#
Patch: Henrique Mendonça

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

12 years agoTHRIFT-1645: Replace Object#tee with more conventional Object#tap in specs
Jake Farrell [Mon, 1 Oct 2012 18:42:23 +0000 (18:42 +0000)] 
THRIFT-1645: Replace Object#tee with more conventional Object#tap in specs
Client: rb
Patch: Nathan Beyer

The spec_helper.rb defines an Object#tee method, which is functionally equivalent to Object#tap. Object#tap was added to Ruby 1.9 and to 1.8.7.

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

12 years agoThrift-1680:Make install requires GNU make
Jake Farrell [Sat, 29 Sep 2012 00:26:36 +0000 (00:26 +0000)] 
Thrift-1680:Make install requires GNU make
Client: build
patch: Jake Farrell

Updates boost and libevent configure messages, updates thrift help to display error and smaller message, moves help to --help or -help and takes care of // TODO(dreiss): Delete these when everyone is using the new hotness. Welcome to the new hotness everyone.

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

12 years agoTHRIFT-1082: Thrift::FramedTransport sometimes calls close() on an undefined value
Jake Farrell [Fri, 28 Sep 2012 12:08:01 +0000 (12:08 +0000)] 
THRIFT-1082: Thrift::FramedTransport sometimes calls close() on an undefined value
Client: perl
Patch: John Siracusa

Fixes Thrift::FramedTransport module sometimes ends up calling the close() method on an undefined value inside its own close()

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

12 years agoTHRIFT-1591: Enable TCP_NODELAY for ruby gem
Jake Farrell [Fri, 28 Sep 2012 11:25:42 +0000 (11:25 +0000)] 
THRIFT-1591: Enable TCP_NODELAY for ruby gem
Client: rb
Patch: Christos Trochalakis

Set TCP_NODELAY for client socket for ruby lib

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

12 years agoThrift-1644:Upgrade RSpec to 2.11.x and refactor specs as needed
Jake Farrell [Fri, 28 Sep 2012 01:59:04 +0000 (01:59 +0000)] 
Thrift-1644:Upgrade RSpec to 2.11.x and refactor specs as needed
Client: rb
Patch: Nathan Beyer

Upgrading to rspec2.

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

12 years agoClient: JS
Henrique Mendonca [Thu, 27 Sep 2012 13:14:36 +0000 (13:14 +0000)] 
Client: JS
Extend QUnit test cases

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

12 years agoThrift-1703:Add leading :: to cpp names
Henrique Mendonca [Thu, 27 Sep 2012 12:58:40 +0000 (12:58 +0000)] 
Thrift-1703:Add leading :: to cpp names
Client: c++
Patch: Jochen Topf

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

12 years agoTHRIFT-1521:patches for more Performance
Jake Farrell [Tue, 25 Sep 2012 18:58:27 +0000 (18:58 +0000)] 
THRIFT-1521:patches for more Performance
Client: php
Patch: D. Edler

Removes double function calls in the transport classes to strlen.

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

12 years agoThrift-1701:node.js TBufferedTransport buffer corruption
Henrique Mendonca [Mon, 24 Sep 2012 19:11:19 +0000 (19:11 +0000)] 
Thrift-1701:node.js TBufferedTransport buffer corruption
Patch: Marshall Roch

fix buffer copy method calls

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

12 years agoThrift-1696:Compiler fails if namespace of an unknown language is present in the IDL
Henrique Mendonca [Mon, 24 Sep 2012 18:36:16 +0000 (18:36 +0000)] 
Thrift-1696:Compiler fails if namespace of an unknown language is present in the IDL
Patch: Abhishek Kona

print warning instead of throwing an exception

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

12 years agoTHRIFT-1689: don't exit(-1) in TNonblockingServer
Henrique Mendonca [Thu, 20 Sep 2012 13:19:55 +0000 (13:19 +0000)] 
THRIFT-1689: don't exit(-1) in TNonblockingServer
Client: c++
Patch: Brian Fallik

use standard exit(1) instead

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

12 years agoTHRIFT-1694 Re-Enable serialization for WP7 Silverlight
Roger Meier [Wed, 19 Sep 2012 19:30:36 +0000 (19:30 +0000)] 
THRIFT-1694 Re-Enable serialization for WP7 Silverlight
Patch: Jens Geyer

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

12 years agoTHRIFT-1651 Support annotations on all elements
Roger Meier [Mon, 17 Sep 2012 21:18:05 +0000 (21:18 +0000)] 
THRIFT-1651 Support annotations on all elements
Patch: Benjy Weinberger

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

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