Commit Graph

2203 Commits

Author SHA1 Message Date
jfarrell
d9120c9fbd THRIFT-2148:TNonblockingMultiFetchClient imports log4j
Client: java
Patch: jfarrell

Removes import of log4j and switches over to using slf4j.
2013-08-24 09:48:23 -04:00
Carl Yeksigian
c9f4a35c30 THRIFT-1533:Make TTransport should be Closeable
Client: java
Patch: carl
2013-08-21 18:44:48 -04:00
jfarrell
5a900eadc2 THRIFT-2136:Vagrant build not compiling java, ruby, php, go libs due to missing dependencies
Client: build
Patch: jfarrell

Updates ruby build to use bundler
2013-08-18 10:54:52 -04:00
jfarrell
5c1e599dd1 Thrift-2133: java TestTBinaryProtocol.java test failing
Client: java
Patch: jfarrell

Removing unused test after THRIFT-820 changes.
2013-08-17 21:38:31 -04:00
jfarrell
a395655cf4 THRIFT-2135:GO lib leaves behind test files that are auto generated
Client: go
Patch: jfarrell

Removed generated test idl on clean
2013-08-17 15:52:42 -04:00
jfarrell
16ff233a73 Thrift-2129: php ext missing from dist
Client: php
Patch: jfarrell

Adds php extension back to dist build.
2013-08-16 09:48:42 -04:00
jfarrell
102c600bbb Thrift-2124: .o, .so, .la, .deps, .libs, gen-* files left tutorials, test and lib/cpp when making DIST
Client: build
Patch: jfarrell

Fixing all the missing files and dist build issues that have been ignored.
2013-08-15 21:20:19 -04:00
jfarrell
32d323e2c7 THRIFT-2123: go lib missing files in dist
Client: go
Patch: jfarrell

fixed missing files in go lib dist build
2013-08-15 20:39:58 -04:00
jfarrell
b591203746 Thrift-2126: missing cpp lib concurrency STD* files from DIST
Client: build
Patch: jfarrell

Updates cpp makefile to include missing STD* files.
2013-08-15 19:21:43 -04:00
Carl Yeksigian
2ca9c20285 THRIFT-820 Remove readLength attribute from BinaryProtocol
Patch: Carl Yeksigian
2013-08-14 19:38:42 -04:00
Roger Meier
d051ca0b23 THRIFT-2042 visual 2010 warnings - unused variable Patch: Konrad Grochowski 2013-08-15 01:37:55 +02:00
Roger Meier
e9248743a8 THRIFT-2120 js: Qunit URL is broken Patch: Roger Meier 2013-08-15 01:22:35 +02:00
Jens Geyer
3bb141d368 THRIFT-2036 Thrift gem warns about class variable access from top level
Patch: Takuya Hashimoto & Keith Barrette
2013-08-14 21:33:53 +02:00
Carl Yeksigian
f02934543a THRIFT-2117 Cocoa TBinaryProtocol strictWrite should be set to true by default
Client: cocoa
Patch: David Robakowski
2013-08-13 18:09:59 -04:00
Jens Geyer
4c835951be THRIFT-2109 Secure connections should be supported in Go
Patch: Justin Judd
2013-08-13 21:34:17 +02:00
Jens Geyer
656a173050 THRIFT-2112 Error in Go generator when using typedefs in map keys
Patch: Emir Habul
2013-08-03 10:22:39 +02:00
jfarrell
aa721610da THRIFT-2111: typo in php readme
Client: php
Patch: Jeremy Thomerson

