[jira] Created: (QPID-2553) CMakeLists wrong file name

2010-04-27 Thread Bruno Matos (JIRA)
CMakeLists wrong file name 
---

 Key: QPID-2553
 URL: https://issues.apache.org/jira/browse/QPID-2553
 Project: Qpid
  Issue Type: Bug
  Components: Documentation
Affects Versions: 0.7
Reporter: Bruno Matos


In cpp/docs/api/CMakeLists.txt: 29 the file name is typed incorrectly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Updated: (QPID-2553) CMakeLists wrong file name

2010-04-27 Thread Bruno Matos (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Matos updated QPID-2553:
--

Attachment: developer-docs.diff

Possible patch

 CMakeLists wrong file name 
 ---

 Key: QPID-2553
 URL: https://issues.apache.org/jira/browse/QPID-2553
 Project: Qpid
  Issue Type: Bug
  Components: Documentation
Affects Versions: 0.7
Reporter: Bruno Matos
 Attachments: developer-docs.diff

   Original Estimate: 0.02h
  Remaining Estimate: 0.02h

 In cpp/docs/api/CMakeLists.txt: 29 the file name is typed incorrectly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Created: (QPID-2550) Linking CXX shared library libqpidcommon.dylib

2010-04-26 Thread Bruno Matos (JIRA)
Linking CXX shared library libqpidcommon.dylib
--

 Key: QPID-2550
 URL: https://issues.apache.org/jira/browse/QPID-2550
 Project: Qpid
  Issue Type: Improvement
  Components: C++ Client
Affects Versions: 0.7
 Environment: Mac OS X
Reporter: Bruno Matos


qpidcommon linking error in Mac OS X. Can anyone give me some clues?

Thank you!

Output:
Undefined symbols:
  typeinfo for qpid::sys::PollerHandle, referenced from:
  typeinfo for qpid::sys::DispatchHandle in DispatchHandle.o
  qpid::sys::Poller::registerHandle(qpid::sys::PollerHandle), referenced 
from:
  
qpid::sys::DispatchHandle::startWatch(boost::shared_ptrqpid::sys::Poller)  in 
DispatchHandle.o
  ___emutls_get_address, referenced from:
  qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
AsynchIO.o
  qpid::management::ManagementObject::getThreadIndex()  in 
ManagementObject.o
  qpid::management::ManagementObject::getThreadIndex()  in 
ManagementObject.o
  qpid::management::ManagementObject::getThreadIndex()  in 
ManagementObject.o
  qpid::sys::assertClusterSafe() in ClusterSafe.o
  qpid::sys::ClusterSafeScope::ClusterSafeScope() in ClusterSafe.o
  qpid::sys::ClusterSafeScope::ClusterSafeScope() in ClusterSafe.o
  qpid::sys::ClusterSafeScope::~ClusterSafeScope() in ClusterSafe.o
  qpid::sys::ClusterSafeScope::~ClusterSafeScope() in ClusterSafe.o
  qpid::sys::PollerHandle::~PollerHandle(), referenced from:
  qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const, 
boost::function1void, qpid::sys::DispatchHandle, boost::function1void, 
qpid::sys::DispatchHandle, boost::function1void, 
qpid::sys::DispatchHandle) in DispatchHandle.o
  qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const, 
boost::function1void, qpid::sys::DispatchHandle, boost::function1void, 
qpid::sys::DispatchHandle, boost::function1void, 
qpid::sys::DispatchHandle) in DispatchHandle.o
  qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
  qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
  qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
  qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
  qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
  qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
  qpid::sys::PollerHandle::PollerHandle(qpid::sys::IOHandle const), 
referenced from:
  qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const, 
boost::function1void, qpid::sys::DispatchHandle, boost::function1void, 
qpid::sys::DispatchHandle, boost::function1void, 
qpid::sys::DispatchHandle) in DispatchHandle.o
  qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const, 
