Permalink
Commits on Feb 9, 2012
  1. Tagging 1.6.2-rc1.

    git-svn-id: https://svn.apache.org/repos/asf/avro/tags/release-1.6.2-rc1@1242605 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 9, 2012
  2. AVRO-980. C: avro_schema_from_json_length

    We now explicitly document that the length and error parameters are
    unused in the avro_schema_from_json function.  (The error parameter
    isn't needed, since any errors parsing or interpreting the JSON text are
    available using the avro_strerror() function.)
    
    This patch also adds the new avro_schema_from_json_length function.
    This function actually uses its length parameter, and we explicitly
    document that the length should *not* include any NUL terminator, if one
    is present.  We also provide the avro_schema_from_json_literal helper
    macro, which automatically calculates the size of a literal JSON string
    at compile time.  (To work, the JSON string must be defined as a char[],
    not a char *.)
    
    We decided to fix this bug using a new function because there's existing
    code out there that's already assuming that avro_schema_from_json's len
    parameter is unused.  (Or at least, they're assuming different things
    about what kind of value to pass in.)  This solution ensures that
    existing code still works, while providing a new function for the
    (needed) non-NUL-terminated case.  It comes at the expense of a sloppy
    signature for the existing avro_schema_from_json function...but then,
    the signature was already sloppy.  We're at least not adding any *new*
    sloppiness.
    
    We also now use the new avro_schema_from_json_length function when
    reading an Avro object container file.  This means that we no longer
    need to append a NUL terminator to the schema JSON when reading in the
    container file's header.  (We don't *need to*, but we still do.  One
    change at a time.)
    
    Contributed by Michael Cooper, modified by dcreager
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1242603 13f79535-47bb-0310-9956-ffa450edef68
    dcreager committed Feb 9, 2012
  3. Preparing to build 1.6.2-rc0.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1242568 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 9, 2012
  4. Adding missing license headers.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1242551 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 9, 2012
  5. AVRO-1021. Clarify some naming issues in the specification. Contribut…

    …ed by Raymie Stata.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1242540 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 9, 2012
  6. AVRO-1007. Java: Enhance builder API's validity checks.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1242190 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 9, 2012
Commits on Feb 8, 2012
  1. AVRO-971. Java: Permit IDL imports from classpath in Maven. Contribut…

    …ed by Victor Chau.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1242140 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 8, 2012
  2. rewrap some long lines

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1242137 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 8, 2012
  3. AVRO-1013. Java: NettyTransceiver can hang after server restart.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1241761 13f79535-47bb-0310-9956-ffa450edef68
    James Baldassari committed Feb 8, 2012
  4. AVRO-1019. Java: Add unit test for Netty server concurrent execution.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1241759 13f79535-47bb-0310-9956-ffa450edef68
    James Baldassari committed Feb 8, 2012
Commits on Feb 7, 2012
  1. AVRO-1018. fix CHANGES.txt message

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1241702 13f79535-47bb-0310-9956-ffa450edef68
    scottcarey committed Feb 7, 2012
  2. AVRO-1018. Java: add svn:ignore to eclipse generated files for protob…

    …uf, thrift, and archetype modules
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1241700 13f79535-47bb-0310-9956-ffa450edef68
    scottcarey committed Feb 7, 2012
  3. AVRO-1005. Java: Extend HttpTransceiver to permit specification of a …

    …Proxy. Contributed by Craig Landry.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1241677 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 7, 2012
  4. AVRO-1016. Java: Add Field#getAliases() method to better permit copyi…

    …ng of schemas.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1241665 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 7, 2012
  5. AVRO-1020. Java: Fix builder API to correctly handle default values f…

    …or enums.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1241662 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Feb 7, 2012
  6. AVRO-996. Java: SpecificRecord builder pattern object copy fails with…

    … unions in some cases.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1241366 13f79535-47bb-0310-9956-ffa450edef68
    James Baldassari committed Feb 7, 2012
