Permalink
Commits on Oct 28, 2010
  1. @gmcdonald

    Thrift now a TLP - INFRA-3116

    git-svn-id: https://svn.apache.org/repos/asf/thrift/branches/py-compiler@1028168 13f79535-47bb-0310-9956-ffa450edef68
    gmcdonald committed Oct 28, 2010
Commits on Jan 31, 2009
  1. THRIFT-295: remove empty directories.

    These directories have no files in them. Toss 'em from version control.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739501 13f79535-47bb-0310-9956-ffa450edef68
    Greg Stein committed Jan 31, 2009
Commits on Jan 30, 2009
  1. THRIFT-292

    Delete a number of generated artifacts. The build system should produce
    these, rather than having them stored in version control.
    
    * contrib/fb303/py/fb303/...: remove generated Python bindings
    
    * contrib/fb303/java/FacebookService.java:
    * contrib/fb303/java/fb_status.java:
    * contrib/fb303/java/Constants.java:
      - remove generated Java bindings
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739384 13f79535-47bb-0310-9956-ffa450edef68
    Greg Stein committed Jan 30, 2009
  2. THRIFT-291

    * README: tweak for Thrift's new home at Apache.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739380 13f79535-47bb-0310-9956-ffa450edef68
    Greg Stein committed Jan 30, 2009
Commits on Jan 29, 2009
  1. Add a few new generated directories to .gitignore

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739089 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 29, 2009
  2. Accidentally svn:ignored Makefile*, getting rid of Makefile.am changes

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739087 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 29, 2009
  3. THRIFT-289. cpp: Fix "make check" by defining a comparator for "Insta…

    …nity"
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739083 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 29, 2009
  4. THRIFT-290. java: Metadata map doesn't properly reference external th…

    …rift file's types
    
    The code generator now uses full namespaces to refer to the classes.
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739045 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 29, 2009
  5. THRIFT-289. test: "make check" no longer runs the Java tests

    Thanks to David for the changes that straighten the makefiles out.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739024 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 29, 2009
  6. THRIFT-288. java: Generated code iterates maps during write inefficie…

    …ntly
    
    Newly generated code will now use entrySet instead of keySet when serializing maps. Existing generated classes does not need to be regenerated, though they won't reap the performance improvements unless they do.
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@738765 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 29, 2009
  7. THRIFT-218. java: When validation fails on serialization/deserializat…

    …ion, print out the invalid object
    
    The error thrown when validation fails now contains the toString output.
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@738764 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 29, 2009
  8. THRIFT-253. java: Enhance FieldMetaData

    The code generator new creates a static map of field id to metadata for each field, including information like the field TType, class of embedded structs, required/optional/default, etc. Additionally, on loading, generated classes statically register their class and metadata map with the global FieldMetaData map, so you can get the metadata for any TBase-implementing class easily.
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@738708 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 29, 2009
  9. undoing an unintentional commit to ax_java.m4

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@738704 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 29, 2009
  10. THRIFT-166. java: Java tests should be in lib/java/test/

    THRIFT-221. java: Make java build classpath more dynamic and configurable
    
    This issue moves all the tests from test/java to lib/java/test/src and combines the build files. In addition, rather than continue on with the same busted approach to finding dependent jars for the tests, THRIFT-221 has been implemented, allowing the user to specify a .thrift-build.properties file in their home directory that contains additional classpath entries. 
    
    As a result of this patch, "make check" does not currently work as it is expected to. This will be resolved in a follow-up commit.
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@738695 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 29, 2009
Commits on Jan 27, 2009
  1. THRIFT-239. java: Generate @Override annotations for all overrided me…

    …thods
    
    equals, toString, clone, and hashcode now all have a preceeding @Override annotation.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@738270 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 27, 2009
Commits on Jan 24, 2009
  1. THRIFT-284. python: Update tutorial files to use repr

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@737424 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 24, 2009
Commits on Jan 22, 2009
  1. THRIFT-240. java: TBase should implement Cloneable

    The TBase interface now extends Cloneable.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@736691 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 22, 2009
