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
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
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
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
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
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
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
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
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
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
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
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
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
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
Roger Meier [Wed, 11 Apr 2012 22:15:15 +0000 (22:15 +0000)]
THRIFT-1560 Add setCustomHeaders() method to python thrift lib
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1325041 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 11 Apr 2012 21:59:57 +0000 (21:59 +0000)]
THRIFT-1562 Fix issue with TFramedTransport::readSlow
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1325034 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 11 Apr 2012 21:48:56 +0000 (21:48 +0000)]
THRIFT-1563 thrift: make serve() throw an exception if it fails
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1325026 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 11 Apr 2012 21:43:25 +0000 (21:43 +0000)]
THRIFT-1561 expose #active connections
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1325024 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 11 Apr 2012 21:38:56 +0000 (21:38 +0000)]
THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Patch: Peace C
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1325020 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 11 Apr 2012 21:21:41 +0000 (21:21 +0000)]
THRIFT-1412 Thrift Transport classes should manage the lifetime of objects implementing IDisposable by implementing IDisposable themselves
Patch: Joshua Garvin
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1325013 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 9 Apr 2012 16:31:42 +0000 (16:31 +0000)]
THRIFT-1555 Delphi version of the tutorial code
Patch: Jens Geyer
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1311313 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 9 Apr 2012 16:25:47 +0000 (16:25 +0000)]
THRIFT-1554 Inherited service methods are not resolved in derived service implementations
Patch: Jens Geyer
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1311311 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 8 Apr 2012 18:18:56 +0000 (18:18 +0000)]
THRIFT-1398 Compiler warning on generated code (Multiface kills -Wall -Werror on gcc 4.6.1)
Patch: Nevo Hed
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1311066 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 8 Apr 2012 18:18:44 +0000 (18:18 +0000)]
add license headers, fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1311065 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 8 Apr 2012 12:30:00 +0000 (12:30 +0000)]
THRIFT-1553 thrift nodejs service side can't read map structure, key as enum, value as Object
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1310986 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 22 Mar 2012 21:49:10 +0000 (21:49 +0000)]
THRIFT-1500: d programming language support
Client: D
Patch: David Nadlinger
D program language library and additions
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1304085 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Thu, 22 Mar 2012 07:04:37 +0000 (07:04 +0000)]
THRIFT-1343 - remove internal min function, it seems the same as erlang:min/2
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1303672 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Thu, 22 Mar 2012 07:02:15 +0000 (07:02 +0000)]
THRIFT-1344 - fix http deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1303671 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Thu, 22 Mar 2012 06:48:33 +0000 (06:48 +0000)]
THRIFT-1532 - slightly better fix, take into account requiredness when adding default values
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1303666 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Thu, 22 Mar 2012 06:23:36 +0000 (06:23 +0000)]
THRIFT-1532/THRIFT-1475 - fix record generation for erlang
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1303663 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 22 Mar 2012 02:40:45 +0000 (02:40 +0000)]
THRIFT-1537:TFramedTransport issues
Client: delphi
Patch: Jens Geyer
TFramedTransport fixes for:
- The offset "off" is ignored, instead always 0 is used fpor reads and writes
- Trying to write an empty byte array results in range check exceptions
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1303637 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 8 Mar 2012 04:05:58 +0000 (04:05 +0000)]
THRIFT-1534:Required fields in the Delphi code generator.
Client:delphi
Patch:Jens Geyer
Required field changes to isset and generated Read-methods.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1298265 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 2 Mar 2012 05:56:03 +0000 (05:56 +0000)]
THRIFT-1429:The nonblocking servers is supposed to use TransportFactory to read the data
Client: Java
Patch: Bryan Duxbury
Enforce the transport factory on the server-read side as well as on the server-write side
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1296060 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 2 Mar 2012 05:22:02 +0000 (05:22 +0000)]
THRIFT-1523: clientTimeout not worked as expected in TServerSocket created by TSSLTransportFactory
Client: java
Patch: Alexey Sviridov
Adds server timeout to SSLTransportFactory
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1296053 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 2 Mar 2012 02:50:50 +0000 (02:50 +0000)]
THRIFT-1128:MAC OS X thrift.h incompatibility with Thrift.h
Client: cpp, c_glib
Patch: Jake Farrell
Moving c_glib headers into $(includedir)/thrift/c_glib to not collide with cpp headers.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1296038 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 1 Mar 2012 23:43:54 +0000 (23:43 +0000)]
THRIFT-1527. java: Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized
Unrecognized fields will now result in a TProtocolException when reading with the TupleProtocol.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1295997 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 1 Mar 2012 23:41:09 +0000 (23:41 +0000)]
THRIFT-1529. java: TupleProtocol can unintentionally include an extra byte in bit vectors when number of optional fields is an integral of 8
This patch harmonizes the math between writeBitSet and readBitSet to eliminate the mismatch in number of bytes calculation, allowing structs to be serialized correctly.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1295995 13f79535-47bb-0310-9956-
ffa450edef68
Ilya Maykov [Thu, 1 Mar 2012 05:56:39 +0000 (05:56 +0000)]
THRIFT-481: indentation of ruby classes is off by a few
Compiler: Ruby
Patch: Ilya Maykov
Fixed indentation of gen-rb files by wrapping each file
output stream in a class that keeps track of the indent
level instead of using the global indent.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1295423 13f79535-47bb-0310-9956-
ffa450edef68
Ilya Maykov [Wed, 29 Feb 2012 02:40:28 +0000 (02:40 +0000)]
THRIFT-1204: Ruby autogenerated files should require 'thrift' gem
Library: Ruby
Patch: Ilya Maykov
This patch does 2 things:
1) Adds a "require 'thrift'" line to the *_types.rb and *_constants.rb files,
to be consistent with *_service.rb which was generating the thrift require
already.
2) Adds a "rubygems" option to the --gen rb compiler target. When this option
is specified, the compiler will add a "require 'rubygems'" line to the top
of each gen-rb file. Defaults to false.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1294949 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 29 Feb 2012 01:12:27 +0000 (01:12 +0000)]
THRIFT-1526. java: Union TupleSchemeFactory returns StandardSchemes
This patch makes it return nice, proper TupleSchemes.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1294925 13f79535-47bb-0310-9956-
ffa450edef68
Ilya Maykov [Wed, 29 Feb 2012 00:39:38 +0000 (00:39 +0000)]
THRIFT-369: sets and maps break equality
Client: ruby
Patch: Ilya Maykov
Added a unit test demonstrating that equality is not broken for structs with nested containers.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1294917 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 28 Feb 2012 20:50:13 +0000 (20:50 +0000)]
THRIFT-1524 TNonBlockingServer does not compile in Visual Studio 2010
Patch: Christian Taedcke
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1294824 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 28 Feb 2012 20:34:06 +0000 (20:34 +0000)]
THRIFT-1524 TNonBlockingServer does not compile in Visual Studio 2010
Patch: Christian Taedcke
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1294819 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 28 Feb 2012 19:32:55 +0000 (19:32 +0000)]
THRIFT-1388 Delphi XE code-generation test case
Patch: Jens Geyer
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1294798 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 22 Feb 2012 21:14:10 +0000 (21:14 +0000)]
THRIFT-1518. cpp: Generated C++ code only sends the first optional field in the write() function for a struct
There was some incorrect else if logic added to the CPP generated code, which this patch replaces with the proper functionality.
Patch: Thomas Wiggins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1292508 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Wed, 22 Feb 2012 19:44:50 +0000 (19:44 +0000)]
THRIFT-1520 : embed version number in .app file for easier integration with rebar
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1292474 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Wed, 22 Feb 2012 19:33:43 +0000 (19:33 +0000)]
THRIFT-1520 : embed version number in .app file for easier integration with rebar
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1292466 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 22 Feb 2012 07:08:36 +0000 (07:08 +0000)]
THRIFT-1516 TProtocolException in C# should be public
Patch: Stefan Gmeiner
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1292148 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 19 Feb 2012 18:53:08 +0000 (18:53 +0000)]
THRIFT-1517 TTransport.ReadAll() should set exception type to EndOfFile
Patch: Stefan Gmeiner
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1291039 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 14 Feb 2012 23:35:22 +0000 (23:35 +0000)]
THRIFT-1447. java: NullpointerException in ProcessFunction.class :in 'oneway' method
Patch: Ihor Mysak
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1244272 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 11 Feb 2012 19:09:30 +0000 (19:09 +0000)]
THRIFT-1348 C++ Qt bindings
Patch: Doug Rosvick
qt-cleanup.patch applied
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1243124 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 10 Feb 2012 21:08:36 +0000 (21:08 +0000)]
THRIFT-1348 C++ Qt bindings
fix: remove moc_TQTcpServer.cpp (was added by accident)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1242921 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 10 Feb 2012 19:53:20 +0000 (19:53 +0000)]
THRIFT-1348 C++ Qt bindings
Patch: Doug Rosvick and Vitali Lovich
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1242900 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 9 Feb 2012 16:17:50 +0000 (16:17 +0000)]
Thrift-556:Ruby compiler does not correctly referred to top-level modules when a submodule masks the top-level name
Client: rb
Patch: Ben Kelly
Prepends a :: to every place that references the top-level module.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1242376 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 6 Feb 2012 20:46:06 +0000 (20:46 +0000)]
THRIFT-1512 Thrift socket support for Windows XP
Patch: Peace C
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1241171 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Tue, 31 Jan 2012 03:39:30 +0000 (03:39 +0000)]
THRIFT-1510:There should be an implementation of the JsonProtocol for ruby
Client: ruby
Patch: Wim Crols
JSON impl for ruby
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1238144 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Sat, 28 Jan 2012 03:57:58 +0000 (03:57 +0000)]
Thrift-1453:Don't change types of arguments when serializing with thrift php extension
Client:php
patch: Dave Watson
Don't change types of arguments when serializing with thrift php extension
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1236972 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 27 Jan 2012 04:48:26 +0000 (04:48 +0000)]
THRIFT-1394:Treatment of optional fields is not consistent between C++ and Java
Client: cpp
Patch: Diwaker Gupta
In CPP, all optional fields are guarded by the isset helper struct. On Java, however, the generated code takes advantage of nullable types: for containers, structs, exceptions, enums, and, notably, strings, the generator elides explicit use of an "isset" bit vector and instead emits checks of the form "field null". This leads to varying behavior between the two languages: an optional string field with a default value will have {{isset[fieldid]}} false on C, but the equivalent test in Java will be true.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1236529 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 27 Jan 2012 04:32:17 +0000 (04:32 +0000)]
Thrift-1502:TSimpleServer::serve(): Do not print out error message if server was stopped.
Client: cpp
Patch: Vibhav Sreekanti
Print msg on TSimpleServer stop.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1236523 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 27 Jan 2012 04:01:54 +0000 (04:01 +0000)]
Thrift-1465:Visibility of methods in generated java code
Client: java
Patch: Ashutosh Chauhan
Changes visibility of processor getProcessMap() and getEmptyArgs() methods
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1236515 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 27 Jan 2012 03:19:01 +0000 (03:19 +0000)]
THRIFT-1498:Allow TThreadedPoolServer.Args to pass a ExecutorService
Client: java
Patch: Scott Chen
Adds ability to assign a ExecutorService from TThreadedPoolServer.Args.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1236505 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 27 Jan 2012 03:06:54 +0000 (03:06 +0000)]
THRIFT-1504: Cocoa Generator should use local file imports for base Thrift headers
Client: cocoa
Patch: Steve White
Updates thrift headers as global imports instead of local imports
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1236503 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 24 Jan 2012 20:18:07 +0000 (20:18 +0000)]
THRIFT-1478 TJSONProtocol in PHP
fix: remove dist and add lunit log format
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1235467 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 24 Jan 2012 19:35:09 +0000 (19:35 +0000)]
add info on proxy usage
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1235438 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 24 Jan 2012 18:42:46 +0000 (18:42 +0000)]
THRIFT-1478 TJSONProtocol in PHP
Patch: Greg Fodor, Andrew Grumet, Roger Meier
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1235403 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 21 Jan 2012 09:18:05 +0000 (09:18 +0000)]
THRIFT-847 Test Framework harmonization across all languages
add php TestClient to the testsuite
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1234292 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 20 Jan 2012 19:42:23 +0000 (19:42 +0000)]
THRIFT-1489 Add support for WCF bindings (optionally) to C# compiler, allowing web service usage of Thrift generated code
Patch: Kieran Benton
fix: add missing area of XML documentation generation
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1234095 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 20 Jan 2012 15:31:45 +0000 (15:31 +0000)]
THRIFT-1495 PHP TestClient fatals on missing class
Patch: Andrew Grumet
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1233958 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 20 Jan 2012 14:34:49 +0000 (14:34 +0000)]
THRIFT-1496 PHP compiler not namespacing enums
Patch: Andrew Grumet
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1233930 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 17 Jan 2012 21:32:50 +0000 (21:32 +0000)]
THRIFT-1410 C# Partial Classes (for service implementation class)
Patch: Kieran Benton
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1232585 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 17 Jan 2012 21:20:56 +0000 (21:20 +0000)]
THRIFT-1489 Add support for WCF bindings (optionally) to C# compiler, allowing web service usage of Thrift generated code
Patch: Kieran Benton
changes by roger:
- use ServiceModel, DataContract only when wcf is enabled
- indent space vs tab
- remove issue on lib/cpp/README_WINDOWS
- add testStringMap on test/csharp/ThriftTest/TestServer.cs
- add build to test/csharp/ThriftTest/maketest.sh
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1232578 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 17 Jan 2012 19:18:13 +0000 (19:18 +0000)]
THRIFT-1491 Uninitialize processorFactory_ member in TServer.h
Patch: Ben Frederickson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1232544 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Tue, 17 Jan 2012 14:28:05 +0000 (14:28 +0000)]
Thrift:1488 - src/concurrency/Thread.h:91:58: error: invalid conversion from 'pthread_t {aka _opaque_pthread_t*}'
Client: cpp
Patch: Jake Farrell
Added cast to Thread.h get_current()
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1232424 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 17 Jan 2012 12:25:22 +0000 (12:25 +0000)]
THRIFT-1490 Windows-specific header files - fixes & tweaks
Patch: Peace C
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1232397 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 12 Jan 2012 21:38:29 +0000 (21:38 +0000)]
THRIFT-1267 Node.js can't throw exceptions
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1230797 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 10 Jan 2012 22:11:36 +0000 (22:11 +0000)]
THRIFT-847 Test Framework harmonization across all languages
perl fixes:
- include test/perl if perl is enabled
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1229764 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 10 Jan 2012 21:30:02 +0000 (21:30 +0000)]
THRIFT-847 Test Framework harmonization across all languages
perl fixes:
- generate Makfile for perl tests
- add inc path to test
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1229745 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 9 Jan 2012 21:23:19 +0000 (21:23 +0000)]
THRIFT-847 Test Framework harmonization across all languages
add test.sh as a first approach
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1229359 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 8 Jan 2012 21:51:08 +0000 (21:51 +0000)]
THRIFT-1485 Performance: pass large and/or refcounted arguments as "const"
Patch: Jens Geyer
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1228965 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 8 Jan 2012 21:49:12 +0000 (21:49 +0000)]
.gitignore update
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1228964 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 8 Jan 2012 21:44:44 +0000 (21:44 +0000)]
THRIFT-1473 JSON context stack may be left in an incorrect state when an exception is thrown during read or write operations
Patch: Jens Geyer
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1228963 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 7 Jan 2012 20:32:24 +0000 (20:32 +0000)]
THRIFT-1486 Javascript manual testserver not returning content types
Patch: Andrew Grumet
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1228717 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 3 Jan 2012 17:35:26 +0000 (17:35 +0000)]
THRIFT-1479. php: Compiled PHP process functions missing writeMessageEnd()
This patch adds in the missing call.
Patch: Andrew Grumet
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1226892 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 3 Jan 2012 17:32:30 +0000 (17:32 +0000)]
THRIFT-1480. py: remove tabs, adjust whitespace and address PEP8 warnings
This patch addresses a host of PEP8 lint problems.
Patch: Will Pierce
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1226890 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 3 Jan 2012 17:28:45 +0000 (17:28 +0000)]
THRIFT-1483. java: java compiler does not generate type parameters for services in extended clauses
Patch: Ruslan Shevchenko
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1226889 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 27 Dec 2011 22:26:59 +0000 (22:26 +0000)]
THRIFT-317. java: Issues with Java struct validation
Nested structs will now be validated before serialization starts.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1225035 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 22 Dec 2011 19:04:16 +0000 (19:04 +0000)]
THRIFT-1468. java: Memory leak in TSaslServerTransport
This patch changes a particular map element to a WeakReference and thus avoids some awkward un-GC-ableness.
Patch: Mithun Radhakrishnan"
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1222397 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 21 Dec 2011 21:23:28 +0000 (21:23 +0000)]
THRIFT-1168 C++ cob client/server: void functions that throw exceptions
Patch: NewBlood
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1221891 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 21 Dec 2011 18:13:29 +0000 (18:13 +0000)]
THRIFT-1469. java: Java isset space optimization
This patch gives the generated code some variable-sized options for the isset bit vector. The compiler will attempt to use byte, short, int and long types before reverting to a BitSet for structs with a LOT of optional fields. This should save a fair amount of memory in a lot of cases.
Patch: Brian Bloniarz
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1221828 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 15 Dec 2011 20:50:31 +0000 (20:50 +0000)]
Thrift-1467:Possible AV with empty strings when using JSON protocol
Client:delphi
Patch: Jens Geyer
Fixes exception raised on empty json strings.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1214955 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Wed, 14 Dec 2011 23:48:22 +0000 (23:48 +0000)]
THRIFT-1464: AbstractNonblockingServer.FrameBuffer TNonblockingTransport accessor changed from public to private
Client: java
Patch: Jake Farrell
Fixes accessor for TNonblockingTransport in AbstractNonblockingServer.FrameBuffer that was changed from public to private
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1214557 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 14 Dec 2011 23:35:28 +0000 (23:35 +0000)]
THRIFT-1461 Recent TNonblockingServer changes broke --enable-boostthreads=yes, Windows
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1214547 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Tue, 13 Dec 2011 20:12:26 +0000 (20:12 +0000)]
Thrift-1462: add more strict compiler flags
Reverting MINGW addition for c+++0x
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1213905 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Tue, 13 Dec 2011 20:02:33 +0000 (20:02 +0000)]
Thrift-1462: add more strict compiler flags
Reverting patch due to it breaking compilers older than 4.4 (os x, centos 5.x, etc)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1213901 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 13 Dec 2011 18:33:15 +0000 (18:33 +0000)]
THRIFT-1449. rb: Ruby client does not work on solaris (?)
This patch adds a new argument to the socket calls that seems to fix the problems while not causing any detriment to non-Solaris systems.
Patch: Erik Hetzner
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1213837 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 13 Dec 2011 00:36:01 +0000 (00:36 +0000)]
THRIFT-1462 add more strict compiler flags
FIX: check for MINGW and use reduced compiler flag set for mingw
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1213523 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 12 Dec 2011 22:46:45 +0000 (22:46 +0000)]
add fb303 stuff to .gitignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1213480 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 12 Dec 2011 22:00:23 +0000 (22:00 +0000)]
THRIFT-1462 add more strict compiler flags(-Wall -Wextra -std=c++0x -pedantic)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1213459 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 11 Dec 2011 22:08:51 +0000 (22:08 +0000)]
THRIFT-1459 declare shared_ptr as boost::shared_ptr
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1213090 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 11 Dec 2011 21:05:35 +0000 (21:05 +0000)]
THRIFT-1272 add subclass of ReadWriteMutex that avoids writer
starvation
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1213067 13f79535-47bb-0310-9956-
ffa450edef68