boost::function1void, qpid::sys::DispatchHandle, boost::function1void, 
qpid::sys::DispatchHandle, boost::function1void, 
qpid::sys::DispatchHandle) in DispatchHandle.o
  qpid::sys::SystemInfo::getLocalIpAddresses(unsigned short, 
std::vectorqpid::Address, std::allocatorqpid::Address ), referenced from:
  qpid::Url::getIpAddressesUrl(unsigned short) in Url.o
  qpid::sys::Poller::interrupt(qpid::sys::PollerHandle), referenced from:
  qpid::sys::DispatchHandle::call(boost::function1void, 
qpid::sys::DispatchHandle) in DispatchHandle.o
  qpid::sys::DispatchHandle::doDelete()in DispatchHandle.o
  qpid::sys::SystemInfo::getLocalHostname(qpid::TcpAddress), referenced from:
  qpid::Url::getHostNameUrl(unsigned short) in Url.o
  boost::system::get_generic_category(), referenced from:
  __static_initialization_and_destruction_0(int, int) in Modules.o
  __static_initialization_and_destruction_0(int, int) in Modules.o
  __static_initialization_and_destruction_0(int, int) in Modules.o
  qpid::sys::Poller::monitorHandle(qpid::sys::PollerHandle, 
qpid::sys::Poller::Direction), referenced from:
  

[jira] Commented: (QPID-2550) Linking CXX shared library libqpidcommon.dylib

2010-04-26 Thread Bruno Matos (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12860972#action_12860972
 ] 

Bruno Matos commented on QPID-2550:
---

I'll do my best! I think that is the same for FreeBSD. So it's a question of 
combining efforts.

Regards.

 Linking CXX shared library libqpidcommon.dylib
 --

 Key: QPID-2550
 URL: https://issues.apache.org/jira/browse/QPID-2550
 Project: Qpid
  Issue Type: Improvement
  Components: C++ Client
Affects Versions: 0.7
 Environment: Mac OS X
Reporter: Bruno Matos
   Original Estimate: 1h
  Remaining Estimate: 1h

 qpidcommon linking error in Mac OS X. Can anyone give me some clues?
 Thank you!
 Output:
 Undefined symbols:
   typeinfo for qpid::sys::PollerHandle, referenced from:
   typeinfo for qpid::sys::DispatchHandle in DispatchHandle.o
   qpid::sys::Poller::registerHandle(qpid::sys::PollerHandle), referenced 
 from:
   
 qpid::sys::DispatchHandle::startWatch(boost::shared_ptrqpid::sys::Poller)  
 in DispatchHandle.o
   ___emutls_get_address, referenced from:
   qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::readable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::sys::posix::AsynchIO::writeable(qpid::sys::DispatchHandle) in 
 AsynchIO.o
   qpid::management::ManagementObject::getThreadIndex()  in 
 ManagementObject.o
   qpid::management::ManagementObject::getThreadIndex()  in 
 ManagementObject.o
   qpid::management::ManagementObject::getThreadIndex()  in 
 ManagementObject.o
   qpid::sys::assertClusterSafe() in ClusterSafe.o
   qpid::sys::ClusterSafeScope::ClusterSafeScope() in ClusterSafe.o
   qpid::sys::ClusterSafeScope::ClusterSafeScope() in ClusterSafe.o
   qpid::sys::ClusterSafeScope::~ClusterSafeScope() in ClusterSafe.o
   qpid::sys::ClusterSafeScope::~ClusterSafeScope() in ClusterSafe.o
   qpid::sys::PollerHandle::~PollerHandle(), referenced from:
   qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const, 
 boost::function1void, qpid::sys::DispatchHandle, boost::function1void, 
 qpid::sys::DispatchHandle, boost::function1void, 
 qpid::sys::DispatchHandle) in DispatchHandle.o
   qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const, 
 boost::function1void, qpid::sys::DispatchHandle, boost::function1void, 
 qpid::sys::DispatchHandle, boost::function1void, 
 qpid::sys::DispatchHandle) in DispatchHandle.o
   qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
   qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
   qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
   qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
   qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
   qpid::sys::DispatchHandle::~DispatchHandle() in DispatchHandle.o
   qpid::sys::PollerHandle::PollerHandle(qpid::sys::IOHandle const), 
 referenced from:
   qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const, 
 boost::function1void, qpid::sys::DispatchHandle, boost::function1void, 
 qpid::sys::DispatchHandle, boost::function1void, 
 qpid::sys::DispatchHandle) in DispatchHandle.o
   qpid::sys::DispatchHandle::DispatchHandle(qpid::sys::IOHandle const, 
 boost::function1void, qpid::sys::DispatchHandle, boost::function1void, 
 qpid::sys::DispatchHandle, boost::function1void, 
 qpid::sys::DispatchHandle) in DispatchHandle.o
   qpid::sys::SystemInfo::getLocalIpAddresses(unsigned short, 
 std::vectorqpid::Address, std::allocatorqpid::Address ), referenced 
 from:
   qpid::Url::getIpAddressesUrl(unsigned short) in Url.o
   qpid::sys::Poller::interrupt(qpid::sys::PollerHandle), referenced from:
   qpid::sys::DispatchHandle::call(boost::function1void, 
 qpid::sys::DispatchHandle) in DispatchHandle.o
   qpid::sys::DispatchHandle::doDelete()in DispatchHandle.o
   