Commits on Jan 20, 2009
  1. THRIFT-223 Validate method should check that enum types are assigned …

    …valid values
    
    Enum classes now get a VALID_VALUES Set that contains all of the acceptable values. Structs' validate() method has been extended to compare an enum field's value to the valid value set, but only if the __isset flag for that field is true, meaning that non-beans generated code will not perform this validity check unless the __isset flag is manually maintained.
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@735910 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 20, 2009
Commits on Jan 16, 2009
  1. THRIFT-224 Validate method should check that enum types are assigned …

    …valid values
    
    Each generated enumeration type will now have a VALID_VALUES Set as a static member that contains all the values of the enumeration.
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@735167 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 16, 2009
  2. @tjake

    THRIFT-271: allows build to locate libevent on osx

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734878 13f79535-47bb-0310-9956-ffa450edef68
    tjake committed Jan 16, 2009
Commits on Jan 15, 2009
  1. THRIFT-244. cpp: Make TJSONProtocolFactor inherit from TProtocolFactory

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734863 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 15, 2009
  2. THRIFT-244. cpp: Fix TJSONProtocol::writeMessageBegin

    uint8_t is a character type, so lexical_cast doesn't convert it
    to an integer representation.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734862 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 15, 2009
  3. THRIFT-34 Java libraries should be namespaced under org.apache.thrift…

    …, not com.facebook.thrift
    
    Library classes and tests have been moved to the proper package and directory structure, and references to com.facebook.thrift where replaced with org.apache.thrift throughout the code. The fb303 contrib project still contains com.facebook packages.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734855 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 15, 2009
Commits on Jan 14, 2009
  1. THRIFT-216. Add validate method to fixtures so tests pass

    Author: Esteve Fernandez
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734565 13f79535-47bb-0310-9956-ffa450edef68
    Kevin Clark committed Jan 14, 2009
  2. THRIFT-242. python: Used named arguments in __init__ instead of a dict

    This is a wire-compatible but non-source-compatible change.
    When initializing structures, you must use
    
    Foo(bar=1, baz="qux")
    Foo(**{"bar": 1, "baz": "qux"})
    
    instead of
    
    Foo({"bar": 1, "baz": "qux"})
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734536 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 14, 2009
Commits on Jan 6, 2009
  1. THRIFT-249. java: Add @param lines to function docstrings

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@732116 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 6, 2009
  2. THRIFT-129. csharp: Make all Thrift structures extend TBase

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@732081 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 6, 2009
  3. THRIFT-46. csharp: Throw the correct exception for an unknown method

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@732080 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 6, 2009
  4. THRIFT-25. csharp: Various compiler and library improvements

    Compiler:
    - Thrift structures are serializable.
    - The member fields of thrift structures are now private and only accessible
      through Properties, which keep the appropriate __isset up to date.
    
    Library
    - Addition of TBufferedTransport, which can be used to wrap other Transports.
    - Addition of TThreadedServer, which manually manages threads instead of
      relying on .NET ThreadPool.
    - Servers use a log delegate that defaults to System.Console but allows
      servers to use log4net without introducing the dependency.
    
    ThriftTest Visual Studio Project
    - Test client and server that use ThriftTest.thrift. The project references
      thrift.exe and Thrift.dll from the subversion tree and automatically builds
      generated code. This makes it very easy to test changes in both the compiler
      and library.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@732079 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 6, 2009
  5. THRIFT-246. rb: Generate #struct_fields rather than reflect.

    Author: Bryan Duxbury
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731806 13f79535-47bb-0310-9956-ffa450edef68
    Kevin Clark committed Jan 6, 2009
Commits on Jan 5, 2009
  1. THRIFT-157. rb: Quote strings and qualify class names properly

    Author: Dave Engberg
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731763 13f79535-47bb-0310-9956-ffa450edef68
    Kevin Clark committed Jan 5, 2009
  2. THRFIT-231. rb: Make Thrift::Structs hashable

    Author: Bryan Duxbury
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731760 13f79535-47bb-0310-9956-ffa450edef68
    Kevin Clark committed Jan 5, 2009
  3. THRIFT-235. java: Explicitly cast integer constants to double

    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731723 13f79535-47bb-0310-9956-ffa450edef68
    David Reiss committed Jan 5, 2009