Commits on Feb 4, 2012
  1. Removing the empty files that were not removed from svn in the last c…

    …heckin for AVRO-956
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1240439 13f79535-47bb-0310-9956-ffa450edef68
    thiru-apache committed Feb 4, 2012
Commits on Feb 2, 2012
  1. AVRO-956. Remove dependency on Flex/Bison

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1239768 13f79535-47bb-0310-9956-ffa450edef68
    thiru-apache committed Feb 2, 2012
Commits on Feb 1, 2012
  1. AVRO-1014. C: Check for errors producing JSON output in avrocat.

    Contributed by Lucas Martin-King.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1239227 13f79535-47bb-0310-9956-ffa450edef68
    dcreager committed Feb 1, 2012
Commits on Jan 26, 2012
  1. AVRO-986. C/Java: Fixed relates to sync markers in file headers.

    The C bindings no longer add an "avro.sync" entry to the header of an
    Avro file.  (Previously, the Java bindings (at least) would barf if this
    sync marker was present, since they'd treat that as the end of the file
    header.)  The Java bindings now ignore the extra sync marker, if
    present.
    
    In addition, this patch adds a new "avromod" command-line utility to the
    C bindings.  This utility can be used (among other things) to remove the
    sync marker from the header of an existing file.  It works by copying
    all of the records from a source file to a destination file.  You can
    also override the block size and compression codec of the new
    destination file.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1236284 13f79535-47bb-0310-9956-ffa450edef68
    dcreager committed Jan 26, 2012
  2. AVRO-1003. C: Fix pkg-config file when codecs are missing.

    If either of the zlib or lzma/xz libraries are missing, then we need to
    ensure that the corresponding substitution variable in our pkg-config
    file gets an empty value.  Otherwise CMake leaves the variable
    unsubstituted, which gives us an invalid pkg-config file.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1236181 13f79535-47bb-0310-9956-ffa450edef68
    dcreager committed Jan 26, 2012
Commits on Jan 24, 2012
  1. AVRO-1002. Fix a broken link in the specification.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1235512 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Jan 24, 2012
Commits on Jan 23, 2012
  1. AVRO-854. Python: Permit DataFileWriter and DataFileReader to be used…

    … as context managers in with statements. Contributed by Harsh J.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1235069 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Jan 23, 2012
  2. AVRO-1000. Java: Remove incompatible implementations of equals() and …

    …hashCode() from GenericData.Array.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1235064 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Jan 23, 2012
  3. AVRO-926. Java: Fix tests to pass under JDK 7.

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1235061 13f79535-47bb-0310-9956-ffa450edef68
    cutting committed Jan 23, 2012
Commits on Jan 17, 2012
  1. AVRO-993. Java: Add methods back to GenericDatumReader that were remo…

    …ved in AVRO-839.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1232552 13f79535-47bb-0310-9956-ffa450edef68
    James Baldassari committed Jan 17, 2012
  2. Update CHANGES.txt with author of AVRO-994

    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1232512 13f79535-47bb-0310-9956-ffa450edef68
    James Baldassari committed Jan 17, 2012
  3. AVRO-994. Java: TestFileSpanStorage.testTonsOfSpans() fails on my slo…

    …w VM.
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1232442 13f79535-47bb-0310-9956-ffa450edef68
    James Baldassari committed Jan 17, 2012
Commits on Dec 27, 2011
  1. AVRO-984. C: Resolved reader initializes complex array values correctly.

    Before, we weren't initialize new values when they were appended to an
    array in the resolved reader class.  For arrays of primitives, this
    wasn't a problem, since you don't really need to initialize primitives.
    For arrays of arrays (and other complex element types), however, the
    elements need to be properly initialized before they can be used.
    (Contributed by Vivek Nadkarni.)
    
    
    git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1224924 13f79535-47bb-0310-9956-ffa450edef68
    dcreager committed Dec 27, 2011