common/thrift.git
16 years agorb: Enhance the backwards compatibility spec to ensure that the deprecated method...
Kevin Clark [Wed, 18 Jun 2008 01:16:50 +0000 (01:16 +0000)] 
rb: Enhance the backwards compatibility spec to ensure that the deprecated method names really do correspond to the new method names

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669005 13f79535-47bb-0310-9956-ffa450edef68

16 years agorb: Stop calling rspec_clear in specs (which really should have been rspec_reset...
Kevin Clark [Wed, 18 Jun 2008 01:16:42 +0000 (01:16 +0000)] 
rb: Stop calling rspec_clear in specs (which really should have been rspec_reset), as rspec_verify already resets

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669004 13f79535-47bb-0310-9956-ffa450edef68

16 years agorb: Add thrift/protocol/binaryprotocol to the root lib/thrift file to cut down on...
Kevin Clark [Wed, 18 Jun 2008 01:16:35 +0000 (01:16 +0000)] 
rb: Add thrift/protocol/binaryprotocol to the root lib/thrift file to cut down on client-side requires

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669003 13f79535-47bb-0310-9956-ffa450edef68

16 years agorb: Add spec for shutting down NonblockingServer in response to a client message
Kevin Clark [Wed, 18 Jun 2008 01:16:27 +0000 (01:16 +0000)] 
rb: Add spec for shutting down NonblockingServer in response to a client message

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669002 13f79535-47bb-0310-9956-ffa450edef68

16 years agorb: Struct#new should properly initialize boolean values
Kevin Clark [Wed, 18 Jun 2008 01:16:20 +0000 (01:16 +0000)] 
rb: Struct#new should properly initialize boolean values

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669001 13f79535-47bb-0310-9956-ffa450edef68

16 years agorb: Thrift::Socket should return false from #open? if an error occurred during a...
Kevin Clark [Wed, 18 Jun 2008 01:16:11 +0000 (01:16 +0000)] 
rb: Thrift::Socket should return false from #open? if an error occurred during a read/write (THRIFT-7)

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669000 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImplement NonblockingServer and add specs
Kevin Clark [Wed, 18 Jun 2008 01:16:02 +0000 (01:16 +0000)] 
Implement NonblockingServer and add specs

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668999 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSquelch warning about parens and standardize require for generated code
Kevin Clark [Wed, 18 Jun 2008 01:15:53 +0000 (01:15 +0000)] 
Squelch warning about parens and standardize require for generated code

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668998 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd optional host argument to ServerSocket
Kevin Clark [Wed, 18 Jun 2008 01:15:45 +0000 (01:15 +0000)] 
Add optional host argument to ServerSocket

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668997 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTeach Socket how to read_nonblock
Kevin Clark [Wed, 18 Jun 2008 01:15:36 +0000 (01:15 +0000)] 
Teach Socket how to read_nonblock

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668996 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd a few accessors and specs to prepare for the upcoming NonblockingServer
Kevin Clark [Wed, 18 Jun 2008 01:15:25 +0000 (01:15 +0000)] 
Add a few accessors and specs to prepare for the upcoming NonblockingServer

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668995 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove dummy initialize method
Kevin Clark [Wed, 18 Jun 2008 01:15:15 +0000 (01:15 +0000)] 
Remove dummy initialize method

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668994 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRubify Socket and ServerSocket
Kevin Clark [Wed, 18 Jun 2008 01:15:06 +0000 (01:15 +0000)] 
Rubify Socket and ServerSocket

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668993 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFinish rubifying MemoryBuffer and FramedTransport
Kevin Clark [Wed, 18 Jun 2008 01:14:57 +0000 (01:14 +0000)] 
Finish rubifying MemoryBuffer and FramedTransport

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668992 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake a lot of miscellaneous ruby-styling changes
Kevin Clark [Wed, 18 Jun 2008 01:14:48 +0000 (01:14 +0000)] 
Make a lot of miscellaneous ruby-styling changes

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668991 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix default values of non-primitive types being shared between struct instances ...
Kevin Clark [Wed, 18 Jun 2008 01:14:36 +0000 (01:14 +0000)] 
Fix default values of non-primitive types being shared between struct instances (THRIFT-4)

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668989 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMark failing tests as pending
Kevin Clark [Wed, 18 Jun 2008 01:14:26 +0000 (01:14 +0000)] 
Mark failing tests as pending

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668988 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix odd bug in integration tests where it passed the wrong args to an Exception struc...
Kevin Clark [Wed, 18 Jun 2008 01:14:17 +0000 (01:14 +0000)] 
Fix odd bug in integration tests where it passed the wrong args to an Exception struct initializer

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668987 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd failing spec for Socket closing when it has an error (THRIFT-7)
Kevin Clark [Wed, 18 Jun 2008 01:14:08 +0000 (01:14 +0000)] 
Add failing spec for Socket closing when it has an error (THRIFT-7)

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668986 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd new spec for properly initializing boolean values
Kevin Clark [Wed, 18 Jun 2008 01:13:58 +0000 (01:13 +0000)] 
Add new spec for properly initializing boolean values

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668985 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd new gen-rb task to rebuild the bundled thrift generated code for specs
Kevin Clark [Wed, 18 Jun 2008 01:13:48 +0000 (01:13 +0000)] 
Add new gen-rb task to rebuild the bundled thrift generated code for specs

Also rewrite the test task to properly abort Rake if it fails

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668984 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd failing spec for sharing of default values between struct instances (THRIFT-4)
Kevin Clark [Wed, 18 Jun 2008 01:13:37 +0000 (01:13 +0000)] 
Add failing spec for sharing of default values between struct instances (THRIFT-4)

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668983 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd missing test for ServerSocket
Kevin Clark [Wed, 18 Jun 2008 01:13:27 +0000 (01:13 +0000)] 
Add missing test for ServerSocket

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668982 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd two missing tests for FramedTransport
Kevin Clark [Wed, 18 Jun 2008 01:13:18 +0000 (01:13 +0000)] 
Add two missing tests for FramedTransport

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668981 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStop using Array#pack and test using the raw bytes instead
Kevin Clark [Wed, 18 Jun 2008 01:13:09 +0000 (01:13 +0000)] 
Stop using Array#pack and test using the raw bytes instead

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668980 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd useless struct test for code coverage
Kevin Clark [Wed, 18 Jun 2008 01:12:58 +0000 (01:12 +0000)] 
Add useless struct test for code coverage

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668979 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTest BinaryProtocol#read_message_header with bad data
Kevin Clark [Wed, 18 Jun 2008 01:12:48 +0000 (01:12 +0000)] 
Test BinaryProtocol#read_message_header with bad data

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668978 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTweak the code to turn on Deprecation to make rcov happy
Kevin Clark [Wed, 18 Jun 2008 01:12:37 +0000 (01:12 +0000)] 
Tweak the code to turn on Deprecation to make rcov happy

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668977 13f79535-47bb-0310-9956-ffa450edef68

16 years agoOops, call #skip instead of #read_type when testing skip
Kevin Clark [Wed, 18 Jun 2008 01:12:26 +0000 (01:12 +0000)] 
Oops, call #skip instead of #read_type when testing skip

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668976 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd rcov_spec task
Kevin Clark [Wed, 18 Jun 2008 01:12:15 +0000 (01:12 +0000)] 
Add rcov_spec task

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668975 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out Socket and ServerSocket
Kevin Clark [Wed, 18 Jun 2008 01:12:05 +0000 (01:12 +0000)] 
Spec out Socket and ServerSocket

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668974 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix exception handling inside Socket#read
Kevin Clark [Wed, 18 Jun 2008 01:11:52 +0000 (01:11 +0000)] 
Fix exception handling inside Socket#read

Also remove the useless shebang

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668973 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStrip the rest of the empty () parens
Kevin Clark [Wed, 18 Jun 2008 01:11:41 +0000 (01:11 +0000)] 
Strip the rest of the empty () parens

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668972 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStop using deprecated name TSocket and fix TCPserver->TCPServer
Kevin Clark [Wed, 18 Jun 2008 01:11:29 +0000 (01:11 +0000)] 
Stop using deprecated name TSocket and fix TCPserver->TCPServer

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668971 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out HTTPClient
Kevin Clark [Wed, 18 Jun 2008 01:11:18 +0000 (01:11 +0000)] 
Spec out HTTPClient

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668970 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out MemoryBuffer and IOStreamTransport
Kevin Clark [Wed, 18 Jun 2008 01:11:07 +0000 (01:11 +0000)] 
Spec out MemoryBuffer and IOStreamTransport

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668969 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStrip more empty parens
Kevin Clark [Wed, 18 Jun 2008 01:10:55 +0000 (01:10 +0000)] 
Strip more empty parens

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668967 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRip out MemoryBuffer#get_buffer
Kevin Clark [Wed, 18 Jun 2008 01:10:43 +0000 (01:10 +0000)] 
Rip out MemoryBuffer#get_buffer

Nobody should be using that method and it's preventing MemoryBuffer from being optimized wrt. memory usage

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668966 13f79535-47bb-0310-9956-ffa450edef68

16 years agoopen? should return true, not 1
Kevin Clark [Wed, 18 Jun 2008 01:10:30 +0000 (01:10 +0000)] 
open? should return true, not 1

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668965 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out TransportException, Transport, ServerTransport, BufferedTransport, and Frame...
Kevin Clark [Wed, 18 Jun 2008 01:10:17 +0000 (01:10 +0000)] 
Spec out TransportException, Transport, ServerTransport, BufferedTransport, and FramedTransport

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668964 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out SimpleMongrelHTTPServer
Kevin Clark [Wed, 18 Jun 2008 01:10:05 +0000 (01:10 +0000)] 
Spec out SimpleMongrelHTTPServer

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668963 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStop using deprecated classes in SimpleMongrelHTTPServer
Kevin Clark [Wed, 18 Jun 2008 01:09:53 +0000 (01:09 +0000)] 
Stop using deprecated classes in SimpleMongrelHTTPServer

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668962 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd specs for Struct.
Kevin Clark [Wed, 18 Jun 2008 01:09:41 +0000 (01:09 +0000)] 
Add specs for Struct.

Include the generated code so the thrift compiler is not required to run the specs.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668961 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImprove compatibility with the old Hash-style set.
Kevin Clark [Wed, 18 Jun 2008 01:09:28 +0000 (01:09 +0000)] 
Improve compatibility with the old Hash-style set.

Fix the integration test for the Set change

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668960 13f79535-47bb-0310-9956-ffa450edef68

16 years agoConvert fields of type Thrift::Types::SET to use the Set library.
Kevin Clark [Wed, 18 Jun 2008 01:09:15 +0000 (01:09 +0000)] 
Convert fields of type Thrift::Types::SET to use the Set library.

Also teach Thrift::Struct how to compare itself with ==

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668959 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out Server
Kevin Clark [Wed, 18 Jun 2008 01:09:00 +0000 (01:09 +0000)] 
Spec out Server

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668958 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix blanket exception rescue in ThreadPoolServer
Kevin Clark [Wed, 18 Jun 2008 01:08:47 +0000 (01:08 +0000)] 
Fix blanket exception rescue in ThreadPoolServer

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668957 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove more empty () parens
Kevin Clark [Wed, 18 Jun 2008 01:08:35 +0000 (01:08 +0000)] 
Remove more empty () parens

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668956 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStop range-checking in BinaryProtocol#write_iNN, it turns out to break some code
Kevin Clark [Wed, 18 Jun 2008 01:08:19 +0000 (01:08 +0000)] 
Stop range-checking in BinaryProtocol#write_iNN, it turns out to break some code

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668955 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRename spec wrapper classes to prevent cross-pollination of specs. Require rspec...
Kevin Clark [Wed, 18 Jun 2008 01:08:05 +0000 (01:08 +0000)] 
Rename spec wrapper classes to prevent cross-pollination of specs. Require rspec 1.1.4 or later to fix the "describe Module do" bug

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668954 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd spec for BinaryProtocolFactory
Kevin Clark [Wed, 18 Jun 2008 01:07:50 +0000 (01:07 +0000)] 
Add spec for BinaryProtocolFactory

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668953 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out the BinaryProtocol read methods
Kevin Clark [Wed, 18 Jun 2008 01:07:37 +0000 (01:07 +0000)] 
Spec out the BinaryProtocol read methods

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668952 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRaise a RangeError if Protocol.write_<numeric> is called with a value that doesn...
Kevin Clark [Wed, 18 Jun 2008 01:07:23 +0000 (01:07 +0000)] 
Raise a RangeError if Protocol.write_<numeric> is called with a value that doesn't fit in <numeric>

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668951 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out the BinaryProtocol write methods.
Kevin Clark [Wed, 18 Jun 2008 01:07:10 +0000 (01:07 +0000)] 
Spec out the BinaryProtocol write methods.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668950 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove dummy initialize method and empty () parens
Kevin Clark [Wed, 18 Jun 2008 01:06:56 +0000 (01:06 +0000)] 
Remove dummy initialize method and empty () parens

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668949 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFinish speccing out Protocol and ProtocolFactory
Kevin Clark [Wed, 18 Jun 2008 01:06:42 +0000 (01:06 +0000)] 
Finish speccing out Protocol and ProtocolFactory

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668948 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStop using for _ in _ in Thrift::Protocol
Kevin Clark [Wed, 18 Jun 2008 01:06:29 +0000 (01:06 +0000)] 
Stop using for _ in _ in Thrift::Protocol

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668947 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStart speccing Protocol.
Kevin Clark [Wed, 18 Jun 2008 01:06:15 +0000 (01:06 +0000)] 
Start speccing Protocol.

The Protocol specs exposed a bug in the implementation of skip(Types::STRUCT).
Previously it would call read_struct_end once per field instead of per struct.
This only worked because read_struct_end is a noop.

Also remove all empty parens () from method calls.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668946 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out ProtocolException
Kevin Clark [Wed, 18 Jun 2008 01:06:01 +0000 (01:06 +0000)] 
Spec out ProtocolException

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668945 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out Thrift::Processor
Kevin Clark [Wed, 18 Jun 2008 01:05:47 +0000 (01:05 +0000)] 
Spec out Thrift::Processor

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668944 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd pending spec for sequence-ids on Thrift::Client
Kevin Clark [Wed, 18 Jun 2008 01:05:32 +0000 (01:05 +0000)] 
Add pending spec for sequence-ids on Thrift::Client

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668943 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd backwards-compatibility spec
Kevin Clark [Wed, 18 Jun 2008 01:05:17 +0000 (01:05 +0000)] 
Add backwards-compatibility spec

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668942 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSpec out Thrift::Client
Kevin Clark [Wed, 18 Jun 2008 01:05:03 +0000 (01:05 +0000)] 
Spec out Thrift::Client

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668941 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFully spec out Thrift::Exception and Thrift::ApplicationException
Kevin Clark [Wed, 18 Jun 2008 01:04:48 +0000 (01:04 +0000)] 
Fully spec out Thrift::Exception and Thrift::ApplicationException

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668940 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStart speccing exceptions and restore the (message) arg to super in Thrift::Applicati...
Kevin Clark [Wed, 18 Jun 2008 01:04:34 +0000 (01:04 +0000)] 
Start speccing exceptions and restore the (message) arg to super in Thrift::ApplicationException

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668939 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix the last of the deprecated names in tests
Kevin Clark [Wed, 18 Jun 2008 01:04:18 +0000 (01:04 +0000)] 
Fix the last of the deprecated names in tests

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668938 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix name usage in tests. Remove test for TTransport as it really wasn't testing anyth...
Kevin Clark [Wed, 18 Jun 2008 01:04:03 +0000 (01:04 +0000)] 
Fix name usage in tests. Remove test for TTransport as it really wasn't testing anything useful.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668937 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove test_remappings because it isn't comprehensive and it's triggering undesired...
Kevin Clark [Wed, 18 Jun 2008 01:03:48 +0000 (01:03 +0000)] 
Remove test_remappings because it isn't comprehensive and it's triggering undesired warnings. This should be re-created as a spec.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668936 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate the tutorial files to stop using deprecated names
Kevin Clark [Wed, 18 Jun 2008 01:03:33 +0000 (01:03 +0000)] 
Update the tutorial files to stop using deprecated names

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668935 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix the requires generated by the compiler
Kevin Clark [Wed, 18 Jun 2008 01:03:17 +0000 (01:03 +0000)] 
Fix the requires generated by the compiler

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668934 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix more deprecated name usages
Kevin Clark [Wed, 18 Jun 2008 01:03:03 +0000 (01:03 +0000)] 
Fix more deprecated name usages

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668933 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix the shebangs for the tutorial thrift files
Kevin Clark [Wed, 18 Jun 2008 01:02:46 +0000 (01:02 +0000)] 
Fix the shebangs for the tutorial thrift files

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668932 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUse deprecate_module! where appropriate
Kevin Clark [Wed, 18 Jun 2008 01:02:31 +0000 (01:02 +0000)] 
Use deprecate_module! where appropriate

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668931 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSolve the information leak problem between deprecations. Unfortunately this was cause...
Kevin Clark [Wed, 18 Jun 2008 01:02:14 +0000 (01:02 +0000)] 
Solve the information leak problem between deprecations. Unfortunately this was caused by a nasty ruby bug.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668930 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd (currently failing) spec for information leak between deprecations
Kevin Clark [Wed, 18 Jun 2008 01:01:57 +0000 (01:01 +0000)] 
Add (currently failing) spec for information leak between deprecations

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668929 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUse the correct name in deprecation warnings
Kevin Clark [Wed, 18 Jun 2008 01:01:40 +0000 (01:01 +0000)] 
Use the correct name in deprecation warnings

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668928 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImplement deprecate_module! and fully spec it
Kevin Clark [Wed, 18 Jun 2008 01:01:25 +0000 (01:01 +0000)] 
Implement deprecate_module! and fully spec it

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668927 13f79535-47bb-0310-9956-ffa450edef68

16 years agodeprecate_class! now sets up a proxy class that logs a warning when used
Kevin Clark [Wed, 18 Jun 2008 01:01:07 +0000 (01:01 +0000)] 
deprecate_class! now sets up a proxy class that logs a warning when used

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668926 13f79535-47bb-0310-9956-ffa450edef68

16 years agoEnsure the ruby tutorial uses the current library instead of the installed one
Kevin Clark [Wed, 18 Jun 2008 01:00:50 +0000 (01:00 +0000)] 
Ensure the ruby tutorial uses the current library instead of the installed one

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668925 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFinish renaming/deprecating classes. Change a few more filenames, like thrift/transpo...
Kevin Clark [Wed, 18 Jun 2008 01:00:33 +0000 (01:00 +0000)] 
Finish renaming/deprecating classes. Change a few more filenames, like thrift/transport/ttransport -> thrift/transport

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668924 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd new spec for deprecate_class!
Kevin Clark [Wed, 18 Jun 2008 01:00:12 +0000 (01:00 +0000)] 
Add new spec for deprecate_class!

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668923 13f79535-47bb-0310-9956-ffa450edef68

16 years agoClean up the last few deprecation warnings in the tests
Kevin Clark [Wed, 18 Jun 2008 00:59:56 +0000 (00:59 +0000)] 
Clean up the last few deprecation warnings in the tests

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668922 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFinish up the CamelCase -> ruby_style changes
Kevin Clark [Wed, 18 Jun 2008 00:59:37 +0000 (00:59 +0000)] 
Finish up the CamelCase -> ruby_style changes

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668921 13f79535-47bb-0310-9956-ffa450edef68

16 years agoConvert more CamelCase names to ruby_style
Kevin Clark [Wed, 18 Jun 2008 00:59:17 +0000 (00:59 +0000)] 
Convert more CamelCase names to ruby_style

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668920 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd comment and convert super(args)->super
Kevin Clark [Wed, 18 Jun 2008 00:58:58 +0000 (00:58 +0000)] 
Add comment and convert super(args)->super

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668919 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStop re-defining deprecated methods in subclasses
Kevin Clark [Wed, 18 Jun 2008 00:58:40 +0000 (00:58 +0000)] 
Stop re-defining deprecated methods in subclasses

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668918 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStart renaming camelCase methods to ruby_style
Kevin Clark [Wed, 18 Jun 2008 00:58:23 +0000 (00:58 +0000)] 
Start renaming camelCase methods to ruby_style

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668917 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd another spec for deprecate!
Kevin Clark [Wed, 18 Jun 2008 00:58:04 +0000 (00:58 +0000)] 
Add another spec for deprecate!

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668916 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd caller info to the deprecation warning
Kevin Clark [Wed, 18 Jun 2008 00:57:46 +0000 (00:57 +0000)] 
Add caller info to the deprecation warning

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668915 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMove thrift/protocol/tprotocol to thrift/protocol and thrift/protocol/tbinaryprotocol...
Kevin Clark [Wed, 18 Jun 2008 00:57:26 +0000 (00:57 +0000)] 
Move thrift/protocol/tprotocol to thrift/protocol and thrift/protocol/tbinaryprotocol to thrift/protocol/binaryprotocol. Leave shim files behind for backwards compatibility

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668914 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMake `rake` run the ruby tests in test/rb as well as the new specs
Kevin Clark [Wed, 18 Jun 2008 00:57:06 +0000 (00:57 +0000)] 
Make `rake` run the ruby tests in test/rb as well as the new specs

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668913 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix up thrift/thrift to only require the the files that define the classes it used...
Kevin Clark [Wed, 18 Jun 2008 00:56:48 +0000 (00:56 +0000)] 
Fix up thrift/thrift to only require the the files that define the classes it used to hold. This fixes the existing tests

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668912 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSet up the class deprecations
Kevin Clark [Wed, 18 Jun 2008 00:56:30 +0000 (00:56 +0000)] 
Set up the class deprecations

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668911 13f79535-47bb-0310-9956-ffa450edef68

16 years agoActually turn off deprecation when Thrift::DEPRECATION is false
Kevin Clark [Wed, 18 Jun 2008 00:56:08 +0000 (00:56 +0000)] 
Actually turn off deprecation when Thrift::DEPRECATION is false

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668910 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove requires of 'thrift/thrift' from library files
Kevin Clark [Wed, 18 Jun 2008 00:55:50 +0000 (00:55 +0000)] 
Remove requires of 'thrift/thrift' from library files

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668909 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd in hook to only provide the deprecated API when the client doesn't require 'thrif...
Kevin Clark [Wed, 18 Jun 2008 00:55:29 +0000 (00:55 +0000)] 
Add in hook to only provide the deprecated API when the client doesn't require 'thrift' directly

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668908 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd simple Rakefile for running specs
Kevin Clark [Wed, 18 Jun 2008 00:55:11 +0000 (00:55 +0000)] 
Add simple Rakefile for running specs

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668907 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRe-define the semantics of deprecate! and add deprecate_class! Include full specs...
Kevin Clark [Wed, 18 Jun 2008 00:54:53 +0000 (00:54 +0000)] 
Re-define the semantics of deprecate! and add deprecate_class! Include full specs for deprecate!/deprecate_class!

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668906 13f79535-47bb-0310-9956-ffa450edef68

16 years agorb: TBinaryProtocol => Thrift::BinaryProtocol
Kevin Clark [Wed, 18 Jun 2008 00:54:33 +0000 (00:54 +0000)] 
rb: TBinaryProtocol => Thrift::BinaryProtocol

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668905 13f79535-47bb-0310-9956-ffa450edef68

16 years agorb: Add more classes/modules to the Thrift namespace. Provide backwards compatable...
Kevin Clark [Wed, 18 Jun 2008 00:54:13 +0000 (00:54 +0000)] 
rb: Add more classes/modules to the Thrift namespace. Provide backwards compatable mappings.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668904 13f79535-47bb-0310-9956-ffa450edef68