Commit Graph

685 Commits

Author SHA1 Message Date
Ben Craig
6493523e96 THRIFT-2027: Minor 64-bit and NOMINMAX issues in C++ library
Client: cpp
Patch: Ben Craig
2013-10-09 15:21:38 -05:00
Ben Craig
19244ed87f THRIFT-2031: Make SO_KEEPALIVE configurable for C++ lib
Client: cpp
Patch: Ben Craig
2013-10-09 15:18:55 -05:00
Ben Craig
aea8bfe0f0 THRIFT-2139: MSVC 2012 Error - Cannot compile due to BoostThreadFactory
Client: cpp
Patch: Alex Loukissas
2013-09-27 10:44:54 -05:00
Ben Craig
fd7ddef729 THRIFT-1944: Binding to zero port
Client: cpp
Patch: Akshat Aranya
2013-09-16 15:41:39 -05:00
Ben Craig
b2501a71a7 THRIFT-2069: TPipeServer creates overlapped pipes, then uses synchronous I/O on them with TPipe
Client: cpp
Patch: Ben Craig
2013-09-13 12:29:43 -05:00
Roger Meier
657b933f28 THRIFT-1481 cpp: Unix domain sockets in C++ do not support the abstract namespace
Patch: Ben Craig
2013-09-02 20:43:57 +02:00
Roger Meier
acf15dc304 THRIFT-2160 Warning in thrift.h when compiling with -Wunused and NDEBUG
Patch: Frank Meerkoetter
2013-09-02 20:16:49 +02:00
Ben Craig
d5f617f6a3 THRIFT-2020: Thrift library has some empty files that haven't really been
deleted
Client: cpp
Patch: Ben Craig
2013-08-30 08:18:06 -05:00
Ben Craig
cd54ec6249 THRIFT-1999: warning on gcc 4.7 while compiling BoostMutex.cpp
Client: cpp
Patch: Konrad Grochowski
2013-08-29 10:45:21 -05:00
Ben Craig
91058ef4ba THRIFT-2037: More general macro THRIFT_UNUSED_VARIABLE
Client: cpp
Patch: Konrad Grochowski
2013-08-29 10:38:25 -05:00
Ben Craig
9df014012e THRIFT-2023: gettimeofday implementation in Windows errors when no time
zone is passed in
Client: cpp
Patch: Ben Craig
2013-08-28 15:08:23 -05: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
Roger Meier
d051ca0b23 THRIFT-2042 visual 2010 warnings - unused variable Patch: Konrad Grochowski 2013-08-15 01:37:55 +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
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
Roger Meier
6f2a503710 THRIFT-1442 TNonblockingServer: Refactor to allow multiple IO Threads
Patch: Pavlin Radoslavov
2013-07-08 23:35:25 +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
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
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
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
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
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
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
Henrique Mendonça
b6dfc9036b THRIFT-1986 fix TCompactProtocol constants 2013-06-05 14:46:06 +02: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
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
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
Roger Meier
5ed5e8b3f0 THRIFT-1917 Task expiration in TThreadPoolServer
Patch: Ivan Fastov
2013-05-06 00:21:04 +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
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
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
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
0c04fccf3a THRIFT-1881 TNonblockingServer does not release open connections or threads on shutdown
Patch: Randy Abernethy
2013-03-22 19:52:08 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Roger Meier
1516be04e0 Merge branch 'trunk' of https://github.com/benoitdion/thrift into trunk
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1326086 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 11:03:21 +00:00
Roger Meier
92a90ff8cf THRIFT-1566 Thrift/cpp: Use some different string operations
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325792 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 14:50:32 +00:00
Roger Meier
a3410db0c8 THRIFT-1564 Minor fixes to TZlibTransport
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325712 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 10:30:11 +00:00
Roger Meier
33eaa0f100 THRIFT-1552 Thrift (cpp) include files shouldn't require adding "thrift" to the compilers include path.
roger: some additional fixes

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325677 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 09:13:13 +00:00
Roger Meier
49ff8b123a THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/'
To ensure there are no include path collisions the C and C++ header
include paths should include 'thrift' as the root leaf. This will
prevent having to place /usr/include/thrift into the compilers include
header search path, which might otherwise result in the compiler
accidentally picking up headers that it shouldn't.

e.g. #include <foo/bar.h> should be #include <thrift/foo/bar.h>

Change-Id: I48f2b0f549bda0fc81e85506ac857adc800b98a1

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325674 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 09:12:31 +00:00
Roger Meier
02c827bcfe THRIFT-1562 Fix issue with TFramedTransport::readSlow
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325034 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 21:59:57 +00:00
Roger Meier
d8f50f3ffe THRIFT-1563 thrift: make serve() throw an exception if it fails
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325026 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 21:48:56 +00:00
Roger Meier
ec8027ffad THRIFT-1561 expose #active connections
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325024 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 21:43:25 +00:00
Roger Meier
d1bf5d0336 THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Patch: Peace C

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325020 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 21:38:56 +00:00
Roger Meier
7699b40232 add license headers, fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1311065 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 18:18:44 +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
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
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