From f0938284ada8fc821a26049b7a52fc55ebf28a9c Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Sat, 7 Nov 2009 04:03:10 +0000 Subject: [PATCH] Prepare release 0.3.0 --- package.xml | 47 ++++++++++++++++++++++++++--------------------- php_stomp.c | 6 +++--- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/package.xml b/package.xml index 3b3f51d..0c64d46 100644 --- a/package.xml +++ b/package.xml @@ -12,13 +12,16 @@ This extension allows php applications to communicate with any Stomp compliant M pierrick@php.net yes - 2009-11-04 + 2009-11-06 0.3.00.3.0 betabeta PHP License -* stomp_begin, stomp_abort and stomp_commit take a new optional param -* new connection timeout and read timeout ini configuration +* new stomp_connect_error() function (pierrick) +* stomp_begin, stomp_abort and stomp_commit now accept additional headers (pierrick) +* new connection timeout and read timeout ini configuration (pierrick) +* Fix a memory leak in stomp_read_line (pierrick) +* Better set of test (Pierrick and Anis) @@ -31,24 +34,26 @@ This extension allows php applications to communicate with any Stomp compliant M - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/php_stomp.c b/php_stomp.c index 077f438..08bc651 100755 --- a/php_stomp.c +++ b/php_stomp.c @@ -562,7 +562,7 @@ PHP_FUNCTION(stomp_get_session_id) } /* }}} */ -/* {{{ proto boolean Stomp::disconnect() +/* {{{ proto boolean Stomp::__destruct() Close stomp connection */ PHP_FUNCTION(stomp_close) { @@ -651,7 +651,7 @@ PHP_FUNCTION(stomp_send) } } else { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expects parameter %d to be a string or a StompFrame object.", stomp_object?2:3); - RETURN_NULL(); + RETURN_FALSE; } if (stomp_send(stomp, &frame TSRMLS_CC) > 0) { @@ -956,7 +956,7 @@ PHP_FUNCTION(stomp_ack) } } else { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expects parameter %d to be a string or a StompFrame object.", stomp_object?2:3); - RETURN_NULL(); + RETURN_FALSE; } if (stomp_send(stomp, &frame TSRMLS_CC) > 0) {