PROTON-602: Fix syntax errors in Perl.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1601971 13f79535-47bb-0310-9956-ffa450edef68
PROTON-603: testCreditReclaim fails on windows
The issue is that during 'while client2.work(0): self.pump()' 
on windows the credit rebalancing is already happening. 
Testing that it hasn't yet happened causes the failure. 
The only safe thing to do is to keep calling pump and 
verify that the expected credits are achieved eventually.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1602016 13f79535-47bb-0310-9956-ffa450edef68
PROTON-604: Fixed help message for Perl send example.

Modified the patch slightly to not attempt to perform a connection if
help was displayed.

Contributed by Ernie Allen <eallen@redhat.com>

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1602276 13f79535-47bb-0310-9956-ffa450edef68
PROTON-595: Python Popen() failure on Windows
Reviewed at https://reviews.apache.org/r/22273/
This patch incorporates both of astitcher's review comments.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1602290 13f79535-47bb-0310-9956-ffa450edef68
PROTON-607: Perl recv only shows subject if received

Put a guard in place to only display the subject line if the message has
a subject.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1602412 13f79535-47bb-0310-9956-ffa450edef68
PROTON-606: Python testReclaimCredit exposes test server messenger hang on windows
Move client2 into NBMessengerTest scope and include it in main pump loop.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1602513 13f79535-47bb-0310-9956-ffa450edef68
PROTON-606: Python testReclaimCredit: fix for windows causes hang in RHEL6 32-bit
This patch calls work() for each messenger even if it is stopped in order to
force a transition to stopped.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603230 13f79535-47bb-0310-9956-ffa450edef68
change events to use a single context

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603946 13f79535-47bb-0310-9956-ffa450edef68
removed extraneous is_valid check

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603948 13f79535-47bb-0310-9956-ffa450edef68
removed type specific initializers

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603949 13f79535-47bb-0310-9956-ffa450edef68
check that finalize did not create a new ref

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603950 13f79535-47bb-0310-9956-ffa450edef68
don't zero out refcount in pn_finalize

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603951 13f79535-47bb-0310-9956-ffa450edef68
added assert for null event context; fixed pn_collector_pop to decref context prior to adding event back to the free list

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603952 13f79535-47bb-0310-9956-ffa450edef68
added PN_{CONNECTION,SESSION,LINK}_FINAL events

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603953 13f79535-47bb-0310-9956-ffa450edef68
removed unneeded helper function

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603954 13f79535-47bb-0310-9956-ffa450edef68
made pn_collector_put take the context as an argument

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603955 13f79535-47bb-0310-9956-ffa450edef68
changed EventImpl to use a single context

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603956 13f79535-47bb-0310-9956-ffa450edef68
simplified event posting interface

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603958 13f79535-47bb-0310-9956-ffa450edef68
added INIT events for endpoints

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603959 13f79535-47bb-0310-9956-ffa450edef68
added new/incref/decref variants that take backpointers for logging; also fixed pn_inspect for pn_hash_t

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603960 13f79535-47bb-0310-9956-ffa450edef68