Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Rafael Schloming
On Tue, Jan 27, 2015 at 5:35 PM, Darryl L. Pierce wrote: > On Fri, Jan 23, 2015 at 03:46:34PM -0500, Darryl L. Pierce wrote: > > +1 Though, I was hoping we could avoid having to manually do things... > > So I have a working POC that assigns a Ruby object to a C struct in such > a way as to keep t

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Darryl L. Pierce
On Wed, Jan 28, 2015 at 06:04:57AM -0500, Rafael Schloming wrote: > On the face of it this sounds like it could be quite brittle and probably > more complicated than just forgetting about swig for the one pn_rubyref_t > struct and wrapping it manually. Did you attempt the latter option at all? Yes

[jira] [Created] (PROTON-808) Binaries have their library locations stripped

2015-01-28 Thread Justin Ross (JIRA)
Justin Ross created PROTON-808: -- Summary: Binaries have their library locations stripped Key: PROTON-808 URL: https://issues.apache.org/jira/browse/PROTON-808 Project: Qpid Proton Issue Type: Bu

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Rafael Schloming
On Wed, Jan 28, 2015 at 9:06 AM, Darryl L. Pierce wrote: > On Wed, Jan 28, 2015 at 06:04:57AM -0500, Rafael Schloming wrote: > > On the face of it this sounds like it could be quite brittle and probably > > more complicated than just forgetting about swig for the one pn_rubyref_t > > struct and w

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Darryl L. Pierce
On Wed, Jan 28, 2015 at 09:19:29AM -0500, Rafael Schloming wrote: > On Wed, Jan 28, 2015 at 9:06 AM, Darryl L. Pierce > wrote: > > > On Wed, Jan 28, 2015 at 06:04:57AM -0500, Rafael Schloming wrote: > > > On the face of it this sounds like it could be quite brittle and probably > > > more complic

[jira] [Commented] (PROTON-808) Binaries have their library locations stripped

