Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 1, 2011
  1. @cutting

    Tag 1.5.0 release candidate 2.

    cutting authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/tags/release-1.5.0-rc2@1075943 13f79535-47bb-0310-9956-ffa450edef68
  2. @cutting
Commits on Feb 26, 2011
  1. @cutting

    Set the branch's version to be 1.5.0.

    cutting authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.5@1074765 13f79535-47bb-0310-9956-ffa450edef68
  2. @cutting

    Try branching 1.5 again.

    cutting authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.5@1074760 13f79535-47bb-0310-9956-ffa450edef68
  3. @cutting

    Create 1.5 branch.

    cutting authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.5@1074757 13f79535-47bb-0310-9956-ffa450edef68
  4. @cutting

    Make RAT exclude a new C file.

    cutting authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074756 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 25, 2011
  1. @cutting
  2. @dcreager

    AVRO-766. C: Skip valgrind check for now

    dcreager authored
    AVRO-766 describes a memory leak bug with recursive schemas.  Until we
    commit a fix to this bug, we're going to turn off the valgrind tests in
    our test suite.  We'll turn this back on once we have a fix for the
    memory leak.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074702 13f79535-47bb-0310-9956-ffa450edef68
  3. @dcreager

    AVRO-762. C: Fixed segfault in avro_schema_from_json

    dcreager authored
    We were extracting the parse error text incorrectly from the Jansson 
    library error struct, which led to a segfault on certain platforms.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074687 13f79535-47bb-0310-9956-ffa450edef68
  4. @dcreager

    AVRO-762. C: Recursive schema resolution

    dcreager authored
    The avro_resolver_new function now works correctly with recursive
    schemas.  We had to memoize the results of avro_resolver_new, so that we
    can detect when we've already created an avro_resolver_t instance for a
    pair of schemas.  This prevents us from going into an infinite loop
    trying to resolve a recursive schema.
    
    This memoization means that there might be multiple references to a
    resolver within the graph of resolvers for a recursive schema type.
    When freeing this graph of resolvers, we now have to take care to only
    free each instance once.  We do this by maintaining a set of the
    resolvers that we've already encountered during the free operation, and
    immediately returning if we try to start freeing a resolver object a
    second time.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074618 13f79535-47bb-0310-9956-ffa450edef68
  5. @dcreager

    AVRO-762. C: Promotion of values during schema resolution

    dcreager authored
    The avro_resolver_new function now takes into the schema promotion
    rules: an int can be read as a long, float, or double; a long can be
    read as a float or double; and a float can be read as a double.  The
    test_avro_data test program includes test cases for each of these
    promotions.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074614 13f79535-47bb-0310-9956-ffa450edef68
  6. @dcreager

    AVRO-762. C: Better schema resolution

    dcreager authored
    This patch adds a new class that implements Avro's schema resolution
    rules.  Before, the writer and reader schemas were resolved each time a
    datum was read from an Avro file.  Now, we can examine the two schemas
    before reading and data values, and "remember" the resolution result in
    a tree of avro_resolver_t objects.  The avro_resolver_new function
    creates this tree of resolvers.  The result is an instance of a generic
    "consumer" interface, which is an abstract API for consuming Avro data
    that conforms to some writer schema.  In this case, the resolver
    implementation of the consumer API fills in an avro_datum_t that
    conforms to the reader schema, promoting data and dropping fields as
    necessary.  The avro_consume_binary function takes care of parsing the
    Avro binary encoding, passing off the data that it reads in to a
    consumer.
    
    We currently don't support the AVRO_LINK schema type; we'll need to add
    some memoization to handle recursive schemas properly.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074612 13f79535-47bb-0310-9956-ffa450edef68
  7. @dcreager

    AVRO-463. C: Error messages

    dcreager authored
    This patch adds a new avro_strerror() function, which returns a string
    describing the most recent Avro error.  Every function that can return
    an error code has been updated to provide an error string.  In
    particular, the avro_schema_from_json function now fills in the Avro
    error string with any parse errors that result from an invalid JSON
    string.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074608 13f79535-47bb-0310-9956-ffa450edef68
  8. @dcreager

    C: Additional svn:ignore patterns

    dcreager authored
    This patch hides all of the C binding's autotools and CMake build
    artefacts from the "svn status" view.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074592 13f79535-47bb-0310-9956-ffa450edef68
  9. @dcreager

    AVRO-751. C: Store schema reference in datum instances

    dcreager authored
    We now keep track of which particular schema an avro_datum_t is an
    instance of.  For primitive values, there's only one possible schema,
    and so we don't store an explicit reference.  For compound values, the
    datum constructors now take in a schema parameter, which is stored in
    the avro_datum_t instance.  For records, enums, and fixeds, this means
    that we don't need to store the name of the schema type anymore, since
    we can get this from the schema.
    
    There were also several functions, which operate on datum instances,
    which needed to take in a schema parameter — avro_datum_to_json, as an
    example.  Those parameters aren't needed anymore, since the datum
    carries a reference to its own schema already.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074585 13f79535-47bb-0310-9956-ffa450edef68
  10. @scottcarey

    AVRO-753. Java: Improve BinaryEncoder Performance.

    scottcarey authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074364 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 24, 2011
  1. @cutting

    AVRO-754. Java: Permit passing custom channel factory to NettyTransce…

    cutting authored
    …iver. Contributed by Bruno Dumon.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074338 13f79535-47bb-0310-9956-ffa450edef68
  2. @cutting

    AVRO-774. Java: Clean up repositories in pom.xml. Contributed by Lars…

    cutting authored
    … Francke.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074330 13f79535-47bb-0310-9956-ffa450edef68
  3. @cutting

    AVRO-773. Java: Add no-arg constructor to AvroWrapper. Contributed by…

    cutting authored
    … Jan Prach.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074322 13f79535-47bb-0310-9956-ffa450edef68
  4. @cutting

    AVRO-246. Java: Fix union dispatch to consider full schema name for r…

    cutting authored
    …ecords, enums and fixed.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074319 13f79535-47bb-0310-9956-ffa450edef68
  5. @cutting

    wrap long lines

    cutting authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074246 13f79535-47bb-0310-9956-ffa450edef68
  6. AVRO-701 + AVRO-772: Extensions to HttpServer to let you specify bind…

    Bruce Mitchener Jr authored
    … address as well as add arbitrary Jetty connectors (useful for Avro HTTP RPC over SSL).
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074237 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 21, 2011
  1. @scottcarey

    AVRO-771. Java: Update dependency versions

    scottcarey authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1073141 13f79535-47bb-0310-9956-ffa450edef68
  2. @cutting

    AVRO-755. Java: Fix SpecificResponder to correctly handle message par…

    cutting authored
    …ameter lists that differ between client and server.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1073077 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 20, 2011
  1. AVRO-711. JSON encoder and decoder for C++

    Thiruvalluvan M. G authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1072677 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 19, 2011
  1. @cutting

    AVRO-730. Java: Add set() and remove() methods to GenericData.Array. …

    cutting authored
    …Contributed by Chase Bradford.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1072217 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 16, 2011
  1. @scottcarey
  2. @scottcarey
  3. @scottcarey
