Commit Graph

2911 Commits

Author SHA1 Message Date
Roger Meier
05ab89a128 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
2012-11-02 10:36:59 +00:00
Roger Meier
691ec00213 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
2012-11-02 07:50:24 +00:00
Roger Meier
85fb6de7f4 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
2012-11-02 00:05:42 +00:00
Roger Meier
c9ce87fb02 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
2012-11-01 23:02:07 +00:00
Roger Meier
f4cd5ba434 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
2012-11-01 22:59:09 +00:00
Henrique Mendonca
36ae65cf2e 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
2012-10-29 21:55:46 +00:00
Roger Meier
1d66d061b7 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
2012-10-26 21:46:18 +00:00
Roger Meier
ccfedcb643 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
2012-10-26 20:19:44 +00:00
Henrique Mendonca
50fb50176f 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
2012-10-26 07:29:47 +00:00
Roger Meier
995976bef3 ignore thrift.exe
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401898 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 21:39:54 +00:00
Roger Meier
f168e0ad46 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
2012-10-24 21:38:21 +00:00
Roger Meier
585b7b8044 remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401884 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 21:12:47 +00:00
Roger Meier
d836afcb94 add missing svn:ignore for Makefile
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401824 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 18:59:43 +00:00
Roger Meier
18a90d1625 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
2012-10-24 18:40:06 +00:00
Jake Farrell
ee4aaaee62 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
2012-10-23 00:48:17 +00:00
Henrique Mendonca
d407b2d1ca 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
2012-10-22 21:06:14 +00:00
Roger Meier
4268dad23d remove whitespace and add some svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401056 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 19:52:40 +00:00
Roger Meier
fa89932a49 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
2012-10-22 19:27:38 +00:00
Henrique Mendonca
8d410de0a0 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
2012-10-22 18:35:30 +00:00
Roger Meier
708f64d4de 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
2012-10-20 21:33:49 +00:00
Roger Meier
e854206180 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
2012-10-20 21:29:02 +00:00
Roger Meier
cc6ea425b7 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
2012-10-20 21:18:43 +00:00
Roger Meier
79655fbe0b 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
2012-10-20 20:59:41 +00:00
Jake Farrell
98f93778e1 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
2012-10-20 16:47:51 +00:00
Roger Meier
771ca3cdf1 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
2012-10-17 22:05:44 +00:00
Roger Meier
9bb65ae29d 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
2012-10-17 22:02:01 +00:00
Jake Farrell
4cc119c954 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
2012-10-12 14:55:57 +00:00
Jake Farrell
a0bd523670 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
2012-10-12 14:44:14 +00:00
Jake Farrell
435e1c4f70 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
2012-10-12 00:43:13 +00:00
Jake Farrell
6fcecd45a7 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
2012-10-11 20:34:25 +00:00
Jake Farrell
7c7a5e05ba 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
2012-10-11 00:29:11 +00:00
Jake Farrell
510ecae946 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
2012-10-11 00:20:00 +00:00
Jake Farrell
a32ac7a010 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
2012-10-09 19:59:35 +00:00
Roger Meier
271e47a74d 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
2012-10-09 18:46:55 +00:00
Roger Meier
f1ede79211 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
2012-10-09 18:42:16 +00:00
Jake Farrell
9429a12462 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
2012-10-09 01:21:45 +00:00
Jake Farrell
b5a18a150e 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
2012-10-09 01:10:43 +00:00
Jake Farrell
fc35612d1d 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
2012-10-09 00:30:03 +00:00
Roger Meier
e983cf51f3 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
2012-10-07 19:15:04 +00:00
Roger Meier
819ad6ed3f remove unused stuff
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1395316 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 14:56:05 +00:00
Roger Meier
061d4a2cb4 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
2012-10-07 11:51:00 +00:00
Roger Meier
ca0d2f995e ignores
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1394985 13f79535-47bb-0310-9956-ffa450edef68
2012-10-06 10:35:29 +00:00
Roger Meier
3bef8c221a 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
2012-10-06 06:58:00 +00:00
Roger Meier
dfb8298b28 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
2012-10-06 06:10:57 +00:00
Roger Meier
1f4be7e857 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
2012-10-06 06:00:47 +00:00
Jake Farrell
be7493ee32 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
2012-10-06 02:51:45 +00:00
Jake Farrell
96be0071c6 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
2012-10-06 00:26:28 +00:00
Roger Meier
bd6e2b198d update svn ignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1394498 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 13:11:57 +00:00
Jake Farrell
f6e8b0d3ff 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
2012-10-05 00:41:59 +00:00
Jake Farrell
14c217d490 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
2012-10-05 00:38:11 +00:00