2015-01-28 Thread Justin Ross (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295231#comment-14295231 ] Justin Ross commented on PROTON-808: And this, which is really a worse problem: {nofo

[jira] [Commented] (PROTON-806) closing a blocking sender hangs if connection has been lost

2015-01-28 Thread Jeff Ortel (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295304#comment-14295304 ] Jeff Ortel commented on PROTON-806: --- This has proven to be difficult to reproduce. I'd

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Rafael Schloming
Why did you reject it then? --Rafael On Wed, Jan 28, 2015 at 9:54 AM, Darryl L. Pierce wrote: > On Wed, Jan 28, 2015 at 09:19:29AM -0500, Rafael Schloming wrote: > > On Wed, Jan 28, 2015 at 9:06 AM, Darryl L. Pierce > > wrote: > > > > > On Wed, Jan 28, 2015 at 06:04:57AM -0500, Rafael Schlomin

[jira] [Commented] (PROTON-807) Proton does not decode AMQP small long encoding correctly and does not use it.

2015-01-28 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295412#comment-14295412 ] ASF subversion and git services commented on PROTON-807: Commit 24

[jira] [Commented] (PROTON-807) Proton does not decode AMQP small long encoding correctly and does not use it.

2015-01-28 Thread Alan Conway (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295418#comment-14295418 ] Alan Conway commented on PROTON-807: Fixed the decoding problem. Did not modify proton

[jira] [Closed] (PROTON-807) Proton does not decode AMQP small long encoding correctly and does not use it.

2015-01-28 Thread Alan Conway (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Conway closed PROTON-807. -- Resolution: Fixed > Proton does not decode AMQP small long encoding correctly and does not use it. > ---

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Darryl L. Pierce
On Wed, Jan 28, 2015 at 12:06:44PM -0500, Rafael Schloming wrote: > Why did you reject it then? Reject it? I don't recall rejecting any option. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://ww

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Rafael Schloming
On Wed, Jan 28, 2015 at 1:05 PM, Darryl L. Pierce wrote: > On Wed, Jan 28, 2015 at 12:06:44PM -0500, Rafael Schloming wrote: > > Why did you reject it then? > > Reject it? I don't recall rejecting any option. > I meant why did you post about the global array thing and not this. Is there some rea

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Darryl L. Pierce
On Wed, Jan 28, 2015 at 12:06:44PM -0500, Rafael Schloming wrote: > Why did you reject it then? Are you referring to this? "Though, I was hoping we could avoid having to manually do things..." What I meant was that I would like to keep the work within the confines of the Swig code. -- Darryl L

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Rafael Schloming
No, you posted about a POC involving keeping C references alive by putting them in a global array. I then commented that it sounded like it could be brittle and might be more complicated than just wrapping the pn_rubyref_t struct manually and directly integrating with ruby gc. You then said you had

Re: Ruby memory management (was: Ruby and the Engine APIs)

2015-01-28 Thread Darryl L. Pierce
On Wed, Jan 28, 2015 at 01:10:28PM -0500, Rafael Schloming wrote: > On Wed, Jan 28, 2015 at 1:05 PM, Darryl L. Pierce > wrote: > > > On Wed, Jan 28, 2015 at 12:06:44PM -0500, Rafael Schloming wrote: > > > Why did you reject it then? > > > > Reject it? I don't recall rejecting any option. > > I m

[jira] [Commented] (PROTON-802) Unicode strings passed in through python binding cause exceptions

2015-01-28 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295593#comment-14295593 ] ASF subversion and git services commented on PROTON-802: Commit 3c

[jira] [Resolved] (PROTON-802) Unicode strings passed in through python binding cause exceptions

2015-01-28 Thread Rafael H. Schloming (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rafael H. Schloming resolved PROTON-802. Resolution: Fixed > Unicode strings passed in through python binding cause exception

[jira] [Assigned] (PROTON-802) Unicode strings passed in through python binding cause exceptions

2015-01-28 Thread Rafael H. Schloming (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rafael H. Schloming reassigned PROTON-802: -- Assignee: Rafael H. Schloming > Unicode strings passed in through python bindin

Re: [java] Message codec improvements

2015-01-28 Thread Rajith Muditha Attapattu
Rafi, I just checked in some skeleton code to explore a particular approach. It avoids the intermediate objects we have in proton now (Ex FlowType.java) Instead the Flow class is directly used by the encoding/decoding layer. The Flow class uses java types as opposed to AMQP specific types, which

Re: [java] Message codec improvements

2015-01-28 Thread Rafael Schloming
On Wed, Jan 28, 2015 at 2:01 PM, Rajith Muditha Attapattu < rajit...@gmail.com> wrote: > Rafi, > > I just checked in some skeleton code to explore a particular approach. > It avoids the intermediate objects we have in proton now (Ex FlowType.java) > Instead the Flow class is directly used by the e

Re: [java] Message codec improvements

2015-01-28 Thread Rajith Muditha Attapattu
On Wed, Jan 28, 2015 at 2:23 PM, Rafael Schloming wrote: > On Wed, Jan 28, 2015 at 2:01 PM, Rajith Muditha Attapattu < > rajit...@gmail.com> wrote: > > > Rafi, > > > > I just checked in some skeleton code to explore a particular approach. > > It avoids the intermediate objects we have in proton n

Re: request/response stuff has broken the java build

2015-01-28 Thread Alan Conway
On Tue, 2015-01-27 at 09:46 -0500, Rafael Schloming wrote: > Do you have tracing turned on when they time out? With the protocol trace > enabled the tests slow down enough that some of them don't finish before > the various timeouts kick in. Much more insidious. It turns out that if you use 0.0.0.

[jira] [Commented] (PROTON-807) Proton does not decode AMQP small long encoding correctly and does not use it.

2015-01-28 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296165#comment-14296165 ] ASF subversion and git services commented on PROTON-807: Commit a5

[jira] [Created] (PROTON-809) Changes to build on AIX with IBM XL C

2015-01-28 Thread Steve Huston (JIRA)
Steve Huston created PROTON-809: --- Summary: Changes to build on AIX with IBM XL C Key: PROTON-809 URL: https://issues.apache.org/jira/browse/PROTON-809 Project: Qpid Proton Issue Type: Bug

Are the apache CI builds broken?

2015-01-28 Thread Alan Conway
The apache CI builds say I broke the proton build https://builds.apache.org/job/Qpid-proton-c/492/consoleText So of course I want to fix it. However the build output shows it never even gets to running the tests. It looks like there is a configuration problem at the build server. Anyone know ho