[jira] Created: (QPID-2536) Implement posix get_time

2010-04-23 Thread Bruno Matos (JIRA)
Implement  posix get_time
-

 Key: QPID-2536
 URL: https://issues.apache.org/jira/browse/QPID-2536
 Project: Qpid
  Issue Type: Task
  Components: C++ Client
Affects Versions: 0.7
 Environment: mac os x
Reporter: Bruno Matos


In mac os x there is no implementation for the POSIX get_time function.
We can try this workaround:

http://www.wand.net.nz/~smr26/wordpress/2009/01/19/monotonic-time-in-mac-os-x/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Updated: (QPID-2536) Implement posix get_time

2010-04-23 Thread Bruno Matos (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Matos updated QPID-2536:
--

Description: 
In mac os x there is no implementation for the POSIX clock_gettime function.
We can try this workaround:

http://www.wand.net.nz/~smr26/wordpress/2009/01/19/monotonic-time-in-mac-os-x/

  was:
In mac os x there is no implementation for the POSIX get_time function.
We can try this workaround:

http://www.wand.net.nz/~smr26/wordpress/2009/01/19/monotonic-time-in-mac-os-x/


 Implement  posix get_time
 -

 Key: QPID-2536
 URL: https://issues.apache.org/jira/browse/QPID-2536
 Project: Qpid
  Issue Type: Task
  Components: C++ Client
Affects Versions: 0.7
 Environment: mac os x
Reporter: Bruno Matos

 In mac os x there is no implementation for the POSIX clock_gettime function.
 We can try this workaround:
 http://www.wand.net.nz/~smr26/wordpress/2009/01/19/monotonic-time-in-mac-os-x/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Updated: (QPID-2536) Implement posix clock_gettime

2010-04-23 Thread Bruno Matos (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Matos updated QPID-2536:
--

Summary: Implement  posix clock_gettime  (was: Implement  posix get_time)

 Implement  posix clock_gettime
 --

 Key: QPID-2536
 URL: https://issues.apache.org/jira/browse/QPID-2536
 Project: Qpid
  Issue Type: Task
  Components: C++ Client
Affects Versions: 0.7
 Environment: mac os x
Reporter: Bruno Matos

 In mac os x there is no implementation for the POSIX clock_gettime function.
 We can try this workaround:
 http://www.wand.net.nz/~smr26/wordpress/2009/01/19/monotonic-time-in-mac-os-x/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Commented: (QPID-2543) Change uint to standard type

2010-04-23 Thread Bruno Matos (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12860361#action_12860361
 ] 

Bruno Matos commented on QPID-2543:
---

If there is a better way to do it, just say.

Thank you!

 Change uint to standard type
 

 Key: QPID-2543
 URL: https://issues.apache.org/jira/browse/QPID-2543
 Project: Qpid
  Issue Type: Improvement
  Components: C++ Client
Affects Versions: 0.7
Reporter: Bruno Matos
 Fix For: 0.6

 Attachments: CPP_uint_to_unsigned_int.patch

   Original Estimate: 0.25h
  Remaining Estimate: 0.25h

 I can't find uint as a standard type and it is breaking Mac OS X client 
 compilation.
 The references I found:
 broker/Broker.h:109:uint queueLimit;
 broker/Link.cpp:338:uint Link::nextChannel()
 broker/Link.h:71:uint channelCounter;
 broker/Link.h:111:uint nextChannel();
 broker/SaslAuthenticator.cpp:432:uint ssf = *(reinterpret_castconst 
 unsigned*(value));
 client/MessageReplayTracker.cpp:27:MessageReplayTracker::MessageReplayTracker(uint
  f) : flushInterval(f), count(0) {}
 client/MessageReplayTracker.cpp:51:void 
 MessageReplayTracker::setFlushInterval(uint f)
 client/MessageReplayTracker.cpp:56:uint 
 MessageReplayTracker::getFlushInterval()
 client/SaslFactory.cpp:331:uint ssf = *(reinterpret_castconst 
 unsigned*(value));
 framing/SendContent.cpp:24:qpid::framing::SendContent::SendContent(FrameHandler
  h, uint16_t mfs, uint efc) : handler(h), 
 framing/SendContent.h:42:uint expectedFrameCount;
 framing/SendContent.h:43:uint frameCount;
 framing/SendContent.h:48:QPID_COMMON_EXTERN SendContent(FrameHandler 
 _handler, uint16_t _maxFrameSize, uint frameCount);
 sys/Semaphore.h:30:Semaphore(uint c = 1) : count(c) {}
 sys/Semaphore.h:54:void release(uint n)
 sys/Semaphore.h:74:uint count;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Updated: (QPID-2543) Change uint to standard type

2010-04-23 Thread Bruno Matos (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Matos updated QPID-2543:
--

Attachment: CPP_uint_to_unsigned_int.patch

The right one.

 Change uint to standard type
 

 Key: QPID-2543
 URL: https://issues.apache.org/jira/browse/QPID-2543
 Project: Qpid
  Issue Type: Improvement
  Components: C++ Client
Affects Versions: 0.7
Reporter: Bruno Matos
 Fix For: 0.6

 Attachments: CPP_uint_to_unsigned_int.patch

   Original Estimate: 0.25h
  Remaining Estimate: 0.25h

 I can't find uint as a standard type and it is breaking Mac OS X client 
 compilation.
 The references I found:
 broker/Broker.h:109:uint queueLimit;
 broker/Link.cpp:338:uint Link::nextChannel()
 broker/Link.h:71:uint channelCounter;
 broker/Link.h:111:uint nextChannel();
 broker/SaslAuthenticator.cpp:432:uint ssf = *(reinterpret_castconst 
 unsigned*(value));
 client/MessageReplayTracker.cpp:27:MessageReplayTracker::MessageReplayTracker(uint
  f) : flushInterval(f), count(0) {}
 client/MessageReplayTracker.cpp:51:void 
 MessageReplayTracker::setFlushInterval(uint f)
 client/MessageReplayTracker.cpp:56:uint 
 MessageReplayTracker::getFlushInterval()
 client/SaslFactory.cpp:331:uint ssf = *(reinterpret_castconst 
 unsigned*(value));
 framing/SendContent.cpp:24:qpid::framing::SendContent::SendContent(FrameHandler
  h, uint16_t mfs, uint efc) : handler(h), 
 framing/SendContent.h:42:uint expectedFrameCount;
 framing/SendContent.h:43:uint frameCount;
 framing/SendContent.h:48:QPID_COMMON_EXTERN SendContent(FrameHandler 
 _handler, uint16_t _maxFrameSize, uint frameCount);
 sys/Semaphore.h:30:Semaphore(uint c = 1) : count(c) {}
 sys/Semaphore.h:54:void release(uint n)
 sys/Semaphore.h:74:uint count;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Updated: (QPID-2237) UUID are not decoded properly by the .Net 0-10 api

2010-04-23 Thread Bruno Matos (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Matos updated QPID-2237:
--

Attachment: CPP_uint_to_unsigned_int.patch

Indentation problem solved

 UUID are not decoded properly by the .Net 0-10 api
 --

 Key: QPID-2237
 URL: https://issues.apache.org/jira/browse/QPID-2237
 Project: Qpid
  Issue Type: Improvement
  Components: Dot Net Client
Affects Versions: 0.5
Reporter: Julien Lavigne du Cadet
 Fix For: 0.6

 Attachments: UUID decoding.patch


 See patch below

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Updated: (QPID-2237) UUID are not decoded properly by the .Net 0-10 api

2010-04-23 Thread Bruno Matos (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Matos updated QPID-2237:
--

Attachment: (was: CPP_uint_to_unsigned_int.patch)

 UUID are not decoded properly by the .Net 0-10 api
 --

 Key: QPID-2237
 URL: https://issues.apache.org/jira/browse/QPID-2237
 Project: Qpid
  Issue Type: Improvement
  Components: Dot Net Client
Affects Versions: 0.5
Reporter: Julien Lavigne du Cadet
 Fix For: 0.6

 Attachments: UUID decoding.patch


 See patch below

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Updated: (QPID-2543) Change uint to standard type

2010-04-23 Thread Bruno Matos (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Matos updated QPID-2543:
--

Attachment: (was: CPP_uint_to_unsigned_int.patch)

 Change uint to standard type
 

 Key: QPID-2543
 URL: https://issues.apache.org/jira/browse/QPID-2543
 Project: Qpid
  Issue Type: Improvement
  Components: C++ Client
Affects Versions: 0.7
Reporter: Bruno Matos
 Fix For: 0.6

 Attachments: CPP_uint_to_unsigned_int.patch

   Original Estimate: 0.25h
  Remaining Estimate: 0.25h

 I can't find uint as a standard type and it is breaking Mac OS X client 
 compilation.
 The references I found:
 broker/Broker.h:109:uint queueLimit;
 broker/Link.cpp:338:uint Link::nextChannel()
 broker/Link.h:71:uint channelCounter;
 broker/Link.h:111:uint nextChannel();
 broker/SaslAuthenticator.cpp:432:uint ssf = *(reinterpret_castconst 
 unsigned*(value));
 client/MessageReplayTracker.cpp:27:MessageReplayTracker::MessageReplayTracker(uint
  f) : flushInterval(f), count(0) {}
 client/MessageReplayTracker.cpp:51:void 
 MessageReplayTracker::setFlushInterval(uint f)
 client/MessageReplayTracker.cpp:56:uint 
 MessageReplayTracker::getFlushInterval()
 client/SaslFactory.cpp:331:uint ssf = *(reinterpret_castconst 
 unsigned*(value));
 framing/SendContent.cpp:24:qpid::framing::SendContent::SendContent(FrameHandler
  h, uint16_t mfs, uint efc) : handler(h), 
 framing/SendContent.h:42:uint expectedFrameCount;
 framing/SendContent.h:43:uint frameCount;
 framing/SendContent.h:48:QPID_COMMON_EXTERN SendContent(FrameHandler 
 _handler, uint16_t _maxFrameSize, uint frameCount);
 sys/Semaphore.h:30:Semaphore(uint c = 1) : count(c) {}
 sys/Semaphore.h:54:void release(uint n)
 sys/Semaphore.h:74:uint count;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Created: (QPID-2527) Remove Thread::id() dependency

2010-04-21 Thread Bruno Matos (JIRA)
Remove Thread::id() dependency
--

 Key: QPID-2527
 URL: https://issues.apache.org/jira/browse/QPID-2527
 Project: Qpid
  Issue Type: Task
  Components: C++ Client
Affects Versions: 0.7
 Environment: Mac OS X
Reporter: Bruno Matos


The first stop in client compilation on Mac OS X is the return value of 
Thread::id(). It seams that this method should be removed, so lets start from 
removing the dependencies.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Closed: (QPID-2358) SVN conflict

2010-01-24 Thread Bruno Matos (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Matos closed QPID-2358.
-

Resolution: Fixed

 SVN conflict
 

 Key: QPID-2358
 URL: https://issues.apache.org/jira/browse/QPID-2358
 Project: Qpid
  Issue Type: Bug
  Components: Documentation
 Environment: PowerBook G4 - Mac OS X Leopard svn, version 1.4.4 
 (r25188) compiled Sep 28 2009, 16:25:45
Reporter: Bruno Matos
Assignee: Jonathan Robie
   Original Estimate: 0.08h
  Remaining Estimate: 0.08h

 Subversion checkout has a conflict with the files: 
 http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
 Compatibility.xml and 
 http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
 compatibility.xml.
 Could you please see that?
 Thank you!
 Regards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Commented: (QPID-2358) SVN conflict

2010-01-24 Thread Bruno Matos (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12804300#action_12804300
 ] 

Bruno Matos commented on QPID-2358:
---

It's ok now!

Thanks a lot!

 SVN conflict
 

 Key: QPID-2358
 URL: https://issues.apache.org/jira/browse/QPID-2358
 Project: Qpid
  Issue Type: Bug
  Components: Documentation
 Environment: PowerBook G4 - Mac OS X Leopard svn, version 1.4.4 
 (r25188) compiled Sep 28 2009, 16:25:45
Reporter: Bruno Matos
Assignee: Jonathan Robie
   Original Estimate: 0.08h
  Remaining Estimate: 0.08h

 Subversion checkout has a conflict with the files: 
 http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
 Compatibility.xml and 
 http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
 compatibility.xml.
 Could you please see that?
 Thank you!
 Regards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Commented: (QPID-2358) SVN conflict

2010-01-23 Thread Bruno Matos (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12804133#action_12804133
 ] 

Bruno Matos commented on QPID-2358:
---

I tried another client, but the problem remains:

In directory '/Users/bmm/Documents/qpid/doc/book/src'
Can't copy '/Users/bmm/Documents/qpid/doc/book/src/.svn/tmp/text-base/AMQP 
compatibility.xml.svn-base' to 
'/Users/bmm/Documents/qpid/doc/book/src/.svn/tmp/AMQP 
compatibility.xml.tmp.tmp': Undefined error: 0

 SVN conflict
 

 Key: QPID-2358
 URL: https://issues.apache.org/jira/browse/QPID-2358
 Project: Qpid
  Issue Type: Bug
  Components: Documentation
 Environment: PowerBook G4 - Mac OS X Leopard svn, version 1.4.4 
 (r25188) compiled Sep 28 2009, 16:25:45
Reporter: Bruno Matos
   Original Estimate: 0.08h
  Remaining Estimate: 0.08h

 Subversion checkout has a conflict with the files: 
 http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
 Compatibility.xml and 
 http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
 compatibility.xml.
 Could you please see that?
 Thank you!
 Regards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Commented: (QPID-2358) SVN conflict

2010-01-23 Thread Bruno Matos (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12804146#action_12804146
 ] 

Bruno Matos commented on QPID-2358:
---

I think problem is in commit 901917.

Regards.

 SVN conflict
 

 Key: QPID-2358
 URL: https://issues.apache.org/jira/browse/QPID-2358
 Project: Qpid
  Issue Type: Bug
  Components: Documentation
 Environment: PowerBook G4 - Mac OS X Leopard svn, version 1.4.4 
 (r25188) compiled Sep 28 2009, 16:25:45
Reporter: Bruno Matos
Assignee: Jonathan Robie
   Original Estimate: 0.08h
  Remaining Estimate: 0.08h

 Subversion checkout has a conflict with the files: 
 http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
 Compatibility.xml and 
 http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
 compatibility.xml.
 Could you please see that?
 Thank you!
 Regards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Created: (QPID-2358) SVN conflict

2010-01-22 Thread Bruno Matos (JIRA)
SVN conflict


 Key: QPID-2358
 URL: https://issues.apache.org/jira/browse/QPID-2358
 Project: Qpid
  Issue Type: Bug
  Components: Documentation
 Environment: PowerBook G4 - Mac OS X Leopard svn, version 1.4.4 
(r25188) compiled Sep 28 2009, 16:25:45
Reporter: Bruno Matos


Subversion checkout has a conflict with the files: 
http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
Compatibility.xml and 
http://svn.apache.org/repos/asf/qpid/trunk/qpid/doc/book/src/AMQP 
compatibility.xml.

Could you please see that?

Thank you!

Regards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] Commented: (QPID-1811) Unable to compile qpid on FreeBSD

2010-01-19 Thread Bruno Matos (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12802227#action_12802227
 ] 

Bruno Matos commented on QPID-1811:
---

If the pthread_t structure depends on implementation, could we use the boost 
high level threading mechanisms instead of qpid/sys/posix/Thread.cpp? 

I'm trying to compile qpid in mac os x, I know this is a long road, but I'm 
trying one step at a time. :)

Thank you.

 Unable to compile qpid on FreeBSD
 -

 Key: QPID-1811
 URL: https://issues.apache.org/jira/browse/QPID-1811
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.6
 Environment: FreeBSD 8-CURRENT on amd64 (64 bit)
 $ g++ -v
 Using built-in specs.
 Target: amd64-undermydesk-freebsd
 Configured with: FreeBSD/amd64 system compiler
 Thread model: posix
 gcc version 4.2.1 20070719  [FreeBSD]
 $ python -V
 Python 2.6.1
 $ pkg_info | grep boost
 boost-python-1.37.0 Free peer-reviewed portable C++ source libraries
 svn trunk version, checked out now (r765092)
 ./configure CPPFLAGS=-I/usr/local/include -L/usr/local/lib 
 LDFLAGS=-L/usr/local/lib --with-poller=poll
Reporter: Attila Nagy
Priority: Blocker
 Attachments: qpidfbsdcompile.diff


 I'm trying to build qpid c++ broker on FreeBSD.
 Problems found during the build process:
 -8-
  g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -I/usr/local/include -Werror -pedantic 
 -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
 -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
 -Woverloaded-virtual -g -O2 -MT qpid/sys/posix/Thread.lo -MD -MP -MF 
 qpid/sys/posix/.deps/Thread.Tpo -c qpid/sys/posix/Thread.cpp  -fPIC -DPIC -o 
 qpid/sys/posix/.libs/Thread.o
 qpid/sys/posix/Thread.cpp: In member function 'long unsigned int 
 qpid::sys::Thread::id()':
 qpid/sys/posix/Thread.cpp:64: error: invalid conversion from 'pthread*' to 
 'long unsigned int'
 I don't know whether it helps during the run, but allows to compile:
 return (unsigned long)impl-thread;
 -8-
  g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -I/usr/local/include -Werror -pedantic 
 -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
 -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
 -Woverloaded-virtual -g -O2 -MT qpid/sys/posix/SystemInfo.lo -MD -MP -MF 
 qpid/sys/posix/.deps/SystemInfo.Tpo -c qpid/sys/posix/SystemInfo.cpp  -fPIC 
 -DPIC -o qpid/sys/posix/.libs/SystemInfo.o
 In file included from qpid/sys/posix/SystemInfo.cpp:25:
 /usr/include/net/if.h:293: error: field 'ifru_addr' has incomplete type
 /usr/include/net/if.h:294: error: field 'ifru_dstaddr' has incomplete type
 /usr/include/net/if.h:295: error: field 'ifru_broadaddr' has incomplete type
 /usr/include/net/if.h:327: error: field 'ifra_addr' has incomplete type
 /usr/include/net/if.h:328: error: field 'ifra_broadaddr' has incomplete type
 /usr/include/net/if.h:329: error: field 'ifra_mask' has incomplete type
 /usr/include/net/if.h:427: error: field 'addr' has incomplete type
 /usr/include/net/if.h:428: error: field 'dstaddr' has incomplete type
 qpid/sys/posix/SystemInfo.cpp: In function 'void 
 qpid::sys::SystemInfo::getLocalIpAddresses(uint16_t, 
 std::vectorqpid::Address, std::allocatorqpid::Address )':
 qpid/sys/posix/SystemInfo.cpp:63: error: 'PF_INET' was not declared in this 
 scope
 qpid/sys/posix/SystemInfo.cpp:63: error: 'SOCK_STREAM' was not declared in 
 this scope
 qpid/sys/posix/SystemInfo.cpp:63: error: 'socket' was not declared in this 
 scope
 qpid/sys/posix/SystemInfo.cpp:66: error: 'struct ifreq' has no member named 
 'ifr_ifindex'
 qpid/sys/posix/SystemInfo.cpp:67: error: 'SIOCGIFNAME' was not declared in 
 this scope
 qpid/sys/posix/SystemInfo.cpp:72: error: 'union ifreq::anonymous' has no 
 member named 'ifru_addr'
 qpid/sys/posix/SystemInfo.cpp:73: error: invalid use of incomplete type 
 'struct qpid::sys::sockaddr_in'
 qpid/sys/posix/SystemInfo.cpp:72: error: forward declaration of 'struct 
 qpid::sys::sockaddr_in'
 The incomplete type error can be fixed by including sys/socket.h before 
 net/if.h.
 The 'struct ifreq' has no member named 'ifr_ifindex' can be fixed by:
 #ifdef __FreeBSD__
 ifr.ifr_index = i;
 #else
 ifr.ifr_ifindex = i;
 #endif
 The 'SIOCGIFNAME' was not declared in this scope is hopefully solved by:
 #ifdef SIOCGIFNAME
 if (::ioctl (s, SIOCGIFNAME, ifr)  0)
 #else
 if (!if_indextoname(ifr.ifr_index, ifr.ifr_name))
 #endif
 break;
 The forward declaration of 'struct 

[jira] Commented: (QPID-1811) Unable to compile qpid on FreeBSD

2010-01-19 Thread Bruno Matos (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12802370#action_12802370
 ] 

Bruno Matos commented on QPID-1811:
---

We just need someone of the core team to point us the way... :)

 Unable to compile qpid on FreeBSD
 -

 Key: QPID-1811
 URL: https://issues.apache.org/jira/browse/QPID-1811
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.6
 Environment: FreeBSD 8-CURRENT on amd64 (64 bit)
 $ g++ -v
 Using built-in specs.
 Target: amd64-undermydesk-freebsd
 Configured with: FreeBSD/amd64 system compiler
 Thread model: posix
 gcc version 4.2.1 20070719  [FreeBSD]
 $ python -V
 Python 2.6.1
 $ pkg_info | grep boost
 boost-python-1.37.0 Free peer-reviewed portable C++ source libraries
 svn trunk version, checked out now (r765092)
 ./configure CPPFLAGS=-I/usr/local/include -L/usr/local/lib 
 LDFLAGS=-L/usr/local/lib --with-poller=poll
Reporter: Attila Nagy
Priority: Blocker
 Attachments: qpidfbsdcompile.diff


 I'm trying to build qpid c++ broker on FreeBSD.
 Problems found during the build process:
 -8-
  g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -I/usr/local/include -Werror -pedantic 
 -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
 -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
 -Woverloaded-virtual -g -O2 -MT qpid/sys/posix/Thread.lo -MD -MP -MF 
 qpid/sys/posix/.deps/Thread.Tpo -c qpid/sys/posix/Thread.cpp  -fPIC -DPIC -o 
 qpid/sys/posix/.libs/Thread.o
 qpid/sys/posix/Thread.cpp: In member function 'long unsigned int 
 qpid::sys::Thread::id()':
 qpid/sys/posix/Thread.cpp:64: error: invalid conversion from 'pthread*' to 
 'long unsigned int'
 I don't know whether it helps during the run, but allows to compile:
 return (unsigned long)impl-thread;
 -8-
  g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -I/usr/local/include -Werror -pedantic 
 -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align 
 -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers 
 -Woverloaded-virtual -g -O2 -MT qpid/sys/posix/SystemInfo.lo -MD -MP -MF 
 qpid/sys/posix/.deps/SystemInfo.Tpo -c qpid/sys/posix/SystemInfo.cpp  -fPIC 
 -DPIC -o qpid/sys/posix/.libs/SystemInfo.o
 In file included from qpid/sys/posix/SystemInfo.cpp:25:
 /usr/include/net/if.h:293: error: field 'ifru_addr' has incomplete type
 /usr/include/net/if.h:294: error: field 'ifru_dstaddr' has incomplete type
 /usr/include/net/if.h:295: error: field 'ifru_broadaddr' has incomplete type
 /usr/include/net/if.h:327: error: field 'ifra_addr' has incomplete type
 /usr/include/net/if.h:328: error: field 'ifra_broadaddr' has incomplete type
 /usr/include/net/if.h:329: error: field 'ifra_mask' has incomplete type
 /usr/include/net/if.h:427: error: field 'addr' has incomplete type
 /usr/include/net/if.h:428: error: field 'dstaddr' has incomplete type
 qpid/sys/posix/SystemInfo.cpp: In function 'void 
 qpid::sys::SystemInfo::getLocalIpAddresses(uint16_t, 
 std::vectorqpid::Address, std::allocatorqpid::Address )':
 qpid/sys/posix/SystemInfo.cpp:63: error: 'PF_INET' was not declared in this 
 scope
 qpid/sys/posix/SystemInfo.cpp:63: error: 'SOCK_STREAM' was not declared in 
 this scope
 qpid/sys/posix/SystemInfo.cpp:63: error: 'socket' was not declared in this 
 scope
 qpid/sys/posix/SystemInfo.cpp:66: error: 'struct ifreq' has no member named 
 'ifr_ifindex'
 qpid/sys/posix/SystemInfo.cpp:67: error: 'SIOCGIFNAME' was not declared in 
 this scope
 qpid/sys/posix/SystemInfo.cpp:72: error: 'union ifreq::anonymous' has no 
 member named 'ifru_addr'
 qpid/sys/posix/SystemInfo.cpp:73: error: invalid use of incomplete type 
 'struct qpid::sys::sockaddr_in'
 qpid/sys/posix/SystemInfo.cpp:72: error: forward declaration of 'struct 
 qpid::sys::sockaddr_in'
 The incomplete type error can be fixed by including sys/socket.h before 
 net/if.h.
 The 'struct ifreq' has no member named 'ifr_ifindex' can be fixed by:
 #ifdef __FreeBSD__
 ifr.ifr_index = i;
 #else
 ifr.ifr_ifindex = i;
 #endif
 The 'SIOCGIFNAME' was not declared in this scope is hopefully solved by:
 #ifdef SIOCGIFNAME
 if (::ioctl (s, SIOCGIFNAME, ifr)  0)
 #else
 if (!if_indextoname(ifr.ifr_index, ifr.ifr_name))
 #endif
 break;
 The forward declaration of 'struct qpid::sys::sockaddr_in' can be solved by 
 including net/pfvar.h after if.h