Commit Graph

1870 Commits

Author SHA1 Message Date
Roger Meier
e3f671034c THRIFT-1814 Minor D library fixes
fix a few tiny issues in the D library so that it compiles using the upcoming 2.061 DMD release

Patch: David Nadlinger
2013-01-05 20:46:43 +01:00
Roger Meier
19dbbefcc1 THRIFT-1766 [Ruby] Provide support for binary types
Patch: Nathan Beyer
2012-12-27 01:24:20 +01:00
Roger Meier
f089f8ee5f remove unused import 2012-12-27 00:17:39 +01:00
Roger Meier
0895dfe6c0 THRIFT-1797 Python implementation of TSimpleJSONProtocol
Patch: Avi Flamholz
2012-12-26 22:09:55 +01:00
Roger Meier
b2f29d8402 THRIFT-1657 Chrome browser sending OPTIONS method before POST in xmlHttpRequest
Patch: Shantanu Choudhary
2012-12-23 20:23:39 +01:00
Roger Meier
5d06db63cf THRIFT-1795 Race condition in TThreadedServerPool java implementation
Patch: Venkat Ranganathan
2012-12-23 17:20:20 +01:00
Roger Meier
0193149842 THRIFT-1801 Sync up TApplicationException codes across languages and thrift implementations
Patch: Andrew Cox
2012-12-22 21:31:03 +01:00
Roger Meier
8fa8aeac9a THRIFT-1641 Thrift 0.8 not compatible with Android HttpClient
Patch: Darin Tay
2012-12-22 19:46:28 +01:00
Roger Meier
ad8154a7a8 THRIFT-1796 TJSONProtocol is not functional
Patch: Avi Flamholz
2012-12-18 21:02:16 +01:00
Roger Meier
8538edfee7 THRIFT-1792 Added TFramedTransport to the thrift Cocoa library.
Patch: Frank Kuehnel
2012-12-16 15:55:45 +01:00
Jens Geyer
a9e33bf0f6 THRIFT-1699 Native Union#read has extra read_field_end call
Patch: Kevin Radloff
2012-12-12 23:11:04 +01:00
Roger Meier
741e715e81 THRIFT-1763 jquery ajax code should send application/json content-type
Patch: Kevin Radloff
rogerr: my first git commit on Apache Thrift!
;-r
2012-12-11 21:21:00 +01:00
Todd Lipcon
2b2560e836 THRIFT-1773. Revert "Thrift-1604:Python exxception handeling for changes from PEP3110"
This reverts commit 6c5ee6ad20.

This commit is being reverted since it broke compatibility with
Python 2.4, which is the latest version included in RHEL5 releases.
2012-12-10 14:29:59 -08:00
Roger Meier
8252577ec9 THRIFT-1740 Make C++ library build on OS X and iOS
Patch: Ben Craig
minor modification by Roger Meier


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410127 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 00:38:27 +00:00
Roger Meier
e242a96ae3 add -Xlint:unchecked to improve quality
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410065 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 22:23:27 +00:00
Roger Meier
52820d0919 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
2012-11-08 23:11:14 +00:00
Roger Meier
0069a44640 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
2012-11-07 20:26:03 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Roger Meier
b69d24dbf7 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
2012-10-04 18:02:15 +00:00
Henrique Mendonca
bd5db3aa70 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
2012-10-03 09:26:32 +00:00