Commit Graph

2828 Commits

Author SHA1 Message Date
Jake Farrell
c9c972b3ee 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
2012-07-24 17:28:24 +00:00
Roger Meier
908d2f7839 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
2012-07-18 12:03:20 +00:00
Roger Meier
ae44abc6f9 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
2012-07-18 05:42:51 +00:00
Jake Farrell
3fcdb09267 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
2012-07-14 23:56:20 +00:00
Bryan Duxbury
6530f1dc88 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
2012-06-29 00:21:19 +00:00
Roger Meier
27647d5b18 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
2012-06-27 10:17:57 +00:00
Bryan Duxbury
d62032850c 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
2012-06-26 00:32:57 +00:00
Roger Meier
40633a6316 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
2012-06-24 19:20:58 +00:00
Roger Meier
bd057f6a5e 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
2012-06-24 19:18:00 +00:00
Roger Meier
ee22939d1a THRIFT-1608 add license header
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1353313 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 19:07:12 +00:00
Jake Farrell
5be8e9e4f3 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
2012-06-22 04:18:22 +00:00
Jake Farrell
16b764196f 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
2012-06-22 03:51:38 +00:00
Jake Farrell
f42ae012aa 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
2012-06-22 03:22:53 +00:00
Roger Meier
e64b12999d 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
2012-06-19 20:54:51 +00:00
Roger Meier
f9f841d769 THRIFT-1626 concurrency::Mutex timedlock fix and lesser improvements
Patch: Andrew Majorov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351845 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:42:33 +00:00
Roger Meier
122803bade THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Patch: Peace
add pipe crossplatform example to contrib

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351477 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 20:23:58 +00:00
Roger Meier
89cc4303aa THRIFT-1631 Fix C++ server constructor typos
Patch: Andrew Cox

THRIFT-1573 Error on TNonblockingServer constructor
Patch: Denis

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351472 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 20:02:36 +00:00
Bryan Duxbury
6edb27a5af THRIFT-1622. cpp: Incorrect size returned on read
This patch adds a missing 'xfer +=' in a few spots.

Patch: NN

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1350268 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 14:36:18 +00:00
Roger Meier
9212e79b3d THRIFT-1627 compiler built using compilers.vcxproj cannot be used to build some test .thrift files
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1349524 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 21:01:06 +00:00
Roger Meier
87b704fd91 Thrift-1558 _xplatform_pipe_6-5-2012.patch
fix compile error

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1347604 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 13:24:22 +00:00
Roger Meier
febe845f05 THRIFT-1621 Delphi Memory leaks
Patch: Jens Geyer

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346814 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 10:32:24 +00:00
Roger Meier
cefdca6f49 THRIFT-1195 Allow users to act on client connects/disconnects
HIVE-3067 Shutdown HiveMetaStore on client disconnect or timeout
HIVE-3057 metastore.HiveMetaStore$HMSHandler should set the thread local raw store to null in shutdown()

Patch: Dragan Okiljevic

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346566 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 20:14:14 +00:00
Roger Meier
7d0a040153 Thrift-1558 _xplatform_pipe_6-5-2012.patch
Patch: Peace C

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346555 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 19:57:10 +00:00
Bryan Duxbury
e25db162a5 THRIFT-1613. Add code back into empty source file ToStringTest.java
Actually, should have just deleted the file.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343889 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 18:13:39 +00:00
Roger Meier
4cb8e40d8a THRIFT-1612 Base64 encoding is broken
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343074 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 18:05:16 +00:00
Roger Meier
83042b9078 THRIFT-1613 Add code back into empty source file ToStringTest.java
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343032 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 10:54:17 +00:00
Roger Meier
d1f6782466 remove empty folders
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1342499 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 05:36:46 +00:00
Roger Meier
2d59b9e2ad THRIFT-1336 thrift: added server and processor test code
revert partly: disable processor test, it breaks the builds

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1341996 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 19:40:40 +00:00
Roger Meier
b6617836d4 THRIFT-1585 C++ library fails to build with OS X pthread implementation
Patch: David Nadlinger

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1341990 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 19:17:20 +00:00
Jake Farrell
d11c8bc4be Thrift-1611:Improved code generation for typedefs
Client: delphi
Patch: Jens Geyer

Currently, IDL typedefs are translated into their base types and do not appear in the generated code at all



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340873 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 00:07:14 +00:00
Jake Farrell
86d2a4ada8 THRIFT-1610:IWebProxy not available on WP7 platform
Client: csharp
Patch: Jens Geyer

