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
fixed memory leak by making the transport clean up references held by the channel and handle maps; made use of the backpointer versions of new, incref, and decref to track down issue

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603961 13f79535-47bb-0310-9956-ffa450edef68
implemented final events for proton-j; added tests for final events

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1603963 13f79535-47bb-0310-9956-ffa450edef68
PROTON-593: update paths in java send+recv example scripts

Applied patch from Marcel Meulemans

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1604198 13f79535-47bb-0310-9956-ffa450edef68
PROTON-613: send 'Hello World!' in the message if no alternative bodies are provided. Use the same initial address as other languages

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1604199 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Dodge redefinition warnings with Visual Studio 2013

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1604207 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Don't need to wrap pn_class_t for bindings

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1605155 13f79535-47bb-0310-9956-ffa450edef68
made event categories map one to one to context type; split local/remote state events into distinct open/close and remote_open/remote_close events