Client: Python
Patch: Aiden Scandella <aiden@uber.com>
This closes#322
Wrap THttpClient withTimeout in a try/finally
Otherwise the original value of the socket timeout is not restored properly.
Client: C_glib, C++, D, Erlang, Go, Haskell, Lua, Java/Me, JavaScript, Node, Ocaml, Perl, PHP, Python, Ruby
Patch: Jens Geyer
This closes#341
Minimal server-side implementations and TODO stubs for various languages to let "make check" succeeed.
Not contained in this patch and still TODO:
- client side implementations, i.e. calls to testBinary() and appropriate tests
- server side hex printout missing for some languages
This diff fixes them by correcting invalid CMake variable names:
* OPENSSL_... rather than OpenSSL_...
* LIBEVENT_... rather than Libevent_...
* Boost_INCLUDE_DIRS rather than Boost_INCLUDE_DIR
* LIBEVENT_INCLUDE_DIRS rather than LIBEVENT_INCLUDE_DIR
* ZLIB_INCLUDE_DIRS rather than ZLIB_INCLUDE_DIR
Note:
* OPENSSL_INCLUDE_DIR is correct (rather than ..._DIRS)
* Boost_INCLUDE_DIR exists and actually works for most cases but
Boost_INCLUDE_DIRS is the one desinged to be included
Also, library headers are now included as SYSTEM headers.
Client: Haxe
Patch: Jens Geyer
This closes#340
- reduced timeout and made sure the test script waits appropriately
- added test to make sure Haxe >= 3.1.3 is used
Client: C++
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes#336
* Fix incorrect AC_PATH_PROGS usage
* Exclude generated source code from distribution
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
Client: PHP
Patch: Stig Bakken <stig@zedge.net>
This closes#331
PHP generator: in jsonSerialize, only skip maps with non-scalar keys (previously skipped maps with non-string keys)
Client: PHP
Patch: Stig Bakken <stig@zedge.net>
This closes#320
PHP generator: in jsonSerialize, only skip maps with non-scalar keys (previously skipped maps with non-string keys)
Client: Delphi
Patch: Jens Geyer
This closes#319
This patch consists of a ported version of the base64 encoding/decoding used in C#. It handles the above case correctly, decodes data more efficiently in-place, and removes the dependency to Indy (IdCoderMIME).
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>
Setting this option enables generation of MoveConstructible types,
allowing types to be bound via move in std::bind. This is especially
pleasant when using Thrift container types.