summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-619: Perl server and exampleT Jake Luciani2009-11-126-4/+576
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@835206 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-626: Increase timeouts for socket requestsT Jake Luciani2009-11-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@835203 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-590: send/recv timeout values interchanged in perl socket libT Jake Luciani2009-11-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@835200 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-624. java: compareTo is broken for Unions with binary fieldsBryan Duxbury2009-11-114-4/+48
| | | | | | This patch adds a special case for byte[] values in TUnion. It also fixes a related bug in TBaseHelper for comparing two byte arrays. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@835065 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-210. c#: Add support for TFramedTransportEsteve Fernandez2009-11-113-1/+117
| | | | | | | author: Michael Greene (euphoria) git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@835006 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-565. java: Structs containing typedefs for incomparable objects will ↵Bryan Duxbury2009-11-093-8/+14
| | | | | | | | be considered comparable This patch causes the compiler to fully unwrap typedefs when determining comparability. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@834119 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-620. java: Compact Protocol should call readAll, not readBryan Duxbury2009-11-041-3/+3
| | | | | | This patch switches to calling readAll instead of read. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@832633 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-613. Make generated objects implement the NSCoding protocol.Andrew McGeachie2009-11-031-0/+148
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@832507 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-612. python: Fix exception bug in TFramedTransport.cstringio_refillDavid Reiss2009-10-281-1/+1
| | | | | | readFrame was being called without "self." git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@830673 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-614. Add some more info to the exception that gets thrown when ↵Andrew McGeachie2009-10-271-1/+2
| | | | | | THTTPClient encounters an unexpected NSURLResponse object. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@830329 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-521. Change @synthesize property declarations to @dynamic for happy ↵Andrew McGeachie2009-10-271-7/+7
| | | | | | compiling on OS X 10.6 as well as 10.5 git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@830326 13f79535-47bb-0310-9956-ffa450edef68
* pynamesDavid Reiss2009-10-211-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@827893 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-606. cpp: Fix build on Solaris NevadaDavid Reiss2009-10-214-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@827890 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-589. java: Add Field Name to Field ID MappingBryan Duxbury2009-10-152-0/+39
| | | | | | Java Thrift structs now have a static mapping of field name to field ID. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@825371 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-603. rb: Struct read method does not call validateBryan Duxbury2009-10-151-0/+3
| | | | | | After reading a struct, we will now call the struct's validate method. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@825369 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-529. java: Change generated constructors so that application code ↵Bryan Duxbury2009-10-021-11/+20
| | | | | | | | evolves better Optional fields are now excluded from constructors. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@820857 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-477. java: remove extra methods generated for collectionsBryan Duxbury2009-10-011-0/+70
| | | | | | I have rolled back the patch originally applied in this issue. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@820831 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-446. java: PartialDeserialization in JavaBryan Duxbury2009-10-014-0/+147
| | | | | | | | This patch adds a partialDeserialize method to TDeserializer that allows you to request a specific subfield of the serialized data. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@820786 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-588. java: Generated .equals method throws NPE for thrift objectBryan Duxbury2009-09-252-1/+6
| | | | | | | | If other is null, then they're not equal. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@818998 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-586. python: TSocket incorrectly sets the exception type when an end ↵Esteve Fernandez2009-09-242-6/+6
| | | | | | | | | | | | | | | of file error occurs TTransportException's type was set to "Transport not open" in some cases, which should be its message. Use named arguments and set the type for TTransportException to END_OF_FILE in TSocket#read and TSocket#write. reviewer: dreiss git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@818429 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-572. java: Union compareTo is brokenBryan Duxbury2009-09-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@817317 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-587. cpp: Properly set addrLen before accept callsDavid Reiss2009-09-191-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@816850 13f79535-47bb-0310-9956-ffa450edef68
* generate Twisted code in a separate directory (gen-py.twisted)Esteve Fernandez2009-09-171-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@816340 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-584. php: Generate a better directory structureDavid Reiss2009-09-161-6/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@815878 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-583. python: Allow new-style classes for InterfacesDavid Reiss2009-09-161-0/+2
| | | | | | | The original new-style class only affected structs, enums, and exceptions. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@815874 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-574. erlang: Support framed transport for serversDavid Reiss2009-09-091-7/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@813054 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-575. Allow required fields in function parametersDavid Reiss2009-09-021-8/+1
| | | | | | | r665255 was a bit too aggressive. "optional" was causing confusion, but there doesn't seem to be any harm in allowing "required". git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@810713 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-569. rb: Segmentation Fault when using BinaryProtocolAccelerated in RubyBryan Duxbury2009-09-021-0/+3
| | | | | | | | This patch checks to make sure that a value is a string before treating it as one. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@810689 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-572. rb: fix RSTRING for 1.9 compatibilityBryan Duxbury2009-09-011-1/+1
| | | | | | | | Use a macro compatible with Ruby 1.9. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@810303 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-409. java: Add "union" to ThriftBryan Duxbury2009-09-0110-40/+796
| | | | | | | | | This patch introduces new IDL syntax for creating Unions, explicityly single-valued structs. While the parser changes are portable, this patch only includes the actual generated code changes for the Java library. Other libraries can continue to generate a struct with the same fields and remain compatible until they are able to implement the full shebang. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@810300 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-571. rb: compact_protocol.c:89: warning: format not a string literal ↵Bryan Duxbury2009-09-011-2/+2
| | | | | | | | | | and no format arguments This patch solves the issue for those of you on Ruby 1.9.1. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@810288 13f79535-47bb-0310-9956-ffa450edef68
* Minor whitespace fixes in the Java generator and gen-codeDavid Reiss2009-09-011-11/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@810255 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-214. cpp: Qualify another castDavid Reiss2009-09-011-2/+1
| | | | | | | | r722337 only fixed one occurrence of this issue. Not sure why this one hasn't been a problem before, but it is breaking compilation on Mac OS 10.6. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@810150 13f79535-47bb-0310-9956-ffa450edef68
* Revert r806014 "THRIFT-562. java: Java is inconsistent ..."David Reiss2009-08-273-19/+5
| | | | | | | | - It changed the semantics of default-presence fields. - It messed up calls that accept exceptions. - Full details on issue. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@808609 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-562. java: Java is inconsistent checking for required fieldsBryan Duxbury2009-08-207-253/+47
| | | | | | | | This patch makes the compiler act consistently regarding what it means to be required or optional. Additionally, it cleans up the tests to actually use the Fixtures class all over. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@806014 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-566. java: jar file should contain copies of LICENSE and NOTICE filesBryan Duxbury2009-08-201-0/+5
| | | | | | | | LICENSE and NOTICE are now included in the jar file by the build process. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@806013 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-558. java: Replace use of log4j by commons-logging in Java library ↵Bryan Duxbury2009-08-149-19/+30
| | | | | | | | | | and generated Java code This patch switches Thrift to use slf4j instead of log4j. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@804349 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-561: Add "register" to list of reserved keywordsMark Slee2009-08-131-0/+1
| | | | | | | | Reviewed By: dreiss git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@803997 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-555. cpp: Fix macro defintions for TCompact on non-GNU big endianDavid Reiss2009-08-051-2/+2
| | | | | | | We were defining ntolell and letonll, but we were only using htolell and letohll. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@801293 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-115. java: Isset structure has a large memory footprintBryan Duxbury2009-08-031-39/+61
| | | | | | | | Instead of the old __isset structure, there is now a bit vector for fields that require an isset flag. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@800510 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-144. java: Generated classes should implement ComparableBryan Duxbury2009-07-311-0/+102
| | | | | | | | Forgot to add TBaseHelper.java. Oops. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799714 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-547. rb: Thrift deserializer hangs when deserializing empty stringBryan Duxbury2009-07-314-21/+35
| | | | | | | | Thrift::MemoryBuffer will now throw an EOFError when it cannot fulfill a request for data. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799696 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-498. rb: Compact and Binary native protocols, used at the same time, ↵Bryan Duxbury2009-07-311-45/+46
| | | | | | | | | | can cause some issues Disable native method table usage. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799693 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-554: Perl improper namespace check for exception handling and ↵T Jake Luciani2009-07-312-70/+87
| | | | | | writeMessageEnd missing on processor calls git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799484 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-144. java: Generated classes should implement ComparableBryan Duxbury2009-07-311-1/+74
| | | | | | | | If generated structs don't contain any incomparable child members, they implement Comparable. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799474 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-552. rb: gem requires exactly rubygems 1.2.0Bryan Duxbury2009-07-301-0/+1
| | | | | | | | The Thrift gem will now work with rubygems >= 1.2.0. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799337 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-540. java: Have set methods return reference to selfBryan Duxbury2009-07-291-1/+2
| | | | | | | | Issue title says it all, really. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799130 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-479. java: Add javadocs for enum typesBryan Duxbury2009-07-292-5/+27
| | | | | | | | Fields now reference their enum class name in javadoc. Also, generated enum classes's members are now javadoc'd. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799128 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-477. java: remove extra methods generated for collectionsBryan Duxbury2009-07-291-70/+0
| | | | | | | | This patch removes the special extra methods for collections. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799036 13f79535-47bb-0310-9956-ffa450edef68
* Make ax_lib_event.m4 set a per-version variable on successDavid Reiss2009-07-291-0/+1
| | | | | | | This makes it a little bit easier to check for several versions of libevent and see which succeeded. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799017 13f79535-47bb-0310-9956-ffa450edef68