activemq-protobuf.git
13 years agoRenaming ByteSequence to Buffer to avoid name conflicts with similar objects in ActiveMQ trunk@719686
Hiram R. Chirino [Thu, 13 Nov 2008 21:39:10 +0000 (21:39 +0000)] 
Renaming ByteSequence to Buffer to avoid name conflicts with similar objects in ActiveMQ

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@713832 13f79535-47bb-0310-9956-ffa450edef68

13 years agoSimplified the Coded Input/Output streams.. they now strictly provide encoding method...
Hiram R. Chirino [Thu, 13 Nov 2008 03:56:48 +0000 (03:56 +0000)] 
Simplified the Coded Input/Output streams.. they now strictly provide encoding methods and delegate to another stream for buffering

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@713629 13f79535-47bb-0310-9956-ffa450edef68

13 years agoForked the coded input/output streams from the google proto buff project so that...
Hiram R. Chirino [Wed, 12 Nov 2008 17:42:27 +0000 (17:42 +0000)] 
Forked the coded input/output streams from the google proto buff project so that we don't need them as a dependency and also because we want to do some optimizations to them.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@713432 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded support for a auto_clear_optional_fields option.
Hiram R. Chirino [Thu, 16 Oct 2008 14:23:43 +0000 (14:23 +0000)] 
Added support for a auto_clear_optional_fields option.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@705251 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded an option to support deferred decoding of messages.
Hiram R. Chirino [Wed, 8 Oct 2008 23:32:15 +0000 (23:32 +0000)] 
Added an option to support deferred decoding of messages.
messages now implement equals() and hashCode()

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@703019 13f79535-47bb-0310-9956-ffa450edef68

13 years agoCleaned up the Message interface so that it's obvious and easy to use Framed and...
Hiram R. Chirino [Tue, 7 Oct 2008 20:18:39 +0000 (20:18 +0000)] 
Cleaned up the Message interface so that it's obvious and easy to use Framed and Unframed encoding of the messages.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@702614 13f79535-47bb-0310-9956-ffa450edef68

13 years agofixing
Hiram R. Chirino [Tue, 16 Sep 2008 18:23:45 +0000 (18:23 +0000)] 
fixing

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@695997 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUpdated build to the latest released protobuf jar. Also made some enhancements to...
Hiram R. Chirino [Fri, 5 Sep 2008 17:39:14 +0000 (17:39 +0000)] 
Updated build to the latest released protobuf jar.  Also made some enhancements to Message so that you can write it to
a stream as a partial or as message.  Doing a partial will allow you to append more messages to the stream and when demarshalled
they will be merged as one message.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@692498 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMade the Message class an interfae and added a few more message options that the...
Hiram R. Chirino [Wed, 3 Sep 2008 16:01:30 +0000 (16:01 +0000)] 
Made the Message class an interfae and added a few more message options that the java generator understands.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@691644 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded unit tests for the protobuf stuff. Basically a port of the com.google.protobuf...
Hiram R. Chirino [Tue, 2 Sep 2008 20:47:37 +0000 (20:47 +0000)] 
Added unit tests for the protobuf stuff.  Basically a port of the com.google.protobuf unit tests.  Many tests were omitted since this implemenation does
not support the reflection features.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@691375 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdded better compatibility with the existing protobuf java api.. made implementing...
Hiram R. Chirino [Tue, 2 Sep 2008 20:44:44 +0000 (20:44 +0000)] 
Added better compatibility with the existing protobuf java api.. made implementing it's unit tests easier.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@691373 13f79535-47bb-0310-9956-ffa450edef68

13 years agoGenerated most of the marshalling/unmarshalling bits.
Hiram R. Chirino [Sun, 31 Aug 2008 04:06:49 +0000 (04:06 +0000)] 
Generated most of the marshalling/unmarshalling bits.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@690632 13f79535-47bb-0310-9956-ffa450edef68

13 years ago- We are now fully parsing the proto examples in the test module including imports
Hiram R. Chirino [Sat, 30 Aug 2008 18:54:28 +0000 (18:54 +0000)] 
- We are now fully parsing the proto examples in the test module including imports
- Type resolution is in place, works even across imports.
- Generating all the mesage, enum, and group classes, and references between them are properly qualifed.

Still need to work on repeatable fields/groups and generate proper marshalling for all the types.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@690550 13f79535-47bb-0310-9956-ffa450edef68

13 years agoUpdated parser so it can successfully parse all the unit test proto files. Generator...
Hiram R. Chirino [Fri, 29 Aug 2008 21:34:08 +0000 (21:34 +0000)] 
Updated parser so it can successfully parse all the unit test proto files.  Generator is still in progress.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@690397 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdding some unit test proto file from the google proejct (The project is ASL Licenced...
Hiram R. Chirino [Fri, 29 Aug 2008 19:28:26 +0000 (19:28 +0000)] 
Adding some unit test proto file from the google proejct (The project is ASL Licenced) and including Notice of
the inclusion in the NOTICE file.

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@690373 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMade a maven mojo.. setting up a test module
Hiram R. Chirino [Fri, 29 Aug 2008 19:25:33 +0000 (19:25 +0000)] 
Made a maven mojo.. setting up a test module

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@690372 13f79535-47bb-0310-9956-ffa450edef68

13 years agosetting up for multi module
Hiram R. Chirino [Fri, 29 Aug 2008 18:41:40 +0000 (18:41 +0000)] 
setting up for multi module

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@690365 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdding first pass of the proto generator
Hiram R. Chirino [Fri, 29 Aug 2008 16:53:00 +0000 (16:53 +0000)] 
Adding first pass of the proto generator

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@690331 13f79535-47bb-0310-9956-ffa450edef68

13 years agoAdding a little module to help make it easier to work with Protocol Buffers from...
Hiram R. Chirino [Fri, 29 Aug 2008 16:25:30 +0000 (16:25 +0000)] 
Adding a little module to help make it easier to work with Protocol Buffers from Java

git-svn-id: https://svn.apache.org/repos/asf/activemq/sandbox/activemq-protobuf@690318 13f79535-47bb-0310-9956-ffa450edef68