Permalink
Commits on Jan 15, 2012
  1. Update memory buffer to match file transport.

    Don't return the buffer on flush, and return eof when a read is
    attempted on an empty buffer.
    committed Jan 15, 2012
  2. Handle jsx 'incomplete' error.

    committed Jan 14, 2012
Commits on Jan 9, 2012
  1. THRIFT-847 Test Framework harmonization across all languages

    add test.sh as a first approach
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1229359 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Jan 9, 2012
Commits on Jan 8, 2012
  1. THRIFT-1485 Performance: pass large and/or refcounted arguments as "c…

    …onst"
    
    Patch: Jens Geyer
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1228965 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Jan 8, 2012
  2. .gitignore update

    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1228964 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Jan 8, 2012
  3. THRIFT-1473 JSON context stack may be left in an incorrect state when…

    … an exception is thrown during read or write operations
    
    Patch: Jens Geyer
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1228963 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Jan 8, 2012
Commits on Jan 7, 2012
  1. THRIFT-1486 Javascript manual testserver not returning content types

    Patch: Andrew Grumet
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1228717 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Jan 7, 2012
Commits on Jan 3, 2012
  1. THRIFT-1479. php: Compiled PHP process functions missing writeMessage…

    …End()
    
    This patch adds in the missing call.
    
    Patch: Andrew Grumet
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1226892 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 3, 2012
  2. THRIFT-1480. py: remove tabs, adjust whitespace and address PEP8 warn…

    …ings
    
    This patch addresses a host of PEP8 lint problems.
    
    Patch: Will Pierce
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1226890 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 3, 2012
  3. THRIFT-1483. java: java compiler does not generate type parameters fo…

    …r services in extended clauses
    
    Patch: Ruslan Shevchenko
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1226889 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Jan 3, 2012
Commits on Dec 27, 2011
  1. THRIFT-317. java: Issues with Java struct validation

    Nested structs will now be validated before serialization starts.
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1225035 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Dec 27, 2011
Commits on Dec 22, 2011
  1. THRIFT-1468. java: Memory leak in TSaslServerTransport

    This patch changes a particular map element to a WeakReference and thus avoids some awkward un-GC-ableness.
    
    Patch: Mithun Radhakrishnan"
    
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1222397 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Dec 22, 2011
Commits on Dec 21, 2011
  1. THRIFT-1168 C++ cob client/server: void functions that throw exceptions

    Patch: NewBlood
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1221891 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 21, 2011
  2. THRIFT-1469. java: Java isset space optimization

    This patch gives the generated code some variable-sized options for the isset bit vector. The compiler will attempt to use byte, short, int and long types before reverting to a BitSet for structs with a LOT of optional fields. This should save a fair amount of memory in a lot of cases.
    
    Patch: Brian Bloniarz
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1221828 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Dec 21, 2011
Commits on Dec 15, 2011
  1. Thrift-1467:Possible AV with empty strings when using JSON protocol

    Client:delphi
    Patch: Jens Geyer
    
    Fixes exception raised on empty json strings.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1214955 13f79535-47bb-0310-9956-ffa450edef68
    jfarrell committed Dec 15, 2011
Commits on Dec 14, 2011
  1. THRIFT-1464: AbstractNonblockingServer.FrameBuffer TNonblockingTransp…

    …ort accessor changed from public to private
    
    Client: java
    Patch: Jake Farrell
    
    Fixes accessor for TNonblockingTransport in AbstractNonblockingServer.FrameBuffer that was changed from public to private
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1214557 13f79535-47bb-0310-9956-ffa450edef68
    jfarrell committed Dec 14, 2011
  2. THRIFT-1461 Recent TNonblockingServer changes broke --enable-boostthr…

    …eads=yes, Windows
    
    Patch: Alexandre Parenteau
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1214547 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 14, 2011
Commits on Dec 13, 2011
  1. Thrift-1462: add more strict compiler flags

    Reverting MINGW addition for c+++0x 
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213905 13f79535-47bb-0310-9956-ffa450edef68
    jfarrell committed Dec 13, 2011
  2. Thrift-1462: add more strict compiler flags

    Reverting patch due to it breaking compilers older than 4.4 (os x, centos 5.x, etc)
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213901 13f79535-47bb-0310-9956-ffa450edef68
    jfarrell committed Dec 13, 2011
  3. THRIFT-1449. rb: Ruby client does not work on solaris (?)

    This patch adds a new argument to the socket calls that seems to fix the problems while not causing any detriment to non-Solaris systems.
    
    Patch: Erik Hetzner
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213837 13f79535-47bb-0310-9956-ffa450edef68
    Bryan Duxbury committed Dec 13, 2011
  4. THRIFT-1462 add more strict compiler flags

    FIX: check for MINGW and use reduced compiler flag set for mingw
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213523 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 13, 2011
Commits on Dec 12, 2011
  1. add fb303 stuff to .gitignore

    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213480 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 12, 2011
  2. THRIFT-1462 add more strict compiler flags(-Wall -Wextra -std=c++0x -…

    …pedantic)
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213459 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 12, 2011
Commits on Dec 11, 2011
  1. THRIFT-1459 declare shared_ptr as boost::shared_ptr

    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213090 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 11, 2011
  2. THRIFT-1272 add subclass of ReadWriteMutex that avoids writer

    starvation
    Patch: Dave Watson
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213067 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 11, 2011
  3. THRIFT-1273 Replace assignment of a negative literal to an

    unsigned int with assignment of an unsigned int
    Patch: Dave Watson
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213055 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 11, 2011
  4. THRIFT-1337 support maximum frame size in TNonblockingServer

    Patch: Dave Watson
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213052 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 11, 2011
Commits on Dec 10, 2011
  1. fix compiler warnings

    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212892 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 10, 2011
Commits on Dec 9, 2011
  1. THRIFT-1452 generate a swap() method for all generated structs

    fix compiler warnings, when having empty structs
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212593 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 9, 2011
  2. THRIFT-1440 debian packaging: minor-ish policy problems

    Patch: Paul Cannon
    Fix: Descriptions
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212569 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 9, 2011
  3. THRIFT-1421 Debian Packages can not be built

    Patch: Brandon Arp
    Fix: ruby build
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212324 13f79535-47bb-0310-9956-ffa450edef68
    bufferoverflow committed Dec 9, 2011
  4. Thrift-1441: Generate constructor with parameters for exception class…

    … to let it update message property automatically.
    
    Client:delphi
    Patch: Kenjiro Fukumitsu
    
    Add the function to delphi generator that generates constructor with parameters to initialize members,if the class is exception and have more than zero parameters.
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212226 13f79535-47bb-0310-9956-ffa450edef68
    jfarrell committed Dec 9, 2011