summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Thrift now a TLP - INFRA-31160.5.xGavin McDonald2010-10-280-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/thrift/branches/0.5.x@1028168 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-939. java: optional binary fields throw NPE on default byte[] gettersBryan Duxbury2010-09-302-0/+11
| | | | | | This patch deals with null ByteBuffers correctly. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/branches/0.5.x@1003215 13f79535-47bb-0310-9956-ffa450edef68
* fix version and rubygem versionBryan Duxbury2010-09-282-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/branches/0.5.x@1002285 13f79535-47bb-0310-9956-ffa450edef68
* Branching trunk to 0.5.x to prepare for release.Bryan Duxbury2010-09-280-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/branches/0.5.x@1002237 13f79535-47bb-0310-9956-ffa450edef68
* update the CHANGES fileBryan Duxbury2010-09-281-0/+90
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1002207 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-900. cpp: Unix domain socketBryan Duxbury2010-09-284-18/+146
| | | | | | | | This patch adds a new Unix Socket transport. Patch: Roger Meier git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1002179 13f79535-47bb-0310-9956-ffa450edef68
* contrib/fb303: use pure_enums in C++ for compatibilityDavid Reiss2010-09-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1002000 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-912. java: Fix some bugs in SASL implementation, update protocol spec ↵Todd Lipcon2010-09-285-143/+397
| | | | | | slightly git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001973 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-931. java: Add log4j.properties missing from previous commitTodd Lipcon2010-09-281-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001971 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-890. java: Add README missing from previous commitTodd Lipcon2010-09-281-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001970 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-931. java: Use log4j for Java testsTodd Lipcon2010-09-272-6/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001967 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-787. compiler: Enums are not read correctlyBryan Duxbury2010-09-2715-191/+45
| | | | | | | | This patch removes unnecessary enum value resolution code from all the individual generators. It's been unnecessary since forever ago when we made the compiler force the global resolution of values. Patch: Christian Lavoie git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001966 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-918 : better haskell testsAnthony F. Molinaro2010-09-2712-134/+581
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001883 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-890. java: Fix tutorial to build and run in trunkTodd Lipcon2010-09-275-12/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001856 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-919 : updated haskell READMEAnthony F. Molinaro2010-09-271-16/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001830 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-335. python: Initial implementation of TCompactProtocolDavid Reiss2010-09-273-8/+389
| | | | | | 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
* THRIFT-920. cpp: C++ Test and Tutorial does not compile anymore due to the ↵Bryan Duxbury2010-09-275-36/+36
| | | | | | | | 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
* THRIFT-905: hook haskell into autoconfAnthony F. Molinaro2010-09-273-1/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001823 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-917. java: THsHaServer should not accept an ExecutorService without ↵Bryan Duxbury2010-09-272-9/+24
| | | | | | | | | | catching RejectedExecutionException This patch catches RejectedExecutionException from requestInvoke and closes the client connection when that occurs. Patch: Ed Ceaser git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001820 13f79535-47bb-0310-9956-ffa450edef68
* make check wasn't working because python namespace was incorrectAnthony F. Molinaro2010-09-271-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001590 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-743: seems to compile and doesn't break other tests, so seems fine ↵Anthony F. Molinaro2010-09-263-26/+26
| | | | | | for now git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001353 13f79535-47bb-0310-9956-ffa450edef68
* ignore generated artifactsAnthony F. Molinaro2010-09-260-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001352 13f79535-47bb-0310-9956-ffa450edef68
* ignore generated directoryAnthony F. Molinaro2010-09-260-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001351 13f79535-47bb-0310-9956-ffa450edef68
* ignore test artifactsAnthony F. Molinaro2010-09-260-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1001350 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-881. csharp: add csharp to the tutorialBryan Duxbury2010-09-247-122/+447
| | | | | | | | 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
* THRIFT-914 : haskell bindings compile easierAnthony F. Molinaro2010-09-232-24/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1000653 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-911: fix for trailing commas in sets, lists, maps, constsT Jake Luciani2010-09-221-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999728 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-906. hs: Improve type mappingsBryan Duxbury2010-09-224-52/+71
| | | | | | | | This patch fixes the type mappings to be more sane. It *will* break existing code, but the breakages should be well worth it. Patch: Christian Lavoie git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999700 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-910. Update .gitignoreDavid Reiss2010-09-211-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999526 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-907. java: update fb303 to compile on trunkTodd Lipcon2010-09-212-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999520 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-909. rb: allow block argument to struct constructorBryan Duxbury2010-09-212-8/+19
| | | | | | | | This patch allows the user to pass a block to generated structs' constructors. The block will receive and instance of the new object. Patch: Michael Stockton git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999487 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-880. javame: JavaME code generator and runtime libraryBryan Duxbury2010-09-2041-0/+6491
| | | | | | | | This patch adds a new generator and library that produces code suitable for use in JavaME environments. Patch: David Engberg git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999022 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-901. hs: Allow the bindings to compile without -fglasgow-exts and ↵Bryan Duxbury2010-09-201-1/+1
| | | | | | | | | | with -Wall -Werror Forgot a small chunk of the previous patch. Patch: Christian Lavoie git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@999019 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-901. hs: Allow the bindings to compile without -fglasgow-exts and ↵Bryan Duxbury2010-09-208-21/+56
| | | | | | | | | | with -Wall -Werror This patch makes the bindings compile with pedantic warning levels, and individually declares each required language extension. Patch: Christian Lavoie git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@998955 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-323. csharp: TJSONProtocolBryan Duxbury2010-09-187-2/+1182
| | | | | | | | This patch adds support for the JSON Protocol to the csharp library. Patch: Roger Meier git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@998539 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-885: fix string encodingT Jake Luciani2010-09-171-6/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@998371 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-899. rb: Ruby read timeouts can sometimes be 2x what they should beBryan Duxbury2010-09-172-6/+7
| | | | | | | | This patch makes sure that we don't wait longer than necessary for timeouts. Patch: Ryan King git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@998303 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-882. java: deep copy of binary fields does not copy ByteBuffer ↵Bryan Duxbury2010-09-173-9/+57
| | | | | | | | | | characteristics (arrayOffset, position) This patch ensures that binary fields are copied correctly. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@998275 13f79535-47bb-0310-9956-ffa450edef68
* Fix enum value lookups in C++David Reiss2010-09-131-2/+7
| | | | | | | | | | | The recent enum change was causing enums to break if used as constant values by the C++ generator. The problem was that we were searching for the fully-qualified constant name (enum_name.VALUE_NAME) in the enum values. This didn't affect Java because it just uses symbolic names in the generated code. Fix it by grabbing the base name before doing the search. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996610 13f79535-47bb-0310-9956-ffa450edef68
* Don't segfault if t_enum::get_constant_by_name failsDavid Reiss2010-09-131-0/+5
| | | | | | | | The recent enum change was causing t_enum::get_constant_by_name to fail in t_const_value::get_integer. This was causing a difficult-to-debug segfault. Check for failure and throw an exeception. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996609 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-870. java: Java constants don't get Javadoc commentsBryan Duxbury2010-09-132-0/+2
| | | | | | Fix a trivial oversight. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996592 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-894. java: Make default accessors for binary fields return byte[]; ↵Bryan Duxbury2010-09-134-11/+80
| | | | | | | | provide new accessors to get ByteBuffer version This patch causes the underlying ByteBuffer that backs a binary field to be hidden behind a default accessor that provides a byte[] interface. This should allow users who skipped 0.4 to update their generated code without breaking any of their other code. A new accessor has been added that allows a way down to the underlying ByteBuffer for those experts who want to take advantage. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996579 13f79535-47bb-0310-9956-ffa450edef68
* java: tiny improvement to async client manager test, for real this timeBryan Duxbury2010-09-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996329 13f79535-47bb-0310-9956-ffa450edef68
* java: tiny improvement to async client manager testBryan Duxbury2010-09-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996328 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-897. compiler: Don't allow unqualified enum constant accessBryan Duxbury2010-09-121-1/+1
| | | | | | Fix some confusion in the java generator about adding the class name. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996327 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-897. compiler: Don't allow unqualified enum constant referencesBryan Duxbury2010-09-121-3/+3
| | | | | | | | Missed a spot. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996326 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-897. compiler: Don't allow unqualified enum constant referencesBryan Duxbury2010-09-121-1/+1
| | | | | | | | Missed a spot. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996325 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-897. compiler: Don't allow unqualified constant access to enum valuesBryan Duxbury2010-09-123-7/+25
| | | | | | | | 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
* THRIFT-895. cpp: By default, generate enums as class-scoped enumsDavid Reiss2010-09-101-5/+30
| | | | | | | | | | Most of the other Thrift languages either have enum values that are scoped to the type or emulate enums in that way. Now C++ does the same by default. "enum Foo" in a .thrift file will be generated as Foo::type so the values can be called Foo::value1, etc. The "pure_enums" compiler option restores the old behavior. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996015 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-896. java: TNonblockingSocket.isOpen() returns true even after close()Bryan Duxbury2010-09-102-16/+21
| | | | | | | | This patch makes TNonblockingSocket.isOpen() have more expected behavior. Patch: Eric Jensen git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@995939 13f79535-47bb-0310-9956-ffa450edef68