activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r648687 - in /activemq/activemq-cpp/decaf/trunk/src: main/decaf/internal/nio/ main/decaf/internal/util/ main/decaf/lang/ main/decaf/nio/ main/decaf/util/ test/decaf/internal/nio/
Date Wed, 16 Apr 2008 12:53:44 GMT
Author: tabish
Date: Wed Apr 16 05:53:35 2008
New Revision: 648687

URL: http://svn.apache.org/viewvc?rev=648687&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-103

Flushing out decaf build issues on windows.

Modified:
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/BufferFactory.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/CharArrayBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/DoubleArrayBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/FloatArrayBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/IntArrayBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/LongArrayBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ShortArrayBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArrayAdapter.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Appendable.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/CharSequence.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Comparable.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Short.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/CharBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/DoubleBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/FloatBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/IntBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/LongBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ShortBuffer.h
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/util/UUID.h
    activemq/activemq-cpp/decaf/trunk/src/test/decaf/internal/nio/ByteArrayBufferTest.cpp

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/BufferFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/BufferFactory.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/BufferFactory.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/BufferFactory.h Wed Apr
16 05:53:35 2008
@@ -34,7 +34,7 @@
      * Factory class used by static methods in the decaf::nio package to
      * create the various default version of the NIO interfaces.
      */
