Bryan Duxbury
38087708b5
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
2012-03-01 23:41:09 +00:00
Bryan Duxbury
f85ad51765
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
2012-02-29 01:12:27 +00:00
Ilya Maykov
a81b040ee0
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
2012-02-29 00:39:38 +00:00
Roger Meier
35f977c28e
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
2012-02-28 20:50:13 +00:00
Roger Meier
8b1adf42e2
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
2012-02-28 20:34:06 +00:00
Roger Meier
5b9693c9fa
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
2012-02-28 19:32:55 +00:00
Anthony F. Molinaro
cb4e116ea7
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
2012-02-22 19:33:43 +00:00
Roger Meier
2b828b1a94
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
2012-02-22 07:08:36 +00:00
Roger Meier
2fbde0eff0
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
2012-02-19 18:53:08 +00:00
Bryan Duxbury
b405ca6be8
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
2012-02-14 23:35:22 +00:00
Roger Meier
19a991528f
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
2012-02-11 19:09:30 +00:00
Roger Meier
0bab154d9f
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
2012-02-10 21:08:36 +00:00
Roger Meier
86e8986587
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
2012-02-10 19:53:20 +00:00
Roger Meier
64af51bbbb
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
2012-02-06 20:46:06 +00:00
Jake Farrell
6f0f527583
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
2012-01-31 03:39:30 +00:00
Jake Farrell
c00d83b26a
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
2012-01-28 03:57:58 +00:00
Jake Farrell
f9f01fa1e0
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
2012-01-27 04:48:26 +00:00
Jake Farrell
6ce2704a14
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
2012-01-27 04:32:17 +00:00
Jake Farrell
b2c4952799
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
2012-01-27 04:01:54 +00:00
Jake Farrell
100f616afd
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
2012-01-27 03:19:01 +00:00
Roger Meier
ac70b5f832
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
2012-01-24 20:18:07 +00:00
Roger Meier
6823b6d729
add info on proxy usage
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1235438 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 19:35:09 +00:00
Roger Meier
33b720a958
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
2012-01-24 18:42:46 +00:00
Roger Meier
f0e517db99
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
2012-01-17 21:20:56 +00:00
Roger Meier
36f7a72646
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
2012-01-17 19:18:13 +00:00
Jake Farrell
d77d180355
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
2012-01-17 14:28:05 +00:00
Roger Meier
4749b4f66e
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
2012-01-17 12:25:22 +00:00
Roger Meier
eaa61d8fda
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
2012-01-12 21:38:29 +00:00
Roger Meier
333bbf3d88
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
2012-01-08 21:51:08 +00:00
Roger Meier
45a372679d
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
2012-01-08 21:44:44 +00:00
Roger Meier
c8d5d4d911
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
2012-01-07 20:32:24 +00:00
Bryan Duxbury
6972041392
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
2012-01-03 17:32:30 +00:00
Bryan Duxbury
a3df547c84
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
2011-12-27 22:26:59 +00:00
Bryan Duxbury
e7bec40882
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
2011-12-22 19:04:16 +00:00
Bryan Duxbury
1e79cb40f5
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
2011-12-21 18:13:29 +00:00
Jake Farrell
a2a9ee993e
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
2011-12-15 20:50:31 +00:00
Jake Farrell
f3e48d4a2e
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
2011-12-14 23:48:22 +00:00
Roger Meier
12d705390d
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
2011-12-14 23:35:28 +00:00
Jake Farrell
ea949fbaf9
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
2011-12-13 20:02:33 +00:00
Bryan Duxbury
3371925d18
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
2011-12-13 18:33:15 +00:00
Roger Meier
ca10fd4a51
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
2011-12-12 22:00:23 +00:00
Roger Meier
611f90cf9e
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
2011-12-11 22:08:51 +00:00
Roger Meier
3fc4819617
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
2011-12-11 21:05:35 +00:00
Roger Meier
1d282a95c6
THRIFT-1273 Replace assignment of a negative literal to an
...
unsigned int with assignment of an unsigned int
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213055 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 20:30:21 +00:00
Roger Meier
3781c2419c
THRIFT-1337 support maximum frame size in TNonblockingServer
...
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213052 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 20:07:21 +00:00
Jake Farrell
343c61d6a7
Thrift-1441: Generate constructor with parameters for exception class to let it update message property automatically.
...
Client:delphi
Patch: Kenjiro Fukumitsu
Add the function to delphi generator that generates constructor with parameters to initialize members,if the class is exception and have more than zero parameters.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212226 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 02:29:56 +00:00
Jake Farrell
12ac2acfaf
Thrift-1456: System.Net.HttpWebRequest' does not contain a definition for 'Proxy'
...
Client: delphi
Patch: Jens Geyer
Fix for Silverlight 'System.Net.HttpWebRequest' does not contain a definition for 'Proxy'
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212223 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 02:21:37 +00:00
Roger Meier
6c26fad246
THRIFT-1433 TServerSocket fix for MSVC
...
Patch: Peace C
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212109 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 20:44:16 +00:00
Roger Meier
d0cdecf4a1
THRIFT-1442 TNonblockingServer: Refactor to allow multiple IO Threads
...
Fix Warnings
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212067 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 19:34:01 +00:00
Roger Meier
284a9b56d7
THRIFT-1037 Proposed changes to support Silverlight, Windows Phone and AsyncCTP v3
...
Patch: Damian Mehers & Jens Geyer
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211880 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 13:39:56 +00:00
Roger Meier
406fc7497d
THRIFT-1325 Thrift SVN and latest GCC issue: Undefined symbols: "apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport>::VERSION_MASK"
...
Patch: Brandon Arp
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211842 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 11:32:21 +00:00
Jake Farrell
f05e1486e4
Thrift-1451:FramedTransport: Prevent infinite loop when writing
...
Client: cpp
Patch: Dave Watson
Invoked test client with a big enough query to trigger the resize
code.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211737 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 02:08:38 +00:00
Jake Farrell
23bf35daa3
Thrift-1454:Better handling of write on a closed TSocket
...
Client: cpp
Patch: Dave Watson
TSocket.send() was expecting a send() on the underlying socket
to fail by returning zero, but the actual behavior is to raise
an exception.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211736 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 02:02:20 +00:00
Jake Farrell
21f8dc900a
Thrift-1090: Document the generation of a file called "Constants.java"
...
Client: java
Patch: Jake Farrell
Fixing test cases left out in initial patch.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210765 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 03:13:55 +00:00
Jake Farrell
753b6c5674
Thrift-1444:FunctionRunner - add syntactic sugar to create shared_ptrs
...
Client: cpp
Patch: Dave Watson
Simplify FunctionRunner addTask calls.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210741 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 01:41:59 +00:00
Jake Farrell
b0d9560c33
Thrift-1442: TNonblockingServer: Refactor to allow multiple IO Threads
...
Client: cpp
Patch: Dave Watson
Ads multiple IO threads to TNonblocking Server
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210737 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 01:17:26 +00:00
Jake Farrell
9689d89df1
Thrift-1340: Add support of ARC to Objective-C
...
Client: Objective-c
Patch: Hirano Satoshi
Adds -objc-arc flag to compiler and if used removes the retain/release/autorelease from generated code
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210732 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 01:07:17 +00:00
Jake Farrell
6fa2b30940
Thrift-1446:Compile error with Delphi 2009 in constant initializer
...
Client: delphi
Patch: Kenjiro Fukumitsu
Generated code cannot be compiled with Delphi 2009 due to the bug in constant initializer.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210728 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 00:59:30 +00:00
Jake Farrell
9901069442
Updating trunk to 0.9.0 version.
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1208214 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 02:09:46 +00:00
Jake Farrell
b03a59cc5c
Thrift-1427: PHP library uses non-multibyte safe functions with mbstring function overloading
...
Client: php
Patch: Bryan Alves
Fixes issue with php overloaded mbstring to be binary-safe for strlen and substr.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1207960 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 16:45:51 +00:00
Jake Farrell
a0dd75d7c8
Thrift-386: Make it possible to build the Python library without the extension
...
Client: py
Patch: Jake Farrell
patch for py lib which will attempt to build the C extension and if it fails falls back to just building the library without any extensions.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1206398 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 05:23:09 +00:00
Roger Meier
289cbb2e4c
THRIFT-1431 Rename 'sys' module to 'util'
...
Patch: David Worms
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1205576 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 20:44:09 +00:00
Jake Farrell
ac10256fcc
Thrift-1435: make TException.Message property conformant to the usual expectations
...
Client: delphi
Patch: Jens Geyer
Make delphi exceptions act like standard TException within other languages
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1205415 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 14:30:41 +00:00
Jake Farrell
e34009b76c
Thrift-1391: Improved Delphi XE test cases
...
Client: delphi
Patch: Jens Geyer
Improved TestClient:
- collects test results and reports errors
- added or completed a number of tests, like listTest, mapmapTest, multiExceptionTest and others
- exception content test also included
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202948 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 00:17:29 +00:00
Roger Meier
1b533e9177
THRIFT-1387 Build MSVC libraries with Boost Threads instead of Pthreads
...
Minor Fix: add PDB files to vcxproj files
Patch: Peace C
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202843 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:11:34 +00:00
Jake Farrell
e0c5316736
Thrift-1426: Dist package missing files for release 0.8
...
Client: build
Patch: Jake Farrell
Cleans up dist target and removes extra folders.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202686 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:58:36 +00:00
Jake Farrell
e24ba11cbb
Thrift-1425:The Node package is incompatible with latest node (0.6) & npm (1.0.27)
...
Client: nodejs
Patch: David Worms
Changes web to url within bug stanza for nodejs packaging
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1201270 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 14:18:30 +00:00
Jake Farrell
29defeb6a7
Thrift-1401: JSON-protocol for Delphi XE Libraries
...
Client: delphi
Patch: Jake Farrell
Fixing windows newlines removed incorrectly.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1200551 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 21:11:46 +00:00
Jake Farrell
2727422951
Thrift-1401: JSON-protocol for Delphi XE Libraries
...
Client: delphi
Patch: Jens Geyer
Adds support for the JSON protocol to the existing Delphi XE libraries.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1200538 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 20:32:44 +00:00
Jake Farrell
8941458f72
Thrift-1424:Ruby specs fail when run with rake
...
Client: ruby
Patch: Peter Sanford
Fixes specs failing to load the spec_helper in ruby 1.9.2
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1200070 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 00:53:17 +00:00
Jake Farrell
34e1db48db
Thrift-184: Add OSGi Manifest headers to the libthrift java library to be able to use Thrift in the OSGi runtime
...
Client: java
Patch: Jake Farrell
Updated manifest to add OSGI support.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1199047 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 01:39:47 +00:00
Jake Farrell
d889d8ddfa
Removing trailing quote in java build.properties file.
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198592 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 23:40:07 +00:00
Jake Farrell
9e7a88267c
Thrift-1382: Bundle install doesnot work because thrift crashes
...
Client: ruby
Fixing strlcpy header.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198543 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 19:58:32 +00:00
Jake Farrell
d5df77a906
Thrift-1382: Bundle install doesnot work because thrift crashes
...
Client: ruby
Adding header for strlcpy.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198503 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 17:43:44 +00:00
Jake Farrell
ceead00409
Thrift-1382: Bundle install doesnot work because thrift crashes
...
Client: ruby
Patch: Jake Farrell
Fixes strlcpy header include issue with ruby 1.9.x.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198394 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 16:07:45 +00:00
Roger Meier
6f7681f91d
THRIFT-1361 revert compiler/cpp/src/thrifty.yy change
...
=> breaks mingw build
=> memleak fixes reported by cppcheck
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198347 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 12:04:28 +00:00
Roger Meier
38315786e5
THRIFT-1361 Optional replacement of pthread by boost::thread
...
Patch: Alexandre Parenteau
rev3
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1198339 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 11:29:41 +00:00
Jake Farrell
28459dc9c5
Thrift-1415: delphi: add version Info to the library
...
Client: delphi
Patch: Jens Geyer
Adding versioning to delphi library
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1197957 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 13:36:27 +00:00
Roger Meier
17b8469d16
THRIFT-1335: Add accept timeout to TServerSocket
...
Client: cpp
Patch: Dave Watson
FIX: add accTimout_ Initialization to DomainSocket Constructor
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1197523 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 11:55:49 +00:00
Bryan Duxbury
df971daf37
THRIFT-1420. java: Nonblocking and HsHa server should make sure to close all their socket connections when the selector exits
...
This patch makes the selector threads close out all of their open sockets before completely exiting. In testing, this appears to alleviate issues with hanging clients.
Patch: Thomas Kielbus
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1197370 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 00:23:30 +00:00
Bryan Duxbury
e7bdf70dab
THRIFT-1419. java: AbstractNonBlockingServer does not catch errors when invoking the processor
...
This patch changes the invoke() method to catch Throwables instead of just Exceptions.
Patch: Thomas Kielbus"
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1196848 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:40:01 +00:00
Jake Farrell
73a921f85c
Thrift-1408: Delphi Test Server: Exception test case fails due to naming conflict with e.message
...
Client: delphi
Patch: jens Geyer
Fix name comflict with e.message
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1195461 13f79535-47bb-0310-9956-ffa450edef68
2011-10-31 14:07:14 +00:00
Jake Farrell
1290d42162
THRIFT-1407: Typo in Python socket server causes Thrift to fail when we enable a global socket timout
...
Client: py
Patch: adalc
Fixes typo in python socket server timeout
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189170 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 12:36:17 +00:00
Jake Farrell
806d298042
THRIFT-1399: One of the TServerImpl.Create CTORs lacks implementation
...
Client: delphi
Patch: Jens Geyer
Adding delphi test server missing constructor.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189007 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 02:33:31 +00:00
Jake Farrell
d09362c5c7
THRIFT-1404: Delphi compiler generates struct reader code with problem.
...
Client: delphi
Patch: Kenjiro Fukumitsu
After recieved STOP,it calls additional ReadFieldEnd, which is different from the implementation of other language compiler.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1189005 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 02:25:07 +00:00
Bryan Duxbury
bcbf6d6fcd
THRIFT-1400. rb: Ruby native extension aborts with __stack_chk_fail in OSX
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1188248 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 17:29:16 +00:00
Roger Meier
266a6b5c11
THRIFT-1361 Optional replacement of pthread by boost::thread
...
revert boost changes
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186049 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19 09:27:01 +00:00
Roger Meier
0dab3832c7
THRIFT-1361 Optional replacement of pthread by boost::thread
...
Patch: Alexandre Parenteau
Remark: lib/cpp/src/concurrency/BoostMutex.cpp is unmodified
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185904 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 22:19:30 +00:00
Jake Farrell
711c70c786
Thrift-1393: TTransportException's thrown from THttpClient contain superfluous slashes in the Exception message
...
Client : php
Patch: Nick Jones
The THttpClient class ensures the $uri_ property has a slash prefixed by appending one if needed in the constructor. However in THttpClient::read, there are 2 exceptions thrown where a slash is concatenated between the port and uri. This results in a superfluous slash in the TTransportException message.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185723 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:31:17 +00:00
Jake Farrell
7ae13e10f7
Thrift-1366: Delphi generator, lirbrary and unit test.
...
Client: delphi
Patch: Kenjiro Fukumitsu
Adding delphi XE generator, lib and unit tests.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185688 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:35:26 +00:00
Roger Meier
857a8b8bf8
THRIFT-1261 STDIO support for node-thrift
...
Patch: Jordan Shaw
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1183221 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 06:35:28 +00:00
Roger Meier
bf12239d2e
THRIFT-1381 Thrift C++ libs have incorrectly versioned names
...
Patch: Jake Farrell
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1182052 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 19:48:57 +00:00
Roger Meier
878a948894
THRIFT-1387 Build MSVC libraries with Boost Threads instead of Pthreads
...
Patch: Peace C & Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1182024 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 19:02:37 +00:00
Jake Farrell
51700649d0
Thrift-1377: abort PHP deserialization on unknown field type
...
client: php
Patch: Dave Watson
Previously the code incorrectly ignored unknown field types. After
reading the field header, if it was an unknown type it would incorrectly
assume there was no data, and start trying to read the next field
immediately.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179907 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 00:17:25 +00:00
Jake Farrell
336a1599d7
Thrift-1375: fixed a hex char conversion bug in TJSONProtocol
...
Client: java
Patch: Dave Watson
Fixed a hex char conversion bug in TJSONProtocol: 10 ~ 15 <=> 'a' ~ 'f'.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179904 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 00:10:20 +00:00
Roger Meier
20e6ef136e
THRIFT-1361 Optional replacement of pthread by boost::thread (minor fix)
...
FIX: member initialization order within constructor
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178532 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 19:37:09 +00:00
Roger Meier
3faaedf46b
THRIFT-1361 Optional replacement of pthread by boost::thread
...
Patch: alexandre parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178176 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:51:45 +00:00
Roger Meier
3516e0e306
THRIFT-1031 Patch to compile Thrift for vc++ 9.0 and 10.0
...
Patch: Peace
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1177817 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 20:23:34 +00:00
Bryan Duxbury
9a1d2f01c6
add utility for benchmarking protocols against each other
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1177458 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 22:51:54 +00:00
Bryan Duxbury
44b2bb6bb5
revert THRIFT-959
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1176472 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 17:07:19 +00:00