Commit Graph

5087 Commits

Author SHA1 Message Date
Håkon Hitland
9462edb06e THRIFT-4264: Fix PHP tests requiring sockets.so
Client: php

This closes #1315
2017-09-22 08:00:47 -07:00
Anthony Molinaro
2d8b17890c THRIFT-4340: Fix a crash on client close
Client: erl

This closes #1367
2017-09-22 05:30:22 -07:00
Dmitry Volodin
28eb9d98ef THRIFT-4233: Make THsHaServer.invoker available (get method only) in inherited classes
Client: hs

This closes #1366
2017-09-21 14:55:50 -07:00
Deniss Afonin
d3cda9c2f3 THRIFT-3357: Generate EnumSet/EnumMap where elements/keys are enums
Client: Java

This closes #1253
2017-09-21 13:57:09 -07:00
Johnny-Liao
9ffb41d94c THRIFT-4251: Fix JDK Epoll Bug in Thrift of TThreadedSelectorServer model.
Client: Java

This closes #1313
2017-09-21 12:48:48 -07:00
oryahud
8506121b3e THRIFT-4287: Add c++ compiler no_skeleton flag option
Client: C++

This closes #1333
2017-09-21 10:03:00 -07:00
Francois Ferrand
69603709ed THRIFT-4327: add API to efficiently remove a single timer
Client: C++

This closes #1353
2017-09-21 09:54:47 -07:00
Nasko Vasilev
12fcb0d30e THRIFT-4232 ./configure does bad ant version check
This closes #1354
2017-09-21 09:20:46 -07:00
Gonzalo Aguilar Delgado
ac61a42112 THRIFT-4212: Fix flush on invalid socket
Client: c_glib

This closes #1279
2017-09-21 09:09:20 -07:00
Gonzalo Aguilar Delgado
acbb616192 THRIFT-4211: Fix logging in c_glib
This closes #1278
2017-09-21 08:25:44 -07:00
Gonzalo Aguilar Delgado
cbd9759245 THRIFT-4205: Make sure gobject+glib are correctly linked
This closes #1272
2017-09-21 08:18:17 -07:00
walter-weinmann
5310616b10 THRIFT-4333 All tutorial examples with port 9090.
This closes #1364
2017-09-21 07:08:04 -07:00
walter-weinmann
faa2a3e304 THRIFT-4312 Erlang client cannot connect to Python server: exception
error: econnrefused

This closes #1365
2017-09-21 07:06:32 -07:00
James E. King, III
699b5bc47a THRIFT-4064: update node dependencies
This closes #1359
2017-09-21 07:02:51 -07:00
Ivan Sadikov
04d983c14e THRIFT-4330: Allow unused crates in Rust files
Client: Rust
Patch: Ivan Sadikov <ivan.sadikov@team.telstra.com>

This closes #1360
2017-09-19 22:02:43 +02:00
James E. King, III
4c30c15924 THRIFT-4328: disable centos-7.3 build jobs which appear to be unstable/hang in jenkins
This closes #1358
2017-09-14 07:17:06 -07:00
James E. King, III
f26ce765d1 THRIFT-4328: undo tweak to build jobs 3 and 4, putting nodejs back where it was to stabilize Travis 2017-09-13 22:10:10 -07:00
James E. King, III
81cdcd3dd7 THRIFT-4328: split binary cross tests into their own build job to resolve
timeouts in travis; enable newly reliable cross tests (ran 5 times clean)

This closes #1351
2017-09-13 19:36:00 +00:00
Thomas Petazzoni
1744cdcb67 configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation
The thrift build system currently assumes that the thrift compiler is
always available in $(top_builddir)/compiler/cpp/thrift. However, in a
cross-compilation context, this location contains the thrift compiler
built for the target... which obviously will not run on the build
machine.

In order to support such cross-compilation situation, we introduce the
THRIFT variable as a an argument for the configure script (using
AC_ARG_VAR). If not specified, it defaults to the existing value of
using compiler/cpp/thrift from the build directory, but it can be
overridden when calling ./configure.

Note that $(top_builddir) cannot be used within the configure script,
so we simply use `pwd`, which is the same as the top_builddir.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

This closes #1336
This closes #1350
2017-09-09 07:50:54 -07:00
Jens Geyer
cf892d46f6 Testcase for THRIFT-4323 range check errors or NPE in edge cases
Client: Delphi
Patch: Jens Geyer
2017-09-09 10:11:10 +02:00
Francois Ferrand
cc2d558e2d THRIFT-4292: Implement TimerManager::remove()
Client: C++

This closes #1337
2017-09-08 20:23:50 -07:00
Jens Geyer
078281dcd3 THRIFT-4324 field names can conflict with local vars in generated code
Client: Delphi
Patch: Jens Geyer
2017-09-08 23:55:02 +02:00
Jens Geyer
a76e6c7920 THRIFT-4323 range check errors or NPE in edge cases
Client: Delphi
Patch: Jens Geyer
2017-09-08 23:55:01 +02:00
Jens Geyer
a62efa4109 THRIFT-4319 command line switch for "evhttp" incorrectly resolved to anon pipes
Client: Delphi
Patch: Jens Geyer
2017-09-07 22:25:50 +02:00
Jens Geyer
17c3ad9c8a THRIFT-4318 Delphi performance improvements
Client: Delphi
Patch: Jens Geyer

