[jira] [Resolved] (PROTON-781) Implement the Reactive APIs in Ruby

2015-06-18 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-781. - Resolution: Fixed Fix Version/s: 0.10 Implement the Reactive APIs in Ruby

[jira] [Resolved] (PROTON-914) SSL.peer_hostname does not return the proper value.

2015-06-17 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-914. - Resolution: Fixed Fix Version/s: 0.10 SSL.peer_hostname does not return

Re: [GitHub] qpid-proton pull request: Proton 781 ruby reactor apis

2015-06-17 Thread Darryl L. Pierce
this into trunk tomorrow (18 June) at COB EST unless anybody objects. This shouldn't have any impact on code outside of the Ruby bindings. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http

[jira] [Updated] (PROTON-914) SSL.peer_hostname does not return the proper value.

2015-06-17 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-914: Description: The method is returning the result code for the underlying C api rather than

[jira] [Created] (PROTON-914) SSL.peer_hostname does not return the proper value.

2015-06-17 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-914: --- Summary: SSL.peer_hostname does not return the proper value. Key: PROTON-914 URL: https://issues.apache.org/jira/browse/PROTON-914 Project: Qpid Proton

[jira] [Updated] (PROTON-914) SSL.peer_hostname does not return the proper value.

2015-06-17 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-914: Attachment: 0001-PROTON-914-Fix-for-getting-the-SSL-peer-hostname-in-.patch

[jira] [Updated] (PROTON-914) SSL.peer_hostname does not return the proper value.