Fix WP7 clients which do not have IWebProxy available.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340487 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 14:29:15 +00:00
Roger Meier
3f972b1cf1 THRIFT-1593 Pass on errors like "connection closed" to the handler module
Patch: Björn Bylander
+ bump jsx

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340073 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 11:35:51 +00:00
Roger Meier
da74ff4a3b THRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
fix test suite

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340044 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 09:25:02 +00:00
Roger Meier
6849f2014d THRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
Patch: Itai Zukerman

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340014 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 07:35:19 +00:00
Jake Farrell
f5bae90076 Thrift-1326:on some platforms, #include <stdint.h> is necessary to be included in Thrift.h
Client: contrib/fb303
Patch: Jake Farrell

Adding check for needed headers to fb303 configure.ac



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339969 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 04:14:45 +00:00
Jake Farrell
eccbe4d08d THRIFT-1539:Build and distribute the fb303 python libraries along with thrift
Client: contrib/fb303 - py
Patch: Jake Farrell

Updated build file so dist egg will include project headers, will publish with py client lib to pypi as part of release process.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339967 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 03:57:07 +00:00
Jake Farrell
6c5ee6ad20 Thrift-1604:Python exxception handeling for changes from PEP3110
Client: py
Patch: Jake Farrell

Python PEP 3110 changed exception handling by replacing the ',' with 'as'. This was initially introduced in python 2.6 and in 3.0 the ',' usage is no longer suppported. Since exception handling through out the py lib uses the ',' it will need to be converted over to using the 'as' syntax for exceptions



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339941 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 01:00:39 +00:00
Jake Farrell
5e022aa686 THRIFT-1159:THttpClient->Flush() issue (connection thru proxy)
Client: csharp
Patch: Joshua Samuel + Alex Gaas

Resolve HttpClient flush issues with proxy.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339934 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 00:33:54 +00:00
Jake Farrell
970c86a5f2 Thrift-1607:Incorrect file modes for several source files
Client: build
Patch: Andrew Cox

File modes of some non-script text files (e.g. .xml, .java, .cc) in the source tree include execute permissions (because these files have the svn:executable property).



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 05:41:09 +00:00
Jake Farrell
94bb7f26f6 Thrift-1606:Race condition in BoostThreadFactory.cpp
Client: cpp
Patch: alexandre parenteau

Race condition between the line that set state_ to "starting", and the line that checked to make sure that it was "starting". That ended meaning that sometimes calling "start()" would not result in the thread's runnable being called.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339477 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 04:32:10 +00:00
Jake Farrell
e8c259a08a Thrift-541: Cocoa code generator doesn't put keywords before all arguments.
Client: cocoa
Patch: Andrew McGeachie

Updates args list to contain keywords before any args.


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1338995 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 03:49:57 +00:00
Roger Meier
a30930f677 THRIFT-1599 Fixing HTTP client(Ruby)
Patch: Tomas

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337323 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 18:08:58 +00:00
Roger Meier
dd16f0538b THRIFT-1336 thrift: added server and processor test code
last commit was wrong! otherway around!
disable concurrency instead of processor_test ... does not run properly on build slaves

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337177 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 14:19:48 +00:00
Roger Meier
4f260f7a5f THRIFT-1336 thrift: added server and processor test code
disable processor_test ... does not run properly on build slaves

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337162 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 13:50:11 +00:00
Roger Meier
6bb0a7a34a THRIFT-1589 configure.ac should require at least boost 1.41
Build slaves at Apache need 1.40.0

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337107 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 10:44:32 +00:00
Roger Meier
41f4708d2f some ignores...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337099 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 10:15:51 +00:00
Roger Meier
2b1a5289a7 THRIFT-1336 thrift: added server and processor test code
move the tests from src to test:
lib\cpp\src\thrift\concurrency\test to lib\cpp\test\concurrency
lib\cpp\src\thrift\processor\test to lib\cpp\test\processor

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337098 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 10:12:39 +00:00
Roger Meier
96efc26a3c THRIFT-1574 Apache project branding requirements: DOAP file [PATCH]
add all versions


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337069 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 09:03:41 +00:00
Roger Meier
4a48300564 update svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337060 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 08:26:48 +00:00
Jake Farrell
b87e5667a4 Thrift-1079:Support i64 in AS3
Client: as3
Patch: Reverting 

Reverting patch due to usage of non public library which breaks ability to export as3 client to maven central during a release.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337007 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 02:23:00 +00:00