NO-JIRA: Removed unused macro definitions

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1599790 13f79535-47bb-0310-9956-ffa450edef68
PROTON-516: Don't allocate a frame buffer the size of the remote max frame size

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1599791 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Rearrange the C include file directories a little for more consistency

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1599792 13f79535-47bb-0310-9956-ffa450edef68
PROTON-591, PROTON-590: Change frame dispatch to use switch statement
- Rather than an explicit function table
- This reduces the per connection memory use significantly
- Fixes a possible crash if Proton receives an unknown performative

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

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1600321 13f79535-47bb-0310-9956-ffa450edef68
change events to use a single context
removed extraneous is_valid check
removed type specific initializers
check that finalize did not create a new ref
don't zero out refcount in pn_finalize
added assert for null event context; fixed pn_collector_pop to decref context prior to adding event back to the free list
added PN_{CONNECTION,SESSION,LINK}_FINAL events