2015-06-17 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-914: Attachment: (was: 0001-PROTON-914-Fix-for-getting-the-SSL-peer-hostname-in-.patch

[jira] [Updated] (PROTON-914) SSL.peer_hostname does not return the proper value.

2015-06-17 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-914: Attachment: 0001-PROTON-914-Fix-for-getting-the-SSL-peer-hostname-in-.patch

Re: Strange behaviour for pn_messenger_send on CentOS 6

2015-06-10 Thread Darryl L. Pierce
setup on the broker to which you're connecting? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpjlOinpZ7_p.pgp Description: PGP signature

Re: Strange behaviour for pn_messenger_send on CentOS 6

2015-06-10 Thread Darryl L. Pierce
0x00401158 in main (argc=optimized out, argv=optimized out) at /home/mcpierce/Programming/Proton/examples/c/messenger/send.c:102 There's definitely a difference in the runtime behavior of Fedora vs. RHEL in this case. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value

Re: Proton-c Null Messages

2015-06-09 Thread Darryl L. Pierce
[your client cmdline] ? Do you see the message being received on the client side? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpxSErwfJzge.pgp Description

Re: Proton-c Null Messages

2015-06-08 Thread Darryl L. Pierce
the return value on the call to pn_messenger_get? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpq1f55F5Ztp.pgp Description: PGP signature

[jira] [Resolved] (PROTON-898) Ruby Messenger using pn_selectable_fd and not pn_selectable_get_fd

2015-06-04 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-898. - Resolution: Fixed Fix Version/s: 0.10 Ruby Messenger using pn_selectable_fd

Re: Strange behaviour for pn_messenger_send on CentOS 6

2015-06-04 Thread Darryl L. Pierce
./recv [options] and share the output displayed? Also, is this solely with binaries you've built or are you installed RPMs from EPEL for Proton? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http

[jira] [Resolved] (PROTON-897) Enhance the Ruby examples

2015-06-04 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-897. - Resolution: Fixed Fix Version/s: 0.10 Enhance the Ruby examples

[jira] [Created] (PROTON-898) Ruby Messenger using pn_selectable_fd and not pn_selectable_get_fd

2015-06-01 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-898: --- Summary: Ruby Messenger using pn_selectable_fd and not pn_selectable_get_fd Key: PROTON-898 URL: https://issues.apache.org/jira/browse/PROTON-898 Project: Qpid

[jira] [Created] (PROTON-897) Enhance the Ruby examples

2015-05-29 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-897: --- Summary: Enhance the Ruby examples Key: PROTON-897 URL: https://issues.apache.org/jira/browse/PROTON-897 Project: Qpid Proton Issue Type: Improvement

Re: New language bindings - when are they ready? [was Re: Ruby Engine APIs up for review]

2015-05-26 Thread Darryl L. Pierce
On Mon, May 25, 2015 at 12:46:32PM -0400, Alan Conway wrote: On Thu, 2015-05-14 at 16:28 -0400, Darryl L. Pierce wrote: I've pushed these APIs up for public review on their own branch [1] in the Apache git repo. They're on a branch named ruby-engine-apis. Please take a look, tinker

Re: Direct receive not responding in Ruby...

2015-05-22 Thread Darryl L. Pierce
it on the head. I'm in your debt, Gordon. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpyVksnSX8EE.pgp Description: PGP signature

Direct receive not responding in Ruby...

2015-05-21 Thread Darryl L. Pierce
the client connects but the flow never begins between the two. I'm digging into the acceptor code but don't see where Ruby is behaving differently from Python. Any suggestions? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value

[jira] [Resolved] (PROTON-883) Return the raw bytes from a transport buffer in Ruby.

2015-05-19 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-883. - Resolution: Fixed Fix Version/s: 0.9.1 Return the raw bytes from a transport

[jira] [Updated] (PROTON-883) Return the raw bytes from a transport buffer in Ruby.

2015-05-14 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-883: Summary: Return the raw bytes from a transport buffer in Ruby. (was: Return the raw bytes

[jira] [Updated] (PROTON-883) Return the raw bytes as an array for a message in Ruby

2015-05-14 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-883: Attachment: 0001-PROTON-883-Wrap-pn_transport_peek-for-Ruby.patch Return the raw bytes

Ruby Engine APIs up for review

2015-05-14 Thread Darryl L. Pierce
-apis -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpIVhSmU6rV8.pgp Description: PGP signature

Re: When pushing to the git repo, please avoid merge commits...

2015-05-12 Thread Darryl L. Pierce
On Tue, May 12, 2015 at 02:10:59PM -0400, Alan Conway wrote: On Mon, 2015-05-11 at 09:36 -0400, Darryl L. Pierce wrote: master-branch $ git merge --ff-only task-branch That will refuse to merge unless the merge is a fast-forward, which is the simple copy my commits to the end of trunk

Re: Introducing the Ruby Reactive APIs

2015-05-12 Thread Darryl L. Pierce
SWIG::TYPE_p_void #SWIG::TYPE_p_void:0x... -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpCohtKHXqb9.pgp Description: PGP signature

Re: Introducing the Ruby Reactive APIs

2015-05-12 Thread Darryl L. Pierce
On Tue, May 12, 2015 at 04:10:54PM -0400, Darryl L. Pierce wrote: On Tue, May 12, 2015 at 11:12:40AM -0400, Rafael Schloming wrote: I made a bunch of line comments. Things appear to be working in the scaled back example except for one thing: when retrieving the record with pn_record_get

Re: Introducing the Ruby Reactive APIs

2015-05-12 Thread Darryl L. Pierce
/registry_test.rb which does it. It's very pared down, only creating 3 Transport instances and consistently produces the segfault. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo

Re: Introducing the Ruby Reactive APIs

2015-05-12 Thread Darryl L. Pierce
On Tue, May 12, 2015 at 09:44:41AM -0400, Rafael Schloming wrote: On Tue, May 12, 2015 at 8:34 AM, Darryl L. Pierce dpie...@redhat.com wrote: On Tue, May 12, 2015 at 05:45:20AM -0400, Rafael Schloming wrote: Can you post an isolated reproducer with just your definition of pn_rbkey_t

Re: Introducing the Ruby Reactive APIs

2015-05-12 Thread Darryl L. Pierce
On Tue, May 12, 2015 at 11:12:40AM -0400, Rafael Schloming wrote: I made a bunch of line comments. Excellent, thanks for that. I'll update the code and reply with my results. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value

[jira] [Created] (PROTON-883) Return the raw bytes as an array for a message in Ruby

2015-05-11 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-883: --- Summary: Return the raw bytes as an array for a message in Ruby Key: PROTON-883 URL: https://issues.apache.org/jira/browse/PROTON-883 Project: Qpid Proton

When pushing to the git repo, please avoid merge commits...

2015-05-11 Thread Darryl L. Pierce
to merge together. If I a merge commit is accidentally included in there then git will try to rebase that merge commit and all hell can break loose. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http

Re: When pushing to the git repo, please avoid merge commits...

2015-05-11 Thread Darryl L. Pierce
On Mon, May 11, 2015 at 09:23:27AM -0400, Darryl L. Pierce wrote: A request for all, please avoid doing merge commits on your Git repo. When these hit the shared repo it can cause Git to try and fix [1] the commit when rebasing. The way I do commits with Git is to rebase my work branch

Re: Introducing the Ruby Reactive APIs

2015-05-11 Thread Darryl L. Pierce
Swig tries to retrieve data from the pn_rbkey_t struct underneath of it, *THAT* seems to have been reaped by Proton and Swig then segfaults, thinking there was an object still under the covers. Any ideas or suggestions of where to look for what's going on? -- Darryl L. Pierce, Sr. Software Engineer

Introducing the Ruby Reactive APIs

2015-05-07 Thread Darryl L. Pierce
as the Python code, but there are likely more places where such reference accounting need to be added. [1] http://github.com/mcpierce/Proton/tree/PROTON-799-Ruby-engine-apis [2] http://github.com/mcpierce/Proton/tree/PROTON-781-reactive-ruby-apis -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat

Re: Introducing the Ruby Reactive APIs

2015-05-07 Thread Darryl L. Pierce
On Thu, May 07, 2015 at 11:32:33AM -0400, Rafael Schloming wrote: On Thu, May 7, 2015 at 10:40 AM, Darryl L. Pierce dpie...@redhat.com wrote: On Thu, May 07, 2015 at 09:57:49AM -0400, Rafael Schloming wrote: On Thu, May 7, 2015 at 9:41 AM, Darryl L. Pierce dpie...@redhat.com wrote

Re: Introducing the Ruby Reactive APIs

2015-05-07 Thread Darryl L. Pierce
On Thu, May 07, 2015 at 09:57:49AM -0400, Rafael Schloming wrote: On Thu, May 7, 2015 at 9:41 AM, Darryl L. Pierce dpie...@redhat.com wrote: snip To help with this, two additional callback APIs were added to the Proton libraries: pn_record_set_callback and pn_record_has_callback. These two

[jira] [Resolved] (PROTON-873) Convert use of Object.send to Object.__send__ for Ruby bindings

2015-04-29 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-873. - Resolution: Fixed Fix Version/s: 0.10 Convert use of Object.send to Object

[jira] [Created] (PROTON-872) Ruby Messenger should not use send as it conflicts with Ruby's Object::send method

2015-04-29 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-872: --- Summary: Ruby Messenger should not use send as it conflicts with Ruby's Object::send method Key: PROTON-872 URL: https://issues.apache.org/jira/browse/PROTON-872

[jira] [Resolved] (PROTON-872) Ruby Messenger should not use send as it conflicts with Ruby's Object::send method

2015-04-29 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-872. - Resolution: Not A Problem Ruby doesn't recommend using send, so using that name should

[jira] [Commented] (PROTON-872) Ruby Messenger should not use send as it conflicts with Ruby's Object::send method

2015-04-29 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14519918#comment-14519918 ] Darryl L. Pierce commented on PROTON-872: - Very good point. Thanks for the link

Strange memory issues with handlers

2015-03-27 Thread Darryl L. Pierce
to pn_record_set in a separate patch of code. But the problem is that nothing outside of the library has direct access to assign these values to fields, and I haven't quite tracked down where the leak is in the code. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year

Re: [VOTE]: Proton 0.9-rc-3

2015-03-17 Thread Darryl L. Pierce
... Packaged for Fedora. Installed all packages. Tested across language bindings (Python, Perl, Ruby). Found a single non-blocking issue in Perl that I've fixed and pushed. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software

Re: Proton and Ruby object references...

2015-03-09 Thread Darryl L. Pierce
On Fri, Mar 06, 2015 at 04:41:34PM -0500, Darryl L. Pierce wrote: Revisiting this topic given newly discovered issues: snip Thinking about this over the weekend, it feels like it would be a huge nightmare to try and put a shim in place to keep a Ruby object held by a C struct from being reaped

[jira] [Assigned] (PROTON-738) Debian + Ubuntu Packages need updating to 0.8

2015-03-06 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce reassigned PROTON-738: --- Assignee: Darryl L. Pierce Debian + Ubuntu Packages need updating to 0.8

pn_incref/pn_decref and Ruby

2015-03-02 Thread Darryl L. Pierce
Do I need to use reference counting from within the Proton library even though I'm writing in a language that doesn't use them? I asked because I see calls to pn_incref/pn_decref in the Python bindings. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year

Ruby: Engine send experiencing problems

2015-02-19 Thread Darryl L. Pierce
to it before trying to do so. [1] https://github.com/mcpierce/Proton/tree/PROTON-799-Ruby-engine-apis/examples/ruby [2] https://github.com/mcpierce/Proton/blob/PROTON-799-Ruby-engine-apis/examples/ruby/lib/selectable.rb -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after

Re: Ruby, Proton Engine and Records

2015-02-06 Thread Darryl L. Pierce
created by Swig via Data_Wrap_Struct. You can see the specific changes to ruby.i here [1]. http://github.com/mcpierce/Proton/commit/1e66f39535e71dc376d69abde7b5741929d33a3d -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among

[jira] [Resolved] (PROTON-775) ruby: message annotations send from a ruby client are invalid

2015-02-06 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-775. - Resolution: Fixed Fix Version/s: 0.9 ruby: message annotations send from a ruby

[jira] [Updated] (PROTON-775) ruby: message annotations send from a ruby client are invalid

2015-02-06 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-775: Attachment: 0001-PROTON-775-Ensure-that-annotation-keys-in-Ruby-are-e.patch This patch

[jira] [Assigned] (PROTON-775) ruby: message annotations send from a ruby client are invalid

2015-02-06 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce reassigned PROTON-775: --- Assignee: Darryl L. Pierce ruby: message annotations send from a ruby client

Re: Non-reactive engine examples?

2015-02-03 Thread Darryl L. Pierce
On Mon, Feb 02, 2015 at 09:12:22AM -0500, Darryl L. Pierce wrote: Are there any example apps for Python that don't use the reactive APIs? If no examples, perhaps a primer of how the logical components of the enger interact to help guide providing an example? -- Darryl L. Pierce, Sr. Software

Non-reactive engine examples?

2015-02-02 Thread Darryl L. Pierce
Are there any example apps for Python that don't use the reactive APIs? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpBlkS2f_1Sx.pgp Description: PGP

Ruby, Proton Engine and Records

2015-01-30 Thread Darryl L. Pierce
all be checked out here [1], with the changes to the ruby.i file as the most recent commit in the branch. I'd love to get some feedback on this work in general as well. [1] https://github.com/mcpierce/Proton/tree/PROTON-799-Ruby-engine-apis -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat

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

2015-01-30 Thread Darryl L. Pierce
. So this path is the right one to follow. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpjpMUrU8T1Y.pgp Description: PGP signature

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

2015-01-28 Thread Darryl L. Pierce
, there is a POC of this on my branch as well. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgphTZBbOghP3.pgp Description: PGP signature

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 dpie...@redhat.com 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

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 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

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

2015-01-27 Thread Darryl L. Pierce
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 the Ruby object from being reaped. The solution (for now) stores

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

2015-01-23 Thread Darryl L. Pierce
is how to assign a reference to a Ruby object to a C struct and then have Ruby not GC that Ruby object. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor

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

2015-01-23 Thread Darryl L. Pierce
with rb_gc_mark() What I meant is it's not showing how to do that. Swig is the one that's generating that Ruby struct wrapping, but I haven't found (yet) if they expose to users a way to tap into that adn do what we want. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value

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

2015-01-23 Thread Darryl L. Pierce
On Fri, Jan 23, 2015 at 03:25:33PM -0500, Rafael Schloming wrote: On Fri, Jan 23, 2015 at 2:08 PM, Darryl L. Pierce dpie...@redhat.com wrote: On Fri, Jan 23, 2015 at 01:49:34PM -0500, Rafael Schloming wrote: It does talk about what swig does, but it also talks about the other direction

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

2015-01-23 Thread Darryl L. Pierce
/Proton/tree/c-to-ruby-reference-gc-check -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgp0PMt9ATWz_.pgp Description: PGP signature

Re: removing the proton driver API

2015-01-22 Thread Darryl L. Pierce
of anyone using this code in anyway? I would like to at a minimum deprecate it for 0.9, and preferably remove it entirely if it is in fact currently unused. Are there other APIs, like listener or connector, that'll be removed as well? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc

Ruby and the Engine APIs

2015-01-21 Thread Darryl L. Pierce
existing for other languages to use as a guide, so am a little stumped at the moment. The work I've done to date is here: https://github.com/mcpierce/Proton/tree/PROTON-799-Ruby-engine-apis -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1

Re: c reactor / gordon's examples

2015-01-14 Thread Darryl L. Pierce
be used inside of an EventMachine block in Ruby. Would we be able to pass a file descriptor to the underlying C code? I'm wondering if we could provide an AMQPServer similar to others provided [1]. [1] https://github.com/eventmachine/eventmachine/tree/master/lib/em/protocols -- Darryl L. Pierce, Sr

[jira] [Created] (PROTON-799) Provide the engine APIs in Ruby

2015-01-13 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-799: --- Summary: Provide the engine APIs in Ruby Key: PROTON-799 URL: https://issues.apache.org/jira/browse/PROTON-799 Project: Qpid Proton Issue Type: New

[jira] [Commented] (PROTON-781) Implement the Reactive APIs in Ruby

2014-12-22 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14255720#comment-14255720 ] Darryl L. Pierce commented on PROTON-781: - The Reactive APIs are an add

[jira] [Resolved] (PROTON-471) Expose the Messenger work method in Perl bindings

2014-12-18 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-471. - Resolution: Fixed Fix Version/s: 0.9 Expose the Messenger work method in Perl

[jira] [Created] (PROTON-781) Implement the Reactive APIs in Ruby

2014-12-17 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-781: --- Summary: Implement the Reactive APIs in Ruby Key: PROTON-781 URL: https://issues.apache.org/jira/browse/PROTON-781 Project: Qpid Proton Issue Type

[jira] [Assigned] (PROTON-779) RHEL 7 Build Issue

2014-12-16 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce reassigned PROTON-779: --- Assignee: Darryl L. Pierce RHEL 7 Build Issue

Re: Welcome Dominic Evans as a Qpid committer

2014-12-15 Thread Darryl L. Pierce
On Mon, Dec 15, 2014 at 11:03:44AM +, Robbie Gemmell wrote: The Apache Qpid PMC have voted to grant commit rights to Dominic Evans in recognition of his contributions to and involvement with Proton. Welcome, Dominic! Congrats, Dominic! -- Darryl L. Pierce, Sr. Software Engineer @ Red

Re: Fixing the merge commit in the git repo?

2014-12-12 Thread Darryl L. Pierce
pushing anything. Does Apache support such hooks in projects? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgp_XV0TUjtq5.pgp Description: PGP signature

Re: Fixing the merge commit in the git repo?

2014-12-12 Thread Darryl L. Pierce
and explicit peer reviews for changes. But it's above my pay grade to do anything more than envy such a work flow. :D -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor

Re: Fixing the merge commit in the git repo?

2014-12-12 Thread Darryl L. Pierce
On Fri, Dec 12, 2014 at 01:43:45PM +, Gordon Sim wrote: On 12/12/2014 12:16 PM, Darryl L. Pierce wrote: I like the idea of pull requests and explicit peer reviews for changes. But it's above my pay grade to do anything more than envy such a work flow. :D Pay grade isn't relevant

Re: Fixing the merge commit in the git repo?

2014-12-12 Thread Darryl L. Pierce
... -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpdG50SwZL1q.pgp Description: PGP signature

Re: Fixing the merge commit in the git repo?

2014-12-12 Thread Darryl L. Pierce
On Fri, Dec 12, 2014 at 02:15:21PM -0500, Andrew Stitcher wrote: On Thu, 2014-12-11 at 17:11 -0500, Darryl L. Pierce wrote: Additionally, while working on a task branch, to resynch with master do a rebase: $ rebase -i master rather than merging master down onto your task branch. I

Re: Fixing the merge commit in the git repo?

2014-12-12 Thread Darryl L. Pierce
branch in git is the Right Way(tm) to prepare a task branch for merging up to master. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpQwi65tvZDY.pgp Description

Fixing the merge commit in the git repo?

2014-12-11 Thread Darryl L. Pierce
to just do: $ git pull --rebase and have our individual repos fixed as a result. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpsO2YbjQg7u.pgp Description: PGP

[jira] [Updated] (PROTON-756) add a new/simpler setup.py for python bindings

2014-12-11 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-756: Attachment: 0001-PROTON-756-Add-the-proton-directory-to-the-install-p.patch Appends proton

Re: Fixing the merge commit in the git repo?

2014-12-11 Thread Darryl L. Pierce
all is fixed -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpGCgaCe_wBM.pgp Description: PGP signature

Re: Fixing the merge commit in the git repo?

2014-12-11 Thread Darryl L. Pierce
master is up to date : git pull --rebase 6. push your changes 7. profit! This way we don't have those ugly diamonds in the gitg graph and issues like this in future. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among

Re: Fixing the merge commit in the git repo?

2014-12-11 Thread Darryl L. Pierce
commits. Rebasing is by far one of the most awesome features of git. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ pgpeYfzyU3P0t.pgp Description: PGP signature

[jira] [Resolved] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-12-08 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-752. - Resolution: Fixed Fix Version/s: 0.9 Ruby: Cproton calls don't unlock the GIL

[jira] [Updated] (PROTON-755) Update Ruby unit tests to use version 4.7 of Minitest

2014-12-08 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce updated PROTON-755: Summary: Update Ruby unit tests to use version 4.7 of Minitest (was: Update Ruby unit

[jira] [Resolved] (PROTON-765) 64-bit values are not being properly marshalled in Ruby on 32-bit systems

2014-12-08 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-765. - Resolution: Fixed Fix Version/s: 0.9 64-bit values are not being properly

[jira] [Created] (PROTON-765) 64-bit values are anot being properly marshalled in Ruby on 32-bit systems

2014-12-04 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-765: --- Summary: 64-bit values are anot being properly marshalled in Ruby on 32-bit systems Key: PROTON-765 URL: https://issues.apache.org/jira/browse/PROTON-765

Re: Proton Python install shenanigans

2014-12-01 Thread Darryl L. Pierce
about right? The code was migrated to a directory, so should be installing to: /path/to/python/site-libs/proton ? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor

[jira] [Created] (PROTON-759) Provide a non-blocking idiomatic way to sending and receiving messages with Ruby Messenger.

2014-11-25 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-759: --- Summary: Provide a non-blocking idiomatic way to sending and receiving messages with Ruby Messenger. Key: PROTON-759 URL: https://issues.apache.org/jira/browse/PROTON-759

[jira] [Commented] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-11-24 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14223428#comment-14223428 ] Darryl L. Pierce commented on PROTON-752: - I've attached a patch that provides

[jira] [Commented] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-11-24 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14223844#comment-14223844 ] Darryl L. Pierce commented on PROTON-752: - The solution in this patch should

[jira] [Commented] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-11-20 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14219509#comment-14219509 ] Darryl L. Pierce commented on PROTON-752: - I did some googling [1] and couldn't

[jira] [Commented] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-11-20 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14219569#comment-14219569 ] Darryl L. Pierce commented on PROTON-752: - This is a good topic for discussion

[jira] [Resolved] (PROTON-755) Update Ruby unit tests to use Minitest

2014-11-20 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-755. - Resolution: Fixed Fix Version/s: 0.9 Update Ruby unit tests to use Minitest

[jira] [Assigned] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-11-19 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce reassigned PROTON-752: --- Assignee: Darryl L. Pierce Ruby: Cproton calls don't unlock the GIL for blocking

[jira] [Commented] (PROTON-752) Ruby: Cproton calls don't unlock the GIL for blocking / long-running operations

2014-11-19 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14218351#comment-14218351 ] Darryl L. Pierce commented on PROTON-752: - Do you mean when working with the non

[jira] [Resolved] (PROTON-747) Use around wrapper on Messenger methods to raise errors

2014-11-18 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Darryl L. Pierce resolved PROTON-747. - Resolution: Fixed Fix Version/s: 0.9 Use around wrapper on Messenger methods

[jira] [Created] (PROTON-747) Use around wrapper on Messenger methods to raise errors

2014-11-17 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-747: --- Summary: Use around wrapper on Messenger methods to raise errors Key: PROTON-747 URL: https://issues.apache.org/jira/browse/PROTON-747 Project: Qpid Proton

[jira] [Commented] (PROTON-743) [PATCH] ruby: user doesn't have access to clear messenger error object

2014-11-17 Thread Darryl L. Pierce (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14214734#comment-14214734 ] Darryl L. Pierce commented on PROTON-743: - Thank you for the patch! Here's some

  1   2   3   4   >