Permalink
Commits on Mar 8, 2011
  1. tagging 1.5.0-rc3

    git-svn-id: https://svn.apache.org/repos/asf/avro/tags/release-1.5.0-rc3@1079066 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Mar 8, 2011
  2. Prepare to roll another 1.5.0 candidate.

    git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.5@1079064 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Mar 8, 2011
Commits on Mar 7, 2011
  1. Merge -c 1078917 from trunk to 1.5 branch.

    git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.5@1078919 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Mar 7, 2011
Commits on Mar 1, 2011
Commits on Feb 26, 2011
  1. Set the branch's version to be 1.5.0.

    git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.5@1074765 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 26, 2011
  2. Try branching 1.5 again.

    git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.5@1074760 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 26, 2011
  3. Create 1.5 branch.

    git-svn-id: https://svn.apache.org/repos/asf/avro/branches/branch-1.5@1074757 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 26, 2011
  4. Make RAT exclude a new C file.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074756 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 26, 2011
Commits on Feb 25, 2011
  1. AVRO-766. C: Skip valgrind check for now

    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
    dcreager committed Feb 25, 2011
  2. AVRO-762. C: Fixed segfault in avro_schema_from_json

    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
    dcreager committed Feb 25, 2011
  3. AVRO-762. C: Recursive schema resolution

    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
    dcreager committed Feb 25, 2011
  4. AVRO-762. C: Promotion of values during schema resolution

    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
    dcreager committed Feb 25, 2011
  5. AVRO-762. C: Better schema resolution

    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
    dcreager committed Feb 25, 2011
  6. AVRO-463. C: Error messages

    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
    dcreager committed Feb 25, 2011
  7. C: Additional svn:ignore patterns

    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
    dcreager committed Feb 25, 2011
  8. AVRO-751. C: Store schema reference in datum instances

    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
    dcreager committed Feb 25, 2011
  9. AVRO-753. Java: Improve BinaryEncoder Performance.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074364 13f79535-47bb-0310-9956-ffa450edef68
    scottcarey committed Feb 25, 2011
Commits on Feb 24, 2011
  1. AVRO-754. Java: Permit passing custom channel factory to NettyTransce…

    …iver. Contributed by Bruno Dumon.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074338 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 24, 2011
  2. AVRO-774. Java: Clean up repositories in pom.xml. Contributed by Lars…

    … Francke.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074330 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 24, 2011
  3. AVRO-773. Java: Add no-arg constructor to AvroWrapper. Contributed by…

    … Jan Prach.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074322 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 24, 2011
  4. AVRO-246. Java: Fix union dispatch to consider full schema name for r…

    …ecords, enums and fixed.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1074319 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 24, 2011
  5. wrap long lines

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

    … 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
    Bruce Mitchener Jr committed Feb 24, 2011
Commits on Feb 21, 2011
  1. AVRO-771. Java: Update dependency versions

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1073141 13f79535-47bb-0310-9956-ffa450edef68
    scottcarey committed Feb 21, 2011
  2. AVRO-755. Java: Fix SpecificResponder to correctly handle message par…

    …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
    cutting committed Feb 21, 2011
Commits on Feb 20, 2011
  1. AVRO-711. JSON encoder and decoder for C++

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1072677 13f79535-47bb-0310-9956-ffa450edef68
    thiru-apache committed Feb 20, 2011
Commits on Feb 19, 2011
  1. AVRO-730. Java: Add set() and remove() methods to GenericData.Array. …

    …Contributed by Chase Bradford.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1072217 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 19, 2011
Commits on Feb 16, 2011
Commits on Feb 15, 2011
  1. AVRO-759. Java: Fix NullPointerException when some but not all fields…

    … are aliased. Contributed by Xiaolu Ye.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1071083 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 15, 2011