[jira] [Commented] (PROTON-515) Port to OpenVMS

2016-02-17 Thread Tomas Soltys (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15151850#comment-15151850
 ] 

Tomas Soltys commented on PROTON-515:
-

You are right, I do not use cmake. I just created my own DCL script 
(https://en.wikipedia.org/wiki/DIGITAL_Command_Language) which executes series 
of compile and link commands. Maybe worth of mentioning is that I have used 
following options for C compiler 
"/DEFINE=(USE_UUID_GENERATE,USE_OLD_STRERROR,USE_ATOLL,SO_NOSIGPIPE,_OPENVMS)/NAME=(SHORTENED)/NOOPT"


#include  is already there but it does not contain socklen_t 
definition.
Also I was not able to find any other header on OpenVMS which would define 
socklen_t, therefore I have defined it my self.

> Port to OpenVMS
> ---
>
> Key: PROTON-515
> URL: https://issues.apache.org/jira/browse/PROTON-515
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: 0.11.1
> Environment: OpenVMS
>Reporter: Tomas Soltys
>Assignee: Andrew Stitcher
>  Labels: OpenVMS, patch
> Attachments: 
> 0001-PROTON-515-Change-pn_handle_t-to-be-void-to-get-arou.patch, 
> CMakeLists.txt.patch, io.c.patch, pipe.c.patch
>
>
> There is a need for proton-c port to OpenVMS platform.
> To make proton-c functional on OpenVMS few changes in the source code are 
> required.
> Here is list of files I have identified which require some attention:
> proton-c/src/platform_fmt.h
> proton-c/src/posix/driver.c
> proton-c/src/object/object.c
> proton-c/src/codec/codec.c



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PROTON-515) Port to OpenVMS

2016-02-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15149028#comment-15149028
 ] 

ASF subversion and git services commented on PROTON-515:


Commit 603c0e725682fc05941d91d2b92529c782136e21 in qpid-proton's branch 
refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=603c0e7 ]

PROTON-515: Fixed hand built swig python binding code to build with C89
- We now have to build the SWIG generated code with C not C++.


> Port to OpenVMS
> ---
>
> Key: PROTON-515
> URL: https://issues.apache.org/jira/browse/PROTON-515
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: 0.11.1
> Environment: OpenVMS
>Reporter: Tomas Soltys
>Assignee: Andrew Stitcher
>  Labels: OpenVMS, patch
> Attachments: 
> 0001-PROTON-515-Change-pn_handle_t-to-be-void-to-get-arou.patch, io.c.patch, 
> object.h.patch
>
>
> There is a need for proton-c port to OpenVMS platform.
> To make proton-c functional on OpenVMS few changes in the source code are 
> required.
> Here is list of files I have identified which require some attention:
> proton-c/src/platform_fmt.h
> proton-c/src/posix/driver.c
> proton-c/src/object/object.c
> proton-c/src/codec/codec.c



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PROTON-515) Port to OpenVMS

2016-02-15 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15147836#comment-15147836
 ] 

ASF subversion and git services commented on PROTON-515:


Commit de94b253ad7b5f212973244968fedad043de8402 in qpid-proton's branch 
refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=de94b25 ]

PROTON-515: Change pn_handle_t to be void* to get around limitations in OpenVMS 
linker


> Port to OpenVMS
> ---
>
> Key: PROTON-515
> URL: https://issues.apache.org/jira/browse/PROTON-515
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: 0.11.1
> Environment: OpenVMS
>Reporter: Tomas Soltys
>Assignee: Andrew Stitcher
>  Labels: OpenVMS, patch
> Attachments: 
> 0001-PROTON-515-Change-pn_handle_t-to-be-void-to-get-arou.patch, io.c.patch, 
> object.h.patch
>
>
> There is a need for proton-c port to OpenVMS platform.
> To make proton-c functional on OpenVMS few changes in the source code are 
> required.
> Here is list of files I have identified which require some attention:
> proton-c/src/platform_fmt.h
> proton-c/src/posix/driver.c
> proton-c/src/object/object.c
> proton-c/src/codec/codec.c



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PROTON-515) Port to OpenVMS

