Commit Graph

3794 Commits

Author SHA1 Message Date
Roger Meier
a9ddab5fa7 THRIFT-2720 nodejs - Error with enum generation 2014-10-09 02:11:14 +02:00
Roger Meier
25023b16eb THRIFT-809 Javascript client: Please make required fields actually required.
Patch: noazark

Github Pull Request: This closes #232
2014-10-09 02:01:17 +02:00
Roger Meier
f49ea0691c Revert "Revert "THRIFT-2722: js: Fix javascript service inheritance namespacing""
This reverts commit 371358ce4e.
2014-10-09 01:50:33 +02:00
Roger Meier
275278e00c lib/js/test/test.html: fix thrift.js include 2014-10-09 01:28:31 +02:00
Roger Meier
371358ce4e Revert "THRIFT-2722: js: Fix javascript service inheritance namespacing"
This reverts commit 9a7cb9f6c8.
2014-10-09 01:17:06 +02:00
Roger Meier
87caecf6f1 THRIFT-2705 make a package out of the haskell libraries for thrift
Patch: Kasper Janssens
Github Pull Request: This closes #222
2014-10-09 00:55:01 +02:00
Roger Meier
964082a8eb THRIFT-2712 PHP: add "json" option to create JsonSerializable code
This patch adds a "json" option to PHP code generation that will
make generated classes implement JsonSerializable, so thrift
objects may be converted to json using json_encode() easily.
If the "validate" option is enabled, the object's write validator
will be called, beyond that the jsonSerialize() method only outputs
non-null fields in the JSON object (JSON parsers get grumpy if you
send them null where they expect to see a number).

Patch: Stig Bakken

Github Pull Request: This closes #219
2014-10-08 23:41:18 +02:00
Konrad Grochowski
d5f3be5ebd THRIFT-2757: py - checkIntegerLimits optimized
Client: Python
2014-10-08 15:40:00 +02:00
Konrad Grochowski
93fea15b51 THRIFT-2757: py - Added integer limits checks in compact and JSON protocols
Client: Python
Patch: Bret Curtis

This closes: #234
2014-10-08 13:35:54 +02:00
Roger Meier
9a7cb9f6c8 THRIFT-2722: js: Fix javascript service inheritance namespacing
Patch: Stig Bakken

This closes: #227
2014-10-08 12:31:26 +02:00
Roger Meier
5e58b80c8b THRIFT-2767 hs: Transport.Empty is not externally available
Patch: Koen De Keyser

This Closes: #223
2014-10-08 11:59:44 +02:00
jfarrell
3da090642c THRIFT-2774: Add documentation for new erlang case feature flag
client: erlang
patch: alisdair sullivan

document the `legacynames` compiler option
2014-10-08 01:18:07 -04:00
Jens Geyer
2771991ca2 THRIFT-2770 thrift.internal.traits unittest fails due to std.metastrings import
Client: D
Patch: David Nadlinger

This closes #237

I originally wrote what became std.traits.SetFunctionAttributes as thrift.internal.traits.ChangeFuncAttrs. Now that it has been in Phobos for a number of releases, remove the local copy. This is both a cleanup and fixes the -unittest build in 2.066, where std.metastrings (which was just a stray import anyway) has finally been removed.
2014-10-07 21:51:35 +02:00
Jens Geyer
8f8eaf376f THRIFT-2769 std.traits.pointerTarget is deprecated
Client: D
Patch: David Nadlinger

This closes #236
2014-10-07 21:42:43 +02:00
Jens Geyer
dd971d5377 THRIFT-2689 struct names that differ only in capitalization of first character generate broken erlang code
Client: haskell
Patch: Alisdair Sullivan

This closes #239

Removed struct from NameConflictTest.thrift that causes problems for certain backends
2014-10-07 21:17:10 +02:00
Jens Geyer
196c5afbb1 THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am)
Patch: Jens Geyer

Reverted makefile.am - tabs are not optional there
2014-10-03 21:12:58 +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
d5436f5cf7 THRIFT-2768: Whitespace Fixup
Client: C#, Delphi
Patch: Jens Geyer
2014-10-03 20:12:40 +02:00
Konrad Grochowski
23b60b51df Fixed links in contributing.md - CMS style variables seems to be unsupported in .md files 2014-10-02 17:25:47 +02:00
Konrad Grochowski
afec3578d2 Trying to fix links in HowToContribute.md 2014-10-02 17:19:15 +02:00
Jens Geyer
6d15c3090f THRIFT-2628 struct member name conflicts due to lowercased names
Client: Erlang
Patch: Alisdair Sullivan

This closes #228
2014-10-02 10:06:07 +02:00
jfarrell
63ad5f6f51 Thrift-2715:Wrong Import-Package directive in MANIFEST
Client: Java
Patch: Zlika

Updates java build.xml import headers for OSGI.
2014-10-01 21:44:30 -04: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
Jens Geyer
cc4ac4955c THRIFT-2689 struct names that differ only in capitalization of first character generate broken erlang code
Client: Erlang
Patch: Alisdair Sullivan

This closes #204
2014-10-01 21:13:39 +02:00
Jens Geyer
5aff35f7be THRIFT-2754 erlang lib tests don't clean up after themselves properly
Client: Erlang
Patch: Alisdair Sullivan

