Nobuaki Sukegawa
6622877a09
THRIFT-2098 Add support for Qt5+
2014-12-21 16:36:47 +01:00
Nobuaki Sukegawa
6304a53414
THRIFT-2903 Qt4 library built with CMake does not work
2014-12-21 16:36:46 +01:00
Nobuaki Sukegawa
2825664f25
THRIFT-2893 CMake build fails with boost thread or std thread
...
Following changes are made to fix the build
* Add USE_..._THREAD compiler definitions correctly
* Link to boost_thread and boost_system when configured with boost thread
* Link to pthread if platform is posix and std thread is used
* Use PlatformThreadFactory in test code
2014-12-21 16:36:46 +01:00
Konrad Grochowski
38bf23404c
THRIFT-2907 - macro ntohll defined only when needed
...
Client: C++
Patch: Jon Parise
This closes #334
2014-12-20 13:23:27 +01:00
Konrad Grochowski
ec8d8778b5
THRIFT-2906 - linking with boost_unit_test_framework made more portable
...
Client: C++
Patch: Jon Parise
BOOST_TEST_LDADD Makefile variable added and should be used when linking
with boost_unit_test_framework
This closes #333
2014-12-20 12:50:30 +01:00
Pascal Bach
d5f87e1f21
CMake: Add CMake support for Thrift libraries
...
Currently the following libraries are supported:
- C++
- C_Glib
- Java (using Ant wrapper)
The compilers CMake file is adjusted to work with the new global CMakeLists.txt file.
Signed-off-by: Roger Meier <r.meier@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Also-by: Sergei Nikulov <sergey.nikulov@gmail.com>
2014-12-13 22:02:29 +01:00
Jon Parise
a195a2574e
THRIFT-2887 Respect --with-openssl when building C++ support.
2014-12-13 21:36:25 +01:00
Konrad Grochowski
3876ea70a2
make style applied
2014-12-09 15:24:56 +01:00
Nobuaki Sukegawa
d0d7a65581
THRIFT-2838 TNonblockingServer can bind to port 0 (i.e., get an OS-assigned port) but there is no way to get the port number
2014-12-07 17:00:02 +01:00
Konrad Grochowski
4c1fde226e
make style applied
2014-12-06 19:54:26 +01:00
Pascal Bach
3de6b8fe23
THRIFT-2873 Make TPipe and TPipeServer working with unicode on windows
...
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2014-12-06 16:30:03 +01:00
Konrad Grochowski
9db4b51b66
THRIFT-2876: C++ - tests: coping __isset structure in copy constructor
...
Client: C++
Patch: Nobuaki Sukegawa
Test verifies THRIFT-2526
This closes #303
2014-12-04 23:32:52 +01:00
Konrad Grochowski
6794698a12
THRIFT-2874: C++ - typo in TDenseProtocol comment fixed
...
Client: C++
Patch: Nobuaki Sukegawa
This closes #302
2014-12-04 23:22:41 +01:00
Konrad Grochowski
37b7a0afe0
THRIFT-2874: C++ - unused field removed from TBinaryProtocol
...
Client: C++
Patch: Nobuaki Sukegawa
This closes #301
2014-12-04 22:35:39 +01:00
Jens Geyer
fb05cf67db
THRIFT-2789 TNonblockingServer leaks socket FD's under load
...
Client: C++
Patch: Sergey <drigh@deviantart.com> and Qiao Mu <qiaomuf@gmail.com>
2014-12-04 21:52:28 +01:00
Konrad Grochowski
3b5dacba44
THRIFT-2849: spelling errors fixed using codespell tool
...
Client: All
Patch: Anatol Pomozov
This closes #281
2014-11-24 10:55:31 +01:00
Konrad Grochowski
16a23a6618
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 11:39:10 +01:00
Konrad Grochowski
240120c843
Revert "THRIFT-2729: C++ - .clang-format created and applied"
...
This reverts commit 74260aa909
.
2014-11-18 11:33:31 +01:00
Konrad Grochowski
74260aa909
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 10:02:08 +01:00
Konrad Grochowski
8c12b19eb7
THRIFT-2827: C++ - Remove unused tr1/functional include from ProcessorTest
...
Client: C++
Patch: Aiden Scandella
This closes #267
Include was unused yet was causing compilation problems on platforms
without c++11 tr1
2014-11-15 12:57:23 +01:00
Jens Geyer
a4b72eed2c
THRIFT-2803 TCP_DEFER_ACCEPT not supported with domain sockets
...
Client: C++
Patch: Jens Geyer
2014-11-06 21:14:04 +01:00
Konrad Grochowski
b3f5ffc42d
THRIFT-2801: cpp - compilation warnings removed from test suite
...
Client: C++
Patch: Konrad Grochowski
Unused parameters mostly
2014-11-06 19:32:59 +01:00
Roger Meier
6f28c04560
cpp: fix automake dependencies
2014-11-01 20:31:44 +01:00
Jens Geyer
fdd8d13bd4
THRIFT-2792 Wrong option level for setsockopt(...TCP_DEFER_ACCEPT)
...
Client: C++
Patch: Sven-Ola <sven-ola.tuecke@numberfour.eu>
2014-10-29 19:42:26 +02:00
Roger Meier
a5bf1a1ff0
cpp: fix automake dependencies and make ProcessorTest.cpp compilable again
2014-10-22 23:26:01 +02:00
Roger Meier
81a1f996bc
THRIFT-2602 fix missing dist files
...
- add automake 1.13 dependency to configure.ac and doc
- use serial-tests instead of .NOTPARALLEL (introduced by THRIFT-1829)
Patch: Roger Meier
2014-10-22 14:09:43 +02:00
Roger Meier
cb0754db1e
THRIFT-2784 Eliminate compiler warnings in generated C++ code
...
remove unused MyEnum5 and add -pedantic to lib/cpp/test/Makefile.am
2014-10-21 21:28:04 +02:00
Roger Meier
ec300e33d4
THRIFT-1462 add more strict compiler flags
...
Patch: Roger Meier
2014-10-13 02:13:35 +02:00
Jens Geyer
79f988c27a
THRIFT-2768: Whitespace Fixup
...
Client: General (Makefile.am)
Patch: Jens Geyer
Reverted makefile.am - tabs are not optional there
2014-10-03 20:42:54 +02:00
Jens Geyer
aaa8947f3a
THRIFT-2768: Whitespace Fixup
...
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer
DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
2014-10-03 20:30:38 +02:00
Jens Geyer
656a2fbdae
THRIFT-1847 TSSLSocket.cpp and TFileTransport.cpp incorrectly excluded from Visual Studio project file
...
Client: C++
Patch: Chris Stylianou
2014-10-01 21:53:02 +02:00
Randy Abernethy
38f7a56e55
THRIFT-2749: clean up cpp lib for cpp98 build
...
Client: CPP Lib
Patch: Randy Abernethy
Adds required limits header and reverts use of sizof on
nonstatic members to cpp98 conformance.
2014-09-30 15:37:26 -07:00
Konrad Grochowski
293a40e960
THRIFT-2745: c++ - fixed some unit test compilation on windows
...
Client: C++-Library
Patch: Sergei Nikulov
unist.h removed
THRIFT_SLEEP_USEC used instead of usleep
ERROR variable renamed to TEST_TOLERANCE
This closes #207
2014-09-30 12:04:02 +02:00
Konrad Grochowski
1ff4a97a45
THRIFT-2716 - removed warnings from some Makefile.ams
2014-09-29 22:05:49 +02:00
Jens Geyer
a86886e77d
THRIFT-2704 - compiler: T_ONEWAY type used for oneway methods instead of T_CALL
...
Patch: Konrad Grochowski
This closes #216
2014-09-17 22:36:00 +02:00
name
b3e5ebe1e4
THRIFT-2513 clean up enum value assignment
...
Client: Compiler (General)
Patch: Konrad Grochowski
Fixes the failing test with pure_enums. For details, see JIRA ticket.
2014-09-12 11:15:24 +02:00
Jens Geyer
089bcd3f8c
THRIFT-1040 Can't end typedef lines with a semicolon
...
Client: Compiler (General)
Patch: Konrad Grochowski
2014-09-11 22:36:41 +02:00
Jens Geyer
1235ee3f2a
Fix EnumTest (part 2)
...
Patch: Konrad Grochowski, as part of his pull request 209
2014-09-06 14:59:51 +02:00
Jens Geyer
4d223c6fee
FIX: wrong include path
2014-09-05 22:31:39 +02:00
Jens Geyer
ae0b22cc29
THRIFT-2513 clean up enum value assignment
...
Patch: Dave Watson
This closes #88
Summary:
Clean up how enum values are handled if an integer value is not
explicitly specified in the thrift file.
For example, the following used to be a compile error, but
works now:
enum MyEnum {
SOMEVALUE
}
struct MyStruct {
1: MyEnum e = SOMEVALUE
}
This change also cleans up some of the error handling with out-of-range
values. Previously thrift simply issued a warning for enum values that
didn't fit in an i32, but serialized them as i32 anyway. Now
out-of-range enum values result in a compile failure.
Test Plan:
Included a new unit test to verify the assignment of enum values. I
also verified that g++ makes the same enum value assignments when
compiling these enums as C++ code.
2014-09-04 23:40:14 +02:00
Konrad Grochowski
b3f6ea100f
THRIFT-2067 C++: all generated objects provide ostream operator<<
2014-09-03 23:41:32 +02:00
Konrad Grochowski
e1358ce8f4
THRIFT-2687 - C++ Qt lib - fixed struct/class inconsitency between forward decl and definition
...
Signed-off-by: Roger Meier <roger@apache.org>
2014-09-01 20:08:49 +02:00
Pascal Bach
9be413fca4
Add getOrigin() function to TTransport
...
getOrigin returns the origin of a request, the value depends on the transport used
2014-08-21 14:36:25 +02:00
Jens Geyer
5c0e987ac1
THRIFT-2541 fixed C4003 with VC2012 around max()
...
Client: C++
Patch: Jens Geyer
2014-07-27 19:19:31 +02:00
Alan Dunn
bee7b73802
Add unit test for OpenSSL manual initialization
...
This test checks whether Thrift leaves OpenSSL functionality available
after the last TSSLSocketFactory is destroyed when manual
initialization is set. It uses the EVP_get_digestbyname function as
an example function that requires OpenSSL initialization to work
properly.
Signed-off-by: Alan Dunn <amdunn@gmail.com>
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-26 22:13:55 +02:00
Alan Dunn
c0ff5561fe
Add ability to take control of OpenSSL initialization
...
Signed-off-by: Alan Dunn <amdunn@gmail.com>
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-26 22:13:55 +02:00
Alan Dunn
8953e7016a
Expose OpenSSL initialization functions
...
Otherwise, commit is a logical no-op; it keeps the same OpenSSL
initialization behavior as before. Move the SSL initialization
functionality to one place to make it easier to track.
Signed-off-by: Alan Dunn <amdunn@gmail.com>
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-26 22:13:55 +02:00
Roger Meier
e3f0a42347
THRIFT-2489 Peer host name not provied when performing AccessManager common name verification.
...
This closes #102
commit fd2afa58bff579c2a03281a34afda990e2f499e3
Author: Chris Stylianou <chris5287@gmail.com>
Date: 2014-04-21T14:06:20Z
THRIFT-2489 Pull Request
Peer host name not provied when performing AccessManager common name verification.
2014-07-26 00:24:39 +02:00
Roger Meier
da8b60715f
THRIFT-2442 Fix issue with cpp server on Windows (WSAStartup wasn't called)
...
Patch: andrey-agenosov
closes GitHub: #86
2014-07-25 23:16:24 +02:00
Roger Meier
8b51bc6ad7
remove trailing whitespace
2014-07-24 23:33:33 +02:00
Jens Geyer
1a3632351e
THRIFT-2541 reclaim TFramedTransport's read and write buffers for thrift cpp
...
Client: C++
Patch: Huabin <4130944@qq.com>
2014-07-14 19:51:36 +02:00
jfarrell
8fd8c6366d
THRIFT-2602:Fix missing dist files
...
Client: build process
Patch: jfarrell
Add all missing files to the dist package.
2014-07-10 09:14:51 -04:00
Konrad Grochowski
b7af66e189
THRIFT-2614 - C++ Library - TNonblockingServer.cpp MSVC warning removed
...
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-08 23:03:08 +02:00
Roger Meier
2e9be756ce
THRIFT-2610 MSVC warning in TSocket.cpp
...
Patch: Konrad Grochowski
2014-07-08 07:46:11 +02:00
Roger Meier
3e50a9a1d0
THRIFT-2605 TSocket warning on gcc 4.8.3
...
Patch: Konrad Grochowski
2014-07-08 07:29:12 +02:00
Roger Meier
f83c0e13b7
THRIFT-2416 Cannot use TCompactProtocol with MSVC
...
Patch: Konrad Grochowski
2014-07-07 22:06:45 +02:00
Roger Meier
5f61d29a26
THRIFT-2609 TFileTransport.h unused field warning (clang 3.4)
...
Patch: Konrad Grochowski
2014-07-07 22:02:57 +02:00
Roger Meier
2768eb29ce
THRIFT-2608 TNonblockingServer.cpp warnings on clang 3.4
...
Patch: Konrad Grochowski
2014-07-07 21:56:44 +02:00
Roger Meier
9a242c02f6
THRIFT-2607 ThreadManager.cpp warning on clang++ 3.4
...
Patch: Konrad Grochowski
2014-07-07 21:55:27 +02:00
Roger Meier
ca545bd429
THRIFT-2606 ThreadManager.h warning in clang++ 3.4
...
Patch: Konrad Grochowski
2014-07-07 21:53:04 +02:00
Roger Meier
464a3a4432
THRIFT-2092 TNonblocking server should release handler as soon as connection closes
...
Patch: Konrad Grochowski
2014-07-07 21:48:28 +02:00
Roger Meier
1a5127b76d
THRIFT-1998 TCompactProtocol.tcc - one more warning on Visual 2010
...
Patch: Konrad Grochowski
2014-07-07 21:44:30 +02:00
Jens Geyer
81b3a42c93
THRIFT-2524 Visual Studio project is missing TThreadedServer files
...
Client: C++
Patch: Jens Geyer
2014-07-04 22:30:14 +02:00
Jens Geyer
41312c7e92
THRIFT-2590 C++ Visual Studio solution doesn't include Multiplexing support
...
Client: C++
Patch: Jens Geyer, based on a patch proposal from Thomas Lazar
2014-07-04 22:09:31 +02:00
Jens Geyer
9a4f40de19
THRIFT-2590 C++ Visual Studio solution doesn't include Multiplexing support
...
Client: C++
Patch: Pascal Bach
2014-07-04 22:02:21 +02:00
henrique
c9bdd50270
THRIFT-2579 C++ lib Windows CE support
2014-06-25 13:13:23 +02:00
henrique
58993d1205
THRIFT-2577 C++ TFileTransport missuse of closesocket on windows platform
...
Patch: suuyaoo
This closes #142
---
2014-06-24 16:08:22 +02:00
henrique
ad67aa0acf
THRIFT-2581 C++ TFDTransport destructor should not throw
2014-06-24 15:45:41 +02:00
Randy Abernethy
44c9b4411a
THRIFT-2539:TSocket.cpp AI_ADDRCONFIG problems on Windows
...
Client: C++ Lib
Patch: Michal Gazda
AI_ADDRCONFIG keeps Windows from making local connections
when no NICs are present.
2014-06-16 21:15:23 -07:00
Roger Meier
63fcb7e756
THRIFT-2520 cpp:cob_style generates incorrect .tcc file
...
This closes #118
commit 22d266eefaf16f21ffd0ad193a6a54403de65197
Author: N.Sukegawa <nsukeg@gmail.com>
Date: 2014-05-07T19:36:43Z
2014-06-15 21:51:32 +02:00
Roger Meier
faf52db216
THRIFT-2569 Introduce file to specify third party library locations on Windows
...
This closes #136
----
commit f55437d55549ced475092518f432936c4e760639
Author: Pascal Bach <pascal.bach@siemens.com>
Date: 2014-04-09T09:19:18Z
TPipeServer requires OverlappedSubmissionThread.cpp|h
so include it in the corresponding VS files
commit 63a3309a83e6fb09b589a61fe56c5abe1157acb5
Author: Pascal Bach <pascal.bach@siemens.com>
Date: 2014-03-26T15:44:07Z
Replace Env variables for 3rdparty
----
Patch: Pascal Bach
2014-06-09 22:41:06 +02:00
Roger Meier
73b58a2469
THRIFT-1771 "make check" fails on x64 for libboost_unit_test_framework.a
...
update ax_boost_base.m4 from http://www.gnu.org/software/autoconf-archive/
Patch: Roger Meier
2014-05-11 17:39:34 +02:00
Roger Meier
37042270ef
THRIFT-2512 lib/${language}/README.md
...
Client: cpp
remove README_WINDOWS.md from WINDOWS_DIST
2014-05-04 22:58:15 +02:00
Roger Meier
2c60625b53
THRIFT-2512 lib/${language}/README.md
...
Client: cpp
remove README_SSL.md from EXTRA_DIST
2014-05-04 22:56:44 +02:00
Roger Meier
4fba9d2c3c
THRIFT-2512 lib/${language}/README.md
...
Client: cpp
doc cosmetics
2014-05-04 22:34:44 +02:00
Roger Meier
6370cfdd7a
THRIFT-2512 lib/${language}/README.md
...
Client: cpp
merge README_WINDOWS.md and README.SSL.md into README.md
2014-05-04 22:21:58 +02:00
Jens Geyer
885c679123
THRIFT-2471 Make cpp.ref annotation language agnostic
...
Client: compiler general
Patch: Dave Watson
This closes #113
commit 52b99af4ee1574253dcb77933d76a7ebb2d830df
Author: Dave Watson <davejwatson@fb.com>
Date: 2014-04-23T20:05:56Z
change cpp.ref to &
commit 3f9d31cc6140367529fd8f7b1b67056ec321786f
Author: Dave Watson <davejwatson@fb.com>
Date: 2014-04-23T21:50:29Z
Recursion depth limit
commit 61468e4534ce9e6a4f4f643bfd00542d13600d83
Author: Dave Watson <davejwatson@fb.com>
Date: 2014-04-25T19:59:18Z
shared_ptr for reference type
2014-05-02 21:31:55 +02:00
jfarrell
524b924f61
Thrift-2421:Tree/Recursive struct support in thrift
...
Client: compiler
Patch: Dave Watson
Patch to go along with pull request 84 to fix missing destructors.
Github Pull Request: This closes #98
----
commit f4daec9b0af386e8f6e9e66fb688aab8cd949fdc
Date: 2014-04-09T17:33:18Z
Also generate destructor for _result, presult, args, pargs
2014-04-09 14:55:54 -04:00
jfarrell
e0e8316838
THRIFT-2421: Tree/Recursive struct support in thrift
...
Client: cpp
Patch: Dave Watson
Github Pull Request: This closes #84
----
commit b6134cedf292845e5ed01052919894df6b561bf2
Date: 2014-03-20T18:12:04Z
Recursive structs support in parser
A common complaint is that you can't express trees or other recursive structures in thrift easily - unlike protobufs. This diff loosens up the parser to allow using structs before they are defined (and uses typedef as a forward declaration).
This diff is actually enough to make recursive types work for some dyamic languages (I tried php, works out of the box!)
Other languages will need forward declarations, or ways to box types, to make this work (i.e. C++ needs both forward decls and a way to express structs as pointers)
2014-04-08 22:45:01 -04:00
jfarrell
02c95c1c40
THRIFT-2258:Add TLS v1.1/1.2 support to TSSLSocket.cpp
...
Client: cpp
Patch: Chris Stylianou
Enables TSSLSocketFactory to set the required protocol.
2014-03-31 23:58:32 -04:00
Jens Geyer
ea6076f175
THRIFT-2430 Crash during TThreadPoolServer shutdown
...
Patch: Lars Benner
2014-03-28 22:45:27 +02:00
Roger Meier
16fcad0b25
THRIFT-2407 use markdown (rename README => README.md)
...
Patch: Roger Meier
2014-03-19 06:47:47 +01:00
jfarrell
db536cf6bb
Revert "THRIFT-2258 cpp: Add TLS v1.1/1.2 support to TSSLSocket.cpp"
...
This reverts commit 01386c95a8
.
2014-02-21 13:50:10 -05:00
Roger Meier
01386c95a8
THRIFT-2258 cpp: Add TLS v1.1/1.2 support to TSSLSocket.cpp
...
Patch: Chris Stylianou
2014-02-19 23:07:25 +01:00
Roger Meier
9f4f5157a3
THRIFT-2367 Build failure: stdlib and boost both define uint64_t
...
Fix: remove "using namespace boost;"
Patch: Roger Meier
2014-02-19 16:28:35 +01:00
Roger Meier
22888ce3a8
THRIFT-2352 msvc failed to compile thrift tests
...
Patch: Sergei Nikulov & Roger Meier
2014-02-09 11:31:02 +01:00
Roger Meier
0f60bd4f54
THRIFT-2224 cpp: TSSLSocket.h and TSSLServerSocket.h should use the platfromsocket too
...
Patch: soyer
2014-02-03 00:29:23 +01:00
Roger Meier
301dfa94d6
THRIFT-2225 cpp: SSLContext destroy before cleanupOpenSSL
...
Patch: soyer
2014-02-02 23:56:19 +01:00
Roger Meier
aefd9c4899
cpp: TSSLServerSocket should use THRIFT_SOCKET
2014-01-25 19:59:27 +01:00
Roger Meier
09cc5e7728
THRIFT-2316 cpp: TFileTransportTest is to restrictive
2014-01-15 10:13:18 +01:00
Jake Farrell
5d02b80e9c
Thrift-2029:Port C++ tests to Windows
...
Client: cpp
Patch: Ben Craig
Updates cpp tests to work with windows and c++11
2014-01-07 21:42:01 -05:00
Roger Meier
88103ca7f4
THRIFT-2040 "uninitialized variable" warnings on MSVC/windows
...
Patch: Konrad Grochowski
2013-12-06 20:47:39 +01:00
Ben Craig
f4e6e62ea0
THRIFT-2214: System header sys/param.h is included inside the Thrift namespace
...
Client: cpp
Patch: Vladimir Strisovsky
2013-11-05 19:49:12 -06:00
Ben Craig
0d671c091c
THRIFT-2034: Give developers' C++ code direct access to socket FDs on
...
server side
Client: cpp
Patch: Ben Craig
2013-10-14 20:32:29 -05:00
Ben Craig
7f10de7ee8
THRIFT-2026: Fix TCompactProtocol 64 bit builds
...
Client: cpp
Patch: Ben Craig
2013-10-14 20:27:18 -05:00
Ben Craig
49a7663c79
THRIFT-2226: TServerSocket - keepAlive wrong initialization order
...
Client: cpp
Patch: Konrad Grochowski
2013-10-11 08:07:06 -05:00
Ben Craig
71b5a10b61
THRIFT-1892: Socket timeouts are declared in milli-seconds, but are
...
actually set in micro-seconds
Client: cpp
Patch: Ben Craig
2013-10-10 08:55:16 -05:00
Ben Craig
d856ac8c30
THRIFT-2019: Writing on a disconnected socket on Mac causes SIG PIPE
...
Client: cpp
Patch: Ben Craig
2013-10-09 15:27:38 -05:00
Ben Craig
fd64c15c4f
THRIFT-2021: Improve large binary protocol string performance
...
Client: cpp
Patch: Ben Craig
2013-10-09 15:26:05 -05:00
Ben Craig
96ea9daf80
THRIFT-1751: definition of increase_max_fds doesn't compile when
...
HAVE_SYS_RESOURCE_H is not defined
Client: cpp
Patch: Ben Craig
2013-10-09 15:23:49 -05:00
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