Fixes type in php readme.
2013-08-02 21:55:22 -04:00
Jens Geyer
d1257debcf THRIFT-2106 Fix support for namespaces in GO generator
Patch: Emir Habul
2013-07-31 13:03:26 +02:00
Jens Geyer
7b07fbcba0 THRIFT-2100 typedefs are not correctly referenced when including from other thrift files
Patch: Remo Hertig
2013-07-30 03:08:17 +02:00
Jens Geyer
44b19df535 THRIFT-2083 Improve the go lib: Testcase for buffered Transport
Patch: Feng Shen
2013-07-26 23:05:00 +02:00
Jens Geyer
7d95246f16 THRIFT-2083 Improve the go lib: buffered Transport, save memory allocation, handle concurrent request
Patch: Feng Shen
2013-07-26 01:01:11 +02:00
Jens Geyer
11430df7ae THRIFT-2102 constants are not referencing to correct type when included from another thrift file
Patch: Remo Hertig
2013-07-26 00:23:00 +02:00
Roger Meier
56a648d0ff THRIFT-2093 added the ability to set compression level in C++ zlib transport
Patch: Randy Abernethy
2013-07-19 23:28:22 +02:00
Roger Meier
e802aa40af THRIFT-2094 TNonblocking server no longer works on windows
Patch: Konrad Grochowski
2013-07-19 21:10:54 +02:00
Roger Meier
0be9ffacb7 THRIFT-2038 THRIFT_INVALID_SOCKET added to PlatformSocket.h
Patch: Konrad Grochowski
2013-07-19 21:10:01 +02:00
Jens Geyer
7757ce7aeb THRIFT-2090 Go generator, fix including of other thrift files
Patch: Emir Habul
2013-07-18 22:48:40 +02:00
Jens Geyer
a7da48805c THRIFT-2090: Go generator, fix including of other thrift files
Patch: Emir Habul
2013-07-18 00:33:05 +02:00
Jens Geyer
4f7ad2d98b THRIFT-2091 Unnecessary 'friend' declaration causes warning in TWinsockSingleton
Patch: Konrad Grochowski
2013-07-16 20:58:38 +02:00
Roger Meier
ba406d3a02 THRIFT-2089 Compiler ignores duplicate typenames
Patch: Randy Abernethy
2013-07-15 22:41:34 +02:00
Jens Geyer
67065d7bf8 THRIFT-2084 Delphi: Ability to create entity Thrift-generated instances based on TypeInfo
Patch: Jens Geyer
2013-07-13 13:24:10 +02:00
Roger Meier
6f2a503710 THRIFT-1442 TNonblockingServer: Refactor to allow multiple IO Threads
Patch: Pavlin Radoslavov
2013-07-08 23:35:25 +02:00
Jens Geyer
6b9e1c6a87 THRIFT-2080 C# multiplex processor does not catch IOException
Patch: Jens Geyer
2013-07-06 09:30:31 +02:00
Jens Geyer
ee353e6c98 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()
Patch: Jens Geyer
2013-07-06 09:30:30 +02:00
Carl Yeksigian
049f5f3375 THRIFT-2082 Executing "gmake clean" is broken
Patch: Pavlin Radoslavov
2013-07-05 13:49:15 -04:00
Jens Geyer
866c23b5d1 THRIFT-2081 Specified timeout should be used in TSocket.Open()
Patch: Jens Geyer
2013-07-05 19:20:27 +02:00
Roger Meier
ffbfd03cc2 THRIFT-2074 cppcheck error removed from ThreadManager.cpp
Patch: Konrad Grochowski
2013-06-29 14:51:30 +02:00
Roger Meier
c36b56d3d7 THRIFT-1357 Erlang Dependency breaks build
Patch: Anthony Molinaro
2013-06-29 13:08:32 +02:00
Roger Meier
7158d3306c THRIFT-2044 Util.h uses defines from PlatformSocket but does not include it
Patch: Konrad Grochowski
2013-06-29 12:48:05 +02:00
Roger Meier
7295745b17 THRIFT-2071 clang 3.2 reports warning when comparing shared_ptr<X> == NULL
Patch: Konrad Grochowski
2013-06-29 00:28:50 +02:00
Roger Meier
42cb873ea9 THRIFT-2072 TNonblocking server compilation FAILS with C++11 support enabled
Patch: Konrad Grochowski
2013-06-28 22:49:14 +02:00
Roger Meier
ff77d075ec THRIFT-2039 config.h --> thrift-config.h
Patch: Ben Craig
2013-06-28 22:26:43 +02:00
Jens Geyer
e5bfd4c285 THRIFT-2070 Improper `HexChar' and 'HexVal' implementation in TJSONProtocol.cs
Patch: Yousong Zhou
2013-06-28 21:48:02 +02:00
Jens Geyer
102bca47f7 THRIFT-2032 C# client leaks sockets/handles
Patch: Jens Geyer
2013-06-25 22:21:29 +02:00
Jens Geyer
8095447478 THRIFT-2066 'make install' does not install two headers required for C++ bindings
Patch: Lalith Suresh
2013-06-25 21:36:29 +02:00
Konrad Grochowski
a1b5728ee6 THRIFT-2039 config.h --> thrift-config.h
Signed-off-by: Roger Meier <roger@apache.org>
2013-06-22 22:10:23 +02:00
Konrad Grochowski
9be4e687c4 THRIFT-2039 config.h --> thrift-config.h
Signed-off-by: Roger Meier <roger@apache.org>
2013-06-22 22:03:31 +02:00
jfarrell
0f0558ab1f Thrift-1919:libthrift depends on httpcore-4.1.3 (directly) and httpcore-4.1.4 (transitively)
Client: java
Patch: Jake Farrell

Updates version of httpcore and httpclient
2013-06-21 14:50:31 -05:00
Ben Craig
cc25c52de4 THRIFT-2024 TServer.cpp warns on 64-bit platforms about truncating an rlim_t into an int
Signed-off-by: Roger Meier <roger@apache.org>
2013-06-20 23:44:46 +02:00
Jens Geyer
e549a80e4e THRIFT-2050 Vagrant C# lib compile fails with TException missing
Patch: Justin Porterfield
2013-06-20 21:48:21 +02:00
Roger Meier
bb98ed44d7 THRIFT-1458 cpp: use the C++ standard (c++0x or later c++11) to improve code quality and cross platform capability
Signed-off-by: Nate Rosenblum <nater@maginatics.com>
2013-06-20 01:06:22 +02:00
Jens Geyer
0e87c46c18 THRIFT-2012 Modernizing Go
Patch: Travis Cline
2013-06-18 22:25:07 +02:00
Jens Geyer
b310ae7816 THRIFT-2015 Thrift exceptions should derive from TException
Patch: Jens Geyer
2013-06-12 21:10:35 +02:00
Roger Meier
4285ba29f2 THRIFT-2014 Change C++ lib includes to use <namespace/> style throughout
Patch: Randy Abernethy
2013-06-10 21:17:23 +02:00
Henrique Mendonça
27db434fd9 THRIFT-1659 Bring nodejs default transport in line with Java default transport 2013-06-09 22:20:25 +02:00
Jake Farrell
877125c5cd THRIFT-1966:Support different files for SSL certificates and keys
Client: py
Patch: Michael Kaes

Change the TSSLSocket class to accept key parameters and pass them to the ssl.wrap_socket function
2013-06-07 23:47:22 -04:00
Carl Yeksigian
7cb7fc8a73 THRIFT-1753: Multiple C++ Windows, OSX, and iOS portability issues
Client: cpp
Patch: Ben Craig
2013-06-07 07:33:01 -04:00
Carl Yeksigian
548244f049 THRIFT-1959: Add Union TMemoryBuffer support
Client: csharp
Patch: carl
2013-06-06 07:52:42 -04:00
Henrique Mendonça
b6dfc9036b THRIFT-1986 fix TCompactProtocol constants 2013-06-05 14:46:06 +02:00
Henrique Mendonça
7297688072 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2013-06-05 12:51:02 +02:00
Jake Farrell
89be18365e Thrift-1951:libthrift.jar has source files in it
Client: java
Patch: Jake Farrell

Remove source from libthrift.jar. source dist all ready included in release to central.
2013-06-04 23:22:04 -04:00
Jake Farrell
37e655c71b Thrift-1997:Add accept backlog configuration method to TServerSocket
Client: cpp
Patch: Randy Abernethy

TServerSocket hard codes the accept backlog to 1024. This patch adds a setAcceptBacklog() method which can be used to change the backlog size (must be called prior to listen()).
2013-06-04 23:04:16 -04:00
Roger Meier
d65216df19 THRIFT-1982 vsnprintf on Windows have different semantics
Patch: Konrad Grochowski
2013-06-04 22:25:06 +02:00
Roger Meier
f2b094f1f1 THRIFT-1983 %z printf format is not available in Visual
Patch: Konrad Grochowski
2013-06-04 22:09:37 +02:00
Jens Geyer
c2c4d72b90 THRIFT-1993 Factory to create instances from known (generated) interface types with Delphi
Patch: Jens Geyer
2013-06-04 22:06:30 +02:00
Roger Meier
cde23dfd2d THRIFT-1986 TCompactProtocol constants truncated on Windows (C4309)
Patch: Konrad Grochowski
2013-06-04 21:28:06 +02:00
Roger Meier
64a799d28e THRIFT-1987 TCompactProtocol.tcc/h warnings on Visual
Patch: Konrad Grochowski
2013-06-04 20:59:01 +02:00
Carl Yeksigian
3e93711464 THRIFT-1992: Fix TCompactProtocol compiler warnings
Client: cpp
Patch: Konrad Grochowski
2013-06-03 14:23:55 -04:00
Jens Geyer
111d8f2615 Add jensg to dev list 2013-06-03 16:49:55 +02:00
Carl Yeksigian
350860fca3 Add carl to developer list 2013-06-01 22:48:52 -04:00
Henrique Mendonça
8d22c10a47 THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-06-01 16:53:32 +02:00
Henrique Mendonça
5a61438a5e THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-06-01 11:33:25 +02:00
Henrique Mendonça
da7982edea THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-05-31 18:20:42 +02:00
Roger Meier
1e3c884636 THRIFT-1981 Not all PHP libraries are installed when building an installing a debian package
Patch: Ricky Cormier
2013-05-30 14:04:11 +02:00
Roger Meier
16ee0d17a6 THRIFT-1968 Thrift's include path is wrong in pkg-config files
THRIFT-1552 fix include path => thrift/Thrift.h
2013-05-30 09:57:00 +02:00
Jake Farrell
fbb78a6589 Thrift-1978: Ruby: Thrift should allow for the SSL verify mode to be set
Client: rb
Patch: Timur Alperovich

Ruby SSL verify mode cannot be specified, which means thrift cannot be used against servers with self-signed certificates over SSL. The suggested fix is to expose the SSL verification mode as a constructor argument in lib/rb/lib/thrift/transport/http_client_transport.rb.
2013-05-27 22:01:36 -04:00
Jake Luciani
36af4d3b40 THRIFT-1972 Add async server processors to Java
Patch: Jake Luciani
2013-05-16 12:59:50 -04:00
Jens Geyer
744e45f3b6 THRIFT-1969 C#: Tests not properly linked from the solution
Patch: Carl Yeksigian
2013-05-14 21:56:24 +02:00
Jens Geyer
2d2b3b2be8 THRIFT-1962 Multiplex processor should send any TApplicationException back to client
Patch: Jens Geyer
2013-05-13 22:03:08 +02:00
Roger Meier
15522724f6 THRIFT-1034 Java: Add a TNonblockingMultiFetchClient
Patch: Xing Jin
2013-05-12 20:45:13 +02:00
Henrique
08c34eae97 THRIFT-1967 Node.js tests don't cover all services
Patch: Henrique Mendonça

align with the tests we have for the original JS and C++ libraries
it also corrects two small bugs on the test server
and add nodejs to travis and make check
2013-05-11 20:41:22 +02:00
Henrique
99be0275e1 THRIFT-1957 NodeJS TFramedTransport and TBufferedTransport read bytes as unsigned
Patch: Matthew Imrie

Add method to binary.js to properly read a byte type as
signed Changed transport.js readByte methods in
TFramedBuffer and TBufferedTransport to use binary.js
readByte method Added unit test for binary.js readByte
method to binary.test.js and changed test harness to
nodeunit.
2013-05-11 01:21:52 +02:00
Jens Geyer
379c2776e2 THRIFT-1961 C# tests should be in lib/csharp/test/...
Patch: Jens Geyer
2013-05-09 15:23:48 +02:00
Jens Geyer
7203424e96 THRIFT-1901 C#: Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Jens Geyer
2013-05-08 18:46:57 +02:00
Jens Geyer
f670181a3d THRIFT-1961 C# tests should be in lib/csharp/test/...
Patch: Jens Geyer
2013-05-06 23:48:00 +02:00
Roger Meier
5ed5e8b3f0 THRIFT-1917 Task expiration in TThreadPoolServer
Patch: Ivan Fastov
2013-05-06 00:21:04 +02:00
Roger Meier
4f623260b5 THRIFT-1760 [Ruby] Remove unnecessary native protocol code
Patch: Nathan Beyer
2013-05-05 23:59:25 +02:00
Roger Meier
7f1df99247 THRIFT-1932 TFileTransport::readEvent() casts values read from input stream into a pointer and then dereferences it.
Patch: Hugo Mildenberger
2013-05-05 23:29:34 +02:00
Roger Meier
967600ef4f THRIFT-1850 make check hangs on TSocket tests in TransportTest.cpp
Patch: Randy Abernethy
2013-05-03 22:39:53 +02:00
Jake Farrell
0fd47dab1b THRIFT-1956: Switch to Apache Commons Lang 3
Client: java
Patch: Christoffer Sawicki

Updates commons lang from 2.5 to 3.1
2013-05-02 22:51:52 -04:00
Jens Geyer
7f8b870357 THRIFT-1949: WP7 build broken 2013-05-02 19:52:30 +02:00
Jens Geyer
b706b1a905 THRIFT-1742 Optionally implement hashcode and equals in c#
Patch: Carl Yeksigian
2013-04-29 22:10:10 +02:00
Jake Luciani
938e640702 THRIFT-1785 add TMemoryBuffer; patch by carl yeksigian reviewed by tjake 2013-04-25 17:53:08 -04:00
Jens Geyer
f509df9c96 THRIFT-1930: C# generates unsigned byte for Thrift "byte" type
Patch: Jens Geyer
2013-04-25 20:38:55 +02:00
jfarrell
6bdb10b592 Thrift-1942: Binary accelerated cpp extension does not use Thrift namespaces for Exceptions
Client: php
Patch: Tyler Hobbs

Adds namespaced TException to the accelerated php client lib.
2013-04-23 15:42:04 -05:00
Jake Farrell
146e5116a2 Thrift-1786: C# Union Typing
Client: csharp
Patch: Carl Yeksigian

Updating  makefile for mono
2013-04-22 22:28:56 -04:00
jfarrell
bdb19a467a Thrift-1786: C# Union Typing
Client: csharp
Patch: Carl Yeksigian

Union typing patch
2013-04-22 14:41:13 -05:00
Jake Farrell
de262dc77e Thrift-1903: PHP namespaces cause binary protocols to not be used
Client: php
Patch: Tyler Hobbs

Resolves the issue by importing TBinaryProtocolAccelerated and checking if $this->output_ is an instance of that instead of using a static string in TProtocol.
2013-04-19 21:58:33 -04:00
Jake Farrell
c613cd2d9b Thrift-1846:Restore socket.h header to support builds with Android NDK
Client: cpp
Patch: Nicolas Trésegnie

moves the <sys/socket.h> include from TSocket.h to the .cpp to minimize the risk of hidden dependencies.
2013-04-01 21:39:03 -04:00
Jens Geyer
06045cf8d9 THRIFT-1880 Make named pipes server work asynchronously (overlapped) to allow for clean server stops
Patch: Jens Geyer
2013-03-27 20:26:25 +02:00
Roger Meier
3a931b50d9 THRIFT-1902 C++: Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Patrik Lindblom
2013-03-26 22:14:03 +01:00
Jake Farrell
2ff5428598 Thrift-984: Ocaml versioning
Client: ocaml
Patch: Chet Murthy

Addes versioning to the ocaml library via _oasis file
2013-03-25 22:06:36 -04:00
Jens Geyer
8a70196d00 THRIFT-1899 Delphi: Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Jens Geyer
2013-03-25 01:32:57 +02:00
Jens Geyer
cac2c5761e THRIFT-563 Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Rob Slifka
Fixes broken build due to previous patch
2013-03-25 01:22:09 +02:00
Roger Meier
9cda78844d THRIFT-1864 java: implement event handler for non-blocking server
Patch: Vitali Lovich
2013-03-24 21:42:35 +01:00
Roger Meier
ce6d1d709a THRIFT-1869 TThreadPoolServer (java) dies when threadpool is consumed
Patch: Brock Noland
2013-03-24 21:26:17 +01:00
Jens Geyer
3661867feb THRIFT-563 Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Rob Slifka
2013-03-24 11:53:31 +02:00
Jake Farrell
a87cc5e770 Thrift-1804: Ruby extension on ARM complains about signed chars
Client: rb
Patch: Elias Karakoulakis

Updated extension makefile to use signed char flag
2013-03-23 22:56:13 -04:00
Jake Farrell
775862547b THRIFT-986: smalltalk add version Info to the library
Client: smalltalk
Patch: Jake Farrell

Adding package.xml file for smalltalk library and added a version comment
in the xml header as smalltalk packages do not contain a version reference.
2013-03-23 21:57:17 -04:00
Roger Meier
1f9717d192 THRIFT-1878 php: THttpClient - Add the possibility to send custom headers
Patch: Laurent Sarrazin
2013-03-23 16:03:38 +01:00
Roger Meier
a7ab94d414 THRIFT-1845 cpp: Fix compiler warning caused by implicit string conversion with Xcode 4.6
Patch: Nate Rosenblum
2013-03-22 22:34:16 +01:00
Roger Meier
e491d298f0 THRIFT-1896 cocoa: Add TBase protocol for Cocoa
Patch: Kevin Li
2013-03-22 22:18:45 +01:00
Roger Meier
ff951bd567 THRIFT-1863 cocoa: [TBinaryProtocol readMessageBeginReturnName:type:sequenceID] returns incorrect message type
Patch: Kevin Li
2013-03-22 22:12:19 +01:00
Roger Meier
565517a16c subversion, thanks and good bye
;-r
2013-03-22 21:08:39 +01:00
Roger Meier
0c04fccf3a THRIFT-1881 TNonblockingServer does not release open connections or threads on shutdown
Patch: Randy Abernethy
2013-03-22 19:52:08 +01:00
Roger Meier
a51186b7f2 THRIFT-1879 Add support for GObject-Introspection
Patch: Evan Nemerson
patch 1: 0001-Move-typedefs-before-public-structs-to-work-around-g.patch
2013-03-22 17:12:03 +01:00
Roger Meier
9b2524415c THRIFT-1861 PHP Makefile does not include TStringFuncFactory
Patch: Logan Owen
2013-03-22 17:05:53 +01:00
Jens Geyer
552440e6e5 THRIFT-1890 C++: Make named pipes server work asynchronously
Patch: Jens Geyer & Ben Craig
2013-03-21 19:55:27 +02:00
Jens Geyer
0b20cc8a58 THRIFT-1874 timeout for the server-side end of a named pipe
Patch: Jens Geyer
2013-03-07 20:47:01 +01:00
Jens Geyer
5cb0d22a03 THRIFT-1873 Binary protocol factory ignores struct read/write flags
Patch: Jens Geyer
2013-03-07 20:44:22 +01:00
Jens Geyer
6a7463a725 THRIFT-1872 issues with TBufferedTransport buffer
Patch: Jens Geyer
2013-03-07 20:40:59 +01:00
Chris Piro
20c81ad74c THRIFT-1704: Tornado support (Python) 2013-03-07 11:32:48 -05:00
Jake Farrell
073f9eb9b9 Thrift-1629:Ruby 1.9 Compatibility during Thrift configure, make, install
Client: Ruby
Patch: Nick Zalabak

Updated ruby client to use thin serber over mongrel.
2013-03-04 20:59:38 -05:00
Jake Farrell
04f83112f6 Thrift-1264:TSocketClient is queried by run loop after deallocation in Cocoa
Client: cocoa
Patch: Jan Ruth

Fixes TSocketClient not deallocated correctly.
2013-03-02 22:51:55 -05:00
Jens Geyer
1bb903225a Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2013-01-23 20:59:13 +01:00
Jens Geyer
b64a774b2f THRIFT-1842 Memory leak with Pipes
Patch: Jens Geyer
2013-01-23 20:58:47 +01:00
Roger Meier
7b96b2249a THRIFT-1805 Thrift should not swallow ALL exceptions
Patch: Diwaker Gupta
2013-01-23 20:18:58 +01:00
Roger Meier
d34bea0c04 THRIFT-1837 Deploy and use cxxfunctional.h in cpp code generated in cob_style mode
Patch: Nate Rosenblum
2013-01-22 21:36:42 +01:00
Roger Meier
772b2b1804 THRIFT-1789 fix json protocol read set begin
Patch: Kevin Radloff
2013-01-19 21:04:12 +01:00
Roger Meier
f42ce2a8f4 THRIFT-847 Test Framework harmonization across all languages
THRIFT-1595 Java test server should follow the documented behavior as of THRIFT-1590
 Patch: Kamil Salas
2013-01-16 22:12:14 +01:00
Roger Meier
c095919087 THRIFT-1829 cpp unit tests fail to build using multiple make jobs
Patch: David Rennalls and Roger Meier
2013-01-15 23:20:19 +01:00
Roger Meier
e3da768367 THRIFT-1826 update c_glib source header paths
Patch: Simon South
2013-01-11 11:41:53 +01:00
Roger Meier
87afaacb95 THRIFT-1822 PHP unit test does not work
Patch: Roger Meier
2013-01-06 20:10:42 +01:00
Roger Meier
8ebe0d917c THRIFT-1594 Java test clients should have a return codes that reflect whether it succeeds or not.
Patch: Kamil Salas and  Roger Meier
2013-01-06 14:33:39 +01:00
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
Henrique Mendonca
ecad39224c Thrift-336: Compact Protocol in C#
Patch: Henrique Mendonça


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1393368 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 09:25:52 +00:00
Jake Farrell
5d6bd5a606 THRIFT-1645: Replace Object#tee with more conventional Object#tap in specs
Client: rb
Patch: Nathan Beyer

The spec_helper.rb defines an Object#tee method, which is functionally equivalent to Object#tap. Object#tap was added to Ruby 1.9 and to 1.8.7.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1392509 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 18:42:23 +00:00
Jake Farrell
373a26b0c6 THRIFT-1082: Thrift::FramedTransport sometimes calls close() on an undefined value
Client: perl
Patch: John Siracusa

Fixes Thrift::FramedTransport module sometimes ends up calling the close() method on an undefined value inside its own close()


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1391418 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 12:08:01 +00:00
Jake Farrell
c34d7d75fb THRIFT-1591: Enable TCP_NODELAY for ruby gem
Client: rb
Patch: Christos Trochalakis

Set TCP_NODELAY for client socket for ruby lib



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1391399 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 11:25:42 +00:00
Jake Farrell
a87810ff4b Thrift-1644:Upgrade RSpec to 2.11.x and refactor specs as needed
Client: rb
Patch: Nathan Beyer

Upgrading to rspec2.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1391280 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 01:59:04 +00:00
Henrique Mendonca
6af2ec09b3 Client: JS
Extend QUnit test cases


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1390990 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 13:14:36 +00:00
Jake Farrell
78a54a17f1 THRIFT-1521:patches for more Performance
Client: php
Patch: D. Edler

Removes double function calls in the transport classes to strlen.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1390051 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 18:58:27 +00:00
Henrique Mendonca
41dfe6fd5e Thrift-1701:node.js TBufferedTransport buffer corruption
Patch: Marshall Roch

fix buffer copy method calls


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1389517 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 19:11:19 +00:00
Henrique Mendonca
962b35309d THRIFT-1689: don't exit(-1) in TNonblockingServer
Client: c++
Patch: Brian Fallik

use standard exit(1) instead



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1388019 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 13:19:55 +00:00
Roger Meier
3d37fba206 THRIFT-1694 Re-Enable serialization for WP7 Silverlight
Patch: Jens Geyer


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1387715 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 19:30:36 +00:00
Jake Farrell
e2ef3179b6 Thrift-1693:libthrift has dependency on two different versions of httpcore
Client: java
Patch: Jake Farrell

Update version of httpclient to match httpcore in use in java lib.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1384182 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 01:43:10 +00:00
Roger Meier
2b2c0b2eba THRIFT-1691 Serializer/deserializer support for Delphi
Patch: Jens Geyer


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1384105 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 20:09:02 +00:00
Bryan Duxbury
630ce09ae6 THRIFT-1655. java: TBinaryProtocol: exceeded message length raises generic TException
This patch converts the TException into a TProtocolException.

Patch: Tyler Hobbs

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1383515 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:33:07 +00:00
Roger Meier
814818e779 THRIFT-1615
cleanup: remove empty stuff


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381333 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 20:07:52 +00:00
Roger Meier
21c0a85079 THRIFT-1615 PHP Namespace (was Thrift for Symfony 2)
Patch: Xavier HAUSHERR


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381323 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 19:47:14 +00:00
Jake Farrell
f88f9c231e Thrift-1650: Update clean items and svn:ignore entries for OS X artifacts
Client: ruby
Patch: Nathan Beyer

add a few entries to the CLEAN variable, so that some additional OS X artifacts will get cleaned up



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1379915 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 03:26:50 +00:00
Jake Farrell
6cd63ecf5b Thrift-1670: Incompatibilities between different versions of a Thrift interface
Client: delphi
Patch: Jens Geyer

The method TProtocolUtil.Skip() lacks implementation, which leads to exceptions after unknown message members are found by the generated deserialisation code.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1378429 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 02:04:35 +00:00
Jake Farrell
afd3ab2714 Thrift-1656: Setting proper headers in THttpServer.cpp so that "Cross-Origin Resource Sharing" on js client can work.
Client: cpp
Patch: Shantanu Choudhary

Set headers from server side, in the response, so that Javascript can handle Cross-site HTTP requests.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1375883 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 02:57:07 +00:00
Jake Farrell
2853cc0adf Thrift-1658:Java thrift server is not throwing TApplicationException
Client: java
Patch: Keith Turner

Exceptions not being handled correctly within newly modified ProcessFunctions. Added back code previously removed from auto generated class.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1375880 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 02:27:06 +00:00
Jake Farrell
c02efe21c1 Thrift-1674:Update Thrift D library to be compatible with 2.060
Client: d
Patch: David Nadlinger

Updated D lib for 2.060.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1374507 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 03:31:28 +00:00
Jake Farrell
b4e9aacfb0 Thrift-1673: Ruby compile flags for extension for multi arch builds (os x)
Client: ruby
Patch: Jake Farrell

Updating extension build to use ruby cflags which include the arch flags needed.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1371273 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:03:14 +00:00
Jake Farrell
6f3a526025 Thrift-1662:"removeObject:" should be "removeObserver:" in [-TSocketServer dealloc]?
Client: cocoa
Patch: Ken Morishita

Fixed issue there TSockerServer was using wrong notification center method. Using
- (void)removeObserver:(id)notificationObserver



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1366424 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 15:48:37 +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
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
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
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
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
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
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
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
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
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
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
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
Roger Meier
67377e7f3b fix broken build introduced with THRIFT-1336
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1336895 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 21:17:53 +00:00
Roger Meier
2be7f24102 THRIFT-1336 thrift: added server and processor test code
Patch: Dave Watson
- rework made by roger

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1336544 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 09:01:45 +00:00
Roger Meier
0b92274003 THRIFT-1597 TJSONProtocol.php is missing from Makefile.am
Patch: Andrew Grumet


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1335717 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 19:42:33 +00:00
Roger Meier
bb6de7aab0 THRIFT-1596 Delphi: Test clients should have a return codes that reflect whether they succeeded or not
Patch: Jens Geyer

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1334250 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 23:35:45 +00:00
Roger Meier
99b3672530 THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
- fix the build!
- add test/gen-html for ThriftTest.thrift

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333628 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 21:21:43 +00:00
Roger Meier
f50df7f2ba THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
Patch: Nathaniel Cook

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333239 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 22:49:55 +00:00
Roger Meier
95b1bd71e3 THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
- reduce NUM_QUERIES within test for slow machines ;-r

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332809 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 20:43:26 +00:00
Roger Meier
f666d07289 THRIFT-1514 Callbacks with newer jQuery versions don't work
Patch: Andrew Grumet

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332619 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 11:20:12 +00:00
Roger Meier
b70e04cab0 THRIFT-1586 Two small D issues
Patch: David Nadlinger

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1331810 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 19:20:23 +00:00
Roger Meier
c75797d906 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
2012-04-28 11:33:58 +00:00
Roger Meier
7c7679198f 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
2012-04-17 16:03:21 +00:00
Roger Meier
b661e83fab 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
2012-04-15 15:58:43 +00:00
Roger Meier
2badac7bd2 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
2012-04-14 11:03:43 +00:00