Bryan Duxbury
e95d2772b5
Add ASL to Thrift.sln
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@980162 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 19:06:33 +00:00
Bryan Duxbury
23f2348fae
add ASL to a handful of files
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@980145 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 18:23:22 +00:00
Bryan Duxbury
dcfb0025df
add a bunch of stuff in aclocal to svn:ignore
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@979367 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 17:20:24 +00:00
Bryan Duxbury
dc4a871e12
add license headers to a smattering of files
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@979366 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 17:18:30 +00:00
Andrew McGeachie
c892ac555e
THRIFT-821. Add a method to get a copy of the TMemoryBuffer's buffer.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@966385 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:51:04 +00:00
Andrew McGeachie
da50d55232
THRIFT-688. Make TBinaryProtocol obey cocoa memory allocation conventions
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@966369 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:14:44 +00:00
Bryan Duxbury
99f2ab7790
THRIFT-818. java: Async client doesn't send method args
...
This patch amends the tests and fixes the bug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@963901 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 23:11:04 +00:00
T Jake Luciani
127909c1c9
THRIFT-813: fix for broken list deserialization
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@962853 13f79535-47bb-0310-9956-ffa450edef68
2010-07-10 14:58:51 +00:00
David Reiss
95c005a7c6
THRIFT-395. python: Add option to treat strings as UTF-8 unicode
...
Add the "utf8strings" option to the Python generator. If set, all
Thrift strings (not binary) will be expected to be unicode objects, not
str. They will be encoded as UTF-8 before serialization and decoded as
UTF-8 after deserialization.
The accelerator module for TBinaryProtocol is not affected.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@959516 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 05:36:25 +00:00
Bryan Duxbury
623594749c
THRIFT-160. csharp: Created THttpTransport for the C# library based on WebHttpRequest
...
This patch adds a new THttpTransport to the C# library and adds some related changes to the Makefile and csproj.
Patch: Michael Greene and Todd Gardner
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@957708 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 20:34:34 +00:00
Bryan Duxbury
162b3ac646
THRFIT-804. java: CompareTo is broken for unions set to map, set, or list
...
This patch fixes TUnion's compareTo, and factors out the standard part of the comparison to TBaseHelper.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@957350 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 21:17:48 +00:00
Bryan Duxbury
656683c776
THRIFT-808. Segfault when constant declaration references a struct field that doesn't exist
...
This patch causes a useful error to be printed instead of an anonymous segfault.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@957270 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 16:57:51 +00:00
Bryan Duxbury
2e1aab5db7
THRIFT-767. rb: ruby compiler does not keep comments for enum values
...
This patch makes sure that we print an rdoc comment above each of the enum values.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@957268 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 16:54:17 +00:00
David Reiss
c07057e49f
THRIFT-528. perl: add PERL_PREFIX to configure.ac
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@953796 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 17:57:32 +00:00
Bryan Duxbury
b7887b860b
THRIFT-789. Files missing proper Apache license header
...
Added the Apache license header to a bunch of files that were missing it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@953167 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 21:30:54 +00:00
Bryan Duxbury
d58ccec660
THRIFT-768. java: Async client for Java
...
This patch adds an implementation of a fully-asynchronous client that makes use of NIO. Stubs for the async method calls are generated along with the existing synchronous ones.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@948492 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 16:34:48 +00:00
Andrew McGeachie
7ceba94721
THRIFT-733. Don't use scripting bridge extension's className method because it's not available on iPhone.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@946208 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 15:00:26 +00:00
David Reiss
d09f09c89d
THRIFT-784. erl: Fix two problems with "make install"
...
- Support DESTDIR.
- Pass proper arguments to install.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@945898 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 21:32:16 +00:00
David Reiss
9e2fd7987d
THRIFT-646. erlang: Misc build cleanups
...
- Use AC_ERLANG_PATH_ERLC to find erlc, instead of the generic
AC_PATH_PROG.
- Also check for erl, just in case it is used internally by checks.
- Use AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR instead of manual hackery to
find the location where Erlang libraries should be installed. (This
doesn't use the discovered version of Erlang, though. See
http://lists.gnu.org/archive/html/bug-autoconf/2010-05/msg00003.html .)
- Minor style changes in Makefile.am
- Remove some hacks we were using in the old makefile that were
necessary because we were not using automake.
- Remove ebin in a "maintainer-clean-local" rule to avoid shadowing the
default "maintainer-clean" rule which handles MAINTAINERCLEANFILES.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@945744 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 16:52:48 +00:00
David Reiss
b6657f142e
THRIFT-781. Install libfb303.so in the correct target lib directory
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@945318 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 19:13:23 +00:00
Bryan Duxbury
3f0b526d2d
THRIFT-459. Ruby installation always tries to write to /Library/Ruby/site
...
This patch adds a RUBY_PREFIX option similiar to JAVA_PREFIX or PY_PREFIX.
Patch: Matthieu Imbert
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@943698 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 21:31:58 +00:00
Bryan Duxbury
fb90e77e45
THRIFT-774. java: TDeserializer should provide a partialDeserialize method for primitive types
...
This patch adds partialDeserialize* methods for each of the supported Thrift primitives.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@943679 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 20:54:07 +00:00
David Reiss
f5d650a5a0
THRIFT-373. Include js and as3 libraries in release tarballs
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@942198 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 20:08:06 +00:00
David Reiss
8f293f94c8
Clean up a little bit of extra whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@942197 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 20:08:03 +00:00
David Reiss
1873fed342
THRIFT-647. php: Add license header and fix style in Makefile.am
...
The attachment was made with the "licensed for inclusion" option, so it
should get a standard Apache license header. Our other makefiles use
$() style for variables and don't include extra spaces before
backslashes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940936 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 16:32:33 +00:00
Bryan Duxbury
c8ee35805d
revert an unintentional commit to the java generator
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940861 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 14:01:14 +00:00
Bryan Duxbury
a1e268c54b
THRIFT-770. build: Get 'make dist' to work without first compiling source code
...
This patch ditches the old print_version.sh method and instead generates the compiler's version.h via the Makefile.
Patch: Anthony Molinaro
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940630 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 21:33:00 +00:00
Bryan Duxbury
f7d9f8e489
THRIFT-650. build: Make Check fails on Centos/OSX with 0.2.0 tarball
...
This patch fixes the make check target for OSX.
Patch: Anthony Molinaro
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940327 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 23:04:03 +00:00
Bryan Duxbury
7173bd96bd
THRIFT-646. erl: Erlang library is missing install target
...
This patch adds a new install target to the erlang makefile. It also converts the Makefile to Makefile.am
Patch: Anthony Molinaro
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940326 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 22:54:22 +00:00
Bryan Duxbury
6a68187338
THRIFT-647. php: PHP library is missing install target
...
This patch adds a 'make install' target to a new PHP makefile.
Patch: Anthony Molinaro
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940325 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 22:39:31 +00:00
Bryan Duxbury
06491d7bb5
THRIFT-765. java: Revert the changes applied by THRIFT-765, as they appear to be unstable
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@940013 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 13:45:38 +00:00
Bryan Duxbury
adf5f19c54
set the TRUNK version to 0.4.0-dev, instead of the ancient 20080411 datestamp
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939825 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 21:39:54 +00:00
Bryan Duxbury
12abe94977
THRIFT-765. java: Improved string encoding and decoding performance
...
This patch fixes a regression caused by the previous 'fast' implementation, in particular, dealing with unicode characters that need to be encoded as surrogate pairs. The performance stays about the same.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939822 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 21:35:38 +00:00
Bryan Duxbury
cb6d9708e2
THRIFT-438. py: Add support for Twisted.web in servers and clients
...
This patch adds a Twisted.web resource that can be used for processing incoming Thrift requests over HTTP
Patch: Esteve Fernandez
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939413 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:14:54 +00:00
Bryan Duxbury
332a625118
THRIFT-766. java: Propagate TSocket timeout to connect
...
This patch makes sure the specified timeout is used when opening connections, too.
Patch: David Helder
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939380 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 17:08:17 +00:00
Bryan Duxbury
abfc54fa06
java: add another testcase to TestUtf8Helper
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939142 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 00:33:34 +00:00
Andrew McGeachie
b80024d686
THRIFT-762. Include CoreServices.h if we are not compiling on the iPhone.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@939024 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:43:45 +00:00
David Reiss
7e36df1c07
THRFIT-601. java: Add readLength support to TBinaryProtocol.Factory
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@938206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 19:37:53 +00:00
David Reiss
a005777ae5
THRIFT-601. java: Allow a maximum frame size for TFramedTransport
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@938205 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 19:37:44 +00:00
Bryan Duxbury
97d21c853d
THRIFT-760. java: Generated client code does not set or check the sequence ID in messages
...
The Java generated clients weren't paying attention to sequence ids. Now they are\!
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@938169 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 18:16:46 +00:00
Bryan Duxbury
719ab84318
THRIFT-765. java: Improved string encoding and decoding performance
...
This change makes Java's string/utf8 encoding and decoding about 2x faster.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@937812 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 15:20:02 +00:00
Bryan Duxbury
0137af6bf1
THRIFT-611. Under Windows when compiling using MinGW, includes are incorrectly resolved due to '/' <-> '\' havoc.
...
This patch ensures the proper slashes are used based on the platform.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@937070 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 21:21:46 +00:00
Bryan Duxbury
321eb7a2bd
THRIFT-518. as3: Add the AS3 generator and library
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@937067 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 21:17:39 +00:00
Bryan Duxbury
15e2930ccf
THRIFT-761. java: Include the symbolic name of a typedef field in the field metadata
...
This patch adds a new isTypedef() method to FieldValueMetaData and converts MetaDataTest to a testcase in TestStruct.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@936588 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 01:05:02 +00:00
Bryan Duxbury
60229785cb
THRIFT-763. java: Variable capture bug in generated struct compareTo
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@936583 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 00:27:41 +00:00
Bryan Duxbury
505b4c1e98
java: stop trying to run the removed UnionTest
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@936582 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 00:26:41 +00:00
Bryan Duxbury
0fab12e968
THRIFT-759. java: Make TBase implement Comparable
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@936581 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 00:22:34 +00:00
Bryan Duxbury
3292b3fed9
java: convert UnionTest to TestTUnion using JUnit
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@934300 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 07:01:51 +00:00
David Reiss
eb598b8c89
THRIFT-755. php: Fix compilation as a static module
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@934036 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 17:33:01 +00:00
Bryan Duxbury
33da643220
THRIFT-754. java: Improvements to varint reading in Compact Protocol
...
This patch makes readVarint32 about 30% faster and readVarint64 about 25% faster (when using transports that support direct buffer access).
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@930898 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 16:28:21 +00:00