From 3fe60efd08a81f5f11cd4ebede20264bbe59f1b1 Mon Sep 17 00:00:00 2001 From: Olivier Crête Date: Thu, 9 Oct 2014 16:43:16 -0400 Subject: Version 0.1.8 --- NEWS | 17 +++++++++++++++++ agent/address.h | 2 +- agent/agent.c | 20 ++++++++++---------- agent/agent.h | 2 +- agent/pseudotcp.c | 4 ++-- agent/pseudotcp.h | 22 +++++++++++----------- configure.ac | 10 +++++----- 7 files changed, 47 insertions(+), 30 deletions(-) diff --git a/NEWS b/NEWS index 0d7644d..e14d09f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,20 @@ +libnice 0.1.8 (2014-10-09) +========================== +Added FIN-ACK behavior in the PseudoTCP +ICE-TCP, both standard mode and Microsoft compatible +Microsoft compatible TURN-TCP +API: nice_address_equal_no_port() to compare NiceAddresses ignoring the port +API: nice_agent_get_component_state() to get the current component state +API: agent:keepalive-conncheck to make the agent use conncheck as keepalives + and fail the connection if there is no answer +API: agent:ice-tcp, agent:udp-tcp to control ICE-UDP vs ICE-TCP behaviours +API: agent:bytestream-tcp to know if the send/receives in reliable mode create full packets or not +API: New signals agent::new-selected-pair-full, agent::new-candidate-full, + agent::new-remote-candidate-full which include the NiceCandidates directly +API: Deprecated agent::new-selected-pair and agent::new-candidate and + agent::new-remote-candidate signals +Now all signals are emitted at the function return time + libnice 0.1.7 (2014-05-05) ========================== Fix undesired API change that broke Farstream unit testsx diff --git a/agent/address.h b/agent/address.h index 2133d7b..9e91248 100644 --- a/agent/address.h +++ b/agent/address.h @@ -253,7 +253,7 @@ nice_address_equal (const NiceAddress *a, const NiceAddress *b); * Returns: %TRUE if @a and @b are the same address, %FALSE if they * are different * - * Since: UNRELEASED + * Since: 0.1.8 */ gboolean nice_address_equal_no_port (const NiceAddress *a, const NiceAddress *b); diff --git a/agent/agent.c b/agent/agent.c index 8e821ae..79651ba 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -606,7 +606,7 @@ nice_agent_class_init (NiceAgentClass *klass) * If #NiceAgent:ice-tcp is set to %FALSE, then this property cannot be set * to %FALSE as well. * - * Since: UNRELEASED + * Since: 0.1.8 */ g_object_class_install_property (gobject_class, PROP_ICE_UDP, g_param_spec_boolean ( @@ -639,7 +639,7 @@ nice_agent_class_init (NiceAgentClass *klass) * * - * Since: UNRELEASED + * Since: 0.1.8 */ g_object_class_install_property (gobject_class, PROP_ICE_TCP, g_param_spec_boolean ( @@ -672,7 +672,7 @@ nice_agent_class_init (NiceAgentClass *klass) * bytestream mode will be supported. * * - * Since: UNRELEASED + * Since: 0.1.8 */ g_object_class_install_property (gobject_class, PROP_BYTESTREAM_TCP, g_param_spec_boolean ( @@ -695,7 +695,7 @@ nice_agent_class_init (NiceAgentClass *klass) * This is always enabled if the compatibility mode is * %NICE_COMPATIBILITY_GOOGLE. * - * Since: 0.1.7 + * Since: 0.1.8 */ g_object_class_install_property (gobject_class, PROP_KEEPALIVE_CONNCHECK, g_param_spec_boolean ( @@ -766,7 +766,7 @@ nice_agent_class_init (NiceAgentClass *klass) * the Foundation of a Candidate is not a unique identifier. * * See also: #NiceAgent::new-selected-pair-full - * Deprecated: UNRELEASED: Use #NiceAgent::new-selected-pair-full + * Deprecated: 0.1.8: Use #NiceAgent::new-selected-pair-full */ signals[SIGNAL_NEW_SELECTED_PAIR] = g_signal_new ( @@ -795,7 +795,7 @@ nice_agent_class_init (NiceAgentClass *klass) * * See also: #NiceAgent::candidate-gathering-done, * #NiceAgent::new-candidate-full - * Deprecated: UNRELEASED: Use #NiceAgent::new-candidate-full + * Deprecated: 0.1.8: Use #NiceAgent::new-candidate-full */ signals[SIGNAL_NEW_CANDIDATE] = g_signal_new ( @@ -825,7 +825,7 @@ nice_agent_class_init (NiceAgentClass *klass) * candidate. * * See also: #NiceAgent::new-remote-candidate-full - * Deprecated: UNRELEASED: Use #NiceAgent::new-remote-candidate-full + * Deprecated: 0.1.8: Use #NiceAgent::new-remote-candidate-full */ signals[SIGNAL_NEW_REMOTE_CANDIDATE] = g_signal_new ( @@ -930,7 +930,7 @@ nice_agent_class_init (NiceAgentClass *klass) * #NiceAgent::new-selected-pair. * * See also: #NiceAgent::new-selected-pair - * Since: UNRELEASED + * Since: 0.1.8 */ signals[SIGNAL_NEW_SELECTED_PAIR_FULL] = g_signal_new ( @@ -956,7 +956,7 @@ nice_agent_class_init (NiceAgentClass *klass) * * See also: #NiceAgent::candidate-gathering-done, * #NiceAgent::new-candidate - * Since: UNRELEASED + * Since: 0.1.8 */ signals[SIGNAL_NEW_CANDIDATE_FULL] = g_signal_new ( @@ -983,7 +983,7 @@ nice_agent_class_init (NiceAgentClass *klass) * also emitted with the candidate's foundation. * * See also: #NiceAgent::new-remote-candidate - * Since: UNRELEASED + * Since: 0.1.8 */ signals[SIGNAL_NEW_REMOTE_CANDIDATE_FULL] = g_signal_new ( diff --git a/agent/agent.h b/agent/agent.h index 501933f..cceb79a 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -1498,7 +1498,7 @@ nice_agent_forget_relays (NiceAgent *agent, * Returns: the #NiceComponentState of the component and * %NICE_COMPONENT_STATE_FAILED if the component was invalid. * - * Since: 0.1.7 + * Since: 0.1.8 */ NiceComponentState nice_agent_get_component_state (NiceAgent *agent, diff --git a/agent/pseudotcp.c b/agent/pseudotcp.c index 2b4cc0a..ec38f42 100644 --- a/agent/pseudotcp.c +++ b/agent/pseudotcp.c @@ -445,7 +445,7 @@ typedef struct { * * Reasons for calling closedown(). * - * Since: UNRELEASED + * Since: 0.1.8 */ typedef enum { CLOSEDOWN_LOCAL, @@ -658,7 +658,7 @@ pseudo_tcp_socket_class_init (PseudoTcpSocketClass *cls) * * Support is enabled by default. * - * Since: UNRELEASED + * Since: 0.1.8 */ g_object_class_install_property (object_class, PROP_SUPPORT_FIN_ACK, g_param_spec_boolean ("support-fin-ack", "Support FIN–ACK", diff --git a/agent/pseudotcp.h b/agent/pseudotcp.h index da9a012..f08318a 100644 --- a/agent/pseudotcp.h +++ b/agent/pseudotcp.h @@ -140,17 +140,17 @@ typedef enum { * @TCP_ESTABLISHED: The socket is connected * @TCP_CLOSED: The socket has been closed * @TCP_FIN_WAIT_1: The socket has been closed locally but not remotely - * (Since: UNRELEASED) + * (Since: 0.1.8) * @TCP_FIN_WAIT_2: The socket has been closed locally but not remotely - * (Since: UNRELEASED) + * (Since: 0.1.8) * @TCP_CLOSING: The socket has been closed locally and remotely - * (Since: UNRELEASED) + * (Since: 0.1.8) * @TCP_TIME_WAIT: The socket has been closed locally and remotely - * (Since: UNRELEASED) + * (Since: 0.1.8) * @TCP_CLOSE_WAIT: The socket has been closed remotely but not locally - * (Since: UNRELEASED) + * (Since: 0.1.8) * @TCP_LAST_ACK: The socket has been closed locally and remotely - * (Since: UNRELEASED) + * (Since: 0.1.8) * * An enum representing the state of the #PseudoTcpSocket. These states * correspond to the TCP states in RFC 793. @@ -201,7 +201,7 @@ typedef enum { * pseudo_tcp_socket_shutdown(). These correspond to the values passed to POSIX * shutdown(). * - * Since: UNRELEASED + * Since: 0.1.8 */ typedef enum { PSEUDO_TCP_SHUTDOWN_RD, @@ -375,7 +375,7 @@ void pseudo_tcp_socket_close(PseudoTcpSocket *self, gboolean force); * This is equivalent to the POSIX shutdown() function. Setting @how to * %PSEUDO_TCP_SHUTDOWN_RDWR is equivalent to calling pseudo_tcp_socket_close(). * - * Since: UNRELEASED + * Since: 0.1.8 */ void pseudo_tcp_socket_shutdown (PseudoTcpSocket *self, PseudoTcpShutdown how); @@ -552,7 +552,7 @@ gsize pseudo_tcp_socket_get_available_send_space (PseudoTcpSocket *self); * This function is intended for testing only, and should not be used in * production code. * - * Since: UNRELEASED + * Since: 0.1.8 */ void pseudo_tcp_socket_set_time (PseudoTcpSocket *self, guint32 current_time); @@ -564,7 +564,7 @@ void pseudo_tcp_socket_set_time (PseudoTcpSocket *self, guint32 current_time); * and both peers no longer able to read or write data to the connection. * * Returns: %TRUE if the socket is closed in both directions, %FALSE otherwise - * Since: UNRELEASED + * Since: 0.1.8 */ gboolean pseudo_tcp_socket_is_closed (PseudoTcpSocket *self); @@ -580,7 +580,7 @@ gboolean pseudo_tcp_socket_is_closed (PseudoTcpSocket *self); * * Returns: %TRUE if the remote peer has closed its side of the connection, * %FALSE otherwise - * Since: UNRELEASED + * Since: 0.1.8 */ gboolean pseudo_tcp_socket_is_closed_remotely (PseudoTcpSocket *self); diff --git a/configure.ac b/configure.ac index e42be80..ee83428 100644 --- a/configure.ac +++ b/configure.ac @@ -5,8 +5,8 @@ dnl Always compile with -Wall; if --enable-compile-warnings=error is passed, dnl also use -Werror. git and pre-releases default to -Werror dnl use a three digit version number for releases, and four for cvs/prerelease -AC_INIT([libnice],[0.1.7.1]) -LIBNICE_RELEASE="no" +AC_INIT([libnice],[0.1.8]) +LIBNICE_RELEASE="yes" AC_CANONICAL_TARGET @@ -39,9 +39,9 @@ AC_CONFIG_FILES([ # Increment CURRENT and AGE. Set REVISION to 0 # If there was an incompatible interface change: # Increment CURRENT. Set AGE and REVISION to 0 -LIBNICE_CURRENT=14 -LIBNICE_REVISION=1 -LIBNICE_AGE=4 +LIBNICE_CURRENT=15 +LIBNICE_REVISION=0 +LIBNICE_AGE=5 LIBNICE_LIBVERSION=${LIBNICE_CURRENT}:${LIBNICE_REVISION}:${LIBNICE_AGE} LIBNICE_LT_LDFLAGS="-version-info ${LIBNICE_LIBVERSION} -no-undefined" AC_SUBST(LIBNICE_LT_LDFLAGS) -- cgit v1.2.3