Commit Graph

128 Commits

Author SHA1 Message Date
Jens Geyer
616df98f00 fix veralign.sh and bump version (again) 2019-10-20 00:12:14 +02:00
Jens Geyer
e02559fd46 bump version
This closes #1899
2019-10-17 20:31:24 +02:00
James E. King III
93ff9b0053 Update language levels, fix erlang and rust in CI
- Include rebar3 in docker image so erlang builds in CI
- Include the correct path in docker image so rust builds in CI
- Updated common lisp (sbcl) to 1.5.3 in docker image
- Updated dlang to 2.087.0 in docker image
- Updated dart to 2.0.0 in xenial docker image
- Updated dart to 2.4.0 in bionic docker image
- Updated erlang to 22.0 in docker image
- Updated openjdk to 11.0.3 in docker image
- Updated node.js to 10.16 in docker image
- Updated rust to 1.34.0 in xenial docker image
- Updated rust to 1.35.0 in bionic docker image

THRIFT-4905: Disable hanging experimental dlang async ssl test
2019-07-07 12:16:52 -04:00
James E. King III
522f873e1e Update and fix js dependencies 2019-05-10 18:47:27 -04:00
James E. King III
dbc1f8def5
THRIFT-4024, THRIFT-4783: throw when skipping invalid type (#1742)
* THRIFT-4024: make c_glib throw on unsupported type when skipping
* THRIFT-4783: throw on invalid skip (py)
* THRIFT-4024: make cpp throw on unsupported type when skipping
* THRIFT-4024: uniform skip behavior on unsupported type
2019-02-14 16:46:38 -05:00
James E. King III
4f7d93d8c3 Update grunt-shell-spawn javascript dependency 2019-01-30 14:59:22 -05:00
James E. King III
3f559940c2 THRIFT-4757: fix npm identified security vulnerability in transient dependency on sync-exec 2019-01-26 09:35:46 -05:00
James E. King III
b96c43892a THRIFT-4717: fix up make clean with autoconf 2019-01-25 23:33:54 -05:00
James E. King III
8935c98046 THRIFT-4753: re-version master to next release 0.13.0 2019-01-25 23:33:54 -05:00
Mustafa Senol Cosar
129bb3e10d THRIFT-4675: Fix int64 constants generation for map keys 2019-01-25 10:03:37 -05:00
Mustafa Senol Cosar
f86845e8ed THRIFT-4675: Generate Int64 constants for js 2019-01-15 09:20:54 -05:00
Christian Bürckert
f61d9e5282 THRIFT-4737: fixed
THRIFT-4737: [added beforeSend to add customHeaders to jqXHR in jqRequest]
Client: [lib/js]

locally tested - custom headers where missing when using jq. So I added these lines to fix it.
2019-01-14 12:14:10 -05:00
Ozan Can Altiok
caf7da9767 automatize the double rendering test 2019-01-07 10:45:27 -05:00
James E. King III
c3375d9e43 Merge remote-tracking branch 'origin/0.12.0' into consume-0.12.0 2018-12-30 11:06:00 -05:00
Robert Lu
a139082755 THRIFT-4546: replace all git-wip-us.apache.org to github.com 2018-12-28 07:46:47 -05:00
jfarrell
384647d290 Version 0.12.0 2018-12-18 20:24:34 -05:00
bforbis
da1169d75b THRIFT-4653: ES6 classes support (#1615)
* ES6 classes support
* Lint generated code
* ES6 Tests for NodeJS
* Add eslint rules for nodejs
* Run prettier/eslint on nodejs test code
2018-10-28 11:27:38 -04:00
jfarrell
2a2b72f6c8 Thrift-4647: Node.js Filesever webroot fixed path
Updates the node.js fileserver to have a fixed based webroot which can
not be escaped by end users.
2018-10-11 10:19:50 -04:00
Brian Forbis
b5d6ea390f THRIFT-4625: Use let/const variable decorators in ES6 Javascript 2018-09-28 10:36:55 -04:00
Drew Ritter
c0a5eed219 THRIFT-4592: change readI32 to use Array.reverse/Array.pop vs Array.shift, which is expensive for big arrays in V8 2018-07-03 08:15:49 -04:00
Ozan Can Altiok
e46419b5ec THRIFT-4476: Typecasting problem on double list items,
emitting doubles with high precision
Client: cpp
Client: erl
Client: java
Client: js
Client: py

This closes #1511
2018-03-20 16:28:15 -04:00
James E. King III
2b09dfed9c THRIFT-4509: add jslint and fix build script output 2018-03-13 10:12:46 -04:00
Philip Frank
5066eb484b THRIFT-4509:
* switch from grunt-external-daemon and grunt-shell to grunt-shell-spawn
* update grunt to 1.0.2
* always use local copy of jquery and qunit
* commit the package-lock files for npm keep versions stable
Client: js

This closes #1506
2018-03-13 10:12:04 -04:00
Philip Frank
50862915cc THRIFT-4024: Skip() throws TProtocolException.INVALID_DATA on unknown data types
Client: js

This closes #1503
2018-03-09 17:59:21 -05:00
Philip Frank
55ddf19cca THRIFT-4436: port nodejs changes from THRIFT-3748 to js lib,
test for serialization of nested list,
run all tests when building js lib
Client: js

This closes #1457
2018-03-05 08:20:14 -05:00
Alex Volanis
7004a61e44 THRIFT-(1418|1507|3983|4120|4178|4259|4294): Multiple issues
Client: java

THRIFT-4294: Java Configure Fails for Ant >= 1.10
THRIFT-4259: Thrift does not compile due to Ant Maven task errors
THRIFT-4178: Java libraries missing from package when using cmake
THRIFT-3983: libthrift is deployed on central with pom packaging
             instead of jar
THRIFT-1507: Maven can't download resource from central when behind
             a proxy and won't use local repository
THRIFT-1418: Compiling Thrift from source: Class
             org.apache.tools.ant.taskdefs.ConditionTask doesn't
             support the nested "typefound" element

Refactor CMake install hook to allow using "sudo make install/fast"
which avoids the THRIFT-1507 and THRIFT-1418 issues.

New Gradle based build system for Thrift Java Library

* Add Gradle 4.4.1 Wrapper artifacts to enable builds
Using the Gradle Wrapper helps normalize the builds on all platforms
so we use a consistent build tool independent of package managers.

The Gradle build logic was partitioned into multiple specific
scripts to simplify understanding and maintenance of the build.

This is now hooked into CMake and Autoconf processing steps
and can build/test/publish to Maven. The README.md was updated
to illustrate the new build options and add some documentation
on the requirements for Maven publication.

Cleaned up the CMake files to reduce reliance on file globbing
which is known to cause confusion when multiple users contribute.

* Fix two minor issues in Javadoc and unit test

Return values were undeclared in Javadoc
Test was asserting on the wrong test object instance

* Create simple runner scripts for cross-check

Using Gradle as a java execution wrapper is too heavy.
I simplified the test client/server execution by using a
three generated scripts in the build directory direcly
callable by the cross-check test harness.

* Cleanup the remaining Ant build scripts

Pulled the Maven Ant task properties out of the Java build
since they are no longer used there.
Deleted the no longer used build.xml and build.properties
files from the Java build.
Made each Ant build own the Maven Ant task details in their
build.properties file.

* Fix the build issue with Java SSL in the ubuntu-trusty container

The latest Trusty JDK7 builds seem to have encountered this issue
because the OpenJDK removed the SunEC algorithms.

* Update the developer info as requested in review

Use the generic Apache Thrift developer list for contact information

* Add Clover Code coverage for easy access by developers

Clover plugin for Gradle was applied and configured which enables
code coverage reports to be available on demand via a command line
option. The documentation in the README.md was enhanced to give
the details of this change and how to take advantage of it.
2018-01-24 12:28:55 -05:00
Philip Frank
8fdd610ba7 THRIFT-4406: Optionally generate ES6 compatible JavaScript where service methods return Promises
includes tests and TypeScript support
Client: js

This closes #1452
2018-01-04 09:15:24 -05:00
Philip Frank
0a84eae1db THRIFT-4437: JavaScript WebSocket - fix duplicate callbacks and enable ThriftWS test suite
Client: js

This closes #1450
2017-12-28 07:57:36 -05:00
Philip Frank
05a08ce9c1 THRIFT-4403: Fix incorrect usage of 'this'
Client: js

This closes #1437
2017-12-04 11:03:38 -05:00
James E. King, III
619218cd7f THRIFT-4343: enable nodejs-8.x on ubuntu-artful image and update grunt-jsdoc
also fix a perl failure as we were using a deprecated language feature
in the cross test server for perl.
Client: nodejs, perl

This closes #1406
2017-10-29 10:15:10 -04:00
James E. King, III
0ad20bdbfe THRIFT-4351: use travis build stages to optimize build,
avoiding duplicate rebuilds of the same image, and also
allow personal docker hub repositories for private fork
builds to be optimized. Move ubsan build to artful image
because it catches more stuff and fix what was found.

THRIFT-4345: solidify docker build strategy for maximum
coverage: trusty, xenial, artful as stock as they can be

THRIFT-4344: add top level language summary markdown and
update readme with a new image on the layered architecture

THRIFT-3847: remove VERSION macro from config.h which
was causing a conflict on artful builds.

THRIFT-4359: fix haxe map/set decode when key is binary,
as a missing break statement caused it to use an int
during decode

This closes #1389
2017-10-19 11:29:04 -04:00
James E. King, III
48ba736a58 THRIFT-4131: js / WebSocket / fix handling oneway methods
Client: js
Patch: Martin Hejnfelt <mh@newtec.dk>

This closes #1372
2017-09-24 20:35:01 -07:00
James E. King, III
699b5bc47a THRIFT-4064: update node dependencies
This closes #1359
2017-09-21 07:02:51 -07:00
Kazuki Matsuda
b909a3897b THRIFT-3627 fix missing basic code style consistency of JavaScript.
Client: js

This closes #858
This closes #1243
2017-04-06 19:12:28 -04:00
James E. King, III
cf25489402 Build fails using Java 1.8 with Ant < 1.9
Client: Java
Patch: Adinata <mail.dieend@gmail.com>

This closes #1060
2017-01-25 20:34:04 -05:00
Nobuaki Sukegawa
4b7dbe3cf2 THRIFT-3825 Javascript test dependency is no longer available 2016-06-09 04:04:18 +09:00
Randy Abernethy
3ca89e60d2 THRIFT-2821: Add HTTP header support to JavaScript lib
Client: JavaScript lib
Patch: David Sautter

Adds a customHeaders field to the XHR transport options
supporting multiple key-value custom HTTP headers to pass
with the request.
2016-04-13 06:24:57 -07:00
Liyin Tang
f5399b2f55 THRIFT-3714 Define TProtocolException in js/src/thrift.js
This closes #926
2016-03-11 00:06:03 +01:00
HIRANO Satoshi
84cf363eee THRIFT-3328 A callback is not called when a server is down.
https://issues.apache.org/jira/browse/THRIFT-3328
2015-12-07 23:14:13 +01:00
Nobuaki Sukegawa
6defea5f7b THRIFT-3200 JS and nodejs do not encode JSON protocol binary fields as base64
Client: Javascript
Patch: Nobuaki Sukegawa

This closes #698
2015-11-15 14:00:18 +09:00
Nobuaki Sukegawa
01ede042aa THRIFT-3360 Improve cross test servers and clients further
This closes #629
2015-09-28 20:38:37 +02:00
Henrique Mendonça
15d904240e THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments
Patch:  Igor Tkach

This closes #519
2015-06-25 22:31:41 +10:00
Roger Meier
0856273095 fix whitespaces detected by .editorconfig 2015-06-14 22:30:22 +02:00
Henrique Mendonça
c0e4a8dc07 Revert "THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments"
This reverts commit 1568aef7d4.
2015-06-01 23:23:22 +10:00
Henrique Mendonça
1568aef7d4 THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments
Client: Node and JS
Patch: Igor Tkach

    This closes #476
2015-05-27 22:15:46 +10:00
Nobuaki Sukegawa
113b638790 THRIFT-3148 Markdown links to coding_standards are dead
This closes #491
2015-05-13 21:40:26 +02:00
Nobuaki Sukegawa
72f8809290 THRIFT-3141 Improve logging of JavaScript test 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
63b5120c78 THRIFT-3142 Make JavaScript use downloaded libraries 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
fbc6977381 THRIFT-3140 ConcurrentModificationException is thrown by JavaScript test server 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
42bc88cfbb THRIFT-3139 JS library test is flaky 2015-05-10 18:25:56 +02:00