This closes #1348
2017-09-07 22:14:00 +02:00
walter-weinmann
f8e62fbe73 THRIFT-4273 erlang:now/0: Deprecated BIF.
Client: erlang

This closes #1346
2017-09-07 10:53:36 -07:00
Dirk Sandbrink
05c672b4d0 THRIFT-4290: Fixed csharp:nullable code generation for non-required enum fields with default values
Client: cs

This closes #1347
2017-09-07 10:31:35 -07:00
walter-weinmann
811f73a661 THRIFT-2733 Erlang coding standards
Client: erlang

This closes #1345
2017-09-07 10:20:17 -07:00
James E. King, III
7d211b8d2d THRIFT-4106: fix errors concurrency_test was identifying
Client: C++

This closes #1343
2017-09-07 10:13:29 -07:00
Charlie Zhang
e9ede89c1c THRIFT-4275: add support for zope.interface exclusively when generating code for python
Client: py

This closes #1324
2017-09-06 21:19:42 -07:00
gx9702
d862c2fd7b THRIFT-4316: fix read size in TByteBuffer.java
Client: java

This closes #1290
2017-09-05 21:33:42 -07:00
damnever
1b20b18ec0 Add default message for TApplicationException since some implementations may not set message field
Client: go

This closes #1335
2017-09-05 20:00:38 -07:00
walter-weinmann
fcb2f5a8f4 THRIFT-4313: Program code of the Erlang tutorial files contain syntax errors.
Client: erl

This closes #1342
2017-09-05 13:43:46 -07:00
tudyzhb
78b71851fc THRIFT-4307: Make ssl-open timeout effective in golang client
Client: go

This closes #1341
2017-09-05 13:19:39 -07:00
Victor Boivie
9235bec082 THRIFT-4246 Multiplexed clients sequence id fix
Client: nodejs

Previously, all clients would use the latest created multiplexer
for generating sequence numbers which would create a mismatch
between the mapping of sequence number->service in the connection.

This makes the client instances use the multiplexer that is
bound to it.

This closes #1322
2017-09-04 21:46:24 -07:00
James E. King, III
113614b2e5 fix flex syntax in compiler readme
Patch: Zhaopin <daishun9@gmail.com>

This closes #1332
2017-09-04 18:28:29 -07:00
Josip Sokcevic
722f8e9506 THRIFT-4247: Fix compilation with OpenSSL 1.1
Client: c_glib

This closes #1308
2017-09-04 18:22:03 -07:00
James E. King, III
d7142b7e4f THRIFT-4295: rework the docker build images, updating them and tuning the travis builds
This closes #1340
2017-09-04 18:09:34 -07:00
James E. King, III
f454369198 THRIFT-4298: fix ubuntu1604 docker image for golang 2017-09-01 05:23:29 -07:00
James E. King, III
b66b66ff52 added Ubuntu Xenial docker image named ubuntu1604 2017-08-31 18:08:29 -07:00
Roy Sindre Norangshol
ec64f23d23 THRIFT-4263: Fix use after free bug for thrown exceptions
Client: php

Exceptions thrown through PHPExceptionWrapper are prematurely freed at the end
of the catch block, even though zend_throw_exception_object expects to take
ownership of the value.

Ensure we free return_value in case of exceptions

Patch: Håkon Hitland <hakon.hitland@zedge.net>
Patch: Roy Sindre Norangshol <norangshol@zedge.net>

This closes #1314
2017-08-12 20:11:26 -07:00
Alex Şuhan
20116c6c0c THRIFT-3821 Check for overflow on buffer resize in TMemoryBuffer
Client: C++

This closes #1326
2017-08-12 20:03:19 -07:00
jiangq
de112fbb0d change js generator for simple using in object params
Client: node.js

This closes #1034
2017-08-12 16:23:06 -07:00
James E. King, III
c60b69b376 THRIFT-4284: remove extraneous character
Client: js

This closes #1330
2017-08-12 16:19:04 -07:00
James E. King, III
237a394add THRIFT-3974: fix ThreadSanitizer identified issues
Client: C++

This closes #1331
2017-08-12 16:15:59 -07:00
Gregor Reitzenstein
a718ad4837 Renames Thrift.cabal to fix THRIFT-3963
Client: hs

This closes #1265
2017-08-10 23:21:30 -04:00
Josip Sokcevic
3f07967a79 THRIFT-4248: Import cstring in TSSLSocket
Client: C++

strncpy, memcmp, memset are used in TSSLSocket so cstring needs to be
imported.

This closes #1307
2017-08-10 23:12:51 -04:00
Håkon Hitland
2f03618a6c THRIFT-4274: Catch OSError in TSSLServerSocket.accept()
Client: py

This closes #1321

wrap_socket can raise OSError instead of SSLError when receiving an
invalid connection attempt, which if not caught crashes TSimpleServer
and causes the feature tests to fail.
2017-08-10 15:39:09 -04:00
James E. King, III
82ae9575cd THRIFT-2221: detect C++11 and use std namespace for memory operations (smart_ptr)
Client: C++

This closes #1328
2017-08-10 13:27:21 -04:00
David Hull
0a8c34ceed THRIFT-4279 Wrong path in include directive in generated Thrift sources
Client: Erlang
Patch: David Hull <david.hull@openx.com>

This closes #1329
2017-08-09 14:58:31 +02:00