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
87afaacb95
THRIFT-1822 PHP unit test does not work
...
Patch: Roger Meier
2013-01-06 20:10:42 +01:00
Roger Meier
8ebe0d917c
THRIFT-1594 Java test clients should have a return codes that reflect whether it succeeds or not.
...
Patch: Kamil Salas and Roger Meier
2013-01-06 14:33:39 +01:00
Roger Meier
1f554e1a9c
THRIFT-1797 Python implementation of TSimpleJSONProtocol
...
Improve Test Suite according to test/ThriftTest.thrift
Patch: Avi Flamholz
2013-01-05 20:38:35 +01:00
Roger Meier
0895dfe6c0
THRIFT-1797 Python implementation of TSimpleJSONProtocol
...
Patch: Avi Flamholz
2012-12-26 22:09:55 +01:00
Roger Meier
ad8154a7a8
THRIFT-1796 TJSONProtocol is not functional
...
Patch: Avi Flamholz
2012-12-18 21:02:16 +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
691ec00213
THRIFT-847 Test Framework harmonization across all languages
...
add NODE_PATH
remove Unix Domain Socket used by tests
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1404889 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 07:50:24 +00:00
Roger Meier
85fb6de7f4
THRIFT-1745 Python JSON protocol
...
TJSONProtocol.py: Frederic Delbos
THRIFT-847 Test Framework harmonization across all languages
Integration into py lib and test suite
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1404838 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 00:05:42 +00:00
Henrique Mendonca
d407b2d1ca
Thrift-1353: Switch to performance branch, get rid of BinaryParser
...
Client: Node.js
Patch: Wade Simmons
"binary" fields will be returned as Buffers instead of Strings
"int64" fields will be returned as http://github.com/broofa/node-int64 objects
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401081 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 21:06:14 +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
Roger Meier
e983cf51f3
update Visual Studio project files and svn:ignore
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1395370 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 19:15:04 +00:00
Jake Farrell
be7493ee32
Thrift-1714:Explicitly add CWD to Ruby test_suites.rb
...
Client: rb
Patch: Nathan Beyer
test/rb/Makefile.am contains a invocation or the ruby interpreter to run test_suites.rb that needs modification to run correctly on Ruby 1.9+. Ruby 1.9+ doesn't include the CWD by default anymore.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1394906 13f79535-47bb-0310-9956-ffa450edef68
2012-10-06 02:51:45 +00:00
Roger Meier
3087738f28
THRIFT-1651 Support annotations on all elements
...
Patch: Benjy Weinberger
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1386848 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:18:05 +00:00
Roger Meier
21c0a85079
THRIFT-1615 PHP Namespace (was Thrift for Symfony 2)
...
Patch: Xavier HAUSHERR
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381323 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 19:47:14 +00:00
Roger Meier
da74ff4a3b
THRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
...
fix test suite
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340044 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 09:25:02 +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
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
4fce960b7f
THRIFT-1592 Test clients should have a return codes that reflect whether they succeeded or not
...
Patch: Nathaniel Cook
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333765 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 06:22:09 +00:00
Roger Meier
99b3672530
THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
...
- fix the build!
- add test/gen-html for ThriftTest.thrift
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333628 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 21:21:43 +00:00
Roger Meier
1f8b48f5bd
THRIFT-1590 Document the excepted return values and behaviors ThriftTest.thrift so that all languages can implement a test server
...
Patch: Nathaniel Cook
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333243 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 22:56:47 +00:00
Roger Meier
f50df7f2ba
THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
...
Patch: Nathaniel Cook
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333239 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 22:49:55 +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
5c80802332
THRIFT-1553 thrift nodejs service side can't read map structure, key as enum, value as Object
...
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1310986 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 12:30:00 +00:00
Jake Farrell
b95b0ffa72
THRIFT-1500: d programming language support
...
Client: D
Patch: David Nadlinger
D program language library and additions
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1304085 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 21:49:10 +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
Roger Meier
b33967be76
THRIFT-847 Test Framework harmonization across all languages
...
add php TestClient to the testsuite
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1234292 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 09:18:05 +00:00
Roger Meier
3ac6d87928
THRIFT-1495 PHP TestClient fatals on missing class
...
Patch: Andrew Grumet
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1233958 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 15:31:45 +00:00
Roger Meier
f0e517db99
THRIFT-1489 Add support for WCF bindings (optionally) to C# compiler, allowing web service usage of Thrift generated code
...
Patch: Kieran Benton
changes by roger:
- use ServiceModel, DataContract only when wcf is enabled
- indent space vs tab
- remove issue on lib/cpp/README_WINDOWS
- add testStringMap on test/csharp/ThriftTest/TestServer.cs
- add build to test/csharp/ThriftTest/maketest.sh
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1232578 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 21:20:56 +00:00
Roger Meier
eaa61d8fda
THRIFT-1267 Node.js can't throw exceptions
...
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1230797 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 21:38:29 +00:00
Roger Meier
0580d8dcb1
THRIFT-847 Test Framework harmonization across all languages
...
perl fixes:
- include test/perl if perl is enabled
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1229764 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 22:11:36 +00:00
Roger Meier
01b568cb5d
THRIFT-847 Test Framework harmonization across all languages
...
perl fixes:
- generate Makfile for perl tests
- add inc path to test
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1229745 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 21:30:02 +00:00
Roger Meier
4d5157da02
THRIFT-847 Test Framework harmonization across all languages
...
add test.sh as a first approach
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1229359 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 21:23:19 +00:00
Bryan Duxbury
a3df547c84
THRIFT-317. java: Issues with Java struct validation
...
Nested structs will now be validated before serialization starts.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1225035 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 22:26:59 +00:00
Bryan Duxbury
1e79cb40f5
THRIFT-1469. java: Java isset space optimization
...
This patch gives the generated code some variable-sized options for the isset bit vector. The compiler will attempt to use byte, short, int and long types before reverting to a BitSet for structs with a LOT of optional fields. This should save a fair amount of memory in a lot of cases.
Patch: Brian Bloniarz
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1221828 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 18:13:29 +00:00
Jake Farrell
ea949fbaf9
Thrift-1462: add more strict compiler flags
...
Reverting patch due to it breaking compilers older than 4.4 (os x, centos 5.x, etc)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213901 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 20:02:33 +00:00
Roger Meier
ca10fd4a51
THRIFT-1462 add more strict compiler flags(-Wall -Wextra -std=c++0x -pedantic)
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213459 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 22:00:23 +00:00
Roger Meier
611f90cf9e
THRIFT-1459 declare shared_ptr as boost::shared_ptr
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213090 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 22:08:51 +00:00
Roger Meier
5b1e3c7bf1
return 1 if transport open fails
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211868 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 13:20:12 +00:00
Jake Farrell
9689d89df1
Thrift-1340: Add support of ARC to Objective-C
...
Client: Objective-c
Patch: Hirano Satoshi
Adds -objc-arc flag to compiler and if used removes the retain/release/autorelease from generated code
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210732 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 01:07:17 +00:00
Jake Farrell
e0c5316736
Thrift-1426: Dist package missing files for release 0.8
...
Client: build
Patch: Jake Farrell
Cleans up dist target and removes extra folders.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202686 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:58:36 +00:00
Roger Meier
61188a4797
THRIFT-1416 Python Unit test is broken on ci
...
remove repr from TestSuite
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1196273 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 21:03:33 +00:00
Jake Farrell
7ae13e10f7
Thrift-1366: Delphi generator, lirbrary and unit test.
...
Client: delphi
Patch: Kenjiro Fukumitsu
Adding delphi XE generator, lib and unit tests.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185688 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:35:26 +00:00
Bryan Duxbury
6c928f3f5f
THRIFT-1130. compiler: Add the ability to specify symbolic default value for optional boolean
...
Patch: Nevo Hed
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1183115 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 21:32:52 +00:00
Roger Meier
3faaedf46b
THRIFT-1361 Optional replacement of pthread by boost::thread
...
Patch: alexandre parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178176 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:51:45 +00:00
Bryan Duxbury
40d51a28d7
THRIFT-1365. java: TupleProtocol#writeBitSet unintentionally writes a variable length byte array
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1176072 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 21:29:15 +00:00
Bryan Duxbury
e80a194c47
THRIFT-1331. rb: Ruby library deserializes an empty map to nil
...
This patch properly detects when the metadata is omitted in Compact Protocol messages.
Patch: Armaan Sarkar
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1173300 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 18:45:56 +00:00
Roger Meier
f4eec7a57b
THRIFT-1115 python TBase class for dynamic (de)serialization, and __slots__ option for memory savings
...
Patch: Will Pierce
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1169492 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 18:16:21 +00:00
Roger Meier
a8cef6e55b
THRIFT-916 gcc warnings in c++ header files
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1147700 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 18:55:59 +00:00
Roger Meier
7e056e7572
THRIFT-1222 Unhandled exception for TEvhttpServer request
...
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1147542 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 07:28:28 +00:00
Roger Meier
d3b9dca285
THRIFT-457 test/cpp makefiles do not honor --prefix configuration setting
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1139309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 14:01:10 +00:00
Anthony F. Molinaro
917d89825f
THRIFT-892 - refactor erlang library to build using rebar, move tests into lib/erl/test directory and run several via make check
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1137870 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 06:20:18 +00:00
Roger Meier
0680a83634
THRIFT-1202 Malformed JSON for map<string,type> services parameters
...
fix broken build (add testcase to haskell test suite)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1137858 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 04:42:43 +00:00
Anthony F. Molinaro
e49a44ab1d
THRIFT-1151 - catch some serialization errors
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1137131 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 06:04:01 +00:00
Anthony F. Molinaro
3d3f42103c
THRIFT-1213 - make membuffer in erlang more useful
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1137121 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 03:54:04 +00:00
Roger Meier
9d8e8f87ed
THRIFT-1202 Malformed JSON for map<string,type> services parameters
...
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1135763 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:38:27 +00:00
Roger Meier
ca142b0bc8
THRIFT-1198 C++ TestClient and Server Improvements (add Unix Domain Socket, HTTP, JSON)
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1133116 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 17:59:07 +00:00
Roger Meier
bb09f4442a
THRIFT-1166 C++ tests in test/cpp broken
...
Patch: David Nadlinger, Roger Meier
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1129908 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 20:35:37 +00:00
Anthony F. Molinaro
5a9ca88118
THRIFT-1080 : fix building of test code
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1085035 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 16:46:22 +00:00
Bryan Duxbury
1606659171
THRIFT-1103. py: TZlibTransport for python, a zlib compressed transport
...
This patch adds a new TZlibTransport to the Python library and extends the test suite to exercise it.
Patch: Will Pierce
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084276 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 18:06:04 +00:00
Bryan Duxbury
59d4efda81
THRIFT-1094. py: bug in TCompactProto python readMessageEnd method and updated test cases
...
This patch fixes a TCompactProtocol bug and expands the test cases to exercise the problem.
Patch: Will Pierce
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083877 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 17:38:22 +00:00
Bryan Duxbury
df4cffd34a
THRIFT-1093. py: several bugs in python TCompactProtocol
...
Patch; Will Pierce
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1081864 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 17:16:09 +00:00
Bryan Duxbury
a971fb0948
THRIFT-1081. php: PHP tests broken and somewhat incomplete
...
This patch fixes some minor bugs and includes a test for Framed Transport.
Patch: Nicholas Telford
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076908 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 00:49:40 +00:00
Bryan Duxbury
1d373bc0e7
THRIFT-1078. php: ThriftTest.thrift generates invalid PHP library
...
This patch updates ThriftTest.thrft to have a valid php namespace, as well as updating the test client to use the properly namespaced code
Patch: Nicholas Telford
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076316 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 18:13:30 +00:00
Bryan Duxbury
cd9aea1136
THRIFT-151. cpp: TSSLServerSocket and TSSLSocket implementation
...
This patch adds an implementation of the above ssl sockets.
Patch: Ping Li, Kevin Worth, Rowan Kerr
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073441 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 18:12:06 +00:00
Christian Lavoie
afc6d8f650
THRIFT-625: Add support for 'Go'; provided by Aalok Shah.
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072478 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 02:39:19 +00:00
Christian Lavoie
282e717add
Remove a pair of useless files.
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072476 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 01:57:55 +00:00
Christian Lavoie
c59c30ebd3
Use standard sh syntax instead of bash extensions.
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072440 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 21:02:22 +00:00
Roger Meier
4ebaa761cb
THRIFT-1056 python tests invoked by 'make check' appear broken
...
Patch: Chris Morgan
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068568 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:44:22 +00:00
T Jake Luciani
7070aaa23b
THRIFT-904: disable nagle and linger
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063966 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 02:51:51 +00:00
Christian Lavoie
cbf87cb89c
THRIFT-916: Commit THRIFT-916_fix_no-overflow.patch -- remove overflow coming from a few constants.
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1039885 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 14:34:26 +00:00
Roger Meier
5f9614cf9a
THRIFT-916 long long becomes int64_t
...
Patch: Christian Lavoie
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1037500 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 16:59:05 +00:00
Roger Meier
213a664798
THRIFT-582 C(c_glib) implementation of Thrift
...
Patch: Anatol Pomozov and Michael Lum
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1027933 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 12:30:11 +00:00
Bryan Duxbury
206c0dc1af
THRIFT-947. java: Provide a helper method to determine the TProtocol used to serialize some data.
...
Patch: Mathias Herberts
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1024455 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 23:00:27 +00:00
Roger Meier
50e4349463
THRIFT-581 Add a testsuite for txThrift (Twisted) / py.twisted
...
Patch: Esteve Fernandez
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005923 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 17:46:06 +00:00
Bryan Duxbury
b3d0aa0c82
THRIFT-946. java: Augment FieldValueMetaData so it differentiates 'string' and 'binary' fields.
...
This patch adds a new method to the FieldMetaData class that indicates binary or not.
Patch: Mathias Herberts
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005220 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 20:00:03 +00:00
David Reiss
2324871334
THRIFT-928. cpp: Thrift Server Client Stats
...
Add the ability for Thrift servers to monitor client connections. It is
activated by #including server/TClientInfo.h and creating 1) a
TClientInfoCallHandler passed to the processor with setEventHandler()
and 2) a TClientInforServerHandler passed to the server with
setServerEventHandler().
The result vector, showing active connections, provides client address
and the thrift call it is executing (or last executed), the time
connected, and the number of calls made since connection.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005139 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 17:10:08 +00:00
David Reiss
b7762a032a
THRIFT-922. cpp: Update C++ generator to emit templatized code
...
When the "templates" option is passed to the C++ generator, it now emits
templatized versions of the client and processor. Generated types emit
templatized read() and write() functions.
This allows the generated code to invoke the correct non-virtual
TTransport and TProtocol implementations, resulting in faster
serialization and deserialization.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005138 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 17:10:00 +00:00
David Reiss
e71115be6c
THRIFT-922. cpp: Templatize binary and compact protocol
...
Convert TBinaryProtocol and TCompactProtocol to template classes, taking
the transport class as a template parameter. This allows them to make
non-virtual calls when using the template, improving serialization
performance.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005136 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 17:09:56 +00:00
David Reiss
ef7200f6e8
THRIFT-928. cpp: Include request/response size in processor callbacks
...
Required updating transport interface.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005129 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 17:09:42 +00:00
David Reiss
d7192063e1
THRIFT-928. cpp: Processor-level event callbacks
...
- Add a TProcessorEventHandler callback interface.
- Add methods to TProcessor to hold an instance of the interface.
- Add code to the compiler to make the processor call callbacks at key points.
- Add an optional processor event handler to the test server.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005126 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 17:09:33 +00:00
Bryan Duxbury
c657447e0e
THRIFT-932. hs: Haskell tests need to be run through 'make check' (and probably 'cabal check') too
...
Tests are now self-contained and correctly exit after running. There's a single run script which has improved error messages and defaults to the thrift binary compiled in the current source directory instead of those in PATH. And as a bonus hooks both cabal check and running the tests to make check.
Patch: Christian Lavoie
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1004861 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 00:12:33 +00:00
Anthony F. Molinaro
71a58a8764
THRIFT-918 : better haskell tests
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001883 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 19:27:40 +00:00
David Reiss
abafd79aee
THRIFT-335. python: Initial implementation of TCompactProtocol
...
Seems to work. No interoperability testing with other languages yet.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001827 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 17:28:15 +00:00
Bryan Duxbury
833ae49290
THRIFT-920. cpp: C++ Test and Tutorial does not compile anymore due to the change within Enum handling
...
Patch: Roger Meier and Christian Lavoie
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001826 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 17:26:02 +00:00
Anthony F. Molinaro
0b4936dea5
make check wasn't working because python namespace was incorrect
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001590 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 04:43:39 +00:00
Bryan Duxbury
96b2ccc0d4
THRIFT-881. csharp: add csharp to the tutorial
...
This patch adds a tutorial for CSharp. It also moves the 'test' client and server into the tutorial, because they were not being used by the tests.
Patch: Roger Meier
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1000953 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 16:47:59 +00:00
Bryan Duxbury
d4235e0a47
THRIFT-870. java: Java constants don't get Javadoc comments
...
Fix a trivial oversight.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996592 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 16:28:53 +00:00
Bryan Duxbury
6e05e25c89
THRIFT-897. compiler: Don't allow unqualified enum constant references
...
Missed a spot.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996326 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 15:22:49 +00:00
Bryan Duxbury
9f0a786dad
THRIFT-897. compiler: Don't allow unqualified constant access to enum values
...
This patch makes it illegal to refer to enum values by just their names in the IDL. Now, you must also provide the enum type's name as well.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996320 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 14:38:36 +00:00
David Reiss
fb790d7262
Allow "*" as a catch-all namespace.
...
In an IDL file, you can can now declare "namespace * foo",
which will apply to any language not explicitly specified.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@992012 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 16:41:45 +00:00
David Reiss
351e22b52a
THRIFT-503. cpp: Move the tests built by "make check" under lib/cpp
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991246 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 16:51:19 +00:00
David Reiss
f261dd795c
THRIFT-503. Use our standard include style in a few tests
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991245 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 16:51:14 +00:00
David Reiss
b4ab008476
erlang: Verify elt/key/val when reading list/set/map
...
For now, exit on a badmatch if one is wrong.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991000 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 22:05:58 +00:00
David Reiss
01c6d61ebd
erlang: Update test_disklog to use the new API
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990994 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 22:05:49 +00:00
David Reiss
f28f23d5b7
erlang: Update test_membuffer to use the new API
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990993 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 22:05:48 +00:00
David Reiss
a508b336db
erlang: test_{client,server}: Allow framed_transport to be used
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990988 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 22:05:41 +00:00
David Reiss
2c8d228fa7
erlang: Create a test client
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990987 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 22:05:39 +00:00