2016-02-04 Thread Tomas Soltys (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15132258#comment-15132258
 ] 

Tomas Soltys commented on PROTON-515:
-

thanks for the patch. It works perfectly.

> Port to OpenVMS
> ---
>
> Key: PROTON-515
> URL: https://issues.apache.org/jira/browse/PROTON-515
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: 0.11.1
> Environment: OpenVMS
>Reporter: Tomas Soltys
>Assignee: Andrew Stitcher
>  Labels: OpenVMS, patch
> Attachments: 
> 0001-PROTON-515-Change-pn_handle_t-to-be-void-to-get-arou.patch, io.c.patch, 
> object.h.patch
>
>
> There is a need for proton-c port to OpenVMS platform.
> To make proton-c functional on OpenVMS few changes in the source code are 
> required.
> Here is list of files I have identified which require some attention:
> proton-c/src/platform_fmt.h
> proton-c/src/posix/driver.c
> proton-c/src/object/object.c
> proton-c/src/codec/codec.c



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PROTON-515) Port to OpenVMS

2016-02-03 Thread Andrew Stitcher (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15130551#comment-15130551
 ] 

Andrew Stitcher commented on PROTON-515:


1) Seems like a strange platform behaviour, but I think it'll work if you 
follow the plan I outlined.

2) I think you have misunderstood the purpose of the statics:

_PN_HANDLE_ ## name is used only used to get the compiler to allocate a unique 
address in the program address space. This address is then converted into an 
integer and used as a handle for the record type.

This handle needs to be unique for the entire program even if the variable that 
holds it is static - that's because it is used by the logic that attaches 
records to events to distinguish the various record types.

I think this limitation of your linker is pretty serious, because every scheme 
I can think of to generate this unique ids straightforwardly involves getting 
the linker to allocate some space in the program get its address and use that 
as the handle.

Perhaps we could make the pn_handle_t actually use a void* as its type - that 
might work around the linker (as the message implied that it was converting to 
a non pointer type that is the issue).

> Port to OpenVMS
> ---
>
> Key: PROTON-515
> URL: https://issues.apache.org/jira/browse/PROTON-515
> Project: Qpid Proton
>  Issue Type: Improvement
>  Components: proton-c
>Affects Versions: 0.11.1
> Environment: OpenVMS
>Reporter: Tomas Soltys
>Assignee: Andrew Stitcher
>  Labels: OpenVMS, patch
> Attachments: io.c.patch, object.h.patch
>
>
> There is a need for proton-c port to OpenVMS platform.
> To make proton-c functional on OpenVMS few changes in the source code are 
> required.
> Here is list of files I have identified which require some attention:
> proton-c/src/platform_fmt.h
> proton-c/src/posix/driver.c
> proton-c/src/object/object.c
> proton-c/src/codec/codec.c



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PROTON-515) Port to OpenVMS

2014-03-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13941822#comment-13941822
 ] 

ASF subversion and git services commented on PROTON-515:


Commit 1579657 from r...@apache.org in branch 'proton/trunk'
[ https://svn.apache.org/r1579657 ]

PROTON-515: partially incorporated openvms pataches, pipe vs socketpair issue 
remains

 Port to OpenVMS
 ---

 Key: PROTON-515
 URL: https://issues.apache.org/jira/browse/PROTON-515
 Project: Qpid Proton
  Issue Type: Improvement
  Components: proton-c
Affects Versions: 0.6
 Environment: OpenVMS
Reporter: Tomas Soltys
  Labels: OpenVMS, patch
 Fix For: 0.7

 Attachments: codec.c.patch, driver.c.patch, object.c.patch, 
 platform_fmt.h.patch


 There is a need for proton-c port to OpenVMS platform.
 To make proton-c functional on OpenVMS few changes in the source code are 
 required.
 Here is list of files I have identified which require some attention:
 proton-c/src/platform_fmt.h
 proton-c/src/posix/driver.c
 proton-c/src/object/object.c
 proton-c/src/codec/codec.c



--
This message was sent by Atlassian JIRA
(v6.2#6252)