-    class BufferFactory {
+    class DECAF_API BufferFactory {
     public:
 
         virtual ~BufferFactory() {}

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h Wed
Apr 16 05:53:35 2008
@@ -32,7 +32,7 @@
      * Creating an instance of this class implicity takes a reference to it, so
      * a creator must return its ref before the count will be zero.
      */
-    class ByteArrayPerspective : public util::ByteArrayAdapter {
+    class DECAF_API ByteArrayPerspective : public util::ByteArrayAdapter {
     private:
 
         // Count of the number of perspectives into this array.

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/CharArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/CharArrayBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/CharArrayBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/CharArrayBuffer.h Wed Apr
16 05:53:35 2008
@@ -30,7 +30,7 @@
 namespace internal{
 namespace nio{
 
-    class CharArrayBuffer : public decaf::nio::CharBuffer {
+    class DECAF_API CharArrayBuffer : public decaf::nio::CharBuffer {
     protected:
 
         // Read / Write flag

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/DoubleArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/DoubleArrayBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/DoubleArrayBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/DoubleArrayBuffer.h Wed
Apr 16 05:53:35 2008
@@ -30,7 +30,7 @@
 namespace internal{
 namespace nio{
 
-    class DoubleArrayBuffer : public decaf::nio::DoubleBuffer{
+    class DECAF_API DoubleArrayBuffer : public decaf::nio::DoubleBuffer{
     private:
 
         // Read / Write flag

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/FloatArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/FloatArrayBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/FloatArrayBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/FloatArrayBuffer.h Wed Apr
16 05:53:35 2008
@@ -30,7 +30,7 @@
 namespace internal{
 namespace nio{
 
-    class FloatArrayBuffer : public decaf::nio::FloatBuffer{
+    class DECAF_API FloatArrayBuffer : public decaf::nio::FloatBuffer{
     private:
 
         // Read / Write flag

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/IntArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/IntArrayBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/IntArrayBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/IntArrayBuffer.h Wed Apr
16 05:53:35 2008
@@ -30,7 +30,7 @@
 namespace internal{
 namespace nio{
 
-    class IntArrayBuffer : public decaf::nio::IntBuffer {
+    class DECAF_API IntArrayBuffer : public decaf::nio::IntBuffer {
     private:
 
         // Read / Write flag

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/LongArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/LongArrayBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/LongArrayBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/LongArrayBuffer.h Wed Apr
16 05:53:35 2008
@@ -30,7 +30,7 @@
 namespace internal{
 namespace nio{
 
-    class LongArrayBuffer : public decaf::nio::LongBuffer {
+    class DECAF_API LongArrayBuffer : public decaf::nio::LongBuffer {
     private:
 
         // Read / Write flag

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ShortArrayBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ShortArrayBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ShortArrayBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/nio/ShortArrayBuffer.h Wed Apr
16 05:53:35 2008
@@ -30,7 +30,7 @@
 namespace internal{
 namespace nio{
 
-    class ShortArrayBuffer : public decaf::nio::ShortBuffer{
+    class DECAF_API ShortArrayBuffer : public decaf::nio::ShortBuffer{
     private:
 
         // Read / Write flag

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArrayAdapter.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArrayAdapter.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArrayAdapter.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArrayAdapter.h Wed
Apr 16 05:53:35 2008
@@ -37,7 +37,7 @@
      * Methods in this class that do not return a specifc value return a
      * reference to this object so that calls can be chained.
      */
-    class ByteArrayAdapter {
+    class DECAF_API ByteArrayAdapter {
     private:
 
         // Used to allow this adapter to view its array as the different

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Appendable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Appendable.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Appendable.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Appendable.h Wed Apr 16 05:53:35
2008
@@ -19,13 +19,14 @@
 #define _DECAF_LANG_APPENDABLE_H_
 
 #include <decaf/lang/Exception.h>
+#include <decaf/util/Config.h>
 
 namespace decaf{
 namespace lang{
 
     class CharSequence;
 
-    class Appendable {
+    class DECAF_API Appendable {
     public:
 
         virtual ~Appendable() {}

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/CharSequence.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/CharSequence.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/CharSequence.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/CharSequence.h Wed Apr 16 05:53:35
2008
@@ -19,6 +19,7 @@
 #define _DECAF_LANG_CHARSEQUENCE_H_
 
 #include <decaf/lang/exceptions/IndexOutOfBoundsException.h>
+#include <decaf/util/Config.h>
 
 namespace decaf{
 namespace lang{
@@ -32,7 +33,7 @@
      * equality, which implies that comparison of two CharSequences does not have a
      * contract on equality.
      */
-    class CharSequence {
+    class DECAF_API CharSequence {
     public:
 
         virtual ~CharSequence() {}

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Comparable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Comparable.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Comparable.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Comparable.h Wed Apr 16 05:53:35
2008
@@ -18,6 +18,8 @@
 #ifndef _DECAF_LANG_COMPARABLE_H_
 #define _DECAF_LANG_COMPARABLE_H_
 
+#include <decaf/util/Config.h>
+
 namespace decaf{
 namespace lang{
 
@@ -28,7 +30,7 @@
      * comparison method.
      */
     template< typename T >
-    class Comparable{
+    class DECAF_API Comparable{
     public:
 
         virtual ~Comparable() {}

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Short.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Short.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Short.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/lang/Short.h Wed Apr 16 05:53:35 2008
@@ -18,6 +18,7 @@
 #ifndef _DECAF_LANG_SHORT_H_
 #define _DECAF_LANG_SHORT_H_
 
+#include <decaf/util/Config.h>
 #include <decaf/lang/Number.h>
 #include <decaf/lang/Comparable.h>
 #include <decaf/lang/exceptions/NumberFormatException.h>
@@ -26,9 +27,9 @@
 namespace decaf{
 namespace lang{
 
-    class Short : public Number,
-                  public Comparable<Short>,
-                  public Comparable<short> {
+    class DECAF_API Short : public Number,
+                            public Comparable<Short>,
+                            public Comparable<short> {
     private:
 
         // The short value

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ByteBuffer.h Wed Apr 16 05:53:35
2008
@@ -100,7 +100,7 @@
 	protected:
 
 		/**
-		 * Creates a CharBuffer object that has its backing array allocated internally
+		 * Creates a ByteBuffer object that has its backing array allocated internally
 		 * and is then owned and deleted when this object is deleted.  The array is
 		 * initially created with all elements initialized to zero.
 		 * @param capacity - size of the array, this is the limit we read and write to.

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/CharBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/CharBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/CharBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/CharBuffer.h Wed Apr 16 05:53:35
2008
@@ -62,10 +62,10 @@
      *
      *     cb.put("text/").put(subtype).put("; charset=").put(enc);
      */
-    class CharBuffer : public Buffer,
-                       public lang::CharSequence,
-                       public lang::Appendable,
-                       public lang::Comparable<CharBuffer> {
+    class DECAF_API CharBuffer : public Buffer,
+                                 public lang::CharSequence,
+                                 public lang::Appendable,
+                                 public lang::Comparable<CharBuffer> {
     protected:
 
         /**

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/DoubleBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/DoubleBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/DoubleBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/DoubleBuffer.h Wed Apr 16 05:53:35
2008
@@ -47,8 +47,8 @@
      * to return the buffer upon which they are invoked. This allows method invocations
      * to be chained.
      */
-    class DoubleBuffer : public Buffer,
-                         public lang::Comparable<DoubleBuffer> {
+    class DECAF_API DoubleBuffer : public Buffer,
+                                   public lang::Comparable<DoubleBuffer> {
     protected:
 
         /**

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/FloatBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/FloatBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/FloatBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/FloatBuffer.h Wed Apr 16 05:53:35
2008
@@ -47,8 +47,8 @@
      * to return the buffer upon which they are invoked. This allows method invocations
      * to be chained.
      */
-    class FloatBuffer : public Buffer,
-                        public lang::Comparable<FloatBuffer> {
+    class DECAF_API FloatBuffer : public Buffer,
+                                  public lang::Comparable<FloatBuffer> {
     protected:
 
         /**

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/IntBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/IntBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/IntBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/IntBuffer.h Wed Apr 16 05:53:35 2008
@@ -47,8 +47,8 @@
      * to return the buffer upon which they are invoked. This allows method invocations
      * to be chained.
      */
-    class IntBuffer : public Buffer,
-                      public lang::Comparable<IntBuffer> {
+    class DECAF_API IntBuffer : public Buffer,
+                                public lang::Comparable<IntBuffer> {
     protected:
 
         /**

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/LongBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/LongBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/LongBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/LongBuffer.h Wed Apr 16 05:53:35
2008
@@ -47,8 +47,8 @@
      * to return the buffer upon which they are invoked. This allows method invocations
      * to be chained.
      */
-    class LongBuffer : public Buffer,
-                       public lang::Comparable<LongBuffer> {
+    class DECAF_API LongBuffer : public Buffer,
+                                 public lang::Comparable<LongBuffer> {
     protected:
 
         /**

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ShortBuffer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ShortBuffer.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ShortBuffer.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/ShortBuffer.h Wed Apr 16 05:53:35
2008
@@ -47,8 +47,8 @@
      * to return the buffer upon which they are invoked. This allows method invocations
      * to be chained.
      */
-    class ShortBuffer : public Buffer,
-                        public lang::Comparable<ShortBuffer> {
+    class DECAF_API ShortBuffer : public Buffer,
+                                  public lang::Comparable<ShortBuffer> {
     protected:
 
         /**

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/util/UUID.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/util/UUID.h?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/util/UUID.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/util/UUID.h Wed Apr 16 05:53:35 2008
@@ -63,7 +63,7 @@
      * Internet-Draft UUIDs and GUIDs or the standards body definition at
      * ISO/IEC 11578:1996.
      */
-    class UUID : public lang::Comparable<UUID> {
+    class DECAF_API UUID : public lang::Comparable<UUID> {
     private:
 
         // APR Uuid Type

Modified: activemq/activemq-cpp/decaf/trunk/src/test/decaf/internal/nio/ByteArrayBufferTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/test/decaf/internal/nio/ByteArrayBufferTest.cpp?rev=648687&r1=648686&r2=648687&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/test/decaf/internal/nio/ByteArrayBufferTest.cpp
(original)
+++ activemq/activemq-cpp/decaf/trunk/src/test/decaf/internal/nio/ByteArrayBufferTest.cpp
Wed Apr 16 05:53:35 2008
@@ -877,7 +877,7 @@
 
     CPPUNIT_ASSERT_THROW_MESSAGE(
         "Should throw a BufferOverflowException",
-        testBuffer1->putFloat( 3.14159 ),
+        testBuffer1->putFloat( 3.14159f ),
         BufferOverflowException );
 }
 
@@ -906,7 +906,7 @@
 
     CPPUNIT_ASSERT_THROW_MESSAGE(
         "Should throw a IndexOutOfBoundsException",
-        testBuffer1->putFloat( i, 3.14159 ),
+        testBuffer1->putFloat( i, 3.14159f ),
         IndexOutOfBoundsException );
 }
 



Mime
View raw message