This closes #230
2014-10-01 21:06:52 +02:00
Jens Geyer
b898eaa25c THRIFT-2665 Debug statements are unnecessary and should be removed
Client: Python
Patch: Dustin Spicuzza

This closes #189
2014-10-01 03:00:19 +02:00
Randy Abernethy
5057b4cb5a THRIFT-2750: makes targets for get explicit
Client: Java and JavaScript Libs
Patch: Randy Abernethy

This fixes the build.xml for the Java server used to
test JavaScript. Older ants fail when get is used
with a target directory and not an explicit file name.
2014-09-30 17:34:44 -07:00
Randy Abernethy
bd2fce6fa3 THRIFT-2751: repair node oneway bug and symlink issue
Client: Node Lib
Patch: Randy Abernethy

This patch keep npm from creating sym links on npm install.
Sym links fail when writting to some shared volumes.

Also fixes multiplex oneway bug in nodejs
2014-09-30 17:12:27 -07:00
Randy Abernethy
92a1ed0017 THRIFT-2752: update centos installation doc
Client: Docs
Patch: Randy Abernethy

Updates Centos 6.5 installation docs to work again.
2014-09-30 16:16:10 -07:00
Randy Abernethy
775248a2f7 THRIFT-2747: update .gitignore to ignore .vagrant
Client: General
Patch: Randy Abernethy

Vagrant saves vm state in .vagrant directories which
should never be committed.
2014-09-30 15:44:16 -07: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
99b9e1d405 THRIFT-2746: compiler/cpp/README.md updated
Client: Build
Patch: Konrad Grochowski

Haskell compiler no longer need to be disabled when building with mingw
2014-10-01 00:14:14 +02:00
Randy Abernethy
ab3f848dec THRIFT-2746: Replace C++11 code in IDL compiler
Client: compiler (haskell and cpp generators)
Patch: Randy Abernethy

This patch replaces various bits of C++11 code in the Apache
Thrift compiler which fail to compile on older versions of
gcc (such as 4.4.7)
2014-09-30 14:09:41 -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
3a724e37d4 THRIFT-2663: py - per module logger used in python lib
Client: Python-Library
Patch: Dustin Spicuzza

This enables per module log message filtering

This closes #187
2014-09-29 23:55:47 +02:00
Konrad Grochowski
485d71acd1 THRIFT-2664: py - fixed errors on calling oneway functions
Client: Python-Compiler
Patch: Dustin Spicuzza

'recv_' method is resolved later, thus disregarding exceptions send from
oneway methods calls

This closes #188
2014-09-29 23:38:15 +02:00
Konrad Grochowski
03394b54fb THRIFT-2662: py - Fix incorrect indentation when oneway function is used
Client: Python-Compiler
Patch: Dustin Spicuzza

fixes python generator when py:tornado option is enabled

This closes #186
2014-09-29 23:04:30 +02:00
Jens Geyer
eb393ac3cd THRIFT-2701 Update TCompactProtocol.php
Client: PHP
Patch: GitHub-User anjz <anartzn@gmail.com>

This closes #212

Removed `strrev` from `readDouble` and `writeDouble` functions. I found problems reading a double that was generated with the python library.
2014-09-29 22:47:44 +02:00
Roger Meier
25c68f45da THRIFT-2693 Erlang test leaves a lot of generated files
Patch: Roger Meier
2014-09-29 22:14:30 +02:00
Jens Geyer
aa99e0e2b8 THRIFT-2144 Client-side support for Multiplexing Services on any Transport and Protocol
Client: Cocoa
Patch: David Robakowski

This closes #151
This closes #150
2014-09-29 22:11:08 +02:00
Konrad Grochowski
05d64b4e3b THRIFT-2707: rb - support for oneway messages fixed
Client: Ruby Library, Ruby Compiler
Patch: Konrad Grochowski

now oneway method calls will use proper message type

This closes #217
2014-09-29 22:08:58 +02:00
Konrad Grochowski
1ff4a97a45 THRIFT-2716 - removed warnings from some Makefile.ams 2014-09-29 22:05:49 +02:00
Jens Geyer
eb8e5ad87f THRIFT-2654 reduce number of server exceptions
Client: C#
Patch: Craig Peterson

This closes #177
2014-09-29 21:50:15 +02:00
Roger Meier
4606d7db90 THRIFT-976 c_glib tutorial
Patch: Simon South
2014-09-29 21:01:58 +02:00
Roger Meier
15df0767d3 THRIFT-2685 c_glib: Include in integration test suite
Patch: Simon South
2014-09-29 20:50:56 +02:00
Roger Meier
63243c6a29 THRIFT-2709 c_glib: Support server implementation
Patch: Simon South
2014-09-29 20:29:58 +02:00
James Broadhead
51ba56c31b py.twisted: Avoid synchronous exceptions
This is an update of the patch posted to:
https://issues.apache.org/jira/browse/THRIFT-585
and a re-write of 8345772

Patch: Mattias de Zalenski, James Broadhead

Jira: THRIFT-585
2014-09-28 22:39:55 +02:00
Jens Geyer
b360b65d3f THRIFT-2718 Align cmdline help and return codes for Thrift test server/client
Client: Delphi
Patch: Jens Geyer
2014-09-28 01:55:46 +02:00
Jens Geyer
f8a1b7a29a THRIFT-2718 Align cmdline help and return codes for Thrift test server/client
Client: Delphi
Patch: Jens Geyer
2014-09-24 00:26:46 +02:00