Commits on Feb 15, 2011
  1. @cutting

    AVRO-759. Java: Fix NullPointerException when some but not all fields…

    cutting authored
    … are aliased. Contributed by Xiaolu Ye.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1071083 13f79535-47bb-0310-9956-ffa450edef68
  2. @dcreager

    AVRO-744. C: Helper macros for extracting and setting record field va…

    dcreager authored
    …lues
    
    This patch adds two helper macros that can be used to extract or set the
    value of a record field using fewer function calls.  It wraps a call to
    avro_record_get, which extracts the avro_datum_t instance for the field,
    and a call to avro_XXX_get or avro_XXX_set on the field datum.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1070941 13f79535-47bb-0310-9956-ffa450edef68
  3. @dcreager

    AVRO-750. C: Install pkg-config file

    dcreager authored
    This patch adds a pkg-config description file for the Avro library.
    Makes it easier to determine the right CPPFLAGS and LDFLAGS needed to
    use the library.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1070935 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 14, 2011
  1. @scottcarey
Commits on Feb 9, 2011
  1. @scottcarey

    AVRO-752. Java: Enhanced Performance Test Suite

    scottcarey authored
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1068726 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 7, 2011
  1. @cutting

    AVRO-757. Java: Permit data files to be re-opened without re-reading …

    cutting authored
    …the header. Contributed by Stu Hood.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1068142 13f79535-47bb-0310-9956-ffa450edef68
Something went wrong with that request. Please try again.