You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Darryl L. Pierce (Created) (JIRA)" <ji...@apache.org> on 2012/01/03 16:22:39 UTC

[jira] [Created] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

The Ruby bindings failed to properly handle uint8_t types.
----------------------------------------------------------

                 Key: QPID-3718
                 URL: https://issues.apache.org/jira/browse/QPID-3718
             Project: Qpid
          Issue Type: Bug
          Components: Ruby Client
            Reporter: Darryl L. Pierce


Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Ted Ross (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross reassigned QPID-3718:
------------------------------

    Assignee: Ted Ross
    
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>            Assignee: Ted Ross
>             Fix For: 0.15
>
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-and-int8_t-in-the-Ruby.patch, 0001-Fixes-the-handling-of-uint8_t-and-uint16_t-in-the-Ru.patch, 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Darryl L. Pierce (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce updated QPID-3718:
-----------------------------------

    Attachment: 0001-Fixes-the-handling-of-uint8_t-and-int8_t-in-the-Ruby.patch

This patch handles uint8_t and int8_t mappings for Ruby.
                
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-and-int8_t-in-the-Ruby.patch, 0001-Fixes-the-handling-of-uint8_t-and-uint16_t-in-the-Ru.patch, 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Darryl L. Pierce (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce updated QPID-3718:
-----------------------------------

    Attachment: 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
    
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Darryl L. Pierce (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce updated QPID-3718:
-----------------------------------

    Comment: was deleted

(was: Sure, I can repost a patch that does all such elements.)
    
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Ted Ross (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179474#comment-13179474 ] 

Ted Ross commented on QPID-3718:
--------------------------------

The typemaps in swig_ruby_typemaps.i didn't include uint8_t or int8_t.  Your patch simply tells swig to treat uint8_t the same as "unsigned char" which is arguably cleaner than adding an explicit set of typemaps for uint8_t.  Perhaps we should do the same for all the {u}int{8,16,32,64}_t types.
                
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Darryl L. Pierce (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179522#comment-13179522 ] 

Darryl L. Pierce commented on QPID-3718:
----------------------------------------

Here's an updated patch that handles signed and unsinged ints 8-64 bits in size.
                
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-and-uint16_t-in-the-Ru.patch, 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Darryl L. Pierce (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce updated QPID-3718:
-----------------------------------

    Comment: was deleted

(was: Here's an updated patch that handles signed and unsinged ints 8-64 bits in size.)
    
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-and-int8_t-in-the-Ruby.patch, 0001-Fixes-the-handling-of-uint8_t-and-uint16_t-in-the-Ru.patch, 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Darryl L. Pierce (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce updated QPID-3718:
-----------------------------------

    Attachment: 0001-Fixes-the-handling-of-uint8_t-and-uint16_t-in-the-Ru.patch
    
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-and-uint16_t-in-the-Ru.patch, 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Darryl L. Pierce (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179485#comment-13179485 ] 

Darryl L. Pierce commented on QPID-3718:
----------------------------------------

Sure, I can repost a patch that does all such elements.
                
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (QPID-3718) The Ruby bindings failed to properly handle uint8_t types.

Posted by "Ted Ross (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross resolved QPID-3718.
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.15
    
> The Ruby bindings failed to properly handle uint8_t types.
> ----------------------------------------------------------
>
>                 Key: QPID-3718
>                 URL: https://issues.apache.org/jira/browse/QPID-3718
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Darryl L. Pierce
>            Assignee: Ted Ross
>             Fix For: 0.15
>
>         Attachments: 0001-Fixes-the-handling-of-uint8_t-and-int8_t-in-the-Ruby.patch, 0001-Fixes-the-handling-of-uint8_t-and-uint16_t-in-the-Ru.patch, 0001-Fixes-the-handling-of-uint8_t-in-the-Ruby-bindings.patch
>
>
> Adds an entry to the SWIG Ruby definition that properly maps between uint8_t and Fixnum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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