Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 17, 2015
  1. @andrewcox
Commits on Feb 13, 2015
  1. @andrewcox
Commits on Nov 25, 2014
  1. @andrewcox
Commits on Nov 24, 2014
  1. @andrewcox
Commits on Nov 14, 2014
  1. @andrewcox
  2. @andrewcox
  3. @andrewcox
  4. @andrewcox
Commits on Aug 1, 2014
  1. @andrewcox

    CHANGES.md

    andrewcox authored
Commits on Jul 17, 2014
  1. @andrewcox
Commits on Jul 16, 2014
  1. @andrewcox

    Test TJSONProtocol with swift codecs

    andrewcox authored
    TJSONProtocol requires stricter adherence to the rules of TProtocol
    usage, and some of these rules were broken until recent checkins, but it
    was going unnoticed because we only tested TCompactProtocol. Now that
    the TProtocol usage is fixed, we can add tests for TJSONProtocol to
    check for regressions.
  2. @andrewcox

    Call TProtocol.readFieldEnd after reading fields

    andrewcox authored
    Some protocols (e.g. TJSONProtocol) depend on readFieldEnd being called
    to function correctly, but we were only calling it when skipping fields,
    not when reading them normally.
  3. @andrewcox
  4. @andrewcox

    Separate protocol handling for STRING/BINARY types

    andrewcox authored
    Some protocols (e.g. TJSONProtocol) use different encodings for string
    and binary data, so treating them as the same type is incorrect.
Commits on Jul 11, 2014
  1. @andrewcox

    Fix swift2thrift service generation

    andrewcox authored
    This fixes a bug that swift2thrift won't work if you don't explicitly provide a non-UNSPECIFIED requiredness on all @ThriftField annotations on all parameters in your service. Though the @ThriftField annotation default for 'requiredness' is UNSPECIFIED, for a method parameter, this should resolve to NONE.
Commits on Jul 10, 2014
  1. @andrewcox

    Use the right name for field annotation template

    andrewcox authored
    This was breaking union generation
  2. @andrewcox
Commits on Jul 9, 2014
  1. @andrewcox

    [swift-generator] skip un-generate-able constants

    andrewcox authored
    There is a bug that the swift generator cannot handle certain kinds of constants (e.g. maps that have enums for key or value type). This bug will take a bit of restructuring in the generator to fix properly, but some of the users of the generator don't actually need those constants generated at this point, they just need the generator to keep going instead of break and fail to generate any further types. This change does that.
Commits on Jun 29, 2014
  1. @andrewcox
  2. @andrewcox
  3. @andrewcox
Commits on Jun 27, 2014
  1. @andrewcox
  2. @andrewcox
Commits on Jun 26, 2014
  1. @andrewcox
  2. @andrewcox
  3. @andrewcox
Commits on Jun 23, 2014
  1. @andrewcox
Commits on Jun 12, 2014
  1. @andrewcox

    Add config option to set max requests

    andrewcox authored
    This allows you to set the max queued requests (and reject new requests when the queue is full), without having to use a custom executor
Commits on Jun 10, 2014
  1. @andrewcox
  2. @andrewcox

    Get rid of a ThriftServer constructor

    andrewcox authored
    There were too many. Instead of providing every possible
    combination (and until moving to using a ThriftServerBuilder), I'm just
    providing static constants DEFAULT_* that you can pass if you don't have
    a specific value in mind for one of the parameters of the full constructor.
Commits on Jun 3, 2014
  1. @andrewcox
Commits on May 2, 2014
  1. @andrewcox

    Make it possible to configure worker executor by name

    andrewcox authored
    This change allows you to bind ExecutorServices to names, and then select a named executor from the set that was bound using a string property in ThriftServerConfig (thus allowing you to configure the possible exeuctors in your custom Guice module, and then select one by name in your application's config map).
Commits on Apr 8, 2014
  1. @andrewcox

    Revert "Make it an error to have multiple extracted or multiple speci…

    andrewcox authored
    …fied names for a single field"
    
    This reverts commit fec0431.
    
    There are problems with this change in that I thought "extractName()" always gets the implicit name (not the name in the annotation) but this is not true for ParameterInjections, where the annotation name takes precedence. This is fixable but I'm not sure it's worth it at this time, so I'll revert this diff, making it a warning again to have multiple names for a thrift field.
Commits on Apr 4, 2014
  1. @andrewcox

    Make it an error to have multiple extracted or multiple specified nam…

    andrewcox authored
    …es for a single field
    
    The existing code was trying to allow for the cases that some appearances of the field might have been explicitly renamed in a @ThriftField annotation, while others may not have been, so there could be conflicts between the set of names retreived by getOrExtractThriftFieldName(). For this reason, conflicting names was only a warning.
    
    However it should be an error to have multiple explicit names, or multiple implicit names. This change checks each separately to make sure everything is consistent.
  2. @andrewcox
Something went wrong with that request. Please try again.