Permalink
Commits on Jan 6, 2009
  1. Merge commit 'dreiss/master'

    Jérémie BORDIER committed Jan 6, 2009
Commits on Jan 5, 2009
  1. THRIFT-157. rb: Quote strings and qualify class names properly

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

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

    dreiss committed Jan 5, 2009
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731723 13f79535-47bb-0310-9956-ffa450edef68
  4. THRIFT-222. java: Better exposure if __isset in beans style

    dreiss committed Jan 5, 2009
    - Generate an isSet method for each field to test its set-ness.
    - Generate a generic isSet method that checks by field id.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731722 13f79535-47bb-0310-9956-ffa450edef68
  5. java: Add a helper function to implement nocamel style

    dreiss committed Jan 5, 2009
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731721 13f79535-47bb-0310-9956-ffa450edef68
  6. THRIFT-138. java: Fix copy constructor for binary fields

    dreiss committed Jan 5, 2009
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731719 13f79535-47bb-0310-9956-ffa450edef68
  7. THRIFT-241. python: Generate a better implementation of __repr__

    dreiss committed Jan 5, 2009
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@731685 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 4, 2009
Commits on Jan 3, 2009
  1. * Part of the previous commit (mhh git..)

    Jérémie BORDIER committed Jan 3, 2009
  2. * Split THttpClient in THttpTransport interface and THttpClient / THt…

    Jérémie BORDIER committed Jan 3, 2009
    …tpServer transports, we're now able to have C++ thrift service talking json over http for ajax ! :)
Commits on Dec 30, 2008
  1. THRIFT-244: Make JSONProtocolFactory extend TProtocolFactory, Fixed b…

    Jérémie BORDIER committed Dec 30, 2008
    …adly serialized messageBegin with JSON Protocol
    
    (boost::lexical_cast handled Thirft version, a uint8_t, as a string type)
Commits on Dec 23, 2008
  1. THRIFT-193: Patch for proper namespace support in perl compiler

    jake committed Dec 23, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@728863 13f79535-47bb-0310-9956-ffa450edef68
  2. THRIFT-2: check for thrift::socket handle being null

    jake committed Dec 23, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@728860 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 22, 2008
  1. THRIFT-208. Fix ax_java.m4 for Ubuntu 8.10

    dreiss committed Dec 22, 2008
    On Ubuntu 8.10, /bin/sh is a symlink to dash (a minimal
    Bourne-compatible shell).  ./configure is smart enough
    to detect when the shell it is run with is missing features.
    In such cases, it switches to a more capable shell (like bash).
    This causes it to enable certain shell constructs that are
    not supported by dash.  However, the Autoconf macro file that
    we use to detect Java support interacts poorly with Autoconf
    because it uses divert(-1) for large comments.  This somehow
    causes configure to set SHELL to /bin/sh.  As a result, the
    libtool script generated during the build process is not
    compatible with the shell that is used to run it (if a recent
    version of libtool is in use).
    
    This change replaces all of the "divert(-1)" comments
    with more traditional "dnl" comments.  This allows Thrift
    to build on Ubuntu 8.10.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@728756 13f79535-47bb-0310-9956-ffa450edef68
  2. THRIFT-190. Added dependency check to perl Makefile

    jake committed Dec 22, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@728678 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 16, 2008
  1. THRIFT-220. Add some stuff to svn:ignore

    dreiss committed Dec 16, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@727131 13f79535-47bb-0310-9956-ffa450edef68
  2. THRIFT-225. java/cpp: Handle non-i32 integer constants properly

    dreiss committed Dec 16, 2008
    Java generates a warning when converting from an integer constant
    to a byte or short without an explicit cast.  This change adds a
    cast to byte and short literals in Java.
    
    Both Java and C++ fail to compile integer literals larger than 2^31
    unless they are decorated with "L" (for Java) or "LL" (for g++).
    This change adds the appropriate decorations.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@727130 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 13, 2008
  1. rb: Thrift.check_type should check struct classes [THRIFT-185]

    kclark committed Dec 13, 2008
    Author: Piotr Kozikowski
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@726156 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 10, 2008
  1. THRIFT-121. Support arbitrary type annotations

    dreiss committed Dec 10, 2008
    Adds syntax for attaching arbitrary key/value pairs to types.
    These annotations can be accessed by individual generators to alter
    the code they produce.
    
    This version supports annotations on container types and structures.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@724954 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 5, 2008
  1. THRIFT-203. cpp: Make library headers compile under g++ -pedantic

    dreiss committed Dec 5, 2008
    It turns out that trailing commas in enum definitions are
    not actually valid C++.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@723562 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 2, 2008
  1. THRIFT-214. cpp: Qualify a cast to fix OSX compilation

    dreiss committed Dec 2, 2008
    id_t is defined in some OSX header, and the id_t in this function
    resolved to that one instead of Thread::id_t.  This change fully
    qualifies the type to make sure it resolves properly.
    
    Also remove a comment about eliminating the C-style cast, since it
    is actually quite appropriate in this case.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@722337 13f79535-47bb-0310-9956-ffa450edef68
  2. THRIFT-217. Use "--gen py" instead of "-py" in build scripts

    dreiss committed Dec 2, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@722333 13f79535-47bb-0310-9956-ffa450edef68
  3. THRIFT-138. java: Create deep-copy constructors for Thrift structs

    dreiss committed Dec 2, 2008
    - Create a copy constructor for every Thrift struct.  The constructor
      performs a deep copy on the argument, resulting in no shared state.
    - Make thrift structions implement Cloneable and implement .clone()
      using the copy constructor.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@722332 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 21, 2008
  1. THRIFT-81. java: TNonblockingServer: Support a limit on read buffer size

    dreiss committed Nov 21, 2008
    This change makes it possible to set a maximum amount of memory that
    TNonblockingServer will use for all read buffers (combined).
    If it is exceeded, no new data will be read from clients until
    memory is freed.  The current implementation does a busy wait in
    the main thread when this happens.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719741 13f79535-47bb-0310-9956-ffa450edef68
  2. THRIFT-142. java: Better handling of required fields

    dreiss committed Nov 21, 2008
    - On reading, behave the same way as the C++ code:
      throw an exception if a required field is missing.
    - In addition, throw an exception if a required field is missing
      when writing.  For the JavaBeans code, this means that __isset
      is false (because it is maintained automatically).  For non-beans
      code, this means that the field is null.  Non-nullable fields are
      not checked in non-beans code.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719727 13f79535-47bb-0310-9956-ffa450edef68
  3. THRIFT-194. cpp: Properlyl namespace exception types in catch

    dreiss committed Nov 21, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719721 13f79535-47bb-0310-9956-ffa450edef68
  4. THRIFT-172. java: Improve toString output for binary fields

    dreiss committed Nov 21, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719720 13f79535-47bb-0310-9956-ffa450edef68
  5. THRIFT-139. java: Fix indentation in beans mode

    dreiss committed Nov 21, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719701 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 20, 2008
  1. THRIFT-202: java: Fix "make check"

    dreiss committed Nov 20, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719407 13f79535-47bb-0310-9956-ffa450edef68
  2. Remove compiler/cpp/version.h in "make clean"

    dreiss committed Nov 20, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719380 13f79535-47bb-0310-9956-ffa450edef68
  3. Fix "make distclean" when Ruby is not in use

    dreiss committed Nov 20, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719379 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 19, 2008
  1. rb: Remove extra validate in read [THRIFT-207]

    kclark committed Nov 19, 2008
    git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719126 13f79535-47bb-0310-9956-ffa450edef68